diff --git a/hogql_parser/HogQLParser.cpp b/hogql_parser/HogQLParser.cpp index 112fd7cb48ae0..3a4cc87f5cbd9 100644 --- a/hogql_parser/HogQLParser.cpp +++ b/hogql_parser/HogQLParser.cpp @@ -52,25 +52,24 @@ void hogqlparserParserInitialize() { #endif auto staticData = std::make_unique( std::vector{ - "program", "declaration", "expression", "varDecl", "varAssignment", - "identifierList", "statement", "exprStmt", "ifStmt", "whileStmt", - "returnStmt", "funcStmt", "emptyStmt", "block", "kvPair", "kvPairList", - "select", "selectUnionStmt", "selectStmtWithParens", "selectStmt", - "withClause", "topClause", "fromClause", "arrayJoinClause", "windowClause", - "prewhereClause", "whereClause", "groupByClause", "havingClause", - "orderByClause", "projectionOrderByClause", "limitAndOffsetClause", - "offsetOnlyClause", "settingsClause", "joinExpr", "joinOp", "joinOpCross", - "joinConstraintClause", "sampleClause", "orderExprList", "orderExpr", - "ratioExpr", "settingExprList", "settingExpr", "windowExpr", "winPartitionByClause", - "winOrderByClause", "winFrameClause", "winFrameExtend", "winFrameBound", - "expr", "columnTypeExpr", "columnExprList", "columnExpr", "columnArgList", - "columnArgExpr", "columnLambdaExpr", "hogqlxTagElement", "hogqlxTagAttribute", - "withExprList", "withExpr", "columnIdentifier", "nestedIdentifier", - "tableExpr", "tableFunctionExpr", "tableIdentifier", "tableArgList", - "databaseIdentifier", "floatingLiteral", "numberLiteral", "literal", - "interval", "keyword", "keywordForAlias", "alias", "identifier", "enumValue", - "placeholder", "string", "templateString", "stringContents", "fullTemplateString", - "stringContentsFull" + "program", "declaration", "expression", "varDecl", "identifierList", + "statement", "returnStmt", "ifStmt", "whileStmt", "funcStmt", "varAssignment", + "exprStmt", "emptyStmt", "block", "kvPair", "kvPairList", "select", + "selectUnionStmt", "selectStmtWithParens", "selectStmt", "withClause", + "topClause", "fromClause", "arrayJoinClause", "windowClause", "prewhereClause", + "whereClause", "groupByClause", "havingClause", "orderByClause", "projectionOrderByClause", + "limitAndOffsetClause", "offsetOnlyClause", "settingsClause", "joinExpr", + "joinOp", "joinOpCross", "joinConstraintClause", "sampleClause", "orderExprList", + "orderExpr", "ratioExpr", "settingExprList", "settingExpr", "windowExpr", + "winPartitionByClause", "winOrderByClause", "winFrameClause", "winFrameExtend", + "winFrameBound", "expr", "columnTypeExpr", "columnExprList", "columnExpr", + "columnArgList", "columnArgExpr", "columnLambdaExpr", "hogqlxTagElement", + "hogqlxTagAttribute", "withExprList", "withExpr", "columnIdentifier", + "nestedIdentifier", "tableExpr", "tableFunctionExpr", "tableIdentifier", + "tableArgList", "databaseIdentifier", "floatingLiteral", "numberLiteral", + "literal", "interval", "keyword", "keywordForAlias", "alias", "identifier", + "enumValue", "placeholder", "string", "templateString", "stringContents", + "fullTemplateString", "stringContentsFull" }, std::vector{ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", @@ -113,7 +112,7 @@ void hogqlparserParserInitialize() { } ); static const int32_t serializedATNSegment[] = { - 4,1,154,1178,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6, + 4,1,154,1179,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6, 2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14, 7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21, 7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28, @@ -126,87 +125,87 @@ void hogqlparserParserInitialize() { 7,70,2,71,7,71,2,72,7,72,2,73,7,73,2,74,7,74,2,75,7,75,2,76,7,76,2,77, 7,77,2,78,7,78,2,79,7,79,2,80,7,80,2,81,7,81,2,82,7,82,1,0,5,0,168,8, 0,10,0,12,0,171,9,0,1,0,1,0,1,1,1,1,3,1,177,8,1,1,2,1,2,1,3,1,3,1,3,1, - 3,1,3,3,3,186,8,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,5,5,199, - 8,5,10,5,12,5,202,9,5,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,3,6,213,8,6, - 1,7,1,7,1,7,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,225,8,8,1,9,1,9,1,9,1,9,1, - 9,1,9,1,10,1,10,1,10,1,10,1,11,1,11,1,11,1,11,3,11,241,8,11,1,11,1,11, - 1,11,1,12,1,12,1,13,1,13,5,13,250,8,13,10,13,12,13,253,9,13,1,13,1,13, - 1,14,1,14,1,14,1,14,1,15,1,15,1,15,5,15,264,8,15,10,15,12,15,267,9,15, - 1,16,1,16,1,16,3,16,272,8,16,1,16,1,16,1,17,1,17,1,17,1,17,5,17,280,8, - 17,10,17,12,17,283,9,17,1,18,1,18,1,18,1,18,1,18,1,18,3,18,291,8,18,1, - 19,3,19,294,8,19,1,19,1,19,3,19,298,8,19,1,19,3,19,301,8,19,1,19,1,19, - 3,19,305,8,19,1,19,3,19,308,8,19,1,19,3,19,311,8,19,1,19,3,19,314,8,19, - 1,19,3,19,317,8,19,1,19,1,19,3,19,321,8,19,1,19,1,19,3,19,325,8,19,1, - 19,3,19,328,8,19,1,19,3,19,331,8,19,1,19,3,19,334,8,19,1,19,1,19,3,19, - 338,8,19,1,19,3,19,341,8,19,1,20,1,20,1,20,1,21,1,21,1,21,1,21,3,21,350, - 8,21,1,22,1,22,1,22,1,23,3,23,356,8,23,1,23,1,23,1,23,1,23,1,24,1,24, - 1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,5,24,375,8,24, - 10,24,12,24,378,9,24,1,25,1,25,1,25,1,26,1,26,1,26,1,27,1,27,1,27,1,27, - 1,27,1,27,1,27,1,27,3,27,394,8,27,1,28,1,28,1,28,1,29,1,29,1,29,1,29, - 1,30,1,30,1,30,1,30,1,31,1,31,1,31,1,31,3,31,411,8,31,1,31,1,31,1,31, - 1,31,3,31,417,8,31,1,31,1,31,1,31,1,31,3,31,423,8,31,1,31,1,31,1,31,1, - 31,1,31,1,31,1,31,1,31,1,31,3,31,434,8,31,3,31,436,8,31,1,32,1,32,1,32, - 1,33,1,33,1,33,1,34,1,34,1,34,3,34,447,8,34,1,34,3,34,450,8,34,1,34,1, - 34,1,34,1,34,3,34,456,8,34,1,34,1,34,1,34,1,34,1,34,1,34,3,34,464,8,34, - 1,34,1,34,1,34,1,34,5,34,470,8,34,10,34,12,34,473,9,34,1,35,3,35,476, - 8,35,1,35,1,35,1,35,3,35,481,8,35,1,35,3,35,484,8,35,1,35,3,35,487,8, - 35,1,35,1,35,3,35,491,8,35,1,35,1,35,3,35,495,8,35,1,35,3,35,498,8,35, - 3,35,500,8,35,1,35,3,35,503,8,35,1,35,1,35,3,35,507,8,35,1,35,1,35,3, - 35,511,8,35,1,35,3,35,514,8,35,3,35,516,8,35,3,35,518,8,35,1,36,1,36, - 1,36,3,36,523,8,36,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37, - 534,8,37,1,38,1,38,1,38,1,38,3,38,540,8,38,1,39,1,39,1,39,5,39,545,8, - 39,10,39,12,39,548,9,39,1,40,1,40,3,40,552,8,40,1,40,1,40,3,40,556,8, - 40,1,40,1,40,3,40,560,8,40,1,41,1,41,1,41,1,41,3,41,566,8,41,3,41,568, - 8,41,1,42,1,42,1,42,5,42,573,8,42,10,42,12,42,576,9,42,1,43,1,43,1,43, - 1,43,1,44,3,44,583,8,44,1,44,3,44,586,8,44,1,44,3,44,589,8,44,1,45,1, - 45,1,45,1,45,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1, - 48,1,48,3,48,608,8,48,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1, - 49,1,49,1,49,3,49,622,8,49,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,51,1, - 51,1,51,1,51,1,51,5,51,636,8,51,10,51,12,51,639,9,51,1,51,1,51,1,51,1, - 51,1,51,1,51,1,51,5,51,648,8,51,10,51,12,51,651,9,51,1,51,1,51,1,51,1, - 51,1,51,1,51,1,51,5,51,660,8,51,10,51,12,51,663,9,51,1,51,1,51,1,51,1, - 51,1,51,3,51,670,8,51,1,51,1,51,3,51,674,8,51,1,52,1,52,1,52,5,52,679, - 8,52,10,52,12,52,682,9,52,1,53,1,53,1,53,3,53,687,8,53,1,53,1,53,1,53, - 1,53,1,53,4,53,694,8,53,11,53,12,53,695,1,53,1,53,3,53,700,8,53,1,53, + 3,1,3,3,3,186,8,3,1,4,1,4,1,4,5,4,191,8,4,10,4,12,4,194,9,4,1,5,1,5,1, + 5,1,5,1,5,1,5,1,5,1,5,3,5,204,8,5,1,6,1,6,3,6,208,8,6,1,6,3,6,211,8,6, + 1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,220,8,7,1,8,1,8,1,8,1,8,1,8,1,8,3,8,228, + 8,8,1,9,1,9,1,9,1,9,3,9,234,8,9,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,10, + 1,11,1,11,3,11,246,8,11,1,12,1,12,1,13,1,13,5,13,252,8,13,10,13,12,13, + 255,9,13,1,13,1,13,1,14,1,14,1,14,1,14,1,15,1,15,1,15,5,15,266,8,15,10, + 15,12,15,269,9,15,1,16,1,16,1,16,3,16,274,8,16,1,16,1,16,1,17,1,17,1, + 17,1,17,5,17,282,8,17,10,17,12,17,285,9,17,1,18,1,18,1,18,1,18,1,18,1, + 18,3,18,293,8,18,1,19,3,19,296,8,19,1,19,1,19,3,19,300,8,19,1,19,3,19, + 303,8,19,1,19,1,19,3,19,307,8,19,1,19,3,19,310,8,19,1,19,3,19,313,8,19, + 1,19,3,19,316,8,19,1,19,3,19,319,8,19,1,19,1,19,3,19,323,8,19,1,19,1, + 19,3,19,327,8,19,1,19,3,19,330,8,19,1,19,3,19,333,8,19,1,19,3,19,336, + 8,19,1,19,1,19,3,19,340,8,19,1,19,3,19,343,8,19,1,20,1,20,1,20,1,21,1, + 21,1,21,1,21,3,21,352,8,21,1,22,1,22,1,22,1,23,3,23,358,8,23,1,23,1,23, + 1,23,1,23,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24, + 1,24,5,24,377,8,24,10,24,12,24,380,9,24,1,25,1,25,1,25,1,26,1,26,1,26, + 1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,3,27,396,8,27,1,28,1,28,1,28, + 1,29,1,29,1,29,1,29,1,30,1,30,1,30,1,30,1,31,1,31,1,31,1,31,3,31,413, + 8,31,1,31,1,31,1,31,1,31,3,31,419,8,31,1,31,1,31,1,31,1,31,3,31,425,8, + 31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,3,31,436,8,31,3,31,438, + 8,31,1,32,1,32,1,32,1,33,1,33,1,33,1,34,1,34,1,34,3,34,449,8,34,1,34, + 3,34,452,8,34,1,34,1,34,1,34,1,34,3,34,458,8,34,1,34,1,34,1,34,1,34,1, + 34,1,34,3,34,466,8,34,1,34,1,34,1,34,1,34,5,34,472,8,34,10,34,12,34,475, + 9,34,1,35,3,35,478,8,35,1,35,1,35,1,35,3,35,483,8,35,1,35,3,35,486,8, + 35,1,35,3,35,489,8,35,1,35,1,35,3,35,493,8,35,1,35,1,35,3,35,497,8,35, + 1,35,3,35,500,8,35,3,35,502,8,35,1,35,3,35,505,8,35,1,35,1,35,3,35,509, + 8,35,1,35,1,35,3,35,513,8,35,1,35,3,35,516,8,35,3,35,518,8,35,3,35,520, + 8,35,1,36,1,36,1,36,3,36,525,8,36,1,37,1,37,1,37,1,37,1,37,1,37,1,37, + 1,37,1,37,3,37,536,8,37,1,38,1,38,1,38,1,38,3,38,542,8,38,1,39,1,39,1, + 39,5,39,547,8,39,10,39,12,39,550,9,39,1,40,1,40,3,40,554,8,40,1,40,1, + 40,3,40,558,8,40,1,40,1,40,3,40,562,8,40,1,41,1,41,1,41,1,41,3,41,568, + 8,41,3,41,570,8,41,1,42,1,42,1,42,5,42,575,8,42,10,42,12,42,578,9,42, + 1,43,1,43,1,43,1,43,1,44,3,44,585,8,44,1,44,3,44,588,8,44,1,44,3,44,591, + 8,44,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,48,1,48, + 1,48,1,48,1,48,1,48,3,48,610,8,48,1,49,1,49,1,49,1,49,1,49,1,49,1,49, + 1,49,1,49,1,49,1,49,1,49,3,49,624,8,49,1,50,1,50,1,50,1,51,1,51,1,51, + 1,51,1,51,1,51,1,51,1,51,1,51,5,51,638,8,51,10,51,12,51,641,9,51,1,51, + 1,51,1,51,1,51,1,51,1,51,1,51,5,51,650,8,51,10,51,12,51,653,9,51,1,51, + 1,51,1,51,1,51,1,51,1,51,1,51,5,51,662,8,51,10,51,12,51,665,9,51,1,51, + 1,51,1,51,1,51,1,51,3,51,672,8,51,1,51,1,51,3,51,676,8,51,1,52,1,52,1, + 52,5,52,681,8,52,10,52,12,52,684,9,52,1,53,1,53,1,53,3,53,689,8,53,1, + 53,1,53,1,53,1,53,1,53,4,53,696,8,53,11,53,12,53,697,1,53,1,53,3,53,702, + 8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53, + 1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,726,8,53,1,53,1,53, + 1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53, + 743,8,53,1,53,1,53,1,53,1,53,3,53,749,8,53,1,53,3,53,752,8,53,1,53,3, + 53,755,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,765,8,53,1,53, + 1,53,1,53,1,53,3,53,771,8,53,1,53,3,53,774,8,53,1,53,3,53,777,8,53,1, + 53,1,53,1,53,1,53,1,53,1,53,3,53,785,8,53,1,53,3,53,788,8,53,1,53,1,53, + 3,53,792,8,53,1,53,3,53,795,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1, + 53,1,53,1,53,1,53,1,53,3,53,809,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1, + 53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,826,8,53,1,53,1,53,1, + 53,3,53,831,8,53,1,53,1,53,3,53,835,8,53,1,53,1,53,1,53,1,53,3,53,841, + 8,53,1,53,1,53,1,53,1,53,1,53,3,53,848,8,53,1,53,1,53,1,53,1,53,1,53, + 1,53,1,53,1,53,1,53,1,53,3,53,860,8,53,1,53,1,53,3,53,864,8,53,1,53,3, + 53,867,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,876,8,53,1,53,1,53, + 1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,890,8,53,1,53, 1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53, - 1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,724,8,53,1,53,1,53,1,53,1,53, - 1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,741,8,53, - 1,53,1,53,1,53,1,53,3,53,747,8,53,1,53,3,53,750,8,53,1,53,3,53,753,8, - 53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,763,8,53,1,53,1,53,1, - 53,1,53,3,53,769,8,53,1,53,3,53,772,8,53,1,53,3,53,775,8,53,1,53,1,53, - 1,53,1,53,1,53,1,53,3,53,783,8,53,1,53,3,53,786,8,53,1,53,1,53,3,53,790, - 8,53,1,53,3,53,793,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53, - 1,53,1,53,1,53,3,53,807,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53, - 1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,824,8,53,1,53,1,53,1,53,3,53, - 829,8,53,1,53,1,53,3,53,833,8,53,1,53,1,53,1,53,1,53,3,53,839,8,53,1, - 53,1,53,1,53,1,53,1,53,3,53,846,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1, - 53,1,53,1,53,1,53,3,53,858,8,53,1,53,1,53,3,53,862,8,53,1,53,3,53,865, - 8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,874,8,53,1,53,1,53,1,53, - 1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,888,8,53,1,53,1,53, - 1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53, - 1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,915,8,53,1,53,1,53, - 1,53,1,53,1,53,1,53,1,53,3,53,924,8,53,5,53,926,8,53,10,53,12,53,929, - 9,53,1,54,1,54,1,54,5,54,934,8,54,10,54,12,54,937,9,54,1,55,1,55,3,55, - 941,8,55,1,56,1,56,1,56,1,56,5,56,947,8,56,10,56,12,56,950,9,56,1,56, - 1,56,1,56,1,56,1,56,5,56,957,8,56,10,56,12,56,960,9,56,3,56,962,8,56, - 1,56,1,56,1,56,1,57,1,57,1,57,5,57,970,8,57,10,57,12,57,973,9,57,1,57, - 1,57,1,57,1,57,1,57,1,57,5,57,981,8,57,10,57,12,57,984,9,57,1,57,1,57, - 3,57,988,8,57,1,57,1,57,1,57,1,57,1,57,3,57,995,8,57,1,58,1,58,1,58,1, - 58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,3,58,1008,8,58,1,59,1,59,1,59,5, - 59,1013,8,59,10,59,12,59,1016,9,59,1,60,1,60,1,60,1,60,1,60,1,60,1,60, - 1,60,1,60,1,60,3,60,1028,8,60,1,61,1,61,1,61,1,61,3,61,1034,8,61,1,61, - 3,61,1037,8,61,1,62,1,62,1,62,5,62,1042,8,62,10,62,12,62,1045,9,62,1, - 63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,3,63,1056,8,63,1,63,1,63,1, - 63,1,63,3,63,1062,8,63,5,63,1064,8,63,10,63,12,63,1067,9,63,1,64,1,64, - 1,64,3,64,1072,8,64,1,64,1,64,1,65,1,65,1,65,3,65,1079,8,65,1,65,1,65, - 1,66,1,66,1,66,5,66,1086,8,66,10,66,12,66,1089,9,66,1,67,1,67,1,68,1, - 68,1,68,1,68,1,68,1,68,3,68,1099,8,68,3,68,1101,8,68,1,69,3,69,1104,8, - 69,1,69,1,69,1,69,1,69,1,69,1,69,3,69,1112,8,69,1,70,1,70,1,70,3,70,1117, - 8,70,1,71,1,71,1,72,1,72,1,73,1,73,1,74,1,74,3,74,1127,8,74,1,75,1,75, - 1,75,3,75,1132,8,75,1,76,1,76,1,76,1,76,1,77,1,77,1,77,1,77,1,78,1,78, - 3,78,1144,8,78,1,79,1,79,5,79,1148,8,79,10,79,12,79,1151,9,79,1,79,1, - 79,1,80,1,80,1,80,1,80,1,80,3,80,1160,8,80,1,81,1,81,5,81,1164,8,81,10, - 81,12,81,1167,9,81,1,81,1,81,1,82,1,82,1,82,1,82,1,82,3,82,1176,8,82, + 1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,917,8,53,1,53, + 1,53,1,53,1,53,1,53,1,53,3,53,925,8,53,5,53,927,8,53,10,53,12,53,930, + 9,53,1,54,1,54,1,54,5,54,935,8,54,10,54,12,54,938,9,54,1,55,1,55,3,55, + 942,8,55,1,56,1,56,1,56,1,56,5,56,948,8,56,10,56,12,56,951,9,56,1,56, + 1,56,1,56,1,56,1,56,5,56,958,8,56,10,56,12,56,961,9,56,3,56,963,8,56, + 1,56,1,56,1,56,1,57,1,57,1,57,5,57,971,8,57,10,57,12,57,974,9,57,1,57, + 1,57,1,57,1,57,1,57,1,57,5,57,982,8,57,10,57,12,57,985,9,57,1,57,1,57, + 3,57,989,8,57,1,57,1,57,1,57,1,57,1,57,3,57,996,8,57,1,58,1,58,1,58,1, + 58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,3,58,1009,8,58,1,59,1,59,1,59,5, + 59,1014,8,59,10,59,12,59,1017,9,59,1,60,1,60,1,60,1,60,1,60,1,60,1,60, + 1,60,1,60,1,60,3,60,1029,8,60,1,61,1,61,1,61,1,61,3,61,1035,8,61,1,61, + 3,61,1038,8,61,1,62,1,62,1,62,5,62,1043,8,62,10,62,12,62,1046,9,62,1, + 63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,3,63,1057,8,63,1,63,1,63,1, + 63,1,63,3,63,1063,8,63,5,63,1065,8,63,10,63,12,63,1068,9,63,1,64,1,64, + 1,64,3,64,1073,8,64,1,64,1,64,1,65,1,65,1,65,3,65,1080,8,65,1,65,1,65, + 1,66,1,66,1,66,5,66,1087,8,66,10,66,12,66,1090,9,66,1,67,1,67,1,68,1, + 68,1,68,1,68,1,68,1,68,3,68,1100,8,68,3,68,1102,8,68,1,69,3,69,1105,8, + 69,1,69,1,69,1,69,1,69,1,69,1,69,3,69,1113,8,69,1,70,1,70,1,70,3,70,1118, + 8,70,1,71,1,71,1,72,1,72,1,73,1,73,1,74,1,74,3,74,1128,8,74,1,75,1,75, + 1,75,3,75,1133,8,75,1,76,1,76,1,76,1,76,1,77,1,77,1,77,1,77,1,78,1,78, + 3,78,1145,8,78,1,79,1,79,5,79,1149,8,79,10,79,12,79,1152,9,79,1,79,1, + 79,1,80,1,80,1,80,1,80,1,80,3,80,1161,8,80,1,81,1,81,5,81,1165,8,81,10, + 81,12,81,1168,9,81,1,81,1,81,1,82,1,82,1,82,1,82,1,82,3,82,1177,8,82, 1,82,0,3,68,106,126,83,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32, 34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78, 80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118, @@ -216,335 +215,336 @@ void hogqlparserParserInitialize() { 0,28,28,47,47,2,0,69,69,74,74,3,0,10,10,48,48,87,87,2,0,39,39,51,51,1, 0,103,104,2,0,114,114,134,134,7,0,20,20,36,36,53,54,68,68,76,76,93,93, 99,99,12,0,1,19,21,28,30,35,37,40,42,49,51,52,56,56,58,67,69,75,77,92, - 94,95,97,98,4,0,19,19,28,28,37,37,46,46,1314,0,169,1,0,0,0,2,176,1,0, - 0,0,4,178,1,0,0,0,6,180,1,0,0,0,8,189,1,0,0,0,10,195,1,0,0,0,12,212,1, - 0,0,0,14,214,1,0,0,0,16,217,1,0,0,0,18,226,1,0,0,0,20,232,1,0,0,0,22, - 236,1,0,0,0,24,245,1,0,0,0,26,247,1,0,0,0,28,256,1,0,0,0,30,260,1,0,0, - 0,32,271,1,0,0,0,34,275,1,0,0,0,36,290,1,0,0,0,38,293,1,0,0,0,40,342, - 1,0,0,0,42,345,1,0,0,0,44,351,1,0,0,0,46,355,1,0,0,0,48,361,1,0,0,0,50, - 379,1,0,0,0,52,382,1,0,0,0,54,385,1,0,0,0,56,395,1,0,0,0,58,398,1,0,0, - 0,60,402,1,0,0,0,62,435,1,0,0,0,64,437,1,0,0,0,66,440,1,0,0,0,68,455, - 1,0,0,0,70,517,1,0,0,0,72,522,1,0,0,0,74,533,1,0,0,0,76,535,1,0,0,0,78, - 541,1,0,0,0,80,549,1,0,0,0,82,567,1,0,0,0,84,569,1,0,0,0,86,577,1,0,0, - 0,88,582,1,0,0,0,90,590,1,0,0,0,92,594,1,0,0,0,94,598,1,0,0,0,96,607, - 1,0,0,0,98,621,1,0,0,0,100,623,1,0,0,0,102,673,1,0,0,0,104,675,1,0,0, - 0,106,832,1,0,0,0,108,930,1,0,0,0,110,940,1,0,0,0,112,961,1,0,0,0,114, - 994,1,0,0,0,116,1007,1,0,0,0,118,1009,1,0,0,0,120,1027,1,0,0,0,122,1036, - 1,0,0,0,124,1038,1,0,0,0,126,1055,1,0,0,0,128,1068,1,0,0,0,130,1078,1, - 0,0,0,132,1082,1,0,0,0,134,1090,1,0,0,0,136,1100,1,0,0,0,138,1103,1,0, - 0,0,140,1116,1,0,0,0,142,1118,1,0,0,0,144,1120,1,0,0,0,146,1122,1,0,0, - 0,148,1126,1,0,0,0,150,1131,1,0,0,0,152,1133,1,0,0,0,154,1137,1,0,0,0, - 156,1143,1,0,0,0,158,1145,1,0,0,0,160,1159,1,0,0,0,162,1161,1,0,0,0,164, - 1175,1,0,0,0,166,168,3,2,1,0,167,166,1,0,0,0,168,171,1,0,0,0,169,167, + 94,95,97,98,4,0,19,19,28,28,37,37,46,46,1317,0,169,1,0,0,0,2,176,1,0, + 0,0,4,178,1,0,0,0,6,180,1,0,0,0,8,187,1,0,0,0,10,203,1,0,0,0,12,205,1, + 0,0,0,14,212,1,0,0,0,16,221,1,0,0,0,18,229,1,0,0,0,20,238,1,0,0,0,22, + 243,1,0,0,0,24,247,1,0,0,0,26,249,1,0,0,0,28,258,1,0,0,0,30,262,1,0,0, + 0,32,273,1,0,0,0,34,277,1,0,0,0,36,292,1,0,0,0,38,295,1,0,0,0,40,344, + 1,0,0,0,42,347,1,0,0,0,44,353,1,0,0,0,46,357,1,0,0,0,48,363,1,0,0,0,50, + 381,1,0,0,0,52,384,1,0,0,0,54,387,1,0,0,0,56,397,1,0,0,0,58,400,1,0,0, + 0,60,404,1,0,0,0,62,437,1,0,0,0,64,439,1,0,0,0,66,442,1,0,0,0,68,457, + 1,0,0,0,70,519,1,0,0,0,72,524,1,0,0,0,74,535,1,0,0,0,76,537,1,0,0,0,78, + 543,1,0,0,0,80,551,1,0,0,0,82,569,1,0,0,0,84,571,1,0,0,0,86,579,1,0,0, + 0,88,584,1,0,0,0,90,592,1,0,0,0,92,596,1,0,0,0,94,600,1,0,0,0,96,609, + 1,0,0,0,98,623,1,0,0,0,100,625,1,0,0,0,102,675,1,0,0,0,104,677,1,0,0, + 0,106,834,1,0,0,0,108,931,1,0,0,0,110,941,1,0,0,0,112,962,1,0,0,0,114, + 995,1,0,0,0,116,1008,1,0,0,0,118,1010,1,0,0,0,120,1028,1,0,0,0,122,1037, + 1,0,0,0,124,1039,1,0,0,0,126,1056,1,0,0,0,128,1069,1,0,0,0,130,1079,1, + 0,0,0,132,1083,1,0,0,0,134,1091,1,0,0,0,136,1101,1,0,0,0,138,1104,1,0, + 0,0,140,1117,1,0,0,0,142,1119,1,0,0,0,144,1121,1,0,0,0,146,1123,1,0,0, + 0,148,1127,1,0,0,0,150,1132,1,0,0,0,152,1134,1,0,0,0,154,1138,1,0,0,0, + 156,1144,1,0,0,0,158,1146,1,0,0,0,160,1160,1,0,0,0,162,1162,1,0,0,0,164, + 1176,1,0,0,0,166,168,3,2,1,0,167,166,1,0,0,0,168,171,1,0,0,0,169,167, 1,0,0,0,169,170,1,0,0,0,170,172,1,0,0,0,171,169,1,0,0,0,172,173,5,0,0, - 1,173,1,1,0,0,0,174,177,3,6,3,0,175,177,3,12,6,0,176,174,1,0,0,0,176, + 1,173,1,1,0,0,0,174,177,3,6,3,0,175,177,3,10,5,0,176,174,1,0,0,0,176, 175,1,0,0,0,177,3,1,0,0,0,178,179,3,106,53,0,179,5,1,0,0,0,180,181,5, 50,0,0,181,185,3,150,75,0,182,183,5,111,0,0,183,184,5,118,0,0,184,186, - 3,4,2,0,185,182,1,0,0,0,185,186,1,0,0,0,186,187,1,0,0,0,187,188,5,145, - 0,0,188,7,1,0,0,0,189,190,3,4,2,0,190,191,5,111,0,0,191,192,5,118,0,0, - 192,193,3,4,2,0,193,194,5,145,0,0,194,9,1,0,0,0,195,200,3,150,75,0,196, - 197,5,112,0,0,197,199,3,150,75,0,198,196,1,0,0,0,199,202,1,0,0,0,200, - 198,1,0,0,0,200,201,1,0,0,0,201,11,1,0,0,0,202,200,1,0,0,0,203,213,3, - 20,10,0,204,213,3,24,12,0,205,213,3,14,7,0,206,213,3,16,8,0,207,213,3, - 18,9,0,208,213,3,22,11,0,209,213,3,8,4,0,210,213,3,20,10,0,211,213,3, - 26,13,0,212,203,1,0,0,0,212,204,1,0,0,0,212,205,1,0,0,0,212,206,1,0,0, - 0,212,207,1,0,0,0,212,208,1,0,0,0,212,209,1,0,0,0,212,210,1,0,0,0,212, - 211,1,0,0,0,213,13,1,0,0,0,214,215,3,4,2,0,215,216,5,145,0,0,216,15,1, - 0,0,0,217,218,5,38,0,0,218,219,5,126,0,0,219,220,3,4,2,0,220,221,5,144, - 0,0,221,224,3,12,6,0,222,223,5,24,0,0,223,225,3,12,6,0,224,222,1,0,0, - 0,224,225,1,0,0,0,225,17,1,0,0,0,226,227,5,96,0,0,227,228,5,126,0,0,228, - 229,3,4,2,0,229,230,5,144,0,0,230,231,3,12,6,0,231,19,1,0,0,0,232,233, - 5,70,0,0,233,234,3,4,2,0,234,235,5,145,0,0,235,21,1,0,0,0,236,237,5,29, - 0,0,237,238,3,150,75,0,238,240,5,126,0,0,239,241,3,10,5,0,240,239,1,0, - 0,0,240,241,1,0,0,0,241,242,1,0,0,0,242,243,5,144,0,0,243,244,3,26,13, - 0,244,23,1,0,0,0,245,246,5,145,0,0,246,25,1,0,0,0,247,251,5,124,0,0,248, - 250,3,2,1,0,249,248,1,0,0,0,250,253,1,0,0,0,251,249,1,0,0,0,251,252,1, - 0,0,0,252,254,1,0,0,0,253,251,1,0,0,0,254,255,5,142,0,0,255,27,1,0,0, - 0,256,257,3,4,2,0,257,258,5,111,0,0,258,259,3,4,2,0,259,29,1,0,0,0,260, - 265,3,28,14,0,261,262,5,112,0,0,262,264,3,28,14,0,263,261,1,0,0,0,264, - 267,1,0,0,0,265,263,1,0,0,0,265,266,1,0,0,0,266,31,1,0,0,0,267,265,1, - 0,0,0,268,272,3,34,17,0,269,272,3,38,19,0,270,272,3,114,57,0,271,268, - 1,0,0,0,271,269,1,0,0,0,271,270,1,0,0,0,272,273,1,0,0,0,273,274,5,0,0, - 1,274,33,1,0,0,0,275,281,3,36,18,0,276,277,5,91,0,0,277,278,5,1,0,0,278, - 280,3,36,18,0,279,276,1,0,0,0,280,283,1,0,0,0,281,279,1,0,0,0,281,282, - 1,0,0,0,282,35,1,0,0,0,283,281,1,0,0,0,284,291,3,38,19,0,285,286,5,126, - 0,0,286,287,3,34,17,0,287,288,5,144,0,0,288,291,1,0,0,0,289,291,3,154, - 77,0,290,284,1,0,0,0,290,285,1,0,0,0,290,289,1,0,0,0,291,37,1,0,0,0,292, - 294,3,40,20,0,293,292,1,0,0,0,293,294,1,0,0,0,294,295,1,0,0,0,295,297, - 5,77,0,0,296,298,5,23,0,0,297,296,1,0,0,0,297,298,1,0,0,0,298,300,1,0, - 0,0,299,301,3,42,21,0,300,299,1,0,0,0,300,301,1,0,0,0,301,302,1,0,0,0, - 302,304,3,104,52,0,303,305,3,44,22,0,304,303,1,0,0,0,304,305,1,0,0,0, - 305,307,1,0,0,0,306,308,3,46,23,0,307,306,1,0,0,0,307,308,1,0,0,0,308, - 310,1,0,0,0,309,311,3,50,25,0,310,309,1,0,0,0,310,311,1,0,0,0,311,313, - 1,0,0,0,312,314,3,52,26,0,313,312,1,0,0,0,313,314,1,0,0,0,314,316,1,0, - 0,0,315,317,3,54,27,0,316,315,1,0,0,0,316,317,1,0,0,0,317,320,1,0,0,0, - 318,319,5,98,0,0,319,321,7,0,0,0,320,318,1,0,0,0,320,321,1,0,0,0,321, - 324,1,0,0,0,322,323,5,98,0,0,323,325,5,86,0,0,324,322,1,0,0,0,324,325, - 1,0,0,0,325,327,1,0,0,0,326,328,3,56,28,0,327,326,1,0,0,0,327,328,1,0, - 0,0,328,330,1,0,0,0,329,331,3,48,24,0,330,329,1,0,0,0,330,331,1,0,0,0, - 331,333,1,0,0,0,332,334,3,58,29,0,333,332,1,0,0,0,333,334,1,0,0,0,334, - 337,1,0,0,0,335,338,3,62,31,0,336,338,3,64,32,0,337,335,1,0,0,0,337,336, - 1,0,0,0,337,338,1,0,0,0,338,340,1,0,0,0,339,341,3,66,33,0,340,339,1,0, - 0,0,340,341,1,0,0,0,341,39,1,0,0,0,342,343,5,98,0,0,343,344,3,118,59, - 0,344,41,1,0,0,0,345,346,5,85,0,0,346,349,5,104,0,0,347,348,5,98,0,0, - 348,350,5,82,0,0,349,347,1,0,0,0,349,350,1,0,0,0,350,43,1,0,0,0,351,352, - 5,32,0,0,352,353,3,68,34,0,353,45,1,0,0,0,354,356,7,1,0,0,355,354,1,0, - 0,0,355,356,1,0,0,0,356,357,1,0,0,0,357,358,5,5,0,0,358,359,5,45,0,0, - 359,360,3,104,52,0,360,47,1,0,0,0,361,362,5,97,0,0,362,363,3,150,75,0, - 363,364,5,6,0,0,364,365,5,126,0,0,365,366,3,88,44,0,366,376,5,144,0,0, - 367,368,5,112,0,0,368,369,3,150,75,0,369,370,5,6,0,0,370,371,5,126,0, - 0,371,372,3,88,44,0,372,373,5,144,0,0,373,375,1,0,0,0,374,367,1,0,0,0, - 375,378,1,0,0,0,376,374,1,0,0,0,376,377,1,0,0,0,377,49,1,0,0,0,378,376, - 1,0,0,0,379,380,5,67,0,0,380,381,3,106,53,0,381,51,1,0,0,0,382,383,5, - 95,0,0,383,384,3,106,53,0,384,53,1,0,0,0,385,386,5,34,0,0,386,393,5,11, - 0,0,387,388,7,0,0,0,388,389,5,126,0,0,389,390,3,104,52,0,390,391,5,144, - 0,0,391,394,1,0,0,0,392,394,3,104,52,0,393,387,1,0,0,0,393,392,1,0,0, - 0,394,55,1,0,0,0,395,396,5,35,0,0,396,397,3,106,53,0,397,57,1,0,0,0,398, - 399,5,62,0,0,399,400,5,11,0,0,400,401,3,78,39,0,401,59,1,0,0,0,402,403, - 5,62,0,0,403,404,5,11,0,0,404,405,3,104,52,0,405,61,1,0,0,0,406,407,5, - 52,0,0,407,410,3,106,53,0,408,409,5,112,0,0,409,411,3,106,53,0,410,408, - 1,0,0,0,410,411,1,0,0,0,411,416,1,0,0,0,412,413,5,98,0,0,413,417,5,82, - 0,0,414,415,5,11,0,0,415,417,3,104,52,0,416,412,1,0,0,0,416,414,1,0,0, - 0,416,417,1,0,0,0,417,436,1,0,0,0,418,419,5,52,0,0,419,422,3,106,53,0, - 420,421,5,98,0,0,421,423,5,82,0,0,422,420,1,0,0,0,422,423,1,0,0,0,423, - 424,1,0,0,0,424,425,5,59,0,0,425,426,3,106,53,0,426,436,1,0,0,0,427,428, - 5,52,0,0,428,429,3,106,53,0,429,430,5,59,0,0,430,433,3,106,53,0,431,432, - 5,11,0,0,432,434,3,104,52,0,433,431,1,0,0,0,433,434,1,0,0,0,434,436,1, - 0,0,0,435,406,1,0,0,0,435,418,1,0,0,0,435,427,1,0,0,0,436,63,1,0,0,0, - 437,438,5,59,0,0,438,439,3,106,53,0,439,65,1,0,0,0,440,441,5,79,0,0,441, - 442,3,84,42,0,442,67,1,0,0,0,443,444,6,34,-1,0,444,446,3,126,63,0,445, - 447,5,27,0,0,446,445,1,0,0,0,446,447,1,0,0,0,447,449,1,0,0,0,448,450, - 3,76,38,0,449,448,1,0,0,0,449,450,1,0,0,0,450,456,1,0,0,0,451,452,5,126, - 0,0,452,453,3,68,34,0,453,454,5,144,0,0,454,456,1,0,0,0,455,443,1,0,0, - 0,455,451,1,0,0,0,456,471,1,0,0,0,457,458,10,3,0,0,458,459,3,72,36,0, - 459,460,3,68,34,4,460,470,1,0,0,0,461,463,10,4,0,0,462,464,3,70,35,0, - 463,462,1,0,0,0,463,464,1,0,0,0,464,465,1,0,0,0,465,466,5,45,0,0,466, - 467,3,68,34,0,467,468,3,74,37,0,468,470,1,0,0,0,469,457,1,0,0,0,469,461, - 1,0,0,0,470,473,1,0,0,0,471,469,1,0,0,0,471,472,1,0,0,0,472,69,1,0,0, - 0,473,471,1,0,0,0,474,476,7,2,0,0,475,474,1,0,0,0,475,476,1,0,0,0,476, - 477,1,0,0,0,477,484,5,42,0,0,478,480,5,42,0,0,479,481,7,2,0,0,480,479, - 1,0,0,0,480,481,1,0,0,0,481,484,1,0,0,0,482,484,7,2,0,0,483,475,1,0,0, - 0,483,478,1,0,0,0,483,482,1,0,0,0,484,518,1,0,0,0,485,487,7,3,0,0,486, - 485,1,0,0,0,486,487,1,0,0,0,487,488,1,0,0,0,488,490,7,4,0,0,489,491,5, - 63,0,0,490,489,1,0,0,0,490,491,1,0,0,0,491,500,1,0,0,0,492,494,7,4,0, - 0,493,495,5,63,0,0,494,493,1,0,0,0,494,495,1,0,0,0,495,497,1,0,0,0,496, - 498,7,3,0,0,497,496,1,0,0,0,497,498,1,0,0,0,498,500,1,0,0,0,499,486,1, - 0,0,0,499,492,1,0,0,0,500,518,1,0,0,0,501,503,7,5,0,0,502,501,1,0,0,0, - 502,503,1,0,0,0,503,504,1,0,0,0,504,506,5,33,0,0,505,507,5,63,0,0,506, - 505,1,0,0,0,506,507,1,0,0,0,507,516,1,0,0,0,508,510,5,33,0,0,509,511, - 5,63,0,0,510,509,1,0,0,0,510,511,1,0,0,0,511,513,1,0,0,0,512,514,7,5, - 0,0,513,512,1,0,0,0,513,514,1,0,0,0,514,516,1,0,0,0,515,502,1,0,0,0,515, - 508,1,0,0,0,516,518,1,0,0,0,517,483,1,0,0,0,517,499,1,0,0,0,517,515,1, - 0,0,0,518,71,1,0,0,0,519,520,5,16,0,0,520,523,5,45,0,0,521,523,5,112, - 0,0,522,519,1,0,0,0,522,521,1,0,0,0,523,73,1,0,0,0,524,525,5,60,0,0,525, - 534,3,104,52,0,526,527,5,92,0,0,527,528,5,126,0,0,528,529,3,104,52,0, - 529,530,5,144,0,0,530,534,1,0,0,0,531,532,5,92,0,0,532,534,3,104,52,0, - 533,524,1,0,0,0,533,526,1,0,0,0,533,531,1,0,0,0,534,75,1,0,0,0,535,536, - 5,75,0,0,536,539,3,82,41,0,537,538,5,59,0,0,538,540,3,82,41,0,539,537, - 1,0,0,0,539,540,1,0,0,0,540,77,1,0,0,0,541,546,3,80,40,0,542,543,5,112, - 0,0,543,545,3,80,40,0,544,542,1,0,0,0,545,548,1,0,0,0,546,544,1,0,0,0, - 546,547,1,0,0,0,547,79,1,0,0,0,548,546,1,0,0,0,549,551,3,106,53,0,550, - 552,7,6,0,0,551,550,1,0,0,0,551,552,1,0,0,0,552,555,1,0,0,0,553,554,5, - 58,0,0,554,556,7,7,0,0,555,553,1,0,0,0,555,556,1,0,0,0,556,559,1,0,0, - 0,557,558,5,15,0,0,558,560,5,106,0,0,559,557,1,0,0,0,559,560,1,0,0,0, - 560,81,1,0,0,0,561,568,3,154,77,0,562,565,3,138,69,0,563,564,5,146,0, - 0,564,566,3,138,69,0,565,563,1,0,0,0,565,566,1,0,0,0,566,568,1,0,0,0, - 567,561,1,0,0,0,567,562,1,0,0,0,568,83,1,0,0,0,569,574,3,86,43,0,570, - 571,5,112,0,0,571,573,3,86,43,0,572,570,1,0,0,0,573,576,1,0,0,0,574,572, - 1,0,0,0,574,575,1,0,0,0,575,85,1,0,0,0,576,574,1,0,0,0,577,578,3,150, - 75,0,578,579,5,118,0,0,579,580,3,140,70,0,580,87,1,0,0,0,581,583,3,90, - 45,0,582,581,1,0,0,0,582,583,1,0,0,0,583,585,1,0,0,0,584,586,3,92,46, - 0,585,584,1,0,0,0,585,586,1,0,0,0,586,588,1,0,0,0,587,589,3,94,47,0,588, - 587,1,0,0,0,588,589,1,0,0,0,589,89,1,0,0,0,590,591,5,65,0,0,591,592,5, - 11,0,0,592,593,3,104,52,0,593,91,1,0,0,0,594,595,5,62,0,0,595,596,5,11, - 0,0,596,597,3,78,39,0,597,93,1,0,0,0,598,599,7,8,0,0,599,600,3,96,48, - 0,600,95,1,0,0,0,601,608,3,98,49,0,602,603,5,9,0,0,603,604,3,98,49,0, - 604,605,5,2,0,0,605,606,3,98,49,0,606,608,1,0,0,0,607,601,1,0,0,0,607, - 602,1,0,0,0,608,97,1,0,0,0,609,610,5,18,0,0,610,622,5,73,0,0,611,612, - 5,90,0,0,612,622,5,66,0,0,613,614,5,90,0,0,614,622,5,30,0,0,615,616,3, - 138,69,0,616,617,5,66,0,0,617,622,1,0,0,0,618,619,3,138,69,0,619,620, - 5,30,0,0,620,622,1,0,0,0,621,609,1,0,0,0,621,611,1,0,0,0,621,613,1,0, - 0,0,621,615,1,0,0,0,621,618,1,0,0,0,622,99,1,0,0,0,623,624,3,106,53,0, - 624,625,5,0,0,1,625,101,1,0,0,0,626,674,3,150,75,0,627,628,3,150,75,0, - 628,629,5,126,0,0,629,630,3,150,75,0,630,637,3,102,51,0,631,632,5,112, - 0,0,632,633,3,150,75,0,633,634,3,102,51,0,634,636,1,0,0,0,635,631,1,0, - 0,0,636,639,1,0,0,0,637,635,1,0,0,0,637,638,1,0,0,0,638,640,1,0,0,0,639, - 637,1,0,0,0,640,641,5,144,0,0,641,674,1,0,0,0,642,643,3,150,75,0,643, - 644,5,126,0,0,644,649,3,152,76,0,645,646,5,112,0,0,646,648,3,152,76,0, - 647,645,1,0,0,0,648,651,1,0,0,0,649,647,1,0,0,0,649,650,1,0,0,0,650,652, - 1,0,0,0,651,649,1,0,0,0,652,653,5,144,0,0,653,674,1,0,0,0,654,655,3,150, - 75,0,655,656,5,126,0,0,656,661,3,102,51,0,657,658,5,112,0,0,658,660,3, - 102,51,0,659,657,1,0,0,0,660,663,1,0,0,0,661,659,1,0,0,0,661,662,1,0, - 0,0,662,664,1,0,0,0,663,661,1,0,0,0,664,665,5,144,0,0,665,674,1,0,0,0, - 666,667,3,150,75,0,667,669,5,126,0,0,668,670,3,104,52,0,669,668,1,0,0, - 0,669,670,1,0,0,0,670,671,1,0,0,0,671,672,5,144,0,0,672,674,1,0,0,0,673, - 626,1,0,0,0,673,627,1,0,0,0,673,642,1,0,0,0,673,654,1,0,0,0,673,666,1, - 0,0,0,674,103,1,0,0,0,675,680,3,106,53,0,676,677,5,112,0,0,677,679,3, - 106,53,0,678,676,1,0,0,0,679,682,1,0,0,0,680,678,1,0,0,0,680,681,1,0, - 0,0,681,105,1,0,0,0,682,680,1,0,0,0,683,684,6,53,-1,0,684,686,5,12,0, - 0,685,687,3,106,53,0,686,685,1,0,0,0,686,687,1,0,0,0,687,693,1,0,0,0, - 688,689,5,94,0,0,689,690,3,106,53,0,690,691,5,81,0,0,691,692,3,106,53, - 0,692,694,1,0,0,0,693,688,1,0,0,0,694,695,1,0,0,0,695,693,1,0,0,0,695, - 696,1,0,0,0,696,699,1,0,0,0,697,698,5,24,0,0,698,700,3,106,53,0,699,697, - 1,0,0,0,699,700,1,0,0,0,700,701,1,0,0,0,701,702,5,25,0,0,702,833,1,0, - 0,0,703,704,5,13,0,0,704,705,5,126,0,0,705,706,3,106,53,0,706,707,5,6, - 0,0,707,708,3,102,51,0,708,709,5,144,0,0,709,833,1,0,0,0,710,711,5,19, - 0,0,711,833,5,106,0,0,712,713,5,43,0,0,713,714,3,106,53,0,714,715,3,142, - 71,0,715,833,1,0,0,0,716,717,5,80,0,0,717,718,5,126,0,0,718,719,3,106, - 53,0,719,720,5,32,0,0,720,723,3,106,53,0,721,722,5,31,0,0,722,724,3,106, - 53,0,723,721,1,0,0,0,723,724,1,0,0,0,724,725,1,0,0,0,725,726,5,144,0, - 0,726,833,1,0,0,0,727,728,5,83,0,0,728,833,5,106,0,0,729,730,5,88,0,0, - 730,731,5,126,0,0,731,732,7,9,0,0,732,733,3,156,78,0,733,734,5,32,0,0, - 734,735,3,106,53,0,735,736,5,144,0,0,736,833,1,0,0,0,737,738,3,150,75, - 0,738,740,5,126,0,0,739,741,3,104,52,0,740,739,1,0,0,0,740,741,1,0,0, - 0,741,742,1,0,0,0,742,743,5,144,0,0,743,752,1,0,0,0,744,746,5,126,0,0, - 745,747,5,23,0,0,746,745,1,0,0,0,746,747,1,0,0,0,747,749,1,0,0,0,748, - 750,3,108,54,0,749,748,1,0,0,0,749,750,1,0,0,0,750,751,1,0,0,0,751,753, - 5,144,0,0,752,744,1,0,0,0,752,753,1,0,0,0,753,754,1,0,0,0,754,755,5,64, - 0,0,755,756,5,126,0,0,756,757,3,88,44,0,757,758,5,144,0,0,758,833,1,0, - 0,0,759,760,3,150,75,0,760,762,5,126,0,0,761,763,3,104,52,0,762,761,1, - 0,0,0,762,763,1,0,0,0,763,764,1,0,0,0,764,765,5,144,0,0,765,774,1,0,0, - 0,766,768,5,126,0,0,767,769,5,23,0,0,768,767,1,0,0,0,768,769,1,0,0,0, - 769,771,1,0,0,0,770,772,3,108,54,0,771,770,1,0,0,0,771,772,1,0,0,0,772, - 773,1,0,0,0,773,775,5,144,0,0,774,766,1,0,0,0,774,775,1,0,0,0,775,776, - 1,0,0,0,776,777,5,64,0,0,777,778,3,150,75,0,778,833,1,0,0,0,779,785,3, - 150,75,0,780,782,5,126,0,0,781,783,3,104,52,0,782,781,1,0,0,0,782,783, - 1,0,0,0,783,784,1,0,0,0,784,786,5,144,0,0,785,780,1,0,0,0,785,786,1,0, - 0,0,786,787,1,0,0,0,787,789,5,126,0,0,788,790,5,23,0,0,789,788,1,0,0, - 0,789,790,1,0,0,0,790,792,1,0,0,0,791,793,3,108,54,0,792,791,1,0,0,0, - 792,793,1,0,0,0,793,794,1,0,0,0,794,795,5,144,0,0,795,833,1,0,0,0,796, - 833,3,114,57,0,797,833,3,158,79,0,798,833,3,140,70,0,799,800,5,114,0, - 0,800,833,3,106,53,19,801,802,5,56,0,0,802,833,3,106,53,13,803,804,3, - 130,65,0,804,805,5,116,0,0,805,807,1,0,0,0,806,803,1,0,0,0,806,807,1, - 0,0,0,807,808,1,0,0,0,808,833,5,108,0,0,809,810,5,126,0,0,810,811,3,34, - 17,0,811,812,5,144,0,0,812,833,1,0,0,0,813,814,5,126,0,0,814,815,3,106, - 53,0,815,816,5,144,0,0,816,833,1,0,0,0,817,818,5,126,0,0,818,819,3,104, - 52,0,819,820,5,144,0,0,820,833,1,0,0,0,821,823,5,125,0,0,822,824,3,104, - 52,0,823,822,1,0,0,0,823,824,1,0,0,0,824,825,1,0,0,0,825,833,5,143,0, - 0,826,828,5,124,0,0,827,829,3,30,15,0,828,827,1,0,0,0,828,829,1,0,0,0, - 829,830,1,0,0,0,830,833,5,142,0,0,831,833,3,122,61,0,832,683,1,0,0,0, - 832,703,1,0,0,0,832,710,1,0,0,0,832,712,1,0,0,0,832,716,1,0,0,0,832,727, - 1,0,0,0,832,729,1,0,0,0,832,737,1,0,0,0,832,759,1,0,0,0,832,779,1,0,0, - 0,832,796,1,0,0,0,832,797,1,0,0,0,832,798,1,0,0,0,832,799,1,0,0,0,832, - 801,1,0,0,0,832,806,1,0,0,0,832,809,1,0,0,0,832,813,1,0,0,0,832,817,1, - 0,0,0,832,821,1,0,0,0,832,826,1,0,0,0,832,831,1,0,0,0,833,927,1,0,0,0, - 834,838,10,18,0,0,835,839,5,108,0,0,836,839,5,146,0,0,837,839,5,133,0, - 0,838,835,1,0,0,0,838,836,1,0,0,0,838,837,1,0,0,0,839,840,1,0,0,0,840, - 926,3,106,53,19,841,845,10,17,0,0,842,846,5,134,0,0,843,846,5,114,0,0, - 844,846,5,113,0,0,845,842,1,0,0,0,845,843,1,0,0,0,845,844,1,0,0,0,846, - 847,1,0,0,0,847,926,3,106,53,18,848,873,10,16,0,0,849,874,5,117,0,0,850, - 874,5,118,0,0,851,874,5,129,0,0,852,874,5,127,0,0,853,874,5,128,0,0,854, - 874,5,119,0,0,855,874,5,120,0,0,856,858,5,56,0,0,857,856,1,0,0,0,857, - 858,1,0,0,0,858,859,1,0,0,0,859,861,5,40,0,0,860,862,5,14,0,0,861,860, - 1,0,0,0,861,862,1,0,0,0,862,874,1,0,0,0,863,865,5,56,0,0,864,863,1,0, - 0,0,864,865,1,0,0,0,865,866,1,0,0,0,866,874,7,10,0,0,867,874,5,140,0, - 0,868,874,5,141,0,0,869,874,5,131,0,0,870,874,5,122,0,0,871,874,5,123, - 0,0,872,874,5,130,0,0,873,849,1,0,0,0,873,850,1,0,0,0,873,851,1,0,0,0, - 873,852,1,0,0,0,873,853,1,0,0,0,873,854,1,0,0,0,873,855,1,0,0,0,873,857, - 1,0,0,0,873,864,1,0,0,0,873,867,1,0,0,0,873,868,1,0,0,0,873,869,1,0,0, - 0,873,870,1,0,0,0,873,871,1,0,0,0,873,872,1,0,0,0,874,875,1,0,0,0,875, - 926,3,106,53,17,876,877,10,14,0,0,877,878,5,132,0,0,878,926,3,106,53, - 15,879,880,10,12,0,0,880,881,5,2,0,0,881,926,3,106,53,13,882,883,10,11, - 0,0,883,884,5,61,0,0,884,926,3,106,53,12,885,887,10,10,0,0,886,888,5, - 56,0,0,887,886,1,0,0,0,887,888,1,0,0,0,888,889,1,0,0,0,889,890,5,9,0, - 0,890,891,3,106,53,0,891,892,5,2,0,0,892,893,3,106,53,11,893,926,1,0, - 0,0,894,895,10,9,0,0,895,896,5,135,0,0,896,897,3,106,53,0,897,898,5,111, - 0,0,898,899,3,106,53,9,899,926,1,0,0,0,900,901,10,22,0,0,901,902,5,125, - 0,0,902,903,3,106,53,0,903,904,5,143,0,0,904,926,1,0,0,0,905,906,10,21, - 0,0,906,907,5,116,0,0,907,926,5,104,0,0,908,909,10,20,0,0,909,910,5,116, - 0,0,910,926,3,150,75,0,911,912,10,15,0,0,912,914,5,44,0,0,913,915,5,56, - 0,0,914,913,1,0,0,0,914,915,1,0,0,0,915,916,1,0,0,0,916,926,5,57,0,0, - 917,923,10,8,0,0,918,924,3,148,74,0,919,920,5,6,0,0,920,924,3,150,75, - 0,921,922,5,6,0,0,922,924,5,106,0,0,923,918,1,0,0,0,923,919,1,0,0,0,923, - 921,1,0,0,0,924,926,1,0,0,0,925,834,1,0,0,0,925,841,1,0,0,0,925,848,1, - 0,0,0,925,876,1,0,0,0,925,879,1,0,0,0,925,882,1,0,0,0,925,885,1,0,0,0, - 925,894,1,0,0,0,925,900,1,0,0,0,925,905,1,0,0,0,925,908,1,0,0,0,925,911, - 1,0,0,0,925,917,1,0,0,0,926,929,1,0,0,0,927,925,1,0,0,0,927,928,1,0,0, - 0,928,107,1,0,0,0,929,927,1,0,0,0,930,935,3,110,55,0,931,932,5,112,0, - 0,932,934,3,110,55,0,933,931,1,0,0,0,934,937,1,0,0,0,935,933,1,0,0,0, - 935,936,1,0,0,0,936,109,1,0,0,0,937,935,1,0,0,0,938,941,3,112,56,0,939, - 941,3,106,53,0,940,938,1,0,0,0,940,939,1,0,0,0,941,111,1,0,0,0,942,943, - 5,126,0,0,943,948,3,150,75,0,944,945,5,112,0,0,945,947,3,150,75,0,946, - 944,1,0,0,0,947,950,1,0,0,0,948,946,1,0,0,0,948,949,1,0,0,0,949,951,1, - 0,0,0,950,948,1,0,0,0,951,952,5,144,0,0,952,962,1,0,0,0,953,958,3,150, - 75,0,954,955,5,112,0,0,955,957,3,150,75,0,956,954,1,0,0,0,957,960,1,0, - 0,0,958,956,1,0,0,0,958,959,1,0,0,0,959,962,1,0,0,0,960,958,1,0,0,0,961, - 942,1,0,0,0,961,953,1,0,0,0,962,963,1,0,0,0,963,964,5,107,0,0,964,965, - 3,106,53,0,965,113,1,0,0,0,966,967,5,128,0,0,967,971,3,150,75,0,968,970, - 3,116,58,0,969,968,1,0,0,0,970,973,1,0,0,0,971,969,1,0,0,0,971,972,1, - 0,0,0,972,974,1,0,0,0,973,971,1,0,0,0,974,975,5,146,0,0,975,976,5,120, - 0,0,976,995,1,0,0,0,977,978,5,128,0,0,978,982,3,150,75,0,979,981,3,116, - 58,0,980,979,1,0,0,0,981,984,1,0,0,0,982,980,1,0,0,0,982,983,1,0,0,0, - 983,985,1,0,0,0,984,982,1,0,0,0,985,987,5,120,0,0,986,988,3,114,57,0, - 987,986,1,0,0,0,987,988,1,0,0,0,988,989,1,0,0,0,989,990,5,128,0,0,990, - 991,5,146,0,0,991,992,3,150,75,0,992,993,5,120,0,0,993,995,1,0,0,0,994, - 966,1,0,0,0,994,977,1,0,0,0,995,115,1,0,0,0,996,997,3,150,75,0,997,998, - 5,118,0,0,998,999,3,156,78,0,999,1008,1,0,0,0,1000,1001,3,150,75,0,1001, - 1002,5,118,0,0,1002,1003,5,124,0,0,1003,1004,3,106,53,0,1004,1005,5,142, - 0,0,1005,1008,1,0,0,0,1006,1008,3,150,75,0,1007,996,1,0,0,0,1007,1000, - 1,0,0,0,1007,1006,1,0,0,0,1008,117,1,0,0,0,1009,1014,3,120,60,0,1010, - 1011,5,112,0,0,1011,1013,3,120,60,0,1012,1010,1,0,0,0,1013,1016,1,0,0, - 0,1014,1012,1,0,0,0,1014,1015,1,0,0,0,1015,119,1,0,0,0,1016,1014,1,0, - 0,0,1017,1018,3,150,75,0,1018,1019,5,6,0,0,1019,1020,5,126,0,0,1020,1021, - 3,34,17,0,1021,1022,5,144,0,0,1022,1028,1,0,0,0,1023,1024,3,106,53,0, - 1024,1025,5,6,0,0,1025,1026,3,150,75,0,1026,1028,1,0,0,0,1027,1017,1, - 0,0,0,1027,1023,1,0,0,0,1028,121,1,0,0,0,1029,1037,3,154,77,0,1030,1031, - 3,130,65,0,1031,1032,5,116,0,0,1032,1034,1,0,0,0,1033,1030,1,0,0,0,1033, - 1034,1,0,0,0,1034,1035,1,0,0,0,1035,1037,3,124,62,0,1036,1029,1,0,0,0, - 1036,1033,1,0,0,0,1037,123,1,0,0,0,1038,1043,3,150,75,0,1039,1040,5,116, - 0,0,1040,1042,3,150,75,0,1041,1039,1,0,0,0,1042,1045,1,0,0,0,1043,1041, - 1,0,0,0,1043,1044,1,0,0,0,1044,125,1,0,0,0,1045,1043,1,0,0,0,1046,1047, - 6,63,-1,0,1047,1056,3,130,65,0,1048,1056,3,128,64,0,1049,1050,5,126,0, - 0,1050,1051,3,34,17,0,1051,1052,5,144,0,0,1052,1056,1,0,0,0,1053,1056, - 3,114,57,0,1054,1056,3,154,77,0,1055,1046,1,0,0,0,1055,1048,1,0,0,0,1055, - 1049,1,0,0,0,1055,1053,1,0,0,0,1055,1054,1,0,0,0,1056,1065,1,0,0,0,1057, - 1061,10,3,0,0,1058,1062,3,148,74,0,1059,1060,5,6,0,0,1060,1062,3,150, - 75,0,1061,1058,1,0,0,0,1061,1059,1,0,0,0,1062,1064,1,0,0,0,1063,1057, - 1,0,0,0,1064,1067,1,0,0,0,1065,1063,1,0,0,0,1065,1066,1,0,0,0,1066,127, - 1,0,0,0,1067,1065,1,0,0,0,1068,1069,3,150,75,0,1069,1071,5,126,0,0,1070, - 1072,3,132,66,0,1071,1070,1,0,0,0,1071,1072,1,0,0,0,1072,1073,1,0,0,0, - 1073,1074,5,144,0,0,1074,129,1,0,0,0,1075,1076,3,134,67,0,1076,1077,5, - 116,0,0,1077,1079,1,0,0,0,1078,1075,1,0,0,0,1078,1079,1,0,0,0,1079,1080, - 1,0,0,0,1080,1081,3,150,75,0,1081,131,1,0,0,0,1082,1087,3,106,53,0,1083, - 1084,5,112,0,0,1084,1086,3,106,53,0,1085,1083,1,0,0,0,1086,1089,1,0,0, - 0,1087,1085,1,0,0,0,1087,1088,1,0,0,0,1088,133,1,0,0,0,1089,1087,1,0, - 0,0,1090,1091,3,150,75,0,1091,135,1,0,0,0,1092,1101,5,102,0,0,1093,1094, - 5,116,0,0,1094,1101,7,11,0,0,1095,1096,5,104,0,0,1096,1098,5,116,0,0, - 1097,1099,7,11,0,0,1098,1097,1,0,0,0,1098,1099,1,0,0,0,1099,1101,1,0, - 0,0,1100,1092,1,0,0,0,1100,1093,1,0,0,0,1100,1095,1,0,0,0,1101,137,1, - 0,0,0,1102,1104,7,12,0,0,1103,1102,1,0,0,0,1103,1104,1,0,0,0,1104,1111, - 1,0,0,0,1105,1112,3,136,68,0,1106,1112,5,103,0,0,1107,1112,5,104,0,0, - 1108,1112,5,105,0,0,1109,1112,5,41,0,0,1110,1112,5,55,0,0,1111,1105,1, - 0,0,0,1111,1106,1,0,0,0,1111,1107,1,0,0,0,1111,1108,1,0,0,0,1111,1109, - 1,0,0,0,1111,1110,1,0,0,0,1112,139,1,0,0,0,1113,1117,3,138,69,0,1114, - 1117,5,106,0,0,1115,1117,5,57,0,0,1116,1113,1,0,0,0,1116,1114,1,0,0,0, - 1116,1115,1,0,0,0,1117,141,1,0,0,0,1118,1119,7,13,0,0,1119,143,1,0,0, - 0,1120,1121,7,14,0,0,1121,145,1,0,0,0,1122,1123,7,15,0,0,1123,147,1,0, - 0,0,1124,1127,5,101,0,0,1125,1127,3,146,73,0,1126,1124,1,0,0,0,1126,1125, - 1,0,0,0,1127,149,1,0,0,0,1128,1132,5,101,0,0,1129,1132,3,142,71,0,1130, - 1132,3,144,72,0,1131,1128,1,0,0,0,1131,1129,1,0,0,0,1131,1130,1,0,0,0, - 1132,151,1,0,0,0,1133,1134,3,156,78,0,1134,1135,5,118,0,0,1135,1136,3, - 138,69,0,1136,153,1,0,0,0,1137,1138,5,124,0,0,1138,1139,3,150,75,0,1139, - 1140,5,142,0,0,1140,155,1,0,0,0,1141,1144,5,106,0,0,1142,1144,3,158,79, - 0,1143,1141,1,0,0,0,1143,1142,1,0,0,0,1144,157,1,0,0,0,1145,1149,5,137, - 0,0,1146,1148,3,160,80,0,1147,1146,1,0,0,0,1148,1151,1,0,0,0,1149,1147, - 1,0,0,0,1149,1150,1,0,0,0,1150,1152,1,0,0,0,1151,1149,1,0,0,0,1152,1153, - 5,139,0,0,1153,159,1,0,0,0,1154,1155,5,152,0,0,1155,1156,3,106,53,0,1156, - 1157,5,142,0,0,1157,1160,1,0,0,0,1158,1160,5,151,0,0,1159,1154,1,0,0, - 0,1159,1158,1,0,0,0,1160,161,1,0,0,0,1161,1165,5,138,0,0,1162,1164,3, - 164,82,0,1163,1162,1,0,0,0,1164,1167,1,0,0,0,1165,1163,1,0,0,0,1165,1166, - 1,0,0,0,1166,1168,1,0,0,0,1167,1165,1,0,0,0,1168,1169,5,0,0,1,1169,163, - 1,0,0,0,1170,1171,5,154,0,0,1171,1172,3,106,53,0,1172,1173,5,142,0,0, - 1173,1176,1,0,0,0,1174,1176,5,153,0,0,1175,1170,1,0,0,0,1175,1174,1,0, - 0,0,1176,165,1,0,0,0,141,169,176,185,200,212,224,240,251,265,271,281, - 290,293,297,300,304,307,310,313,316,320,324,327,330,333,337,340,349,355, - 376,393,410,416,422,433,435,446,449,455,463,469,471,475,480,483,486,490, - 494,497,499,502,506,510,513,515,517,522,533,539,546,551,555,559,565,567, - 574,582,585,588,607,621,637,649,661,669,673,680,686,695,699,723,740,746, - 749,752,762,768,771,774,782,785,789,792,806,823,828,832,838,845,857,861, - 864,873,887,914,923,925,927,935,940,948,958,961,971,982,987,994,1007, - 1014,1027,1033,1036,1043,1055,1061,1065,1071,1078,1087,1098,1100,1103, - 1111,1116,1126,1131,1143,1149,1159,1165,1175 + 3,4,2,0,185,182,1,0,0,0,185,186,1,0,0,0,186,7,1,0,0,0,187,192,3,150,75, + 0,188,189,5,112,0,0,189,191,3,150,75,0,190,188,1,0,0,0,191,194,1,0,0, + 0,192,190,1,0,0,0,192,193,1,0,0,0,193,9,1,0,0,0,194,192,1,0,0,0,195,204, + 3,12,6,0,196,204,3,14,7,0,197,204,3,16,8,0,198,204,3,18,9,0,199,204,3, + 20,10,0,200,204,3,22,11,0,201,204,3,24,12,0,202,204,3,26,13,0,203,195, + 1,0,0,0,203,196,1,0,0,0,203,197,1,0,0,0,203,198,1,0,0,0,203,199,1,0,0, + 0,203,200,1,0,0,0,203,201,1,0,0,0,203,202,1,0,0,0,204,11,1,0,0,0,205, + 207,5,70,0,0,206,208,3,4,2,0,207,206,1,0,0,0,207,208,1,0,0,0,208,210, + 1,0,0,0,209,211,5,145,0,0,210,209,1,0,0,0,210,211,1,0,0,0,211,13,1,0, + 0,0,212,213,5,38,0,0,213,214,5,126,0,0,214,215,3,4,2,0,215,216,5,144, + 0,0,216,219,3,10,5,0,217,218,5,24,0,0,218,220,3,10,5,0,219,217,1,0,0, + 0,219,220,1,0,0,0,220,15,1,0,0,0,221,222,5,96,0,0,222,223,5,126,0,0,223, + 224,3,4,2,0,224,225,5,144,0,0,225,227,3,10,5,0,226,228,5,145,0,0,227, + 226,1,0,0,0,227,228,1,0,0,0,228,17,1,0,0,0,229,230,5,29,0,0,230,231,3, + 150,75,0,231,233,5,126,0,0,232,234,3,8,4,0,233,232,1,0,0,0,233,234,1, + 0,0,0,234,235,1,0,0,0,235,236,5,144,0,0,236,237,3,26,13,0,237,19,1,0, + 0,0,238,239,3,4,2,0,239,240,5,111,0,0,240,241,5,118,0,0,241,242,3,4,2, + 0,242,21,1,0,0,0,243,245,3,4,2,0,244,246,5,145,0,0,245,244,1,0,0,0,245, + 246,1,0,0,0,246,23,1,0,0,0,247,248,5,145,0,0,248,25,1,0,0,0,249,253,5, + 124,0,0,250,252,3,2,1,0,251,250,1,0,0,0,252,255,1,0,0,0,253,251,1,0,0, + 0,253,254,1,0,0,0,254,256,1,0,0,0,255,253,1,0,0,0,256,257,5,142,0,0,257, + 27,1,0,0,0,258,259,3,4,2,0,259,260,5,111,0,0,260,261,3,4,2,0,261,29,1, + 0,0,0,262,267,3,28,14,0,263,264,5,112,0,0,264,266,3,28,14,0,265,263,1, + 0,0,0,266,269,1,0,0,0,267,265,1,0,0,0,267,268,1,0,0,0,268,31,1,0,0,0, + 269,267,1,0,0,0,270,274,3,34,17,0,271,274,3,38,19,0,272,274,3,114,57, + 0,273,270,1,0,0,0,273,271,1,0,0,0,273,272,1,0,0,0,274,275,1,0,0,0,275, + 276,5,0,0,1,276,33,1,0,0,0,277,283,3,36,18,0,278,279,5,91,0,0,279,280, + 5,1,0,0,280,282,3,36,18,0,281,278,1,0,0,0,282,285,1,0,0,0,283,281,1,0, + 0,0,283,284,1,0,0,0,284,35,1,0,0,0,285,283,1,0,0,0,286,293,3,38,19,0, + 287,288,5,126,0,0,288,289,3,34,17,0,289,290,5,144,0,0,290,293,1,0,0,0, + 291,293,3,154,77,0,292,286,1,0,0,0,292,287,1,0,0,0,292,291,1,0,0,0,293, + 37,1,0,0,0,294,296,3,40,20,0,295,294,1,0,0,0,295,296,1,0,0,0,296,297, + 1,0,0,0,297,299,5,77,0,0,298,300,5,23,0,0,299,298,1,0,0,0,299,300,1,0, + 0,0,300,302,1,0,0,0,301,303,3,42,21,0,302,301,1,0,0,0,302,303,1,0,0,0, + 303,304,1,0,0,0,304,306,3,104,52,0,305,307,3,44,22,0,306,305,1,0,0,0, + 306,307,1,0,0,0,307,309,1,0,0,0,308,310,3,46,23,0,309,308,1,0,0,0,309, + 310,1,0,0,0,310,312,1,0,0,0,311,313,3,50,25,0,312,311,1,0,0,0,312,313, + 1,0,0,0,313,315,1,0,0,0,314,316,3,52,26,0,315,314,1,0,0,0,315,316,1,0, + 0,0,316,318,1,0,0,0,317,319,3,54,27,0,318,317,1,0,0,0,318,319,1,0,0,0, + 319,322,1,0,0,0,320,321,5,98,0,0,321,323,7,0,0,0,322,320,1,0,0,0,322, + 323,1,0,0,0,323,326,1,0,0,0,324,325,5,98,0,0,325,327,5,86,0,0,326,324, + 1,0,0,0,326,327,1,0,0,0,327,329,1,0,0,0,328,330,3,56,28,0,329,328,1,0, + 0,0,329,330,1,0,0,0,330,332,1,0,0,0,331,333,3,48,24,0,332,331,1,0,0,0, + 332,333,1,0,0,0,333,335,1,0,0,0,334,336,3,58,29,0,335,334,1,0,0,0,335, + 336,1,0,0,0,336,339,1,0,0,0,337,340,3,62,31,0,338,340,3,64,32,0,339,337, + 1,0,0,0,339,338,1,0,0,0,339,340,1,0,0,0,340,342,1,0,0,0,341,343,3,66, + 33,0,342,341,1,0,0,0,342,343,1,0,0,0,343,39,1,0,0,0,344,345,5,98,0,0, + 345,346,3,118,59,0,346,41,1,0,0,0,347,348,5,85,0,0,348,351,5,104,0,0, + 349,350,5,98,0,0,350,352,5,82,0,0,351,349,1,0,0,0,351,352,1,0,0,0,352, + 43,1,0,0,0,353,354,5,32,0,0,354,355,3,68,34,0,355,45,1,0,0,0,356,358, + 7,1,0,0,357,356,1,0,0,0,357,358,1,0,0,0,358,359,1,0,0,0,359,360,5,5,0, + 0,360,361,5,45,0,0,361,362,3,104,52,0,362,47,1,0,0,0,363,364,5,97,0,0, + 364,365,3,150,75,0,365,366,5,6,0,0,366,367,5,126,0,0,367,368,3,88,44, + 0,368,378,5,144,0,0,369,370,5,112,0,0,370,371,3,150,75,0,371,372,5,6, + 0,0,372,373,5,126,0,0,373,374,3,88,44,0,374,375,5,144,0,0,375,377,1,0, + 0,0,376,369,1,0,0,0,377,380,1,0,0,0,378,376,1,0,0,0,378,379,1,0,0,0,379, + 49,1,0,0,0,380,378,1,0,0,0,381,382,5,67,0,0,382,383,3,106,53,0,383,51, + 1,0,0,0,384,385,5,95,0,0,385,386,3,106,53,0,386,53,1,0,0,0,387,388,5, + 34,0,0,388,395,5,11,0,0,389,390,7,0,0,0,390,391,5,126,0,0,391,392,3,104, + 52,0,392,393,5,144,0,0,393,396,1,0,0,0,394,396,3,104,52,0,395,389,1,0, + 0,0,395,394,1,0,0,0,396,55,1,0,0,0,397,398,5,35,0,0,398,399,3,106,53, + 0,399,57,1,0,0,0,400,401,5,62,0,0,401,402,5,11,0,0,402,403,3,78,39,0, + 403,59,1,0,0,0,404,405,5,62,0,0,405,406,5,11,0,0,406,407,3,104,52,0,407, + 61,1,0,0,0,408,409,5,52,0,0,409,412,3,106,53,0,410,411,5,112,0,0,411, + 413,3,106,53,0,412,410,1,0,0,0,412,413,1,0,0,0,413,418,1,0,0,0,414,415, + 5,98,0,0,415,419,5,82,0,0,416,417,5,11,0,0,417,419,3,104,52,0,418,414, + 1,0,0,0,418,416,1,0,0,0,418,419,1,0,0,0,419,438,1,0,0,0,420,421,5,52, + 0,0,421,424,3,106,53,0,422,423,5,98,0,0,423,425,5,82,0,0,424,422,1,0, + 0,0,424,425,1,0,0,0,425,426,1,0,0,0,426,427,5,59,0,0,427,428,3,106,53, + 0,428,438,1,0,0,0,429,430,5,52,0,0,430,431,3,106,53,0,431,432,5,59,0, + 0,432,435,3,106,53,0,433,434,5,11,0,0,434,436,3,104,52,0,435,433,1,0, + 0,0,435,436,1,0,0,0,436,438,1,0,0,0,437,408,1,0,0,0,437,420,1,0,0,0,437, + 429,1,0,0,0,438,63,1,0,0,0,439,440,5,59,0,0,440,441,3,106,53,0,441,65, + 1,0,0,0,442,443,5,79,0,0,443,444,3,84,42,0,444,67,1,0,0,0,445,446,6,34, + -1,0,446,448,3,126,63,0,447,449,5,27,0,0,448,447,1,0,0,0,448,449,1,0, + 0,0,449,451,1,0,0,0,450,452,3,76,38,0,451,450,1,0,0,0,451,452,1,0,0,0, + 452,458,1,0,0,0,453,454,5,126,0,0,454,455,3,68,34,0,455,456,5,144,0,0, + 456,458,1,0,0,0,457,445,1,0,0,0,457,453,1,0,0,0,458,473,1,0,0,0,459,460, + 10,3,0,0,460,461,3,72,36,0,461,462,3,68,34,4,462,472,1,0,0,0,463,465, + 10,4,0,0,464,466,3,70,35,0,465,464,1,0,0,0,465,466,1,0,0,0,466,467,1, + 0,0,0,467,468,5,45,0,0,468,469,3,68,34,0,469,470,3,74,37,0,470,472,1, + 0,0,0,471,459,1,0,0,0,471,463,1,0,0,0,472,475,1,0,0,0,473,471,1,0,0,0, + 473,474,1,0,0,0,474,69,1,0,0,0,475,473,1,0,0,0,476,478,7,2,0,0,477,476, + 1,0,0,0,477,478,1,0,0,0,478,479,1,0,0,0,479,486,5,42,0,0,480,482,5,42, + 0,0,481,483,7,2,0,0,482,481,1,0,0,0,482,483,1,0,0,0,483,486,1,0,0,0,484, + 486,7,2,0,0,485,477,1,0,0,0,485,480,1,0,0,0,485,484,1,0,0,0,486,520,1, + 0,0,0,487,489,7,3,0,0,488,487,1,0,0,0,488,489,1,0,0,0,489,490,1,0,0,0, + 490,492,7,4,0,0,491,493,5,63,0,0,492,491,1,0,0,0,492,493,1,0,0,0,493, + 502,1,0,0,0,494,496,7,4,0,0,495,497,5,63,0,0,496,495,1,0,0,0,496,497, + 1,0,0,0,497,499,1,0,0,0,498,500,7,3,0,0,499,498,1,0,0,0,499,500,1,0,0, + 0,500,502,1,0,0,0,501,488,1,0,0,0,501,494,1,0,0,0,502,520,1,0,0,0,503, + 505,7,5,0,0,504,503,1,0,0,0,504,505,1,0,0,0,505,506,1,0,0,0,506,508,5, + 33,0,0,507,509,5,63,0,0,508,507,1,0,0,0,508,509,1,0,0,0,509,518,1,0,0, + 0,510,512,5,33,0,0,511,513,5,63,0,0,512,511,1,0,0,0,512,513,1,0,0,0,513, + 515,1,0,0,0,514,516,7,5,0,0,515,514,1,0,0,0,515,516,1,0,0,0,516,518,1, + 0,0,0,517,504,1,0,0,0,517,510,1,0,0,0,518,520,1,0,0,0,519,485,1,0,0,0, + 519,501,1,0,0,0,519,517,1,0,0,0,520,71,1,0,0,0,521,522,5,16,0,0,522,525, + 5,45,0,0,523,525,5,112,0,0,524,521,1,0,0,0,524,523,1,0,0,0,525,73,1,0, + 0,0,526,527,5,60,0,0,527,536,3,104,52,0,528,529,5,92,0,0,529,530,5,126, + 0,0,530,531,3,104,52,0,531,532,5,144,0,0,532,536,1,0,0,0,533,534,5,92, + 0,0,534,536,3,104,52,0,535,526,1,0,0,0,535,528,1,0,0,0,535,533,1,0,0, + 0,536,75,1,0,0,0,537,538,5,75,0,0,538,541,3,82,41,0,539,540,5,59,0,0, + 540,542,3,82,41,0,541,539,1,0,0,0,541,542,1,0,0,0,542,77,1,0,0,0,543, + 548,3,80,40,0,544,545,5,112,0,0,545,547,3,80,40,0,546,544,1,0,0,0,547, + 550,1,0,0,0,548,546,1,0,0,0,548,549,1,0,0,0,549,79,1,0,0,0,550,548,1, + 0,0,0,551,553,3,106,53,0,552,554,7,6,0,0,553,552,1,0,0,0,553,554,1,0, + 0,0,554,557,1,0,0,0,555,556,5,58,0,0,556,558,7,7,0,0,557,555,1,0,0,0, + 557,558,1,0,0,0,558,561,1,0,0,0,559,560,5,15,0,0,560,562,5,106,0,0,561, + 559,1,0,0,0,561,562,1,0,0,0,562,81,1,0,0,0,563,570,3,154,77,0,564,567, + 3,138,69,0,565,566,5,146,0,0,566,568,3,138,69,0,567,565,1,0,0,0,567,568, + 1,0,0,0,568,570,1,0,0,0,569,563,1,0,0,0,569,564,1,0,0,0,570,83,1,0,0, + 0,571,576,3,86,43,0,572,573,5,112,0,0,573,575,3,86,43,0,574,572,1,0,0, + 0,575,578,1,0,0,0,576,574,1,0,0,0,576,577,1,0,0,0,577,85,1,0,0,0,578, + 576,1,0,0,0,579,580,3,150,75,0,580,581,5,118,0,0,581,582,3,140,70,0,582, + 87,1,0,0,0,583,585,3,90,45,0,584,583,1,0,0,0,584,585,1,0,0,0,585,587, + 1,0,0,0,586,588,3,92,46,0,587,586,1,0,0,0,587,588,1,0,0,0,588,590,1,0, + 0,0,589,591,3,94,47,0,590,589,1,0,0,0,590,591,1,0,0,0,591,89,1,0,0,0, + 592,593,5,65,0,0,593,594,5,11,0,0,594,595,3,104,52,0,595,91,1,0,0,0,596, + 597,5,62,0,0,597,598,5,11,0,0,598,599,3,78,39,0,599,93,1,0,0,0,600,601, + 7,8,0,0,601,602,3,96,48,0,602,95,1,0,0,0,603,610,3,98,49,0,604,605,5, + 9,0,0,605,606,3,98,49,0,606,607,5,2,0,0,607,608,3,98,49,0,608,610,1,0, + 0,0,609,603,1,0,0,0,609,604,1,0,0,0,610,97,1,0,0,0,611,612,5,18,0,0,612, + 624,5,73,0,0,613,614,5,90,0,0,614,624,5,66,0,0,615,616,5,90,0,0,616,624, + 5,30,0,0,617,618,3,138,69,0,618,619,5,66,0,0,619,624,1,0,0,0,620,621, + 3,138,69,0,621,622,5,30,0,0,622,624,1,0,0,0,623,611,1,0,0,0,623,613,1, + 0,0,0,623,615,1,0,0,0,623,617,1,0,0,0,623,620,1,0,0,0,624,99,1,0,0,0, + 625,626,3,106,53,0,626,627,5,0,0,1,627,101,1,0,0,0,628,676,3,150,75,0, + 629,630,3,150,75,0,630,631,5,126,0,0,631,632,3,150,75,0,632,639,3,102, + 51,0,633,634,5,112,0,0,634,635,3,150,75,0,635,636,3,102,51,0,636,638, + 1,0,0,0,637,633,1,0,0,0,638,641,1,0,0,0,639,637,1,0,0,0,639,640,1,0,0, + 0,640,642,1,0,0,0,641,639,1,0,0,0,642,643,5,144,0,0,643,676,1,0,0,0,644, + 645,3,150,75,0,645,646,5,126,0,0,646,651,3,152,76,0,647,648,5,112,0,0, + 648,650,3,152,76,0,649,647,1,0,0,0,650,653,1,0,0,0,651,649,1,0,0,0,651, + 652,1,0,0,0,652,654,1,0,0,0,653,651,1,0,0,0,654,655,5,144,0,0,655,676, + 1,0,0,0,656,657,3,150,75,0,657,658,5,126,0,0,658,663,3,102,51,0,659,660, + 5,112,0,0,660,662,3,102,51,0,661,659,1,0,0,0,662,665,1,0,0,0,663,661, + 1,0,0,0,663,664,1,0,0,0,664,666,1,0,0,0,665,663,1,0,0,0,666,667,5,144, + 0,0,667,676,1,0,0,0,668,669,3,150,75,0,669,671,5,126,0,0,670,672,3,104, + 52,0,671,670,1,0,0,0,671,672,1,0,0,0,672,673,1,0,0,0,673,674,5,144,0, + 0,674,676,1,0,0,0,675,628,1,0,0,0,675,629,1,0,0,0,675,644,1,0,0,0,675, + 656,1,0,0,0,675,668,1,0,0,0,676,103,1,0,0,0,677,682,3,106,53,0,678,679, + 5,112,0,0,679,681,3,106,53,0,680,678,1,0,0,0,681,684,1,0,0,0,682,680, + 1,0,0,0,682,683,1,0,0,0,683,105,1,0,0,0,684,682,1,0,0,0,685,686,6,53, + -1,0,686,688,5,12,0,0,687,689,3,106,53,0,688,687,1,0,0,0,688,689,1,0, + 0,0,689,695,1,0,0,0,690,691,5,94,0,0,691,692,3,106,53,0,692,693,5,81, + 0,0,693,694,3,106,53,0,694,696,1,0,0,0,695,690,1,0,0,0,696,697,1,0,0, + 0,697,695,1,0,0,0,697,698,1,0,0,0,698,701,1,0,0,0,699,700,5,24,0,0,700, + 702,3,106,53,0,701,699,1,0,0,0,701,702,1,0,0,0,702,703,1,0,0,0,703,704, + 5,25,0,0,704,835,1,0,0,0,705,706,5,13,0,0,706,707,5,126,0,0,707,708,3, + 106,53,0,708,709,5,6,0,0,709,710,3,102,51,0,710,711,5,144,0,0,711,835, + 1,0,0,0,712,713,5,19,0,0,713,835,5,106,0,0,714,715,5,43,0,0,715,716,3, + 106,53,0,716,717,3,142,71,0,717,835,1,0,0,0,718,719,5,80,0,0,719,720, + 5,126,0,0,720,721,3,106,53,0,721,722,5,32,0,0,722,725,3,106,53,0,723, + 724,5,31,0,0,724,726,3,106,53,0,725,723,1,0,0,0,725,726,1,0,0,0,726,727, + 1,0,0,0,727,728,5,144,0,0,728,835,1,0,0,0,729,730,5,83,0,0,730,835,5, + 106,0,0,731,732,5,88,0,0,732,733,5,126,0,0,733,734,7,9,0,0,734,735,3, + 156,78,0,735,736,5,32,0,0,736,737,3,106,53,0,737,738,5,144,0,0,738,835, + 1,0,0,0,739,740,3,150,75,0,740,742,5,126,0,0,741,743,3,104,52,0,742,741, + 1,0,0,0,742,743,1,0,0,0,743,744,1,0,0,0,744,745,5,144,0,0,745,754,1,0, + 0,0,746,748,5,126,0,0,747,749,5,23,0,0,748,747,1,0,0,0,748,749,1,0,0, + 0,749,751,1,0,0,0,750,752,3,108,54,0,751,750,1,0,0,0,751,752,1,0,0,0, + 752,753,1,0,0,0,753,755,5,144,0,0,754,746,1,0,0,0,754,755,1,0,0,0,755, + 756,1,0,0,0,756,757,5,64,0,0,757,758,5,126,0,0,758,759,3,88,44,0,759, + 760,5,144,0,0,760,835,1,0,0,0,761,762,3,150,75,0,762,764,5,126,0,0,763, + 765,3,104,52,0,764,763,1,0,0,0,764,765,1,0,0,0,765,766,1,0,0,0,766,767, + 5,144,0,0,767,776,1,0,0,0,768,770,5,126,0,0,769,771,5,23,0,0,770,769, + 1,0,0,0,770,771,1,0,0,0,771,773,1,0,0,0,772,774,3,108,54,0,773,772,1, + 0,0,0,773,774,1,0,0,0,774,775,1,0,0,0,775,777,5,144,0,0,776,768,1,0,0, + 0,776,777,1,0,0,0,777,778,1,0,0,0,778,779,5,64,0,0,779,780,3,150,75,0, + 780,835,1,0,0,0,781,787,3,150,75,0,782,784,5,126,0,0,783,785,3,104,52, + 0,784,783,1,0,0,0,784,785,1,0,0,0,785,786,1,0,0,0,786,788,5,144,0,0,787, + 782,1,0,0,0,787,788,1,0,0,0,788,789,1,0,0,0,789,791,5,126,0,0,790,792, + 5,23,0,0,791,790,1,0,0,0,791,792,1,0,0,0,792,794,1,0,0,0,793,795,3,108, + 54,0,794,793,1,0,0,0,794,795,1,0,0,0,795,796,1,0,0,0,796,797,5,144,0, + 0,797,835,1,0,0,0,798,835,3,114,57,0,799,835,3,158,79,0,800,835,3,140, + 70,0,801,802,5,114,0,0,802,835,3,106,53,19,803,804,5,56,0,0,804,835,3, + 106,53,13,805,806,3,130,65,0,806,807,5,116,0,0,807,809,1,0,0,0,808,805, + 1,0,0,0,808,809,1,0,0,0,809,810,1,0,0,0,810,835,5,108,0,0,811,812,5,126, + 0,0,812,813,3,34,17,0,813,814,5,144,0,0,814,835,1,0,0,0,815,816,5,126, + 0,0,816,817,3,106,53,0,817,818,5,144,0,0,818,835,1,0,0,0,819,820,5,126, + 0,0,820,821,3,104,52,0,821,822,5,144,0,0,822,835,1,0,0,0,823,825,5,125, + 0,0,824,826,3,104,52,0,825,824,1,0,0,0,825,826,1,0,0,0,826,827,1,0,0, + 0,827,835,5,143,0,0,828,830,5,124,0,0,829,831,3,30,15,0,830,829,1,0,0, + 0,830,831,1,0,0,0,831,832,1,0,0,0,832,835,5,142,0,0,833,835,3,122,61, + 0,834,685,1,0,0,0,834,705,1,0,0,0,834,712,1,0,0,0,834,714,1,0,0,0,834, + 718,1,0,0,0,834,729,1,0,0,0,834,731,1,0,0,0,834,739,1,0,0,0,834,761,1, + 0,0,0,834,781,1,0,0,0,834,798,1,0,0,0,834,799,1,0,0,0,834,800,1,0,0,0, + 834,801,1,0,0,0,834,803,1,0,0,0,834,808,1,0,0,0,834,811,1,0,0,0,834,815, + 1,0,0,0,834,819,1,0,0,0,834,823,1,0,0,0,834,828,1,0,0,0,834,833,1,0,0, + 0,835,928,1,0,0,0,836,840,10,18,0,0,837,841,5,108,0,0,838,841,5,146,0, + 0,839,841,5,133,0,0,840,837,1,0,0,0,840,838,1,0,0,0,840,839,1,0,0,0,841, + 842,1,0,0,0,842,927,3,106,53,19,843,847,10,17,0,0,844,848,5,134,0,0,845, + 848,5,114,0,0,846,848,5,113,0,0,847,844,1,0,0,0,847,845,1,0,0,0,847,846, + 1,0,0,0,848,849,1,0,0,0,849,927,3,106,53,18,850,875,10,16,0,0,851,876, + 5,117,0,0,852,876,5,118,0,0,853,876,5,129,0,0,854,876,5,127,0,0,855,876, + 5,128,0,0,856,876,5,119,0,0,857,876,5,120,0,0,858,860,5,56,0,0,859,858, + 1,0,0,0,859,860,1,0,0,0,860,861,1,0,0,0,861,863,5,40,0,0,862,864,5,14, + 0,0,863,862,1,0,0,0,863,864,1,0,0,0,864,876,1,0,0,0,865,867,5,56,0,0, + 866,865,1,0,0,0,866,867,1,0,0,0,867,868,1,0,0,0,868,876,7,10,0,0,869, + 876,5,140,0,0,870,876,5,141,0,0,871,876,5,131,0,0,872,876,5,122,0,0,873, + 876,5,123,0,0,874,876,5,130,0,0,875,851,1,0,0,0,875,852,1,0,0,0,875,853, + 1,0,0,0,875,854,1,0,0,0,875,855,1,0,0,0,875,856,1,0,0,0,875,857,1,0,0, + 0,875,859,1,0,0,0,875,866,1,0,0,0,875,869,1,0,0,0,875,870,1,0,0,0,875, + 871,1,0,0,0,875,872,1,0,0,0,875,873,1,0,0,0,875,874,1,0,0,0,876,877,1, + 0,0,0,877,927,3,106,53,17,878,879,10,14,0,0,879,880,5,132,0,0,880,927, + 3,106,53,15,881,882,10,12,0,0,882,883,5,2,0,0,883,927,3,106,53,13,884, + 885,10,11,0,0,885,886,5,61,0,0,886,927,3,106,53,12,887,889,10,10,0,0, + 888,890,5,56,0,0,889,888,1,0,0,0,889,890,1,0,0,0,890,891,1,0,0,0,891, + 892,5,9,0,0,892,893,3,106,53,0,893,894,5,2,0,0,894,895,3,106,53,11,895, + 927,1,0,0,0,896,897,10,9,0,0,897,898,5,135,0,0,898,899,3,106,53,0,899, + 900,5,111,0,0,900,901,3,106,53,9,901,927,1,0,0,0,902,903,10,22,0,0,903, + 904,5,125,0,0,904,905,3,106,53,0,905,906,5,143,0,0,906,927,1,0,0,0,907, + 908,10,21,0,0,908,909,5,116,0,0,909,927,5,104,0,0,910,911,10,20,0,0,911, + 912,5,116,0,0,912,927,3,150,75,0,913,914,10,15,0,0,914,916,5,44,0,0,915, + 917,5,56,0,0,916,915,1,0,0,0,916,917,1,0,0,0,917,918,1,0,0,0,918,927, + 5,57,0,0,919,924,10,8,0,0,920,921,5,6,0,0,921,925,3,150,75,0,922,923, + 5,6,0,0,923,925,5,106,0,0,924,920,1,0,0,0,924,922,1,0,0,0,925,927,1,0, + 0,0,926,836,1,0,0,0,926,843,1,0,0,0,926,850,1,0,0,0,926,878,1,0,0,0,926, + 881,1,0,0,0,926,884,1,0,0,0,926,887,1,0,0,0,926,896,1,0,0,0,926,902,1, + 0,0,0,926,907,1,0,0,0,926,910,1,0,0,0,926,913,1,0,0,0,926,919,1,0,0,0, + 927,930,1,0,0,0,928,926,1,0,0,0,928,929,1,0,0,0,929,107,1,0,0,0,930,928, + 1,0,0,0,931,936,3,110,55,0,932,933,5,112,0,0,933,935,3,110,55,0,934,932, + 1,0,0,0,935,938,1,0,0,0,936,934,1,0,0,0,936,937,1,0,0,0,937,109,1,0,0, + 0,938,936,1,0,0,0,939,942,3,112,56,0,940,942,3,106,53,0,941,939,1,0,0, + 0,941,940,1,0,0,0,942,111,1,0,0,0,943,944,5,126,0,0,944,949,3,150,75, + 0,945,946,5,112,0,0,946,948,3,150,75,0,947,945,1,0,0,0,948,951,1,0,0, + 0,949,947,1,0,0,0,949,950,1,0,0,0,950,952,1,0,0,0,951,949,1,0,0,0,952, + 953,5,144,0,0,953,963,1,0,0,0,954,959,3,150,75,0,955,956,5,112,0,0,956, + 958,3,150,75,0,957,955,1,0,0,0,958,961,1,0,0,0,959,957,1,0,0,0,959,960, + 1,0,0,0,960,963,1,0,0,0,961,959,1,0,0,0,962,943,1,0,0,0,962,954,1,0,0, + 0,963,964,1,0,0,0,964,965,5,107,0,0,965,966,3,106,53,0,966,113,1,0,0, + 0,967,968,5,128,0,0,968,972,3,150,75,0,969,971,3,116,58,0,970,969,1,0, + 0,0,971,974,1,0,0,0,972,970,1,0,0,0,972,973,1,0,0,0,973,975,1,0,0,0,974, + 972,1,0,0,0,975,976,5,146,0,0,976,977,5,120,0,0,977,996,1,0,0,0,978,979, + 5,128,0,0,979,983,3,150,75,0,980,982,3,116,58,0,981,980,1,0,0,0,982,985, + 1,0,0,0,983,981,1,0,0,0,983,984,1,0,0,0,984,986,1,0,0,0,985,983,1,0,0, + 0,986,988,5,120,0,0,987,989,3,114,57,0,988,987,1,0,0,0,988,989,1,0,0, + 0,989,990,1,0,0,0,990,991,5,128,0,0,991,992,5,146,0,0,992,993,3,150,75, + 0,993,994,5,120,0,0,994,996,1,0,0,0,995,967,1,0,0,0,995,978,1,0,0,0,996, + 115,1,0,0,0,997,998,3,150,75,0,998,999,5,118,0,0,999,1000,3,156,78,0, + 1000,1009,1,0,0,0,1001,1002,3,150,75,0,1002,1003,5,118,0,0,1003,1004, + 5,124,0,0,1004,1005,3,106,53,0,1005,1006,5,142,0,0,1006,1009,1,0,0,0, + 1007,1009,3,150,75,0,1008,997,1,0,0,0,1008,1001,1,0,0,0,1008,1007,1,0, + 0,0,1009,117,1,0,0,0,1010,1015,3,120,60,0,1011,1012,5,112,0,0,1012,1014, + 3,120,60,0,1013,1011,1,0,0,0,1014,1017,1,0,0,0,1015,1013,1,0,0,0,1015, + 1016,1,0,0,0,1016,119,1,0,0,0,1017,1015,1,0,0,0,1018,1019,3,150,75,0, + 1019,1020,5,6,0,0,1020,1021,5,126,0,0,1021,1022,3,34,17,0,1022,1023,5, + 144,0,0,1023,1029,1,0,0,0,1024,1025,3,106,53,0,1025,1026,5,6,0,0,1026, + 1027,3,150,75,0,1027,1029,1,0,0,0,1028,1018,1,0,0,0,1028,1024,1,0,0,0, + 1029,121,1,0,0,0,1030,1038,3,154,77,0,1031,1032,3,130,65,0,1032,1033, + 5,116,0,0,1033,1035,1,0,0,0,1034,1031,1,0,0,0,1034,1035,1,0,0,0,1035, + 1036,1,0,0,0,1036,1038,3,124,62,0,1037,1030,1,0,0,0,1037,1034,1,0,0,0, + 1038,123,1,0,0,0,1039,1044,3,150,75,0,1040,1041,5,116,0,0,1041,1043,3, + 150,75,0,1042,1040,1,0,0,0,1043,1046,1,0,0,0,1044,1042,1,0,0,0,1044,1045, + 1,0,0,0,1045,125,1,0,0,0,1046,1044,1,0,0,0,1047,1048,6,63,-1,0,1048,1057, + 3,130,65,0,1049,1057,3,128,64,0,1050,1051,5,126,0,0,1051,1052,3,34,17, + 0,1052,1053,5,144,0,0,1053,1057,1,0,0,0,1054,1057,3,114,57,0,1055,1057, + 3,154,77,0,1056,1047,1,0,0,0,1056,1049,1,0,0,0,1056,1050,1,0,0,0,1056, + 1054,1,0,0,0,1056,1055,1,0,0,0,1057,1066,1,0,0,0,1058,1062,10,3,0,0,1059, + 1063,3,148,74,0,1060,1061,5,6,0,0,1061,1063,3,150,75,0,1062,1059,1,0, + 0,0,1062,1060,1,0,0,0,1063,1065,1,0,0,0,1064,1058,1,0,0,0,1065,1068,1, + 0,0,0,1066,1064,1,0,0,0,1066,1067,1,0,0,0,1067,127,1,0,0,0,1068,1066, + 1,0,0,0,1069,1070,3,150,75,0,1070,1072,5,126,0,0,1071,1073,3,132,66,0, + 1072,1071,1,0,0,0,1072,1073,1,0,0,0,1073,1074,1,0,0,0,1074,1075,5,144, + 0,0,1075,129,1,0,0,0,1076,1077,3,134,67,0,1077,1078,5,116,0,0,1078,1080, + 1,0,0,0,1079,1076,1,0,0,0,1079,1080,1,0,0,0,1080,1081,1,0,0,0,1081,1082, + 3,150,75,0,1082,131,1,0,0,0,1083,1088,3,106,53,0,1084,1085,5,112,0,0, + 1085,1087,3,106,53,0,1086,1084,1,0,0,0,1087,1090,1,0,0,0,1088,1086,1, + 0,0,0,1088,1089,1,0,0,0,1089,133,1,0,0,0,1090,1088,1,0,0,0,1091,1092, + 3,150,75,0,1092,135,1,0,0,0,1093,1102,5,102,0,0,1094,1095,5,116,0,0,1095, + 1102,7,11,0,0,1096,1097,5,104,0,0,1097,1099,5,116,0,0,1098,1100,7,11, + 0,0,1099,1098,1,0,0,0,1099,1100,1,0,0,0,1100,1102,1,0,0,0,1101,1093,1, + 0,0,0,1101,1094,1,0,0,0,1101,1096,1,0,0,0,1102,137,1,0,0,0,1103,1105, + 7,12,0,0,1104,1103,1,0,0,0,1104,1105,1,0,0,0,1105,1112,1,0,0,0,1106,1113, + 3,136,68,0,1107,1113,5,103,0,0,1108,1113,5,104,0,0,1109,1113,5,105,0, + 0,1110,1113,5,41,0,0,1111,1113,5,55,0,0,1112,1106,1,0,0,0,1112,1107,1, + 0,0,0,1112,1108,1,0,0,0,1112,1109,1,0,0,0,1112,1110,1,0,0,0,1112,1111, + 1,0,0,0,1113,139,1,0,0,0,1114,1118,3,138,69,0,1115,1118,5,106,0,0,1116, + 1118,5,57,0,0,1117,1114,1,0,0,0,1117,1115,1,0,0,0,1117,1116,1,0,0,0,1118, + 141,1,0,0,0,1119,1120,7,13,0,0,1120,143,1,0,0,0,1121,1122,7,14,0,0,1122, + 145,1,0,0,0,1123,1124,7,15,0,0,1124,147,1,0,0,0,1125,1128,5,101,0,0,1126, + 1128,3,146,73,0,1127,1125,1,0,0,0,1127,1126,1,0,0,0,1128,149,1,0,0,0, + 1129,1133,5,101,0,0,1130,1133,3,142,71,0,1131,1133,3,144,72,0,1132,1129, + 1,0,0,0,1132,1130,1,0,0,0,1132,1131,1,0,0,0,1133,151,1,0,0,0,1134,1135, + 3,156,78,0,1135,1136,5,118,0,0,1136,1137,3,138,69,0,1137,153,1,0,0,0, + 1138,1139,5,124,0,0,1139,1140,3,150,75,0,1140,1141,5,142,0,0,1141,155, + 1,0,0,0,1142,1145,5,106,0,0,1143,1145,3,158,79,0,1144,1142,1,0,0,0,1144, + 1143,1,0,0,0,1145,157,1,0,0,0,1146,1150,5,137,0,0,1147,1149,3,160,80, + 0,1148,1147,1,0,0,0,1149,1152,1,0,0,0,1150,1148,1,0,0,0,1150,1151,1,0, + 0,0,1151,1153,1,0,0,0,1152,1150,1,0,0,0,1153,1154,5,139,0,0,1154,159, + 1,0,0,0,1155,1156,5,152,0,0,1156,1157,3,106,53,0,1157,1158,5,142,0,0, + 1158,1161,1,0,0,0,1159,1161,5,151,0,0,1160,1155,1,0,0,0,1160,1159,1,0, + 0,0,1161,161,1,0,0,0,1162,1166,5,138,0,0,1163,1165,3,164,82,0,1164,1163, + 1,0,0,0,1165,1168,1,0,0,0,1166,1164,1,0,0,0,1166,1167,1,0,0,0,1167,1169, + 1,0,0,0,1168,1166,1,0,0,0,1169,1170,5,0,0,1,1170,163,1,0,0,0,1171,1172, + 5,154,0,0,1172,1173,3,106,53,0,1173,1174,5,142,0,0,1174,1177,1,0,0,0, + 1175,1177,5,153,0,0,1176,1171,1,0,0,0,1176,1175,1,0,0,0,1177,165,1,0, + 0,0,145,169,176,185,192,203,207,210,219,227,233,245,253,267,273,283,292, + 295,299,302,306,309,312,315,318,322,326,329,332,335,339,342,351,357,378, + 395,412,418,424,435,437,448,451,457,465,471,473,477,482,485,488,492,496, + 499,501,504,508,512,515,517,519,524,535,541,548,553,557,561,567,569,576, + 584,587,590,609,623,639,651,663,671,675,682,688,697,701,725,742,748,751, + 754,764,770,773,776,784,787,791,794,808,825,830,834,840,847,859,863,866, + 875,889,916,924,926,928,936,941,949,959,962,972,983,988,995,1008,1015, + 1028,1034,1037,1044,1056,1062,1066,1072,1079,1088,1099,1101,1104,1112, + 1117,1127,1132,1144,1150,1160,1166,1176 }; staticData->serializedATN = antlr4::atn::SerializedATNView(serializedATNSegment, sizeof(serializedATNSegment) / sizeof(serializedATNSegment[0])); @@ -910,10 +910,6 @@ HogQLParser::IdentifierContext* HogQLParser::VarDeclContext::identifier() { return getRuleContext(0); } -tree::TerminalNode* HogQLParser::VarDeclContext::SEMICOLON() { - return getToken(HogQLParser::SEMICOLON, 0); -} - tree::TerminalNode* HogQLParser::VarDeclContext::COLON() { return getToken(HogQLParser::COLON, 0); } @@ -969,81 +965,6 @@ HogQLParser::VarDeclContext* HogQLParser::varDecl() { setState(184); expression(); } - setState(187); - match(HogQLParser::SEMICOLON); - - } - catch (RecognitionException &e) { - _errHandler->reportError(this, e); - _localctx->exception = std::current_exception(); - _errHandler->recover(this, _localctx->exception); - } - - return _localctx; -} - -//----------------- VarAssignmentContext ------------------------------------------------------------------ - -HogQLParser::VarAssignmentContext::VarAssignmentContext(ParserRuleContext *parent, size_t invokingState) - : ParserRuleContext(parent, invokingState) { -} - -std::vector HogQLParser::VarAssignmentContext::expression() { - return getRuleContexts(); -} - -HogQLParser::ExpressionContext* HogQLParser::VarAssignmentContext::expression(size_t i) { - return getRuleContext(i); -} - -tree::TerminalNode* HogQLParser::VarAssignmentContext::COLON() { - return getToken(HogQLParser::COLON, 0); -} - -tree::TerminalNode* HogQLParser::VarAssignmentContext::EQ_SINGLE() { - return getToken(HogQLParser::EQ_SINGLE, 0); -} - -tree::TerminalNode* HogQLParser::VarAssignmentContext::SEMICOLON() { - return getToken(HogQLParser::SEMICOLON, 0); -} - - -size_t HogQLParser::VarAssignmentContext::getRuleIndex() const { - return HogQLParser::RuleVarAssignment; -} - - -std::any HogQLParser::VarAssignmentContext::accept(tree::ParseTreeVisitor *visitor) { - if (auto parserVisitor = dynamic_cast(visitor)) - return parserVisitor->visitVarAssignment(this); - else - return visitor->visitChildren(this); -} - -HogQLParser::VarAssignmentContext* HogQLParser::varAssignment() { - VarAssignmentContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 8, HogQLParser::RuleVarAssignment); - -#if __cplusplus > 201703L - auto onExit = finally([=, this] { -#else - auto onExit = finally([=] { -#endif - exitRule(); - }); - try { - enterOuterAlt(_localctx, 1); - setState(189); - expression(); - setState(190); - match(HogQLParser::COLON); - setState(191); - match(HogQLParser::EQ_SINGLE); - setState(192); - expression(); - setState(193); - match(HogQLParser::SEMICOLON); } catch (RecognitionException &e) { @@ -1092,7 +1013,7 @@ std::any HogQLParser::IdentifierListContext::accept(tree::ParseTreeVisitor *visi HogQLParser::IdentifierListContext* HogQLParser::identifierList() { IdentifierListContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 10, HogQLParser::RuleIdentifierList); + enterRule(_localctx, 8, HogQLParser::RuleIdentifierList); size_t _la = 0; #if __cplusplus > 201703L @@ -1104,17 +1025,17 @@ HogQLParser::IdentifierListContext* HogQLParser::identifierList() { }); try { enterOuterAlt(_localctx, 1); - setState(195); + setState(187); identifier(); - setState(200); + setState(192); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(196); + setState(188); match(HogQLParser::COMMA); - setState(197); + setState(189); identifier(); - setState(202); + setState(194); _errHandler->sync(this); _la = _input->LA(1); } @@ -1139,14 +1060,6 @@ HogQLParser::ReturnStmtContext* HogQLParser::StatementContext::returnStmt() { return getRuleContext(0); } -HogQLParser::EmptyStmtContext* HogQLParser::StatementContext::emptyStmt() { - return getRuleContext(0); -} - -HogQLParser::ExprStmtContext* HogQLParser::StatementContext::exprStmt() { - return getRuleContext(0); -} - HogQLParser::IfStmtContext* HogQLParser::StatementContext::ifStmt() { return getRuleContext(0); } @@ -1163,6 +1076,14 @@ HogQLParser::VarAssignmentContext* HogQLParser::StatementContext::varAssignment( return getRuleContext(0); } +HogQLParser::ExprStmtContext* HogQLParser::StatementContext::exprStmt() { + return getRuleContext(0); +} + +HogQLParser::EmptyStmtContext* HogQLParser::StatementContext::emptyStmt() { + return getRuleContext(0); +} + HogQLParser::BlockContext* HogQLParser::StatementContext::block() { return getRuleContext(0); } @@ -1182,7 +1103,7 @@ std::any HogQLParser::StatementContext::accept(tree::ParseTreeVisitor *visitor) HogQLParser::StatementContext* HogQLParser::statement() { StatementContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 12, HogQLParser::RuleStatement); + enterRule(_localctx, 10, HogQLParser::RuleStatement); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1192,68 +1113,61 @@ HogQLParser::StatementContext* HogQLParser::statement() { exitRule(); }); try { - setState(212); + setState(203); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 4, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(203); + setState(195); returnStmt(); break; } case 2: { enterOuterAlt(_localctx, 2); - setState(204); - emptyStmt(); + setState(196); + ifStmt(); break; } case 3: { enterOuterAlt(_localctx, 3); - setState(205); - exprStmt(); + setState(197); + whileStmt(); break; } case 4: { enterOuterAlt(_localctx, 4); - setState(206); - ifStmt(); + setState(198); + funcStmt(); break; } case 5: { enterOuterAlt(_localctx, 5); - setState(207); - whileStmt(); + setState(199); + varAssignment(); break; } case 6: { enterOuterAlt(_localctx, 6); - setState(208); - funcStmt(); + setState(200); + exprStmt(); break; } case 7: { enterOuterAlt(_localctx, 7); - setState(209); - varAssignment(); + setState(201); + emptyStmt(); break; } case 8: { enterOuterAlt(_localctx, 8); - setState(210); - returnStmt(); - break; - } - - case 9: { - enterOuterAlt(_localctx, 9); - setState(211); + setState(202); block(); break; } @@ -1272,36 +1186,40 @@ HogQLParser::StatementContext* HogQLParser::statement() { return _localctx; } -//----------------- ExprStmtContext ------------------------------------------------------------------ +//----------------- ReturnStmtContext ------------------------------------------------------------------ -HogQLParser::ExprStmtContext::ExprStmtContext(ParserRuleContext *parent, size_t invokingState) +HogQLParser::ReturnStmtContext::ReturnStmtContext(ParserRuleContext *parent, size_t invokingState) : ParserRuleContext(parent, invokingState) { } -HogQLParser::ExpressionContext* HogQLParser::ExprStmtContext::expression() { +tree::TerminalNode* HogQLParser::ReturnStmtContext::RETURN() { + return getToken(HogQLParser::RETURN, 0); +} + +HogQLParser::ExpressionContext* HogQLParser::ReturnStmtContext::expression() { return getRuleContext(0); } -tree::TerminalNode* HogQLParser::ExprStmtContext::SEMICOLON() { +tree::TerminalNode* HogQLParser::ReturnStmtContext::SEMICOLON() { return getToken(HogQLParser::SEMICOLON, 0); } -size_t HogQLParser::ExprStmtContext::getRuleIndex() const { - return HogQLParser::RuleExprStmt; +size_t HogQLParser::ReturnStmtContext::getRuleIndex() const { + return HogQLParser::RuleReturnStmt; } -std::any HogQLParser::ExprStmtContext::accept(tree::ParseTreeVisitor *visitor) { +std::any HogQLParser::ReturnStmtContext::accept(tree::ParseTreeVisitor *visitor) { if (auto parserVisitor = dynamic_cast(visitor)) - return parserVisitor->visitExprStmt(this); + return parserVisitor->visitReturnStmt(this); else return visitor->visitChildren(this); } -HogQLParser::ExprStmtContext* HogQLParser::exprStmt() { - ExprStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 14, HogQLParser::RuleExprStmt); +HogQLParser::ReturnStmtContext* HogQLParser::returnStmt() { + ReturnStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); + enterRule(_localctx, 12, HogQLParser::RuleReturnStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1312,10 +1230,34 @@ HogQLParser::ExprStmtContext* HogQLParser::exprStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(214); - expression(); - setState(215); - match(HogQLParser::SEMICOLON); + setState(205); + match(HogQLParser::RETURN); + setState(207); + _errHandler->sync(this); + + switch (getInterpreter()->adaptivePredict(_input, 5, _ctx)) { + case 1: { + setState(206); + expression(); + break; + } + + default: + break; + } + setState(210); + _errHandler->sync(this); + + switch (getInterpreter()->adaptivePredict(_input, 6, _ctx)) { + case 1: { + setState(209); + match(HogQLParser::SEMICOLON); + break; + } + + default: + break; + } } catch (RecognitionException &e) { @@ -1376,7 +1318,7 @@ std::any HogQLParser::IfStmtContext::accept(tree::ParseTreeVisitor *visitor) { HogQLParser::IfStmtContext* HogQLParser::ifStmt() { IfStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 16, HogQLParser::RuleIfStmt); + enterRule(_localctx, 14, HogQLParser::RuleIfStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1387,24 +1329,24 @@ HogQLParser::IfStmtContext* HogQLParser::ifStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(217); + setState(212); match(HogQLParser::IF); - setState(218); + setState(213); match(HogQLParser::LPAREN); - setState(219); + setState(214); expression(); - setState(220); + setState(215); match(HogQLParser::RPAREN); - setState(221); + setState(216); statement(); - setState(224); + setState(219); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 5, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 7, _ctx)) { case 1: { - setState(222); + setState(217); match(HogQLParser::ELSE); - setState(223); + setState(218); statement(); break; } @@ -1449,6 +1391,10 @@ HogQLParser::StatementContext* HogQLParser::WhileStmtContext::statement() { return getRuleContext(0); } +tree::TerminalNode* HogQLParser::WhileStmtContext::SEMICOLON() { + return getToken(HogQLParser::SEMICOLON, 0); +} + size_t HogQLParser::WhileStmtContext::getRuleIndex() const { return HogQLParser::RuleWhileStmt; @@ -1464,7 +1410,7 @@ std::any HogQLParser::WhileStmtContext::accept(tree::ParseTreeVisitor *visitor) HogQLParser::WhileStmtContext* HogQLParser::whileStmt() { WhileStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 18, HogQLParser::RuleWhileStmt); + enterRule(_localctx, 16, HogQLParser::RuleWhileStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1475,16 +1421,29 @@ HogQLParser::WhileStmtContext* HogQLParser::whileStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(226); + setState(221); match(HogQLParser::WHILE); - setState(227); + setState(222); match(HogQLParser::LPAREN); - setState(228); + setState(223); expression(); - setState(229); + setState(224); match(HogQLParser::RPAREN); - setState(230); + setState(225); statement(); + setState(227); + _errHandler->sync(this); + + switch (getInterpreter()->adaptivePredict(_input, 8, _ctx)) { + case 1: { + setState(226); + match(HogQLParser::SEMICOLON); + break; + } + + default: + break; + } } catch (RecognitionException &e) { @@ -1496,40 +1455,53 @@ HogQLParser::WhileStmtContext* HogQLParser::whileStmt() { return _localctx; } -//----------------- ReturnStmtContext ------------------------------------------------------------------ +//----------------- FuncStmtContext ------------------------------------------------------------------ -HogQLParser::ReturnStmtContext::ReturnStmtContext(ParserRuleContext *parent, size_t invokingState) +HogQLParser::FuncStmtContext::FuncStmtContext(ParserRuleContext *parent, size_t invokingState) : ParserRuleContext(parent, invokingState) { } -tree::TerminalNode* HogQLParser::ReturnStmtContext::RETURN() { - return getToken(HogQLParser::RETURN, 0); +tree::TerminalNode* HogQLParser::FuncStmtContext::FN() { + return getToken(HogQLParser::FN, 0); } -HogQLParser::ExpressionContext* HogQLParser::ReturnStmtContext::expression() { - return getRuleContext(0); +HogQLParser::IdentifierContext* HogQLParser::FuncStmtContext::identifier() { + return getRuleContext(0); } -tree::TerminalNode* HogQLParser::ReturnStmtContext::SEMICOLON() { - return getToken(HogQLParser::SEMICOLON, 0); +tree::TerminalNode* HogQLParser::FuncStmtContext::LPAREN() { + return getToken(HogQLParser::LPAREN, 0); } +tree::TerminalNode* HogQLParser::FuncStmtContext::RPAREN() { + return getToken(HogQLParser::RPAREN, 0); +} -size_t HogQLParser::ReturnStmtContext::getRuleIndex() const { - return HogQLParser::RuleReturnStmt; +HogQLParser::BlockContext* HogQLParser::FuncStmtContext::block() { + return getRuleContext(0); } +HogQLParser::IdentifierListContext* HogQLParser::FuncStmtContext::identifierList() { + return getRuleContext(0); +} -std::any HogQLParser::ReturnStmtContext::accept(tree::ParseTreeVisitor *visitor) { + +size_t HogQLParser::FuncStmtContext::getRuleIndex() const { + return HogQLParser::RuleFuncStmt; +} + + +std::any HogQLParser::FuncStmtContext::accept(tree::ParseTreeVisitor *visitor) { if (auto parserVisitor = dynamic_cast(visitor)) - return parserVisitor->visitReturnStmt(this); + return parserVisitor->visitFuncStmt(this); else return visitor->visitChildren(this); } -HogQLParser::ReturnStmtContext* HogQLParser::returnStmt() { - ReturnStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 20, HogQLParser::RuleReturnStmt); +HogQLParser::FuncStmtContext* HogQLParser::funcStmt() { + FuncStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); + enterRule(_localctx, 18, HogQLParser::RuleFuncStmt); + size_t _la = 0; #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1540,12 +1512,26 @@ HogQLParser::ReturnStmtContext* HogQLParser::returnStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(232); - match(HogQLParser::RETURN); + setState(229); + match(HogQLParser::FN); + setState(230); + identifier(); + setState(231); + match(HogQLParser::LPAREN); setState(233); - expression(); - setState(234); - match(HogQLParser::SEMICOLON); + _errHandler->sync(this); + + _la = _input->LA(1); + if ((((_la & ~ 0x3fULL) == 0) && + ((1ULL << _la) & -181272084561788930) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && + ((1ULL << (_la - 64)) & 201863462911) != 0)) { + setState(232); + identifierList(); + } + setState(235); + match(HogQLParser::RPAREN); + setState(236); + block(); } catch (RecognitionException &e) { @@ -1557,53 +1543,103 @@ HogQLParser::ReturnStmtContext* HogQLParser::returnStmt() { return _localctx; } -//----------------- FuncStmtContext ------------------------------------------------------------------ +//----------------- VarAssignmentContext ------------------------------------------------------------------ -HogQLParser::FuncStmtContext::FuncStmtContext(ParserRuleContext *parent, size_t invokingState) +HogQLParser::VarAssignmentContext::VarAssignmentContext(ParserRuleContext *parent, size_t invokingState) : ParserRuleContext(parent, invokingState) { } -tree::TerminalNode* HogQLParser::FuncStmtContext::FN() { - return getToken(HogQLParser::FN, 0); +std::vector HogQLParser::VarAssignmentContext::expression() { + return getRuleContexts(); } -HogQLParser::IdentifierContext* HogQLParser::FuncStmtContext::identifier() { - return getRuleContext(0); +HogQLParser::ExpressionContext* HogQLParser::VarAssignmentContext::expression(size_t i) { + return getRuleContext(i); } -tree::TerminalNode* HogQLParser::FuncStmtContext::LPAREN() { - return getToken(HogQLParser::LPAREN, 0); +tree::TerminalNode* HogQLParser::VarAssignmentContext::COLON() { + return getToken(HogQLParser::COLON, 0); } -tree::TerminalNode* HogQLParser::FuncStmtContext::RPAREN() { - return getToken(HogQLParser::RPAREN, 0); +tree::TerminalNode* HogQLParser::VarAssignmentContext::EQ_SINGLE() { + return getToken(HogQLParser::EQ_SINGLE, 0); } -HogQLParser::BlockContext* HogQLParser::FuncStmtContext::block() { - return getRuleContext(0); + +size_t HogQLParser::VarAssignmentContext::getRuleIndex() const { + return HogQLParser::RuleVarAssignment; } -HogQLParser::IdentifierListContext* HogQLParser::FuncStmtContext::identifierList() { - return getRuleContext(0); + +std::any HogQLParser::VarAssignmentContext::accept(tree::ParseTreeVisitor *visitor) { + if (auto parserVisitor = dynamic_cast(visitor)) + return parserVisitor->visitVarAssignment(this); + else + return visitor->visitChildren(this); } +HogQLParser::VarAssignmentContext* HogQLParser::varAssignment() { + VarAssignmentContext *_localctx = _tracker.createInstance(_ctx, getState()); + enterRule(_localctx, 20, HogQLParser::RuleVarAssignment); -size_t HogQLParser::FuncStmtContext::getRuleIndex() const { - return HogQLParser::RuleFuncStmt; +#if __cplusplus > 201703L + auto onExit = finally([=, this] { +#else + auto onExit = finally([=] { +#endif + exitRule(); + }); + try { + enterOuterAlt(_localctx, 1); + setState(238); + expression(); + setState(239); + match(HogQLParser::COLON); + setState(240); + match(HogQLParser::EQ_SINGLE); + setState(241); + expression(); + + } + catch (RecognitionException &e) { + _errHandler->reportError(this, e); + _localctx->exception = std::current_exception(); + _errHandler->recover(this, _localctx->exception); + } + + return _localctx; } +//----------------- ExprStmtContext ------------------------------------------------------------------ -std::any HogQLParser::FuncStmtContext::accept(tree::ParseTreeVisitor *visitor) { +HogQLParser::ExprStmtContext::ExprStmtContext(ParserRuleContext *parent, size_t invokingState) + : ParserRuleContext(parent, invokingState) { +} + +HogQLParser::ExpressionContext* HogQLParser::ExprStmtContext::expression() { + return getRuleContext(0); +} + +tree::TerminalNode* HogQLParser::ExprStmtContext::SEMICOLON() { + return getToken(HogQLParser::SEMICOLON, 0); +} + + +size_t HogQLParser::ExprStmtContext::getRuleIndex() const { + return HogQLParser::RuleExprStmt; +} + + +std::any HogQLParser::ExprStmtContext::accept(tree::ParseTreeVisitor *visitor) { if (auto parserVisitor = dynamic_cast(visitor)) - return parserVisitor->visitFuncStmt(this); + return parserVisitor->visitExprStmt(this); else return visitor->visitChildren(this); } -HogQLParser::FuncStmtContext* HogQLParser::funcStmt() { - FuncStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); - enterRule(_localctx, 22, HogQLParser::RuleFuncStmt); - size_t _la = 0; +HogQLParser::ExprStmtContext* HogQLParser::exprStmt() { + ExprStmtContext *_localctx = _tracker.createInstance(_ctx, getState()); + enterRule(_localctx, 22, HogQLParser::RuleExprStmt); #if __cplusplus > 201703L auto onExit = finally([=, this] { @@ -1614,26 +1650,21 @@ HogQLParser::FuncStmtContext* HogQLParser::funcStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(236); - match(HogQLParser::FN); - setState(237); - identifier(); - setState(238); - match(HogQLParser::LPAREN); - setState(240); + setState(243); + expression(); + setState(245); _errHandler->sync(this); - _la = _input->LA(1); - if ((((_la & ~ 0x3fULL) == 0) && - ((1ULL << _la) & -181272084561788930) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && - ((1ULL << (_la - 64)) & 201863462911) != 0)) { - setState(239); - identifierList(); + switch (getInterpreter()->adaptivePredict(_input, 10, _ctx)) { + case 1: { + setState(244); + match(HogQLParser::SEMICOLON); + break; + } + + default: + break; } - setState(242); - match(HogQLParser::RPAREN); - setState(243); - block(); } catch (RecognitionException &e) { @@ -1681,7 +1712,7 @@ HogQLParser::EmptyStmtContext* HogQLParser::emptyStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(245); + setState(247); match(HogQLParser::SEMICOLON); } @@ -1743,22 +1774,22 @@ HogQLParser::BlockContext* HogQLParser::block() { }); try { enterOuterAlt(_localctx, 1); - setState(247); + setState(249); match(HogQLParser::LBRACE); - setState(251); + setState(253); _errHandler->sync(this); _la = _input->LA(1); while ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & -2) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 64)) & 8076106351341731839) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & 131649) != 0)) { - setState(248); + setState(250); declaration(); - setState(253); + setState(255); _errHandler->sync(this); _la = _input->LA(1); } - setState(254); + setState(256); match(HogQLParser::RBRACE); } @@ -1815,11 +1846,11 @@ HogQLParser::KvPairContext* HogQLParser::kvPair() { }); try { enterOuterAlt(_localctx, 1); - setState(256); + setState(258); expression(); - setState(257); + setState(259); match(HogQLParser::COLON); - setState(258); + setState(260); expression(); } @@ -1881,17 +1912,17 @@ HogQLParser::KvPairListContext* HogQLParser::kvPairList() { }); try { enterOuterAlt(_localctx, 1); - setState(260); + setState(262); kvPair(); - setState(265); + setState(267); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(261); + setState(263); match(HogQLParser::COMMA); - setState(262); + setState(264); kvPair(); - setState(267); + setState(269); _errHandler->sync(this); _la = _input->LA(1); } @@ -1954,23 +1985,23 @@ HogQLParser::SelectContext* HogQLParser::select() { }); try { enterOuterAlt(_localctx, 1); - setState(271); + setState(273); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 9, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 13, _ctx)) { case 1: { - setState(268); + setState(270); selectUnionStmt(); break; } case 2: { - setState(269); + setState(271); selectStmt(); break; } case 3: { - setState(270); + setState(272); hogqlxTagElement(); break; } @@ -1978,7 +2009,7 @@ HogQLParser::SelectContext* HogQLParser::select() { default: break; } - setState(273); + setState(275); match(HogQLParser::EOF); } @@ -2048,19 +2079,19 @@ HogQLParser::SelectUnionStmtContext* HogQLParser::selectUnionStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(275); + setState(277); selectStmtWithParens(); - setState(281); + setState(283); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::UNION) { - setState(276); + setState(278); match(HogQLParser::UNION); - setState(277); + setState(279); match(HogQLParser::ALL); - setState(278); + setState(280); selectStmtWithParens(); - setState(283); + setState(285); _errHandler->sync(this); _la = _input->LA(1); } @@ -2126,31 +2157,31 @@ HogQLParser::SelectStmtWithParensContext* HogQLParser::selectStmtWithParens() { exitRule(); }); try { - setState(290); + setState(292); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::SELECT: case HogQLParser::WITH: { enterOuterAlt(_localctx, 1); - setState(284); + setState(286); selectStmt(); break; } case HogQLParser::LPAREN: { enterOuterAlt(_localctx, 2); - setState(285); + setState(287); match(HogQLParser::LPAREN); - setState(286); + setState(288); selectUnionStmt(); - setState(287); + setState(289); match(HogQLParser::RPAREN); break; } case HogQLParser::LBRACE: { enterOuterAlt(_localctx, 3); - setState(289); + setState(291); placeholder(); break; } @@ -2286,22 +2317,22 @@ HogQLParser::SelectStmtContext* HogQLParser::selectStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(293); + setState(295); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::WITH) { - setState(292); + setState(294); antlrcpp::downCast(_localctx)->with = withClause(); } - setState(295); - match(HogQLParser::SELECT); setState(297); + match(HogQLParser::SELECT); + setState(299); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 13, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 17, _ctx)) { case 1: { - setState(296); + setState(298); match(HogQLParser::DISTINCT); break; } @@ -2309,12 +2340,12 @@ HogQLParser::SelectStmtContext* HogQLParser::selectStmt() { default: break; } - setState(300); + setState(302); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 14, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 18, _ctx)) { case 1: { - setState(299); + setState(301); topClause(); break; } @@ -2322,57 +2353,57 @@ HogQLParser::SelectStmtContext* HogQLParser::selectStmt() { default: break; } - setState(302); - antlrcpp::downCast(_localctx)->columns = columnExprList(); setState(304); + antlrcpp::downCast(_localctx)->columns = columnExprList(); + setState(306); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::FROM) { - setState(303); + setState(305); antlrcpp::downCast(_localctx)->from = fromClause(); } - setState(307); + setState(309); _errHandler->sync(this); _la = _input->LA(1); if ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 567347999932448) != 0)) { - setState(306); + setState(308); arrayJoinClause(); } - setState(310); + setState(312); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::PREWHERE) { - setState(309); + setState(311); prewhereClause(); } - setState(313); + setState(315); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::WHERE) { - setState(312); + setState(314); antlrcpp::downCast(_localctx)->where = whereClause(); } - setState(316); + setState(318); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::GROUP) { - setState(315); + setState(317); groupByClause(); } - setState(320); + setState(322); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 20, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 24, _ctx)) { case 1: { - setState(318); + setState(320); match(HogQLParser::WITH); - setState(319); + setState(321); _la = _input->LA(1); if (!(_la == HogQLParser::CUBE @@ -2389,51 +2420,51 @@ HogQLParser::SelectStmtContext* HogQLParser::selectStmt() { default: break; } - setState(324); + setState(326); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::WITH) { - setState(322); + setState(324); match(HogQLParser::WITH); - setState(323); + setState(325); match(HogQLParser::TOTALS); } - setState(327); + setState(329); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::HAVING) { - setState(326); + setState(328); havingClause(); } - setState(330); + setState(332); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::WINDOW) { - setState(329); + setState(331); windowClause(); } - setState(333); + setState(335); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::ORDER) { - setState(332); + setState(334); orderByClause(); } - setState(337); + setState(339); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::LIMIT: { - setState(335); + setState(337); limitAndOffsetClause(); break; } case HogQLParser::OFFSET: { - setState(336); + setState(338); offsetOnlyClause(); break; } @@ -2448,12 +2479,12 @@ HogQLParser::SelectStmtContext* HogQLParser::selectStmt() { default: break; } - setState(340); + setState(342); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::SETTINGS) { - setState(339); + setState(341); settingsClause(); } @@ -2507,9 +2538,9 @@ HogQLParser::WithClauseContext* HogQLParser::withClause() { }); try { enterOuterAlt(_localctx, 1); - setState(342); + setState(344); match(HogQLParser::WITH); - setState(343); + setState(345); withExprList(); } @@ -2570,18 +2601,18 @@ HogQLParser::TopClauseContext* HogQLParser::topClause() { }); try { enterOuterAlt(_localctx, 1); - setState(345); + setState(347); match(HogQLParser::TOP); - setState(346); + setState(348); match(HogQLParser::DECIMAL_LITERAL); - setState(349); + setState(351); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 27, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 31, _ctx)) { case 1: { - setState(347); + setState(349); match(HogQLParser::WITH); - setState(348); + setState(350); match(HogQLParser::TIES); break; } @@ -2640,9 +2671,9 @@ HogQLParser::FromClauseContext* HogQLParser::fromClause() { }); try { enterOuterAlt(_localctx, 1); - setState(351); + setState(353); match(HogQLParser::FROM); - setState(352); + setState(354); joinExpr(0); } @@ -2708,14 +2739,14 @@ HogQLParser::ArrayJoinClauseContext* HogQLParser::arrayJoinClause() { }); try { enterOuterAlt(_localctx, 1); - setState(355); + setState(357); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::INNER || _la == HogQLParser::LEFT) { - setState(354); + setState(356); _la = _input->LA(1); if (!(_la == HogQLParser::INNER @@ -2727,11 +2758,11 @@ HogQLParser::ArrayJoinClauseContext* HogQLParser::arrayJoinClause() { consume(); } } - setState(357); + setState(359); match(HogQLParser::ARRAY); - setState(358); + setState(360); match(HogQLParser::JOIN); - setState(359); + setState(361); columnExprList(); } @@ -2829,35 +2860,35 @@ HogQLParser::WindowClauseContext* HogQLParser::windowClause() { }); try { enterOuterAlt(_localctx, 1); - setState(361); + setState(363); match(HogQLParser::WINDOW); - setState(362); + setState(364); identifier(); - setState(363); + setState(365); match(HogQLParser::AS); - setState(364); + setState(366); match(HogQLParser::LPAREN); - setState(365); + setState(367); windowExpr(); - setState(366); + setState(368); match(HogQLParser::RPAREN); - setState(376); + setState(378); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(367); + setState(369); match(HogQLParser::COMMA); - setState(368); + setState(370); identifier(); - setState(369); + setState(371); match(HogQLParser::AS); - setState(370); + setState(372); match(HogQLParser::LPAREN); - setState(371); + setState(373); windowExpr(); - setState(372); + setState(374); match(HogQLParser::RPAREN); - setState(378); + setState(380); _errHandler->sync(this); _la = _input->LA(1); } @@ -2912,9 +2943,9 @@ HogQLParser::PrewhereClauseContext* HogQLParser::prewhereClause() { }); try { enterOuterAlt(_localctx, 1); - setState(379); + setState(381); match(HogQLParser::PREWHERE); - setState(380); + setState(382); columnExpr(0); } @@ -2967,9 +2998,9 @@ HogQLParser::WhereClauseContext* HogQLParser::whereClause() { }); try { enterOuterAlt(_localctx, 1); - setState(382); + setState(384); match(HogQLParser::WHERE); - setState(383); + setState(385); columnExpr(0); } @@ -3043,15 +3074,15 @@ HogQLParser::GroupByClauseContext* HogQLParser::groupByClause() { }); try { enterOuterAlt(_localctx, 1); - setState(385); + setState(387); match(HogQLParser::GROUP); - setState(386); + setState(388); match(HogQLParser::BY); - setState(393); + setState(395); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 30, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 34, _ctx)) { case 1: { - setState(387); + setState(389); _la = _input->LA(1); if (!(_la == HogQLParser::CUBE @@ -3062,17 +3093,17 @@ HogQLParser::GroupByClauseContext* HogQLParser::groupByClause() { _errHandler->reportMatch(this); consume(); } - setState(388); + setState(390); match(HogQLParser::LPAREN); - setState(389); + setState(391); columnExprList(); - setState(390); + setState(392); match(HogQLParser::RPAREN); break; } case 2: { - setState(392); + setState(394); columnExprList(); break; } @@ -3131,9 +3162,9 @@ HogQLParser::HavingClauseContext* HogQLParser::havingClause() { }); try { enterOuterAlt(_localctx, 1); - setState(395); + setState(397); match(HogQLParser::HAVING); - setState(396); + setState(398); columnExpr(0); } @@ -3190,11 +3221,11 @@ HogQLParser::OrderByClauseContext* HogQLParser::orderByClause() { }); try { enterOuterAlt(_localctx, 1); - setState(398); + setState(400); match(HogQLParser::ORDER); - setState(399); + setState(401); match(HogQLParser::BY); - setState(400); + setState(402); orderExprList(); } @@ -3251,11 +3282,11 @@ HogQLParser::ProjectionOrderByClauseContext* HogQLParser::projectionOrderByClaus }); try { enterOuterAlt(_localctx, 1); - setState(402); + setState(404); match(HogQLParser::ORDER); - setState(403); + setState(405); match(HogQLParser::BY); - setState(404); + setState(406); columnExprList(); } @@ -3336,40 +3367,40 @@ HogQLParser::LimitAndOffsetClauseContext* HogQLParser::limitAndOffsetClause() { exitRule(); }); try { - setState(435); + setState(437); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 35, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 39, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(406); + setState(408); match(HogQLParser::LIMIT); - setState(407); + setState(409); columnExpr(0); - setState(410); + setState(412); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::COMMA) { - setState(408); + setState(410); match(HogQLParser::COMMA); - setState(409); + setState(411); columnExpr(0); } - setState(416); + setState(418); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::WITH: { - setState(412); + setState(414); match(HogQLParser::WITH); - setState(413); + setState(415); match(HogQLParser::TIES); break; } case HogQLParser::BY: { - setState(414); + setState(416); match(HogQLParser::BY); - setState(415); + setState(417); columnExprList(); break; } @@ -3389,45 +3420,45 @@ HogQLParser::LimitAndOffsetClauseContext* HogQLParser::limitAndOffsetClause() { case 2: { enterOuterAlt(_localctx, 2); - setState(418); + setState(420); match(HogQLParser::LIMIT); - setState(419); + setState(421); columnExpr(0); - setState(422); + setState(424); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::WITH) { - setState(420); + setState(422); match(HogQLParser::WITH); - setState(421); + setState(423); match(HogQLParser::TIES); } - setState(424); + setState(426); match(HogQLParser::OFFSET); - setState(425); + setState(427); columnExpr(0); break; } case 3: { enterOuterAlt(_localctx, 3); - setState(427); + setState(429); match(HogQLParser::LIMIT); - setState(428); + setState(430); columnExpr(0); - setState(429); + setState(431); match(HogQLParser::OFFSET); - setState(430); + setState(432); columnExpr(0); - setState(433); + setState(435); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::BY) { - setState(431); + setState(433); match(HogQLParser::BY); - setState(432); + setState(434); columnExprList(); } break; @@ -3487,9 +3518,9 @@ HogQLParser::OffsetOnlyClauseContext* HogQLParser::offsetOnlyClause() { }); try { enterOuterAlt(_localctx, 1); - setState(437); + setState(439); match(HogQLParser::OFFSET); - setState(438); + setState(440); columnExpr(0); } @@ -3542,9 +3573,9 @@ HogQLParser::SettingsClauseContext* HogQLParser::settingsClause() { }); try { enterOuterAlt(_localctx, 1); - setState(440); + setState(442); match(HogQLParser::SETTINGS); - setState(441); + setState(443); settingExprList(); } @@ -3698,22 +3729,22 @@ HogQLParser::JoinExprContext* HogQLParser::joinExpr(int precedence) { try { size_t alt; enterOuterAlt(_localctx, 1); - setState(455); + setState(457); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 38, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 42, _ctx)) { case 1: { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(444); - tableExpr(0); setState(446); + tableExpr(0); + setState(448); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 36, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 40, _ctx)) { case 1: { - setState(445); + setState(447); match(HogQLParser::FINAL); break; } @@ -3721,12 +3752,12 @@ HogQLParser::JoinExprContext* HogQLParser::joinExpr(int precedence) { default: break; } - setState(449); + setState(451); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 37, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 41, _ctx)) { case 1: { - setState(448); + setState(450); sampleClause(); break; } @@ -3741,11 +3772,11 @@ HogQLParser::JoinExprContext* HogQLParser::joinExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(451); + setState(453); match(HogQLParser::LPAREN); - setState(452); + setState(454); joinExpr(0); - setState(453); + setState(455); match(HogQLParser::RPAREN); break; } @@ -3754,27 +3785,27 @@ HogQLParser::JoinExprContext* HogQLParser::joinExpr(int precedence) { break; } _ctx->stop = _input->LT(-1); - setState(471); + setState(473); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 41, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 45, _ctx); while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) { if (alt == 1) { if (!_parseListeners.empty()) triggerExitRuleEvent(); previousContext = _localctx; - setState(469); + setState(471); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 40, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 44, _ctx)) { case 1: { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleJoinExpr); - setState(457); + setState(459); if (!(precpred(_ctx, 3))) throw FailedPredicateException(this, "precpred(_ctx, 3)"); - setState(458); + setState(460); joinOpCross(); - setState(459); + setState(461); joinExpr(4); break; } @@ -3783,10 +3814,10 @@ HogQLParser::JoinExprContext* HogQLParser::joinExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleJoinExpr); - setState(461); + setState(463); if (!(precpred(_ctx, 4))) throw FailedPredicateException(this, "precpred(_ctx, 4)"); - setState(463); + setState(465); _errHandler->sync(this); _la = _input->LA(1); @@ -3794,14 +3825,14 @@ HogQLParser::JoinExprContext* HogQLParser::joinExpr(int precedence) { ((1ULL << _la) & 567356589867290) != 0) || _la == HogQLParser::RIGHT || _la == HogQLParser::SEMI) { - setState(462); + setState(464); joinOp(); } - setState(465); + setState(467); match(HogQLParser::JOIN); - setState(466); + setState(468); joinExpr(0); - setState(467); + setState(469); joinConstraintClause(); break; } @@ -3810,9 +3841,9 @@ HogQLParser::JoinExprContext* HogQLParser::joinExpr(int precedence) { break; } } - setState(473); + setState(475); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 41, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 45, _ctx); } } catch (RecognitionException &e) { @@ -3948,23 +3979,23 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { exitRule(); }); try { - setState(517); + setState(519); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 55, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 59, _ctx)) { case 1: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 1); - setState(483); + setState(485); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 44, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 48, _ctx)) { case 1: { - setState(475); + setState(477); _errHandler->sync(this); _la = _input->LA(1); if ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 274) != 0)) { - setState(474); + setState(476); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 274) != 0))) { @@ -3975,21 +4006,21 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { consume(); } } - setState(477); + setState(479); match(HogQLParser::INNER); break; } case 2: { - setState(478); - match(HogQLParser::INNER); setState(480); + match(HogQLParser::INNER); + setState(482); _errHandler->sync(this); _la = _input->LA(1); if ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 274) != 0)) { - setState(479); + setState(481); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 274) != 0))) { @@ -4004,7 +4035,7 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { } case 3: { - setState(482); + setState(484); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 274) != 0))) { @@ -4026,17 +4057,17 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { case 2: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 2); - setState(499); + setState(501); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 49, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 53, _ctx)) { case 1: { - setState(486); + setState(488); _errHandler->sync(this); _la = _input->LA(1); if ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 282) != 0) || _la == HogQLParser::SEMI) { - setState(485); + setState(487); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 282) != 0) || _la == HogQLParser::SEMI)) { @@ -4047,7 +4078,7 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { consume(); } } - setState(488); + setState(490); _la = _input->LA(1); if (!(_la == HogQLParser::LEFT @@ -4058,19 +4089,19 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { _errHandler->reportMatch(this); consume(); } - setState(490); + setState(492); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::OUTER) { - setState(489); + setState(491); match(HogQLParser::OUTER); } break; } case 2: { - setState(492); + setState(494); _la = _input->LA(1); if (!(_la == HogQLParser::LEFT @@ -4081,21 +4112,21 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { _errHandler->reportMatch(this); consume(); } - setState(494); + setState(496); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::OUTER) { - setState(493); + setState(495); match(HogQLParser::OUTER); } - setState(497); + setState(499); _errHandler->sync(this); _la = _input->LA(1); if ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 282) != 0) || _la == HogQLParser::SEMI) { - setState(496); + setState(498); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 282) != 0) || _la == HogQLParser::SEMI)) { @@ -4118,18 +4149,18 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { case 3: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 3); - setState(515); + setState(517); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 54, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 58, _ctx)) { case 1: { - setState(502); + setState(504); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::ALL || _la == HogQLParser::ANY) { - setState(501); + setState(503); _la = _input->LA(1); if (!(_la == HogQLParser::ALL @@ -4141,38 +4172,38 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { consume(); } } - setState(504); - match(HogQLParser::FULL); setState(506); + match(HogQLParser::FULL); + setState(508); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::OUTER) { - setState(505); + setState(507); match(HogQLParser::OUTER); } break; } case 2: { - setState(508); - match(HogQLParser::FULL); setState(510); + match(HogQLParser::FULL); + setState(512); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::OUTER) { - setState(509); + setState(511); match(HogQLParser::OUTER); } - setState(513); + setState(515); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::ALL || _la == HogQLParser::ANY) { - setState(512); + setState(514); _la = _input->LA(1); if (!(_la == HogQLParser::ALL @@ -4250,21 +4281,21 @@ HogQLParser::JoinOpCrossContext* HogQLParser::joinOpCross() { exitRule(); }); try { - setState(522); + setState(524); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::CROSS: { enterOuterAlt(_localctx, 1); - setState(519); + setState(521); match(HogQLParser::CROSS); - setState(520); + setState(522); match(HogQLParser::JOIN); break; } case HogQLParser::COMMA: { enterOuterAlt(_localctx, 2); - setState(521); + setState(523); match(HogQLParser::COMMA); break; } @@ -4334,36 +4365,36 @@ HogQLParser::JoinConstraintClauseContext* HogQLParser::joinConstraintClause() { exitRule(); }); try { - setState(533); + setState(535); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 57, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 61, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(524); + setState(526); match(HogQLParser::ON); - setState(525); + setState(527); columnExprList(); break; } case 2: { enterOuterAlt(_localctx, 2); - setState(526); + setState(528); match(HogQLParser::USING); - setState(527); + setState(529); match(HogQLParser::LPAREN); - setState(528); + setState(530); columnExprList(); - setState(529); + setState(531); match(HogQLParser::RPAREN); break; } case 3: { enterOuterAlt(_localctx, 3); - setState(531); + setState(533); match(HogQLParser::USING); - setState(532); + setState(534); columnExprList(); break; } @@ -4430,18 +4461,18 @@ HogQLParser::SampleClauseContext* HogQLParser::sampleClause() { }); try { enterOuterAlt(_localctx, 1); - setState(535); + setState(537); match(HogQLParser::SAMPLE); - setState(536); + setState(538); ratioExpr(); - setState(539); + setState(541); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 58, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 62, _ctx)) { case 1: { - setState(537); + setState(539); match(HogQLParser::OFFSET); - setState(538); + setState(540); ratioExpr(); break; } @@ -4509,17 +4540,17 @@ HogQLParser::OrderExprListContext* HogQLParser::orderExprList() { }); try { enterOuterAlt(_localctx, 1); - setState(541); + setState(543); orderExpr(); - setState(546); + setState(548); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(542); + setState(544); match(HogQLParser::COMMA); - setState(543); + setState(545); orderExpr(); - setState(548); + setState(550); _errHandler->sync(this); _la = _input->LA(1); } @@ -4603,15 +4634,15 @@ HogQLParser::OrderExprContext* HogQLParser::orderExpr() { }); try { enterOuterAlt(_localctx, 1); - setState(549); - columnExpr(0); setState(551); + columnExpr(0); + setState(553); _errHandler->sync(this); _la = _input->LA(1); if ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 6291584) != 0)) { - setState(550); + setState(552); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 6291584) != 0))) { @@ -4622,14 +4653,14 @@ HogQLParser::OrderExprContext* HogQLParser::orderExpr() { consume(); } } - setState(555); + setState(557); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::NULLS) { - setState(553); + setState(555); match(HogQLParser::NULLS); - setState(554); + setState(556); _la = _input->LA(1); if (!(_la == HogQLParser::FIRST @@ -4641,14 +4672,14 @@ HogQLParser::OrderExprContext* HogQLParser::orderExpr() { consume(); } } - setState(559); + setState(561); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::COLLATE) { - setState(557); + setState(559); match(HogQLParser::COLLATE); - setState(558); + setState(560); match(HogQLParser::STRING_LITERAL); } @@ -4709,12 +4740,12 @@ HogQLParser::RatioExprContext* HogQLParser::ratioExpr() { exitRule(); }); try { - setState(567); + setState(569); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::LBRACE: { enterOuterAlt(_localctx, 1); - setState(561); + setState(563); placeholder(); break; } @@ -4729,16 +4760,16 @@ HogQLParser::RatioExprContext* HogQLParser::ratioExpr() { case HogQLParser::DOT: case HogQLParser::PLUS: { enterOuterAlt(_localctx, 2); - setState(562); + setState(564); numberLiteral(); - setState(565); + setState(567); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 63, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 67, _ctx)) { case 1: { - setState(563); + setState(565); match(HogQLParser::SLASH); - setState(564); + setState(566); numberLiteral(); break; } @@ -4812,17 +4843,17 @@ HogQLParser::SettingExprListContext* HogQLParser::settingExprList() { }); try { enterOuterAlt(_localctx, 1); - setState(569); + setState(571); settingExpr(); - setState(574); + setState(576); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(570); + setState(572); match(HogQLParser::COMMA); - setState(571); + setState(573); settingExpr(); - setState(576); + setState(578); _errHandler->sync(this); _la = _input->LA(1); } @@ -4881,11 +4912,11 @@ HogQLParser::SettingExprContext* HogQLParser::settingExpr() { }); try { enterOuterAlt(_localctx, 1); - setState(577); + setState(579); identifier(); - setState(578); + setState(580); match(HogQLParser::EQ_SINGLE); - setState(579); + setState(581); literal(); } @@ -4943,30 +4974,30 @@ HogQLParser::WindowExprContext* HogQLParser::windowExpr() { }); try { enterOuterAlt(_localctx, 1); - setState(582); + setState(584); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::PARTITION) { - setState(581); + setState(583); winPartitionByClause(); } - setState(585); + setState(587); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::ORDER) { - setState(584); + setState(586); winOrderByClause(); } - setState(588); + setState(590); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::RANGE || _la == HogQLParser::ROWS) { - setState(587); + setState(589); winFrameClause(); } @@ -5024,11 +5055,11 @@ HogQLParser::WinPartitionByClauseContext* HogQLParser::winPartitionByClause() { }); try { enterOuterAlt(_localctx, 1); - setState(590); + setState(592); match(HogQLParser::PARTITION); - setState(591); + setState(593); match(HogQLParser::BY); - setState(592); + setState(594); columnExprList(); } @@ -5085,11 +5116,11 @@ HogQLParser::WinOrderByClauseContext* HogQLParser::winOrderByClause() { }); try { enterOuterAlt(_localctx, 1); - setState(594); + setState(596); match(HogQLParser::ORDER); - setState(595); + setState(597); match(HogQLParser::BY); - setState(596); + setState(598); orderExprList(); } @@ -5147,7 +5178,7 @@ HogQLParser::WinFrameClauseContext* HogQLParser::winFrameClause() { }); try { enterOuterAlt(_localctx, 1); - setState(598); + setState(600); _la = _input->LA(1); if (!(_la == HogQLParser::RANGE @@ -5158,7 +5189,7 @@ HogQLParser::WinFrameClauseContext* HogQLParser::winFrameClause() { _errHandler->reportMatch(this); consume(); } - setState(599); + setState(601); winFrameExtend(); } @@ -5240,7 +5271,7 @@ HogQLParser::WinFrameExtendContext* HogQLParser::winFrameExtend() { exitRule(); }); try { - setState(607); + setState(609); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::CURRENT: @@ -5256,7 +5287,7 @@ HogQLParser::WinFrameExtendContext* HogQLParser::winFrameExtend() { case HogQLParser::PLUS: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 1); - setState(601); + setState(603); winFrameBound(); break; } @@ -5264,13 +5295,13 @@ HogQLParser::WinFrameExtendContext* HogQLParser::winFrameExtend() { case HogQLParser::BETWEEN: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 2); - setState(602); + setState(604); match(HogQLParser::BETWEEN); - setState(603); + setState(605); winFrameBound(); - setState(604); + setState(606); match(HogQLParser::AND); - setState(605); + setState(607); winFrameBound(); break; } @@ -5345,45 +5376,45 @@ HogQLParser::WinFrameBoundContext* HogQLParser::winFrameBound() { }); try { enterOuterAlt(_localctx, 1); - setState(621); + setState(623); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 70, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 74, _ctx)) { case 1: { - setState(609); + setState(611); match(HogQLParser::CURRENT); - setState(610); + setState(612); match(HogQLParser::ROW); break; } case 2: { - setState(611); + setState(613); match(HogQLParser::UNBOUNDED); - setState(612); + setState(614); match(HogQLParser::PRECEDING); break; } case 3: { - setState(613); + setState(615); match(HogQLParser::UNBOUNDED); - setState(614); + setState(616); match(HogQLParser::FOLLOWING); break; } case 4: { - setState(615); + setState(617); numberLiteral(); - setState(616); + setState(618); match(HogQLParser::PRECEDING); break; } case 5: { - setState(618); + setState(620); numberLiteral(); - setState(619); + setState(621); match(HogQLParser::FOLLOWING); break; } @@ -5442,9 +5473,9 @@ HogQLParser::ExprContext* HogQLParser::expr() { }); try { enterOuterAlt(_localctx, 1); - setState(623); + setState(625); columnExpr(0); - setState(624); + setState(626); match(HogQLParser::EOF); } @@ -5648,13 +5679,13 @@ HogQLParser::ColumnTypeExprContext* HogQLParser::columnTypeExpr() { exitRule(); }); try { - setState(673); + setState(675); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 75, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 79, _ctx)) { case 1: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 1); - setState(626); + setState(628); identifier(); break; } @@ -5662,29 +5693,29 @@ HogQLParser::ColumnTypeExprContext* HogQLParser::columnTypeExpr() { case 2: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 2); - setState(627); - identifier(); - setState(628); - match(HogQLParser::LPAREN); setState(629); identifier(); setState(630); + match(HogQLParser::LPAREN); + setState(631); + identifier(); + setState(632); columnTypeExpr(); - setState(637); + setState(639); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(631); + setState(633); match(HogQLParser::COMMA); - setState(632); + setState(634); identifier(); - setState(633); + setState(635); columnTypeExpr(); - setState(639); + setState(641); _errHandler->sync(this); _la = _input->LA(1); } - setState(640); + setState(642); match(HogQLParser::RPAREN); break; } @@ -5692,25 +5723,25 @@ HogQLParser::ColumnTypeExprContext* HogQLParser::columnTypeExpr() { case 3: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 3); - setState(642); + setState(644); identifier(); - setState(643); + setState(645); match(HogQLParser::LPAREN); - setState(644); + setState(646); enumValue(); - setState(649); + setState(651); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(645); + setState(647); match(HogQLParser::COMMA); - setState(646); + setState(648); enumValue(); - setState(651); + setState(653); _errHandler->sync(this); _la = _input->LA(1); } - setState(652); + setState(654); match(HogQLParser::RPAREN); break; } @@ -5718,25 +5749,25 @@ HogQLParser::ColumnTypeExprContext* HogQLParser::columnTypeExpr() { case 4: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 4); - setState(654); + setState(656); identifier(); - setState(655); + setState(657); match(HogQLParser::LPAREN); - setState(656); + setState(658); columnTypeExpr(); - setState(661); + setState(663); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(657); + setState(659); match(HogQLParser::COMMA); - setState(658); + setState(660); columnTypeExpr(); - setState(663); + setState(665); _errHandler->sync(this); _la = _input->LA(1); } - setState(664); + setState(666); match(HogQLParser::RPAREN); break; } @@ -5744,11 +5775,11 @@ HogQLParser::ColumnTypeExprContext* HogQLParser::columnTypeExpr() { case 5: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 5); - setState(666); + setState(668); identifier(); - setState(667); - match(HogQLParser::LPAREN); setState(669); + match(HogQLParser::LPAREN); + setState(671); _errHandler->sync(this); _la = _input->LA(1); @@ -5756,10 +5787,10 @@ HogQLParser::ColumnTypeExprContext* HogQLParser::columnTypeExpr() { ((1ULL << _la) & -1125900443713538) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 64)) & 8076106347046764543) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & 577) != 0)) { - setState(668); + setState(670); columnExprList(); } - setState(671); + setState(673); match(HogQLParser::RPAREN); break; } @@ -5827,21 +5858,21 @@ HogQLParser::ColumnExprListContext* HogQLParser::columnExprList() { try { size_t alt; enterOuterAlt(_localctx, 1); - setState(675); + setState(677); columnExpr(0); - setState(680); + setState(682); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 76, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 80, _ctx); while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) { if (alt == 1) { - setState(676); + setState(678); match(HogQLParser::COMMA); - setState(677); + setState(679); columnExpr(0); } - setState(682); + setState(684); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 76, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 80, _ctx); } } @@ -5902,10 +5933,6 @@ HogQLParser::ColumnExprContext* HogQLParser::ColumnExprAliasContext::columnExpr( return getRuleContext(0); } -HogQLParser::AliasContext* HogQLParser::ColumnExprAliasContext::alias() { - return getRuleContext(0); -} - tree::TerminalNode* HogQLParser::ColumnExprAliasContext::AS() { return getToken(HogQLParser::AS, 0); } @@ -6916,22 +6943,22 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { try { size_t alt; enterOuterAlt(_localctx, 1); - setState(832); + setState(834); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 96, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 100, _ctx)) { case 1: { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(684); - match(HogQLParser::CASE); setState(686); + match(HogQLParser::CASE); + setState(688); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 77, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 81, _ctx)) { case 1: { - setState(685); + setState(687); antlrcpp::downCast(_localctx)->caseExpr = columnExpr(0); break; } @@ -6939,33 +6966,33 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { default: break; } - setState(693); + setState(695); _errHandler->sync(this); _la = _input->LA(1); do { - setState(688); + setState(690); match(HogQLParser::WHEN); - setState(689); + setState(691); antlrcpp::downCast(_localctx)->whenExpr = columnExpr(0); - setState(690); + setState(692); match(HogQLParser::THEN); - setState(691); + setState(693); antlrcpp::downCast(_localctx)->thenExpr = columnExpr(0); - setState(695); + setState(697); _errHandler->sync(this); _la = _input->LA(1); } while (_la == HogQLParser::WHEN); - setState(699); + setState(701); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::ELSE) { - setState(697); + setState(699); match(HogQLParser::ELSE); - setState(698); + setState(700); antlrcpp::downCast(_localctx)->elseExpr = columnExpr(0); } - setState(701); + setState(703); match(HogQLParser::END); break; } @@ -6974,17 +7001,17 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(703); + setState(705); match(HogQLParser::CAST); - setState(704); + setState(706); match(HogQLParser::LPAREN); - setState(705); + setState(707); columnExpr(0); - setState(706); + setState(708); match(HogQLParser::AS); - setState(707); + setState(709); columnTypeExpr(); - setState(708); + setState(710); match(HogQLParser::RPAREN); break; } @@ -6993,9 +7020,9 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(710); + setState(712); match(HogQLParser::DATE); - setState(711); + setState(713); match(HogQLParser::STRING_LITERAL); break; } @@ -7004,11 +7031,11 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(712); + setState(714); match(HogQLParser::INTERVAL); - setState(713); + setState(715); columnExpr(0); - setState(714); + setState(716); interval(); break; } @@ -7017,27 +7044,27 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(716); + setState(718); match(HogQLParser::SUBSTRING); - setState(717); + setState(719); match(HogQLParser::LPAREN); - setState(718); + setState(720); columnExpr(0); - setState(719); + setState(721); match(HogQLParser::FROM); - setState(720); + setState(722); columnExpr(0); - setState(723); + setState(725); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::FOR) { - setState(721); + setState(723); match(HogQLParser::FOR); - setState(722); + setState(724); columnExpr(0); } - setState(725); + setState(727); match(HogQLParser::RPAREN); break; } @@ -7046,9 +7073,9 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(727); + setState(729); match(HogQLParser::TIMESTAMP); - setState(728); + setState(730); match(HogQLParser::STRING_LITERAL); break; } @@ -7057,11 +7084,11 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(729); + setState(731); match(HogQLParser::TRIM); - setState(730); + setState(732); match(HogQLParser::LPAREN); - setState(731); + setState(733); _la = _input->LA(1); if (!(_la == HogQLParser::BOTH @@ -7072,13 +7099,13 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _errHandler->reportMatch(this); consume(); } - setState(732); + setState(734); string(); - setState(733); + setState(735); match(HogQLParser::FROM); - setState(734); + setState(736); columnExpr(0); - setState(735); + setState(737); match(HogQLParser::RPAREN); break; } @@ -7087,12 +7114,12 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(737); + setState(739); identifier(); - setState(738); - match(HogQLParser::LPAREN); setState(740); + match(HogQLParser::LPAREN); + setState(742); _errHandler->sync(this); _la = _input->LA(1); @@ -7100,24 +7127,24 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { ((1ULL << _la) & -1125900443713538) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 64)) & 8076106347046764543) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & 577) != 0)) { - setState(739); + setState(741); columnExprList(); } - setState(742); + setState(744); match(HogQLParser::RPAREN); - setState(752); + setState(754); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::LPAREN) { - setState(744); - match(HogQLParser::LPAREN); setState(746); + match(HogQLParser::LPAREN); + setState(748); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 82, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 86, _ctx)) { case 1: { - setState(745); + setState(747); match(HogQLParser::DISTINCT); break; } @@ -7125,7 +7152,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { default: break; } - setState(749); + setState(751); _errHandler->sync(this); _la = _input->LA(1); @@ -7133,19 +7160,19 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { ((1ULL << _la) & -1125900443713538) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 64)) & 8076106347046764543) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & 577) != 0)) { - setState(748); + setState(750); columnArgList(); } - setState(751); + setState(753); match(HogQLParser::RPAREN); } - setState(754); + setState(756); match(HogQLParser::OVER); - setState(755); + setState(757); match(HogQLParser::LPAREN); - setState(756); + setState(758); windowExpr(); - setState(757); + setState(759); match(HogQLParser::RPAREN); break; } @@ -7154,12 +7181,12 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(759); + setState(761); identifier(); - setState(760); - match(HogQLParser::LPAREN); setState(762); + match(HogQLParser::LPAREN); + setState(764); _errHandler->sync(this); _la = _input->LA(1); @@ -7167,24 +7194,24 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { ((1ULL << _la) & -1125900443713538) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 64)) & 8076106347046764543) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & 577) != 0)) { - setState(761); + setState(763); columnExprList(); } - setState(764); + setState(766); match(HogQLParser::RPAREN); - setState(774); + setState(776); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::LPAREN) { - setState(766); - match(HogQLParser::LPAREN); setState(768); + match(HogQLParser::LPAREN); + setState(770); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 86, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 90, _ctx)) { case 1: { - setState(767); + setState(769); match(HogQLParser::DISTINCT); break; } @@ -7192,7 +7219,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { default: break; } - setState(771); + setState(773); _errHandler->sync(this); _la = _input->LA(1); @@ -7200,15 +7227,15 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { ((1ULL << _la) & -1125900443713538) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 64)) & 8076106347046764543) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & 577) != 0)) { - setState(770); + setState(772); columnArgList(); } - setState(773); + setState(775); match(HogQLParser::RPAREN); } - setState(776); + setState(778); match(HogQLParser::OVER); - setState(777); + setState(779); identifier(); break; } @@ -7217,16 +7244,16 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(779); + setState(781); identifier(); - setState(785); + setState(787); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 90, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 94, _ctx)) { case 1: { - setState(780); - match(HogQLParser::LPAREN); setState(782); + match(HogQLParser::LPAREN); + setState(784); _errHandler->sync(this); _la = _input->LA(1); @@ -7234,10 +7261,10 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { ((1ULL << _la) & -1125900443713538) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 64)) & 8076106347046764543) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & 577) != 0)) { - setState(781); + setState(783); columnExprList(); } - setState(784); + setState(786); match(HogQLParser::RPAREN); break; } @@ -7245,14 +7272,14 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { default: break; } - setState(787); - match(HogQLParser::LPAREN); setState(789); + match(HogQLParser::LPAREN); + setState(791); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 91, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 95, _ctx)) { case 1: { - setState(788); + setState(790); match(HogQLParser::DISTINCT); break; } @@ -7260,7 +7287,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { default: break; } - setState(792); + setState(794); _errHandler->sync(this); _la = _input->LA(1); @@ -7268,10 +7295,10 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { ((1ULL << _la) & -1125900443713538) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 64)) & 8076106347046764543) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & 577) != 0)) { - setState(791); + setState(793); columnArgList(); } - setState(794); + setState(796); match(HogQLParser::RPAREN); break; } @@ -7280,7 +7307,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(796); + setState(798); hogqlxTagElement(); break; } @@ -7289,7 +7316,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(797); + setState(799); templateString(); break; } @@ -7298,7 +7325,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(798); + setState(800); literal(); break; } @@ -7307,9 +7334,9 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(799); + setState(801); match(HogQLParser::DASH); - setState(800); + setState(802); columnExpr(19); break; } @@ -7318,9 +7345,9 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(801); + setState(803); match(HogQLParser::NOT); - setState(802); + setState(804); columnExpr(13); break; } @@ -7329,19 +7356,19 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(806); + setState(808); _errHandler->sync(this); _la = _input->LA(1); if ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & -181272084561788930) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 64)) & 201863462911) != 0)) { - setState(803); + setState(805); tableIdentifier(); - setState(804); + setState(806); match(HogQLParser::DOT); } - setState(808); + setState(810); match(HogQLParser::ASTERISK); break; } @@ -7350,11 +7377,11 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(809); + setState(811); match(HogQLParser::LPAREN); - setState(810); + setState(812); selectUnionStmt(); - setState(811); + setState(813); match(HogQLParser::RPAREN); break; } @@ -7363,11 +7390,11 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(813); + setState(815); match(HogQLParser::LPAREN); - setState(814); + setState(816); columnExpr(0); - setState(815); + setState(817); match(HogQLParser::RPAREN); break; } @@ -7376,11 +7403,11 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(817); + setState(819); match(HogQLParser::LPAREN); - setState(818); + setState(820); columnExprList(); - setState(819); + setState(821); match(HogQLParser::RPAREN); break; } @@ -7389,9 +7416,9 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(821); - match(HogQLParser::LBRACKET); setState(823); + match(HogQLParser::LBRACKET); + setState(825); _errHandler->sync(this); _la = _input->LA(1); @@ -7399,10 +7426,10 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { ((1ULL << _la) & -1125900443713538) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 64)) & 8076106347046764543) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & 577) != 0)) { - setState(822); + setState(824); columnExprList(); } - setState(825); + setState(827); match(HogQLParser::RBRACKET); break; } @@ -7411,9 +7438,9 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(826); - match(HogQLParser::LBRACE); setState(828); + match(HogQLParser::LBRACE); + setState(830); _errHandler->sync(this); _la = _input->LA(1); @@ -7421,10 +7448,10 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { ((1ULL << _la) & -1125900443713538) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 64)) & 8076106347046764543) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & 577) != 0)) { - setState(827); + setState(829); kvPairList(); } - setState(830); + setState(832); match(HogQLParser::RBRACE); break; } @@ -7433,7 +7460,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(831); + setState(833); columnIdentifier(); break; } @@ -7442,42 +7469,42 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { break; } _ctx->stop = _input->LT(-1); - setState(927); + setState(928); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 107, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 111, _ctx); while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) { if (alt == 1) { if (!_parseListeners.empty()) triggerExitRuleEvent(); previousContext = _localctx; - setState(925); + setState(926); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 106, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 110, _ctx)) { case 1: { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; newContext->left = previousContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(834); + setState(836); if (!(precpred(_ctx, 18))) throw FailedPredicateException(this, "precpred(_ctx, 18)"); - setState(838); + setState(840); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::ASTERISK: { - setState(835); + setState(837); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::ASTERISK); break; } case HogQLParser::SLASH: { - setState(836); + setState(838); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::SLASH); break; } case HogQLParser::PERCENT: { - setState(837); + setState(839); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::PERCENT); break; } @@ -7485,7 +7512,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { default: throw NoViableAltException(this); } - setState(840); + setState(842); antlrcpp::downCast(_localctx)->right = columnExpr(19); break; } @@ -7495,26 +7522,26 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = newContext; newContext->left = previousContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(841); + setState(843); if (!(precpred(_ctx, 17))) throw FailedPredicateException(this, "precpred(_ctx, 17)"); - setState(845); + setState(847); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::PLUS: { - setState(842); + setState(844); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::PLUS); break; } case HogQLParser::DASH: { - setState(843); + setState(845); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::DASH); break; } case HogQLParser::CONCAT: { - setState(844); + setState(846); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::CONCAT); break; } @@ -7522,7 +7549,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { default: throw NoViableAltException(this); } - setState(847); + setState(849); antlrcpp::downCast(_localctx)->right = columnExpr(18); break; } @@ -7532,71 +7559,71 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = newContext; newContext->left = previousContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(848); + setState(850); if (!(precpred(_ctx, 16))) throw FailedPredicateException(this, "precpred(_ctx, 16)"); - setState(873); + setState(875); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 102, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 106, _ctx)) { case 1: { - setState(849); + setState(851); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::EQ_DOUBLE); break; } case 2: { - setState(850); + setState(852); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::EQ_SINGLE); break; } case 3: { - setState(851); + setState(853); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::NOT_EQ); break; } case 4: { - setState(852); + setState(854); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::LT_EQ); break; } case 5: { - setState(853); + setState(855); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::LT); break; } case 6: { - setState(854); + setState(856); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::GT_EQ); break; } case 7: { - setState(855); + setState(857); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::GT); break; } case 8: { - setState(857); + setState(859); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::NOT) { - setState(856); + setState(858); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::NOT); } - setState(859); - match(HogQLParser::IN); setState(861); + match(HogQLParser::IN); + setState(863); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 100, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 104, _ctx)) { case 1: { - setState(860); + setState(862); match(HogQLParser::COHORT); break; } @@ -7608,15 +7635,15 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { } case 9: { - setState(864); + setState(866); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::NOT) { - setState(863); + setState(865); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::NOT); } - setState(866); + setState(868); _la = _input->LA(1); if (!(_la == HogQLParser::ILIKE @@ -7631,37 +7658,37 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { } case 10: { - setState(867); + setState(869); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::REGEX_SINGLE); break; } case 11: { - setState(868); + setState(870); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::REGEX_DOUBLE); break; } case 12: { - setState(869); + setState(871); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::NOT_REGEX); break; } case 13: { - setState(870); + setState(872); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::IREGEX_SINGLE); break; } case 14: { - setState(871); + setState(873); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::IREGEX_DOUBLE); break; } case 15: { - setState(872); + setState(874); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::NOT_IREGEX); break; } @@ -7669,7 +7696,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { default: break; } - setState(875); + setState(877); antlrcpp::downCast(_localctx)->right = columnExpr(17); break; } @@ -7678,12 +7705,12 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(876); + setState(878); if (!(precpred(_ctx, 14))) throw FailedPredicateException(this, "precpred(_ctx, 14)"); - setState(877); + setState(879); match(HogQLParser::NULLISH); - setState(878); + setState(880); columnExpr(15); break; } @@ -7692,12 +7719,12 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(879); + setState(881); if (!(precpred(_ctx, 12))) throw FailedPredicateException(this, "precpred(_ctx, 12)"); - setState(880); + setState(882); match(HogQLParser::AND); - setState(881); + setState(883); columnExpr(13); break; } @@ -7706,12 +7733,12 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(882); + setState(884); if (!(precpred(_ctx, 11))) throw FailedPredicateException(this, "precpred(_ctx, 11)"); - setState(883); + setState(885); match(HogQLParser::OR); - setState(884); + setState(886); columnExpr(12); break; } @@ -7720,24 +7747,24 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(885); + setState(887); if (!(precpred(_ctx, 10))) throw FailedPredicateException(this, "precpred(_ctx, 10)"); - setState(887); + setState(889); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::NOT) { - setState(886); + setState(888); match(HogQLParser::NOT); } - setState(889); + setState(891); match(HogQLParser::BETWEEN); - setState(890); + setState(892); columnExpr(0); - setState(891); + setState(893); match(HogQLParser::AND); - setState(892); + setState(894); columnExpr(11); break; } @@ -7746,16 +7773,16 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(894); + setState(896); if (!(precpred(_ctx, 9))) throw FailedPredicateException(this, "precpred(_ctx, 9)"); - setState(895); + setState(897); match(HogQLParser::QUERY); - setState(896); + setState(898); columnExpr(0); - setState(897); + setState(899); match(HogQLParser::COLON); - setState(898); + setState(900); columnExpr(9); break; } @@ -7764,14 +7791,14 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(900); + setState(902); if (!(precpred(_ctx, 22))) throw FailedPredicateException(this, "precpred(_ctx, 22)"); - setState(901); + setState(903); match(HogQLParser::LBRACKET); - setState(902); + setState(904); columnExpr(0); - setState(903); + setState(905); match(HogQLParser::RBRACKET); break; } @@ -7780,12 +7807,12 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(905); + setState(907); if (!(precpred(_ctx, 21))) throw FailedPredicateException(this, "precpred(_ctx, 21)"); - setState(906); + setState(908); match(HogQLParser::DOT); - setState(907); + setState(909); match(HogQLParser::DECIMAL_LITERAL); break; } @@ -7794,12 +7821,12 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(908); + setState(910); if (!(precpred(_ctx, 20))) throw FailedPredicateException(this, "precpred(_ctx, 20)"); - setState(909); + setState(911); match(HogQLParser::DOT); - setState(910); + setState(912); identifier(); break; } @@ -7808,20 +7835,20 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(911); + setState(913); if (!(precpred(_ctx, 15))) throw FailedPredicateException(this, "precpred(_ctx, 15)"); - setState(912); - match(HogQLParser::IS); setState(914); + match(HogQLParser::IS); + setState(916); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::NOT) { - setState(913); + setState(915); match(HogQLParser::NOT); } - setState(916); + setState(918); match(HogQLParser::NULL_SQL); break; } @@ -7830,30 +7857,24 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(917); + setState(919); if (!(precpred(_ctx, 8))) throw FailedPredicateException(this, "precpred(_ctx, 8)"); - setState(923); + setState(924); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 105, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 109, _ctx)) { case 1: { - setState(918); - alias(); - break; - } - - case 2: { - setState(919); - match(HogQLParser::AS); setState(920); + match(HogQLParser::AS); + setState(921); identifier(); break; } - case 3: { - setState(921); - match(HogQLParser::AS); + case 2: { setState(922); + match(HogQLParser::AS); + setState(923); match(HogQLParser::STRING_LITERAL); break; } @@ -7868,9 +7889,9 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { break; } } - setState(929); + setState(930); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 107, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 111, _ctx); } } catch (RecognitionException &e) { @@ -7930,17 +7951,17 @@ HogQLParser::ColumnArgListContext* HogQLParser::columnArgList() { }); try { enterOuterAlt(_localctx, 1); - setState(930); + setState(931); columnArgExpr(); - setState(935); + setState(936); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(931); - match(HogQLParser::COMMA); setState(932); + match(HogQLParser::COMMA); + setState(933); columnArgExpr(); - setState(937); + setState(938); _errHandler->sync(this); _la = _input->LA(1); } @@ -7994,19 +8015,19 @@ HogQLParser::ColumnArgExprContext* HogQLParser::columnArgExpr() { exitRule(); }); try { - setState(940); + setState(941); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 109, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 113, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(938); + setState(939); columnLambdaExpr(); break; } case 2: { enterOuterAlt(_localctx, 2); - setState(939); + setState(940); columnExpr(0); break; } @@ -8090,27 +8111,27 @@ HogQLParser::ColumnLambdaExprContext* HogQLParser::columnLambdaExpr() { }); try { enterOuterAlt(_localctx, 1); - setState(961); + setState(962); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::LPAREN: { - setState(942); - match(HogQLParser::LPAREN); setState(943); + match(HogQLParser::LPAREN); + setState(944); identifier(); - setState(948); + setState(949); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(944); - match(HogQLParser::COMMA); setState(945); + match(HogQLParser::COMMA); + setState(946); identifier(); - setState(950); + setState(951); _errHandler->sync(this); _la = _input->LA(1); } - setState(951); + setState(952); match(HogQLParser::RPAREN); break; } @@ -8209,17 +8230,17 @@ HogQLParser::ColumnLambdaExprContext* HogQLParser::columnLambdaExpr() { case HogQLParser::WITH: case HogQLParser::YEAR: case HogQLParser::IDENTIFIER: { - setState(953); + setState(954); identifier(); - setState(958); + setState(959); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(954); - match(HogQLParser::COMMA); setState(955); + match(HogQLParser::COMMA); + setState(956); identifier(); - setState(960); + setState(961); _errHandler->sync(this); _la = _input->LA(1); } @@ -8229,9 +8250,9 @@ HogQLParser::ColumnLambdaExprContext* HogQLParser::columnLambdaExpr() { default: throw NoViableAltException(this); } - setState(963); - match(HogQLParser::ARROW); setState(964); + match(HogQLParser::ARROW); + setState(965); columnExpr(0); } @@ -8358,31 +8379,31 @@ HogQLParser::HogqlxTagElementContext* HogQLParser::hogqlxTagElement() { exitRule(); }); try { - setState(994); + setState(995); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 116, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 120, _ctx)) { case 1: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 1); - setState(966); - match(HogQLParser::LT); setState(967); + match(HogQLParser::LT); + setState(968); identifier(); - setState(971); + setState(972); _errHandler->sync(this); _la = _input->LA(1); while ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & -181272084561788930) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 64)) & 201863462911) != 0)) { - setState(968); + setState(969); hogqlxTagAttribute(); - setState(973); + setState(974); _errHandler->sync(this); _la = _input->LA(1); } - setState(974); - match(HogQLParser::SLASH); setState(975); + match(HogQLParser::SLASH); + setState(976); match(HogQLParser::GT); break; } @@ -8390,30 +8411,30 @@ HogQLParser::HogqlxTagElementContext* HogQLParser::hogqlxTagElement() { case 2: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 2); - setState(977); - match(HogQLParser::LT); setState(978); + match(HogQLParser::LT); + setState(979); identifier(); - setState(982); + setState(983); _errHandler->sync(this); _la = _input->LA(1); while ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & -181272084561788930) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 64)) & 201863462911) != 0)) { - setState(979); + setState(980); hogqlxTagAttribute(); - setState(984); + setState(985); _errHandler->sync(this); _la = _input->LA(1); } - setState(985); + setState(986); match(HogQLParser::GT); - setState(987); + setState(988); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 115, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 119, _ctx)) { case 1: { - setState(986); + setState(987); hogqlxTagElement(); break; } @@ -8421,13 +8442,13 @@ HogQLParser::HogqlxTagElementContext* HogQLParser::hogqlxTagElement() { default: break; } - setState(989); - match(HogQLParser::LT); setState(990); - match(HogQLParser::SLASH); + match(HogQLParser::LT); setState(991); - identifier(); + match(HogQLParser::SLASH); setState(992); + identifier(); + setState(993); match(HogQLParser::GT); break; } @@ -8501,38 +8522,38 @@ HogQLParser::HogqlxTagAttributeContext* HogQLParser::hogqlxTagAttribute() { exitRule(); }); try { - setState(1007); + setState(1008); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 117, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 121, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(996); - identifier(); setState(997); - match(HogQLParser::EQ_SINGLE); + identifier(); setState(998); + match(HogQLParser::EQ_SINGLE); + setState(999); string(); break; } case 2: { enterOuterAlt(_localctx, 2); - setState(1000); - identifier(); setState(1001); - match(HogQLParser::EQ_SINGLE); + identifier(); setState(1002); - match(HogQLParser::LBRACE); + match(HogQLParser::EQ_SINGLE); setState(1003); - columnExpr(0); + match(HogQLParser::LBRACE); setState(1004); + columnExpr(0); + setState(1005); match(HogQLParser::RBRACE); break; } case 3: { enterOuterAlt(_localctx, 3); - setState(1006); + setState(1007); identifier(); break; } @@ -8600,17 +8621,17 @@ HogQLParser::WithExprListContext* HogQLParser::withExprList() { }); try { enterOuterAlt(_localctx, 1); - setState(1009); + setState(1010); withExpr(); - setState(1014); + setState(1015); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(1010); - match(HogQLParser::COMMA); setState(1011); + match(HogQLParser::COMMA); + setState(1012); withExpr(); - setState(1016); + setState(1017); _errHandler->sync(this); _la = _input->LA(1); } @@ -8706,21 +8727,21 @@ HogQLParser::WithExprContext* HogQLParser::withExpr() { exitRule(); }); try { - setState(1027); + setState(1028); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 119, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 123, _ctx)) { case 1: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 1); - setState(1017); - identifier(); setState(1018); - match(HogQLParser::AS); + identifier(); setState(1019); - match(HogQLParser::LPAREN); + match(HogQLParser::AS); setState(1020); - selectUnionStmt(); + match(HogQLParser::LPAREN); setState(1021); + selectUnionStmt(); + setState(1022); match(HogQLParser::RPAREN); break; } @@ -8728,11 +8749,11 @@ HogQLParser::WithExprContext* HogQLParser::withExpr() { case 2: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 2); - setState(1023); - columnExpr(0); setState(1024); - match(HogQLParser::AS); + columnExpr(0); setState(1025); + match(HogQLParser::AS); + setState(1026); identifier(); break; } @@ -8798,12 +8819,12 @@ HogQLParser::ColumnIdentifierContext* HogQLParser::columnIdentifier() { exitRule(); }); try { - setState(1036); + setState(1037); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::LBRACE: { enterOuterAlt(_localctx, 1); - setState(1029); + setState(1030); placeholder(); break; } @@ -8903,14 +8924,14 @@ HogQLParser::ColumnIdentifierContext* HogQLParser::columnIdentifier() { case HogQLParser::YEAR: case HogQLParser::IDENTIFIER: { enterOuterAlt(_localctx, 2); - setState(1033); + setState(1034); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 120, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 124, _ctx)) { case 1: { - setState(1030); - tableIdentifier(); setState(1031); + tableIdentifier(); + setState(1032); match(HogQLParser::DOT); break; } @@ -8918,7 +8939,7 @@ HogQLParser::ColumnIdentifierContext* HogQLParser::columnIdentifier() { default: break; } - setState(1035); + setState(1036); nestedIdentifier(); break; } @@ -8986,21 +9007,21 @@ HogQLParser::NestedIdentifierContext* HogQLParser::nestedIdentifier() { try { size_t alt; enterOuterAlt(_localctx, 1); - setState(1038); + setState(1039); identifier(); - setState(1043); + setState(1044); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 122, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 126, _ctx); while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) { if (alt == 1) { - setState(1039); - match(HogQLParser::DOT); setState(1040); + match(HogQLParser::DOT); + setState(1041); identifier(); } - setState(1045); + setState(1046); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 122, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 126, _ctx); } } @@ -9164,15 +9185,15 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { try { size_t alt; enterOuterAlt(_localctx, 1); - setState(1055); + setState(1056); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 123, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 127, _ctx)) { case 1: { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(1047); + setState(1048); tableIdentifier(); break; } @@ -9181,7 +9202,7 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(1048); + setState(1049); tableFunctionExpr(); break; } @@ -9190,11 +9211,11 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(1049); - match(HogQLParser::LPAREN); setState(1050); - selectUnionStmt(); + match(HogQLParser::LPAREN); setState(1051); + selectUnionStmt(); + setState(1052); match(HogQLParser::RPAREN); break; } @@ -9203,7 +9224,7 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(1053); + setState(1054); hogqlxTagElement(); break; } @@ -9212,7 +9233,7 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(1054); + setState(1055); placeholder(); break; } @@ -9221,9 +9242,9 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { break; } _ctx->stop = _input->LT(-1); - setState(1065); + setState(1066); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 125, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 129, _ctx); while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) { if (alt == 1) { if (!_parseListeners.empty()) @@ -9232,10 +9253,10 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleTableExpr); - setState(1057); + setState(1058); if (!(precpred(_ctx, 3))) throw FailedPredicateException(this, "precpred(_ctx, 3)"); - setState(1061); + setState(1062); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::DATE: @@ -9243,15 +9264,15 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { case HogQLParser::ID: case HogQLParser::KEY: case HogQLParser::IDENTIFIER: { - setState(1058); + setState(1059); alias(); break; } case HogQLParser::AS: { - setState(1059); - match(HogQLParser::AS); setState(1060); + match(HogQLParser::AS); + setState(1061); identifier(); break; } @@ -9260,9 +9281,9 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { throw NoViableAltException(this); } } - setState(1067); + setState(1068); _errHandler->sync(this); - alt = getInterpreter()->adaptivePredict(_input, 125, _ctx); + alt = getInterpreter()->adaptivePredict(_input, 129, _ctx); } } catch (RecognitionException &e) { @@ -9322,11 +9343,11 @@ HogQLParser::TableFunctionExprContext* HogQLParser::tableFunctionExpr() { }); try { enterOuterAlt(_localctx, 1); - setState(1068); - identifier(); setState(1069); + identifier(); + setState(1070); match(HogQLParser::LPAREN); - setState(1071); + setState(1072); _errHandler->sync(this); _la = _input->LA(1); @@ -9334,10 +9355,10 @@ HogQLParser::TableFunctionExprContext* HogQLParser::tableFunctionExpr() { ((1ULL << _la) & -1125900443713538) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 64)) & 8076106347046764543) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & 577) != 0)) { - setState(1070); + setState(1071); tableArgList(); } - setState(1073); + setState(1074); match(HogQLParser::RPAREN); } @@ -9394,14 +9415,14 @@ HogQLParser::TableIdentifierContext* HogQLParser::tableIdentifier() { }); try { enterOuterAlt(_localctx, 1); - setState(1078); + setState(1079); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 127, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 131, _ctx)) { case 1: { - setState(1075); - databaseIdentifier(); setState(1076); + databaseIdentifier(); + setState(1077); match(HogQLParser::DOT); break; } @@ -9409,7 +9430,7 @@ HogQLParser::TableIdentifierContext* HogQLParser::tableIdentifier() { default: break; } - setState(1080); + setState(1081); identifier(); } @@ -9471,17 +9492,17 @@ HogQLParser::TableArgListContext* HogQLParser::tableArgList() { }); try { enterOuterAlt(_localctx, 1); - setState(1082); + setState(1083); columnExpr(0); - setState(1087); + setState(1088); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(1083); - match(HogQLParser::COMMA); setState(1084); + match(HogQLParser::COMMA); + setState(1085); columnExpr(0); - setState(1089); + setState(1090); _errHandler->sync(this); _la = _input->LA(1); } @@ -9532,7 +9553,7 @@ HogQLParser::DatabaseIdentifierContext* HogQLParser::databaseIdentifier() { }); try { enterOuterAlt(_localctx, 1); - setState(1090); + setState(1091); identifier(); } @@ -9597,21 +9618,21 @@ HogQLParser::FloatingLiteralContext* HogQLParser::floatingLiteral() { exitRule(); }); try { - setState(1100); + setState(1101); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::FLOATING_LITERAL: { enterOuterAlt(_localctx, 1); - setState(1092); + setState(1093); match(HogQLParser::FLOATING_LITERAL); break; } case HogQLParser::DOT: { enterOuterAlt(_localctx, 2); - setState(1093); - match(HogQLParser::DOT); setState(1094); + match(HogQLParser::DOT); + setState(1095); _la = _input->LA(1); if (!(_la == HogQLParser::OCTAL_LITERAL @@ -9627,16 +9648,16 @@ HogQLParser::FloatingLiteralContext* HogQLParser::floatingLiteral() { case HogQLParser::DECIMAL_LITERAL: { enterOuterAlt(_localctx, 3); - setState(1095); - match(HogQLParser::DECIMAL_LITERAL); setState(1096); + match(HogQLParser::DECIMAL_LITERAL); + setState(1097); match(HogQLParser::DOT); - setState(1098); + setState(1099); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 129, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 133, _ctx)) { case 1: { - setState(1097); + setState(1098); _la = _input->LA(1); if (!(_la == HogQLParser::OCTAL_LITERAL @@ -9735,14 +9756,14 @@ HogQLParser::NumberLiteralContext* HogQLParser::numberLiteral() { }); try { enterOuterAlt(_localctx, 1); - setState(1103); + setState(1104); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::DASH || _la == HogQLParser::PLUS) { - setState(1102); + setState(1103); _la = _input->LA(1); if (!(_la == HogQLParser::DASH @@ -9754,41 +9775,41 @@ HogQLParser::NumberLiteralContext* HogQLParser::numberLiteral() { consume(); } } - setState(1111); + setState(1112); _errHandler->sync(this); - switch (getInterpreter()->adaptivePredict(_input, 132, _ctx)) { + switch (getInterpreter()->adaptivePredict(_input, 136, _ctx)) { case 1: { - setState(1105); + setState(1106); floatingLiteral(); break; } case 2: { - setState(1106); + setState(1107); match(HogQLParser::OCTAL_LITERAL); break; } case 3: { - setState(1107); + setState(1108); match(HogQLParser::DECIMAL_LITERAL); break; } case 4: { - setState(1108); + setState(1109); match(HogQLParser::HEXADECIMAL_LITERAL); break; } case 5: { - setState(1109); + setState(1110); match(HogQLParser::INF); break; } case 6: { - setState(1110); + setState(1111); match(HogQLParser::NAN_SQL); break; } @@ -9850,7 +9871,7 @@ HogQLParser::LiteralContext* HogQLParser::literal() { exitRule(); }); try { - setState(1116); + setState(1117); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::INF: @@ -9863,21 +9884,21 @@ HogQLParser::LiteralContext* HogQLParser::literal() { case HogQLParser::DOT: case HogQLParser::PLUS: { enterOuterAlt(_localctx, 1); - setState(1113); + setState(1114); numberLiteral(); break; } case HogQLParser::STRING_LITERAL: { enterOuterAlt(_localctx, 2); - setState(1114); + setState(1115); match(HogQLParser::STRING_LITERAL); break; } case HogQLParser::NULL_SQL: { enterOuterAlt(_localctx, 3); - setState(1115); + setState(1116); match(HogQLParser::NULL_SQL); break; } @@ -9961,7 +9982,7 @@ HogQLParser::IntervalContext* HogQLParser::interval() { }); try { enterOuterAlt(_localctx, 1); - setState(1118); + setState(1119); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 27021666484748288) != 0) || ((((_la - 68) & ~ 0x3fULL) == 0) && @@ -10356,7 +10377,7 @@ HogQLParser::KeywordContext* HogQLParser::keyword() { }); try { enterOuterAlt(_localctx, 1); - setState(1120); + setState(1121); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & -208293751046537218) != 0) || ((((_la - 64) & ~ 0x3fULL) == 0) && @@ -10427,7 +10448,7 @@ HogQLParser::KeywordForAliasContext* HogQLParser::keywordForAlias() { }); try { enterOuterAlt(_localctx, 1); - setState(1122); + setState(1123); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 70506452090880) != 0))) { @@ -10487,12 +10508,12 @@ HogQLParser::AliasContext* HogQLParser::alias() { exitRule(); }); try { - setState(1126); + setState(1127); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::IDENTIFIER: { enterOuterAlt(_localctx, 1); - setState(1124); + setState(1125); match(HogQLParser::IDENTIFIER); break; } @@ -10502,7 +10523,7 @@ HogQLParser::AliasContext* HogQLParser::alias() { case HogQLParser::ID: case HogQLParser::KEY: { enterOuterAlt(_localctx, 2); - setState(1125); + setState(1126); keywordForAlias(); break; } @@ -10564,12 +10585,12 @@ HogQLParser::IdentifierContext* HogQLParser::identifier() { exitRule(); }); try { - setState(1131); + setState(1132); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::IDENTIFIER: { enterOuterAlt(_localctx, 1); - setState(1128); + setState(1129); match(HogQLParser::IDENTIFIER); break; } @@ -10583,7 +10604,7 @@ HogQLParser::IdentifierContext* HogQLParser::identifier() { case HogQLParser::WEEK: case HogQLParser::YEAR: { enterOuterAlt(_localctx, 2); - setState(1129); + setState(1130); interval(); break; } @@ -10674,7 +10695,7 @@ HogQLParser::IdentifierContext* HogQLParser::identifier() { case HogQLParser::WINDOW: case HogQLParser::WITH: { enterOuterAlt(_localctx, 3); - setState(1130); + setState(1131); keyword(); break; } @@ -10737,11 +10758,11 @@ HogQLParser::EnumValueContext* HogQLParser::enumValue() { }); try { enterOuterAlt(_localctx, 1); - setState(1133); - string(); setState(1134); - match(HogQLParser::EQ_SINGLE); + string(); setState(1135); + match(HogQLParser::EQ_SINGLE); + setState(1136); numberLiteral(); } @@ -10798,11 +10819,11 @@ HogQLParser::PlaceholderContext* HogQLParser::placeholder() { }); try { enterOuterAlt(_localctx, 1); - setState(1137); - match(HogQLParser::LBRACE); setState(1138); - identifier(); + match(HogQLParser::LBRACE); setState(1139); + identifier(); + setState(1140); match(HogQLParser::RBRACE); } @@ -10854,19 +10875,19 @@ HogQLParser::StringContext* HogQLParser::string() { exitRule(); }); try { - setState(1143); + setState(1144); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::STRING_LITERAL: { enterOuterAlt(_localctx, 1); - setState(1141); + setState(1142); match(HogQLParser::STRING_LITERAL); break; } case HogQLParser::QUOTE_SINGLE_TEMPLATE: { enterOuterAlt(_localctx, 2); - setState(1142); + setState(1143); templateString(); break; } @@ -10934,21 +10955,21 @@ HogQLParser::TemplateStringContext* HogQLParser::templateString() { }); try { enterOuterAlt(_localctx, 1); - setState(1145); + setState(1146); match(HogQLParser::QUOTE_SINGLE_TEMPLATE); - setState(1149); + setState(1150); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::STRING_TEXT || _la == HogQLParser::STRING_ESCAPE_TRIGGER) { - setState(1146); + setState(1147); stringContents(); - setState(1151); + setState(1152); _errHandler->sync(this); _la = _input->LA(1); } - setState(1152); + setState(1153); match(HogQLParser::QUOTE_SINGLE); } @@ -11008,23 +11029,23 @@ HogQLParser::StringContentsContext* HogQLParser::stringContents() { exitRule(); }); try { - setState(1159); + setState(1160); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::STRING_ESCAPE_TRIGGER: { enterOuterAlt(_localctx, 1); - setState(1154); - match(HogQLParser::STRING_ESCAPE_TRIGGER); setState(1155); - columnExpr(0); + match(HogQLParser::STRING_ESCAPE_TRIGGER); setState(1156); + columnExpr(0); + setState(1157); match(HogQLParser::RBRACE); break; } case HogQLParser::STRING_TEXT: { enterOuterAlt(_localctx, 2); - setState(1158); + setState(1159); match(HogQLParser::STRING_TEXT); break; } @@ -11092,21 +11113,21 @@ HogQLParser::FullTemplateStringContext* HogQLParser::fullTemplateString() { }); try { enterOuterAlt(_localctx, 1); - setState(1161); + setState(1162); match(HogQLParser::QUOTE_SINGLE_TEMPLATE_FULL); - setState(1165); + setState(1166); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::FULL_STRING_TEXT || _la == HogQLParser::FULL_STRING_ESCAPE_TRIGGER) { - setState(1162); + setState(1163); stringContentsFull(); - setState(1167); + setState(1168); _errHandler->sync(this); _la = _input->LA(1); } - setState(1168); + setState(1169); match(HogQLParser::EOF); } @@ -11166,23 +11187,23 @@ HogQLParser::StringContentsFullContext* HogQLParser::stringContentsFull() { exitRule(); }); try { - setState(1175); + setState(1176); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::FULL_STRING_ESCAPE_TRIGGER: { enterOuterAlt(_localctx, 1); - setState(1170); - match(HogQLParser::FULL_STRING_ESCAPE_TRIGGER); setState(1171); - columnExpr(0); + match(HogQLParser::FULL_STRING_ESCAPE_TRIGGER); setState(1172); + columnExpr(0); + setState(1173); match(HogQLParser::RBRACE); break; } case HogQLParser::FULL_STRING_TEXT: { enterOuterAlt(_localctx, 2); - setState(1174); + setState(1175); match(HogQLParser::FULL_STRING_TEXT); break; } diff --git a/hogql_parser/HogQLParser.h b/hogql_parser/HogQLParser.h index 94f46d07b4562..9496b4e90c9ba 100644 --- a/hogql_parser/HogQLParser.h +++ b/hogql_parser/HogQLParser.h @@ -45,8 +45,8 @@ class HogQLParser : public antlr4::Parser { enum { RuleProgram = 0, RuleDeclaration = 1, RuleExpression = 2, RuleVarDecl = 3, - RuleVarAssignment = 4, RuleIdentifierList = 5, RuleStatement = 6, RuleExprStmt = 7, - RuleIfStmt = 8, RuleWhileStmt = 9, RuleReturnStmt = 10, RuleFuncStmt = 11, + RuleIdentifierList = 4, RuleStatement = 5, RuleReturnStmt = 6, RuleIfStmt = 7, + RuleWhileStmt = 8, RuleFuncStmt = 9, RuleVarAssignment = 10, RuleExprStmt = 11, RuleEmptyStmt = 12, RuleBlock = 13, RuleKvPair = 14, RuleKvPairList = 15, RuleSelect = 16, RuleSelectUnionStmt = 17, RuleSelectStmtWithParens = 18, RuleSelectStmt = 19, RuleWithClause = 20, RuleTopClause = 21, RuleFromClause = 22, @@ -92,14 +92,14 @@ class HogQLParser : public antlr4::Parser { class DeclarationContext; class ExpressionContext; class VarDeclContext; - class VarAssignmentContext; class IdentifierListContext; class StatementContext; - class ExprStmtContext; + class ReturnStmtContext; class IfStmtContext; class WhileStmtContext; - class ReturnStmtContext; class FuncStmtContext; + class VarAssignmentContext; + class ExprStmtContext; class EmptyStmtContext; class BlockContext; class KvPairContext; @@ -220,7 +220,6 @@ class HogQLParser : public antlr4::Parser { virtual size_t getRuleIndex() const override; antlr4::tree::TerminalNode *LET(); IdentifierContext *identifier(); - antlr4::tree::TerminalNode *SEMICOLON(); antlr4::tree::TerminalNode *COLON(); antlr4::tree::TerminalNode *EQ_SINGLE(); ExpressionContext *expression(); @@ -232,23 +231,6 @@ class HogQLParser : public antlr4::Parser { VarDeclContext* varDecl(); - class VarAssignmentContext : public antlr4::ParserRuleContext { - public: - VarAssignmentContext(antlr4::ParserRuleContext *parent, size_t invokingState); - virtual size_t getRuleIndex() const override; - std::vector expression(); - ExpressionContext* expression(size_t i); - antlr4::tree::TerminalNode *COLON(); - antlr4::tree::TerminalNode *EQ_SINGLE(); - antlr4::tree::TerminalNode *SEMICOLON(); - - - virtual std::any accept(antlr4::tree::ParseTreeVisitor *visitor) override; - - }; - - VarAssignmentContext* varAssignment(); - class IdentifierListContext : public antlr4::ParserRuleContext { public: IdentifierListContext(antlr4::ParserRuleContext *parent, size_t invokingState); @@ -270,12 +252,12 @@ class HogQLParser : public antlr4::Parser { StatementContext(antlr4::ParserRuleContext *parent, size_t invokingState); virtual size_t getRuleIndex() const override; ReturnStmtContext *returnStmt(); - EmptyStmtContext *emptyStmt(); - ExprStmtContext *exprStmt(); IfStmtContext *ifStmt(); WhileStmtContext *whileStmt(); FuncStmtContext *funcStmt(); VarAssignmentContext *varAssignment(); + ExprStmtContext *exprStmt(); + EmptyStmtContext *emptyStmt(); BlockContext *block(); @@ -285,10 +267,11 @@ class HogQLParser : public antlr4::Parser { StatementContext* statement(); - class ExprStmtContext : public antlr4::ParserRuleContext { + class ReturnStmtContext : public antlr4::ParserRuleContext { public: - ExprStmtContext(antlr4::ParserRuleContext *parent, size_t invokingState); + ReturnStmtContext(antlr4::ParserRuleContext *parent, size_t invokingState); virtual size_t getRuleIndex() const override; + antlr4::tree::TerminalNode *RETURN(); ExpressionContext *expression(); antlr4::tree::TerminalNode *SEMICOLON(); @@ -297,7 +280,7 @@ class HogQLParser : public antlr4::Parser { }; - ExprStmtContext* exprStmt(); + ReturnStmtContext* returnStmt(); class IfStmtContext : public antlr4::ParserRuleContext { public: @@ -327,20 +310,6 @@ class HogQLParser : public antlr4::Parser { ExpressionContext *expression(); antlr4::tree::TerminalNode *RPAREN(); StatementContext *statement(); - - - virtual std::any accept(antlr4::tree::ParseTreeVisitor *visitor) override; - - }; - - WhileStmtContext* whileStmt(); - - class ReturnStmtContext : public antlr4::ParserRuleContext { - public: - ReturnStmtContext(antlr4::ParserRuleContext *parent, size_t invokingState); - virtual size_t getRuleIndex() const override; - antlr4::tree::TerminalNode *RETURN(); - ExpressionContext *expression(); antlr4::tree::TerminalNode *SEMICOLON(); @@ -348,7 +317,7 @@ class HogQLParser : public antlr4::Parser { }; - ReturnStmtContext* returnStmt(); + WhileStmtContext* whileStmt(); class FuncStmtContext : public antlr4::ParserRuleContext { public: @@ -368,6 +337,36 @@ class HogQLParser : public antlr4::Parser { FuncStmtContext* funcStmt(); + class VarAssignmentContext : public antlr4::ParserRuleContext { + public: + VarAssignmentContext(antlr4::ParserRuleContext *parent, size_t invokingState); + virtual size_t getRuleIndex() const override; + std::vector expression(); + ExpressionContext* expression(size_t i); + antlr4::tree::TerminalNode *COLON(); + antlr4::tree::TerminalNode *EQ_SINGLE(); + + + virtual std::any accept(antlr4::tree::ParseTreeVisitor *visitor) override; + + }; + + VarAssignmentContext* varAssignment(); + + class ExprStmtContext : public antlr4::ParserRuleContext { + public: + ExprStmtContext(antlr4::ParserRuleContext *parent, size_t invokingState); + virtual size_t getRuleIndex() const override; + ExpressionContext *expression(); + antlr4::tree::TerminalNode *SEMICOLON(); + + + virtual std::any accept(antlr4::tree::ParseTreeVisitor *visitor) override; + + }; + + ExprStmtContext* exprStmt(); + class EmptyStmtContext : public antlr4::ParserRuleContext { public: EmptyStmtContext(antlr4::ParserRuleContext *parent, size_t invokingState); @@ -1246,7 +1245,6 @@ class HogQLParser : public antlr4::Parser { ColumnExprAliasContext(ColumnExprContext *ctx); ColumnExprContext *columnExpr(); - AliasContext *alias(); antlr4::tree::TerminalNode *AS(); IdentifierContext *identifier(); antlr4::tree::TerminalNode *STRING_LITERAL(); diff --git a/hogql_parser/HogQLParser.interp b/hogql_parser/HogQLParser.interp index 086eca220c32f..620eb0b471748 100644 --- a/hogql_parser/HogQLParser.interp +++ b/hogql_parser/HogQLParser.interp @@ -317,14 +317,14 @@ program declaration expression varDecl -varAssignment identifierList statement -exprStmt +returnStmt ifStmt whileStmt -returnStmt funcStmt +varAssignment +exprStmt emptyStmt block kvPair @@ -399,4 +399,4 @@ stringContentsFull atn: -[4, 1, 154, 1178, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 1, 0, 5, 0, 168, 8, 0, 10, 0, 12, 0, 171, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 3, 1, 177, 8, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 3, 3, 186, 8, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 5, 5, 199, 8, 5, 10, 5, 12, 5, 202, 9, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 3, 6, 213, 8, 6, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 225, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 3, 11, 241, 8, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 13, 1, 13, 5, 13, 250, 8, 13, 10, 13, 12, 13, 253, 9, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 5, 15, 264, 8, 15, 10, 15, 12, 15, 267, 9, 15, 1, 16, 1, 16, 1, 16, 3, 16, 272, 8, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 5, 17, 280, 8, 17, 10, 17, 12, 17, 283, 9, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 291, 8, 18, 1, 19, 3, 19, 294, 8, 19, 1, 19, 1, 19, 3, 19, 298, 8, 19, 1, 19, 3, 19, 301, 8, 19, 1, 19, 1, 19, 3, 19, 305, 8, 19, 1, 19, 3, 19, 308, 8, 19, 1, 19, 3, 19, 311, 8, 19, 1, 19, 3, 19, 314, 8, 19, 1, 19, 3, 19, 317, 8, 19, 1, 19, 1, 19, 3, 19, 321, 8, 19, 1, 19, 1, 19, 3, 19, 325, 8, 19, 1, 19, 3, 19, 328, 8, 19, 1, 19, 3, 19, 331, 8, 19, 1, 19, 3, 19, 334, 8, 19, 1, 19, 1, 19, 3, 19, 338, 8, 19, 1, 19, 3, 19, 341, 8, 19, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 350, 8, 21, 1, 22, 1, 22, 1, 22, 1, 23, 3, 23, 356, 8, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 5, 24, 375, 8, 24, 10, 24, 12, 24, 378, 9, 24, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 394, 8, 27, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 411, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 417, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 423, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 434, 8, 31, 3, 31, 436, 8, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 3, 34, 447, 8, 34, 1, 34, 3, 34, 450, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 456, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 464, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 5, 34, 470, 8, 34, 10, 34, 12, 34, 473, 9, 34, 1, 35, 3, 35, 476, 8, 35, 1, 35, 1, 35, 1, 35, 3, 35, 481, 8, 35, 1, 35, 3, 35, 484, 8, 35, 1, 35, 3, 35, 487, 8, 35, 1, 35, 1, 35, 3, 35, 491, 8, 35, 1, 35, 1, 35, 3, 35, 495, 8, 35, 1, 35, 3, 35, 498, 8, 35, 3, 35, 500, 8, 35, 1, 35, 3, 35, 503, 8, 35, 1, 35, 1, 35, 3, 35, 507, 8, 35, 1, 35, 1, 35, 3, 35, 511, 8, 35, 1, 35, 3, 35, 514, 8, 35, 3, 35, 516, 8, 35, 3, 35, 518, 8, 35, 1, 36, 1, 36, 1, 36, 3, 36, 523, 8, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 534, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 540, 8, 38, 1, 39, 1, 39, 1, 39, 5, 39, 545, 8, 39, 10, 39, 12, 39, 548, 9, 39, 1, 40, 1, 40, 3, 40, 552, 8, 40, 1, 40, 1, 40, 3, 40, 556, 8, 40, 1, 40, 1, 40, 3, 40, 560, 8, 40, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 566, 8, 41, 3, 41, 568, 8, 41, 1, 42, 1, 42, 1, 42, 5, 42, 573, 8, 42, 10, 42, 12, 42, 576, 9, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 3, 44, 583, 8, 44, 1, 44, 3, 44, 586, 8, 44, 1, 44, 3, 44, 589, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 3, 48, 608, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 622, 8, 49, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 636, 8, 51, 10, 51, 12, 51, 639, 9, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 648, 8, 51, 10, 51, 12, 51, 651, 9, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 660, 8, 51, 10, 51, 12, 51, 663, 9, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 670, 8, 51, 1, 51, 1, 51, 3, 51, 674, 8, 51, 1, 52, 1, 52, 1, 52, 5, 52, 679, 8, 52, 10, 52, 12, 52, 682, 9, 52, 1, 53, 1, 53, 1, 53, 3, 53, 687, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 4, 53, 694, 8, 53, 11, 53, 12, 53, 695, 1, 53, 1, 53, 3, 53, 700, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 724, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 741, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 747, 8, 53, 1, 53, 3, 53, 750, 8, 53, 1, 53, 3, 53, 753, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 763, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 769, 8, 53, 1, 53, 3, 53, 772, 8, 53, 1, 53, 3, 53, 775, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 783, 8, 53, 1, 53, 3, 53, 786, 8, 53, 1, 53, 1, 53, 3, 53, 790, 8, 53, 1, 53, 3, 53, 793, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 807, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 824, 8, 53, 1, 53, 1, 53, 1, 53, 3, 53, 829, 8, 53, 1, 53, 1, 53, 3, 53, 833, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 839, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 846, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 858, 8, 53, 1, 53, 1, 53, 3, 53, 862, 8, 53, 1, 53, 3, 53, 865, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 874, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 888, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 915, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 924, 8, 53, 5, 53, 926, 8, 53, 10, 53, 12, 53, 929, 9, 53, 1, 54, 1, 54, 1, 54, 5, 54, 934, 8, 54, 10, 54, 12, 54, 937, 9, 54, 1, 55, 1, 55, 3, 55, 941, 8, 55, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 947, 8, 56, 10, 56, 12, 56, 950, 9, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 957, 8, 56, 10, 56, 12, 56, 960, 9, 56, 3, 56, 962, 8, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 5, 57, 970, 8, 57, 10, 57, 12, 57, 973, 9, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 981, 8, 57, 10, 57, 12, 57, 984, 9, 57, 1, 57, 1, 57, 3, 57, 988, 8, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 3, 57, 995, 8, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 1008, 8, 58, 1, 59, 1, 59, 1, 59, 5, 59, 1013, 8, 59, 10, 59, 12, 59, 1016, 9, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 3, 60, 1028, 8, 60, 1, 61, 1, 61, 1, 61, 1, 61, 3, 61, 1034, 8, 61, 1, 61, 3, 61, 1037, 8, 61, 1, 62, 1, 62, 1, 62, 5, 62, 1042, 8, 62, 10, 62, 12, 62, 1045, 9, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 1056, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 1062, 8, 63, 5, 63, 1064, 8, 63, 10, 63, 12, 63, 1067, 9, 63, 1, 64, 1, 64, 1, 64, 3, 64, 1072, 8, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 3, 65, 1079, 8, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 5, 66, 1086, 8, 66, 10, 66, 12, 66, 1089, 9, 66, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 1099, 8, 68, 3, 68, 1101, 8, 68, 1, 69, 3, 69, 1104, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 1112, 8, 69, 1, 70, 1, 70, 1, 70, 3, 70, 1117, 8, 70, 1, 71, 1, 71, 1, 72, 1, 72, 1, 73, 1, 73, 1, 74, 1, 74, 3, 74, 1127, 8, 74, 1, 75, 1, 75, 1, 75, 3, 75, 1132, 8, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 3, 78, 1144, 8, 78, 1, 79, 1, 79, 5, 79, 1148, 8, 79, 10, 79, 12, 79, 1151, 9, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 3, 80, 1160, 8, 80, 1, 81, 1, 81, 5, 81, 1164, 8, 81, 10, 81, 12, 81, 1167, 9, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 3, 82, 1176, 8, 82, 1, 82, 0, 3, 68, 106, 126, 83, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 0, 16, 2, 0, 17, 17, 72, 72, 2, 0, 42, 42, 49, 49, 3, 0, 1, 1, 4, 4, 8, 8, 4, 0, 1, 1, 3, 4, 8, 8, 78, 78, 2, 0, 49, 49, 71, 71, 2, 0, 1, 1, 4, 4, 2, 0, 7, 7, 21, 22, 2, 0, 28, 28, 47, 47, 2, 0, 69, 69, 74, 74, 3, 0, 10, 10, 48, 48, 87, 87, 2, 0, 39, 39, 51, 51, 1, 0, 103, 104, 2, 0, 114, 114, 134, 134, 7, 0, 20, 20, 36, 36, 53, 54, 68, 68, 76, 76, 93, 93, 99, 99, 12, 0, 1, 19, 21, 28, 30, 35, 37, 40, 42, 49, 51, 52, 56, 56, 58, 67, 69, 75, 77, 92, 94, 95, 97, 98, 4, 0, 19, 19, 28, 28, 37, 37, 46, 46, 1314, 0, 169, 1, 0, 0, 0, 2, 176, 1, 0, 0, 0, 4, 178, 1, 0, 0, 0, 6, 180, 1, 0, 0, 0, 8, 189, 1, 0, 0, 0, 10, 195, 1, 0, 0, 0, 12, 212, 1, 0, 0, 0, 14, 214, 1, 0, 0, 0, 16, 217, 1, 0, 0, 0, 18, 226, 1, 0, 0, 0, 20, 232, 1, 0, 0, 0, 22, 236, 1, 0, 0, 0, 24, 245, 1, 0, 0, 0, 26, 247, 1, 0, 0, 0, 28, 256, 1, 0, 0, 0, 30, 260, 1, 0, 0, 0, 32, 271, 1, 0, 0, 0, 34, 275, 1, 0, 0, 0, 36, 290, 1, 0, 0, 0, 38, 293, 1, 0, 0, 0, 40, 342, 1, 0, 0, 0, 42, 345, 1, 0, 0, 0, 44, 351, 1, 0, 0, 0, 46, 355, 1, 0, 0, 0, 48, 361, 1, 0, 0, 0, 50, 379, 1, 0, 0, 0, 52, 382, 1, 0, 0, 0, 54, 385, 1, 0, 0, 0, 56, 395, 1, 0, 0, 0, 58, 398, 1, 0, 0, 0, 60, 402, 1, 0, 0, 0, 62, 435, 1, 0, 0, 0, 64, 437, 1, 0, 0, 0, 66, 440, 1, 0, 0, 0, 68, 455, 1, 0, 0, 0, 70, 517, 1, 0, 0, 0, 72, 522, 1, 0, 0, 0, 74, 533, 1, 0, 0, 0, 76, 535, 1, 0, 0, 0, 78, 541, 1, 0, 0, 0, 80, 549, 1, 0, 0, 0, 82, 567, 1, 0, 0, 0, 84, 569, 1, 0, 0, 0, 86, 577, 1, 0, 0, 0, 88, 582, 1, 0, 0, 0, 90, 590, 1, 0, 0, 0, 92, 594, 1, 0, 0, 0, 94, 598, 1, 0, 0, 0, 96, 607, 1, 0, 0, 0, 98, 621, 1, 0, 0, 0, 100, 623, 1, 0, 0, 0, 102, 673, 1, 0, 0, 0, 104, 675, 1, 0, 0, 0, 106, 832, 1, 0, 0, 0, 108, 930, 1, 0, 0, 0, 110, 940, 1, 0, 0, 0, 112, 961, 1, 0, 0, 0, 114, 994, 1, 0, 0, 0, 116, 1007, 1, 0, 0, 0, 118, 1009, 1, 0, 0, 0, 120, 1027, 1, 0, 0, 0, 122, 1036, 1, 0, 0, 0, 124, 1038, 1, 0, 0, 0, 126, 1055, 1, 0, 0, 0, 128, 1068, 1, 0, 0, 0, 130, 1078, 1, 0, 0, 0, 132, 1082, 1, 0, 0, 0, 134, 1090, 1, 0, 0, 0, 136, 1100, 1, 0, 0, 0, 138, 1103, 1, 0, 0, 0, 140, 1116, 1, 0, 0, 0, 142, 1118, 1, 0, 0, 0, 144, 1120, 1, 0, 0, 0, 146, 1122, 1, 0, 0, 0, 148, 1126, 1, 0, 0, 0, 150, 1131, 1, 0, 0, 0, 152, 1133, 1, 0, 0, 0, 154, 1137, 1, 0, 0, 0, 156, 1143, 1, 0, 0, 0, 158, 1145, 1, 0, 0, 0, 160, 1159, 1, 0, 0, 0, 162, 1161, 1, 0, 0, 0, 164, 1175, 1, 0, 0, 0, 166, 168, 3, 2, 1, 0, 167, 166, 1, 0, 0, 0, 168, 171, 1, 0, 0, 0, 169, 167, 1, 0, 0, 0, 169, 170, 1, 0, 0, 0, 170, 172, 1, 0, 0, 0, 171, 169, 1, 0, 0, 0, 172, 173, 5, 0, 0, 1, 173, 1, 1, 0, 0, 0, 174, 177, 3, 6, 3, 0, 175, 177, 3, 12, 6, 0, 176, 174, 1, 0, 0, 0, 176, 175, 1, 0, 0, 0, 177, 3, 1, 0, 0, 0, 178, 179, 3, 106, 53, 0, 179, 5, 1, 0, 0, 0, 180, 181, 5, 50, 0, 0, 181, 185, 3, 150, 75, 0, 182, 183, 5, 111, 0, 0, 183, 184, 5, 118, 0, 0, 184, 186, 3, 4, 2, 0, 185, 182, 1, 0, 0, 0, 185, 186, 1, 0, 0, 0, 186, 187, 1, 0, 0, 0, 187, 188, 5, 145, 0, 0, 188, 7, 1, 0, 0, 0, 189, 190, 3, 4, 2, 0, 190, 191, 5, 111, 0, 0, 191, 192, 5, 118, 0, 0, 192, 193, 3, 4, 2, 0, 193, 194, 5, 145, 0, 0, 194, 9, 1, 0, 0, 0, 195, 200, 3, 150, 75, 0, 196, 197, 5, 112, 0, 0, 197, 199, 3, 150, 75, 0, 198, 196, 1, 0, 0, 0, 199, 202, 1, 0, 0, 0, 200, 198, 1, 0, 0, 0, 200, 201, 1, 0, 0, 0, 201, 11, 1, 0, 0, 0, 202, 200, 1, 0, 0, 0, 203, 213, 3, 20, 10, 0, 204, 213, 3, 24, 12, 0, 205, 213, 3, 14, 7, 0, 206, 213, 3, 16, 8, 0, 207, 213, 3, 18, 9, 0, 208, 213, 3, 22, 11, 0, 209, 213, 3, 8, 4, 0, 210, 213, 3, 20, 10, 0, 211, 213, 3, 26, 13, 0, 212, 203, 1, 0, 0, 0, 212, 204, 1, 0, 0, 0, 212, 205, 1, 0, 0, 0, 212, 206, 1, 0, 0, 0, 212, 207, 1, 0, 0, 0, 212, 208, 1, 0, 0, 0, 212, 209, 1, 0, 0, 0, 212, 210, 1, 0, 0, 0, 212, 211, 1, 0, 0, 0, 213, 13, 1, 0, 0, 0, 214, 215, 3, 4, 2, 0, 215, 216, 5, 145, 0, 0, 216, 15, 1, 0, 0, 0, 217, 218, 5, 38, 0, 0, 218, 219, 5, 126, 0, 0, 219, 220, 3, 4, 2, 0, 220, 221, 5, 144, 0, 0, 221, 224, 3, 12, 6, 0, 222, 223, 5, 24, 0, 0, 223, 225, 3, 12, 6, 0, 224, 222, 1, 0, 0, 0, 224, 225, 1, 0, 0, 0, 225, 17, 1, 0, 0, 0, 226, 227, 5, 96, 0, 0, 227, 228, 5, 126, 0, 0, 228, 229, 3, 4, 2, 0, 229, 230, 5, 144, 0, 0, 230, 231, 3, 12, 6, 0, 231, 19, 1, 0, 0, 0, 232, 233, 5, 70, 0, 0, 233, 234, 3, 4, 2, 0, 234, 235, 5, 145, 0, 0, 235, 21, 1, 0, 0, 0, 236, 237, 5, 29, 0, 0, 237, 238, 3, 150, 75, 0, 238, 240, 5, 126, 0, 0, 239, 241, 3, 10, 5, 0, 240, 239, 1, 0, 0, 0, 240, 241, 1, 0, 0, 0, 241, 242, 1, 0, 0, 0, 242, 243, 5, 144, 0, 0, 243, 244, 3, 26, 13, 0, 244, 23, 1, 0, 0, 0, 245, 246, 5, 145, 0, 0, 246, 25, 1, 0, 0, 0, 247, 251, 5, 124, 0, 0, 248, 250, 3, 2, 1, 0, 249, 248, 1, 0, 0, 0, 250, 253, 1, 0, 0, 0, 251, 249, 1, 0, 0, 0, 251, 252, 1, 0, 0, 0, 252, 254, 1, 0, 0, 0, 253, 251, 1, 0, 0, 0, 254, 255, 5, 142, 0, 0, 255, 27, 1, 0, 0, 0, 256, 257, 3, 4, 2, 0, 257, 258, 5, 111, 0, 0, 258, 259, 3, 4, 2, 0, 259, 29, 1, 0, 0, 0, 260, 265, 3, 28, 14, 0, 261, 262, 5, 112, 0, 0, 262, 264, 3, 28, 14, 0, 263, 261, 1, 0, 0, 0, 264, 267, 1, 0, 0, 0, 265, 263, 1, 0, 0, 0, 265, 266, 1, 0, 0, 0, 266, 31, 1, 0, 0, 0, 267, 265, 1, 0, 0, 0, 268, 272, 3, 34, 17, 0, 269, 272, 3, 38, 19, 0, 270, 272, 3, 114, 57, 0, 271, 268, 1, 0, 0, 0, 271, 269, 1, 0, 0, 0, 271, 270, 1, 0, 0, 0, 272, 273, 1, 0, 0, 0, 273, 274, 5, 0, 0, 1, 274, 33, 1, 0, 0, 0, 275, 281, 3, 36, 18, 0, 276, 277, 5, 91, 0, 0, 277, 278, 5, 1, 0, 0, 278, 280, 3, 36, 18, 0, 279, 276, 1, 0, 0, 0, 280, 283, 1, 0, 0, 0, 281, 279, 1, 0, 0, 0, 281, 282, 1, 0, 0, 0, 282, 35, 1, 0, 0, 0, 283, 281, 1, 0, 0, 0, 284, 291, 3, 38, 19, 0, 285, 286, 5, 126, 0, 0, 286, 287, 3, 34, 17, 0, 287, 288, 5, 144, 0, 0, 288, 291, 1, 0, 0, 0, 289, 291, 3, 154, 77, 0, 290, 284, 1, 0, 0, 0, 290, 285, 1, 0, 0, 0, 290, 289, 1, 0, 0, 0, 291, 37, 1, 0, 0, 0, 292, 294, 3, 40, 20, 0, 293, 292, 1, 0, 0, 0, 293, 294, 1, 0, 0, 0, 294, 295, 1, 0, 0, 0, 295, 297, 5, 77, 0, 0, 296, 298, 5, 23, 0, 0, 297, 296, 1, 0, 0, 0, 297, 298, 1, 0, 0, 0, 298, 300, 1, 0, 0, 0, 299, 301, 3, 42, 21, 0, 300, 299, 1, 0, 0, 0, 300, 301, 1, 0, 0, 0, 301, 302, 1, 0, 0, 0, 302, 304, 3, 104, 52, 0, 303, 305, 3, 44, 22, 0, 304, 303, 1, 0, 0, 0, 304, 305, 1, 0, 0, 0, 305, 307, 1, 0, 0, 0, 306, 308, 3, 46, 23, 0, 307, 306, 1, 0, 0, 0, 307, 308, 1, 0, 0, 0, 308, 310, 1, 0, 0, 0, 309, 311, 3, 50, 25, 0, 310, 309, 1, 0, 0, 0, 310, 311, 1, 0, 0, 0, 311, 313, 1, 0, 0, 0, 312, 314, 3, 52, 26, 0, 313, 312, 1, 0, 0, 0, 313, 314, 1, 0, 0, 0, 314, 316, 1, 0, 0, 0, 315, 317, 3, 54, 27, 0, 316, 315, 1, 0, 0, 0, 316, 317, 1, 0, 0, 0, 317, 320, 1, 0, 0, 0, 318, 319, 5, 98, 0, 0, 319, 321, 7, 0, 0, 0, 320, 318, 1, 0, 0, 0, 320, 321, 1, 0, 0, 0, 321, 324, 1, 0, 0, 0, 322, 323, 5, 98, 0, 0, 323, 325, 5, 86, 0, 0, 324, 322, 1, 0, 0, 0, 324, 325, 1, 0, 0, 0, 325, 327, 1, 0, 0, 0, 326, 328, 3, 56, 28, 0, 327, 326, 1, 0, 0, 0, 327, 328, 1, 0, 0, 0, 328, 330, 1, 0, 0, 0, 329, 331, 3, 48, 24, 0, 330, 329, 1, 0, 0, 0, 330, 331, 1, 0, 0, 0, 331, 333, 1, 0, 0, 0, 332, 334, 3, 58, 29, 0, 333, 332, 1, 0, 0, 0, 333, 334, 1, 0, 0, 0, 334, 337, 1, 0, 0, 0, 335, 338, 3, 62, 31, 0, 336, 338, 3, 64, 32, 0, 337, 335, 1, 0, 0, 0, 337, 336, 1, 0, 0, 0, 337, 338, 1, 0, 0, 0, 338, 340, 1, 0, 0, 0, 339, 341, 3, 66, 33, 0, 340, 339, 1, 0, 0, 0, 340, 341, 1, 0, 0, 0, 341, 39, 1, 0, 0, 0, 342, 343, 5, 98, 0, 0, 343, 344, 3, 118, 59, 0, 344, 41, 1, 0, 0, 0, 345, 346, 5, 85, 0, 0, 346, 349, 5, 104, 0, 0, 347, 348, 5, 98, 0, 0, 348, 350, 5, 82, 0, 0, 349, 347, 1, 0, 0, 0, 349, 350, 1, 0, 0, 0, 350, 43, 1, 0, 0, 0, 351, 352, 5, 32, 0, 0, 352, 353, 3, 68, 34, 0, 353, 45, 1, 0, 0, 0, 354, 356, 7, 1, 0, 0, 355, 354, 1, 0, 0, 0, 355, 356, 1, 0, 0, 0, 356, 357, 1, 0, 0, 0, 357, 358, 5, 5, 0, 0, 358, 359, 5, 45, 0, 0, 359, 360, 3, 104, 52, 0, 360, 47, 1, 0, 0, 0, 361, 362, 5, 97, 0, 0, 362, 363, 3, 150, 75, 0, 363, 364, 5, 6, 0, 0, 364, 365, 5, 126, 0, 0, 365, 366, 3, 88, 44, 0, 366, 376, 5, 144, 0, 0, 367, 368, 5, 112, 0, 0, 368, 369, 3, 150, 75, 0, 369, 370, 5, 6, 0, 0, 370, 371, 5, 126, 0, 0, 371, 372, 3, 88, 44, 0, 372, 373, 5, 144, 0, 0, 373, 375, 1, 0, 0, 0, 374, 367, 1, 0, 0, 0, 375, 378, 1, 0, 0, 0, 376, 374, 1, 0, 0, 0, 376, 377, 1, 0, 0, 0, 377, 49, 1, 0, 0, 0, 378, 376, 1, 0, 0, 0, 379, 380, 5, 67, 0, 0, 380, 381, 3, 106, 53, 0, 381, 51, 1, 0, 0, 0, 382, 383, 5, 95, 0, 0, 383, 384, 3, 106, 53, 0, 384, 53, 1, 0, 0, 0, 385, 386, 5, 34, 0, 0, 386, 393, 5, 11, 0, 0, 387, 388, 7, 0, 0, 0, 388, 389, 5, 126, 0, 0, 389, 390, 3, 104, 52, 0, 390, 391, 5, 144, 0, 0, 391, 394, 1, 0, 0, 0, 392, 394, 3, 104, 52, 0, 393, 387, 1, 0, 0, 0, 393, 392, 1, 0, 0, 0, 394, 55, 1, 0, 0, 0, 395, 396, 5, 35, 0, 0, 396, 397, 3, 106, 53, 0, 397, 57, 1, 0, 0, 0, 398, 399, 5, 62, 0, 0, 399, 400, 5, 11, 0, 0, 400, 401, 3, 78, 39, 0, 401, 59, 1, 0, 0, 0, 402, 403, 5, 62, 0, 0, 403, 404, 5, 11, 0, 0, 404, 405, 3, 104, 52, 0, 405, 61, 1, 0, 0, 0, 406, 407, 5, 52, 0, 0, 407, 410, 3, 106, 53, 0, 408, 409, 5, 112, 0, 0, 409, 411, 3, 106, 53, 0, 410, 408, 1, 0, 0, 0, 410, 411, 1, 0, 0, 0, 411, 416, 1, 0, 0, 0, 412, 413, 5, 98, 0, 0, 413, 417, 5, 82, 0, 0, 414, 415, 5, 11, 0, 0, 415, 417, 3, 104, 52, 0, 416, 412, 1, 0, 0, 0, 416, 414, 1, 0, 0, 0, 416, 417, 1, 0, 0, 0, 417, 436, 1, 0, 0, 0, 418, 419, 5, 52, 0, 0, 419, 422, 3, 106, 53, 0, 420, 421, 5, 98, 0, 0, 421, 423, 5, 82, 0, 0, 422, 420, 1, 0, 0, 0, 422, 423, 1, 0, 0, 0, 423, 424, 1, 0, 0, 0, 424, 425, 5, 59, 0, 0, 425, 426, 3, 106, 53, 0, 426, 436, 1, 0, 0, 0, 427, 428, 5, 52, 0, 0, 428, 429, 3, 106, 53, 0, 429, 430, 5, 59, 0, 0, 430, 433, 3, 106, 53, 0, 431, 432, 5, 11, 0, 0, 432, 434, 3, 104, 52, 0, 433, 431, 1, 0, 0, 0, 433, 434, 1, 0, 0, 0, 434, 436, 1, 0, 0, 0, 435, 406, 1, 0, 0, 0, 435, 418, 1, 0, 0, 0, 435, 427, 1, 0, 0, 0, 436, 63, 1, 0, 0, 0, 437, 438, 5, 59, 0, 0, 438, 439, 3, 106, 53, 0, 439, 65, 1, 0, 0, 0, 440, 441, 5, 79, 0, 0, 441, 442, 3, 84, 42, 0, 442, 67, 1, 0, 0, 0, 443, 444, 6, 34, -1, 0, 444, 446, 3, 126, 63, 0, 445, 447, 5, 27, 0, 0, 446, 445, 1, 0, 0, 0, 446, 447, 1, 0, 0, 0, 447, 449, 1, 0, 0, 0, 448, 450, 3, 76, 38, 0, 449, 448, 1, 0, 0, 0, 449, 450, 1, 0, 0, 0, 450, 456, 1, 0, 0, 0, 451, 452, 5, 126, 0, 0, 452, 453, 3, 68, 34, 0, 453, 454, 5, 144, 0, 0, 454, 456, 1, 0, 0, 0, 455, 443, 1, 0, 0, 0, 455, 451, 1, 0, 0, 0, 456, 471, 1, 0, 0, 0, 457, 458, 10, 3, 0, 0, 458, 459, 3, 72, 36, 0, 459, 460, 3, 68, 34, 4, 460, 470, 1, 0, 0, 0, 461, 463, 10, 4, 0, 0, 462, 464, 3, 70, 35, 0, 463, 462, 1, 0, 0, 0, 463, 464, 1, 0, 0, 0, 464, 465, 1, 0, 0, 0, 465, 466, 5, 45, 0, 0, 466, 467, 3, 68, 34, 0, 467, 468, 3, 74, 37, 0, 468, 470, 1, 0, 0, 0, 469, 457, 1, 0, 0, 0, 469, 461, 1, 0, 0, 0, 470, 473, 1, 0, 0, 0, 471, 469, 1, 0, 0, 0, 471, 472, 1, 0, 0, 0, 472, 69, 1, 0, 0, 0, 473, 471, 1, 0, 0, 0, 474, 476, 7, 2, 0, 0, 475, 474, 1, 0, 0, 0, 475, 476, 1, 0, 0, 0, 476, 477, 1, 0, 0, 0, 477, 484, 5, 42, 0, 0, 478, 480, 5, 42, 0, 0, 479, 481, 7, 2, 0, 0, 480, 479, 1, 0, 0, 0, 480, 481, 1, 0, 0, 0, 481, 484, 1, 0, 0, 0, 482, 484, 7, 2, 0, 0, 483, 475, 1, 0, 0, 0, 483, 478, 1, 0, 0, 0, 483, 482, 1, 0, 0, 0, 484, 518, 1, 0, 0, 0, 485, 487, 7, 3, 0, 0, 486, 485, 1, 0, 0, 0, 486, 487, 1, 0, 0, 0, 487, 488, 1, 0, 0, 0, 488, 490, 7, 4, 0, 0, 489, 491, 5, 63, 0, 0, 490, 489, 1, 0, 0, 0, 490, 491, 1, 0, 0, 0, 491, 500, 1, 0, 0, 0, 492, 494, 7, 4, 0, 0, 493, 495, 5, 63, 0, 0, 494, 493, 1, 0, 0, 0, 494, 495, 1, 0, 0, 0, 495, 497, 1, 0, 0, 0, 496, 498, 7, 3, 0, 0, 497, 496, 1, 0, 0, 0, 497, 498, 1, 0, 0, 0, 498, 500, 1, 0, 0, 0, 499, 486, 1, 0, 0, 0, 499, 492, 1, 0, 0, 0, 500, 518, 1, 0, 0, 0, 501, 503, 7, 5, 0, 0, 502, 501, 1, 0, 0, 0, 502, 503, 1, 0, 0, 0, 503, 504, 1, 0, 0, 0, 504, 506, 5, 33, 0, 0, 505, 507, 5, 63, 0, 0, 506, 505, 1, 0, 0, 0, 506, 507, 1, 0, 0, 0, 507, 516, 1, 0, 0, 0, 508, 510, 5, 33, 0, 0, 509, 511, 5, 63, 0, 0, 510, 509, 1, 0, 0, 0, 510, 511, 1, 0, 0, 0, 511, 513, 1, 0, 0, 0, 512, 514, 7, 5, 0, 0, 513, 512, 1, 0, 0, 0, 513, 514, 1, 0, 0, 0, 514, 516, 1, 0, 0, 0, 515, 502, 1, 0, 0, 0, 515, 508, 1, 0, 0, 0, 516, 518, 1, 0, 0, 0, 517, 483, 1, 0, 0, 0, 517, 499, 1, 0, 0, 0, 517, 515, 1, 0, 0, 0, 518, 71, 1, 0, 0, 0, 519, 520, 5, 16, 0, 0, 520, 523, 5, 45, 0, 0, 521, 523, 5, 112, 0, 0, 522, 519, 1, 0, 0, 0, 522, 521, 1, 0, 0, 0, 523, 73, 1, 0, 0, 0, 524, 525, 5, 60, 0, 0, 525, 534, 3, 104, 52, 0, 526, 527, 5, 92, 0, 0, 527, 528, 5, 126, 0, 0, 528, 529, 3, 104, 52, 0, 529, 530, 5, 144, 0, 0, 530, 534, 1, 0, 0, 0, 531, 532, 5, 92, 0, 0, 532, 534, 3, 104, 52, 0, 533, 524, 1, 0, 0, 0, 533, 526, 1, 0, 0, 0, 533, 531, 1, 0, 0, 0, 534, 75, 1, 0, 0, 0, 535, 536, 5, 75, 0, 0, 536, 539, 3, 82, 41, 0, 537, 538, 5, 59, 0, 0, 538, 540, 3, 82, 41, 0, 539, 537, 1, 0, 0, 0, 539, 540, 1, 0, 0, 0, 540, 77, 1, 0, 0, 0, 541, 546, 3, 80, 40, 0, 542, 543, 5, 112, 0, 0, 543, 545, 3, 80, 40, 0, 544, 542, 1, 0, 0, 0, 545, 548, 1, 0, 0, 0, 546, 544, 1, 0, 0, 0, 546, 547, 1, 0, 0, 0, 547, 79, 1, 0, 0, 0, 548, 546, 1, 0, 0, 0, 549, 551, 3, 106, 53, 0, 550, 552, 7, 6, 0, 0, 551, 550, 1, 0, 0, 0, 551, 552, 1, 0, 0, 0, 552, 555, 1, 0, 0, 0, 553, 554, 5, 58, 0, 0, 554, 556, 7, 7, 0, 0, 555, 553, 1, 0, 0, 0, 555, 556, 1, 0, 0, 0, 556, 559, 1, 0, 0, 0, 557, 558, 5, 15, 0, 0, 558, 560, 5, 106, 0, 0, 559, 557, 1, 0, 0, 0, 559, 560, 1, 0, 0, 0, 560, 81, 1, 0, 0, 0, 561, 568, 3, 154, 77, 0, 562, 565, 3, 138, 69, 0, 563, 564, 5, 146, 0, 0, 564, 566, 3, 138, 69, 0, 565, 563, 1, 0, 0, 0, 565, 566, 1, 0, 0, 0, 566, 568, 1, 0, 0, 0, 567, 561, 1, 0, 0, 0, 567, 562, 1, 0, 0, 0, 568, 83, 1, 0, 0, 0, 569, 574, 3, 86, 43, 0, 570, 571, 5, 112, 0, 0, 571, 573, 3, 86, 43, 0, 572, 570, 1, 0, 0, 0, 573, 576, 1, 0, 0, 0, 574, 572, 1, 0, 0, 0, 574, 575, 1, 0, 0, 0, 575, 85, 1, 0, 0, 0, 576, 574, 1, 0, 0, 0, 577, 578, 3, 150, 75, 0, 578, 579, 5, 118, 0, 0, 579, 580, 3, 140, 70, 0, 580, 87, 1, 0, 0, 0, 581, 583, 3, 90, 45, 0, 582, 581, 1, 0, 0, 0, 582, 583, 1, 0, 0, 0, 583, 585, 1, 0, 0, 0, 584, 586, 3, 92, 46, 0, 585, 584, 1, 0, 0, 0, 585, 586, 1, 0, 0, 0, 586, 588, 1, 0, 0, 0, 587, 589, 3, 94, 47, 0, 588, 587, 1, 0, 0, 0, 588, 589, 1, 0, 0, 0, 589, 89, 1, 0, 0, 0, 590, 591, 5, 65, 0, 0, 591, 592, 5, 11, 0, 0, 592, 593, 3, 104, 52, 0, 593, 91, 1, 0, 0, 0, 594, 595, 5, 62, 0, 0, 595, 596, 5, 11, 0, 0, 596, 597, 3, 78, 39, 0, 597, 93, 1, 0, 0, 0, 598, 599, 7, 8, 0, 0, 599, 600, 3, 96, 48, 0, 600, 95, 1, 0, 0, 0, 601, 608, 3, 98, 49, 0, 602, 603, 5, 9, 0, 0, 603, 604, 3, 98, 49, 0, 604, 605, 5, 2, 0, 0, 605, 606, 3, 98, 49, 0, 606, 608, 1, 0, 0, 0, 607, 601, 1, 0, 0, 0, 607, 602, 1, 0, 0, 0, 608, 97, 1, 0, 0, 0, 609, 610, 5, 18, 0, 0, 610, 622, 5, 73, 0, 0, 611, 612, 5, 90, 0, 0, 612, 622, 5, 66, 0, 0, 613, 614, 5, 90, 0, 0, 614, 622, 5, 30, 0, 0, 615, 616, 3, 138, 69, 0, 616, 617, 5, 66, 0, 0, 617, 622, 1, 0, 0, 0, 618, 619, 3, 138, 69, 0, 619, 620, 5, 30, 0, 0, 620, 622, 1, 0, 0, 0, 621, 609, 1, 0, 0, 0, 621, 611, 1, 0, 0, 0, 621, 613, 1, 0, 0, 0, 621, 615, 1, 0, 0, 0, 621, 618, 1, 0, 0, 0, 622, 99, 1, 0, 0, 0, 623, 624, 3, 106, 53, 0, 624, 625, 5, 0, 0, 1, 625, 101, 1, 0, 0, 0, 626, 674, 3, 150, 75, 0, 627, 628, 3, 150, 75, 0, 628, 629, 5, 126, 0, 0, 629, 630, 3, 150, 75, 0, 630, 637, 3, 102, 51, 0, 631, 632, 5, 112, 0, 0, 632, 633, 3, 150, 75, 0, 633, 634, 3, 102, 51, 0, 634, 636, 1, 0, 0, 0, 635, 631, 1, 0, 0, 0, 636, 639, 1, 0, 0, 0, 637, 635, 1, 0, 0, 0, 637, 638, 1, 0, 0, 0, 638, 640, 1, 0, 0, 0, 639, 637, 1, 0, 0, 0, 640, 641, 5, 144, 0, 0, 641, 674, 1, 0, 0, 0, 642, 643, 3, 150, 75, 0, 643, 644, 5, 126, 0, 0, 644, 649, 3, 152, 76, 0, 645, 646, 5, 112, 0, 0, 646, 648, 3, 152, 76, 0, 647, 645, 1, 0, 0, 0, 648, 651, 1, 0, 0, 0, 649, 647, 1, 0, 0, 0, 649, 650, 1, 0, 0, 0, 650, 652, 1, 0, 0, 0, 651, 649, 1, 0, 0, 0, 652, 653, 5, 144, 0, 0, 653, 674, 1, 0, 0, 0, 654, 655, 3, 150, 75, 0, 655, 656, 5, 126, 0, 0, 656, 661, 3, 102, 51, 0, 657, 658, 5, 112, 0, 0, 658, 660, 3, 102, 51, 0, 659, 657, 1, 0, 0, 0, 660, 663, 1, 0, 0, 0, 661, 659, 1, 0, 0, 0, 661, 662, 1, 0, 0, 0, 662, 664, 1, 0, 0, 0, 663, 661, 1, 0, 0, 0, 664, 665, 5, 144, 0, 0, 665, 674, 1, 0, 0, 0, 666, 667, 3, 150, 75, 0, 667, 669, 5, 126, 0, 0, 668, 670, 3, 104, 52, 0, 669, 668, 1, 0, 0, 0, 669, 670, 1, 0, 0, 0, 670, 671, 1, 0, 0, 0, 671, 672, 5, 144, 0, 0, 672, 674, 1, 0, 0, 0, 673, 626, 1, 0, 0, 0, 673, 627, 1, 0, 0, 0, 673, 642, 1, 0, 0, 0, 673, 654, 1, 0, 0, 0, 673, 666, 1, 0, 0, 0, 674, 103, 1, 0, 0, 0, 675, 680, 3, 106, 53, 0, 676, 677, 5, 112, 0, 0, 677, 679, 3, 106, 53, 0, 678, 676, 1, 0, 0, 0, 679, 682, 1, 0, 0, 0, 680, 678, 1, 0, 0, 0, 680, 681, 1, 0, 0, 0, 681, 105, 1, 0, 0, 0, 682, 680, 1, 0, 0, 0, 683, 684, 6, 53, -1, 0, 684, 686, 5, 12, 0, 0, 685, 687, 3, 106, 53, 0, 686, 685, 1, 0, 0, 0, 686, 687, 1, 0, 0, 0, 687, 693, 1, 0, 0, 0, 688, 689, 5, 94, 0, 0, 689, 690, 3, 106, 53, 0, 690, 691, 5, 81, 0, 0, 691, 692, 3, 106, 53, 0, 692, 694, 1, 0, 0, 0, 693, 688, 1, 0, 0, 0, 694, 695, 1, 0, 0, 0, 695, 693, 1, 0, 0, 0, 695, 696, 1, 0, 0, 0, 696, 699, 1, 0, 0, 0, 697, 698, 5, 24, 0, 0, 698, 700, 3, 106, 53, 0, 699, 697, 1, 0, 0, 0, 699, 700, 1, 0, 0, 0, 700, 701, 1, 0, 0, 0, 701, 702, 5, 25, 0, 0, 702, 833, 1, 0, 0, 0, 703, 704, 5, 13, 0, 0, 704, 705, 5, 126, 0, 0, 705, 706, 3, 106, 53, 0, 706, 707, 5, 6, 0, 0, 707, 708, 3, 102, 51, 0, 708, 709, 5, 144, 0, 0, 709, 833, 1, 0, 0, 0, 710, 711, 5, 19, 0, 0, 711, 833, 5, 106, 0, 0, 712, 713, 5, 43, 0, 0, 713, 714, 3, 106, 53, 0, 714, 715, 3, 142, 71, 0, 715, 833, 1, 0, 0, 0, 716, 717, 5, 80, 0, 0, 717, 718, 5, 126, 0, 0, 718, 719, 3, 106, 53, 0, 719, 720, 5, 32, 0, 0, 720, 723, 3, 106, 53, 0, 721, 722, 5, 31, 0, 0, 722, 724, 3, 106, 53, 0, 723, 721, 1, 0, 0, 0, 723, 724, 1, 0, 0, 0, 724, 725, 1, 0, 0, 0, 725, 726, 5, 144, 0, 0, 726, 833, 1, 0, 0, 0, 727, 728, 5, 83, 0, 0, 728, 833, 5, 106, 0, 0, 729, 730, 5, 88, 0, 0, 730, 731, 5, 126, 0, 0, 731, 732, 7, 9, 0, 0, 732, 733, 3, 156, 78, 0, 733, 734, 5, 32, 0, 0, 734, 735, 3, 106, 53, 0, 735, 736, 5, 144, 0, 0, 736, 833, 1, 0, 0, 0, 737, 738, 3, 150, 75, 0, 738, 740, 5, 126, 0, 0, 739, 741, 3, 104, 52, 0, 740, 739, 1, 0, 0, 0, 740, 741, 1, 0, 0, 0, 741, 742, 1, 0, 0, 0, 742, 743, 5, 144, 0, 0, 743, 752, 1, 0, 0, 0, 744, 746, 5, 126, 0, 0, 745, 747, 5, 23, 0, 0, 746, 745, 1, 0, 0, 0, 746, 747, 1, 0, 0, 0, 747, 749, 1, 0, 0, 0, 748, 750, 3, 108, 54, 0, 749, 748, 1, 0, 0, 0, 749, 750, 1, 0, 0, 0, 750, 751, 1, 0, 0, 0, 751, 753, 5, 144, 0, 0, 752, 744, 1, 0, 0, 0, 752, 753, 1, 0, 0, 0, 753, 754, 1, 0, 0, 0, 754, 755, 5, 64, 0, 0, 755, 756, 5, 126, 0, 0, 756, 757, 3, 88, 44, 0, 757, 758, 5, 144, 0, 0, 758, 833, 1, 0, 0, 0, 759, 760, 3, 150, 75, 0, 760, 762, 5, 126, 0, 0, 761, 763, 3, 104, 52, 0, 762, 761, 1, 0, 0, 0, 762, 763, 1, 0, 0, 0, 763, 764, 1, 0, 0, 0, 764, 765, 5, 144, 0, 0, 765, 774, 1, 0, 0, 0, 766, 768, 5, 126, 0, 0, 767, 769, 5, 23, 0, 0, 768, 767, 1, 0, 0, 0, 768, 769, 1, 0, 0, 0, 769, 771, 1, 0, 0, 0, 770, 772, 3, 108, 54, 0, 771, 770, 1, 0, 0, 0, 771, 772, 1, 0, 0, 0, 772, 773, 1, 0, 0, 0, 773, 775, 5, 144, 0, 0, 774, 766, 1, 0, 0, 0, 774, 775, 1, 0, 0, 0, 775, 776, 1, 0, 0, 0, 776, 777, 5, 64, 0, 0, 777, 778, 3, 150, 75, 0, 778, 833, 1, 0, 0, 0, 779, 785, 3, 150, 75, 0, 780, 782, 5, 126, 0, 0, 781, 783, 3, 104, 52, 0, 782, 781, 1, 0, 0, 0, 782, 783, 1, 0, 0, 0, 783, 784, 1, 0, 0, 0, 784, 786, 5, 144, 0, 0, 785, 780, 1, 0, 0, 0, 785, 786, 1, 0, 0, 0, 786, 787, 1, 0, 0, 0, 787, 789, 5, 126, 0, 0, 788, 790, 5, 23, 0, 0, 789, 788, 1, 0, 0, 0, 789, 790, 1, 0, 0, 0, 790, 792, 1, 0, 0, 0, 791, 793, 3, 108, 54, 0, 792, 791, 1, 0, 0, 0, 792, 793, 1, 0, 0, 0, 793, 794, 1, 0, 0, 0, 794, 795, 5, 144, 0, 0, 795, 833, 1, 0, 0, 0, 796, 833, 3, 114, 57, 0, 797, 833, 3, 158, 79, 0, 798, 833, 3, 140, 70, 0, 799, 800, 5, 114, 0, 0, 800, 833, 3, 106, 53, 19, 801, 802, 5, 56, 0, 0, 802, 833, 3, 106, 53, 13, 803, 804, 3, 130, 65, 0, 804, 805, 5, 116, 0, 0, 805, 807, 1, 0, 0, 0, 806, 803, 1, 0, 0, 0, 806, 807, 1, 0, 0, 0, 807, 808, 1, 0, 0, 0, 808, 833, 5, 108, 0, 0, 809, 810, 5, 126, 0, 0, 810, 811, 3, 34, 17, 0, 811, 812, 5, 144, 0, 0, 812, 833, 1, 0, 0, 0, 813, 814, 5, 126, 0, 0, 814, 815, 3, 106, 53, 0, 815, 816, 5, 144, 0, 0, 816, 833, 1, 0, 0, 0, 817, 818, 5, 126, 0, 0, 818, 819, 3, 104, 52, 0, 819, 820, 5, 144, 0, 0, 820, 833, 1, 0, 0, 0, 821, 823, 5, 125, 0, 0, 822, 824, 3, 104, 52, 0, 823, 822, 1, 0, 0, 0, 823, 824, 1, 0, 0, 0, 824, 825, 1, 0, 0, 0, 825, 833, 5, 143, 0, 0, 826, 828, 5, 124, 0, 0, 827, 829, 3, 30, 15, 0, 828, 827, 1, 0, 0, 0, 828, 829, 1, 0, 0, 0, 829, 830, 1, 0, 0, 0, 830, 833, 5, 142, 0, 0, 831, 833, 3, 122, 61, 0, 832, 683, 1, 0, 0, 0, 832, 703, 1, 0, 0, 0, 832, 710, 1, 0, 0, 0, 832, 712, 1, 0, 0, 0, 832, 716, 1, 0, 0, 0, 832, 727, 1, 0, 0, 0, 832, 729, 1, 0, 0, 0, 832, 737, 1, 0, 0, 0, 832, 759, 1, 0, 0, 0, 832, 779, 1, 0, 0, 0, 832, 796, 1, 0, 0, 0, 832, 797, 1, 0, 0, 0, 832, 798, 1, 0, 0, 0, 832, 799, 1, 0, 0, 0, 832, 801, 1, 0, 0, 0, 832, 806, 1, 0, 0, 0, 832, 809, 1, 0, 0, 0, 832, 813, 1, 0, 0, 0, 832, 817, 1, 0, 0, 0, 832, 821, 1, 0, 0, 0, 832, 826, 1, 0, 0, 0, 832, 831, 1, 0, 0, 0, 833, 927, 1, 0, 0, 0, 834, 838, 10, 18, 0, 0, 835, 839, 5, 108, 0, 0, 836, 839, 5, 146, 0, 0, 837, 839, 5, 133, 0, 0, 838, 835, 1, 0, 0, 0, 838, 836, 1, 0, 0, 0, 838, 837, 1, 0, 0, 0, 839, 840, 1, 0, 0, 0, 840, 926, 3, 106, 53, 19, 841, 845, 10, 17, 0, 0, 842, 846, 5, 134, 0, 0, 843, 846, 5, 114, 0, 0, 844, 846, 5, 113, 0, 0, 845, 842, 1, 0, 0, 0, 845, 843, 1, 0, 0, 0, 845, 844, 1, 0, 0, 0, 846, 847, 1, 0, 0, 0, 847, 926, 3, 106, 53, 18, 848, 873, 10, 16, 0, 0, 849, 874, 5, 117, 0, 0, 850, 874, 5, 118, 0, 0, 851, 874, 5, 129, 0, 0, 852, 874, 5, 127, 0, 0, 853, 874, 5, 128, 0, 0, 854, 874, 5, 119, 0, 0, 855, 874, 5, 120, 0, 0, 856, 858, 5, 56, 0, 0, 857, 856, 1, 0, 0, 0, 857, 858, 1, 0, 0, 0, 858, 859, 1, 0, 0, 0, 859, 861, 5, 40, 0, 0, 860, 862, 5, 14, 0, 0, 861, 860, 1, 0, 0, 0, 861, 862, 1, 0, 0, 0, 862, 874, 1, 0, 0, 0, 863, 865, 5, 56, 0, 0, 864, 863, 1, 0, 0, 0, 864, 865, 1, 0, 0, 0, 865, 866, 1, 0, 0, 0, 866, 874, 7, 10, 0, 0, 867, 874, 5, 140, 0, 0, 868, 874, 5, 141, 0, 0, 869, 874, 5, 131, 0, 0, 870, 874, 5, 122, 0, 0, 871, 874, 5, 123, 0, 0, 872, 874, 5, 130, 0, 0, 873, 849, 1, 0, 0, 0, 873, 850, 1, 0, 0, 0, 873, 851, 1, 0, 0, 0, 873, 852, 1, 0, 0, 0, 873, 853, 1, 0, 0, 0, 873, 854, 1, 0, 0, 0, 873, 855, 1, 0, 0, 0, 873, 857, 1, 0, 0, 0, 873, 864, 1, 0, 0, 0, 873, 867, 1, 0, 0, 0, 873, 868, 1, 0, 0, 0, 873, 869, 1, 0, 0, 0, 873, 870, 1, 0, 0, 0, 873, 871, 1, 0, 0, 0, 873, 872, 1, 0, 0, 0, 874, 875, 1, 0, 0, 0, 875, 926, 3, 106, 53, 17, 876, 877, 10, 14, 0, 0, 877, 878, 5, 132, 0, 0, 878, 926, 3, 106, 53, 15, 879, 880, 10, 12, 0, 0, 880, 881, 5, 2, 0, 0, 881, 926, 3, 106, 53, 13, 882, 883, 10, 11, 0, 0, 883, 884, 5, 61, 0, 0, 884, 926, 3, 106, 53, 12, 885, 887, 10, 10, 0, 0, 886, 888, 5, 56, 0, 0, 887, 886, 1, 0, 0, 0, 887, 888, 1, 0, 0, 0, 888, 889, 1, 0, 0, 0, 889, 890, 5, 9, 0, 0, 890, 891, 3, 106, 53, 0, 891, 892, 5, 2, 0, 0, 892, 893, 3, 106, 53, 11, 893, 926, 1, 0, 0, 0, 894, 895, 10, 9, 0, 0, 895, 896, 5, 135, 0, 0, 896, 897, 3, 106, 53, 0, 897, 898, 5, 111, 0, 0, 898, 899, 3, 106, 53, 9, 899, 926, 1, 0, 0, 0, 900, 901, 10, 22, 0, 0, 901, 902, 5, 125, 0, 0, 902, 903, 3, 106, 53, 0, 903, 904, 5, 143, 0, 0, 904, 926, 1, 0, 0, 0, 905, 906, 10, 21, 0, 0, 906, 907, 5, 116, 0, 0, 907, 926, 5, 104, 0, 0, 908, 909, 10, 20, 0, 0, 909, 910, 5, 116, 0, 0, 910, 926, 3, 150, 75, 0, 911, 912, 10, 15, 0, 0, 912, 914, 5, 44, 0, 0, 913, 915, 5, 56, 0, 0, 914, 913, 1, 0, 0, 0, 914, 915, 1, 0, 0, 0, 915, 916, 1, 0, 0, 0, 916, 926, 5, 57, 0, 0, 917, 923, 10, 8, 0, 0, 918, 924, 3, 148, 74, 0, 919, 920, 5, 6, 0, 0, 920, 924, 3, 150, 75, 0, 921, 922, 5, 6, 0, 0, 922, 924, 5, 106, 0, 0, 923, 918, 1, 0, 0, 0, 923, 919, 1, 0, 0, 0, 923, 921, 1, 0, 0, 0, 924, 926, 1, 0, 0, 0, 925, 834, 1, 0, 0, 0, 925, 841, 1, 0, 0, 0, 925, 848, 1, 0, 0, 0, 925, 876, 1, 0, 0, 0, 925, 879, 1, 0, 0, 0, 925, 882, 1, 0, 0, 0, 925, 885, 1, 0, 0, 0, 925, 894, 1, 0, 0, 0, 925, 900, 1, 0, 0, 0, 925, 905, 1, 0, 0, 0, 925, 908, 1, 0, 0, 0, 925, 911, 1, 0, 0, 0, 925, 917, 1, 0, 0, 0, 926, 929, 1, 0, 0, 0, 927, 925, 1, 0, 0, 0, 927, 928, 1, 0, 0, 0, 928, 107, 1, 0, 0, 0, 929, 927, 1, 0, 0, 0, 930, 935, 3, 110, 55, 0, 931, 932, 5, 112, 0, 0, 932, 934, 3, 110, 55, 0, 933, 931, 1, 0, 0, 0, 934, 937, 1, 0, 0, 0, 935, 933, 1, 0, 0, 0, 935, 936, 1, 0, 0, 0, 936, 109, 1, 0, 0, 0, 937, 935, 1, 0, 0, 0, 938, 941, 3, 112, 56, 0, 939, 941, 3, 106, 53, 0, 940, 938, 1, 0, 0, 0, 940, 939, 1, 0, 0, 0, 941, 111, 1, 0, 0, 0, 942, 943, 5, 126, 0, 0, 943, 948, 3, 150, 75, 0, 944, 945, 5, 112, 0, 0, 945, 947, 3, 150, 75, 0, 946, 944, 1, 0, 0, 0, 947, 950, 1, 0, 0, 0, 948, 946, 1, 0, 0, 0, 948, 949, 1, 0, 0, 0, 949, 951, 1, 0, 0, 0, 950, 948, 1, 0, 0, 0, 951, 952, 5, 144, 0, 0, 952, 962, 1, 0, 0, 0, 953, 958, 3, 150, 75, 0, 954, 955, 5, 112, 0, 0, 955, 957, 3, 150, 75, 0, 956, 954, 1, 0, 0, 0, 957, 960, 1, 0, 0, 0, 958, 956, 1, 0, 0, 0, 958, 959, 1, 0, 0, 0, 959, 962, 1, 0, 0, 0, 960, 958, 1, 0, 0, 0, 961, 942, 1, 0, 0, 0, 961, 953, 1, 0, 0, 0, 962, 963, 1, 0, 0, 0, 963, 964, 5, 107, 0, 0, 964, 965, 3, 106, 53, 0, 965, 113, 1, 0, 0, 0, 966, 967, 5, 128, 0, 0, 967, 971, 3, 150, 75, 0, 968, 970, 3, 116, 58, 0, 969, 968, 1, 0, 0, 0, 970, 973, 1, 0, 0, 0, 971, 969, 1, 0, 0, 0, 971, 972, 1, 0, 0, 0, 972, 974, 1, 0, 0, 0, 973, 971, 1, 0, 0, 0, 974, 975, 5, 146, 0, 0, 975, 976, 5, 120, 0, 0, 976, 995, 1, 0, 0, 0, 977, 978, 5, 128, 0, 0, 978, 982, 3, 150, 75, 0, 979, 981, 3, 116, 58, 0, 980, 979, 1, 0, 0, 0, 981, 984, 1, 0, 0, 0, 982, 980, 1, 0, 0, 0, 982, 983, 1, 0, 0, 0, 983, 985, 1, 0, 0, 0, 984, 982, 1, 0, 0, 0, 985, 987, 5, 120, 0, 0, 986, 988, 3, 114, 57, 0, 987, 986, 1, 0, 0, 0, 987, 988, 1, 0, 0, 0, 988, 989, 1, 0, 0, 0, 989, 990, 5, 128, 0, 0, 990, 991, 5, 146, 0, 0, 991, 992, 3, 150, 75, 0, 992, 993, 5, 120, 0, 0, 993, 995, 1, 0, 0, 0, 994, 966, 1, 0, 0, 0, 994, 977, 1, 0, 0, 0, 995, 115, 1, 0, 0, 0, 996, 997, 3, 150, 75, 0, 997, 998, 5, 118, 0, 0, 998, 999, 3, 156, 78, 0, 999, 1008, 1, 0, 0, 0, 1000, 1001, 3, 150, 75, 0, 1001, 1002, 5, 118, 0, 0, 1002, 1003, 5, 124, 0, 0, 1003, 1004, 3, 106, 53, 0, 1004, 1005, 5, 142, 0, 0, 1005, 1008, 1, 0, 0, 0, 1006, 1008, 3, 150, 75, 0, 1007, 996, 1, 0, 0, 0, 1007, 1000, 1, 0, 0, 0, 1007, 1006, 1, 0, 0, 0, 1008, 117, 1, 0, 0, 0, 1009, 1014, 3, 120, 60, 0, 1010, 1011, 5, 112, 0, 0, 1011, 1013, 3, 120, 60, 0, 1012, 1010, 1, 0, 0, 0, 1013, 1016, 1, 0, 0, 0, 1014, 1012, 1, 0, 0, 0, 1014, 1015, 1, 0, 0, 0, 1015, 119, 1, 0, 0, 0, 1016, 1014, 1, 0, 0, 0, 1017, 1018, 3, 150, 75, 0, 1018, 1019, 5, 6, 0, 0, 1019, 1020, 5, 126, 0, 0, 1020, 1021, 3, 34, 17, 0, 1021, 1022, 5, 144, 0, 0, 1022, 1028, 1, 0, 0, 0, 1023, 1024, 3, 106, 53, 0, 1024, 1025, 5, 6, 0, 0, 1025, 1026, 3, 150, 75, 0, 1026, 1028, 1, 0, 0, 0, 1027, 1017, 1, 0, 0, 0, 1027, 1023, 1, 0, 0, 0, 1028, 121, 1, 0, 0, 0, 1029, 1037, 3, 154, 77, 0, 1030, 1031, 3, 130, 65, 0, 1031, 1032, 5, 116, 0, 0, 1032, 1034, 1, 0, 0, 0, 1033, 1030, 1, 0, 0, 0, 1033, 1034, 1, 0, 0, 0, 1034, 1035, 1, 0, 0, 0, 1035, 1037, 3, 124, 62, 0, 1036, 1029, 1, 0, 0, 0, 1036, 1033, 1, 0, 0, 0, 1037, 123, 1, 0, 0, 0, 1038, 1043, 3, 150, 75, 0, 1039, 1040, 5, 116, 0, 0, 1040, 1042, 3, 150, 75, 0, 1041, 1039, 1, 0, 0, 0, 1042, 1045, 1, 0, 0, 0, 1043, 1041, 1, 0, 0, 0, 1043, 1044, 1, 0, 0, 0, 1044, 125, 1, 0, 0, 0, 1045, 1043, 1, 0, 0, 0, 1046, 1047, 6, 63, -1, 0, 1047, 1056, 3, 130, 65, 0, 1048, 1056, 3, 128, 64, 0, 1049, 1050, 5, 126, 0, 0, 1050, 1051, 3, 34, 17, 0, 1051, 1052, 5, 144, 0, 0, 1052, 1056, 1, 0, 0, 0, 1053, 1056, 3, 114, 57, 0, 1054, 1056, 3, 154, 77, 0, 1055, 1046, 1, 0, 0, 0, 1055, 1048, 1, 0, 0, 0, 1055, 1049, 1, 0, 0, 0, 1055, 1053, 1, 0, 0, 0, 1055, 1054, 1, 0, 0, 0, 1056, 1065, 1, 0, 0, 0, 1057, 1061, 10, 3, 0, 0, 1058, 1062, 3, 148, 74, 0, 1059, 1060, 5, 6, 0, 0, 1060, 1062, 3, 150, 75, 0, 1061, 1058, 1, 0, 0, 0, 1061, 1059, 1, 0, 0, 0, 1062, 1064, 1, 0, 0, 0, 1063, 1057, 1, 0, 0, 0, 1064, 1067, 1, 0, 0, 0, 1065, 1063, 1, 0, 0, 0, 1065, 1066, 1, 0, 0, 0, 1066, 127, 1, 0, 0, 0, 1067, 1065, 1, 0, 0, 0, 1068, 1069, 3, 150, 75, 0, 1069, 1071, 5, 126, 0, 0, 1070, 1072, 3, 132, 66, 0, 1071, 1070, 1, 0, 0, 0, 1071, 1072, 1, 0, 0, 0, 1072, 1073, 1, 0, 0, 0, 1073, 1074, 5, 144, 0, 0, 1074, 129, 1, 0, 0, 0, 1075, 1076, 3, 134, 67, 0, 1076, 1077, 5, 116, 0, 0, 1077, 1079, 1, 0, 0, 0, 1078, 1075, 1, 0, 0, 0, 1078, 1079, 1, 0, 0, 0, 1079, 1080, 1, 0, 0, 0, 1080, 1081, 3, 150, 75, 0, 1081, 131, 1, 0, 0, 0, 1082, 1087, 3, 106, 53, 0, 1083, 1084, 5, 112, 0, 0, 1084, 1086, 3, 106, 53, 0, 1085, 1083, 1, 0, 0, 0, 1086, 1089, 1, 0, 0, 0, 1087, 1085, 1, 0, 0, 0, 1087, 1088, 1, 0, 0, 0, 1088, 133, 1, 0, 0, 0, 1089, 1087, 1, 0, 0, 0, 1090, 1091, 3, 150, 75, 0, 1091, 135, 1, 0, 0, 0, 1092, 1101, 5, 102, 0, 0, 1093, 1094, 5, 116, 0, 0, 1094, 1101, 7, 11, 0, 0, 1095, 1096, 5, 104, 0, 0, 1096, 1098, 5, 116, 0, 0, 1097, 1099, 7, 11, 0, 0, 1098, 1097, 1, 0, 0, 0, 1098, 1099, 1, 0, 0, 0, 1099, 1101, 1, 0, 0, 0, 1100, 1092, 1, 0, 0, 0, 1100, 1093, 1, 0, 0, 0, 1100, 1095, 1, 0, 0, 0, 1101, 137, 1, 0, 0, 0, 1102, 1104, 7, 12, 0, 0, 1103, 1102, 1, 0, 0, 0, 1103, 1104, 1, 0, 0, 0, 1104, 1111, 1, 0, 0, 0, 1105, 1112, 3, 136, 68, 0, 1106, 1112, 5, 103, 0, 0, 1107, 1112, 5, 104, 0, 0, 1108, 1112, 5, 105, 0, 0, 1109, 1112, 5, 41, 0, 0, 1110, 1112, 5, 55, 0, 0, 1111, 1105, 1, 0, 0, 0, 1111, 1106, 1, 0, 0, 0, 1111, 1107, 1, 0, 0, 0, 1111, 1108, 1, 0, 0, 0, 1111, 1109, 1, 0, 0, 0, 1111, 1110, 1, 0, 0, 0, 1112, 139, 1, 0, 0, 0, 1113, 1117, 3, 138, 69, 0, 1114, 1117, 5, 106, 0, 0, 1115, 1117, 5, 57, 0, 0, 1116, 1113, 1, 0, 0, 0, 1116, 1114, 1, 0, 0, 0, 1116, 1115, 1, 0, 0, 0, 1117, 141, 1, 0, 0, 0, 1118, 1119, 7, 13, 0, 0, 1119, 143, 1, 0, 0, 0, 1120, 1121, 7, 14, 0, 0, 1121, 145, 1, 0, 0, 0, 1122, 1123, 7, 15, 0, 0, 1123, 147, 1, 0, 0, 0, 1124, 1127, 5, 101, 0, 0, 1125, 1127, 3, 146, 73, 0, 1126, 1124, 1, 0, 0, 0, 1126, 1125, 1, 0, 0, 0, 1127, 149, 1, 0, 0, 0, 1128, 1132, 5, 101, 0, 0, 1129, 1132, 3, 142, 71, 0, 1130, 1132, 3, 144, 72, 0, 1131, 1128, 1, 0, 0, 0, 1131, 1129, 1, 0, 0, 0, 1131, 1130, 1, 0, 0, 0, 1132, 151, 1, 0, 0, 0, 1133, 1134, 3, 156, 78, 0, 1134, 1135, 5, 118, 0, 0, 1135, 1136, 3, 138, 69, 0, 1136, 153, 1, 0, 0, 0, 1137, 1138, 5, 124, 0, 0, 1138, 1139, 3, 150, 75, 0, 1139, 1140, 5, 142, 0, 0, 1140, 155, 1, 0, 0, 0, 1141, 1144, 5, 106, 0, 0, 1142, 1144, 3, 158, 79, 0, 1143, 1141, 1, 0, 0, 0, 1143, 1142, 1, 0, 0, 0, 1144, 157, 1, 0, 0, 0, 1145, 1149, 5, 137, 0, 0, 1146, 1148, 3, 160, 80, 0, 1147, 1146, 1, 0, 0, 0, 1148, 1151, 1, 0, 0, 0, 1149, 1147, 1, 0, 0, 0, 1149, 1150, 1, 0, 0, 0, 1150, 1152, 1, 0, 0, 0, 1151, 1149, 1, 0, 0, 0, 1152, 1153, 5, 139, 0, 0, 1153, 159, 1, 0, 0, 0, 1154, 1155, 5, 152, 0, 0, 1155, 1156, 3, 106, 53, 0, 1156, 1157, 5, 142, 0, 0, 1157, 1160, 1, 0, 0, 0, 1158, 1160, 5, 151, 0, 0, 1159, 1154, 1, 0, 0, 0, 1159, 1158, 1, 0, 0, 0, 1160, 161, 1, 0, 0, 0, 1161, 1165, 5, 138, 0, 0, 1162, 1164, 3, 164, 82, 0, 1163, 1162, 1, 0, 0, 0, 1164, 1167, 1, 0, 0, 0, 1165, 1163, 1, 0, 0, 0, 1165, 1166, 1, 0, 0, 0, 1166, 1168, 1, 0, 0, 0, 1167, 1165, 1, 0, 0, 0, 1168, 1169, 5, 0, 0, 1, 1169, 163, 1, 0, 0, 0, 1170, 1171, 5, 154, 0, 0, 1171, 1172, 3, 106, 53, 0, 1172, 1173, 5, 142, 0, 0, 1173, 1176, 1, 0, 0, 0, 1174, 1176, 5, 153, 0, 0, 1175, 1170, 1, 0, 0, 0, 1175, 1174, 1, 0, 0, 0, 1176, 165, 1, 0, 0, 0, 141, 169, 176, 185, 200, 212, 224, 240, 251, 265, 271, 281, 290, 293, 297, 300, 304, 307, 310, 313, 316, 320, 324, 327, 330, 333, 337, 340, 349, 355, 376, 393, 410, 416, 422, 433, 435, 446, 449, 455, 463, 469, 471, 475, 480, 483, 486, 490, 494, 497, 499, 502, 506, 510, 513, 515, 517, 522, 533, 539, 546, 551, 555, 559, 565, 567, 574, 582, 585, 588, 607, 621, 637, 649, 661, 669, 673, 680, 686, 695, 699, 723, 740, 746, 749, 752, 762, 768, 771, 774, 782, 785, 789, 792, 806, 823, 828, 832, 838, 845, 857, 861, 864, 873, 887, 914, 923, 925, 927, 935, 940, 948, 958, 961, 971, 982, 987, 994, 1007, 1014, 1027, 1033, 1036, 1043, 1055, 1061, 1065, 1071, 1078, 1087, 1098, 1100, 1103, 1111, 1116, 1126, 1131, 1143, 1149, 1159, 1165, 1175] \ No newline at end of file +[4, 1, 154, 1179, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 1, 0, 5, 0, 168, 8, 0, 10, 0, 12, 0, 171, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 3, 1, 177, 8, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 3, 3, 186, 8, 3, 1, 4, 1, 4, 1, 4, 5, 4, 191, 8, 4, 10, 4, 12, 4, 194, 9, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 204, 8, 5, 1, 6, 1, 6, 3, 6, 208, 8, 6, 1, 6, 3, 6, 211, 8, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 3, 7, 220, 8, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 228, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 234, 8, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 3, 11, 246, 8, 11, 1, 12, 1, 12, 1, 13, 1, 13, 5, 13, 252, 8, 13, 10, 13, 12, 13, 255, 9, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 5, 15, 266, 8, 15, 10, 15, 12, 15, 269, 9, 15, 1, 16, 1, 16, 1, 16, 3, 16, 274, 8, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 5, 17, 282, 8, 17, 10, 17, 12, 17, 285, 9, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 293, 8, 18, 1, 19, 3, 19, 296, 8, 19, 1, 19, 1, 19, 3, 19, 300, 8, 19, 1, 19, 3, 19, 303, 8, 19, 1, 19, 1, 19, 3, 19, 307, 8, 19, 1, 19, 3, 19, 310, 8, 19, 1, 19, 3, 19, 313, 8, 19, 1, 19, 3, 19, 316, 8, 19, 1, 19, 3, 19, 319, 8, 19, 1, 19, 1, 19, 3, 19, 323, 8, 19, 1, 19, 1, 19, 3, 19, 327, 8, 19, 1, 19, 3, 19, 330, 8, 19, 1, 19, 3, 19, 333, 8, 19, 1, 19, 3, 19, 336, 8, 19, 1, 19, 1, 19, 3, 19, 340, 8, 19, 1, 19, 3, 19, 343, 8, 19, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 352, 8, 21, 1, 22, 1, 22, 1, 22, 1, 23, 3, 23, 358, 8, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 5, 24, 377, 8, 24, 10, 24, 12, 24, 380, 9, 24, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 396, 8, 27, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 413, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 419, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 425, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 436, 8, 31, 3, 31, 438, 8, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 3, 34, 449, 8, 34, 1, 34, 3, 34, 452, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 458, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 466, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 5, 34, 472, 8, 34, 10, 34, 12, 34, 475, 9, 34, 1, 35, 3, 35, 478, 8, 35, 1, 35, 1, 35, 1, 35, 3, 35, 483, 8, 35, 1, 35, 3, 35, 486, 8, 35, 1, 35, 3, 35, 489, 8, 35, 1, 35, 1, 35, 3, 35, 493, 8, 35, 1, 35, 1, 35, 3, 35, 497, 8, 35, 1, 35, 3, 35, 500, 8, 35, 3, 35, 502, 8, 35, 1, 35, 3, 35, 505, 8, 35, 1, 35, 1, 35, 3, 35, 509, 8, 35, 1, 35, 1, 35, 3, 35, 513, 8, 35, 1, 35, 3, 35, 516, 8, 35, 3, 35, 518, 8, 35, 3, 35, 520, 8, 35, 1, 36, 1, 36, 1, 36, 3, 36, 525, 8, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 536, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 542, 8, 38, 1, 39, 1, 39, 1, 39, 5, 39, 547, 8, 39, 10, 39, 12, 39, 550, 9, 39, 1, 40, 1, 40, 3, 40, 554, 8, 40, 1, 40, 1, 40, 3, 40, 558, 8, 40, 1, 40, 1, 40, 3, 40, 562, 8, 40, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 568, 8, 41, 3, 41, 570, 8, 41, 1, 42, 1, 42, 1, 42, 5, 42, 575, 8, 42, 10, 42, 12, 42, 578, 9, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 3, 44, 585, 8, 44, 1, 44, 3, 44, 588, 8, 44, 1, 44, 3, 44, 591, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 3, 48, 610, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 624, 8, 49, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 638, 8, 51, 10, 51, 12, 51, 641, 9, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 650, 8, 51, 10, 51, 12, 51, 653, 9, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 662, 8, 51, 10, 51, 12, 51, 665, 9, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 672, 8, 51, 1, 51, 1, 51, 3, 51, 676, 8, 51, 1, 52, 1, 52, 1, 52, 5, 52, 681, 8, 52, 10, 52, 12, 52, 684, 9, 52, 1, 53, 1, 53, 1, 53, 3, 53, 689, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 4, 53, 696, 8, 53, 11, 53, 12, 53, 697, 1, 53, 1, 53, 3, 53, 702, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 726, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 743, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 749, 8, 53, 1, 53, 3, 53, 752, 8, 53, 1, 53, 3, 53, 755, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 765, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 771, 8, 53, 1, 53, 3, 53, 774, 8, 53, 1, 53, 3, 53, 777, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 785, 8, 53, 1, 53, 3, 53, 788, 8, 53, 1, 53, 1, 53, 3, 53, 792, 8, 53, 1, 53, 3, 53, 795, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 809, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 826, 8, 53, 1, 53, 1, 53, 1, 53, 3, 53, 831, 8, 53, 1, 53, 1, 53, 3, 53, 835, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 841, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 848, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 860, 8, 53, 1, 53, 1, 53, 3, 53, 864, 8, 53, 1, 53, 3, 53, 867, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 876, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 890, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 917, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 925, 8, 53, 5, 53, 927, 8, 53, 10, 53, 12, 53, 930, 9, 53, 1, 54, 1, 54, 1, 54, 5, 54, 935, 8, 54, 10, 54, 12, 54, 938, 9, 54, 1, 55, 1, 55, 3, 55, 942, 8, 55, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 948, 8, 56, 10, 56, 12, 56, 951, 9, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 958, 8, 56, 10, 56, 12, 56, 961, 9, 56, 3, 56, 963, 8, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 5, 57, 971, 8, 57, 10, 57, 12, 57, 974, 9, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 982, 8, 57, 10, 57, 12, 57, 985, 9, 57, 1, 57, 1, 57, 3, 57, 989, 8, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 3, 57, 996, 8, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 1009, 8, 58, 1, 59, 1, 59, 1, 59, 5, 59, 1014, 8, 59, 10, 59, 12, 59, 1017, 9, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 3, 60, 1029, 8, 60, 1, 61, 1, 61, 1, 61, 1, 61, 3, 61, 1035, 8, 61, 1, 61, 3, 61, 1038, 8, 61, 1, 62, 1, 62, 1, 62, 5, 62, 1043, 8, 62, 10, 62, 12, 62, 1046, 9, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 1057, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 1063, 8, 63, 5, 63, 1065, 8, 63, 10, 63, 12, 63, 1068, 9, 63, 1, 64, 1, 64, 1, 64, 3, 64, 1073, 8, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 3, 65, 1080, 8, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 5, 66, 1087, 8, 66, 10, 66, 12, 66, 1090, 9, 66, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 1100, 8, 68, 3, 68, 1102, 8, 68, 1, 69, 3, 69, 1105, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 1113, 8, 69, 1, 70, 1, 70, 1, 70, 3, 70, 1118, 8, 70, 1, 71, 1, 71, 1, 72, 1, 72, 1, 73, 1, 73, 1, 74, 1, 74, 3, 74, 1128, 8, 74, 1, 75, 1, 75, 1, 75, 3, 75, 1133, 8, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 3, 78, 1145, 8, 78, 1, 79, 1, 79, 5, 79, 1149, 8, 79, 10, 79, 12, 79, 1152, 9, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 3, 80, 1161, 8, 80, 1, 81, 1, 81, 5, 81, 1165, 8, 81, 10, 81, 12, 81, 1168, 9, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 3, 82, 1177, 8, 82, 1, 82, 0, 3, 68, 106, 126, 83, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 0, 16, 2, 0, 17, 17, 72, 72, 2, 0, 42, 42, 49, 49, 3, 0, 1, 1, 4, 4, 8, 8, 4, 0, 1, 1, 3, 4, 8, 8, 78, 78, 2, 0, 49, 49, 71, 71, 2, 0, 1, 1, 4, 4, 2, 0, 7, 7, 21, 22, 2, 0, 28, 28, 47, 47, 2, 0, 69, 69, 74, 74, 3, 0, 10, 10, 48, 48, 87, 87, 2, 0, 39, 39, 51, 51, 1, 0, 103, 104, 2, 0, 114, 114, 134, 134, 7, 0, 20, 20, 36, 36, 53, 54, 68, 68, 76, 76, 93, 93, 99, 99, 12, 0, 1, 19, 21, 28, 30, 35, 37, 40, 42, 49, 51, 52, 56, 56, 58, 67, 69, 75, 77, 92, 94, 95, 97, 98, 4, 0, 19, 19, 28, 28, 37, 37, 46, 46, 1317, 0, 169, 1, 0, 0, 0, 2, 176, 1, 0, 0, 0, 4, 178, 1, 0, 0, 0, 6, 180, 1, 0, 0, 0, 8, 187, 1, 0, 0, 0, 10, 203, 1, 0, 0, 0, 12, 205, 1, 0, 0, 0, 14, 212, 1, 0, 0, 0, 16, 221, 1, 0, 0, 0, 18, 229, 1, 0, 0, 0, 20, 238, 1, 0, 0, 0, 22, 243, 1, 0, 0, 0, 24, 247, 1, 0, 0, 0, 26, 249, 1, 0, 0, 0, 28, 258, 1, 0, 0, 0, 30, 262, 1, 0, 0, 0, 32, 273, 1, 0, 0, 0, 34, 277, 1, 0, 0, 0, 36, 292, 1, 0, 0, 0, 38, 295, 1, 0, 0, 0, 40, 344, 1, 0, 0, 0, 42, 347, 1, 0, 0, 0, 44, 353, 1, 0, 0, 0, 46, 357, 1, 0, 0, 0, 48, 363, 1, 0, 0, 0, 50, 381, 1, 0, 0, 0, 52, 384, 1, 0, 0, 0, 54, 387, 1, 0, 0, 0, 56, 397, 1, 0, 0, 0, 58, 400, 1, 0, 0, 0, 60, 404, 1, 0, 0, 0, 62, 437, 1, 0, 0, 0, 64, 439, 1, 0, 0, 0, 66, 442, 1, 0, 0, 0, 68, 457, 1, 0, 0, 0, 70, 519, 1, 0, 0, 0, 72, 524, 1, 0, 0, 0, 74, 535, 1, 0, 0, 0, 76, 537, 1, 0, 0, 0, 78, 543, 1, 0, 0, 0, 80, 551, 1, 0, 0, 0, 82, 569, 1, 0, 0, 0, 84, 571, 1, 0, 0, 0, 86, 579, 1, 0, 0, 0, 88, 584, 1, 0, 0, 0, 90, 592, 1, 0, 0, 0, 92, 596, 1, 0, 0, 0, 94, 600, 1, 0, 0, 0, 96, 609, 1, 0, 0, 0, 98, 623, 1, 0, 0, 0, 100, 625, 1, 0, 0, 0, 102, 675, 1, 0, 0, 0, 104, 677, 1, 0, 0, 0, 106, 834, 1, 0, 0, 0, 108, 931, 1, 0, 0, 0, 110, 941, 1, 0, 0, 0, 112, 962, 1, 0, 0, 0, 114, 995, 1, 0, 0, 0, 116, 1008, 1, 0, 0, 0, 118, 1010, 1, 0, 0, 0, 120, 1028, 1, 0, 0, 0, 122, 1037, 1, 0, 0, 0, 124, 1039, 1, 0, 0, 0, 126, 1056, 1, 0, 0, 0, 128, 1069, 1, 0, 0, 0, 130, 1079, 1, 0, 0, 0, 132, 1083, 1, 0, 0, 0, 134, 1091, 1, 0, 0, 0, 136, 1101, 1, 0, 0, 0, 138, 1104, 1, 0, 0, 0, 140, 1117, 1, 0, 0, 0, 142, 1119, 1, 0, 0, 0, 144, 1121, 1, 0, 0, 0, 146, 1123, 1, 0, 0, 0, 148, 1127, 1, 0, 0, 0, 150, 1132, 1, 0, 0, 0, 152, 1134, 1, 0, 0, 0, 154, 1138, 1, 0, 0, 0, 156, 1144, 1, 0, 0, 0, 158, 1146, 1, 0, 0, 0, 160, 1160, 1, 0, 0, 0, 162, 1162, 1, 0, 0, 0, 164, 1176, 1, 0, 0, 0, 166, 168, 3, 2, 1, 0, 167, 166, 1, 0, 0, 0, 168, 171, 1, 0, 0, 0, 169, 167, 1, 0, 0, 0, 169, 170, 1, 0, 0, 0, 170, 172, 1, 0, 0, 0, 171, 169, 1, 0, 0, 0, 172, 173, 5, 0, 0, 1, 173, 1, 1, 0, 0, 0, 174, 177, 3, 6, 3, 0, 175, 177, 3, 10, 5, 0, 176, 174, 1, 0, 0, 0, 176, 175, 1, 0, 0, 0, 177, 3, 1, 0, 0, 0, 178, 179, 3, 106, 53, 0, 179, 5, 1, 0, 0, 0, 180, 181, 5, 50, 0, 0, 181, 185, 3, 150, 75, 0, 182, 183, 5, 111, 0, 0, 183, 184, 5, 118, 0, 0, 184, 186, 3, 4, 2, 0, 185, 182, 1, 0, 0, 0, 185, 186, 1, 0, 0, 0, 186, 7, 1, 0, 0, 0, 187, 192, 3, 150, 75, 0, 188, 189, 5, 112, 0, 0, 189, 191, 3, 150, 75, 0, 190, 188, 1, 0, 0, 0, 191, 194, 1, 0, 0, 0, 192, 190, 1, 0, 0, 0, 192, 193, 1, 0, 0, 0, 193, 9, 1, 0, 0, 0, 194, 192, 1, 0, 0, 0, 195, 204, 3, 12, 6, 0, 196, 204, 3, 14, 7, 0, 197, 204, 3, 16, 8, 0, 198, 204, 3, 18, 9, 0, 199, 204, 3, 20, 10, 0, 200, 204, 3, 22, 11, 0, 201, 204, 3, 24, 12, 0, 202, 204, 3, 26, 13, 0, 203, 195, 1, 0, 0, 0, 203, 196, 1, 0, 0, 0, 203, 197, 1, 0, 0, 0, 203, 198, 1, 0, 0, 0, 203, 199, 1, 0, 0, 0, 203, 200, 1, 0, 0, 0, 203, 201, 1, 0, 0, 0, 203, 202, 1, 0, 0, 0, 204, 11, 1, 0, 0, 0, 205, 207, 5, 70, 0, 0, 206, 208, 3, 4, 2, 0, 207, 206, 1, 0, 0, 0, 207, 208, 1, 0, 0, 0, 208, 210, 1, 0, 0, 0, 209, 211, 5, 145, 0, 0, 210, 209, 1, 0, 0, 0, 210, 211, 1, 0, 0, 0, 211, 13, 1, 0, 0, 0, 212, 213, 5, 38, 0, 0, 213, 214, 5, 126, 0, 0, 214, 215, 3, 4, 2, 0, 215, 216, 5, 144, 0, 0, 216, 219, 3, 10, 5, 0, 217, 218, 5, 24, 0, 0, 218, 220, 3, 10, 5, 0, 219, 217, 1, 0, 0, 0, 219, 220, 1, 0, 0, 0, 220, 15, 1, 0, 0, 0, 221, 222, 5, 96, 0, 0, 222, 223, 5, 126, 0, 0, 223, 224, 3, 4, 2, 0, 224, 225, 5, 144, 0, 0, 225, 227, 3, 10, 5, 0, 226, 228, 5, 145, 0, 0, 227, 226, 1, 0, 0, 0, 227, 228, 1, 0, 0, 0, 228, 17, 1, 0, 0, 0, 229, 230, 5, 29, 0, 0, 230, 231, 3, 150, 75, 0, 231, 233, 5, 126, 0, 0, 232, 234, 3, 8, 4, 0, 233, 232, 1, 0, 0, 0, 233, 234, 1, 0, 0, 0, 234, 235, 1, 0, 0, 0, 235, 236, 5, 144, 0, 0, 236, 237, 3, 26, 13, 0, 237, 19, 1, 0, 0, 0, 238, 239, 3, 4, 2, 0, 239, 240, 5, 111, 0, 0, 240, 241, 5, 118, 0, 0, 241, 242, 3, 4, 2, 0, 242, 21, 1, 0, 0, 0, 243, 245, 3, 4, 2, 0, 244, 246, 5, 145, 0, 0, 245, 244, 1, 0, 0, 0, 245, 246, 1, 0, 0, 0, 246, 23, 1, 0, 0, 0, 247, 248, 5, 145, 0, 0, 248, 25, 1, 0, 0, 0, 249, 253, 5, 124, 0, 0, 250, 252, 3, 2, 1, 0, 251, 250, 1, 0, 0, 0, 252, 255, 1, 0, 0, 0, 253, 251, 1, 0, 0, 0, 253, 254, 1, 0, 0, 0, 254, 256, 1, 0, 0, 0, 255, 253, 1, 0, 0, 0, 256, 257, 5, 142, 0, 0, 257, 27, 1, 0, 0, 0, 258, 259, 3, 4, 2, 0, 259, 260, 5, 111, 0, 0, 260, 261, 3, 4, 2, 0, 261, 29, 1, 0, 0, 0, 262, 267, 3, 28, 14, 0, 263, 264, 5, 112, 0, 0, 264, 266, 3, 28, 14, 0, 265, 263, 1, 0, 0, 0, 266, 269, 1, 0, 0, 0, 267, 265, 1, 0, 0, 0, 267, 268, 1, 0, 0, 0, 268, 31, 1, 0, 0, 0, 269, 267, 1, 0, 0, 0, 270, 274, 3, 34, 17, 0, 271, 274, 3, 38, 19, 0, 272, 274, 3, 114, 57, 0, 273, 270, 1, 0, 0, 0, 273, 271, 1, 0, 0, 0, 273, 272, 1, 0, 0, 0, 274, 275, 1, 0, 0, 0, 275, 276, 5, 0, 0, 1, 276, 33, 1, 0, 0, 0, 277, 283, 3, 36, 18, 0, 278, 279, 5, 91, 0, 0, 279, 280, 5, 1, 0, 0, 280, 282, 3, 36, 18, 0, 281, 278, 1, 0, 0, 0, 282, 285, 1, 0, 0, 0, 283, 281, 1, 0, 0, 0, 283, 284, 1, 0, 0, 0, 284, 35, 1, 0, 0, 0, 285, 283, 1, 0, 0, 0, 286, 293, 3, 38, 19, 0, 287, 288, 5, 126, 0, 0, 288, 289, 3, 34, 17, 0, 289, 290, 5, 144, 0, 0, 290, 293, 1, 0, 0, 0, 291, 293, 3, 154, 77, 0, 292, 286, 1, 0, 0, 0, 292, 287, 1, 0, 0, 0, 292, 291, 1, 0, 0, 0, 293, 37, 1, 0, 0, 0, 294, 296, 3, 40, 20, 0, 295, 294, 1, 0, 0, 0, 295, 296, 1, 0, 0, 0, 296, 297, 1, 0, 0, 0, 297, 299, 5, 77, 0, 0, 298, 300, 5, 23, 0, 0, 299, 298, 1, 0, 0, 0, 299, 300, 1, 0, 0, 0, 300, 302, 1, 0, 0, 0, 301, 303, 3, 42, 21, 0, 302, 301, 1, 0, 0, 0, 302, 303, 1, 0, 0, 0, 303, 304, 1, 0, 0, 0, 304, 306, 3, 104, 52, 0, 305, 307, 3, 44, 22, 0, 306, 305, 1, 0, 0, 0, 306, 307, 1, 0, 0, 0, 307, 309, 1, 0, 0, 0, 308, 310, 3, 46, 23, 0, 309, 308, 1, 0, 0, 0, 309, 310, 1, 0, 0, 0, 310, 312, 1, 0, 0, 0, 311, 313, 3, 50, 25, 0, 312, 311, 1, 0, 0, 0, 312, 313, 1, 0, 0, 0, 313, 315, 1, 0, 0, 0, 314, 316, 3, 52, 26, 0, 315, 314, 1, 0, 0, 0, 315, 316, 1, 0, 0, 0, 316, 318, 1, 0, 0, 0, 317, 319, 3, 54, 27, 0, 318, 317, 1, 0, 0, 0, 318, 319, 1, 0, 0, 0, 319, 322, 1, 0, 0, 0, 320, 321, 5, 98, 0, 0, 321, 323, 7, 0, 0, 0, 322, 320, 1, 0, 0, 0, 322, 323, 1, 0, 0, 0, 323, 326, 1, 0, 0, 0, 324, 325, 5, 98, 0, 0, 325, 327, 5, 86, 0, 0, 326, 324, 1, 0, 0, 0, 326, 327, 1, 0, 0, 0, 327, 329, 1, 0, 0, 0, 328, 330, 3, 56, 28, 0, 329, 328, 1, 0, 0, 0, 329, 330, 1, 0, 0, 0, 330, 332, 1, 0, 0, 0, 331, 333, 3, 48, 24, 0, 332, 331, 1, 0, 0, 0, 332, 333, 1, 0, 0, 0, 333, 335, 1, 0, 0, 0, 334, 336, 3, 58, 29, 0, 335, 334, 1, 0, 0, 0, 335, 336, 1, 0, 0, 0, 336, 339, 1, 0, 0, 0, 337, 340, 3, 62, 31, 0, 338, 340, 3, 64, 32, 0, 339, 337, 1, 0, 0, 0, 339, 338, 1, 0, 0, 0, 339, 340, 1, 0, 0, 0, 340, 342, 1, 0, 0, 0, 341, 343, 3, 66, 33, 0, 342, 341, 1, 0, 0, 0, 342, 343, 1, 0, 0, 0, 343, 39, 1, 0, 0, 0, 344, 345, 5, 98, 0, 0, 345, 346, 3, 118, 59, 0, 346, 41, 1, 0, 0, 0, 347, 348, 5, 85, 0, 0, 348, 351, 5, 104, 0, 0, 349, 350, 5, 98, 0, 0, 350, 352, 5, 82, 0, 0, 351, 349, 1, 0, 0, 0, 351, 352, 1, 0, 0, 0, 352, 43, 1, 0, 0, 0, 353, 354, 5, 32, 0, 0, 354, 355, 3, 68, 34, 0, 355, 45, 1, 0, 0, 0, 356, 358, 7, 1, 0, 0, 357, 356, 1, 0, 0, 0, 357, 358, 1, 0, 0, 0, 358, 359, 1, 0, 0, 0, 359, 360, 5, 5, 0, 0, 360, 361, 5, 45, 0, 0, 361, 362, 3, 104, 52, 0, 362, 47, 1, 0, 0, 0, 363, 364, 5, 97, 0, 0, 364, 365, 3, 150, 75, 0, 365, 366, 5, 6, 0, 0, 366, 367, 5, 126, 0, 0, 367, 368, 3, 88, 44, 0, 368, 378, 5, 144, 0, 0, 369, 370, 5, 112, 0, 0, 370, 371, 3, 150, 75, 0, 371, 372, 5, 6, 0, 0, 372, 373, 5, 126, 0, 0, 373, 374, 3, 88, 44, 0, 374, 375, 5, 144, 0, 0, 375, 377, 1, 0, 0, 0, 376, 369, 1, 0, 0, 0, 377, 380, 1, 0, 0, 0, 378, 376, 1, 0, 0, 0, 378, 379, 1, 0, 0, 0, 379, 49, 1, 0, 0, 0, 380, 378, 1, 0, 0, 0, 381, 382, 5, 67, 0, 0, 382, 383, 3, 106, 53, 0, 383, 51, 1, 0, 0, 0, 384, 385, 5, 95, 0, 0, 385, 386, 3, 106, 53, 0, 386, 53, 1, 0, 0, 0, 387, 388, 5, 34, 0, 0, 388, 395, 5, 11, 0, 0, 389, 390, 7, 0, 0, 0, 390, 391, 5, 126, 0, 0, 391, 392, 3, 104, 52, 0, 392, 393, 5, 144, 0, 0, 393, 396, 1, 0, 0, 0, 394, 396, 3, 104, 52, 0, 395, 389, 1, 0, 0, 0, 395, 394, 1, 0, 0, 0, 396, 55, 1, 0, 0, 0, 397, 398, 5, 35, 0, 0, 398, 399, 3, 106, 53, 0, 399, 57, 1, 0, 0, 0, 400, 401, 5, 62, 0, 0, 401, 402, 5, 11, 0, 0, 402, 403, 3, 78, 39, 0, 403, 59, 1, 0, 0, 0, 404, 405, 5, 62, 0, 0, 405, 406, 5, 11, 0, 0, 406, 407, 3, 104, 52, 0, 407, 61, 1, 0, 0, 0, 408, 409, 5, 52, 0, 0, 409, 412, 3, 106, 53, 0, 410, 411, 5, 112, 0, 0, 411, 413, 3, 106, 53, 0, 412, 410, 1, 0, 0, 0, 412, 413, 1, 0, 0, 0, 413, 418, 1, 0, 0, 0, 414, 415, 5, 98, 0, 0, 415, 419, 5, 82, 0, 0, 416, 417, 5, 11, 0, 0, 417, 419, 3, 104, 52, 0, 418, 414, 1, 0, 0, 0, 418, 416, 1, 0, 0, 0, 418, 419, 1, 0, 0, 0, 419, 438, 1, 0, 0, 0, 420, 421, 5, 52, 0, 0, 421, 424, 3, 106, 53, 0, 422, 423, 5, 98, 0, 0, 423, 425, 5, 82, 0, 0, 424, 422, 1, 0, 0, 0, 424, 425, 1, 0, 0, 0, 425, 426, 1, 0, 0, 0, 426, 427, 5, 59, 0, 0, 427, 428, 3, 106, 53, 0, 428, 438, 1, 0, 0, 0, 429, 430, 5, 52, 0, 0, 430, 431, 3, 106, 53, 0, 431, 432, 5, 59, 0, 0, 432, 435, 3, 106, 53, 0, 433, 434, 5, 11, 0, 0, 434, 436, 3, 104, 52, 0, 435, 433, 1, 0, 0, 0, 435, 436, 1, 0, 0, 0, 436, 438, 1, 0, 0, 0, 437, 408, 1, 0, 0, 0, 437, 420, 1, 0, 0, 0, 437, 429, 1, 0, 0, 0, 438, 63, 1, 0, 0, 0, 439, 440, 5, 59, 0, 0, 440, 441, 3, 106, 53, 0, 441, 65, 1, 0, 0, 0, 442, 443, 5, 79, 0, 0, 443, 444, 3, 84, 42, 0, 444, 67, 1, 0, 0, 0, 445, 446, 6, 34, -1, 0, 446, 448, 3, 126, 63, 0, 447, 449, 5, 27, 0, 0, 448, 447, 1, 0, 0, 0, 448, 449, 1, 0, 0, 0, 449, 451, 1, 0, 0, 0, 450, 452, 3, 76, 38, 0, 451, 450, 1, 0, 0, 0, 451, 452, 1, 0, 0, 0, 452, 458, 1, 0, 0, 0, 453, 454, 5, 126, 0, 0, 454, 455, 3, 68, 34, 0, 455, 456, 5, 144, 0, 0, 456, 458, 1, 0, 0, 0, 457, 445, 1, 0, 0, 0, 457, 453, 1, 0, 0, 0, 458, 473, 1, 0, 0, 0, 459, 460, 10, 3, 0, 0, 460, 461, 3, 72, 36, 0, 461, 462, 3, 68, 34, 4, 462, 472, 1, 0, 0, 0, 463, 465, 10, 4, 0, 0, 464, 466, 3, 70, 35, 0, 465, 464, 1, 0, 0, 0, 465, 466, 1, 0, 0, 0, 466, 467, 1, 0, 0, 0, 467, 468, 5, 45, 0, 0, 468, 469, 3, 68, 34, 0, 469, 470, 3, 74, 37, 0, 470, 472, 1, 0, 0, 0, 471, 459, 1, 0, 0, 0, 471, 463, 1, 0, 0, 0, 472, 475, 1, 0, 0, 0, 473, 471, 1, 0, 0, 0, 473, 474, 1, 0, 0, 0, 474, 69, 1, 0, 0, 0, 475, 473, 1, 0, 0, 0, 476, 478, 7, 2, 0, 0, 477, 476, 1, 0, 0, 0, 477, 478, 1, 0, 0, 0, 478, 479, 1, 0, 0, 0, 479, 486, 5, 42, 0, 0, 480, 482, 5, 42, 0, 0, 481, 483, 7, 2, 0, 0, 482, 481, 1, 0, 0, 0, 482, 483, 1, 0, 0, 0, 483, 486, 1, 0, 0, 0, 484, 486, 7, 2, 0, 0, 485, 477, 1, 0, 0, 0, 485, 480, 1, 0, 0, 0, 485, 484, 1, 0, 0, 0, 486, 520, 1, 0, 0, 0, 487, 489, 7, 3, 0, 0, 488, 487, 1, 0, 0, 0, 488, 489, 1, 0, 0, 0, 489, 490, 1, 0, 0, 0, 490, 492, 7, 4, 0, 0, 491, 493, 5, 63, 0, 0, 492, 491, 1, 0, 0, 0, 492, 493, 1, 0, 0, 0, 493, 502, 1, 0, 0, 0, 494, 496, 7, 4, 0, 0, 495, 497, 5, 63, 0, 0, 496, 495, 1, 0, 0, 0, 496, 497, 1, 0, 0, 0, 497, 499, 1, 0, 0, 0, 498, 500, 7, 3, 0, 0, 499, 498, 1, 0, 0, 0, 499, 500, 1, 0, 0, 0, 500, 502, 1, 0, 0, 0, 501, 488, 1, 0, 0, 0, 501, 494, 1, 0, 0, 0, 502, 520, 1, 0, 0, 0, 503, 505, 7, 5, 0, 0, 504, 503, 1, 0, 0, 0, 504, 505, 1, 0, 0, 0, 505, 506, 1, 0, 0, 0, 506, 508, 5, 33, 0, 0, 507, 509, 5, 63, 0, 0, 508, 507, 1, 0, 0, 0, 508, 509, 1, 0, 0, 0, 509, 518, 1, 0, 0, 0, 510, 512, 5, 33, 0, 0, 511, 513, 5, 63, 0, 0, 512, 511, 1, 0, 0, 0, 512, 513, 1, 0, 0, 0, 513, 515, 1, 0, 0, 0, 514, 516, 7, 5, 0, 0, 515, 514, 1, 0, 0, 0, 515, 516, 1, 0, 0, 0, 516, 518, 1, 0, 0, 0, 517, 504, 1, 0, 0, 0, 517, 510, 1, 0, 0, 0, 518, 520, 1, 0, 0, 0, 519, 485, 1, 0, 0, 0, 519, 501, 1, 0, 0, 0, 519, 517, 1, 0, 0, 0, 520, 71, 1, 0, 0, 0, 521, 522, 5, 16, 0, 0, 522, 525, 5, 45, 0, 0, 523, 525, 5, 112, 0, 0, 524, 521, 1, 0, 0, 0, 524, 523, 1, 0, 0, 0, 525, 73, 1, 0, 0, 0, 526, 527, 5, 60, 0, 0, 527, 536, 3, 104, 52, 0, 528, 529, 5, 92, 0, 0, 529, 530, 5, 126, 0, 0, 530, 531, 3, 104, 52, 0, 531, 532, 5, 144, 0, 0, 532, 536, 1, 0, 0, 0, 533, 534, 5, 92, 0, 0, 534, 536, 3, 104, 52, 0, 535, 526, 1, 0, 0, 0, 535, 528, 1, 0, 0, 0, 535, 533, 1, 0, 0, 0, 536, 75, 1, 0, 0, 0, 537, 538, 5, 75, 0, 0, 538, 541, 3, 82, 41, 0, 539, 540, 5, 59, 0, 0, 540, 542, 3, 82, 41, 0, 541, 539, 1, 0, 0, 0, 541, 542, 1, 0, 0, 0, 542, 77, 1, 0, 0, 0, 543, 548, 3, 80, 40, 0, 544, 545, 5, 112, 0, 0, 545, 547, 3, 80, 40, 0, 546, 544, 1, 0, 0, 0, 547, 550, 1, 0, 0, 0, 548, 546, 1, 0, 0, 0, 548, 549, 1, 0, 0, 0, 549, 79, 1, 0, 0, 0, 550, 548, 1, 0, 0, 0, 551, 553, 3, 106, 53, 0, 552, 554, 7, 6, 0, 0, 553, 552, 1, 0, 0, 0, 553, 554, 1, 0, 0, 0, 554, 557, 1, 0, 0, 0, 555, 556, 5, 58, 0, 0, 556, 558, 7, 7, 0, 0, 557, 555, 1, 0, 0, 0, 557, 558, 1, 0, 0, 0, 558, 561, 1, 0, 0, 0, 559, 560, 5, 15, 0, 0, 560, 562, 5, 106, 0, 0, 561, 559, 1, 0, 0, 0, 561, 562, 1, 0, 0, 0, 562, 81, 1, 0, 0, 0, 563, 570, 3, 154, 77, 0, 564, 567, 3, 138, 69, 0, 565, 566, 5, 146, 0, 0, 566, 568, 3, 138, 69, 0, 567, 565, 1, 0, 0, 0, 567, 568, 1, 0, 0, 0, 568, 570, 1, 0, 0, 0, 569, 563, 1, 0, 0, 0, 569, 564, 1, 0, 0, 0, 570, 83, 1, 0, 0, 0, 571, 576, 3, 86, 43, 0, 572, 573, 5, 112, 0, 0, 573, 575, 3, 86, 43, 0, 574, 572, 1, 0, 0, 0, 575, 578, 1, 0, 0, 0, 576, 574, 1, 0, 0, 0, 576, 577, 1, 0, 0, 0, 577, 85, 1, 0, 0, 0, 578, 576, 1, 0, 0, 0, 579, 580, 3, 150, 75, 0, 580, 581, 5, 118, 0, 0, 581, 582, 3, 140, 70, 0, 582, 87, 1, 0, 0, 0, 583, 585, 3, 90, 45, 0, 584, 583, 1, 0, 0, 0, 584, 585, 1, 0, 0, 0, 585, 587, 1, 0, 0, 0, 586, 588, 3, 92, 46, 0, 587, 586, 1, 0, 0, 0, 587, 588, 1, 0, 0, 0, 588, 590, 1, 0, 0, 0, 589, 591, 3, 94, 47, 0, 590, 589, 1, 0, 0, 0, 590, 591, 1, 0, 0, 0, 591, 89, 1, 0, 0, 0, 592, 593, 5, 65, 0, 0, 593, 594, 5, 11, 0, 0, 594, 595, 3, 104, 52, 0, 595, 91, 1, 0, 0, 0, 596, 597, 5, 62, 0, 0, 597, 598, 5, 11, 0, 0, 598, 599, 3, 78, 39, 0, 599, 93, 1, 0, 0, 0, 600, 601, 7, 8, 0, 0, 601, 602, 3, 96, 48, 0, 602, 95, 1, 0, 0, 0, 603, 610, 3, 98, 49, 0, 604, 605, 5, 9, 0, 0, 605, 606, 3, 98, 49, 0, 606, 607, 5, 2, 0, 0, 607, 608, 3, 98, 49, 0, 608, 610, 1, 0, 0, 0, 609, 603, 1, 0, 0, 0, 609, 604, 1, 0, 0, 0, 610, 97, 1, 0, 0, 0, 611, 612, 5, 18, 0, 0, 612, 624, 5, 73, 0, 0, 613, 614, 5, 90, 0, 0, 614, 624, 5, 66, 0, 0, 615, 616, 5, 90, 0, 0, 616, 624, 5, 30, 0, 0, 617, 618, 3, 138, 69, 0, 618, 619, 5, 66, 0, 0, 619, 624, 1, 0, 0, 0, 620, 621, 3, 138, 69, 0, 621, 622, 5, 30, 0, 0, 622, 624, 1, 0, 0, 0, 623, 611, 1, 0, 0, 0, 623, 613, 1, 0, 0, 0, 623, 615, 1, 0, 0, 0, 623, 617, 1, 0, 0, 0, 623, 620, 1, 0, 0, 0, 624, 99, 1, 0, 0, 0, 625, 626, 3, 106, 53, 0, 626, 627, 5, 0, 0, 1, 627, 101, 1, 0, 0, 0, 628, 676, 3, 150, 75, 0, 629, 630, 3, 150, 75, 0, 630, 631, 5, 126, 0, 0, 631, 632, 3, 150, 75, 0, 632, 639, 3, 102, 51, 0, 633, 634, 5, 112, 0, 0, 634, 635, 3, 150, 75, 0, 635, 636, 3, 102, 51, 0, 636, 638, 1, 0, 0, 0, 637, 633, 1, 0, 0, 0, 638, 641, 1, 0, 0, 0, 639, 637, 1, 0, 0, 0, 639, 640, 1, 0, 0, 0, 640, 642, 1, 0, 0, 0, 641, 639, 1, 0, 0, 0, 642, 643, 5, 144, 0, 0, 643, 676, 1, 0, 0, 0, 644, 645, 3, 150, 75, 0, 645, 646, 5, 126, 0, 0, 646, 651, 3, 152, 76, 0, 647, 648, 5, 112, 0, 0, 648, 650, 3, 152, 76, 0, 649, 647, 1, 0, 0, 0, 650, 653, 1, 0, 0, 0, 651, 649, 1, 0, 0, 0, 651, 652, 1, 0, 0, 0, 652, 654, 1, 0, 0, 0, 653, 651, 1, 0, 0, 0, 654, 655, 5, 144, 0, 0, 655, 676, 1, 0, 0, 0, 656, 657, 3, 150, 75, 0, 657, 658, 5, 126, 0, 0, 658, 663, 3, 102, 51, 0, 659, 660, 5, 112, 0, 0, 660, 662, 3, 102, 51, 0, 661, 659, 1, 0, 0, 0, 662, 665, 1, 0, 0, 0, 663, 661, 1, 0, 0, 0, 663, 664, 1, 0, 0, 0, 664, 666, 1, 0, 0, 0, 665, 663, 1, 0, 0, 0, 666, 667, 5, 144, 0, 0, 667, 676, 1, 0, 0, 0, 668, 669, 3, 150, 75, 0, 669, 671, 5, 126, 0, 0, 670, 672, 3, 104, 52, 0, 671, 670, 1, 0, 0, 0, 671, 672, 1, 0, 0, 0, 672, 673, 1, 0, 0, 0, 673, 674, 5, 144, 0, 0, 674, 676, 1, 0, 0, 0, 675, 628, 1, 0, 0, 0, 675, 629, 1, 0, 0, 0, 675, 644, 1, 0, 0, 0, 675, 656, 1, 0, 0, 0, 675, 668, 1, 0, 0, 0, 676, 103, 1, 0, 0, 0, 677, 682, 3, 106, 53, 0, 678, 679, 5, 112, 0, 0, 679, 681, 3, 106, 53, 0, 680, 678, 1, 0, 0, 0, 681, 684, 1, 0, 0, 0, 682, 680, 1, 0, 0, 0, 682, 683, 1, 0, 0, 0, 683, 105, 1, 0, 0, 0, 684, 682, 1, 0, 0, 0, 685, 686, 6, 53, -1, 0, 686, 688, 5, 12, 0, 0, 687, 689, 3, 106, 53, 0, 688, 687, 1, 0, 0, 0, 688, 689, 1, 0, 0, 0, 689, 695, 1, 0, 0, 0, 690, 691, 5, 94, 0, 0, 691, 692, 3, 106, 53, 0, 692, 693, 5, 81, 0, 0, 693, 694, 3, 106, 53, 0, 694, 696, 1, 0, 0, 0, 695, 690, 1, 0, 0, 0, 696, 697, 1, 0, 0, 0, 697, 695, 1, 0, 0, 0, 697, 698, 1, 0, 0, 0, 698, 701, 1, 0, 0, 0, 699, 700, 5, 24, 0, 0, 700, 702, 3, 106, 53, 0, 701, 699, 1, 0, 0, 0, 701, 702, 1, 0, 0, 0, 702, 703, 1, 0, 0, 0, 703, 704, 5, 25, 0, 0, 704, 835, 1, 0, 0, 0, 705, 706, 5, 13, 0, 0, 706, 707, 5, 126, 0, 0, 707, 708, 3, 106, 53, 0, 708, 709, 5, 6, 0, 0, 709, 710, 3, 102, 51, 0, 710, 711, 5, 144, 0, 0, 711, 835, 1, 0, 0, 0, 712, 713, 5, 19, 0, 0, 713, 835, 5, 106, 0, 0, 714, 715, 5, 43, 0, 0, 715, 716, 3, 106, 53, 0, 716, 717, 3, 142, 71, 0, 717, 835, 1, 0, 0, 0, 718, 719, 5, 80, 0, 0, 719, 720, 5, 126, 0, 0, 720, 721, 3, 106, 53, 0, 721, 722, 5, 32, 0, 0, 722, 725, 3, 106, 53, 0, 723, 724, 5, 31, 0, 0, 724, 726, 3, 106, 53, 0, 725, 723, 1, 0, 0, 0, 725, 726, 1, 0, 0, 0, 726, 727, 1, 0, 0, 0, 727, 728, 5, 144, 0, 0, 728, 835, 1, 0, 0, 0, 729, 730, 5, 83, 0, 0, 730, 835, 5, 106, 0, 0, 731, 732, 5, 88, 0, 0, 732, 733, 5, 126, 0, 0, 733, 734, 7, 9, 0, 0, 734, 735, 3, 156, 78, 0, 735, 736, 5, 32, 0, 0, 736, 737, 3, 106, 53, 0, 737, 738, 5, 144, 0, 0, 738, 835, 1, 0, 0, 0, 739, 740, 3, 150, 75, 0, 740, 742, 5, 126, 0, 0, 741, 743, 3, 104, 52, 0, 742, 741, 1, 0, 0, 0, 742, 743, 1, 0, 0, 0, 743, 744, 1, 0, 0, 0, 744, 745, 5, 144, 0, 0, 745, 754, 1, 0, 0, 0, 746, 748, 5, 126, 0, 0, 747, 749, 5, 23, 0, 0, 748, 747, 1, 0, 0, 0, 748, 749, 1, 0, 0, 0, 749, 751, 1, 0, 0, 0, 750, 752, 3, 108, 54, 0, 751, 750, 1, 0, 0, 0, 751, 752, 1, 0, 0, 0, 752, 753, 1, 0, 0, 0, 753, 755, 5, 144, 0, 0, 754, 746, 1, 0, 0, 0, 754, 755, 1, 0, 0, 0, 755, 756, 1, 0, 0, 0, 756, 757, 5, 64, 0, 0, 757, 758, 5, 126, 0, 0, 758, 759, 3, 88, 44, 0, 759, 760, 5, 144, 0, 0, 760, 835, 1, 0, 0, 0, 761, 762, 3, 150, 75, 0, 762, 764, 5, 126, 0, 0, 763, 765, 3, 104, 52, 0, 764, 763, 1, 0, 0, 0, 764, 765, 1, 0, 0, 0, 765, 766, 1, 0, 0, 0, 766, 767, 5, 144, 0, 0, 767, 776, 1, 0, 0, 0, 768, 770, 5, 126, 0, 0, 769, 771, 5, 23, 0, 0, 770, 769, 1, 0, 0, 0, 770, 771, 1, 0, 0, 0, 771, 773, 1, 0, 0, 0, 772, 774, 3, 108, 54, 0, 773, 772, 1, 0, 0, 0, 773, 774, 1, 0, 0, 0, 774, 775, 1, 0, 0, 0, 775, 777, 5, 144, 0, 0, 776, 768, 1, 0, 0, 0, 776, 777, 1, 0, 0, 0, 777, 778, 1, 0, 0, 0, 778, 779, 5, 64, 0, 0, 779, 780, 3, 150, 75, 0, 780, 835, 1, 0, 0, 0, 781, 787, 3, 150, 75, 0, 782, 784, 5, 126, 0, 0, 783, 785, 3, 104, 52, 0, 784, 783, 1, 0, 0, 0, 784, 785, 1, 0, 0, 0, 785, 786, 1, 0, 0, 0, 786, 788, 5, 144, 0, 0, 787, 782, 1, 0, 0, 0, 787, 788, 1, 0, 0, 0, 788, 789, 1, 0, 0, 0, 789, 791, 5, 126, 0, 0, 790, 792, 5, 23, 0, 0, 791, 790, 1, 0, 0, 0, 791, 792, 1, 0, 0, 0, 792, 794, 1, 0, 0, 0, 793, 795, 3, 108, 54, 0, 794, 793, 1, 0, 0, 0, 794, 795, 1, 0, 0, 0, 795, 796, 1, 0, 0, 0, 796, 797, 5, 144, 0, 0, 797, 835, 1, 0, 0, 0, 798, 835, 3, 114, 57, 0, 799, 835, 3, 158, 79, 0, 800, 835, 3, 140, 70, 0, 801, 802, 5, 114, 0, 0, 802, 835, 3, 106, 53, 19, 803, 804, 5, 56, 0, 0, 804, 835, 3, 106, 53, 13, 805, 806, 3, 130, 65, 0, 806, 807, 5, 116, 0, 0, 807, 809, 1, 0, 0, 0, 808, 805, 1, 0, 0, 0, 808, 809, 1, 0, 0, 0, 809, 810, 1, 0, 0, 0, 810, 835, 5, 108, 0, 0, 811, 812, 5, 126, 0, 0, 812, 813, 3, 34, 17, 0, 813, 814, 5, 144, 0, 0, 814, 835, 1, 0, 0, 0, 815, 816, 5, 126, 0, 0, 816, 817, 3, 106, 53, 0, 817, 818, 5, 144, 0, 0, 818, 835, 1, 0, 0, 0, 819, 820, 5, 126, 0, 0, 820, 821, 3, 104, 52, 0, 821, 822, 5, 144, 0, 0, 822, 835, 1, 0, 0, 0, 823, 825, 5, 125, 0, 0, 824, 826, 3, 104, 52, 0, 825, 824, 1, 0, 0, 0, 825, 826, 1, 0, 0, 0, 826, 827, 1, 0, 0, 0, 827, 835, 5, 143, 0, 0, 828, 830, 5, 124, 0, 0, 829, 831, 3, 30, 15, 0, 830, 829, 1, 0, 0, 0, 830, 831, 1, 0, 0, 0, 831, 832, 1, 0, 0, 0, 832, 835, 5, 142, 0, 0, 833, 835, 3, 122, 61, 0, 834, 685, 1, 0, 0, 0, 834, 705, 1, 0, 0, 0, 834, 712, 1, 0, 0, 0, 834, 714, 1, 0, 0, 0, 834, 718, 1, 0, 0, 0, 834, 729, 1, 0, 0, 0, 834, 731, 1, 0, 0, 0, 834, 739, 1, 0, 0, 0, 834, 761, 1, 0, 0, 0, 834, 781, 1, 0, 0, 0, 834, 798, 1, 0, 0, 0, 834, 799, 1, 0, 0, 0, 834, 800, 1, 0, 0, 0, 834, 801, 1, 0, 0, 0, 834, 803, 1, 0, 0, 0, 834, 808, 1, 0, 0, 0, 834, 811, 1, 0, 0, 0, 834, 815, 1, 0, 0, 0, 834, 819, 1, 0, 0, 0, 834, 823, 1, 0, 0, 0, 834, 828, 1, 0, 0, 0, 834, 833, 1, 0, 0, 0, 835, 928, 1, 0, 0, 0, 836, 840, 10, 18, 0, 0, 837, 841, 5, 108, 0, 0, 838, 841, 5, 146, 0, 0, 839, 841, 5, 133, 0, 0, 840, 837, 1, 0, 0, 0, 840, 838, 1, 0, 0, 0, 840, 839, 1, 0, 0, 0, 841, 842, 1, 0, 0, 0, 842, 927, 3, 106, 53, 19, 843, 847, 10, 17, 0, 0, 844, 848, 5, 134, 0, 0, 845, 848, 5, 114, 0, 0, 846, 848, 5, 113, 0, 0, 847, 844, 1, 0, 0, 0, 847, 845, 1, 0, 0, 0, 847, 846, 1, 0, 0, 0, 848, 849, 1, 0, 0, 0, 849, 927, 3, 106, 53, 18, 850, 875, 10, 16, 0, 0, 851, 876, 5, 117, 0, 0, 852, 876, 5, 118, 0, 0, 853, 876, 5, 129, 0, 0, 854, 876, 5, 127, 0, 0, 855, 876, 5, 128, 0, 0, 856, 876, 5, 119, 0, 0, 857, 876, 5, 120, 0, 0, 858, 860, 5, 56, 0, 0, 859, 858, 1, 0, 0, 0, 859, 860, 1, 0, 0, 0, 860, 861, 1, 0, 0, 0, 861, 863, 5, 40, 0, 0, 862, 864, 5, 14, 0, 0, 863, 862, 1, 0, 0, 0, 863, 864, 1, 0, 0, 0, 864, 876, 1, 0, 0, 0, 865, 867, 5, 56, 0, 0, 866, 865, 1, 0, 0, 0, 866, 867, 1, 0, 0, 0, 867, 868, 1, 0, 0, 0, 868, 876, 7, 10, 0, 0, 869, 876, 5, 140, 0, 0, 870, 876, 5, 141, 0, 0, 871, 876, 5, 131, 0, 0, 872, 876, 5, 122, 0, 0, 873, 876, 5, 123, 0, 0, 874, 876, 5, 130, 0, 0, 875, 851, 1, 0, 0, 0, 875, 852, 1, 0, 0, 0, 875, 853, 1, 0, 0, 0, 875, 854, 1, 0, 0, 0, 875, 855, 1, 0, 0, 0, 875, 856, 1, 0, 0, 0, 875, 857, 1, 0, 0, 0, 875, 859, 1, 0, 0, 0, 875, 866, 1, 0, 0, 0, 875, 869, 1, 0, 0, 0, 875, 870, 1, 0, 0, 0, 875, 871, 1, 0, 0, 0, 875, 872, 1, 0, 0, 0, 875, 873, 1, 0, 0, 0, 875, 874, 1, 0, 0, 0, 876, 877, 1, 0, 0, 0, 877, 927, 3, 106, 53, 17, 878, 879, 10, 14, 0, 0, 879, 880, 5, 132, 0, 0, 880, 927, 3, 106, 53, 15, 881, 882, 10, 12, 0, 0, 882, 883, 5, 2, 0, 0, 883, 927, 3, 106, 53, 13, 884, 885, 10, 11, 0, 0, 885, 886, 5, 61, 0, 0, 886, 927, 3, 106, 53, 12, 887, 889, 10, 10, 0, 0, 888, 890, 5, 56, 0, 0, 889, 888, 1, 0, 0, 0, 889, 890, 1, 0, 0, 0, 890, 891, 1, 0, 0, 0, 891, 892, 5, 9, 0, 0, 892, 893, 3, 106, 53, 0, 893, 894, 5, 2, 0, 0, 894, 895, 3, 106, 53, 11, 895, 927, 1, 0, 0, 0, 896, 897, 10, 9, 0, 0, 897, 898, 5, 135, 0, 0, 898, 899, 3, 106, 53, 0, 899, 900, 5, 111, 0, 0, 900, 901, 3, 106, 53, 9, 901, 927, 1, 0, 0, 0, 902, 903, 10, 22, 0, 0, 903, 904, 5, 125, 0, 0, 904, 905, 3, 106, 53, 0, 905, 906, 5, 143, 0, 0, 906, 927, 1, 0, 0, 0, 907, 908, 10, 21, 0, 0, 908, 909, 5, 116, 0, 0, 909, 927, 5, 104, 0, 0, 910, 911, 10, 20, 0, 0, 911, 912, 5, 116, 0, 0, 912, 927, 3, 150, 75, 0, 913, 914, 10, 15, 0, 0, 914, 916, 5, 44, 0, 0, 915, 917, 5, 56, 0, 0, 916, 915, 1, 0, 0, 0, 916, 917, 1, 0, 0, 0, 917, 918, 1, 0, 0, 0, 918, 927, 5, 57, 0, 0, 919, 924, 10, 8, 0, 0, 920, 921, 5, 6, 0, 0, 921, 925, 3, 150, 75, 0, 922, 923, 5, 6, 0, 0, 923, 925, 5, 106, 0, 0, 924, 920, 1, 0, 0, 0, 924, 922, 1, 0, 0, 0, 925, 927, 1, 0, 0, 0, 926, 836, 1, 0, 0, 0, 926, 843, 1, 0, 0, 0, 926, 850, 1, 0, 0, 0, 926, 878, 1, 0, 0, 0, 926, 881, 1, 0, 0, 0, 926, 884, 1, 0, 0, 0, 926, 887, 1, 0, 0, 0, 926, 896, 1, 0, 0, 0, 926, 902, 1, 0, 0, 0, 926, 907, 1, 0, 0, 0, 926, 910, 1, 0, 0, 0, 926, 913, 1, 0, 0, 0, 926, 919, 1, 0, 0, 0, 927, 930, 1, 0, 0, 0, 928, 926, 1, 0, 0, 0, 928, 929, 1, 0, 0, 0, 929, 107, 1, 0, 0, 0, 930, 928, 1, 0, 0, 0, 931, 936, 3, 110, 55, 0, 932, 933, 5, 112, 0, 0, 933, 935, 3, 110, 55, 0, 934, 932, 1, 0, 0, 0, 935, 938, 1, 0, 0, 0, 936, 934, 1, 0, 0, 0, 936, 937, 1, 0, 0, 0, 937, 109, 1, 0, 0, 0, 938, 936, 1, 0, 0, 0, 939, 942, 3, 112, 56, 0, 940, 942, 3, 106, 53, 0, 941, 939, 1, 0, 0, 0, 941, 940, 1, 0, 0, 0, 942, 111, 1, 0, 0, 0, 943, 944, 5, 126, 0, 0, 944, 949, 3, 150, 75, 0, 945, 946, 5, 112, 0, 0, 946, 948, 3, 150, 75, 0, 947, 945, 1, 0, 0, 0, 948, 951, 1, 0, 0, 0, 949, 947, 1, 0, 0, 0, 949, 950, 1, 0, 0, 0, 950, 952, 1, 0, 0, 0, 951, 949, 1, 0, 0, 0, 952, 953, 5, 144, 0, 0, 953, 963, 1, 0, 0, 0, 954, 959, 3, 150, 75, 0, 955, 956, 5, 112, 0, 0, 956, 958, 3, 150, 75, 0, 957, 955, 1, 0, 0, 0, 958, 961, 1, 0, 0, 0, 959, 957, 1, 0, 0, 0, 959, 960, 1, 0, 0, 0, 960, 963, 1, 0, 0, 0, 961, 959, 1, 0, 0, 0, 962, 943, 1, 0, 0, 0, 962, 954, 1, 0, 0, 0, 963, 964, 1, 0, 0, 0, 964, 965, 5, 107, 0, 0, 965, 966, 3, 106, 53, 0, 966, 113, 1, 0, 0, 0, 967, 968, 5, 128, 0, 0, 968, 972, 3, 150, 75, 0, 969, 971, 3, 116, 58, 0, 970, 969, 1, 0, 0, 0, 971, 974, 1, 0, 0, 0, 972, 970, 1, 0, 0, 0, 972, 973, 1, 0, 0, 0, 973, 975, 1, 0, 0, 0, 974, 972, 1, 0, 0, 0, 975, 976, 5, 146, 0, 0, 976, 977, 5, 120, 0, 0, 977, 996, 1, 0, 0, 0, 978, 979, 5, 128, 0, 0, 979, 983, 3, 150, 75, 0, 980, 982, 3, 116, 58, 0, 981, 980, 1, 0, 0, 0, 982, 985, 1, 0, 0, 0, 983, 981, 1, 0, 0, 0, 983, 984, 1, 0, 0, 0, 984, 986, 1, 0, 0, 0, 985, 983, 1, 0, 0, 0, 986, 988, 5, 120, 0, 0, 987, 989, 3, 114, 57, 0, 988, 987, 1, 0, 0, 0, 988, 989, 1, 0, 0, 0, 989, 990, 1, 0, 0, 0, 990, 991, 5, 128, 0, 0, 991, 992, 5, 146, 0, 0, 992, 993, 3, 150, 75, 0, 993, 994, 5, 120, 0, 0, 994, 996, 1, 0, 0, 0, 995, 967, 1, 0, 0, 0, 995, 978, 1, 0, 0, 0, 996, 115, 1, 0, 0, 0, 997, 998, 3, 150, 75, 0, 998, 999, 5, 118, 0, 0, 999, 1000, 3, 156, 78, 0, 1000, 1009, 1, 0, 0, 0, 1001, 1002, 3, 150, 75, 0, 1002, 1003, 5, 118, 0, 0, 1003, 1004, 5, 124, 0, 0, 1004, 1005, 3, 106, 53, 0, 1005, 1006, 5, 142, 0, 0, 1006, 1009, 1, 0, 0, 0, 1007, 1009, 3, 150, 75, 0, 1008, 997, 1, 0, 0, 0, 1008, 1001, 1, 0, 0, 0, 1008, 1007, 1, 0, 0, 0, 1009, 117, 1, 0, 0, 0, 1010, 1015, 3, 120, 60, 0, 1011, 1012, 5, 112, 0, 0, 1012, 1014, 3, 120, 60, 0, 1013, 1011, 1, 0, 0, 0, 1014, 1017, 1, 0, 0, 0, 1015, 1013, 1, 0, 0, 0, 1015, 1016, 1, 0, 0, 0, 1016, 119, 1, 0, 0, 0, 1017, 1015, 1, 0, 0, 0, 1018, 1019, 3, 150, 75, 0, 1019, 1020, 5, 6, 0, 0, 1020, 1021, 5, 126, 0, 0, 1021, 1022, 3, 34, 17, 0, 1022, 1023, 5, 144, 0, 0, 1023, 1029, 1, 0, 0, 0, 1024, 1025, 3, 106, 53, 0, 1025, 1026, 5, 6, 0, 0, 1026, 1027, 3, 150, 75, 0, 1027, 1029, 1, 0, 0, 0, 1028, 1018, 1, 0, 0, 0, 1028, 1024, 1, 0, 0, 0, 1029, 121, 1, 0, 0, 0, 1030, 1038, 3, 154, 77, 0, 1031, 1032, 3, 130, 65, 0, 1032, 1033, 5, 116, 0, 0, 1033, 1035, 1, 0, 0, 0, 1034, 1031, 1, 0, 0, 0, 1034, 1035, 1, 0, 0, 0, 1035, 1036, 1, 0, 0, 0, 1036, 1038, 3, 124, 62, 0, 1037, 1030, 1, 0, 0, 0, 1037, 1034, 1, 0, 0, 0, 1038, 123, 1, 0, 0, 0, 1039, 1044, 3, 150, 75, 0, 1040, 1041, 5, 116, 0, 0, 1041, 1043, 3, 150, 75, 0, 1042, 1040, 1, 0, 0, 0, 1043, 1046, 1, 0, 0, 0, 1044, 1042, 1, 0, 0, 0, 1044, 1045, 1, 0, 0, 0, 1045, 125, 1, 0, 0, 0, 1046, 1044, 1, 0, 0, 0, 1047, 1048, 6, 63, -1, 0, 1048, 1057, 3, 130, 65, 0, 1049, 1057, 3, 128, 64, 0, 1050, 1051, 5, 126, 0, 0, 1051, 1052, 3, 34, 17, 0, 1052, 1053, 5, 144, 0, 0, 1053, 1057, 1, 0, 0, 0, 1054, 1057, 3, 114, 57, 0, 1055, 1057, 3, 154, 77, 0, 1056, 1047, 1, 0, 0, 0, 1056, 1049, 1, 0, 0, 0, 1056, 1050, 1, 0, 0, 0, 1056, 1054, 1, 0, 0, 0, 1056, 1055, 1, 0, 0, 0, 1057, 1066, 1, 0, 0, 0, 1058, 1062, 10, 3, 0, 0, 1059, 1063, 3, 148, 74, 0, 1060, 1061, 5, 6, 0, 0, 1061, 1063, 3, 150, 75, 0, 1062, 1059, 1, 0, 0, 0, 1062, 1060, 1, 0, 0, 0, 1063, 1065, 1, 0, 0, 0, 1064, 1058, 1, 0, 0, 0, 1065, 1068, 1, 0, 0, 0, 1066, 1064, 1, 0, 0, 0, 1066, 1067, 1, 0, 0, 0, 1067, 127, 1, 0, 0, 0, 1068, 1066, 1, 0, 0, 0, 1069, 1070, 3, 150, 75, 0, 1070, 1072, 5, 126, 0, 0, 1071, 1073, 3, 132, 66, 0, 1072, 1071, 1, 0, 0, 0, 1072, 1073, 1, 0, 0, 0, 1073, 1074, 1, 0, 0, 0, 1074, 1075, 5, 144, 0, 0, 1075, 129, 1, 0, 0, 0, 1076, 1077, 3, 134, 67, 0, 1077, 1078, 5, 116, 0, 0, 1078, 1080, 1, 0, 0, 0, 1079, 1076, 1, 0, 0, 0, 1079, 1080, 1, 0, 0, 0, 1080, 1081, 1, 0, 0, 0, 1081, 1082, 3, 150, 75, 0, 1082, 131, 1, 0, 0, 0, 1083, 1088, 3, 106, 53, 0, 1084, 1085, 5, 112, 0, 0, 1085, 1087, 3, 106, 53, 0, 1086, 1084, 1, 0, 0, 0, 1087, 1090, 1, 0, 0, 0, 1088, 1086, 1, 0, 0, 0, 1088, 1089, 1, 0, 0, 0, 1089, 133, 1, 0, 0, 0, 1090, 1088, 1, 0, 0, 0, 1091, 1092, 3, 150, 75, 0, 1092, 135, 1, 0, 0, 0, 1093, 1102, 5, 102, 0, 0, 1094, 1095, 5, 116, 0, 0, 1095, 1102, 7, 11, 0, 0, 1096, 1097, 5, 104, 0, 0, 1097, 1099, 5, 116, 0, 0, 1098, 1100, 7, 11, 0, 0, 1099, 1098, 1, 0, 0, 0, 1099, 1100, 1, 0, 0, 0, 1100, 1102, 1, 0, 0, 0, 1101, 1093, 1, 0, 0, 0, 1101, 1094, 1, 0, 0, 0, 1101, 1096, 1, 0, 0, 0, 1102, 137, 1, 0, 0, 0, 1103, 1105, 7, 12, 0, 0, 1104, 1103, 1, 0, 0, 0, 1104, 1105, 1, 0, 0, 0, 1105, 1112, 1, 0, 0, 0, 1106, 1113, 3, 136, 68, 0, 1107, 1113, 5, 103, 0, 0, 1108, 1113, 5, 104, 0, 0, 1109, 1113, 5, 105, 0, 0, 1110, 1113, 5, 41, 0, 0, 1111, 1113, 5, 55, 0, 0, 1112, 1106, 1, 0, 0, 0, 1112, 1107, 1, 0, 0, 0, 1112, 1108, 1, 0, 0, 0, 1112, 1109, 1, 0, 0, 0, 1112, 1110, 1, 0, 0, 0, 1112, 1111, 1, 0, 0, 0, 1113, 139, 1, 0, 0, 0, 1114, 1118, 3, 138, 69, 0, 1115, 1118, 5, 106, 0, 0, 1116, 1118, 5, 57, 0, 0, 1117, 1114, 1, 0, 0, 0, 1117, 1115, 1, 0, 0, 0, 1117, 1116, 1, 0, 0, 0, 1118, 141, 1, 0, 0, 0, 1119, 1120, 7, 13, 0, 0, 1120, 143, 1, 0, 0, 0, 1121, 1122, 7, 14, 0, 0, 1122, 145, 1, 0, 0, 0, 1123, 1124, 7, 15, 0, 0, 1124, 147, 1, 0, 0, 0, 1125, 1128, 5, 101, 0, 0, 1126, 1128, 3, 146, 73, 0, 1127, 1125, 1, 0, 0, 0, 1127, 1126, 1, 0, 0, 0, 1128, 149, 1, 0, 0, 0, 1129, 1133, 5, 101, 0, 0, 1130, 1133, 3, 142, 71, 0, 1131, 1133, 3, 144, 72, 0, 1132, 1129, 1, 0, 0, 0, 1132, 1130, 1, 0, 0, 0, 1132, 1131, 1, 0, 0, 0, 1133, 151, 1, 0, 0, 0, 1134, 1135, 3, 156, 78, 0, 1135, 1136, 5, 118, 0, 0, 1136, 1137, 3, 138, 69, 0, 1137, 153, 1, 0, 0, 0, 1138, 1139, 5, 124, 0, 0, 1139, 1140, 3, 150, 75, 0, 1140, 1141, 5, 142, 0, 0, 1141, 155, 1, 0, 0, 0, 1142, 1145, 5, 106, 0, 0, 1143, 1145, 3, 158, 79, 0, 1144, 1142, 1, 0, 0, 0, 1144, 1143, 1, 0, 0, 0, 1145, 157, 1, 0, 0, 0, 1146, 1150, 5, 137, 0, 0, 1147, 1149, 3, 160, 80, 0, 1148, 1147, 1, 0, 0, 0, 1149, 1152, 1, 0, 0, 0, 1150, 1148, 1, 0, 0, 0, 1150, 1151, 1, 0, 0, 0, 1151, 1153, 1, 0, 0, 0, 1152, 1150, 1, 0, 0, 0, 1153, 1154, 5, 139, 0, 0, 1154, 159, 1, 0, 0, 0, 1155, 1156, 5, 152, 0, 0, 1156, 1157, 3, 106, 53, 0, 1157, 1158, 5, 142, 0, 0, 1158, 1161, 1, 0, 0, 0, 1159, 1161, 5, 151, 0, 0, 1160, 1155, 1, 0, 0, 0, 1160, 1159, 1, 0, 0, 0, 1161, 161, 1, 0, 0, 0, 1162, 1166, 5, 138, 0, 0, 1163, 1165, 3, 164, 82, 0, 1164, 1163, 1, 0, 0, 0, 1165, 1168, 1, 0, 0, 0, 1166, 1164, 1, 0, 0, 0, 1166, 1167, 1, 0, 0, 0, 1167, 1169, 1, 0, 0, 0, 1168, 1166, 1, 0, 0, 0, 1169, 1170, 5, 0, 0, 1, 1170, 163, 1, 0, 0, 0, 1171, 1172, 5, 154, 0, 0, 1172, 1173, 3, 106, 53, 0, 1173, 1174, 5, 142, 0, 0, 1174, 1177, 1, 0, 0, 0, 1175, 1177, 5, 153, 0, 0, 1176, 1171, 1, 0, 0, 0, 1176, 1175, 1, 0, 0, 0, 1177, 165, 1, 0, 0, 0, 145, 169, 176, 185, 192, 203, 207, 210, 219, 227, 233, 245, 253, 267, 273, 283, 292, 295, 299, 302, 306, 309, 312, 315, 318, 322, 326, 329, 332, 335, 339, 342, 351, 357, 378, 395, 412, 418, 424, 435, 437, 448, 451, 457, 465, 471, 473, 477, 482, 485, 488, 492, 496, 499, 501, 504, 508, 512, 515, 517, 519, 524, 535, 541, 548, 553, 557, 561, 567, 569, 576, 584, 587, 590, 609, 623, 639, 651, 663, 671, 675, 682, 688, 697, 701, 725, 742, 748, 751, 754, 764, 770, 773, 776, 784, 787, 791, 794, 808, 825, 830, 834, 840, 847, 859, 863, 866, 875, 889, 916, 924, 926, 928, 936, 941, 949, 959, 962, 972, 983, 988, 995, 1008, 1015, 1028, 1034, 1037, 1044, 1056, 1062, 1066, 1072, 1079, 1088, 1099, 1101, 1104, 1112, 1117, 1127, 1132, 1144, 1150, 1160, 1166, 1176] \ No newline at end of file diff --git a/hogql_parser/HogQLParserBaseVisitor.h b/hogql_parser/HogQLParserBaseVisitor.h index a01c37dc8c33e..52c96aae23565 100644 --- a/hogql_parser/HogQLParserBaseVisitor.h +++ b/hogql_parser/HogQLParserBaseVisitor.h @@ -31,10 +31,6 @@ class HogQLParserBaseVisitor : public HogQLParserVisitor { return visitChildren(ctx); } - virtual std::any visitVarAssignment(HogQLParser::VarAssignmentContext *ctx) override { - return visitChildren(ctx); - } - virtual std::any visitIdentifierList(HogQLParser::IdentifierListContext *ctx) override { return visitChildren(ctx); } @@ -43,7 +39,7 @@ class HogQLParserBaseVisitor : public HogQLParserVisitor { return visitChildren(ctx); } - virtual std::any visitExprStmt(HogQLParser::ExprStmtContext *ctx) override { + virtual std::any visitReturnStmt(HogQLParser::ReturnStmtContext *ctx) override { return visitChildren(ctx); } @@ -55,11 +51,15 @@ class HogQLParserBaseVisitor : public HogQLParserVisitor { return visitChildren(ctx); } - virtual std::any visitReturnStmt(HogQLParser::ReturnStmtContext *ctx) override { + virtual std::any visitFuncStmt(HogQLParser::FuncStmtContext *ctx) override { return visitChildren(ctx); } - virtual std::any visitFuncStmt(HogQLParser::FuncStmtContext *ctx) override { + virtual std::any visitVarAssignment(HogQLParser::VarAssignmentContext *ctx) override { + return visitChildren(ctx); + } + + virtual std::any visitExprStmt(HogQLParser::ExprStmtContext *ctx) override { return visitChildren(ctx); } diff --git a/hogql_parser/HogQLParserVisitor.h b/hogql_parser/HogQLParserVisitor.h index d68806e5c78da..c1d69d7f8eff4 100644 --- a/hogql_parser/HogQLParserVisitor.h +++ b/hogql_parser/HogQLParserVisitor.h @@ -27,22 +27,22 @@ class HogQLParserVisitor : public antlr4::tree::AbstractParseTreeVisitor { virtual std::any visitVarDecl(HogQLParser::VarDeclContext *context) = 0; - virtual std::any visitVarAssignment(HogQLParser::VarAssignmentContext *context) = 0; - virtual std::any visitIdentifierList(HogQLParser::IdentifierListContext *context) = 0; virtual std::any visitStatement(HogQLParser::StatementContext *context) = 0; - virtual std::any visitExprStmt(HogQLParser::ExprStmtContext *context) = 0; + virtual std::any visitReturnStmt(HogQLParser::ReturnStmtContext *context) = 0; virtual std::any visitIfStmt(HogQLParser::IfStmtContext *context) = 0; virtual std::any visitWhileStmt(HogQLParser::WhileStmtContext *context) = 0; - virtual std::any visitReturnStmt(HogQLParser::ReturnStmtContext *context) = 0; - virtual std::any visitFuncStmt(HogQLParser::FuncStmtContext *context) = 0; + virtual std::any visitVarAssignment(HogQLParser::VarAssignmentContext *context) = 0; + + virtual std::any visitExprStmt(HogQLParser::ExprStmtContext *context) = 0; + virtual std::any visitEmptyStmt(HogQLParser::EmptyStmtContext *context) = 0; virtual std::any visitBlock(HogQLParser::BlockContext *context) = 0; diff --git a/hogql_parser/parser.cpp b/hogql_parser/parser.cpp index 274aa741ae24a..c1a85b8d8cfd6 100644 --- a/hogql_parser/parser.cpp +++ b/hogql_parser/parser.cpp @@ -1059,9 +1059,7 @@ class HogQLParseTreeConverter : public HogQLParserBaseVisitor { VISIT(ColumnExprAlias) { string alias; - if (ctx->alias()) { - alias = visitAsString(ctx->alias()); - } else if (ctx->identifier()) { + if (ctx->identifier()) { alias = visitAsString(ctx->identifier()); } else if (ctx->STRING_LITERAL()) { alias = parse_string_literal_ctx(ctx->STRING_LITERAL()); diff --git a/hogvm/__tests__/__snapshots__/functions.hoge b/hogvm/__tests__/__snapshots__/functions.hoge index 40a8579bcab4a..cc66c005c1230 100644 --- a/hogvm/__tests__/__snapshots__/functions.hoge +++ b/hogvm/__tests__/__snapshots__/functions.hoge @@ -1,10 +1,9 @@ ["_h", 32, "-- test functions --", 2, "print", 1, 35, 41, "add", 2, 6, 36, 0, 36, 1, 6, 38, 41, "add2", 2, 9, 36, 0, 36, 1, 6, 36, 2, 38, 35, 41, "mult", 2, 6, 36, 0, 36, 1, 8, 38, 41, "noArgs", 0, 12, 32, "basdfasdf", 33, 3, 33, 2, 6, 36, -1, 38, 35, 35, 41, "empty", 0, 2, 31, 38, 41, "empty2", 0, 4, 29, 35, 31, 38, 41, "empty3", 0, 8, 29, 35, 29, 35, 29, -35, 31, 38, 41, "noReturn", 0, 14, 33, 1, 33, 2, 36, 1, 36, 0, 6, 31, 38, 35, 35, 35, 33, 4, 33, 3, 2, "add", 2, 2, -"print", 1, 35, 33, 1, 33, 1, 2, "add", 2, 33, 100, 33, 4, 33, 3, 2, "add", 2, 6, 6, 2, "print", 1, 35, 33, -1, 2, -"noArgs", 0, 2, "ifNull", 2, 2, "print", 1, 35, 33, -1, 2, "empty", 0, 2, "ifNull", 2, 2, "print", 1, 35, 33, -1, 2, -"empty2", 0, 2, "ifNull", 2, 2, "print", 1, 35, 33, -1, 2, "empty3", 0, 2, "ifNull", 2, 2, "print", 1, 35, 33, -1, 2, -"noReturn", 0, 2, "ifNull", 2, 2, "print", 1, 35, 33, 2, 33, 1, 33, 2, 2, "add", 2, 33, 100, 33, 4, 33, 3, 2, "add", 2, -6, 6, 2, "mult", 2, 2, "print", 1, 35, 33, 10, 33, 1, 33, 2, 2, "add2", 2, 33, 100, 33, 4, 33, 3, 2, "add2", 2, 6, 6, 2, -"mult", 2, 2, "print", 1, 35] +1, 38, 35, 35, 41, "empty", 0, 2, 31, 38, 41, "empty2", 0, 2, 31, 38, 41, "empty3", 0, 2, 31, 38, 41, "noReturn", 0, 14, +33, 1, 33, 2, 36, 1, 36, 0, 6, 31, 38, 35, 35, 35, 33, 4, 33, 3, 2, "add", 2, 2, "print", 1, 35, 33, 1, 33, 1, 2, "add", +2, 33, 100, 33, 4, 33, 3, 2, "add", 2, 6, 6, 2, "print", 1, 35, 33, -1, 2, "noArgs", 0, 2, "ifNull", 2, 2, "print", 1, +35, 33, -1, 2, "empty", 0, 2, "ifNull", 2, 2, "print", 1, 35, 33, -1, 2, "empty2", 0, 2, "ifNull", 2, 2, "print", 1, 35, +33, -1, 2, "empty3", 0, 2, "ifNull", 2, 2, "print", 1, 35, 33, -1, 2, "noReturn", 0, 2, "ifNull", 2, 2, "print", 1, 35, +33, 2, 33, 1, 33, 2, 2, "add", 2, 33, 100, 33, 4, 33, 3, 2, "add", 2, 6, 6, 2, "mult", 2, 2, "print", 1, 35, 33, 10, 33, +1, 33, 2, 2, "add2", 2, 33, 100, 33, 4, 33, 3, 2, "add2", 2, 6, 6, 2, "mult", 2, 2, "print", 1, 35] diff --git a/hogvm/__tests__/arrays.hog b/hogvm/__tests__/arrays.hog index 86c695e7a7918..af6f0c81decd8 100644 --- a/hogvm/__tests__/arrays.hog +++ b/hogvm/__tests__/arrays.hog @@ -1,12 +1,12 @@ -print([]); -print([1, 2, 3]); -print([1, '2', 3]); -print([1, [2, 3], 4]); -print([1, [2, [3, 4]], 5]); +print([]) +print([1, 2, 3]) +print([1, '2', 3]) +print([1, [2, 3], 4]) +print([1, [2, [3, 4]], 5]) -let a := [1, 2, 3]; -print(a[1]); -print([1, 2, 3][1]); -print([1, [2, [3, 4]], 5][1][1][1]); -print([1, [2, [3, 4]], 5][1][1][1] + 1); -print([1, [2, [3, 4]], 5].1.1.1); +let a := [1, 2, 3] +print(a[1]) +print([1, 2, 3][1]) +print([1, [2, [3, 4]], 5][1][1][1]) +print([1, [2, [3, 4]], 5][1][1][1] + 1) +print([1, [2, [3, 4]], 5].1.1.1) diff --git a/hogvm/__tests__/dicts.hog b/hogvm/__tests__/dicts.hog index d76b174bb608c..c1cdf03fbef81 100644 --- a/hogvm/__tests__/dicts.hog +++ b/hogvm/__tests__/dicts.hog @@ -1,13 +1,13 @@ -print({}); -print({'key': 'value'}); -print({'key': 'value', 'other': 'thing'}); -print({'key': {'otherKey': 'value'}}); -print({key: 'value'}); +print({}) +print({'key': 'value'}) +print({'key': 'value', 'other': 'thing'}) +print({'key': {'otherKey': 'value'}}) +print({key: 'value'}) -let key := 3; -print({key: 'value'}); +let key := 3 +print({key: 'value'}) -print({'key': 'value'}.key); -print({'key': 'value'}['key']); -print({'key': {'otherKey': 'value'}}.key.otherKey); -print({'key': {'otherKey': 'value'}}['key'].otherKey); +print({'key': 'value'}.key) +print({'key': 'value'}['key']) +print({'key': {'otherKey': 'value'}}.key.otherKey) +print({'key': {'otherKey': 'value'}}['key'].otherKey) diff --git a/hogvm/__tests__/functions.hog b/hogvm/__tests__/functions.hog index 57f7491002e45..bc4c677b8f35b 100644 --- a/hogvm/__tests__/functions.hog +++ b/hogvm/__tests__/functions.hog @@ -1,35 +1,35 @@ -print('-- test functions --'); +print('-- test functions --') fn add(a, b) { - return a + b; + return a + b } fn add2(a, b) { - let c := a + b; - return c; + let c := a + b + return c } fn mult(a, b) { - return a * b; + return a * b } fn noArgs() { - let url := 'basdfasdf'; - let second := 2 + 3; - return second; + let url := 'basdfasdf' + let second := 2 + 3 + return second } fn empty() {} -fn empty2() {;} -fn empty3() {;;;} +fn empty2() {} +fn empty3() {} fn noReturn() { - let a := 1; - let b := 2; - let c := a + b; + let a := 1 + let b := 2 + let c := a + b } -print(add(3, 4)); -print(add(3, 4) + 100 + add(1, 1)); -print(noArgs() ?? -1); -print(empty() ?? -1); -print(empty2() ?? -1); -print(empty3() ?? -1); -print(noReturn() ?? -1); -print(mult(add(3, 4) + 100 + add(2, 1), 2)); -print(mult(add2(3, 4) + 100 + add2(2, 1), 10)); +print(add(3, 4)) +print(add(3, 4) + 100 + add(1, 1)) +print(noArgs() ?? -1) +print(empty() ?? -1) +print(empty2() ?? -1) +print(empty3() ?? -1) +print(noReturn() ?? -1) +print(mult(add(3, 4) + 100 + add(2, 1), 2)) +print(mult(add2(3, 4) + 100 + add2(2, 1), 10)) diff --git a/hogvm/__tests__/ifElse.hog b/hogvm/__tests__/ifElse.hog index 85b584a2049c4..ea68bd00e81b6 100644 --- a/hogvm/__tests__/ifElse.hog +++ b/hogvm/__tests__/ifElse.hog @@ -1,15 +1,15 @@ -print('-- test if else --'); +print('-- test if else --') { - if (true) print(1); else print(2); - if (true) print(1); else print(2); - if (false) print(1); else print(2); - if (true) { print(1); } else { print(2); } + if (true) print(1) else print(2) + if (true) print(1) else print(2) + if (false) print(1) else print(2) + if (true) { print(1) } else { print(2) } - let a := true; + let a := true if (a) { - let a := 3; - print(a + 2); + let a := 3 + print(a + 2) } else { - print(2); + print(2) } } diff --git a/hogvm/__tests__/json.hog b/hogvm/__tests__/json.hog index 3ad74f8f70857..faa7aa7a1b667 100644 --- a/hogvm/__tests__/json.hog +++ b/hogvm/__tests__/json.hog @@ -1,8 +1,8 @@ ---- Commented out because python and JS add different spaces to their JSON output --- print(jsonStringify({'$browser': 'Chrome', '$os': 'Windows' })); --- print(jsonStringify({'$browser': 'Chrome', '$os': 'Windows' }, 3)); +-- print(jsonStringify({'$browser': 'Chrome', '$os': 'Windows' })) +-- print(jsonStringify({'$browser': 'Chrome', '$os': 'Windows' }, 3)) -print(jsonParse('[1,2,3]')); +print(jsonParse('[1,2,3]')) let event := { 'event': '$pageview', @@ -10,6 +10,6 @@ let event := { '$browser': 'Chrome', '$os': 'Windows' } -}; -let json := jsonStringify(event); -print(jsonParse(json)); +} +let json := jsonStringify(event) +print(jsonParse(json)) diff --git a/hogvm/__tests__/loops.hog b/hogvm/__tests__/loops.hog index ecd8e9a0c9f8e..3f59f9d7c1937 100644 --- a/hogvm/__tests__/loops.hog +++ b/hogvm/__tests__/loops.hog @@ -1,9 +1,9 @@ -print('-- test while loop --'); +print('-- test while loop --') { - let i := 0; + let i := 0 while (i < 3) { - i := i + 1; - print(i); + i := i + 1 + print(i) } - print(i); + print(i) } diff --git a/hogvm/__tests__/mandelbrot.hog b/hogvm/__tests__/mandelbrot.hog index b9af4409053b9..6ac17b2989d57 100644 --- a/hogvm/__tests__/mandelbrot.hog +++ b/hogvm/__tests__/mandelbrot.hog @@ -1,44 +1,44 @@ fn mandelbrot(re, im, max_iter) { - let z_re := 0.0; - let z_im := 0.0; - let n := 0; + let z_re := 0.0 + let z_im := 0.0 + let n := 0 while (z_re*z_re + z_im*z_im <= 4 and n < max_iter) { - let temp_re := z_re * z_re - z_im * z_im + re; - let temp_im := 2 * z_re * z_im + im; - z_re := temp_re; - z_im := temp_im; - n := n + 1; + let temp_re := z_re * z_re - z_im * z_im + re + let temp_im := 2 * z_re * z_im + im + z_re := temp_re + z_im := temp_im + n := n + 1 } if (n == max_iter) { - return ' '; + return ' ' } else { - return '#'; + return '#' } } fn main() { - let width := 80; - let height := 24; - let xmin := -2.0; - let xmax := 1.0; - let ymin := -1.0; - let ymax := 1.0; - let max_iter := 30; + let width := 80 + let height := 24 + let xmin := -2.0 + let xmax := 1.0 + let ymin := -1.0 + let ymax := 1.0 + let max_iter := 30 - let y := 0; + let y := 0 while(y < height) { - let row := ''; - let x := 0; + let row := '' + let x := 0 while (x < width) { - let re := x / width * (xmax - xmin) + xmin; - let im := y / height * (ymax - ymin) + ymin; - let letter := mandelbrot(re, im, max_iter); - row := concat(row, letter); - x := x + 1; + let re := x / width * (xmax - xmin) + xmin + let im := y / height * (ymax - ymin) + ymin + let letter := mandelbrot(re, im, max_iter) + row := concat(row, letter) + x := x + 1 } - print(row); - y := y + 1; + print(row) + y := y + 1 } } -main(); \ No newline at end of file +main() \ No newline at end of file diff --git a/hogvm/__tests__/mandelbrot.hoge b/hogvm/__tests__/mandelbrot.hoge deleted file mode 100644 index 211995efe2bc9..0000000000000 --- a/hogvm/__tests__/mandelbrot.hoge +++ /dev/null @@ -1,8 +0,0 @@ -["_h", 41, "mandelbrot", 3, 93, 34, 0.0, 34, 0.0, 33, 0, 36, 0, 36, 5, 15, 33, 4, 36, 4, 36, 4, 8, 36, 3, 36, 3, 8, 6, -16, 3, 2, 40, 44, 36, 2, 36, 4, 36, 4, 8, 36, 3, 36, 3, 8, 7, 6, 36, 1, 36, 4, 36, 3, 33, 2, 8, 8, 6, 36, 6, 37, 3, 36, -7, 37, 4, 33, 1, 36, 5, 6, 37, 5, 35, 35, 39, -67, 36, 0, 36, 5, 11, 40, 5, 32, " ", 38, 39, 3, 32, "#", 38, 31, 38, 35, -35, 35, 41, "main", 0, 119, 33, 80, 33, 24, 34, -2.0, 34, 1.0, 34, -1.0, 34, 1.0, 33, 30, 33, 0, 36, 1, 36, 7, 15, 40, -86, 32, "", 33, 0, 36, 0, 36, 9, 15, 40, 58, 36, 2, 36, 2, 36, 3, 7, 36, 0, 36, 9, 9, 8, 6, 36, 4, 36, 4, 36, 5, 7, 36, -1, 36, 7, 9, 8, 6, 36, 6, 36, 11, 36, 10, 2, "mandelbrot", 3, 36, 12, 36, 8, 2, "concat", 2, 37, 8, 33, 1, 36, 9, 6, 37, -9, 35, 35, 35, 39, -65, 36, 8, 2, "print", 1, 35, 33, 1, 36, 7, 6, 37, 7, 35, 35, 39, -93, 31, 38, 35, 35, 35, 35, 35, -35, 35, 35, 2, "main", 0, 35] diff --git a/hogvm/__tests__/operations.hog b/hogvm/__tests__/operations.hog index c89918d9ed62c..25eca892ab190 100644 --- a/hogvm/__tests__/operations.hog +++ b/hogvm/__tests__/operations.hog @@ -1,70 +1,70 @@ fn test(val) { - print(jsonStringify(val)); + print(jsonStringify(val)) } -print('-- test the most common expressions --'); -test(1 + 2); -- 3 -test(1 - 2); -- -1 -test(3 * 2); -- 6 -test(3 / 2); -- 1.5 -test(3 % 2); -- 1 -test(1 and 2); -- true -test(1 or 0); -- true -test(1 and 0); -- false -test(1 or (0 and 1) or 2); -- true -test((1 and 0) and 1); -- false -test((1 or 2) and (1 or 2)); -- true -test(true); -- true -test(not true); -- false -test(false); -- false -test(null); -- null -test(3.14); -- 3.14 -test(1 = 2); -- false -test(1 == 2); -- false -test(1 != 2); -- true -test(1 < 2); -- true -test(1 <= 2); -- true -test(1 > 2); -- false -test(1 >= 2); -- false -test('a' like 'b'); -- false -test('baa' like '%a%'); -- true -test('baa' like '%x%'); -- false -test('baa' ilike '%A%'); -- true -test('baa' ilike '%C%'); -- false -test('a' ilike 'b'); -- false -test('a' not like 'b'); -- true -test('a' not ilike 'b'); -- true -test('a' in 'car'); -- true -test('a' in 'foo'); -- false -test('a' not in 'car'); -- false -test(properties.bla); -- null -test(properties.foo); -- "bar" -test(ifNull(properties.foo, false)); -- "bar" -test(ifNull(properties.nullValue, false)); -- false -test(concat('arg', 'another')); -- 'arganother' -test(concat(1, NULL)); -- '1' -test(concat(true, false)); -- 'truefalse' -test(match('test', 'e.*')); -- true -test(match('test', '^e.*')); -- false -test(match('test', 'x.*')); -- false -test('test' =~ 'e.*'); -- true -test('test' !~ 'e.*'); -- false -test('test' =~ '^e.*'); -- false -test('test' !~ '^e.*'); -- true -test('test' =~ 'x.*'); -- false -test('test' !~ 'x.*'); -- true -test('test' ~* 'EST'); -- true -test('test' =~* 'EST'); -- true -test('test' !~* 'EST'); -- false -test(toString(1)); -- '1' -test(toString(1.5)); -- '1.5' -test(toString(true)); -- 'true' -test(toString(null)); -- 'null' -test(toString('string')); -- 'string' -test(toInt('1')); -- 1 -test(toInt('bla')); -- null -test(toFloat('1.2')); -- 1.2 -test(toFloat('bla')); -- null -test(toUUID('asd')); -- 'asd' -test(1 == null); -- false -test(1 != null); -- true +print('-- test the most common expressions --') +test(1 + 2) -- 3 +test(1 - 2) -- -1 +test(3 * 2) -- 6 +test(3 / 2) -- 1.5 +test(3 % 2) -- 1 +test(1 and 2) -- true +test(1 or 0) -- true +test(1 and 0) -- false +test(1 or (0 and 1) or 2) -- true +test((1 and 0) and 1) -- false +test((1 or 2) and (1 or 2)) -- true +test(true) -- true +test(not true) -- false +test(false) -- false +test(null) -- null +test(3.14) -- 3.14 +test(1 = 2) -- false +test(1 == 2) -- false +test(1 != 2) -- true +test(1 < 2) -- true +test(1 <= 2) -- true +test(1 > 2) -- false +test(1 >= 2) -- false +test('a' like 'b') -- false +test('baa' like '%a%') -- true +test('baa' like '%x%') -- false +test('baa' ilike '%A%') -- true +test('baa' ilike '%C%') -- false +test('a' ilike 'b') -- false +test('a' not like 'b') -- true +test('a' not ilike 'b') -- true +test('a' in 'car') -- true +test('a' in 'foo') -- false +test('a' not in 'car') -- false +test(properties.bla) -- null +test(properties.foo) -- "bar" +test(ifNull(properties.foo, false)) -- "bar" +test(ifNull(properties.nullValue, false)) -- false +test(concat('arg', 'another')) -- 'arganother' +test(concat(1, NULL)) -- '1' +test(concat(true, false)) -- 'truefalse' +test(match('test', 'e.*')) -- true +test(match('test', '^e.*')) -- false +test(match('test', 'x.*')) -- false +test('test' =~ 'e.*') -- true +test('test' !~ 'e.*') -- false +test('test' =~ '^e.*') -- false +test('test' !~ '^e.*') -- true +test('test' =~ 'x.*') -- false +test('test' !~ 'x.*') -- true +test('test' ~* 'EST') -- true +test('test' =~* 'EST') -- true +test('test' !~* 'EST') -- false +test(toString(1)) -- '1' +test(toString(1.5)) -- '1.5' +test(toString(true)) -- 'true' +test(toString(null)) -- 'null' +test(toString('string')) -- 'string' +test(toInt('1')) -- 1 +test(toInt('bla')) -- null +test(toFloat('1.2')) -- 1.2 +test(toFloat('bla')) -- null +test(toUUID('asd')) -- 'asd' +test(1 == null) -- false +test(1 != null) -- true diff --git a/hogvm/__tests__/properties.hog b/hogvm/__tests__/properties.hog index bd9310b74a58b..c3dde6b274810 100644 --- a/hogvm/__tests__/properties.hog +++ b/hogvm/__tests__/properties.hog @@ -1,49 +1,49 @@ { - let r := [1, 2, {'d': (1, 3, 42, 6)}]; - print(r.2.d.1); + let r := [1, 2, {'d': (1, 3, 42, 6)}] + print(r.2.d.1) } { - let r := [1, 2, {'d': (1, 3, 42, 6)}]; - print(r[2].d[2]); + let r := [1, 2, {'d': (1, 3, 42, 6)}] + print(r[2].d[2]) } { - let r := [1, 2, {'d': (1, 3, 42, 6)}]; - print(r.2['d'][3]); + let r := [1, 2, {'d': (1, 3, 42, 6)}] + print(r.2['d'][3]) } { - let r := {'d': (1, 3, 42, 6)}; - print(r.d.1); + let r := {'d': (1, 3, 42, 6)} + print(r.d.1) } { - let r := [1, 2, {'d': [1, 3, 42, 3]}]; - r.2.d.2 := 3; - print(r.2.d.2); + let r := [1, 2, {'d': [1, 3, 42, 3]}] + r.2.d.2 := 3 + print(r.2.d.2) } { - let r := [1, 2, {'d': [1, 3, 42, 3]}]; - r[2].d[2] := 3; - print(r[2].d[2]); + let r := [1, 2, {'d': [1, 3, 42, 3]}] + r[2].d[2] := 3 + print(r[2].d[2]) } { - let r := [1, 2, {'d': [1, 3, 42, 3]}]; - r[2].c := [666]; - print(r[2]); + let r := [1, 2, {'d': [1, 3, 42, 3]}] + r[2].c := [666] + print(r[2]) } { - let r := [1, 2, {'d': [1, 3, 42, 3]}]; - r[2].d[2] := 3; - print(r[2].d); + let r := [1, 2, {'d': [1, 3, 42, 3]}] + r[2].d[2] := 3 + print(r[2].d) } { - let r := [1, 2, {'d': [1, 3, 42, 3]}]; - r.2['d'] := ['a', 'b', 'c', 'd']; - print(r[2].d[2]); + let r := [1, 2, {'d': [1, 3, 42, 3]}] + r.2['d'] := ['a', 'b', 'c', 'd'] + print(r[2].d[2]) } { - let r := [1, 2, {'d': [1, 3, 42, 3]}]; - let g := 'd'; - r.2[g] := ['a', 'b', 'c', 'd']; - print(r[2].d[2]); + let r := [1, 2, {'d': [1, 3, 42, 3]}] + let g := 'd' + r.2[g] := ['a', 'b', 'c', 'd'] + print(r[2].d[2]) } { let event := { @@ -52,9 +52,9 @@ '$browser': 'Chrome', '$os': 'Windows' } - }; - event['properties']['$browser'] := 'Firefox'; - print(event); + } + event['properties']['$browser'] := 'Firefox' + print(event) } { let event := { @@ -63,9 +63,9 @@ '$browser': 'Chrome', '$os': 'Windows' } - }; - event.properties.$browser := 'Firefox'; - print(event); + } + event.properties.$browser := 'Firefox' + print(event) } { let event := { @@ -74,7 +74,7 @@ '$browser': 'Chrome', '$os': 'Windows' } - }; - let config := {}; - print(event); + } + let config := {} + print(event) } diff --git a/hogvm/__tests__/stl.hog b/hogvm/__tests__/stl.hog index d8cfdc24621bf..111b42e3abff9 100644 --- a/hogvm/__tests__/stl.hog +++ b/hogvm/__tests__/stl.hog @@ -1,4 +1,4 @@ -print('-- empty, notEmpty, length, lower, upper, reverse --'); -if (empty('') and notEmpty('234')) print(length('123')); -if (lower('Tdd4gh') == 'tdd4gh') print(upper('test')); -print(reverse('spinner')); +print('-- empty, notEmpty, length, lower, upper, reverse --') +if (empty('') and notEmpty('234')) print(length('123')) +if (lower('Tdd4gh') == 'tdd4gh') print(upper('test')) +print(reverse('spinner')) diff --git a/hogvm/__tests__/tuples.hog b/hogvm/__tests__/tuples.hog index 31fc9a7a64684..e7bd601c7ed2f 100644 --- a/hogvm/__tests__/tuples.hog +++ b/hogvm/__tests__/tuples.hog @@ -1,9 +1,9 @@ -print((1, 2, 3)); -print((1, '2', 3)); -print((1, (2, 3), 4)); -print((1, (2, (3, 4)), 5)); -let a := (1, 2, 3); -print(a[1]); -print((1, (2, (3, 4)), 5)[1][1][1]); -print((1, (2, (3, 4)), 5).1.1.1); -print((1, (2, (3, 4)), 5)[1][1][1] + 1); +print((1, 2, 3)) +print((1, '2', 3)) +print((1, (2, 3), 4)) +print((1, (2, (3, 4)), 5)) +let a := (1, 2, 3) +print(a[1]) +print((1, (2, (3, 4)), 5)[1][1][1]) +print((1, (2, (3, 4)), 5).1.1.1) +print((1, (2, (3, 4)), 5)[1][1][1] + 1) diff --git a/hogvm/__tests__/variables.hog b/hogvm/__tests__/variables.hog index 8f4ac488616fd..d8c1e310cf30e 100644 --- a/hogvm/__tests__/variables.hog +++ b/hogvm/__tests__/variables.hog @@ -1,16 +1,16 @@ -print('-- test variables --'); +print('-- test variables --') { - let a := 1 + 2; - print(a); + let a := 1 + 2 + print(a) - let b := a + 4; - print(b); + let b := a + 4 + print(b) } -print('-- test variable reassignment --'); +print('-- test variable reassignment --') { - let a := 1; - a := a + 3; - a := a * 2; - print(a); + let a := 1 + a := a + 3 + a := a * 2 + print(a) } \ No newline at end of file diff --git a/hogvm/python/execute.py b/hogvm/python/execute.py index ae821a82419d7..2a17447c9bd62 100644 --- a/hogvm/python/execute.py +++ b/hogvm/python/execute.py @@ -56,6 +56,9 @@ def pop_stack(): if next_token() != HOGQL_BYTECODE_IDENTIFIER: raise HogVMException(f"Invalid bytecode. Must start with '{HOGQL_BYTECODE_IDENTIFIER}'") + if len(bytecode) == 1: + return BytecodeResult(result=None, stdout=stdout, bytecode=bytecode) + def check_timeout(): if time.time() - start_time > timeout and not debug: raise HogVMException(f"Execution timed out after {timeout} seconds. Performed {ops} ops.") diff --git a/mypy-baseline.txt b/mypy-baseline.txt index ec15c786c8f5e..300c901c82196 100644 --- a/mypy-baseline.txt +++ b/mypy-baseline.txt @@ -30,47 +30,14 @@ posthog/hogql/database/schema/numbers.py:0: error: Incompatible types in assignm posthog/hogql/database/schema/numbers.py:0: note: "Dict" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance posthog/hogql/database/schema/numbers.py:0: note: Consider using "Mapping" instead, which is covariant in the value type posthog/hogql/ast.py:0: error: Incompatible return value type (got "bool | None", expected "bool") [return-value] -posthog/hogql/visitor.py:0: error: Statement is unreachable [unreachable] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "Type | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "Type | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "Type | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "RatioExpr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "Constant | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "SelectQuery | SelectUnionQuery | Field | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "JoinConstraint | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "JoinExpr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "JoinExpr | None"; expected "AST" [arg-type] posthog/hogql/visitor.py:0: error: Incompatible types in assignment (expression has type "Expr", variable has type "CTE") [assignment] posthog/hogql/visitor.py:0: error: Incompatible types in assignment (expression has type "Expr", variable has type "CTE") [assignment] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "Expr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "Expr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "Expr | None"; expected "AST" [arg-type] posthog/hogql/visitor.py:0: error: Incompatible types in assignment (expression has type "Expr", variable has type "CTE") [assignment] posthog/hogql/visitor.py:0: error: Incompatible types in assignment (expression has type "OrderExpr", variable has type "CTE") [assignment] posthog/hogql/visitor.py:0: error: Incompatible types in assignment (expression has type "Expr", variable has type "CTE") [assignment] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "Expr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "Expr | None"; expected "AST" [arg-type] posthog/hogql/visitor.py:0: error: Incompatible types in assignment (expression has type "WindowExpr", variable has type "CTE") [assignment] posthog/hogql/visitor.py:0: error: Incompatible types in assignment (expression has type "FieldAliasType", variable has type "BaseTableType | SelectUnionQueryType | SelectQueryType | SelectQueryAliasType | SelectViewType") [assignment] posthog/hogql/visitor.py:0: error: Incompatible types in assignment (expression has type "Type", variable has type "BaseTableType | SelectUnionQueryType | SelectQueryType | SelectQueryAliasType | SelectViewType") [assignment] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "WindowFrameExpr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "WindowFrameExpr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "WindowExpr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "Constant | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "RatioExpr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "SelectQuery | SelectUnionQuery | Field | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "JoinExpr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "JoinConstraint | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "SampleExpr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "JoinExpr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument "select" to "SelectQuery" has incompatible type "list[Expr] | None"; expected "list[Expr]" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "Expr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "Expr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "Expr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "Expr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "Expr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "WindowFrameExpr | None"; expected "AST" [arg-type] -posthog/hogql/visitor.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "WindowFrameExpr | None"; expected "AST" [arg-type] posthog/hogql/resolver_utils.py:0: error: Argument 1 to "lookup_field_by_name" has incompatible type "SelectQueryType | SelectUnionQueryType"; expected "SelectQueryType" [arg-type] posthog/hogql/parser.py:0: error: Item "None" of "list[Expr] | None" has no attribute "__iter__" (not iterable) [union-attr] posthog/hogql/parser.py:0: error: "None" has no attribute "text" [attr-defined] @@ -198,21 +165,15 @@ posthog/hogql_queries/insights/trends/aggregation_operations.py:0: error: Item " posthog/hogql_queries/insights/trends/aggregation_operations.py:0: error: Item "SelectUnionQuery" of "SelectQuery | SelectUnionQuery" has no attribute "select" [union-attr] posthog/hogql_queries/insights/trends/aggregation_operations.py:0: error: Item "SelectUnionQuery" of "SelectQuery | SelectUnionQuery" has no attribute "group_by" [union-attr] posthog/hogql_queries/insights/trends/aggregation_operations.py:0: error: Item "None" of "list[Expr] | Any | None" has no attribute "append" [union-attr] -posthog/hogql/resolver.py:0: error: Argument 1 of "visit" is incompatible with supertype "Visitor"; supertype defines the argument type as "AST" [override] +posthog/hogql/resolver.py:0: error: Argument 1 of "visit" is incompatible with supertype "Visitor"; supertype defines the argument type as "AST | None" [override] posthog/hogql/resolver.py:0: note: This violates the Liskov substitution principle posthog/hogql/resolver.py:0: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides posthog/hogql/resolver.py:0: error: List comprehension has incompatible type List[SelectQueryType | None]; expected List[SelectQueryType] [misc] posthog/hogql/resolver.py:0: error: Incompatible types in assignment (expression has type "Expr", variable has type "JoinExpr | None") [assignment] -posthog/hogql/resolver.py:0: error: Argument 1 to "visit" of "Resolver" has incompatible type "JoinExpr | None"; expected "Expr" [arg-type] posthog/hogql/resolver.py:0: error: Need type annotation for "columns_with_visible_alias" (hint: "columns_with_visible_alias: dict[, ] = ...") [var-annotated] posthog/hogql/resolver.py:0: error: Incompatible types in assignment (expression has type "Type | None", target has type "Type") [assignment] posthog/hogql/resolver.py:0: error: Incompatible types in assignment (expression has type "Type | None", target has type "Type") [assignment] -posthog/hogql/resolver.py:0: error: Argument 1 to "visit" of "Resolver" has incompatible type "Expr | None"; expected "Expr" [arg-type] -posthog/hogql/resolver.py:0: error: Argument 1 to "visit" of "Resolver" has incompatible type "Expr | None"; expected "Expr" [arg-type] -posthog/hogql/resolver.py:0: error: Argument 1 to "visit" of "Resolver" has incompatible type "Expr | None"; expected "Expr" [arg-type] posthog/hogql/resolver.py:0: error: List comprehension has incompatible type List[Expr]; expected List[OrderExpr] [misc] -posthog/hogql/resolver.py:0: error: Argument 1 to "visit" of "Resolver" has incompatible type "Expr | None"; expected "Expr" [arg-type] -posthog/hogql/resolver.py:0: error: Argument 1 to "visit" of "Resolver" has incompatible type "Expr | None"; expected "Expr" [arg-type] posthog/hogql/resolver.py:0: error: Value expression in dictionary comprehension has incompatible type "Expr"; expected type "WindowExpr" [misc] posthog/hogql/resolver.py:0: error: Statement is unreachable [unreachable] posthog/hogql/resolver.py:0: error: Argument 2 to "lookup_cte_by_name" has incompatible type "str | int"; expected "str" [arg-type] @@ -229,12 +190,9 @@ posthog/hogql/resolver.py:0: error: Incompatible types in assignment (expression posthog/hogql/resolver.py:0: error: Invalid index type "str | int" for "dict[str, BaseTableType | SelectUnionQueryType | SelectQueryType | SelectQueryAliasType | SelectViewType]"; expected type "str" [index] posthog/hogql/resolver.py:0: error: Argument 1 to "clone_expr" has incompatible type "SelectQuery | SelectUnionQuery | Field | None"; expected "Expr" [arg-type] posthog/hogql/resolver.py:0: error: Incompatible types in assignment (expression has type "Expr", variable has type "JoinExpr | None") [assignment] -posthog/hogql/resolver.py:0: error: Argument 1 to "visit" of "Resolver" has incompatible type "JoinExpr | None"; expected "Expr" [arg-type] posthog/hogql/resolver.py:0: error: Statement is unreachable [unreachable] posthog/hogql/resolver.py:0: error: Item "None" of "JoinExpr | None" has no attribute "join_type" [union-attr] posthog/hogql/resolver.py:0: error: Incompatible types in assignment (expression has type "Expr", variable has type "SampleExpr | None") [assignment] -posthog/hogql/resolver.py:0: error: Argument 1 to "visit" of "Resolver" has incompatible type "SampleExpr | None"; expected "Expr" [arg-type] -posthog/hogql/resolver.py:0: error: Argument 1 to "visit" of "Visitor" has incompatible type "SelectQuery | SelectUnionQuery | Field | None"; expected "AST" [arg-type] posthog/hogql/resolver.py:0: error: Argument "select_query_type" to "SelectViewType" has incompatible type "SelectQueryType | None"; expected "SelectQueryType | SelectUnionQueryType" [arg-type] posthog/hogql/resolver.py:0: error: Item "None" of "SelectQuery | SelectUnionQuery | Field | None" has no attribute "type" [union-attr] posthog/hogql/resolver.py:0: error: Argument "select_query_type" to "SelectQueryAliasType" has incompatible type "Type | Any | None"; expected "SelectQueryType | SelectUnionQueryType" [arg-type] @@ -242,9 +200,7 @@ posthog/hogql/resolver.py:0: error: Item "None" of "SelectQuery | SelectUnionQue posthog/hogql/resolver.py:0: error: Incompatible types in assignment (expression has type "Type | Any | None", variable has type "BaseTableType | SelectUnionQueryType | SelectQueryType | SelectQueryAliasType | SelectViewType | None") [assignment] posthog/hogql/resolver.py:0: error: Argument 1 to "append" of "list" has incompatible type "BaseTableType | SelectUnionQueryType | SelectQueryType | SelectQueryAliasType | SelectViewType | None"; expected "SelectQueryType | SelectUnionQueryType" [arg-type] posthog/hogql/resolver.py:0: error: Incompatible types in assignment (expression has type "Expr", variable has type "JoinExpr | None") [assignment] -posthog/hogql/resolver.py:0: error: Argument 1 to "visit" of "Resolver" has incompatible type "JoinExpr | None"; expected "Expr" [arg-type] posthog/hogql/resolver.py:0: error: Incompatible types in assignment (expression has type "Expr", variable has type "SampleExpr | None") [assignment] -posthog/hogql/resolver.py:0: error: Argument 1 to "visit" of "Resolver" has incompatible type "SampleExpr | None"; expected "Expr" [arg-type] posthog/hogql/resolver.py:0: error: Argument 2 to "convert_hogqlx_tag" has incompatible type "int | None"; expected "int" [arg-type] posthog/hogql/resolver.py:0: error: Statement is unreachable [unreachable] posthog/hogql/resolver.py:0: error: Item "None" of "Type | None" has no attribute "resolve_constant_type" [union-attr] @@ -293,10 +249,6 @@ posthog/hogql/printer.py:0: error: Argument 1 to "len" has incompatible type "li posthog/hogql/printer.py:0: error: Item "None" of "list[Expr] | None" has no attribute "__iter__" (not iterable) [union-attr] posthog/hogql/printer.py:0: error: Right operand of "and" is never evaluated [unreachable] posthog/hogql/printer.py:0: error: Subclass of "TableType" and "LazyTableType" cannot exist: would have incompatible method signatures [unreachable] -posthog/hogql/printer.py:0: error: Argument 1 to "visit" of "_Printer" has incompatible type "SelectQuery | SelectUnionQuery | Field | None"; expected "AST" [arg-type] -posthog/hogql/printer.py:0: error: Argument 1 to "visit" of "_Printer" has incompatible type "SelectQuery | SelectUnionQuery | Field | None"; expected "AST" [arg-type] -posthog/hogql/printer.py:0: error: Argument 1 to "visit" of "_Printer" has incompatible type "SelectQuery | SelectUnionQuery | Field | None"; expected "AST" [arg-type] -posthog/hogql/printer.py:0: error: Argument 1 to "visit" of "_Printer" has incompatible type "SelectQuery | SelectUnionQuery | Field | None"; expected "AST" [arg-type] posthog/hogql/printer.py:0: error: Argument 1 to "_print_escaped_string" of "_Printer" has incompatible type "int | float | UUID | date | None"; expected "float | int | str | list[Any] | tuple[Any, ...] | datetime | date" [arg-type] posthog/hogql/printer.py:0: error: Argument 1 to "join" of "str" has incompatible type "list[str | int]"; expected "Iterable[str]" [arg-type] posthog/hogql/printer.py:0: error: Name "args" already defined on line 0 [no-redef] diff --git a/posthog/clickhouse/client/test/test_execute_async.py b/posthog/clickhouse/client/test/test_execute_async.py index af27d8de620e6..83f42c2f9c6ea 100644 --- a/posthog/clickhouse/client/test/test_execute_async.py +++ b/posthog/clickhouse/client/test/test_execute_async.py @@ -160,7 +160,7 @@ def test_async_query_client_errors(self): result = client.get_query_status(self.team.id, query_id) self.assertTrue(result.error) assert result.error_message - self.assertRegex(result.error_message, "Unknown table") + self.assertRegex(result.error_message, "no viable alternative at input") def test_async_query_client_uuid(self): query = build_query("SELECT toUUID('00000000-0000-0000-0000-000000000000')") diff --git a/posthog/hogql/ast.py b/posthog/hogql/ast.py index d9e71e34e4cac..4940fda0a66d8 100644 --- a/posthog/hogql/ast.py +++ b/posthog/hogql/ast.py @@ -47,7 +47,7 @@ class Statement(Declaration): @dataclass(kw_only=True) class ExprStatement(Statement): - expr: Expr + expr: Optional[Expr] @dataclass(kw_only=True) diff --git a/posthog/hogql/autocomplete.py b/posthog/hogql/autocomplete.py index 0f73304061f33..b52268f7cfc9b 100644 --- a/posthog/hogql/autocomplete.py +++ b/posthog/hogql/autocomplete.py @@ -51,7 +51,7 @@ def __init__(self, expr: ast.Expr, start: int, end: int): self.end = end super().visit(expr) - def visit(self, node: AST): + def visit(self, node: AST | None): if node is not None and node.start is not None and node.end is not None: if self.start >= node.start and self.end <= node.end: self.node = node diff --git a/posthog/hogql/bytecode.py b/posthog/hogql/bytecode.py index 500f20dd496ea..f5ec49313d487 100644 --- a/posthog/hogql/bytecode.py +++ b/posthog/hogql/bytecode.py @@ -227,6 +227,8 @@ def visit_block(self, node: ast.Block): return response def visit_expr_statement(self, node: ast.ExprStatement): + if node.expr is None: + return [] response = self.visit(node.expr) response.append(Operation.POP) return response diff --git a/posthog/hogql/grammar/HogQLParser.g4 b/posthog/hogql/grammar/HogQLParser.g4 index 911f5827073d0..a5fcee76d7d31 100644 --- a/posthog/hogql/grammar/HogQLParser.g4 +++ b/posthog/hogql/grammar/HogQLParser.g4 @@ -6,32 +6,29 @@ options { program: declaration* EOF; -declaration - : varDecl - | statement ; + +declaration: varDecl | statement ; expression: columnExpr; -varDecl: LET identifier ( COLON EQ_SINGLE expression )? SEMICOLON ; -varAssignment: expression COLON EQ_SINGLE expression SEMICOLON ; +varDecl: LET identifier ( COLON EQ_SINGLE expression )? ; identifierList: identifier (COMMA identifier)*; statement : returnStmt - | emptyStmt - | exprStmt | ifStmt | whileStmt | funcStmt | varAssignment - | returnStmt + | exprStmt + | emptyStmt | block ; -exprStmt : expression SEMICOLON ; -ifStmt : IF LPAREN expression RPAREN statement - ( ELSE statement )? ; -whileStmt : WHILE LPAREN expression RPAREN statement; -returnStmt : RETURN expression SEMICOLON ; +returnStmt : RETURN expression? SEMICOLON?; +ifStmt : IF LPAREN expression RPAREN statement ( ELSE statement )? ; +whileStmt : WHILE LPAREN expression RPAREN statement SEMICOLON?; funcStmt : FN identifier LPAREN identifierList? RPAREN block; +varAssignment : expression COLON EQ_SINGLE expression ; +exprStmt : expression SEMICOLON?; emptyStmt : SEMICOLON ; block : LBRACE declaration* RBRACE ; @@ -184,8 +181,7 @@ columnExpr // TODO(ilezhankin): `BETWEEN a AND b AND c` is parsed in a wrong way: `BETWEEN (a AND b) AND c` | columnExpr NOT? BETWEEN columnExpr AND columnExpr # ColumnExprBetween | columnExpr QUERY columnExpr COLON columnExpr # ColumnExprTernaryOp - // Note: difference with ClickHouse: we also support "AS string" as a shortcut for naming columns - | columnExpr (alias | AS identifier | AS STRING_LITERAL) # ColumnExprAlias + | columnExpr (AS identifier | AS STRING_LITERAL) # ColumnExprAlias | (tableIdentifier DOT)? ASTERISK # ColumnExprAsterisk // single-column only | LPAREN selectUnionStmt RPAREN # ColumnExprSubquery // single-column only diff --git a/posthog/hogql/grammar/HogQLParser.interp b/posthog/hogql/grammar/HogQLParser.interp index 086eca220c32f..620eb0b471748 100644 --- a/posthog/hogql/grammar/HogQLParser.interp +++ b/posthog/hogql/grammar/HogQLParser.interp @@ -317,14 +317,14 @@ program declaration expression varDecl -varAssignment identifierList statement -exprStmt +returnStmt ifStmt whileStmt -returnStmt funcStmt +varAssignment +exprStmt emptyStmt block kvPair @@ -399,4 +399,4 @@ stringContentsFull atn: -[4, 1, 154, 1178, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 1, 0, 5, 0, 168, 8, 0, 10, 0, 12, 0, 171, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 3, 1, 177, 8, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 3, 3, 186, 8, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 5, 5, 199, 8, 5, 10, 5, 12, 5, 202, 9, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 3, 6, 213, 8, 6, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 225, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 3, 11, 241, 8, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 13, 1, 13, 5, 13, 250, 8, 13, 10, 13, 12, 13, 253, 9, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 5, 15, 264, 8, 15, 10, 15, 12, 15, 267, 9, 15, 1, 16, 1, 16, 1, 16, 3, 16, 272, 8, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 5, 17, 280, 8, 17, 10, 17, 12, 17, 283, 9, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 291, 8, 18, 1, 19, 3, 19, 294, 8, 19, 1, 19, 1, 19, 3, 19, 298, 8, 19, 1, 19, 3, 19, 301, 8, 19, 1, 19, 1, 19, 3, 19, 305, 8, 19, 1, 19, 3, 19, 308, 8, 19, 1, 19, 3, 19, 311, 8, 19, 1, 19, 3, 19, 314, 8, 19, 1, 19, 3, 19, 317, 8, 19, 1, 19, 1, 19, 3, 19, 321, 8, 19, 1, 19, 1, 19, 3, 19, 325, 8, 19, 1, 19, 3, 19, 328, 8, 19, 1, 19, 3, 19, 331, 8, 19, 1, 19, 3, 19, 334, 8, 19, 1, 19, 1, 19, 3, 19, 338, 8, 19, 1, 19, 3, 19, 341, 8, 19, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 350, 8, 21, 1, 22, 1, 22, 1, 22, 1, 23, 3, 23, 356, 8, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 5, 24, 375, 8, 24, 10, 24, 12, 24, 378, 9, 24, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 394, 8, 27, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 411, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 417, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 423, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 434, 8, 31, 3, 31, 436, 8, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 3, 34, 447, 8, 34, 1, 34, 3, 34, 450, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 456, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 464, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 5, 34, 470, 8, 34, 10, 34, 12, 34, 473, 9, 34, 1, 35, 3, 35, 476, 8, 35, 1, 35, 1, 35, 1, 35, 3, 35, 481, 8, 35, 1, 35, 3, 35, 484, 8, 35, 1, 35, 3, 35, 487, 8, 35, 1, 35, 1, 35, 3, 35, 491, 8, 35, 1, 35, 1, 35, 3, 35, 495, 8, 35, 1, 35, 3, 35, 498, 8, 35, 3, 35, 500, 8, 35, 1, 35, 3, 35, 503, 8, 35, 1, 35, 1, 35, 3, 35, 507, 8, 35, 1, 35, 1, 35, 3, 35, 511, 8, 35, 1, 35, 3, 35, 514, 8, 35, 3, 35, 516, 8, 35, 3, 35, 518, 8, 35, 1, 36, 1, 36, 1, 36, 3, 36, 523, 8, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 534, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 540, 8, 38, 1, 39, 1, 39, 1, 39, 5, 39, 545, 8, 39, 10, 39, 12, 39, 548, 9, 39, 1, 40, 1, 40, 3, 40, 552, 8, 40, 1, 40, 1, 40, 3, 40, 556, 8, 40, 1, 40, 1, 40, 3, 40, 560, 8, 40, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 566, 8, 41, 3, 41, 568, 8, 41, 1, 42, 1, 42, 1, 42, 5, 42, 573, 8, 42, 10, 42, 12, 42, 576, 9, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 3, 44, 583, 8, 44, 1, 44, 3, 44, 586, 8, 44, 1, 44, 3, 44, 589, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 3, 48, 608, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 622, 8, 49, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 636, 8, 51, 10, 51, 12, 51, 639, 9, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 648, 8, 51, 10, 51, 12, 51, 651, 9, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 660, 8, 51, 10, 51, 12, 51, 663, 9, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 670, 8, 51, 1, 51, 1, 51, 3, 51, 674, 8, 51, 1, 52, 1, 52, 1, 52, 5, 52, 679, 8, 52, 10, 52, 12, 52, 682, 9, 52, 1, 53, 1, 53, 1, 53, 3, 53, 687, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 4, 53, 694, 8, 53, 11, 53, 12, 53, 695, 1, 53, 1, 53, 3, 53, 700, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 724, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 741, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 747, 8, 53, 1, 53, 3, 53, 750, 8, 53, 1, 53, 3, 53, 753, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 763, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 769, 8, 53, 1, 53, 3, 53, 772, 8, 53, 1, 53, 3, 53, 775, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 783, 8, 53, 1, 53, 3, 53, 786, 8, 53, 1, 53, 1, 53, 3, 53, 790, 8, 53, 1, 53, 3, 53, 793, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 807, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 824, 8, 53, 1, 53, 1, 53, 1, 53, 3, 53, 829, 8, 53, 1, 53, 1, 53, 3, 53, 833, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 839, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 846, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 858, 8, 53, 1, 53, 1, 53, 3, 53, 862, 8, 53, 1, 53, 3, 53, 865, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 874, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 888, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 915, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 924, 8, 53, 5, 53, 926, 8, 53, 10, 53, 12, 53, 929, 9, 53, 1, 54, 1, 54, 1, 54, 5, 54, 934, 8, 54, 10, 54, 12, 54, 937, 9, 54, 1, 55, 1, 55, 3, 55, 941, 8, 55, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 947, 8, 56, 10, 56, 12, 56, 950, 9, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 957, 8, 56, 10, 56, 12, 56, 960, 9, 56, 3, 56, 962, 8, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 5, 57, 970, 8, 57, 10, 57, 12, 57, 973, 9, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 981, 8, 57, 10, 57, 12, 57, 984, 9, 57, 1, 57, 1, 57, 3, 57, 988, 8, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 3, 57, 995, 8, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 1008, 8, 58, 1, 59, 1, 59, 1, 59, 5, 59, 1013, 8, 59, 10, 59, 12, 59, 1016, 9, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 3, 60, 1028, 8, 60, 1, 61, 1, 61, 1, 61, 1, 61, 3, 61, 1034, 8, 61, 1, 61, 3, 61, 1037, 8, 61, 1, 62, 1, 62, 1, 62, 5, 62, 1042, 8, 62, 10, 62, 12, 62, 1045, 9, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 1056, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 1062, 8, 63, 5, 63, 1064, 8, 63, 10, 63, 12, 63, 1067, 9, 63, 1, 64, 1, 64, 1, 64, 3, 64, 1072, 8, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 3, 65, 1079, 8, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 5, 66, 1086, 8, 66, 10, 66, 12, 66, 1089, 9, 66, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 1099, 8, 68, 3, 68, 1101, 8, 68, 1, 69, 3, 69, 1104, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 1112, 8, 69, 1, 70, 1, 70, 1, 70, 3, 70, 1117, 8, 70, 1, 71, 1, 71, 1, 72, 1, 72, 1, 73, 1, 73, 1, 74, 1, 74, 3, 74, 1127, 8, 74, 1, 75, 1, 75, 1, 75, 3, 75, 1132, 8, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 3, 78, 1144, 8, 78, 1, 79, 1, 79, 5, 79, 1148, 8, 79, 10, 79, 12, 79, 1151, 9, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 3, 80, 1160, 8, 80, 1, 81, 1, 81, 5, 81, 1164, 8, 81, 10, 81, 12, 81, 1167, 9, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 3, 82, 1176, 8, 82, 1, 82, 0, 3, 68, 106, 126, 83, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 0, 16, 2, 0, 17, 17, 72, 72, 2, 0, 42, 42, 49, 49, 3, 0, 1, 1, 4, 4, 8, 8, 4, 0, 1, 1, 3, 4, 8, 8, 78, 78, 2, 0, 49, 49, 71, 71, 2, 0, 1, 1, 4, 4, 2, 0, 7, 7, 21, 22, 2, 0, 28, 28, 47, 47, 2, 0, 69, 69, 74, 74, 3, 0, 10, 10, 48, 48, 87, 87, 2, 0, 39, 39, 51, 51, 1, 0, 103, 104, 2, 0, 114, 114, 134, 134, 7, 0, 20, 20, 36, 36, 53, 54, 68, 68, 76, 76, 93, 93, 99, 99, 12, 0, 1, 19, 21, 28, 30, 35, 37, 40, 42, 49, 51, 52, 56, 56, 58, 67, 69, 75, 77, 92, 94, 95, 97, 98, 4, 0, 19, 19, 28, 28, 37, 37, 46, 46, 1314, 0, 169, 1, 0, 0, 0, 2, 176, 1, 0, 0, 0, 4, 178, 1, 0, 0, 0, 6, 180, 1, 0, 0, 0, 8, 189, 1, 0, 0, 0, 10, 195, 1, 0, 0, 0, 12, 212, 1, 0, 0, 0, 14, 214, 1, 0, 0, 0, 16, 217, 1, 0, 0, 0, 18, 226, 1, 0, 0, 0, 20, 232, 1, 0, 0, 0, 22, 236, 1, 0, 0, 0, 24, 245, 1, 0, 0, 0, 26, 247, 1, 0, 0, 0, 28, 256, 1, 0, 0, 0, 30, 260, 1, 0, 0, 0, 32, 271, 1, 0, 0, 0, 34, 275, 1, 0, 0, 0, 36, 290, 1, 0, 0, 0, 38, 293, 1, 0, 0, 0, 40, 342, 1, 0, 0, 0, 42, 345, 1, 0, 0, 0, 44, 351, 1, 0, 0, 0, 46, 355, 1, 0, 0, 0, 48, 361, 1, 0, 0, 0, 50, 379, 1, 0, 0, 0, 52, 382, 1, 0, 0, 0, 54, 385, 1, 0, 0, 0, 56, 395, 1, 0, 0, 0, 58, 398, 1, 0, 0, 0, 60, 402, 1, 0, 0, 0, 62, 435, 1, 0, 0, 0, 64, 437, 1, 0, 0, 0, 66, 440, 1, 0, 0, 0, 68, 455, 1, 0, 0, 0, 70, 517, 1, 0, 0, 0, 72, 522, 1, 0, 0, 0, 74, 533, 1, 0, 0, 0, 76, 535, 1, 0, 0, 0, 78, 541, 1, 0, 0, 0, 80, 549, 1, 0, 0, 0, 82, 567, 1, 0, 0, 0, 84, 569, 1, 0, 0, 0, 86, 577, 1, 0, 0, 0, 88, 582, 1, 0, 0, 0, 90, 590, 1, 0, 0, 0, 92, 594, 1, 0, 0, 0, 94, 598, 1, 0, 0, 0, 96, 607, 1, 0, 0, 0, 98, 621, 1, 0, 0, 0, 100, 623, 1, 0, 0, 0, 102, 673, 1, 0, 0, 0, 104, 675, 1, 0, 0, 0, 106, 832, 1, 0, 0, 0, 108, 930, 1, 0, 0, 0, 110, 940, 1, 0, 0, 0, 112, 961, 1, 0, 0, 0, 114, 994, 1, 0, 0, 0, 116, 1007, 1, 0, 0, 0, 118, 1009, 1, 0, 0, 0, 120, 1027, 1, 0, 0, 0, 122, 1036, 1, 0, 0, 0, 124, 1038, 1, 0, 0, 0, 126, 1055, 1, 0, 0, 0, 128, 1068, 1, 0, 0, 0, 130, 1078, 1, 0, 0, 0, 132, 1082, 1, 0, 0, 0, 134, 1090, 1, 0, 0, 0, 136, 1100, 1, 0, 0, 0, 138, 1103, 1, 0, 0, 0, 140, 1116, 1, 0, 0, 0, 142, 1118, 1, 0, 0, 0, 144, 1120, 1, 0, 0, 0, 146, 1122, 1, 0, 0, 0, 148, 1126, 1, 0, 0, 0, 150, 1131, 1, 0, 0, 0, 152, 1133, 1, 0, 0, 0, 154, 1137, 1, 0, 0, 0, 156, 1143, 1, 0, 0, 0, 158, 1145, 1, 0, 0, 0, 160, 1159, 1, 0, 0, 0, 162, 1161, 1, 0, 0, 0, 164, 1175, 1, 0, 0, 0, 166, 168, 3, 2, 1, 0, 167, 166, 1, 0, 0, 0, 168, 171, 1, 0, 0, 0, 169, 167, 1, 0, 0, 0, 169, 170, 1, 0, 0, 0, 170, 172, 1, 0, 0, 0, 171, 169, 1, 0, 0, 0, 172, 173, 5, 0, 0, 1, 173, 1, 1, 0, 0, 0, 174, 177, 3, 6, 3, 0, 175, 177, 3, 12, 6, 0, 176, 174, 1, 0, 0, 0, 176, 175, 1, 0, 0, 0, 177, 3, 1, 0, 0, 0, 178, 179, 3, 106, 53, 0, 179, 5, 1, 0, 0, 0, 180, 181, 5, 50, 0, 0, 181, 185, 3, 150, 75, 0, 182, 183, 5, 111, 0, 0, 183, 184, 5, 118, 0, 0, 184, 186, 3, 4, 2, 0, 185, 182, 1, 0, 0, 0, 185, 186, 1, 0, 0, 0, 186, 187, 1, 0, 0, 0, 187, 188, 5, 145, 0, 0, 188, 7, 1, 0, 0, 0, 189, 190, 3, 4, 2, 0, 190, 191, 5, 111, 0, 0, 191, 192, 5, 118, 0, 0, 192, 193, 3, 4, 2, 0, 193, 194, 5, 145, 0, 0, 194, 9, 1, 0, 0, 0, 195, 200, 3, 150, 75, 0, 196, 197, 5, 112, 0, 0, 197, 199, 3, 150, 75, 0, 198, 196, 1, 0, 0, 0, 199, 202, 1, 0, 0, 0, 200, 198, 1, 0, 0, 0, 200, 201, 1, 0, 0, 0, 201, 11, 1, 0, 0, 0, 202, 200, 1, 0, 0, 0, 203, 213, 3, 20, 10, 0, 204, 213, 3, 24, 12, 0, 205, 213, 3, 14, 7, 0, 206, 213, 3, 16, 8, 0, 207, 213, 3, 18, 9, 0, 208, 213, 3, 22, 11, 0, 209, 213, 3, 8, 4, 0, 210, 213, 3, 20, 10, 0, 211, 213, 3, 26, 13, 0, 212, 203, 1, 0, 0, 0, 212, 204, 1, 0, 0, 0, 212, 205, 1, 0, 0, 0, 212, 206, 1, 0, 0, 0, 212, 207, 1, 0, 0, 0, 212, 208, 1, 0, 0, 0, 212, 209, 1, 0, 0, 0, 212, 210, 1, 0, 0, 0, 212, 211, 1, 0, 0, 0, 213, 13, 1, 0, 0, 0, 214, 215, 3, 4, 2, 0, 215, 216, 5, 145, 0, 0, 216, 15, 1, 0, 0, 0, 217, 218, 5, 38, 0, 0, 218, 219, 5, 126, 0, 0, 219, 220, 3, 4, 2, 0, 220, 221, 5, 144, 0, 0, 221, 224, 3, 12, 6, 0, 222, 223, 5, 24, 0, 0, 223, 225, 3, 12, 6, 0, 224, 222, 1, 0, 0, 0, 224, 225, 1, 0, 0, 0, 225, 17, 1, 0, 0, 0, 226, 227, 5, 96, 0, 0, 227, 228, 5, 126, 0, 0, 228, 229, 3, 4, 2, 0, 229, 230, 5, 144, 0, 0, 230, 231, 3, 12, 6, 0, 231, 19, 1, 0, 0, 0, 232, 233, 5, 70, 0, 0, 233, 234, 3, 4, 2, 0, 234, 235, 5, 145, 0, 0, 235, 21, 1, 0, 0, 0, 236, 237, 5, 29, 0, 0, 237, 238, 3, 150, 75, 0, 238, 240, 5, 126, 0, 0, 239, 241, 3, 10, 5, 0, 240, 239, 1, 0, 0, 0, 240, 241, 1, 0, 0, 0, 241, 242, 1, 0, 0, 0, 242, 243, 5, 144, 0, 0, 243, 244, 3, 26, 13, 0, 244, 23, 1, 0, 0, 0, 245, 246, 5, 145, 0, 0, 246, 25, 1, 0, 0, 0, 247, 251, 5, 124, 0, 0, 248, 250, 3, 2, 1, 0, 249, 248, 1, 0, 0, 0, 250, 253, 1, 0, 0, 0, 251, 249, 1, 0, 0, 0, 251, 252, 1, 0, 0, 0, 252, 254, 1, 0, 0, 0, 253, 251, 1, 0, 0, 0, 254, 255, 5, 142, 0, 0, 255, 27, 1, 0, 0, 0, 256, 257, 3, 4, 2, 0, 257, 258, 5, 111, 0, 0, 258, 259, 3, 4, 2, 0, 259, 29, 1, 0, 0, 0, 260, 265, 3, 28, 14, 0, 261, 262, 5, 112, 0, 0, 262, 264, 3, 28, 14, 0, 263, 261, 1, 0, 0, 0, 264, 267, 1, 0, 0, 0, 265, 263, 1, 0, 0, 0, 265, 266, 1, 0, 0, 0, 266, 31, 1, 0, 0, 0, 267, 265, 1, 0, 0, 0, 268, 272, 3, 34, 17, 0, 269, 272, 3, 38, 19, 0, 270, 272, 3, 114, 57, 0, 271, 268, 1, 0, 0, 0, 271, 269, 1, 0, 0, 0, 271, 270, 1, 0, 0, 0, 272, 273, 1, 0, 0, 0, 273, 274, 5, 0, 0, 1, 274, 33, 1, 0, 0, 0, 275, 281, 3, 36, 18, 0, 276, 277, 5, 91, 0, 0, 277, 278, 5, 1, 0, 0, 278, 280, 3, 36, 18, 0, 279, 276, 1, 0, 0, 0, 280, 283, 1, 0, 0, 0, 281, 279, 1, 0, 0, 0, 281, 282, 1, 0, 0, 0, 282, 35, 1, 0, 0, 0, 283, 281, 1, 0, 0, 0, 284, 291, 3, 38, 19, 0, 285, 286, 5, 126, 0, 0, 286, 287, 3, 34, 17, 0, 287, 288, 5, 144, 0, 0, 288, 291, 1, 0, 0, 0, 289, 291, 3, 154, 77, 0, 290, 284, 1, 0, 0, 0, 290, 285, 1, 0, 0, 0, 290, 289, 1, 0, 0, 0, 291, 37, 1, 0, 0, 0, 292, 294, 3, 40, 20, 0, 293, 292, 1, 0, 0, 0, 293, 294, 1, 0, 0, 0, 294, 295, 1, 0, 0, 0, 295, 297, 5, 77, 0, 0, 296, 298, 5, 23, 0, 0, 297, 296, 1, 0, 0, 0, 297, 298, 1, 0, 0, 0, 298, 300, 1, 0, 0, 0, 299, 301, 3, 42, 21, 0, 300, 299, 1, 0, 0, 0, 300, 301, 1, 0, 0, 0, 301, 302, 1, 0, 0, 0, 302, 304, 3, 104, 52, 0, 303, 305, 3, 44, 22, 0, 304, 303, 1, 0, 0, 0, 304, 305, 1, 0, 0, 0, 305, 307, 1, 0, 0, 0, 306, 308, 3, 46, 23, 0, 307, 306, 1, 0, 0, 0, 307, 308, 1, 0, 0, 0, 308, 310, 1, 0, 0, 0, 309, 311, 3, 50, 25, 0, 310, 309, 1, 0, 0, 0, 310, 311, 1, 0, 0, 0, 311, 313, 1, 0, 0, 0, 312, 314, 3, 52, 26, 0, 313, 312, 1, 0, 0, 0, 313, 314, 1, 0, 0, 0, 314, 316, 1, 0, 0, 0, 315, 317, 3, 54, 27, 0, 316, 315, 1, 0, 0, 0, 316, 317, 1, 0, 0, 0, 317, 320, 1, 0, 0, 0, 318, 319, 5, 98, 0, 0, 319, 321, 7, 0, 0, 0, 320, 318, 1, 0, 0, 0, 320, 321, 1, 0, 0, 0, 321, 324, 1, 0, 0, 0, 322, 323, 5, 98, 0, 0, 323, 325, 5, 86, 0, 0, 324, 322, 1, 0, 0, 0, 324, 325, 1, 0, 0, 0, 325, 327, 1, 0, 0, 0, 326, 328, 3, 56, 28, 0, 327, 326, 1, 0, 0, 0, 327, 328, 1, 0, 0, 0, 328, 330, 1, 0, 0, 0, 329, 331, 3, 48, 24, 0, 330, 329, 1, 0, 0, 0, 330, 331, 1, 0, 0, 0, 331, 333, 1, 0, 0, 0, 332, 334, 3, 58, 29, 0, 333, 332, 1, 0, 0, 0, 333, 334, 1, 0, 0, 0, 334, 337, 1, 0, 0, 0, 335, 338, 3, 62, 31, 0, 336, 338, 3, 64, 32, 0, 337, 335, 1, 0, 0, 0, 337, 336, 1, 0, 0, 0, 337, 338, 1, 0, 0, 0, 338, 340, 1, 0, 0, 0, 339, 341, 3, 66, 33, 0, 340, 339, 1, 0, 0, 0, 340, 341, 1, 0, 0, 0, 341, 39, 1, 0, 0, 0, 342, 343, 5, 98, 0, 0, 343, 344, 3, 118, 59, 0, 344, 41, 1, 0, 0, 0, 345, 346, 5, 85, 0, 0, 346, 349, 5, 104, 0, 0, 347, 348, 5, 98, 0, 0, 348, 350, 5, 82, 0, 0, 349, 347, 1, 0, 0, 0, 349, 350, 1, 0, 0, 0, 350, 43, 1, 0, 0, 0, 351, 352, 5, 32, 0, 0, 352, 353, 3, 68, 34, 0, 353, 45, 1, 0, 0, 0, 354, 356, 7, 1, 0, 0, 355, 354, 1, 0, 0, 0, 355, 356, 1, 0, 0, 0, 356, 357, 1, 0, 0, 0, 357, 358, 5, 5, 0, 0, 358, 359, 5, 45, 0, 0, 359, 360, 3, 104, 52, 0, 360, 47, 1, 0, 0, 0, 361, 362, 5, 97, 0, 0, 362, 363, 3, 150, 75, 0, 363, 364, 5, 6, 0, 0, 364, 365, 5, 126, 0, 0, 365, 366, 3, 88, 44, 0, 366, 376, 5, 144, 0, 0, 367, 368, 5, 112, 0, 0, 368, 369, 3, 150, 75, 0, 369, 370, 5, 6, 0, 0, 370, 371, 5, 126, 0, 0, 371, 372, 3, 88, 44, 0, 372, 373, 5, 144, 0, 0, 373, 375, 1, 0, 0, 0, 374, 367, 1, 0, 0, 0, 375, 378, 1, 0, 0, 0, 376, 374, 1, 0, 0, 0, 376, 377, 1, 0, 0, 0, 377, 49, 1, 0, 0, 0, 378, 376, 1, 0, 0, 0, 379, 380, 5, 67, 0, 0, 380, 381, 3, 106, 53, 0, 381, 51, 1, 0, 0, 0, 382, 383, 5, 95, 0, 0, 383, 384, 3, 106, 53, 0, 384, 53, 1, 0, 0, 0, 385, 386, 5, 34, 0, 0, 386, 393, 5, 11, 0, 0, 387, 388, 7, 0, 0, 0, 388, 389, 5, 126, 0, 0, 389, 390, 3, 104, 52, 0, 390, 391, 5, 144, 0, 0, 391, 394, 1, 0, 0, 0, 392, 394, 3, 104, 52, 0, 393, 387, 1, 0, 0, 0, 393, 392, 1, 0, 0, 0, 394, 55, 1, 0, 0, 0, 395, 396, 5, 35, 0, 0, 396, 397, 3, 106, 53, 0, 397, 57, 1, 0, 0, 0, 398, 399, 5, 62, 0, 0, 399, 400, 5, 11, 0, 0, 400, 401, 3, 78, 39, 0, 401, 59, 1, 0, 0, 0, 402, 403, 5, 62, 0, 0, 403, 404, 5, 11, 0, 0, 404, 405, 3, 104, 52, 0, 405, 61, 1, 0, 0, 0, 406, 407, 5, 52, 0, 0, 407, 410, 3, 106, 53, 0, 408, 409, 5, 112, 0, 0, 409, 411, 3, 106, 53, 0, 410, 408, 1, 0, 0, 0, 410, 411, 1, 0, 0, 0, 411, 416, 1, 0, 0, 0, 412, 413, 5, 98, 0, 0, 413, 417, 5, 82, 0, 0, 414, 415, 5, 11, 0, 0, 415, 417, 3, 104, 52, 0, 416, 412, 1, 0, 0, 0, 416, 414, 1, 0, 0, 0, 416, 417, 1, 0, 0, 0, 417, 436, 1, 0, 0, 0, 418, 419, 5, 52, 0, 0, 419, 422, 3, 106, 53, 0, 420, 421, 5, 98, 0, 0, 421, 423, 5, 82, 0, 0, 422, 420, 1, 0, 0, 0, 422, 423, 1, 0, 0, 0, 423, 424, 1, 0, 0, 0, 424, 425, 5, 59, 0, 0, 425, 426, 3, 106, 53, 0, 426, 436, 1, 0, 0, 0, 427, 428, 5, 52, 0, 0, 428, 429, 3, 106, 53, 0, 429, 430, 5, 59, 0, 0, 430, 433, 3, 106, 53, 0, 431, 432, 5, 11, 0, 0, 432, 434, 3, 104, 52, 0, 433, 431, 1, 0, 0, 0, 433, 434, 1, 0, 0, 0, 434, 436, 1, 0, 0, 0, 435, 406, 1, 0, 0, 0, 435, 418, 1, 0, 0, 0, 435, 427, 1, 0, 0, 0, 436, 63, 1, 0, 0, 0, 437, 438, 5, 59, 0, 0, 438, 439, 3, 106, 53, 0, 439, 65, 1, 0, 0, 0, 440, 441, 5, 79, 0, 0, 441, 442, 3, 84, 42, 0, 442, 67, 1, 0, 0, 0, 443, 444, 6, 34, -1, 0, 444, 446, 3, 126, 63, 0, 445, 447, 5, 27, 0, 0, 446, 445, 1, 0, 0, 0, 446, 447, 1, 0, 0, 0, 447, 449, 1, 0, 0, 0, 448, 450, 3, 76, 38, 0, 449, 448, 1, 0, 0, 0, 449, 450, 1, 0, 0, 0, 450, 456, 1, 0, 0, 0, 451, 452, 5, 126, 0, 0, 452, 453, 3, 68, 34, 0, 453, 454, 5, 144, 0, 0, 454, 456, 1, 0, 0, 0, 455, 443, 1, 0, 0, 0, 455, 451, 1, 0, 0, 0, 456, 471, 1, 0, 0, 0, 457, 458, 10, 3, 0, 0, 458, 459, 3, 72, 36, 0, 459, 460, 3, 68, 34, 4, 460, 470, 1, 0, 0, 0, 461, 463, 10, 4, 0, 0, 462, 464, 3, 70, 35, 0, 463, 462, 1, 0, 0, 0, 463, 464, 1, 0, 0, 0, 464, 465, 1, 0, 0, 0, 465, 466, 5, 45, 0, 0, 466, 467, 3, 68, 34, 0, 467, 468, 3, 74, 37, 0, 468, 470, 1, 0, 0, 0, 469, 457, 1, 0, 0, 0, 469, 461, 1, 0, 0, 0, 470, 473, 1, 0, 0, 0, 471, 469, 1, 0, 0, 0, 471, 472, 1, 0, 0, 0, 472, 69, 1, 0, 0, 0, 473, 471, 1, 0, 0, 0, 474, 476, 7, 2, 0, 0, 475, 474, 1, 0, 0, 0, 475, 476, 1, 0, 0, 0, 476, 477, 1, 0, 0, 0, 477, 484, 5, 42, 0, 0, 478, 480, 5, 42, 0, 0, 479, 481, 7, 2, 0, 0, 480, 479, 1, 0, 0, 0, 480, 481, 1, 0, 0, 0, 481, 484, 1, 0, 0, 0, 482, 484, 7, 2, 0, 0, 483, 475, 1, 0, 0, 0, 483, 478, 1, 0, 0, 0, 483, 482, 1, 0, 0, 0, 484, 518, 1, 0, 0, 0, 485, 487, 7, 3, 0, 0, 486, 485, 1, 0, 0, 0, 486, 487, 1, 0, 0, 0, 487, 488, 1, 0, 0, 0, 488, 490, 7, 4, 0, 0, 489, 491, 5, 63, 0, 0, 490, 489, 1, 0, 0, 0, 490, 491, 1, 0, 0, 0, 491, 500, 1, 0, 0, 0, 492, 494, 7, 4, 0, 0, 493, 495, 5, 63, 0, 0, 494, 493, 1, 0, 0, 0, 494, 495, 1, 0, 0, 0, 495, 497, 1, 0, 0, 0, 496, 498, 7, 3, 0, 0, 497, 496, 1, 0, 0, 0, 497, 498, 1, 0, 0, 0, 498, 500, 1, 0, 0, 0, 499, 486, 1, 0, 0, 0, 499, 492, 1, 0, 0, 0, 500, 518, 1, 0, 0, 0, 501, 503, 7, 5, 0, 0, 502, 501, 1, 0, 0, 0, 502, 503, 1, 0, 0, 0, 503, 504, 1, 0, 0, 0, 504, 506, 5, 33, 0, 0, 505, 507, 5, 63, 0, 0, 506, 505, 1, 0, 0, 0, 506, 507, 1, 0, 0, 0, 507, 516, 1, 0, 0, 0, 508, 510, 5, 33, 0, 0, 509, 511, 5, 63, 0, 0, 510, 509, 1, 0, 0, 0, 510, 511, 1, 0, 0, 0, 511, 513, 1, 0, 0, 0, 512, 514, 7, 5, 0, 0, 513, 512, 1, 0, 0, 0, 513, 514, 1, 0, 0, 0, 514, 516, 1, 0, 0, 0, 515, 502, 1, 0, 0, 0, 515, 508, 1, 0, 0, 0, 516, 518, 1, 0, 0, 0, 517, 483, 1, 0, 0, 0, 517, 499, 1, 0, 0, 0, 517, 515, 1, 0, 0, 0, 518, 71, 1, 0, 0, 0, 519, 520, 5, 16, 0, 0, 520, 523, 5, 45, 0, 0, 521, 523, 5, 112, 0, 0, 522, 519, 1, 0, 0, 0, 522, 521, 1, 0, 0, 0, 523, 73, 1, 0, 0, 0, 524, 525, 5, 60, 0, 0, 525, 534, 3, 104, 52, 0, 526, 527, 5, 92, 0, 0, 527, 528, 5, 126, 0, 0, 528, 529, 3, 104, 52, 0, 529, 530, 5, 144, 0, 0, 530, 534, 1, 0, 0, 0, 531, 532, 5, 92, 0, 0, 532, 534, 3, 104, 52, 0, 533, 524, 1, 0, 0, 0, 533, 526, 1, 0, 0, 0, 533, 531, 1, 0, 0, 0, 534, 75, 1, 0, 0, 0, 535, 536, 5, 75, 0, 0, 536, 539, 3, 82, 41, 0, 537, 538, 5, 59, 0, 0, 538, 540, 3, 82, 41, 0, 539, 537, 1, 0, 0, 0, 539, 540, 1, 0, 0, 0, 540, 77, 1, 0, 0, 0, 541, 546, 3, 80, 40, 0, 542, 543, 5, 112, 0, 0, 543, 545, 3, 80, 40, 0, 544, 542, 1, 0, 0, 0, 545, 548, 1, 0, 0, 0, 546, 544, 1, 0, 0, 0, 546, 547, 1, 0, 0, 0, 547, 79, 1, 0, 0, 0, 548, 546, 1, 0, 0, 0, 549, 551, 3, 106, 53, 0, 550, 552, 7, 6, 0, 0, 551, 550, 1, 0, 0, 0, 551, 552, 1, 0, 0, 0, 552, 555, 1, 0, 0, 0, 553, 554, 5, 58, 0, 0, 554, 556, 7, 7, 0, 0, 555, 553, 1, 0, 0, 0, 555, 556, 1, 0, 0, 0, 556, 559, 1, 0, 0, 0, 557, 558, 5, 15, 0, 0, 558, 560, 5, 106, 0, 0, 559, 557, 1, 0, 0, 0, 559, 560, 1, 0, 0, 0, 560, 81, 1, 0, 0, 0, 561, 568, 3, 154, 77, 0, 562, 565, 3, 138, 69, 0, 563, 564, 5, 146, 0, 0, 564, 566, 3, 138, 69, 0, 565, 563, 1, 0, 0, 0, 565, 566, 1, 0, 0, 0, 566, 568, 1, 0, 0, 0, 567, 561, 1, 0, 0, 0, 567, 562, 1, 0, 0, 0, 568, 83, 1, 0, 0, 0, 569, 574, 3, 86, 43, 0, 570, 571, 5, 112, 0, 0, 571, 573, 3, 86, 43, 0, 572, 570, 1, 0, 0, 0, 573, 576, 1, 0, 0, 0, 574, 572, 1, 0, 0, 0, 574, 575, 1, 0, 0, 0, 575, 85, 1, 0, 0, 0, 576, 574, 1, 0, 0, 0, 577, 578, 3, 150, 75, 0, 578, 579, 5, 118, 0, 0, 579, 580, 3, 140, 70, 0, 580, 87, 1, 0, 0, 0, 581, 583, 3, 90, 45, 0, 582, 581, 1, 0, 0, 0, 582, 583, 1, 0, 0, 0, 583, 585, 1, 0, 0, 0, 584, 586, 3, 92, 46, 0, 585, 584, 1, 0, 0, 0, 585, 586, 1, 0, 0, 0, 586, 588, 1, 0, 0, 0, 587, 589, 3, 94, 47, 0, 588, 587, 1, 0, 0, 0, 588, 589, 1, 0, 0, 0, 589, 89, 1, 0, 0, 0, 590, 591, 5, 65, 0, 0, 591, 592, 5, 11, 0, 0, 592, 593, 3, 104, 52, 0, 593, 91, 1, 0, 0, 0, 594, 595, 5, 62, 0, 0, 595, 596, 5, 11, 0, 0, 596, 597, 3, 78, 39, 0, 597, 93, 1, 0, 0, 0, 598, 599, 7, 8, 0, 0, 599, 600, 3, 96, 48, 0, 600, 95, 1, 0, 0, 0, 601, 608, 3, 98, 49, 0, 602, 603, 5, 9, 0, 0, 603, 604, 3, 98, 49, 0, 604, 605, 5, 2, 0, 0, 605, 606, 3, 98, 49, 0, 606, 608, 1, 0, 0, 0, 607, 601, 1, 0, 0, 0, 607, 602, 1, 0, 0, 0, 608, 97, 1, 0, 0, 0, 609, 610, 5, 18, 0, 0, 610, 622, 5, 73, 0, 0, 611, 612, 5, 90, 0, 0, 612, 622, 5, 66, 0, 0, 613, 614, 5, 90, 0, 0, 614, 622, 5, 30, 0, 0, 615, 616, 3, 138, 69, 0, 616, 617, 5, 66, 0, 0, 617, 622, 1, 0, 0, 0, 618, 619, 3, 138, 69, 0, 619, 620, 5, 30, 0, 0, 620, 622, 1, 0, 0, 0, 621, 609, 1, 0, 0, 0, 621, 611, 1, 0, 0, 0, 621, 613, 1, 0, 0, 0, 621, 615, 1, 0, 0, 0, 621, 618, 1, 0, 0, 0, 622, 99, 1, 0, 0, 0, 623, 624, 3, 106, 53, 0, 624, 625, 5, 0, 0, 1, 625, 101, 1, 0, 0, 0, 626, 674, 3, 150, 75, 0, 627, 628, 3, 150, 75, 0, 628, 629, 5, 126, 0, 0, 629, 630, 3, 150, 75, 0, 630, 637, 3, 102, 51, 0, 631, 632, 5, 112, 0, 0, 632, 633, 3, 150, 75, 0, 633, 634, 3, 102, 51, 0, 634, 636, 1, 0, 0, 0, 635, 631, 1, 0, 0, 0, 636, 639, 1, 0, 0, 0, 637, 635, 1, 0, 0, 0, 637, 638, 1, 0, 0, 0, 638, 640, 1, 0, 0, 0, 639, 637, 1, 0, 0, 0, 640, 641, 5, 144, 0, 0, 641, 674, 1, 0, 0, 0, 642, 643, 3, 150, 75, 0, 643, 644, 5, 126, 0, 0, 644, 649, 3, 152, 76, 0, 645, 646, 5, 112, 0, 0, 646, 648, 3, 152, 76, 0, 647, 645, 1, 0, 0, 0, 648, 651, 1, 0, 0, 0, 649, 647, 1, 0, 0, 0, 649, 650, 1, 0, 0, 0, 650, 652, 1, 0, 0, 0, 651, 649, 1, 0, 0, 0, 652, 653, 5, 144, 0, 0, 653, 674, 1, 0, 0, 0, 654, 655, 3, 150, 75, 0, 655, 656, 5, 126, 0, 0, 656, 661, 3, 102, 51, 0, 657, 658, 5, 112, 0, 0, 658, 660, 3, 102, 51, 0, 659, 657, 1, 0, 0, 0, 660, 663, 1, 0, 0, 0, 661, 659, 1, 0, 0, 0, 661, 662, 1, 0, 0, 0, 662, 664, 1, 0, 0, 0, 663, 661, 1, 0, 0, 0, 664, 665, 5, 144, 0, 0, 665, 674, 1, 0, 0, 0, 666, 667, 3, 150, 75, 0, 667, 669, 5, 126, 0, 0, 668, 670, 3, 104, 52, 0, 669, 668, 1, 0, 0, 0, 669, 670, 1, 0, 0, 0, 670, 671, 1, 0, 0, 0, 671, 672, 5, 144, 0, 0, 672, 674, 1, 0, 0, 0, 673, 626, 1, 0, 0, 0, 673, 627, 1, 0, 0, 0, 673, 642, 1, 0, 0, 0, 673, 654, 1, 0, 0, 0, 673, 666, 1, 0, 0, 0, 674, 103, 1, 0, 0, 0, 675, 680, 3, 106, 53, 0, 676, 677, 5, 112, 0, 0, 677, 679, 3, 106, 53, 0, 678, 676, 1, 0, 0, 0, 679, 682, 1, 0, 0, 0, 680, 678, 1, 0, 0, 0, 680, 681, 1, 0, 0, 0, 681, 105, 1, 0, 0, 0, 682, 680, 1, 0, 0, 0, 683, 684, 6, 53, -1, 0, 684, 686, 5, 12, 0, 0, 685, 687, 3, 106, 53, 0, 686, 685, 1, 0, 0, 0, 686, 687, 1, 0, 0, 0, 687, 693, 1, 0, 0, 0, 688, 689, 5, 94, 0, 0, 689, 690, 3, 106, 53, 0, 690, 691, 5, 81, 0, 0, 691, 692, 3, 106, 53, 0, 692, 694, 1, 0, 0, 0, 693, 688, 1, 0, 0, 0, 694, 695, 1, 0, 0, 0, 695, 693, 1, 0, 0, 0, 695, 696, 1, 0, 0, 0, 696, 699, 1, 0, 0, 0, 697, 698, 5, 24, 0, 0, 698, 700, 3, 106, 53, 0, 699, 697, 1, 0, 0, 0, 699, 700, 1, 0, 0, 0, 700, 701, 1, 0, 0, 0, 701, 702, 5, 25, 0, 0, 702, 833, 1, 0, 0, 0, 703, 704, 5, 13, 0, 0, 704, 705, 5, 126, 0, 0, 705, 706, 3, 106, 53, 0, 706, 707, 5, 6, 0, 0, 707, 708, 3, 102, 51, 0, 708, 709, 5, 144, 0, 0, 709, 833, 1, 0, 0, 0, 710, 711, 5, 19, 0, 0, 711, 833, 5, 106, 0, 0, 712, 713, 5, 43, 0, 0, 713, 714, 3, 106, 53, 0, 714, 715, 3, 142, 71, 0, 715, 833, 1, 0, 0, 0, 716, 717, 5, 80, 0, 0, 717, 718, 5, 126, 0, 0, 718, 719, 3, 106, 53, 0, 719, 720, 5, 32, 0, 0, 720, 723, 3, 106, 53, 0, 721, 722, 5, 31, 0, 0, 722, 724, 3, 106, 53, 0, 723, 721, 1, 0, 0, 0, 723, 724, 1, 0, 0, 0, 724, 725, 1, 0, 0, 0, 725, 726, 5, 144, 0, 0, 726, 833, 1, 0, 0, 0, 727, 728, 5, 83, 0, 0, 728, 833, 5, 106, 0, 0, 729, 730, 5, 88, 0, 0, 730, 731, 5, 126, 0, 0, 731, 732, 7, 9, 0, 0, 732, 733, 3, 156, 78, 0, 733, 734, 5, 32, 0, 0, 734, 735, 3, 106, 53, 0, 735, 736, 5, 144, 0, 0, 736, 833, 1, 0, 0, 0, 737, 738, 3, 150, 75, 0, 738, 740, 5, 126, 0, 0, 739, 741, 3, 104, 52, 0, 740, 739, 1, 0, 0, 0, 740, 741, 1, 0, 0, 0, 741, 742, 1, 0, 0, 0, 742, 743, 5, 144, 0, 0, 743, 752, 1, 0, 0, 0, 744, 746, 5, 126, 0, 0, 745, 747, 5, 23, 0, 0, 746, 745, 1, 0, 0, 0, 746, 747, 1, 0, 0, 0, 747, 749, 1, 0, 0, 0, 748, 750, 3, 108, 54, 0, 749, 748, 1, 0, 0, 0, 749, 750, 1, 0, 0, 0, 750, 751, 1, 0, 0, 0, 751, 753, 5, 144, 0, 0, 752, 744, 1, 0, 0, 0, 752, 753, 1, 0, 0, 0, 753, 754, 1, 0, 0, 0, 754, 755, 5, 64, 0, 0, 755, 756, 5, 126, 0, 0, 756, 757, 3, 88, 44, 0, 757, 758, 5, 144, 0, 0, 758, 833, 1, 0, 0, 0, 759, 760, 3, 150, 75, 0, 760, 762, 5, 126, 0, 0, 761, 763, 3, 104, 52, 0, 762, 761, 1, 0, 0, 0, 762, 763, 1, 0, 0, 0, 763, 764, 1, 0, 0, 0, 764, 765, 5, 144, 0, 0, 765, 774, 1, 0, 0, 0, 766, 768, 5, 126, 0, 0, 767, 769, 5, 23, 0, 0, 768, 767, 1, 0, 0, 0, 768, 769, 1, 0, 0, 0, 769, 771, 1, 0, 0, 0, 770, 772, 3, 108, 54, 0, 771, 770, 1, 0, 0, 0, 771, 772, 1, 0, 0, 0, 772, 773, 1, 0, 0, 0, 773, 775, 5, 144, 0, 0, 774, 766, 1, 0, 0, 0, 774, 775, 1, 0, 0, 0, 775, 776, 1, 0, 0, 0, 776, 777, 5, 64, 0, 0, 777, 778, 3, 150, 75, 0, 778, 833, 1, 0, 0, 0, 779, 785, 3, 150, 75, 0, 780, 782, 5, 126, 0, 0, 781, 783, 3, 104, 52, 0, 782, 781, 1, 0, 0, 0, 782, 783, 1, 0, 0, 0, 783, 784, 1, 0, 0, 0, 784, 786, 5, 144, 0, 0, 785, 780, 1, 0, 0, 0, 785, 786, 1, 0, 0, 0, 786, 787, 1, 0, 0, 0, 787, 789, 5, 126, 0, 0, 788, 790, 5, 23, 0, 0, 789, 788, 1, 0, 0, 0, 789, 790, 1, 0, 0, 0, 790, 792, 1, 0, 0, 0, 791, 793, 3, 108, 54, 0, 792, 791, 1, 0, 0, 0, 792, 793, 1, 0, 0, 0, 793, 794, 1, 0, 0, 0, 794, 795, 5, 144, 0, 0, 795, 833, 1, 0, 0, 0, 796, 833, 3, 114, 57, 0, 797, 833, 3, 158, 79, 0, 798, 833, 3, 140, 70, 0, 799, 800, 5, 114, 0, 0, 800, 833, 3, 106, 53, 19, 801, 802, 5, 56, 0, 0, 802, 833, 3, 106, 53, 13, 803, 804, 3, 130, 65, 0, 804, 805, 5, 116, 0, 0, 805, 807, 1, 0, 0, 0, 806, 803, 1, 0, 0, 0, 806, 807, 1, 0, 0, 0, 807, 808, 1, 0, 0, 0, 808, 833, 5, 108, 0, 0, 809, 810, 5, 126, 0, 0, 810, 811, 3, 34, 17, 0, 811, 812, 5, 144, 0, 0, 812, 833, 1, 0, 0, 0, 813, 814, 5, 126, 0, 0, 814, 815, 3, 106, 53, 0, 815, 816, 5, 144, 0, 0, 816, 833, 1, 0, 0, 0, 817, 818, 5, 126, 0, 0, 818, 819, 3, 104, 52, 0, 819, 820, 5, 144, 0, 0, 820, 833, 1, 0, 0, 0, 821, 823, 5, 125, 0, 0, 822, 824, 3, 104, 52, 0, 823, 822, 1, 0, 0, 0, 823, 824, 1, 0, 0, 0, 824, 825, 1, 0, 0, 0, 825, 833, 5, 143, 0, 0, 826, 828, 5, 124, 0, 0, 827, 829, 3, 30, 15, 0, 828, 827, 1, 0, 0, 0, 828, 829, 1, 0, 0, 0, 829, 830, 1, 0, 0, 0, 830, 833, 5, 142, 0, 0, 831, 833, 3, 122, 61, 0, 832, 683, 1, 0, 0, 0, 832, 703, 1, 0, 0, 0, 832, 710, 1, 0, 0, 0, 832, 712, 1, 0, 0, 0, 832, 716, 1, 0, 0, 0, 832, 727, 1, 0, 0, 0, 832, 729, 1, 0, 0, 0, 832, 737, 1, 0, 0, 0, 832, 759, 1, 0, 0, 0, 832, 779, 1, 0, 0, 0, 832, 796, 1, 0, 0, 0, 832, 797, 1, 0, 0, 0, 832, 798, 1, 0, 0, 0, 832, 799, 1, 0, 0, 0, 832, 801, 1, 0, 0, 0, 832, 806, 1, 0, 0, 0, 832, 809, 1, 0, 0, 0, 832, 813, 1, 0, 0, 0, 832, 817, 1, 0, 0, 0, 832, 821, 1, 0, 0, 0, 832, 826, 1, 0, 0, 0, 832, 831, 1, 0, 0, 0, 833, 927, 1, 0, 0, 0, 834, 838, 10, 18, 0, 0, 835, 839, 5, 108, 0, 0, 836, 839, 5, 146, 0, 0, 837, 839, 5, 133, 0, 0, 838, 835, 1, 0, 0, 0, 838, 836, 1, 0, 0, 0, 838, 837, 1, 0, 0, 0, 839, 840, 1, 0, 0, 0, 840, 926, 3, 106, 53, 19, 841, 845, 10, 17, 0, 0, 842, 846, 5, 134, 0, 0, 843, 846, 5, 114, 0, 0, 844, 846, 5, 113, 0, 0, 845, 842, 1, 0, 0, 0, 845, 843, 1, 0, 0, 0, 845, 844, 1, 0, 0, 0, 846, 847, 1, 0, 0, 0, 847, 926, 3, 106, 53, 18, 848, 873, 10, 16, 0, 0, 849, 874, 5, 117, 0, 0, 850, 874, 5, 118, 0, 0, 851, 874, 5, 129, 0, 0, 852, 874, 5, 127, 0, 0, 853, 874, 5, 128, 0, 0, 854, 874, 5, 119, 0, 0, 855, 874, 5, 120, 0, 0, 856, 858, 5, 56, 0, 0, 857, 856, 1, 0, 0, 0, 857, 858, 1, 0, 0, 0, 858, 859, 1, 0, 0, 0, 859, 861, 5, 40, 0, 0, 860, 862, 5, 14, 0, 0, 861, 860, 1, 0, 0, 0, 861, 862, 1, 0, 0, 0, 862, 874, 1, 0, 0, 0, 863, 865, 5, 56, 0, 0, 864, 863, 1, 0, 0, 0, 864, 865, 1, 0, 0, 0, 865, 866, 1, 0, 0, 0, 866, 874, 7, 10, 0, 0, 867, 874, 5, 140, 0, 0, 868, 874, 5, 141, 0, 0, 869, 874, 5, 131, 0, 0, 870, 874, 5, 122, 0, 0, 871, 874, 5, 123, 0, 0, 872, 874, 5, 130, 0, 0, 873, 849, 1, 0, 0, 0, 873, 850, 1, 0, 0, 0, 873, 851, 1, 0, 0, 0, 873, 852, 1, 0, 0, 0, 873, 853, 1, 0, 0, 0, 873, 854, 1, 0, 0, 0, 873, 855, 1, 0, 0, 0, 873, 857, 1, 0, 0, 0, 873, 864, 1, 0, 0, 0, 873, 867, 1, 0, 0, 0, 873, 868, 1, 0, 0, 0, 873, 869, 1, 0, 0, 0, 873, 870, 1, 0, 0, 0, 873, 871, 1, 0, 0, 0, 873, 872, 1, 0, 0, 0, 874, 875, 1, 0, 0, 0, 875, 926, 3, 106, 53, 17, 876, 877, 10, 14, 0, 0, 877, 878, 5, 132, 0, 0, 878, 926, 3, 106, 53, 15, 879, 880, 10, 12, 0, 0, 880, 881, 5, 2, 0, 0, 881, 926, 3, 106, 53, 13, 882, 883, 10, 11, 0, 0, 883, 884, 5, 61, 0, 0, 884, 926, 3, 106, 53, 12, 885, 887, 10, 10, 0, 0, 886, 888, 5, 56, 0, 0, 887, 886, 1, 0, 0, 0, 887, 888, 1, 0, 0, 0, 888, 889, 1, 0, 0, 0, 889, 890, 5, 9, 0, 0, 890, 891, 3, 106, 53, 0, 891, 892, 5, 2, 0, 0, 892, 893, 3, 106, 53, 11, 893, 926, 1, 0, 0, 0, 894, 895, 10, 9, 0, 0, 895, 896, 5, 135, 0, 0, 896, 897, 3, 106, 53, 0, 897, 898, 5, 111, 0, 0, 898, 899, 3, 106, 53, 9, 899, 926, 1, 0, 0, 0, 900, 901, 10, 22, 0, 0, 901, 902, 5, 125, 0, 0, 902, 903, 3, 106, 53, 0, 903, 904, 5, 143, 0, 0, 904, 926, 1, 0, 0, 0, 905, 906, 10, 21, 0, 0, 906, 907, 5, 116, 0, 0, 907, 926, 5, 104, 0, 0, 908, 909, 10, 20, 0, 0, 909, 910, 5, 116, 0, 0, 910, 926, 3, 150, 75, 0, 911, 912, 10, 15, 0, 0, 912, 914, 5, 44, 0, 0, 913, 915, 5, 56, 0, 0, 914, 913, 1, 0, 0, 0, 914, 915, 1, 0, 0, 0, 915, 916, 1, 0, 0, 0, 916, 926, 5, 57, 0, 0, 917, 923, 10, 8, 0, 0, 918, 924, 3, 148, 74, 0, 919, 920, 5, 6, 0, 0, 920, 924, 3, 150, 75, 0, 921, 922, 5, 6, 0, 0, 922, 924, 5, 106, 0, 0, 923, 918, 1, 0, 0, 0, 923, 919, 1, 0, 0, 0, 923, 921, 1, 0, 0, 0, 924, 926, 1, 0, 0, 0, 925, 834, 1, 0, 0, 0, 925, 841, 1, 0, 0, 0, 925, 848, 1, 0, 0, 0, 925, 876, 1, 0, 0, 0, 925, 879, 1, 0, 0, 0, 925, 882, 1, 0, 0, 0, 925, 885, 1, 0, 0, 0, 925, 894, 1, 0, 0, 0, 925, 900, 1, 0, 0, 0, 925, 905, 1, 0, 0, 0, 925, 908, 1, 0, 0, 0, 925, 911, 1, 0, 0, 0, 925, 917, 1, 0, 0, 0, 926, 929, 1, 0, 0, 0, 927, 925, 1, 0, 0, 0, 927, 928, 1, 0, 0, 0, 928, 107, 1, 0, 0, 0, 929, 927, 1, 0, 0, 0, 930, 935, 3, 110, 55, 0, 931, 932, 5, 112, 0, 0, 932, 934, 3, 110, 55, 0, 933, 931, 1, 0, 0, 0, 934, 937, 1, 0, 0, 0, 935, 933, 1, 0, 0, 0, 935, 936, 1, 0, 0, 0, 936, 109, 1, 0, 0, 0, 937, 935, 1, 0, 0, 0, 938, 941, 3, 112, 56, 0, 939, 941, 3, 106, 53, 0, 940, 938, 1, 0, 0, 0, 940, 939, 1, 0, 0, 0, 941, 111, 1, 0, 0, 0, 942, 943, 5, 126, 0, 0, 943, 948, 3, 150, 75, 0, 944, 945, 5, 112, 0, 0, 945, 947, 3, 150, 75, 0, 946, 944, 1, 0, 0, 0, 947, 950, 1, 0, 0, 0, 948, 946, 1, 0, 0, 0, 948, 949, 1, 0, 0, 0, 949, 951, 1, 0, 0, 0, 950, 948, 1, 0, 0, 0, 951, 952, 5, 144, 0, 0, 952, 962, 1, 0, 0, 0, 953, 958, 3, 150, 75, 0, 954, 955, 5, 112, 0, 0, 955, 957, 3, 150, 75, 0, 956, 954, 1, 0, 0, 0, 957, 960, 1, 0, 0, 0, 958, 956, 1, 0, 0, 0, 958, 959, 1, 0, 0, 0, 959, 962, 1, 0, 0, 0, 960, 958, 1, 0, 0, 0, 961, 942, 1, 0, 0, 0, 961, 953, 1, 0, 0, 0, 962, 963, 1, 0, 0, 0, 963, 964, 5, 107, 0, 0, 964, 965, 3, 106, 53, 0, 965, 113, 1, 0, 0, 0, 966, 967, 5, 128, 0, 0, 967, 971, 3, 150, 75, 0, 968, 970, 3, 116, 58, 0, 969, 968, 1, 0, 0, 0, 970, 973, 1, 0, 0, 0, 971, 969, 1, 0, 0, 0, 971, 972, 1, 0, 0, 0, 972, 974, 1, 0, 0, 0, 973, 971, 1, 0, 0, 0, 974, 975, 5, 146, 0, 0, 975, 976, 5, 120, 0, 0, 976, 995, 1, 0, 0, 0, 977, 978, 5, 128, 0, 0, 978, 982, 3, 150, 75, 0, 979, 981, 3, 116, 58, 0, 980, 979, 1, 0, 0, 0, 981, 984, 1, 0, 0, 0, 982, 980, 1, 0, 0, 0, 982, 983, 1, 0, 0, 0, 983, 985, 1, 0, 0, 0, 984, 982, 1, 0, 0, 0, 985, 987, 5, 120, 0, 0, 986, 988, 3, 114, 57, 0, 987, 986, 1, 0, 0, 0, 987, 988, 1, 0, 0, 0, 988, 989, 1, 0, 0, 0, 989, 990, 5, 128, 0, 0, 990, 991, 5, 146, 0, 0, 991, 992, 3, 150, 75, 0, 992, 993, 5, 120, 0, 0, 993, 995, 1, 0, 0, 0, 994, 966, 1, 0, 0, 0, 994, 977, 1, 0, 0, 0, 995, 115, 1, 0, 0, 0, 996, 997, 3, 150, 75, 0, 997, 998, 5, 118, 0, 0, 998, 999, 3, 156, 78, 0, 999, 1008, 1, 0, 0, 0, 1000, 1001, 3, 150, 75, 0, 1001, 1002, 5, 118, 0, 0, 1002, 1003, 5, 124, 0, 0, 1003, 1004, 3, 106, 53, 0, 1004, 1005, 5, 142, 0, 0, 1005, 1008, 1, 0, 0, 0, 1006, 1008, 3, 150, 75, 0, 1007, 996, 1, 0, 0, 0, 1007, 1000, 1, 0, 0, 0, 1007, 1006, 1, 0, 0, 0, 1008, 117, 1, 0, 0, 0, 1009, 1014, 3, 120, 60, 0, 1010, 1011, 5, 112, 0, 0, 1011, 1013, 3, 120, 60, 0, 1012, 1010, 1, 0, 0, 0, 1013, 1016, 1, 0, 0, 0, 1014, 1012, 1, 0, 0, 0, 1014, 1015, 1, 0, 0, 0, 1015, 119, 1, 0, 0, 0, 1016, 1014, 1, 0, 0, 0, 1017, 1018, 3, 150, 75, 0, 1018, 1019, 5, 6, 0, 0, 1019, 1020, 5, 126, 0, 0, 1020, 1021, 3, 34, 17, 0, 1021, 1022, 5, 144, 0, 0, 1022, 1028, 1, 0, 0, 0, 1023, 1024, 3, 106, 53, 0, 1024, 1025, 5, 6, 0, 0, 1025, 1026, 3, 150, 75, 0, 1026, 1028, 1, 0, 0, 0, 1027, 1017, 1, 0, 0, 0, 1027, 1023, 1, 0, 0, 0, 1028, 121, 1, 0, 0, 0, 1029, 1037, 3, 154, 77, 0, 1030, 1031, 3, 130, 65, 0, 1031, 1032, 5, 116, 0, 0, 1032, 1034, 1, 0, 0, 0, 1033, 1030, 1, 0, 0, 0, 1033, 1034, 1, 0, 0, 0, 1034, 1035, 1, 0, 0, 0, 1035, 1037, 3, 124, 62, 0, 1036, 1029, 1, 0, 0, 0, 1036, 1033, 1, 0, 0, 0, 1037, 123, 1, 0, 0, 0, 1038, 1043, 3, 150, 75, 0, 1039, 1040, 5, 116, 0, 0, 1040, 1042, 3, 150, 75, 0, 1041, 1039, 1, 0, 0, 0, 1042, 1045, 1, 0, 0, 0, 1043, 1041, 1, 0, 0, 0, 1043, 1044, 1, 0, 0, 0, 1044, 125, 1, 0, 0, 0, 1045, 1043, 1, 0, 0, 0, 1046, 1047, 6, 63, -1, 0, 1047, 1056, 3, 130, 65, 0, 1048, 1056, 3, 128, 64, 0, 1049, 1050, 5, 126, 0, 0, 1050, 1051, 3, 34, 17, 0, 1051, 1052, 5, 144, 0, 0, 1052, 1056, 1, 0, 0, 0, 1053, 1056, 3, 114, 57, 0, 1054, 1056, 3, 154, 77, 0, 1055, 1046, 1, 0, 0, 0, 1055, 1048, 1, 0, 0, 0, 1055, 1049, 1, 0, 0, 0, 1055, 1053, 1, 0, 0, 0, 1055, 1054, 1, 0, 0, 0, 1056, 1065, 1, 0, 0, 0, 1057, 1061, 10, 3, 0, 0, 1058, 1062, 3, 148, 74, 0, 1059, 1060, 5, 6, 0, 0, 1060, 1062, 3, 150, 75, 0, 1061, 1058, 1, 0, 0, 0, 1061, 1059, 1, 0, 0, 0, 1062, 1064, 1, 0, 0, 0, 1063, 1057, 1, 0, 0, 0, 1064, 1067, 1, 0, 0, 0, 1065, 1063, 1, 0, 0, 0, 1065, 1066, 1, 0, 0, 0, 1066, 127, 1, 0, 0, 0, 1067, 1065, 1, 0, 0, 0, 1068, 1069, 3, 150, 75, 0, 1069, 1071, 5, 126, 0, 0, 1070, 1072, 3, 132, 66, 0, 1071, 1070, 1, 0, 0, 0, 1071, 1072, 1, 0, 0, 0, 1072, 1073, 1, 0, 0, 0, 1073, 1074, 5, 144, 0, 0, 1074, 129, 1, 0, 0, 0, 1075, 1076, 3, 134, 67, 0, 1076, 1077, 5, 116, 0, 0, 1077, 1079, 1, 0, 0, 0, 1078, 1075, 1, 0, 0, 0, 1078, 1079, 1, 0, 0, 0, 1079, 1080, 1, 0, 0, 0, 1080, 1081, 3, 150, 75, 0, 1081, 131, 1, 0, 0, 0, 1082, 1087, 3, 106, 53, 0, 1083, 1084, 5, 112, 0, 0, 1084, 1086, 3, 106, 53, 0, 1085, 1083, 1, 0, 0, 0, 1086, 1089, 1, 0, 0, 0, 1087, 1085, 1, 0, 0, 0, 1087, 1088, 1, 0, 0, 0, 1088, 133, 1, 0, 0, 0, 1089, 1087, 1, 0, 0, 0, 1090, 1091, 3, 150, 75, 0, 1091, 135, 1, 0, 0, 0, 1092, 1101, 5, 102, 0, 0, 1093, 1094, 5, 116, 0, 0, 1094, 1101, 7, 11, 0, 0, 1095, 1096, 5, 104, 0, 0, 1096, 1098, 5, 116, 0, 0, 1097, 1099, 7, 11, 0, 0, 1098, 1097, 1, 0, 0, 0, 1098, 1099, 1, 0, 0, 0, 1099, 1101, 1, 0, 0, 0, 1100, 1092, 1, 0, 0, 0, 1100, 1093, 1, 0, 0, 0, 1100, 1095, 1, 0, 0, 0, 1101, 137, 1, 0, 0, 0, 1102, 1104, 7, 12, 0, 0, 1103, 1102, 1, 0, 0, 0, 1103, 1104, 1, 0, 0, 0, 1104, 1111, 1, 0, 0, 0, 1105, 1112, 3, 136, 68, 0, 1106, 1112, 5, 103, 0, 0, 1107, 1112, 5, 104, 0, 0, 1108, 1112, 5, 105, 0, 0, 1109, 1112, 5, 41, 0, 0, 1110, 1112, 5, 55, 0, 0, 1111, 1105, 1, 0, 0, 0, 1111, 1106, 1, 0, 0, 0, 1111, 1107, 1, 0, 0, 0, 1111, 1108, 1, 0, 0, 0, 1111, 1109, 1, 0, 0, 0, 1111, 1110, 1, 0, 0, 0, 1112, 139, 1, 0, 0, 0, 1113, 1117, 3, 138, 69, 0, 1114, 1117, 5, 106, 0, 0, 1115, 1117, 5, 57, 0, 0, 1116, 1113, 1, 0, 0, 0, 1116, 1114, 1, 0, 0, 0, 1116, 1115, 1, 0, 0, 0, 1117, 141, 1, 0, 0, 0, 1118, 1119, 7, 13, 0, 0, 1119, 143, 1, 0, 0, 0, 1120, 1121, 7, 14, 0, 0, 1121, 145, 1, 0, 0, 0, 1122, 1123, 7, 15, 0, 0, 1123, 147, 1, 0, 0, 0, 1124, 1127, 5, 101, 0, 0, 1125, 1127, 3, 146, 73, 0, 1126, 1124, 1, 0, 0, 0, 1126, 1125, 1, 0, 0, 0, 1127, 149, 1, 0, 0, 0, 1128, 1132, 5, 101, 0, 0, 1129, 1132, 3, 142, 71, 0, 1130, 1132, 3, 144, 72, 0, 1131, 1128, 1, 0, 0, 0, 1131, 1129, 1, 0, 0, 0, 1131, 1130, 1, 0, 0, 0, 1132, 151, 1, 0, 0, 0, 1133, 1134, 3, 156, 78, 0, 1134, 1135, 5, 118, 0, 0, 1135, 1136, 3, 138, 69, 0, 1136, 153, 1, 0, 0, 0, 1137, 1138, 5, 124, 0, 0, 1138, 1139, 3, 150, 75, 0, 1139, 1140, 5, 142, 0, 0, 1140, 155, 1, 0, 0, 0, 1141, 1144, 5, 106, 0, 0, 1142, 1144, 3, 158, 79, 0, 1143, 1141, 1, 0, 0, 0, 1143, 1142, 1, 0, 0, 0, 1144, 157, 1, 0, 0, 0, 1145, 1149, 5, 137, 0, 0, 1146, 1148, 3, 160, 80, 0, 1147, 1146, 1, 0, 0, 0, 1148, 1151, 1, 0, 0, 0, 1149, 1147, 1, 0, 0, 0, 1149, 1150, 1, 0, 0, 0, 1150, 1152, 1, 0, 0, 0, 1151, 1149, 1, 0, 0, 0, 1152, 1153, 5, 139, 0, 0, 1153, 159, 1, 0, 0, 0, 1154, 1155, 5, 152, 0, 0, 1155, 1156, 3, 106, 53, 0, 1156, 1157, 5, 142, 0, 0, 1157, 1160, 1, 0, 0, 0, 1158, 1160, 5, 151, 0, 0, 1159, 1154, 1, 0, 0, 0, 1159, 1158, 1, 0, 0, 0, 1160, 161, 1, 0, 0, 0, 1161, 1165, 5, 138, 0, 0, 1162, 1164, 3, 164, 82, 0, 1163, 1162, 1, 0, 0, 0, 1164, 1167, 1, 0, 0, 0, 1165, 1163, 1, 0, 0, 0, 1165, 1166, 1, 0, 0, 0, 1166, 1168, 1, 0, 0, 0, 1167, 1165, 1, 0, 0, 0, 1168, 1169, 5, 0, 0, 1, 1169, 163, 1, 0, 0, 0, 1170, 1171, 5, 154, 0, 0, 1171, 1172, 3, 106, 53, 0, 1172, 1173, 5, 142, 0, 0, 1173, 1176, 1, 0, 0, 0, 1174, 1176, 5, 153, 0, 0, 1175, 1170, 1, 0, 0, 0, 1175, 1174, 1, 0, 0, 0, 1176, 165, 1, 0, 0, 0, 141, 169, 176, 185, 200, 212, 224, 240, 251, 265, 271, 281, 290, 293, 297, 300, 304, 307, 310, 313, 316, 320, 324, 327, 330, 333, 337, 340, 349, 355, 376, 393, 410, 416, 422, 433, 435, 446, 449, 455, 463, 469, 471, 475, 480, 483, 486, 490, 494, 497, 499, 502, 506, 510, 513, 515, 517, 522, 533, 539, 546, 551, 555, 559, 565, 567, 574, 582, 585, 588, 607, 621, 637, 649, 661, 669, 673, 680, 686, 695, 699, 723, 740, 746, 749, 752, 762, 768, 771, 774, 782, 785, 789, 792, 806, 823, 828, 832, 838, 845, 857, 861, 864, 873, 887, 914, 923, 925, 927, 935, 940, 948, 958, 961, 971, 982, 987, 994, 1007, 1014, 1027, 1033, 1036, 1043, 1055, 1061, 1065, 1071, 1078, 1087, 1098, 1100, 1103, 1111, 1116, 1126, 1131, 1143, 1149, 1159, 1165, 1175] \ No newline at end of file +[4, 1, 154, 1179, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 1, 0, 5, 0, 168, 8, 0, 10, 0, 12, 0, 171, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 3, 1, 177, 8, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 3, 3, 186, 8, 3, 1, 4, 1, 4, 1, 4, 5, 4, 191, 8, 4, 10, 4, 12, 4, 194, 9, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 204, 8, 5, 1, 6, 1, 6, 3, 6, 208, 8, 6, 1, 6, 3, 6, 211, 8, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 3, 7, 220, 8, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 228, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 234, 8, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 3, 11, 246, 8, 11, 1, 12, 1, 12, 1, 13, 1, 13, 5, 13, 252, 8, 13, 10, 13, 12, 13, 255, 9, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 5, 15, 266, 8, 15, 10, 15, 12, 15, 269, 9, 15, 1, 16, 1, 16, 1, 16, 3, 16, 274, 8, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 5, 17, 282, 8, 17, 10, 17, 12, 17, 285, 9, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 293, 8, 18, 1, 19, 3, 19, 296, 8, 19, 1, 19, 1, 19, 3, 19, 300, 8, 19, 1, 19, 3, 19, 303, 8, 19, 1, 19, 1, 19, 3, 19, 307, 8, 19, 1, 19, 3, 19, 310, 8, 19, 1, 19, 3, 19, 313, 8, 19, 1, 19, 3, 19, 316, 8, 19, 1, 19, 3, 19, 319, 8, 19, 1, 19, 1, 19, 3, 19, 323, 8, 19, 1, 19, 1, 19, 3, 19, 327, 8, 19, 1, 19, 3, 19, 330, 8, 19, 1, 19, 3, 19, 333, 8, 19, 1, 19, 3, 19, 336, 8, 19, 1, 19, 1, 19, 3, 19, 340, 8, 19, 1, 19, 3, 19, 343, 8, 19, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 352, 8, 21, 1, 22, 1, 22, 1, 22, 1, 23, 3, 23, 358, 8, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 5, 24, 377, 8, 24, 10, 24, 12, 24, 380, 9, 24, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 396, 8, 27, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 413, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 419, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 425, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 436, 8, 31, 3, 31, 438, 8, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 3, 34, 449, 8, 34, 1, 34, 3, 34, 452, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 458, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 466, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 5, 34, 472, 8, 34, 10, 34, 12, 34, 475, 9, 34, 1, 35, 3, 35, 478, 8, 35, 1, 35, 1, 35, 1, 35, 3, 35, 483, 8, 35, 1, 35, 3, 35, 486, 8, 35, 1, 35, 3, 35, 489, 8, 35, 1, 35, 1, 35, 3, 35, 493, 8, 35, 1, 35, 1, 35, 3, 35, 497, 8, 35, 1, 35, 3, 35, 500, 8, 35, 3, 35, 502, 8, 35, 1, 35, 3, 35, 505, 8, 35, 1, 35, 1, 35, 3, 35, 509, 8, 35, 1, 35, 1, 35, 3, 35, 513, 8, 35, 1, 35, 3, 35, 516, 8, 35, 3, 35, 518, 8, 35, 3, 35, 520, 8, 35, 1, 36, 1, 36, 1, 36, 3, 36, 525, 8, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 536, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 542, 8, 38, 1, 39, 1, 39, 1, 39, 5, 39, 547, 8, 39, 10, 39, 12, 39, 550, 9, 39, 1, 40, 1, 40, 3, 40, 554, 8, 40, 1, 40, 1, 40, 3, 40, 558, 8, 40, 1, 40, 1, 40, 3, 40, 562, 8, 40, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 568, 8, 41, 3, 41, 570, 8, 41, 1, 42, 1, 42, 1, 42, 5, 42, 575, 8, 42, 10, 42, 12, 42, 578, 9, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 3, 44, 585, 8, 44, 1, 44, 3, 44, 588, 8, 44, 1, 44, 3, 44, 591, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 3, 48, 610, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 624, 8, 49, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 638, 8, 51, 10, 51, 12, 51, 641, 9, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 650, 8, 51, 10, 51, 12, 51, 653, 9, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 662, 8, 51, 10, 51, 12, 51, 665, 9, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 672, 8, 51, 1, 51, 1, 51, 3, 51, 676, 8, 51, 1, 52, 1, 52, 1, 52, 5, 52, 681, 8, 52, 10, 52, 12, 52, 684, 9, 52, 1, 53, 1, 53, 1, 53, 3, 53, 689, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 4, 53, 696, 8, 53, 11, 53, 12, 53, 697, 1, 53, 1, 53, 3, 53, 702, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 726, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 743, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 749, 8, 53, 1, 53, 3, 53, 752, 8, 53, 1, 53, 3, 53, 755, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 765, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 771, 8, 53, 1, 53, 3, 53, 774, 8, 53, 1, 53, 3, 53, 777, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 785, 8, 53, 1, 53, 3, 53, 788, 8, 53, 1, 53, 1, 53, 3, 53, 792, 8, 53, 1, 53, 3, 53, 795, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 809, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 826, 8, 53, 1, 53, 1, 53, 1, 53, 3, 53, 831, 8, 53, 1, 53, 1, 53, 3, 53, 835, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 841, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 848, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 860, 8, 53, 1, 53, 1, 53, 3, 53, 864, 8, 53, 1, 53, 3, 53, 867, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 876, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 890, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 917, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 925, 8, 53, 5, 53, 927, 8, 53, 10, 53, 12, 53, 930, 9, 53, 1, 54, 1, 54, 1, 54, 5, 54, 935, 8, 54, 10, 54, 12, 54, 938, 9, 54, 1, 55, 1, 55, 3, 55, 942, 8, 55, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 948, 8, 56, 10, 56, 12, 56, 951, 9, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 958, 8, 56, 10, 56, 12, 56, 961, 9, 56, 3, 56, 963, 8, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 5, 57, 971, 8, 57, 10, 57, 12, 57, 974, 9, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 982, 8, 57, 10, 57, 12, 57, 985, 9, 57, 1, 57, 1, 57, 3, 57, 989, 8, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 3, 57, 996, 8, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 1009, 8, 58, 1, 59, 1, 59, 1, 59, 5, 59, 1014, 8, 59, 10, 59, 12, 59, 1017, 9, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 3, 60, 1029, 8, 60, 1, 61, 1, 61, 1, 61, 1, 61, 3, 61, 1035, 8, 61, 1, 61, 3, 61, 1038, 8, 61, 1, 62, 1, 62, 1, 62, 5, 62, 1043, 8, 62, 10, 62, 12, 62, 1046, 9, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 1057, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 1063, 8, 63, 5, 63, 1065, 8, 63, 10, 63, 12, 63, 1068, 9, 63, 1, 64, 1, 64, 1, 64, 3, 64, 1073, 8, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 3, 65, 1080, 8, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 5, 66, 1087, 8, 66, 10, 66, 12, 66, 1090, 9, 66, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 1100, 8, 68, 3, 68, 1102, 8, 68, 1, 69, 3, 69, 1105, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 1113, 8, 69, 1, 70, 1, 70, 1, 70, 3, 70, 1118, 8, 70, 1, 71, 1, 71, 1, 72, 1, 72, 1, 73, 1, 73, 1, 74, 1, 74, 3, 74, 1128, 8, 74, 1, 75, 1, 75, 1, 75, 3, 75, 1133, 8, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 3, 78, 1145, 8, 78, 1, 79, 1, 79, 5, 79, 1149, 8, 79, 10, 79, 12, 79, 1152, 9, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 3, 80, 1161, 8, 80, 1, 81, 1, 81, 5, 81, 1165, 8, 81, 10, 81, 12, 81, 1168, 9, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 3, 82, 1177, 8, 82, 1, 82, 0, 3, 68, 106, 126, 83, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 0, 16, 2, 0, 17, 17, 72, 72, 2, 0, 42, 42, 49, 49, 3, 0, 1, 1, 4, 4, 8, 8, 4, 0, 1, 1, 3, 4, 8, 8, 78, 78, 2, 0, 49, 49, 71, 71, 2, 0, 1, 1, 4, 4, 2, 0, 7, 7, 21, 22, 2, 0, 28, 28, 47, 47, 2, 0, 69, 69, 74, 74, 3, 0, 10, 10, 48, 48, 87, 87, 2, 0, 39, 39, 51, 51, 1, 0, 103, 104, 2, 0, 114, 114, 134, 134, 7, 0, 20, 20, 36, 36, 53, 54, 68, 68, 76, 76, 93, 93, 99, 99, 12, 0, 1, 19, 21, 28, 30, 35, 37, 40, 42, 49, 51, 52, 56, 56, 58, 67, 69, 75, 77, 92, 94, 95, 97, 98, 4, 0, 19, 19, 28, 28, 37, 37, 46, 46, 1317, 0, 169, 1, 0, 0, 0, 2, 176, 1, 0, 0, 0, 4, 178, 1, 0, 0, 0, 6, 180, 1, 0, 0, 0, 8, 187, 1, 0, 0, 0, 10, 203, 1, 0, 0, 0, 12, 205, 1, 0, 0, 0, 14, 212, 1, 0, 0, 0, 16, 221, 1, 0, 0, 0, 18, 229, 1, 0, 0, 0, 20, 238, 1, 0, 0, 0, 22, 243, 1, 0, 0, 0, 24, 247, 1, 0, 0, 0, 26, 249, 1, 0, 0, 0, 28, 258, 1, 0, 0, 0, 30, 262, 1, 0, 0, 0, 32, 273, 1, 0, 0, 0, 34, 277, 1, 0, 0, 0, 36, 292, 1, 0, 0, 0, 38, 295, 1, 0, 0, 0, 40, 344, 1, 0, 0, 0, 42, 347, 1, 0, 0, 0, 44, 353, 1, 0, 0, 0, 46, 357, 1, 0, 0, 0, 48, 363, 1, 0, 0, 0, 50, 381, 1, 0, 0, 0, 52, 384, 1, 0, 0, 0, 54, 387, 1, 0, 0, 0, 56, 397, 1, 0, 0, 0, 58, 400, 1, 0, 0, 0, 60, 404, 1, 0, 0, 0, 62, 437, 1, 0, 0, 0, 64, 439, 1, 0, 0, 0, 66, 442, 1, 0, 0, 0, 68, 457, 1, 0, 0, 0, 70, 519, 1, 0, 0, 0, 72, 524, 1, 0, 0, 0, 74, 535, 1, 0, 0, 0, 76, 537, 1, 0, 0, 0, 78, 543, 1, 0, 0, 0, 80, 551, 1, 0, 0, 0, 82, 569, 1, 0, 0, 0, 84, 571, 1, 0, 0, 0, 86, 579, 1, 0, 0, 0, 88, 584, 1, 0, 0, 0, 90, 592, 1, 0, 0, 0, 92, 596, 1, 0, 0, 0, 94, 600, 1, 0, 0, 0, 96, 609, 1, 0, 0, 0, 98, 623, 1, 0, 0, 0, 100, 625, 1, 0, 0, 0, 102, 675, 1, 0, 0, 0, 104, 677, 1, 0, 0, 0, 106, 834, 1, 0, 0, 0, 108, 931, 1, 0, 0, 0, 110, 941, 1, 0, 0, 0, 112, 962, 1, 0, 0, 0, 114, 995, 1, 0, 0, 0, 116, 1008, 1, 0, 0, 0, 118, 1010, 1, 0, 0, 0, 120, 1028, 1, 0, 0, 0, 122, 1037, 1, 0, 0, 0, 124, 1039, 1, 0, 0, 0, 126, 1056, 1, 0, 0, 0, 128, 1069, 1, 0, 0, 0, 130, 1079, 1, 0, 0, 0, 132, 1083, 1, 0, 0, 0, 134, 1091, 1, 0, 0, 0, 136, 1101, 1, 0, 0, 0, 138, 1104, 1, 0, 0, 0, 140, 1117, 1, 0, 0, 0, 142, 1119, 1, 0, 0, 0, 144, 1121, 1, 0, 0, 0, 146, 1123, 1, 0, 0, 0, 148, 1127, 1, 0, 0, 0, 150, 1132, 1, 0, 0, 0, 152, 1134, 1, 0, 0, 0, 154, 1138, 1, 0, 0, 0, 156, 1144, 1, 0, 0, 0, 158, 1146, 1, 0, 0, 0, 160, 1160, 1, 0, 0, 0, 162, 1162, 1, 0, 0, 0, 164, 1176, 1, 0, 0, 0, 166, 168, 3, 2, 1, 0, 167, 166, 1, 0, 0, 0, 168, 171, 1, 0, 0, 0, 169, 167, 1, 0, 0, 0, 169, 170, 1, 0, 0, 0, 170, 172, 1, 0, 0, 0, 171, 169, 1, 0, 0, 0, 172, 173, 5, 0, 0, 1, 173, 1, 1, 0, 0, 0, 174, 177, 3, 6, 3, 0, 175, 177, 3, 10, 5, 0, 176, 174, 1, 0, 0, 0, 176, 175, 1, 0, 0, 0, 177, 3, 1, 0, 0, 0, 178, 179, 3, 106, 53, 0, 179, 5, 1, 0, 0, 0, 180, 181, 5, 50, 0, 0, 181, 185, 3, 150, 75, 0, 182, 183, 5, 111, 0, 0, 183, 184, 5, 118, 0, 0, 184, 186, 3, 4, 2, 0, 185, 182, 1, 0, 0, 0, 185, 186, 1, 0, 0, 0, 186, 7, 1, 0, 0, 0, 187, 192, 3, 150, 75, 0, 188, 189, 5, 112, 0, 0, 189, 191, 3, 150, 75, 0, 190, 188, 1, 0, 0, 0, 191, 194, 1, 0, 0, 0, 192, 190, 1, 0, 0, 0, 192, 193, 1, 0, 0, 0, 193, 9, 1, 0, 0, 0, 194, 192, 1, 0, 0, 0, 195, 204, 3, 12, 6, 0, 196, 204, 3, 14, 7, 0, 197, 204, 3, 16, 8, 0, 198, 204, 3, 18, 9, 0, 199, 204, 3, 20, 10, 0, 200, 204, 3, 22, 11, 0, 201, 204, 3, 24, 12, 0, 202, 204, 3, 26, 13, 0, 203, 195, 1, 0, 0, 0, 203, 196, 1, 0, 0, 0, 203, 197, 1, 0, 0, 0, 203, 198, 1, 0, 0, 0, 203, 199, 1, 0, 0, 0, 203, 200, 1, 0, 0, 0, 203, 201, 1, 0, 0, 0, 203, 202, 1, 0, 0, 0, 204, 11, 1, 0, 0, 0, 205, 207, 5, 70, 0, 0, 206, 208, 3, 4, 2, 0, 207, 206, 1, 0, 0, 0, 207, 208, 1, 0, 0, 0, 208, 210, 1, 0, 0, 0, 209, 211, 5, 145, 0, 0, 210, 209, 1, 0, 0, 0, 210, 211, 1, 0, 0, 0, 211, 13, 1, 0, 0, 0, 212, 213, 5, 38, 0, 0, 213, 214, 5, 126, 0, 0, 214, 215, 3, 4, 2, 0, 215, 216, 5, 144, 0, 0, 216, 219, 3, 10, 5, 0, 217, 218, 5, 24, 0, 0, 218, 220, 3, 10, 5, 0, 219, 217, 1, 0, 0, 0, 219, 220, 1, 0, 0, 0, 220, 15, 1, 0, 0, 0, 221, 222, 5, 96, 0, 0, 222, 223, 5, 126, 0, 0, 223, 224, 3, 4, 2, 0, 224, 225, 5, 144, 0, 0, 225, 227, 3, 10, 5, 0, 226, 228, 5, 145, 0, 0, 227, 226, 1, 0, 0, 0, 227, 228, 1, 0, 0, 0, 228, 17, 1, 0, 0, 0, 229, 230, 5, 29, 0, 0, 230, 231, 3, 150, 75, 0, 231, 233, 5, 126, 0, 0, 232, 234, 3, 8, 4, 0, 233, 232, 1, 0, 0, 0, 233, 234, 1, 0, 0, 0, 234, 235, 1, 0, 0, 0, 235, 236, 5, 144, 0, 0, 236, 237, 3, 26, 13, 0, 237, 19, 1, 0, 0, 0, 238, 239, 3, 4, 2, 0, 239, 240, 5, 111, 0, 0, 240, 241, 5, 118, 0, 0, 241, 242, 3, 4, 2, 0, 242, 21, 1, 0, 0, 0, 243, 245, 3, 4, 2, 0, 244, 246, 5, 145, 0, 0, 245, 244, 1, 0, 0, 0, 245, 246, 1, 0, 0, 0, 246, 23, 1, 0, 0, 0, 247, 248, 5, 145, 0, 0, 248, 25, 1, 0, 0, 0, 249, 253, 5, 124, 0, 0, 250, 252, 3, 2, 1, 0, 251, 250, 1, 0, 0, 0, 252, 255, 1, 0, 0, 0, 253, 251, 1, 0, 0, 0, 253, 254, 1, 0, 0, 0, 254, 256, 1, 0, 0, 0, 255, 253, 1, 0, 0, 0, 256, 257, 5, 142, 0, 0, 257, 27, 1, 0, 0, 0, 258, 259, 3, 4, 2, 0, 259, 260, 5, 111, 0, 0, 260, 261, 3, 4, 2, 0, 261, 29, 1, 0, 0, 0, 262, 267, 3, 28, 14, 0, 263, 264, 5, 112, 0, 0, 264, 266, 3, 28, 14, 0, 265, 263, 1, 0, 0, 0, 266, 269, 1, 0, 0, 0, 267, 265, 1, 0, 0, 0, 267, 268, 1, 0, 0, 0, 268, 31, 1, 0, 0, 0, 269, 267, 1, 0, 0, 0, 270, 274, 3, 34, 17, 0, 271, 274, 3, 38, 19, 0, 272, 274, 3, 114, 57, 0, 273, 270, 1, 0, 0, 0, 273, 271, 1, 0, 0, 0, 273, 272, 1, 0, 0, 0, 274, 275, 1, 0, 0, 0, 275, 276, 5, 0, 0, 1, 276, 33, 1, 0, 0, 0, 277, 283, 3, 36, 18, 0, 278, 279, 5, 91, 0, 0, 279, 280, 5, 1, 0, 0, 280, 282, 3, 36, 18, 0, 281, 278, 1, 0, 0, 0, 282, 285, 1, 0, 0, 0, 283, 281, 1, 0, 0, 0, 283, 284, 1, 0, 0, 0, 284, 35, 1, 0, 0, 0, 285, 283, 1, 0, 0, 0, 286, 293, 3, 38, 19, 0, 287, 288, 5, 126, 0, 0, 288, 289, 3, 34, 17, 0, 289, 290, 5, 144, 0, 0, 290, 293, 1, 0, 0, 0, 291, 293, 3, 154, 77, 0, 292, 286, 1, 0, 0, 0, 292, 287, 1, 0, 0, 0, 292, 291, 1, 0, 0, 0, 293, 37, 1, 0, 0, 0, 294, 296, 3, 40, 20, 0, 295, 294, 1, 0, 0, 0, 295, 296, 1, 0, 0, 0, 296, 297, 1, 0, 0, 0, 297, 299, 5, 77, 0, 0, 298, 300, 5, 23, 0, 0, 299, 298, 1, 0, 0, 0, 299, 300, 1, 0, 0, 0, 300, 302, 1, 0, 0, 0, 301, 303, 3, 42, 21, 0, 302, 301, 1, 0, 0, 0, 302, 303, 1, 0, 0, 0, 303, 304, 1, 0, 0, 0, 304, 306, 3, 104, 52, 0, 305, 307, 3, 44, 22, 0, 306, 305, 1, 0, 0, 0, 306, 307, 1, 0, 0, 0, 307, 309, 1, 0, 0, 0, 308, 310, 3, 46, 23, 0, 309, 308, 1, 0, 0, 0, 309, 310, 1, 0, 0, 0, 310, 312, 1, 0, 0, 0, 311, 313, 3, 50, 25, 0, 312, 311, 1, 0, 0, 0, 312, 313, 1, 0, 0, 0, 313, 315, 1, 0, 0, 0, 314, 316, 3, 52, 26, 0, 315, 314, 1, 0, 0, 0, 315, 316, 1, 0, 0, 0, 316, 318, 1, 0, 0, 0, 317, 319, 3, 54, 27, 0, 318, 317, 1, 0, 0, 0, 318, 319, 1, 0, 0, 0, 319, 322, 1, 0, 0, 0, 320, 321, 5, 98, 0, 0, 321, 323, 7, 0, 0, 0, 322, 320, 1, 0, 0, 0, 322, 323, 1, 0, 0, 0, 323, 326, 1, 0, 0, 0, 324, 325, 5, 98, 0, 0, 325, 327, 5, 86, 0, 0, 326, 324, 1, 0, 0, 0, 326, 327, 1, 0, 0, 0, 327, 329, 1, 0, 0, 0, 328, 330, 3, 56, 28, 0, 329, 328, 1, 0, 0, 0, 329, 330, 1, 0, 0, 0, 330, 332, 1, 0, 0, 0, 331, 333, 3, 48, 24, 0, 332, 331, 1, 0, 0, 0, 332, 333, 1, 0, 0, 0, 333, 335, 1, 0, 0, 0, 334, 336, 3, 58, 29, 0, 335, 334, 1, 0, 0, 0, 335, 336, 1, 0, 0, 0, 336, 339, 1, 0, 0, 0, 337, 340, 3, 62, 31, 0, 338, 340, 3, 64, 32, 0, 339, 337, 1, 0, 0, 0, 339, 338, 1, 0, 0, 0, 339, 340, 1, 0, 0, 0, 340, 342, 1, 0, 0, 0, 341, 343, 3, 66, 33, 0, 342, 341, 1, 0, 0, 0, 342, 343, 1, 0, 0, 0, 343, 39, 1, 0, 0, 0, 344, 345, 5, 98, 0, 0, 345, 346, 3, 118, 59, 0, 346, 41, 1, 0, 0, 0, 347, 348, 5, 85, 0, 0, 348, 351, 5, 104, 0, 0, 349, 350, 5, 98, 0, 0, 350, 352, 5, 82, 0, 0, 351, 349, 1, 0, 0, 0, 351, 352, 1, 0, 0, 0, 352, 43, 1, 0, 0, 0, 353, 354, 5, 32, 0, 0, 354, 355, 3, 68, 34, 0, 355, 45, 1, 0, 0, 0, 356, 358, 7, 1, 0, 0, 357, 356, 1, 0, 0, 0, 357, 358, 1, 0, 0, 0, 358, 359, 1, 0, 0, 0, 359, 360, 5, 5, 0, 0, 360, 361, 5, 45, 0, 0, 361, 362, 3, 104, 52, 0, 362, 47, 1, 0, 0, 0, 363, 364, 5, 97, 0, 0, 364, 365, 3, 150, 75, 0, 365, 366, 5, 6, 0, 0, 366, 367, 5, 126, 0, 0, 367, 368, 3, 88, 44, 0, 368, 378, 5, 144, 0, 0, 369, 370, 5, 112, 0, 0, 370, 371, 3, 150, 75, 0, 371, 372, 5, 6, 0, 0, 372, 373, 5, 126, 0, 0, 373, 374, 3, 88, 44, 0, 374, 375, 5, 144, 0, 0, 375, 377, 1, 0, 0, 0, 376, 369, 1, 0, 0, 0, 377, 380, 1, 0, 0, 0, 378, 376, 1, 0, 0, 0, 378, 379, 1, 0, 0, 0, 379, 49, 1, 0, 0, 0, 380, 378, 1, 0, 0, 0, 381, 382, 5, 67, 0, 0, 382, 383, 3, 106, 53, 0, 383, 51, 1, 0, 0, 0, 384, 385, 5, 95, 0, 0, 385, 386, 3, 106, 53, 0, 386, 53, 1, 0, 0, 0, 387, 388, 5, 34, 0, 0, 388, 395, 5, 11, 0, 0, 389, 390, 7, 0, 0, 0, 390, 391, 5, 126, 0, 0, 391, 392, 3, 104, 52, 0, 392, 393, 5, 144, 0, 0, 393, 396, 1, 0, 0, 0, 394, 396, 3, 104, 52, 0, 395, 389, 1, 0, 0, 0, 395, 394, 1, 0, 0, 0, 396, 55, 1, 0, 0, 0, 397, 398, 5, 35, 0, 0, 398, 399, 3, 106, 53, 0, 399, 57, 1, 0, 0, 0, 400, 401, 5, 62, 0, 0, 401, 402, 5, 11, 0, 0, 402, 403, 3, 78, 39, 0, 403, 59, 1, 0, 0, 0, 404, 405, 5, 62, 0, 0, 405, 406, 5, 11, 0, 0, 406, 407, 3, 104, 52, 0, 407, 61, 1, 0, 0, 0, 408, 409, 5, 52, 0, 0, 409, 412, 3, 106, 53, 0, 410, 411, 5, 112, 0, 0, 411, 413, 3, 106, 53, 0, 412, 410, 1, 0, 0, 0, 412, 413, 1, 0, 0, 0, 413, 418, 1, 0, 0, 0, 414, 415, 5, 98, 0, 0, 415, 419, 5, 82, 0, 0, 416, 417, 5, 11, 0, 0, 417, 419, 3, 104, 52, 0, 418, 414, 1, 0, 0, 0, 418, 416, 1, 0, 0, 0, 418, 419, 1, 0, 0, 0, 419, 438, 1, 0, 0, 0, 420, 421, 5, 52, 0, 0, 421, 424, 3, 106, 53, 0, 422, 423, 5, 98, 0, 0, 423, 425, 5, 82, 0, 0, 424, 422, 1, 0, 0, 0, 424, 425, 1, 0, 0, 0, 425, 426, 1, 0, 0, 0, 426, 427, 5, 59, 0, 0, 427, 428, 3, 106, 53, 0, 428, 438, 1, 0, 0, 0, 429, 430, 5, 52, 0, 0, 430, 431, 3, 106, 53, 0, 431, 432, 5, 59, 0, 0, 432, 435, 3, 106, 53, 0, 433, 434, 5, 11, 0, 0, 434, 436, 3, 104, 52, 0, 435, 433, 1, 0, 0, 0, 435, 436, 1, 0, 0, 0, 436, 438, 1, 0, 0, 0, 437, 408, 1, 0, 0, 0, 437, 420, 1, 0, 0, 0, 437, 429, 1, 0, 0, 0, 438, 63, 1, 0, 0, 0, 439, 440, 5, 59, 0, 0, 440, 441, 3, 106, 53, 0, 441, 65, 1, 0, 0, 0, 442, 443, 5, 79, 0, 0, 443, 444, 3, 84, 42, 0, 444, 67, 1, 0, 0, 0, 445, 446, 6, 34, -1, 0, 446, 448, 3, 126, 63, 0, 447, 449, 5, 27, 0, 0, 448, 447, 1, 0, 0, 0, 448, 449, 1, 0, 0, 0, 449, 451, 1, 0, 0, 0, 450, 452, 3, 76, 38, 0, 451, 450, 1, 0, 0, 0, 451, 452, 1, 0, 0, 0, 452, 458, 1, 0, 0, 0, 453, 454, 5, 126, 0, 0, 454, 455, 3, 68, 34, 0, 455, 456, 5, 144, 0, 0, 456, 458, 1, 0, 0, 0, 457, 445, 1, 0, 0, 0, 457, 453, 1, 0, 0, 0, 458, 473, 1, 0, 0, 0, 459, 460, 10, 3, 0, 0, 460, 461, 3, 72, 36, 0, 461, 462, 3, 68, 34, 4, 462, 472, 1, 0, 0, 0, 463, 465, 10, 4, 0, 0, 464, 466, 3, 70, 35, 0, 465, 464, 1, 0, 0, 0, 465, 466, 1, 0, 0, 0, 466, 467, 1, 0, 0, 0, 467, 468, 5, 45, 0, 0, 468, 469, 3, 68, 34, 0, 469, 470, 3, 74, 37, 0, 470, 472, 1, 0, 0, 0, 471, 459, 1, 0, 0, 0, 471, 463, 1, 0, 0, 0, 472, 475, 1, 0, 0, 0, 473, 471, 1, 0, 0, 0, 473, 474, 1, 0, 0, 0, 474, 69, 1, 0, 0, 0, 475, 473, 1, 0, 0, 0, 476, 478, 7, 2, 0, 0, 477, 476, 1, 0, 0, 0, 477, 478, 1, 0, 0, 0, 478, 479, 1, 0, 0, 0, 479, 486, 5, 42, 0, 0, 480, 482, 5, 42, 0, 0, 481, 483, 7, 2, 0, 0, 482, 481, 1, 0, 0, 0, 482, 483, 1, 0, 0, 0, 483, 486, 1, 0, 0, 0, 484, 486, 7, 2, 0, 0, 485, 477, 1, 0, 0, 0, 485, 480, 1, 0, 0, 0, 485, 484, 1, 0, 0, 0, 486, 520, 1, 0, 0, 0, 487, 489, 7, 3, 0, 0, 488, 487, 1, 0, 0, 0, 488, 489, 1, 0, 0, 0, 489, 490, 1, 0, 0, 0, 490, 492, 7, 4, 0, 0, 491, 493, 5, 63, 0, 0, 492, 491, 1, 0, 0, 0, 492, 493, 1, 0, 0, 0, 493, 502, 1, 0, 0, 0, 494, 496, 7, 4, 0, 0, 495, 497, 5, 63, 0, 0, 496, 495, 1, 0, 0, 0, 496, 497, 1, 0, 0, 0, 497, 499, 1, 0, 0, 0, 498, 500, 7, 3, 0, 0, 499, 498, 1, 0, 0, 0, 499, 500, 1, 0, 0, 0, 500, 502, 1, 0, 0, 0, 501, 488, 1, 0, 0, 0, 501, 494, 1, 0, 0, 0, 502, 520, 1, 0, 0, 0, 503, 505, 7, 5, 0, 0, 504, 503, 1, 0, 0, 0, 504, 505, 1, 0, 0, 0, 505, 506, 1, 0, 0, 0, 506, 508, 5, 33, 0, 0, 507, 509, 5, 63, 0, 0, 508, 507, 1, 0, 0, 0, 508, 509, 1, 0, 0, 0, 509, 518, 1, 0, 0, 0, 510, 512, 5, 33, 0, 0, 511, 513, 5, 63, 0, 0, 512, 511, 1, 0, 0, 0, 512, 513, 1, 0, 0, 0, 513, 515, 1, 0, 0, 0, 514, 516, 7, 5, 0, 0, 515, 514, 1, 0, 0, 0, 515, 516, 1, 0, 0, 0, 516, 518, 1, 0, 0, 0, 517, 504, 1, 0, 0, 0, 517, 510, 1, 0, 0, 0, 518, 520, 1, 0, 0, 0, 519, 485, 1, 0, 0, 0, 519, 501, 1, 0, 0, 0, 519, 517, 1, 0, 0, 0, 520, 71, 1, 0, 0, 0, 521, 522, 5, 16, 0, 0, 522, 525, 5, 45, 0, 0, 523, 525, 5, 112, 0, 0, 524, 521, 1, 0, 0, 0, 524, 523, 1, 0, 0, 0, 525, 73, 1, 0, 0, 0, 526, 527, 5, 60, 0, 0, 527, 536, 3, 104, 52, 0, 528, 529, 5, 92, 0, 0, 529, 530, 5, 126, 0, 0, 530, 531, 3, 104, 52, 0, 531, 532, 5, 144, 0, 0, 532, 536, 1, 0, 0, 0, 533, 534, 5, 92, 0, 0, 534, 536, 3, 104, 52, 0, 535, 526, 1, 0, 0, 0, 535, 528, 1, 0, 0, 0, 535, 533, 1, 0, 0, 0, 536, 75, 1, 0, 0, 0, 537, 538, 5, 75, 0, 0, 538, 541, 3, 82, 41, 0, 539, 540, 5, 59, 0, 0, 540, 542, 3, 82, 41, 0, 541, 539, 1, 0, 0, 0, 541, 542, 1, 0, 0, 0, 542, 77, 1, 0, 0, 0, 543, 548, 3, 80, 40, 0, 544, 545, 5, 112, 0, 0, 545, 547, 3, 80, 40, 0, 546, 544, 1, 0, 0, 0, 547, 550, 1, 0, 0, 0, 548, 546, 1, 0, 0, 0, 548, 549, 1, 0, 0, 0, 549, 79, 1, 0, 0, 0, 550, 548, 1, 0, 0, 0, 551, 553, 3, 106, 53, 0, 552, 554, 7, 6, 0, 0, 553, 552, 1, 0, 0, 0, 553, 554, 1, 0, 0, 0, 554, 557, 1, 0, 0, 0, 555, 556, 5, 58, 0, 0, 556, 558, 7, 7, 0, 0, 557, 555, 1, 0, 0, 0, 557, 558, 1, 0, 0, 0, 558, 561, 1, 0, 0, 0, 559, 560, 5, 15, 0, 0, 560, 562, 5, 106, 0, 0, 561, 559, 1, 0, 0, 0, 561, 562, 1, 0, 0, 0, 562, 81, 1, 0, 0, 0, 563, 570, 3, 154, 77, 0, 564, 567, 3, 138, 69, 0, 565, 566, 5, 146, 0, 0, 566, 568, 3, 138, 69, 0, 567, 565, 1, 0, 0, 0, 567, 568, 1, 0, 0, 0, 568, 570, 1, 0, 0, 0, 569, 563, 1, 0, 0, 0, 569, 564, 1, 0, 0, 0, 570, 83, 1, 0, 0, 0, 571, 576, 3, 86, 43, 0, 572, 573, 5, 112, 0, 0, 573, 575, 3, 86, 43, 0, 574, 572, 1, 0, 0, 0, 575, 578, 1, 0, 0, 0, 576, 574, 1, 0, 0, 0, 576, 577, 1, 0, 0, 0, 577, 85, 1, 0, 0, 0, 578, 576, 1, 0, 0, 0, 579, 580, 3, 150, 75, 0, 580, 581, 5, 118, 0, 0, 581, 582, 3, 140, 70, 0, 582, 87, 1, 0, 0, 0, 583, 585, 3, 90, 45, 0, 584, 583, 1, 0, 0, 0, 584, 585, 1, 0, 0, 0, 585, 587, 1, 0, 0, 0, 586, 588, 3, 92, 46, 0, 587, 586, 1, 0, 0, 0, 587, 588, 1, 0, 0, 0, 588, 590, 1, 0, 0, 0, 589, 591, 3, 94, 47, 0, 590, 589, 1, 0, 0, 0, 590, 591, 1, 0, 0, 0, 591, 89, 1, 0, 0, 0, 592, 593, 5, 65, 0, 0, 593, 594, 5, 11, 0, 0, 594, 595, 3, 104, 52, 0, 595, 91, 1, 0, 0, 0, 596, 597, 5, 62, 0, 0, 597, 598, 5, 11, 0, 0, 598, 599, 3, 78, 39, 0, 599, 93, 1, 0, 0, 0, 600, 601, 7, 8, 0, 0, 601, 602, 3, 96, 48, 0, 602, 95, 1, 0, 0, 0, 603, 610, 3, 98, 49, 0, 604, 605, 5, 9, 0, 0, 605, 606, 3, 98, 49, 0, 606, 607, 5, 2, 0, 0, 607, 608, 3, 98, 49, 0, 608, 610, 1, 0, 0, 0, 609, 603, 1, 0, 0, 0, 609, 604, 1, 0, 0, 0, 610, 97, 1, 0, 0, 0, 611, 612, 5, 18, 0, 0, 612, 624, 5, 73, 0, 0, 613, 614, 5, 90, 0, 0, 614, 624, 5, 66, 0, 0, 615, 616, 5, 90, 0, 0, 616, 624, 5, 30, 0, 0, 617, 618, 3, 138, 69, 0, 618, 619, 5, 66, 0, 0, 619, 624, 1, 0, 0, 0, 620, 621, 3, 138, 69, 0, 621, 622, 5, 30, 0, 0, 622, 624, 1, 0, 0, 0, 623, 611, 1, 0, 0, 0, 623, 613, 1, 0, 0, 0, 623, 615, 1, 0, 0, 0, 623, 617, 1, 0, 0, 0, 623, 620, 1, 0, 0, 0, 624, 99, 1, 0, 0, 0, 625, 626, 3, 106, 53, 0, 626, 627, 5, 0, 0, 1, 627, 101, 1, 0, 0, 0, 628, 676, 3, 150, 75, 0, 629, 630, 3, 150, 75, 0, 630, 631, 5, 126, 0, 0, 631, 632, 3, 150, 75, 0, 632, 639, 3, 102, 51, 0, 633, 634, 5, 112, 0, 0, 634, 635, 3, 150, 75, 0, 635, 636, 3, 102, 51, 0, 636, 638, 1, 0, 0, 0, 637, 633, 1, 0, 0, 0, 638, 641, 1, 0, 0, 0, 639, 637, 1, 0, 0, 0, 639, 640, 1, 0, 0, 0, 640, 642, 1, 0, 0, 0, 641, 639, 1, 0, 0, 0, 642, 643, 5, 144, 0, 0, 643, 676, 1, 0, 0, 0, 644, 645, 3, 150, 75, 0, 645, 646, 5, 126, 0, 0, 646, 651, 3, 152, 76, 0, 647, 648, 5, 112, 0, 0, 648, 650, 3, 152, 76, 0, 649, 647, 1, 0, 0, 0, 650, 653, 1, 0, 0, 0, 651, 649, 1, 0, 0, 0, 651, 652, 1, 0, 0, 0, 652, 654, 1, 0, 0, 0, 653, 651, 1, 0, 0, 0, 654, 655, 5, 144, 0, 0, 655, 676, 1, 0, 0, 0, 656, 657, 3, 150, 75, 0, 657, 658, 5, 126, 0, 0, 658, 663, 3, 102, 51, 0, 659, 660, 5, 112, 0, 0, 660, 662, 3, 102, 51, 0, 661, 659, 1, 0, 0, 0, 662, 665, 1, 0, 0, 0, 663, 661, 1, 0, 0, 0, 663, 664, 1, 0, 0, 0, 664, 666, 1, 0, 0, 0, 665, 663, 1, 0, 0, 0, 666, 667, 5, 144, 0, 0, 667, 676, 1, 0, 0, 0, 668, 669, 3, 150, 75, 0, 669, 671, 5, 126, 0, 0, 670, 672, 3, 104, 52, 0, 671, 670, 1, 0, 0, 0, 671, 672, 1, 0, 0, 0, 672, 673, 1, 0, 0, 0, 673, 674, 5, 144, 0, 0, 674, 676, 1, 0, 0, 0, 675, 628, 1, 0, 0, 0, 675, 629, 1, 0, 0, 0, 675, 644, 1, 0, 0, 0, 675, 656, 1, 0, 0, 0, 675, 668, 1, 0, 0, 0, 676, 103, 1, 0, 0, 0, 677, 682, 3, 106, 53, 0, 678, 679, 5, 112, 0, 0, 679, 681, 3, 106, 53, 0, 680, 678, 1, 0, 0, 0, 681, 684, 1, 0, 0, 0, 682, 680, 1, 0, 0, 0, 682, 683, 1, 0, 0, 0, 683, 105, 1, 0, 0, 0, 684, 682, 1, 0, 0, 0, 685, 686, 6, 53, -1, 0, 686, 688, 5, 12, 0, 0, 687, 689, 3, 106, 53, 0, 688, 687, 1, 0, 0, 0, 688, 689, 1, 0, 0, 0, 689, 695, 1, 0, 0, 0, 690, 691, 5, 94, 0, 0, 691, 692, 3, 106, 53, 0, 692, 693, 5, 81, 0, 0, 693, 694, 3, 106, 53, 0, 694, 696, 1, 0, 0, 0, 695, 690, 1, 0, 0, 0, 696, 697, 1, 0, 0, 0, 697, 695, 1, 0, 0, 0, 697, 698, 1, 0, 0, 0, 698, 701, 1, 0, 0, 0, 699, 700, 5, 24, 0, 0, 700, 702, 3, 106, 53, 0, 701, 699, 1, 0, 0, 0, 701, 702, 1, 0, 0, 0, 702, 703, 1, 0, 0, 0, 703, 704, 5, 25, 0, 0, 704, 835, 1, 0, 0, 0, 705, 706, 5, 13, 0, 0, 706, 707, 5, 126, 0, 0, 707, 708, 3, 106, 53, 0, 708, 709, 5, 6, 0, 0, 709, 710, 3, 102, 51, 0, 710, 711, 5, 144, 0, 0, 711, 835, 1, 0, 0, 0, 712, 713, 5, 19, 0, 0, 713, 835, 5, 106, 0, 0, 714, 715, 5, 43, 0, 0, 715, 716, 3, 106, 53, 0, 716, 717, 3, 142, 71, 0, 717, 835, 1, 0, 0, 0, 718, 719, 5, 80, 0, 0, 719, 720, 5, 126, 0, 0, 720, 721, 3, 106, 53, 0, 721, 722, 5, 32, 0, 0, 722, 725, 3, 106, 53, 0, 723, 724, 5, 31, 0, 0, 724, 726, 3, 106, 53, 0, 725, 723, 1, 0, 0, 0, 725, 726, 1, 0, 0, 0, 726, 727, 1, 0, 0, 0, 727, 728, 5, 144, 0, 0, 728, 835, 1, 0, 0, 0, 729, 730, 5, 83, 0, 0, 730, 835, 5, 106, 0, 0, 731, 732, 5, 88, 0, 0, 732, 733, 5, 126, 0, 0, 733, 734, 7, 9, 0, 0, 734, 735, 3, 156, 78, 0, 735, 736, 5, 32, 0, 0, 736, 737, 3, 106, 53, 0, 737, 738, 5, 144, 0, 0, 738, 835, 1, 0, 0, 0, 739, 740, 3, 150, 75, 0, 740, 742, 5, 126, 0, 0, 741, 743, 3, 104, 52, 0, 742, 741, 1, 0, 0, 0, 742, 743, 1, 0, 0, 0, 743, 744, 1, 0, 0, 0, 744, 745, 5, 144, 0, 0, 745, 754, 1, 0, 0, 0, 746, 748, 5, 126, 0, 0, 747, 749, 5, 23, 0, 0, 748, 747, 1, 0, 0, 0, 748, 749, 1, 0, 0, 0, 749, 751, 1, 0, 0, 0, 750, 752, 3, 108, 54, 0, 751, 750, 1, 0, 0, 0, 751, 752, 1, 0, 0, 0, 752, 753, 1, 0, 0, 0, 753, 755, 5, 144, 0, 0, 754, 746, 1, 0, 0, 0, 754, 755, 1, 0, 0, 0, 755, 756, 1, 0, 0, 0, 756, 757, 5, 64, 0, 0, 757, 758, 5, 126, 0, 0, 758, 759, 3, 88, 44, 0, 759, 760, 5, 144, 0, 0, 760, 835, 1, 0, 0, 0, 761, 762, 3, 150, 75, 0, 762, 764, 5, 126, 0, 0, 763, 765, 3, 104, 52, 0, 764, 763, 1, 0, 0, 0, 764, 765, 1, 0, 0, 0, 765, 766, 1, 0, 0, 0, 766, 767, 5, 144, 0, 0, 767, 776, 1, 0, 0, 0, 768, 770, 5, 126, 0, 0, 769, 771, 5, 23, 0, 0, 770, 769, 1, 0, 0, 0, 770, 771, 1, 0, 0, 0, 771, 773, 1, 0, 0, 0, 772, 774, 3, 108, 54, 0, 773, 772, 1, 0, 0, 0, 773, 774, 1, 0, 0, 0, 774, 775, 1, 0, 0, 0, 775, 777, 5, 144, 0, 0, 776, 768, 1, 0, 0, 0, 776, 777, 1, 0, 0, 0, 777, 778, 1, 0, 0, 0, 778, 779, 5, 64, 0, 0, 779, 780, 3, 150, 75, 0, 780, 835, 1, 0, 0, 0, 781, 787, 3, 150, 75, 0, 782, 784, 5, 126, 0, 0, 783, 785, 3, 104, 52, 0, 784, 783, 1, 0, 0, 0, 784, 785, 1, 0, 0, 0, 785, 786, 1, 0, 0, 0, 786, 788, 5, 144, 0, 0, 787, 782, 1, 0, 0, 0, 787, 788, 1, 0, 0, 0, 788, 789, 1, 0, 0, 0, 789, 791, 5, 126, 0, 0, 790, 792, 5, 23, 0, 0, 791, 790, 1, 0, 0, 0, 791, 792, 1, 0, 0, 0, 792, 794, 1, 0, 0, 0, 793, 795, 3, 108, 54, 0, 794, 793, 1, 0, 0, 0, 794, 795, 1, 0, 0, 0, 795, 796, 1, 0, 0, 0, 796, 797, 5, 144, 0, 0, 797, 835, 1, 0, 0, 0, 798, 835, 3, 114, 57, 0, 799, 835, 3, 158, 79, 0, 800, 835, 3, 140, 70, 0, 801, 802, 5, 114, 0, 0, 802, 835, 3, 106, 53, 19, 803, 804, 5, 56, 0, 0, 804, 835, 3, 106, 53, 13, 805, 806, 3, 130, 65, 0, 806, 807, 5, 116, 0, 0, 807, 809, 1, 0, 0, 0, 808, 805, 1, 0, 0, 0, 808, 809, 1, 0, 0, 0, 809, 810, 1, 0, 0, 0, 810, 835, 5, 108, 0, 0, 811, 812, 5, 126, 0, 0, 812, 813, 3, 34, 17, 0, 813, 814, 5, 144, 0, 0, 814, 835, 1, 0, 0, 0, 815, 816, 5, 126, 0, 0, 816, 817, 3, 106, 53, 0, 817, 818, 5, 144, 0, 0, 818, 835, 1, 0, 0, 0, 819, 820, 5, 126, 0, 0, 820, 821, 3, 104, 52, 0, 821, 822, 5, 144, 0, 0, 822, 835, 1, 0, 0, 0, 823, 825, 5, 125, 0, 0, 824, 826, 3, 104, 52, 0, 825, 824, 1, 0, 0, 0, 825, 826, 1, 0, 0, 0, 826, 827, 1, 0, 0, 0, 827, 835, 5, 143, 0, 0, 828, 830, 5, 124, 0, 0, 829, 831, 3, 30, 15, 0, 830, 829, 1, 0, 0, 0, 830, 831, 1, 0, 0, 0, 831, 832, 1, 0, 0, 0, 832, 835, 5, 142, 0, 0, 833, 835, 3, 122, 61, 0, 834, 685, 1, 0, 0, 0, 834, 705, 1, 0, 0, 0, 834, 712, 1, 0, 0, 0, 834, 714, 1, 0, 0, 0, 834, 718, 1, 0, 0, 0, 834, 729, 1, 0, 0, 0, 834, 731, 1, 0, 0, 0, 834, 739, 1, 0, 0, 0, 834, 761, 1, 0, 0, 0, 834, 781, 1, 0, 0, 0, 834, 798, 1, 0, 0, 0, 834, 799, 1, 0, 0, 0, 834, 800, 1, 0, 0, 0, 834, 801, 1, 0, 0, 0, 834, 803, 1, 0, 0, 0, 834, 808, 1, 0, 0, 0, 834, 811, 1, 0, 0, 0, 834, 815, 1, 0, 0, 0, 834, 819, 1, 0, 0, 0, 834, 823, 1, 0, 0, 0, 834, 828, 1, 0, 0, 0, 834, 833, 1, 0, 0, 0, 835, 928, 1, 0, 0, 0, 836, 840, 10, 18, 0, 0, 837, 841, 5, 108, 0, 0, 838, 841, 5, 146, 0, 0, 839, 841, 5, 133, 0, 0, 840, 837, 1, 0, 0, 0, 840, 838, 1, 0, 0, 0, 840, 839, 1, 0, 0, 0, 841, 842, 1, 0, 0, 0, 842, 927, 3, 106, 53, 19, 843, 847, 10, 17, 0, 0, 844, 848, 5, 134, 0, 0, 845, 848, 5, 114, 0, 0, 846, 848, 5, 113, 0, 0, 847, 844, 1, 0, 0, 0, 847, 845, 1, 0, 0, 0, 847, 846, 1, 0, 0, 0, 848, 849, 1, 0, 0, 0, 849, 927, 3, 106, 53, 18, 850, 875, 10, 16, 0, 0, 851, 876, 5, 117, 0, 0, 852, 876, 5, 118, 0, 0, 853, 876, 5, 129, 0, 0, 854, 876, 5, 127, 0, 0, 855, 876, 5, 128, 0, 0, 856, 876, 5, 119, 0, 0, 857, 876, 5, 120, 0, 0, 858, 860, 5, 56, 0, 0, 859, 858, 1, 0, 0, 0, 859, 860, 1, 0, 0, 0, 860, 861, 1, 0, 0, 0, 861, 863, 5, 40, 0, 0, 862, 864, 5, 14, 0, 0, 863, 862, 1, 0, 0, 0, 863, 864, 1, 0, 0, 0, 864, 876, 1, 0, 0, 0, 865, 867, 5, 56, 0, 0, 866, 865, 1, 0, 0, 0, 866, 867, 1, 0, 0, 0, 867, 868, 1, 0, 0, 0, 868, 876, 7, 10, 0, 0, 869, 876, 5, 140, 0, 0, 870, 876, 5, 141, 0, 0, 871, 876, 5, 131, 0, 0, 872, 876, 5, 122, 0, 0, 873, 876, 5, 123, 0, 0, 874, 876, 5, 130, 0, 0, 875, 851, 1, 0, 0, 0, 875, 852, 1, 0, 0, 0, 875, 853, 1, 0, 0, 0, 875, 854, 1, 0, 0, 0, 875, 855, 1, 0, 0, 0, 875, 856, 1, 0, 0, 0, 875, 857, 1, 0, 0, 0, 875, 859, 1, 0, 0, 0, 875, 866, 1, 0, 0, 0, 875, 869, 1, 0, 0, 0, 875, 870, 1, 0, 0, 0, 875, 871, 1, 0, 0, 0, 875, 872, 1, 0, 0, 0, 875, 873, 1, 0, 0, 0, 875, 874, 1, 0, 0, 0, 876, 877, 1, 0, 0, 0, 877, 927, 3, 106, 53, 17, 878, 879, 10, 14, 0, 0, 879, 880, 5, 132, 0, 0, 880, 927, 3, 106, 53, 15, 881, 882, 10, 12, 0, 0, 882, 883, 5, 2, 0, 0, 883, 927, 3, 106, 53, 13, 884, 885, 10, 11, 0, 0, 885, 886, 5, 61, 0, 0, 886, 927, 3, 106, 53, 12, 887, 889, 10, 10, 0, 0, 888, 890, 5, 56, 0, 0, 889, 888, 1, 0, 0, 0, 889, 890, 1, 0, 0, 0, 890, 891, 1, 0, 0, 0, 891, 892, 5, 9, 0, 0, 892, 893, 3, 106, 53, 0, 893, 894, 5, 2, 0, 0, 894, 895, 3, 106, 53, 11, 895, 927, 1, 0, 0, 0, 896, 897, 10, 9, 0, 0, 897, 898, 5, 135, 0, 0, 898, 899, 3, 106, 53, 0, 899, 900, 5, 111, 0, 0, 900, 901, 3, 106, 53, 9, 901, 927, 1, 0, 0, 0, 902, 903, 10, 22, 0, 0, 903, 904, 5, 125, 0, 0, 904, 905, 3, 106, 53, 0, 905, 906, 5, 143, 0, 0, 906, 927, 1, 0, 0, 0, 907, 908, 10, 21, 0, 0, 908, 909, 5, 116, 0, 0, 909, 927, 5, 104, 0, 0, 910, 911, 10, 20, 0, 0, 911, 912, 5, 116, 0, 0, 912, 927, 3, 150, 75, 0, 913, 914, 10, 15, 0, 0, 914, 916, 5, 44, 0, 0, 915, 917, 5, 56, 0, 0, 916, 915, 1, 0, 0, 0, 916, 917, 1, 0, 0, 0, 917, 918, 1, 0, 0, 0, 918, 927, 5, 57, 0, 0, 919, 924, 10, 8, 0, 0, 920, 921, 5, 6, 0, 0, 921, 925, 3, 150, 75, 0, 922, 923, 5, 6, 0, 0, 923, 925, 5, 106, 0, 0, 924, 920, 1, 0, 0, 0, 924, 922, 1, 0, 0, 0, 925, 927, 1, 0, 0, 0, 926, 836, 1, 0, 0, 0, 926, 843, 1, 0, 0, 0, 926, 850, 1, 0, 0, 0, 926, 878, 1, 0, 0, 0, 926, 881, 1, 0, 0, 0, 926, 884, 1, 0, 0, 0, 926, 887, 1, 0, 0, 0, 926, 896, 1, 0, 0, 0, 926, 902, 1, 0, 0, 0, 926, 907, 1, 0, 0, 0, 926, 910, 1, 0, 0, 0, 926, 913, 1, 0, 0, 0, 926, 919, 1, 0, 0, 0, 927, 930, 1, 0, 0, 0, 928, 926, 1, 0, 0, 0, 928, 929, 1, 0, 0, 0, 929, 107, 1, 0, 0, 0, 930, 928, 1, 0, 0, 0, 931, 936, 3, 110, 55, 0, 932, 933, 5, 112, 0, 0, 933, 935, 3, 110, 55, 0, 934, 932, 1, 0, 0, 0, 935, 938, 1, 0, 0, 0, 936, 934, 1, 0, 0, 0, 936, 937, 1, 0, 0, 0, 937, 109, 1, 0, 0, 0, 938, 936, 1, 0, 0, 0, 939, 942, 3, 112, 56, 0, 940, 942, 3, 106, 53, 0, 941, 939, 1, 0, 0, 0, 941, 940, 1, 0, 0, 0, 942, 111, 1, 0, 0, 0, 943, 944, 5, 126, 0, 0, 944, 949, 3, 150, 75, 0, 945, 946, 5, 112, 0, 0, 946, 948, 3, 150, 75, 0, 947, 945, 1, 0, 0, 0, 948, 951, 1, 0, 0, 0, 949, 947, 1, 0, 0, 0, 949, 950, 1, 0, 0, 0, 950, 952, 1, 0, 0, 0, 951, 949, 1, 0, 0, 0, 952, 953, 5, 144, 0, 0, 953, 963, 1, 0, 0, 0, 954, 959, 3, 150, 75, 0, 955, 956, 5, 112, 0, 0, 956, 958, 3, 150, 75, 0, 957, 955, 1, 0, 0, 0, 958, 961, 1, 0, 0, 0, 959, 957, 1, 0, 0, 0, 959, 960, 1, 0, 0, 0, 960, 963, 1, 0, 0, 0, 961, 959, 1, 0, 0, 0, 962, 943, 1, 0, 0, 0, 962, 954, 1, 0, 0, 0, 963, 964, 1, 0, 0, 0, 964, 965, 5, 107, 0, 0, 965, 966, 3, 106, 53, 0, 966, 113, 1, 0, 0, 0, 967, 968, 5, 128, 0, 0, 968, 972, 3, 150, 75, 0, 969, 971, 3, 116, 58, 0, 970, 969, 1, 0, 0, 0, 971, 974, 1, 0, 0, 0, 972, 970, 1, 0, 0, 0, 972, 973, 1, 0, 0, 0, 973, 975, 1, 0, 0, 0, 974, 972, 1, 0, 0, 0, 975, 976, 5, 146, 0, 0, 976, 977, 5, 120, 0, 0, 977, 996, 1, 0, 0, 0, 978, 979, 5, 128, 0, 0, 979, 983, 3, 150, 75, 0, 980, 982, 3, 116, 58, 0, 981, 980, 1, 0, 0, 0, 982, 985, 1, 0, 0, 0, 983, 981, 1, 0, 0, 0, 983, 984, 1, 0, 0, 0, 984, 986, 1, 0, 0, 0, 985, 983, 1, 0, 0, 0, 986, 988, 5, 120, 0, 0, 987, 989, 3, 114, 57, 0, 988, 987, 1, 0, 0, 0, 988, 989, 1, 0, 0, 0, 989, 990, 1, 0, 0, 0, 990, 991, 5, 128, 0, 0, 991, 992, 5, 146, 0, 0, 992, 993, 3, 150, 75, 0, 993, 994, 5, 120, 0, 0, 994, 996, 1, 0, 0, 0, 995, 967, 1, 0, 0, 0, 995, 978, 1, 0, 0, 0, 996, 115, 1, 0, 0, 0, 997, 998, 3, 150, 75, 0, 998, 999, 5, 118, 0, 0, 999, 1000, 3, 156, 78, 0, 1000, 1009, 1, 0, 0, 0, 1001, 1002, 3, 150, 75, 0, 1002, 1003, 5, 118, 0, 0, 1003, 1004, 5, 124, 0, 0, 1004, 1005, 3, 106, 53, 0, 1005, 1006, 5, 142, 0, 0, 1006, 1009, 1, 0, 0, 0, 1007, 1009, 3, 150, 75, 0, 1008, 997, 1, 0, 0, 0, 1008, 1001, 1, 0, 0, 0, 1008, 1007, 1, 0, 0, 0, 1009, 117, 1, 0, 0, 0, 1010, 1015, 3, 120, 60, 0, 1011, 1012, 5, 112, 0, 0, 1012, 1014, 3, 120, 60, 0, 1013, 1011, 1, 0, 0, 0, 1014, 1017, 1, 0, 0, 0, 1015, 1013, 1, 0, 0, 0, 1015, 1016, 1, 0, 0, 0, 1016, 119, 1, 0, 0, 0, 1017, 1015, 1, 0, 0, 0, 1018, 1019, 3, 150, 75, 0, 1019, 1020, 5, 6, 0, 0, 1020, 1021, 5, 126, 0, 0, 1021, 1022, 3, 34, 17, 0, 1022, 1023, 5, 144, 0, 0, 1023, 1029, 1, 0, 0, 0, 1024, 1025, 3, 106, 53, 0, 1025, 1026, 5, 6, 0, 0, 1026, 1027, 3, 150, 75, 0, 1027, 1029, 1, 0, 0, 0, 1028, 1018, 1, 0, 0, 0, 1028, 1024, 1, 0, 0, 0, 1029, 121, 1, 0, 0, 0, 1030, 1038, 3, 154, 77, 0, 1031, 1032, 3, 130, 65, 0, 1032, 1033, 5, 116, 0, 0, 1033, 1035, 1, 0, 0, 0, 1034, 1031, 1, 0, 0, 0, 1034, 1035, 1, 0, 0, 0, 1035, 1036, 1, 0, 0, 0, 1036, 1038, 3, 124, 62, 0, 1037, 1030, 1, 0, 0, 0, 1037, 1034, 1, 0, 0, 0, 1038, 123, 1, 0, 0, 0, 1039, 1044, 3, 150, 75, 0, 1040, 1041, 5, 116, 0, 0, 1041, 1043, 3, 150, 75, 0, 1042, 1040, 1, 0, 0, 0, 1043, 1046, 1, 0, 0, 0, 1044, 1042, 1, 0, 0, 0, 1044, 1045, 1, 0, 0, 0, 1045, 125, 1, 0, 0, 0, 1046, 1044, 1, 0, 0, 0, 1047, 1048, 6, 63, -1, 0, 1048, 1057, 3, 130, 65, 0, 1049, 1057, 3, 128, 64, 0, 1050, 1051, 5, 126, 0, 0, 1051, 1052, 3, 34, 17, 0, 1052, 1053, 5, 144, 0, 0, 1053, 1057, 1, 0, 0, 0, 1054, 1057, 3, 114, 57, 0, 1055, 1057, 3, 154, 77, 0, 1056, 1047, 1, 0, 0, 0, 1056, 1049, 1, 0, 0, 0, 1056, 1050, 1, 0, 0, 0, 1056, 1054, 1, 0, 0, 0, 1056, 1055, 1, 0, 0, 0, 1057, 1066, 1, 0, 0, 0, 1058, 1062, 10, 3, 0, 0, 1059, 1063, 3, 148, 74, 0, 1060, 1061, 5, 6, 0, 0, 1061, 1063, 3, 150, 75, 0, 1062, 1059, 1, 0, 0, 0, 1062, 1060, 1, 0, 0, 0, 1063, 1065, 1, 0, 0, 0, 1064, 1058, 1, 0, 0, 0, 1065, 1068, 1, 0, 0, 0, 1066, 1064, 1, 0, 0, 0, 1066, 1067, 1, 0, 0, 0, 1067, 127, 1, 0, 0, 0, 1068, 1066, 1, 0, 0, 0, 1069, 1070, 3, 150, 75, 0, 1070, 1072, 5, 126, 0, 0, 1071, 1073, 3, 132, 66, 0, 1072, 1071, 1, 0, 0, 0, 1072, 1073, 1, 0, 0, 0, 1073, 1074, 1, 0, 0, 0, 1074, 1075, 5, 144, 0, 0, 1075, 129, 1, 0, 0, 0, 1076, 1077, 3, 134, 67, 0, 1077, 1078, 5, 116, 0, 0, 1078, 1080, 1, 0, 0, 0, 1079, 1076, 1, 0, 0, 0, 1079, 1080, 1, 0, 0, 0, 1080, 1081, 1, 0, 0, 0, 1081, 1082, 3, 150, 75, 0, 1082, 131, 1, 0, 0, 0, 1083, 1088, 3, 106, 53, 0, 1084, 1085, 5, 112, 0, 0, 1085, 1087, 3, 106, 53, 0, 1086, 1084, 1, 0, 0, 0, 1087, 1090, 1, 0, 0, 0, 1088, 1086, 1, 0, 0, 0, 1088, 1089, 1, 0, 0, 0, 1089, 133, 1, 0, 0, 0, 1090, 1088, 1, 0, 0, 0, 1091, 1092, 3, 150, 75, 0, 1092, 135, 1, 0, 0, 0, 1093, 1102, 5, 102, 0, 0, 1094, 1095, 5, 116, 0, 0, 1095, 1102, 7, 11, 0, 0, 1096, 1097, 5, 104, 0, 0, 1097, 1099, 5, 116, 0, 0, 1098, 1100, 7, 11, 0, 0, 1099, 1098, 1, 0, 0, 0, 1099, 1100, 1, 0, 0, 0, 1100, 1102, 1, 0, 0, 0, 1101, 1093, 1, 0, 0, 0, 1101, 1094, 1, 0, 0, 0, 1101, 1096, 1, 0, 0, 0, 1102, 137, 1, 0, 0, 0, 1103, 1105, 7, 12, 0, 0, 1104, 1103, 1, 0, 0, 0, 1104, 1105, 1, 0, 0, 0, 1105, 1112, 1, 0, 0, 0, 1106, 1113, 3, 136, 68, 0, 1107, 1113, 5, 103, 0, 0, 1108, 1113, 5, 104, 0, 0, 1109, 1113, 5, 105, 0, 0, 1110, 1113, 5, 41, 0, 0, 1111, 1113, 5, 55, 0, 0, 1112, 1106, 1, 0, 0, 0, 1112, 1107, 1, 0, 0, 0, 1112, 1108, 1, 0, 0, 0, 1112, 1109, 1, 0, 0, 0, 1112, 1110, 1, 0, 0, 0, 1112, 1111, 1, 0, 0, 0, 1113, 139, 1, 0, 0, 0, 1114, 1118, 3, 138, 69, 0, 1115, 1118, 5, 106, 0, 0, 1116, 1118, 5, 57, 0, 0, 1117, 1114, 1, 0, 0, 0, 1117, 1115, 1, 0, 0, 0, 1117, 1116, 1, 0, 0, 0, 1118, 141, 1, 0, 0, 0, 1119, 1120, 7, 13, 0, 0, 1120, 143, 1, 0, 0, 0, 1121, 1122, 7, 14, 0, 0, 1122, 145, 1, 0, 0, 0, 1123, 1124, 7, 15, 0, 0, 1124, 147, 1, 0, 0, 0, 1125, 1128, 5, 101, 0, 0, 1126, 1128, 3, 146, 73, 0, 1127, 1125, 1, 0, 0, 0, 1127, 1126, 1, 0, 0, 0, 1128, 149, 1, 0, 0, 0, 1129, 1133, 5, 101, 0, 0, 1130, 1133, 3, 142, 71, 0, 1131, 1133, 3, 144, 72, 0, 1132, 1129, 1, 0, 0, 0, 1132, 1130, 1, 0, 0, 0, 1132, 1131, 1, 0, 0, 0, 1133, 151, 1, 0, 0, 0, 1134, 1135, 3, 156, 78, 0, 1135, 1136, 5, 118, 0, 0, 1136, 1137, 3, 138, 69, 0, 1137, 153, 1, 0, 0, 0, 1138, 1139, 5, 124, 0, 0, 1139, 1140, 3, 150, 75, 0, 1140, 1141, 5, 142, 0, 0, 1141, 155, 1, 0, 0, 0, 1142, 1145, 5, 106, 0, 0, 1143, 1145, 3, 158, 79, 0, 1144, 1142, 1, 0, 0, 0, 1144, 1143, 1, 0, 0, 0, 1145, 157, 1, 0, 0, 0, 1146, 1150, 5, 137, 0, 0, 1147, 1149, 3, 160, 80, 0, 1148, 1147, 1, 0, 0, 0, 1149, 1152, 1, 0, 0, 0, 1150, 1148, 1, 0, 0, 0, 1150, 1151, 1, 0, 0, 0, 1151, 1153, 1, 0, 0, 0, 1152, 1150, 1, 0, 0, 0, 1153, 1154, 5, 139, 0, 0, 1154, 159, 1, 0, 0, 0, 1155, 1156, 5, 152, 0, 0, 1156, 1157, 3, 106, 53, 0, 1157, 1158, 5, 142, 0, 0, 1158, 1161, 1, 0, 0, 0, 1159, 1161, 5, 151, 0, 0, 1160, 1155, 1, 0, 0, 0, 1160, 1159, 1, 0, 0, 0, 1161, 161, 1, 0, 0, 0, 1162, 1166, 5, 138, 0, 0, 1163, 1165, 3, 164, 82, 0, 1164, 1163, 1, 0, 0, 0, 1165, 1168, 1, 0, 0, 0, 1166, 1164, 1, 0, 0, 0, 1166, 1167, 1, 0, 0, 0, 1167, 1169, 1, 0, 0, 0, 1168, 1166, 1, 0, 0, 0, 1169, 1170, 5, 0, 0, 1, 1170, 163, 1, 0, 0, 0, 1171, 1172, 5, 154, 0, 0, 1172, 1173, 3, 106, 53, 0, 1173, 1174, 5, 142, 0, 0, 1174, 1177, 1, 0, 0, 0, 1175, 1177, 5, 153, 0, 0, 1176, 1171, 1, 0, 0, 0, 1176, 1175, 1, 0, 0, 0, 1177, 165, 1, 0, 0, 0, 145, 169, 176, 185, 192, 203, 207, 210, 219, 227, 233, 245, 253, 267, 273, 283, 292, 295, 299, 302, 306, 309, 312, 315, 318, 322, 326, 329, 332, 335, 339, 342, 351, 357, 378, 395, 412, 418, 424, 435, 437, 448, 451, 457, 465, 471, 473, 477, 482, 485, 488, 492, 496, 499, 501, 504, 508, 512, 515, 517, 519, 524, 535, 541, 548, 553, 557, 561, 567, 569, 576, 584, 587, 590, 609, 623, 639, 651, 663, 671, 675, 682, 688, 697, 701, 725, 742, 748, 751, 754, 764, 770, 773, 776, 784, 787, 791, 794, 808, 825, 830, 834, 840, 847, 859, 863, 866, 875, 889, 916, 924, 926, 928, 936, 941, 949, 959, 962, 972, 983, 988, 995, 1008, 1015, 1028, 1034, 1037, 1044, 1056, 1062, 1066, 1072, 1079, 1088, 1099, 1101, 1104, 1112, 1117, 1127, 1132, 1144, 1150, 1160, 1166, 1176] \ No newline at end of file diff --git a/posthog/hogql/grammar/HogQLParser.py b/posthog/hogql/grammar/HogQLParser.py index 9c0c50c0835da..cf2b82f619d91 100644 --- a/posthog/hogql/grammar/HogQLParser.py +++ b/posthog/hogql/grammar/HogQLParser.py @@ -10,7 +10,7 @@ def serializedATN(): return [ - 4,1,154,1178,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6, + 4,1,154,1179,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6, 7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7, 13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2, 20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7, @@ -24,458 +24,459 @@ def serializedATN(): 72,7,72,2,73,7,73,2,74,7,74,2,75,7,75,2,76,7,76,2,77,7,77,2,78,7, 78,2,79,7,79,2,80,7,80,2,81,7,81,2,82,7,82,1,0,5,0,168,8,0,10,0, 12,0,171,9,0,1,0,1,0,1,1,1,1,3,1,177,8,1,1,2,1,2,1,3,1,3,1,3,1,3, - 1,3,3,3,186,8,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,5,5, - 199,8,5,10,5,12,5,202,9,5,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,3, - 6,213,8,6,1,7,1,7,1,7,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,225,8,8,1, - 9,1,9,1,9,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,11,1,11,1,11,1,11,3, - 11,241,8,11,1,11,1,11,1,11,1,12,1,12,1,13,1,13,5,13,250,8,13,10, - 13,12,13,253,9,13,1,13,1,13,1,14,1,14,1,14,1,14,1,15,1,15,1,15,5, - 15,264,8,15,10,15,12,15,267,9,15,1,16,1,16,1,16,3,16,272,8,16,1, - 16,1,16,1,17,1,17,1,17,1,17,5,17,280,8,17,10,17,12,17,283,9,17,1, - 18,1,18,1,18,1,18,1,18,1,18,3,18,291,8,18,1,19,3,19,294,8,19,1,19, - 1,19,3,19,298,8,19,1,19,3,19,301,8,19,1,19,1,19,3,19,305,8,19,1, - 19,3,19,308,8,19,1,19,3,19,311,8,19,1,19,3,19,314,8,19,1,19,3,19, - 317,8,19,1,19,1,19,3,19,321,8,19,1,19,1,19,3,19,325,8,19,1,19,3, - 19,328,8,19,1,19,3,19,331,8,19,1,19,3,19,334,8,19,1,19,1,19,3,19, - 338,8,19,1,19,3,19,341,8,19,1,20,1,20,1,20,1,21,1,21,1,21,1,21,3, - 21,350,8,21,1,22,1,22,1,22,1,23,3,23,356,8,23,1,23,1,23,1,23,1,23, - 1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24, - 5,24,375,8,24,10,24,12,24,378,9,24,1,25,1,25,1,25,1,26,1,26,1,26, - 1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,3,27,394,8,27,1,28,1,28, - 1,28,1,29,1,29,1,29,1,29,1,30,1,30,1,30,1,30,1,31,1,31,1,31,1,31, - 3,31,411,8,31,1,31,1,31,1,31,1,31,3,31,417,8,31,1,31,1,31,1,31,1, - 31,3,31,423,8,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,3, - 31,434,8,31,3,31,436,8,31,1,32,1,32,1,32,1,33,1,33,1,33,1,34,1,34, - 1,34,3,34,447,8,34,1,34,3,34,450,8,34,1,34,1,34,1,34,1,34,3,34,456, - 8,34,1,34,1,34,1,34,1,34,1,34,1,34,3,34,464,8,34,1,34,1,34,1,34, - 1,34,5,34,470,8,34,10,34,12,34,473,9,34,1,35,3,35,476,8,35,1,35, - 1,35,1,35,3,35,481,8,35,1,35,3,35,484,8,35,1,35,3,35,487,8,35,1, - 35,1,35,3,35,491,8,35,1,35,1,35,3,35,495,8,35,1,35,3,35,498,8,35, - 3,35,500,8,35,1,35,3,35,503,8,35,1,35,1,35,3,35,507,8,35,1,35,1, - 35,3,35,511,8,35,1,35,3,35,514,8,35,3,35,516,8,35,3,35,518,8,35, - 1,36,1,36,1,36,3,36,523,8,36,1,37,1,37,1,37,1,37,1,37,1,37,1,37, - 1,37,1,37,3,37,534,8,37,1,38,1,38,1,38,1,38,3,38,540,8,38,1,39,1, - 39,1,39,5,39,545,8,39,10,39,12,39,548,9,39,1,40,1,40,3,40,552,8, - 40,1,40,1,40,3,40,556,8,40,1,40,1,40,3,40,560,8,40,1,41,1,41,1,41, - 1,41,3,41,566,8,41,3,41,568,8,41,1,42,1,42,1,42,5,42,573,8,42,10, - 42,12,42,576,9,42,1,43,1,43,1,43,1,43,1,44,3,44,583,8,44,1,44,3, - 44,586,8,44,1,44,3,44,589,8,44,1,45,1,45,1,45,1,45,1,46,1,46,1,46, - 1,46,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,3,48,608,8,48, - 1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,3,49, - 622,8,49,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51, - 1,51,5,51,636,8,51,10,51,12,51,639,9,51,1,51,1,51,1,51,1,51,1,51, - 1,51,1,51,5,51,648,8,51,10,51,12,51,651,9,51,1,51,1,51,1,51,1,51, - 1,51,1,51,1,51,5,51,660,8,51,10,51,12,51,663,9,51,1,51,1,51,1,51, - 1,51,1,51,3,51,670,8,51,1,51,1,51,3,51,674,8,51,1,52,1,52,1,52,5, - 52,679,8,52,10,52,12,52,682,9,52,1,53,1,53,1,53,3,53,687,8,53,1, - 53,1,53,1,53,1,53,1,53,4,53,694,8,53,11,53,12,53,695,1,53,1,53,3, - 53,700,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1, - 53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,724, - 8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53, - 1,53,1,53,1,53,3,53,741,8,53,1,53,1,53,1,53,1,53,3,53,747,8,53,1, - 53,3,53,750,8,53,1,53,3,53,753,8,53,1,53,1,53,1,53,1,53,1,53,1,53, - 1,53,1,53,3,53,763,8,53,1,53,1,53,1,53,1,53,3,53,769,8,53,1,53,3, - 53,772,8,53,1,53,3,53,775,8,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53, - 783,8,53,1,53,3,53,786,8,53,1,53,1,53,3,53,790,8,53,1,53,3,53,793, - 8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53, - 3,53,807,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53, - 1,53,1,53,1,53,1,53,1,53,3,53,824,8,53,1,53,1,53,1,53,3,53,829,8, - 53,1,53,1,53,3,53,833,8,53,1,53,1,53,1,53,1,53,3,53,839,8,53,1,53, - 1,53,1,53,1,53,1,53,3,53,846,8,53,1,53,1,53,1,53,1,53,1,53,1,53, - 1,53,1,53,1,53,1,53,3,53,858,8,53,1,53,1,53,3,53,862,8,53,1,53,3, - 53,865,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,874,8,53,1,53, - 1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,888, - 8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53, + 1,3,3,3,186,8,3,1,4,1,4,1,4,5,4,191,8,4,10,4,12,4,194,9,4,1,5,1, + 5,1,5,1,5,1,5,1,5,1,5,1,5,3,5,204,8,5,1,6,1,6,3,6,208,8,6,1,6,3, + 6,211,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,220,8,7,1,8,1,8,1,8,1, + 8,1,8,1,8,3,8,228,8,8,1,9,1,9,1,9,1,9,3,9,234,8,9,1,9,1,9,1,9,1, + 10,1,10,1,10,1,10,1,10,1,11,1,11,3,11,246,8,11,1,12,1,12,1,13,1, + 13,5,13,252,8,13,10,13,12,13,255,9,13,1,13,1,13,1,14,1,14,1,14,1, + 14,1,15,1,15,1,15,5,15,266,8,15,10,15,12,15,269,9,15,1,16,1,16,1, + 16,3,16,274,8,16,1,16,1,16,1,17,1,17,1,17,1,17,5,17,282,8,17,10, + 17,12,17,285,9,17,1,18,1,18,1,18,1,18,1,18,1,18,3,18,293,8,18,1, + 19,3,19,296,8,19,1,19,1,19,3,19,300,8,19,1,19,3,19,303,8,19,1,19, + 1,19,3,19,307,8,19,1,19,3,19,310,8,19,1,19,3,19,313,8,19,1,19,3, + 19,316,8,19,1,19,3,19,319,8,19,1,19,1,19,3,19,323,8,19,1,19,1,19, + 3,19,327,8,19,1,19,3,19,330,8,19,1,19,3,19,333,8,19,1,19,3,19,336, + 8,19,1,19,1,19,3,19,340,8,19,1,19,3,19,343,8,19,1,20,1,20,1,20,1, + 21,1,21,1,21,1,21,3,21,352,8,21,1,22,1,22,1,22,1,23,3,23,358,8,23, + 1,23,1,23,1,23,1,23,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24, + 1,24,1,24,1,24,1,24,5,24,377,8,24,10,24,12,24,380,9,24,1,25,1,25, + 1,25,1,26,1,26,1,26,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,3,27, + 396,8,27,1,28,1,28,1,28,1,29,1,29,1,29,1,29,1,30,1,30,1,30,1,30, + 1,31,1,31,1,31,1,31,3,31,413,8,31,1,31,1,31,1,31,1,31,3,31,419,8, + 31,1,31,1,31,1,31,1,31,3,31,425,8,31,1,31,1,31,1,31,1,31,1,31,1, + 31,1,31,1,31,1,31,3,31,436,8,31,3,31,438,8,31,1,32,1,32,1,32,1,33, + 1,33,1,33,1,34,1,34,1,34,3,34,449,8,34,1,34,3,34,452,8,34,1,34,1, + 34,1,34,1,34,3,34,458,8,34,1,34,1,34,1,34,1,34,1,34,1,34,3,34,466, + 8,34,1,34,1,34,1,34,1,34,5,34,472,8,34,10,34,12,34,475,9,34,1,35, + 3,35,478,8,35,1,35,1,35,1,35,3,35,483,8,35,1,35,3,35,486,8,35,1, + 35,3,35,489,8,35,1,35,1,35,3,35,493,8,35,1,35,1,35,3,35,497,8,35, + 1,35,3,35,500,8,35,3,35,502,8,35,1,35,3,35,505,8,35,1,35,1,35,3, + 35,509,8,35,1,35,1,35,3,35,513,8,35,1,35,3,35,516,8,35,3,35,518, + 8,35,3,35,520,8,35,1,36,1,36,1,36,3,36,525,8,36,1,37,1,37,1,37,1, + 37,1,37,1,37,1,37,1,37,1,37,3,37,536,8,37,1,38,1,38,1,38,1,38,3, + 38,542,8,38,1,39,1,39,1,39,5,39,547,8,39,10,39,12,39,550,9,39,1, + 40,1,40,3,40,554,8,40,1,40,1,40,3,40,558,8,40,1,40,1,40,3,40,562, + 8,40,1,41,1,41,1,41,1,41,3,41,568,8,41,3,41,570,8,41,1,42,1,42,1, + 42,5,42,575,8,42,10,42,12,42,578,9,42,1,43,1,43,1,43,1,43,1,44,3, + 44,585,8,44,1,44,3,44,588,8,44,1,44,3,44,591,8,44,1,45,1,45,1,45, + 1,45,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48, + 1,48,3,48,610,8,48,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49, + 1,49,1,49,1,49,3,49,624,8,49,1,50,1,50,1,50,1,51,1,51,1,51,1,51, + 1,51,1,51,1,51,1,51,1,51,5,51,638,8,51,10,51,12,51,641,9,51,1,51, + 1,51,1,51,1,51,1,51,1,51,1,51,5,51,650,8,51,10,51,12,51,653,9,51, + 1,51,1,51,1,51,1,51,1,51,1,51,1,51,5,51,662,8,51,10,51,12,51,665, + 9,51,1,51,1,51,1,51,1,51,1,51,3,51,672,8,51,1,51,1,51,3,51,676,8, + 51,1,52,1,52,1,52,5,52,681,8,52,10,52,12,52,684,9,52,1,53,1,53,1, + 53,3,53,689,8,53,1,53,1,53,1,53,1,53,1,53,4,53,696,8,53,11,53,12, + 53,697,1,53,1,53,3,53,702,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53, 1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53, - 3,53,915,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,924,8,53,5, - 53,926,8,53,10,53,12,53,929,9,53,1,54,1,54,1,54,5,54,934,8,54,10, - 54,12,54,937,9,54,1,55,1,55,3,55,941,8,55,1,56,1,56,1,56,1,56,5, - 56,947,8,56,10,56,12,56,950,9,56,1,56,1,56,1,56,1,56,1,56,5,56,957, - 8,56,10,56,12,56,960,9,56,3,56,962,8,56,1,56,1,56,1,56,1,57,1,57, - 1,57,5,57,970,8,57,10,57,12,57,973,9,57,1,57,1,57,1,57,1,57,1,57, - 1,57,5,57,981,8,57,10,57,12,57,984,9,57,1,57,1,57,3,57,988,8,57, - 1,57,1,57,1,57,1,57,1,57,3,57,995,8,57,1,58,1,58,1,58,1,58,1,58, - 1,58,1,58,1,58,1,58,1,58,1,58,3,58,1008,8,58,1,59,1,59,1,59,5,59, - 1013,8,59,10,59,12,59,1016,9,59,1,60,1,60,1,60,1,60,1,60,1,60,1, - 60,1,60,1,60,1,60,3,60,1028,8,60,1,61,1,61,1,61,1,61,3,61,1034,8, - 61,1,61,3,61,1037,8,61,1,62,1,62,1,62,5,62,1042,8,62,10,62,12,62, - 1045,9,62,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,3,63,1056, - 8,63,1,63,1,63,1,63,1,63,3,63,1062,8,63,5,63,1064,8,63,10,63,12, - 63,1067,9,63,1,64,1,64,1,64,3,64,1072,8,64,1,64,1,64,1,65,1,65,1, - 65,3,65,1079,8,65,1,65,1,65,1,66,1,66,1,66,5,66,1086,8,66,10,66, - 12,66,1089,9,66,1,67,1,67,1,68,1,68,1,68,1,68,1,68,1,68,3,68,1099, - 8,68,3,68,1101,8,68,1,69,3,69,1104,8,69,1,69,1,69,1,69,1,69,1,69, - 1,69,3,69,1112,8,69,1,70,1,70,1,70,3,70,1117,8,70,1,71,1,71,1,72, - 1,72,1,73,1,73,1,74,1,74,3,74,1127,8,74,1,75,1,75,1,75,3,75,1132, - 8,75,1,76,1,76,1,76,1,76,1,77,1,77,1,77,1,77,1,78,1,78,3,78,1144, - 8,78,1,79,1,79,5,79,1148,8,79,10,79,12,79,1151,9,79,1,79,1,79,1, - 80,1,80,1,80,1,80,1,80,3,80,1160,8,80,1,81,1,81,5,81,1164,8,81,10, - 81,12,81,1167,9,81,1,81,1,81,1,82,1,82,1,82,1,82,1,82,3,82,1176, - 8,82,1,82,0,3,68,106,126,83,0,2,4,6,8,10,12,14,16,18,20,22,24,26, - 28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70, - 72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110, - 112,114,116,118,120,122,124,126,128,130,132,134,136,138,140,142, - 144,146,148,150,152,154,156,158,160,162,164,0,16,2,0,17,17,72,72, - 2,0,42,42,49,49,3,0,1,1,4,4,8,8,4,0,1,1,3,4,8,8,78,78,2,0,49,49, - 71,71,2,0,1,1,4,4,2,0,7,7,21,22,2,0,28,28,47,47,2,0,69,69,74,74, - 3,0,10,10,48,48,87,87,2,0,39,39,51,51,1,0,103,104,2,0,114,114,134, - 134,7,0,20,20,36,36,53,54,68,68,76,76,93,93,99,99,12,0,1,19,21,28, - 30,35,37,40,42,49,51,52,56,56,58,67,69,75,77,92,94,95,97,98,4,0, - 19,19,28,28,37,37,46,46,1314,0,169,1,0,0,0,2,176,1,0,0,0,4,178,1, - 0,0,0,6,180,1,0,0,0,8,189,1,0,0,0,10,195,1,0,0,0,12,212,1,0,0,0, - 14,214,1,0,0,0,16,217,1,0,0,0,18,226,1,0,0,0,20,232,1,0,0,0,22,236, - 1,0,0,0,24,245,1,0,0,0,26,247,1,0,0,0,28,256,1,0,0,0,30,260,1,0, - 0,0,32,271,1,0,0,0,34,275,1,0,0,0,36,290,1,0,0,0,38,293,1,0,0,0, - 40,342,1,0,0,0,42,345,1,0,0,0,44,351,1,0,0,0,46,355,1,0,0,0,48,361, - 1,0,0,0,50,379,1,0,0,0,52,382,1,0,0,0,54,385,1,0,0,0,56,395,1,0, - 0,0,58,398,1,0,0,0,60,402,1,0,0,0,62,435,1,0,0,0,64,437,1,0,0,0, - 66,440,1,0,0,0,68,455,1,0,0,0,70,517,1,0,0,0,72,522,1,0,0,0,74,533, - 1,0,0,0,76,535,1,0,0,0,78,541,1,0,0,0,80,549,1,0,0,0,82,567,1,0, - 0,0,84,569,1,0,0,0,86,577,1,0,0,0,88,582,1,0,0,0,90,590,1,0,0,0, - 92,594,1,0,0,0,94,598,1,0,0,0,96,607,1,0,0,0,98,621,1,0,0,0,100, - 623,1,0,0,0,102,673,1,0,0,0,104,675,1,0,0,0,106,832,1,0,0,0,108, - 930,1,0,0,0,110,940,1,0,0,0,112,961,1,0,0,0,114,994,1,0,0,0,116, - 1007,1,0,0,0,118,1009,1,0,0,0,120,1027,1,0,0,0,122,1036,1,0,0,0, - 124,1038,1,0,0,0,126,1055,1,0,0,0,128,1068,1,0,0,0,130,1078,1,0, - 0,0,132,1082,1,0,0,0,134,1090,1,0,0,0,136,1100,1,0,0,0,138,1103, - 1,0,0,0,140,1116,1,0,0,0,142,1118,1,0,0,0,144,1120,1,0,0,0,146,1122, - 1,0,0,0,148,1126,1,0,0,0,150,1131,1,0,0,0,152,1133,1,0,0,0,154,1137, - 1,0,0,0,156,1143,1,0,0,0,158,1145,1,0,0,0,160,1159,1,0,0,0,162,1161, - 1,0,0,0,164,1175,1,0,0,0,166,168,3,2,1,0,167,166,1,0,0,0,168,171, - 1,0,0,0,169,167,1,0,0,0,169,170,1,0,0,0,170,172,1,0,0,0,171,169, - 1,0,0,0,172,173,5,0,0,1,173,1,1,0,0,0,174,177,3,6,3,0,175,177,3, - 12,6,0,176,174,1,0,0,0,176,175,1,0,0,0,177,3,1,0,0,0,178,179,3,106, - 53,0,179,5,1,0,0,0,180,181,5,50,0,0,181,185,3,150,75,0,182,183,5, - 111,0,0,183,184,5,118,0,0,184,186,3,4,2,0,185,182,1,0,0,0,185,186, - 1,0,0,0,186,187,1,0,0,0,187,188,5,145,0,0,188,7,1,0,0,0,189,190, - 3,4,2,0,190,191,5,111,0,0,191,192,5,118,0,0,192,193,3,4,2,0,193, - 194,5,145,0,0,194,9,1,0,0,0,195,200,3,150,75,0,196,197,5,112,0,0, - 197,199,3,150,75,0,198,196,1,0,0,0,199,202,1,0,0,0,200,198,1,0,0, - 0,200,201,1,0,0,0,201,11,1,0,0,0,202,200,1,0,0,0,203,213,3,20,10, - 0,204,213,3,24,12,0,205,213,3,14,7,0,206,213,3,16,8,0,207,213,3, - 18,9,0,208,213,3,22,11,0,209,213,3,8,4,0,210,213,3,20,10,0,211,213, - 3,26,13,0,212,203,1,0,0,0,212,204,1,0,0,0,212,205,1,0,0,0,212,206, - 1,0,0,0,212,207,1,0,0,0,212,208,1,0,0,0,212,209,1,0,0,0,212,210, - 1,0,0,0,212,211,1,0,0,0,213,13,1,0,0,0,214,215,3,4,2,0,215,216,5, - 145,0,0,216,15,1,0,0,0,217,218,5,38,0,0,218,219,5,126,0,0,219,220, - 3,4,2,0,220,221,5,144,0,0,221,224,3,12,6,0,222,223,5,24,0,0,223, - 225,3,12,6,0,224,222,1,0,0,0,224,225,1,0,0,0,225,17,1,0,0,0,226, - 227,5,96,0,0,227,228,5,126,0,0,228,229,3,4,2,0,229,230,5,144,0,0, - 230,231,3,12,6,0,231,19,1,0,0,0,232,233,5,70,0,0,233,234,3,4,2,0, - 234,235,5,145,0,0,235,21,1,0,0,0,236,237,5,29,0,0,237,238,3,150, - 75,0,238,240,5,126,0,0,239,241,3,10,5,0,240,239,1,0,0,0,240,241, - 1,0,0,0,241,242,1,0,0,0,242,243,5,144,0,0,243,244,3,26,13,0,244, - 23,1,0,0,0,245,246,5,145,0,0,246,25,1,0,0,0,247,251,5,124,0,0,248, - 250,3,2,1,0,249,248,1,0,0,0,250,253,1,0,0,0,251,249,1,0,0,0,251, - 252,1,0,0,0,252,254,1,0,0,0,253,251,1,0,0,0,254,255,5,142,0,0,255, - 27,1,0,0,0,256,257,3,4,2,0,257,258,5,111,0,0,258,259,3,4,2,0,259, - 29,1,0,0,0,260,265,3,28,14,0,261,262,5,112,0,0,262,264,3,28,14,0, - 263,261,1,0,0,0,264,267,1,0,0,0,265,263,1,0,0,0,265,266,1,0,0,0, - 266,31,1,0,0,0,267,265,1,0,0,0,268,272,3,34,17,0,269,272,3,38,19, - 0,270,272,3,114,57,0,271,268,1,0,0,0,271,269,1,0,0,0,271,270,1,0, - 0,0,272,273,1,0,0,0,273,274,5,0,0,1,274,33,1,0,0,0,275,281,3,36, - 18,0,276,277,5,91,0,0,277,278,5,1,0,0,278,280,3,36,18,0,279,276, - 1,0,0,0,280,283,1,0,0,0,281,279,1,0,0,0,281,282,1,0,0,0,282,35,1, - 0,0,0,283,281,1,0,0,0,284,291,3,38,19,0,285,286,5,126,0,0,286,287, - 3,34,17,0,287,288,5,144,0,0,288,291,1,0,0,0,289,291,3,154,77,0,290, - 284,1,0,0,0,290,285,1,0,0,0,290,289,1,0,0,0,291,37,1,0,0,0,292,294, - 3,40,20,0,293,292,1,0,0,0,293,294,1,0,0,0,294,295,1,0,0,0,295,297, - 5,77,0,0,296,298,5,23,0,0,297,296,1,0,0,0,297,298,1,0,0,0,298,300, - 1,0,0,0,299,301,3,42,21,0,300,299,1,0,0,0,300,301,1,0,0,0,301,302, - 1,0,0,0,302,304,3,104,52,0,303,305,3,44,22,0,304,303,1,0,0,0,304, - 305,1,0,0,0,305,307,1,0,0,0,306,308,3,46,23,0,307,306,1,0,0,0,307, - 308,1,0,0,0,308,310,1,0,0,0,309,311,3,50,25,0,310,309,1,0,0,0,310, - 311,1,0,0,0,311,313,1,0,0,0,312,314,3,52,26,0,313,312,1,0,0,0,313, - 314,1,0,0,0,314,316,1,0,0,0,315,317,3,54,27,0,316,315,1,0,0,0,316, - 317,1,0,0,0,317,320,1,0,0,0,318,319,5,98,0,0,319,321,7,0,0,0,320, - 318,1,0,0,0,320,321,1,0,0,0,321,324,1,0,0,0,322,323,5,98,0,0,323, - 325,5,86,0,0,324,322,1,0,0,0,324,325,1,0,0,0,325,327,1,0,0,0,326, - 328,3,56,28,0,327,326,1,0,0,0,327,328,1,0,0,0,328,330,1,0,0,0,329, - 331,3,48,24,0,330,329,1,0,0,0,330,331,1,0,0,0,331,333,1,0,0,0,332, - 334,3,58,29,0,333,332,1,0,0,0,333,334,1,0,0,0,334,337,1,0,0,0,335, - 338,3,62,31,0,336,338,3,64,32,0,337,335,1,0,0,0,337,336,1,0,0,0, - 337,338,1,0,0,0,338,340,1,0,0,0,339,341,3,66,33,0,340,339,1,0,0, - 0,340,341,1,0,0,0,341,39,1,0,0,0,342,343,5,98,0,0,343,344,3,118, - 59,0,344,41,1,0,0,0,345,346,5,85,0,0,346,349,5,104,0,0,347,348,5, - 98,0,0,348,350,5,82,0,0,349,347,1,0,0,0,349,350,1,0,0,0,350,43,1, - 0,0,0,351,352,5,32,0,0,352,353,3,68,34,0,353,45,1,0,0,0,354,356, - 7,1,0,0,355,354,1,0,0,0,355,356,1,0,0,0,356,357,1,0,0,0,357,358, - 5,5,0,0,358,359,5,45,0,0,359,360,3,104,52,0,360,47,1,0,0,0,361,362, - 5,97,0,0,362,363,3,150,75,0,363,364,5,6,0,0,364,365,5,126,0,0,365, - 366,3,88,44,0,366,376,5,144,0,0,367,368,5,112,0,0,368,369,3,150, - 75,0,369,370,5,6,0,0,370,371,5,126,0,0,371,372,3,88,44,0,372,373, - 5,144,0,0,373,375,1,0,0,0,374,367,1,0,0,0,375,378,1,0,0,0,376,374, - 1,0,0,0,376,377,1,0,0,0,377,49,1,0,0,0,378,376,1,0,0,0,379,380,5, - 67,0,0,380,381,3,106,53,0,381,51,1,0,0,0,382,383,5,95,0,0,383,384, - 3,106,53,0,384,53,1,0,0,0,385,386,5,34,0,0,386,393,5,11,0,0,387, - 388,7,0,0,0,388,389,5,126,0,0,389,390,3,104,52,0,390,391,5,144,0, - 0,391,394,1,0,0,0,392,394,3,104,52,0,393,387,1,0,0,0,393,392,1,0, - 0,0,394,55,1,0,0,0,395,396,5,35,0,0,396,397,3,106,53,0,397,57,1, - 0,0,0,398,399,5,62,0,0,399,400,5,11,0,0,400,401,3,78,39,0,401,59, - 1,0,0,0,402,403,5,62,0,0,403,404,5,11,0,0,404,405,3,104,52,0,405, - 61,1,0,0,0,406,407,5,52,0,0,407,410,3,106,53,0,408,409,5,112,0,0, - 409,411,3,106,53,0,410,408,1,0,0,0,410,411,1,0,0,0,411,416,1,0,0, - 0,412,413,5,98,0,0,413,417,5,82,0,0,414,415,5,11,0,0,415,417,3,104, - 52,0,416,412,1,0,0,0,416,414,1,0,0,0,416,417,1,0,0,0,417,436,1,0, - 0,0,418,419,5,52,0,0,419,422,3,106,53,0,420,421,5,98,0,0,421,423, - 5,82,0,0,422,420,1,0,0,0,422,423,1,0,0,0,423,424,1,0,0,0,424,425, - 5,59,0,0,425,426,3,106,53,0,426,436,1,0,0,0,427,428,5,52,0,0,428, - 429,3,106,53,0,429,430,5,59,0,0,430,433,3,106,53,0,431,432,5,11, - 0,0,432,434,3,104,52,0,433,431,1,0,0,0,433,434,1,0,0,0,434,436,1, - 0,0,0,435,406,1,0,0,0,435,418,1,0,0,0,435,427,1,0,0,0,436,63,1,0, - 0,0,437,438,5,59,0,0,438,439,3,106,53,0,439,65,1,0,0,0,440,441,5, - 79,0,0,441,442,3,84,42,0,442,67,1,0,0,0,443,444,6,34,-1,0,444,446, - 3,126,63,0,445,447,5,27,0,0,446,445,1,0,0,0,446,447,1,0,0,0,447, - 449,1,0,0,0,448,450,3,76,38,0,449,448,1,0,0,0,449,450,1,0,0,0,450, - 456,1,0,0,0,451,452,5,126,0,0,452,453,3,68,34,0,453,454,5,144,0, - 0,454,456,1,0,0,0,455,443,1,0,0,0,455,451,1,0,0,0,456,471,1,0,0, - 0,457,458,10,3,0,0,458,459,3,72,36,0,459,460,3,68,34,4,460,470,1, - 0,0,0,461,463,10,4,0,0,462,464,3,70,35,0,463,462,1,0,0,0,463,464, - 1,0,0,0,464,465,1,0,0,0,465,466,5,45,0,0,466,467,3,68,34,0,467,468, - 3,74,37,0,468,470,1,0,0,0,469,457,1,0,0,0,469,461,1,0,0,0,470,473, - 1,0,0,0,471,469,1,0,0,0,471,472,1,0,0,0,472,69,1,0,0,0,473,471,1, - 0,0,0,474,476,7,2,0,0,475,474,1,0,0,0,475,476,1,0,0,0,476,477,1, - 0,0,0,477,484,5,42,0,0,478,480,5,42,0,0,479,481,7,2,0,0,480,479, - 1,0,0,0,480,481,1,0,0,0,481,484,1,0,0,0,482,484,7,2,0,0,483,475, - 1,0,0,0,483,478,1,0,0,0,483,482,1,0,0,0,484,518,1,0,0,0,485,487, - 7,3,0,0,486,485,1,0,0,0,486,487,1,0,0,0,487,488,1,0,0,0,488,490, - 7,4,0,0,489,491,5,63,0,0,490,489,1,0,0,0,490,491,1,0,0,0,491,500, - 1,0,0,0,492,494,7,4,0,0,493,495,5,63,0,0,494,493,1,0,0,0,494,495, - 1,0,0,0,495,497,1,0,0,0,496,498,7,3,0,0,497,496,1,0,0,0,497,498, - 1,0,0,0,498,500,1,0,0,0,499,486,1,0,0,0,499,492,1,0,0,0,500,518, - 1,0,0,0,501,503,7,5,0,0,502,501,1,0,0,0,502,503,1,0,0,0,503,504, - 1,0,0,0,504,506,5,33,0,0,505,507,5,63,0,0,506,505,1,0,0,0,506,507, - 1,0,0,0,507,516,1,0,0,0,508,510,5,33,0,0,509,511,5,63,0,0,510,509, - 1,0,0,0,510,511,1,0,0,0,511,513,1,0,0,0,512,514,7,5,0,0,513,512, - 1,0,0,0,513,514,1,0,0,0,514,516,1,0,0,0,515,502,1,0,0,0,515,508, - 1,0,0,0,516,518,1,0,0,0,517,483,1,0,0,0,517,499,1,0,0,0,517,515, - 1,0,0,0,518,71,1,0,0,0,519,520,5,16,0,0,520,523,5,45,0,0,521,523, - 5,112,0,0,522,519,1,0,0,0,522,521,1,0,0,0,523,73,1,0,0,0,524,525, - 5,60,0,0,525,534,3,104,52,0,526,527,5,92,0,0,527,528,5,126,0,0,528, - 529,3,104,52,0,529,530,5,144,0,0,530,534,1,0,0,0,531,532,5,92,0, - 0,532,534,3,104,52,0,533,524,1,0,0,0,533,526,1,0,0,0,533,531,1,0, - 0,0,534,75,1,0,0,0,535,536,5,75,0,0,536,539,3,82,41,0,537,538,5, - 59,0,0,538,540,3,82,41,0,539,537,1,0,0,0,539,540,1,0,0,0,540,77, - 1,0,0,0,541,546,3,80,40,0,542,543,5,112,0,0,543,545,3,80,40,0,544, - 542,1,0,0,0,545,548,1,0,0,0,546,544,1,0,0,0,546,547,1,0,0,0,547, - 79,1,0,0,0,548,546,1,0,0,0,549,551,3,106,53,0,550,552,7,6,0,0,551, - 550,1,0,0,0,551,552,1,0,0,0,552,555,1,0,0,0,553,554,5,58,0,0,554, - 556,7,7,0,0,555,553,1,0,0,0,555,556,1,0,0,0,556,559,1,0,0,0,557, - 558,5,15,0,0,558,560,5,106,0,0,559,557,1,0,0,0,559,560,1,0,0,0,560, - 81,1,0,0,0,561,568,3,154,77,0,562,565,3,138,69,0,563,564,5,146,0, - 0,564,566,3,138,69,0,565,563,1,0,0,0,565,566,1,0,0,0,566,568,1,0, - 0,0,567,561,1,0,0,0,567,562,1,0,0,0,568,83,1,0,0,0,569,574,3,86, - 43,0,570,571,5,112,0,0,571,573,3,86,43,0,572,570,1,0,0,0,573,576, - 1,0,0,0,574,572,1,0,0,0,574,575,1,0,0,0,575,85,1,0,0,0,576,574,1, - 0,0,0,577,578,3,150,75,0,578,579,5,118,0,0,579,580,3,140,70,0,580, - 87,1,0,0,0,581,583,3,90,45,0,582,581,1,0,0,0,582,583,1,0,0,0,583, - 585,1,0,0,0,584,586,3,92,46,0,585,584,1,0,0,0,585,586,1,0,0,0,586, - 588,1,0,0,0,587,589,3,94,47,0,588,587,1,0,0,0,588,589,1,0,0,0,589, - 89,1,0,0,0,590,591,5,65,0,0,591,592,5,11,0,0,592,593,3,104,52,0, - 593,91,1,0,0,0,594,595,5,62,0,0,595,596,5,11,0,0,596,597,3,78,39, - 0,597,93,1,0,0,0,598,599,7,8,0,0,599,600,3,96,48,0,600,95,1,0,0, - 0,601,608,3,98,49,0,602,603,5,9,0,0,603,604,3,98,49,0,604,605,5, - 2,0,0,605,606,3,98,49,0,606,608,1,0,0,0,607,601,1,0,0,0,607,602, - 1,0,0,0,608,97,1,0,0,0,609,610,5,18,0,0,610,622,5,73,0,0,611,612, - 5,90,0,0,612,622,5,66,0,0,613,614,5,90,0,0,614,622,5,30,0,0,615, - 616,3,138,69,0,616,617,5,66,0,0,617,622,1,0,0,0,618,619,3,138,69, - 0,619,620,5,30,0,0,620,622,1,0,0,0,621,609,1,0,0,0,621,611,1,0,0, - 0,621,613,1,0,0,0,621,615,1,0,0,0,621,618,1,0,0,0,622,99,1,0,0,0, - 623,624,3,106,53,0,624,625,5,0,0,1,625,101,1,0,0,0,626,674,3,150, - 75,0,627,628,3,150,75,0,628,629,5,126,0,0,629,630,3,150,75,0,630, - 637,3,102,51,0,631,632,5,112,0,0,632,633,3,150,75,0,633,634,3,102, - 51,0,634,636,1,0,0,0,635,631,1,0,0,0,636,639,1,0,0,0,637,635,1,0, - 0,0,637,638,1,0,0,0,638,640,1,0,0,0,639,637,1,0,0,0,640,641,5,144, - 0,0,641,674,1,0,0,0,642,643,3,150,75,0,643,644,5,126,0,0,644,649, - 3,152,76,0,645,646,5,112,0,0,646,648,3,152,76,0,647,645,1,0,0,0, - 648,651,1,0,0,0,649,647,1,0,0,0,649,650,1,0,0,0,650,652,1,0,0,0, - 651,649,1,0,0,0,652,653,5,144,0,0,653,674,1,0,0,0,654,655,3,150, - 75,0,655,656,5,126,0,0,656,661,3,102,51,0,657,658,5,112,0,0,658, - 660,3,102,51,0,659,657,1,0,0,0,660,663,1,0,0,0,661,659,1,0,0,0,661, - 662,1,0,0,0,662,664,1,0,0,0,663,661,1,0,0,0,664,665,5,144,0,0,665, - 674,1,0,0,0,666,667,3,150,75,0,667,669,5,126,0,0,668,670,3,104,52, - 0,669,668,1,0,0,0,669,670,1,0,0,0,670,671,1,0,0,0,671,672,5,144, - 0,0,672,674,1,0,0,0,673,626,1,0,0,0,673,627,1,0,0,0,673,642,1,0, - 0,0,673,654,1,0,0,0,673,666,1,0,0,0,674,103,1,0,0,0,675,680,3,106, - 53,0,676,677,5,112,0,0,677,679,3,106,53,0,678,676,1,0,0,0,679,682, - 1,0,0,0,680,678,1,0,0,0,680,681,1,0,0,0,681,105,1,0,0,0,682,680, - 1,0,0,0,683,684,6,53,-1,0,684,686,5,12,0,0,685,687,3,106,53,0,686, - 685,1,0,0,0,686,687,1,0,0,0,687,693,1,0,0,0,688,689,5,94,0,0,689, - 690,3,106,53,0,690,691,5,81,0,0,691,692,3,106,53,0,692,694,1,0,0, - 0,693,688,1,0,0,0,694,695,1,0,0,0,695,693,1,0,0,0,695,696,1,0,0, - 0,696,699,1,0,0,0,697,698,5,24,0,0,698,700,3,106,53,0,699,697,1, - 0,0,0,699,700,1,0,0,0,700,701,1,0,0,0,701,702,5,25,0,0,702,833,1, - 0,0,0,703,704,5,13,0,0,704,705,5,126,0,0,705,706,3,106,53,0,706, - 707,5,6,0,0,707,708,3,102,51,0,708,709,5,144,0,0,709,833,1,0,0,0, - 710,711,5,19,0,0,711,833,5,106,0,0,712,713,5,43,0,0,713,714,3,106, - 53,0,714,715,3,142,71,0,715,833,1,0,0,0,716,717,5,80,0,0,717,718, - 5,126,0,0,718,719,3,106,53,0,719,720,5,32,0,0,720,723,3,106,53,0, - 721,722,5,31,0,0,722,724,3,106,53,0,723,721,1,0,0,0,723,724,1,0, - 0,0,724,725,1,0,0,0,725,726,5,144,0,0,726,833,1,0,0,0,727,728,5, - 83,0,0,728,833,5,106,0,0,729,730,5,88,0,0,730,731,5,126,0,0,731, - 732,7,9,0,0,732,733,3,156,78,0,733,734,5,32,0,0,734,735,3,106,53, - 0,735,736,5,144,0,0,736,833,1,0,0,0,737,738,3,150,75,0,738,740,5, - 126,0,0,739,741,3,104,52,0,740,739,1,0,0,0,740,741,1,0,0,0,741,742, - 1,0,0,0,742,743,5,144,0,0,743,752,1,0,0,0,744,746,5,126,0,0,745, - 747,5,23,0,0,746,745,1,0,0,0,746,747,1,0,0,0,747,749,1,0,0,0,748, - 750,3,108,54,0,749,748,1,0,0,0,749,750,1,0,0,0,750,751,1,0,0,0,751, - 753,5,144,0,0,752,744,1,0,0,0,752,753,1,0,0,0,753,754,1,0,0,0,754, - 755,5,64,0,0,755,756,5,126,0,0,756,757,3,88,44,0,757,758,5,144,0, - 0,758,833,1,0,0,0,759,760,3,150,75,0,760,762,5,126,0,0,761,763,3, - 104,52,0,762,761,1,0,0,0,762,763,1,0,0,0,763,764,1,0,0,0,764,765, - 5,144,0,0,765,774,1,0,0,0,766,768,5,126,0,0,767,769,5,23,0,0,768, - 767,1,0,0,0,768,769,1,0,0,0,769,771,1,0,0,0,770,772,3,108,54,0,771, - 770,1,0,0,0,771,772,1,0,0,0,772,773,1,0,0,0,773,775,5,144,0,0,774, - 766,1,0,0,0,774,775,1,0,0,0,775,776,1,0,0,0,776,777,5,64,0,0,777, - 778,3,150,75,0,778,833,1,0,0,0,779,785,3,150,75,0,780,782,5,126, - 0,0,781,783,3,104,52,0,782,781,1,0,0,0,782,783,1,0,0,0,783,784,1, - 0,0,0,784,786,5,144,0,0,785,780,1,0,0,0,785,786,1,0,0,0,786,787, - 1,0,0,0,787,789,5,126,0,0,788,790,5,23,0,0,789,788,1,0,0,0,789,790, - 1,0,0,0,790,792,1,0,0,0,791,793,3,108,54,0,792,791,1,0,0,0,792,793, - 1,0,0,0,793,794,1,0,0,0,794,795,5,144,0,0,795,833,1,0,0,0,796,833, - 3,114,57,0,797,833,3,158,79,0,798,833,3,140,70,0,799,800,5,114,0, - 0,800,833,3,106,53,19,801,802,5,56,0,0,802,833,3,106,53,13,803,804, - 3,130,65,0,804,805,5,116,0,0,805,807,1,0,0,0,806,803,1,0,0,0,806, - 807,1,0,0,0,807,808,1,0,0,0,808,833,5,108,0,0,809,810,5,126,0,0, - 810,811,3,34,17,0,811,812,5,144,0,0,812,833,1,0,0,0,813,814,5,126, - 0,0,814,815,3,106,53,0,815,816,5,144,0,0,816,833,1,0,0,0,817,818, - 5,126,0,0,818,819,3,104,52,0,819,820,5,144,0,0,820,833,1,0,0,0,821, - 823,5,125,0,0,822,824,3,104,52,0,823,822,1,0,0,0,823,824,1,0,0,0, - 824,825,1,0,0,0,825,833,5,143,0,0,826,828,5,124,0,0,827,829,3,30, - 15,0,828,827,1,0,0,0,828,829,1,0,0,0,829,830,1,0,0,0,830,833,5,142, - 0,0,831,833,3,122,61,0,832,683,1,0,0,0,832,703,1,0,0,0,832,710,1, - 0,0,0,832,712,1,0,0,0,832,716,1,0,0,0,832,727,1,0,0,0,832,729,1, - 0,0,0,832,737,1,0,0,0,832,759,1,0,0,0,832,779,1,0,0,0,832,796,1, - 0,0,0,832,797,1,0,0,0,832,798,1,0,0,0,832,799,1,0,0,0,832,801,1, - 0,0,0,832,806,1,0,0,0,832,809,1,0,0,0,832,813,1,0,0,0,832,817,1, - 0,0,0,832,821,1,0,0,0,832,826,1,0,0,0,832,831,1,0,0,0,833,927,1, - 0,0,0,834,838,10,18,0,0,835,839,5,108,0,0,836,839,5,146,0,0,837, - 839,5,133,0,0,838,835,1,0,0,0,838,836,1,0,0,0,838,837,1,0,0,0,839, - 840,1,0,0,0,840,926,3,106,53,19,841,845,10,17,0,0,842,846,5,134, - 0,0,843,846,5,114,0,0,844,846,5,113,0,0,845,842,1,0,0,0,845,843, - 1,0,0,0,845,844,1,0,0,0,846,847,1,0,0,0,847,926,3,106,53,18,848, - 873,10,16,0,0,849,874,5,117,0,0,850,874,5,118,0,0,851,874,5,129, - 0,0,852,874,5,127,0,0,853,874,5,128,0,0,854,874,5,119,0,0,855,874, - 5,120,0,0,856,858,5,56,0,0,857,856,1,0,0,0,857,858,1,0,0,0,858,859, - 1,0,0,0,859,861,5,40,0,0,860,862,5,14,0,0,861,860,1,0,0,0,861,862, - 1,0,0,0,862,874,1,0,0,0,863,865,5,56,0,0,864,863,1,0,0,0,864,865, - 1,0,0,0,865,866,1,0,0,0,866,874,7,10,0,0,867,874,5,140,0,0,868,874, - 5,141,0,0,869,874,5,131,0,0,870,874,5,122,0,0,871,874,5,123,0,0, - 872,874,5,130,0,0,873,849,1,0,0,0,873,850,1,0,0,0,873,851,1,0,0, - 0,873,852,1,0,0,0,873,853,1,0,0,0,873,854,1,0,0,0,873,855,1,0,0, - 0,873,857,1,0,0,0,873,864,1,0,0,0,873,867,1,0,0,0,873,868,1,0,0, - 0,873,869,1,0,0,0,873,870,1,0,0,0,873,871,1,0,0,0,873,872,1,0,0, - 0,874,875,1,0,0,0,875,926,3,106,53,17,876,877,10,14,0,0,877,878, - 5,132,0,0,878,926,3,106,53,15,879,880,10,12,0,0,880,881,5,2,0,0, - 881,926,3,106,53,13,882,883,10,11,0,0,883,884,5,61,0,0,884,926,3, - 106,53,12,885,887,10,10,0,0,886,888,5,56,0,0,887,886,1,0,0,0,887, - 888,1,0,0,0,888,889,1,0,0,0,889,890,5,9,0,0,890,891,3,106,53,0,891, - 892,5,2,0,0,892,893,3,106,53,11,893,926,1,0,0,0,894,895,10,9,0,0, - 895,896,5,135,0,0,896,897,3,106,53,0,897,898,5,111,0,0,898,899,3, - 106,53,9,899,926,1,0,0,0,900,901,10,22,0,0,901,902,5,125,0,0,902, - 903,3,106,53,0,903,904,5,143,0,0,904,926,1,0,0,0,905,906,10,21,0, - 0,906,907,5,116,0,0,907,926,5,104,0,0,908,909,10,20,0,0,909,910, - 5,116,0,0,910,926,3,150,75,0,911,912,10,15,0,0,912,914,5,44,0,0, - 913,915,5,56,0,0,914,913,1,0,0,0,914,915,1,0,0,0,915,916,1,0,0,0, - 916,926,5,57,0,0,917,923,10,8,0,0,918,924,3,148,74,0,919,920,5,6, - 0,0,920,924,3,150,75,0,921,922,5,6,0,0,922,924,5,106,0,0,923,918, - 1,0,0,0,923,919,1,0,0,0,923,921,1,0,0,0,924,926,1,0,0,0,925,834, - 1,0,0,0,925,841,1,0,0,0,925,848,1,0,0,0,925,876,1,0,0,0,925,879, - 1,0,0,0,925,882,1,0,0,0,925,885,1,0,0,0,925,894,1,0,0,0,925,900, - 1,0,0,0,925,905,1,0,0,0,925,908,1,0,0,0,925,911,1,0,0,0,925,917, - 1,0,0,0,926,929,1,0,0,0,927,925,1,0,0,0,927,928,1,0,0,0,928,107, - 1,0,0,0,929,927,1,0,0,0,930,935,3,110,55,0,931,932,5,112,0,0,932, - 934,3,110,55,0,933,931,1,0,0,0,934,937,1,0,0,0,935,933,1,0,0,0,935, - 936,1,0,0,0,936,109,1,0,0,0,937,935,1,0,0,0,938,941,3,112,56,0,939, - 941,3,106,53,0,940,938,1,0,0,0,940,939,1,0,0,0,941,111,1,0,0,0,942, - 943,5,126,0,0,943,948,3,150,75,0,944,945,5,112,0,0,945,947,3,150, - 75,0,946,944,1,0,0,0,947,950,1,0,0,0,948,946,1,0,0,0,948,949,1,0, - 0,0,949,951,1,0,0,0,950,948,1,0,0,0,951,952,5,144,0,0,952,962,1, - 0,0,0,953,958,3,150,75,0,954,955,5,112,0,0,955,957,3,150,75,0,956, - 954,1,0,0,0,957,960,1,0,0,0,958,956,1,0,0,0,958,959,1,0,0,0,959, - 962,1,0,0,0,960,958,1,0,0,0,961,942,1,0,0,0,961,953,1,0,0,0,962, - 963,1,0,0,0,963,964,5,107,0,0,964,965,3,106,53,0,965,113,1,0,0,0, - 966,967,5,128,0,0,967,971,3,150,75,0,968,970,3,116,58,0,969,968, - 1,0,0,0,970,973,1,0,0,0,971,969,1,0,0,0,971,972,1,0,0,0,972,974, - 1,0,0,0,973,971,1,0,0,0,974,975,5,146,0,0,975,976,5,120,0,0,976, - 995,1,0,0,0,977,978,5,128,0,0,978,982,3,150,75,0,979,981,3,116,58, - 0,980,979,1,0,0,0,981,984,1,0,0,0,982,980,1,0,0,0,982,983,1,0,0, - 0,983,985,1,0,0,0,984,982,1,0,0,0,985,987,5,120,0,0,986,988,3,114, - 57,0,987,986,1,0,0,0,987,988,1,0,0,0,988,989,1,0,0,0,989,990,5,128, - 0,0,990,991,5,146,0,0,991,992,3,150,75,0,992,993,5,120,0,0,993,995, - 1,0,0,0,994,966,1,0,0,0,994,977,1,0,0,0,995,115,1,0,0,0,996,997, - 3,150,75,0,997,998,5,118,0,0,998,999,3,156,78,0,999,1008,1,0,0,0, - 1000,1001,3,150,75,0,1001,1002,5,118,0,0,1002,1003,5,124,0,0,1003, - 1004,3,106,53,0,1004,1005,5,142,0,0,1005,1008,1,0,0,0,1006,1008, - 3,150,75,0,1007,996,1,0,0,0,1007,1000,1,0,0,0,1007,1006,1,0,0,0, - 1008,117,1,0,0,0,1009,1014,3,120,60,0,1010,1011,5,112,0,0,1011,1013, - 3,120,60,0,1012,1010,1,0,0,0,1013,1016,1,0,0,0,1014,1012,1,0,0,0, - 1014,1015,1,0,0,0,1015,119,1,0,0,0,1016,1014,1,0,0,0,1017,1018,3, - 150,75,0,1018,1019,5,6,0,0,1019,1020,5,126,0,0,1020,1021,3,34,17, - 0,1021,1022,5,144,0,0,1022,1028,1,0,0,0,1023,1024,3,106,53,0,1024, - 1025,5,6,0,0,1025,1026,3,150,75,0,1026,1028,1,0,0,0,1027,1017,1, - 0,0,0,1027,1023,1,0,0,0,1028,121,1,0,0,0,1029,1037,3,154,77,0,1030, - 1031,3,130,65,0,1031,1032,5,116,0,0,1032,1034,1,0,0,0,1033,1030, - 1,0,0,0,1033,1034,1,0,0,0,1034,1035,1,0,0,0,1035,1037,3,124,62,0, - 1036,1029,1,0,0,0,1036,1033,1,0,0,0,1037,123,1,0,0,0,1038,1043,3, - 150,75,0,1039,1040,5,116,0,0,1040,1042,3,150,75,0,1041,1039,1,0, - 0,0,1042,1045,1,0,0,0,1043,1041,1,0,0,0,1043,1044,1,0,0,0,1044,125, - 1,0,0,0,1045,1043,1,0,0,0,1046,1047,6,63,-1,0,1047,1056,3,130,65, - 0,1048,1056,3,128,64,0,1049,1050,5,126,0,0,1050,1051,3,34,17,0,1051, - 1052,5,144,0,0,1052,1056,1,0,0,0,1053,1056,3,114,57,0,1054,1056, - 3,154,77,0,1055,1046,1,0,0,0,1055,1048,1,0,0,0,1055,1049,1,0,0,0, - 1055,1053,1,0,0,0,1055,1054,1,0,0,0,1056,1065,1,0,0,0,1057,1061, - 10,3,0,0,1058,1062,3,148,74,0,1059,1060,5,6,0,0,1060,1062,3,150, - 75,0,1061,1058,1,0,0,0,1061,1059,1,0,0,0,1062,1064,1,0,0,0,1063, - 1057,1,0,0,0,1064,1067,1,0,0,0,1065,1063,1,0,0,0,1065,1066,1,0,0, - 0,1066,127,1,0,0,0,1067,1065,1,0,0,0,1068,1069,3,150,75,0,1069,1071, - 5,126,0,0,1070,1072,3,132,66,0,1071,1070,1,0,0,0,1071,1072,1,0,0, - 0,1072,1073,1,0,0,0,1073,1074,5,144,0,0,1074,129,1,0,0,0,1075,1076, - 3,134,67,0,1076,1077,5,116,0,0,1077,1079,1,0,0,0,1078,1075,1,0,0, - 0,1078,1079,1,0,0,0,1079,1080,1,0,0,0,1080,1081,3,150,75,0,1081, - 131,1,0,0,0,1082,1087,3,106,53,0,1083,1084,5,112,0,0,1084,1086,3, - 106,53,0,1085,1083,1,0,0,0,1086,1089,1,0,0,0,1087,1085,1,0,0,0,1087, - 1088,1,0,0,0,1088,133,1,0,0,0,1089,1087,1,0,0,0,1090,1091,3,150, - 75,0,1091,135,1,0,0,0,1092,1101,5,102,0,0,1093,1094,5,116,0,0,1094, - 1101,7,11,0,0,1095,1096,5,104,0,0,1096,1098,5,116,0,0,1097,1099, - 7,11,0,0,1098,1097,1,0,0,0,1098,1099,1,0,0,0,1099,1101,1,0,0,0,1100, - 1092,1,0,0,0,1100,1093,1,0,0,0,1100,1095,1,0,0,0,1101,137,1,0,0, - 0,1102,1104,7,12,0,0,1103,1102,1,0,0,0,1103,1104,1,0,0,0,1104,1111, - 1,0,0,0,1105,1112,3,136,68,0,1106,1112,5,103,0,0,1107,1112,5,104, - 0,0,1108,1112,5,105,0,0,1109,1112,5,41,0,0,1110,1112,5,55,0,0,1111, - 1105,1,0,0,0,1111,1106,1,0,0,0,1111,1107,1,0,0,0,1111,1108,1,0,0, - 0,1111,1109,1,0,0,0,1111,1110,1,0,0,0,1112,139,1,0,0,0,1113,1117, - 3,138,69,0,1114,1117,5,106,0,0,1115,1117,5,57,0,0,1116,1113,1,0, - 0,0,1116,1114,1,0,0,0,1116,1115,1,0,0,0,1117,141,1,0,0,0,1118,1119, - 7,13,0,0,1119,143,1,0,0,0,1120,1121,7,14,0,0,1121,145,1,0,0,0,1122, - 1123,7,15,0,0,1123,147,1,0,0,0,1124,1127,5,101,0,0,1125,1127,3,146, - 73,0,1126,1124,1,0,0,0,1126,1125,1,0,0,0,1127,149,1,0,0,0,1128,1132, - 5,101,0,0,1129,1132,3,142,71,0,1130,1132,3,144,72,0,1131,1128,1, - 0,0,0,1131,1129,1,0,0,0,1131,1130,1,0,0,0,1132,151,1,0,0,0,1133, - 1134,3,156,78,0,1134,1135,5,118,0,0,1135,1136,3,138,69,0,1136,153, - 1,0,0,0,1137,1138,5,124,0,0,1138,1139,3,150,75,0,1139,1140,5,142, - 0,0,1140,155,1,0,0,0,1141,1144,5,106,0,0,1142,1144,3,158,79,0,1143, - 1141,1,0,0,0,1143,1142,1,0,0,0,1144,157,1,0,0,0,1145,1149,5,137, - 0,0,1146,1148,3,160,80,0,1147,1146,1,0,0,0,1148,1151,1,0,0,0,1149, - 1147,1,0,0,0,1149,1150,1,0,0,0,1150,1152,1,0,0,0,1151,1149,1,0,0, - 0,1152,1153,5,139,0,0,1153,159,1,0,0,0,1154,1155,5,152,0,0,1155, - 1156,3,106,53,0,1156,1157,5,142,0,0,1157,1160,1,0,0,0,1158,1160, - 5,151,0,0,1159,1154,1,0,0,0,1159,1158,1,0,0,0,1160,161,1,0,0,0,1161, - 1165,5,138,0,0,1162,1164,3,164,82,0,1163,1162,1,0,0,0,1164,1167, - 1,0,0,0,1165,1163,1,0,0,0,1165,1166,1,0,0,0,1166,1168,1,0,0,0,1167, - 1165,1,0,0,0,1168,1169,5,0,0,1,1169,163,1,0,0,0,1170,1171,5,154, - 0,0,1171,1172,3,106,53,0,1172,1173,5,142,0,0,1173,1176,1,0,0,0,1174, - 1176,5,153,0,0,1175,1170,1,0,0,0,1175,1174,1,0,0,0,1176,165,1,0, - 0,0,141,169,176,185,200,212,224,240,251,265,271,281,290,293,297, - 300,304,307,310,313,316,320,324,327,330,333,337,340,349,355,376, - 393,410,416,422,433,435,446,449,455,463,469,471,475,480,483,486, - 490,494,497,499,502,506,510,513,515,517,522,533,539,546,551,555, - 559,565,567,574,582,585,588,607,621,637,649,661,669,673,680,686, - 695,699,723,740,746,749,752,762,768,771,774,782,785,789,792,806, - 823,828,832,838,845,857,861,864,873,887,914,923,925,927,935,940, - 948,958,961,971,982,987,994,1007,1014,1027,1033,1036,1043,1055,1061, - 1065,1071,1078,1087,1098,1100,1103,1111,1116,1126,1131,1143,1149, - 1159,1165,1175 + 1,53,1,53,3,53,726,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53, + 1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,743,8,53,1,53,1,53,1,53, + 1,53,3,53,749,8,53,1,53,3,53,752,8,53,1,53,3,53,755,8,53,1,53,1, + 53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,765,8,53,1,53,1,53,1,53,1, + 53,3,53,771,8,53,1,53,3,53,774,8,53,1,53,3,53,777,8,53,1,53,1,53, + 1,53,1,53,1,53,1,53,3,53,785,8,53,1,53,3,53,788,8,53,1,53,1,53,3, + 53,792,8,53,1,53,3,53,795,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53, + 1,53,1,53,1,53,1,53,1,53,3,53,809,8,53,1,53,1,53,1,53,1,53,1,53, + 1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,826,8,53, + 1,53,1,53,1,53,3,53,831,8,53,1,53,1,53,3,53,835,8,53,1,53,1,53,1, + 53,1,53,3,53,841,8,53,1,53,1,53,1,53,1,53,1,53,3,53,848,8,53,1,53, + 1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,860,8,53,1,53, + 1,53,3,53,864,8,53,1,53,3,53,867,8,53,1,53,1,53,1,53,1,53,1,53,1, + 53,1,53,3,53,876,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1, + 53,1,53,1,53,1,53,3,53,890,8,53,1,53,1,53,1,53,1,53,1,53,1,53,1, + 53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1, + 53,1,53,1,53,1,53,1,53,1,53,3,53,917,8,53,1,53,1,53,1,53,1,53,1, + 53,1,53,3,53,925,8,53,5,53,927,8,53,10,53,12,53,930,9,53,1,54,1, + 54,1,54,5,54,935,8,54,10,54,12,54,938,9,54,1,55,1,55,3,55,942,8, + 55,1,56,1,56,1,56,1,56,5,56,948,8,56,10,56,12,56,951,9,56,1,56,1, + 56,1,56,1,56,1,56,5,56,958,8,56,10,56,12,56,961,9,56,3,56,963,8, + 56,1,56,1,56,1,56,1,57,1,57,1,57,5,57,971,8,57,10,57,12,57,974,9, + 57,1,57,1,57,1,57,1,57,1,57,1,57,5,57,982,8,57,10,57,12,57,985,9, + 57,1,57,1,57,3,57,989,8,57,1,57,1,57,1,57,1,57,1,57,3,57,996,8,57, + 1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,3,58,1009, + 8,58,1,59,1,59,1,59,5,59,1014,8,59,10,59,12,59,1017,9,59,1,60,1, + 60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,3,60,1029,8,60,1,61,1, + 61,1,61,1,61,3,61,1035,8,61,1,61,3,61,1038,8,61,1,62,1,62,1,62,5, + 62,1043,8,62,10,62,12,62,1046,9,62,1,63,1,63,1,63,1,63,1,63,1,63, + 1,63,1,63,1,63,3,63,1057,8,63,1,63,1,63,1,63,1,63,3,63,1063,8,63, + 5,63,1065,8,63,10,63,12,63,1068,9,63,1,64,1,64,1,64,3,64,1073,8, + 64,1,64,1,64,1,65,1,65,1,65,3,65,1080,8,65,1,65,1,65,1,66,1,66,1, + 66,5,66,1087,8,66,10,66,12,66,1090,9,66,1,67,1,67,1,68,1,68,1,68, + 1,68,1,68,1,68,3,68,1100,8,68,3,68,1102,8,68,1,69,3,69,1105,8,69, + 1,69,1,69,1,69,1,69,1,69,1,69,3,69,1113,8,69,1,70,1,70,1,70,3,70, + 1118,8,70,1,71,1,71,1,72,1,72,1,73,1,73,1,74,1,74,3,74,1128,8,74, + 1,75,1,75,1,75,3,75,1133,8,75,1,76,1,76,1,76,1,76,1,77,1,77,1,77, + 1,77,1,78,1,78,3,78,1145,8,78,1,79,1,79,5,79,1149,8,79,10,79,12, + 79,1152,9,79,1,79,1,79,1,80,1,80,1,80,1,80,1,80,3,80,1161,8,80,1, + 81,1,81,5,81,1165,8,81,10,81,12,81,1168,9,81,1,81,1,81,1,82,1,82, + 1,82,1,82,1,82,3,82,1177,8,82,1,82,0,3,68,106,126,83,0,2,4,6,8,10, + 12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54, + 56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98, + 100,102,104,106,108,110,112,114,116,118,120,122,124,126,128,130, + 132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162, + 164,0,16,2,0,17,17,72,72,2,0,42,42,49,49,3,0,1,1,4,4,8,8,4,0,1,1, + 3,4,8,8,78,78,2,0,49,49,71,71,2,0,1,1,4,4,2,0,7,7,21,22,2,0,28,28, + 47,47,2,0,69,69,74,74,3,0,10,10,48,48,87,87,2,0,39,39,51,51,1,0, + 103,104,2,0,114,114,134,134,7,0,20,20,36,36,53,54,68,68,76,76,93, + 93,99,99,12,0,1,19,21,28,30,35,37,40,42,49,51,52,56,56,58,67,69, + 75,77,92,94,95,97,98,4,0,19,19,28,28,37,37,46,46,1317,0,169,1,0, + 0,0,2,176,1,0,0,0,4,178,1,0,0,0,6,180,1,0,0,0,8,187,1,0,0,0,10,203, + 1,0,0,0,12,205,1,0,0,0,14,212,1,0,0,0,16,221,1,0,0,0,18,229,1,0, + 0,0,20,238,1,0,0,0,22,243,1,0,0,0,24,247,1,0,0,0,26,249,1,0,0,0, + 28,258,1,0,0,0,30,262,1,0,0,0,32,273,1,0,0,0,34,277,1,0,0,0,36,292, + 1,0,0,0,38,295,1,0,0,0,40,344,1,0,0,0,42,347,1,0,0,0,44,353,1,0, + 0,0,46,357,1,0,0,0,48,363,1,0,0,0,50,381,1,0,0,0,52,384,1,0,0,0, + 54,387,1,0,0,0,56,397,1,0,0,0,58,400,1,0,0,0,60,404,1,0,0,0,62,437, + 1,0,0,0,64,439,1,0,0,0,66,442,1,0,0,0,68,457,1,0,0,0,70,519,1,0, + 0,0,72,524,1,0,0,0,74,535,1,0,0,0,76,537,1,0,0,0,78,543,1,0,0,0, + 80,551,1,0,0,0,82,569,1,0,0,0,84,571,1,0,0,0,86,579,1,0,0,0,88,584, + 1,0,0,0,90,592,1,0,0,0,92,596,1,0,0,0,94,600,1,0,0,0,96,609,1,0, + 0,0,98,623,1,0,0,0,100,625,1,0,0,0,102,675,1,0,0,0,104,677,1,0,0, + 0,106,834,1,0,0,0,108,931,1,0,0,0,110,941,1,0,0,0,112,962,1,0,0, + 0,114,995,1,0,0,0,116,1008,1,0,0,0,118,1010,1,0,0,0,120,1028,1,0, + 0,0,122,1037,1,0,0,0,124,1039,1,0,0,0,126,1056,1,0,0,0,128,1069, + 1,0,0,0,130,1079,1,0,0,0,132,1083,1,0,0,0,134,1091,1,0,0,0,136,1101, + 1,0,0,0,138,1104,1,0,0,0,140,1117,1,0,0,0,142,1119,1,0,0,0,144,1121, + 1,0,0,0,146,1123,1,0,0,0,148,1127,1,0,0,0,150,1132,1,0,0,0,152,1134, + 1,0,0,0,154,1138,1,0,0,0,156,1144,1,0,0,0,158,1146,1,0,0,0,160,1160, + 1,0,0,0,162,1162,1,0,0,0,164,1176,1,0,0,0,166,168,3,2,1,0,167,166, + 1,0,0,0,168,171,1,0,0,0,169,167,1,0,0,0,169,170,1,0,0,0,170,172, + 1,0,0,0,171,169,1,0,0,0,172,173,5,0,0,1,173,1,1,0,0,0,174,177,3, + 6,3,0,175,177,3,10,5,0,176,174,1,0,0,0,176,175,1,0,0,0,177,3,1,0, + 0,0,178,179,3,106,53,0,179,5,1,0,0,0,180,181,5,50,0,0,181,185,3, + 150,75,0,182,183,5,111,0,0,183,184,5,118,0,0,184,186,3,4,2,0,185, + 182,1,0,0,0,185,186,1,0,0,0,186,7,1,0,0,0,187,192,3,150,75,0,188, + 189,5,112,0,0,189,191,3,150,75,0,190,188,1,0,0,0,191,194,1,0,0,0, + 192,190,1,0,0,0,192,193,1,0,0,0,193,9,1,0,0,0,194,192,1,0,0,0,195, + 204,3,12,6,0,196,204,3,14,7,0,197,204,3,16,8,0,198,204,3,18,9,0, + 199,204,3,20,10,0,200,204,3,22,11,0,201,204,3,24,12,0,202,204,3, + 26,13,0,203,195,1,0,0,0,203,196,1,0,0,0,203,197,1,0,0,0,203,198, + 1,0,0,0,203,199,1,0,0,0,203,200,1,0,0,0,203,201,1,0,0,0,203,202, + 1,0,0,0,204,11,1,0,0,0,205,207,5,70,0,0,206,208,3,4,2,0,207,206, + 1,0,0,0,207,208,1,0,0,0,208,210,1,0,0,0,209,211,5,145,0,0,210,209, + 1,0,0,0,210,211,1,0,0,0,211,13,1,0,0,0,212,213,5,38,0,0,213,214, + 5,126,0,0,214,215,3,4,2,0,215,216,5,144,0,0,216,219,3,10,5,0,217, + 218,5,24,0,0,218,220,3,10,5,0,219,217,1,0,0,0,219,220,1,0,0,0,220, + 15,1,0,0,0,221,222,5,96,0,0,222,223,5,126,0,0,223,224,3,4,2,0,224, + 225,5,144,0,0,225,227,3,10,5,0,226,228,5,145,0,0,227,226,1,0,0,0, + 227,228,1,0,0,0,228,17,1,0,0,0,229,230,5,29,0,0,230,231,3,150,75, + 0,231,233,5,126,0,0,232,234,3,8,4,0,233,232,1,0,0,0,233,234,1,0, + 0,0,234,235,1,0,0,0,235,236,5,144,0,0,236,237,3,26,13,0,237,19,1, + 0,0,0,238,239,3,4,2,0,239,240,5,111,0,0,240,241,5,118,0,0,241,242, + 3,4,2,0,242,21,1,0,0,0,243,245,3,4,2,0,244,246,5,145,0,0,245,244, + 1,0,0,0,245,246,1,0,0,0,246,23,1,0,0,0,247,248,5,145,0,0,248,25, + 1,0,0,0,249,253,5,124,0,0,250,252,3,2,1,0,251,250,1,0,0,0,252,255, + 1,0,0,0,253,251,1,0,0,0,253,254,1,0,0,0,254,256,1,0,0,0,255,253, + 1,0,0,0,256,257,5,142,0,0,257,27,1,0,0,0,258,259,3,4,2,0,259,260, + 5,111,0,0,260,261,3,4,2,0,261,29,1,0,0,0,262,267,3,28,14,0,263,264, + 5,112,0,0,264,266,3,28,14,0,265,263,1,0,0,0,266,269,1,0,0,0,267, + 265,1,0,0,0,267,268,1,0,0,0,268,31,1,0,0,0,269,267,1,0,0,0,270,274, + 3,34,17,0,271,274,3,38,19,0,272,274,3,114,57,0,273,270,1,0,0,0,273, + 271,1,0,0,0,273,272,1,0,0,0,274,275,1,0,0,0,275,276,5,0,0,1,276, + 33,1,0,0,0,277,283,3,36,18,0,278,279,5,91,0,0,279,280,5,1,0,0,280, + 282,3,36,18,0,281,278,1,0,0,0,282,285,1,0,0,0,283,281,1,0,0,0,283, + 284,1,0,0,0,284,35,1,0,0,0,285,283,1,0,0,0,286,293,3,38,19,0,287, + 288,5,126,0,0,288,289,3,34,17,0,289,290,5,144,0,0,290,293,1,0,0, + 0,291,293,3,154,77,0,292,286,1,0,0,0,292,287,1,0,0,0,292,291,1,0, + 0,0,293,37,1,0,0,0,294,296,3,40,20,0,295,294,1,0,0,0,295,296,1,0, + 0,0,296,297,1,0,0,0,297,299,5,77,0,0,298,300,5,23,0,0,299,298,1, + 0,0,0,299,300,1,0,0,0,300,302,1,0,0,0,301,303,3,42,21,0,302,301, + 1,0,0,0,302,303,1,0,0,0,303,304,1,0,0,0,304,306,3,104,52,0,305,307, + 3,44,22,0,306,305,1,0,0,0,306,307,1,0,0,0,307,309,1,0,0,0,308,310, + 3,46,23,0,309,308,1,0,0,0,309,310,1,0,0,0,310,312,1,0,0,0,311,313, + 3,50,25,0,312,311,1,0,0,0,312,313,1,0,0,0,313,315,1,0,0,0,314,316, + 3,52,26,0,315,314,1,0,0,0,315,316,1,0,0,0,316,318,1,0,0,0,317,319, + 3,54,27,0,318,317,1,0,0,0,318,319,1,0,0,0,319,322,1,0,0,0,320,321, + 5,98,0,0,321,323,7,0,0,0,322,320,1,0,0,0,322,323,1,0,0,0,323,326, + 1,0,0,0,324,325,5,98,0,0,325,327,5,86,0,0,326,324,1,0,0,0,326,327, + 1,0,0,0,327,329,1,0,0,0,328,330,3,56,28,0,329,328,1,0,0,0,329,330, + 1,0,0,0,330,332,1,0,0,0,331,333,3,48,24,0,332,331,1,0,0,0,332,333, + 1,0,0,0,333,335,1,0,0,0,334,336,3,58,29,0,335,334,1,0,0,0,335,336, + 1,0,0,0,336,339,1,0,0,0,337,340,3,62,31,0,338,340,3,64,32,0,339, + 337,1,0,0,0,339,338,1,0,0,0,339,340,1,0,0,0,340,342,1,0,0,0,341, + 343,3,66,33,0,342,341,1,0,0,0,342,343,1,0,0,0,343,39,1,0,0,0,344, + 345,5,98,0,0,345,346,3,118,59,0,346,41,1,0,0,0,347,348,5,85,0,0, + 348,351,5,104,0,0,349,350,5,98,0,0,350,352,5,82,0,0,351,349,1,0, + 0,0,351,352,1,0,0,0,352,43,1,0,0,0,353,354,5,32,0,0,354,355,3,68, + 34,0,355,45,1,0,0,0,356,358,7,1,0,0,357,356,1,0,0,0,357,358,1,0, + 0,0,358,359,1,0,0,0,359,360,5,5,0,0,360,361,5,45,0,0,361,362,3,104, + 52,0,362,47,1,0,0,0,363,364,5,97,0,0,364,365,3,150,75,0,365,366, + 5,6,0,0,366,367,5,126,0,0,367,368,3,88,44,0,368,378,5,144,0,0,369, + 370,5,112,0,0,370,371,3,150,75,0,371,372,5,6,0,0,372,373,5,126,0, + 0,373,374,3,88,44,0,374,375,5,144,0,0,375,377,1,0,0,0,376,369,1, + 0,0,0,377,380,1,0,0,0,378,376,1,0,0,0,378,379,1,0,0,0,379,49,1,0, + 0,0,380,378,1,0,0,0,381,382,5,67,0,0,382,383,3,106,53,0,383,51,1, + 0,0,0,384,385,5,95,0,0,385,386,3,106,53,0,386,53,1,0,0,0,387,388, + 5,34,0,0,388,395,5,11,0,0,389,390,7,0,0,0,390,391,5,126,0,0,391, + 392,3,104,52,0,392,393,5,144,0,0,393,396,1,0,0,0,394,396,3,104,52, + 0,395,389,1,0,0,0,395,394,1,0,0,0,396,55,1,0,0,0,397,398,5,35,0, + 0,398,399,3,106,53,0,399,57,1,0,0,0,400,401,5,62,0,0,401,402,5,11, + 0,0,402,403,3,78,39,0,403,59,1,0,0,0,404,405,5,62,0,0,405,406,5, + 11,0,0,406,407,3,104,52,0,407,61,1,0,0,0,408,409,5,52,0,0,409,412, + 3,106,53,0,410,411,5,112,0,0,411,413,3,106,53,0,412,410,1,0,0,0, + 412,413,1,0,0,0,413,418,1,0,0,0,414,415,5,98,0,0,415,419,5,82,0, + 0,416,417,5,11,0,0,417,419,3,104,52,0,418,414,1,0,0,0,418,416,1, + 0,0,0,418,419,1,0,0,0,419,438,1,0,0,0,420,421,5,52,0,0,421,424,3, + 106,53,0,422,423,5,98,0,0,423,425,5,82,0,0,424,422,1,0,0,0,424,425, + 1,0,0,0,425,426,1,0,0,0,426,427,5,59,0,0,427,428,3,106,53,0,428, + 438,1,0,0,0,429,430,5,52,0,0,430,431,3,106,53,0,431,432,5,59,0,0, + 432,435,3,106,53,0,433,434,5,11,0,0,434,436,3,104,52,0,435,433,1, + 0,0,0,435,436,1,0,0,0,436,438,1,0,0,0,437,408,1,0,0,0,437,420,1, + 0,0,0,437,429,1,0,0,0,438,63,1,0,0,0,439,440,5,59,0,0,440,441,3, + 106,53,0,441,65,1,0,0,0,442,443,5,79,0,0,443,444,3,84,42,0,444,67, + 1,0,0,0,445,446,6,34,-1,0,446,448,3,126,63,0,447,449,5,27,0,0,448, + 447,1,0,0,0,448,449,1,0,0,0,449,451,1,0,0,0,450,452,3,76,38,0,451, + 450,1,0,0,0,451,452,1,0,0,0,452,458,1,0,0,0,453,454,5,126,0,0,454, + 455,3,68,34,0,455,456,5,144,0,0,456,458,1,0,0,0,457,445,1,0,0,0, + 457,453,1,0,0,0,458,473,1,0,0,0,459,460,10,3,0,0,460,461,3,72,36, + 0,461,462,3,68,34,4,462,472,1,0,0,0,463,465,10,4,0,0,464,466,3,70, + 35,0,465,464,1,0,0,0,465,466,1,0,0,0,466,467,1,0,0,0,467,468,5,45, + 0,0,468,469,3,68,34,0,469,470,3,74,37,0,470,472,1,0,0,0,471,459, + 1,0,0,0,471,463,1,0,0,0,472,475,1,0,0,0,473,471,1,0,0,0,473,474, + 1,0,0,0,474,69,1,0,0,0,475,473,1,0,0,0,476,478,7,2,0,0,477,476,1, + 0,0,0,477,478,1,0,0,0,478,479,1,0,0,0,479,486,5,42,0,0,480,482,5, + 42,0,0,481,483,7,2,0,0,482,481,1,0,0,0,482,483,1,0,0,0,483,486,1, + 0,0,0,484,486,7,2,0,0,485,477,1,0,0,0,485,480,1,0,0,0,485,484,1, + 0,0,0,486,520,1,0,0,0,487,489,7,3,0,0,488,487,1,0,0,0,488,489,1, + 0,0,0,489,490,1,0,0,0,490,492,7,4,0,0,491,493,5,63,0,0,492,491,1, + 0,0,0,492,493,1,0,0,0,493,502,1,0,0,0,494,496,7,4,0,0,495,497,5, + 63,0,0,496,495,1,0,0,0,496,497,1,0,0,0,497,499,1,0,0,0,498,500,7, + 3,0,0,499,498,1,0,0,0,499,500,1,0,0,0,500,502,1,0,0,0,501,488,1, + 0,0,0,501,494,1,0,0,0,502,520,1,0,0,0,503,505,7,5,0,0,504,503,1, + 0,0,0,504,505,1,0,0,0,505,506,1,0,0,0,506,508,5,33,0,0,507,509,5, + 63,0,0,508,507,1,0,0,0,508,509,1,0,0,0,509,518,1,0,0,0,510,512,5, + 33,0,0,511,513,5,63,0,0,512,511,1,0,0,0,512,513,1,0,0,0,513,515, + 1,0,0,0,514,516,7,5,0,0,515,514,1,0,0,0,515,516,1,0,0,0,516,518, + 1,0,0,0,517,504,1,0,0,0,517,510,1,0,0,0,518,520,1,0,0,0,519,485, + 1,0,0,0,519,501,1,0,0,0,519,517,1,0,0,0,520,71,1,0,0,0,521,522,5, + 16,0,0,522,525,5,45,0,0,523,525,5,112,0,0,524,521,1,0,0,0,524,523, + 1,0,0,0,525,73,1,0,0,0,526,527,5,60,0,0,527,536,3,104,52,0,528,529, + 5,92,0,0,529,530,5,126,0,0,530,531,3,104,52,0,531,532,5,144,0,0, + 532,536,1,0,0,0,533,534,5,92,0,0,534,536,3,104,52,0,535,526,1,0, + 0,0,535,528,1,0,0,0,535,533,1,0,0,0,536,75,1,0,0,0,537,538,5,75, + 0,0,538,541,3,82,41,0,539,540,5,59,0,0,540,542,3,82,41,0,541,539, + 1,0,0,0,541,542,1,0,0,0,542,77,1,0,0,0,543,548,3,80,40,0,544,545, + 5,112,0,0,545,547,3,80,40,0,546,544,1,0,0,0,547,550,1,0,0,0,548, + 546,1,0,0,0,548,549,1,0,0,0,549,79,1,0,0,0,550,548,1,0,0,0,551,553, + 3,106,53,0,552,554,7,6,0,0,553,552,1,0,0,0,553,554,1,0,0,0,554,557, + 1,0,0,0,555,556,5,58,0,0,556,558,7,7,0,0,557,555,1,0,0,0,557,558, + 1,0,0,0,558,561,1,0,0,0,559,560,5,15,0,0,560,562,5,106,0,0,561,559, + 1,0,0,0,561,562,1,0,0,0,562,81,1,0,0,0,563,570,3,154,77,0,564,567, + 3,138,69,0,565,566,5,146,0,0,566,568,3,138,69,0,567,565,1,0,0,0, + 567,568,1,0,0,0,568,570,1,0,0,0,569,563,1,0,0,0,569,564,1,0,0,0, + 570,83,1,0,0,0,571,576,3,86,43,0,572,573,5,112,0,0,573,575,3,86, + 43,0,574,572,1,0,0,0,575,578,1,0,0,0,576,574,1,0,0,0,576,577,1,0, + 0,0,577,85,1,0,0,0,578,576,1,0,0,0,579,580,3,150,75,0,580,581,5, + 118,0,0,581,582,3,140,70,0,582,87,1,0,0,0,583,585,3,90,45,0,584, + 583,1,0,0,0,584,585,1,0,0,0,585,587,1,0,0,0,586,588,3,92,46,0,587, + 586,1,0,0,0,587,588,1,0,0,0,588,590,1,0,0,0,589,591,3,94,47,0,590, + 589,1,0,0,0,590,591,1,0,0,0,591,89,1,0,0,0,592,593,5,65,0,0,593, + 594,5,11,0,0,594,595,3,104,52,0,595,91,1,0,0,0,596,597,5,62,0,0, + 597,598,5,11,0,0,598,599,3,78,39,0,599,93,1,0,0,0,600,601,7,8,0, + 0,601,602,3,96,48,0,602,95,1,0,0,0,603,610,3,98,49,0,604,605,5,9, + 0,0,605,606,3,98,49,0,606,607,5,2,0,0,607,608,3,98,49,0,608,610, + 1,0,0,0,609,603,1,0,0,0,609,604,1,0,0,0,610,97,1,0,0,0,611,612,5, + 18,0,0,612,624,5,73,0,0,613,614,5,90,0,0,614,624,5,66,0,0,615,616, + 5,90,0,0,616,624,5,30,0,0,617,618,3,138,69,0,618,619,5,66,0,0,619, + 624,1,0,0,0,620,621,3,138,69,0,621,622,5,30,0,0,622,624,1,0,0,0, + 623,611,1,0,0,0,623,613,1,0,0,0,623,615,1,0,0,0,623,617,1,0,0,0, + 623,620,1,0,0,0,624,99,1,0,0,0,625,626,3,106,53,0,626,627,5,0,0, + 1,627,101,1,0,0,0,628,676,3,150,75,0,629,630,3,150,75,0,630,631, + 5,126,0,0,631,632,3,150,75,0,632,639,3,102,51,0,633,634,5,112,0, + 0,634,635,3,150,75,0,635,636,3,102,51,0,636,638,1,0,0,0,637,633, + 1,0,0,0,638,641,1,0,0,0,639,637,1,0,0,0,639,640,1,0,0,0,640,642, + 1,0,0,0,641,639,1,0,0,0,642,643,5,144,0,0,643,676,1,0,0,0,644,645, + 3,150,75,0,645,646,5,126,0,0,646,651,3,152,76,0,647,648,5,112,0, + 0,648,650,3,152,76,0,649,647,1,0,0,0,650,653,1,0,0,0,651,649,1,0, + 0,0,651,652,1,0,0,0,652,654,1,0,0,0,653,651,1,0,0,0,654,655,5,144, + 0,0,655,676,1,0,0,0,656,657,3,150,75,0,657,658,5,126,0,0,658,663, + 3,102,51,0,659,660,5,112,0,0,660,662,3,102,51,0,661,659,1,0,0,0, + 662,665,1,0,0,0,663,661,1,0,0,0,663,664,1,0,0,0,664,666,1,0,0,0, + 665,663,1,0,0,0,666,667,5,144,0,0,667,676,1,0,0,0,668,669,3,150, + 75,0,669,671,5,126,0,0,670,672,3,104,52,0,671,670,1,0,0,0,671,672, + 1,0,0,0,672,673,1,0,0,0,673,674,5,144,0,0,674,676,1,0,0,0,675,628, + 1,0,0,0,675,629,1,0,0,0,675,644,1,0,0,0,675,656,1,0,0,0,675,668, + 1,0,0,0,676,103,1,0,0,0,677,682,3,106,53,0,678,679,5,112,0,0,679, + 681,3,106,53,0,680,678,1,0,0,0,681,684,1,0,0,0,682,680,1,0,0,0,682, + 683,1,0,0,0,683,105,1,0,0,0,684,682,1,0,0,0,685,686,6,53,-1,0,686, + 688,5,12,0,0,687,689,3,106,53,0,688,687,1,0,0,0,688,689,1,0,0,0, + 689,695,1,0,0,0,690,691,5,94,0,0,691,692,3,106,53,0,692,693,5,81, + 0,0,693,694,3,106,53,0,694,696,1,0,0,0,695,690,1,0,0,0,696,697,1, + 0,0,0,697,695,1,0,0,0,697,698,1,0,0,0,698,701,1,0,0,0,699,700,5, + 24,0,0,700,702,3,106,53,0,701,699,1,0,0,0,701,702,1,0,0,0,702,703, + 1,0,0,0,703,704,5,25,0,0,704,835,1,0,0,0,705,706,5,13,0,0,706,707, + 5,126,0,0,707,708,3,106,53,0,708,709,5,6,0,0,709,710,3,102,51,0, + 710,711,5,144,0,0,711,835,1,0,0,0,712,713,5,19,0,0,713,835,5,106, + 0,0,714,715,5,43,0,0,715,716,3,106,53,0,716,717,3,142,71,0,717,835, + 1,0,0,0,718,719,5,80,0,0,719,720,5,126,0,0,720,721,3,106,53,0,721, + 722,5,32,0,0,722,725,3,106,53,0,723,724,5,31,0,0,724,726,3,106,53, + 0,725,723,1,0,0,0,725,726,1,0,0,0,726,727,1,0,0,0,727,728,5,144, + 0,0,728,835,1,0,0,0,729,730,5,83,0,0,730,835,5,106,0,0,731,732,5, + 88,0,0,732,733,5,126,0,0,733,734,7,9,0,0,734,735,3,156,78,0,735, + 736,5,32,0,0,736,737,3,106,53,0,737,738,5,144,0,0,738,835,1,0,0, + 0,739,740,3,150,75,0,740,742,5,126,0,0,741,743,3,104,52,0,742,741, + 1,0,0,0,742,743,1,0,0,0,743,744,1,0,0,0,744,745,5,144,0,0,745,754, + 1,0,0,0,746,748,5,126,0,0,747,749,5,23,0,0,748,747,1,0,0,0,748,749, + 1,0,0,0,749,751,1,0,0,0,750,752,3,108,54,0,751,750,1,0,0,0,751,752, + 1,0,0,0,752,753,1,0,0,0,753,755,5,144,0,0,754,746,1,0,0,0,754,755, + 1,0,0,0,755,756,1,0,0,0,756,757,5,64,0,0,757,758,5,126,0,0,758,759, + 3,88,44,0,759,760,5,144,0,0,760,835,1,0,0,0,761,762,3,150,75,0,762, + 764,5,126,0,0,763,765,3,104,52,0,764,763,1,0,0,0,764,765,1,0,0,0, + 765,766,1,0,0,0,766,767,5,144,0,0,767,776,1,0,0,0,768,770,5,126, + 0,0,769,771,5,23,0,0,770,769,1,0,0,0,770,771,1,0,0,0,771,773,1,0, + 0,0,772,774,3,108,54,0,773,772,1,0,0,0,773,774,1,0,0,0,774,775,1, + 0,0,0,775,777,5,144,0,0,776,768,1,0,0,0,776,777,1,0,0,0,777,778, + 1,0,0,0,778,779,5,64,0,0,779,780,3,150,75,0,780,835,1,0,0,0,781, + 787,3,150,75,0,782,784,5,126,0,0,783,785,3,104,52,0,784,783,1,0, + 0,0,784,785,1,0,0,0,785,786,1,0,0,0,786,788,5,144,0,0,787,782,1, + 0,0,0,787,788,1,0,0,0,788,789,1,0,0,0,789,791,5,126,0,0,790,792, + 5,23,0,0,791,790,1,0,0,0,791,792,1,0,0,0,792,794,1,0,0,0,793,795, + 3,108,54,0,794,793,1,0,0,0,794,795,1,0,0,0,795,796,1,0,0,0,796,797, + 5,144,0,0,797,835,1,0,0,0,798,835,3,114,57,0,799,835,3,158,79,0, + 800,835,3,140,70,0,801,802,5,114,0,0,802,835,3,106,53,19,803,804, + 5,56,0,0,804,835,3,106,53,13,805,806,3,130,65,0,806,807,5,116,0, + 0,807,809,1,0,0,0,808,805,1,0,0,0,808,809,1,0,0,0,809,810,1,0,0, + 0,810,835,5,108,0,0,811,812,5,126,0,0,812,813,3,34,17,0,813,814, + 5,144,0,0,814,835,1,0,0,0,815,816,5,126,0,0,816,817,3,106,53,0,817, + 818,5,144,0,0,818,835,1,0,0,0,819,820,5,126,0,0,820,821,3,104,52, + 0,821,822,5,144,0,0,822,835,1,0,0,0,823,825,5,125,0,0,824,826,3, + 104,52,0,825,824,1,0,0,0,825,826,1,0,0,0,826,827,1,0,0,0,827,835, + 5,143,0,0,828,830,5,124,0,0,829,831,3,30,15,0,830,829,1,0,0,0,830, + 831,1,0,0,0,831,832,1,0,0,0,832,835,5,142,0,0,833,835,3,122,61,0, + 834,685,1,0,0,0,834,705,1,0,0,0,834,712,1,0,0,0,834,714,1,0,0,0, + 834,718,1,0,0,0,834,729,1,0,0,0,834,731,1,0,0,0,834,739,1,0,0,0, + 834,761,1,0,0,0,834,781,1,0,0,0,834,798,1,0,0,0,834,799,1,0,0,0, + 834,800,1,0,0,0,834,801,1,0,0,0,834,803,1,0,0,0,834,808,1,0,0,0, + 834,811,1,0,0,0,834,815,1,0,0,0,834,819,1,0,0,0,834,823,1,0,0,0, + 834,828,1,0,0,0,834,833,1,0,0,0,835,928,1,0,0,0,836,840,10,18,0, + 0,837,841,5,108,0,0,838,841,5,146,0,0,839,841,5,133,0,0,840,837, + 1,0,0,0,840,838,1,0,0,0,840,839,1,0,0,0,841,842,1,0,0,0,842,927, + 3,106,53,19,843,847,10,17,0,0,844,848,5,134,0,0,845,848,5,114,0, + 0,846,848,5,113,0,0,847,844,1,0,0,0,847,845,1,0,0,0,847,846,1,0, + 0,0,848,849,1,0,0,0,849,927,3,106,53,18,850,875,10,16,0,0,851,876, + 5,117,0,0,852,876,5,118,0,0,853,876,5,129,0,0,854,876,5,127,0,0, + 855,876,5,128,0,0,856,876,5,119,0,0,857,876,5,120,0,0,858,860,5, + 56,0,0,859,858,1,0,0,0,859,860,1,0,0,0,860,861,1,0,0,0,861,863,5, + 40,0,0,862,864,5,14,0,0,863,862,1,0,0,0,863,864,1,0,0,0,864,876, + 1,0,0,0,865,867,5,56,0,0,866,865,1,0,0,0,866,867,1,0,0,0,867,868, + 1,0,0,0,868,876,7,10,0,0,869,876,5,140,0,0,870,876,5,141,0,0,871, + 876,5,131,0,0,872,876,5,122,0,0,873,876,5,123,0,0,874,876,5,130, + 0,0,875,851,1,0,0,0,875,852,1,0,0,0,875,853,1,0,0,0,875,854,1,0, + 0,0,875,855,1,0,0,0,875,856,1,0,0,0,875,857,1,0,0,0,875,859,1,0, + 0,0,875,866,1,0,0,0,875,869,1,0,0,0,875,870,1,0,0,0,875,871,1,0, + 0,0,875,872,1,0,0,0,875,873,1,0,0,0,875,874,1,0,0,0,876,877,1,0, + 0,0,877,927,3,106,53,17,878,879,10,14,0,0,879,880,5,132,0,0,880, + 927,3,106,53,15,881,882,10,12,0,0,882,883,5,2,0,0,883,927,3,106, + 53,13,884,885,10,11,0,0,885,886,5,61,0,0,886,927,3,106,53,12,887, + 889,10,10,0,0,888,890,5,56,0,0,889,888,1,0,0,0,889,890,1,0,0,0,890, + 891,1,0,0,0,891,892,5,9,0,0,892,893,3,106,53,0,893,894,5,2,0,0,894, + 895,3,106,53,11,895,927,1,0,0,0,896,897,10,9,0,0,897,898,5,135,0, + 0,898,899,3,106,53,0,899,900,5,111,0,0,900,901,3,106,53,9,901,927, + 1,0,0,0,902,903,10,22,0,0,903,904,5,125,0,0,904,905,3,106,53,0,905, + 906,5,143,0,0,906,927,1,0,0,0,907,908,10,21,0,0,908,909,5,116,0, + 0,909,927,5,104,0,0,910,911,10,20,0,0,911,912,5,116,0,0,912,927, + 3,150,75,0,913,914,10,15,0,0,914,916,5,44,0,0,915,917,5,56,0,0,916, + 915,1,0,0,0,916,917,1,0,0,0,917,918,1,0,0,0,918,927,5,57,0,0,919, + 924,10,8,0,0,920,921,5,6,0,0,921,925,3,150,75,0,922,923,5,6,0,0, + 923,925,5,106,0,0,924,920,1,0,0,0,924,922,1,0,0,0,925,927,1,0,0, + 0,926,836,1,0,0,0,926,843,1,0,0,0,926,850,1,0,0,0,926,878,1,0,0, + 0,926,881,1,0,0,0,926,884,1,0,0,0,926,887,1,0,0,0,926,896,1,0,0, + 0,926,902,1,0,0,0,926,907,1,0,0,0,926,910,1,0,0,0,926,913,1,0,0, + 0,926,919,1,0,0,0,927,930,1,0,0,0,928,926,1,0,0,0,928,929,1,0,0, + 0,929,107,1,0,0,0,930,928,1,0,0,0,931,936,3,110,55,0,932,933,5,112, + 0,0,933,935,3,110,55,0,934,932,1,0,0,0,935,938,1,0,0,0,936,934,1, + 0,0,0,936,937,1,0,0,0,937,109,1,0,0,0,938,936,1,0,0,0,939,942,3, + 112,56,0,940,942,3,106,53,0,941,939,1,0,0,0,941,940,1,0,0,0,942, + 111,1,0,0,0,943,944,5,126,0,0,944,949,3,150,75,0,945,946,5,112,0, + 0,946,948,3,150,75,0,947,945,1,0,0,0,948,951,1,0,0,0,949,947,1,0, + 0,0,949,950,1,0,0,0,950,952,1,0,0,0,951,949,1,0,0,0,952,953,5,144, + 0,0,953,963,1,0,0,0,954,959,3,150,75,0,955,956,5,112,0,0,956,958, + 3,150,75,0,957,955,1,0,0,0,958,961,1,0,0,0,959,957,1,0,0,0,959,960, + 1,0,0,0,960,963,1,0,0,0,961,959,1,0,0,0,962,943,1,0,0,0,962,954, + 1,0,0,0,963,964,1,0,0,0,964,965,5,107,0,0,965,966,3,106,53,0,966, + 113,1,0,0,0,967,968,5,128,0,0,968,972,3,150,75,0,969,971,3,116,58, + 0,970,969,1,0,0,0,971,974,1,0,0,0,972,970,1,0,0,0,972,973,1,0,0, + 0,973,975,1,0,0,0,974,972,1,0,0,0,975,976,5,146,0,0,976,977,5,120, + 0,0,977,996,1,0,0,0,978,979,5,128,0,0,979,983,3,150,75,0,980,982, + 3,116,58,0,981,980,1,0,0,0,982,985,1,0,0,0,983,981,1,0,0,0,983,984, + 1,0,0,0,984,986,1,0,0,0,985,983,1,0,0,0,986,988,5,120,0,0,987,989, + 3,114,57,0,988,987,1,0,0,0,988,989,1,0,0,0,989,990,1,0,0,0,990,991, + 5,128,0,0,991,992,5,146,0,0,992,993,3,150,75,0,993,994,5,120,0,0, + 994,996,1,0,0,0,995,967,1,0,0,0,995,978,1,0,0,0,996,115,1,0,0,0, + 997,998,3,150,75,0,998,999,5,118,0,0,999,1000,3,156,78,0,1000,1009, + 1,0,0,0,1001,1002,3,150,75,0,1002,1003,5,118,0,0,1003,1004,5,124, + 0,0,1004,1005,3,106,53,0,1005,1006,5,142,0,0,1006,1009,1,0,0,0,1007, + 1009,3,150,75,0,1008,997,1,0,0,0,1008,1001,1,0,0,0,1008,1007,1,0, + 0,0,1009,117,1,0,0,0,1010,1015,3,120,60,0,1011,1012,5,112,0,0,1012, + 1014,3,120,60,0,1013,1011,1,0,0,0,1014,1017,1,0,0,0,1015,1013,1, + 0,0,0,1015,1016,1,0,0,0,1016,119,1,0,0,0,1017,1015,1,0,0,0,1018, + 1019,3,150,75,0,1019,1020,5,6,0,0,1020,1021,5,126,0,0,1021,1022, + 3,34,17,0,1022,1023,5,144,0,0,1023,1029,1,0,0,0,1024,1025,3,106, + 53,0,1025,1026,5,6,0,0,1026,1027,3,150,75,0,1027,1029,1,0,0,0,1028, + 1018,1,0,0,0,1028,1024,1,0,0,0,1029,121,1,0,0,0,1030,1038,3,154, + 77,0,1031,1032,3,130,65,0,1032,1033,5,116,0,0,1033,1035,1,0,0,0, + 1034,1031,1,0,0,0,1034,1035,1,0,0,0,1035,1036,1,0,0,0,1036,1038, + 3,124,62,0,1037,1030,1,0,0,0,1037,1034,1,0,0,0,1038,123,1,0,0,0, + 1039,1044,3,150,75,0,1040,1041,5,116,0,0,1041,1043,3,150,75,0,1042, + 1040,1,0,0,0,1043,1046,1,0,0,0,1044,1042,1,0,0,0,1044,1045,1,0,0, + 0,1045,125,1,0,0,0,1046,1044,1,0,0,0,1047,1048,6,63,-1,0,1048,1057, + 3,130,65,0,1049,1057,3,128,64,0,1050,1051,5,126,0,0,1051,1052,3, + 34,17,0,1052,1053,5,144,0,0,1053,1057,1,0,0,0,1054,1057,3,114,57, + 0,1055,1057,3,154,77,0,1056,1047,1,0,0,0,1056,1049,1,0,0,0,1056, + 1050,1,0,0,0,1056,1054,1,0,0,0,1056,1055,1,0,0,0,1057,1066,1,0,0, + 0,1058,1062,10,3,0,0,1059,1063,3,148,74,0,1060,1061,5,6,0,0,1061, + 1063,3,150,75,0,1062,1059,1,0,0,0,1062,1060,1,0,0,0,1063,1065,1, + 0,0,0,1064,1058,1,0,0,0,1065,1068,1,0,0,0,1066,1064,1,0,0,0,1066, + 1067,1,0,0,0,1067,127,1,0,0,0,1068,1066,1,0,0,0,1069,1070,3,150, + 75,0,1070,1072,5,126,0,0,1071,1073,3,132,66,0,1072,1071,1,0,0,0, + 1072,1073,1,0,0,0,1073,1074,1,0,0,0,1074,1075,5,144,0,0,1075,129, + 1,0,0,0,1076,1077,3,134,67,0,1077,1078,5,116,0,0,1078,1080,1,0,0, + 0,1079,1076,1,0,0,0,1079,1080,1,0,0,0,1080,1081,1,0,0,0,1081,1082, + 3,150,75,0,1082,131,1,0,0,0,1083,1088,3,106,53,0,1084,1085,5,112, + 0,0,1085,1087,3,106,53,0,1086,1084,1,0,0,0,1087,1090,1,0,0,0,1088, + 1086,1,0,0,0,1088,1089,1,0,0,0,1089,133,1,0,0,0,1090,1088,1,0,0, + 0,1091,1092,3,150,75,0,1092,135,1,0,0,0,1093,1102,5,102,0,0,1094, + 1095,5,116,0,0,1095,1102,7,11,0,0,1096,1097,5,104,0,0,1097,1099, + 5,116,0,0,1098,1100,7,11,0,0,1099,1098,1,0,0,0,1099,1100,1,0,0,0, + 1100,1102,1,0,0,0,1101,1093,1,0,0,0,1101,1094,1,0,0,0,1101,1096, + 1,0,0,0,1102,137,1,0,0,0,1103,1105,7,12,0,0,1104,1103,1,0,0,0,1104, + 1105,1,0,0,0,1105,1112,1,0,0,0,1106,1113,3,136,68,0,1107,1113,5, + 103,0,0,1108,1113,5,104,0,0,1109,1113,5,105,0,0,1110,1113,5,41,0, + 0,1111,1113,5,55,0,0,1112,1106,1,0,0,0,1112,1107,1,0,0,0,1112,1108, + 1,0,0,0,1112,1109,1,0,0,0,1112,1110,1,0,0,0,1112,1111,1,0,0,0,1113, + 139,1,0,0,0,1114,1118,3,138,69,0,1115,1118,5,106,0,0,1116,1118,5, + 57,0,0,1117,1114,1,0,0,0,1117,1115,1,0,0,0,1117,1116,1,0,0,0,1118, + 141,1,0,0,0,1119,1120,7,13,0,0,1120,143,1,0,0,0,1121,1122,7,14,0, + 0,1122,145,1,0,0,0,1123,1124,7,15,0,0,1124,147,1,0,0,0,1125,1128, + 5,101,0,0,1126,1128,3,146,73,0,1127,1125,1,0,0,0,1127,1126,1,0,0, + 0,1128,149,1,0,0,0,1129,1133,5,101,0,0,1130,1133,3,142,71,0,1131, + 1133,3,144,72,0,1132,1129,1,0,0,0,1132,1130,1,0,0,0,1132,1131,1, + 0,0,0,1133,151,1,0,0,0,1134,1135,3,156,78,0,1135,1136,5,118,0,0, + 1136,1137,3,138,69,0,1137,153,1,0,0,0,1138,1139,5,124,0,0,1139,1140, + 3,150,75,0,1140,1141,5,142,0,0,1141,155,1,0,0,0,1142,1145,5,106, + 0,0,1143,1145,3,158,79,0,1144,1142,1,0,0,0,1144,1143,1,0,0,0,1145, + 157,1,0,0,0,1146,1150,5,137,0,0,1147,1149,3,160,80,0,1148,1147,1, + 0,0,0,1149,1152,1,0,0,0,1150,1148,1,0,0,0,1150,1151,1,0,0,0,1151, + 1153,1,0,0,0,1152,1150,1,0,0,0,1153,1154,5,139,0,0,1154,159,1,0, + 0,0,1155,1156,5,152,0,0,1156,1157,3,106,53,0,1157,1158,5,142,0,0, + 1158,1161,1,0,0,0,1159,1161,5,151,0,0,1160,1155,1,0,0,0,1160,1159, + 1,0,0,0,1161,161,1,0,0,0,1162,1166,5,138,0,0,1163,1165,3,164,82, + 0,1164,1163,1,0,0,0,1165,1168,1,0,0,0,1166,1164,1,0,0,0,1166,1167, + 1,0,0,0,1167,1169,1,0,0,0,1168,1166,1,0,0,0,1169,1170,5,0,0,1,1170, + 163,1,0,0,0,1171,1172,5,154,0,0,1172,1173,3,106,53,0,1173,1174,5, + 142,0,0,1174,1177,1,0,0,0,1175,1177,5,153,0,0,1176,1171,1,0,0,0, + 1176,1175,1,0,0,0,1177,165,1,0,0,0,145,169,176,185,192,203,207,210, + 219,227,233,245,253,267,273,283,292,295,299,302,306,309,312,315, + 318,322,326,329,332,335,339,342,351,357,378,395,412,418,424,435, + 437,448,451,457,465,471,473,477,482,485,488,492,496,499,501,504, + 508,512,515,517,519,524,535,541,548,553,557,561,567,569,576,584, + 587,590,609,623,639,651,663,671,675,682,688,697,701,725,742,748, + 751,754,764,770,773,776,784,787,791,794,808,825,830,834,840,847, + 859,863,866,875,889,916,924,926,928,936,941,949,959,962,972,983, + 988,995,1008,1015,1028,1034,1037,1044,1056,1062,1066,1072,1079,1088, + 1099,1101,1104,1112,1117,1127,1132,1144,1150,1160,1166,1176 ] class HogQLParser ( Parser ): @@ -557,14 +558,14 @@ class HogQLParser ( Parser ): RULE_declaration = 1 RULE_expression = 2 RULE_varDecl = 3 - RULE_varAssignment = 4 - RULE_identifierList = 5 - RULE_statement = 6 - RULE_exprStmt = 7 - RULE_ifStmt = 8 - RULE_whileStmt = 9 - RULE_returnStmt = 10 - RULE_funcStmt = 11 + RULE_identifierList = 4 + RULE_statement = 5 + RULE_returnStmt = 6 + RULE_ifStmt = 7 + RULE_whileStmt = 8 + RULE_funcStmt = 9 + RULE_varAssignment = 10 + RULE_exprStmt = 11 RULE_emptyStmt = 12 RULE_block = 13 RULE_kvPair = 14 @@ -637,12 +638,12 @@ class HogQLParser ( Parser ): RULE_fullTemplateString = 81 RULE_stringContentsFull = 82 - ruleNames = [ "program", "declaration", "expression", "varDecl", "varAssignment", - "identifierList", "statement", "exprStmt", "ifStmt", - "whileStmt", "returnStmt", "funcStmt", "emptyStmt", "block", - "kvPair", "kvPairList", "select", "selectUnionStmt", - "selectStmtWithParens", "selectStmt", "withClause", "topClause", - "fromClause", "arrayJoinClause", "windowClause", "prewhereClause", + ruleNames = [ "program", "declaration", "expression", "varDecl", "identifierList", + "statement", "returnStmt", "ifStmt", "whileStmt", "funcStmt", + "varAssignment", "exprStmt", "emptyStmt", "block", "kvPair", + "kvPairList", "select", "selectUnionStmt", "selectStmtWithParens", + "selectStmt", "withClause", "topClause", "fromClause", + "arrayJoinClause", "windowClause", "prewhereClause", "whereClause", "groupByClause", "havingClause", "orderByClause", "projectionOrderByClause", "limitAndOffsetClause", "offsetOnlyClause", "settingsClause", "joinExpr", "joinOp", "joinOpCross", @@ -994,9 +995,6 @@ def identifier(self): return self.getTypedRuleContext(HogQLParser.IdentifierContext,0) - def SEMICOLON(self): - return self.getToken(HogQLParser.SEMICOLON, 0) - def COLON(self): return self.getToken(HogQLParser.COLON, 0) @@ -1042,68 +1040,6 @@ def varDecl(self): self.expression() - self.state = 187 - self.match(HogQLParser.SEMICOLON) - except RecognitionException as re: - localctx.exception = re - self._errHandler.reportError(self, re) - self._errHandler.recover(self, re) - finally: - self.exitRule() - return localctx - - - class VarAssignmentContext(ParserRuleContext): - __slots__ = 'parser' - - def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): - super().__init__(parent, invokingState) - self.parser = parser - - def expression(self, i:int=None): - if i is None: - return self.getTypedRuleContexts(HogQLParser.ExpressionContext) - else: - return self.getTypedRuleContext(HogQLParser.ExpressionContext,i) - - - def COLON(self): - return self.getToken(HogQLParser.COLON, 0) - - def EQ_SINGLE(self): - return self.getToken(HogQLParser.EQ_SINGLE, 0) - - def SEMICOLON(self): - return self.getToken(HogQLParser.SEMICOLON, 0) - - def getRuleIndex(self): - return HogQLParser.RULE_varAssignment - - def accept(self, visitor:ParseTreeVisitor): - if hasattr( visitor, "visitVarAssignment" ): - return visitor.visitVarAssignment(self) - else: - return visitor.visitChildren(self) - - - - - def varAssignment(self): - - localctx = HogQLParser.VarAssignmentContext(self, self._ctx, self.state) - self.enterRule(localctx, 8, self.RULE_varAssignment) - try: - self.enterOuterAlt(localctx, 1) - self.state = 189 - self.expression() - self.state = 190 - self.match(HogQLParser.COLON) - self.state = 191 - self.match(HogQLParser.EQ_SINGLE) - self.state = 192 - self.expression() - self.state = 193 - self.match(HogQLParser.SEMICOLON) except RecognitionException as re: localctx.exception = re self._errHandler.reportError(self, re) @@ -1148,21 +1084,21 @@ def accept(self, visitor:ParseTreeVisitor): def identifierList(self): localctx = HogQLParser.IdentifierListContext(self, self._ctx, self.state) - self.enterRule(localctx, 10, self.RULE_identifierList) + self.enterRule(localctx, 8, self.RULE_identifierList) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 195 + self.state = 187 self.identifier() - self.state = 200 + self.state = 192 self._errHandler.sync(self) _la = self._input.LA(1) while _la==112: - self.state = 196 + self.state = 188 self.match(HogQLParser.COMMA) - self.state = 197 + self.state = 189 self.identifier() - self.state = 202 + self.state = 194 self._errHandler.sync(self) _la = self._input.LA(1) @@ -1186,14 +1122,6 @@ def returnStmt(self): return self.getTypedRuleContext(HogQLParser.ReturnStmtContext,0) - def emptyStmt(self): - return self.getTypedRuleContext(HogQLParser.EmptyStmtContext,0) - - - def exprStmt(self): - return self.getTypedRuleContext(HogQLParser.ExprStmtContext,0) - - def ifStmt(self): return self.getTypedRuleContext(HogQLParser.IfStmtContext,0) @@ -1210,6 +1138,14 @@ def varAssignment(self): return self.getTypedRuleContext(HogQLParser.VarAssignmentContext,0) + def exprStmt(self): + return self.getTypedRuleContext(HogQLParser.ExprStmtContext,0) + + + def emptyStmt(self): + return self.getTypedRuleContext(HogQLParser.EmptyStmtContext,0) + + def block(self): return self.getTypedRuleContext(HogQLParser.BlockContext,0) @@ -1229,62 +1165,56 @@ def accept(self, visitor:ParseTreeVisitor): def statement(self): localctx = HogQLParser.StatementContext(self, self._ctx, self.state) - self.enterRule(localctx, 12, self.RULE_statement) + self.enterRule(localctx, 10, self.RULE_statement) try: - self.state = 212 + self.state = 203 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,4,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 203 + self.state = 195 self.returnStmt() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 204 - self.emptyStmt() + self.state = 196 + self.ifStmt() pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 205 - self.exprStmt() + self.state = 197 + self.whileStmt() pass elif la_ == 4: self.enterOuterAlt(localctx, 4) - self.state = 206 - self.ifStmt() + self.state = 198 + self.funcStmt() pass elif la_ == 5: self.enterOuterAlt(localctx, 5) - self.state = 207 - self.whileStmt() + self.state = 199 + self.varAssignment() pass elif la_ == 6: self.enterOuterAlt(localctx, 6) - self.state = 208 - self.funcStmt() + self.state = 200 + self.exprStmt() pass elif la_ == 7: self.enterOuterAlt(localctx, 7) - self.state = 209 - self.varAssignment() + self.state = 201 + self.emptyStmt() pass elif la_ == 8: self.enterOuterAlt(localctx, 8) - self.state = 210 - self.returnStmt() - pass - - elif la_ == 9: - self.enterOuterAlt(localctx, 9) - self.state = 211 + self.state = 202 self.block() pass @@ -1298,13 +1228,16 @@ def statement(self): return localctx - class ExprStmtContext(ParserRuleContext): + class ReturnStmtContext(ParserRuleContext): __slots__ = 'parser' def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): super().__init__(parent, invokingState) self.parser = parser + def RETURN(self): + return self.getToken(HogQLParser.RETURN, 0) + def expression(self): return self.getTypedRuleContext(HogQLParser.ExpressionContext,0) @@ -1313,27 +1246,41 @@ def SEMICOLON(self): return self.getToken(HogQLParser.SEMICOLON, 0) def getRuleIndex(self): - return HogQLParser.RULE_exprStmt + return HogQLParser.RULE_returnStmt def accept(self, visitor:ParseTreeVisitor): - if hasattr( visitor, "visitExprStmt" ): - return visitor.visitExprStmt(self) + if hasattr( visitor, "visitReturnStmt" ): + return visitor.visitReturnStmt(self) else: return visitor.visitChildren(self) - def exprStmt(self): + def returnStmt(self): - localctx = HogQLParser.ExprStmtContext(self, self._ctx, self.state) - self.enterRule(localctx, 14, self.RULE_exprStmt) + localctx = HogQLParser.ReturnStmtContext(self, self._ctx, self.state) + self.enterRule(localctx, 12, self.RULE_returnStmt) try: self.enterOuterAlt(localctx, 1) - self.state = 214 - self.expression() - self.state = 215 - self.match(HogQLParser.SEMICOLON) + self.state = 205 + self.match(HogQLParser.RETURN) + self.state = 207 + self._errHandler.sync(self) + la_ = self._interp.adaptivePredict(self._input,5,self._ctx) + if la_ == 1: + self.state = 206 + self.expression() + + + self.state = 210 + self._errHandler.sync(self) + la_ = self._interp.adaptivePredict(self._input,6,self._ctx) + if la_ == 1: + self.state = 209 + self.match(HogQLParser.SEMICOLON) + + except RecognitionException as re: localctx.exception = re self._errHandler.reportError(self, re) @@ -1388,26 +1335,26 @@ def accept(self, visitor:ParseTreeVisitor): def ifStmt(self): localctx = HogQLParser.IfStmtContext(self, self._ctx, self.state) - self.enterRule(localctx, 16, self.RULE_ifStmt) + self.enterRule(localctx, 14, self.RULE_ifStmt) try: self.enterOuterAlt(localctx, 1) - self.state = 217 + self.state = 212 self.match(HogQLParser.IF) - self.state = 218 + self.state = 213 self.match(HogQLParser.LPAREN) - self.state = 219 + self.state = 214 self.expression() - self.state = 220 + self.state = 215 self.match(HogQLParser.RPAREN) - self.state = 221 + self.state = 216 self.statement() - self.state = 224 + self.state = 219 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,5,self._ctx) + la_ = self._interp.adaptivePredict(self._input,7,self._ctx) if la_ == 1: - self.state = 222 + self.state = 217 self.match(HogQLParser.ELSE) - self.state = 223 + self.state = 218 self.statement() @@ -1444,6 +1391,9 @@ def statement(self): return self.getTypedRuleContext(HogQLParser.StatementContext,0) + def SEMICOLON(self): + return self.getToken(HogQLParser.SEMICOLON, 0) + def getRuleIndex(self): return HogQLParser.RULE_whileStmt @@ -1459,19 +1409,27 @@ def accept(self, visitor:ParseTreeVisitor): def whileStmt(self): localctx = HogQLParser.WhileStmtContext(self, self._ctx, self.state) - self.enterRule(localctx, 18, self.RULE_whileStmt) + self.enterRule(localctx, 16, self.RULE_whileStmt) try: self.enterOuterAlt(localctx, 1) - self.state = 226 + self.state = 221 self.match(HogQLParser.WHILE) - self.state = 227 + self.state = 222 self.match(HogQLParser.LPAREN) - self.state = 228 + self.state = 223 self.expression() - self.state = 229 + self.state = 224 self.match(HogQLParser.RPAREN) - self.state = 230 + self.state = 225 self.statement() + self.state = 227 + self._errHandler.sync(self) + la_ = self._interp.adaptivePredict(self._input,8,self._ctx) + if la_ == 1: + self.state = 226 + self.match(HogQLParser.SEMICOLON) + + except RecognitionException as re: localctx.exception = re self._errHandler.reportError(self, re) @@ -1481,47 +1439,71 @@ def whileStmt(self): return localctx - class ReturnStmtContext(ParserRuleContext): + class FuncStmtContext(ParserRuleContext): __slots__ = 'parser' def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): super().__init__(parent, invokingState) self.parser = parser - def RETURN(self): - return self.getToken(HogQLParser.RETURN, 0) + def FN(self): + return self.getToken(HogQLParser.FN, 0) - def expression(self): - return self.getTypedRuleContext(HogQLParser.ExpressionContext,0) + def identifier(self): + return self.getTypedRuleContext(HogQLParser.IdentifierContext,0) - def SEMICOLON(self): - return self.getToken(HogQLParser.SEMICOLON, 0) + def LPAREN(self): + return self.getToken(HogQLParser.LPAREN, 0) + + def RPAREN(self): + return self.getToken(HogQLParser.RPAREN, 0) + + def block(self): + return self.getTypedRuleContext(HogQLParser.BlockContext,0) + + + def identifierList(self): + return self.getTypedRuleContext(HogQLParser.IdentifierListContext,0) + def getRuleIndex(self): - return HogQLParser.RULE_returnStmt + return HogQLParser.RULE_funcStmt def accept(self, visitor:ParseTreeVisitor): - if hasattr( visitor, "visitReturnStmt" ): - return visitor.visitReturnStmt(self) + if hasattr( visitor, "visitFuncStmt" ): + return visitor.visitFuncStmt(self) else: return visitor.visitChildren(self) - def returnStmt(self): + def funcStmt(self): - localctx = HogQLParser.ReturnStmtContext(self, self._ctx, self.state) - self.enterRule(localctx, 20, self.RULE_returnStmt) + localctx = HogQLParser.FuncStmtContext(self, self._ctx, self.state) + self.enterRule(localctx, 18, self.RULE_funcStmt) + self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 232 - self.match(HogQLParser.RETURN) + self.state = 229 + self.match(HogQLParser.FN) + self.state = 230 + self.identifier() + self.state = 231 + self.match(HogQLParser.LPAREN) self.state = 233 - self.expression() - self.state = 234 - self.match(HogQLParser.SEMICOLON) + self._errHandler.sync(self) + _la = self._input.LA(1) + if (((_la) & ~0x3f) == 0 and ((1 << _la) & -181272084561788930) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 201863462911) != 0): + self.state = 232 + self.identifierList() + + + self.state = 235 + self.match(HogQLParser.RPAREN) + self.state = 236 + self.block() except RecognitionException as re: localctx.exception = re self._errHandler.reportError(self, re) @@ -1531,71 +1513,103 @@ def returnStmt(self): return localctx - class FuncStmtContext(ParserRuleContext): + class VarAssignmentContext(ParserRuleContext): __slots__ = 'parser' def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): super().__init__(parent, invokingState) self.parser = parser - def FN(self): - return self.getToken(HogQLParser.FN, 0) + def expression(self, i:int=None): + if i is None: + return self.getTypedRuleContexts(HogQLParser.ExpressionContext) + else: + return self.getTypedRuleContext(HogQLParser.ExpressionContext,i) - def identifier(self): - return self.getTypedRuleContext(HogQLParser.IdentifierContext,0) + def COLON(self): + return self.getToken(HogQLParser.COLON, 0) - def LPAREN(self): - return self.getToken(HogQLParser.LPAREN, 0) + def EQ_SINGLE(self): + return self.getToken(HogQLParser.EQ_SINGLE, 0) - def RPAREN(self): - return self.getToken(HogQLParser.RPAREN, 0) + def getRuleIndex(self): + return HogQLParser.RULE_varAssignment - def block(self): - return self.getTypedRuleContext(HogQLParser.BlockContext,0) + def accept(self, visitor:ParseTreeVisitor): + if hasattr( visitor, "visitVarAssignment" ): + return visitor.visitVarAssignment(self) + else: + return visitor.visitChildren(self) - def identifierList(self): - return self.getTypedRuleContext(HogQLParser.IdentifierListContext,0) + def varAssignment(self): + + localctx = HogQLParser.VarAssignmentContext(self, self._ctx, self.state) + self.enterRule(localctx, 20, self.RULE_varAssignment) + try: + self.enterOuterAlt(localctx, 1) + self.state = 238 + self.expression() + self.state = 239 + self.match(HogQLParser.COLON) + self.state = 240 + self.match(HogQLParser.EQ_SINGLE) + self.state = 241 + self.expression() + except RecognitionException as re: + localctx.exception = re + self._errHandler.reportError(self, re) + self._errHandler.recover(self, re) + finally: + self.exitRule() + return localctx + + + class ExprStmtContext(ParserRuleContext): + __slots__ = 'parser' + + def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): + super().__init__(parent, invokingState) + self.parser = parser + + def expression(self): + return self.getTypedRuleContext(HogQLParser.ExpressionContext,0) + + + def SEMICOLON(self): + return self.getToken(HogQLParser.SEMICOLON, 0) + def getRuleIndex(self): - return HogQLParser.RULE_funcStmt + return HogQLParser.RULE_exprStmt def accept(self, visitor:ParseTreeVisitor): - if hasattr( visitor, "visitFuncStmt" ): - return visitor.visitFuncStmt(self) + if hasattr( visitor, "visitExprStmt" ): + return visitor.visitExprStmt(self) else: return visitor.visitChildren(self) - def funcStmt(self): + def exprStmt(self): - localctx = HogQLParser.FuncStmtContext(self, self._ctx, self.state) - self.enterRule(localctx, 22, self.RULE_funcStmt) - self._la = 0 # Token type + localctx = HogQLParser.ExprStmtContext(self, self._ctx, self.state) + self.enterRule(localctx, 22, self.RULE_exprStmt) try: self.enterOuterAlt(localctx, 1) - self.state = 236 - self.match(HogQLParser.FN) - self.state = 237 - self.identifier() - self.state = 238 - self.match(HogQLParser.LPAREN) - self.state = 240 + self.state = 243 + self.expression() + self.state = 245 self._errHandler.sync(self) - _la = self._input.LA(1) - if (((_la) & ~0x3f) == 0 and ((1 << _la) & -181272084561788930) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 201863462911) != 0): - self.state = 239 - self.identifierList() + la_ = self._interp.adaptivePredict(self._input,10,self._ctx) + if la_ == 1: + self.state = 244 + self.match(HogQLParser.SEMICOLON) - self.state = 242 - self.match(HogQLParser.RPAREN) - self.state = 243 - self.block() except RecognitionException as re: localctx.exception = re self._errHandler.reportError(self, re) @@ -1633,7 +1647,7 @@ def emptyStmt(self): self.enterRule(localctx, 24, self.RULE_emptyStmt) try: self.enterOuterAlt(localctx, 1) - self.state = 245 + self.state = 247 self.match(HogQLParser.SEMICOLON) except RecognitionException as re: localctx.exception = re @@ -1683,19 +1697,19 @@ def block(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 247 + self.state = 249 self.match(HogQLParser.LBRACE) - self.state = 251 + self.state = 253 self._errHandler.sync(self) _la = self._input.LA(1) while (((_la) & ~0x3f) == 0 and ((1 << _la) & -2) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 8076106351341731839) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & 131649) != 0): - self.state = 248 + self.state = 250 self.declaration() - self.state = 253 + self.state = 255 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 254 + self.state = 256 self.match(HogQLParser.RBRACE) except RecognitionException as re: localctx.exception = re @@ -1741,11 +1755,11 @@ def kvPair(self): self.enterRule(localctx, 28, self.RULE_kvPair) try: self.enterOuterAlt(localctx, 1) - self.state = 256 + self.state = 258 self.expression() - self.state = 257 + self.state = 259 self.match(HogQLParser.COLON) - self.state = 258 + self.state = 260 self.expression() except RecognitionException as re: localctx.exception = re @@ -1795,17 +1809,17 @@ def kvPairList(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 260 + self.state = 262 self.kvPair() - self.state = 265 + self.state = 267 self._errHandler.sync(self) _la = self._input.LA(1) while _la==112: - self.state = 261 + self.state = 263 self.match(HogQLParser.COMMA) - self.state = 262 + self.state = 264 self.kvPair() - self.state = 267 + self.state = 269 self._errHandler.sync(self) _la = self._input.LA(1) @@ -1858,26 +1872,26 @@ def select(self): self.enterRule(localctx, 32, self.RULE_select) try: self.enterOuterAlt(localctx, 1) - self.state = 271 + self.state = 273 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,9,self._ctx) + la_ = self._interp.adaptivePredict(self._input,13,self._ctx) if la_ == 1: - self.state = 268 + self.state = 270 self.selectUnionStmt() pass elif la_ == 2: - self.state = 269 + self.state = 271 self.selectStmt() pass elif la_ == 3: - self.state = 270 + self.state = 272 self.hogqlxTagElement() pass - self.state = 273 + self.state = 275 self.match(HogQLParser.EOF) except RecognitionException as re: localctx.exception = re @@ -1933,19 +1947,19 @@ def selectUnionStmt(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 275 + self.state = 277 self.selectStmtWithParens() - self.state = 281 + self.state = 283 self._errHandler.sync(self) _la = self._input.LA(1) while _la==91: - self.state = 276 + self.state = 278 self.match(HogQLParser.UNION) - self.state = 277 + self.state = 279 self.match(HogQLParser.ALL) - self.state = 278 + self.state = 280 self.selectStmtWithParens() - self.state = 283 + self.state = 285 self._errHandler.sync(self) _la = self._input.LA(1) @@ -2000,26 +2014,26 @@ def selectStmtWithParens(self): localctx = HogQLParser.SelectStmtWithParensContext(self, self._ctx, self.state) self.enterRule(localctx, 36, self.RULE_selectStmtWithParens) try: - self.state = 290 + self.state = 292 self._errHandler.sync(self) token = self._input.LA(1) if token in [77, 98]: self.enterOuterAlt(localctx, 1) - self.state = 284 + self.state = 286 self.selectStmt() pass elif token in [126]: self.enterOuterAlt(localctx, 2) - self.state = 285 + self.state = 287 self.match(HogQLParser.LPAREN) - self.state = 286 + self.state = 288 self.selectUnionStmt() - self.state = 287 + self.state = 289 self.match(HogQLParser.RPAREN) pass elif token in [124]: self.enterOuterAlt(localctx, 3) - self.state = 289 + self.state = 291 self.placeholder() pass else: @@ -2141,81 +2155,81 @@ def selectStmt(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 293 + self.state = 295 self._errHandler.sync(self) _la = self._input.LA(1) if _la==98: - self.state = 292 + self.state = 294 localctx.with_ = self.withClause() - self.state = 295 - self.match(HogQLParser.SELECT) self.state = 297 + self.match(HogQLParser.SELECT) + self.state = 299 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,13,self._ctx) + la_ = self._interp.adaptivePredict(self._input,17,self._ctx) if la_ == 1: - self.state = 296 + self.state = 298 self.match(HogQLParser.DISTINCT) - self.state = 300 + self.state = 302 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,14,self._ctx) + la_ = self._interp.adaptivePredict(self._input,18,self._ctx) if la_ == 1: - self.state = 299 + self.state = 301 self.topClause() - self.state = 302 - localctx.columns = self.columnExprList() self.state = 304 + localctx.columns = self.columnExprList() + self.state = 306 self._errHandler.sync(self) _la = self._input.LA(1) if _la==32: - self.state = 303 + self.state = 305 localctx.from_ = self.fromClause() - self.state = 307 + self.state = 309 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & 567347999932448) != 0): - self.state = 306 + self.state = 308 self.arrayJoinClause() - self.state = 310 + self.state = 312 self._errHandler.sync(self) _la = self._input.LA(1) if _la==67: - self.state = 309 + self.state = 311 self.prewhereClause() - self.state = 313 + self.state = 315 self._errHandler.sync(self) _la = self._input.LA(1) if _la==95: - self.state = 312 + self.state = 314 localctx.where = self.whereClause() - self.state = 316 + self.state = 318 self._errHandler.sync(self) _la = self._input.LA(1) if _la==34: - self.state = 315 + self.state = 317 self.groupByClause() - self.state = 320 + self.state = 322 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,20,self._ctx) + la_ = self._interp.adaptivePredict(self._input,24,self._ctx) if la_ == 1: - self.state = 318 + self.state = 320 self.match(HogQLParser.WITH) - self.state = 319 + self.state = 321 _la = self._input.LA(1) if not(_la==17 or _la==72): self._errHandler.recoverInline(self) @@ -2224,60 +2238,60 @@ def selectStmt(self): self.consume() - self.state = 324 + self.state = 326 self._errHandler.sync(self) _la = self._input.LA(1) if _la==98: - self.state = 322 + self.state = 324 self.match(HogQLParser.WITH) - self.state = 323 + self.state = 325 self.match(HogQLParser.TOTALS) - self.state = 327 + self.state = 329 self._errHandler.sync(self) _la = self._input.LA(1) if _la==35: - self.state = 326 + self.state = 328 self.havingClause() - self.state = 330 + self.state = 332 self._errHandler.sync(self) _la = self._input.LA(1) if _la==97: - self.state = 329 + self.state = 331 self.windowClause() - self.state = 333 + self.state = 335 self._errHandler.sync(self) _la = self._input.LA(1) if _la==62: - self.state = 332 + self.state = 334 self.orderByClause() - self.state = 337 + self.state = 339 self._errHandler.sync(self) token = self._input.LA(1) if token in [52]: - self.state = 335 + self.state = 337 self.limitAndOffsetClause() pass elif token in [59]: - self.state = 336 + self.state = 338 self.offsetOnlyClause() pass elif token in [-1, 79, 91, 144]: pass else: pass - self.state = 340 + self.state = 342 self._errHandler.sync(self) _la = self._input.LA(1) if _la==79: - self.state = 339 + self.state = 341 self.settingsClause() @@ -2322,9 +2336,9 @@ def withClause(self): self.enterRule(localctx, 40, self.RULE_withClause) try: self.enterOuterAlt(localctx, 1) - self.state = 342 + self.state = 344 self.match(HogQLParser.WITH) - self.state = 343 + self.state = 345 self.withExprList() except RecognitionException as re: localctx.exception = re @@ -2372,17 +2386,17 @@ def topClause(self): self.enterRule(localctx, 42, self.RULE_topClause) try: self.enterOuterAlt(localctx, 1) - self.state = 345 + self.state = 347 self.match(HogQLParser.TOP) - self.state = 346 + self.state = 348 self.match(HogQLParser.DECIMAL_LITERAL) - self.state = 349 + self.state = 351 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,27,self._ctx) + la_ = self._interp.adaptivePredict(self._input,31,self._ctx) if la_ == 1: - self.state = 347 + self.state = 349 self.match(HogQLParser.WITH) - self.state = 348 + self.state = 350 self.match(HogQLParser.TIES) @@ -2427,9 +2441,9 @@ def fromClause(self): self.enterRule(localctx, 44, self.RULE_fromClause) try: self.enterOuterAlt(localctx, 1) - self.state = 351 + self.state = 353 self.match(HogQLParser.FROM) - self.state = 352 + self.state = 354 self.joinExpr(0) except RecognitionException as re: localctx.exception = re @@ -2482,11 +2496,11 @@ def arrayJoinClause(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 355 + self.state = 357 self._errHandler.sync(self) _la = self._input.LA(1) if _la==42 or _la==49: - self.state = 354 + self.state = 356 _la = self._input.LA(1) if not(_la==42 or _la==49): self._errHandler.recoverInline(self) @@ -2495,11 +2509,11 @@ def arrayJoinClause(self): self.consume() - self.state = 357 + self.state = 359 self.match(HogQLParser.ARRAY) - self.state = 358 + self.state = 360 self.match(HogQLParser.JOIN) - self.state = 359 + self.state = 361 self.columnExprList() except RecognitionException as re: localctx.exception = re @@ -2577,35 +2591,35 @@ def windowClause(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 361 + self.state = 363 self.match(HogQLParser.WINDOW) - self.state = 362 + self.state = 364 self.identifier() - self.state = 363 + self.state = 365 self.match(HogQLParser.AS) - self.state = 364 + self.state = 366 self.match(HogQLParser.LPAREN) - self.state = 365 + self.state = 367 self.windowExpr() - self.state = 366 + self.state = 368 self.match(HogQLParser.RPAREN) - self.state = 376 + self.state = 378 self._errHandler.sync(self) _la = self._input.LA(1) while _la==112: - self.state = 367 + self.state = 369 self.match(HogQLParser.COMMA) - self.state = 368 + self.state = 370 self.identifier() - self.state = 369 + self.state = 371 self.match(HogQLParser.AS) - self.state = 370 + self.state = 372 self.match(HogQLParser.LPAREN) - self.state = 371 + self.state = 373 self.windowExpr() - self.state = 372 + self.state = 374 self.match(HogQLParser.RPAREN) - self.state = 378 + self.state = 380 self._errHandler.sync(self) _la = self._input.LA(1) @@ -2650,9 +2664,9 @@ def prewhereClause(self): self.enterRule(localctx, 50, self.RULE_prewhereClause) try: self.enterOuterAlt(localctx, 1) - self.state = 379 + self.state = 381 self.match(HogQLParser.PREWHERE) - self.state = 380 + self.state = 382 self.columnExpr(0) except RecognitionException as re: localctx.exception = re @@ -2695,9 +2709,9 @@ def whereClause(self): self.enterRule(localctx, 52, self.RULE_whereClause) try: self.enterOuterAlt(localctx, 1) - self.state = 382 + self.state = 384 self.match(HogQLParser.WHERE) - self.state = 383 + self.state = 385 self.columnExpr(0) except RecognitionException as re: localctx.exception = re @@ -2756,31 +2770,31 @@ def groupByClause(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 385 + self.state = 387 self.match(HogQLParser.GROUP) - self.state = 386 + self.state = 388 self.match(HogQLParser.BY) - self.state = 393 + self.state = 395 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,30,self._ctx) + la_ = self._interp.adaptivePredict(self._input,34,self._ctx) if la_ == 1: - self.state = 387 + self.state = 389 _la = self._input.LA(1) if not(_la==17 or _la==72): self._errHandler.recoverInline(self) else: self._errHandler.reportMatch(self) self.consume() - self.state = 388 + self.state = 390 self.match(HogQLParser.LPAREN) - self.state = 389 + self.state = 391 self.columnExprList() - self.state = 390 + self.state = 392 self.match(HogQLParser.RPAREN) pass elif la_ == 2: - self.state = 392 + self.state = 394 self.columnExprList() pass @@ -2826,9 +2840,9 @@ def havingClause(self): self.enterRule(localctx, 56, self.RULE_havingClause) try: self.enterOuterAlt(localctx, 1) - self.state = 395 + self.state = 397 self.match(HogQLParser.HAVING) - self.state = 396 + self.state = 398 self.columnExpr(0) except RecognitionException as re: localctx.exception = re @@ -2874,11 +2888,11 @@ def orderByClause(self): self.enterRule(localctx, 58, self.RULE_orderByClause) try: self.enterOuterAlt(localctx, 1) - self.state = 398 + self.state = 400 self.match(HogQLParser.ORDER) - self.state = 399 + self.state = 401 self.match(HogQLParser.BY) - self.state = 400 + self.state = 402 self.orderExprList() except RecognitionException as re: localctx.exception = re @@ -2924,11 +2938,11 @@ def projectionOrderByClause(self): self.enterRule(localctx, 60, self.RULE_projectionOrderByClause) try: self.enterOuterAlt(localctx, 1) - self.state = 402 + self.state = 404 self.match(HogQLParser.ORDER) - self.state = 403 + self.state = 405 self.match(HogQLParser.BY) - self.state = 404 + self.state = 406 self.columnExprList() except RecognitionException as re: localctx.exception = re @@ -2993,38 +3007,38 @@ def limitAndOffsetClause(self): self.enterRule(localctx, 62, self.RULE_limitAndOffsetClause) self._la = 0 # Token type try: - self.state = 435 + self.state = 437 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,35,self._ctx) + la_ = self._interp.adaptivePredict(self._input,39,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 406 + self.state = 408 self.match(HogQLParser.LIMIT) - self.state = 407 + self.state = 409 self.columnExpr(0) - self.state = 410 + self.state = 412 self._errHandler.sync(self) _la = self._input.LA(1) if _la==112: - self.state = 408 + self.state = 410 self.match(HogQLParser.COMMA) - self.state = 409 + self.state = 411 self.columnExpr(0) - self.state = 416 + self.state = 418 self._errHandler.sync(self) token = self._input.LA(1) if token in [98]: - self.state = 412 + self.state = 414 self.match(HogQLParser.WITH) - self.state = 413 + self.state = 415 self.match(HogQLParser.TIES) pass elif token in [11]: - self.state = 414 + self.state = 416 self.match(HogQLParser.BY) - self.state = 415 + self.state = 417 self.columnExprList() pass elif token in [-1, 79, 91, 144]: @@ -3035,43 +3049,43 @@ def limitAndOffsetClause(self): elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 418 + self.state = 420 self.match(HogQLParser.LIMIT) - self.state = 419 + self.state = 421 self.columnExpr(0) - self.state = 422 + self.state = 424 self._errHandler.sync(self) _la = self._input.LA(1) if _la==98: - self.state = 420 + self.state = 422 self.match(HogQLParser.WITH) - self.state = 421 + self.state = 423 self.match(HogQLParser.TIES) - self.state = 424 + self.state = 426 self.match(HogQLParser.OFFSET) - self.state = 425 + self.state = 427 self.columnExpr(0) pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 427 + self.state = 429 self.match(HogQLParser.LIMIT) - self.state = 428 + self.state = 430 self.columnExpr(0) - self.state = 429 + self.state = 431 self.match(HogQLParser.OFFSET) - self.state = 430 + self.state = 432 self.columnExpr(0) - self.state = 433 + self.state = 435 self._errHandler.sync(self) _la = self._input.LA(1) if _la==11: - self.state = 431 + self.state = 433 self.match(HogQLParser.BY) - self.state = 432 + self.state = 434 self.columnExprList() @@ -3119,9 +3133,9 @@ def offsetOnlyClause(self): self.enterRule(localctx, 64, self.RULE_offsetOnlyClause) try: self.enterOuterAlt(localctx, 1) - self.state = 437 + self.state = 439 self.match(HogQLParser.OFFSET) - self.state = 438 + self.state = 440 self.columnExpr(0) except RecognitionException as re: localctx.exception = re @@ -3164,9 +3178,9 @@ def settingsClause(self): self.enterRule(localctx, 66, self.RULE_settingsClause) try: self.enterOuterAlt(localctx, 1) - self.state = 440 + self.state = 442 self.match(HogQLParser.SETTINGS) - self.state = 441 + self.state = 443 self.settingExprList() except RecognitionException as re: localctx.exception = re @@ -3298,29 +3312,29 @@ def joinExpr(self, _p:int=0): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 455 + self.state = 457 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,38,self._ctx) + la_ = self._interp.adaptivePredict(self._input,42,self._ctx) if la_ == 1: localctx = HogQLParser.JoinExprTableContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 444 - self.tableExpr(0) self.state = 446 + self.tableExpr(0) + self.state = 448 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,36,self._ctx) + la_ = self._interp.adaptivePredict(self._input,40,self._ctx) if la_ == 1: - self.state = 445 + self.state = 447 self.match(HogQLParser.FINAL) - self.state = 449 + self.state = 451 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,37,self._ctx) + la_ = self._interp.adaptivePredict(self._input,41,self._ctx) if la_ == 1: - self.state = 448 + self.state = 450 self.sampleClause() @@ -3330,67 +3344,67 @@ def joinExpr(self, _p:int=0): localctx = HogQLParser.JoinExprParensContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 451 + self.state = 453 self.match(HogQLParser.LPAREN) - self.state = 452 + self.state = 454 self.joinExpr(0) - self.state = 453 + self.state = 455 self.match(HogQLParser.RPAREN) pass self._ctx.stop = self._input.LT(-1) - self.state = 471 + self.state = 473 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,41,self._ctx) + _alt = self._interp.adaptivePredict(self._input,45,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: if self._parseListeners is not None: self.triggerExitRuleEvent() _prevctx = localctx - self.state = 469 + self.state = 471 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,40,self._ctx) + la_ = self._interp.adaptivePredict(self._input,44,self._ctx) if la_ == 1: localctx = HogQLParser.JoinExprCrossOpContext(self, HogQLParser.JoinExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_joinExpr) - self.state = 457 + self.state = 459 if not self.precpred(self._ctx, 3): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 3)") - self.state = 458 + self.state = 460 self.joinOpCross() - self.state = 459 + self.state = 461 self.joinExpr(4) pass elif la_ == 2: localctx = HogQLParser.JoinExprOpContext(self, HogQLParser.JoinExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_joinExpr) - self.state = 461 + self.state = 463 if not self.precpred(self._ctx, 4): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 4)") - self.state = 463 + self.state = 465 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & 567356589867290) != 0) or _la==71 or _la==78: - self.state = 462 + self.state = 464 self.joinOp() - self.state = 465 + self.state = 467 self.match(HogQLParser.JOIN) - self.state = 466 + self.state = 468 self.joinExpr(0) - self.state = 467 + self.state = 469 self.joinConstraintClause() pass - self.state = 473 + self.state = 475 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,41,self._ctx) + _alt = self._interp.adaptivePredict(self._input,45,self._ctx) except RecognitionException as re: localctx.exception = re @@ -3499,21 +3513,21 @@ def joinOp(self): self.enterRule(localctx, 70, self.RULE_joinOp) self._la = 0 # Token type try: - self.state = 517 + self.state = 519 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,55,self._ctx) + la_ = self._interp.adaptivePredict(self._input,59,self._ctx) if la_ == 1: localctx = HogQLParser.JoinOpInnerContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 483 + self.state = 485 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,44,self._ctx) + la_ = self._interp.adaptivePredict(self._input,48,self._ctx) if la_ == 1: - self.state = 475 + self.state = 477 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & 274) != 0): - self.state = 474 + self.state = 476 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 274) != 0)): self._errHandler.recoverInline(self) @@ -3522,18 +3536,18 @@ def joinOp(self): self.consume() - self.state = 477 + self.state = 479 self.match(HogQLParser.INNER) pass elif la_ == 2: - self.state = 478 - self.match(HogQLParser.INNER) self.state = 480 + self.match(HogQLParser.INNER) + self.state = 482 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & 274) != 0): - self.state = 479 + self.state = 481 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 274) != 0)): self._errHandler.recoverInline(self) @@ -3545,7 +3559,7 @@ def joinOp(self): pass elif la_ == 3: - self.state = 482 + self.state = 484 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 274) != 0)): self._errHandler.recoverInline(self) @@ -3560,15 +3574,15 @@ def joinOp(self): elif la_ == 2: localctx = HogQLParser.JoinOpLeftRightContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 499 + self.state = 501 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,49,self._ctx) + la_ = self._interp.adaptivePredict(self._input,53,self._ctx) if la_ == 1: - self.state = 486 + self.state = 488 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & 282) != 0) or _la==78: - self.state = 485 + self.state = 487 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 282) != 0) or _la==78): self._errHandler.recoverInline(self) @@ -3577,44 +3591,44 @@ def joinOp(self): self.consume() - self.state = 488 + self.state = 490 _la = self._input.LA(1) if not(_la==49 or _la==71): self._errHandler.recoverInline(self) else: self._errHandler.reportMatch(self) self.consume() - self.state = 490 + self.state = 492 self._errHandler.sync(self) _la = self._input.LA(1) if _la==63: - self.state = 489 + self.state = 491 self.match(HogQLParser.OUTER) pass elif la_ == 2: - self.state = 492 + self.state = 494 _la = self._input.LA(1) if not(_la==49 or _la==71): self._errHandler.recoverInline(self) else: self._errHandler.reportMatch(self) self.consume() - self.state = 494 + self.state = 496 self._errHandler.sync(self) _la = self._input.LA(1) if _la==63: - self.state = 493 + self.state = 495 self.match(HogQLParser.OUTER) - self.state = 497 + self.state = 499 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & 282) != 0) or _la==78: - self.state = 496 + self.state = 498 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 282) != 0) or _la==78): self._errHandler.recoverInline(self) @@ -3631,15 +3645,15 @@ def joinOp(self): elif la_ == 3: localctx = HogQLParser.JoinOpFullContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 515 + self.state = 517 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,54,self._ctx) + la_ = self._interp.adaptivePredict(self._input,58,self._ctx) if la_ == 1: - self.state = 502 + self.state = 504 self._errHandler.sync(self) _la = self._input.LA(1) if _la==1 or _la==4: - self.state = 501 + self.state = 503 _la = self._input.LA(1) if not(_la==1 or _la==4): self._errHandler.recoverInline(self) @@ -3648,34 +3662,34 @@ def joinOp(self): self.consume() - self.state = 504 - self.match(HogQLParser.FULL) self.state = 506 + self.match(HogQLParser.FULL) + self.state = 508 self._errHandler.sync(self) _la = self._input.LA(1) if _la==63: - self.state = 505 + self.state = 507 self.match(HogQLParser.OUTER) pass elif la_ == 2: - self.state = 508 - self.match(HogQLParser.FULL) self.state = 510 + self.match(HogQLParser.FULL) + self.state = 512 self._errHandler.sync(self) _la = self._input.LA(1) if _la==63: - self.state = 509 + self.state = 511 self.match(HogQLParser.OUTER) - self.state = 513 + self.state = 515 self._errHandler.sync(self) _la = self._input.LA(1) if _la==1 or _la==4: - self.state = 512 + self.state = 514 _la = self._input.LA(1) if not(_la==1 or _la==4): self._errHandler.recoverInline(self) @@ -3732,19 +3746,19 @@ def joinOpCross(self): localctx = HogQLParser.JoinOpCrossContext(self, self._ctx, self.state) self.enterRule(localctx, 72, self.RULE_joinOpCross) try: - self.state = 522 + self.state = 524 self._errHandler.sync(self) token = self._input.LA(1) if token in [16]: self.enterOuterAlt(localctx, 1) - self.state = 519 + self.state = 521 self.match(HogQLParser.CROSS) - self.state = 520 + self.state = 522 self.match(HogQLParser.JOIN) pass elif token in [112]: self.enterOuterAlt(localctx, 2) - self.state = 521 + self.state = 523 self.match(HogQLParser.COMMA) pass else: @@ -3799,34 +3813,34 @@ def joinConstraintClause(self): localctx = HogQLParser.JoinConstraintClauseContext(self, self._ctx, self.state) self.enterRule(localctx, 74, self.RULE_joinConstraintClause) try: - self.state = 533 + self.state = 535 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,57,self._ctx) + la_ = self._interp.adaptivePredict(self._input,61,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 524 + self.state = 526 self.match(HogQLParser.ON) - self.state = 525 + self.state = 527 self.columnExprList() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 526 + self.state = 528 self.match(HogQLParser.USING) - self.state = 527 + self.state = 529 self.match(HogQLParser.LPAREN) - self.state = 528 + self.state = 530 self.columnExprList() - self.state = 529 + self.state = 531 self.match(HogQLParser.RPAREN) pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 531 + self.state = 533 self.match(HogQLParser.USING) - self.state = 532 + self.state = 534 self.columnExprList() pass @@ -3878,17 +3892,17 @@ def sampleClause(self): self.enterRule(localctx, 76, self.RULE_sampleClause) try: self.enterOuterAlt(localctx, 1) - self.state = 535 + self.state = 537 self.match(HogQLParser.SAMPLE) - self.state = 536 + self.state = 538 self.ratioExpr() - self.state = 539 + self.state = 541 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,58,self._ctx) + la_ = self._interp.adaptivePredict(self._input,62,self._ctx) if la_ == 1: - self.state = 537 + self.state = 539 self.match(HogQLParser.OFFSET) - self.state = 538 + self.state = 540 self.ratioExpr() @@ -3940,17 +3954,17 @@ def orderExprList(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 541 + self.state = 543 self.orderExpr() - self.state = 546 + self.state = 548 self._errHandler.sync(self) _la = self._input.LA(1) while _la==112: - self.state = 542 + self.state = 544 self.match(HogQLParser.COMMA) - self.state = 543 + self.state = 545 self.orderExpr() - self.state = 548 + self.state = 550 self._errHandler.sync(self) _la = self._input.LA(1) @@ -4017,13 +4031,13 @@ def orderExpr(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 549 - self.columnExpr(0) self.state = 551 + self.columnExpr(0) + self.state = 553 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & 6291584) != 0): - self.state = 550 + self.state = 552 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 6291584) != 0)): self._errHandler.recoverInline(self) @@ -4032,13 +4046,13 @@ def orderExpr(self): self.consume() - self.state = 555 + self.state = 557 self._errHandler.sync(self) _la = self._input.LA(1) if _la==58: - self.state = 553 + self.state = 555 self.match(HogQLParser.NULLS) - self.state = 554 + self.state = 556 _la = self._input.LA(1) if not(_la==28 or _la==47): self._errHandler.recoverInline(self) @@ -4047,13 +4061,13 @@ def orderExpr(self): self.consume() - self.state = 559 + self.state = 561 self._errHandler.sync(self) _la = self._input.LA(1) if _la==15: - self.state = 557 + self.state = 559 self.match(HogQLParser.COLLATE) - self.state = 558 + self.state = 560 self.match(HogQLParser.STRING_LITERAL) @@ -4104,25 +4118,25 @@ def ratioExpr(self): localctx = HogQLParser.RatioExprContext(self, self._ctx, self.state) self.enterRule(localctx, 82, self.RULE_ratioExpr) try: - self.state = 567 + self.state = 569 self._errHandler.sync(self) token = self._input.LA(1) if token in [124]: self.enterOuterAlt(localctx, 1) - self.state = 561 + self.state = 563 self.placeholder() pass elif token in [41, 55, 102, 103, 104, 105, 114, 116, 134]: self.enterOuterAlt(localctx, 2) - self.state = 562 + self.state = 564 self.numberLiteral() - self.state = 565 + self.state = 567 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,63,self._ctx) + la_ = self._interp.adaptivePredict(self._input,67,self._ctx) if la_ == 1: - self.state = 563 + self.state = 565 self.match(HogQLParser.SLASH) - self.state = 564 + self.state = 566 self.numberLiteral() @@ -4178,17 +4192,17 @@ def settingExprList(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 569 + self.state = 571 self.settingExpr() - self.state = 574 + self.state = 576 self._errHandler.sync(self) _la = self._input.LA(1) while _la==112: - self.state = 570 + self.state = 572 self.match(HogQLParser.COMMA) - self.state = 571 + self.state = 573 self.settingExpr() - self.state = 576 + self.state = 578 self._errHandler.sync(self) _la = self._input.LA(1) @@ -4237,11 +4251,11 @@ def settingExpr(self): self.enterRule(localctx, 86, self.RULE_settingExpr) try: self.enterOuterAlt(localctx, 1) - self.state = 577 + self.state = 579 self.identifier() - self.state = 578 + self.state = 580 self.match(HogQLParser.EQ_SINGLE) - self.state = 579 + self.state = 581 self.literal() except RecognitionException as re: localctx.exception = re @@ -4290,27 +4304,27 @@ def windowExpr(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 582 + self.state = 584 self._errHandler.sync(self) _la = self._input.LA(1) if _la==65: - self.state = 581 + self.state = 583 self.winPartitionByClause() - self.state = 585 + self.state = 587 self._errHandler.sync(self) _la = self._input.LA(1) if _la==62: - self.state = 584 + self.state = 586 self.winOrderByClause() - self.state = 588 + self.state = 590 self._errHandler.sync(self) _la = self._input.LA(1) if _la==69 or _la==74: - self.state = 587 + self.state = 589 self.winFrameClause() @@ -4358,11 +4372,11 @@ def winPartitionByClause(self): self.enterRule(localctx, 90, self.RULE_winPartitionByClause) try: self.enterOuterAlt(localctx, 1) - self.state = 590 + self.state = 592 self.match(HogQLParser.PARTITION) - self.state = 591 + self.state = 593 self.match(HogQLParser.BY) - self.state = 592 + self.state = 594 self.columnExprList() except RecognitionException as re: localctx.exception = re @@ -4408,11 +4422,11 @@ def winOrderByClause(self): self.enterRule(localctx, 92, self.RULE_winOrderByClause) try: self.enterOuterAlt(localctx, 1) - self.state = 594 + self.state = 596 self.match(HogQLParser.ORDER) - self.state = 595 + self.state = 597 self.match(HogQLParser.BY) - self.state = 596 + self.state = 598 self.orderExprList() except RecognitionException as re: localctx.exception = re @@ -4459,14 +4473,14 @@ def winFrameClause(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 598 + self.state = 600 _la = self._input.LA(1) if not(_la==69 or _la==74): self._errHandler.recoverInline(self) else: self._errHandler.reportMatch(self) self.consume() - self.state = 599 + self.state = 601 self.winFrameExtend() except RecognitionException as re: localctx.exception = re @@ -4541,25 +4555,25 @@ def winFrameExtend(self): localctx = HogQLParser.WinFrameExtendContext(self, self._ctx, self.state) self.enterRule(localctx, 96, self.RULE_winFrameExtend) try: - self.state = 607 + self.state = 609 self._errHandler.sync(self) token = self._input.LA(1) if token in [18, 41, 55, 90, 102, 103, 104, 105, 114, 116, 134]: localctx = HogQLParser.FrameStartContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 601 + self.state = 603 self.winFrameBound() pass elif token in [9]: localctx = HogQLParser.FrameBetweenContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 602 + self.state = 604 self.match(HogQLParser.BETWEEN) - self.state = 603 + self.state = 605 self.winFrameBound() - self.state = 604 + self.state = 606 self.match(HogQLParser.AND) - self.state = 605 + self.state = 607 self.winFrameBound() pass else: @@ -4618,41 +4632,41 @@ def winFrameBound(self): self.enterRule(localctx, 98, self.RULE_winFrameBound) try: self.enterOuterAlt(localctx, 1) - self.state = 621 + self.state = 623 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,70,self._ctx) + la_ = self._interp.adaptivePredict(self._input,74,self._ctx) if la_ == 1: - self.state = 609 + self.state = 611 self.match(HogQLParser.CURRENT) - self.state = 610 + self.state = 612 self.match(HogQLParser.ROW) pass elif la_ == 2: - self.state = 611 + self.state = 613 self.match(HogQLParser.UNBOUNDED) - self.state = 612 + self.state = 614 self.match(HogQLParser.PRECEDING) pass elif la_ == 3: - self.state = 613 + self.state = 615 self.match(HogQLParser.UNBOUNDED) - self.state = 614 + self.state = 616 self.match(HogQLParser.FOLLOWING) pass elif la_ == 4: - self.state = 615 + self.state = 617 self.numberLiteral() - self.state = 616 + self.state = 618 self.match(HogQLParser.PRECEDING) pass elif la_ == 5: - self.state = 618 + self.state = 620 self.numberLiteral() - self.state = 619 + self.state = 621 self.match(HogQLParser.FOLLOWING) pass @@ -4698,9 +4712,9 @@ def expr(self): self.enterRule(localctx, 100, self.RULE_expr) try: self.enterOuterAlt(localctx, 1) - self.state = 623 + self.state = 625 self.columnExpr(0) - self.state = 624 + self.state = 626 self.match(HogQLParser.EOF) except RecognitionException as re: localctx.exception = re @@ -4875,111 +4889,111 @@ def columnTypeExpr(self): self.enterRule(localctx, 102, self.RULE_columnTypeExpr) self._la = 0 # Token type try: - self.state = 673 + self.state = 675 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,75,self._ctx) + la_ = self._interp.adaptivePredict(self._input,79,self._ctx) if la_ == 1: localctx = HogQLParser.ColumnTypeExprSimpleContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 626 + self.state = 628 self.identifier() pass elif la_ == 2: localctx = HogQLParser.ColumnTypeExprNestedContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 627 - self.identifier() - self.state = 628 - self.match(HogQLParser.LPAREN) self.state = 629 self.identifier() self.state = 630 + self.match(HogQLParser.LPAREN) + self.state = 631 + self.identifier() + self.state = 632 self.columnTypeExpr() - self.state = 637 + self.state = 639 self._errHandler.sync(self) _la = self._input.LA(1) while _la==112: - self.state = 631 + self.state = 633 self.match(HogQLParser.COMMA) - self.state = 632 + self.state = 634 self.identifier() - self.state = 633 + self.state = 635 self.columnTypeExpr() - self.state = 639 + self.state = 641 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 640 + self.state = 642 self.match(HogQLParser.RPAREN) pass elif la_ == 3: localctx = HogQLParser.ColumnTypeExprEnumContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 642 + self.state = 644 self.identifier() - self.state = 643 + self.state = 645 self.match(HogQLParser.LPAREN) - self.state = 644 + self.state = 646 self.enumValue() - self.state = 649 + self.state = 651 self._errHandler.sync(self) _la = self._input.LA(1) while _la==112: - self.state = 645 + self.state = 647 self.match(HogQLParser.COMMA) - self.state = 646 + self.state = 648 self.enumValue() - self.state = 651 + self.state = 653 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 652 + self.state = 654 self.match(HogQLParser.RPAREN) pass elif la_ == 4: localctx = HogQLParser.ColumnTypeExprComplexContext(self, localctx) self.enterOuterAlt(localctx, 4) - self.state = 654 + self.state = 656 self.identifier() - self.state = 655 + self.state = 657 self.match(HogQLParser.LPAREN) - self.state = 656 + self.state = 658 self.columnTypeExpr() - self.state = 661 + self.state = 663 self._errHandler.sync(self) _la = self._input.LA(1) while _la==112: - self.state = 657 + self.state = 659 self.match(HogQLParser.COMMA) - self.state = 658 + self.state = 660 self.columnTypeExpr() - self.state = 663 + self.state = 665 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 664 + self.state = 666 self.match(HogQLParser.RPAREN) pass elif la_ == 5: localctx = HogQLParser.ColumnTypeExprParamContext(self, localctx) self.enterOuterAlt(localctx, 5) - self.state = 666 + self.state = 668 self.identifier() - self.state = 667 - self.match(HogQLParser.LPAREN) self.state = 669 + self.match(HogQLParser.LPAREN) + self.state = 671 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -1125900443713538) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 8076106347046764543) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & 577) != 0): - self.state = 668 + self.state = 670 self.columnExprList() - self.state = 671 + self.state = 673 self.match(HogQLParser.RPAREN) pass @@ -5031,20 +5045,20 @@ def columnExprList(self): self.enterRule(localctx, 104, self.RULE_columnExprList) try: self.enterOuterAlt(localctx, 1) - self.state = 675 + self.state = 677 self.columnExpr(0) - self.state = 680 + self.state = 682 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,76,self._ctx) + _alt = self._interp.adaptivePredict(self._input,80,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: - self.state = 676 + self.state = 678 self.match(HogQLParser.COMMA) - self.state = 677 + self.state = 679 self.columnExpr(0) - self.state = 682 + self.state = 684 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,76,self._ctx) + _alt = self._interp.adaptivePredict(self._input,80,self._ctx) except RecognitionException as re: localctx.exception = re @@ -5104,9 +5118,6 @@ def __init__(self, parser, ctx:ParserRuleContext): # actually a HogQLParser.Colu def columnExpr(self): return self.getTypedRuleContext(HogQLParser.ColumnExprContext,0) - def alias(self): - return self.getTypedRuleContext(HogQLParser.AliasContext,0) - def AS(self): return self.getToken(HogQLParser.AS, 0) def identifier(self): @@ -5969,53 +5980,53 @@ def columnExpr(self, _p:int=0): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 832 + self.state = 834 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,96,self._ctx) + la_ = self._interp.adaptivePredict(self._input,100,self._ctx) if la_ == 1: localctx = HogQLParser.ColumnExprCaseContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 684 - self.match(HogQLParser.CASE) self.state = 686 + self.match(HogQLParser.CASE) + self.state = 688 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,77,self._ctx) + la_ = self._interp.adaptivePredict(self._input,81,self._ctx) if la_ == 1: - self.state = 685 + self.state = 687 localctx.caseExpr = self.columnExpr(0) - self.state = 693 + self.state = 695 self._errHandler.sync(self) _la = self._input.LA(1) while True: - self.state = 688 + self.state = 690 self.match(HogQLParser.WHEN) - self.state = 689 + self.state = 691 localctx.whenExpr = self.columnExpr(0) - self.state = 690 + self.state = 692 self.match(HogQLParser.THEN) - self.state = 691 + self.state = 693 localctx.thenExpr = self.columnExpr(0) - self.state = 695 + self.state = 697 self._errHandler.sync(self) _la = self._input.LA(1) if not (_la==94): break - self.state = 699 + self.state = 701 self._errHandler.sync(self) _la = self._input.LA(1) if _la==24: - self.state = 697 + self.state = 699 self.match(HogQLParser.ELSE) - self.state = 698 + self.state = 700 localctx.elseExpr = self.columnExpr(0) - self.state = 701 + self.state = 703 self.match(HogQLParser.END) pass @@ -6023,17 +6034,17 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprCastContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 703 + self.state = 705 self.match(HogQLParser.CAST) - self.state = 704 + self.state = 706 self.match(HogQLParser.LPAREN) - self.state = 705 + self.state = 707 self.columnExpr(0) - self.state = 706 + self.state = 708 self.match(HogQLParser.AS) - self.state = 707 + self.state = 709 self.columnTypeExpr() - self.state = 708 + self.state = 710 self.match(HogQLParser.RPAREN) pass @@ -6041,9 +6052,9 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprDateContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 710 + self.state = 712 self.match(HogQLParser.DATE) - self.state = 711 + self.state = 713 self.match(HogQLParser.STRING_LITERAL) pass @@ -6051,11 +6062,11 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprIntervalContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 712 + self.state = 714 self.match(HogQLParser.INTERVAL) - self.state = 713 + self.state = 715 self.columnExpr(0) - self.state = 714 + self.state = 716 self.interval() pass @@ -6063,27 +6074,27 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprSubstringContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 716 + self.state = 718 self.match(HogQLParser.SUBSTRING) - self.state = 717 + self.state = 719 self.match(HogQLParser.LPAREN) - self.state = 718 + self.state = 720 self.columnExpr(0) - self.state = 719 + self.state = 721 self.match(HogQLParser.FROM) - self.state = 720 + self.state = 722 self.columnExpr(0) - self.state = 723 + self.state = 725 self._errHandler.sync(self) _la = self._input.LA(1) if _la==31: - self.state = 721 + self.state = 723 self.match(HogQLParser.FOR) - self.state = 722 + self.state = 724 self.columnExpr(0) - self.state = 725 + self.state = 727 self.match(HogQLParser.RPAREN) pass @@ -6091,9 +6102,9 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprTimestampContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 727 + self.state = 729 self.match(HogQLParser.TIMESTAMP) - self.state = 728 + self.state = 730 self.match(HogQLParser.STRING_LITERAL) pass @@ -6101,24 +6112,24 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprTrimContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 729 + self.state = 731 self.match(HogQLParser.TRIM) - self.state = 730 + self.state = 732 self.match(HogQLParser.LPAREN) - self.state = 731 + self.state = 733 _la = self._input.LA(1) if not(_la==10 or _la==48 or _la==87): self._errHandler.recoverInline(self) else: self._errHandler.reportMatch(self) self.consume() - self.state = 732 + self.state = 734 self.string() - self.state = 733 + self.state = 735 self.match(HogQLParser.FROM) - self.state = 734 + self.state = 736 self.columnExpr(0) - self.state = 735 + self.state = 737 self.match(HogQLParser.RPAREN) pass @@ -6126,54 +6137,54 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprWinFunctionContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 737 + self.state = 739 self.identifier() - self.state = 738 - self.match(HogQLParser.LPAREN) self.state = 740 + self.match(HogQLParser.LPAREN) + self.state = 742 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -1125900443713538) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 8076106347046764543) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & 577) != 0): - self.state = 739 + self.state = 741 self.columnExprList() - self.state = 742 + self.state = 744 self.match(HogQLParser.RPAREN) - self.state = 752 + self.state = 754 self._errHandler.sync(self) _la = self._input.LA(1) if _la==126: - self.state = 744 - self.match(HogQLParser.LPAREN) self.state = 746 + self.match(HogQLParser.LPAREN) + self.state = 748 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,82,self._ctx) + la_ = self._interp.adaptivePredict(self._input,86,self._ctx) if la_ == 1: - self.state = 745 + self.state = 747 self.match(HogQLParser.DISTINCT) - self.state = 749 + self.state = 751 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -1125900443713538) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 8076106347046764543) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & 577) != 0): - self.state = 748 + self.state = 750 self.columnArgList() - self.state = 751 + self.state = 753 self.match(HogQLParser.RPAREN) - self.state = 754 + self.state = 756 self.match(HogQLParser.OVER) - self.state = 755 + self.state = 757 self.match(HogQLParser.LPAREN) - self.state = 756 + self.state = 758 self.windowExpr() - self.state = 757 + self.state = 759 self.match(HogQLParser.RPAREN) pass @@ -6181,50 +6192,50 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprWinFunctionTargetContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 759 + self.state = 761 self.identifier() - self.state = 760 - self.match(HogQLParser.LPAREN) self.state = 762 + self.match(HogQLParser.LPAREN) + self.state = 764 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -1125900443713538) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 8076106347046764543) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & 577) != 0): - self.state = 761 + self.state = 763 self.columnExprList() - self.state = 764 + self.state = 766 self.match(HogQLParser.RPAREN) - self.state = 774 + self.state = 776 self._errHandler.sync(self) _la = self._input.LA(1) if _la==126: - self.state = 766 - self.match(HogQLParser.LPAREN) self.state = 768 + self.match(HogQLParser.LPAREN) + self.state = 770 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,86,self._ctx) + la_ = self._interp.adaptivePredict(self._input,90,self._ctx) if la_ == 1: - self.state = 767 + self.state = 769 self.match(HogQLParser.DISTINCT) - self.state = 771 + self.state = 773 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -1125900443713538) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 8076106347046764543) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & 577) != 0): - self.state = 770 + self.state = 772 self.columnArgList() - self.state = 773 + self.state = 775 self.match(HogQLParser.RPAREN) - self.state = 776 + self.state = 778 self.match(HogQLParser.OVER) - self.state = 777 + self.state = 779 self.identifier() pass @@ -6232,45 +6243,45 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprFunctionContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 779 + self.state = 781 self.identifier() - self.state = 785 + self.state = 787 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,90,self._ctx) + la_ = self._interp.adaptivePredict(self._input,94,self._ctx) if la_ == 1: - self.state = 780 - self.match(HogQLParser.LPAREN) self.state = 782 + self.match(HogQLParser.LPAREN) + self.state = 784 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -1125900443713538) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 8076106347046764543) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & 577) != 0): - self.state = 781 + self.state = 783 self.columnExprList() - self.state = 784 + self.state = 786 self.match(HogQLParser.RPAREN) - self.state = 787 - self.match(HogQLParser.LPAREN) self.state = 789 + self.match(HogQLParser.LPAREN) + self.state = 791 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,91,self._ctx) + la_ = self._interp.adaptivePredict(self._input,95,self._ctx) if la_ == 1: - self.state = 788 + self.state = 790 self.match(HogQLParser.DISTINCT) - self.state = 792 + self.state = 794 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -1125900443713538) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 8076106347046764543) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & 577) != 0): - self.state = 791 + self.state = 793 self.columnArgList() - self.state = 794 + self.state = 796 self.match(HogQLParser.RPAREN) pass @@ -6278,7 +6289,7 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprTagElementContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 796 + self.state = 798 self.hogqlxTagElement() pass @@ -6286,7 +6297,7 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprTemplateStringContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 797 + self.state = 799 self.templateString() pass @@ -6294,7 +6305,7 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprLiteralContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 798 + self.state = 800 self.literal() pass @@ -6302,9 +6313,9 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprNegateContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 799 + self.state = 801 self.match(HogQLParser.DASH) - self.state = 800 + self.state = 802 self.columnExpr(19) pass @@ -6312,9 +6323,9 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprNotContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 801 + self.state = 803 self.match(HogQLParser.NOT) - self.state = 802 + self.state = 804 self.columnExpr(13) pass @@ -6322,17 +6333,17 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprAsteriskContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 806 + self.state = 808 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -181272084561788930) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 201863462911) != 0): - self.state = 803 + self.state = 805 self.tableIdentifier() - self.state = 804 + self.state = 806 self.match(HogQLParser.DOT) - self.state = 808 + self.state = 810 self.match(HogQLParser.ASTERISK) pass @@ -6340,11 +6351,11 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprSubqueryContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 809 + self.state = 811 self.match(HogQLParser.LPAREN) - self.state = 810 + self.state = 812 self.selectUnionStmt() - self.state = 811 + self.state = 813 self.match(HogQLParser.RPAREN) pass @@ -6352,11 +6363,11 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprParensContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 813 + self.state = 815 self.match(HogQLParser.LPAREN) - self.state = 814 + self.state = 816 self.columnExpr(0) - self.state = 815 + self.state = 817 self.match(HogQLParser.RPAREN) pass @@ -6364,11 +6375,11 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprTupleContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 817 + self.state = 819 self.match(HogQLParser.LPAREN) - self.state = 818 + self.state = 820 self.columnExprList() - self.state = 819 + self.state = 821 self.match(HogQLParser.RPAREN) pass @@ -6376,17 +6387,17 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprArrayContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 821 - self.match(HogQLParser.LBRACKET) self.state = 823 + self.match(HogQLParser.LBRACKET) + self.state = 825 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -1125900443713538) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 8076106347046764543) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & 577) != 0): - self.state = 822 + self.state = 824 self.columnExprList() - self.state = 825 + self.state = 827 self.match(HogQLParser.RBRACKET) pass @@ -6394,17 +6405,17 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprDictContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 826 - self.match(HogQLParser.LBRACE) self.state = 828 + self.match(HogQLParser.LBRACE) + self.state = 830 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -1125900443713538) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 8076106347046764543) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & 577) != 0): - self.state = 827 + self.state = 829 self.kvPairList() - self.state = 830 + self.state = 832 self.match(HogQLParser.RBRACE) pass @@ -6412,50 +6423,50 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprIdentifierContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 831 + self.state = 833 self.columnIdentifier() pass self._ctx.stop = self._input.LT(-1) - self.state = 927 + self.state = 928 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,107,self._ctx) + _alt = self._interp.adaptivePredict(self._input,111,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: if self._parseListeners is not None: self.triggerExitRuleEvent() _prevctx = localctx - self.state = 925 + self.state = 926 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,106,self._ctx) + la_ = self._interp.adaptivePredict(self._input,110,self._ctx) if la_ == 1: localctx = HogQLParser.ColumnExprPrecedence1Context(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) localctx.left = _prevctx self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 834 + self.state = 836 if not self.precpred(self._ctx, 18): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 18)") - self.state = 838 + self.state = 840 self._errHandler.sync(self) token = self._input.LA(1) if token in [108]: - self.state = 835 + self.state = 837 localctx.operator = self.match(HogQLParser.ASTERISK) pass elif token in [146]: - self.state = 836 + self.state = 838 localctx.operator = self.match(HogQLParser.SLASH) pass elif token in [133]: - self.state = 837 + self.state = 839 localctx.operator = self.match(HogQLParser.PERCENT) pass else: raise NoViableAltException(self) - self.state = 840 + self.state = 842 localctx.right = self.columnExpr(19) pass @@ -6463,29 +6474,29 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprPrecedence2Context(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) localctx.left = _prevctx self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 841 + self.state = 843 if not self.precpred(self._ctx, 17): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 17)") - self.state = 845 + self.state = 847 self._errHandler.sync(self) token = self._input.LA(1) if token in [134]: - self.state = 842 + self.state = 844 localctx.operator = self.match(HogQLParser.PLUS) pass elif token in [114]: - self.state = 843 + self.state = 845 localctx.operator = self.match(HogQLParser.DASH) pass elif token in [113]: - self.state = 844 + self.state = 846 localctx.operator = self.match(HogQLParser.CONCAT) pass else: raise NoViableAltException(self) - self.state = 847 + self.state = 849 localctx.right = self.columnExpr(18) pass @@ -6493,79 +6504,79 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprPrecedence3Context(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) localctx.left = _prevctx self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 848 + self.state = 850 if not self.precpred(self._ctx, 16): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 16)") - self.state = 873 + self.state = 875 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,102,self._ctx) + la_ = self._interp.adaptivePredict(self._input,106,self._ctx) if la_ == 1: - self.state = 849 + self.state = 851 localctx.operator = self.match(HogQLParser.EQ_DOUBLE) pass elif la_ == 2: - self.state = 850 + self.state = 852 localctx.operator = self.match(HogQLParser.EQ_SINGLE) pass elif la_ == 3: - self.state = 851 + self.state = 853 localctx.operator = self.match(HogQLParser.NOT_EQ) pass elif la_ == 4: - self.state = 852 + self.state = 854 localctx.operator = self.match(HogQLParser.LT_EQ) pass elif la_ == 5: - self.state = 853 + self.state = 855 localctx.operator = self.match(HogQLParser.LT) pass elif la_ == 6: - self.state = 854 + self.state = 856 localctx.operator = self.match(HogQLParser.GT_EQ) pass elif la_ == 7: - self.state = 855 + self.state = 857 localctx.operator = self.match(HogQLParser.GT) pass elif la_ == 8: - self.state = 857 + self.state = 859 self._errHandler.sync(self) _la = self._input.LA(1) if _la==56: - self.state = 856 + self.state = 858 localctx.operator = self.match(HogQLParser.NOT) - self.state = 859 - self.match(HogQLParser.IN) self.state = 861 + self.match(HogQLParser.IN) + self.state = 863 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,100,self._ctx) + la_ = self._interp.adaptivePredict(self._input,104,self._ctx) if la_ == 1: - self.state = 860 + self.state = 862 self.match(HogQLParser.COHORT) pass elif la_ == 9: - self.state = 864 + self.state = 866 self._errHandler.sync(self) _la = self._input.LA(1) if _la==56: - self.state = 863 + self.state = 865 localctx.operator = self.match(HogQLParser.NOT) - self.state = 866 + self.state = 868 _la = self._input.LA(1) if not(_la==39 or _la==51): self._errHandler.recoverInline(self) @@ -6575,209 +6586,204 @@ def columnExpr(self, _p:int=0): pass elif la_ == 10: - self.state = 867 + self.state = 869 localctx.operator = self.match(HogQLParser.REGEX_SINGLE) pass elif la_ == 11: - self.state = 868 + self.state = 870 localctx.operator = self.match(HogQLParser.REGEX_DOUBLE) pass elif la_ == 12: - self.state = 869 + self.state = 871 localctx.operator = self.match(HogQLParser.NOT_REGEX) pass elif la_ == 13: - self.state = 870 + self.state = 872 localctx.operator = self.match(HogQLParser.IREGEX_SINGLE) pass elif la_ == 14: - self.state = 871 + self.state = 873 localctx.operator = self.match(HogQLParser.IREGEX_DOUBLE) pass elif la_ == 15: - self.state = 872 + self.state = 874 localctx.operator = self.match(HogQLParser.NOT_IREGEX) pass - self.state = 875 + self.state = 877 localctx.right = self.columnExpr(17) pass elif la_ == 4: localctx = HogQLParser.ColumnExprNullishContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 876 + self.state = 878 if not self.precpred(self._ctx, 14): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 14)") - self.state = 877 + self.state = 879 self.match(HogQLParser.NULLISH) - self.state = 878 + self.state = 880 self.columnExpr(15) pass elif la_ == 5: localctx = HogQLParser.ColumnExprAndContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 879 + self.state = 881 if not self.precpred(self._ctx, 12): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 12)") - self.state = 880 + self.state = 882 self.match(HogQLParser.AND) - self.state = 881 + self.state = 883 self.columnExpr(13) pass elif la_ == 6: localctx = HogQLParser.ColumnExprOrContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 882 + self.state = 884 if not self.precpred(self._ctx, 11): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 11)") - self.state = 883 + self.state = 885 self.match(HogQLParser.OR) - self.state = 884 + self.state = 886 self.columnExpr(12) pass elif la_ == 7: localctx = HogQLParser.ColumnExprBetweenContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 885 + self.state = 887 if not self.precpred(self._ctx, 10): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 10)") - self.state = 887 + self.state = 889 self._errHandler.sync(self) _la = self._input.LA(1) if _la==56: - self.state = 886 + self.state = 888 self.match(HogQLParser.NOT) - self.state = 889 + self.state = 891 self.match(HogQLParser.BETWEEN) - self.state = 890 + self.state = 892 self.columnExpr(0) - self.state = 891 + self.state = 893 self.match(HogQLParser.AND) - self.state = 892 + self.state = 894 self.columnExpr(11) pass elif la_ == 8: localctx = HogQLParser.ColumnExprTernaryOpContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 894 + self.state = 896 if not self.precpred(self._ctx, 9): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 9)") - self.state = 895 + self.state = 897 self.match(HogQLParser.QUERY) - self.state = 896 + self.state = 898 self.columnExpr(0) - self.state = 897 + self.state = 899 self.match(HogQLParser.COLON) - self.state = 898 + self.state = 900 self.columnExpr(9) pass elif la_ == 9: localctx = HogQLParser.ColumnExprArrayAccessContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 900 + self.state = 902 if not self.precpred(self._ctx, 22): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 22)") - self.state = 901 + self.state = 903 self.match(HogQLParser.LBRACKET) - self.state = 902 + self.state = 904 self.columnExpr(0) - self.state = 903 + self.state = 905 self.match(HogQLParser.RBRACKET) pass elif la_ == 10: localctx = HogQLParser.ColumnExprTupleAccessContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 905 + self.state = 907 if not self.precpred(self._ctx, 21): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 21)") - self.state = 906 + self.state = 908 self.match(HogQLParser.DOT) - self.state = 907 + self.state = 909 self.match(HogQLParser.DECIMAL_LITERAL) pass elif la_ == 11: localctx = HogQLParser.ColumnExprPropertyAccessContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 908 + self.state = 910 if not self.precpred(self._ctx, 20): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 20)") - self.state = 909 + self.state = 911 self.match(HogQLParser.DOT) - self.state = 910 + self.state = 912 self.identifier() pass elif la_ == 12: localctx = HogQLParser.ColumnExprIsNullContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 911 + self.state = 913 if not self.precpred(self._ctx, 15): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 15)") - self.state = 912 - self.match(HogQLParser.IS) self.state = 914 + self.match(HogQLParser.IS) + self.state = 916 self._errHandler.sync(self) _la = self._input.LA(1) if _la==56: - self.state = 913 + self.state = 915 self.match(HogQLParser.NOT) - self.state = 916 + self.state = 918 self.match(HogQLParser.NULL_SQL) pass elif la_ == 13: localctx = HogQLParser.ColumnExprAliasContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 917 + self.state = 919 if not self.precpred(self._ctx, 8): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 8)") - self.state = 923 + self.state = 924 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,105,self._ctx) + la_ = self._interp.adaptivePredict(self._input,109,self._ctx) if la_ == 1: - self.state = 918 - self.alias() - pass - - elif la_ == 2: - self.state = 919 - self.match(HogQLParser.AS) self.state = 920 + self.match(HogQLParser.AS) + self.state = 921 self.identifier() pass - elif la_ == 3: - self.state = 921 - self.match(HogQLParser.AS) + elif la_ == 2: self.state = 922 + self.match(HogQLParser.AS) + self.state = 923 self.match(HogQLParser.STRING_LITERAL) pass @@ -6785,9 +6791,9 @@ def columnExpr(self, _p:int=0): pass - self.state = 929 + self.state = 930 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,107,self._ctx) + _alt = self._interp.adaptivePredict(self._input,111,self._ctx) except RecognitionException as re: localctx.exception = re @@ -6837,17 +6843,17 @@ def columnArgList(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 930 + self.state = 931 self.columnArgExpr() - self.state = 935 + self.state = 936 self._errHandler.sync(self) _la = self._input.LA(1) while _la==112: - self.state = 931 - self.match(HogQLParser.COMMA) self.state = 932 + self.match(HogQLParser.COMMA) + self.state = 933 self.columnArgExpr() - self.state = 937 + self.state = 938 self._errHandler.sync(self) _la = self._input.LA(1) @@ -6892,18 +6898,18 @@ def columnArgExpr(self): localctx = HogQLParser.ColumnArgExprContext(self, self._ctx, self.state) self.enterRule(localctx, 110, self.RULE_columnArgExpr) try: - self.state = 940 + self.state = 941 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,109,self._ctx) + la_ = self._interp.adaptivePredict(self._input,113,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 938 + self.state = 939 self.columnLambdaExpr() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 939 + self.state = 940 self.columnExpr(0) pass @@ -6969,41 +6975,41 @@ def columnLambdaExpr(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 961 + self.state = 962 self._errHandler.sync(self) token = self._input.LA(1) if token in [126]: - self.state = 942 - self.match(HogQLParser.LPAREN) self.state = 943 + self.match(HogQLParser.LPAREN) + self.state = 944 self.identifier() - self.state = 948 + self.state = 949 self._errHandler.sync(self) _la = self._input.LA(1) while _la==112: - self.state = 944 - self.match(HogQLParser.COMMA) self.state = 945 + self.match(HogQLParser.COMMA) + self.state = 946 self.identifier() - self.state = 950 + self.state = 951 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 951 + self.state = 952 self.match(HogQLParser.RPAREN) pass elif token in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46, 47, 48, 49, 51, 52, 53, 54, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 98, 99, 101]: - self.state = 953 + self.state = 954 self.identifier() - self.state = 958 + self.state = 959 self._errHandler.sync(self) _la = self._input.LA(1) while _la==112: - self.state = 954 - self.match(HogQLParser.COMMA) self.state = 955 + self.match(HogQLParser.COMMA) + self.state = 956 self.identifier() - self.state = 960 + self.state = 961 self._errHandler.sync(self) _la = self._input.LA(1) @@ -7011,9 +7017,9 @@ def columnLambdaExpr(self): else: raise NoViableAltException(self) - self.state = 963 - self.match(HogQLParser.ARROW) self.state = 964 + self.match(HogQLParser.ARROW) + self.state = 965 self.columnExpr(0) except RecognitionException as re: localctx.exception = re @@ -7118,66 +7124,66 @@ def hogqlxTagElement(self): self.enterRule(localctx, 114, self.RULE_hogqlxTagElement) self._la = 0 # Token type try: - self.state = 994 + self.state = 995 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,116,self._ctx) + la_ = self._interp.adaptivePredict(self._input,120,self._ctx) if la_ == 1: localctx = HogQLParser.HogqlxTagElementClosedContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 966 - self.match(HogQLParser.LT) self.state = 967 + self.match(HogQLParser.LT) + self.state = 968 self.identifier() - self.state = 971 + self.state = 972 self._errHandler.sync(self) _la = self._input.LA(1) while (((_la) & ~0x3f) == 0 and ((1 << _la) & -181272084561788930) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 201863462911) != 0): - self.state = 968 + self.state = 969 self.hogqlxTagAttribute() - self.state = 973 + self.state = 974 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 974 - self.match(HogQLParser.SLASH) self.state = 975 + self.match(HogQLParser.SLASH) + self.state = 976 self.match(HogQLParser.GT) pass elif la_ == 2: localctx = HogQLParser.HogqlxTagElementNestedContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 977 - self.match(HogQLParser.LT) self.state = 978 + self.match(HogQLParser.LT) + self.state = 979 self.identifier() - self.state = 982 + self.state = 983 self._errHandler.sync(self) _la = self._input.LA(1) while (((_la) & ~0x3f) == 0 and ((1 << _la) & -181272084561788930) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 201863462911) != 0): - self.state = 979 + self.state = 980 self.hogqlxTagAttribute() - self.state = 984 + self.state = 985 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 985 + self.state = 986 self.match(HogQLParser.GT) - self.state = 987 + self.state = 988 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,115,self._ctx) + la_ = self._interp.adaptivePredict(self._input,119,self._ctx) if la_ == 1: - self.state = 986 + self.state = 987 self.hogqlxTagElement() - self.state = 989 - self.match(HogQLParser.LT) self.state = 990 - self.match(HogQLParser.SLASH) + self.match(HogQLParser.LT) self.state = 991 - self.identifier() + self.match(HogQLParser.SLASH) self.state = 992 + self.identifier() + self.state = 993 self.match(HogQLParser.GT) pass @@ -7236,36 +7242,36 @@ def hogqlxTagAttribute(self): localctx = HogQLParser.HogqlxTagAttributeContext(self, self._ctx, self.state) self.enterRule(localctx, 116, self.RULE_hogqlxTagAttribute) try: - self.state = 1007 + self.state = 1008 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,117,self._ctx) + la_ = self._interp.adaptivePredict(self._input,121,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 996 - self.identifier() self.state = 997 - self.match(HogQLParser.EQ_SINGLE) + self.identifier() self.state = 998 + self.match(HogQLParser.EQ_SINGLE) + self.state = 999 self.string() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 1000 - self.identifier() self.state = 1001 - self.match(HogQLParser.EQ_SINGLE) + self.identifier() self.state = 1002 - self.match(HogQLParser.LBRACE) + self.match(HogQLParser.EQ_SINGLE) self.state = 1003 - self.columnExpr(0) + self.match(HogQLParser.LBRACE) self.state = 1004 + self.columnExpr(0) + self.state = 1005 self.match(HogQLParser.RBRACE) pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 1006 + self.state = 1007 self.identifier() pass @@ -7318,17 +7324,17 @@ def withExprList(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 1009 + self.state = 1010 self.withExpr() - self.state = 1014 + self.state = 1015 self._errHandler.sync(self) _la = self._input.LA(1) while _la==112: - self.state = 1010 - self.match(HogQLParser.COMMA) self.state = 1011 + self.match(HogQLParser.COMMA) + self.state = 1012 self.withExpr() - self.state = 1016 + self.state = 1017 self._errHandler.sync(self) _la = self._input.LA(1) @@ -7412,32 +7418,32 @@ def withExpr(self): localctx = HogQLParser.WithExprContext(self, self._ctx, self.state) self.enterRule(localctx, 120, self.RULE_withExpr) try: - self.state = 1027 + self.state = 1028 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,119,self._ctx) + la_ = self._interp.adaptivePredict(self._input,123,self._ctx) if la_ == 1: localctx = HogQLParser.WithExprSubqueryContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 1017 - self.identifier() self.state = 1018 - self.match(HogQLParser.AS) + self.identifier() self.state = 1019 - self.match(HogQLParser.LPAREN) + self.match(HogQLParser.AS) self.state = 1020 - self.selectUnionStmt() + self.match(HogQLParser.LPAREN) self.state = 1021 + self.selectUnionStmt() + self.state = 1022 self.match(HogQLParser.RPAREN) pass elif la_ == 2: localctx = HogQLParser.WithExprColumnContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 1023 - self.columnExpr(0) self.state = 1024 - self.match(HogQLParser.AS) + self.columnExpr(0) self.state = 1025 + self.match(HogQLParser.AS) + self.state = 1026 self.identifier() pass @@ -7490,27 +7496,27 @@ def columnIdentifier(self): localctx = HogQLParser.ColumnIdentifierContext(self, self._ctx, self.state) self.enterRule(localctx, 122, self.RULE_columnIdentifier) try: - self.state = 1036 + self.state = 1037 self._errHandler.sync(self) token = self._input.LA(1) if token in [124]: self.enterOuterAlt(localctx, 1) - self.state = 1029 + self.state = 1030 self.placeholder() pass elif token in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46, 47, 48, 49, 51, 52, 53, 54, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 98, 99, 101]: self.enterOuterAlt(localctx, 2) - self.state = 1033 + self.state = 1034 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,120,self._ctx) + la_ = self._interp.adaptivePredict(self._input,124,self._ctx) if la_ == 1: - self.state = 1030 - self.tableIdentifier() self.state = 1031 + self.tableIdentifier() + self.state = 1032 self.match(HogQLParser.DOT) - self.state = 1035 + self.state = 1036 self.nestedIdentifier() pass else: @@ -7563,20 +7569,20 @@ def nestedIdentifier(self): self.enterRule(localctx, 124, self.RULE_nestedIdentifier) try: self.enterOuterAlt(localctx, 1) - self.state = 1038 + self.state = 1039 self.identifier() - self.state = 1043 + self.state = 1044 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,122,self._ctx) + _alt = self._interp.adaptivePredict(self._input,126,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: - self.state = 1039 - self.match(HogQLParser.DOT) self.state = 1040 + self.match(HogQLParser.DOT) + self.state = 1041 self.identifier() - self.state = 1045 + self.state = 1046 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,122,self._ctx) + _alt = self._interp.adaptivePredict(self._input,126,self._ctx) except RecognitionException as re: localctx.exception = re @@ -7727,15 +7733,15 @@ def tableExpr(self, _p:int=0): self.enterRecursionRule(localctx, 126, self.RULE_tableExpr, _p) try: self.enterOuterAlt(localctx, 1) - self.state = 1055 + self.state = 1056 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,123,self._ctx) + la_ = self._interp.adaptivePredict(self._input,127,self._ctx) if la_ == 1: localctx = HogQLParser.TableExprIdentifierContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 1047 + self.state = 1048 self.tableIdentifier() pass @@ -7743,7 +7749,7 @@ def tableExpr(self, _p:int=0): localctx = HogQLParser.TableExprFunctionContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 1048 + self.state = 1049 self.tableFunctionExpr() pass @@ -7751,11 +7757,11 @@ def tableExpr(self, _p:int=0): localctx = HogQLParser.TableExprSubqueryContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 1049 - self.match(HogQLParser.LPAREN) self.state = 1050 - self.selectUnionStmt() + self.match(HogQLParser.LPAREN) self.state = 1051 + self.selectUnionStmt() + self.state = 1052 self.match(HogQLParser.RPAREN) pass @@ -7763,7 +7769,7 @@ def tableExpr(self, _p:int=0): localctx = HogQLParser.TableExprTagContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 1053 + self.state = 1054 self.hogqlxTagElement() pass @@ -7771,15 +7777,15 @@ def tableExpr(self, _p:int=0): localctx = HogQLParser.TableExprPlaceholderContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 1054 + self.state = 1055 self.placeholder() pass self._ctx.stop = self._input.LT(-1) - self.state = 1065 + self.state = 1066 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,125,self._ctx) + _alt = self._interp.adaptivePredict(self._input,129,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: if self._parseListeners is not None: @@ -7787,29 +7793,29 @@ def tableExpr(self, _p:int=0): _prevctx = localctx localctx = HogQLParser.TableExprAliasContext(self, HogQLParser.TableExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_tableExpr) - self.state = 1057 + self.state = 1058 if not self.precpred(self._ctx, 3): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 3)") - self.state = 1061 + self.state = 1062 self._errHandler.sync(self) token = self._input.LA(1) if token in [19, 28, 37, 46, 101]: - self.state = 1058 + self.state = 1059 self.alias() pass elif token in [6]: - self.state = 1059 - self.match(HogQLParser.AS) self.state = 1060 + self.match(HogQLParser.AS) + self.state = 1061 self.identifier() pass else: raise NoViableAltException(self) - self.state = 1067 + self.state = 1068 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,125,self._ctx) + _alt = self._interp.adaptivePredict(self._input,129,self._ctx) except RecognitionException as re: localctx.exception = re @@ -7860,19 +7866,19 @@ def tableFunctionExpr(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 1068 - self.identifier() self.state = 1069 + self.identifier() + self.state = 1070 self.match(HogQLParser.LPAREN) - self.state = 1071 + self.state = 1072 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -1125900443713538) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 8076106347046764543) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & 577) != 0): - self.state = 1070 + self.state = 1071 self.tableArgList() - self.state = 1073 + self.state = 1074 self.match(HogQLParser.RPAREN) except RecognitionException as re: localctx.exception = re @@ -7919,17 +7925,17 @@ def tableIdentifier(self): self.enterRule(localctx, 130, self.RULE_tableIdentifier) try: self.enterOuterAlt(localctx, 1) - self.state = 1078 + self.state = 1079 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,127,self._ctx) + la_ = self._interp.adaptivePredict(self._input,131,self._ctx) if la_ == 1: - self.state = 1075 - self.databaseIdentifier() self.state = 1076 + self.databaseIdentifier() + self.state = 1077 self.match(HogQLParser.DOT) - self.state = 1080 + self.state = 1081 self.identifier() except RecognitionException as re: localctx.exception = re @@ -7979,17 +7985,17 @@ def tableArgList(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 1082 + self.state = 1083 self.columnExpr(0) - self.state = 1087 + self.state = 1088 self._errHandler.sync(self) _la = self._input.LA(1) while _la==112: - self.state = 1083 - self.match(HogQLParser.COMMA) self.state = 1084 + self.match(HogQLParser.COMMA) + self.state = 1085 self.columnExpr(0) - self.state = 1089 + self.state = 1090 self._errHandler.sync(self) _la = self._input.LA(1) @@ -8031,7 +8037,7 @@ def databaseIdentifier(self): self.enterRule(localctx, 134, self.RULE_databaseIdentifier) try: self.enterOuterAlt(localctx, 1) - self.state = 1090 + self.state = 1091 self.identifier() except RecognitionException as re: localctx.exception = re @@ -8082,19 +8088,19 @@ def floatingLiteral(self): self.enterRule(localctx, 136, self.RULE_floatingLiteral) self._la = 0 # Token type try: - self.state = 1100 + self.state = 1101 self._errHandler.sync(self) token = self._input.LA(1) if token in [102]: self.enterOuterAlt(localctx, 1) - self.state = 1092 + self.state = 1093 self.match(HogQLParser.FLOATING_LITERAL) pass elif token in [116]: self.enterOuterAlt(localctx, 2) - self.state = 1093 - self.match(HogQLParser.DOT) self.state = 1094 + self.match(HogQLParser.DOT) + self.state = 1095 _la = self._input.LA(1) if not(_la==103 or _la==104): self._errHandler.recoverInline(self) @@ -8104,15 +8110,15 @@ def floatingLiteral(self): pass elif token in [104]: self.enterOuterAlt(localctx, 3) - self.state = 1095 - self.match(HogQLParser.DECIMAL_LITERAL) self.state = 1096 + self.match(HogQLParser.DECIMAL_LITERAL) + self.state = 1097 self.match(HogQLParser.DOT) - self.state = 1098 + self.state = 1099 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,129,self._ctx) + la_ = self._interp.adaptivePredict(self._input,133,self._ctx) if la_ == 1: - self.state = 1097 + self.state = 1098 _la = self._input.LA(1) if not(_la==103 or _la==104): self._errHandler.recoverInline(self) @@ -8185,11 +8191,11 @@ def numberLiteral(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 1103 + self.state = 1104 self._errHandler.sync(self) _la = self._input.LA(1) if _la==114 or _la==134: - self.state = 1102 + self.state = 1103 _la = self._input.LA(1) if not(_la==114 or _la==134): self._errHandler.recoverInline(self) @@ -8198,36 +8204,36 @@ def numberLiteral(self): self.consume() - self.state = 1111 + self.state = 1112 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,132,self._ctx) + la_ = self._interp.adaptivePredict(self._input,136,self._ctx) if la_ == 1: - self.state = 1105 + self.state = 1106 self.floatingLiteral() pass elif la_ == 2: - self.state = 1106 + self.state = 1107 self.match(HogQLParser.OCTAL_LITERAL) pass elif la_ == 3: - self.state = 1107 + self.state = 1108 self.match(HogQLParser.DECIMAL_LITERAL) pass elif la_ == 4: - self.state = 1108 + self.state = 1109 self.match(HogQLParser.HEXADECIMAL_LITERAL) pass elif la_ == 5: - self.state = 1109 + self.state = 1110 self.match(HogQLParser.INF) pass elif la_ == 6: - self.state = 1110 + self.state = 1111 self.match(HogQLParser.NAN_SQL) pass @@ -8275,22 +8281,22 @@ def literal(self): localctx = HogQLParser.LiteralContext(self, self._ctx, self.state) self.enterRule(localctx, 140, self.RULE_literal) try: - self.state = 1116 + self.state = 1117 self._errHandler.sync(self) token = self._input.LA(1) if token in [41, 55, 102, 103, 104, 105, 114, 116, 134]: self.enterOuterAlt(localctx, 1) - self.state = 1113 + self.state = 1114 self.numberLiteral() pass elif token in [106]: self.enterOuterAlt(localctx, 2) - self.state = 1114 + self.state = 1115 self.match(HogQLParser.STRING_LITERAL) pass elif token in [57]: self.enterOuterAlt(localctx, 3) - self.state = 1115 + self.state = 1116 self.match(HogQLParser.NULL_SQL) pass else: @@ -8355,7 +8361,7 @@ def interval(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 1118 + self.state = 1119 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 27021666484748288) != 0) or ((((_la - 68)) & ~0x3f) == 0 and ((1 << (_la - 68)) & 2181038337) != 0)): self._errHandler.recoverInline(self) @@ -8652,7 +8658,7 @@ def keyword(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 1120 + self.state = 1121 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & -208293751046537218) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 29527896047) != 0)): self._errHandler.recoverInline(self) @@ -8706,7 +8712,7 @@ def keywordForAlias(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 1122 + self.state = 1123 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 70506452090880) != 0)): self._errHandler.recoverInline(self) @@ -8753,17 +8759,17 @@ def alias(self): localctx = HogQLParser.AliasContext(self, self._ctx, self.state) self.enterRule(localctx, 148, self.RULE_alias) try: - self.state = 1126 + self.state = 1127 self._errHandler.sync(self) token = self._input.LA(1) if token in [101]: self.enterOuterAlt(localctx, 1) - self.state = 1124 + self.state = 1125 self.match(HogQLParser.IDENTIFIER) pass elif token in [19, 28, 37, 46]: self.enterOuterAlt(localctx, 2) - self.state = 1125 + self.state = 1126 self.keywordForAlias() pass else: @@ -8813,22 +8819,22 @@ def identifier(self): localctx = HogQLParser.IdentifierContext(self, self._ctx, self.state) self.enterRule(localctx, 150, self.RULE_identifier) try: - self.state = 1131 + self.state = 1132 self._errHandler.sync(self) token = self._input.LA(1) if token in [101]: self.enterOuterAlt(localctx, 1) - self.state = 1128 + self.state = 1129 self.match(HogQLParser.IDENTIFIER) pass elif token in [20, 36, 53, 54, 68, 76, 93, 99]: self.enterOuterAlt(localctx, 2) - self.state = 1129 + self.state = 1130 self.interval() pass elif token in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 42, 43, 44, 45, 46, 47, 48, 49, 51, 52, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 94, 95, 97, 98]: self.enterOuterAlt(localctx, 3) - self.state = 1130 + self.state = 1131 self.keyword() pass else: @@ -8879,11 +8885,11 @@ def enumValue(self): self.enterRule(localctx, 152, self.RULE_enumValue) try: self.enterOuterAlt(localctx, 1) - self.state = 1133 - self.string() self.state = 1134 - self.match(HogQLParser.EQ_SINGLE) + self.string() self.state = 1135 + self.match(HogQLParser.EQ_SINGLE) + self.state = 1136 self.numberLiteral() except RecognitionException as re: localctx.exception = re @@ -8929,11 +8935,11 @@ def placeholder(self): self.enterRule(localctx, 154, self.RULE_placeholder) try: self.enterOuterAlt(localctx, 1) - self.state = 1137 - self.match(HogQLParser.LBRACE) self.state = 1138 - self.identifier() + self.match(HogQLParser.LBRACE) self.state = 1139 + self.identifier() + self.state = 1140 self.match(HogQLParser.RBRACE) except RecognitionException as re: localctx.exception = re @@ -8975,17 +8981,17 @@ def string(self): localctx = HogQLParser.StringContext(self, self._ctx, self.state) self.enterRule(localctx, 156, self.RULE_string) try: - self.state = 1143 + self.state = 1144 self._errHandler.sync(self) token = self._input.LA(1) if token in [106]: self.enterOuterAlt(localctx, 1) - self.state = 1141 + self.state = 1142 self.match(HogQLParser.STRING_LITERAL) pass elif token in [137]: self.enterOuterAlt(localctx, 2) - self.state = 1142 + self.state = 1143 self.templateString() pass else: @@ -9039,19 +9045,19 @@ def templateString(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 1145 + self.state = 1146 self.match(HogQLParser.QUOTE_SINGLE_TEMPLATE) - self.state = 1149 + self.state = 1150 self._errHandler.sync(self) _la = self._input.LA(1) while _la==151 or _la==152: - self.state = 1146 + self.state = 1147 self.stringContents() - self.state = 1151 + self.state = 1152 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 1152 + self.state = 1153 self.match(HogQLParser.QUOTE_SINGLE) except RecognitionException as re: localctx.exception = re @@ -9099,21 +9105,21 @@ def stringContents(self): localctx = HogQLParser.StringContentsContext(self, self._ctx, self.state) self.enterRule(localctx, 160, self.RULE_stringContents) try: - self.state = 1159 + self.state = 1160 self._errHandler.sync(self) token = self._input.LA(1) if token in [152]: self.enterOuterAlt(localctx, 1) - self.state = 1154 - self.match(HogQLParser.STRING_ESCAPE_TRIGGER) self.state = 1155 - self.columnExpr(0) + self.match(HogQLParser.STRING_ESCAPE_TRIGGER) self.state = 1156 + self.columnExpr(0) + self.state = 1157 self.match(HogQLParser.RBRACE) pass elif token in [151]: self.enterOuterAlt(localctx, 2) - self.state = 1158 + self.state = 1159 self.match(HogQLParser.STRING_TEXT) pass else: @@ -9167,19 +9173,19 @@ def fullTemplateString(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 1161 + self.state = 1162 self.match(HogQLParser.QUOTE_SINGLE_TEMPLATE_FULL) - self.state = 1165 + self.state = 1166 self._errHandler.sync(self) _la = self._input.LA(1) while _la==153 or _la==154: - self.state = 1162 + self.state = 1163 self.stringContentsFull() - self.state = 1167 + self.state = 1168 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 1168 + self.state = 1169 self.match(HogQLParser.EOF) except RecognitionException as re: localctx.exception = re @@ -9227,21 +9233,21 @@ def stringContentsFull(self): localctx = HogQLParser.StringContentsFullContext(self, self._ctx, self.state) self.enterRule(localctx, 164, self.RULE_stringContentsFull) try: - self.state = 1175 + self.state = 1176 self._errHandler.sync(self) token = self._input.LA(1) if token in [154]: self.enterOuterAlt(localctx, 1) - self.state = 1170 - self.match(HogQLParser.FULL_STRING_ESCAPE_TRIGGER) self.state = 1171 - self.columnExpr(0) + self.match(HogQLParser.FULL_STRING_ESCAPE_TRIGGER) self.state = 1172 + self.columnExpr(0) + self.state = 1173 self.match(HogQLParser.RBRACE) pass elif token in [153]: self.enterOuterAlt(localctx, 2) - self.state = 1174 + self.state = 1175 self.match(HogQLParser.FULL_STRING_TEXT) pass else: diff --git a/posthog/hogql/grammar/HogQLParserVisitor.py b/posthog/hogql/grammar/HogQLParserVisitor.py index 1645bdb1a30ab..3e71e7f8c1d4a 100644 --- a/posthog/hogql/grammar/HogQLParserVisitor.py +++ b/posthog/hogql/grammar/HogQLParserVisitor.py @@ -29,11 +29,6 @@ def visitVarDecl(self, ctx:HogQLParser.VarDeclContext): return self.visitChildren(ctx) - # Visit a parse tree produced by HogQLParser#varAssignment. - def visitVarAssignment(self, ctx:HogQLParser.VarAssignmentContext): - return self.visitChildren(ctx) - - # Visit a parse tree produced by HogQLParser#identifierList. def visitIdentifierList(self, ctx:HogQLParser.IdentifierListContext): return self.visitChildren(ctx) @@ -44,8 +39,8 @@ def visitStatement(self, ctx:HogQLParser.StatementContext): return self.visitChildren(ctx) - # Visit a parse tree produced by HogQLParser#exprStmt. - def visitExprStmt(self, ctx:HogQLParser.ExprStmtContext): + # Visit a parse tree produced by HogQLParser#returnStmt. + def visitReturnStmt(self, ctx:HogQLParser.ReturnStmtContext): return self.visitChildren(ctx) @@ -59,13 +54,18 @@ def visitWhileStmt(self, ctx:HogQLParser.WhileStmtContext): return self.visitChildren(ctx) - # Visit a parse tree produced by HogQLParser#returnStmt. - def visitReturnStmt(self, ctx:HogQLParser.ReturnStmtContext): + # Visit a parse tree produced by HogQLParser#funcStmt. + def visitFuncStmt(self, ctx:HogQLParser.FuncStmtContext): return self.visitChildren(ctx) - # Visit a parse tree produced by HogQLParser#funcStmt. - def visitFuncStmt(self, ctx:HogQLParser.FuncStmtContext): + # Visit a parse tree produced by HogQLParser#varAssignment. + def visitVarAssignment(self, ctx:HogQLParser.VarAssignmentContext): + return self.visitChildren(ctx) + + + # Visit a parse tree produced by HogQLParser#exprStmt. + def visitExprStmt(self, ctx:HogQLParser.ExprStmtContext): return self.visitChildren(ctx) diff --git a/posthog/hogql/parser.py b/posthog/hogql/parser.py index bf08f5c122635..09252af4fabca 100644 --- a/posthog/hogql/parser.py +++ b/posthog/hogql/parser.py @@ -185,7 +185,12 @@ def visit(self, ctx: ParserRuleContext): raise e def visitProgram(self, ctx: HogQLParser.ProgramContext): - return ast.Program(declarations=[self.visit(declaration) for declaration in ctx.declaration()]) + declarations: list[ast.Declaration] = [] + for declaration in ctx.declaration(): + if not declaration.statement() or not declaration.statement().emptyStmt(): + statement = self.visit(declaration) + declarations.append(cast(ast.Declaration, statement)) + return ast.Program(declarations=declarations) def visitDeclaration(self, ctx: HogQLParser.DeclarationContext): return self.visitChildren(ctx) @@ -245,10 +250,15 @@ def visitIdentifierList(self, ctx: HogQLParser.IdentifierListContext): return [ident.getText() for ident in ctx.identifier()] def visitEmptyStmt(self, ctx: HogQLParser.EmptyStmtContext): - return ast.ExprStatement(expr=ast.Constant(value=True)) + return ast.ExprStatement(expr=None) def visitBlock(self, ctx: HogQLParser.BlockContext): - return ast.Block(declarations=[self.visit(declaration) for declaration in ctx.declaration()]) + declarations: list[ast.Declaration] = [] + for declaration in ctx.declaration(): + if not declaration.statement() or not declaration.statement().emptyStmt(): + statement = self.visit(declaration) + declarations.append(cast(ast.Declaration, statement)) + return ast.Block(declarations=declarations) def visitSelect(self, ctx: HogQLParser.SelectContext): return self.visit(ctx.selectUnionStmt() or ctx.selectStmt() or ctx.hogqlxTagElement()) @@ -573,9 +583,7 @@ def visitColumnExprTernaryOp(self, ctx: HogQLParser.ColumnExprTernaryOpContext): def visitColumnExprAlias(self, ctx: HogQLParser.ColumnExprAliasContext): alias: str - if ctx.alias(): - alias = self.visit(ctx.alias()) - elif ctx.identifier(): + if ctx.identifier(): alias = self.visit(ctx.identifier()) elif ctx.STRING_LITERAL(): alias = parse_string_literal_ctx(ctx.STRING_LITERAL()) diff --git a/posthog/hogql/printer.py b/posthog/hogql/printer.py index 3104d121112de..b44191b41095e 100644 --- a/posthog/hogql/printer.py +++ b/posthog/hogql/printer.py @@ -173,7 +173,9 @@ def __init__( def indent(self, extra: int = 0): return " " * self.tab_size * (self._indent + extra) - def visit(self, node: AST): + def visit(self, node: AST | None): + if node is None: + return "" self.stack.append(node) self._indent += 1 response = super().visit(node) diff --git a/posthog/hogql/resolver.py b/posthog/hogql/resolver.py index 38442bc26eef2..cee6802a4498a 100644 --- a/posthog/hogql/resolver.py +++ b/posthog/hogql/resolver.py @@ -110,7 +110,7 @@ def __init__( self.database = context.database self.cte_counter = 0 - def visit(self, node: ast.Expr) -> ast.Expr: + def visit(self, node: ast.Expr | None) -> ast.Expr: if isinstance(node, ast.Expr) and node.type is not None: raise ResolutionError( f"Type already resolved for {type(node).__name__} ({type(node.type).__name__}). Can't run again." diff --git a/posthog/hogql/test/_test_parser.py b/posthog/hogql/test/_test_parser.py index d1bff88ebfcff..708ff0822fc3b 100644 --- a/posthog/hogql/test/_test_parser.py +++ b/posthog/hogql/test/_test_parser.py @@ -957,7 +957,7 @@ def test_select_from_cross_join(self): def test_select_array_join(self): self.assertEqual( - self._select("select a from events ARRAY JOIN [1,2,3] a"), + self._select("select a from events ARRAY JOIN [1,2,3] as a"), ast.SelectQuery( select=[ast.Field(chain=["a"])], select_from=ast.JoinExpr(table=ast.Field(chain=["events"])), @@ -977,7 +977,7 @@ def test_select_array_join(self): ), ) self.assertEqual( - self._select("select a from events INNER ARRAY JOIN [1,2,3] a"), + self._select("select a from events INNER ARRAY JOIN [1,2,3] as a"), ast.SelectQuery( select=[ast.Field(chain=["a"])], select_from=ast.JoinExpr(table=ast.Field(chain=["events"])), @@ -997,7 +997,7 @@ def test_select_array_join(self): ), ) self.assertEqual( - self._select("select 1, b from events LEFT ARRAY JOIN [1,2,3] a, [4,5,6] AS b"), + self._select("select 1, b from events LEFT ARRAY JOIN [1,2,3] as a, [4,5,6] AS b"), ast.SelectQuery( select=[ast.Constant(value=1), ast.Field(chain=["b"])], select_from=ast.JoinExpr(table=ast.Field(chain=["events"])), diff --git a/posthog/hogql/test/test_printer.py b/posthog/hogql/test/test_printer.py index 5bf05573e671f..5cd30291e1f0f 100644 --- a/posthog/hogql/test/test_printer.py +++ b/posthog/hogql/test/test_printer.py @@ -243,7 +243,7 @@ def test_hogql_properties(self): ) self._assert_expr_error( "properties.'no strings'", - "no viable alternative at input '.'no strings'", + "mismatched input", "hogql", ) @@ -393,10 +393,10 @@ def test_expr_syntax_errors(self): self._assert_expr_error("(", "no viable alternative at input '('") self._assert_expr_error("())", "no viable alternative at input '()'") self._assert_expr_error("(3 57", "no viable alternative at input '(3 57'") - self._assert_expr_error("select query from events", "mismatched input 'from' expecting ") - self._assert_expr_error("this makes little sense", "Unable to resolve field: this") + self._assert_expr_error("select query from events", "mismatched input 'query' expecting ") + self._assert_expr_error("this makes little sense", "mismatched input 'makes' expecting ") self._assert_expr_error("1;2", "mismatched input ';' expecting ") - self._assert_expr_error("b.a(bla)", "mismatched input '(' expecting '.'") + self._assert_expr_error("b.a(bla)", "mismatched input '(' expecting ") def test_logic(self): self.assertEqual( @@ -504,11 +504,6 @@ def test_alias_keywords(self): self._select("select 1 as `-- select team_id` from events"), f"SELECT 1 AS `-- select team_id` FROM events WHERE equals(events.team_id, {self.team.pk}) LIMIT {MAX_SELECT_RETURNED_ROWS}", ) - # Some aliases are funny, but that's what the antlr syntax permits, and ClickHouse doesn't complain either - self.assertEqual( - self._expr("event makes little sense"), - "((events.event AS makes) AS little) AS sense", - ) def test_case_when(self): self.assertEqual(self._expr("case when 1 then 2 else 3 end"), "if(1, 2, 3)") diff --git a/posthog/hogql/test/test_query.py b/posthog/hogql/test/test_query.py index 53304738ff524..278471152a9f5 100644 --- a/posthog/hogql/test/test_query.py +++ b/posthog/hogql/test/test_query.py @@ -624,7 +624,7 @@ def test_tuple_access(self): self._create_random_events() # sample pivot table, testing tuple access query = """ - select col_a, arrayZip( (sumMap( g.1, g.2 ) as x).1, x.2) r from ( + select col_a, arrayZip( (sumMap( g.1, g.2 ) as x).1, x.2) as r from ( select col_a, groupArray( (col_b, col_c) ) as g from ( SELECT properties.index as col_a, @@ -894,7 +894,7 @@ def test_with_pivot_table_1_level(self): group by col_a ), PIVOT_FUNCTION_2 AS ( - select col_a, arrayZip( (sumMap( g.1, g.2 ) as x).1, x.2) r from + select col_a, arrayZip( (sumMap( g.1, g.2 ) as x).1, x.2) as r from PIVOT_FUNCTION_1 group by col_a ) @@ -933,7 +933,7 @@ def test_with_pivot_table_2_levels(self): group by col_a ), PIVOT_FUNCTION_2 AS ( - select col_a, arrayZip( (sumMap( g.1, g.2 ) as x).1, x.2) r from + select col_a, arrayZip( (sumMap( g.1, g.2 ) as x).1, x.2) as r from PIVOT_FUNCTION_1 group by col_a ), diff --git a/posthog/hogql/visitor.py b/posthog/hogql/visitor.py index f4d8c6f308c20..d03e691b640ec 100644 --- a/posthog/hogql/visitor.py +++ b/posthog/hogql/visitor.py @@ -18,9 +18,9 @@ def clear_locations(expr: Expr) -> Expr: class Visitor(Generic[T]): - def visit(self, node: AST) -> T: + def visit(self, node: AST | None) -> T: if node is None: - return node + return node # type: ignore try: return node.accept(self) @@ -509,7 +509,7 @@ def visit_select_query(self, node: ast.SelectQuery): type=None if self.clear_types else node.type, ctes={key: self.visit(expr) for key, expr in node.ctes.items()} if node.ctes else None, # to not traverse select_from=self.visit(node.select_from), # keep "select_from" before "select" to resolve tables first - select=[self.visit(expr) for expr in node.select] if node.select else None, + select=[self.visit(expr) for expr in node.select] if node.select else [], array_join_op=node.array_join_op, array_join_list=[self.visit(expr) for expr in node.array_join_list] if node.array_join_list else None, where=self.visit(node.where), diff --git a/posthog/hogql_queries/insights/funnels/base.py b/posthog/hogql_queries/insights/funnels/base.py index e673f59c467ef..591c8fe95af32 100644 --- a/posthog/hogql_queries/insights/funnels/base.py +++ b/posthog/hogql_queries/insights/funnels/base.py @@ -645,7 +645,7 @@ def _get_count_columns(self, max_steps: int) -> list[ast.Expr]: exprs: list[ast.Expr] = [] for i in range(max_steps): - exprs.append(parse_expr(f"countIf(steps = {i + 1}) step_{i + 1}")) + exprs.append(parse_expr(f"countIf(steps = {i + 1}) as step_{i + 1}")) return exprs @@ -686,7 +686,7 @@ def _get_matching_events(self, max_steps: int) -> list[ast.Expr]: for i in range(0, max_steps): event_fields = ["latest", *self.extra_event_fields_and_properties] event_fields_with_step = ", ".join([f"{field}_{i}" for field in event_fields]) - event_clause = f"({event_fields_with_step}) as step_{i}_matching_event" + event_clause = f"({event_fields_with_step}) AS step_{i}_matching_event" events.append(parse_expr(event_clause)) return [*events, *self._get_final_matching_event(max_steps)] @@ -700,8 +700,8 @@ def _get_matching_event_arrays(self, max_steps: int) -> list[ast.Expr]: and self.context.actorsQuery.includeRecordings ): for i in range(0, max_steps): - exprs.append(parse_expr(f"groupArray(10)(step_{i}_matching_event) as step_{i}_matching_events")) - exprs.append(parse_expr(f"groupArray(10)(final_matching_event) as final_matching_events")) + exprs.append(parse_expr(f"groupArray(10)(step_{i}_matching_event) AS step_{i}_matching_events")) + exprs.append(parse_expr(f"groupArray(10)(final_matching_event) AS final_matching_events")) return exprs def _get_step_time_avgs(self, max_steps: int, inner_query: bool = False) -> list[ast.Expr]: @@ -709,9 +709,9 @@ def _get_step_time_avgs(self, max_steps: int, inner_query: bool = False) -> list for i in range(1, max_steps): exprs.append( - parse_expr(f"avg(step_{i}_conversion_time) step_{i}_average_conversion_time_inner") + parse_expr(f"avg(step_{i}_conversion_time) as step_{i}_average_conversion_time_inner") if inner_query - else parse_expr(f"avg(step_{i}_average_conversion_time_inner) step_{i}_average_conversion_time") + else parse_expr(f"avg(step_{i}_average_conversion_time_inner) as step_{i}_average_conversion_time") ) return exprs @@ -721,9 +721,9 @@ def _get_step_time_median(self, max_steps: int, inner_query: bool = False) -> li for i in range(1, max_steps): exprs.append( - parse_expr(f"median(step_{i}_conversion_time) step_{i}_median_conversion_time_inner") + parse_expr(f"median(step_{i}_conversion_time) as step_{i}_median_conversion_time_inner") if inner_query - else parse_expr(f"median(step_{i}_median_conversion_time_inner) step_{i}_median_conversion_time") + else parse_expr(f"median(step_{i}_median_conversion_time_inner) as step_{i}_median_conversion_time") ) return exprs @@ -732,7 +732,7 @@ def _get_step_time_array(self, max_steps: int) -> list[ast.Expr]: exprs: list[ast.Expr] = [] for i in range(1, max_steps): - exprs.append(parse_expr(f"groupArray(step_{i}_conversion_time) step_{i}_conversion_time_array")) + exprs.append(parse_expr(f"groupArray(step_{i}_conversion_time) as step_{i}_conversion_time_array")) return exprs @@ -742,7 +742,7 @@ def _get_step_time_array_avgs(self, max_steps: int) -> list[ast.Expr]: for i in range(1, max_steps): exprs.append( parse_expr( - f"if(isNaN(avgArray(step_{i}_conversion_time_array) as inter_{i}_conversion), NULL, inter_{i}_conversion) step_{i}_average_conversion_time" + f"if(isNaN(avgArray(step_{i}_conversion_time_array) as inter_{i}_conversion), NULL, inter_{i}_conversion) as step_{i}_average_conversion_time" ) ) @@ -754,7 +754,7 @@ def _get_step_time_array_median(self, max_steps: int) -> list[ast.Expr]: for i in range(1, max_steps): exprs.append( parse_expr( - f"if(isNaN(medianArray(step_{i}_conversion_time_array) as inter_{i}_median), NULL, inter_{i}_median) step_{i}_median_conversion_time" + f"if(isNaN(medianArray(step_{i}_conversion_time_array) as inter_{i}_median), NULL, inter_{i}_median) as step_{i}_median_conversion_time" ) ) @@ -796,8 +796,8 @@ def _get_timestamp_selects(self) -> tuple[list[ast.Expr], list[ast.Expr]]: return ( [ast.Field(chain=[f"latest_{target_step}"]), ast.Field(chain=[f"latest_{target_step - 1}"])], [ - parse_expr(f"argMax(latest_{target_step}, steps) as max_timestamp"), - parse_expr(f"argMax(latest_{target_step - 1}, steps) as min_timestamp"), + parse_expr(f"argMax(latest_{target_step}, steps) AS max_timestamp"), + parse_expr(f"argMax(latest_{target_step - 1}, steps) AS min_timestamp"), ], ) elif self.context.includeTimestamp: @@ -808,9 +808,9 @@ def _get_timestamp_selects(self) -> tuple[list[ast.Expr], list[ast.Expr]]: ast.Field(chain=[f"latest_{first_step}"]), ], [ - parse_expr(f"argMax(latest_{target_step}, steps) as timestamp"), - parse_expr(f"argMax(latest_{final_step}, steps) as final_timestamp"), - parse_expr(f"argMax(latest_{first_step}, steps) as first_timestamp"), + parse_expr(f"argMax(latest_{target_step}, steps) AS timestamp"), + parse_expr(f"argMax(latest_{final_step}, steps) AS final_timestamp"), + parse_expr(f"argMax(latest_{first_step}, steps) AS first_timestamp"), ], ) else: @@ -825,7 +825,7 @@ def _get_step_times(self, max_steps: int) -> list[ast.Expr]: for i in range(1, max_steps): exprs.append( parse_expr( - f"if(isNotNull(latest_{i}) AND latest_{i} <= toTimeZone(latest_{i-1}, 'UTC') + INTERVAL {windowInterval} {windowIntervalUnit}, dateDiff('second', latest_{i - 1}, latest_{i}), NULL) step_{i}_conversion_time" + f"if(isNotNull(latest_{i}) AND latest_{i} <= toTimeZone(latest_{i-1}, 'UTC') + INTERVAL {windowInterval} {windowIntervalUnit}, dateDiff('second', latest_{i - 1}, latest_{i}), NULL) as step_{i}_conversion_time" ), ) @@ -859,14 +859,14 @@ def _get_partition_cols(self, level_index: int, max_steps: int) -> list[ast.Expr exprs.append( parse_expr( - f"min(latest_{i}) over (PARTITION by aggregation_target {self._get_breakdown_prop()} ORDER BY timestamp DESC ROWS BETWEEN UNBOUNDED PRECEDING AND {duplicate_event} PRECEDING) latest_{i}" + f"min(latest_{i}) over (PARTITION by aggregation_target {self._get_breakdown_prop()} ORDER BY timestamp DESC ROWS BETWEEN UNBOUNDED PRECEDING AND {duplicate_event} PRECEDING) as latest_{i}" ) ) for field in self.extra_event_fields_and_properties: exprs.append( parse_expr( - f'last_value("{field}_{i}") over (PARTITION by aggregation_target {self._get_breakdown_prop()} ORDER BY timestamp DESC ROWS BETWEEN UNBOUNDED PRECEDING AND {duplicate_event} PRECEDING) "{field}_{i}"' + f'last_value("{field}_{i}") over (PARTITION by aggregation_target {self._get_breakdown_prop()} ORDER BY timestamp DESC ROWS BETWEEN UNBOUNDED PRECEDING AND {duplicate_event} PRECEDING) as "{field}_{i}"' ) ) @@ -875,7 +875,7 @@ def _get_partition_cols(self, level_index: int, max_steps: int) -> list[ast.Expr if cast(int, exclusion.funnelFromStep) + 1 == i: exprs.append( parse_expr( - f"min(exclusion_{exclusion_id}_latest_{exclusion.funnelFromStep}) over (PARTITION by aggregation_target {self._get_breakdown_prop()} ORDER BY timestamp DESC ROWS BETWEEN UNBOUNDED PRECEDING AND 0 PRECEDING) exclusion_{exclusion_id}_latest_{exclusion.funnelFromStep}" + f"min(exclusion_{exclusion_id}_latest_{exclusion.funnelFromStep}) over (PARTITION by aggregation_target {self._get_breakdown_prop()} ORDER BY timestamp DESC ROWS BETWEEN UNBOUNDED PRECEDING AND 0 PRECEDING) as exclusion_{exclusion_id}_latest_{exclusion.funnelFromStep}" ) ) diff --git a/posthog/hogql_queries/insights/funnels/funnel_strict.py b/posthog/hogql_queries/insights/funnels/funnel_strict.py index 4bf9b5ce19ea1..dd7ecad30294d 100644 --- a/posthog/hogql_queries/insights/funnels/funnel_strict.py +++ b/posthog/hogql_queries/insights/funnels/funnel_strict.py @@ -81,14 +81,14 @@ def _get_partition_cols(self, level_index: int, max_steps: int): else: exprs.append( parse_expr( - f"min(latest_{i}) over (PARTITION by aggregation_target {self._get_breakdown_prop()} ORDER BY timestamp DESC ROWS BETWEEN {i} PRECEDING AND {i} PRECEDING) latest_{i}" + f"min(latest_{i}) over (PARTITION by aggregation_target {self._get_breakdown_prop()} ORDER BY timestamp DESC ROWS BETWEEN {i} PRECEDING AND {i} PRECEDING) as latest_{i}" ) ) for field in self.extra_event_fields_and_properties: exprs.append( parse_expr( - f'min("{field}_{i}") over (PARTITION by aggregation_target {self._get_breakdown_prop()} ORDER BY timestamp DESC ROWS BETWEEN {i} PRECEDING AND {i} PRECEDING) "{field}_{i}"' + f'min("{field}_{i}") over (PARTITION by aggregation_target {self._get_breakdown_prop()} ORDER BY timestamp DESC ROWS BETWEEN {i} PRECEDING AND {i} PRECEDING) as "{field}_{i}"' ) ) diff --git a/posthog/hogql_queries/insights/funnels/funnel_unordered.py b/posthog/hogql_queries/insights/funnels/funnel_unordered.py index 2bc3be1f8ca81..f718c7fe3e4df 100644 --- a/posthog/hogql_queries/insights/funnels/funnel_unordered.py +++ b/posthog/hogql_queries/insights/funnels/funnel_unordered.py @@ -132,7 +132,7 @@ def _get_step_times(self, max_steps: int) -> list[ast.Expr]: for i in range(1, max_steps): exprs.append( parse_expr( - f"if(isNotNull(conversion_times[{i+1}]) AND conversion_times[{i+1}] <= toTimeZone(conversion_times[{i}], 'UTC') + INTERVAL {windowInterval} {windowIntervalUnit}, dateDiff('second', conversion_times[{i}], conversion_times[{i+1}]), NULL) step_{i}_conversion_time" + f"if(isNotNull(conversion_times[{i+1}]) AND conversion_times[{i+1}] <= toTimeZone(conversion_times[{i}], 'UTC') + INTERVAL {windowInterval} {windowIntervalUnit}, dateDiff('second', conversion_times[{i}], conversion_times[{i+1}]), NULL) as step_{i}_conversion_time" ) ) # array indices in ClickHouse are 1-based :shrug: