From d597c429d7ad625a7f1439739bd9d088f1c5db6e Mon Sep 17 00:00:00 2001 From: liuxy0551 Date: Tue, 23 Jun 2026 20:27:06 +0800 Subject: [PATCH] refactor: optimize trinosql grammar --- src/grammar/trino/TrinoSql.g4 | 289 +- src/lib/trino/TrinoSql.interp | 27 +- src/lib/trino/TrinoSqlListener.ts | 361 - src/lib/trino/TrinoSqlParser.ts | 15185 +++++++--------- src/lib/trino/TrinoSqlVisitor.ts | 227 - .../trino/syntax/fixtures/create_function.sql | 19 +- .../trino/syntax/fixtures/match_recognize.sql | 37 + test/parser/trino/syntax/fixtures/select.sql | 32 + .../window_with_row_pattern_recognition.sql | 4 + 9 files changed, 7094 insertions(+), 9087 deletions(-) diff --git a/src/grammar/trino/TrinoSql.g4 b/src/grammar/trino/TrinoSql.g4 index a21d1cfd1..e89a343c5 100644 --- a/src/grammar/trino/TrinoSql.g4 +++ b/src/grammar/trino/TrinoSql.g4 @@ -123,9 +123,11 @@ statement | KW_ALTER KW_VIEW from=viewRef KW_SET KW_AUTHORIZATION principal # setViewAuthorization | KW_CALL functionName '(' (callArgument (',' callArgument)*)? ')' # call | KW_CREATE (KW_OR KW_REPLACE)? functionSpecification # createFunction - | KW_DROP KW_FUNCTION (KW_IF KW_EXISTS)? functionSignature # dropFunction - | KW_CREATE KW_ROLE name=identifier (KW_WITH KW_ADMIN grantor)? (KW_IN catalog=catalogRef)? # createRole - | KW_DROP KW_ROLE name=identifier (KW_IN catalog=catalogRef)? # dropRole + | KW_DROP KW_FUNCTION (KW_IF KW_EXISTS)? functionName '(' ( + parameterDeclaration (',' parameterDeclaration)* + )? ')' # dropFunction + | KW_CREATE KW_ROLE name=identifier (KW_WITH KW_ADMIN grantor)? (KW_IN catalog=catalogRef)? # createRole + | KW_DROP KW_ROLE name=identifier (KW_IN catalog=catalogRef)? # dropRole | KW_GRANT privilegeOrRole (',' privilegeOrRole)* KW_TO principal (',' principal)* ( KW_WITH KW_ADMIN KW_OPTION )? (KW_GRANTED KW_BY grantor)? (KW_IN catalog=catalogRef)? # grantRoles @@ -169,7 +171,7 @@ statement KW_LIKE pattern=string (KW_ESCAPE escape=string)? )? # showFunctions | KW_SHOW KW_SESSION (KW_LIKE pattern=string (KW_ESCAPE escape=string)?)? # showSession - | KW_SET KW_SESSION KW_AUTHORIZATION authorizationUser # setSessionAuthorization + | KW_SET KW_SESSION KW_AUTHORIZATION (identifier | string) # setSessionAuthorization | KW_RESET KW_SESSION KW_AUTHORIZATION # resetSessionAuthorization | KW_SET KW_SESSION qualifiedName EQ expression # setSession | KW_RESET KW_SESSION qualifiedName # resetSession @@ -208,17 +210,13 @@ with tableElement : columnDefinition - | likeClause + | KW_LIKE tableRef (optionType=( KW_INCLUDING | KW_EXCLUDING) KW_PROPERTIES)? ; columnDefinition : columnNameCreate colType=type (KW_NOT KW_NULL)? (KW_COMMENT comment=string)? (KW_WITH properties)? ; -likeClause - : KW_LIKE tableRef (optionType=( KW_INCLUDING | KW_EXCLUDING) KW_PROPERTIES)? - ; - properties : '(' propertyAssignments ')' ; @@ -228,38 +226,23 @@ propertyAssignments ; property - : identifier EQ propertyValue - ; - -propertyValue - : KW_DEFAULT # defaultPropertyValue - | expression # nonDefaultPropertyValue + : identifier EQ (KW_DEFAULT | expression) ; queryNoWith : queryTerm (KW_ORDER KW_BY sortItem (',' sortItem)*)? ( - KW_OFFSET offset=rowCount (KW_ROW | KW_ROWS)? + KW_OFFSET offset=(INTEGER_VALUE | QUESTION_MARK) (KW_ROW | KW_ROWS)? )? ( - (KW_LIMIT limit=limitRowCount) + (KW_LIMIT limit=(KW_ALL | INTEGER_VALUE | QUESTION_MARK)) | ( - KW_FETCH (KW_FIRST | KW_NEXT) (fetchFirst=rowCount)? (KW_ROW | KW_ROWS) ( - KW_ONLY - | KW_WITH KW_TIES - ) + KW_FETCH (KW_FIRST | KW_NEXT) (fetchFirst=(INTEGER_VALUE | QUESTION_MARK))? ( + KW_ROW + | KW_ROWS + ) (KW_ONLY | KW_WITH KW_TIES) ) )? ; -limitRowCount - : KW_ALL - | rowCount - ; - -rowCount - : INTEGER_VALUE - | QUESTION_MARK - ; - queryTerm : queryPrimary # queryTermDefault | left=queryTerm operator=KW_INTERSECT setQuantifier? right=queryTerm # setOperation @@ -313,13 +296,8 @@ groupingElement ; groupingSet - : '(' (groupingTerm (',' groupingTerm)*)? ')' - | groupingTerm - ; - -groupingTerm - : columnRef - | expression + : '(' ((columnRef | expression) (',' (columnRef | expression))*)? ')' + | (columnRef | expression) ; windowDefinition @@ -366,7 +344,10 @@ selectExpressionColumnName relation : left=relation ( KW_CROSS KW_JOIN right=sampledRelation - | joinType KW_JOIN rightRelation=relation joinCriteria + | joinType KW_JOIN rightRelation=relation ( + KW_ON booleanExpression + | KW_USING '(' identifier (',' identifier)* ')' + ) | KW_NATURAL joinType KW_JOIN right=sampledRelation ) # joinRelation | sampledRelation # relationDefault @@ -379,34 +360,13 @@ joinType | KW_FULL KW_OUTER? ; -joinCriteria - : KW_ON booleanExpression - | KW_USING '(' identifier (',' identifier)* ')' - ; - sampledRelation - : patternRecognition (KW_TABLESAMPLE sampleType '(' percentage=expression ')')? - ; - -sampleType - : KW_BERNOULLI - | KW_SYSTEM - ; - -trimsSpecification - : KW_LEADING - | KW_TRAILING - | KW_BOTH + : patternRecognition (KW_TABLESAMPLE (KW_BERNOULLI | KW_SYSTEM) '(' percentage=expression ')')? ; listAggOverflowBehavior : KW_ERROR - | KW_TRUNCATE string? listAggCountIndication - ; - -listAggCountIndication - : KW_WITH KW_COUNT - | KW_WITHOUT KW_COUNT + | KW_TRUNCATE string? (KW_WITH KW_COUNT | KW_WITHOUT KW_COUNT) ; patternRecognition @@ -427,13 +387,11 @@ measureDefinition rowsPerMatch : KW_ONE KW_ROW KW_PER KW_MATCH - | KW_ALL KW_ROWS KW_PER KW_MATCH emptyMatchHandling? - ; - -emptyMatchHandling - : KW_SHOW KW_EMPTY KW_MATCHES - | KW_OMIT KW_EMPTY KW_MATCHES - | KW_WITH KW_UNMATCHED KW_ROWS + | KW_ALL KW_ROWS KW_PER KW_MATCH ( + KW_SHOW KW_EMPTY KW_MATCHES + | KW_OMIT KW_EMPTY KW_MATCHES + | KW_WITH KW_UNMATCHED KW_ROWS + )? ; skipTo @@ -469,9 +427,9 @@ columnAliases ; relationPrimary - : tableOrViewName queryPeriod? # tableName - | relationSourceTable # expressionSourceTable - | '(' relation ')' # parenthesizedRelation + : tableOrViewName (KW_FOR (KW_TIMESTAMP | KW_VERSION) KW_AS KW_OF end=valueExpression)? # tableName + | relationSourceTable # expressionSourceTable + | '(' relation ')' # parenthesizedRelation ; relationSourceTable @@ -583,7 +541,7 @@ predicate[antlr.ParserRuleContext value] valueExpression : primaryExpression # valueExpressionDefault - | valueExpression KW_AT timeZoneSpecifier # atTimeZone + | valueExpression KW_AT (KW_TIME KW_ZONE interval | KW_TIME KW_ZONE string) # atTimeZone | operator=(MINUS | PLUS) valueExpression # arithmeticUnary | left=valueExpression operator=(ASTERISK | SLASH | PERCENT) right=valueExpression # arithmeticBinary | left=valueExpression operator=(PLUS | MINUS) right=valueExpression # arithmeticBinary @@ -596,7 +554,7 @@ primaryExpression | identifier string # typeConstructor | KW_DOUBLE KW_PRECISION string # typeConstructor | number # numericLiteral - | booleanValue # booleanLiteral + | (KW_TRUE | KW_FALSE) # booleanLiteral | string # stringLiteral | BINARY_LITERAL # binaryLiteral | QUESTION_MARK # parameter @@ -609,39 +567,39 @@ primaryExpression | processingMode? functionName '(' (label=identifier '.')? ASTERISK ')' filter? over? # functionCall | processingMode? functionName '(' (setQuantifier? expression (',' expression)*)? ( KW_ORDER KW_BY sortItem (',' sortItem)* - )? ')' filter? (nullTreatment? over)? # functionCall - | identifier over # measure - | identifier '->' expression # lambda - | '(' (identifier (',' identifier)*)? ')' '->' expression # lambda - | '(' query ')' # subqueryExpression + )? ')' filter? ((KW_IGNORE KW_NULLS | KW_RESPECT KW_NULLS)? over)? # functionCall + | identifier over # measure + | identifier '->' expression # lambda + | '(' (identifier (',' identifier)*)? ')' '->' expression # lambda + | '(' query ')' # subqueryExpression // This is an extension to ANSI SQL, which considers KW_EXISTS to be a - | KW_EXISTS '(' query ')' # exists - | KW_CASE operand=expression whenClause+ (KW_ELSE elseExpression=expression)? KW_END # simpleCase - | KW_CASE whenClause+ (KW_ELSE elseExpression=expression)? KW_END # searchedCase - | KW_CAST '(' expression KW_AS type ')' # cast - | KW_TRY_CAST '(' expression KW_AS type ')' # cast - | KW_ARRAY '[' (expression (',' expression)*)? ']' # arrayConstructor - | value=primaryExpression '[' index=valueExpression ']' # subscript - | columnName # columnReference - | base=primaryExpression '.' fieldName=identifier # dereference - | name=KW_CURRENT_DATE # currentDate - | name=KW_CURRENT_TIME ('(' precision=INTEGER_VALUE ')')? # currentTime - | name=KW_CURRENT_TIMESTAMP ('(' precision=INTEGER_VALUE ')')? # currentTimestamp - | name=KW_LOCALTIME ('(' precision=INTEGER_VALUE ')')? # localTime - | name=KW_LOCALTIMESTAMP ('(' precision=INTEGER_VALUE ')')? # localTimestamp - | name=KW_CURRENT_USER # currentUser - | name=KW_CURRENT_CATALOG # currentCatalog - | name=KW_CURRENT_SCHEMA # currentSchema - | name=KW_CURRENT_PATH # currentPath - | KW_TRIM '(' (trimsSpecification? trimChar=valueExpression? KW_FROM)? trimSource=valueExpression ')' # trim - | KW_TRIM '(' trimSource=valueExpression ',' trimChar=valueExpression ')' # trim - | KW_SUBSTRING '(' valueExpression KW_FROM valueExpression (KW_FOR valueExpression)? ')' # substring - | KW_NORMALIZE '(' valueExpression (',' normalForm)? ')' # normalize - | KW_EXTRACT '(' identifier KW_FROM valueExpression ')' # extract - | KW_COALESCE '(' expression (',' expression)* ')' # coalesce - | '(' expression ')' # parenthesizedExpression - | KW_GROUPING '(' (qualifiedName (',' qualifiedName)*)? ')' # groupingOperation - | KW_JSON_EXISTS '(' jsonPathInvocation (jsonExistsErrorBehavior KW_ON KW_ERROR)? ')' # jsonExists + | KW_EXISTS '(' query ')' # exists + | KW_CASE operand=expression whenClause+ (KW_ELSE elseExpression=expression)? KW_END # simpleCase + | KW_CASE whenClause+ (KW_ELSE elseExpression=expression)? KW_END # searchedCase + | KW_CAST '(' expression KW_AS type ')' # cast + | KW_TRY_CAST '(' expression KW_AS type ')' # cast + | KW_ARRAY '[' (expression (',' expression)*)? ']' # arrayConstructor + | value=primaryExpression '[' index=valueExpression ']' # subscript + | columnName # columnReference + | base=primaryExpression '.' fieldName=identifier # dereference + | name=KW_CURRENT_DATE # currentDate + | name=KW_CURRENT_TIME ('(' precision=INTEGER_VALUE ')')? # currentTime + | name=KW_CURRENT_TIMESTAMP ('(' precision=INTEGER_VALUE ')')? # currentTimestamp + | name=KW_LOCALTIME ('(' precision=INTEGER_VALUE ')')? # localTime + | name=KW_LOCALTIMESTAMP ('(' precision=INTEGER_VALUE ')')? # localTimestamp + | name=KW_CURRENT_USER # currentUser + | name=KW_CURRENT_CATALOG # currentCatalog + | name=KW_CURRENT_SCHEMA # currentSchema + | name=KW_CURRENT_PATH # currentPath + | KW_TRIM '(' ((KW_LEADING | KW_TRAILING | KW_BOTH)? trimChar=valueExpression? KW_FROM)? trimSource=valueExpression ')' # trim + | KW_TRIM '(' trimSource=valueExpression ',' trimChar=valueExpression ')' # trim + | KW_SUBSTRING '(' valueExpression KW_FROM valueExpression (KW_FOR valueExpression)? ')' # substring + | KW_NORMALIZE '(' valueExpression (',' (KW_NFD | KW_NFC | KW_NFKD | KW_NFKC))? ')' # normalize + | KW_EXTRACT '(' identifier KW_FROM valueExpression ')' # extract + | KW_COALESCE '(' expression (',' expression)* ')' # coalesce + | '(' expression ')' # parenthesizedExpression + | KW_GROUPING '(' (qualifiedName (',' qualifiedName)*)? ')' # groupingOperation + | KW_JSON_EXISTS '(' jsonPathInvocation ((KW_TRUE | KW_FALSE | KW_UNKNOWN | KW_ERROR) KW_ON KW_ERROR)? ')' # jsonExists | KW_JSON_VALUE '(' jsonPathInvocation (KW_RETURNING type)? ( emptyBehavior=jsonValueBehavior KW_ON KW_EMPTY )? (errorBehavior=jsonValueBehavior KW_ON KW_ERROR)? ')' # jsonValue @@ -679,13 +637,6 @@ jsonArgument : jsonValueExpression KW_AS identifier ; -jsonExistsErrorBehavior - : KW_TRUE - | KW_FALSE - | KW_UNKNOWN - | KW_ERROR - ; - jsonValueBehavior : KW_ERROR | KW_NULL @@ -714,21 +665,11 @@ processingMode | KW_FINAL ; -nullTreatment - : KW_IGNORE KW_NULLS - | KW_RESPECT KW_NULLS - ; - string : STRING # basicStringLiteral | UNICODE_STRING (KW_UESCAPE STRING)? # unicodeStringLiteral ; -timeZoneSpecifier - : KW_TIME KW_ZONE interval # timeZoneInterval - | KW_TIME KW_ZONE string # timeZoneString - ; - comparisonOperator : EQ | NEQ @@ -744,11 +685,6 @@ comparisonQuantifier | KW_ANY ; -booleanValue - : KW_TRUE - | KW_FALSE - ; - interval : KW_INTERVAL sign=(PLUS | MINUS)? string from=intervalField (KW_TO to=intervalField)? ; @@ -762,13 +698,6 @@ intervalField | KW_SECOND ; -normalForm - : KW_NFD - | KW_NFC - | KW_NFKD - | KW_NFKC - ; - type : KW_ROW '(' rowField (',' rowField)* ')' # rowType | KW_INTERVAL from=intervalField (KW_TO to=intervalField)? # intervalType @@ -823,12 +752,10 @@ windowFrame ; frameExtent - : frameType=KW_RANGE start=frameBound - | frameType=KW_ROWS start=frameBound - | frameType=KW_GROUPS start=frameBound - | frameType=KW_RANGE KW_BETWEEN start=frameBound KW_AND end=frameBound - | frameType=KW_ROWS KW_BETWEEN start=frameBound KW_AND end=frameBound - | frameType=KW_GROUPS KW_BETWEEN start=frameBound KW_AND end=frameBound + : frameType=(KW_RANGE | KW_ROWS | KW_GROUPS) ( + KW_BETWEEN start=frameBound KW_AND end=frameBound + | start=frameBound + ) ; frameBound @@ -872,17 +799,15 @@ explainOption ; transactionMode - : KW_ISOLATION KW_LEVEL levelOfIsolation # isolationLevel + : KW_ISOLATION KW_LEVEL ( + KW_READ KW_UNCOMMITTED + | KW_READ KW_COMMITTED + | KW_REPEATABLE KW_READ + | KW_SERIALIZABLE + ) # isolationLevel | KW_READ accessMode=(KW_ONLY | KW_WRITE) # transactionAccessMode ; -levelOfIsolation - : KW_READ KW_UNCOMMITTED # readUncommitted - | KW_READ KW_COMMITTED # readCommitted - | KW_REPEATABLE KW_READ # repeatableRead - | KW_SERIALIZABLE # serializable - ; - callArgument : expression # positionalArgument | identifier '=>' expression # namedArgument @@ -898,25 +823,13 @@ pathSpecification ; functionSpecification - : KW_FUNCTION functionDeclaration returnsClause routineCharacteristic* controlStatement - ; - -functionDeclaration - : functionNameCreate '(' (parameterDeclaration (',' parameterDeclaration)*)? ')' - ; - -functionSignature - : functionName '(' (parameterDeclaration (',' parameterDeclaration)*)? ')' + : KW_FUNCTION functionNameCreate '(' (parameterDeclaration (',' parameterDeclaration)*)? ')' KW_RETURNS type routineCharacteristic* controlStatement ; parameterDeclaration : identifier? type ; -returnsClause - : KW_RETURNS type - ; - routineCharacteristic : KW_LANGUAGE identifier # languageCharacteristic | KW_NOT? KW_DETERMINISTIC # deterministicCharacteristic @@ -927,35 +840,27 @@ routineCharacteristic ; controlStatement - : KW_RETURN valueExpression # returnStatement - | KW_SET identifier EQ expression # assignmentStatement - | KW_CASE expression caseStatementWhenClause+ elseClause? KW_END KW_CASE # simpleCaseStatement - | KW_CASE caseStatementWhenClause+ elseClause? KW_END KW_CASE # searchedCaseStatement - | KW_IF expression KW_THEN sqlStatementList elseIfClause* elseClause? KW_END KW_IF # ifStatement - | KW_ITERATE identifier # iterateStatement - | KW_LEAVE identifier # leaveStatement - | KW_BEGIN (variableDeclaration SEMICOLON)* sqlStatementList? KW_END # compoundStatement - | (label=identifier ':')? KW_LOOP sqlStatementList KW_END KW_LOOP # loopStatement - | (label=identifier ':')? KW_WHILE expression KW_DO sqlStatementList KW_END KW_WHILE # whileStatement - | (label=identifier ':')? KW_REPEAT sqlStatementList KW_UNTIL expression KW_END KW_REPEAT # repeatStatement + : KW_RETURN valueExpression # returnStatement + | KW_SET identifier EQ expression # assignmentStatement + | KW_CASE expression caseStatementWhenClause+ elseClause? KW_END KW_CASE # simpleCaseStatement + | KW_CASE caseStatementWhenClause+ elseClause? KW_END KW_CASE # searchedCaseStatement + | KW_IF expression KW_THEN sqlStatementList (KW_ELSEIF expression KW_THEN sqlStatementList)* elseClause? KW_END KW_IF # ifStatement + | KW_ITERATE identifier # iterateStatement + | KW_LEAVE identifier # leaveStatement + | KW_BEGIN (KW_DECLARE identifier (',' identifier)* type (KW_DEFAULT valueExpression)? SEMICOLON)* sqlStatementList? KW_END # compoundStatement + | (label=identifier ':')? KW_LOOP sqlStatementList KW_END KW_LOOP # loopStatement + | (label=identifier ':')? KW_WHILE expression KW_DO sqlStatementList KW_END KW_WHILE # whileStatement + | (label=identifier ':')? KW_REPEAT sqlStatementList KW_UNTIL expression KW_END KW_REPEAT # repeatStatement ; caseStatementWhenClause : KW_WHEN expression KW_THEN sqlStatementList ; -elseIfClause - : KW_ELSEIF expression KW_THEN sqlStatementList - ; - elseClause : KW_ELSE sqlStatementList ; -variableDeclaration - : KW_DECLARE identifier (',' identifier)* type (KW_DEFAULT valueExpression)? - ; - sqlStatementList : (controlStatement SEMICOLON)+ ; @@ -969,14 +874,8 @@ privilege | identifier ; -entityKind - : KW_TABLE - | KW_SCHEMA - | identifier - ; - grantObject - : entityKind? qualifiedName + : (KW_TABLE | KW_SCHEMA | identifier)? qualifiedName ; tableOrViewName @@ -1051,15 +950,6 @@ qualifiedName : identifier ('.' identifier)* ; -queryPeriod - : KW_FOR rangeType KW_AS KW_OF end=valueExpression - ; - -rangeType - : KW_TIMESTAMP - | KW_VERSION - ; - grantor : principal # specifiedPrincipal | KW_CURRENT_USER # currentUserGrantor @@ -1100,11 +990,6 @@ number | MINUS? INTEGER_VALUE # integerLiteral ; -authorizationUser - : identifier # identifierUser - | string # stringUser - ; - nonReserved // IMPORTANT: this rule must only contain tokens. Nested rules are not supported. See SqlParser.exitNonReserved : KW_ABSENT diff --git a/src/lib/trino/TrinoSql.interp b/src/lib/trino/TrinoSql.interp index 1895b6642..f07cdf737 100644 --- a/src/lib/trino/TrinoSql.interp +++ b/src/lib/trino/TrinoSql.interp @@ -702,14 +702,10 @@ query with tableElement columnDefinition -likeClause properties propertyAssignments property -propertyValue queryNoWith -limitRowCount -rowCount queryTerm queryPrimary sortItem @@ -721,7 +717,6 @@ groupBy partitionBy groupingElement groupingSet -groupingTerm windowDefinition windowSpecification namedQuery @@ -733,16 +728,11 @@ selectLiteralColumnName selectExpressionColumnName relation joinType -joinCriteria sampledRelation -sampleType -trimsSpecification listAggOverflowBehavior -listAggCountIndication patternRecognition measureDefinition rowsPerMatch -emptyMatchHandling skipTo subsetDefinition variableDefinition @@ -773,21 +763,16 @@ jsonPathInvocation jsonValueExpression jsonRepresentation jsonArgument -jsonExistsErrorBehavior jsonValueBehavior jsonQueryWrapperBehavior jsonQueryBehavior jsonObjectMember processingMode -nullTreatment string -timeZoneSpecifier comparisonOperator comparisonQuantifier -booleanValue interval intervalField -normalForm type rowField typeParameter @@ -804,24 +789,17 @@ patternQuantifier updateAssignment explainOption transactionMode -levelOfIsolation callArgument pathElement pathSpecification functionSpecification -functionDeclaration -functionSignature parameterDeclaration -returnsClause routineCharacteristic controlStatement caseStatementWhenClause -elseIfClause elseClause -variableDeclaration sqlStatementList privilege -entityKind grantObject tableOrViewName tableRef @@ -838,17 +816,14 @@ columnRef columnName columnNameCreate qualifiedName -queryPeriod -rangeType grantor principal roles privilegeOrRole identifier number -authorizationUser nonReserved atn: -[4, 1, 341, 3703, 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, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 2, 91, 7, 91, 2, 92, 7, 92, 2, 93, 7, 93, 2, 94, 7, 94, 2, 95, 7, 95, 2, 96, 7, 96, 2, 97, 7, 97, 2, 98, 7, 98, 2, 99, 7, 99, 2, 100, 7, 100, 2, 101, 7, 101, 2, 102, 7, 102, 2, 103, 7, 103, 2, 104, 7, 104, 2, 105, 7, 105, 2, 106, 7, 106, 2, 107, 7, 107, 2, 108, 7, 108, 2, 109, 7, 109, 2, 110, 7, 110, 2, 111, 7, 111, 2, 112, 7, 112, 2, 113, 7, 113, 2, 114, 7, 114, 2, 115, 7, 115, 2, 116, 7, 116, 2, 117, 7, 117, 2, 118, 7, 118, 2, 119, 7, 119, 2, 120, 7, 120, 2, 121, 7, 121, 2, 122, 7, 122, 2, 123, 7, 123, 2, 124, 7, 124, 2, 125, 7, 125, 2, 126, 7, 126, 2, 127, 7, 127, 2, 128, 7, 128, 2, 129, 7, 129, 2, 130, 7, 130, 2, 131, 7, 131, 2, 132, 7, 132, 2, 133, 7, 133, 2, 134, 7, 134, 2, 135, 7, 135, 2, 136, 7, 136, 2, 137, 7, 137, 2, 138, 7, 138, 2, 139, 7, 139, 2, 140, 7, 140, 2, 141, 7, 141, 2, 142, 7, 142, 2, 143, 7, 143, 2, 144, 7, 144, 2, 145, 7, 145, 2, 146, 7, 146, 2, 147, 7, 147, 2, 148, 7, 148, 2, 149, 7, 149, 2, 150, 7, 150, 2, 151, 7, 151, 2, 152, 7, 152, 2, 153, 7, 153, 2, 154, 7, 154, 2, 155, 7, 155, 2, 156, 7, 156, 2, 157, 7, 157, 2, 158, 7, 158, 2, 159, 7, 159, 2, 160, 7, 160, 1, 0, 5, 0, 324, 8, 0, 10, 0, 12, 0, 327, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 3, 2, 335, 8, 2, 1, 3, 1, 3, 3, 3, 339, 8, 3, 1, 4, 1, 4, 3, 4, 343, 8, 4, 1, 5, 1, 5, 3, 5, 347, 8, 5, 1, 6, 1, 6, 3, 6, 351, 8, 6, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 364, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 371, 8, 8, 1, 8, 1, 8, 3, 8, 375, 8, 8, 1, 8, 1, 8, 3, 8, 379, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 385, 8, 8, 1, 8, 1, 8, 3, 8, 389, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 396, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 401, 8, 8, 1, 8, 1, 8, 3, 8, 405, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 411, 8, 8, 1, 8, 1, 8, 3, 8, 415, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 434, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 440, 8, 8, 1, 8, 1, 8, 3, 8, 444, 8, 8, 1, 8, 1, 8, 3, 8, 448, 8, 8, 1, 8, 1, 8, 3, 8, 452, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 460, 8, 8, 1, 8, 1, 8, 3, 8, 464, 8, 8, 1, 8, 3, 8, 467, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 472, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 478, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 485, 8, 8, 10, 8, 12, 8, 488, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 493, 8, 8, 1, 8, 1, 8, 3, 8, 497, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 503, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 510, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 518, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 530, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 539, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 548, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 554, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 565, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 573, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 581, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 588, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 598, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 605, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 613, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 628, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 661, 8, 8, 10, 8, 12, 8, 664, 9, 8, 3, 8, 666, 8, 8, 1, 8, 3, 8, 669, 8, 8, 1, 8, 3, 8, 672, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 678, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 683, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 690, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 696, 8, 8, 1, 8, 1, 8, 3, 8, 700, 8, 8, 1, 8, 1, 8, 3, 8, 704, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 712, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 718, 8, 8, 1, 8, 1, 8, 3, 8, 722, 8, 8, 1, 8, 1, 8, 3, 8, 726, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 740, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 748, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 767, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 790, 8, 8, 10, 8, 12, 8, 793, 9, 8, 3, 8, 795, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 802, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 809, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 818, 8, 8, 1, 8, 1, 8, 3, 8, 822, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 829, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 835, 8, 8, 10, 8, 12, 8, 838, 9, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 844, 8, 8, 10, 8, 12, 8, 847, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 852, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 857, 8, 8, 1, 8, 1, 8, 3, 8, 861, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 867, 8, 8, 10, 8, 12, 8, 870, 9, 8, 1, 8, 1, 8, 3, 8, 874, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 883, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 889, 8, 8, 1, 8, 1, 8, 1, 8, 5, 8, 894, 8, 8, 10, 8, 12, 8, 897, 9, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 903, 8, 8, 10, 8, 12, 8, 906, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 911, 8, 8, 1, 8, 1, 8, 3, 8, 915, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 921, 8, 8, 1, 8, 1, 8, 1, 8, 5, 8, 926, 8, 8, 10, 8, 12, 8, 929, 9, 8, 1, 8, 1, 8, 3, 8, 933, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 944, 8, 8, 10, 8, 12, 8, 947, 9, 8, 1, 8, 1, 8, 3, 8, 951, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 963, 8, 8, 1, 8, 1, 8, 3, 8, 967, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 973, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 980, 8, 8, 10, 8, 12, 8, 983, 9, 8, 1, 8, 1, 8, 3, 8, 987, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 993, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1021, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1027, 8, 8, 3, 8, 1029, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1035, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1041, 8, 8, 3, 8, 1043, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1051, 8, 8, 3, 8, 1053, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1063, 8, 8, 3, 8, 1065, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1080, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1085, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1092, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1102, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1108, 8, 8, 3, 8, 1110, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1118, 8, 8, 3, 8, 1120, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1143, 8, 8, 10, 8, 12, 8, 1146, 9, 8, 3, 8, 1148, 8, 8, 1, 8, 1, 8, 3, 8, 1152, 8, 8, 1, 8, 1, 8, 3, 8, 1156, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1172, 8, 8, 10, 8, 12, 8, 1175, 9, 8, 3, 8, 1177, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1186, 8, 8, 10, 8, 12, 8, 1189, 9, 8, 3, 8, 1191, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1207, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1215, 8, 8, 10, 8, 12, 8, 1218, 9, 8, 1, 8, 3, 8, 1221, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1227, 8, 8, 1, 8, 3, 8, 1230, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 4, 8, 1237, 8, 8, 11, 8, 12, 8, 1238, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1251, 8, 8, 1, 9, 3, 9, 1254, 8, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 1262, 8, 10, 10, 10, 12, 10, 1265, 9, 10, 1, 11, 3, 11, 1268, 8, 11, 1, 11, 1, 11, 1, 12, 1, 12, 3, 12, 1274, 8, 12, 1, 12, 1, 12, 1, 12, 5, 12, 1279, 8, 12, 10, 12, 12, 12, 1282, 9, 12, 1, 13, 1, 13, 3, 13, 1286, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 1292, 8, 14, 1, 14, 1, 14, 3, 14, 1296, 8, 14, 1, 14, 1, 14, 3, 14, 1300, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 1306, 8, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 5, 17, 1315, 8, 17, 10, 17, 12, 17, 1318, 9, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 3, 19, 1326, 8, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 5, 20, 1334, 8, 20, 10, 20, 12, 20, 1337, 9, 20, 3, 20, 1339, 8, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1344, 8, 20, 3, 20, 1346, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1353, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1359, 8, 20, 3, 20, 1361, 8, 20, 1, 21, 1, 21, 3, 21, 1365, 8, 21, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 1375, 8, 23, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 1381, 8, 23, 1, 23, 5, 23, 1384, 8, 23, 10, 23, 12, 23, 1387, 9, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 5, 24, 1396, 8, 24, 10, 24, 12, 24, 1399, 9, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 1405, 8, 24, 1, 25, 1, 25, 3, 25, 1409, 8, 25, 1, 25, 3, 25, 1412, 8, 25, 1, 25, 1, 25, 3, 25, 1416, 8, 25, 1, 26, 1, 26, 3, 26, 1420, 8, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1427, 8, 26, 10, 26, 12, 26, 1430, 9, 26, 3, 26, 1432, 8, 26, 1, 26, 3, 26, 1435, 8, 26, 1, 26, 1, 26, 1, 26, 3, 26, 1440, 8, 26, 1, 26, 3, 26, 1443, 8, 26, 1, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1449, 8, 26, 10, 26, 12, 26, 1452, 9, 26, 3, 26, 1454, 8, 26, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 5, 29, 1465, 8, 29, 10, 29, 12, 29, 1468, 9, 29, 1, 30, 3, 30, 1471, 8, 30, 1, 30, 1, 30, 1, 30, 5, 30, 1476, 8, 30, 10, 30, 12, 30, 1479, 9, 30, 1, 31, 1, 31, 1, 31, 5, 31, 1484, 8, 31, 10, 31, 12, 31, 1487, 9, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 1495, 8, 32, 10, 32, 12, 32, 1498, 9, 32, 3, 32, 1500, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 1508, 8, 32, 10, 32, 12, 32, 1511, 9, 32, 3, 32, 1513, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 1522, 8, 32, 10, 32, 12, 32, 1525, 9, 32, 1, 32, 1, 32, 3, 32, 1529, 8, 32, 1, 33, 1, 33, 1, 33, 1, 33, 5, 33, 1535, 8, 33, 10, 33, 12, 33, 1538, 9, 33, 3, 33, 1540, 8, 33, 1, 33, 1, 33, 3, 33, 1544, 8, 33, 1, 34, 1, 34, 3, 34, 1548, 8, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 36, 3, 36, 1557, 8, 36, 1, 36, 1, 36, 1, 36, 3, 36, 1562, 8, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 5, 36, 1569, 8, 36, 10, 36, 12, 36, 1572, 9, 36, 3, 36, 1574, 8, 36, 1, 36, 3, 36, 1577, 8, 36, 1, 37, 1, 37, 3, 37, 1581, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 39, 1, 39, 3, 39, 1592, 8, 39, 1, 39, 3, 39, 1595, 8, 39, 1, 39, 3, 39, 1598, 8, 39, 1, 39, 1, 39, 1, 39, 3, 39, 1603, 8, 39, 1, 39, 3, 39, 1606, 8, 39, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 1635, 8, 44, 5, 44, 1637, 8, 44, 10, 44, 12, 44, 1640, 9, 44, 1, 45, 3, 45, 1643, 8, 45, 1, 45, 1, 45, 3, 45, 1647, 8, 45, 1, 45, 1, 45, 3, 45, 1651, 8, 45, 1, 45, 1, 45, 3, 45, 1655, 8, 45, 3, 45, 1657, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 5, 46, 1666, 8, 46, 10, 46, 12, 46, 1669, 9, 46, 1, 46, 1, 46, 3, 46, 1673, 8, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 1682, 8, 47, 1, 48, 1, 48, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 3, 50, 1691, 8, 50, 1, 50, 3, 50, 1694, 8, 50, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 1700, 8, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 1708, 8, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 1715, 8, 52, 10, 52, 12, 52, 1718, 9, 52, 3, 52, 1720, 8, 52, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 1726, 8, 52, 10, 52, 12, 52, 1729, 9, 52, 3, 52, 1731, 8, 52, 1, 52, 3, 52, 1734, 8, 52, 1, 52, 1, 52, 1, 52, 3, 52, 1739, 8, 52, 1, 52, 3, 52, 1742, 8, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 1752, 8, 52, 10, 52, 12, 52, 1755, 9, 52, 3, 52, 1757, 8, 52, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 1763, 8, 52, 10, 52, 12, 52, 1766, 9, 52, 1, 52, 1, 52, 3, 52, 1770, 8, 52, 1, 52, 1, 52, 3, 52, 1774, 8, 52, 3, 52, 1776, 8, 52, 3, 52, 1778, 8, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 3, 54, 1793, 8, 54, 3, 54, 1795, 8, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1806, 8, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1827, 8, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 1835, 8, 57, 10, 57, 12, 57, 1838, 9, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 3, 59, 1848, 8, 59, 1, 59, 1, 59, 3, 59, 1852, 8, 59, 3, 59, 1854, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 5, 60, 1860, 8, 60, 10, 60, 12, 60, 1863, 9, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 5, 61, 1871, 8, 61, 10, 61, 12, 61, 1874, 9, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 5, 62, 1882, 8, 62, 10, 62, 12, 62, 1885, 9, 62, 1, 62, 1, 62, 1, 63, 1, 63, 3, 63, 1891, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 1898, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 5, 64, 1909, 8, 64, 10, 64, 12, 64, 1912, 9, 64, 1, 64, 1, 64, 1, 64, 3, 64, 1917, 8, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 5, 64, 1937, 8, 64, 10, 64, 12, 64, 1940, 9, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 1954, 8, 64, 1, 64, 1, 64, 1, 64, 3, 64, 1959, 8, 64, 1, 64, 1, 64, 3, 64, 1963, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 1973, 8, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 1979, 8, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 1985, 8, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 1993, 8, 65, 1, 65, 1, 65, 1, 65, 3, 65, 1998, 8, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 2005, 8, 65, 3, 65, 2007, 8, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 2013, 8, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 2019, 8, 65, 1, 65, 1, 65, 3, 65, 2023, 8, 65, 1, 65, 1, 65, 1, 65, 3, 65, 2028, 8, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 2035, 8, 65, 10, 65, 12, 65, 2038, 9, 65, 1, 65, 1, 65, 3, 65, 2042, 8, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 5, 66, 2054, 8, 66, 10, 66, 12, 66, 2057, 9, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 5, 66, 2064, 8, 66, 10, 66, 12, 66, 2067, 9, 66, 3, 66, 2069, 8, 66, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 2078, 8, 68, 1, 69, 1, 69, 1, 69, 3, 69, 2083, 8, 69, 1, 69, 1, 69, 1, 69, 3, 69, 2088, 8, 69, 3, 69, 2090, 8, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 5, 70, 2097, 8, 70, 10, 70, 12, 70, 2100, 9, 70, 3, 70, 2102, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 5, 70, 2108, 8, 70, 10, 70, 12, 70, 2111, 9, 70, 3, 70, 2113, 8, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 3, 71, 2120, 8, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2125, 8, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2132, 8, 72, 1, 72, 1, 72, 3, 72, 2136, 8, 72, 3, 72, 2138, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2146, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2154, 8, 72, 10, 72, 12, 72, 2157, 9, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2162, 8, 72, 3, 72, 2164, 8, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 3, 73, 2171, 8, 73, 1, 73, 1, 73, 3, 73, 2175, 8, 73, 3, 73, 2177, 8, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 3, 73, 2184, 8, 73, 1, 73, 1, 73, 3, 73, 2188, 8, 73, 3, 73, 2190, 8, 73, 3, 73, 2192, 8, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 5, 74, 2199, 8, 74, 10, 74, 12, 74, 2202, 9, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 3, 74, 2212, 8, 74, 1, 75, 1, 75, 3, 75, 2216, 8, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 5, 76, 2224, 8, 76, 10, 76, 12, 76, 2227, 9, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 3, 78, 2236, 8, 78, 1, 78, 1, 78, 3, 78, 2240, 8, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 5, 78, 2248, 8, 78, 10, 78, 12, 78, 2251, 9, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 3, 79, 2263, 8, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 3, 79, 2271, 8, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 5, 79, 2278, 8, 79, 10, 79, 12, 79, 2281, 9, 79, 1, 79, 1, 79, 1, 79, 3, 79, 2286, 8, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 3, 79, 2294, 8, 79, 1, 79, 1, 79, 1, 79, 1, 79, 3, 79, 2300, 8, 79, 1, 79, 1, 79, 3, 79, 2304, 8, 79, 1, 79, 1, 79, 1, 79, 3, 79, 2309, 8, 79, 1, 79, 1, 79, 1, 79, 3, 79, 2314, 8, 79, 1, 80, 1, 80, 1, 80, 1, 80, 3, 80, 2320, 8, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 5, 80, 2334, 8, 80, 10, 80, 12, 80, 2337, 9, 80, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 4, 81, 2364, 8, 81, 11, 81, 12, 81, 2365, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 2375, 8, 81, 10, 81, 12, 81, 2378, 9, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2385, 8, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2390, 8, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2395, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 2406, 8, 81, 10, 81, 12, 81, 2409, 9, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2414, 8, 81, 1, 81, 3, 81, 2417, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2424, 8, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2429, 8, 81, 1, 81, 3, 81, 2432, 8, 81, 1, 81, 3, 81, 2435, 8, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2440, 8, 81, 1, 81, 1, 81, 1, 81, 5, 81, 2445, 8, 81, 10, 81, 12, 81, 2448, 9, 81, 3, 81, 2450, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 2457, 8, 81, 10, 81, 12, 81, 2460, 9, 81, 3, 81, 2462, 8, 81, 1, 81, 1, 81, 3, 81, 2466, 8, 81, 1, 81, 3, 81, 2469, 8, 81, 1, 81, 3, 81, 2472, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 2485, 8, 81, 10, 81, 12, 81, 2488, 9, 81, 3, 81, 2490, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 4, 81, 2507, 8, 81, 11, 81, 12, 81, 2508, 1, 81, 1, 81, 3, 81, 2513, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 4, 81, 2519, 8, 81, 11, 81, 12, 81, 2520, 1, 81, 1, 81, 3, 81, 2525, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 2548, 8, 81, 10, 81, 12, 81, 2551, 9, 81, 3, 81, 2553, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2562, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2568, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2574, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2580, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2589, 8, 81, 1, 81, 3, 81, 2592, 8, 81, 1, 81, 3, 81, 2595, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2614, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2623, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 2639, 8, 81, 10, 81, 12, 81, 2642, 9, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 2655, 8, 81, 10, 81, 12, 81, 2658, 9, 81, 3, 81, 2660, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2670, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2679, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2685, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2691, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2702, 8, 81, 3, 81, 2704, 8, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2709, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2716, 8, 81, 3, 81, 2718, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2724, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2730, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 2739, 8, 81, 10, 81, 12, 81, 2742, 9, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2750, 8, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2755, 8, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2760, 8, 81, 3, 81, 2762, 8, 81, 3, 81, 2764, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2770, 8, 81, 3, 81, 2772, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 2780, 8, 81, 10, 81, 12, 81, 2783, 9, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2791, 8, 81, 3, 81, 2793, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2799, 8, 81, 3, 81, 2801, 8, 81, 1, 81, 3, 81, 2804, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 2814, 8, 81, 10, 81, 12, 81, 2817, 9, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 3, 82, 2824, 8, 82, 1, 82, 1, 82, 1, 82, 1, 82, 5, 82, 2830, 8, 82, 10, 82, 12, 82, 2833, 9, 82, 3, 82, 2835, 8, 82, 1, 83, 1, 83, 1, 83, 3, 83, 2840, 8, 83, 1, 84, 1, 84, 1, 84, 3, 84, 2845, 8, 84, 1, 85, 1, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 87, 1, 87, 1, 87, 1, 87, 3, 87, 2857, 8, 87, 1, 88, 1, 88, 3, 88, 2861, 8, 88, 1, 88, 1, 88, 3, 88, 2865, 8, 88, 1, 88, 3, 88, 2868, 8, 88, 3, 88, 2870, 8, 88, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 3, 89, 2878, 8, 89, 1, 90, 3, 90, 2881, 8, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 3, 90, 2891, 8, 90, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2899, 8, 92, 1, 93, 1, 93, 1, 93, 1, 93, 3, 93, 2905, 8, 93, 3, 93, 2907, 8, 93, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 3, 94, 2915, 8, 94, 1, 95, 1, 95, 1, 96, 1, 96, 1, 97, 1, 97, 1, 98, 1, 98, 3, 98, 2925, 8, 98, 1, 98, 1, 98, 1, 98, 1, 98, 3, 98, 2931, 8, 98, 1, 99, 1, 99, 1, 100, 1, 100, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 5, 101, 2943, 8, 101, 10, 101, 12, 101, 2946, 9, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 3, 101, 2954, 8, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 3, 101, 2961, 8, 101, 1, 101, 1, 101, 1, 101, 3, 101, 2966, 8, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 3, 101, 2973, 8, 101, 1, 101, 1, 101, 1, 101, 3, 101, 2978, 8, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 5, 101, 2999, 8, 101, 10, 101, 12, 101, 3002, 9, 101, 1, 101, 1, 101, 3, 101, 3006, 8, 101, 3, 101, 3008, 8, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 3, 101, 3015, 8, 101, 5, 101, 3017, 8, 101, 10, 101, 12, 101, 3020, 9, 101, 1, 102, 1, 102, 1, 102, 1, 102, 3, 102, 3026, 8, 102, 1, 103, 1, 103, 3, 103, 3030, 8, 103, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 106, 1, 106, 1, 106, 1, 106, 3, 106, 3046, 8, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 5, 106, 3059, 8, 106, 10, 106, 12, 106, 3062, 9, 106, 1, 106, 1, 106, 1, 106, 1, 106, 3, 106, 3068, 8, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 3, 106, 3077, 8, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 5, 106, 3085, 8, 106, 10, 106, 12, 106, 3088, 9, 106, 1, 106, 1, 106, 3, 106, 3092, 8, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 5, 106, 3099, 8, 106, 10, 106, 12, 106, 3102, 9, 106, 1, 106, 1, 106, 3, 106, 3106, 8, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 3, 107, 3114, 8, 107, 1, 108, 1, 108, 1, 108, 1, 108, 5, 108, 3120, 8, 108, 10, 108, 12, 108, 3123, 9, 108, 3, 108, 3125, 8, 108, 1, 108, 1, 108, 1, 108, 1, 108, 3, 108, 3131, 8, 108, 1, 108, 3, 108, 3134, 8, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 3, 108, 3141, 8, 108, 1, 108, 1, 108, 1, 108, 1, 108, 5, 108, 3147, 8, 108, 10, 108, 12, 108, 3150, 9, 108, 3, 108, 3152, 8, 108, 1, 108, 1, 108, 1, 108, 1, 108, 5, 108, 3158, 8, 108, 10, 108, 12, 108, 3161, 9, 108, 3, 108, 3163, 8, 108, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 3, 109, 3189, 8, 109, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 3, 110, 3200, 8, 110, 1, 111, 1, 111, 1, 111, 3, 111, 3205, 8, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 5, 111, 3212, 8, 111, 10, 111, 12, 111, 3215, 9, 111, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 5, 112, 3225, 8, 112, 10, 112, 12, 112, 3228, 9, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 3, 112, 3242, 8, 112, 1, 113, 1, 113, 3, 113, 3246, 8, 113, 1, 113, 1, 113, 3, 113, 3250, 8, 113, 1, 113, 1, 113, 3, 113, 3254, 8, 113, 1, 113, 1, 113, 1, 113, 1, 113, 3, 113, 3260, 8, 113, 1, 113, 1, 113, 3, 113, 3264, 8, 113, 1, 113, 1, 113, 3, 113, 3268, 8, 113, 1, 113, 1, 113, 3, 113, 3272, 8, 113, 3, 113, 3274, 8, 113, 1, 114, 1, 114, 1, 114, 1, 114, 1, 115, 1, 115, 1, 115, 1, 115, 3, 115, 3284, 8, 115, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 3, 116, 3291, 8, 116, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 3, 117, 3300, 8, 117, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 3, 118, 3307, 8, 118, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 3, 119, 3314, 8, 119, 1, 120, 1, 120, 1, 120, 5, 120, 3319, 8, 120, 10, 120, 12, 120, 3322, 9, 120, 1, 121, 1, 121, 1, 121, 1, 121, 5, 121, 3328, 8, 121, 10, 121, 12, 121, 3331, 9, 121, 1, 121, 1, 121, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 5, 122, 3340, 8, 122, 10, 122, 12, 122, 3343, 9, 122, 3, 122, 3345, 8, 122, 1, 122, 1, 122, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 5, 123, 3354, 8, 123, 10, 123, 12, 123, 3357, 9, 123, 3, 123, 3359, 8, 123, 1, 123, 1, 123, 1, 124, 3, 124, 3364, 8, 124, 1, 124, 1, 124, 1, 125, 1, 125, 1, 125, 1, 126, 1, 126, 1, 126, 3, 126, 3374, 8, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 3, 126, 3390, 8, 126, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 4, 127, 3402, 8, 127, 11, 127, 12, 127, 3403, 1, 127, 3, 127, 3407, 8, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 4, 127, 3414, 8, 127, 11, 127, 12, 127, 3415, 1, 127, 3, 127, 3419, 8, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 5, 127, 3429, 8, 127, 10, 127, 12, 127, 3432, 9, 127, 1, 127, 3, 127, 3435, 8, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 5, 127, 3448, 8, 127, 10, 127, 12, 127, 3451, 9, 127, 1, 127, 3, 127, 3454, 8, 127, 1, 127, 1, 127, 1, 127, 1, 127, 3, 127, 3460, 8, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 3, 127, 3470, 8, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 3, 127, 3482, 8, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 3, 127, 3491, 8, 127, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 130, 1, 130, 1, 130, 1, 131, 1, 131, 1, 131, 1, 131, 5, 131, 3510, 8, 131, 10, 131, 12, 131, 3513, 9, 131, 1, 131, 1, 131, 1, 131, 3, 131, 3518, 8, 131, 1, 132, 1, 132, 1, 132, 4, 132, 3523, 8, 132, 11, 132, 12, 132, 3524, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 3, 133, 3533, 8, 133, 1, 134, 1, 134, 1, 134, 3, 134, 3538, 8, 134, 1, 135, 3, 135, 3541, 8, 135, 1, 135, 1, 135, 1, 136, 1, 136, 3, 136, 3547, 8, 136, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 3, 137, 3560, 8, 137, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 3, 138, 3573, 8, 138, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 3, 139, 3586, 8, 139, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 3, 140, 3599, 8, 140, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 3, 141, 3606, 8, 141, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 3, 142, 3613, 8, 142, 1, 143, 1, 143, 1, 144, 1, 144, 1, 145, 1, 145, 1, 146, 1, 146, 1, 147, 1, 147, 3, 147, 3625, 8, 147, 1, 148, 1, 148, 1, 149, 1, 149, 1, 150, 1, 150, 1, 150, 5, 150, 3634, 8, 150, 10, 150, 12, 150, 3637, 9, 150, 1, 151, 1, 151, 1, 151, 1, 151, 1, 151, 1, 151, 1, 152, 1, 152, 1, 153, 1, 153, 1, 153, 3, 153, 3650, 8, 153, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 3, 154, 3657, 8, 154, 1, 155, 1, 155, 1, 155, 5, 155, 3662, 8, 155, 10, 155, 12, 155, 3665, 9, 155, 1, 156, 1, 156, 1, 156, 1, 156, 1, 156, 1, 156, 1, 156, 3, 156, 3674, 8, 156, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 3, 157, 3681, 8, 157, 1, 158, 3, 158, 3684, 8, 158, 1, 158, 1, 158, 3, 158, 3688, 8, 158, 1, 158, 1, 158, 3, 158, 3692, 8, 158, 1, 158, 3, 158, 3695, 8, 158, 1, 159, 1, 159, 3, 159, 3699, 8, 159, 1, 160, 1, 160, 1, 160, 0, 7, 46, 88, 156, 160, 162, 202, 222, 161, 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, 166, 168, 170, 172, 174, 176, 178, 180, 182, 184, 186, 188, 190, 192, 194, 196, 198, 200, 202, 204, 206, 208, 210, 212, 214, 216, 218, 220, 222, 224, 226, 228, 230, 232, 234, 236, 238, 240, 242, 244, 246, 248, 250, 252, 254, 256, 258, 260, 262, 264, 266, 268, 270, 272, 274, 276, 278, 280, 282, 284, 286, 288, 290, 292, 294, 296, 298, 300, 302, 304, 306, 308, 310, 312, 314, 316, 318, 320, 0, 36, 2, 0, 39, 39, 230, 230, 2, 0, 73, 73, 132, 132, 2, 0, 106, 106, 123, 123, 2, 0, 93, 93, 124, 124, 1, 0, 240, 241, 2, 0, 102, 102, 175, 175, 2, 0, 325, 325, 330, 330, 2, 0, 92, 92, 282, 282, 2, 0, 29, 29, 76, 76, 2, 0, 102, 102, 149, 149, 2, 0, 22, 22, 80, 80, 2, 0, 33, 33, 260, 260, 3, 0, 35, 35, 151, 151, 271, 271, 2, 0, 125, 125, 248, 248, 2, 0, 86, 86, 90, 90, 2, 0, 145, 145, 190, 190, 2, 0, 126, 126, 198, 198, 2, 0, 55, 55, 282, 282, 1, 0, 319, 320, 1, 0, 321, 323, 1, 0, 292, 294, 4, 0, 90, 90, 98, 98, 274, 274, 284, 284, 2, 0, 50, 50, 281, 281, 2, 0, 101, 101, 242, 242, 1, 0, 313, 318, 3, 0, 22, 22, 26, 26, 255, 255, 2, 0, 98, 98, 274, 274, 5, 0, 68, 68, 119, 119, 171, 172, 246, 246, 311, 311, 1, 0, 176, 179, 2, 0, 305, 305, 307, 307, 2, 0, 103, 103, 213, 213, 3, 0, 114, 114, 138, 138, 264, 264, 4, 0, 81, 81, 133, 133, 161, 161, 295, 295, 2, 0, 193, 193, 310, 310, 2, 0, 269, 269, 299, 299, 54, 0, 18, 22, 24, 24, 26, 27, 29, 33, 35, 35, 37, 39, 42, 50, 52, 53, 57, 57, 66, 68, 70, 73, 75, 76, 78, 79, 81, 83, 86, 88, 90, 90, 93, 93, 96, 96, 99, 103, 105, 105, 108, 114, 117, 117, 119, 122, 124, 125, 127, 127, 130, 130, 132, 133, 135, 136, 138, 138, 145, 152, 154, 154, 156, 156, 158, 158, 161, 172, 174, 181, 185, 190, 192, 194, 197, 197, 199, 214, 216, 221, 223, 234, 236, 238, 240, 248, 250, 260, 262, 265, 267, 272, 275, 277, 279, 281, 283, 285, 287, 290, 292, 296, 298, 300, 303, 304, 306, 312, 4244, 0, 325, 1, 0, 0, 0, 2, 330, 1, 0, 0, 0, 4, 332, 1, 0, 0, 0, 6, 336, 1, 0, 0, 0, 8, 340, 1, 0, 0, 0, 10, 344, 1, 0, 0, 0, 12, 348, 1, 0, 0, 0, 14, 352, 1, 0, 0, 0, 16, 1250, 1, 0, 0, 0, 18, 1253, 1, 0, 0, 0, 20, 1257, 1, 0, 0, 0, 22, 1267, 1, 0, 0, 0, 24, 1271, 1, 0, 0, 0, 26, 1285, 1, 0, 0, 0, 28, 1287, 1, 0, 0, 0, 30, 1301, 1, 0, 0, 0, 32, 1307, 1, 0, 0, 0, 34, 1311, 1, 0, 0, 0, 36, 1319, 1, 0, 0, 0, 38, 1325, 1, 0, 0, 0, 40, 1327, 1, 0, 0, 0, 42, 1364, 1, 0, 0, 0, 44, 1366, 1, 0, 0, 0, 46, 1368, 1, 0, 0, 0, 48, 1404, 1, 0, 0, 0, 50, 1408, 1, 0, 0, 0, 52, 1417, 1, 0, 0, 0, 54, 1455, 1, 0, 0, 0, 56, 1458, 1, 0, 0, 0, 58, 1461, 1, 0, 0, 0, 60, 1470, 1, 0, 0, 0, 62, 1480, 1, 0, 0, 0, 64, 1528, 1, 0, 0, 0, 66, 1543, 1, 0, 0, 0, 68, 1547, 1, 0, 0, 0, 70, 1549, 1, 0, 0, 0, 72, 1556, 1, 0, 0, 0, 74, 1578, 1, 0, 0, 0, 76, 1587, 1, 0, 0, 0, 78, 1605, 1, 0, 0, 0, 80, 1607, 1, 0, 0, 0, 82, 1609, 1, 0, 0, 0, 84, 1613, 1, 0, 0, 0, 86, 1615, 1, 0, 0, 0, 88, 1617, 1, 0, 0, 0, 90, 1656, 1, 0, 0, 0, 92, 1672, 1, 0, 0, 0, 94, 1674, 1, 0, 0, 0, 96, 1683, 1, 0, 0, 0, 98, 1685, 1, 0, 0, 0, 100, 1693, 1, 0, 0, 0, 102, 1699, 1, 0, 0, 0, 104, 1701, 1, 0, 0, 0, 106, 1779, 1, 0, 0, 0, 108, 1794, 1, 0, 0, 0, 110, 1805, 1, 0, 0, 0, 112, 1826, 1, 0, 0, 0, 114, 1828, 1, 0, 0, 0, 116, 1841, 1, 0, 0, 0, 118, 1845, 1, 0, 0, 0, 120, 1855, 1, 0, 0, 0, 122, 1866, 1, 0, 0, 0, 124, 1877, 1, 0, 0, 0, 126, 1897, 1, 0, 0, 0, 128, 1962, 1, 0, 0, 0, 130, 2041, 1, 0, 0, 0, 132, 2068, 1, 0, 0, 0, 134, 2070, 1, 0, 0, 0, 136, 2077, 1, 0, 0, 0, 138, 2089, 1, 0, 0, 0, 140, 2091, 1, 0, 0, 0, 142, 2119, 1, 0, 0, 0, 144, 2126, 1, 0, 0, 0, 146, 2191, 1, 0, 0, 0, 148, 2211, 1, 0, 0, 0, 150, 2213, 1, 0, 0, 0, 152, 2217, 1, 0, 0, 0, 154, 2230, 1, 0, 0, 0, 156, 2239, 1, 0, 0, 0, 158, 2313, 1, 0, 0, 0, 160, 2319, 1, 0, 0, 0, 162, 2803, 1, 0, 0, 0, 164, 2818, 1, 0, 0, 0, 166, 2836, 1, 0, 0, 0, 168, 2841, 1, 0, 0, 0, 170, 2846, 1, 0, 0, 0, 172, 2850, 1, 0, 0, 0, 174, 2856, 1, 0, 0, 0, 176, 2869, 1, 0, 0, 0, 178, 2877, 1, 0, 0, 0, 180, 2890, 1, 0, 0, 0, 182, 2892, 1, 0, 0, 0, 184, 2898, 1, 0, 0, 0, 186, 2906, 1, 0, 0, 0, 188, 2914, 1, 0, 0, 0, 190, 2916, 1, 0, 0, 0, 192, 2918, 1, 0, 0, 0, 194, 2920, 1, 0, 0, 0, 196, 2922, 1, 0, 0, 0, 198, 2932, 1, 0, 0, 0, 200, 2934, 1, 0, 0, 0, 202, 3007, 1, 0, 0, 0, 204, 3025, 1, 0, 0, 0, 206, 3029, 1, 0, 0, 0, 208, 3031, 1, 0, 0, 0, 210, 3036, 1, 0, 0, 0, 212, 3105, 1, 0, 0, 0, 214, 3107, 1, 0, 0, 0, 216, 3124, 1, 0, 0, 0, 218, 3188, 1, 0, 0, 0, 220, 3199, 1, 0, 0, 0, 222, 3201, 1, 0, 0, 0, 224, 3241, 1, 0, 0, 0, 226, 3273, 1, 0, 0, 0, 228, 3275, 1, 0, 0, 0, 230, 3283, 1, 0, 0, 0, 232, 3290, 1, 0, 0, 0, 234, 3299, 1, 0, 0, 0, 236, 3306, 1, 0, 0, 0, 238, 3313, 1, 0, 0, 0, 240, 3315, 1, 0, 0, 0, 242, 3323, 1, 0, 0, 0, 244, 3334, 1, 0, 0, 0, 246, 3348, 1, 0, 0, 0, 248, 3363, 1, 0, 0, 0, 250, 3367, 1, 0, 0, 0, 252, 3389, 1, 0, 0, 0, 254, 3490, 1, 0, 0, 0, 256, 3492, 1, 0, 0, 0, 258, 3497, 1, 0, 0, 0, 260, 3502, 1, 0, 0, 0, 262, 3505, 1, 0, 0, 0, 264, 3522, 1, 0, 0, 0, 266, 3532, 1, 0, 0, 0, 268, 3537, 1, 0, 0, 0, 270, 3540, 1, 0, 0, 0, 272, 3546, 1, 0, 0, 0, 274, 3559, 1, 0, 0, 0, 276, 3572, 1, 0, 0, 0, 278, 3585, 1, 0, 0, 0, 280, 3598, 1, 0, 0, 0, 282, 3605, 1, 0, 0, 0, 284, 3612, 1, 0, 0, 0, 286, 3614, 1, 0, 0, 0, 288, 3616, 1, 0, 0, 0, 290, 3618, 1, 0, 0, 0, 292, 3620, 1, 0, 0, 0, 294, 3624, 1, 0, 0, 0, 296, 3626, 1, 0, 0, 0, 298, 3628, 1, 0, 0, 0, 300, 3630, 1, 0, 0, 0, 302, 3638, 1, 0, 0, 0, 304, 3644, 1, 0, 0, 0, 306, 3649, 1, 0, 0, 0, 308, 3656, 1, 0, 0, 0, 310, 3658, 1, 0, 0, 0, 312, 3673, 1, 0, 0, 0, 314, 3680, 1, 0, 0, 0, 316, 3694, 1, 0, 0, 0, 318, 3698, 1, 0, 0, 0, 320, 3700, 1, 0, 0, 0, 322, 324, 3, 2, 1, 0, 323, 322, 1, 0, 0, 0, 324, 327, 1, 0, 0, 0, 325, 323, 1, 0, 0, 0, 325, 326, 1, 0, 0, 0, 326, 328, 1, 0, 0, 0, 327, 325, 1, 0, 0, 0, 328, 329, 5, 0, 0, 1, 329, 1, 1, 0, 0, 0, 330, 331, 3, 4, 2, 0, 331, 3, 1, 0, 0, 0, 332, 334, 3, 16, 8, 0, 333, 335, 5, 326, 0, 0, 334, 333, 1, 0, 0, 0, 334, 335, 1, 0, 0, 0, 335, 5, 1, 0, 0, 0, 336, 338, 3, 154, 77, 0, 337, 339, 5, 326, 0, 0, 338, 337, 1, 0, 0, 0, 338, 339, 1, 0, 0, 0, 339, 7, 1, 0, 0, 0, 340, 342, 3, 240, 120, 0, 341, 343, 5, 326, 0, 0, 342, 341, 1, 0, 0, 0, 342, 343, 1, 0, 0, 0, 343, 9, 1, 0, 0, 0, 344, 346, 3, 202, 101, 0, 345, 347, 5, 326, 0, 0, 346, 345, 1, 0, 0, 0, 346, 347, 1, 0, 0, 0, 347, 11, 1, 0, 0, 0, 348, 350, 3, 222, 111, 0, 349, 351, 5, 326, 0, 0, 350, 349, 1, 0, 0, 0, 350, 351, 1, 0, 0, 0, 351, 13, 1, 0, 0, 0, 352, 353, 3, 242, 121, 0, 353, 354, 5, 0, 0, 1, 354, 15, 1, 0, 0, 0, 355, 1251, 3, 18, 9, 0, 356, 357, 5, 289, 0, 0, 357, 1251, 3, 282, 141, 0, 358, 359, 5, 54, 0, 0, 359, 363, 5, 42, 0, 0, 360, 361, 5, 120, 0, 0, 361, 362, 5, 183, 0, 0, 362, 364, 5, 95, 0, 0, 363, 360, 1, 0, 0, 0, 363, 364, 1, 0, 0, 0, 364, 365, 1, 0, 0, 0, 365, 366, 3, 288, 144, 0, 366, 367, 5, 291, 0, 0, 367, 370, 3, 314, 157, 0, 368, 369, 5, 47, 0, 0, 369, 371, 3, 186, 93, 0, 370, 368, 1, 0, 0, 0, 370, 371, 1, 0, 0, 0, 371, 374, 1, 0, 0, 0, 372, 373, 5, 31, 0, 0, 373, 375, 3, 308, 154, 0, 374, 372, 1, 0, 0, 0, 374, 375, 1, 0, 0, 0, 375, 378, 1, 0, 0, 0, 376, 377, 5, 305, 0, 0, 377, 379, 3, 32, 16, 0, 378, 376, 1, 0, 0, 0, 378, 379, 1, 0, 0, 0, 379, 1251, 1, 0, 0, 0, 380, 381, 5, 84, 0, 0, 381, 384, 5, 42, 0, 0, 382, 383, 5, 120, 0, 0, 383, 385, 5, 95, 0, 0, 384, 382, 1, 0, 0, 0, 384, 385, 1, 0, 0, 0, 385, 386, 1, 0, 0, 0, 386, 388, 3, 286, 143, 0, 387, 389, 7, 0, 0, 0, 388, 387, 1, 0, 0, 0, 388, 389, 1, 0, 0, 0, 389, 1251, 1, 0, 0, 0, 390, 391, 5, 54, 0, 0, 391, 395, 5, 244, 0, 0, 392, 393, 5, 120, 0, 0, 393, 394, 5, 183, 0, 0, 394, 396, 5, 95, 0, 0, 395, 392, 1, 0, 0, 0, 395, 396, 1, 0, 0, 0, 396, 397, 1, 0, 0, 0, 397, 400, 3, 284, 142, 0, 398, 399, 5, 31, 0, 0, 399, 401, 3, 308, 154, 0, 400, 398, 1, 0, 0, 0, 400, 401, 1, 0, 0, 0, 401, 404, 1, 0, 0, 0, 402, 403, 5, 305, 0, 0, 403, 405, 3, 32, 16, 0, 404, 402, 1, 0, 0, 0, 404, 405, 1, 0, 0, 0, 405, 1251, 1, 0, 0, 0, 406, 407, 5, 84, 0, 0, 407, 410, 5, 244, 0, 0, 408, 409, 5, 120, 0, 0, 409, 411, 5, 95, 0, 0, 410, 408, 1, 0, 0, 0, 410, 411, 1, 0, 0, 0, 411, 412, 1, 0, 0, 0, 412, 414, 3, 282, 141, 0, 413, 415, 7, 0, 0, 0, 414, 413, 1, 0, 0, 0, 414, 415, 1, 0, 0, 0, 415, 1251, 1, 0, 0, 0, 416, 417, 5, 23, 0, 0, 417, 418, 5, 244, 0, 0, 418, 419, 3, 282, 141, 0, 419, 420, 5, 224, 0, 0, 420, 421, 5, 270, 0, 0, 421, 422, 3, 284, 142, 0, 422, 1251, 1, 0, 0, 0, 423, 424, 5, 23, 0, 0, 424, 425, 5, 244, 0, 0, 425, 426, 3, 282, 141, 0, 426, 427, 5, 252, 0, 0, 427, 428, 5, 31, 0, 0, 428, 429, 3, 308, 154, 0, 429, 1251, 1, 0, 0, 0, 430, 433, 5, 54, 0, 0, 431, 432, 5, 195, 0, 0, 432, 434, 5, 227, 0, 0, 433, 431, 1, 0, 0, 0, 433, 434, 1, 0, 0, 0, 434, 435, 1, 0, 0, 0, 435, 439, 5, 261, 0, 0, 436, 437, 5, 120, 0, 0, 437, 438, 5, 183, 0, 0, 438, 440, 5, 95, 0, 0, 439, 436, 1, 0, 0, 0, 439, 440, 1, 0, 0, 0, 440, 441, 1, 0, 0, 0, 441, 443, 3, 276, 138, 0, 442, 444, 3, 120, 60, 0, 443, 442, 1, 0, 0, 0, 443, 444, 1, 0, 0, 0, 444, 447, 1, 0, 0, 0, 445, 446, 5, 47, 0, 0, 446, 448, 3, 186, 93, 0, 447, 445, 1, 0, 0, 0, 447, 448, 1, 0, 0, 0, 448, 451, 1, 0, 0, 0, 449, 450, 5, 305, 0, 0, 450, 452, 3, 32, 16, 0, 451, 449, 1, 0, 0, 0, 451, 452, 1, 0, 0, 0, 452, 453, 1, 0, 0, 0, 453, 459, 5, 28, 0, 0, 454, 460, 3, 18, 9, 0, 455, 456, 5, 1, 0, 0, 456, 457, 3, 18, 9, 0, 457, 458, 5, 2, 0, 0, 458, 460, 1, 0, 0, 0, 459, 454, 1, 0, 0, 0, 459, 455, 1, 0, 0, 0, 460, 466, 1, 0, 0, 0, 461, 463, 5, 305, 0, 0, 462, 464, 5, 180, 0, 0, 463, 462, 1, 0, 0, 0, 463, 464, 1, 0, 0, 0, 464, 465, 1, 0, 0, 0, 465, 467, 5, 66, 0, 0, 466, 461, 1, 0, 0, 0, 466, 467, 1, 0, 0, 0, 467, 1251, 1, 0, 0, 0, 468, 471, 5, 54, 0, 0, 469, 470, 5, 195, 0, 0, 470, 472, 5, 227, 0, 0, 471, 469, 1, 0, 0, 0, 471, 472, 1, 0, 0, 0, 472, 473, 1, 0, 0, 0, 473, 477, 5, 261, 0, 0, 474, 475, 5, 120, 0, 0, 475, 476, 5, 183, 0, 0, 476, 478, 5, 95, 0, 0, 477, 474, 1, 0, 0, 0, 477, 478, 1, 0, 0, 0, 478, 479, 1, 0, 0, 0, 479, 480, 3, 276, 138, 0, 480, 481, 5, 1, 0, 0, 481, 486, 3, 26, 13, 0, 482, 483, 5, 3, 0, 0, 483, 485, 3, 26, 13, 0, 484, 482, 1, 0, 0, 0, 485, 488, 1, 0, 0, 0, 486, 484, 1, 0, 0, 0, 486, 487, 1, 0, 0, 0, 487, 489, 1, 0, 0, 0, 488, 486, 1, 0, 0, 0, 489, 492, 5, 2, 0, 0, 490, 491, 5, 47, 0, 0, 491, 493, 3, 186, 93, 0, 492, 490, 1, 0, 0, 0, 492, 493, 1, 0, 0, 0, 493, 496, 1, 0, 0, 0, 494, 495, 5, 305, 0, 0, 495, 497, 3, 32, 16, 0, 496, 494, 1, 0, 0, 0, 496, 497, 1, 0, 0, 0, 497, 1251, 1, 0, 0, 0, 498, 499, 5, 84, 0, 0, 499, 502, 5, 261, 0, 0, 500, 501, 5, 120, 0, 0, 501, 503, 5, 95, 0, 0, 502, 500, 1, 0, 0, 0, 502, 503, 1, 0, 0, 0, 503, 504, 1, 0, 0, 0, 504, 1251, 3, 274, 137, 0, 505, 506, 5, 128, 0, 0, 506, 507, 5, 131, 0, 0, 507, 509, 3, 274, 137, 0, 508, 510, 3, 122, 61, 0, 509, 508, 1, 0, 0, 0, 509, 510, 1, 0, 0, 0, 510, 511, 1, 0, 0, 0, 511, 512, 3, 18, 9, 0, 512, 1251, 1, 0, 0, 0, 513, 514, 5, 74, 0, 0, 514, 515, 5, 106, 0, 0, 515, 517, 3, 274, 137, 0, 516, 518, 3, 54, 27, 0, 517, 516, 1, 0, 0, 0, 517, 518, 1, 0, 0, 0, 518, 1251, 1, 0, 0, 0, 519, 520, 5, 275, 0, 0, 520, 521, 5, 261, 0, 0, 521, 1251, 3, 274, 137, 0, 522, 523, 5, 47, 0, 0, 523, 524, 5, 191, 0, 0, 524, 525, 5, 261, 0, 0, 525, 526, 3, 274, 137, 0, 526, 529, 5, 134, 0, 0, 527, 530, 3, 186, 93, 0, 528, 530, 5, 184, 0, 0, 529, 527, 1, 0, 0, 0, 529, 528, 1, 0, 0, 0, 530, 1251, 1, 0, 0, 0, 531, 532, 5, 47, 0, 0, 532, 533, 5, 191, 0, 0, 533, 534, 5, 300, 0, 0, 534, 535, 3, 278, 139, 0, 535, 538, 5, 134, 0, 0, 536, 539, 3, 186, 93, 0, 537, 539, 5, 184, 0, 0, 538, 536, 1, 0, 0, 0, 538, 537, 1, 0, 0, 0, 539, 1251, 1, 0, 0, 0, 540, 541, 5, 47, 0, 0, 541, 542, 5, 191, 0, 0, 542, 543, 5, 45, 0, 0, 543, 544, 3, 294, 147, 0, 544, 547, 5, 134, 0, 0, 545, 548, 3, 186, 93, 0, 546, 548, 5, 184, 0, 0, 547, 545, 1, 0, 0, 0, 547, 546, 1, 0, 0, 0, 548, 1251, 1, 0, 0, 0, 549, 550, 5, 23, 0, 0, 550, 553, 5, 261, 0, 0, 551, 552, 5, 120, 0, 0, 552, 554, 5, 95, 0, 0, 553, 551, 1, 0, 0, 0, 553, 554, 1, 0, 0, 0, 554, 555, 1, 0, 0, 0, 555, 556, 3, 274, 137, 0, 556, 557, 5, 224, 0, 0, 557, 558, 5, 270, 0, 0, 558, 559, 3, 276, 138, 0, 559, 1251, 1, 0, 0, 0, 560, 561, 5, 23, 0, 0, 561, 564, 5, 261, 0, 0, 562, 563, 5, 120, 0, 0, 563, 565, 5, 95, 0, 0, 564, 562, 1, 0, 0, 0, 564, 565, 1, 0, 0, 0, 565, 566, 1, 0, 0, 0, 566, 567, 3, 274, 137, 0, 567, 568, 5, 19, 0, 0, 568, 572, 5, 45, 0, 0, 569, 570, 5, 120, 0, 0, 570, 571, 5, 183, 0, 0, 571, 573, 5, 95, 0, 0, 572, 569, 1, 0, 0, 0, 572, 573, 1, 0, 0, 0, 573, 574, 1, 0, 0, 0, 574, 575, 3, 28, 14, 0, 575, 1251, 1, 0, 0, 0, 576, 577, 5, 23, 0, 0, 577, 580, 5, 261, 0, 0, 578, 579, 5, 120, 0, 0, 579, 581, 5, 95, 0, 0, 580, 578, 1, 0, 0, 0, 580, 581, 1, 0, 0, 0, 581, 582, 1, 0, 0, 0, 582, 583, 3, 274, 137, 0, 583, 584, 5, 224, 0, 0, 584, 587, 5, 45, 0, 0, 585, 586, 5, 120, 0, 0, 586, 588, 5, 95, 0, 0, 587, 585, 1, 0, 0, 0, 587, 588, 1, 0, 0, 0, 588, 589, 1, 0, 0, 0, 589, 590, 3, 294, 147, 0, 590, 591, 5, 270, 0, 0, 591, 592, 3, 298, 149, 0, 592, 1251, 1, 0, 0, 0, 593, 594, 5, 23, 0, 0, 594, 597, 5, 261, 0, 0, 595, 596, 5, 120, 0, 0, 596, 598, 5, 95, 0, 0, 597, 595, 1, 0, 0, 0, 597, 598, 1, 0, 0, 0, 598, 599, 1, 0, 0, 0, 599, 600, 3, 274, 137, 0, 600, 601, 5, 84, 0, 0, 601, 604, 5, 45, 0, 0, 602, 603, 5, 120, 0, 0, 603, 605, 5, 95, 0, 0, 604, 602, 1, 0, 0, 0, 604, 605, 1, 0, 0, 0, 605, 606, 1, 0, 0, 0, 606, 607, 3, 294, 147, 0, 607, 1251, 1, 0, 0, 0, 608, 609, 5, 23, 0, 0, 609, 612, 5, 261, 0, 0, 610, 611, 5, 120, 0, 0, 611, 613, 5, 95, 0, 0, 612, 610, 1, 0, 0, 0, 612, 613, 1, 0, 0, 0, 613, 614, 1, 0, 0, 0, 614, 615, 3, 274, 137, 0, 615, 616, 5, 23, 0, 0, 616, 617, 5, 45, 0, 0, 617, 618, 3, 294, 147, 0, 618, 619, 5, 252, 0, 0, 619, 620, 5, 66, 0, 0, 620, 621, 5, 277, 0, 0, 621, 622, 3, 202, 101, 0, 622, 1251, 1, 0, 0, 0, 623, 624, 5, 23, 0, 0, 624, 627, 5, 261, 0, 0, 625, 626, 5, 120, 0, 0, 626, 628, 5, 95, 0, 0, 627, 625, 1, 0, 0, 0, 627, 628, 1, 0, 0, 0, 628, 629, 1, 0, 0, 0, 629, 630, 3, 274, 137, 0, 630, 631, 5, 23, 0, 0, 631, 632, 5, 45, 0, 0, 632, 633, 3, 294, 147, 0, 633, 634, 5, 84, 0, 0, 634, 635, 5, 183, 0, 0, 635, 636, 5, 184, 0, 0, 636, 1251, 1, 0, 0, 0, 637, 638, 5, 23, 0, 0, 638, 639, 5, 261, 0, 0, 639, 640, 3, 274, 137, 0, 640, 641, 5, 252, 0, 0, 641, 642, 5, 31, 0, 0, 642, 643, 3, 308, 154, 0, 643, 1251, 1, 0, 0, 0, 644, 645, 5, 23, 0, 0, 645, 646, 5, 261, 0, 0, 646, 647, 3, 274, 137, 0, 647, 648, 5, 252, 0, 0, 648, 649, 5, 217, 0, 0, 649, 650, 3, 34, 17, 0, 650, 1251, 1, 0, 0, 0, 651, 652, 5, 23, 0, 0, 652, 653, 5, 261, 0, 0, 653, 654, 3, 274, 137, 0, 654, 655, 5, 94, 0, 0, 655, 668, 3, 290, 145, 0, 656, 665, 5, 1, 0, 0, 657, 662, 3, 236, 118, 0, 658, 659, 5, 3, 0, 0, 659, 661, 3, 236, 118, 0, 660, 658, 1, 0, 0, 0, 661, 664, 1, 0, 0, 0, 662, 660, 1, 0, 0, 0, 662, 663, 1, 0, 0, 0, 663, 666, 1, 0, 0, 0, 664, 662, 1, 0, 0, 0, 665, 657, 1, 0, 0, 0, 665, 666, 1, 0, 0, 0, 666, 667, 1, 0, 0, 0, 667, 669, 5, 2, 0, 0, 668, 656, 1, 0, 0, 0, 668, 669, 1, 0, 0, 0, 669, 671, 1, 0, 0, 0, 670, 672, 3, 54, 27, 0, 671, 670, 1, 0, 0, 0, 671, 672, 1, 0, 0, 0, 672, 1251, 1, 0, 0, 0, 673, 674, 5, 24, 0, 0, 674, 677, 3, 274, 137, 0, 675, 676, 5, 305, 0, 0, 676, 678, 3, 32, 16, 0, 677, 675, 1, 0, 0, 0, 677, 678, 1, 0, 0, 0, 678, 1251, 1, 0, 0, 0, 679, 682, 5, 54, 0, 0, 680, 681, 5, 195, 0, 0, 681, 683, 5, 227, 0, 0, 682, 680, 1, 0, 0, 0, 682, 683, 1, 0, 0, 0, 683, 684, 1, 0, 0, 0, 684, 685, 5, 168, 0, 0, 685, 689, 5, 300, 0, 0, 686, 687, 5, 120, 0, 0, 687, 688, 5, 183, 0, 0, 688, 690, 5, 95, 0, 0, 689, 686, 1, 0, 0, 0, 689, 690, 1, 0, 0, 0, 690, 691, 1, 0, 0, 0, 691, 695, 3, 280, 140, 0, 692, 693, 5, 110, 0, 0, 693, 694, 5, 209, 0, 0, 694, 696, 3, 196, 98, 0, 695, 692, 1, 0, 0, 0, 695, 696, 1, 0, 0, 0, 696, 699, 1, 0, 0, 0, 697, 698, 5, 47, 0, 0, 698, 700, 3, 186, 93, 0, 699, 697, 1, 0, 0, 0, 699, 700, 1, 0, 0, 0, 700, 703, 1, 0, 0, 0, 701, 702, 5, 305, 0, 0, 702, 704, 3, 32, 16, 0, 703, 701, 1, 0, 0, 0, 703, 704, 1, 0, 0, 0, 704, 705, 1, 0, 0, 0, 705, 706, 5, 28, 0, 0, 706, 707, 3, 18, 9, 0, 707, 1251, 1, 0, 0, 0, 708, 711, 5, 54, 0, 0, 709, 710, 5, 195, 0, 0, 710, 712, 5, 227, 0, 0, 711, 709, 1, 0, 0, 0, 711, 712, 1, 0, 0, 0, 712, 713, 1, 0, 0, 0, 713, 714, 5, 300, 0, 0, 714, 717, 3, 280, 140, 0, 715, 716, 5, 47, 0, 0, 716, 718, 3, 186, 93, 0, 717, 715, 1, 0, 0, 0, 717, 718, 1, 0, 0, 0, 718, 721, 1, 0, 0, 0, 719, 720, 5, 247, 0, 0, 720, 722, 7, 1, 0, 0, 721, 719, 1, 0, 0, 0, 721, 722, 1, 0, 0, 0, 722, 725, 1, 0, 0, 0, 723, 724, 5, 305, 0, 0, 724, 726, 3, 32, 16, 0, 725, 723, 1, 0, 0, 0, 725, 726, 1, 0, 0, 0, 726, 727, 1, 0, 0, 0, 727, 728, 5, 28, 0, 0, 728, 729, 3, 18, 9, 0, 729, 1251, 1, 0, 0, 0, 730, 731, 5, 223, 0, 0, 731, 732, 5, 168, 0, 0, 732, 733, 5, 300, 0, 0, 733, 1251, 3, 278, 139, 0, 734, 735, 5, 84, 0, 0, 735, 736, 5, 168, 0, 0, 736, 739, 5, 300, 0, 0, 737, 738, 5, 120, 0, 0, 738, 740, 5, 95, 0, 0, 739, 737, 1, 0, 0, 0, 739, 740, 1, 0, 0, 0, 740, 741, 1, 0, 0, 0, 741, 1251, 3, 278, 139, 0, 742, 743, 5, 23, 0, 0, 743, 744, 5, 168, 0, 0, 744, 747, 5, 300, 0, 0, 745, 746, 5, 120, 0, 0, 746, 748, 5, 95, 0, 0, 747, 745, 1, 0, 0, 0, 747, 748, 1, 0, 0, 0, 748, 749, 1, 0, 0, 0, 749, 750, 3, 278, 139, 0, 750, 751, 5, 224, 0, 0, 751, 752, 5, 270, 0, 0, 752, 753, 3, 280, 140, 0, 753, 1251, 1, 0, 0, 0, 754, 755, 5, 23, 0, 0, 755, 756, 5, 168, 0, 0, 756, 757, 5, 300, 0, 0, 757, 758, 3, 278, 139, 0, 758, 759, 5, 252, 0, 0, 759, 760, 5, 217, 0, 0, 760, 761, 3, 34, 17, 0, 761, 1251, 1, 0, 0, 0, 762, 763, 5, 84, 0, 0, 763, 766, 5, 300, 0, 0, 764, 765, 5, 120, 0, 0, 765, 767, 5, 95, 0, 0, 766, 764, 1, 0, 0, 0, 766, 767, 1, 0, 0, 0, 767, 768, 1, 0, 0, 0, 768, 1251, 3, 278, 139, 0, 769, 770, 5, 23, 0, 0, 770, 771, 5, 300, 0, 0, 771, 772, 3, 278, 139, 0, 772, 773, 5, 224, 0, 0, 773, 774, 5, 270, 0, 0, 774, 775, 3, 280, 140, 0, 775, 1251, 1, 0, 0, 0, 776, 777, 5, 23, 0, 0, 777, 778, 5, 300, 0, 0, 778, 779, 3, 278, 139, 0, 779, 780, 5, 252, 0, 0, 780, 781, 5, 31, 0, 0, 781, 782, 3, 308, 154, 0, 782, 1251, 1, 0, 0, 0, 783, 784, 5, 37, 0, 0, 784, 785, 3, 290, 145, 0, 785, 794, 5, 1, 0, 0, 786, 791, 3, 236, 118, 0, 787, 788, 5, 3, 0, 0, 788, 790, 3, 236, 118, 0, 789, 787, 1, 0, 0, 0, 790, 793, 1, 0, 0, 0, 791, 789, 1, 0, 0, 0, 791, 792, 1, 0, 0, 0, 792, 795, 1, 0, 0, 0, 793, 791, 1, 0, 0, 0, 794, 786, 1, 0, 0, 0, 794, 795, 1, 0, 0, 0, 795, 796, 1, 0, 0, 0, 796, 797, 5, 2, 0, 0, 797, 1251, 1, 0, 0, 0, 798, 801, 5, 54, 0, 0, 799, 800, 5, 195, 0, 0, 800, 802, 5, 227, 0, 0, 801, 799, 1, 0, 0, 0, 801, 802, 1, 0, 0, 0, 802, 803, 1, 0, 0, 0, 803, 1251, 3, 242, 121, 0, 804, 805, 5, 84, 0, 0, 805, 808, 5, 108, 0, 0, 806, 807, 5, 120, 0, 0, 807, 809, 5, 95, 0, 0, 808, 806, 1, 0, 0, 0, 808, 809, 1, 0, 0, 0, 809, 810, 1, 0, 0, 0, 810, 1251, 3, 246, 123, 0, 811, 812, 5, 54, 0, 0, 812, 813, 5, 236, 0, 0, 813, 817, 3, 314, 157, 0, 814, 815, 5, 305, 0, 0, 815, 816, 5, 20, 0, 0, 816, 818, 3, 306, 153, 0, 817, 814, 1, 0, 0, 0, 817, 818, 1, 0, 0, 0, 818, 821, 1, 0, 0, 0, 819, 820, 5, 123, 0, 0, 820, 822, 3, 286, 143, 0, 821, 819, 1, 0, 0, 0, 821, 822, 1, 0, 0, 0, 822, 1251, 1, 0, 0, 0, 823, 824, 5, 84, 0, 0, 824, 825, 5, 236, 0, 0, 825, 828, 3, 314, 157, 0, 826, 827, 5, 123, 0, 0, 827, 829, 3, 286, 143, 0, 828, 826, 1, 0, 0, 0, 828, 829, 1, 0, 0, 0, 829, 1251, 1, 0, 0, 0, 830, 831, 5, 111, 0, 0, 831, 836, 3, 312, 156, 0, 832, 833, 5, 3, 0, 0, 833, 835, 3, 312, 156, 0, 834, 832, 1, 0, 0, 0, 835, 838, 1, 0, 0, 0, 836, 834, 1, 0, 0, 0, 836, 837, 1, 0, 0, 0, 837, 839, 1, 0, 0, 0, 838, 836, 1, 0, 0, 0, 839, 840, 5, 270, 0, 0, 840, 845, 3, 308, 154, 0, 841, 842, 5, 3, 0, 0, 842, 844, 3, 308, 154, 0, 843, 841, 1, 0, 0, 0, 844, 847, 1, 0, 0, 0, 845, 843, 1, 0, 0, 0, 845, 846, 1, 0, 0, 0, 846, 851, 1, 0, 0, 0, 847, 845, 1, 0, 0, 0, 848, 849, 5, 305, 0, 0, 849, 850, 5, 20, 0, 0, 850, 852, 5, 194, 0, 0, 851, 848, 1, 0, 0, 0, 851, 852, 1, 0, 0, 0, 852, 856, 1, 0, 0, 0, 853, 854, 5, 112, 0, 0, 854, 855, 5, 36, 0, 0, 855, 857, 3, 306, 153, 0, 856, 853, 1, 0, 0, 0, 856, 857, 1, 0, 0, 0, 857, 860, 1, 0, 0, 0, 858, 859, 5, 123, 0, 0, 859, 861, 3, 286, 143, 0, 860, 858, 1, 0, 0, 0, 860, 861, 1, 0, 0, 0, 861, 1251, 1, 0, 0, 0, 862, 873, 5, 111, 0, 0, 863, 868, 3, 312, 156, 0, 864, 865, 5, 3, 0, 0, 865, 867, 3, 312, 156, 0, 866, 864, 1, 0, 0, 0, 867, 870, 1, 0, 0, 0, 868, 866, 1, 0, 0, 0, 868, 869, 1, 0, 0, 0, 869, 874, 1, 0, 0, 0, 870, 868, 1, 0, 0, 0, 871, 872, 5, 22, 0, 0, 872, 874, 5, 216, 0, 0, 873, 863, 1, 0, 0, 0, 873, 871, 1, 0, 0, 0, 874, 875, 1, 0, 0, 0, 875, 876, 5, 191, 0, 0, 876, 877, 3, 270, 135, 0, 877, 878, 5, 270, 0, 0, 878, 882, 3, 308, 154, 0, 879, 880, 5, 305, 0, 0, 880, 881, 5, 111, 0, 0, 881, 883, 5, 194, 0, 0, 882, 879, 1, 0, 0, 0, 882, 883, 1, 0, 0, 0, 883, 1251, 1, 0, 0, 0, 884, 888, 5, 234, 0, 0, 885, 886, 5, 20, 0, 0, 886, 887, 5, 194, 0, 0, 887, 889, 5, 104, 0, 0, 888, 885, 1, 0, 0, 0, 888, 889, 1, 0, 0, 0, 889, 890, 1, 0, 0, 0, 890, 895, 3, 312, 156, 0, 891, 892, 5, 3, 0, 0, 892, 894, 3, 312, 156, 0, 893, 891, 1, 0, 0, 0, 894, 897, 1, 0, 0, 0, 895, 893, 1, 0, 0, 0, 895, 896, 1, 0, 0, 0, 896, 898, 1, 0, 0, 0, 897, 895, 1, 0, 0, 0, 898, 899, 5, 106, 0, 0, 899, 904, 3, 308, 154, 0, 900, 901, 5, 3, 0, 0, 901, 903, 3, 308, 154, 0, 902, 900, 1, 0, 0, 0, 903, 906, 1, 0, 0, 0, 904, 902, 1, 0, 0, 0, 904, 905, 1, 0, 0, 0, 905, 910, 1, 0, 0, 0, 906, 904, 1, 0, 0, 0, 907, 908, 5, 112, 0, 0, 908, 909, 5, 36, 0, 0, 909, 911, 3, 306, 153, 0, 910, 907, 1, 0, 0, 0, 910, 911, 1, 0, 0, 0, 911, 914, 1, 0, 0, 0, 912, 913, 5, 123, 0, 0, 913, 915, 3, 286, 143, 0, 914, 912, 1, 0, 0, 0, 914, 915, 1, 0, 0, 0, 915, 1251, 1, 0, 0, 0, 916, 920, 5, 234, 0, 0, 917, 918, 5, 111, 0, 0, 918, 919, 5, 194, 0, 0, 919, 921, 5, 104, 0, 0, 920, 917, 1, 0, 0, 0, 920, 921, 1, 0, 0, 0, 921, 932, 1, 0, 0, 0, 922, 927, 3, 312, 156, 0, 923, 924, 5, 3, 0, 0, 924, 926, 3, 312, 156, 0, 925, 923, 1, 0, 0, 0, 926, 929, 1, 0, 0, 0, 927, 925, 1, 0, 0, 0, 927, 928, 1, 0, 0, 0, 928, 933, 1, 0, 0, 0, 929, 927, 1, 0, 0, 0, 930, 931, 5, 22, 0, 0, 931, 933, 5, 216, 0, 0, 932, 922, 1, 0, 0, 0, 932, 930, 1, 0, 0, 0, 933, 934, 1, 0, 0, 0, 934, 935, 5, 191, 0, 0, 935, 936, 3, 270, 135, 0, 936, 937, 5, 106, 0, 0, 937, 938, 3, 308, 154, 0, 938, 1251, 1, 0, 0, 0, 939, 950, 5, 75, 0, 0, 940, 945, 3, 266, 133, 0, 941, 942, 5, 3, 0, 0, 942, 944, 3, 266, 133, 0, 943, 941, 1, 0, 0, 0, 944, 947, 1, 0, 0, 0, 945, 943, 1, 0, 0, 0, 945, 946, 1, 0, 0, 0, 946, 951, 1, 0, 0, 0, 947, 945, 1, 0, 0, 0, 948, 949, 5, 22, 0, 0, 949, 951, 5, 216, 0, 0, 950, 940, 1, 0, 0, 0, 950, 948, 1, 0, 0, 0, 951, 952, 1, 0, 0, 0, 952, 953, 5, 191, 0, 0, 953, 954, 3, 270, 135, 0, 954, 955, 5, 270, 0, 0, 955, 956, 3, 308, 154, 0, 956, 1251, 1, 0, 0, 0, 957, 958, 5, 252, 0, 0, 958, 962, 5, 236, 0, 0, 959, 963, 5, 22, 0, 0, 960, 963, 5, 181, 0, 0, 961, 963, 3, 314, 157, 0, 962, 959, 1, 0, 0, 0, 962, 960, 1, 0, 0, 0, 962, 961, 1, 0, 0, 0, 963, 966, 1, 0, 0, 0, 964, 965, 5, 123, 0, 0, 965, 967, 3, 286, 143, 0, 966, 964, 1, 0, 0, 0, 966, 967, 1, 0, 0, 0, 967, 1251, 1, 0, 0, 0, 968, 969, 5, 254, 0, 0, 969, 972, 5, 113, 0, 0, 970, 971, 5, 191, 0, 0, 971, 973, 3, 270, 135, 0, 972, 970, 1, 0, 0, 0, 972, 973, 1, 0, 0, 0, 973, 1251, 1, 0, 0, 0, 974, 986, 5, 96, 0, 0, 975, 976, 5, 1, 0, 0, 976, 981, 3, 230, 115, 0, 977, 978, 5, 3, 0, 0, 978, 980, 3, 230, 115, 0, 979, 977, 1, 0, 0, 0, 980, 983, 1, 0, 0, 0, 981, 979, 1, 0, 0, 0, 981, 982, 1, 0, 0, 0, 982, 984, 1, 0, 0, 0, 983, 981, 1, 0, 0, 0, 984, 985, 5, 2, 0, 0, 985, 987, 1, 0, 0, 0, 986, 975, 1, 0, 0, 0, 986, 987, 1, 0, 0, 0, 987, 988, 1, 0, 0, 0, 988, 1251, 3, 16, 8, 0, 989, 990, 5, 96, 0, 0, 990, 992, 5, 24, 0, 0, 991, 993, 5, 298, 0, 0, 992, 991, 1, 0, 0, 0, 992, 993, 1, 0, 0, 0, 993, 994, 1, 0, 0, 0, 994, 1251, 3, 16, 8, 0, 995, 996, 5, 254, 0, 0, 996, 997, 5, 54, 0, 0, 997, 998, 5, 261, 0, 0, 998, 1251, 3, 274, 137, 0, 999, 1000, 5, 254, 0, 0, 1000, 1001, 5, 54, 0, 0, 1001, 1002, 5, 244, 0, 0, 1002, 1251, 3, 282, 141, 0, 1003, 1004, 5, 254, 0, 0, 1004, 1005, 5, 54, 0, 0, 1005, 1006, 5, 300, 0, 0, 1006, 1251, 3, 278, 139, 0, 1007, 1008, 5, 254, 0, 0, 1008, 1009, 5, 54, 0, 0, 1009, 1010, 5, 168, 0, 0, 1010, 1011, 5, 300, 0, 0, 1011, 1251, 3, 278, 139, 0, 1012, 1013, 5, 254, 0, 0, 1013, 1014, 5, 54, 0, 0, 1014, 1015, 5, 108, 0, 0, 1015, 1251, 3, 290, 145, 0, 1016, 1017, 5, 254, 0, 0, 1017, 1020, 5, 262, 0, 0, 1018, 1019, 7, 2, 0, 0, 1019, 1021, 3, 282, 141, 0, 1020, 1018, 1, 0, 0, 0, 1020, 1021, 1, 0, 0, 0, 1021, 1028, 1, 0, 0, 0, 1022, 1023, 5, 155, 0, 0, 1023, 1026, 3, 186, 93, 0, 1024, 1025, 5, 91, 0, 0, 1025, 1027, 3, 186, 93, 0, 1026, 1024, 1, 0, 0, 0, 1026, 1027, 1, 0, 0, 0, 1027, 1029, 1, 0, 0, 0, 1028, 1022, 1, 0, 0, 0, 1028, 1029, 1, 0, 0, 0, 1029, 1251, 1, 0, 0, 0, 1030, 1031, 5, 254, 0, 0, 1031, 1034, 5, 245, 0, 0, 1032, 1033, 7, 2, 0, 0, 1033, 1035, 3, 286, 143, 0, 1034, 1032, 1, 0, 0, 0, 1034, 1035, 1, 0, 0, 0, 1035, 1042, 1, 0, 0, 0, 1036, 1037, 5, 155, 0, 0, 1037, 1040, 3, 186, 93, 0, 1038, 1039, 5, 91, 0, 0, 1039, 1041, 3, 186, 93, 0, 1040, 1038, 1, 0, 0, 0, 1040, 1041, 1, 0, 0, 0, 1041, 1043, 1, 0, 0, 0, 1042, 1036, 1, 0, 0, 0, 1042, 1043, 1, 0, 0, 0, 1043, 1251, 1, 0, 0, 0, 1044, 1045, 5, 254, 0, 0, 1045, 1052, 5, 43, 0, 0, 1046, 1047, 5, 155, 0, 0, 1047, 1050, 3, 186, 93, 0, 1048, 1049, 5, 91, 0, 0, 1049, 1051, 3, 186, 93, 0, 1050, 1048, 1, 0, 0, 0, 1050, 1051, 1, 0, 0, 0, 1051, 1053, 1, 0, 0, 0, 1052, 1046, 1, 0, 0, 0, 1052, 1053, 1, 0, 0, 0, 1053, 1251, 1, 0, 0, 0, 1054, 1055, 5, 254, 0, 0, 1055, 1056, 5, 46, 0, 0, 1056, 1057, 7, 2, 0, 0, 1057, 1064, 3, 272, 136, 0, 1058, 1059, 5, 155, 0, 0, 1059, 1062, 3, 186, 93, 0, 1060, 1061, 5, 91, 0, 0, 1061, 1063, 3, 186, 93, 0, 1062, 1060, 1, 0, 0, 0, 1062, 1063, 1, 0, 0, 0, 1063, 1065, 1, 0, 0, 0, 1064, 1058, 1, 0, 0, 0, 1064, 1065, 1, 0, 0, 0, 1065, 1251, 1, 0, 0, 0, 1066, 1067, 5, 254, 0, 0, 1067, 1068, 5, 257, 0, 0, 1068, 1069, 5, 104, 0, 0, 1069, 1251, 3, 272, 136, 0, 1070, 1071, 5, 254, 0, 0, 1071, 1072, 5, 257, 0, 0, 1072, 1073, 5, 104, 0, 0, 1073, 1074, 5, 1, 0, 0, 1074, 1075, 3, 18, 9, 0, 1075, 1076, 5, 2, 0, 0, 1076, 1251, 1, 0, 0, 0, 1077, 1079, 5, 254, 0, 0, 1078, 1080, 5, 57, 0, 0, 1079, 1078, 1, 0, 0, 0, 1079, 1080, 1, 0, 0, 0, 1080, 1081, 1, 0, 0, 0, 1081, 1084, 5, 237, 0, 0, 1082, 1083, 7, 2, 0, 0, 1083, 1085, 3, 286, 143, 0, 1084, 1082, 1, 0, 0, 0, 1084, 1085, 1, 0, 0, 0, 1085, 1251, 1, 0, 0, 0, 1086, 1087, 5, 254, 0, 0, 1087, 1088, 5, 236, 0, 0, 1088, 1091, 5, 113, 0, 0, 1089, 1090, 7, 2, 0, 0, 1090, 1092, 3, 286, 143, 0, 1091, 1089, 1, 0, 0, 0, 1091, 1092, 1, 0, 0, 0, 1092, 1251, 1, 0, 0, 0, 1093, 1094, 5, 77, 0, 0, 1094, 1251, 3, 272, 136, 0, 1095, 1096, 5, 76, 0, 0, 1096, 1251, 3, 272, 136, 0, 1097, 1098, 5, 254, 0, 0, 1098, 1101, 5, 109, 0, 0, 1099, 1100, 7, 2, 0, 0, 1100, 1102, 3, 282, 141, 0, 1101, 1099, 1, 0, 0, 0, 1101, 1102, 1, 0, 0, 0, 1102, 1109, 1, 0, 0, 0, 1103, 1104, 5, 155, 0, 0, 1104, 1107, 3, 186, 93, 0, 1105, 1106, 5, 91, 0, 0, 1106, 1108, 3, 186, 93, 0, 1107, 1105, 1, 0, 0, 0, 1107, 1108, 1, 0, 0, 0, 1108, 1110, 1, 0, 0, 0, 1109, 1103, 1, 0, 0, 0, 1109, 1110, 1, 0, 0, 0, 1110, 1251, 1, 0, 0, 0, 1111, 1112, 5, 254, 0, 0, 1112, 1119, 5, 251, 0, 0, 1113, 1114, 5, 155, 0, 0, 1114, 1117, 3, 186, 93, 0, 1115, 1116, 5, 91, 0, 0, 1116, 1118, 3, 186, 93, 0, 1117, 1115, 1, 0, 0, 0, 1117, 1118, 1, 0, 0, 0, 1118, 1120, 1, 0, 0, 0, 1119, 1113, 1, 0, 0, 0, 1119, 1120, 1, 0, 0, 0, 1120, 1251, 1, 0, 0, 0, 1121, 1122, 5, 252, 0, 0, 1122, 1123, 5, 251, 0, 0, 1123, 1124, 5, 31, 0, 0, 1124, 1251, 3, 318, 159, 0, 1125, 1126, 5, 228, 0, 0, 1126, 1127, 5, 251, 0, 0, 1127, 1251, 5, 31, 0, 0, 1128, 1129, 5, 252, 0, 0, 1129, 1130, 5, 251, 0, 0, 1130, 1131, 3, 300, 150, 0, 1131, 1132, 5, 313, 0, 0, 1132, 1133, 3, 154, 77, 0, 1133, 1251, 1, 0, 0, 0, 1134, 1135, 5, 228, 0, 0, 1135, 1136, 5, 251, 0, 0, 1136, 1251, 3, 300, 150, 0, 1137, 1138, 5, 256, 0, 0, 1138, 1147, 5, 272, 0, 0, 1139, 1144, 3, 232, 116, 0, 1140, 1141, 5, 3, 0, 0, 1141, 1143, 3, 232, 116, 0, 1142, 1140, 1, 0, 0, 0, 1143, 1146, 1, 0, 0, 0, 1144, 1142, 1, 0, 0, 0, 1144, 1145, 1, 0, 0, 0, 1145, 1148, 1, 0, 0, 0, 1146, 1144, 1, 0, 0, 0, 1147, 1139, 1, 0, 0, 0, 1147, 1148, 1, 0, 0, 0, 1148, 1251, 1, 0, 0, 0, 1149, 1151, 5, 48, 0, 0, 1150, 1152, 5, 308, 0, 0, 1151, 1150, 1, 0, 0, 0, 1151, 1152, 1, 0, 0, 0, 1152, 1251, 1, 0, 0, 0, 1153, 1155, 5, 238, 0, 0, 1154, 1156, 5, 308, 0, 0, 1155, 1154, 1, 0, 0, 0, 1155, 1156, 1, 0, 0, 0, 1156, 1251, 1, 0, 0, 0, 1157, 1158, 5, 215, 0, 0, 1158, 1159, 3, 314, 157, 0, 1159, 1160, 5, 106, 0, 0, 1160, 1161, 3, 16, 8, 0, 1161, 1251, 1, 0, 0, 0, 1162, 1163, 5, 69, 0, 0, 1163, 1164, 5, 215, 0, 0, 1164, 1251, 3, 314, 157, 0, 1165, 1166, 5, 94, 0, 0, 1166, 1176, 3, 314, 157, 0, 1167, 1168, 5, 291, 0, 0, 1168, 1173, 3, 154, 77, 0, 1169, 1170, 5, 3, 0, 0, 1170, 1172, 3, 154, 77, 0, 1171, 1169, 1, 0, 0, 0, 1172, 1175, 1, 0, 0, 0, 1173, 1171, 1, 0, 0, 0, 1173, 1174, 1, 0, 0, 0, 1174, 1177, 1, 0, 0, 0, 1175, 1173, 1, 0, 0, 0, 1176, 1167, 1, 0, 0, 0, 1176, 1177, 1, 0, 0, 0, 1177, 1251, 1, 0, 0, 0, 1178, 1179, 5, 94, 0, 0, 1179, 1180, 5, 122, 0, 0, 1180, 1190, 3, 186, 93, 0, 1181, 1182, 5, 291, 0, 0, 1182, 1187, 3, 154, 77, 0, 1183, 1184, 5, 3, 0, 0, 1184, 1186, 3, 154, 77, 0, 1185, 1183, 1, 0, 0, 0, 1186, 1189, 1, 0, 0, 0, 1187, 1185, 1, 0, 0, 0, 1187, 1188, 1, 0, 0, 0, 1188, 1191, 1, 0, 0, 0, 1189, 1187, 1, 0, 0, 0, 1190, 1181, 1, 0, 0, 0, 1190, 1191, 1, 0, 0, 0, 1191, 1251, 1, 0, 0, 0, 1192, 1193, 5, 77, 0, 0, 1193, 1194, 5, 127, 0, 0, 1194, 1251, 3, 314, 157, 0, 1195, 1196, 5, 77, 0, 0, 1196, 1197, 5, 199, 0, 0, 1197, 1251, 3, 314, 157, 0, 1198, 1199, 5, 252, 0, 0, 1199, 1200, 5, 206, 0, 0, 1200, 1251, 3, 240, 120, 0, 1201, 1202, 5, 252, 0, 0, 1202, 1203, 5, 268, 0, 0, 1203, 1206, 5, 312, 0, 0, 1204, 1207, 5, 158, 0, 0, 1205, 1207, 3, 154, 77, 0, 1206, 1204, 1, 0, 0, 0, 1206, 1205, 1, 0, 0, 0, 1207, 1251, 1, 0, 0, 0, 1208, 1209, 5, 288, 0, 0, 1209, 1210, 3, 274, 137, 0, 1210, 1211, 5, 252, 0, 0, 1211, 1216, 3, 228, 114, 0, 1212, 1213, 5, 3, 0, 0, 1213, 1215, 3, 228, 114, 0, 1214, 1212, 1, 0, 0, 0, 1215, 1218, 1, 0, 0, 0, 1216, 1214, 1, 0, 0, 0, 1216, 1217, 1, 0, 0, 0, 1217, 1220, 1, 0, 0, 0, 1218, 1216, 1, 0, 0, 0, 1219, 1221, 3, 54, 27, 0, 1220, 1219, 1, 0, 0, 0, 1220, 1221, 1, 0, 0, 0, 1221, 1251, 1, 0, 0, 0, 1222, 1223, 5, 170, 0, 0, 1223, 1224, 5, 131, 0, 0, 1224, 1229, 3, 274, 137, 0, 1225, 1227, 5, 28, 0, 0, 1226, 1225, 1, 0, 0, 0, 1226, 1227, 1, 0, 0, 0, 1227, 1228, 1, 0, 0, 0, 1228, 1230, 3, 314, 157, 0, 1229, 1226, 1, 0, 0, 0, 1229, 1230, 1, 0, 0, 0, 1230, 1231, 1, 0, 0, 0, 1231, 1232, 5, 291, 0, 0, 1232, 1233, 3, 88, 44, 0, 1233, 1234, 5, 191, 0, 0, 1234, 1236, 3, 154, 77, 0, 1235, 1237, 3, 212, 106, 0, 1236, 1235, 1, 0, 0, 0, 1237, 1238, 1, 0, 0, 0, 1238, 1236, 1, 0, 0, 0, 1238, 1239, 1, 0, 0, 0, 1239, 1251, 1, 0, 0, 0, 1240, 1241, 5, 254, 0, 0, 1241, 1242, 5, 47, 0, 0, 1242, 1243, 5, 191, 0, 0, 1243, 1244, 5, 261, 0, 0, 1244, 1251, 3, 274, 137, 0, 1245, 1246, 5, 254, 0, 0, 1246, 1247, 5, 47, 0, 0, 1247, 1248, 5, 191, 0, 0, 1248, 1249, 5, 45, 0, 0, 1249, 1251, 3, 294, 147, 0, 1250, 355, 1, 0, 0, 0, 1250, 356, 1, 0, 0, 0, 1250, 358, 1, 0, 0, 0, 1250, 380, 1, 0, 0, 0, 1250, 390, 1, 0, 0, 0, 1250, 406, 1, 0, 0, 0, 1250, 416, 1, 0, 0, 0, 1250, 423, 1, 0, 0, 0, 1250, 430, 1, 0, 0, 0, 1250, 468, 1, 0, 0, 0, 1250, 498, 1, 0, 0, 0, 1250, 505, 1, 0, 0, 0, 1250, 513, 1, 0, 0, 0, 1250, 519, 1, 0, 0, 0, 1250, 522, 1, 0, 0, 0, 1250, 531, 1, 0, 0, 0, 1250, 540, 1, 0, 0, 0, 1250, 549, 1, 0, 0, 0, 1250, 560, 1, 0, 0, 0, 1250, 576, 1, 0, 0, 0, 1250, 593, 1, 0, 0, 0, 1250, 608, 1, 0, 0, 0, 1250, 623, 1, 0, 0, 0, 1250, 637, 1, 0, 0, 0, 1250, 644, 1, 0, 0, 0, 1250, 651, 1, 0, 0, 0, 1250, 673, 1, 0, 0, 0, 1250, 679, 1, 0, 0, 0, 1250, 708, 1, 0, 0, 0, 1250, 730, 1, 0, 0, 0, 1250, 734, 1, 0, 0, 0, 1250, 742, 1, 0, 0, 0, 1250, 754, 1, 0, 0, 0, 1250, 762, 1, 0, 0, 0, 1250, 769, 1, 0, 0, 0, 1250, 776, 1, 0, 0, 0, 1250, 783, 1, 0, 0, 0, 1250, 798, 1, 0, 0, 0, 1250, 804, 1, 0, 0, 0, 1250, 811, 1, 0, 0, 0, 1250, 823, 1, 0, 0, 0, 1250, 830, 1, 0, 0, 0, 1250, 862, 1, 0, 0, 0, 1250, 884, 1, 0, 0, 0, 1250, 916, 1, 0, 0, 0, 1250, 939, 1, 0, 0, 0, 1250, 957, 1, 0, 0, 0, 1250, 968, 1, 0, 0, 0, 1250, 974, 1, 0, 0, 0, 1250, 989, 1, 0, 0, 0, 1250, 995, 1, 0, 0, 0, 1250, 999, 1, 0, 0, 0, 1250, 1003, 1, 0, 0, 0, 1250, 1007, 1, 0, 0, 0, 1250, 1012, 1, 0, 0, 0, 1250, 1016, 1, 0, 0, 0, 1250, 1030, 1, 0, 0, 0, 1250, 1044, 1, 0, 0, 0, 1250, 1054, 1, 0, 0, 0, 1250, 1066, 1, 0, 0, 0, 1250, 1070, 1, 0, 0, 0, 1250, 1077, 1, 0, 0, 0, 1250, 1086, 1, 0, 0, 0, 1250, 1093, 1, 0, 0, 0, 1250, 1095, 1, 0, 0, 0, 1250, 1097, 1, 0, 0, 0, 1250, 1111, 1, 0, 0, 0, 1250, 1121, 1, 0, 0, 0, 1250, 1125, 1, 0, 0, 0, 1250, 1128, 1, 0, 0, 0, 1250, 1134, 1, 0, 0, 0, 1250, 1137, 1, 0, 0, 0, 1250, 1149, 1, 0, 0, 0, 1250, 1153, 1, 0, 0, 0, 1250, 1157, 1, 0, 0, 0, 1250, 1162, 1, 0, 0, 0, 1250, 1165, 1, 0, 0, 0, 1250, 1178, 1, 0, 0, 0, 1250, 1192, 1, 0, 0, 0, 1250, 1195, 1, 0, 0, 0, 1250, 1198, 1, 0, 0, 0, 1250, 1201, 1, 0, 0, 0, 1250, 1208, 1, 0, 0, 0, 1250, 1222, 1, 0, 0, 0, 1250, 1240, 1, 0, 0, 0, 1250, 1245, 1, 0, 0, 0, 1251, 17, 1, 0, 0, 0, 1252, 1254, 3, 20, 10, 0, 1253, 1252, 1, 0, 0, 0, 1253, 1254, 1, 0, 0, 0, 1254, 1255, 1, 0, 0, 0, 1255, 1256, 3, 22, 11, 0, 1256, 19, 1, 0, 0, 0, 1257, 1258, 5, 305, 0, 0, 1258, 1263, 3, 242, 121, 0, 1259, 1260, 5, 3, 0, 0, 1260, 1262, 3, 242, 121, 0, 1261, 1259, 1, 0, 0, 0, 1262, 1265, 1, 0, 0, 0, 1263, 1261, 1, 0, 0, 0, 1263, 1264, 1, 0, 0, 0, 1264, 21, 1, 0, 0, 0, 1265, 1263, 1, 0, 0, 0, 1266, 1268, 3, 24, 12, 0, 1267, 1266, 1, 0, 0, 0, 1267, 1268, 1, 0, 0, 0, 1268, 1269, 1, 0, 0, 0, 1269, 1270, 3, 40, 20, 0, 1270, 23, 1, 0, 0, 0, 1271, 1273, 5, 305, 0, 0, 1272, 1274, 5, 222, 0, 0, 1273, 1272, 1, 0, 0, 0, 1273, 1274, 1, 0, 0, 0, 1274, 1275, 1, 0, 0, 0, 1275, 1280, 3, 74, 37, 0, 1276, 1277, 5, 3, 0, 0, 1277, 1279, 3, 74, 37, 0, 1278, 1276, 1, 0, 0, 0, 1279, 1282, 1, 0, 0, 0, 1280, 1278, 1, 0, 0, 0, 1280, 1281, 1, 0, 0, 0, 1281, 25, 1, 0, 0, 0, 1282, 1280, 1, 0, 0, 0, 1283, 1286, 3, 28, 14, 0, 1284, 1286, 3, 30, 15, 0, 1285, 1283, 1, 0, 0, 0, 1285, 1284, 1, 0, 0, 0, 1286, 27, 1, 0, 0, 0, 1287, 1288, 3, 298, 149, 0, 1288, 1291, 3, 202, 101, 0, 1289, 1290, 5, 183, 0, 0, 1290, 1292, 5, 184, 0, 0, 1291, 1289, 1, 0, 0, 0, 1291, 1292, 1, 0, 0, 0, 1292, 1295, 1, 0, 0, 0, 1293, 1294, 5, 47, 0, 0, 1294, 1296, 3, 186, 93, 0, 1295, 1293, 1, 0, 0, 0, 1295, 1296, 1, 0, 0, 0, 1296, 1299, 1, 0, 0, 0, 1297, 1298, 5, 305, 0, 0, 1298, 1300, 3, 32, 16, 0, 1299, 1297, 1, 0, 0, 0, 1299, 1300, 1, 0, 0, 0, 1300, 29, 1, 0, 0, 0, 1301, 1302, 5, 155, 0, 0, 1302, 1305, 3, 274, 137, 0, 1303, 1304, 7, 3, 0, 0, 1304, 1306, 5, 217, 0, 0, 1305, 1303, 1, 0, 0, 0, 1305, 1306, 1, 0, 0, 0, 1306, 31, 1, 0, 0, 0, 1307, 1308, 5, 1, 0, 0, 1308, 1309, 3, 34, 17, 0, 1309, 1310, 5, 2, 0, 0, 1310, 33, 1, 0, 0, 0, 1311, 1316, 3, 36, 18, 0, 1312, 1313, 5, 3, 0, 0, 1313, 1315, 3, 36, 18, 0, 1314, 1312, 1, 0, 0, 0, 1315, 1318, 1, 0, 0, 0, 1316, 1314, 1, 0, 0, 0, 1316, 1317, 1, 0, 0, 0, 1317, 35, 1, 0, 0, 0, 1318, 1316, 1, 0, 0, 0, 1319, 1320, 3, 314, 157, 0, 1320, 1321, 5, 313, 0, 0, 1321, 1322, 3, 38, 19, 0, 1322, 37, 1, 0, 0, 0, 1323, 1326, 5, 71, 0, 0, 1324, 1326, 3, 154, 77, 0, 1325, 1323, 1, 0, 0, 0, 1325, 1324, 1, 0, 0, 0, 1326, 39, 1, 0, 0, 0, 1327, 1338, 3, 46, 23, 0, 1328, 1329, 5, 196, 0, 0, 1329, 1330, 5, 36, 0, 0, 1330, 1335, 3, 50, 25, 0, 1331, 1332, 5, 3, 0, 0, 1332, 1334, 3, 50, 25, 0, 1333, 1331, 1, 0, 0, 0, 1334, 1337, 1, 0, 0, 0, 1335, 1333, 1, 0, 0, 0, 1335, 1336, 1, 0, 0, 0, 1336, 1339, 1, 0, 0, 0, 1337, 1335, 1, 0, 0, 0, 1338, 1328, 1, 0, 0, 0, 1338, 1339, 1, 0, 0, 0, 1339, 1345, 1, 0, 0, 0, 1340, 1341, 5, 189, 0, 0, 1341, 1343, 3, 44, 22, 0, 1342, 1344, 7, 4, 0, 0, 1343, 1342, 1, 0, 0, 0, 1343, 1344, 1, 0, 0, 0, 1344, 1346, 1, 0, 0, 0, 1345, 1340, 1, 0, 0, 0, 1345, 1346, 1, 0, 0, 0, 1346, 1360, 1, 0, 0, 0, 1347, 1348, 5, 156, 0, 0, 1348, 1361, 3, 42, 21, 0, 1349, 1350, 5, 99, 0, 0, 1350, 1352, 7, 5, 0, 0, 1351, 1353, 3, 44, 22, 0, 1352, 1351, 1, 0, 0, 0, 1352, 1353, 1, 0, 0, 0, 1353, 1354, 1, 0, 0, 0, 1354, 1358, 7, 4, 0, 0, 1355, 1359, 5, 193, 0, 0, 1356, 1357, 5, 305, 0, 0, 1357, 1359, 5, 267, 0, 0, 1358, 1355, 1, 0, 0, 0, 1358, 1356, 1, 0, 0, 0, 1359, 1361, 1, 0, 0, 0, 1360, 1347, 1, 0, 0, 0, 1360, 1349, 1, 0, 0, 0, 1360, 1361, 1, 0, 0, 0, 1361, 41, 1, 0, 0, 0, 1362, 1365, 5, 22, 0, 0, 1363, 1365, 3, 44, 22, 0, 1364, 1362, 1, 0, 0, 0, 1364, 1363, 1, 0, 0, 0, 1365, 43, 1, 0, 0, 0, 1366, 1367, 7, 6, 0, 0, 1367, 45, 1, 0, 0, 0, 1368, 1369, 6, 23, -1, 0, 1369, 1370, 3, 48, 24, 0, 1370, 1385, 1, 0, 0, 0, 1371, 1372, 10, 2, 0, 0, 1372, 1374, 5, 129, 0, 0, 1373, 1375, 3, 76, 38, 0, 1374, 1373, 1, 0, 0, 0, 1374, 1375, 1, 0, 0, 0, 1375, 1376, 1, 0, 0, 0, 1376, 1384, 3, 46, 23, 3, 1377, 1378, 10, 1, 0, 0, 1378, 1380, 7, 7, 0, 0, 1379, 1381, 3, 76, 38, 0, 1380, 1379, 1, 0, 0, 0, 1380, 1381, 1, 0, 0, 0, 1381, 1382, 1, 0, 0, 0, 1382, 1384, 3, 46, 23, 2, 1383, 1371, 1, 0, 0, 0, 1383, 1377, 1, 0, 0, 0, 1384, 1387, 1, 0, 0, 0, 1385, 1383, 1, 0, 0, 0, 1385, 1386, 1, 0, 0, 0, 1386, 47, 1, 0, 0, 0, 1387, 1385, 1, 0, 0, 0, 1388, 1405, 3, 52, 26, 0, 1389, 1390, 5, 261, 0, 0, 1390, 1405, 3, 274, 137, 0, 1391, 1392, 5, 297, 0, 0, 1392, 1397, 3, 154, 77, 0, 1393, 1394, 5, 3, 0, 0, 1394, 1396, 3, 154, 77, 0, 1395, 1393, 1, 0, 0, 0, 1396, 1399, 1, 0, 0, 0, 1397, 1395, 1, 0, 0, 0, 1397, 1398, 1, 0, 0, 0, 1398, 1405, 1, 0, 0, 0, 1399, 1397, 1, 0, 0, 0, 1400, 1401, 5, 1, 0, 0, 1401, 1402, 3, 40, 20, 0, 1402, 1403, 5, 2, 0, 0, 1403, 1405, 1, 0, 0, 0, 1404, 1388, 1, 0, 0, 0, 1404, 1389, 1, 0, 0, 0, 1404, 1391, 1, 0, 0, 0, 1404, 1400, 1, 0, 0, 0, 1405, 49, 1, 0, 0, 0, 1406, 1409, 3, 294, 147, 0, 1407, 1409, 3, 154, 77, 0, 1408, 1406, 1, 0, 0, 0, 1408, 1407, 1, 0, 0, 0, 1409, 1411, 1, 0, 0, 0, 1410, 1412, 7, 8, 0, 0, 1411, 1410, 1, 0, 0, 0, 1411, 1412, 1, 0, 0, 0, 1412, 1415, 1, 0, 0, 0, 1413, 1414, 5, 186, 0, 0, 1414, 1416, 7, 9, 0, 0, 1415, 1413, 1, 0, 0, 0, 1415, 1416, 1, 0, 0, 0, 1416, 51, 1, 0, 0, 0, 1417, 1419, 5, 249, 0, 0, 1418, 1420, 3, 76, 38, 0, 1419, 1418, 1, 0, 0, 0, 1419, 1420, 1, 0, 0, 0, 1420, 1421, 1, 0, 0, 0, 1421, 1431, 3, 58, 29, 0, 1422, 1423, 5, 106, 0, 0, 1423, 1428, 3, 88, 44, 0, 1424, 1425, 5, 3, 0, 0, 1425, 1427, 3, 88, 44, 0, 1426, 1424, 1, 0, 0, 0, 1427, 1430, 1, 0, 0, 0, 1428, 1426, 1, 0, 0, 0, 1428, 1429, 1, 0, 0, 0, 1429, 1432, 1, 0, 0, 0, 1430, 1428, 1, 0, 0, 0, 1431, 1422, 1, 0, 0, 0, 1431, 1432, 1, 0, 0, 0, 1432, 1434, 1, 0, 0, 0, 1433, 1435, 3, 54, 27, 0, 1434, 1433, 1, 0, 0, 0, 1434, 1435, 1, 0, 0, 0, 1435, 1439, 1, 0, 0, 0, 1436, 1437, 5, 115, 0, 0, 1437, 1438, 5, 36, 0, 0, 1438, 1440, 3, 60, 30, 0, 1439, 1436, 1, 0, 0, 0, 1439, 1440, 1, 0, 0, 0, 1440, 1442, 1, 0, 0, 0, 1441, 1443, 3, 56, 28, 0, 1442, 1441, 1, 0, 0, 0, 1442, 1443, 1, 0, 0, 0, 1443, 1453, 1, 0, 0, 0, 1444, 1445, 5, 304, 0, 0, 1445, 1450, 3, 70, 35, 0, 1446, 1447, 5, 3, 0, 0, 1447, 1449, 3, 70, 35, 0, 1448, 1446, 1, 0, 0, 0, 1449, 1452, 1, 0, 0, 0, 1450, 1448, 1, 0, 0, 0, 1450, 1451, 1, 0, 0, 0, 1451, 1454, 1, 0, 0, 0, 1452, 1450, 1, 0, 0, 0, 1453, 1444, 1, 0, 0, 0, 1453, 1454, 1, 0, 0, 0, 1454, 53, 1, 0, 0, 0, 1455, 1456, 5, 302, 0, 0, 1456, 1457, 3, 156, 78, 0, 1457, 55, 1, 0, 0, 0, 1458, 1459, 5, 118, 0, 0, 1459, 1460, 3, 156, 78, 0, 1460, 57, 1, 0, 0, 0, 1461, 1466, 3, 78, 39, 0, 1462, 1463, 5, 3, 0, 0, 1463, 1465, 3, 78, 39, 0, 1464, 1462, 1, 0, 0, 0, 1465, 1468, 1, 0, 0, 0, 1466, 1464, 1, 0, 0, 0, 1466, 1467, 1, 0, 0, 0, 1467, 59, 1, 0, 0, 0, 1468, 1466, 1, 0, 0, 0, 1469, 1471, 3, 76, 38, 0, 1470, 1469, 1, 0, 0, 0, 1470, 1471, 1, 0, 0, 0, 1471, 1472, 1, 0, 0, 0, 1472, 1477, 3, 64, 32, 0, 1473, 1474, 5, 3, 0, 0, 1474, 1476, 3, 64, 32, 0, 1475, 1473, 1, 0, 0, 0, 1476, 1479, 1, 0, 0, 0, 1477, 1475, 1, 0, 0, 0, 1477, 1478, 1, 0, 0, 0, 1478, 61, 1, 0, 0, 0, 1479, 1477, 1, 0, 0, 0, 1480, 1485, 3, 154, 77, 0, 1481, 1482, 5, 3, 0, 0, 1482, 1484, 3, 154, 77, 0, 1483, 1481, 1, 0, 0, 0, 1484, 1487, 1, 0, 0, 0, 1485, 1483, 1, 0, 0, 0, 1485, 1486, 1, 0, 0, 0, 1486, 63, 1, 0, 0, 0, 1487, 1485, 1, 0, 0, 0, 1488, 1529, 3, 66, 33, 0, 1489, 1490, 5, 239, 0, 0, 1490, 1499, 5, 1, 0, 0, 1491, 1496, 3, 66, 33, 0, 1492, 1493, 5, 3, 0, 0, 1493, 1495, 3, 66, 33, 0, 1494, 1492, 1, 0, 0, 0, 1495, 1498, 1, 0, 0, 0, 1496, 1494, 1, 0, 0, 0, 1496, 1497, 1, 0, 0, 0, 1497, 1500, 1, 0, 0, 0, 1498, 1496, 1, 0, 0, 0, 1499, 1491, 1, 0, 0, 0, 1499, 1500, 1, 0, 0, 0, 1500, 1501, 1, 0, 0, 0, 1501, 1529, 5, 2, 0, 0, 1502, 1503, 5, 56, 0, 0, 1503, 1512, 5, 1, 0, 0, 1504, 1509, 3, 66, 33, 0, 1505, 1506, 5, 3, 0, 0, 1506, 1508, 3, 66, 33, 0, 1507, 1505, 1, 0, 0, 0, 1508, 1511, 1, 0, 0, 0, 1509, 1507, 1, 0, 0, 0, 1509, 1510, 1, 0, 0, 0, 1510, 1513, 1, 0, 0, 0, 1511, 1509, 1, 0, 0, 0, 1512, 1504, 1, 0, 0, 0, 1512, 1513, 1, 0, 0, 0, 1513, 1514, 1, 0, 0, 0, 1514, 1529, 5, 2, 0, 0, 1515, 1516, 5, 116, 0, 0, 1516, 1517, 5, 253, 0, 0, 1517, 1518, 5, 1, 0, 0, 1518, 1523, 3, 66, 33, 0, 1519, 1520, 5, 3, 0, 0, 1520, 1522, 3, 66, 33, 0, 1521, 1519, 1, 0, 0, 0, 1522, 1525, 1, 0, 0, 0, 1523, 1521, 1, 0, 0, 0, 1523, 1524, 1, 0, 0, 0, 1524, 1526, 1, 0, 0, 0, 1525, 1523, 1, 0, 0, 0, 1526, 1527, 5, 2, 0, 0, 1527, 1529, 1, 0, 0, 0, 1528, 1488, 1, 0, 0, 0, 1528, 1489, 1, 0, 0, 0, 1528, 1502, 1, 0, 0, 0, 1528, 1515, 1, 0, 0, 0, 1529, 65, 1, 0, 0, 0, 1530, 1539, 5, 1, 0, 0, 1531, 1536, 3, 68, 34, 0, 1532, 1533, 5, 3, 0, 0, 1533, 1535, 3, 68, 34, 0, 1534, 1532, 1, 0, 0, 0, 1535, 1538, 1, 0, 0, 0, 1536, 1534, 1, 0, 0, 0, 1536, 1537, 1, 0, 0, 0, 1537, 1540, 1, 0, 0, 0, 1538, 1536, 1, 0, 0, 0, 1539, 1531, 1, 0, 0, 0, 1539, 1540, 1, 0, 0, 0, 1540, 1541, 1, 0, 0, 0, 1541, 1544, 5, 2, 0, 0, 1542, 1544, 3, 68, 34, 0, 1543, 1530, 1, 0, 0, 0, 1543, 1542, 1, 0, 0, 0, 1544, 67, 1, 0, 0, 0, 1545, 1548, 3, 294, 147, 0, 1546, 1548, 3, 154, 77, 0, 1547, 1545, 1, 0, 0, 0, 1547, 1546, 1, 0, 0, 0, 1548, 69, 1, 0, 0, 0, 1549, 1550, 3, 314, 157, 0, 1550, 1551, 5, 28, 0, 0, 1551, 1552, 5, 1, 0, 0, 1552, 1553, 3, 72, 36, 0, 1553, 1554, 5, 2, 0, 0, 1554, 71, 1, 0, 0, 0, 1555, 1557, 3, 314, 157, 0, 1556, 1555, 1, 0, 0, 0, 1556, 1557, 1, 0, 0, 0, 1557, 1561, 1, 0, 0, 0, 1558, 1559, 5, 202, 0, 0, 1559, 1560, 5, 36, 0, 0, 1560, 1562, 3, 62, 31, 0, 1561, 1558, 1, 0, 0, 0, 1561, 1562, 1, 0, 0, 0, 1562, 1573, 1, 0, 0, 0, 1563, 1564, 5, 196, 0, 0, 1564, 1565, 5, 36, 0, 0, 1565, 1570, 3, 50, 25, 0, 1566, 1567, 5, 3, 0, 0, 1567, 1569, 3, 50, 25, 0, 1568, 1566, 1, 0, 0, 0, 1569, 1572, 1, 0, 0, 0, 1570, 1568, 1, 0, 0, 0, 1570, 1571, 1, 0, 0, 0, 1571, 1574, 1, 0, 0, 0, 1572, 1570, 1, 0, 0, 0, 1573, 1563, 1, 0, 0, 0, 1573, 1574, 1, 0, 0, 0, 1574, 1576, 1, 0, 0, 0, 1575, 1577, 3, 216, 108, 0, 1576, 1575, 1, 0, 0, 0, 1576, 1577, 1, 0, 0, 0, 1577, 73, 1, 0, 0, 0, 1578, 1580, 3, 314, 157, 0, 1579, 1581, 3, 124, 62, 0, 1580, 1579, 1, 0, 0, 0, 1580, 1581, 1, 0, 0, 0, 1581, 1582, 1, 0, 0, 0, 1582, 1583, 5, 28, 0, 0, 1583, 1584, 5, 1, 0, 0, 1584, 1585, 3, 22, 11, 0, 1585, 1586, 5, 2, 0, 0, 1586, 75, 1, 0, 0, 0, 1587, 1588, 7, 10, 0, 0, 1588, 77, 1, 0, 0, 0, 1589, 1592, 3, 84, 42, 0, 1590, 1592, 3, 86, 43, 0, 1591, 1589, 1, 0, 0, 0, 1591, 1590, 1, 0, 0, 0, 1592, 1597, 1, 0, 0, 0, 1593, 1595, 5, 28, 0, 0, 1594, 1593, 1, 0, 0, 0, 1594, 1595, 1, 0, 0, 0, 1595, 1596, 1, 0, 0, 0, 1596, 1598, 3, 314, 157, 0, 1597, 1594, 1, 0, 0, 0, 1597, 1598, 1, 0, 0, 0, 1598, 1606, 1, 0, 0, 0, 1599, 1602, 3, 82, 41, 0, 1600, 1601, 5, 28, 0, 0, 1601, 1603, 3, 124, 62, 0, 1602, 1600, 1, 0, 0, 0, 1602, 1603, 1, 0, 0, 0, 1603, 1606, 1, 0, 0, 0, 1604, 1606, 3, 80, 40, 0, 1605, 1591, 1, 0, 0, 0, 1605, 1599, 1, 0, 0, 0, 1605, 1604, 1, 0, 0, 0, 1606, 79, 1, 0, 0, 0, 1607, 1608, 5, 321, 0, 0, 1608, 81, 1, 0, 0, 0, 1609, 1610, 3, 162, 81, 0, 1610, 1611, 5, 4, 0, 0, 1611, 1612, 5, 321, 0, 0, 1612, 83, 1, 0, 0, 0, 1613, 1614, 3, 294, 147, 0, 1614, 85, 1, 0, 0, 0, 1615, 1616, 3, 154, 77, 0, 1616, 87, 1, 0, 0, 0, 1617, 1618, 6, 44, -1, 0, 1618, 1619, 3, 94, 47, 0, 1619, 1638, 1, 0, 0, 0, 1620, 1634, 10, 2, 0, 0, 1621, 1622, 5, 55, 0, 0, 1622, 1623, 5, 137, 0, 0, 1623, 1635, 3, 94, 47, 0, 1624, 1625, 3, 90, 45, 0, 1625, 1626, 5, 137, 0, 0, 1626, 1627, 3, 88, 44, 0, 1627, 1628, 3, 92, 46, 0, 1628, 1635, 1, 0, 0, 0, 1629, 1630, 5, 173, 0, 0, 1630, 1631, 3, 90, 45, 0, 1631, 1632, 5, 137, 0, 0, 1632, 1633, 3, 94, 47, 0, 1633, 1635, 1, 0, 0, 0, 1634, 1621, 1, 0, 0, 0, 1634, 1624, 1, 0, 0, 0, 1634, 1629, 1, 0, 0, 0, 1635, 1637, 1, 0, 0, 0, 1636, 1620, 1, 0, 0, 0, 1637, 1640, 1, 0, 0, 0, 1638, 1636, 1, 0, 0, 0, 1638, 1639, 1, 0, 0, 0, 1639, 89, 1, 0, 0, 0, 1640, 1638, 1, 0, 0, 0, 1641, 1643, 5, 126, 0, 0, 1642, 1641, 1, 0, 0, 0, 1642, 1643, 1, 0, 0, 0, 1643, 1657, 1, 0, 0, 0, 1644, 1646, 5, 153, 0, 0, 1645, 1647, 5, 198, 0, 0, 1646, 1645, 1, 0, 0, 0, 1646, 1647, 1, 0, 0, 0, 1647, 1657, 1, 0, 0, 0, 1648, 1650, 5, 235, 0, 0, 1649, 1651, 5, 198, 0, 0, 1650, 1649, 1, 0, 0, 0, 1650, 1651, 1, 0, 0, 0, 1651, 1657, 1, 0, 0, 0, 1652, 1654, 5, 107, 0, 0, 1653, 1655, 5, 198, 0, 0, 1654, 1653, 1, 0, 0, 0, 1654, 1655, 1, 0, 0, 0, 1655, 1657, 1, 0, 0, 0, 1656, 1642, 1, 0, 0, 0, 1656, 1644, 1, 0, 0, 0, 1656, 1648, 1, 0, 0, 0, 1656, 1652, 1, 0, 0, 0, 1657, 91, 1, 0, 0, 0, 1658, 1659, 5, 191, 0, 0, 1659, 1673, 3, 156, 78, 0, 1660, 1661, 5, 291, 0, 0, 1661, 1662, 5, 1, 0, 0, 1662, 1667, 3, 314, 157, 0, 1663, 1664, 5, 3, 0, 0, 1664, 1666, 3, 314, 157, 0, 1665, 1663, 1, 0, 0, 0, 1666, 1669, 1, 0, 0, 0, 1667, 1665, 1, 0, 0, 0, 1667, 1668, 1, 0, 0, 0, 1668, 1670, 1, 0, 0, 0, 1669, 1667, 1, 0, 0, 0, 1670, 1671, 5, 2, 0, 0, 1671, 1673, 1, 0, 0, 0, 1672, 1658, 1, 0, 0, 0, 1672, 1660, 1, 0, 0, 0, 1673, 93, 1, 0, 0, 0, 1674, 1681, 3, 104, 52, 0, 1675, 1676, 5, 263, 0, 0, 1676, 1677, 3, 96, 48, 0, 1677, 1678, 5, 1, 0, 0, 1678, 1679, 3, 154, 77, 0, 1679, 1680, 5, 2, 0, 0, 1680, 1682, 1, 0, 0, 0, 1681, 1675, 1, 0, 0, 0, 1681, 1682, 1, 0, 0, 0, 1682, 95, 1, 0, 0, 0, 1683, 1684, 7, 11, 0, 0, 1684, 97, 1, 0, 0, 0, 1685, 1686, 7, 12, 0, 0, 1686, 99, 1, 0, 0, 0, 1687, 1694, 5, 90, 0, 0, 1688, 1690, 5, 275, 0, 0, 1689, 1691, 3, 186, 93, 0, 1690, 1689, 1, 0, 0, 0, 1690, 1691, 1, 0, 0, 0, 1691, 1692, 1, 0, 0, 0, 1692, 1694, 3, 102, 51, 0, 1693, 1687, 1, 0, 0, 0, 1693, 1688, 1, 0, 0, 0, 1694, 101, 1, 0, 0, 0, 1695, 1696, 5, 305, 0, 0, 1696, 1700, 5, 52, 0, 0, 1697, 1698, 5, 307, 0, 0, 1698, 1700, 5, 52, 0, 0, 1699, 1695, 1, 0, 0, 0, 1699, 1697, 1, 0, 0, 0, 1700, 103, 1, 0, 0, 0, 1701, 1777, 3, 118, 59, 0, 1702, 1703, 5, 167, 0, 0, 1703, 1707, 5, 1, 0, 0, 1704, 1705, 5, 202, 0, 0, 1705, 1706, 5, 36, 0, 0, 1706, 1708, 3, 62, 31, 0, 1707, 1704, 1, 0, 0, 0, 1707, 1708, 1, 0, 0, 0, 1708, 1719, 1, 0, 0, 0, 1709, 1710, 5, 196, 0, 0, 1710, 1711, 5, 36, 0, 0, 1711, 1716, 3, 50, 25, 0, 1712, 1713, 5, 3, 0, 0, 1713, 1715, 3, 50, 25, 0, 1714, 1712, 1, 0, 0, 0, 1715, 1718, 1, 0, 0, 0, 1716, 1714, 1, 0, 0, 0, 1716, 1717, 1, 0, 0, 0, 1717, 1720, 1, 0, 0, 0, 1718, 1716, 1, 0, 0, 0, 1719, 1709, 1, 0, 0, 0, 1719, 1720, 1, 0, 0, 0, 1720, 1730, 1, 0, 0, 0, 1721, 1722, 5, 169, 0, 0, 1722, 1727, 3, 106, 53, 0, 1723, 1724, 5, 3, 0, 0, 1724, 1726, 3, 106, 53, 0, 1725, 1723, 1, 0, 0, 0, 1726, 1729, 1, 0, 0, 0, 1727, 1725, 1, 0, 0, 0, 1727, 1728, 1, 0, 0, 0, 1728, 1731, 1, 0, 0, 0, 1729, 1727, 1, 0, 0, 0, 1730, 1721, 1, 0, 0, 0, 1730, 1731, 1, 0, 0, 0, 1731, 1733, 1, 0, 0, 0, 1732, 1734, 3, 108, 54, 0, 1733, 1732, 1, 0, 0, 0, 1733, 1734, 1, 0, 0, 0, 1734, 1738, 1, 0, 0, 0, 1735, 1736, 5, 21, 0, 0, 1736, 1737, 5, 164, 0, 0, 1737, 1739, 3, 112, 56, 0, 1738, 1735, 1, 0, 0, 0, 1738, 1739, 1, 0, 0, 0, 1739, 1741, 1, 0, 0, 0, 1740, 1742, 7, 13, 0, 0, 1741, 1740, 1, 0, 0, 0, 1741, 1742, 1, 0, 0, 0, 1742, 1743, 1, 0, 0, 0, 1743, 1744, 5, 207, 0, 0, 1744, 1745, 5, 1, 0, 0, 1745, 1746, 3, 222, 111, 0, 1746, 1756, 5, 2, 0, 0, 1747, 1748, 5, 258, 0, 0, 1748, 1753, 3, 114, 57, 0, 1749, 1750, 5, 3, 0, 0, 1750, 1752, 3, 114, 57, 0, 1751, 1749, 1, 0, 0, 0, 1752, 1755, 1, 0, 0, 0, 1753, 1751, 1, 0, 0, 0, 1753, 1754, 1, 0, 0, 0, 1754, 1757, 1, 0, 0, 0, 1755, 1753, 1, 0, 0, 0, 1756, 1747, 1, 0, 0, 0, 1756, 1757, 1, 0, 0, 0, 1757, 1758, 1, 0, 0, 0, 1758, 1759, 5, 72, 0, 0, 1759, 1764, 3, 116, 58, 0, 1760, 1761, 5, 3, 0, 0, 1761, 1763, 3, 116, 58, 0, 1762, 1760, 1, 0, 0, 0, 1763, 1766, 1, 0, 0, 0, 1764, 1762, 1, 0, 0, 0, 1764, 1765, 1, 0, 0, 0, 1765, 1767, 1, 0, 0, 0, 1766, 1764, 1, 0, 0, 0, 1767, 1775, 5, 2, 0, 0, 1768, 1770, 5, 28, 0, 0, 1769, 1768, 1, 0, 0, 0, 1769, 1770, 1, 0, 0, 0, 1770, 1771, 1, 0, 0, 0, 1771, 1773, 3, 314, 157, 0, 1772, 1774, 3, 124, 62, 0, 1773, 1772, 1, 0, 0, 0, 1773, 1774, 1, 0, 0, 0, 1774, 1776, 1, 0, 0, 0, 1775, 1769, 1, 0, 0, 0, 1775, 1776, 1, 0, 0, 0, 1776, 1778, 1, 0, 0, 0, 1777, 1702, 1, 0, 0, 0, 1777, 1778, 1, 0, 0, 0, 1778, 105, 1, 0, 0, 0, 1779, 1780, 3, 154, 77, 0, 1780, 1781, 5, 28, 0, 0, 1781, 1782, 3, 314, 157, 0, 1782, 107, 1, 0, 0, 0, 1783, 1784, 5, 192, 0, 0, 1784, 1785, 5, 240, 0, 0, 1785, 1786, 5, 208, 0, 0, 1786, 1795, 5, 164, 0, 0, 1787, 1788, 5, 22, 0, 0, 1788, 1789, 5, 241, 0, 0, 1789, 1790, 5, 208, 0, 0, 1790, 1792, 5, 164, 0, 0, 1791, 1793, 3, 110, 55, 0, 1792, 1791, 1, 0, 0, 0, 1792, 1793, 1, 0, 0, 0, 1793, 1795, 1, 0, 0, 0, 1794, 1783, 1, 0, 0, 0, 1794, 1787, 1, 0, 0, 0, 1795, 109, 1, 0, 0, 0, 1796, 1797, 5, 254, 0, 0, 1797, 1798, 5, 86, 0, 0, 1798, 1806, 5, 166, 0, 0, 1799, 1800, 5, 190, 0, 0, 1800, 1801, 5, 86, 0, 0, 1801, 1806, 5, 166, 0, 0, 1802, 1803, 5, 305, 0, 0, 1803, 1804, 5, 285, 0, 0, 1804, 1806, 5, 241, 0, 0, 1805, 1796, 1, 0, 0, 0, 1805, 1799, 1, 0, 0, 0, 1805, 1802, 1, 0, 0, 0, 1806, 111, 1, 0, 0, 0, 1807, 1808, 5, 5, 0, 0, 1808, 1809, 5, 270, 0, 0, 1809, 1810, 5, 175, 0, 0, 1810, 1827, 5, 240, 0, 0, 1811, 1812, 5, 5, 0, 0, 1812, 1813, 5, 205, 0, 0, 1813, 1814, 5, 149, 0, 0, 1814, 1827, 5, 240, 0, 0, 1815, 1816, 5, 5, 0, 0, 1816, 1817, 5, 270, 0, 0, 1817, 1818, 5, 102, 0, 0, 1818, 1827, 3, 314, 157, 0, 1819, 1820, 5, 5, 0, 0, 1820, 1821, 5, 270, 0, 0, 1821, 1822, 5, 149, 0, 0, 1822, 1827, 3, 314, 157, 0, 1823, 1824, 5, 5, 0, 0, 1824, 1825, 5, 270, 0, 0, 1825, 1827, 3, 314, 157, 0, 1826, 1807, 1, 0, 0, 0, 1826, 1811, 1, 0, 0, 0, 1826, 1815, 1, 0, 0, 0, 1826, 1819, 1, 0, 0, 0, 1826, 1823, 1, 0, 0, 0, 1827, 113, 1, 0, 0, 0, 1828, 1829, 3, 314, 157, 0, 1829, 1830, 5, 313, 0, 0, 1830, 1831, 5, 1, 0, 0, 1831, 1836, 3, 314, 157, 0, 1832, 1833, 5, 3, 0, 0, 1833, 1835, 3, 314, 157, 0, 1834, 1832, 1, 0, 0, 0, 1835, 1838, 1, 0, 0, 0, 1836, 1834, 1, 0, 0, 0, 1836, 1837, 1, 0, 0, 0, 1837, 1839, 1, 0, 0, 0, 1838, 1836, 1, 0, 0, 0, 1839, 1840, 5, 2, 0, 0, 1840, 115, 1, 0, 0, 0, 1841, 1842, 3, 314, 157, 0, 1842, 1843, 5, 28, 0, 0, 1843, 1844, 3, 154, 77, 0, 1844, 117, 1, 0, 0, 0, 1845, 1853, 3, 126, 63, 0, 1846, 1848, 5, 28, 0, 0, 1847, 1846, 1, 0, 0, 0, 1847, 1848, 1, 0, 0, 0, 1848, 1849, 1, 0, 0, 0, 1849, 1851, 3, 314, 157, 0, 1850, 1852, 3, 124, 62, 0, 1851, 1850, 1, 0, 0, 0, 1851, 1852, 1, 0, 0, 0, 1852, 1854, 1, 0, 0, 0, 1853, 1847, 1, 0, 0, 0, 1853, 1854, 1, 0, 0, 0, 1854, 119, 1, 0, 0, 0, 1855, 1856, 5, 1, 0, 0, 1856, 1861, 3, 298, 149, 0, 1857, 1858, 5, 3, 0, 0, 1858, 1860, 3, 298, 149, 0, 1859, 1857, 1, 0, 0, 0, 1860, 1863, 1, 0, 0, 0, 1861, 1859, 1, 0, 0, 0, 1861, 1862, 1, 0, 0, 0, 1862, 1864, 1, 0, 0, 0, 1863, 1861, 1, 0, 0, 0, 1864, 1865, 5, 2, 0, 0, 1865, 121, 1, 0, 0, 0, 1866, 1867, 5, 1, 0, 0, 1867, 1872, 3, 294, 147, 0, 1868, 1869, 5, 3, 0, 0, 1869, 1871, 3, 294, 147, 0, 1870, 1868, 1, 0, 0, 0, 1871, 1874, 1, 0, 0, 0, 1872, 1870, 1, 0, 0, 0, 1872, 1873, 1, 0, 0, 0, 1873, 1875, 1, 0, 0, 0, 1874, 1872, 1, 0, 0, 0, 1875, 1876, 5, 2, 0, 0, 1876, 123, 1, 0, 0, 0, 1877, 1878, 5, 1, 0, 0, 1878, 1883, 3, 314, 157, 0, 1879, 1880, 5, 3, 0, 0, 1880, 1882, 3, 314, 157, 0, 1881, 1879, 1, 0, 0, 0, 1882, 1885, 1, 0, 0, 0, 1883, 1881, 1, 0, 0, 0, 1883, 1884, 1, 0, 0, 0, 1884, 1886, 1, 0, 0, 0, 1885, 1883, 1, 0, 0, 0, 1886, 1887, 5, 2, 0, 0, 1887, 125, 1, 0, 0, 0, 1888, 1890, 3, 272, 136, 0, 1889, 1891, 3, 302, 151, 0, 1890, 1889, 1, 0, 0, 0, 1890, 1891, 1, 0, 0, 0, 1891, 1898, 1, 0, 0, 0, 1892, 1898, 3, 128, 64, 0, 1893, 1894, 5, 1, 0, 0, 1894, 1895, 3, 88, 44, 0, 1895, 1896, 5, 2, 0, 0, 1896, 1898, 1, 0, 0, 0, 1897, 1888, 1, 0, 0, 0, 1897, 1892, 1, 0, 0, 0, 1897, 1893, 1, 0, 0, 0, 1898, 127, 1, 0, 0, 0, 1899, 1900, 5, 1, 0, 0, 1900, 1901, 3, 22, 11, 0, 1901, 1902, 5, 2, 0, 0, 1902, 1963, 1, 0, 0, 0, 1903, 1904, 5, 286, 0, 0, 1904, 1905, 5, 1, 0, 0, 1905, 1910, 3, 154, 77, 0, 1906, 1907, 5, 3, 0, 0, 1907, 1909, 3, 154, 77, 0, 1908, 1906, 1, 0, 0, 0, 1909, 1912, 1, 0, 0, 0, 1910, 1908, 1, 0, 0, 0, 1910, 1911, 1, 0, 0, 0, 1911, 1913, 1, 0, 0, 0, 1912, 1910, 1, 0, 0, 0, 1913, 1916, 5, 2, 0, 0, 1914, 1915, 5, 305, 0, 0, 1915, 1917, 5, 197, 0, 0, 1916, 1914, 1, 0, 0, 0, 1916, 1917, 1, 0, 0, 0, 1917, 1963, 1, 0, 0, 0, 1918, 1919, 5, 150, 0, 0, 1919, 1920, 5, 1, 0, 0, 1920, 1921, 3, 22, 11, 0, 1921, 1922, 5, 2, 0, 0, 1922, 1963, 1, 0, 0, 0, 1923, 1924, 5, 261, 0, 0, 1924, 1925, 5, 1, 0, 0, 1925, 1926, 3, 140, 70, 0, 1926, 1927, 5, 2, 0, 0, 1927, 1963, 1, 0, 0, 0, 1928, 1929, 5, 143, 0, 0, 1929, 1930, 5, 1, 0, 0, 1930, 1931, 3, 164, 82, 0, 1931, 1932, 5, 46, 0, 0, 1932, 1933, 5, 1, 0, 0, 1933, 1938, 3, 130, 65, 0, 1934, 1935, 5, 3, 0, 0, 1935, 1937, 3, 130, 65, 0, 1936, 1934, 1, 0, 0, 0, 1937, 1940, 1, 0, 0, 0, 1938, 1936, 1, 0, 0, 0, 1938, 1939, 1, 0, 0, 0, 1939, 1941, 1, 0, 0, 0, 1940, 1938, 1, 0, 0, 0, 1941, 1953, 5, 2, 0, 0, 1942, 1943, 5, 211, 0, 0, 1943, 1944, 5, 1, 0, 0, 1944, 1945, 3, 132, 66, 0, 1945, 1946, 5, 2, 0, 0, 1946, 1954, 1, 0, 0, 0, 1947, 1948, 5, 211, 0, 0, 1948, 1949, 5, 71, 0, 0, 1949, 1950, 5, 1, 0, 0, 1950, 1951, 3, 138, 69, 0, 1951, 1952, 5, 2, 0, 0, 1952, 1954, 1, 0, 0, 0, 1953, 1942, 1, 0, 0, 0, 1953, 1947, 1, 0, 0, 0, 1953, 1954, 1, 0, 0, 0, 1954, 1958, 1, 0, 0, 0, 1955, 1956, 7, 14, 0, 0, 1956, 1957, 5, 191, 0, 0, 1957, 1959, 5, 90, 0, 0, 1958, 1955, 1, 0, 0, 0, 1958, 1959, 1, 0, 0, 0, 1959, 1960, 1, 0, 0, 0, 1960, 1961, 5, 2, 0, 0, 1961, 1963, 1, 0, 0, 0, 1962, 1899, 1, 0, 0, 0, 1962, 1903, 1, 0, 0, 0, 1962, 1918, 1, 0, 0, 0, 1962, 1923, 1, 0, 0, 0, 1962, 1928, 1, 0, 0, 0, 1963, 129, 1, 0, 0, 0, 1964, 1965, 3, 314, 157, 0, 1965, 1966, 5, 104, 0, 0, 1966, 1967, 5, 197, 0, 0, 1967, 2042, 1, 0, 0, 0, 1968, 1969, 3, 314, 157, 0, 1969, 1972, 3, 202, 101, 0, 1970, 1971, 5, 206, 0, 0, 1971, 1973, 3, 186, 93, 0, 1972, 1970, 1, 0, 0, 0, 1972, 1973, 1, 0, 0, 0, 1973, 1978, 1, 0, 0, 0, 1974, 1975, 3, 174, 87, 0, 1975, 1976, 5, 191, 0, 0, 1976, 1977, 5, 86, 0, 0, 1977, 1979, 1, 0, 0, 0, 1978, 1974, 1, 0, 0, 0, 1978, 1979, 1, 0, 0, 0, 1979, 1984, 1, 0, 0, 0, 1980, 1981, 3, 174, 87, 0, 1981, 1982, 5, 191, 0, 0, 1982, 1983, 5, 90, 0, 0, 1983, 1985, 1, 0, 0, 0, 1984, 1980, 1, 0, 0, 0, 1984, 1985, 1, 0, 0, 0, 1985, 2042, 1, 0, 0, 0, 1986, 1987, 3, 314, 157, 0, 1987, 1988, 3, 202, 101, 0, 1988, 1989, 5, 105, 0, 0, 1989, 1992, 3, 168, 84, 0, 1990, 1991, 5, 206, 0, 0, 1991, 1993, 3, 186, 93, 0, 1992, 1990, 1, 0, 0, 0, 1992, 1993, 1, 0, 0, 0, 1993, 1997, 1, 0, 0, 0, 1994, 1995, 3, 176, 88, 0, 1995, 1996, 5, 309, 0, 0, 1996, 1998, 1, 0, 0, 0, 1997, 1994, 1, 0, 0, 0, 1997, 1998, 1, 0, 0, 0, 1998, 2006, 1, 0, 0, 0, 1999, 2000, 7, 15, 0, 0, 2000, 2004, 5, 219, 0, 0, 2001, 2002, 5, 191, 0, 0, 2002, 2003, 5, 243, 0, 0, 2003, 2005, 5, 265, 0, 0, 2004, 2001, 1, 0, 0, 0, 2004, 2005, 1, 0, 0, 0, 2005, 2007, 1, 0, 0, 0, 2006, 1999, 1, 0, 0, 0, 2006, 2007, 1, 0, 0, 0, 2007, 2012, 1, 0, 0, 0, 2008, 2009, 3, 178, 89, 0, 2009, 2010, 5, 191, 0, 0, 2010, 2011, 5, 86, 0, 0, 2011, 2013, 1, 0, 0, 0, 2012, 2008, 1, 0, 0, 0, 2012, 2013, 1, 0, 0, 0, 2013, 2018, 1, 0, 0, 0, 2014, 2015, 3, 178, 89, 0, 2015, 2016, 5, 191, 0, 0, 2016, 2017, 5, 90, 0, 0, 2017, 2019, 1, 0, 0, 0, 2018, 2014, 1, 0, 0, 0, 2018, 2019, 1, 0, 0, 0, 2019, 2042, 1, 0, 0, 0, 2020, 2022, 5, 174, 0, 0, 2021, 2023, 5, 206, 0, 0, 2022, 2021, 1, 0, 0, 0, 2022, 2023, 1, 0, 0, 0, 2023, 2024, 1, 0, 0, 0, 2024, 2027, 3, 186, 93, 0, 2025, 2026, 5, 28, 0, 0, 2026, 2028, 3, 314, 157, 0, 2027, 2025, 1, 0, 0, 0, 2027, 2028, 1, 0, 0, 0, 2028, 2029, 1, 0, 0, 0, 2029, 2030, 5, 46, 0, 0, 2030, 2031, 5, 1, 0, 0, 2031, 2036, 3, 130, 65, 0, 2032, 2033, 5, 3, 0, 0, 2033, 2035, 3, 130, 65, 0, 2034, 2032, 1, 0, 0, 0, 2035, 2038, 1, 0, 0, 0, 2036, 2034, 1, 0, 0, 0, 2036, 2037, 1, 0, 0, 0, 2037, 2039, 1, 0, 0, 0, 2038, 2036, 1, 0, 0, 0, 2039, 2040, 5, 2, 0, 0, 2040, 2042, 1, 0, 0, 0, 2041, 1964, 1, 0, 0, 0, 2041, 1968, 1, 0, 0, 0, 2041, 1986, 1, 0, 0, 0, 2041, 2020, 1, 0, 0, 0, 2042, 131, 1, 0, 0, 0, 2043, 2069, 3, 134, 67, 0, 2044, 2045, 3, 134, 67, 0, 2045, 2046, 7, 16, 0, 0, 2046, 2047, 3, 136, 68, 0, 2047, 2069, 1, 0, 0, 0, 2048, 2049, 3, 136, 68, 0, 2049, 2050, 5, 282, 0, 0, 2050, 2055, 3, 136, 68, 0, 2051, 2052, 5, 282, 0, 0, 2052, 2054, 3, 136, 68, 0, 2053, 2051, 1, 0, 0, 0, 2054, 2057, 1, 0, 0, 0, 2055, 2053, 1, 0, 0, 0, 2055, 2056, 1, 0, 0, 0, 2056, 2069, 1, 0, 0, 0, 2057, 2055, 1, 0, 0, 0, 2058, 2059, 3, 136, 68, 0, 2059, 2060, 5, 55, 0, 0, 2060, 2065, 3, 136, 68, 0, 2061, 2062, 5, 55, 0, 0, 2062, 2064, 3, 136, 68, 0, 2063, 2061, 1, 0, 0, 0, 2064, 2067, 1, 0, 0, 0, 2065, 2063, 1, 0, 0, 0, 2065, 2066, 1, 0, 0, 0, 2066, 2069, 1, 0, 0, 0, 2067, 2065, 1, 0, 0, 0, 2068, 2043, 1, 0, 0, 0, 2068, 2044, 1, 0, 0, 0, 2068, 2048, 1, 0, 0, 0, 2068, 2058, 1, 0, 0, 0, 2069, 133, 1, 0, 0, 0, 2070, 2071, 3, 314, 157, 0, 2071, 135, 1, 0, 0, 0, 2072, 2078, 3, 134, 67, 0, 2073, 2074, 5, 1, 0, 0, 2074, 2075, 3, 132, 66, 0, 2075, 2076, 5, 2, 0, 0, 2076, 2078, 1, 0, 0, 0, 2077, 2072, 1, 0, 0, 0, 2077, 2073, 1, 0, 0, 0, 2078, 137, 1, 0, 0, 0, 2079, 2082, 7, 16, 0, 0, 2080, 2081, 5, 3, 0, 0, 2081, 2083, 7, 17, 0, 0, 2082, 2080, 1, 0, 0, 0, 2082, 2083, 1, 0, 0, 0, 2083, 2090, 1, 0, 0, 0, 2084, 2087, 7, 17, 0, 0, 2085, 2086, 5, 3, 0, 0, 2086, 2088, 7, 16, 0, 0, 2087, 2085, 1, 0, 0, 0, 2087, 2088, 1, 0, 0, 0, 2088, 2090, 1, 0, 0, 0, 2089, 2079, 1, 0, 0, 0, 2089, 2084, 1, 0, 0, 0, 2090, 139, 1, 0, 0, 0, 2091, 2092, 3, 290, 145, 0, 2092, 2101, 5, 1, 0, 0, 2093, 2098, 3, 142, 71, 0, 2094, 2095, 5, 3, 0, 0, 2095, 2097, 3, 142, 71, 0, 2096, 2094, 1, 0, 0, 0, 2097, 2100, 1, 0, 0, 0, 2098, 2096, 1, 0, 0, 0, 2098, 2099, 1, 0, 0, 0, 2099, 2102, 1, 0, 0, 0, 2100, 2098, 1, 0, 0, 0, 2101, 2093, 1, 0, 0, 0, 2101, 2102, 1, 0, 0, 0, 2102, 2112, 1, 0, 0, 0, 2103, 2104, 5, 53, 0, 0, 2104, 2109, 3, 152, 76, 0, 2105, 2106, 5, 3, 0, 0, 2106, 2108, 3, 152, 76, 0, 2107, 2105, 1, 0, 0, 0, 2108, 2111, 1, 0, 0, 0, 2109, 2107, 1, 0, 0, 0, 2109, 2110, 1, 0, 0, 0, 2110, 2113, 1, 0, 0, 0, 2111, 2109, 1, 0, 0, 0, 2112, 2103, 1, 0, 0, 0, 2112, 2113, 1, 0, 0, 0, 2113, 2114, 1, 0, 0, 0, 2114, 2115, 5, 2, 0, 0, 2115, 141, 1, 0, 0, 0, 2116, 2117, 3, 314, 157, 0, 2117, 2118, 5, 6, 0, 0, 2118, 2120, 1, 0, 0, 0, 2119, 2116, 1, 0, 0, 0, 2119, 2120, 1, 0, 0, 0, 2120, 2124, 1, 0, 0, 0, 2121, 2125, 3, 144, 72, 0, 2122, 2125, 3, 148, 74, 0, 2123, 2125, 3, 154, 77, 0, 2124, 2121, 1, 0, 0, 0, 2124, 2122, 1, 0, 0, 0, 2124, 2123, 1, 0, 0, 0, 2125, 143, 1, 0, 0, 0, 2126, 2137, 3, 146, 73, 0, 2127, 2128, 5, 202, 0, 0, 2128, 2135, 5, 36, 0, 0, 2129, 2131, 5, 1, 0, 0, 2130, 2132, 3, 62, 31, 0, 2131, 2130, 1, 0, 0, 0, 2131, 2132, 1, 0, 0, 0, 2132, 2133, 1, 0, 0, 0, 2133, 2136, 5, 2, 0, 0, 2134, 2136, 3, 154, 77, 0, 2135, 2129, 1, 0, 0, 0, 2135, 2134, 1, 0, 0, 0, 2136, 2138, 1, 0, 0, 0, 2137, 2127, 1, 0, 0, 0, 2137, 2138, 1, 0, 0, 0, 2138, 2145, 1, 0, 0, 0, 2139, 2140, 5, 218, 0, 0, 2140, 2141, 5, 301, 0, 0, 2141, 2146, 5, 86, 0, 0, 2142, 2143, 5, 145, 0, 0, 2143, 2144, 5, 301, 0, 0, 2144, 2146, 5, 86, 0, 0, 2145, 2139, 1, 0, 0, 0, 2145, 2142, 1, 0, 0, 0, 2145, 2146, 1, 0, 0, 0, 2146, 2163, 1, 0, 0, 0, 2147, 2148, 5, 196, 0, 0, 2148, 2161, 5, 36, 0, 0, 2149, 2150, 5, 1, 0, 0, 2150, 2155, 3, 50, 25, 0, 2151, 2152, 5, 3, 0, 0, 2152, 2154, 3, 50, 25, 0, 2153, 2151, 1, 0, 0, 0, 2154, 2157, 1, 0, 0, 0, 2155, 2153, 1, 0, 0, 0, 2155, 2156, 1, 0, 0, 0, 2156, 2158, 1, 0, 0, 0, 2157, 2155, 1, 0, 0, 0, 2158, 2159, 5, 2, 0, 0, 2159, 2162, 1, 0, 0, 0, 2160, 2162, 3, 50, 25, 0, 2161, 2149, 1, 0, 0, 0, 2161, 2160, 1, 0, 0, 0, 2162, 2164, 1, 0, 0, 0, 2163, 2147, 1, 0, 0, 0, 2163, 2164, 1, 0, 0, 0, 2164, 145, 1, 0, 0, 0, 2165, 2166, 5, 261, 0, 0, 2166, 2167, 5, 1, 0, 0, 2167, 2168, 3, 274, 137, 0, 2168, 2176, 5, 2, 0, 0, 2169, 2171, 5, 28, 0, 0, 2170, 2169, 1, 0, 0, 0, 2170, 2171, 1, 0, 0, 0, 2171, 2172, 1, 0, 0, 0, 2172, 2174, 3, 314, 157, 0, 2173, 2175, 3, 124, 62, 0, 2174, 2173, 1, 0, 0, 0, 2174, 2175, 1, 0, 0, 0, 2175, 2177, 1, 0, 0, 0, 2176, 2170, 1, 0, 0, 0, 2176, 2177, 1, 0, 0, 0, 2177, 2192, 1, 0, 0, 0, 2178, 2179, 5, 261, 0, 0, 2179, 2180, 5, 1, 0, 0, 2180, 2181, 3, 22, 11, 0, 2181, 2189, 5, 2, 0, 0, 2182, 2184, 5, 28, 0, 0, 2183, 2182, 1, 0, 0, 0, 2183, 2184, 1, 0, 0, 0, 2184, 2185, 1, 0, 0, 0, 2185, 2187, 3, 314, 157, 0, 2186, 2188, 3, 124, 62, 0, 2187, 2186, 1, 0, 0, 0, 2187, 2188, 1, 0, 0, 0, 2188, 2190, 1, 0, 0, 0, 2189, 2183, 1, 0, 0, 0, 2189, 2190, 1, 0, 0, 0, 2190, 2192, 1, 0, 0, 0, 2191, 2165, 1, 0, 0, 0, 2191, 2178, 1, 0, 0, 0, 2192, 147, 1, 0, 0, 0, 2193, 2194, 5, 78, 0, 0, 2194, 2195, 5, 1, 0, 0, 2195, 2200, 3, 150, 75, 0, 2196, 2197, 5, 3, 0, 0, 2197, 2199, 3, 150, 75, 0, 2198, 2196, 1, 0, 0, 0, 2199, 2202, 1, 0, 0, 0, 2200, 2198, 1, 0, 0, 0, 2200, 2201, 1, 0, 0, 0, 2201, 2203, 1, 0, 0, 0, 2202, 2200, 1, 0, 0, 0, 2203, 2204, 5, 2, 0, 0, 2204, 2212, 1, 0, 0, 0, 2205, 2206, 5, 41, 0, 0, 2206, 2207, 5, 1, 0, 0, 2207, 2208, 5, 184, 0, 0, 2208, 2209, 5, 28, 0, 0, 2209, 2210, 5, 78, 0, 0, 2210, 2212, 5, 2, 0, 0, 2211, 2193, 1, 0, 0, 0, 2211, 2205, 1, 0, 0, 0, 2212, 149, 1, 0, 0, 0, 2213, 2215, 3, 314, 157, 0, 2214, 2216, 3, 202, 101, 0, 2215, 2214, 1, 0, 0, 0, 2215, 2216, 1, 0, 0, 0, 2216, 151, 1, 0, 0, 0, 2217, 2218, 5, 1, 0, 0, 2218, 2219, 3, 300, 150, 0, 2219, 2220, 5, 3, 0, 0, 2220, 2225, 3, 300, 150, 0, 2221, 2222, 5, 3, 0, 0, 2222, 2224, 3, 300, 150, 0, 2223, 2221, 1, 0, 0, 0, 2224, 2227, 1, 0, 0, 0, 2225, 2223, 1, 0, 0, 0, 2225, 2226, 1, 0, 0, 0, 2226, 2228, 1, 0, 0, 0, 2227, 2225, 1, 0, 0, 0, 2228, 2229, 5, 2, 0, 0, 2229, 153, 1, 0, 0, 0, 2230, 2231, 3, 156, 78, 0, 2231, 155, 1, 0, 0, 0, 2232, 2233, 6, 78, -1, 0, 2233, 2235, 3, 160, 80, 0, 2234, 2236, 3, 158, 79, 0, 2235, 2234, 1, 0, 0, 0, 2235, 2236, 1, 0, 0, 0, 2236, 2240, 1, 0, 0, 0, 2237, 2238, 5, 183, 0, 0, 2238, 2240, 3, 156, 78, 3, 2239, 2232, 1, 0, 0, 0, 2239, 2237, 1, 0, 0, 0, 2240, 2249, 1, 0, 0, 0, 2241, 2242, 10, 2, 0, 0, 2242, 2243, 5, 25, 0, 0, 2243, 2248, 3, 156, 78, 3, 2244, 2245, 10, 1, 0, 0, 2245, 2246, 5, 195, 0, 0, 2246, 2248, 3, 156, 78, 2, 2247, 2241, 1, 0, 0, 0, 2247, 2244, 1, 0, 0, 0, 2248, 2251, 1, 0, 0, 0, 2249, 2247, 1, 0, 0, 0, 2249, 2250, 1, 0, 0, 0, 2250, 157, 1, 0, 0, 0, 2251, 2249, 1, 0, 0, 0, 2252, 2253, 3, 190, 95, 0, 2253, 2254, 3, 160, 80, 0, 2254, 2314, 1, 0, 0, 0, 2255, 2256, 3, 190, 95, 0, 2256, 2257, 3, 192, 96, 0, 2257, 2258, 5, 1, 0, 0, 2258, 2259, 3, 22, 11, 0, 2259, 2260, 5, 2, 0, 0, 2260, 2314, 1, 0, 0, 0, 2261, 2263, 5, 183, 0, 0, 2262, 2261, 1, 0, 0, 0, 2262, 2263, 1, 0, 0, 0, 2263, 2264, 1, 0, 0, 0, 2264, 2265, 5, 34, 0, 0, 2265, 2266, 3, 160, 80, 0, 2266, 2267, 5, 25, 0, 0, 2267, 2268, 3, 160, 80, 0, 2268, 2314, 1, 0, 0, 0, 2269, 2271, 5, 183, 0, 0, 2270, 2269, 1, 0, 0, 0, 2270, 2271, 1, 0, 0, 0, 2271, 2272, 1, 0, 0, 0, 2272, 2273, 5, 123, 0, 0, 2273, 2274, 5, 1, 0, 0, 2274, 2279, 3, 154, 77, 0, 2275, 2276, 5, 3, 0, 0, 2276, 2278, 3, 154, 77, 0, 2277, 2275, 1, 0, 0, 0, 2278, 2281, 1, 0, 0, 0, 2279, 2277, 1, 0, 0, 0, 2279, 2280, 1, 0, 0, 0, 2280, 2282, 1, 0, 0, 0, 2281, 2279, 1, 0, 0, 0, 2282, 2283, 5, 2, 0, 0, 2283, 2314, 1, 0, 0, 0, 2284, 2286, 5, 183, 0, 0, 2285, 2284, 1, 0, 0, 0, 2285, 2286, 1, 0, 0, 0, 2286, 2287, 1, 0, 0, 0, 2287, 2288, 5, 123, 0, 0, 2288, 2289, 5, 1, 0, 0, 2289, 2290, 3, 22, 11, 0, 2290, 2291, 5, 2, 0, 0, 2291, 2314, 1, 0, 0, 0, 2292, 2294, 5, 183, 0, 0, 2293, 2292, 1, 0, 0, 0, 2293, 2294, 1, 0, 0, 0, 2294, 2295, 1, 0, 0, 0, 2295, 2296, 5, 155, 0, 0, 2296, 2299, 3, 160, 80, 0, 2297, 2298, 5, 91, 0, 0, 2298, 2300, 3, 160, 80, 0, 2299, 2297, 1, 0, 0, 0, 2299, 2300, 1, 0, 0, 0, 2300, 2314, 1, 0, 0, 0, 2301, 2303, 5, 134, 0, 0, 2302, 2304, 5, 183, 0, 0, 2303, 2302, 1, 0, 0, 0, 2303, 2304, 1, 0, 0, 0, 2304, 2305, 1, 0, 0, 0, 2305, 2314, 5, 184, 0, 0, 2306, 2308, 5, 134, 0, 0, 2307, 2309, 5, 183, 0, 0, 2308, 2307, 1, 0, 0, 0, 2308, 2309, 1, 0, 0, 0, 2309, 2310, 1, 0, 0, 0, 2310, 2311, 5, 80, 0, 0, 2311, 2312, 5, 106, 0, 0, 2312, 2314, 3, 160, 80, 0, 2313, 2252, 1, 0, 0, 0, 2313, 2255, 1, 0, 0, 0, 2313, 2262, 1, 0, 0, 0, 2313, 2270, 1, 0, 0, 0, 2313, 2285, 1, 0, 0, 0, 2313, 2293, 1, 0, 0, 0, 2313, 2301, 1, 0, 0, 0, 2313, 2306, 1, 0, 0, 0, 2314, 159, 1, 0, 0, 0, 2315, 2316, 6, 80, -1, 0, 2316, 2320, 3, 162, 81, 0, 2317, 2318, 7, 18, 0, 0, 2318, 2320, 3, 160, 80, 4, 2319, 2315, 1, 0, 0, 0, 2319, 2317, 1, 0, 0, 0, 2320, 2335, 1, 0, 0, 0, 2321, 2322, 10, 3, 0, 0, 2322, 2323, 7, 19, 0, 0, 2323, 2334, 3, 160, 80, 4, 2324, 2325, 10, 2, 0, 0, 2325, 2326, 7, 18, 0, 0, 2326, 2334, 3, 160, 80, 3, 2327, 2328, 10, 1, 0, 0, 2328, 2329, 5, 324, 0, 0, 2329, 2334, 3, 160, 80, 2, 2330, 2331, 10, 5, 0, 0, 2331, 2332, 5, 30, 0, 0, 2332, 2334, 3, 188, 94, 0, 2333, 2321, 1, 0, 0, 0, 2333, 2324, 1, 0, 0, 0, 2333, 2327, 1, 0, 0, 0, 2333, 2330, 1, 0, 0, 0, 2334, 2337, 1, 0, 0, 0, 2335, 2333, 1, 0, 0, 0, 2335, 2336, 1, 0, 0, 0, 2336, 161, 1, 0, 0, 0, 2337, 2335, 1, 0, 0, 0, 2338, 2339, 6, 81, -1, 0, 2339, 2804, 5, 184, 0, 0, 2340, 2804, 3, 196, 98, 0, 2341, 2342, 3, 314, 157, 0, 2342, 2343, 3, 186, 93, 0, 2343, 2804, 1, 0, 0, 0, 2344, 2345, 5, 83, 0, 0, 2345, 2346, 5, 214, 0, 0, 2346, 2804, 3, 186, 93, 0, 2347, 2804, 3, 316, 158, 0, 2348, 2804, 3, 194, 97, 0, 2349, 2804, 3, 186, 93, 0, 2350, 2804, 5, 329, 0, 0, 2351, 2804, 5, 325, 0, 0, 2352, 2353, 5, 212, 0, 0, 2353, 2354, 5, 1, 0, 0, 2354, 2355, 3, 160, 80, 0, 2355, 2356, 5, 123, 0, 0, 2356, 2357, 3, 160, 80, 0, 2357, 2358, 5, 2, 0, 0, 2358, 2804, 1, 0, 0, 0, 2359, 2360, 5, 1, 0, 0, 2360, 2363, 3, 154, 77, 0, 2361, 2362, 5, 3, 0, 0, 2362, 2364, 3, 154, 77, 0, 2363, 2361, 1, 0, 0, 0, 2364, 2365, 1, 0, 0, 0, 2365, 2363, 1, 0, 0, 0, 2365, 2366, 1, 0, 0, 0, 2366, 2367, 1, 0, 0, 0, 2367, 2368, 5, 2, 0, 0, 2368, 2804, 1, 0, 0, 0, 2369, 2370, 5, 240, 0, 0, 2370, 2371, 5, 1, 0, 0, 2371, 2376, 3, 154, 77, 0, 2372, 2373, 5, 3, 0, 0, 2373, 2375, 3, 154, 77, 0, 2374, 2372, 1, 0, 0, 0, 2375, 2378, 1, 0, 0, 0, 2376, 2374, 1, 0, 0, 0, 2376, 2377, 1, 0, 0, 0, 2377, 2379, 1, 0, 0, 0, 2378, 2376, 1, 0, 0, 0, 2379, 2380, 5, 2, 0, 0, 2380, 2804, 1, 0, 0, 0, 2381, 2382, 5, 157, 0, 0, 2382, 2384, 5, 1, 0, 0, 2383, 2385, 3, 76, 38, 0, 2384, 2383, 1, 0, 0, 0, 2384, 2385, 1, 0, 0, 0, 2385, 2386, 1, 0, 0, 0, 2386, 2389, 3, 154, 77, 0, 2387, 2388, 5, 3, 0, 0, 2388, 2390, 3, 186, 93, 0, 2389, 2387, 1, 0, 0, 0, 2389, 2390, 1, 0, 0, 0, 2390, 2394, 1, 0, 0, 0, 2391, 2392, 5, 191, 0, 0, 2392, 2393, 5, 201, 0, 0, 2393, 2395, 3, 100, 50, 0, 2394, 2391, 1, 0, 0, 0, 2394, 2395, 1, 0, 0, 0, 2395, 2396, 1, 0, 0, 0, 2396, 2397, 5, 2, 0, 0, 2397, 2398, 5, 306, 0, 0, 2398, 2399, 5, 115, 0, 0, 2399, 2400, 5, 1, 0, 0, 2400, 2401, 5, 196, 0, 0, 2401, 2402, 5, 36, 0, 0, 2402, 2407, 3, 50, 25, 0, 2403, 2404, 5, 3, 0, 0, 2404, 2406, 3, 50, 25, 0, 2405, 2403, 1, 0, 0, 0, 2406, 2409, 1, 0, 0, 0, 2407, 2405, 1, 0, 0, 0, 2407, 2408, 1, 0, 0, 0, 2408, 2410, 1, 0, 0, 0, 2409, 2407, 1, 0, 0, 0, 2410, 2411, 5, 2, 0, 0, 2411, 2413, 1, 0, 0, 0, 2412, 2414, 3, 210, 105, 0, 2413, 2412, 1, 0, 0, 0, 2413, 2414, 1, 0, 0, 0, 2414, 2804, 1, 0, 0, 0, 2415, 2417, 3, 182, 91, 0, 2416, 2415, 1, 0, 0, 0, 2416, 2417, 1, 0, 0, 0, 2417, 2418, 1, 0, 0, 0, 2418, 2419, 3, 290, 145, 0, 2419, 2423, 5, 1, 0, 0, 2420, 2421, 3, 314, 157, 0, 2421, 2422, 5, 4, 0, 0, 2422, 2424, 1, 0, 0, 0, 2423, 2420, 1, 0, 0, 0, 2423, 2424, 1, 0, 0, 0, 2424, 2425, 1, 0, 0, 0, 2425, 2426, 5, 321, 0, 0, 2426, 2428, 5, 2, 0, 0, 2427, 2429, 3, 210, 105, 0, 2428, 2427, 1, 0, 0, 0, 2428, 2429, 1, 0, 0, 0, 2429, 2431, 1, 0, 0, 0, 2430, 2432, 3, 214, 107, 0, 2431, 2430, 1, 0, 0, 0, 2431, 2432, 1, 0, 0, 0, 2432, 2804, 1, 0, 0, 0, 2433, 2435, 3, 182, 91, 0, 2434, 2433, 1, 0, 0, 0, 2434, 2435, 1, 0, 0, 0, 2435, 2436, 1, 0, 0, 0, 2436, 2437, 3, 290, 145, 0, 2437, 2449, 5, 1, 0, 0, 2438, 2440, 3, 76, 38, 0, 2439, 2438, 1, 0, 0, 0, 2439, 2440, 1, 0, 0, 0, 2440, 2441, 1, 0, 0, 0, 2441, 2446, 3, 154, 77, 0, 2442, 2443, 5, 3, 0, 0, 2443, 2445, 3, 154, 77, 0, 2444, 2442, 1, 0, 0, 0, 2445, 2448, 1, 0, 0, 0, 2446, 2444, 1, 0, 0, 0, 2446, 2447, 1, 0, 0, 0, 2447, 2450, 1, 0, 0, 0, 2448, 2446, 1, 0, 0, 0, 2449, 2439, 1, 0, 0, 0, 2449, 2450, 1, 0, 0, 0, 2450, 2461, 1, 0, 0, 0, 2451, 2452, 5, 196, 0, 0, 2452, 2453, 5, 36, 0, 0, 2453, 2458, 3, 50, 25, 0, 2454, 2455, 5, 3, 0, 0, 2455, 2457, 3, 50, 25, 0, 2456, 2454, 1, 0, 0, 0, 2457, 2460, 1, 0, 0, 0, 2458, 2456, 1, 0, 0, 0, 2458, 2459, 1, 0, 0, 0, 2459, 2462, 1, 0, 0, 0, 2460, 2458, 1, 0, 0, 0, 2461, 2451, 1, 0, 0, 0, 2461, 2462, 1, 0, 0, 0, 2462, 2463, 1, 0, 0, 0, 2463, 2465, 5, 2, 0, 0, 2464, 2466, 3, 210, 105, 0, 2465, 2464, 1, 0, 0, 0, 2465, 2466, 1, 0, 0, 0, 2466, 2471, 1, 0, 0, 0, 2467, 2469, 3, 184, 92, 0, 2468, 2467, 1, 0, 0, 0, 2468, 2469, 1, 0, 0, 0, 2469, 2470, 1, 0, 0, 0, 2470, 2472, 3, 214, 107, 0, 2471, 2468, 1, 0, 0, 0, 2471, 2472, 1, 0, 0, 0, 2472, 2804, 1, 0, 0, 0, 2473, 2474, 3, 314, 157, 0, 2474, 2475, 3, 214, 107, 0, 2475, 2804, 1, 0, 0, 0, 2476, 2477, 3, 314, 157, 0, 2477, 2478, 5, 7, 0, 0, 2478, 2479, 3, 154, 77, 0, 2479, 2804, 1, 0, 0, 0, 2480, 2489, 5, 1, 0, 0, 2481, 2486, 3, 314, 157, 0, 2482, 2483, 5, 3, 0, 0, 2483, 2485, 3, 314, 157, 0, 2484, 2482, 1, 0, 0, 0, 2485, 2488, 1, 0, 0, 0, 2486, 2484, 1, 0, 0, 0, 2486, 2487, 1, 0, 0, 0, 2487, 2490, 1, 0, 0, 0, 2488, 2486, 1, 0, 0, 0, 2489, 2481, 1, 0, 0, 0, 2489, 2490, 1, 0, 0, 0, 2490, 2491, 1, 0, 0, 0, 2491, 2492, 5, 2, 0, 0, 2492, 2493, 5, 7, 0, 0, 2493, 2804, 3, 154, 77, 0, 2494, 2495, 5, 1, 0, 0, 2495, 2496, 3, 22, 11, 0, 2496, 2497, 5, 2, 0, 0, 2497, 2804, 1, 0, 0, 0, 2498, 2499, 5, 95, 0, 0, 2499, 2500, 5, 1, 0, 0, 2500, 2501, 3, 22, 11, 0, 2501, 2502, 5, 2, 0, 0, 2502, 2804, 1, 0, 0, 0, 2503, 2504, 5, 40, 0, 0, 2504, 2506, 3, 154, 77, 0, 2505, 2507, 3, 208, 104, 0, 2506, 2505, 1, 0, 0, 0, 2507, 2508, 1, 0, 0, 0, 2508, 2506, 1, 0, 0, 0, 2508, 2509, 1, 0, 0, 0, 2509, 2512, 1, 0, 0, 0, 2510, 2511, 5, 85, 0, 0, 2511, 2513, 3, 154, 77, 0, 2512, 2510, 1, 0, 0, 0, 2512, 2513, 1, 0, 0, 0, 2513, 2514, 1, 0, 0, 0, 2514, 2515, 5, 89, 0, 0, 2515, 2804, 1, 0, 0, 0, 2516, 2518, 5, 40, 0, 0, 2517, 2519, 3, 208, 104, 0, 2518, 2517, 1, 0, 0, 0, 2519, 2520, 1, 0, 0, 0, 2520, 2518, 1, 0, 0, 0, 2520, 2521, 1, 0, 0, 0, 2521, 2524, 1, 0, 0, 0, 2522, 2523, 5, 85, 0, 0, 2523, 2525, 3, 154, 77, 0, 2524, 2522, 1, 0, 0, 0, 2524, 2525, 1, 0, 0, 0, 2525, 2526, 1, 0, 0, 0, 2526, 2527, 5, 89, 0, 0, 2527, 2804, 1, 0, 0, 0, 2528, 2529, 5, 41, 0, 0, 2529, 2530, 5, 1, 0, 0, 2530, 2531, 3, 154, 77, 0, 2531, 2532, 5, 28, 0, 0, 2532, 2533, 3, 202, 101, 0, 2533, 2534, 5, 2, 0, 0, 2534, 2804, 1, 0, 0, 0, 2535, 2536, 5, 276, 0, 0, 2536, 2537, 5, 1, 0, 0, 2537, 2538, 3, 154, 77, 0, 2538, 2539, 5, 28, 0, 0, 2539, 2540, 3, 202, 101, 0, 2540, 2541, 5, 2, 0, 0, 2541, 2804, 1, 0, 0, 0, 2542, 2543, 5, 27, 0, 0, 2543, 2552, 5, 8, 0, 0, 2544, 2549, 3, 154, 77, 0, 2545, 2546, 5, 3, 0, 0, 2546, 2548, 3, 154, 77, 0, 2547, 2545, 1, 0, 0, 0, 2548, 2551, 1, 0, 0, 0, 2549, 2547, 1, 0, 0, 0, 2549, 2550, 1, 0, 0, 0, 2550, 2553, 1, 0, 0, 0, 2551, 2549, 1, 0, 0, 0, 2552, 2544, 1, 0, 0, 0, 2552, 2553, 1, 0, 0, 0, 2553, 2554, 1, 0, 0, 0, 2554, 2804, 5, 9, 0, 0, 2555, 2804, 3, 296, 148, 0, 2556, 2804, 5, 59, 0, 0, 2557, 2561, 5, 63, 0, 0, 2558, 2559, 5, 1, 0, 0, 2559, 2560, 5, 330, 0, 0, 2560, 2562, 5, 2, 0, 0, 2561, 2558, 1, 0, 0, 0, 2561, 2562, 1, 0, 0, 0, 2562, 2804, 1, 0, 0, 0, 2563, 2567, 5, 64, 0, 0, 2564, 2565, 5, 1, 0, 0, 2565, 2566, 5, 330, 0, 0, 2566, 2568, 5, 2, 0, 0, 2567, 2564, 1, 0, 0, 0, 2567, 2568, 1, 0, 0, 0, 2568, 2804, 1, 0, 0, 0, 2569, 2573, 5, 159, 0, 0, 2570, 2571, 5, 1, 0, 0, 2571, 2572, 5, 330, 0, 0, 2572, 2574, 5, 2, 0, 0, 2573, 2570, 1, 0, 0, 0, 2573, 2574, 1, 0, 0, 0, 2574, 2804, 1, 0, 0, 0, 2575, 2579, 5, 160, 0, 0, 2576, 2577, 5, 1, 0, 0, 2577, 2578, 5, 330, 0, 0, 2578, 2580, 5, 2, 0, 0, 2579, 2576, 1, 0, 0, 0, 2579, 2580, 1, 0, 0, 0, 2580, 2804, 1, 0, 0, 0, 2581, 2804, 5, 65, 0, 0, 2582, 2804, 5, 58, 0, 0, 2583, 2804, 5, 62, 0, 0, 2584, 2804, 5, 60, 0, 0, 2585, 2586, 5, 273, 0, 0, 2586, 2594, 5, 1, 0, 0, 2587, 2589, 3, 98, 49, 0, 2588, 2587, 1, 0, 0, 0, 2588, 2589, 1, 0, 0, 0, 2589, 2591, 1, 0, 0, 0, 2590, 2592, 3, 160, 80, 0, 2591, 2590, 1, 0, 0, 0, 2591, 2592, 1, 0, 0, 0, 2592, 2593, 1, 0, 0, 0, 2593, 2595, 5, 106, 0, 0, 2594, 2588, 1, 0, 0, 0, 2594, 2595, 1, 0, 0, 0, 2595, 2596, 1, 0, 0, 0, 2596, 2597, 3, 160, 80, 0, 2597, 2598, 5, 2, 0, 0, 2598, 2804, 1, 0, 0, 0, 2599, 2600, 5, 273, 0, 0, 2600, 2601, 5, 1, 0, 0, 2601, 2602, 3, 160, 80, 0, 2602, 2603, 5, 3, 0, 0, 2603, 2604, 3, 160, 80, 0, 2604, 2605, 5, 2, 0, 0, 2605, 2804, 1, 0, 0, 0, 2606, 2607, 5, 259, 0, 0, 2607, 2608, 5, 1, 0, 0, 2608, 2609, 3, 160, 80, 0, 2609, 2610, 5, 106, 0, 0, 2610, 2613, 3, 160, 80, 0, 2611, 2612, 5, 104, 0, 0, 2612, 2614, 3, 160, 80, 0, 2613, 2611, 1, 0, 0, 0, 2613, 2614, 1, 0, 0, 0, 2614, 2615, 1, 0, 0, 0, 2615, 2616, 5, 2, 0, 0, 2616, 2804, 1, 0, 0, 0, 2617, 2618, 5, 182, 0, 0, 2618, 2619, 5, 1, 0, 0, 2619, 2622, 3, 160, 80, 0, 2620, 2621, 5, 3, 0, 0, 2621, 2623, 3, 200, 100, 0, 2622, 2620, 1, 0, 0, 0, 2622, 2623, 1, 0, 0, 0, 2623, 2624, 1, 0, 0, 0, 2624, 2625, 5, 2, 0, 0, 2625, 2804, 1, 0, 0, 0, 2626, 2627, 5, 97, 0, 0, 2627, 2628, 5, 1, 0, 0, 2628, 2629, 3, 314, 157, 0, 2629, 2630, 5, 106, 0, 0, 2630, 2631, 3, 160, 80, 0, 2631, 2632, 5, 2, 0, 0, 2632, 2804, 1, 0, 0, 0, 2633, 2634, 5, 44, 0, 0, 2634, 2635, 5, 1, 0, 0, 2635, 2640, 3, 154, 77, 0, 2636, 2637, 5, 3, 0, 0, 2637, 2639, 3, 154, 77, 0, 2638, 2636, 1, 0, 0, 0, 2639, 2642, 1, 0, 0, 0, 2640, 2638, 1, 0, 0, 0, 2640, 2641, 1, 0, 0, 0, 2641, 2643, 1, 0, 0, 0, 2642, 2640, 1, 0, 0, 0, 2643, 2644, 5, 2, 0, 0, 2644, 2804, 1, 0, 0, 0, 2645, 2646, 5, 1, 0, 0, 2646, 2647, 3, 154, 77, 0, 2647, 2648, 5, 2, 0, 0, 2648, 2804, 1, 0, 0, 0, 2649, 2650, 5, 116, 0, 0, 2650, 2659, 5, 1, 0, 0, 2651, 2656, 3, 300, 150, 0, 2652, 2653, 5, 3, 0, 0, 2653, 2655, 3, 300, 150, 0, 2654, 2652, 1, 0, 0, 0, 2655, 2658, 1, 0, 0, 0, 2656, 2654, 1, 0, 0, 0, 2656, 2657, 1, 0, 0, 0, 2657, 2660, 1, 0, 0, 0, 2658, 2656, 1, 0, 0, 0, 2659, 2651, 1, 0, 0, 0, 2659, 2660, 1, 0, 0, 0, 2660, 2661, 1, 0, 0, 0, 2661, 2804, 5, 2, 0, 0, 2662, 2663, 5, 140, 0, 0, 2663, 2664, 5, 1, 0, 0, 2664, 2669, 3, 164, 82, 0, 2665, 2666, 3, 172, 86, 0, 2666, 2667, 5, 191, 0, 0, 2667, 2668, 5, 90, 0, 0, 2668, 2670, 1, 0, 0, 0, 2669, 2665, 1, 0, 0, 0, 2669, 2670, 1, 0, 0, 0, 2670, 2671, 1, 0, 0, 0, 2671, 2672, 5, 2, 0, 0, 2672, 2804, 1, 0, 0, 0, 2673, 2674, 5, 144, 0, 0, 2674, 2675, 5, 1, 0, 0, 2675, 2678, 3, 164, 82, 0, 2676, 2677, 5, 232, 0, 0, 2677, 2679, 3, 202, 101, 0, 2678, 2676, 1, 0, 0, 0, 2678, 2679, 1, 0, 0, 0, 2679, 2684, 1, 0, 0, 0, 2680, 2681, 3, 174, 87, 0, 2681, 2682, 5, 191, 0, 0, 2682, 2683, 5, 86, 0, 0, 2683, 2685, 1, 0, 0, 0, 2684, 2680, 1, 0, 0, 0, 2684, 2685, 1, 0, 0, 0, 2685, 2690, 1, 0, 0, 0, 2686, 2687, 3, 174, 87, 0, 2687, 2688, 5, 191, 0, 0, 2688, 2689, 5, 90, 0, 0, 2689, 2691, 1, 0, 0, 0, 2690, 2686, 1, 0, 0, 0, 2690, 2691, 1, 0, 0, 0, 2691, 2692, 1, 0, 0, 0, 2692, 2693, 5, 2, 0, 0, 2693, 2804, 1, 0, 0, 0, 2694, 2695, 5, 142, 0, 0, 2695, 2696, 5, 1, 0, 0, 2696, 2703, 3, 164, 82, 0, 2697, 2698, 5, 232, 0, 0, 2698, 2701, 3, 202, 101, 0, 2699, 2700, 5, 105, 0, 0, 2700, 2702, 3, 168, 84, 0, 2701, 2699, 1, 0, 0, 0, 2701, 2702, 1, 0, 0, 0, 2702, 2704, 1, 0, 0, 0, 2703, 2697, 1, 0, 0, 0, 2703, 2704, 1, 0, 0, 0, 2704, 2708, 1, 0, 0, 0, 2705, 2706, 3, 176, 88, 0, 2706, 2707, 5, 309, 0, 0, 2707, 2709, 1, 0, 0, 0, 2708, 2705, 1, 0, 0, 0, 2708, 2709, 1, 0, 0, 0, 2709, 2717, 1, 0, 0, 0, 2710, 2711, 7, 15, 0, 0, 2711, 2715, 5, 219, 0, 0, 2712, 2713, 5, 191, 0, 0, 2713, 2714, 5, 243, 0, 0, 2714, 2716, 5, 265, 0, 0, 2715, 2712, 1, 0, 0, 0, 2715, 2716, 1, 0, 0, 0, 2716, 2718, 1, 0, 0, 0, 2717, 2710, 1, 0, 0, 0, 2717, 2718, 1, 0, 0, 0, 2718, 2723, 1, 0, 0, 0, 2719, 2720, 3, 178, 89, 0, 2720, 2721, 5, 191, 0, 0, 2721, 2722, 5, 86, 0, 0, 2722, 2724, 1, 0, 0, 0, 2723, 2719, 1, 0, 0, 0, 2723, 2724, 1, 0, 0, 0, 2724, 2729, 1, 0, 0, 0, 2725, 2726, 3, 178, 89, 0, 2726, 2727, 5, 191, 0, 0, 2727, 2728, 5, 90, 0, 0, 2728, 2730, 1, 0, 0, 0, 2729, 2725, 1, 0, 0, 0, 2729, 2730, 1, 0, 0, 0, 2730, 2731, 1, 0, 0, 0, 2731, 2732, 5, 2, 0, 0, 2732, 2804, 1, 0, 0, 0, 2733, 2734, 5, 141, 0, 0, 2734, 2763, 5, 1, 0, 0, 2735, 2740, 3, 180, 90, 0, 2736, 2737, 5, 3, 0, 0, 2737, 2739, 3, 180, 90, 0, 2738, 2736, 1, 0, 0, 0, 2739, 2742, 1, 0, 0, 0, 2740, 2738, 1, 0, 0, 0, 2740, 2741, 1, 0, 0, 0, 2741, 2749, 1, 0, 0, 0, 2742, 2740, 1, 0, 0, 0, 2743, 2744, 5, 184, 0, 0, 2744, 2745, 5, 191, 0, 0, 2745, 2750, 5, 184, 0, 0, 2746, 2747, 5, 18, 0, 0, 2747, 2748, 5, 191, 0, 0, 2748, 2750, 5, 184, 0, 0, 2749, 2743, 1, 0, 0, 0, 2749, 2746, 1, 0, 0, 0, 2749, 2750, 1, 0, 0, 0, 2750, 2761, 1, 0, 0, 0, 2751, 2752, 5, 305, 0, 0, 2752, 2754, 5, 283, 0, 0, 2753, 2755, 5, 147, 0, 0, 2754, 2753, 1, 0, 0, 0, 2754, 2755, 1, 0, 0, 0, 2755, 2762, 1, 0, 0, 0, 2756, 2757, 5, 307, 0, 0, 2757, 2759, 5, 283, 0, 0, 2758, 2760, 5, 147, 0, 0, 2759, 2758, 1, 0, 0, 0, 2759, 2760, 1, 0, 0, 0, 2760, 2762, 1, 0, 0, 0, 2761, 2751, 1, 0, 0, 0, 2761, 2756, 1, 0, 0, 0, 2761, 2762, 1, 0, 0, 0, 2762, 2764, 1, 0, 0, 0, 2763, 2735, 1, 0, 0, 0, 2763, 2764, 1, 0, 0, 0, 2764, 2771, 1, 0, 0, 0, 2765, 2766, 5, 232, 0, 0, 2766, 2769, 3, 202, 101, 0, 2767, 2768, 5, 105, 0, 0, 2768, 2770, 3, 168, 84, 0, 2769, 2767, 1, 0, 0, 0, 2769, 2770, 1, 0, 0, 0, 2770, 2772, 1, 0, 0, 0, 2771, 2765, 1, 0, 0, 0, 2771, 2772, 1, 0, 0, 0, 2772, 2773, 1, 0, 0, 0, 2773, 2804, 5, 2, 0, 0, 2774, 2775, 5, 139, 0, 0, 2775, 2792, 5, 1, 0, 0, 2776, 2781, 3, 166, 83, 0, 2777, 2778, 5, 3, 0, 0, 2778, 2780, 3, 166, 83, 0, 2779, 2777, 1, 0, 0, 0, 2780, 2783, 1, 0, 0, 0, 2781, 2779, 1, 0, 0, 0, 2781, 2782, 1, 0, 0, 0, 2782, 2790, 1, 0, 0, 0, 2783, 2781, 1, 0, 0, 0, 2784, 2785, 5, 184, 0, 0, 2785, 2786, 5, 191, 0, 0, 2786, 2791, 5, 184, 0, 0, 2787, 2788, 5, 18, 0, 0, 2788, 2789, 5, 191, 0, 0, 2789, 2791, 5, 184, 0, 0, 2790, 2784, 1, 0, 0, 0, 2790, 2787, 1, 0, 0, 0, 2790, 2791, 1, 0, 0, 0, 2791, 2793, 1, 0, 0, 0, 2792, 2776, 1, 0, 0, 0, 2792, 2793, 1, 0, 0, 0, 2793, 2800, 1, 0, 0, 0, 2794, 2795, 5, 232, 0, 0, 2795, 2798, 3, 202, 101, 0, 2796, 2797, 5, 105, 0, 0, 2797, 2799, 3, 168, 84, 0, 2798, 2796, 1, 0, 0, 0, 2798, 2799, 1, 0, 0, 0, 2799, 2801, 1, 0, 0, 0, 2800, 2794, 1, 0, 0, 0, 2800, 2801, 1, 0, 0, 0, 2801, 2802, 1, 0, 0, 0, 2802, 2804, 5, 2, 0, 0, 2803, 2338, 1, 0, 0, 0, 2803, 2340, 1, 0, 0, 0, 2803, 2341, 1, 0, 0, 0, 2803, 2344, 1, 0, 0, 0, 2803, 2347, 1, 0, 0, 0, 2803, 2348, 1, 0, 0, 0, 2803, 2349, 1, 0, 0, 0, 2803, 2350, 1, 0, 0, 0, 2803, 2351, 1, 0, 0, 0, 2803, 2352, 1, 0, 0, 0, 2803, 2359, 1, 0, 0, 0, 2803, 2369, 1, 0, 0, 0, 2803, 2381, 1, 0, 0, 0, 2803, 2416, 1, 0, 0, 0, 2803, 2434, 1, 0, 0, 0, 2803, 2473, 1, 0, 0, 0, 2803, 2476, 1, 0, 0, 0, 2803, 2480, 1, 0, 0, 0, 2803, 2494, 1, 0, 0, 0, 2803, 2498, 1, 0, 0, 0, 2803, 2503, 1, 0, 0, 0, 2803, 2516, 1, 0, 0, 0, 2803, 2528, 1, 0, 0, 0, 2803, 2535, 1, 0, 0, 0, 2803, 2542, 1, 0, 0, 0, 2803, 2555, 1, 0, 0, 0, 2803, 2556, 1, 0, 0, 0, 2803, 2557, 1, 0, 0, 0, 2803, 2563, 1, 0, 0, 0, 2803, 2569, 1, 0, 0, 0, 2803, 2575, 1, 0, 0, 0, 2803, 2581, 1, 0, 0, 0, 2803, 2582, 1, 0, 0, 0, 2803, 2583, 1, 0, 0, 0, 2803, 2584, 1, 0, 0, 0, 2803, 2585, 1, 0, 0, 0, 2803, 2599, 1, 0, 0, 0, 2803, 2606, 1, 0, 0, 0, 2803, 2617, 1, 0, 0, 0, 2803, 2626, 1, 0, 0, 0, 2803, 2633, 1, 0, 0, 0, 2803, 2645, 1, 0, 0, 0, 2803, 2649, 1, 0, 0, 0, 2803, 2662, 1, 0, 0, 0, 2803, 2673, 1, 0, 0, 0, 2803, 2694, 1, 0, 0, 0, 2803, 2733, 1, 0, 0, 0, 2803, 2774, 1, 0, 0, 0, 2804, 2815, 1, 0, 0, 0, 2805, 2806, 10, 25, 0, 0, 2806, 2807, 5, 8, 0, 0, 2807, 2808, 3, 160, 80, 0, 2808, 2809, 5, 9, 0, 0, 2809, 2814, 1, 0, 0, 0, 2810, 2811, 10, 23, 0, 0, 2811, 2812, 5, 4, 0, 0, 2812, 2814, 3, 314, 157, 0, 2813, 2805, 1, 0, 0, 0, 2813, 2810, 1, 0, 0, 0, 2814, 2817, 1, 0, 0, 0, 2815, 2813, 1, 0, 0, 0, 2815, 2816, 1, 0, 0, 0, 2816, 163, 1, 0, 0, 0, 2817, 2815, 1, 0, 0, 0, 2818, 2819, 3, 166, 83, 0, 2819, 2820, 5, 3, 0, 0, 2820, 2823, 3, 186, 93, 0, 2821, 2822, 5, 28, 0, 0, 2822, 2824, 3, 314, 157, 0, 2823, 2821, 1, 0, 0, 0, 2823, 2824, 1, 0, 0, 0, 2824, 2834, 1, 0, 0, 0, 2825, 2826, 5, 204, 0, 0, 2826, 2831, 3, 170, 85, 0, 2827, 2828, 5, 3, 0, 0, 2828, 2830, 3, 170, 85, 0, 2829, 2827, 1, 0, 0, 0, 2830, 2833, 1, 0, 0, 0, 2831, 2829, 1, 0, 0, 0, 2831, 2832, 1, 0, 0, 0, 2832, 2835, 1, 0, 0, 0, 2833, 2831, 1, 0, 0, 0, 2834, 2825, 1, 0, 0, 0, 2834, 2835, 1, 0, 0, 0, 2835, 165, 1, 0, 0, 0, 2836, 2839, 3, 154, 77, 0, 2837, 2838, 5, 105, 0, 0, 2838, 2840, 3, 168, 84, 0, 2839, 2837, 1, 0, 0, 0, 2839, 2840, 1, 0, 0, 0, 2840, 167, 1, 0, 0, 0, 2841, 2844, 5, 138, 0, 0, 2842, 2843, 5, 88, 0, 0, 2843, 2845, 7, 20, 0, 0, 2844, 2842, 1, 0, 0, 0, 2844, 2845, 1, 0, 0, 0, 2845, 169, 1, 0, 0, 0, 2846, 2847, 3, 166, 83, 0, 2847, 2848, 5, 28, 0, 0, 2848, 2849, 3, 314, 157, 0, 2849, 171, 1, 0, 0, 0, 2850, 2851, 7, 21, 0, 0, 2851, 173, 1, 0, 0, 0, 2852, 2857, 5, 90, 0, 0, 2853, 2857, 5, 184, 0, 0, 2854, 2855, 5, 71, 0, 0, 2855, 2857, 3, 154, 77, 0, 2856, 2852, 1, 0, 0, 0, 2856, 2853, 1, 0, 0, 0, 2856, 2854, 1, 0, 0, 0, 2857, 175, 1, 0, 0, 0, 2858, 2860, 5, 307, 0, 0, 2859, 2861, 5, 27, 0, 0, 2860, 2859, 1, 0, 0, 0, 2860, 2861, 1, 0, 0, 0, 2861, 2870, 1, 0, 0, 0, 2862, 2864, 5, 305, 0, 0, 2863, 2865, 7, 22, 0, 0, 2864, 2863, 1, 0, 0, 0, 2864, 2865, 1, 0, 0, 0, 2865, 2867, 1, 0, 0, 0, 2866, 2868, 5, 27, 0, 0, 2867, 2866, 1, 0, 0, 0, 2867, 2868, 1, 0, 0, 0, 2868, 2870, 1, 0, 0, 0, 2869, 2858, 1, 0, 0, 0, 2869, 2862, 1, 0, 0, 0, 2870, 177, 1, 0, 0, 0, 2871, 2878, 5, 90, 0, 0, 2872, 2878, 5, 184, 0, 0, 2873, 2874, 5, 86, 0, 0, 2874, 2878, 5, 27, 0, 0, 2875, 2876, 5, 86, 0, 0, 2876, 2878, 5, 187, 0, 0, 2877, 2871, 1, 0, 0, 0, 2877, 2872, 1, 0, 0, 0, 2877, 2873, 1, 0, 0, 0, 2877, 2875, 1, 0, 0, 0, 2878, 179, 1, 0, 0, 0, 2879, 2881, 5, 146, 0, 0, 2880, 2879, 1, 0, 0, 0, 2880, 2881, 1, 0, 0, 0, 2881, 2882, 1, 0, 0, 0, 2882, 2883, 3, 154, 77, 0, 2883, 2884, 5, 296, 0, 0, 2884, 2885, 3, 166, 83, 0, 2885, 2891, 1, 0, 0, 0, 2886, 2887, 3, 154, 77, 0, 2887, 2888, 5, 10, 0, 0, 2888, 2889, 3, 166, 83, 0, 2889, 2891, 1, 0, 0, 0, 2890, 2880, 1, 0, 0, 0, 2890, 2886, 1, 0, 0, 0, 2891, 181, 1, 0, 0, 0, 2892, 2893, 7, 23, 0, 0, 2893, 183, 1, 0, 0, 0, 2894, 2895, 5, 121, 0, 0, 2895, 2899, 5, 186, 0, 0, 2896, 2897, 5, 229, 0, 0, 2897, 2899, 5, 186, 0, 0, 2898, 2894, 1, 0, 0, 0, 2898, 2896, 1, 0, 0, 0, 2899, 185, 1, 0, 0, 0, 2900, 2907, 5, 327, 0, 0, 2901, 2904, 5, 328, 0, 0, 2902, 2903, 5, 278, 0, 0, 2903, 2905, 5, 327, 0, 0, 2904, 2902, 1, 0, 0, 0, 2904, 2905, 1, 0, 0, 0, 2905, 2907, 1, 0, 0, 0, 2906, 2900, 1, 0, 0, 0, 2906, 2901, 1, 0, 0, 0, 2907, 187, 1, 0, 0, 0, 2908, 2909, 5, 268, 0, 0, 2909, 2910, 5, 312, 0, 0, 2910, 2915, 3, 196, 98, 0, 2911, 2912, 5, 268, 0, 0, 2912, 2913, 5, 312, 0, 0, 2913, 2915, 3, 186, 93, 0, 2914, 2908, 1, 0, 0, 0, 2914, 2911, 1, 0, 0, 0, 2915, 189, 1, 0, 0, 0, 2916, 2917, 7, 24, 0, 0, 2917, 191, 1, 0, 0, 0, 2918, 2919, 7, 25, 0, 0, 2919, 193, 1, 0, 0, 0, 2920, 2921, 7, 26, 0, 0, 2921, 195, 1, 0, 0, 0, 2922, 2924, 5, 130, 0, 0, 2923, 2925, 7, 18, 0, 0, 2924, 2923, 1, 0, 0, 0, 2924, 2925, 1, 0, 0, 0, 2925, 2926, 1, 0, 0, 0, 2926, 2927, 3, 186, 93, 0, 2927, 2930, 3, 198, 99, 0, 2928, 2929, 5, 270, 0, 0, 2929, 2931, 3, 198, 99, 0, 2930, 2928, 1, 0, 0, 0, 2930, 2931, 1, 0, 0, 0, 2931, 197, 1, 0, 0, 0, 2932, 2933, 7, 27, 0, 0, 2933, 199, 1, 0, 0, 0, 2934, 2935, 7, 28, 0, 0, 2935, 201, 1, 0, 0, 0, 2936, 2937, 6, 101, -1, 0, 2937, 2938, 5, 240, 0, 0, 2938, 2939, 5, 1, 0, 0, 2939, 2944, 3, 204, 102, 0, 2940, 2941, 5, 3, 0, 0, 2941, 2943, 3, 204, 102, 0, 2942, 2940, 1, 0, 0, 0, 2943, 2946, 1, 0, 0, 0, 2944, 2942, 1, 0, 0, 0, 2944, 2945, 1, 0, 0, 0, 2945, 2947, 1, 0, 0, 0, 2946, 2944, 1, 0, 0, 0, 2947, 2948, 5, 2, 0, 0, 2948, 3008, 1, 0, 0, 0, 2949, 2950, 5, 130, 0, 0, 2950, 2953, 3, 198, 99, 0, 2951, 2952, 5, 270, 0, 0, 2952, 2954, 3, 198, 99, 0, 2953, 2951, 1, 0, 0, 0, 2953, 2954, 1, 0, 0, 0, 2954, 3008, 1, 0, 0, 0, 2955, 2960, 5, 269, 0, 0, 2956, 2957, 5, 1, 0, 0, 2957, 2958, 3, 206, 103, 0, 2958, 2959, 5, 2, 0, 0, 2959, 2961, 1, 0, 0, 0, 2960, 2956, 1, 0, 0, 0, 2960, 2961, 1, 0, 0, 0, 2961, 2965, 1, 0, 0, 0, 2962, 2963, 7, 29, 0, 0, 2963, 2964, 5, 268, 0, 0, 2964, 2966, 5, 312, 0, 0, 2965, 2962, 1, 0, 0, 0, 2965, 2966, 1, 0, 0, 0, 2966, 3008, 1, 0, 0, 0, 2967, 2972, 5, 268, 0, 0, 2968, 2969, 5, 1, 0, 0, 2969, 2970, 3, 206, 103, 0, 2970, 2971, 5, 2, 0, 0, 2971, 2973, 1, 0, 0, 0, 2972, 2968, 1, 0, 0, 0, 2972, 2973, 1, 0, 0, 0, 2973, 2977, 1, 0, 0, 0, 2974, 2975, 7, 29, 0, 0, 2975, 2976, 5, 268, 0, 0, 2976, 2978, 5, 312, 0, 0, 2977, 2974, 1, 0, 0, 0, 2977, 2978, 1, 0, 0, 0, 2978, 3008, 1, 0, 0, 0, 2979, 2980, 5, 83, 0, 0, 2980, 3008, 5, 214, 0, 0, 2981, 2982, 5, 27, 0, 0, 2982, 2983, 5, 315, 0, 0, 2983, 2984, 3, 202, 101, 0, 2984, 2985, 5, 317, 0, 0, 2985, 3008, 1, 0, 0, 0, 2986, 2987, 5, 163, 0, 0, 2987, 2988, 5, 315, 0, 0, 2988, 2989, 3, 202, 101, 0, 2989, 2990, 5, 3, 0, 0, 2990, 2991, 3, 202, 101, 0, 2991, 2992, 5, 317, 0, 0, 2992, 3008, 1, 0, 0, 0, 2993, 3005, 3, 314, 157, 0, 2994, 2995, 5, 1, 0, 0, 2995, 3000, 3, 206, 103, 0, 2996, 2997, 5, 3, 0, 0, 2997, 2999, 3, 206, 103, 0, 2998, 2996, 1, 0, 0, 0, 2999, 3002, 1, 0, 0, 0, 3000, 2998, 1, 0, 0, 0, 3000, 3001, 1, 0, 0, 0, 3001, 3003, 1, 0, 0, 0, 3002, 3000, 1, 0, 0, 0, 3003, 3004, 5, 2, 0, 0, 3004, 3006, 1, 0, 0, 0, 3005, 2994, 1, 0, 0, 0, 3005, 3006, 1, 0, 0, 0, 3006, 3008, 1, 0, 0, 0, 3007, 2936, 1, 0, 0, 0, 3007, 2949, 1, 0, 0, 0, 3007, 2955, 1, 0, 0, 0, 3007, 2967, 1, 0, 0, 0, 3007, 2979, 1, 0, 0, 0, 3007, 2981, 1, 0, 0, 0, 3007, 2986, 1, 0, 0, 0, 3007, 2993, 1, 0, 0, 0, 3008, 3018, 1, 0, 0, 0, 3009, 3010, 10, 2, 0, 0, 3010, 3014, 5, 27, 0, 0, 3011, 3012, 5, 8, 0, 0, 3012, 3013, 5, 330, 0, 0, 3013, 3015, 5, 9, 0, 0, 3014, 3011, 1, 0, 0, 0, 3014, 3015, 1, 0, 0, 0, 3015, 3017, 1, 0, 0, 0, 3016, 3009, 1, 0, 0, 0, 3017, 3020, 1, 0, 0, 0, 3018, 3016, 1, 0, 0, 0, 3018, 3019, 1, 0, 0, 0, 3019, 203, 1, 0, 0, 0, 3020, 3018, 1, 0, 0, 0, 3021, 3026, 3, 202, 101, 0, 3022, 3023, 3, 314, 157, 0, 3023, 3024, 3, 202, 101, 0, 3024, 3026, 1, 0, 0, 0, 3025, 3021, 1, 0, 0, 0, 3025, 3022, 1, 0, 0, 0, 3026, 205, 1, 0, 0, 0, 3027, 3030, 5, 330, 0, 0, 3028, 3030, 3, 202, 101, 0, 3029, 3027, 1, 0, 0, 0, 3029, 3028, 1, 0, 0, 0, 3030, 207, 1, 0, 0, 0, 3031, 3032, 5, 301, 0, 0, 3032, 3033, 3, 154, 77, 0, 3033, 3034, 5, 266, 0, 0, 3034, 3035, 3, 154, 77, 0, 3035, 209, 1, 0, 0, 0, 3036, 3037, 5, 100, 0, 0, 3037, 3038, 5, 1, 0, 0, 3038, 3039, 3, 54, 27, 0, 3039, 3040, 5, 2, 0, 0, 3040, 211, 1, 0, 0, 0, 3041, 3042, 5, 301, 0, 0, 3042, 3045, 5, 165, 0, 0, 3043, 3044, 5, 25, 0, 0, 3044, 3046, 3, 154, 77, 0, 3045, 3043, 1, 0, 0, 0, 3045, 3046, 1, 0, 0, 0, 3046, 3047, 1, 0, 0, 0, 3047, 3048, 5, 266, 0, 0, 3048, 3049, 5, 288, 0, 0, 3049, 3050, 5, 252, 0, 0, 3050, 3051, 3, 314, 157, 0, 3051, 3052, 5, 313, 0, 0, 3052, 3060, 3, 154, 77, 0, 3053, 3054, 5, 3, 0, 0, 3054, 3055, 3, 314, 157, 0, 3055, 3056, 5, 313, 0, 0, 3056, 3057, 3, 154, 77, 0, 3057, 3059, 1, 0, 0, 0, 3058, 3053, 1, 0, 0, 0, 3059, 3062, 1, 0, 0, 0, 3060, 3058, 1, 0, 0, 0, 3060, 3061, 1, 0, 0, 0, 3061, 3106, 1, 0, 0, 0, 3062, 3060, 1, 0, 0, 0, 3063, 3064, 5, 301, 0, 0, 3064, 3067, 5, 165, 0, 0, 3065, 3066, 5, 25, 0, 0, 3066, 3068, 3, 154, 77, 0, 3067, 3065, 1, 0, 0, 0, 3067, 3068, 1, 0, 0, 0, 3068, 3069, 1, 0, 0, 0, 3069, 3070, 5, 266, 0, 0, 3070, 3106, 5, 74, 0, 0, 3071, 3072, 5, 301, 0, 0, 3072, 3073, 5, 183, 0, 0, 3073, 3076, 5, 165, 0, 0, 3074, 3075, 5, 25, 0, 0, 3075, 3077, 3, 154, 77, 0, 3076, 3074, 1, 0, 0, 0, 3076, 3077, 1, 0, 0, 0, 3077, 3078, 1, 0, 0, 0, 3078, 3079, 5, 266, 0, 0, 3079, 3091, 5, 128, 0, 0, 3080, 3081, 5, 1, 0, 0, 3081, 3086, 3, 314, 157, 0, 3082, 3083, 5, 3, 0, 0, 3083, 3085, 3, 314, 157, 0, 3084, 3082, 1, 0, 0, 0, 3085, 3088, 1, 0, 0, 0, 3086, 3084, 1, 0, 0, 0, 3086, 3087, 1, 0, 0, 0, 3087, 3089, 1, 0, 0, 0, 3088, 3086, 1, 0, 0, 0, 3089, 3090, 5, 2, 0, 0, 3090, 3092, 1, 0, 0, 0, 3091, 3080, 1, 0, 0, 0, 3091, 3092, 1, 0, 0, 0, 3092, 3093, 1, 0, 0, 0, 3093, 3094, 5, 297, 0, 0, 3094, 3095, 5, 1, 0, 0, 3095, 3100, 3, 154, 77, 0, 3096, 3097, 5, 3, 0, 0, 3097, 3099, 3, 154, 77, 0, 3098, 3096, 1, 0, 0, 0, 3099, 3102, 1, 0, 0, 0, 3100, 3098, 1, 0, 0, 0, 3100, 3101, 1, 0, 0, 0, 3101, 3103, 1, 0, 0, 0, 3102, 3100, 1, 0, 0, 0, 3103, 3104, 5, 2, 0, 0, 3104, 3106, 1, 0, 0, 0, 3105, 3041, 1, 0, 0, 0, 3105, 3063, 1, 0, 0, 0, 3105, 3071, 1, 0, 0, 0, 3106, 213, 1, 0, 0, 0, 3107, 3113, 5, 200, 0, 0, 3108, 3114, 3, 314, 157, 0, 3109, 3110, 5, 1, 0, 0, 3110, 3111, 3, 72, 36, 0, 3111, 3112, 5, 2, 0, 0, 3112, 3114, 1, 0, 0, 0, 3113, 3108, 1, 0, 0, 0, 3113, 3109, 1, 0, 0, 0, 3114, 215, 1, 0, 0, 0, 3115, 3116, 5, 169, 0, 0, 3116, 3121, 3, 106, 53, 0, 3117, 3118, 5, 3, 0, 0, 3118, 3120, 3, 106, 53, 0, 3119, 3117, 1, 0, 0, 0, 3120, 3123, 1, 0, 0, 0, 3121, 3119, 1, 0, 0, 0, 3121, 3122, 1, 0, 0, 0, 3122, 3125, 1, 0, 0, 0, 3123, 3121, 1, 0, 0, 0, 3124, 3115, 1, 0, 0, 0, 3124, 3125, 1, 0, 0, 0, 3125, 3126, 1, 0, 0, 0, 3126, 3130, 3, 218, 109, 0, 3127, 3128, 5, 21, 0, 0, 3128, 3129, 5, 164, 0, 0, 3129, 3131, 3, 112, 56, 0, 3130, 3127, 1, 0, 0, 0, 3130, 3131, 1, 0, 0, 0, 3131, 3133, 1, 0, 0, 0, 3132, 3134, 7, 13, 0, 0, 3133, 3132, 1, 0, 0, 0, 3133, 3134, 1, 0, 0, 0, 3134, 3140, 1, 0, 0, 0, 3135, 3136, 5, 207, 0, 0, 3136, 3137, 5, 1, 0, 0, 3137, 3138, 3, 222, 111, 0, 3138, 3139, 5, 2, 0, 0, 3139, 3141, 1, 0, 0, 0, 3140, 3135, 1, 0, 0, 0, 3140, 3141, 1, 0, 0, 0, 3141, 3151, 1, 0, 0, 0, 3142, 3143, 5, 258, 0, 0, 3143, 3148, 3, 114, 57, 0, 3144, 3145, 5, 3, 0, 0, 3145, 3147, 3, 114, 57, 0, 3146, 3144, 1, 0, 0, 0, 3147, 3150, 1, 0, 0, 0, 3148, 3146, 1, 0, 0, 0, 3148, 3149, 1, 0, 0, 0, 3149, 3152, 1, 0, 0, 0, 3150, 3148, 1, 0, 0, 0, 3151, 3142, 1, 0, 0, 0, 3151, 3152, 1, 0, 0, 0, 3152, 3162, 1, 0, 0, 0, 3153, 3154, 5, 72, 0, 0, 3154, 3159, 3, 116, 58, 0, 3155, 3156, 5, 3, 0, 0, 3156, 3158, 3, 116, 58, 0, 3157, 3155, 1, 0, 0, 0, 3158, 3161, 1, 0, 0, 0, 3159, 3157, 1, 0, 0, 0, 3159, 3160, 1, 0, 0, 0, 3160, 3163, 1, 0, 0, 0, 3161, 3159, 1, 0, 0, 0, 3162, 3153, 1, 0, 0, 0, 3162, 3163, 1, 0, 0, 0, 3163, 217, 1, 0, 0, 0, 3164, 3165, 5, 220, 0, 0, 3165, 3189, 3, 220, 110, 0, 3166, 3167, 5, 241, 0, 0, 3167, 3189, 3, 220, 110, 0, 3168, 3169, 5, 117, 0, 0, 3169, 3189, 3, 220, 110, 0, 3170, 3171, 5, 220, 0, 0, 3171, 3172, 5, 34, 0, 0, 3172, 3173, 3, 220, 110, 0, 3173, 3174, 5, 25, 0, 0, 3174, 3175, 3, 220, 110, 0, 3175, 3189, 1, 0, 0, 0, 3176, 3177, 5, 241, 0, 0, 3177, 3178, 5, 34, 0, 0, 3178, 3179, 3, 220, 110, 0, 3179, 3180, 5, 25, 0, 0, 3180, 3181, 3, 220, 110, 0, 3181, 3189, 1, 0, 0, 0, 3182, 3183, 5, 117, 0, 0, 3183, 3184, 5, 34, 0, 0, 3184, 3185, 3, 220, 110, 0, 3185, 3186, 5, 25, 0, 0, 3186, 3187, 3, 220, 110, 0, 3187, 3189, 1, 0, 0, 0, 3188, 3164, 1, 0, 0, 0, 3188, 3166, 1, 0, 0, 0, 3188, 3168, 1, 0, 0, 0, 3188, 3170, 1, 0, 0, 0, 3188, 3176, 1, 0, 0, 0, 3188, 3182, 1, 0, 0, 0, 3189, 219, 1, 0, 0, 0, 3190, 3191, 5, 279, 0, 0, 3191, 3200, 5, 213, 0, 0, 3192, 3193, 5, 279, 0, 0, 3193, 3200, 5, 103, 0, 0, 3194, 3195, 5, 57, 0, 0, 3195, 3200, 5, 240, 0, 0, 3196, 3197, 3, 154, 77, 0, 3197, 3198, 7, 30, 0, 0, 3198, 3200, 1, 0, 0, 0, 3199, 3190, 1, 0, 0, 0, 3199, 3192, 1, 0, 0, 0, 3199, 3194, 1, 0, 0, 0, 3199, 3196, 1, 0, 0, 0, 3200, 221, 1, 0, 0, 0, 3201, 3202, 6, 111, -1, 0, 3202, 3204, 3, 224, 112, 0, 3203, 3205, 3, 226, 113, 0, 3204, 3203, 1, 0, 0, 0, 3204, 3205, 1, 0, 0, 0, 3205, 3213, 1, 0, 0, 0, 3206, 3207, 10, 2, 0, 0, 3207, 3212, 3, 222, 111, 3, 3208, 3209, 10, 1, 0, 0, 3209, 3210, 5, 11, 0, 0, 3210, 3212, 3, 222, 111, 2, 3211, 3206, 1, 0, 0, 0, 3211, 3208, 1, 0, 0, 0, 3212, 3215, 1, 0, 0, 0, 3213, 3211, 1, 0, 0, 0, 3213, 3214, 1, 0, 0, 0, 3214, 223, 1, 0, 0, 0, 3215, 3213, 1, 0, 0, 0, 3216, 3242, 3, 314, 157, 0, 3217, 3218, 5, 1, 0, 0, 3218, 3242, 5, 2, 0, 0, 3219, 3220, 5, 210, 0, 0, 3220, 3221, 5, 1, 0, 0, 3221, 3226, 3, 222, 111, 0, 3222, 3223, 5, 3, 0, 0, 3223, 3225, 3, 222, 111, 0, 3224, 3222, 1, 0, 0, 0, 3225, 3228, 1, 0, 0, 0, 3226, 3224, 1, 0, 0, 0, 3226, 3227, 1, 0, 0, 0, 3227, 3229, 1, 0, 0, 0, 3228, 3226, 1, 0, 0, 0, 3229, 3230, 5, 2, 0, 0, 3230, 3242, 1, 0, 0, 0, 3231, 3232, 5, 1, 0, 0, 3232, 3233, 3, 222, 111, 0, 3233, 3234, 5, 2, 0, 0, 3234, 3242, 1, 0, 0, 0, 3235, 3242, 5, 12, 0, 0, 3236, 3242, 5, 13, 0, 0, 3237, 3238, 5, 14, 0, 0, 3238, 3239, 3, 222, 111, 0, 3239, 3240, 5, 15, 0, 0, 3240, 3242, 1, 0, 0, 0, 3241, 3216, 1, 0, 0, 0, 3241, 3217, 1, 0, 0, 0, 3241, 3219, 1, 0, 0, 0, 3241, 3231, 1, 0, 0, 0, 3241, 3235, 1, 0, 0, 0, 3241, 3236, 1, 0, 0, 0, 3241, 3237, 1, 0, 0, 0, 3242, 225, 1, 0, 0, 0, 3243, 3245, 5, 321, 0, 0, 3244, 3246, 5, 325, 0, 0, 3245, 3244, 1, 0, 0, 0, 3245, 3246, 1, 0, 0, 0, 3246, 3274, 1, 0, 0, 0, 3247, 3249, 5, 319, 0, 0, 3248, 3250, 5, 325, 0, 0, 3249, 3248, 1, 0, 0, 0, 3249, 3250, 1, 0, 0, 0, 3250, 3274, 1, 0, 0, 0, 3251, 3253, 5, 325, 0, 0, 3252, 3254, 5, 325, 0, 0, 3253, 3252, 1, 0, 0, 0, 3253, 3254, 1, 0, 0, 0, 3254, 3274, 1, 0, 0, 0, 3255, 3256, 5, 16, 0, 0, 3256, 3257, 5, 330, 0, 0, 3257, 3259, 5, 17, 0, 0, 3258, 3260, 5, 325, 0, 0, 3259, 3258, 1, 0, 0, 0, 3259, 3260, 1, 0, 0, 0, 3260, 3274, 1, 0, 0, 0, 3261, 3263, 5, 16, 0, 0, 3262, 3264, 5, 330, 0, 0, 3263, 3262, 1, 0, 0, 0, 3263, 3264, 1, 0, 0, 0, 3264, 3265, 1, 0, 0, 0, 3265, 3267, 5, 3, 0, 0, 3266, 3268, 5, 330, 0, 0, 3267, 3266, 1, 0, 0, 0, 3267, 3268, 1, 0, 0, 0, 3268, 3269, 1, 0, 0, 0, 3269, 3271, 5, 17, 0, 0, 3270, 3272, 5, 325, 0, 0, 3271, 3270, 1, 0, 0, 0, 3271, 3272, 1, 0, 0, 0, 3272, 3274, 1, 0, 0, 0, 3273, 3243, 1, 0, 0, 0, 3273, 3247, 1, 0, 0, 0, 3273, 3251, 1, 0, 0, 0, 3273, 3255, 1, 0, 0, 0, 3273, 3261, 1, 0, 0, 0, 3274, 227, 1, 0, 0, 0, 3275, 3276, 3, 314, 157, 0, 3276, 3277, 5, 313, 0, 0, 3277, 3278, 3, 154, 77, 0, 3278, 229, 1, 0, 0, 0, 3279, 3280, 5, 105, 0, 0, 3280, 3284, 7, 31, 0, 0, 3281, 3282, 5, 277, 0, 0, 3282, 3284, 7, 32, 0, 0, 3283, 3279, 1, 0, 0, 0, 3283, 3281, 1, 0, 0, 0, 3284, 231, 1, 0, 0, 0, 3285, 3286, 5, 135, 0, 0, 3286, 3287, 5, 154, 0, 0, 3287, 3291, 3, 234, 117, 0, 3288, 3289, 5, 221, 0, 0, 3289, 3291, 7, 33, 0, 0, 3290, 3285, 1, 0, 0, 0, 3290, 3288, 1, 0, 0, 0, 3291, 233, 1, 0, 0, 0, 3292, 3293, 5, 221, 0, 0, 3293, 3300, 5, 280, 0, 0, 3294, 3295, 5, 221, 0, 0, 3295, 3300, 5, 49, 0, 0, 3296, 3297, 5, 226, 0, 0, 3297, 3300, 5, 221, 0, 0, 3298, 3300, 5, 250, 0, 0, 3299, 3292, 1, 0, 0, 0, 3299, 3294, 1, 0, 0, 0, 3299, 3296, 1, 0, 0, 0, 3299, 3298, 1, 0, 0, 0, 3300, 235, 1, 0, 0, 0, 3301, 3307, 3, 154, 77, 0, 3302, 3303, 3, 314, 157, 0, 3303, 3304, 5, 6, 0, 0, 3304, 3305, 3, 154, 77, 0, 3305, 3307, 1, 0, 0, 0, 3306, 3301, 1, 0, 0, 0, 3306, 3302, 1, 0, 0, 0, 3307, 237, 1, 0, 0, 0, 3308, 3309, 3, 314, 157, 0, 3309, 3310, 5, 4, 0, 0, 3310, 3311, 3, 314, 157, 0, 3311, 3314, 1, 0, 0, 0, 3312, 3314, 3, 314, 157, 0, 3313, 3308, 1, 0, 0, 0, 3313, 3312, 1, 0, 0, 0, 3314, 239, 1, 0, 0, 0, 3315, 3320, 3, 238, 119, 0, 3316, 3317, 5, 3, 0, 0, 3317, 3319, 3, 238, 119, 0, 3318, 3316, 1, 0, 0, 0, 3319, 3322, 1, 0, 0, 0, 3320, 3318, 1, 0, 0, 0, 3320, 3321, 1, 0, 0, 0, 3321, 241, 1, 0, 0, 0, 3322, 3320, 1, 0, 0, 0, 3323, 3324, 5, 108, 0, 0, 3324, 3325, 3, 244, 122, 0, 3325, 3329, 3, 250, 125, 0, 3326, 3328, 3, 252, 126, 0, 3327, 3326, 1, 0, 0, 0, 3328, 3331, 1, 0, 0, 0, 3329, 3327, 1, 0, 0, 0, 3329, 3330, 1, 0, 0, 0, 3330, 3332, 1, 0, 0, 0, 3331, 3329, 1, 0, 0, 0, 3332, 3333, 3, 254, 127, 0, 3333, 243, 1, 0, 0, 0, 3334, 3335, 3, 292, 146, 0, 3335, 3344, 5, 1, 0, 0, 3336, 3341, 3, 248, 124, 0, 3337, 3338, 5, 3, 0, 0, 3338, 3340, 3, 248, 124, 0, 3339, 3337, 1, 0, 0, 0, 3340, 3343, 1, 0, 0, 0, 3341, 3339, 1, 0, 0, 0, 3341, 3342, 1, 0, 0, 0, 3342, 3345, 1, 0, 0, 0, 3343, 3341, 1, 0, 0, 0, 3344, 3336, 1, 0, 0, 0, 3344, 3345, 1, 0, 0, 0, 3345, 3346, 1, 0, 0, 0, 3346, 3347, 5, 2, 0, 0, 3347, 245, 1, 0, 0, 0, 3348, 3349, 3, 290, 145, 0, 3349, 3358, 5, 1, 0, 0, 3350, 3355, 3, 248, 124, 0, 3351, 3352, 5, 3, 0, 0, 3352, 3354, 3, 248, 124, 0, 3353, 3351, 1, 0, 0, 0, 3354, 3357, 1, 0, 0, 0, 3355, 3353, 1, 0, 0, 0, 3355, 3356, 1, 0, 0, 0, 3356, 3359, 1, 0, 0, 0, 3357, 3355, 1, 0, 0, 0, 3358, 3350, 1, 0, 0, 0, 3358, 3359, 1, 0, 0, 0, 3359, 3360, 1, 0, 0, 0, 3360, 3361, 5, 2, 0, 0, 3361, 247, 1, 0, 0, 0, 3362, 3364, 3, 314, 157, 0, 3363, 3362, 1, 0, 0, 0, 3363, 3364, 1, 0, 0, 0, 3364, 3365, 1, 0, 0, 0, 3365, 3366, 3, 202, 101, 0, 3366, 249, 1, 0, 0, 0, 3367, 3368, 5, 233, 0, 0, 3368, 3369, 3, 202, 101, 0, 3369, 251, 1, 0, 0, 0, 3370, 3371, 5, 148, 0, 0, 3371, 3390, 3, 314, 157, 0, 3372, 3374, 5, 183, 0, 0, 3373, 3372, 1, 0, 0, 0, 3373, 3374, 1, 0, 0, 0, 3374, 3375, 1, 0, 0, 0, 3375, 3390, 5, 79, 0, 0, 3376, 3377, 5, 233, 0, 0, 3377, 3378, 5, 184, 0, 0, 3378, 3379, 5, 191, 0, 0, 3379, 3380, 5, 184, 0, 0, 3380, 3390, 5, 127, 0, 0, 3381, 3382, 5, 38, 0, 0, 3382, 3383, 5, 191, 0, 0, 3383, 3384, 5, 184, 0, 0, 3384, 3390, 5, 127, 0, 0, 3385, 3386, 5, 247, 0, 0, 3386, 3390, 7, 1, 0, 0, 3387, 3388, 5, 47, 0, 0, 3388, 3390, 3, 186, 93, 0, 3389, 3370, 1, 0, 0, 0, 3389, 3373, 1, 0, 0, 0, 3389, 3376, 1, 0, 0, 0, 3389, 3381, 1, 0, 0, 0, 3389, 3385, 1, 0, 0, 0, 3389, 3387, 1, 0, 0, 0, 3390, 253, 1, 0, 0, 0, 3391, 3392, 5, 231, 0, 0, 3392, 3491, 3, 160, 80, 0, 3393, 3394, 5, 252, 0, 0, 3394, 3395, 3, 314, 157, 0, 3395, 3396, 5, 313, 0, 0, 3396, 3397, 3, 154, 77, 0, 3397, 3491, 1, 0, 0, 0, 3398, 3399, 5, 40, 0, 0, 3399, 3401, 3, 154, 77, 0, 3400, 3402, 3, 256, 128, 0, 3401, 3400, 1, 0, 0, 0, 3402, 3403, 1, 0, 0, 0, 3403, 3401, 1, 0, 0, 0, 3403, 3404, 1, 0, 0, 0, 3404, 3406, 1, 0, 0, 0, 3405, 3407, 3, 260, 130, 0, 3406, 3405, 1, 0, 0, 0, 3406, 3407, 1, 0, 0, 0, 3407, 3408, 1, 0, 0, 0, 3408, 3409, 5, 89, 0, 0, 3409, 3410, 5, 40, 0, 0, 3410, 3491, 1, 0, 0, 0, 3411, 3413, 5, 40, 0, 0, 3412, 3414, 3, 256, 128, 0, 3413, 3412, 1, 0, 0, 0, 3414, 3415, 1, 0, 0, 0, 3415, 3413, 1, 0, 0, 0, 3415, 3416, 1, 0, 0, 0, 3416, 3418, 1, 0, 0, 0, 3417, 3419, 3, 260, 130, 0, 3418, 3417, 1, 0, 0, 0, 3418, 3419, 1, 0, 0, 0, 3419, 3420, 1, 0, 0, 0, 3420, 3421, 5, 89, 0, 0, 3421, 3422, 5, 40, 0, 0, 3422, 3491, 1, 0, 0, 0, 3423, 3424, 5, 120, 0, 0, 3424, 3425, 3, 154, 77, 0, 3425, 3426, 5, 266, 0, 0, 3426, 3430, 3, 264, 132, 0, 3427, 3429, 3, 258, 129, 0, 3428, 3427, 1, 0, 0, 0, 3429, 3432, 1, 0, 0, 0, 3430, 3428, 1, 0, 0, 0, 3430, 3431, 1, 0, 0, 0, 3431, 3434, 1, 0, 0, 0, 3432, 3430, 1, 0, 0, 0, 3433, 3435, 3, 260, 130, 0, 3434, 3433, 1, 0, 0, 0, 3434, 3435, 1, 0, 0, 0, 3435, 3436, 1, 0, 0, 0, 3436, 3437, 5, 89, 0, 0, 3437, 3438, 5, 120, 0, 0, 3438, 3491, 1, 0, 0, 0, 3439, 3440, 5, 136, 0, 0, 3440, 3491, 3, 314, 157, 0, 3441, 3442, 5, 152, 0, 0, 3442, 3491, 3, 314, 157, 0, 3443, 3449, 5, 32, 0, 0, 3444, 3445, 3, 262, 131, 0, 3445, 3446, 5, 326, 0, 0, 3446, 3448, 1, 0, 0, 0, 3447, 3444, 1, 0, 0, 0, 3448, 3451, 1, 0, 0, 0, 3449, 3447, 1, 0, 0, 0, 3449, 3450, 1, 0, 0, 0, 3450, 3453, 1, 0, 0, 0, 3451, 3449, 1, 0, 0, 0, 3452, 3454, 3, 264, 132, 0, 3453, 3452, 1, 0, 0, 0, 3453, 3454, 1, 0, 0, 0, 3454, 3455, 1, 0, 0, 0, 3455, 3491, 5, 89, 0, 0, 3456, 3457, 3, 314, 157, 0, 3457, 3458, 5, 10, 0, 0, 3458, 3460, 1, 0, 0, 0, 3459, 3456, 1, 0, 0, 0, 3459, 3460, 1, 0, 0, 0, 3460, 3461, 1, 0, 0, 0, 3461, 3462, 5, 162, 0, 0, 3462, 3463, 3, 264, 132, 0, 3463, 3464, 5, 89, 0, 0, 3464, 3465, 5, 162, 0, 0, 3465, 3491, 1, 0, 0, 0, 3466, 3467, 3, 314, 157, 0, 3467, 3468, 5, 10, 0, 0, 3468, 3470, 1, 0, 0, 0, 3469, 3466, 1, 0, 0, 0, 3469, 3470, 1, 0, 0, 0, 3470, 3471, 1, 0, 0, 0, 3471, 3472, 5, 303, 0, 0, 3472, 3473, 3, 154, 77, 0, 3473, 3474, 5, 82, 0, 0, 3474, 3475, 3, 264, 132, 0, 3475, 3476, 5, 89, 0, 0, 3476, 3477, 5, 303, 0, 0, 3477, 3491, 1, 0, 0, 0, 3478, 3479, 3, 314, 157, 0, 3479, 3480, 5, 10, 0, 0, 3480, 3482, 1, 0, 0, 0, 3481, 3478, 1, 0, 0, 0, 3481, 3482, 1, 0, 0, 0, 3482, 3483, 1, 0, 0, 0, 3483, 3484, 5, 225, 0, 0, 3484, 3485, 3, 264, 132, 0, 3485, 3486, 5, 287, 0, 0, 3486, 3487, 3, 154, 77, 0, 3487, 3488, 5, 89, 0, 0, 3488, 3489, 5, 225, 0, 0, 3489, 3491, 1, 0, 0, 0, 3490, 3391, 1, 0, 0, 0, 3490, 3393, 1, 0, 0, 0, 3490, 3398, 1, 0, 0, 0, 3490, 3411, 1, 0, 0, 0, 3490, 3423, 1, 0, 0, 0, 3490, 3439, 1, 0, 0, 0, 3490, 3441, 1, 0, 0, 0, 3490, 3443, 1, 0, 0, 0, 3490, 3459, 1, 0, 0, 0, 3490, 3469, 1, 0, 0, 0, 3490, 3481, 1, 0, 0, 0, 3491, 255, 1, 0, 0, 0, 3492, 3493, 5, 301, 0, 0, 3493, 3494, 3, 154, 77, 0, 3494, 3495, 5, 266, 0, 0, 3495, 3496, 3, 264, 132, 0, 3496, 257, 1, 0, 0, 0, 3497, 3498, 5, 87, 0, 0, 3498, 3499, 3, 154, 77, 0, 3499, 3500, 5, 266, 0, 0, 3500, 3501, 3, 264, 132, 0, 3501, 259, 1, 0, 0, 0, 3502, 3503, 5, 85, 0, 0, 3503, 3504, 3, 264, 132, 0, 3504, 261, 1, 0, 0, 0, 3505, 3506, 5, 70, 0, 0, 3506, 3511, 3, 314, 157, 0, 3507, 3508, 5, 3, 0, 0, 3508, 3510, 3, 314, 157, 0, 3509, 3507, 1, 0, 0, 0, 3510, 3513, 1, 0, 0, 0, 3511, 3509, 1, 0, 0, 0, 3511, 3512, 1, 0, 0, 0, 3512, 3514, 1, 0, 0, 0, 3513, 3511, 1, 0, 0, 0, 3514, 3517, 3, 202, 101, 0, 3515, 3516, 5, 71, 0, 0, 3516, 3518, 3, 160, 80, 0, 3517, 3515, 1, 0, 0, 0, 3517, 3518, 1, 0, 0, 0, 3518, 263, 1, 0, 0, 0, 3519, 3520, 3, 254, 127, 0, 3520, 3521, 5, 326, 0, 0, 3521, 3523, 1, 0, 0, 0, 3522, 3519, 1, 0, 0, 0, 3523, 3524, 1, 0, 0, 0, 3524, 3522, 1, 0, 0, 0, 3524, 3525, 1, 0, 0, 0, 3525, 265, 1, 0, 0, 0, 3526, 3533, 5, 54, 0, 0, 3527, 3533, 5, 249, 0, 0, 3528, 3533, 5, 74, 0, 0, 3529, 3533, 5, 128, 0, 0, 3530, 3533, 5, 288, 0, 0, 3531, 3533, 3, 314, 157, 0, 3532, 3526, 1, 0, 0, 0, 3532, 3527, 1, 0, 0, 0, 3532, 3528, 1, 0, 0, 0, 3532, 3529, 1, 0, 0, 0, 3532, 3530, 1, 0, 0, 0, 3532, 3531, 1, 0, 0, 0, 3533, 267, 1, 0, 0, 0, 3534, 3538, 5, 261, 0, 0, 3535, 3538, 5, 244, 0, 0, 3536, 3538, 3, 314, 157, 0, 3537, 3534, 1, 0, 0, 0, 3537, 3535, 1, 0, 0, 0, 3537, 3536, 1, 0, 0, 0, 3538, 269, 1, 0, 0, 0, 3539, 3541, 3, 268, 134, 0, 3540, 3539, 1, 0, 0, 0, 3540, 3541, 1, 0, 0, 0, 3541, 3542, 1, 0, 0, 0, 3542, 3543, 3, 300, 150, 0, 3543, 271, 1, 0, 0, 0, 3544, 3547, 3, 274, 137, 0, 3545, 3547, 3, 278, 139, 0, 3546, 3544, 1, 0, 0, 0, 3546, 3545, 1, 0, 0, 0, 3547, 273, 1, 0, 0, 0, 3548, 3560, 3, 314, 157, 0, 3549, 3550, 3, 314, 157, 0, 3550, 3551, 5, 4, 0, 0, 3551, 3552, 3, 314, 157, 0, 3552, 3560, 1, 0, 0, 0, 3553, 3554, 3, 314, 157, 0, 3554, 3555, 5, 4, 0, 0, 3555, 3556, 3, 314, 157, 0, 3556, 3557, 5, 4, 0, 0, 3557, 3558, 3, 314, 157, 0, 3558, 3560, 1, 0, 0, 0, 3559, 3548, 1, 0, 0, 0, 3559, 3549, 1, 0, 0, 0, 3559, 3553, 1, 0, 0, 0, 3560, 275, 1, 0, 0, 0, 3561, 3573, 3, 314, 157, 0, 3562, 3563, 3, 314, 157, 0, 3563, 3564, 5, 4, 0, 0, 3564, 3565, 3, 314, 157, 0, 3565, 3573, 1, 0, 0, 0, 3566, 3567, 3, 314, 157, 0, 3567, 3568, 5, 4, 0, 0, 3568, 3569, 3, 314, 157, 0, 3569, 3570, 5, 4, 0, 0, 3570, 3571, 3, 314, 157, 0, 3571, 3573, 1, 0, 0, 0, 3572, 3561, 1, 0, 0, 0, 3572, 3562, 1, 0, 0, 0, 3572, 3566, 1, 0, 0, 0, 3573, 277, 1, 0, 0, 0, 3574, 3586, 3, 314, 157, 0, 3575, 3576, 3, 314, 157, 0, 3576, 3577, 5, 4, 0, 0, 3577, 3578, 3, 314, 157, 0, 3578, 3586, 1, 0, 0, 0, 3579, 3580, 3, 314, 157, 0, 3580, 3581, 5, 4, 0, 0, 3581, 3582, 3, 314, 157, 0, 3582, 3583, 5, 4, 0, 0, 3583, 3584, 3, 314, 157, 0, 3584, 3586, 1, 0, 0, 0, 3585, 3574, 1, 0, 0, 0, 3585, 3575, 1, 0, 0, 0, 3585, 3579, 1, 0, 0, 0, 3586, 279, 1, 0, 0, 0, 3587, 3599, 3, 314, 157, 0, 3588, 3589, 3, 314, 157, 0, 3589, 3590, 5, 4, 0, 0, 3590, 3591, 3, 314, 157, 0, 3591, 3599, 1, 0, 0, 0, 3592, 3593, 3, 314, 157, 0, 3593, 3594, 5, 4, 0, 0, 3594, 3595, 3, 314, 157, 0, 3595, 3596, 5, 4, 0, 0, 3596, 3597, 3, 314, 157, 0, 3597, 3599, 1, 0, 0, 0, 3598, 3587, 1, 0, 0, 0, 3598, 3588, 1, 0, 0, 0, 3598, 3592, 1, 0, 0, 0, 3599, 281, 1, 0, 0, 0, 3600, 3606, 3, 314, 157, 0, 3601, 3602, 3, 314, 157, 0, 3602, 3603, 5, 4, 0, 0, 3603, 3604, 3, 314, 157, 0, 3604, 3606, 1, 0, 0, 0, 3605, 3600, 1, 0, 0, 0, 3605, 3601, 1, 0, 0, 0, 3606, 283, 1, 0, 0, 0, 3607, 3613, 3, 314, 157, 0, 3608, 3609, 3, 314, 157, 0, 3609, 3610, 5, 4, 0, 0, 3610, 3611, 3, 314, 157, 0, 3611, 3613, 1, 0, 0, 0, 3612, 3607, 1, 0, 0, 0, 3612, 3608, 1, 0, 0, 0, 3613, 285, 1, 0, 0, 0, 3614, 3615, 3, 314, 157, 0, 3615, 287, 1, 0, 0, 0, 3616, 3617, 3, 314, 157, 0, 3617, 289, 1, 0, 0, 0, 3618, 3619, 3, 300, 150, 0, 3619, 291, 1, 0, 0, 0, 3620, 3621, 3, 300, 150, 0, 3621, 293, 1, 0, 0, 0, 3622, 3625, 3, 300, 150, 0, 3623, 3625, 4, 147, 14, 0, 3624, 3622, 1, 0, 0, 0, 3624, 3623, 1, 0, 0, 0, 3625, 295, 1, 0, 0, 0, 3626, 3627, 3, 300, 150, 0, 3627, 297, 1, 0, 0, 0, 3628, 3629, 3, 314, 157, 0, 3629, 299, 1, 0, 0, 0, 3630, 3635, 3, 314, 157, 0, 3631, 3632, 5, 4, 0, 0, 3632, 3634, 3, 314, 157, 0, 3633, 3631, 1, 0, 0, 0, 3634, 3637, 1, 0, 0, 0, 3635, 3633, 1, 0, 0, 0, 3635, 3636, 1, 0, 0, 0, 3636, 301, 1, 0, 0, 0, 3637, 3635, 1, 0, 0, 0, 3638, 3639, 5, 104, 0, 0, 3639, 3640, 3, 304, 152, 0, 3640, 3641, 5, 28, 0, 0, 3641, 3642, 5, 188, 0, 0, 3642, 3643, 3, 160, 80, 0, 3643, 303, 1, 0, 0, 0, 3644, 3645, 7, 34, 0, 0, 3645, 305, 1, 0, 0, 0, 3646, 3650, 3, 308, 154, 0, 3647, 3650, 5, 65, 0, 0, 3648, 3650, 5, 61, 0, 0, 3649, 3646, 1, 0, 0, 0, 3649, 3647, 1, 0, 0, 0, 3649, 3648, 1, 0, 0, 0, 3650, 307, 1, 0, 0, 0, 3651, 3657, 3, 314, 157, 0, 3652, 3653, 5, 290, 0, 0, 3653, 3657, 3, 314, 157, 0, 3654, 3655, 5, 236, 0, 0, 3655, 3657, 3, 314, 157, 0, 3656, 3651, 1, 0, 0, 0, 3656, 3652, 1, 0, 0, 0, 3656, 3654, 1, 0, 0, 0, 3657, 309, 1, 0, 0, 0, 3658, 3663, 3, 314, 157, 0, 3659, 3660, 5, 3, 0, 0, 3660, 3662, 3, 314, 157, 0, 3661, 3659, 1, 0, 0, 0, 3662, 3665, 1, 0, 0, 0, 3663, 3661, 1, 0, 0, 0, 3663, 3664, 1, 0, 0, 0, 3664, 311, 1, 0, 0, 0, 3665, 3663, 1, 0, 0, 0, 3666, 3674, 5, 54, 0, 0, 3667, 3674, 5, 249, 0, 0, 3668, 3674, 5, 74, 0, 0, 3669, 3674, 5, 128, 0, 0, 3670, 3674, 5, 288, 0, 0, 3671, 3674, 5, 94, 0, 0, 3672, 3674, 3, 314, 157, 0, 3673, 3666, 1, 0, 0, 0, 3673, 3667, 1, 0, 0, 0, 3673, 3668, 1, 0, 0, 0, 3673, 3669, 1, 0, 0, 0, 3673, 3670, 1, 0, 0, 0, 3673, 3671, 1, 0, 0, 0, 3673, 3672, 1, 0, 0, 0, 3674, 313, 1, 0, 0, 0, 3675, 3681, 5, 333, 0, 0, 3676, 3681, 5, 335, 0, 0, 3677, 3681, 3, 320, 160, 0, 3678, 3681, 5, 336, 0, 0, 3679, 3681, 5, 334, 0, 0, 3680, 3675, 1, 0, 0, 0, 3680, 3676, 1, 0, 0, 0, 3680, 3677, 1, 0, 0, 0, 3680, 3678, 1, 0, 0, 0, 3680, 3679, 1, 0, 0, 0, 3681, 315, 1, 0, 0, 0, 3682, 3684, 5, 320, 0, 0, 3683, 3682, 1, 0, 0, 0, 3683, 3684, 1, 0, 0, 0, 3684, 3685, 1, 0, 0, 0, 3685, 3695, 5, 331, 0, 0, 3686, 3688, 5, 320, 0, 0, 3687, 3686, 1, 0, 0, 0, 3687, 3688, 1, 0, 0, 0, 3688, 3689, 1, 0, 0, 0, 3689, 3695, 5, 332, 0, 0, 3690, 3692, 5, 320, 0, 0, 3691, 3690, 1, 0, 0, 0, 3691, 3692, 1, 0, 0, 0, 3692, 3693, 1, 0, 0, 0, 3693, 3695, 5, 330, 0, 0, 3694, 3683, 1, 0, 0, 0, 3694, 3687, 1, 0, 0, 0, 3694, 3691, 1, 0, 0, 0, 3695, 317, 1, 0, 0, 0, 3696, 3699, 3, 314, 157, 0, 3697, 3699, 3, 186, 93, 0, 3698, 3696, 1, 0, 0, 0, 3698, 3697, 1, 0, 0, 0, 3699, 319, 1, 0, 0, 0, 3700, 3701, 7, 35, 0, 0, 3701, 321, 1, 0, 0, 0, 478, 325, 334, 338, 342, 346, 350, 363, 370, 374, 378, 384, 388, 395, 400, 404, 410, 414, 433, 439, 443, 447, 451, 459, 463, 466, 471, 477, 486, 492, 496, 502, 509, 517, 529, 538, 547, 553, 564, 572, 580, 587, 597, 604, 612, 627, 662, 665, 668, 671, 677, 682, 689, 695, 699, 703, 711, 717, 721, 725, 739, 747, 766, 791, 794, 801, 808, 817, 821, 828, 836, 845, 851, 856, 860, 868, 873, 882, 888, 895, 904, 910, 914, 920, 927, 932, 945, 950, 962, 966, 972, 981, 986, 992, 1020, 1026, 1028, 1034, 1040, 1042, 1050, 1052, 1062, 1064, 1079, 1084, 1091, 1101, 1107, 1109, 1117, 1119, 1144, 1147, 1151, 1155, 1173, 1176, 1187, 1190, 1206, 1216, 1220, 1226, 1229, 1238, 1250, 1253, 1263, 1267, 1273, 1280, 1285, 1291, 1295, 1299, 1305, 1316, 1325, 1335, 1338, 1343, 1345, 1352, 1358, 1360, 1364, 1374, 1380, 1383, 1385, 1397, 1404, 1408, 1411, 1415, 1419, 1428, 1431, 1434, 1439, 1442, 1450, 1453, 1466, 1470, 1477, 1485, 1496, 1499, 1509, 1512, 1523, 1528, 1536, 1539, 1543, 1547, 1556, 1561, 1570, 1573, 1576, 1580, 1591, 1594, 1597, 1602, 1605, 1634, 1638, 1642, 1646, 1650, 1654, 1656, 1667, 1672, 1681, 1690, 1693, 1699, 1707, 1716, 1719, 1727, 1730, 1733, 1738, 1741, 1753, 1756, 1764, 1769, 1773, 1775, 1777, 1792, 1794, 1805, 1826, 1836, 1847, 1851, 1853, 1861, 1872, 1883, 1890, 1897, 1910, 1916, 1938, 1953, 1958, 1962, 1972, 1978, 1984, 1992, 1997, 2004, 2006, 2012, 2018, 2022, 2027, 2036, 2041, 2055, 2065, 2068, 2077, 2082, 2087, 2089, 2098, 2101, 2109, 2112, 2119, 2124, 2131, 2135, 2137, 2145, 2155, 2161, 2163, 2170, 2174, 2176, 2183, 2187, 2189, 2191, 2200, 2211, 2215, 2225, 2235, 2239, 2247, 2249, 2262, 2270, 2279, 2285, 2293, 2299, 2303, 2308, 2313, 2319, 2333, 2335, 2365, 2376, 2384, 2389, 2394, 2407, 2413, 2416, 2423, 2428, 2431, 2434, 2439, 2446, 2449, 2458, 2461, 2465, 2468, 2471, 2486, 2489, 2508, 2512, 2520, 2524, 2549, 2552, 2561, 2567, 2573, 2579, 2588, 2591, 2594, 2613, 2622, 2640, 2656, 2659, 2669, 2678, 2684, 2690, 2701, 2703, 2708, 2715, 2717, 2723, 2729, 2740, 2749, 2754, 2759, 2761, 2763, 2769, 2771, 2781, 2790, 2792, 2798, 2800, 2803, 2813, 2815, 2823, 2831, 2834, 2839, 2844, 2856, 2860, 2864, 2867, 2869, 2877, 2880, 2890, 2898, 2904, 2906, 2914, 2924, 2930, 2944, 2953, 2960, 2965, 2972, 2977, 3000, 3005, 3007, 3014, 3018, 3025, 3029, 3045, 3060, 3067, 3076, 3086, 3091, 3100, 3105, 3113, 3121, 3124, 3130, 3133, 3140, 3148, 3151, 3159, 3162, 3188, 3199, 3204, 3211, 3213, 3226, 3241, 3245, 3249, 3253, 3259, 3263, 3267, 3271, 3273, 3283, 3290, 3299, 3306, 3313, 3320, 3329, 3341, 3344, 3355, 3358, 3363, 3373, 3389, 3403, 3406, 3415, 3418, 3430, 3434, 3449, 3453, 3459, 3469, 3481, 3490, 3511, 3517, 3524, 3532, 3537, 3540, 3546, 3559, 3572, 3585, 3598, 3605, 3612, 3624, 3635, 3649, 3656, 3663, 3673, 3680, 3683, 3687, 3691, 3694, 3698] \ No newline at end of file +[4, 1, 341, 3595, 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, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 2, 91, 7, 91, 2, 92, 7, 92, 2, 93, 7, 93, 2, 94, 7, 94, 2, 95, 7, 95, 2, 96, 7, 96, 2, 97, 7, 97, 2, 98, 7, 98, 2, 99, 7, 99, 2, 100, 7, 100, 2, 101, 7, 101, 2, 102, 7, 102, 2, 103, 7, 103, 2, 104, 7, 104, 2, 105, 7, 105, 2, 106, 7, 106, 2, 107, 7, 107, 2, 108, 7, 108, 2, 109, 7, 109, 2, 110, 7, 110, 2, 111, 7, 111, 2, 112, 7, 112, 2, 113, 7, 113, 2, 114, 7, 114, 2, 115, 7, 115, 2, 116, 7, 116, 2, 117, 7, 117, 2, 118, 7, 118, 2, 119, 7, 119, 2, 120, 7, 120, 2, 121, 7, 121, 2, 122, 7, 122, 2, 123, 7, 123, 2, 124, 7, 124, 2, 125, 7, 125, 2, 126, 7, 126, 2, 127, 7, 127, 2, 128, 7, 128, 2, 129, 7, 129, 2, 130, 7, 130, 2, 131, 7, 131, 2, 132, 7, 132, 2, 133, 7, 133, 2, 134, 7, 134, 2, 135, 7, 135, 1, 0, 5, 0, 274, 8, 0, 10, 0, 12, 0, 277, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 3, 2, 285, 8, 2, 1, 3, 1, 3, 3, 3, 289, 8, 3, 1, 4, 1, 4, 3, 4, 293, 8, 4, 1, 5, 1, 5, 3, 5, 297, 8, 5, 1, 6, 1, 6, 3, 6, 301, 8, 6, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 314, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 321, 8, 8, 1, 8, 1, 8, 3, 8, 325, 8, 8, 1, 8, 1, 8, 3, 8, 329, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 335, 8, 8, 1, 8, 1, 8, 3, 8, 339, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 346, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 351, 8, 8, 1, 8, 1, 8, 3, 8, 355, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 361, 8, 8, 1, 8, 1, 8, 3, 8, 365, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 384, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 390, 8, 8, 1, 8, 1, 8, 3, 8, 394, 8, 8, 1, 8, 1, 8, 3, 8, 398, 8, 8, 1, 8, 1, 8, 3, 8, 402, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 410, 8, 8, 1, 8, 1, 8, 3, 8, 414, 8, 8, 1, 8, 3, 8, 417, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 422, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 428, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 435, 8, 8, 10, 8, 12, 8, 438, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 443, 8, 8, 1, 8, 1, 8, 3, 8, 447, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 453, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 460, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 468, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 480, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 489, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 498, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 504, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 515, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 523, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 531, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 538, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 548, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 555, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 563, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 578, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 611, 8, 8, 10, 8, 12, 8, 614, 9, 8, 3, 8, 616, 8, 8, 1, 8, 3, 8, 619, 8, 8, 1, 8, 3, 8, 622, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 628, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 633, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 640, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 646, 8, 8, 1, 8, 1, 8, 3, 8, 650, 8, 8, 1, 8, 1, 8, 3, 8, 654, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 662, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 668, 8, 8, 1, 8, 1, 8, 3, 8, 672, 8, 8, 1, 8, 1, 8, 3, 8, 676, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 690, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 698, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 717, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 740, 8, 8, 10, 8, 12, 8, 743, 9, 8, 3, 8, 745, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 752, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 759, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 766, 8, 8, 10, 8, 12, 8, 769, 9, 8, 3, 8, 771, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 781, 8, 8, 1, 8, 1, 8, 3, 8, 785, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 792, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 798, 8, 8, 10, 8, 12, 8, 801, 9, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 807, 8, 8, 10, 8, 12, 8, 810, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 815, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 820, 8, 8, 1, 8, 1, 8, 3, 8, 824, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 830, 8, 8, 10, 8, 12, 8, 833, 9, 8, 1, 8, 1, 8, 3, 8, 837, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 846, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 852, 8, 8, 1, 8, 1, 8, 1, 8, 5, 8, 857, 8, 8, 10, 8, 12, 8, 860, 9, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 866, 8, 8, 10, 8, 12, 8, 869, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 874, 8, 8, 1, 8, 1, 8, 3, 8, 878, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 884, 8, 8, 1, 8, 1, 8, 1, 8, 5, 8, 889, 8, 8, 10, 8, 12, 8, 892, 9, 8, 1, 8, 1, 8, 3, 8, 896, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 907, 8, 8, 10, 8, 12, 8, 910, 9, 8, 1, 8, 1, 8, 3, 8, 914, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 926, 8, 8, 1, 8, 1, 8, 3, 8, 930, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 936, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 943, 8, 8, 10, 8, 12, 8, 946, 9, 8, 1, 8, 1, 8, 3, 8, 950, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 956, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 984, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 990, 8, 8, 3, 8, 992, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 998, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1004, 8, 8, 3, 8, 1006, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1014, 8, 8, 3, 8, 1016, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1026, 8, 8, 3, 8, 1028, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1043, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1048, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1055, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1065, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1071, 8, 8, 3, 8, 1073, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1081, 8, 8, 3, 8, 1083, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1090, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1109, 8, 8, 10, 8, 12, 8, 1112, 9, 8, 3, 8, 1114, 8, 8, 1, 8, 1, 8, 3, 8, 1118, 8, 8, 1, 8, 1, 8, 3, 8, 1122, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1138, 8, 8, 10, 8, 12, 8, 1141, 9, 8, 3, 8, 1143, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1152, 8, 8, 10, 8, 12, 8, 1155, 9, 8, 3, 8, 1157, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1173, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1181, 8, 8, 10, 8, 12, 8, 1184, 9, 8, 1, 8, 3, 8, 1187, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1193, 8, 8, 1, 8, 3, 8, 1196, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 4, 8, 1203, 8, 8, 11, 8, 12, 8, 1204, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1217, 8, 8, 1, 9, 3, 9, 1220, 8, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 1228, 8, 10, 10, 10, 12, 10, 1231, 9, 10, 1, 11, 3, 11, 1234, 8, 11, 1, 11, 1, 11, 1, 12, 1, 12, 3, 12, 1240, 8, 12, 1, 12, 1, 12, 1, 12, 5, 12, 1245, 8, 12, 10, 12, 12, 12, 1248, 9, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 3, 13, 1255, 8, 13, 3, 13, 1257, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 1263, 8, 14, 1, 14, 1, 14, 3, 14, 1267, 8, 14, 1, 14, 1, 14, 3, 14, 1271, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 5, 16, 1280, 8, 16, 10, 16, 12, 16, 1283, 9, 16, 1, 17, 1, 17, 1, 17, 1, 17, 3, 17, 1289, 8, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 5, 18, 1297, 8, 18, 10, 18, 12, 18, 1300, 9, 18, 3, 18, 1302, 8, 18, 1, 18, 1, 18, 1, 18, 3, 18, 1307, 8, 18, 3, 18, 1309, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 1316, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 1322, 8, 18, 3, 18, 1324, 8, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 3, 19, 1332, 8, 19, 1, 19, 1, 19, 1, 19, 1, 19, 3, 19, 1338, 8, 19, 1, 19, 5, 19, 1341, 8, 19, 10, 19, 12, 19, 1344, 9, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 5, 20, 1353, 8, 20, 10, 20, 12, 20, 1356, 9, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1362, 8, 20, 1, 21, 1, 21, 3, 21, 1366, 8, 21, 1, 21, 3, 21, 1369, 8, 21, 1, 21, 1, 21, 3, 21, 1373, 8, 21, 1, 22, 1, 22, 3, 22, 1377, 8, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 5, 22, 1384, 8, 22, 10, 22, 12, 22, 1387, 9, 22, 3, 22, 1389, 8, 22, 1, 22, 3, 22, 1392, 8, 22, 1, 22, 1, 22, 1, 22, 3, 22, 1397, 8, 22, 1, 22, 3, 22, 1400, 8, 22, 1, 22, 1, 22, 1, 22, 1, 22, 5, 22, 1406, 8, 22, 10, 22, 12, 22, 1409, 9, 22, 3, 22, 1411, 8, 22, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 5, 25, 1422, 8, 25, 10, 25, 12, 25, 1425, 9, 25, 1, 26, 3, 26, 1428, 8, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1433, 8, 26, 10, 26, 12, 26, 1436, 9, 26, 1, 27, 1, 27, 1, 27, 5, 27, 1441, 8, 27, 10, 27, 12, 27, 1444, 9, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 5, 28, 1452, 8, 28, 10, 28, 12, 28, 1455, 9, 28, 3, 28, 1457, 8, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 5, 28, 1465, 8, 28, 10, 28, 12, 28, 1468, 9, 28, 3, 28, 1470, 8, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 5, 28, 1479, 8, 28, 10, 28, 12, 28, 1482, 9, 28, 1, 28, 1, 28, 3, 28, 1486, 8, 28, 1, 29, 1, 29, 1, 29, 3, 29, 1491, 8, 29, 1, 29, 1, 29, 1, 29, 3, 29, 1496, 8, 29, 5, 29, 1498, 8, 29, 10, 29, 12, 29, 1501, 9, 29, 3, 29, 1503, 8, 29, 1, 29, 1, 29, 1, 29, 3, 29, 1508, 8, 29, 3, 29, 1510, 8, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 3, 31, 1519, 8, 31, 1, 31, 1, 31, 1, 31, 3, 31, 1524, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 5, 31, 1531, 8, 31, 10, 31, 12, 31, 1534, 9, 31, 3, 31, 1536, 8, 31, 1, 31, 3, 31, 1539, 8, 31, 1, 32, 1, 32, 3, 32, 1543, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 34, 1, 34, 3, 34, 1554, 8, 34, 1, 34, 3, 34, 1557, 8, 34, 1, 34, 3, 34, 1560, 8, 34, 1, 34, 1, 34, 1, 34, 3, 34, 1565, 8, 34, 1, 34, 3, 34, 1568, 8, 34, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 5, 39, 1597, 8, 39, 10, 39, 12, 39, 1600, 9, 39, 1, 39, 1, 39, 3, 39, 1604, 8, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 3, 39, 1611, 8, 39, 5, 39, 1613, 8, 39, 10, 39, 12, 39, 1616, 9, 39, 1, 40, 3, 40, 1619, 8, 40, 1, 40, 1, 40, 3, 40, 1623, 8, 40, 1, 40, 1, 40, 3, 40, 1627, 8, 40, 1, 40, 1, 40, 3, 40, 1631, 8, 40, 3, 40, 1633, 8, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 1642, 8, 41, 1, 42, 1, 42, 1, 42, 3, 42, 1647, 8, 42, 1, 42, 1, 42, 1, 42, 1, 42, 3, 42, 1653, 8, 42, 3, 42, 1655, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 1663, 8, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 5, 43, 1670, 8, 43, 10, 43, 12, 43, 1673, 9, 43, 3, 43, 1675, 8, 43, 1, 43, 1, 43, 1, 43, 1, 43, 5, 43, 1681, 8, 43, 10, 43, 12, 43, 1684, 9, 43, 3, 43, 1686, 8, 43, 1, 43, 3, 43, 1689, 8, 43, 1, 43, 1, 43, 1, 43, 3, 43, 1694, 8, 43, 1, 43, 3, 43, 1697, 8, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 5, 43, 1707, 8, 43, 10, 43, 12, 43, 1710, 9, 43, 3, 43, 1712, 8, 43, 1, 43, 1, 43, 1, 43, 1, 43, 5, 43, 1718, 8, 43, 10, 43, 12, 43, 1721, 9, 43, 1, 43, 1, 43, 3, 43, 1725, 8, 43, 1, 43, 1, 43, 3, 43, 1729, 8, 43, 3, 43, 1731, 8, 43, 3, 43, 1733, 8, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 1756, 8, 45, 3, 45, 1758, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 3, 46, 1779, 8, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 5, 47, 1787, 8, 47, 10, 47, 12, 47, 1790, 9, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 3, 49, 1800, 8, 49, 1, 49, 1, 49, 3, 49, 1804, 8, 49, 3, 49, 1806, 8, 49, 1, 50, 1, 50, 1, 50, 1, 50, 5, 50, 1812, 8, 50, 10, 50, 12, 50, 1815, 9, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 1823, 8, 51, 10, 51, 12, 51, 1826, 9, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 1834, 8, 52, 10, 52, 12, 52, 1837, 9, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1847, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1854, 8, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 1865, 8, 54, 10, 54, 12, 54, 1868, 9, 54, 1, 54, 1, 54, 1, 54, 3, 54, 1873, 8, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 1893, 8, 54, 10, 54, 12, 54, 1896, 9, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 3, 54, 1910, 8, 54, 1, 54, 1, 54, 1, 54, 3, 54, 1915, 8, 54, 1, 54, 1, 54, 3, 54, 1919, 8, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1929, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1935, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1941, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1949, 8, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1954, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1961, 8, 55, 3, 55, 1963, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1969, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1975, 8, 55, 1, 55, 1, 55, 3, 55, 1979, 8, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1984, 8, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 1991, 8, 55, 10, 55, 12, 55, 1994, 9, 55, 1, 55, 1, 55, 3, 55, 1998, 8, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 2010, 8, 56, 10, 56, 12, 56, 2013, 9, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 2020, 8, 56, 10, 56, 12, 56, 2023, 9, 56, 3, 56, 2025, 8, 56, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 2034, 8, 58, 1, 59, 1, 59, 1, 59, 3, 59, 2039, 8, 59, 1, 59, 1, 59, 1, 59, 3, 59, 2044, 8, 59, 3, 59, 2046, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 5, 60, 2053, 8, 60, 10, 60, 12, 60, 2056, 9, 60, 3, 60, 2058, 8, 60, 1, 60, 1, 60, 1, 60, 1, 60, 5, 60, 2064, 8, 60, 10, 60, 12, 60, 2067, 9, 60, 3, 60, 2069, 8, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 3, 61, 2076, 8, 61, 1, 61, 1, 61, 1, 61, 3, 61, 2081, 8, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 3, 62, 2088, 8, 62, 1, 62, 1, 62, 3, 62, 2092, 8, 62, 3, 62, 2094, 8, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 3, 62, 2102, 8, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 5, 62, 2110, 8, 62, 10, 62, 12, 62, 2113, 9, 62, 1, 62, 1, 62, 1, 62, 3, 62, 2118, 8, 62, 3, 62, 2120, 8, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 2127, 8, 63, 1, 63, 1, 63, 3, 63, 2131, 8, 63, 3, 63, 2133, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 2140, 8, 63, 1, 63, 1, 63, 3, 63, 2144, 8, 63, 3, 63, 2146, 8, 63, 3, 63, 2148, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 5, 64, 2155, 8, 64, 10, 64, 12, 64, 2158, 9, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 2168, 8, 64, 1, 65, 1, 65, 3, 65, 2172, 8, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 5, 66, 2180, 8, 66, 10, 66, 12, 66, 2183, 9, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 3, 68, 2192, 8, 68, 1, 68, 1, 68, 3, 68, 2196, 8, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 5, 68, 2204, 8, 68, 10, 68, 12, 68, 2207, 9, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 2219, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 2227, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 5, 69, 2234, 8, 69, 10, 69, 12, 69, 2237, 9, 69, 1, 69, 1, 69, 1, 69, 3, 69, 2242, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 2250, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 2256, 8, 69, 1, 69, 1, 69, 3, 69, 2260, 8, 69, 1, 69, 1, 69, 1, 69, 3, 69, 2265, 8, 69, 1, 69, 1, 69, 1, 69, 3, 69, 2270, 8, 69, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2276, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2295, 8, 70, 5, 70, 2297, 8, 70, 10, 70, 12, 70, 2300, 9, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 4, 71, 2327, 8, 71, 11, 71, 12, 71, 2328, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2338, 8, 71, 10, 71, 12, 71, 2341, 9, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2348, 8, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2353, 8, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2358, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2369, 8, 71, 10, 71, 12, 71, 2372, 9, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2377, 8, 71, 1, 71, 3, 71, 2380, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2387, 8, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2392, 8, 71, 1, 71, 3, 71, 2395, 8, 71, 1, 71, 3, 71, 2398, 8, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2403, 8, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2408, 8, 71, 10, 71, 12, 71, 2411, 9, 71, 3, 71, 2413, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2420, 8, 71, 10, 71, 12, 71, 2423, 9, 71, 3, 71, 2425, 8, 71, 1, 71, 1, 71, 3, 71, 2429, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2435, 8, 71, 1, 71, 3, 71, 2438, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2451, 8, 71, 10, 71, 12, 71, 2454, 9, 71, 3, 71, 2456, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 4, 71, 2473, 8, 71, 11, 71, 12, 71, 2474, 1, 71, 1, 71, 3, 71, 2479, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 4, 71, 2485, 8, 71, 11, 71, 12, 71, 2486, 1, 71, 1, 71, 3, 71, 2491, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2514, 8, 71, 10, 71, 12, 71, 2517, 9, 71, 3, 71, 2519, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2528, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2534, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2540, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2546, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2555, 8, 71, 1, 71, 3, 71, 2558, 8, 71, 1, 71, 3, 71, 2561, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2580, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2589, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2605, 8, 71, 10, 71, 12, 71, 2608, 9, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2621, 8, 71, 10, 71, 12, 71, 2624, 9, 71, 3, 71, 2626, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2635, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2644, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2650, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2656, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2667, 8, 71, 3, 71, 2669, 8, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2674, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2681, 8, 71, 3, 71, 2683, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2689, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2695, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2704, 8, 71, 10, 71, 12, 71, 2707, 9, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2715, 8, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2720, 8, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2725, 8, 71, 3, 71, 2727, 8, 71, 3, 71, 2729, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2735, 8, 71, 3, 71, 2737, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2745, 8, 71, 10, 71, 12, 71, 2748, 9, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2756, 8, 71, 3, 71, 2758, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2764, 8, 71, 3, 71, 2766, 8, 71, 1, 71, 3, 71, 2769, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2779, 8, 71, 10, 71, 12, 71, 2782, 9, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 2789, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2795, 8, 72, 10, 72, 12, 72, 2798, 9, 72, 3, 72, 2800, 8, 72, 1, 73, 1, 73, 1, 73, 3, 73, 2805, 8, 73, 1, 74, 1, 74, 1, 74, 3, 74, 2810, 8, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2820, 8, 76, 1, 77, 1, 77, 3, 77, 2824, 8, 77, 1, 77, 1, 77, 3, 77, 2828, 8, 77, 1, 77, 3, 77, 2831, 8, 77, 3, 77, 2833, 8, 77, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 3, 78, 2841, 8, 78, 1, 79, 3, 79, 2844, 8, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 3, 79, 2854, 8, 79, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2862, 8, 81, 3, 81, 2864, 8, 81, 1, 82, 1, 82, 1, 83, 1, 83, 1, 84, 1, 84, 3, 84, 2872, 8, 84, 1, 84, 1, 84, 1, 84, 1, 84, 3, 84, 2878, 8, 84, 1, 85, 1, 85, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 5, 86, 2888, 8, 86, 10, 86, 12, 86, 2891, 9, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 3, 86, 2899, 8, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 3, 86, 2906, 8, 86, 1, 86, 1, 86, 1, 86, 3, 86, 2911, 8, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 3, 86, 2918, 8, 86, 1, 86, 1, 86, 1, 86, 3, 86, 2923, 8, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 5, 86, 2944, 8, 86, 10, 86, 12, 86, 2947, 9, 86, 1, 86, 1, 86, 3, 86, 2951, 8, 86, 3, 86, 2953, 8, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 3, 86, 2960, 8, 86, 5, 86, 2962, 8, 86, 10, 86, 12, 86, 2965, 9, 86, 1, 87, 1, 87, 1, 87, 1, 87, 3, 87, 2971, 8, 87, 1, 88, 1, 88, 3, 88, 2975, 8, 88, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 91, 1, 91, 1, 91, 1, 91, 3, 91, 2991, 8, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 5, 91, 3004, 8, 91, 10, 91, 12, 91, 3007, 9, 91, 1, 91, 1, 91, 1, 91, 1, 91, 3, 91, 3013, 8, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 3, 91, 3022, 8, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 5, 91, 3030, 8, 91, 10, 91, 12, 91, 3033, 9, 91, 1, 91, 1, 91, 3, 91, 3037, 8, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 5, 91, 3044, 8, 91, 10, 91, 12, 91, 3047, 9, 91, 1, 91, 1, 91, 3, 91, 3051, 8, 91, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 3059, 8, 92, 1, 93, 1, 93, 1, 93, 1, 93, 5, 93, 3065, 8, 93, 10, 93, 12, 93, 3068, 9, 93, 3, 93, 3070, 8, 93, 1, 93, 1, 93, 1, 93, 1, 93, 3, 93, 3076, 8, 93, 1, 93, 3, 93, 3079, 8, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 3, 93, 3086, 8, 93, 1, 93, 1, 93, 1, 93, 1, 93, 5, 93, 3092, 8, 93, 10, 93, 12, 93, 3095, 9, 93, 3, 93, 3097, 8, 93, 1, 93, 1, 93, 1, 93, 1, 93, 5, 93, 3103, 8, 93, 10, 93, 12, 93, 3106, 9, 93, 3, 93, 3108, 8, 93, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 3, 94, 3117, 8, 94, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 3, 95, 3128, 8, 95, 1, 96, 1, 96, 1, 96, 3, 96, 3133, 8, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 5, 96, 3140, 8, 96, 10, 96, 12, 96, 3143, 9, 96, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 5, 97, 3153, 8, 97, 10, 97, 12, 97, 3156, 9, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 3, 97, 3170, 8, 97, 1, 98, 1, 98, 3, 98, 3174, 8, 98, 1, 98, 1, 98, 3, 98, 3178, 8, 98, 1, 98, 1, 98, 3, 98, 3182, 8, 98, 1, 98, 1, 98, 1, 98, 1, 98, 3, 98, 3188, 8, 98, 1, 98, 1, 98, 3, 98, 3192, 8, 98, 1, 98, 1, 98, 3, 98, 3196, 8, 98, 1, 98, 1, 98, 3, 98, 3200, 8, 98, 3, 98, 3202, 8, 98, 1, 99, 1, 99, 1, 99, 1, 99, 1, 100, 1, 100, 1, 100, 1, 100, 3, 100, 3212, 8, 100, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 3, 101, 3223, 8, 101, 1, 101, 1, 101, 3, 101, 3227, 8, 101, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 3, 102, 3234, 8, 102, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 3, 103, 3241, 8, 103, 1, 104, 1, 104, 1, 104, 5, 104, 3246, 8, 104, 10, 104, 12, 104, 3249, 9, 104, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 5, 105, 3257, 8, 105, 10, 105, 12, 105, 3260, 9, 105, 3, 105, 3262, 8, 105, 1, 105, 1, 105, 1, 105, 1, 105, 5, 105, 3268, 8, 105, 10, 105, 12, 105, 3271, 9, 105, 1, 105, 1, 105, 1, 106, 3, 106, 3276, 8, 106, 1, 106, 1, 106, 1, 107, 1, 107, 1, 107, 3, 107, 3283, 8, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 3, 107, 3299, 8, 107, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 4, 108, 3311, 8, 108, 11, 108, 12, 108, 3312, 1, 108, 3, 108, 3316, 8, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 4, 108, 3323, 8, 108, 11, 108, 12, 108, 3324, 1, 108, 3, 108, 3328, 8, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 5, 108, 3342, 8, 108, 10, 108, 12, 108, 3345, 9, 108, 1, 108, 3, 108, 3348, 8, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 5, 108, 3362, 8, 108, 10, 108, 12, 108, 3365, 9, 108, 1, 108, 1, 108, 1, 108, 3, 108, 3370, 8, 108, 1, 108, 1, 108, 5, 108, 3374, 8, 108, 10, 108, 12, 108, 3377, 9, 108, 1, 108, 3, 108, 3380, 8, 108, 1, 108, 1, 108, 1, 108, 1, 108, 3, 108, 3386, 8, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 3, 108, 3396, 8, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 3, 108, 3408, 8, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 3, 108, 3417, 8, 108, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 110, 1, 110, 1, 110, 1, 111, 1, 111, 1, 111, 4, 111, 3430, 8, 111, 11, 111, 12, 111, 3431, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 3, 112, 3440, 8, 112, 1, 113, 1, 113, 1, 113, 3, 113, 3445, 8, 113, 1, 113, 1, 113, 1, 114, 1, 114, 3, 114, 3451, 8, 114, 1, 115, 1, 115, 1, 115, 1, 115, 1, 115, 1, 115, 1, 115, 1, 115, 1, 115, 1, 115, 1, 115, 3, 115, 3464, 8, 115, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 3, 116, 3477, 8, 116, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 3, 117, 3490, 8, 117, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 3, 118, 3503, 8, 118, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 3, 119, 3510, 8, 119, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 3, 120, 3517, 8, 120, 1, 121, 1, 121, 1, 122, 1, 122, 1, 123, 1, 123, 1, 124, 1, 124, 1, 125, 1, 125, 3, 125, 3529, 8, 125, 1, 126, 1, 126, 1, 127, 1, 127, 1, 128, 1, 128, 1, 128, 5, 128, 3538, 8, 128, 10, 128, 12, 128, 3541, 9, 128, 1, 129, 1, 129, 1, 129, 3, 129, 3546, 8, 129, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 3, 130, 3553, 8, 130, 1, 131, 1, 131, 1, 131, 5, 131, 3558, 8, 131, 10, 131, 12, 131, 3561, 9, 131, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 3, 132, 3570, 8, 132, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 3, 133, 3577, 8, 133, 1, 134, 3, 134, 3580, 8, 134, 1, 134, 1, 134, 3, 134, 3584, 8, 134, 1, 134, 1, 134, 3, 134, 3588, 8, 134, 1, 134, 3, 134, 3591, 8, 134, 1, 135, 1, 135, 1, 135, 0, 7, 38, 78, 136, 140, 142, 172, 192, 136, 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, 166, 168, 170, 172, 174, 176, 178, 180, 182, 184, 186, 188, 190, 192, 194, 196, 198, 200, 202, 204, 206, 208, 210, 212, 214, 216, 218, 220, 222, 224, 226, 228, 230, 232, 234, 236, 238, 240, 242, 244, 246, 248, 250, 252, 254, 256, 258, 260, 262, 264, 266, 268, 270, 0, 38, 2, 0, 39, 39, 230, 230, 2, 0, 73, 73, 132, 132, 2, 0, 106, 106, 123, 123, 2, 0, 93, 93, 124, 124, 2, 0, 325, 325, 330, 330, 1, 0, 240, 241, 3, 0, 22, 22, 325, 325, 330, 330, 2, 0, 102, 102, 175, 175, 2, 0, 92, 92, 282, 282, 2, 0, 29, 29, 76, 76, 2, 0, 102, 102, 149, 149, 2, 0, 22, 22, 80, 80, 2, 0, 33, 33, 260, 260, 2, 0, 125, 125, 248, 248, 2, 0, 269, 269, 299, 299, 2, 0, 86, 86, 90, 90, 2, 0, 145, 145, 190, 190, 2, 0, 126, 126, 198, 198, 2, 0, 55, 55, 282, 282, 1, 0, 319, 320, 1, 0, 321, 323, 2, 0, 98, 98, 274, 274, 3, 0, 35, 35, 151, 151, 271, 271, 1, 0, 176, 179, 4, 0, 90, 90, 98, 98, 274, 274, 284, 284, 1, 0, 292, 294, 2, 0, 50, 50, 281, 281, 2, 0, 101, 101, 242, 242, 1, 0, 313, 318, 3, 0, 22, 22, 26, 26, 255, 255, 5, 0, 68, 68, 119, 119, 171, 172, 246, 246, 311, 311, 2, 0, 305, 305, 307, 307, 3, 0, 117, 117, 220, 220, 241, 241, 2, 0, 103, 103, 213, 213, 3, 0, 114, 114, 138, 138, 264, 264, 4, 0, 81, 81, 133, 133, 161, 161, 295, 295, 2, 0, 193, 193, 310, 310, 54, 0, 18, 22, 24, 24, 26, 27, 29, 33, 35, 35, 37, 39, 42, 50, 52, 53, 57, 57, 66, 68, 70, 73, 75, 76, 78, 79, 81, 83, 86, 88, 90, 90, 93, 93, 96, 96, 99, 103, 105, 105, 108, 114, 117, 117, 119, 122, 124, 125, 127, 127, 130, 130, 132, 133, 135, 136, 138, 138, 145, 152, 154, 154, 156, 156, 158, 158, 161, 172, 174, 181, 185, 190, 192, 194, 197, 197, 199, 214, 216, 221, 223, 234, 236, 238, 240, 248, 250, 260, 262, 265, 267, 272, 275, 277, 279, 281, 283, 285, 287, 290, 292, 296, 298, 300, 303, 304, 306, 312, 4158, 0, 275, 1, 0, 0, 0, 2, 280, 1, 0, 0, 0, 4, 282, 1, 0, 0, 0, 6, 286, 1, 0, 0, 0, 8, 290, 1, 0, 0, 0, 10, 294, 1, 0, 0, 0, 12, 298, 1, 0, 0, 0, 14, 302, 1, 0, 0, 0, 16, 1216, 1, 0, 0, 0, 18, 1219, 1, 0, 0, 0, 20, 1223, 1, 0, 0, 0, 22, 1233, 1, 0, 0, 0, 24, 1237, 1, 0, 0, 0, 26, 1256, 1, 0, 0, 0, 28, 1258, 1, 0, 0, 0, 30, 1272, 1, 0, 0, 0, 32, 1276, 1, 0, 0, 0, 34, 1284, 1, 0, 0, 0, 36, 1290, 1, 0, 0, 0, 38, 1325, 1, 0, 0, 0, 40, 1361, 1, 0, 0, 0, 42, 1365, 1, 0, 0, 0, 44, 1374, 1, 0, 0, 0, 46, 1412, 1, 0, 0, 0, 48, 1415, 1, 0, 0, 0, 50, 1418, 1, 0, 0, 0, 52, 1427, 1, 0, 0, 0, 54, 1437, 1, 0, 0, 0, 56, 1485, 1, 0, 0, 0, 58, 1509, 1, 0, 0, 0, 60, 1511, 1, 0, 0, 0, 62, 1518, 1, 0, 0, 0, 64, 1540, 1, 0, 0, 0, 66, 1549, 1, 0, 0, 0, 68, 1567, 1, 0, 0, 0, 70, 1569, 1, 0, 0, 0, 72, 1571, 1, 0, 0, 0, 74, 1575, 1, 0, 0, 0, 76, 1577, 1, 0, 0, 0, 78, 1579, 1, 0, 0, 0, 80, 1632, 1, 0, 0, 0, 82, 1634, 1, 0, 0, 0, 84, 1654, 1, 0, 0, 0, 86, 1656, 1, 0, 0, 0, 88, 1734, 1, 0, 0, 0, 90, 1757, 1, 0, 0, 0, 92, 1778, 1, 0, 0, 0, 94, 1780, 1, 0, 0, 0, 96, 1793, 1, 0, 0, 0, 98, 1797, 1, 0, 0, 0, 100, 1807, 1, 0, 0, 0, 102, 1818, 1, 0, 0, 0, 104, 1829, 1, 0, 0, 0, 106, 1853, 1, 0, 0, 0, 108, 1918, 1, 0, 0, 0, 110, 1997, 1, 0, 0, 0, 112, 2024, 1, 0, 0, 0, 114, 2026, 1, 0, 0, 0, 116, 2033, 1, 0, 0, 0, 118, 2045, 1, 0, 0, 0, 120, 2047, 1, 0, 0, 0, 122, 2075, 1, 0, 0, 0, 124, 2082, 1, 0, 0, 0, 126, 2147, 1, 0, 0, 0, 128, 2167, 1, 0, 0, 0, 130, 2169, 1, 0, 0, 0, 132, 2173, 1, 0, 0, 0, 134, 2186, 1, 0, 0, 0, 136, 2195, 1, 0, 0, 0, 138, 2269, 1, 0, 0, 0, 140, 2275, 1, 0, 0, 0, 142, 2768, 1, 0, 0, 0, 144, 2783, 1, 0, 0, 0, 146, 2801, 1, 0, 0, 0, 148, 2806, 1, 0, 0, 0, 150, 2811, 1, 0, 0, 0, 152, 2819, 1, 0, 0, 0, 154, 2832, 1, 0, 0, 0, 156, 2840, 1, 0, 0, 0, 158, 2853, 1, 0, 0, 0, 160, 2855, 1, 0, 0, 0, 162, 2863, 1, 0, 0, 0, 164, 2865, 1, 0, 0, 0, 166, 2867, 1, 0, 0, 0, 168, 2869, 1, 0, 0, 0, 170, 2879, 1, 0, 0, 0, 172, 2952, 1, 0, 0, 0, 174, 2970, 1, 0, 0, 0, 176, 2974, 1, 0, 0, 0, 178, 2976, 1, 0, 0, 0, 180, 2981, 1, 0, 0, 0, 182, 3050, 1, 0, 0, 0, 184, 3052, 1, 0, 0, 0, 186, 3069, 1, 0, 0, 0, 188, 3109, 1, 0, 0, 0, 190, 3127, 1, 0, 0, 0, 192, 3129, 1, 0, 0, 0, 194, 3169, 1, 0, 0, 0, 196, 3201, 1, 0, 0, 0, 198, 3203, 1, 0, 0, 0, 200, 3211, 1, 0, 0, 0, 202, 3226, 1, 0, 0, 0, 204, 3233, 1, 0, 0, 0, 206, 3240, 1, 0, 0, 0, 208, 3242, 1, 0, 0, 0, 210, 3250, 1, 0, 0, 0, 212, 3275, 1, 0, 0, 0, 214, 3298, 1, 0, 0, 0, 216, 3416, 1, 0, 0, 0, 218, 3418, 1, 0, 0, 0, 220, 3423, 1, 0, 0, 0, 222, 3429, 1, 0, 0, 0, 224, 3439, 1, 0, 0, 0, 226, 3444, 1, 0, 0, 0, 228, 3450, 1, 0, 0, 0, 230, 3463, 1, 0, 0, 0, 232, 3476, 1, 0, 0, 0, 234, 3489, 1, 0, 0, 0, 236, 3502, 1, 0, 0, 0, 238, 3509, 1, 0, 0, 0, 240, 3516, 1, 0, 0, 0, 242, 3518, 1, 0, 0, 0, 244, 3520, 1, 0, 0, 0, 246, 3522, 1, 0, 0, 0, 248, 3524, 1, 0, 0, 0, 250, 3528, 1, 0, 0, 0, 252, 3530, 1, 0, 0, 0, 254, 3532, 1, 0, 0, 0, 256, 3534, 1, 0, 0, 0, 258, 3545, 1, 0, 0, 0, 260, 3552, 1, 0, 0, 0, 262, 3554, 1, 0, 0, 0, 264, 3569, 1, 0, 0, 0, 266, 3576, 1, 0, 0, 0, 268, 3590, 1, 0, 0, 0, 270, 3592, 1, 0, 0, 0, 272, 274, 3, 2, 1, 0, 273, 272, 1, 0, 0, 0, 274, 277, 1, 0, 0, 0, 275, 273, 1, 0, 0, 0, 275, 276, 1, 0, 0, 0, 276, 278, 1, 0, 0, 0, 277, 275, 1, 0, 0, 0, 278, 279, 5, 0, 0, 1, 279, 1, 1, 0, 0, 0, 280, 281, 3, 4, 2, 0, 281, 3, 1, 0, 0, 0, 282, 284, 3, 16, 8, 0, 283, 285, 5, 326, 0, 0, 284, 283, 1, 0, 0, 0, 284, 285, 1, 0, 0, 0, 285, 5, 1, 0, 0, 0, 286, 288, 3, 134, 67, 0, 287, 289, 5, 326, 0, 0, 288, 287, 1, 0, 0, 0, 288, 289, 1, 0, 0, 0, 289, 7, 1, 0, 0, 0, 290, 292, 3, 208, 104, 0, 291, 293, 5, 326, 0, 0, 292, 291, 1, 0, 0, 0, 292, 293, 1, 0, 0, 0, 293, 9, 1, 0, 0, 0, 294, 296, 3, 172, 86, 0, 295, 297, 5, 326, 0, 0, 296, 295, 1, 0, 0, 0, 296, 297, 1, 0, 0, 0, 297, 11, 1, 0, 0, 0, 298, 300, 3, 192, 96, 0, 299, 301, 5, 326, 0, 0, 300, 299, 1, 0, 0, 0, 300, 301, 1, 0, 0, 0, 301, 13, 1, 0, 0, 0, 302, 303, 3, 210, 105, 0, 303, 304, 5, 0, 0, 1, 304, 15, 1, 0, 0, 0, 305, 1217, 3, 18, 9, 0, 306, 307, 5, 289, 0, 0, 307, 1217, 3, 238, 119, 0, 308, 309, 5, 54, 0, 0, 309, 313, 5, 42, 0, 0, 310, 311, 5, 120, 0, 0, 311, 312, 5, 183, 0, 0, 312, 314, 5, 95, 0, 0, 313, 310, 1, 0, 0, 0, 313, 314, 1, 0, 0, 0, 314, 315, 1, 0, 0, 0, 315, 316, 3, 244, 122, 0, 316, 317, 5, 291, 0, 0, 317, 320, 3, 266, 133, 0, 318, 319, 5, 47, 0, 0, 319, 321, 3, 162, 81, 0, 320, 318, 1, 0, 0, 0, 320, 321, 1, 0, 0, 0, 321, 324, 1, 0, 0, 0, 322, 323, 5, 31, 0, 0, 323, 325, 3, 260, 130, 0, 324, 322, 1, 0, 0, 0, 324, 325, 1, 0, 0, 0, 325, 328, 1, 0, 0, 0, 326, 327, 5, 305, 0, 0, 327, 329, 3, 30, 15, 0, 328, 326, 1, 0, 0, 0, 328, 329, 1, 0, 0, 0, 329, 1217, 1, 0, 0, 0, 330, 331, 5, 84, 0, 0, 331, 334, 5, 42, 0, 0, 332, 333, 5, 120, 0, 0, 333, 335, 5, 95, 0, 0, 334, 332, 1, 0, 0, 0, 334, 335, 1, 0, 0, 0, 335, 336, 1, 0, 0, 0, 336, 338, 3, 242, 121, 0, 337, 339, 7, 0, 0, 0, 338, 337, 1, 0, 0, 0, 338, 339, 1, 0, 0, 0, 339, 1217, 1, 0, 0, 0, 340, 341, 5, 54, 0, 0, 341, 345, 5, 244, 0, 0, 342, 343, 5, 120, 0, 0, 343, 344, 5, 183, 0, 0, 344, 346, 5, 95, 0, 0, 345, 342, 1, 0, 0, 0, 345, 346, 1, 0, 0, 0, 346, 347, 1, 0, 0, 0, 347, 350, 3, 240, 120, 0, 348, 349, 5, 31, 0, 0, 349, 351, 3, 260, 130, 0, 350, 348, 1, 0, 0, 0, 350, 351, 1, 0, 0, 0, 351, 354, 1, 0, 0, 0, 352, 353, 5, 305, 0, 0, 353, 355, 3, 30, 15, 0, 354, 352, 1, 0, 0, 0, 354, 355, 1, 0, 0, 0, 355, 1217, 1, 0, 0, 0, 356, 357, 5, 84, 0, 0, 357, 360, 5, 244, 0, 0, 358, 359, 5, 120, 0, 0, 359, 361, 5, 95, 0, 0, 360, 358, 1, 0, 0, 0, 360, 361, 1, 0, 0, 0, 361, 362, 1, 0, 0, 0, 362, 364, 3, 238, 119, 0, 363, 365, 7, 0, 0, 0, 364, 363, 1, 0, 0, 0, 364, 365, 1, 0, 0, 0, 365, 1217, 1, 0, 0, 0, 366, 367, 5, 23, 0, 0, 367, 368, 5, 244, 0, 0, 368, 369, 3, 238, 119, 0, 369, 370, 5, 224, 0, 0, 370, 371, 5, 270, 0, 0, 371, 372, 3, 240, 120, 0, 372, 1217, 1, 0, 0, 0, 373, 374, 5, 23, 0, 0, 374, 375, 5, 244, 0, 0, 375, 376, 3, 238, 119, 0, 376, 377, 5, 252, 0, 0, 377, 378, 5, 31, 0, 0, 378, 379, 3, 260, 130, 0, 379, 1217, 1, 0, 0, 0, 380, 383, 5, 54, 0, 0, 381, 382, 5, 195, 0, 0, 382, 384, 5, 227, 0, 0, 383, 381, 1, 0, 0, 0, 383, 384, 1, 0, 0, 0, 384, 385, 1, 0, 0, 0, 385, 389, 5, 261, 0, 0, 386, 387, 5, 120, 0, 0, 387, 388, 5, 183, 0, 0, 388, 390, 5, 95, 0, 0, 389, 386, 1, 0, 0, 0, 389, 390, 1, 0, 0, 0, 390, 391, 1, 0, 0, 0, 391, 393, 3, 232, 116, 0, 392, 394, 3, 100, 50, 0, 393, 392, 1, 0, 0, 0, 393, 394, 1, 0, 0, 0, 394, 397, 1, 0, 0, 0, 395, 396, 5, 47, 0, 0, 396, 398, 3, 162, 81, 0, 397, 395, 1, 0, 0, 0, 397, 398, 1, 0, 0, 0, 398, 401, 1, 0, 0, 0, 399, 400, 5, 305, 0, 0, 400, 402, 3, 30, 15, 0, 401, 399, 1, 0, 0, 0, 401, 402, 1, 0, 0, 0, 402, 403, 1, 0, 0, 0, 403, 409, 5, 28, 0, 0, 404, 410, 3, 18, 9, 0, 405, 406, 5, 1, 0, 0, 406, 407, 3, 18, 9, 0, 407, 408, 5, 2, 0, 0, 408, 410, 1, 0, 0, 0, 409, 404, 1, 0, 0, 0, 409, 405, 1, 0, 0, 0, 410, 416, 1, 0, 0, 0, 411, 413, 5, 305, 0, 0, 412, 414, 5, 180, 0, 0, 413, 412, 1, 0, 0, 0, 413, 414, 1, 0, 0, 0, 414, 415, 1, 0, 0, 0, 415, 417, 5, 66, 0, 0, 416, 411, 1, 0, 0, 0, 416, 417, 1, 0, 0, 0, 417, 1217, 1, 0, 0, 0, 418, 421, 5, 54, 0, 0, 419, 420, 5, 195, 0, 0, 420, 422, 5, 227, 0, 0, 421, 419, 1, 0, 0, 0, 421, 422, 1, 0, 0, 0, 422, 423, 1, 0, 0, 0, 423, 427, 5, 261, 0, 0, 424, 425, 5, 120, 0, 0, 425, 426, 5, 183, 0, 0, 426, 428, 5, 95, 0, 0, 427, 424, 1, 0, 0, 0, 427, 428, 1, 0, 0, 0, 428, 429, 1, 0, 0, 0, 429, 430, 3, 232, 116, 0, 430, 431, 5, 1, 0, 0, 431, 436, 3, 26, 13, 0, 432, 433, 5, 3, 0, 0, 433, 435, 3, 26, 13, 0, 434, 432, 1, 0, 0, 0, 435, 438, 1, 0, 0, 0, 436, 434, 1, 0, 0, 0, 436, 437, 1, 0, 0, 0, 437, 439, 1, 0, 0, 0, 438, 436, 1, 0, 0, 0, 439, 442, 5, 2, 0, 0, 440, 441, 5, 47, 0, 0, 441, 443, 3, 162, 81, 0, 442, 440, 1, 0, 0, 0, 442, 443, 1, 0, 0, 0, 443, 446, 1, 0, 0, 0, 444, 445, 5, 305, 0, 0, 445, 447, 3, 30, 15, 0, 446, 444, 1, 0, 0, 0, 446, 447, 1, 0, 0, 0, 447, 1217, 1, 0, 0, 0, 448, 449, 5, 84, 0, 0, 449, 452, 5, 261, 0, 0, 450, 451, 5, 120, 0, 0, 451, 453, 5, 95, 0, 0, 452, 450, 1, 0, 0, 0, 452, 453, 1, 0, 0, 0, 453, 454, 1, 0, 0, 0, 454, 1217, 3, 230, 115, 0, 455, 456, 5, 128, 0, 0, 456, 457, 5, 131, 0, 0, 457, 459, 3, 230, 115, 0, 458, 460, 3, 102, 51, 0, 459, 458, 1, 0, 0, 0, 459, 460, 1, 0, 0, 0, 460, 461, 1, 0, 0, 0, 461, 462, 3, 18, 9, 0, 462, 1217, 1, 0, 0, 0, 463, 464, 5, 74, 0, 0, 464, 465, 5, 106, 0, 0, 465, 467, 3, 230, 115, 0, 466, 468, 3, 46, 23, 0, 467, 466, 1, 0, 0, 0, 467, 468, 1, 0, 0, 0, 468, 1217, 1, 0, 0, 0, 469, 470, 5, 275, 0, 0, 470, 471, 5, 261, 0, 0, 471, 1217, 3, 230, 115, 0, 472, 473, 5, 47, 0, 0, 473, 474, 5, 191, 0, 0, 474, 475, 5, 261, 0, 0, 475, 476, 3, 230, 115, 0, 476, 479, 5, 134, 0, 0, 477, 480, 3, 162, 81, 0, 478, 480, 5, 184, 0, 0, 479, 477, 1, 0, 0, 0, 479, 478, 1, 0, 0, 0, 480, 1217, 1, 0, 0, 0, 481, 482, 5, 47, 0, 0, 482, 483, 5, 191, 0, 0, 483, 484, 5, 300, 0, 0, 484, 485, 3, 234, 117, 0, 485, 488, 5, 134, 0, 0, 486, 489, 3, 162, 81, 0, 487, 489, 5, 184, 0, 0, 488, 486, 1, 0, 0, 0, 488, 487, 1, 0, 0, 0, 489, 1217, 1, 0, 0, 0, 490, 491, 5, 47, 0, 0, 491, 492, 5, 191, 0, 0, 492, 493, 5, 45, 0, 0, 493, 494, 3, 250, 125, 0, 494, 497, 5, 134, 0, 0, 495, 498, 3, 162, 81, 0, 496, 498, 5, 184, 0, 0, 497, 495, 1, 0, 0, 0, 497, 496, 1, 0, 0, 0, 498, 1217, 1, 0, 0, 0, 499, 500, 5, 23, 0, 0, 500, 503, 5, 261, 0, 0, 501, 502, 5, 120, 0, 0, 502, 504, 5, 95, 0, 0, 503, 501, 1, 0, 0, 0, 503, 504, 1, 0, 0, 0, 504, 505, 1, 0, 0, 0, 505, 506, 3, 230, 115, 0, 506, 507, 5, 224, 0, 0, 507, 508, 5, 270, 0, 0, 508, 509, 3, 232, 116, 0, 509, 1217, 1, 0, 0, 0, 510, 511, 5, 23, 0, 0, 511, 514, 5, 261, 0, 0, 512, 513, 5, 120, 0, 0, 513, 515, 5, 95, 0, 0, 514, 512, 1, 0, 0, 0, 514, 515, 1, 0, 0, 0, 515, 516, 1, 0, 0, 0, 516, 517, 3, 230, 115, 0, 517, 518, 5, 19, 0, 0, 518, 522, 5, 45, 0, 0, 519, 520, 5, 120, 0, 0, 520, 521, 5, 183, 0, 0, 521, 523, 5, 95, 0, 0, 522, 519, 1, 0, 0, 0, 522, 523, 1, 0, 0, 0, 523, 524, 1, 0, 0, 0, 524, 525, 3, 28, 14, 0, 525, 1217, 1, 0, 0, 0, 526, 527, 5, 23, 0, 0, 527, 530, 5, 261, 0, 0, 528, 529, 5, 120, 0, 0, 529, 531, 5, 95, 0, 0, 530, 528, 1, 0, 0, 0, 530, 531, 1, 0, 0, 0, 531, 532, 1, 0, 0, 0, 532, 533, 3, 230, 115, 0, 533, 534, 5, 224, 0, 0, 534, 537, 5, 45, 0, 0, 535, 536, 5, 120, 0, 0, 536, 538, 5, 95, 0, 0, 537, 535, 1, 0, 0, 0, 537, 538, 1, 0, 0, 0, 538, 539, 1, 0, 0, 0, 539, 540, 3, 250, 125, 0, 540, 541, 5, 270, 0, 0, 541, 542, 3, 254, 127, 0, 542, 1217, 1, 0, 0, 0, 543, 544, 5, 23, 0, 0, 544, 547, 5, 261, 0, 0, 545, 546, 5, 120, 0, 0, 546, 548, 5, 95, 0, 0, 547, 545, 1, 0, 0, 0, 547, 548, 1, 0, 0, 0, 548, 549, 1, 0, 0, 0, 549, 550, 3, 230, 115, 0, 550, 551, 5, 84, 0, 0, 551, 554, 5, 45, 0, 0, 552, 553, 5, 120, 0, 0, 553, 555, 5, 95, 0, 0, 554, 552, 1, 0, 0, 0, 554, 555, 1, 0, 0, 0, 555, 556, 1, 0, 0, 0, 556, 557, 3, 250, 125, 0, 557, 1217, 1, 0, 0, 0, 558, 559, 5, 23, 0, 0, 559, 562, 5, 261, 0, 0, 560, 561, 5, 120, 0, 0, 561, 563, 5, 95, 0, 0, 562, 560, 1, 0, 0, 0, 562, 563, 1, 0, 0, 0, 563, 564, 1, 0, 0, 0, 564, 565, 3, 230, 115, 0, 565, 566, 5, 23, 0, 0, 566, 567, 5, 45, 0, 0, 567, 568, 3, 250, 125, 0, 568, 569, 5, 252, 0, 0, 569, 570, 5, 66, 0, 0, 570, 571, 5, 277, 0, 0, 571, 572, 3, 172, 86, 0, 572, 1217, 1, 0, 0, 0, 573, 574, 5, 23, 0, 0, 574, 577, 5, 261, 0, 0, 575, 576, 5, 120, 0, 0, 576, 578, 5, 95, 0, 0, 577, 575, 1, 0, 0, 0, 577, 578, 1, 0, 0, 0, 578, 579, 1, 0, 0, 0, 579, 580, 3, 230, 115, 0, 580, 581, 5, 23, 0, 0, 581, 582, 5, 45, 0, 0, 582, 583, 3, 250, 125, 0, 583, 584, 5, 84, 0, 0, 584, 585, 5, 183, 0, 0, 585, 586, 5, 184, 0, 0, 586, 1217, 1, 0, 0, 0, 587, 588, 5, 23, 0, 0, 588, 589, 5, 261, 0, 0, 589, 590, 3, 230, 115, 0, 590, 591, 5, 252, 0, 0, 591, 592, 5, 31, 0, 0, 592, 593, 3, 260, 130, 0, 593, 1217, 1, 0, 0, 0, 594, 595, 5, 23, 0, 0, 595, 596, 5, 261, 0, 0, 596, 597, 3, 230, 115, 0, 597, 598, 5, 252, 0, 0, 598, 599, 5, 217, 0, 0, 599, 600, 3, 32, 16, 0, 600, 1217, 1, 0, 0, 0, 601, 602, 5, 23, 0, 0, 602, 603, 5, 261, 0, 0, 603, 604, 3, 230, 115, 0, 604, 605, 5, 94, 0, 0, 605, 618, 3, 246, 123, 0, 606, 615, 5, 1, 0, 0, 607, 612, 3, 204, 102, 0, 608, 609, 5, 3, 0, 0, 609, 611, 3, 204, 102, 0, 610, 608, 1, 0, 0, 0, 611, 614, 1, 0, 0, 0, 612, 610, 1, 0, 0, 0, 612, 613, 1, 0, 0, 0, 613, 616, 1, 0, 0, 0, 614, 612, 1, 0, 0, 0, 615, 607, 1, 0, 0, 0, 615, 616, 1, 0, 0, 0, 616, 617, 1, 0, 0, 0, 617, 619, 5, 2, 0, 0, 618, 606, 1, 0, 0, 0, 618, 619, 1, 0, 0, 0, 619, 621, 1, 0, 0, 0, 620, 622, 3, 46, 23, 0, 621, 620, 1, 0, 0, 0, 621, 622, 1, 0, 0, 0, 622, 1217, 1, 0, 0, 0, 623, 624, 5, 24, 0, 0, 624, 627, 3, 230, 115, 0, 625, 626, 5, 305, 0, 0, 626, 628, 3, 30, 15, 0, 627, 625, 1, 0, 0, 0, 627, 628, 1, 0, 0, 0, 628, 1217, 1, 0, 0, 0, 629, 632, 5, 54, 0, 0, 630, 631, 5, 195, 0, 0, 631, 633, 5, 227, 0, 0, 632, 630, 1, 0, 0, 0, 632, 633, 1, 0, 0, 0, 633, 634, 1, 0, 0, 0, 634, 635, 5, 168, 0, 0, 635, 639, 5, 300, 0, 0, 636, 637, 5, 120, 0, 0, 637, 638, 5, 183, 0, 0, 638, 640, 5, 95, 0, 0, 639, 636, 1, 0, 0, 0, 639, 640, 1, 0, 0, 0, 640, 641, 1, 0, 0, 0, 641, 645, 3, 236, 118, 0, 642, 643, 5, 110, 0, 0, 643, 644, 5, 209, 0, 0, 644, 646, 3, 168, 84, 0, 645, 642, 1, 0, 0, 0, 645, 646, 1, 0, 0, 0, 646, 649, 1, 0, 0, 0, 647, 648, 5, 47, 0, 0, 648, 650, 3, 162, 81, 0, 649, 647, 1, 0, 0, 0, 649, 650, 1, 0, 0, 0, 650, 653, 1, 0, 0, 0, 651, 652, 5, 305, 0, 0, 652, 654, 3, 30, 15, 0, 653, 651, 1, 0, 0, 0, 653, 654, 1, 0, 0, 0, 654, 655, 1, 0, 0, 0, 655, 656, 5, 28, 0, 0, 656, 657, 3, 18, 9, 0, 657, 1217, 1, 0, 0, 0, 658, 661, 5, 54, 0, 0, 659, 660, 5, 195, 0, 0, 660, 662, 5, 227, 0, 0, 661, 659, 1, 0, 0, 0, 661, 662, 1, 0, 0, 0, 662, 663, 1, 0, 0, 0, 663, 664, 5, 300, 0, 0, 664, 667, 3, 236, 118, 0, 665, 666, 5, 47, 0, 0, 666, 668, 3, 162, 81, 0, 667, 665, 1, 0, 0, 0, 667, 668, 1, 0, 0, 0, 668, 671, 1, 0, 0, 0, 669, 670, 5, 247, 0, 0, 670, 672, 7, 1, 0, 0, 671, 669, 1, 0, 0, 0, 671, 672, 1, 0, 0, 0, 672, 675, 1, 0, 0, 0, 673, 674, 5, 305, 0, 0, 674, 676, 3, 30, 15, 0, 675, 673, 1, 0, 0, 0, 675, 676, 1, 0, 0, 0, 676, 677, 1, 0, 0, 0, 677, 678, 5, 28, 0, 0, 678, 679, 3, 18, 9, 0, 679, 1217, 1, 0, 0, 0, 680, 681, 5, 223, 0, 0, 681, 682, 5, 168, 0, 0, 682, 683, 5, 300, 0, 0, 683, 1217, 3, 234, 117, 0, 684, 685, 5, 84, 0, 0, 685, 686, 5, 168, 0, 0, 686, 689, 5, 300, 0, 0, 687, 688, 5, 120, 0, 0, 688, 690, 5, 95, 0, 0, 689, 687, 1, 0, 0, 0, 689, 690, 1, 0, 0, 0, 690, 691, 1, 0, 0, 0, 691, 1217, 3, 234, 117, 0, 692, 693, 5, 23, 0, 0, 693, 694, 5, 168, 0, 0, 694, 697, 5, 300, 0, 0, 695, 696, 5, 120, 0, 0, 696, 698, 5, 95, 0, 0, 697, 695, 1, 0, 0, 0, 697, 698, 1, 0, 0, 0, 698, 699, 1, 0, 0, 0, 699, 700, 3, 234, 117, 0, 700, 701, 5, 224, 0, 0, 701, 702, 5, 270, 0, 0, 702, 703, 3, 236, 118, 0, 703, 1217, 1, 0, 0, 0, 704, 705, 5, 23, 0, 0, 705, 706, 5, 168, 0, 0, 706, 707, 5, 300, 0, 0, 707, 708, 3, 234, 117, 0, 708, 709, 5, 252, 0, 0, 709, 710, 5, 217, 0, 0, 710, 711, 3, 32, 16, 0, 711, 1217, 1, 0, 0, 0, 712, 713, 5, 84, 0, 0, 713, 716, 5, 300, 0, 0, 714, 715, 5, 120, 0, 0, 715, 717, 5, 95, 0, 0, 716, 714, 1, 0, 0, 0, 716, 717, 1, 0, 0, 0, 717, 718, 1, 0, 0, 0, 718, 1217, 3, 234, 117, 0, 719, 720, 5, 23, 0, 0, 720, 721, 5, 300, 0, 0, 721, 722, 3, 234, 117, 0, 722, 723, 5, 224, 0, 0, 723, 724, 5, 270, 0, 0, 724, 725, 3, 236, 118, 0, 725, 1217, 1, 0, 0, 0, 726, 727, 5, 23, 0, 0, 727, 728, 5, 300, 0, 0, 728, 729, 3, 234, 117, 0, 729, 730, 5, 252, 0, 0, 730, 731, 5, 31, 0, 0, 731, 732, 3, 260, 130, 0, 732, 1217, 1, 0, 0, 0, 733, 734, 5, 37, 0, 0, 734, 735, 3, 246, 123, 0, 735, 744, 5, 1, 0, 0, 736, 741, 3, 204, 102, 0, 737, 738, 5, 3, 0, 0, 738, 740, 3, 204, 102, 0, 739, 737, 1, 0, 0, 0, 740, 743, 1, 0, 0, 0, 741, 739, 1, 0, 0, 0, 741, 742, 1, 0, 0, 0, 742, 745, 1, 0, 0, 0, 743, 741, 1, 0, 0, 0, 744, 736, 1, 0, 0, 0, 744, 745, 1, 0, 0, 0, 745, 746, 1, 0, 0, 0, 746, 747, 5, 2, 0, 0, 747, 1217, 1, 0, 0, 0, 748, 751, 5, 54, 0, 0, 749, 750, 5, 195, 0, 0, 750, 752, 5, 227, 0, 0, 751, 749, 1, 0, 0, 0, 751, 752, 1, 0, 0, 0, 752, 753, 1, 0, 0, 0, 753, 1217, 3, 210, 105, 0, 754, 755, 5, 84, 0, 0, 755, 758, 5, 108, 0, 0, 756, 757, 5, 120, 0, 0, 757, 759, 5, 95, 0, 0, 758, 756, 1, 0, 0, 0, 758, 759, 1, 0, 0, 0, 759, 760, 1, 0, 0, 0, 760, 761, 3, 246, 123, 0, 761, 770, 5, 1, 0, 0, 762, 767, 3, 212, 106, 0, 763, 764, 5, 3, 0, 0, 764, 766, 3, 212, 106, 0, 765, 763, 1, 0, 0, 0, 766, 769, 1, 0, 0, 0, 767, 765, 1, 0, 0, 0, 767, 768, 1, 0, 0, 0, 768, 771, 1, 0, 0, 0, 769, 767, 1, 0, 0, 0, 770, 762, 1, 0, 0, 0, 770, 771, 1, 0, 0, 0, 771, 772, 1, 0, 0, 0, 772, 773, 5, 2, 0, 0, 773, 1217, 1, 0, 0, 0, 774, 775, 5, 54, 0, 0, 775, 776, 5, 236, 0, 0, 776, 780, 3, 266, 133, 0, 777, 778, 5, 305, 0, 0, 778, 779, 5, 20, 0, 0, 779, 781, 3, 258, 129, 0, 780, 777, 1, 0, 0, 0, 780, 781, 1, 0, 0, 0, 781, 784, 1, 0, 0, 0, 782, 783, 5, 123, 0, 0, 783, 785, 3, 242, 121, 0, 784, 782, 1, 0, 0, 0, 784, 785, 1, 0, 0, 0, 785, 1217, 1, 0, 0, 0, 786, 787, 5, 84, 0, 0, 787, 788, 5, 236, 0, 0, 788, 791, 3, 266, 133, 0, 789, 790, 5, 123, 0, 0, 790, 792, 3, 242, 121, 0, 791, 789, 1, 0, 0, 0, 791, 792, 1, 0, 0, 0, 792, 1217, 1, 0, 0, 0, 793, 794, 5, 111, 0, 0, 794, 799, 3, 264, 132, 0, 795, 796, 5, 3, 0, 0, 796, 798, 3, 264, 132, 0, 797, 795, 1, 0, 0, 0, 798, 801, 1, 0, 0, 0, 799, 797, 1, 0, 0, 0, 799, 800, 1, 0, 0, 0, 800, 802, 1, 0, 0, 0, 801, 799, 1, 0, 0, 0, 802, 803, 5, 270, 0, 0, 803, 808, 3, 260, 130, 0, 804, 805, 5, 3, 0, 0, 805, 807, 3, 260, 130, 0, 806, 804, 1, 0, 0, 0, 807, 810, 1, 0, 0, 0, 808, 806, 1, 0, 0, 0, 808, 809, 1, 0, 0, 0, 809, 814, 1, 0, 0, 0, 810, 808, 1, 0, 0, 0, 811, 812, 5, 305, 0, 0, 812, 813, 5, 20, 0, 0, 813, 815, 5, 194, 0, 0, 814, 811, 1, 0, 0, 0, 814, 815, 1, 0, 0, 0, 815, 819, 1, 0, 0, 0, 816, 817, 5, 112, 0, 0, 817, 818, 5, 36, 0, 0, 818, 820, 3, 258, 129, 0, 819, 816, 1, 0, 0, 0, 819, 820, 1, 0, 0, 0, 820, 823, 1, 0, 0, 0, 821, 822, 5, 123, 0, 0, 822, 824, 3, 242, 121, 0, 823, 821, 1, 0, 0, 0, 823, 824, 1, 0, 0, 0, 824, 1217, 1, 0, 0, 0, 825, 836, 5, 111, 0, 0, 826, 831, 3, 264, 132, 0, 827, 828, 5, 3, 0, 0, 828, 830, 3, 264, 132, 0, 829, 827, 1, 0, 0, 0, 830, 833, 1, 0, 0, 0, 831, 829, 1, 0, 0, 0, 831, 832, 1, 0, 0, 0, 832, 837, 1, 0, 0, 0, 833, 831, 1, 0, 0, 0, 834, 835, 5, 22, 0, 0, 835, 837, 5, 216, 0, 0, 836, 826, 1, 0, 0, 0, 836, 834, 1, 0, 0, 0, 837, 838, 1, 0, 0, 0, 838, 839, 5, 191, 0, 0, 839, 840, 3, 226, 113, 0, 840, 841, 5, 270, 0, 0, 841, 845, 3, 260, 130, 0, 842, 843, 5, 305, 0, 0, 843, 844, 5, 111, 0, 0, 844, 846, 5, 194, 0, 0, 845, 842, 1, 0, 0, 0, 845, 846, 1, 0, 0, 0, 846, 1217, 1, 0, 0, 0, 847, 851, 5, 234, 0, 0, 848, 849, 5, 20, 0, 0, 849, 850, 5, 194, 0, 0, 850, 852, 5, 104, 0, 0, 851, 848, 1, 0, 0, 0, 851, 852, 1, 0, 0, 0, 852, 853, 1, 0, 0, 0, 853, 858, 3, 264, 132, 0, 854, 855, 5, 3, 0, 0, 855, 857, 3, 264, 132, 0, 856, 854, 1, 0, 0, 0, 857, 860, 1, 0, 0, 0, 858, 856, 1, 0, 0, 0, 858, 859, 1, 0, 0, 0, 859, 861, 1, 0, 0, 0, 860, 858, 1, 0, 0, 0, 861, 862, 5, 106, 0, 0, 862, 867, 3, 260, 130, 0, 863, 864, 5, 3, 0, 0, 864, 866, 3, 260, 130, 0, 865, 863, 1, 0, 0, 0, 866, 869, 1, 0, 0, 0, 867, 865, 1, 0, 0, 0, 867, 868, 1, 0, 0, 0, 868, 873, 1, 0, 0, 0, 869, 867, 1, 0, 0, 0, 870, 871, 5, 112, 0, 0, 871, 872, 5, 36, 0, 0, 872, 874, 3, 258, 129, 0, 873, 870, 1, 0, 0, 0, 873, 874, 1, 0, 0, 0, 874, 877, 1, 0, 0, 0, 875, 876, 5, 123, 0, 0, 876, 878, 3, 242, 121, 0, 877, 875, 1, 0, 0, 0, 877, 878, 1, 0, 0, 0, 878, 1217, 1, 0, 0, 0, 879, 883, 5, 234, 0, 0, 880, 881, 5, 111, 0, 0, 881, 882, 5, 194, 0, 0, 882, 884, 5, 104, 0, 0, 883, 880, 1, 0, 0, 0, 883, 884, 1, 0, 0, 0, 884, 895, 1, 0, 0, 0, 885, 890, 3, 264, 132, 0, 886, 887, 5, 3, 0, 0, 887, 889, 3, 264, 132, 0, 888, 886, 1, 0, 0, 0, 889, 892, 1, 0, 0, 0, 890, 888, 1, 0, 0, 0, 890, 891, 1, 0, 0, 0, 891, 896, 1, 0, 0, 0, 892, 890, 1, 0, 0, 0, 893, 894, 5, 22, 0, 0, 894, 896, 5, 216, 0, 0, 895, 885, 1, 0, 0, 0, 895, 893, 1, 0, 0, 0, 896, 897, 1, 0, 0, 0, 897, 898, 5, 191, 0, 0, 898, 899, 3, 226, 113, 0, 899, 900, 5, 106, 0, 0, 900, 901, 3, 260, 130, 0, 901, 1217, 1, 0, 0, 0, 902, 913, 5, 75, 0, 0, 903, 908, 3, 224, 112, 0, 904, 905, 5, 3, 0, 0, 905, 907, 3, 224, 112, 0, 906, 904, 1, 0, 0, 0, 907, 910, 1, 0, 0, 0, 908, 906, 1, 0, 0, 0, 908, 909, 1, 0, 0, 0, 909, 914, 1, 0, 0, 0, 910, 908, 1, 0, 0, 0, 911, 912, 5, 22, 0, 0, 912, 914, 5, 216, 0, 0, 913, 903, 1, 0, 0, 0, 913, 911, 1, 0, 0, 0, 914, 915, 1, 0, 0, 0, 915, 916, 5, 191, 0, 0, 916, 917, 3, 226, 113, 0, 917, 918, 5, 270, 0, 0, 918, 919, 3, 260, 130, 0, 919, 1217, 1, 0, 0, 0, 920, 921, 5, 252, 0, 0, 921, 925, 5, 236, 0, 0, 922, 926, 5, 22, 0, 0, 923, 926, 5, 181, 0, 0, 924, 926, 3, 266, 133, 0, 925, 922, 1, 0, 0, 0, 925, 923, 1, 0, 0, 0, 925, 924, 1, 0, 0, 0, 926, 929, 1, 0, 0, 0, 927, 928, 5, 123, 0, 0, 928, 930, 3, 242, 121, 0, 929, 927, 1, 0, 0, 0, 929, 930, 1, 0, 0, 0, 930, 1217, 1, 0, 0, 0, 931, 932, 5, 254, 0, 0, 932, 935, 5, 113, 0, 0, 933, 934, 5, 191, 0, 0, 934, 936, 3, 226, 113, 0, 935, 933, 1, 0, 0, 0, 935, 936, 1, 0, 0, 0, 936, 1217, 1, 0, 0, 0, 937, 949, 5, 96, 0, 0, 938, 939, 5, 1, 0, 0, 939, 944, 3, 200, 100, 0, 940, 941, 5, 3, 0, 0, 941, 943, 3, 200, 100, 0, 942, 940, 1, 0, 0, 0, 943, 946, 1, 0, 0, 0, 944, 942, 1, 0, 0, 0, 944, 945, 1, 0, 0, 0, 945, 947, 1, 0, 0, 0, 946, 944, 1, 0, 0, 0, 947, 948, 5, 2, 0, 0, 948, 950, 1, 0, 0, 0, 949, 938, 1, 0, 0, 0, 949, 950, 1, 0, 0, 0, 950, 951, 1, 0, 0, 0, 951, 1217, 3, 16, 8, 0, 952, 953, 5, 96, 0, 0, 953, 955, 5, 24, 0, 0, 954, 956, 5, 298, 0, 0, 955, 954, 1, 0, 0, 0, 955, 956, 1, 0, 0, 0, 956, 957, 1, 0, 0, 0, 957, 1217, 3, 16, 8, 0, 958, 959, 5, 254, 0, 0, 959, 960, 5, 54, 0, 0, 960, 961, 5, 261, 0, 0, 961, 1217, 3, 230, 115, 0, 962, 963, 5, 254, 0, 0, 963, 964, 5, 54, 0, 0, 964, 965, 5, 244, 0, 0, 965, 1217, 3, 238, 119, 0, 966, 967, 5, 254, 0, 0, 967, 968, 5, 54, 0, 0, 968, 969, 5, 300, 0, 0, 969, 1217, 3, 234, 117, 0, 970, 971, 5, 254, 0, 0, 971, 972, 5, 54, 0, 0, 972, 973, 5, 168, 0, 0, 973, 974, 5, 300, 0, 0, 974, 1217, 3, 234, 117, 0, 975, 976, 5, 254, 0, 0, 976, 977, 5, 54, 0, 0, 977, 978, 5, 108, 0, 0, 978, 1217, 3, 246, 123, 0, 979, 980, 5, 254, 0, 0, 980, 983, 5, 262, 0, 0, 981, 982, 7, 2, 0, 0, 982, 984, 3, 238, 119, 0, 983, 981, 1, 0, 0, 0, 983, 984, 1, 0, 0, 0, 984, 991, 1, 0, 0, 0, 985, 986, 5, 155, 0, 0, 986, 989, 3, 162, 81, 0, 987, 988, 5, 91, 0, 0, 988, 990, 3, 162, 81, 0, 989, 987, 1, 0, 0, 0, 989, 990, 1, 0, 0, 0, 990, 992, 1, 0, 0, 0, 991, 985, 1, 0, 0, 0, 991, 992, 1, 0, 0, 0, 992, 1217, 1, 0, 0, 0, 993, 994, 5, 254, 0, 0, 994, 997, 5, 245, 0, 0, 995, 996, 7, 2, 0, 0, 996, 998, 3, 242, 121, 0, 997, 995, 1, 0, 0, 0, 997, 998, 1, 0, 0, 0, 998, 1005, 1, 0, 0, 0, 999, 1000, 5, 155, 0, 0, 1000, 1003, 3, 162, 81, 0, 1001, 1002, 5, 91, 0, 0, 1002, 1004, 3, 162, 81, 0, 1003, 1001, 1, 0, 0, 0, 1003, 1004, 1, 0, 0, 0, 1004, 1006, 1, 0, 0, 0, 1005, 999, 1, 0, 0, 0, 1005, 1006, 1, 0, 0, 0, 1006, 1217, 1, 0, 0, 0, 1007, 1008, 5, 254, 0, 0, 1008, 1015, 5, 43, 0, 0, 1009, 1010, 5, 155, 0, 0, 1010, 1013, 3, 162, 81, 0, 1011, 1012, 5, 91, 0, 0, 1012, 1014, 3, 162, 81, 0, 1013, 1011, 1, 0, 0, 0, 1013, 1014, 1, 0, 0, 0, 1014, 1016, 1, 0, 0, 0, 1015, 1009, 1, 0, 0, 0, 1015, 1016, 1, 0, 0, 0, 1016, 1217, 1, 0, 0, 0, 1017, 1018, 5, 254, 0, 0, 1018, 1019, 5, 46, 0, 0, 1019, 1020, 7, 2, 0, 0, 1020, 1027, 3, 228, 114, 0, 1021, 1022, 5, 155, 0, 0, 1022, 1025, 3, 162, 81, 0, 1023, 1024, 5, 91, 0, 0, 1024, 1026, 3, 162, 81, 0, 1025, 1023, 1, 0, 0, 0, 1025, 1026, 1, 0, 0, 0, 1026, 1028, 1, 0, 0, 0, 1027, 1021, 1, 0, 0, 0, 1027, 1028, 1, 0, 0, 0, 1028, 1217, 1, 0, 0, 0, 1029, 1030, 5, 254, 0, 0, 1030, 1031, 5, 257, 0, 0, 1031, 1032, 5, 104, 0, 0, 1032, 1217, 3, 228, 114, 0, 1033, 1034, 5, 254, 0, 0, 1034, 1035, 5, 257, 0, 0, 1035, 1036, 5, 104, 0, 0, 1036, 1037, 5, 1, 0, 0, 1037, 1038, 3, 18, 9, 0, 1038, 1039, 5, 2, 0, 0, 1039, 1217, 1, 0, 0, 0, 1040, 1042, 5, 254, 0, 0, 1041, 1043, 5, 57, 0, 0, 1042, 1041, 1, 0, 0, 0, 1042, 1043, 1, 0, 0, 0, 1043, 1044, 1, 0, 0, 0, 1044, 1047, 5, 237, 0, 0, 1045, 1046, 7, 2, 0, 0, 1046, 1048, 3, 242, 121, 0, 1047, 1045, 1, 0, 0, 0, 1047, 1048, 1, 0, 0, 0, 1048, 1217, 1, 0, 0, 0, 1049, 1050, 5, 254, 0, 0, 1050, 1051, 5, 236, 0, 0, 1051, 1054, 5, 113, 0, 0, 1052, 1053, 7, 2, 0, 0, 1053, 1055, 3, 242, 121, 0, 1054, 1052, 1, 0, 0, 0, 1054, 1055, 1, 0, 0, 0, 1055, 1217, 1, 0, 0, 0, 1056, 1057, 5, 77, 0, 0, 1057, 1217, 3, 228, 114, 0, 1058, 1059, 5, 76, 0, 0, 1059, 1217, 3, 228, 114, 0, 1060, 1061, 5, 254, 0, 0, 1061, 1064, 5, 109, 0, 0, 1062, 1063, 7, 2, 0, 0, 1063, 1065, 3, 238, 119, 0, 1064, 1062, 1, 0, 0, 0, 1064, 1065, 1, 0, 0, 0, 1065, 1072, 1, 0, 0, 0, 1066, 1067, 5, 155, 0, 0, 1067, 1070, 3, 162, 81, 0, 1068, 1069, 5, 91, 0, 0, 1069, 1071, 3, 162, 81, 0, 1070, 1068, 1, 0, 0, 0, 1070, 1071, 1, 0, 0, 0, 1071, 1073, 1, 0, 0, 0, 1072, 1066, 1, 0, 0, 0, 1072, 1073, 1, 0, 0, 0, 1073, 1217, 1, 0, 0, 0, 1074, 1075, 5, 254, 0, 0, 1075, 1082, 5, 251, 0, 0, 1076, 1077, 5, 155, 0, 0, 1077, 1080, 3, 162, 81, 0, 1078, 1079, 5, 91, 0, 0, 1079, 1081, 3, 162, 81, 0, 1080, 1078, 1, 0, 0, 0, 1080, 1081, 1, 0, 0, 0, 1081, 1083, 1, 0, 0, 0, 1082, 1076, 1, 0, 0, 0, 1082, 1083, 1, 0, 0, 0, 1083, 1217, 1, 0, 0, 0, 1084, 1085, 5, 252, 0, 0, 1085, 1086, 5, 251, 0, 0, 1086, 1089, 5, 31, 0, 0, 1087, 1090, 3, 266, 133, 0, 1088, 1090, 3, 162, 81, 0, 1089, 1087, 1, 0, 0, 0, 1089, 1088, 1, 0, 0, 0, 1090, 1217, 1, 0, 0, 0, 1091, 1092, 5, 228, 0, 0, 1092, 1093, 5, 251, 0, 0, 1093, 1217, 5, 31, 0, 0, 1094, 1095, 5, 252, 0, 0, 1095, 1096, 5, 251, 0, 0, 1096, 1097, 3, 256, 128, 0, 1097, 1098, 5, 313, 0, 0, 1098, 1099, 3, 134, 67, 0, 1099, 1217, 1, 0, 0, 0, 1100, 1101, 5, 228, 0, 0, 1101, 1102, 5, 251, 0, 0, 1102, 1217, 3, 256, 128, 0, 1103, 1104, 5, 256, 0, 0, 1104, 1113, 5, 272, 0, 0, 1105, 1110, 3, 202, 101, 0, 1106, 1107, 5, 3, 0, 0, 1107, 1109, 3, 202, 101, 0, 1108, 1106, 1, 0, 0, 0, 1109, 1112, 1, 0, 0, 0, 1110, 1108, 1, 0, 0, 0, 1110, 1111, 1, 0, 0, 0, 1111, 1114, 1, 0, 0, 0, 1112, 1110, 1, 0, 0, 0, 1113, 1105, 1, 0, 0, 0, 1113, 1114, 1, 0, 0, 0, 1114, 1217, 1, 0, 0, 0, 1115, 1117, 5, 48, 0, 0, 1116, 1118, 5, 308, 0, 0, 1117, 1116, 1, 0, 0, 0, 1117, 1118, 1, 0, 0, 0, 1118, 1217, 1, 0, 0, 0, 1119, 1121, 5, 238, 0, 0, 1120, 1122, 5, 308, 0, 0, 1121, 1120, 1, 0, 0, 0, 1121, 1122, 1, 0, 0, 0, 1122, 1217, 1, 0, 0, 0, 1123, 1124, 5, 215, 0, 0, 1124, 1125, 3, 266, 133, 0, 1125, 1126, 5, 106, 0, 0, 1126, 1127, 3, 16, 8, 0, 1127, 1217, 1, 0, 0, 0, 1128, 1129, 5, 69, 0, 0, 1129, 1130, 5, 215, 0, 0, 1130, 1217, 3, 266, 133, 0, 1131, 1132, 5, 94, 0, 0, 1132, 1142, 3, 266, 133, 0, 1133, 1134, 5, 291, 0, 0, 1134, 1139, 3, 134, 67, 0, 1135, 1136, 5, 3, 0, 0, 1136, 1138, 3, 134, 67, 0, 1137, 1135, 1, 0, 0, 0, 1138, 1141, 1, 0, 0, 0, 1139, 1137, 1, 0, 0, 0, 1139, 1140, 1, 0, 0, 0, 1140, 1143, 1, 0, 0, 0, 1141, 1139, 1, 0, 0, 0, 1142, 1133, 1, 0, 0, 0, 1142, 1143, 1, 0, 0, 0, 1143, 1217, 1, 0, 0, 0, 1144, 1145, 5, 94, 0, 0, 1145, 1146, 5, 122, 0, 0, 1146, 1156, 3, 162, 81, 0, 1147, 1148, 5, 291, 0, 0, 1148, 1153, 3, 134, 67, 0, 1149, 1150, 5, 3, 0, 0, 1150, 1152, 3, 134, 67, 0, 1151, 1149, 1, 0, 0, 0, 1152, 1155, 1, 0, 0, 0, 1153, 1151, 1, 0, 0, 0, 1153, 1154, 1, 0, 0, 0, 1154, 1157, 1, 0, 0, 0, 1155, 1153, 1, 0, 0, 0, 1156, 1147, 1, 0, 0, 0, 1156, 1157, 1, 0, 0, 0, 1157, 1217, 1, 0, 0, 0, 1158, 1159, 5, 77, 0, 0, 1159, 1160, 5, 127, 0, 0, 1160, 1217, 3, 266, 133, 0, 1161, 1162, 5, 77, 0, 0, 1162, 1163, 5, 199, 0, 0, 1163, 1217, 3, 266, 133, 0, 1164, 1165, 5, 252, 0, 0, 1165, 1166, 5, 206, 0, 0, 1166, 1217, 3, 208, 104, 0, 1167, 1168, 5, 252, 0, 0, 1168, 1169, 5, 268, 0, 0, 1169, 1172, 5, 312, 0, 0, 1170, 1173, 5, 158, 0, 0, 1171, 1173, 3, 134, 67, 0, 1172, 1170, 1, 0, 0, 0, 1172, 1171, 1, 0, 0, 0, 1173, 1217, 1, 0, 0, 0, 1174, 1175, 5, 288, 0, 0, 1175, 1176, 3, 230, 115, 0, 1176, 1177, 5, 252, 0, 0, 1177, 1182, 3, 198, 99, 0, 1178, 1179, 5, 3, 0, 0, 1179, 1181, 3, 198, 99, 0, 1180, 1178, 1, 0, 0, 0, 1181, 1184, 1, 0, 0, 0, 1182, 1180, 1, 0, 0, 0, 1182, 1183, 1, 0, 0, 0, 1183, 1186, 1, 0, 0, 0, 1184, 1182, 1, 0, 0, 0, 1185, 1187, 3, 46, 23, 0, 1186, 1185, 1, 0, 0, 0, 1186, 1187, 1, 0, 0, 0, 1187, 1217, 1, 0, 0, 0, 1188, 1189, 5, 170, 0, 0, 1189, 1190, 5, 131, 0, 0, 1190, 1195, 3, 230, 115, 0, 1191, 1193, 5, 28, 0, 0, 1192, 1191, 1, 0, 0, 0, 1192, 1193, 1, 0, 0, 0, 1193, 1194, 1, 0, 0, 0, 1194, 1196, 3, 266, 133, 0, 1195, 1192, 1, 0, 0, 0, 1195, 1196, 1, 0, 0, 0, 1196, 1197, 1, 0, 0, 0, 1197, 1198, 5, 291, 0, 0, 1198, 1199, 3, 78, 39, 0, 1199, 1200, 5, 191, 0, 0, 1200, 1202, 3, 134, 67, 0, 1201, 1203, 3, 182, 91, 0, 1202, 1201, 1, 0, 0, 0, 1203, 1204, 1, 0, 0, 0, 1204, 1202, 1, 0, 0, 0, 1204, 1205, 1, 0, 0, 0, 1205, 1217, 1, 0, 0, 0, 1206, 1207, 5, 254, 0, 0, 1207, 1208, 5, 47, 0, 0, 1208, 1209, 5, 191, 0, 0, 1209, 1210, 5, 261, 0, 0, 1210, 1217, 3, 230, 115, 0, 1211, 1212, 5, 254, 0, 0, 1212, 1213, 5, 47, 0, 0, 1213, 1214, 5, 191, 0, 0, 1214, 1215, 5, 45, 0, 0, 1215, 1217, 3, 250, 125, 0, 1216, 305, 1, 0, 0, 0, 1216, 306, 1, 0, 0, 0, 1216, 308, 1, 0, 0, 0, 1216, 330, 1, 0, 0, 0, 1216, 340, 1, 0, 0, 0, 1216, 356, 1, 0, 0, 0, 1216, 366, 1, 0, 0, 0, 1216, 373, 1, 0, 0, 0, 1216, 380, 1, 0, 0, 0, 1216, 418, 1, 0, 0, 0, 1216, 448, 1, 0, 0, 0, 1216, 455, 1, 0, 0, 0, 1216, 463, 1, 0, 0, 0, 1216, 469, 1, 0, 0, 0, 1216, 472, 1, 0, 0, 0, 1216, 481, 1, 0, 0, 0, 1216, 490, 1, 0, 0, 0, 1216, 499, 1, 0, 0, 0, 1216, 510, 1, 0, 0, 0, 1216, 526, 1, 0, 0, 0, 1216, 543, 1, 0, 0, 0, 1216, 558, 1, 0, 0, 0, 1216, 573, 1, 0, 0, 0, 1216, 587, 1, 0, 0, 0, 1216, 594, 1, 0, 0, 0, 1216, 601, 1, 0, 0, 0, 1216, 623, 1, 0, 0, 0, 1216, 629, 1, 0, 0, 0, 1216, 658, 1, 0, 0, 0, 1216, 680, 1, 0, 0, 0, 1216, 684, 1, 0, 0, 0, 1216, 692, 1, 0, 0, 0, 1216, 704, 1, 0, 0, 0, 1216, 712, 1, 0, 0, 0, 1216, 719, 1, 0, 0, 0, 1216, 726, 1, 0, 0, 0, 1216, 733, 1, 0, 0, 0, 1216, 748, 1, 0, 0, 0, 1216, 754, 1, 0, 0, 0, 1216, 774, 1, 0, 0, 0, 1216, 786, 1, 0, 0, 0, 1216, 793, 1, 0, 0, 0, 1216, 825, 1, 0, 0, 0, 1216, 847, 1, 0, 0, 0, 1216, 879, 1, 0, 0, 0, 1216, 902, 1, 0, 0, 0, 1216, 920, 1, 0, 0, 0, 1216, 931, 1, 0, 0, 0, 1216, 937, 1, 0, 0, 0, 1216, 952, 1, 0, 0, 0, 1216, 958, 1, 0, 0, 0, 1216, 962, 1, 0, 0, 0, 1216, 966, 1, 0, 0, 0, 1216, 970, 1, 0, 0, 0, 1216, 975, 1, 0, 0, 0, 1216, 979, 1, 0, 0, 0, 1216, 993, 1, 0, 0, 0, 1216, 1007, 1, 0, 0, 0, 1216, 1017, 1, 0, 0, 0, 1216, 1029, 1, 0, 0, 0, 1216, 1033, 1, 0, 0, 0, 1216, 1040, 1, 0, 0, 0, 1216, 1049, 1, 0, 0, 0, 1216, 1056, 1, 0, 0, 0, 1216, 1058, 1, 0, 0, 0, 1216, 1060, 1, 0, 0, 0, 1216, 1074, 1, 0, 0, 0, 1216, 1084, 1, 0, 0, 0, 1216, 1091, 1, 0, 0, 0, 1216, 1094, 1, 0, 0, 0, 1216, 1100, 1, 0, 0, 0, 1216, 1103, 1, 0, 0, 0, 1216, 1115, 1, 0, 0, 0, 1216, 1119, 1, 0, 0, 0, 1216, 1123, 1, 0, 0, 0, 1216, 1128, 1, 0, 0, 0, 1216, 1131, 1, 0, 0, 0, 1216, 1144, 1, 0, 0, 0, 1216, 1158, 1, 0, 0, 0, 1216, 1161, 1, 0, 0, 0, 1216, 1164, 1, 0, 0, 0, 1216, 1167, 1, 0, 0, 0, 1216, 1174, 1, 0, 0, 0, 1216, 1188, 1, 0, 0, 0, 1216, 1206, 1, 0, 0, 0, 1216, 1211, 1, 0, 0, 0, 1217, 17, 1, 0, 0, 0, 1218, 1220, 3, 20, 10, 0, 1219, 1218, 1, 0, 0, 0, 1219, 1220, 1, 0, 0, 0, 1220, 1221, 1, 0, 0, 0, 1221, 1222, 3, 22, 11, 0, 1222, 19, 1, 0, 0, 0, 1223, 1224, 5, 305, 0, 0, 1224, 1229, 3, 210, 105, 0, 1225, 1226, 5, 3, 0, 0, 1226, 1228, 3, 210, 105, 0, 1227, 1225, 1, 0, 0, 0, 1228, 1231, 1, 0, 0, 0, 1229, 1227, 1, 0, 0, 0, 1229, 1230, 1, 0, 0, 0, 1230, 21, 1, 0, 0, 0, 1231, 1229, 1, 0, 0, 0, 1232, 1234, 3, 24, 12, 0, 1233, 1232, 1, 0, 0, 0, 1233, 1234, 1, 0, 0, 0, 1234, 1235, 1, 0, 0, 0, 1235, 1236, 3, 36, 18, 0, 1236, 23, 1, 0, 0, 0, 1237, 1239, 5, 305, 0, 0, 1238, 1240, 5, 222, 0, 0, 1239, 1238, 1, 0, 0, 0, 1239, 1240, 1, 0, 0, 0, 1240, 1241, 1, 0, 0, 0, 1241, 1246, 3, 64, 32, 0, 1242, 1243, 5, 3, 0, 0, 1243, 1245, 3, 64, 32, 0, 1244, 1242, 1, 0, 0, 0, 1245, 1248, 1, 0, 0, 0, 1246, 1244, 1, 0, 0, 0, 1246, 1247, 1, 0, 0, 0, 1247, 25, 1, 0, 0, 0, 1248, 1246, 1, 0, 0, 0, 1249, 1257, 3, 28, 14, 0, 1250, 1251, 5, 155, 0, 0, 1251, 1254, 3, 230, 115, 0, 1252, 1253, 7, 3, 0, 0, 1253, 1255, 5, 217, 0, 0, 1254, 1252, 1, 0, 0, 0, 1254, 1255, 1, 0, 0, 0, 1255, 1257, 1, 0, 0, 0, 1256, 1249, 1, 0, 0, 0, 1256, 1250, 1, 0, 0, 0, 1257, 27, 1, 0, 0, 0, 1258, 1259, 3, 254, 127, 0, 1259, 1262, 3, 172, 86, 0, 1260, 1261, 5, 183, 0, 0, 1261, 1263, 5, 184, 0, 0, 1262, 1260, 1, 0, 0, 0, 1262, 1263, 1, 0, 0, 0, 1263, 1266, 1, 0, 0, 0, 1264, 1265, 5, 47, 0, 0, 1265, 1267, 3, 162, 81, 0, 1266, 1264, 1, 0, 0, 0, 1266, 1267, 1, 0, 0, 0, 1267, 1270, 1, 0, 0, 0, 1268, 1269, 5, 305, 0, 0, 1269, 1271, 3, 30, 15, 0, 1270, 1268, 1, 0, 0, 0, 1270, 1271, 1, 0, 0, 0, 1271, 29, 1, 0, 0, 0, 1272, 1273, 5, 1, 0, 0, 1273, 1274, 3, 32, 16, 0, 1274, 1275, 5, 2, 0, 0, 1275, 31, 1, 0, 0, 0, 1276, 1281, 3, 34, 17, 0, 1277, 1278, 5, 3, 0, 0, 1278, 1280, 3, 34, 17, 0, 1279, 1277, 1, 0, 0, 0, 1280, 1283, 1, 0, 0, 0, 1281, 1279, 1, 0, 0, 0, 1281, 1282, 1, 0, 0, 0, 1282, 33, 1, 0, 0, 0, 1283, 1281, 1, 0, 0, 0, 1284, 1285, 3, 266, 133, 0, 1285, 1288, 5, 313, 0, 0, 1286, 1289, 5, 71, 0, 0, 1287, 1289, 3, 134, 67, 0, 1288, 1286, 1, 0, 0, 0, 1288, 1287, 1, 0, 0, 0, 1289, 35, 1, 0, 0, 0, 1290, 1301, 3, 38, 19, 0, 1291, 1292, 5, 196, 0, 0, 1292, 1293, 5, 36, 0, 0, 1293, 1298, 3, 42, 21, 0, 1294, 1295, 5, 3, 0, 0, 1295, 1297, 3, 42, 21, 0, 1296, 1294, 1, 0, 0, 0, 1297, 1300, 1, 0, 0, 0, 1298, 1296, 1, 0, 0, 0, 1298, 1299, 1, 0, 0, 0, 1299, 1302, 1, 0, 0, 0, 1300, 1298, 1, 0, 0, 0, 1301, 1291, 1, 0, 0, 0, 1301, 1302, 1, 0, 0, 0, 1302, 1308, 1, 0, 0, 0, 1303, 1304, 5, 189, 0, 0, 1304, 1306, 7, 4, 0, 0, 1305, 1307, 7, 5, 0, 0, 1306, 1305, 1, 0, 0, 0, 1306, 1307, 1, 0, 0, 0, 1307, 1309, 1, 0, 0, 0, 1308, 1303, 1, 0, 0, 0, 1308, 1309, 1, 0, 0, 0, 1309, 1323, 1, 0, 0, 0, 1310, 1311, 5, 156, 0, 0, 1311, 1324, 7, 6, 0, 0, 1312, 1313, 5, 99, 0, 0, 1313, 1315, 7, 7, 0, 0, 1314, 1316, 7, 4, 0, 0, 1315, 1314, 1, 0, 0, 0, 1315, 1316, 1, 0, 0, 0, 1316, 1317, 1, 0, 0, 0, 1317, 1321, 7, 5, 0, 0, 1318, 1322, 5, 193, 0, 0, 1319, 1320, 5, 305, 0, 0, 1320, 1322, 5, 267, 0, 0, 1321, 1318, 1, 0, 0, 0, 1321, 1319, 1, 0, 0, 0, 1322, 1324, 1, 0, 0, 0, 1323, 1310, 1, 0, 0, 0, 1323, 1312, 1, 0, 0, 0, 1323, 1324, 1, 0, 0, 0, 1324, 37, 1, 0, 0, 0, 1325, 1326, 6, 19, -1, 0, 1326, 1327, 3, 40, 20, 0, 1327, 1342, 1, 0, 0, 0, 1328, 1329, 10, 2, 0, 0, 1329, 1331, 5, 129, 0, 0, 1330, 1332, 3, 66, 33, 0, 1331, 1330, 1, 0, 0, 0, 1331, 1332, 1, 0, 0, 0, 1332, 1333, 1, 0, 0, 0, 1333, 1341, 3, 38, 19, 3, 1334, 1335, 10, 1, 0, 0, 1335, 1337, 7, 8, 0, 0, 1336, 1338, 3, 66, 33, 0, 1337, 1336, 1, 0, 0, 0, 1337, 1338, 1, 0, 0, 0, 1338, 1339, 1, 0, 0, 0, 1339, 1341, 3, 38, 19, 2, 1340, 1328, 1, 0, 0, 0, 1340, 1334, 1, 0, 0, 0, 1341, 1344, 1, 0, 0, 0, 1342, 1340, 1, 0, 0, 0, 1342, 1343, 1, 0, 0, 0, 1343, 39, 1, 0, 0, 0, 1344, 1342, 1, 0, 0, 0, 1345, 1362, 3, 44, 22, 0, 1346, 1347, 5, 261, 0, 0, 1347, 1362, 3, 230, 115, 0, 1348, 1349, 5, 297, 0, 0, 1349, 1354, 3, 134, 67, 0, 1350, 1351, 5, 3, 0, 0, 1351, 1353, 3, 134, 67, 0, 1352, 1350, 1, 0, 0, 0, 1353, 1356, 1, 0, 0, 0, 1354, 1352, 1, 0, 0, 0, 1354, 1355, 1, 0, 0, 0, 1355, 1362, 1, 0, 0, 0, 1356, 1354, 1, 0, 0, 0, 1357, 1358, 5, 1, 0, 0, 1358, 1359, 3, 36, 18, 0, 1359, 1360, 5, 2, 0, 0, 1360, 1362, 1, 0, 0, 0, 1361, 1345, 1, 0, 0, 0, 1361, 1346, 1, 0, 0, 0, 1361, 1348, 1, 0, 0, 0, 1361, 1357, 1, 0, 0, 0, 1362, 41, 1, 0, 0, 0, 1363, 1366, 3, 250, 125, 0, 1364, 1366, 3, 134, 67, 0, 1365, 1363, 1, 0, 0, 0, 1365, 1364, 1, 0, 0, 0, 1366, 1368, 1, 0, 0, 0, 1367, 1369, 7, 9, 0, 0, 1368, 1367, 1, 0, 0, 0, 1368, 1369, 1, 0, 0, 0, 1369, 1372, 1, 0, 0, 0, 1370, 1371, 5, 186, 0, 0, 1371, 1373, 7, 10, 0, 0, 1372, 1370, 1, 0, 0, 0, 1372, 1373, 1, 0, 0, 0, 1373, 43, 1, 0, 0, 0, 1374, 1376, 5, 249, 0, 0, 1375, 1377, 3, 66, 33, 0, 1376, 1375, 1, 0, 0, 0, 1376, 1377, 1, 0, 0, 0, 1377, 1378, 1, 0, 0, 0, 1378, 1388, 3, 50, 25, 0, 1379, 1380, 5, 106, 0, 0, 1380, 1385, 3, 78, 39, 0, 1381, 1382, 5, 3, 0, 0, 1382, 1384, 3, 78, 39, 0, 1383, 1381, 1, 0, 0, 0, 1384, 1387, 1, 0, 0, 0, 1385, 1383, 1, 0, 0, 0, 1385, 1386, 1, 0, 0, 0, 1386, 1389, 1, 0, 0, 0, 1387, 1385, 1, 0, 0, 0, 1388, 1379, 1, 0, 0, 0, 1388, 1389, 1, 0, 0, 0, 1389, 1391, 1, 0, 0, 0, 1390, 1392, 3, 46, 23, 0, 1391, 1390, 1, 0, 0, 0, 1391, 1392, 1, 0, 0, 0, 1392, 1396, 1, 0, 0, 0, 1393, 1394, 5, 115, 0, 0, 1394, 1395, 5, 36, 0, 0, 1395, 1397, 3, 52, 26, 0, 1396, 1393, 1, 0, 0, 0, 1396, 1397, 1, 0, 0, 0, 1397, 1399, 1, 0, 0, 0, 1398, 1400, 3, 48, 24, 0, 1399, 1398, 1, 0, 0, 0, 1399, 1400, 1, 0, 0, 0, 1400, 1410, 1, 0, 0, 0, 1401, 1402, 5, 304, 0, 0, 1402, 1407, 3, 60, 30, 0, 1403, 1404, 5, 3, 0, 0, 1404, 1406, 3, 60, 30, 0, 1405, 1403, 1, 0, 0, 0, 1406, 1409, 1, 0, 0, 0, 1407, 1405, 1, 0, 0, 0, 1407, 1408, 1, 0, 0, 0, 1408, 1411, 1, 0, 0, 0, 1409, 1407, 1, 0, 0, 0, 1410, 1401, 1, 0, 0, 0, 1410, 1411, 1, 0, 0, 0, 1411, 45, 1, 0, 0, 0, 1412, 1413, 5, 302, 0, 0, 1413, 1414, 3, 136, 68, 0, 1414, 47, 1, 0, 0, 0, 1415, 1416, 5, 118, 0, 0, 1416, 1417, 3, 136, 68, 0, 1417, 49, 1, 0, 0, 0, 1418, 1423, 3, 68, 34, 0, 1419, 1420, 5, 3, 0, 0, 1420, 1422, 3, 68, 34, 0, 1421, 1419, 1, 0, 0, 0, 1422, 1425, 1, 0, 0, 0, 1423, 1421, 1, 0, 0, 0, 1423, 1424, 1, 0, 0, 0, 1424, 51, 1, 0, 0, 0, 1425, 1423, 1, 0, 0, 0, 1426, 1428, 3, 66, 33, 0, 1427, 1426, 1, 0, 0, 0, 1427, 1428, 1, 0, 0, 0, 1428, 1429, 1, 0, 0, 0, 1429, 1434, 3, 56, 28, 0, 1430, 1431, 5, 3, 0, 0, 1431, 1433, 3, 56, 28, 0, 1432, 1430, 1, 0, 0, 0, 1433, 1436, 1, 0, 0, 0, 1434, 1432, 1, 0, 0, 0, 1434, 1435, 1, 0, 0, 0, 1435, 53, 1, 0, 0, 0, 1436, 1434, 1, 0, 0, 0, 1437, 1442, 3, 134, 67, 0, 1438, 1439, 5, 3, 0, 0, 1439, 1441, 3, 134, 67, 0, 1440, 1438, 1, 0, 0, 0, 1441, 1444, 1, 0, 0, 0, 1442, 1440, 1, 0, 0, 0, 1442, 1443, 1, 0, 0, 0, 1443, 55, 1, 0, 0, 0, 1444, 1442, 1, 0, 0, 0, 1445, 1486, 3, 58, 29, 0, 1446, 1447, 5, 239, 0, 0, 1447, 1456, 5, 1, 0, 0, 1448, 1453, 3, 58, 29, 0, 1449, 1450, 5, 3, 0, 0, 1450, 1452, 3, 58, 29, 0, 1451, 1449, 1, 0, 0, 0, 1452, 1455, 1, 0, 0, 0, 1453, 1451, 1, 0, 0, 0, 1453, 1454, 1, 0, 0, 0, 1454, 1457, 1, 0, 0, 0, 1455, 1453, 1, 0, 0, 0, 1456, 1448, 1, 0, 0, 0, 1456, 1457, 1, 0, 0, 0, 1457, 1458, 1, 0, 0, 0, 1458, 1486, 5, 2, 0, 0, 1459, 1460, 5, 56, 0, 0, 1460, 1469, 5, 1, 0, 0, 1461, 1466, 3, 58, 29, 0, 1462, 1463, 5, 3, 0, 0, 1463, 1465, 3, 58, 29, 0, 1464, 1462, 1, 0, 0, 0, 1465, 1468, 1, 0, 0, 0, 1466, 1464, 1, 0, 0, 0, 1466, 1467, 1, 0, 0, 0, 1467, 1470, 1, 0, 0, 0, 1468, 1466, 1, 0, 0, 0, 1469, 1461, 1, 0, 0, 0, 1469, 1470, 1, 0, 0, 0, 1470, 1471, 1, 0, 0, 0, 1471, 1486, 5, 2, 0, 0, 1472, 1473, 5, 116, 0, 0, 1473, 1474, 5, 253, 0, 0, 1474, 1475, 5, 1, 0, 0, 1475, 1480, 3, 58, 29, 0, 1476, 1477, 5, 3, 0, 0, 1477, 1479, 3, 58, 29, 0, 1478, 1476, 1, 0, 0, 0, 1479, 1482, 1, 0, 0, 0, 1480, 1478, 1, 0, 0, 0, 1480, 1481, 1, 0, 0, 0, 1481, 1483, 1, 0, 0, 0, 1482, 1480, 1, 0, 0, 0, 1483, 1484, 5, 2, 0, 0, 1484, 1486, 1, 0, 0, 0, 1485, 1445, 1, 0, 0, 0, 1485, 1446, 1, 0, 0, 0, 1485, 1459, 1, 0, 0, 0, 1485, 1472, 1, 0, 0, 0, 1486, 57, 1, 0, 0, 0, 1487, 1502, 5, 1, 0, 0, 1488, 1491, 3, 250, 125, 0, 1489, 1491, 3, 134, 67, 0, 1490, 1488, 1, 0, 0, 0, 1490, 1489, 1, 0, 0, 0, 1491, 1499, 1, 0, 0, 0, 1492, 1495, 5, 3, 0, 0, 1493, 1496, 3, 250, 125, 0, 1494, 1496, 3, 134, 67, 0, 1495, 1493, 1, 0, 0, 0, 1495, 1494, 1, 0, 0, 0, 1496, 1498, 1, 0, 0, 0, 1497, 1492, 1, 0, 0, 0, 1498, 1501, 1, 0, 0, 0, 1499, 1497, 1, 0, 0, 0, 1499, 1500, 1, 0, 0, 0, 1500, 1503, 1, 0, 0, 0, 1501, 1499, 1, 0, 0, 0, 1502, 1490, 1, 0, 0, 0, 1502, 1503, 1, 0, 0, 0, 1503, 1504, 1, 0, 0, 0, 1504, 1510, 5, 2, 0, 0, 1505, 1508, 3, 250, 125, 0, 1506, 1508, 3, 134, 67, 0, 1507, 1505, 1, 0, 0, 0, 1507, 1506, 1, 0, 0, 0, 1508, 1510, 1, 0, 0, 0, 1509, 1487, 1, 0, 0, 0, 1509, 1507, 1, 0, 0, 0, 1510, 59, 1, 0, 0, 0, 1511, 1512, 3, 266, 133, 0, 1512, 1513, 5, 28, 0, 0, 1513, 1514, 5, 1, 0, 0, 1514, 1515, 3, 62, 31, 0, 1515, 1516, 5, 2, 0, 0, 1516, 61, 1, 0, 0, 0, 1517, 1519, 3, 266, 133, 0, 1518, 1517, 1, 0, 0, 0, 1518, 1519, 1, 0, 0, 0, 1519, 1523, 1, 0, 0, 0, 1520, 1521, 5, 202, 0, 0, 1521, 1522, 5, 36, 0, 0, 1522, 1524, 3, 54, 27, 0, 1523, 1520, 1, 0, 0, 0, 1523, 1524, 1, 0, 0, 0, 1524, 1535, 1, 0, 0, 0, 1525, 1526, 5, 196, 0, 0, 1526, 1527, 5, 36, 0, 0, 1527, 1532, 3, 42, 21, 0, 1528, 1529, 5, 3, 0, 0, 1529, 1531, 3, 42, 21, 0, 1530, 1528, 1, 0, 0, 0, 1531, 1534, 1, 0, 0, 0, 1532, 1530, 1, 0, 0, 0, 1532, 1533, 1, 0, 0, 0, 1533, 1536, 1, 0, 0, 0, 1534, 1532, 1, 0, 0, 0, 1535, 1525, 1, 0, 0, 0, 1535, 1536, 1, 0, 0, 0, 1536, 1538, 1, 0, 0, 0, 1537, 1539, 3, 186, 93, 0, 1538, 1537, 1, 0, 0, 0, 1538, 1539, 1, 0, 0, 0, 1539, 63, 1, 0, 0, 0, 1540, 1542, 3, 266, 133, 0, 1541, 1543, 3, 104, 52, 0, 1542, 1541, 1, 0, 0, 0, 1542, 1543, 1, 0, 0, 0, 1543, 1544, 1, 0, 0, 0, 1544, 1545, 5, 28, 0, 0, 1545, 1546, 5, 1, 0, 0, 1546, 1547, 3, 22, 11, 0, 1547, 1548, 5, 2, 0, 0, 1548, 65, 1, 0, 0, 0, 1549, 1550, 7, 11, 0, 0, 1550, 67, 1, 0, 0, 0, 1551, 1554, 3, 74, 37, 0, 1552, 1554, 3, 76, 38, 0, 1553, 1551, 1, 0, 0, 0, 1553, 1552, 1, 0, 0, 0, 1554, 1559, 1, 0, 0, 0, 1555, 1557, 5, 28, 0, 0, 1556, 1555, 1, 0, 0, 0, 1556, 1557, 1, 0, 0, 0, 1557, 1558, 1, 0, 0, 0, 1558, 1560, 3, 266, 133, 0, 1559, 1556, 1, 0, 0, 0, 1559, 1560, 1, 0, 0, 0, 1560, 1568, 1, 0, 0, 0, 1561, 1564, 3, 72, 36, 0, 1562, 1563, 5, 28, 0, 0, 1563, 1565, 3, 104, 52, 0, 1564, 1562, 1, 0, 0, 0, 1564, 1565, 1, 0, 0, 0, 1565, 1568, 1, 0, 0, 0, 1566, 1568, 3, 70, 35, 0, 1567, 1553, 1, 0, 0, 0, 1567, 1561, 1, 0, 0, 0, 1567, 1566, 1, 0, 0, 0, 1568, 69, 1, 0, 0, 0, 1569, 1570, 5, 321, 0, 0, 1570, 71, 1, 0, 0, 0, 1571, 1572, 3, 142, 71, 0, 1572, 1573, 5, 4, 0, 0, 1573, 1574, 5, 321, 0, 0, 1574, 73, 1, 0, 0, 0, 1575, 1576, 3, 250, 125, 0, 1576, 75, 1, 0, 0, 0, 1577, 1578, 3, 134, 67, 0, 1578, 77, 1, 0, 0, 0, 1579, 1580, 6, 39, -1, 0, 1580, 1581, 3, 82, 41, 0, 1581, 1614, 1, 0, 0, 0, 1582, 1610, 10, 2, 0, 0, 1583, 1584, 5, 55, 0, 0, 1584, 1585, 5, 137, 0, 0, 1585, 1611, 3, 82, 41, 0, 1586, 1587, 3, 80, 40, 0, 1587, 1588, 5, 137, 0, 0, 1588, 1603, 3, 78, 39, 0, 1589, 1590, 5, 191, 0, 0, 1590, 1604, 3, 136, 68, 0, 1591, 1592, 5, 291, 0, 0, 1592, 1593, 5, 1, 0, 0, 1593, 1598, 3, 266, 133, 0, 1594, 1595, 5, 3, 0, 0, 1595, 1597, 3, 266, 133, 0, 1596, 1594, 1, 0, 0, 0, 1597, 1600, 1, 0, 0, 0, 1598, 1596, 1, 0, 0, 0, 1598, 1599, 1, 0, 0, 0, 1599, 1601, 1, 0, 0, 0, 1600, 1598, 1, 0, 0, 0, 1601, 1602, 5, 2, 0, 0, 1602, 1604, 1, 0, 0, 0, 1603, 1589, 1, 0, 0, 0, 1603, 1591, 1, 0, 0, 0, 1604, 1611, 1, 0, 0, 0, 1605, 1606, 5, 173, 0, 0, 1606, 1607, 3, 80, 40, 0, 1607, 1608, 5, 137, 0, 0, 1608, 1609, 3, 82, 41, 0, 1609, 1611, 1, 0, 0, 0, 1610, 1583, 1, 0, 0, 0, 1610, 1586, 1, 0, 0, 0, 1610, 1605, 1, 0, 0, 0, 1611, 1613, 1, 0, 0, 0, 1612, 1582, 1, 0, 0, 0, 1613, 1616, 1, 0, 0, 0, 1614, 1612, 1, 0, 0, 0, 1614, 1615, 1, 0, 0, 0, 1615, 79, 1, 0, 0, 0, 1616, 1614, 1, 0, 0, 0, 1617, 1619, 5, 126, 0, 0, 1618, 1617, 1, 0, 0, 0, 1618, 1619, 1, 0, 0, 0, 1619, 1633, 1, 0, 0, 0, 1620, 1622, 5, 153, 0, 0, 1621, 1623, 5, 198, 0, 0, 1622, 1621, 1, 0, 0, 0, 1622, 1623, 1, 0, 0, 0, 1623, 1633, 1, 0, 0, 0, 1624, 1626, 5, 235, 0, 0, 1625, 1627, 5, 198, 0, 0, 1626, 1625, 1, 0, 0, 0, 1626, 1627, 1, 0, 0, 0, 1627, 1633, 1, 0, 0, 0, 1628, 1630, 5, 107, 0, 0, 1629, 1631, 5, 198, 0, 0, 1630, 1629, 1, 0, 0, 0, 1630, 1631, 1, 0, 0, 0, 1631, 1633, 1, 0, 0, 0, 1632, 1618, 1, 0, 0, 0, 1632, 1620, 1, 0, 0, 0, 1632, 1624, 1, 0, 0, 0, 1632, 1628, 1, 0, 0, 0, 1633, 81, 1, 0, 0, 0, 1634, 1641, 3, 86, 43, 0, 1635, 1636, 5, 263, 0, 0, 1636, 1637, 7, 12, 0, 0, 1637, 1638, 5, 1, 0, 0, 1638, 1639, 3, 134, 67, 0, 1639, 1640, 5, 2, 0, 0, 1640, 1642, 1, 0, 0, 0, 1641, 1635, 1, 0, 0, 0, 1641, 1642, 1, 0, 0, 0, 1642, 83, 1, 0, 0, 0, 1643, 1655, 5, 90, 0, 0, 1644, 1646, 5, 275, 0, 0, 1645, 1647, 3, 162, 81, 0, 1646, 1645, 1, 0, 0, 0, 1646, 1647, 1, 0, 0, 0, 1647, 1652, 1, 0, 0, 0, 1648, 1649, 5, 305, 0, 0, 1649, 1653, 5, 52, 0, 0, 1650, 1651, 5, 307, 0, 0, 1651, 1653, 5, 52, 0, 0, 1652, 1648, 1, 0, 0, 0, 1652, 1650, 1, 0, 0, 0, 1653, 1655, 1, 0, 0, 0, 1654, 1643, 1, 0, 0, 0, 1654, 1644, 1, 0, 0, 0, 1655, 85, 1, 0, 0, 0, 1656, 1732, 3, 98, 49, 0, 1657, 1658, 5, 167, 0, 0, 1658, 1662, 5, 1, 0, 0, 1659, 1660, 5, 202, 0, 0, 1660, 1661, 5, 36, 0, 0, 1661, 1663, 3, 54, 27, 0, 1662, 1659, 1, 0, 0, 0, 1662, 1663, 1, 0, 0, 0, 1663, 1674, 1, 0, 0, 0, 1664, 1665, 5, 196, 0, 0, 1665, 1666, 5, 36, 0, 0, 1666, 1671, 3, 42, 21, 0, 1667, 1668, 5, 3, 0, 0, 1668, 1670, 3, 42, 21, 0, 1669, 1667, 1, 0, 0, 0, 1670, 1673, 1, 0, 0, 0, 1671, 1669, 1, 0, 0, 0, 1671, 1672, 1, 0, 0, 0, 1672, 1675, 1, 0, 0, 0, 1673, 1671, 1, 0, 0, 0, 1674, 1664, 1, 0, 0, 0, 1674, 1675, 1, 0, 0, 0, 1675, 1685, 1, 0, 0, 0, 1676, 1677, 5, 169, 0, 0, 1677, 1682, 3, 88, 44, 0, 1678, 1679, 5, 3, 0, 0, 1679, 1681, 3, 88, 44, 0, 1680, 1678, 1, 0, 0, 0, 1681, 1684, 1, 0, 0, 0, 1682, 1680, 1, 0, 0, 0, 1682, 1683, 1, 0, 0, 0, 1683, 1686, 1, 0, 0, 0, 1684, 1682, 1, 0, 0, 0, 1685, 1676, 1, 0, 0, 0, 1685, 1686, 1, 0, 0, 0, 1686, 1688, 1, 0, 0, 0, 1687, 1689, 3, 90, 45, 0, 1688, 1687, 1, 0, 0, 0, 1688, 1689, 1, 0, 0, 0, 1689, 1693, 1, 0, 0, 0, 1690, 1691, 5, 21, 0, 0, 1691, 1692, 5, 164, 0, 0, 1692, 1694, 3, 92, 46, 0, 1693, 1690, 1, 0, 0, 0, 1693, 1694, 1, 0, 0, 0, 1694, 1696, 1, 0, 0, 0, 1695, 1697, 7, 13, 0, 0, 1696, 1695, 1, 0, 0, 0, 1696, 1697, 1, 0, 0, 0, 1697, 1698, 1, 0, 0, 0, 1698, 1699, 5, 207, 0, 0, 1699, 1700, 5, 1, 0, 0, 1700, 1701, 3, 192, 96, 0, 1701, 1711, 5, 2, 0, 0, 1702, 1703, 5, 258, 0, 0, 1703, 1708, 3, 94, 47, 0, 1704, 1705, 5, 3, 0, 0, 1705, 1707, 3, 94, 47, 0, 1706, 1704, 1, 0, 0, 0, 1707, 1710, 1, 0, 0, 0, 1708, 1706, 1, 0, 0, 0, 1708, 1709, 1, 0, 0, 0, 1709, 1712, 1, 0, 0, 0, 1710, 1708, 1, 0, 0, 0, 1711, 1702, 1, 0, 0, 0, 1711, 1712, 1, 0, 0, 0, 1712, 1713, 1, 0, 0, 0, 1713, 1714, 5, 72, 0, 0, 1714, 1719, 3, 96, 48, 0, 1715, 1716, 5, 3, 0, 0, 1716, 1718, 3, 96, 48, 0, 1717, 1715, 1, 0, 0, 0, 1718, 1721, 1, 0, 0, 0, 1719, 1717, 1, 0, 0, 0, 1719, 1720, 1, 0, 0, 0, 1720, 1722, 1, 0, 0, 0, 1721, 1719, 1, 0, 0, 0, 1722, 1730, 5, 2, 0, 0, 1723, 1725, 5, 28, 0, 0, 1724, 1723, 1, 0, 0, 0, 1724, 1725, 1, 0, 0, 0, 1725, 1726, 1, 0, 0, 0, 1726, 1728, 3, 266, 133, 0, 1727, 1729, 3, 104, 52, 0, 1728, 1727, 1, 0, 0, 0, 1728, 1729, 1, 0, 0, 0, 1729, 1731, 1, 0, 0, 0, 1730, 1724, 1, 0, 0, 0, 1730, 1731, 1, 0, 0, 0, 1731, 1733, 1, 0, 0, 0, 1732, 1657, 1, 0, 0, 0, 1732, 1733, 1, 0, 0, 0, 1733, 87, 1, 0, 0, 0, 1734, 1735, 3, 134, 67, 0, 1735, 1736, 5, 28, 0, 0, 1736, 1737, 3, 266, 133, 0, 1737, 89, 1, 0, 0, 0, 1738, 1739, 5, 192, 0, 0, 1739, 1740, 5, 240, 0, 0, 1740, 1741, 5, 208, 0, 0, 1741, 1758, 5, 164, 0, 0, 1742, 1743, 5, 22, 0, 0, 1743, 1744, 5, 241, 0, 0, 1744, 1745, 5, 208, 0, 0, 1745, 1755, 5, 164, 0, 0, 1746, 1747, 5, 254, 0, 0, 1747, 1748, 5, 86, 0, 0, 1748, 1756, 5, 166, 0, 0, 1749, 1750, 5, 190, 0, 0, 1750, 1751, 5, 86, 0, 0, 1751, 1756, 5, 166, 0, 0, 1752, 1753, 5, 305, 0, 0, 1753, 1754, 5, 285, 0, 0, 1754, 1756, 5, 241, 0, 0, 1755, 1746, 1, 0, 0, 0, 1755, 1749, 1, 0, 0, 0, 1755, 1752, 1, 0, 0, 0, 1755, 1756, 1, 0, 0, 0, 1756, 1758, 1, 0, 0, 0, 1757, 1738, 1, 0, 0, 0, 1757, 1742, 1, 0, 0, 0, 1758, 91, 1, 0, 0, 0, 1759, 1760, 5, 5, 0, 0, 1760, 1761, 5, 270, 0, 0, 1761, 1762, 5, 175, 0, 0, 1762, 1779, 5, 240, 0, 0, 1763, 1764, 5, 5, 0, 0, 1764, 1765, 5, 205, 0, 0, 1765, 1766, 5, 149, 0, 0, 1766, 1779, 5, 240, 0, 0, 1767, 1768, 5, 5, 0, 0, 1768, 1769, 5, 270, 0, 0, 1769, 1770, 5, 102, 0, 0, 1770, 1779, 3, 266, 133, 0, 1771, 1772, 5, 5, 0, 0, 1772, 1773, 5, 270, 0, 0, 1773, 1774, 5, 149, 0, 0, 1774, 1779, 3, 266, 133, 0, 1775, 1776, 5, 5, 0, 0, 1776, 1777, 5, 270, 0, 0, 1777, 1779, 3, 266, 133, 0, 1778, 1759, 1, 0, 0, 0, 1778, 1763, 1, 0, 0, 0, 1778, 1767, 1, 0, 0, 0, 1778, 1771, 1, 0, 0, 0, 1778, 1775, 1, 0, 0, 0, 1779, 93, 1, 0, 0, 0, 1780, 1781, 3, 266, 133, 0, 1781, 1782, 5, 313, 0, 0, 1782, 1783, 5, 1, 0, 0, 1783, 1788, 3, 266, 133, 0, 1784, 1785, 5, 3, 0, 0, 1785, 1787, 3, 266, 133, 0, 1786, 1784, 1, 0, 0, 0, 1787, 1790, 1, 0, 0, 0, 1788, 1786, 1, 0, 0, 0, 1788, 1789, 1, 0, 0, 0, 1789, 1791, 1, 0, 0, 0, 1790, 1788, 1, 0, 0, 0, 1791, 1792, 5, 2, 0, 0, 1792, 95, 1, 0, 0, 0, 1793, 1794, 3, 266, 133, 0, 1794, 1795, 5, 28, 0, 0, 1795, 1796, 3, 134, 67, 0, 1796, 97, 1, 0, 0, 0, 1797, 1805, 3, 106, 53, 0, 1798, 1800, 5, 28, 0, 0, 1799, 1798, 1, 0, 0, 0, 1799, 1800, 1, 0, 0, 0, 1800, 1801, 1, 0, 0, 0, 1801, 1803, 3, 266, 133, 0, 1802, 1804, 3, 104, 52, 0, 1803, 1802, 1, 0, 0, 0, 1803, 1804, 1, 0, 0, 0, 1804, 1806, 1, 0, 0, 0, 1805, 1799, 1, 0, 0, 0, 1805, 1806, 1, 0, 0, 0, 1806, 99, 1, 0, 0, 0, 1807, 1808, 5, 1, 0, 0, 1808, 1813, 3, 254, 127, 0, 1809, 1810, 5, 3, 0, 0, 1810, 1812, 3, 254, 127, 0, 1811, 1809, 1, 0, 0, 0, 1812, 1815, 1, 0, 0, 0, 1813, 1811, 1, 0, 0, 0, 1813, 1814, 1, 0, 0, 0, 1814, 1816, 1, 0, 0, 0, 1815, 1813, 1, 0, 0, 0, 1816, 1817, 5, 2, 0, 0, 1817, 101, 1, 0, 0, 0, 1818, 1819, 5, 1, 0, 0, 1819, 1824, 3, 250, 125, 0, 1820, 1821, 5, 3, 0, 0, 1821, 1823, 3, 250, 125, 0, 1822, 1820, 1, 0, 0, 0, 1823, 1826, 1, 0, 0, 0, 1824, 1822, 1, 0, 0, 0, 1824, 1825, 1, 0, 0, 0, 1825, 1827, 1, 0, 0, 0, 1826, 1824, 1, 0, 0, 0, 1827, 1828, 5, 2, 0, 0, 1828, 103, 1, 0, 0, 0, 1829, 1830, 5, 1, 0, 0, 1830, 1835, 3, 266, 133, 0, 1831, 1832, 5, 3, 0, 0, 1832, 1834, 3, 266, 133, 0, 1833, 1831, 1, 0, 0, 0, 1834, 1837, 1, 0, 0, 0, 1835, 1833, 1, 0, 0, 0, 1835, 1836, 1, 0, 0, 0, 1836, 1838, 1, 0, 0, 0, 1837, 1835, 1, 0, 0, 0, 1838, 1839, 5, 2, 0, 0, 1839, 105, 1, 0, 0, 0, 1840, 1846, 3, 228, 114, 0, 1841, 1842, 5, 104, 0, 0, 1842, 1843, 7, 14, 0, 0, 1843, 1844, 5, 28, 0, 0, 1844, 1845, 5, 188, 0, 0, 1845, 1847, 3, 140, 70, 0, 1846, 1841, 1, 0, 0, 0, 1846, 1847, 1, 0, 0, 0, 1847, 1854, 1, 0, 0, 0, 1848, 1854, 3, 108, 54, 0, 1849, 1850, 5, 1, 0, 0, 1850, 1851, 3, 78, 39, 0, 1851, 1852, 5, 2, 0, 0, 1852, 1854, 1, 0, 0, 0, 1853, 1840, 1, 0, 0, 0, 1853, 1848, 1, 0, 0, 0, 1853, 1849, 1, 0, 0, 0, 1854, 107, 1, 0, 0, 0, 1855, 1856, 5, 1, 0, 0, 1856, 1857, 3, 22, 11, 0, 1857, 1858, 5, 2, 0, 0, 1858, 1919, 1, 0, 0, 0, 1859, 1860, 5, 286, 0, 0, 1860, 1861, 5, 1, 0, 0, 1861, 1866, 3, 134, 67, 0, 1862, 1863, 5, 3, 0, 0, 1863, 1865, 3, 134, 67, 0, 1864, 1862, 1, 0, 0, 0, 1865, 1868, 1, 0, 0, 0, 1866, 1864, 1, 0, 0, 0, 1866, 1867, 1, 0, 0, 0, 1867, 1869, 1, 0, 0, 0, 1868, 1866, 1, 0, 0, 0, 1869, 1872, 5, 2, 0, 0, 1870, 1871, 5, 305, 0, 0, 1871, 1873, 5, 197, 0, 0, 1872, 1870, 1, 0, 0, 0, 1872, 1873, 1, 0, 0, 0, 1873, 1919, 1, 0, 0, 0, 1874, 1875, 5, 150, 0, 0, 1875, 1876, 5, 1, 0, 0, 1876, 1877, 3, 22, 11, 0, 1877, 1878, 5, 2, 0, 0, 1878, 1919, 1, 0, 0, 0, 1879, 1880, 5, 261, 0, 0, 1880, 1881, 5, 1, 0, 0, 1881, 1882, 3, 120, 60, 0, 1882, 1883, 5, 2, 0, 0, 1883, 1919, 1, 0, 0, 0, 1884, 1885, 5, 143, 0, 0, 1885, 1886, 5, 1, 0, 0, 1886, 1887, 3, 144, 72, 0, 1887, 1888, 5, 46, 0, 0, 1888, 1889, 5, 1, 0, 0, 1889, 1894, 3, 110, 55, 0, 1890, 1891, 5, 3, 0, 0, 1891, 1893, 3, 110, 55, 0, 1892, 1890, 1, 0, 0, 0, 1893, 1896, 1, 0, 0, 0, 1894, 1892, 1, 0, 0, 0, 1894, 1895, 1, 0, 0, 0, 1895, 1897, 1, 0, 0, 0, 1896, 1894, 1, 0, 0, 0, 1897, 1909, 5, 2, 0, 0, 1898, 1899, 5, 211, 0, 0, 1899, 1900, 5, 1, 0, 0, 1900, 1901, 3, 112, 56, 0, 1901, 1902, 5, 2, 0, 0, 1902, 1910, 1, 0, 0, 0, 1903, 1904, 5, 211, 0, 0, 1904, 1905, 5, 71, 0, 0, 1905, 1906, 5, 1, 0, 0, 1906, 1907, 3, 118, 59, 0, 1907, 1908, 5, 2, 0, 0, 1908, 1910, 1, 0, 0, 0, 1909, 1898, 1, 0, 0, 0, 1909, 1903, 1, 0, 0, 0, 1909, 1910, 1, 0, 0, 0, 1910, 1914, 1, 0, 0, 0, 1911, 1912, 7, 15, 0, 0, 1912, 1913, 5, 191, 0, 0, 1913, 1915, 5, 90, 0, 0, 1914, 1911, 1, 0, 0, 0, 1914, 1915, 1, 0, 0, 0, 1915, 1916, 1, 0, 0, 0, 1916, 1917, 5, 2, 0, 0, 1917, 1919, 1, 0, 0, 0, 1918, 1855, 1, 0, 0, 0, 1918, 1859, 1, 0, 0, 0, 1918, 1874, 1, 0, 0, 0, 1918, 1879, 1, 0, 0, 0, 1918, 1884, 1, 0, 0, 0, 1919, 109, 1, 0, 0, 0, 1920, 1921, 3, 266, 133, 0, 1921, 1922, 5, 104, 0, 0, 1922, 1923, 5, 197, 0, 0, 1923, 1998, 1, 0, 0, 0, 1924, 1925, 3, 266, 133, 0, 1925, 1928, 3, 172, 86, 0, 1926, 1927, 5, 206, 0, 0, 1927, 1929, 3, 162, 81, 0, 1928, 1926, 1, 0, 0, 0, 1928, 1929, 1, 0, 0, 0, 1929, 1934, 1, 0, 0, 0, 1930, 1931, 3, 152, 76, 0, 1931, 1932, 5, 191, 0, 0, 1932, 1933, 5, 86, 0, 0, 1933, 1935, 1, 0, 0, 0, 1934, 1930, 1, 0, 0, 0, 1934, 1935, 1, 0, 0, 0, 1935, 1940, 1, 0, 0, 0, 1936, 1937, 3, 152, 76, 0, 1937, 1938, 5, 191, 0, 0, 1938, 1939, 5, 90, 0, 0, 1939, 1941, 1, 0, 0, 0, 1940, 1936, 1, 0, 0, 0, 1940, 1941, 1, 0, 0, 0, 1941, 1998, 1, 0, 0, 0, 1942, 1943, 3, 266, 133, 0, 1943, 1944, 3, 172, 86, 0, 1944, 1945, 5, 105, 0, 0, 1945, 1948, 3, 148, 74, 0, 1946, 1947, 5, 206, 0, 0, 1947, 1949, 3, 162, 81, 0, 1948, 1946, 1, 0, 0, 0, 1948, 1949, 1, 0, 0, 0, 1949, 1953, 1, 0, 0, 0, 1950, 1951, 3, 154, 77, 0, 1951, 1952, 5, 309, 0, 0, 1952, 1954, 1, 0, 0, 0, 1953, 1950, 1, 0, 0, 0, 1953, 1954, 1, 0, 0, 0, 1954, 1962, 1, 0, 0, 0, 1955, 1956, 7, 16, 0, 0, 1956, 1960, 5, 219, 0, 0, 1957, 1958, 5, 191, 0, 0, 1958, 1959, 5, 243, 0, 0, 1959, 1961, 5, 265, 0, 0, 1960, 1957, 1, 0, 0, 0, 1960, 1961, 1, 0, 0, 0, 1961, 1963, 1, 0, 0, 0, 1962, 1955, 1, 0, 0, 0, 1962, 1963, 1, 0, 0, 0, 1963, 1968, 1, 0, 0, 0, 1964, 1965, 3, 156, 78, 0, 1965, 1966, 5, 191, 0, 0, 1966, 1967, 5, 86, 0, 0, 1967, 1969, 1, 0, 0, 0, 1968, 1964, 1, 0, 0, 0, 1968, 1969, 1, 0, 0, 0, 1969, 1974, 1, 0, 0, 0, 1970, 1971, 3, 156, 78, 0, 1971, 1972, 5, 191, 0, 0, 1972, 1973, 5, 90, 0, 0, 1973, 1975, 1, 0, 0, 0, 1974, 1970, 1, 0, 0, 0, 1974, 1975, 1, 0, 0, 0, 1975, 1998, 1, 0, 0, 0, 1976, 1978, 5, 174, 0, 0, 1977, 1979, 5, 206, 0, 0, 1978, 1977, 1, 0, 0, 0, 1978, 1979, 1, 0, 0, 0, 1979, 1980, 1, 0, 0, 0, 1980, 1983, 3, 162, 81, 0, 1981, 1982, 5, 28, 0, 0, 1982, 1984, 3, 266, 133, 0, 1983, 1981, 1, 0, 0, 0, 1983, 1984, 1, 0, 0, 0, 1984, 1985, 1, 0, 0, 0, 1985, 1986, 5, 46, 0, 0, 1986, 1987, 5, 1, 0, 0, 1987, 1992, 3, 110, 55, 0, 1988, 1989, 5, 3, 0, 0, 1989, 1991, 3, 110, 55, 0, 1990, 1988, 1, 0, 0, 0, 1991, 1994, 1, 0, 0, 0, 1992, 1990, 1, 0, 0, 0, 1992, 1993, 1, 0, 0, 0, 1993, 1995, 1, 0, 0, 0, 1994, 1992, 1, 0, 0, 0, 1995, 1996, 5, 2, 0, 0, 1996, 1998, 1, 0, 0, 0, 1997, 1920, 1, 0, 0, 0, 1997, 1924, 1, 0, 0, 0, 1997, 1942, 1, 0, 0, 0, 1997, 1976, 1, 0, 0, 0, 1998, 111, 1, 0, 0, 0, 1999, 2025, 3, 114, 57, 0, 2000, 2001, 3, 114, 57, 0, 2001, 2002, 7, 17, 0, 0, 2002, 2003, 3, 116, 58, 0, 2003, 2025, 1, 0, 0, 0, 2004, 2005, 3, 116, 58, 0, 2005, 2006, 5, 282, 0, 0, 2006, 2011, 3, 116, 58, 0, 2007, 2008, 5, 282, 0, 0, 2008, 2010, 3, 116, 58, 0, 2009, 2007, 1, 0, 0, 0, 2010, 2013, 1, 0, 0, 0, 2011, 2009, 1, 0, 0, 0, 2011, 2012, 1, 0, 0, 0, 2012, 2025, 1, 0, 0, 0, 2013, 2011, 1, 0, 0, 0, 2014, 2015, 3, 116, 58, 0, 2015, 2016, 5, 55, 0, 0, 2016, 2021, 3, 116, 58, 0, 2017, 2018, 5, 55, 0, 0, 2018, 2020, 3, 116, 58, 0, 2019, 2017, 1, 0, 0, 0, 2020, 2023, 1, 0, 0, 0, 2021, 2019, 1, 0, 0, 0, 2021, 2022, 1, 0, 0, 0, 2022, 2025, 1, 0, 0, 0, 2023, 2021, 1, 0, 0, 0, 2024, 1999, 1, 0, 0, 0, 2024, 2000, 1, 0, 0, 0, 2024, 2004, 1, 0, 0, 0, 2024, 2014, 1, 0, 0, 0, 2025, 113, 1, 0, 0, 0, 2026, 2027, 3, 266, 133, 0, 2027, 115, 1, 0, 0, 0, 2028, 2034, 3, 114, 57, 0, 2029, 2030, 5, 1, 0, 0, 2030, 2031, 3, 112, 56, 0, 2031, 2032, 5, 2, 0, 0, 2032, 2034, 1, 0, 0, 0, 2033, 2028, 1, 0, 0, 0, 2033, 2029, 1, 0, 0, 0, 2034, 117, 1, 0, 0, 0, 2035, 2038, 7, 17, 0, 0, 2036, 2037, 5, 3, 0, 0, 2037, 2039, 7, 18, 0, 0, 2038, 2036, 1, 0, 0, 0, 2038, 2039, 1, 0, 0, 0, 2039, 2046, 1, 0, 0, 0, 2040, 2043, 7, 18, 0, 0, 2041, 2042, 5, 3, 0, 0, 2042, 2044, 7, 17, 0, 0, 2043, 2041, 1, 0, 0, 0, 2043, 2044, 1, 0, 0, 0, 2044, 2046, 1, 0, 0, 0, 2045, 2035, 1, 0, 0, 0, 2045, 2040, 1, 0, 0, 0, 2046, 119, 1, 0, 0, 0, 2047, 2048, 3, 246, 123, 0, 2048, 2057, 5, 1, 0, 0, 2049, 2054, 3, 122, 61, 0, 2050, 2051, 5, 3, 0, 0, 2051, 2053, 3, 122, 61, 0, 2052, 2050, 1, 0, 0, 0, 2053, 2056, 1, 0, 0, 0, 2054, 2052, 1, 0, 0, 0, 2054, 2055, 1, 0, 0, 0, 2055, 2058, 1, 0, 0, 0, 2056, 2054, 1, 0, 0, 0, 2057, 2049, 1, 0, 0, 0, 2057, 2058, 1, 0, 0, 0, 2058, 2068, 1, 0, 0, 0, 2059, 2060, 5, 53, 0, 0, 2060, 2065, 3, 132, 66, 0, 2061, 2062, 5, 3, 0, 0, 2062, 2064, 3, 132, 66, 0, 2063, 2061, 1, 0, 0, 0, 2064, 2067, 1, 0, 0, 0, 2065, 2063, 1, 0, 0, 0, 2065, 2066, 1, 0, 0, 0, 2066, 2069, 1, 0, 0, 0, 2067, 2065, 1, 0, 0, 0, 2068, 2059, 1, 0, 0, 0, 2068, 2069, 1, 0, 0, 0, 2069, 2070, 1, 0, 0, 0, 2070, 2071, 5, 2, 0, 0, 2071, 121, 1, 0, 0, 0, 2072, 2073, 3, 266, 133, 0, 2073, 2074, 5, 6, 0, 0, 2074, 2076, 1, 0, 0, 0, 2075, 2072, 1, 0, 0, 0, 2075, 2076, 1, 0, 0, 0, 2076, 2080, 1, 0, 0, 0, 2077, 2081, 3, 124, 62, 0, 2078, 2081, 3, 128, 64, 0, 2079, 2081, 3, 134, 67, 0, 2080, 2077, 1, 0, 0, 0, 2080, 2078, 1, 0, 0, 0, 2080, 2079, 1, 0, 0, 0, 2081, 123, 1, 0, 0, 0, 2082, 2093, 3, 126, 63, 0, 2083, 2084, 5, 202, 0, 0, 2084, 2091, 5, 36, 0, 0, 2085, 2087, 5, 1, 0, 0, 2086, 2088, 3, 54, 27, 0, 2087, 2086, 1, 0, 0, 0, 2087, 2088, 1, 0, 0, 0, 2088, 2089, 1, 0, 0, 0, 2089, 2092, 5, 2, 0, 0, 2090, 2092, 3, 134, 67, 0, 2091, 2085, 1, 0, 0, 0, 2091, 2090, 1, 0, 0, 0, 2092, 2094, 1, 0, 0, 0, 2093, 2083, 1, 0, 0, 0, 2093, 2094, 1, 0, 0, 0, 2094, 2101, 1, 0, 0, 0, 2095, 2096, 5, 218, 0, 0, 2096, 2097, 5, 301, 0, 0, 2097, 2102, 5, 86, 0, 0, 2098, 2099, 5, 145, 0, 0, 2099, 2100, 5, 301, 0, 0, 2100, 2102, 5, 86, 0, 0, 2101, 2095, 1, 0, 0, 0, 2101, 2098, 1, 0, 0, 0, 2101, 2102, 1, 0, 0, 0, 2102, 2119, 1, 0, 0, 0, 2103, 2104, 5, 196, 0, 0, 2104, 2117, 5, 36, 0, 0, 2105, 2106, 5, 1, 0, 0, 2106, 2111, 3, 42, 21, 0, 2107, 2108, 5, 3, 0, 0, 2108, 2110, 3, 42, 21, 0, 2109, 2107, 1, 0, 0, 0, 2110, 2113, 1, 0, 0, 0, 2111, 2109, 1, 0, 0, 0, 2111, 2112, 1, 0, 0, 0, 2112, 2114, 1, 0, 0, 0, 2113, 2111, 1, 0, 0, 0, 2114, 2115, 5, 2, 0, 0, 2115, 2118, 1, 0, 0, 0, 2116, 2118, 3, 42, 21, 0, 2117, 2105, 1, 0, 0, 0, 2117, 2116, 1, 0, 0, 0, 2118, 2120, 1, 0, 0, 0, 2119, 2103, 1, 0, 0, 0, 2119, 2120, 1, 0, 0, 0, 2120, 125, 1, 0, 0, 0, 2121, 2122, 5, 261, 0, 0, 2122, 2123, 5, 1, 0, 0, 2123, 2124, 3, 230, 115, 0, 2124, 2132, 5, 2, 0, 0, 2125, 2127, 5, 28, 0, 0, 2126, 2125, 1, 0, 0, 0, 2126, 2127, 1, 0, 0, 0, 2127, 2128, 1, 0, 0, 0, 2128, 2130, 3, 266, 133, 0, 2129, 2131, 3, 104, 52, 0, 2130, 2129, 1, 0, 0, 0, 2130, 2131, 1, 0, 0, 0, 2131, 2133, 1, 0, 0, 0, 2132, 2126, 1, 0, 0, 0, 2132, 2133, 1, 0, 0, 0, 2133, 2148, 1, 0, 0, 0, 2134, 2135, 5, 261, 0, 0, 2135, 2136, 5, 1, 0, 0, 2136, 2137, 3, 22, 11, 0, 2137, 2145, 5, 2, 0, 0, 2138, 2140, 5, 28, 0, 0, 2139, 2138, 1, 0, 0, 0, 2139, 2140, 1, 0, 0, 0, 2140, 2141, 1, 0, 0, 0, 2141, 2143, 3, 266, 133, 0, 2142, 2144, 3, 104, 52, 0, 2143, 2142, 1, 0, 0, 0, 2143, 2144, 1, 0, 0, 0, 2144, 2146, 1, 0, 0, 0, 2145, 2139, 1, 0, 0, 0, 2145, 2146, 1, 0, 0, 0, 2146, 2148, 1, 0, 0, 0, 2147, 2121, 1, 0, 0, 0, 2147, 2134, 1, 0, 0, 0, 2148, 127, 1, 0, 0, 0, 2149, 2150, 5, 78, 0, 0, 2150, 2151, 5, 1, 0, 0, 2151, 2156, 3, 130, 65, 0, 2152, 2153, 5, 3, 0, 0, 2153, 2155, 3, 130, 65, 0, 2154, 2152, 1, 0, 0, 0, 2155, 2158, 1, 0, 0, 0, 2156, 2154, 1, 0, 0, 0, 2156, 2157, 1, 0, 0, 0, 2157, 2159, 1, 0, 0, 0, 2158, 2156, 1, 0, 0, 0, 2159, 2160, 5, 2, 0, 0, 2160, 2168, 1, 0, 0, 0, 2161, 2162, 5, 41, 0, 0, 2162, 2163, 5, 1, 0, 0, 2163, 2164, 5, 184, 0, 0, 2164, 2165, 5, 28, 0, 0, 2165, 2166, 5, 78, 0, 0, 2166, 2168, 5, 2, 0, 0, 2167, 2149, 1, 0, 0, 0, 2167, 2161, 1, 0, 0, 0, 2168, 129, 1, 0, 0, 0, 2169, 2171, 3, 266, 133, 0, 2170, 2172, 3, 172, 86, 0, 2171, 2170, 1, 0, 0, 0, 2171, 2172, 1, 0, 0, 0, 2172, 131, 1, 0, 0, 0, 2173, 2174, 5, 1, 0, 0, 2174, 2175, 3, 256, 128, 0, 2175, 2176, 5, 3, 0, 0, 2176, 2181, 3, 256, 128, 0, 2177, 2178, 5, 3, 0, 0, 2178, 2180, 3, 256, 128, 0, 2179, 2177, 1, 0, 0, 0, 2180, 2183, 1, 0, 0, 0, 2181, 2179, 1, 0, 0, 0, 2181, 2182, 1, 0, 0, 0, 2182, 2184, 1, 0, 0, 0, 2183, 2181, 1, 0, 0, 0, 2184, 2185, 5, 2, 0, 0, 2185, 133, 1, 0, 0, 0, 2186, 2187, 3, 136, 68, 0, 2187, 135, 1, 0, 0, 0, 2188, 2189, 6, 68, -1, 0, 2189, 2191, 3, 140, 70, 0, 2190, 2192, 3, 138, 69, 0, 2191, 2190, 1, 0, 0, 0, 2191, 2192, 1, 0, 0, 0, 2192, 2196, 1, 0, 0, 0, 2193, 2194, 5, 183, 0, 0, 2194, 2196, 3, 136, 68, 3, 2195, 2188, 1, 0, 0, 0, 2195, 2193, 1, 0, 0, 0, 2196, 2205, 1, 0, 0, 0, 2197, 2198, 10, 2, 0, 0, 2198, 2199, 5, 25, 0, 0, 2199, 2204, 3, 136, 68, 3, 2200, 2201, 10, 1, 0, 0, 2201, 2202, 5, 195, 0, 0, 2202, 2204, 3, 136, 68, 2, 2203, 2197, 1, 0, 0, 0, 2203, 2200, 1, 0, 0, 0, 2204, 2207, 1, 0, 0, 0, 2205, 2203, 1, 0, 0, 0, 2205, 2206, 1, 0, 0, 0, 2206, 137, 1, 0, 0, 0, 2207, 2205, 1, 0, 0, 0, 2208, 2209, 3, 164, 82, 0, 2209, 2210, 3, 140, 70, 0, 2210, 2270, 1, 0, 0, 0, 2211, 2212, 3, 164, 82, 0, 2212, 2213, 3, 166, 83, 0, 2213, 2214, 5, 1, 0, 0, 2214, 2215, 3, 22, 11, 0, 2215, 2216, 5, 2, 0, 0, 2216, 2270, 1, 0, 0, 0, 2217, 2219, 5, 183, 0, 0, 2218, 2217, 1, 0, 0, 0, 2218, 2219, 1, 0, 0, 0, 2219, 2220, 1, 0, 0, 0, 2220, 2221, 5, 34, 0, 0, 2221, 2222, 3, 140, 70, 0, 2222, 2223, 5, 25, 0, 0, 2223, 2224, 3, 140, 70, 0, 2224, 2270, 1, 0, 0, 0, 2225, 2227, 5, 183, 0, 0, 2226, 2225, 1, 0, 0, 0, 2226, 2227, 1, 0, 0, 0, 2227, 2228, 1, 0, 0, 0, 2228, 2229, 5, 123, 0, 0, 2229, 2230, 5, 1, 0, 0, 2230, 2235, 3, 134, 67, 0, 2231, 2232, 5, 3, 0, 0, 2232, 2234, 3, 134, 67, 0, 2233, 2231, 1, 0, 0, 0, 2234, 2237, 1, 0, 0, 0, 2235, 2233, 1, 0, 0, 0, 2235, 2236, 1, 0, 0, 0, 2236, 2238, 1, 0, 0, 0, 2237, 2235, 1, 0, 0, 0, 2238, 2239, 5, 2, 0, 0, 2239, 2270, 1, 0, 0, 0, 2240, 2242, 5, 183, 0, 0, 2241, 2240, 1, 0, 0, 0, 2241, 2242, 1, 0, 0, 0, 2242, 2243, 1, 0, 0, 0, 2243, 2244, 5, 123, 0, 0, 2244, 2245, 5, 1, 0, 0, 2245, 2246, 3, 22, 11, 0, 2246, 2247, 5, 2, 0, 0, 2247, 2270, 1, 0, 0, 0, 2248, 2250, 5, 183, 0, 0, 2249, 2248, 1, 0, 0, 0, 2249, 2250, 1, 0, 0, 0, 2250, 2251, 1, 0, 0, 0, 2251, 2252, 5, 155, 0, 0, 2252, 2255, 3, 140, 70, 0, 2253, 2254, 5, 91, 0, 0, 2254, 2256, 3, 140, 70, 0, 2255, 2253, 1, 0, 0, 0, 2255, 2256, 1, 0, 0, 0, 2256, 2270, 1, 0, 0, 0, 2257, 2259, 5, 134, 0, 0, 2258, 2260, 5, 183, 0, 0, 2259, 2258, 1, 0, 0, 0, 2259, 2260, 1, 0, 0, 0, 2260, 2261, 1, 0, 0, 0, 2261, 2270, 5, 184, 0, 0, 2262, 2264, 5, 134, 0, 0, 2263, 2265, 5, 183, 0, 0, 2264, 2263, 1, 0, 0, 0, 2264, 2265, 1, 0, 0, 0, 2265, 2266, 1, 0, 0, 0, 2266, 2267, 5, 80, 0, 0, 2267, 2268, 5, 106, 0, 0, 2268, 2270, 3, 140, 70, 0, 2269, 2208, 1, 0, 0, 0, 2269, 2211, 1, 0, 0, 0, 2269, 2218, 1, 0, 0, 0, 2269, 2226, 1, 0, 0, 0, 2269, 2241, 1, 0, 0, 0, 2269, 2249, 1, 0, 0, 0, 2269, 2257, 1, 0, 0, 0, 2269, 2262, 1, 0, 0, 0, 2270, 139, 1, 0, 0, 0, 2271, 2272, 6, 70, -1, 0, 2272, 2276, 3, 142, 71, 0, 2273, 2274, 7, 19, 0, 0, 2274, 2276, 3, 140, 70, 4, 2275, 2271, 1, 0, 0, 0, 2275, 2273, 1, 0, 0, 0, 2276, 2298, 1, 0, 0, 0, 2277, 2278, 10, 3, 0, 0, 2278, 2279, 7, 20, 0, 0, 2279, 2297, 3, 140, 70, 4, 2280, 2281, 10, 2, 0, 0, 2281, 2282, 7, 19, 0, 0, 2282, 2297, 3, 140, 70, 3, 2283, 2284, 10, 1, 0, 0, 2284, 2285, 5, 324, 0, 0, 2285, 2297, 3, 140, 70, 2, 2286, 2287, 10, 5, 0, 0, 2287, 2294, 5, 30, 0, 0, 2288, 2289, 5, 268, 0, 0, 2289, 2290, 5, 312, 0, 0, 2290, 2295, 3, 168, 84, 0, 2291, 2292, 5, 268, 0, 0, 2292, 2293, 5, 312, 0, 0, 2293, 2295, 3, 162, 81, 0, 2294, 2288, 1, 0, 0, 0, 2294, 2291, 1, 0, 0, 0, 2295, 2297, 1, 0, 0, 0, 2296, 2277, 1, 0, 0, 0, 2296, 2280, 1, 0, 0, 0, 2296, 2283, 1, 0, 0, 0, 2296, 2286, 1, 0, 0, 0, 2297, 2300, 1, 0, 0, 0, 2298, 2296, 1, 0, 0, 0, 2298, 2299, 1, 0, 0, 0, 2299, 141, 1, 0, 0, 0, 2300, 2298, 1, 0, 0, 0, 2301, 2302, 6, 71, -1, 0, 2302, 2769, 5, 184, 0, 0, 2303, 2769, 3, 168, 84, 0, 2304, 2305, 3, 266, 133, 0, 2305, 2306, 3, 162, 81, 0, 2306, 2769, 1, 0, 0, 0, 2307, 2308, 5, 83, 0, 0, 2308, 2309, 5, 214, 0, 0, 2309, 2769, 3, 162, 81, 0, 2310, 2769, 3, 268, 134, 0, 2311, 2769, 7, 21, 0, 0, 2312, 2769, 3, 162, 81, 0, 2313, 2769, 5, 329, 0, 0, 2314, 2769, 5, 325, 0, 0, 2315, 2316, 5, 212, 0, 0, 2316, 2317, 5, 1, 0, 0, 2317, 2318, 3, 140, 70, 0, 2318, 2319, 5, 123, 0, 0, 2319, 2320, 3, 140, 70, 0, 2320, 2321, 5, 2, 0, 0, 2321, 2769, 1, 0, 0, 0, 2322, 2323, 5, 1, 0, 0, 2323, 2326, 3, 134, 67, 0, 2324, 2325, 5, 3, 0, 0, 2325, 2327, 3, 134, 67, 0, 2326, 2324, 1, 0, 0, 0, 2327, 2328, 1, 0, 0, 0, 2328, 2326, 1, 0, 0, 0, 2328, 2329, 1, 0, 0, 0, 2329, 2330, 1, 0, 0, 0, 2330, 2331, 5, 2, 0, 0, 2331, 2769, 1, 0, 0, 0, 2332, 2333, 5, 240, 0, 0, 2333, 2334, 5, 1, 0, 0, 2334, 2339, 3, 134, 67, 0, 2335, 2336, 5, 3, 0, 0, 2336, 2338, 3, 134, 67, 0, 2337, 2335, 1, 0, 0, 0, 2338, 2341, 1, 0, 0, 0, 2339, 2337, 1, 0, 0, 0, 2339, 2340, 1, 0, 0, 0, 2340, 2342, 1, 0, 0, 0, 2341, 2339, 1, 0, 0, 0, 2342, 2343, 5, 2, 0, 0, 2343, 2769, 1, 0, 0, 0, 2344, 2345, 5, 157, 0, 0, 2345, 2347, 5, 1, 0, 0, 2346, 2348, 3, 66, 33, 0, 2347, 2346, 1, 0, 0, 0, 2347, 2348, 1, 0, 0, 0, 2348, 2349, 1, 0, 0, 0, 2349, 2352, 3, 134, 67, 0, 2350, 2351, 5, 3, 0, 0, 2351, 2353, 3, 162, 81, 0, 2352, 2350, 1, 0, 0, 0, 2352, 2353, 1, 0, 0, 0, 2353, 2357, 1, 0, 0, 0, 2354, 2355, 5, 191, 0, 0, 2355, 2356, 5, 201, 0, 0, 2356, 2358, 3, 84, 42, 0, 2357, 2354, 1, 0, 0, 0, 2357, 2358, 1, 0, 0, 0, 2358, 2359, 1, 0, 0, 0, 2359, 2360, 5, 2, 0, 0, 2360, 2361, 5, 306, 0, 0, 2361, 2362, 5, 115, 0, 0, 2362, 2363, 5, 1, 0, 0, 2363, 2364, 5, 196, 0, 0, 2364, 2365, 5, 36, 0, 0, 2365, 2370, 3, 42, 21, 0, 2366, 2367, 5, 3, 0, 0, 2367, 2369, 3, 42, 21, 0, 2368, 2366, 1, 0, 0, 0, 2369, 2372, 1, 0, 0, 0, 2370, 2368, 1, 0, 0, 0, 2370, 2371, 1, 0, 0, 0, 2371, 2373, 1, 0, 0, 0, 2372, 2370, 1, 0, 0, 0, 2373, 2374, 5, 2, 0, 0, 2374, 2376, 1, 0, 0, 0, 2375, 2377, 3, 180, 90, 0, 2376, 2375, 1, 0, 0, 0, 2376, 2377, 1, 0, 0, 0, 2377, 2769, 1, 0, 0, 0, 2378, 2380, 3, 160, 80, 0, 2379, 2378, 1, 0, 0, 0, 2379, 2380, 1, 0, 0, 0, 2380, 2381, 1, 0, 0, 0, 2381, 2382, 3, 246, 123, 0, 2382, 2386, 5, 1, 0, 0, 2383, 2384, 3, 266, 133, 0, 2384, 2385, 5, 4, 0, 0, 2385, 2387, 1, 0, 0, 0, 2386, 2383, 1, 0, 0, 0, 2386, 2387, 1, 0, 0, 0, 2387, 2388, 1, 0, 0, 0, 2388, 2389, 5, 321, 0, 0, 2389, 2391, 5, 2, 0, 0, 2390, 2392, 3, 180, 90, 0, 2391, 2390, 1, 0, 0, 0, 2391, 2392, 1, 0, 0, 0, 2392, 2394, 1, 0, 0, 0, 2393, 2395, 3, 184, 92, 0, 2394, 2393, 1, 0, 0, 0, 2394, 2395, 1, 0, 0, 0, 2395, 2769, 1, 0, 0, 0, 2396, 2398, 3, 160, 80, 0, 2397, 2396, 1, 0, 0, 0, 2397, 2398, 1, 0, 0, 0, 2398, 2399, 1, 0, 0, 0, 2399, 2400, 3, 246, 123, 0, 2400, 2412, 5, 1, 0, 0, 2401, 2403, 3, 66, 33, 0, 2402, 2401, 1, 0, 0, 0, 2402, 2403, 1, 0, 0, 0, 2403, 2404, 1, 0, 0, 0, 2404, 2409, 3, 134, 67, 0, 2405, 2406, 5, 3, 0, 0, 2406, 2408, 3, 134, 67, 0, 2407, 2405, 1, 0, 0, 0, 2408, 2411, 1, 0, 0, 0, 2409, 2407, 1, 0, 0, 0, 2409, 2410, 1, 0, 0, 0, 2410, 2413, 1, 0, 0, 0, 2411, 2409, 1, 0, 0, 0, 2412, 2402, 1, 0, 0, 0, 2412, 2413, 1, 0, 0, 0, 2413, 2424, 1, 0, 0, 0, 2414, 2415, 5, 196, 0, 0, 2415, 2416, 5, 36, 0, 0, 2416, 2421, 3, 42, 21, 0, 2417, 2418, 5, 3, 0, 0, 2418, 2420, 3, 42, 21, 0, 2419, 2417, 1, 0, 0, 0, 2420, 2423, 1, 0, 0, 0, 2421, 2419, 1, 0, 0, 0, 2421, 2422, 1, 0, 0, 0, 2422, 2425, 1, 0, 0, 0, 2423, 2421, 1, 0, 0, 0, 2424, 2414, 1, 0, 0, 0, 2424, 2425, 1, 0, 0, 0, 2425, 2426, 1, 0, 0, 0, 2426, 2428, 5, 2, 0, 0, 2427, 2429, 3, 180, 90, 0, 2428, 2427, 1, 0, 0, 0, 2428, 2429, 1, 0, 0, 0, 2429, 2437, 1, 0, 0, 0, 2430, 2431, 5, 121, 0, 0, 2431, 2435, 5, 186, 0, 0, 2432, 2433, 5, 229, 0, 0, 2433, 2435, 5, 186, 0, 0, 2434, 2430, 1, 0, 0, 0, 2434, 2432, 1, 0, 0, 0, 2434, 2435, 1, 0, 0, 0, 2435, 2436, 1, 0, 0, 0, 2436, 2438, 3, 184, 92, 0, 2437, 2434, 1, 0, 0, 0, 2437, 2438, 1, 0, 0, 0, 2438, 2769, 1, 0, 0, 0, 2439, 2440, 3, 266, 133, 0, 2440, 2441, 3, 184, 92, 0, 2441, 2769, 1, 0, 0, 0, 2442, 2443, 3, 266, 133, 0, 2443, 2444, 5, 7, 0, 0, 2444, 2445, 3, 134, 67, 0, 2445, 2769, 1, 0, 0, 0, 2446, 2455, 5, 1, 0, 0, 2447, 2452, 3, 266, 133, 0, 2448, 2449, 5, 3, 0, 0, 2449, 2451, 3, 266, 133, 0, 2450, 2448, 1, 0, 0, 0, 2451, 2454, 1, 0, 0, 0, 2452, 2450, 1, 0, 0, 0, 2452, 2453, 1, 0, 0, 0, 2453, 2456, 1, 0, 0, 0, 2454, 2452, 1, 0, 0, 0, 2455, 2447, 1, 0, 0, 0, 2455, 2456, 1, 0, 0, 0, 2456, 2457, 1, 0, 0, 0, 2457, 2458, 5, 2, 0, 0, 2458, 2459, 5, 7, 0, 0, 2459, 2769, 3, 134, 67, 0, 2460, 2461, 5, 1, 0, 0, 2461, 2462, 3, 22, 11, 0, 2462, 2463, 5, 2, 0, 0, 2463, 2769, 1, 0, 0, 0, 2464, 2465, 5, 95, 0, 0, 2465, 2466, 5, 1, 0, 0, 2466, 2467, 3, 22, 11, 0, 2467, 2468, 5, 2, 0, 0, 2468, 2769, 1, 0, 0, 0, 2469, 2470, 5, 40, 0, 0, 2470, 2472, 3, 134, 67, 0, 2471, 2473, 3, 178, 89, 0, 2472, 2471, 1, 0, 0, 0, 2473, 2474, 1, 0, 0, 0, 2474, 2472, 1, 0, 0, 0, 2474, 2475, 1, 0, 0, 0, 2475, 2478, 1, 0, 0, 0, 2476, 2477, 5, 85, 0, 0, 2477, 2479, 3, 134, 67, 0, 2478, 2476, 1, 0, 0, 0, 2478, 2479, 1, 0, 0, 0, 2479, 2480, 1, 0, 0, 0, 2480, 2481, 5, 89, 0, 0, 2481, 2769, 1, 0, 0, 0, 2482, 2484, 5, 40, 0, 0, 2483, 2485, 3, 178, 89, 0, 2484, 2483, 1, 0, 0, 0, 2485, 2486, 1, 0, 0, 0, 2486, 2484, 1, 0, 0, 0, 2486, 2487, 1, 0, 0, 0, 2487, 2490, 1, 0, 0, 0, 2488, 2489, 5, 85, 0, 0, 2489, 2491, 3, 134, 67, 0, 2490, 2488, 1, 0, 0, 0, 2490, 2491, 1, 0, 0, 0, 2491, 2492, 1, 0, 0, 0, 2492, 2493, 5, 89, 0, 0, 2493, 2769, 1, 0, 0, 0, 2494, 2495, 5, 41, 0, 0, 2495, 2496, 5, 1, 0, 0, 2496, 2497, 3, 134, 67, 0, 2497, 2498, 5, 28, 0, 0, 2498, 2499, 3, 172, 86, 0, 2499, 2500, 5, 2, 0, 0, 2500, 2769, 1, 0, 0, 0, 2501, 2502, 5, 276, 0, 0, 2502, 2503, 5, 1, 0, 0, 2503, 2504, 3, 134, 67, 0, 2504, 2505, 5, 28, 0, 0, 2505, 2506, 3, 172, 86, 0, 2506, 2507, 5, 2, 0, 0, 2507, 2769, 1, 0, 0, 0, 2508, 2509, 5, 27, 0, 0, 2509, 2518, 5, 8, 0, 0, 2510, 2515, 3, 134, 67, 0, 2511, 2512, 5, 3, 0, 0, 2512, 2514, 3, 134, 67, 0, 2513, 2511, 1, 0, 0, 0, 2514, 2517, 1, 0, 0, 0, 2515, 2513, 1, 0, 0, 0, 2515, 2516, 1, 0, 0, 0, 2516, 2519, 1, 0, 0, 0, 2517, 2515, 1, 0, 0, 0, 2518, 2510, 1, 0, 0, 0, 2518, 2519, 1, 0, 0, 0, 2519, 2520, 1, 0, 0, 0, 2520, 2769, 5, 9, 0, 0, 2521, 2769, 3, 252, 126, 0, 2522, 2769, 5, 59, 0, 0, 2523, 2527, 5, 63, 0, 0, 2524, 2525, 5, 1, 0, 0, 2525, 2526, 5, 330, 0, 0, 2526, 2528, 5, 2, 0, 0, 2527, 2524, 1, 0, 0, 0, 2527, 2528, 1, 0, 0, 0, 2528, 2769, 1, 0, 0, 0, 2529, 2533, 5, 64, 0, 0, 2530, 2531, 5, 1, 0, 0, 2531, 2532, 5, 330, 0, 0, 2532, 2534, 5, 2, 0, 0, 2533, 2530, 1, 0, 0, 0, 2533, 2534, 1, 0, 0, 0, 2534, 2769, 1, 0, 0, 0, 2535, 2539, 5, 159, 0, 0, 2536, 2537, 5, 1, 0, 0, 2537, 2538, 5, 330, 0, 0, 2538, 2540, 5, 2, 0, 0, 2539, 2536, 1, 0, 0, 0, 2539, 2540, 1, 0, 0, 0, 2540, 2769, 1, 0, 0, 0, 2541, 2545, 5, 160, 0, 0, 2542, 2543, 5, 1, 0, 0, 2543, 2544, 5, 330, 0, 0, 2544, 2546, 5, 2, 0, 0, 2545, 2542, 1, 0, 0, 0, 2545, 2546, 1, 0, 0, 0, 2546, 2769, 1, 0, 0, 0, 2547, 2769, 5, 65, 0, 0, 2548, 2769, 5, 58, 0, 0, 2549, 2769, 5, 62, 0, 0, 2550, 2769, 5, 60, 0, 0, 2551, 2552, 5, 273, 0, 0, 2552, 2560, 5, 1, 0, 0, 2553, 2555, 7, 22, 0, 0, 2554, 2553, 1, 0, 0, 0, 2554, 2555, 1, 0, 0, 0, 2555, 2557, 1, 0, 0, 0, 2556, 2558, 3, 140, 70, 0, 2557, 2556, 1, 0, 0, 0, 2557, 2558, 1, 0, 0, 0, 2558, 2559, 1, 0, 0, 0, 2559, 2561, 5, 106, 0, 0, 2560, 2554, 1, 0, 0, 0, 2560, 2561, 1, 0, 0, 0, 2561, 2562, 1, 0, 0, 0, 2562, 2563, 3, 140, 70, 0, 2563, 2564, 5, 2, 0, 0, 2564, 2769, 1, 0, 0, 0, 2565, 2566, 5, 273, 0, 0, 2566, 2567, 5, 1, 0, 0, 2567, 2568, 3, 140, 70, 0, 2568, 2569, 5, 3, 0, 0, 2569, 2570, 3, 140, 70, 0, 2570, 2571, 5, 2, 0, 0, 2571, 2769, 1, 0, 0, 0, 2572, 2573, 5, 259, 0, 0, 2573, 2574, 5, 1, 0, 0, 2574, 2575, 3, 140, 70, 0, 2575, 2576, 5, 106, 0, 0, 2576, 2579, 3, 140, 70, 0, 2577, 2578, 5, 104, 0, 0, 2578, 2580, 3, 140, 70, 0, 2579, 2577, 1, 0, 0, 0, 2579, 2580, 1, 0, 0, 0, 2580, 2581, 1, 0, 0, 0, 2581, 2582, 5, 2, 0, 0, 2582, 2769, 1, 0, 0, 0, 2583, 2584, 5, 182, 0, 0, 2584, 2585, 5, 1, 0, 0, 2585, 2588, 3, 140, 70, 0, 2586, 2587, 5, 3, 0, 0, 2587, 2589, 7, 23, 0, 0, 2588, 2586, 1, 0, 0, 0, 2588, 2589, 1, 0, 0, 0, 2589, 2590, 1, 0, 0, 0, 2590, 2591, 5, 2, 0, 0, 2591, 2769, 1, 0, 0, 0, 2592, 2593, 5, 97, 0, 0, 2593, 2594, 5, 1, 0, 0, 2594, 2595, 3, 266, 133, 0, 2595, 2596, 5, 106, 0, 0, 2596, 2597, 3, 140, 70, 0, 2597, 2598, 5, 2, 0, 0, 2598, 2769, 1, 0, 0, 0, 2599, 2600, 5, 44, 0, 0, 2600, 2601, 5, 1, 0, 0, 2601, 2606, 3, 134, 67, 0, 2602, 2603, 5, 3, 0, 0, 2603, 2605, 3, 134, 67, 0, 2604, 2602, 1, 0, 0, 0, 2605, 2608, 1, 0, 0, 0, 2606, 2604, 1, 0, 0, 0, 2606, 2607, 1, 0, 0, 0, 2607, 2609, 1, 0, 0, 0, 2608, 2606, 1, 0, 0, 0, 2609, 2610, 5, 2, 0, 0, 2610, 2769, 1, 0, 0, 0, 2611, 2612, 5, 1, 0, 0, 2612, 2613, 3, 134, 67, 0, 2613, 2614, 5, 2, 0, 0, 2614, 2769, 1, 0, 0, 0, 2615, 2616, 5, 116, 0, 0, 2616, 2625, 5, 1, 0, 0, 2617, 2622, 3, 256, 128, 0, 2618, 2619, 5, 3, 0, 0, 2619, 2621, 3, 256, 128, 0, 2620, 2618, 1, 0, 0, 0, 2621, 2624, 1, 0, 0, 0, 2622, 2620, 1, 0, 0, 0, 2622, 2623, 1, 0, 0, 0, 2623, 2626, 1, 0, 0, 0, 2624, 2622, 1, 0, 0, 0, 2625, 2617, 1, 0, 0, 0, 2625, 2626, 1, 0, 0, 0, 2626, 2627, 1, 0, 0, 0, 2627, 2769, 5, 2, 0, 0, 2628, 2629, 5, 140, 0, 0, 2629, 2630, 5, 1, 0, 0, 2630, 2634, 3, 144, 72, 0, 2631, 2632, 7, 24, 0, 0, 2632, 2633, 5, 191, 0, 0, 2633, 2635, 5, 90, 0, 0, 2634, 2631, 1, 0, 0, 0, 2634, 2635, 1, 0, 0, 0, 2635, 2636, 1, 0, 0, 0, 2636, 2637, 5, 2, 0, 0, 2637, 2769, 1, 0, 0, 0, 2638, 2639, 5, 144, 0, 0, 2639, 2640, 5, 1, 0, 0, 2640, 2643, 3, 144, 72, 0, 2641, 2642, 5, 232, 0, 0, 2642, 2644, 3, 172, 86, 0, 2643, 2641, 1, 0, 0, 0, 2643, 2644, 1, 0, 0, 0, 2644, 2649, 1, 0, 0, 0, 2645, 2646, 3, 152, 76, 0, 2646, 2647, 5, 191, 0, 0, 2647, 2648, 5, 86, 0, 0, 2648, 2650, 1, 0, 0, 0, 2649, 2645, 1, 0, 0, 0, 2649, 2650, 1, 0, 0, 0, 2650, 2655, 1, 0, 0, 0, 2651, 2652, 3, 152, 76, 0, 2652, 2653, 5, 191, 0, 0, 2653, 2654, 5, 90, 0, 0, 2654, 2656, 1, 0, 0, 0, 2655, 2651, 1, 0, 0, 0, 2655, 2656, 1, 0, 0, 0, 2656, 2657, 1, 0, 0, 0, 2657, 2658, 5, 2, 0, 0, 2658, 2769, 1, 0, 0, 0, 2659, 2660, 5, 142, 0, 0, 2660, 2661, 5, 1, 0, 0, 2661, 2668, 3, 144, 72, 0, 2662, 2663, 5, 232, 0, 0, 2663, 2666, 3, 172, 86, 0, 2664, 2665, 5, 105, 0, 0, 2665, 2667, 3, 148, 74, 0, 2666, 2664, 1, 0, 0, 0, 2666, 2667, 1, 0, 0, 0, 2667, 2669, 1, 0, 0, 0, 2668, 2662, 1, 0, 0, 0, 2668, 2669, 1, 0, 0, 0, 2669, 2673, 1, 0, 0, 0, 2670, 2671, 3, 154, 77, 0, 2671, 2672, 5, 309, 0, 0, 2672, 2674, 1, 0, 0, 0, 2673, 2670, 1, 0, 0, 0, 2673, 2674, 1, 0, 0, 0, 2674, 2682, 1, 0, 0, 0, 2675, 2676, 7, 16, 0, 0, 2676, 2680, 5, 219, 0, 0, 2677, 2678, 5, 191, 0, 0, 2678, 2679, 5, 243, 0, 0, 2679, 2681, 5, 265, 0, 0, 2680, 2677, 1, 0, 0, 0, 2680, 2681, 1, 0, 0, 0, 2681, 2683, 1, 0, 0, 0, 2682, 2675, 1, 0, 0, 0, 2682, 2683, 1, 0, 0, 0, 2683, 2688, 1, 0, 0, 0, 2684, 2685, 3, 156, 78, 0, 2685, 2686, 5, 191, 0, 0, 2686, 2687, 5, 86, 0, 0, 2687, 2689, 1, 0, 0, 0, 2688, 2684, 1, 0, 0, 0, 2688, 2689, 1, 0, 0, 0, 2689, 2694, 1, 0, 0, 0, 2690, 2691, 3, 156, 78, 0, 2691, 2692, 5, 191, 0, 0, 2692, 2693, 5, 90, 0, 0, 2693, 2695, 1, 0, 0, 0, 2694, 2690, 1, 0, 0, 0, 2694, 2695, 1, 0, 0, 0, 2695, 2696, 1, 0, 0, 0, 2696, 2697, 5, 2, 0, 0, 2697, 2769, 1, 0, 0, 0, 2698, 2699, 5, 141, 0, 0, 2699, 2728, 5, 1, 0, 0, 2700, 2705, 3, 158, 79, 0, 2701, 2702, 5, 3, 0, 0, 2702, 2704, 3, 158, 79, 0, 2703, 2701, 1, 0, 0, 0, 2704, 2707, 1, 0, 0, 0, 2705, 2703, 1, 0, 0, 0, 2705, 2706, 1, 0, 0, 0, 2706, 2714, 1, 0, 0, 0, 2707, 2705, 1, 0, 0, 0, 2708, 2709, 5, 184, 0, 0, 2709, 2710, 5, 191, 0, 0, 2710, 2715, 5, 184, 0, 0, 2711, 2712, 5, 18, 0, 0, 2712, 2713, 5, 191, 0, 0, 2713, 2715, 5, 184, 0, 0, 2714, 2708, 1, 0, 0, 0, 2714, 2711, 1, 0, 0, 0, 2714, 2715, 1, 0, 0, 0, 2715, 2726, 1, 0, 0, 0, 2716, 2717, 5, 305, 0, 0, 2717, 2719, 5, 283, 0, 0, 2718, 2720, 5, 147, 0, 0, 2719, 2718, 1, 0, 0, 0, 2719, 2720, 1, 0, 0, 0, 2720, 2727, 1, 0, 0, 0, 2721, 2722, 5, 307, 0, 0, 2722, 2724, 5, 283, 0, 0, 2723, 2725, 5, 147, 0, 0, 2724, 2723, 1, 0, 0, 0, 2724, 2725, 1, 0, 0, 0, 2725, 2727, 1, 0, 0, 0, 2726, 2716, 1, 0, 0, 0, 2726, 2721, 1, 0, 0, 0, 2726, 2727, 1, 0, 0, 0, 2727, 2729, 1, 0, 0, 0, 2728, 2700, 1, 0, 0, 0, 2728, 2729, 1, 0, 0, 0, 2729, 2736, 1, 0, 0, 0, 2730, 2731, 5, 232, 0, 0, 2731, 2734, 3, 172, 86, 0, 2732, 2733, 5, 105, 0, 0, 2733, 2735, 3, 148, 74, 0, 2734, 2732, 1, 0, 0, 0, 2734, 2735, 1, 0, 0, 0, 2735, 2737, 1, 0, 0, 0, 2736, 2730, 1, 0, 0, 0, 2736, 2737, 1, 0, 0, 0, 2737, 2738, 1, 0, 0, 0, 2738, 2769, 5, 2, 0, 0, 2739, 2740, 5, 139, 0, 0, 2740, 2757, 5, 1, 0, 0, 2741, 2746, 3, 146, 73, 0, 2742, 2743, 5, 3, 0, 0, 2743, 2745, 3, 146, 73, 0, 2744, 2742, 1, 0, 0, 0, 2745, 2748, 1, 0, 0, 0, 2746, 2744, 1, 0, 0, 0, 2746, 2747, 1, 0, 0, 0, 2747, 2755, 1, 0, 0, 0, 2748, 2746, 1, 0, 0, 0, 2749, 2750, 5, 184, 0, 0, 2750, 2751, 5, 191, 0, 0, 2751, 2756, 5, 184, 0, 0, 2752, 2753, 5, 18, 0, 0, 2753, 2754, 5, 191, 0, 0, 2754, 2756, 5, 184, 0, 0, 2755, 2749, 1, 0, 0, 0, 2755, 2752, 1, 0, 0, 0, 2755, 2756, 1, 0, 0, 0, 2756, 2758, 1, 0, 0, 0, 2757, 2741, 1, 0, 0, 0, 2757, 2758, 1, 0, 0, 0, 2758, 2765, 1, 0, 0, 0, 2759, 2760, 5, 232, 0, 0, 2760, 2763, 3, 172, 86, 0, 2761, 2762, 5, 105, 0, 0, 2762, 2764, 3, 148, 74, 0, 2763, 2761, 1, 0, 0, 0, 2763, 2764, 1, 0, 0, 0, 2764, 2766, 1, 0, 0, 0, 2765, 2759, 1, 0, 0, 0, 2765, 2766, 1, 0, 0, 0, 2766, 2767, 1, 0, 0, 0, 2767, 2769, 5, 2, 0, 0, 2768, 2301, 1, 0, 0, 0, 2768, 2303, 1, 0, 0, 0, 2768, 2304, 1, 0, 0, 0, 2768, 2307, 1, 0, 0, 0, 2768, 2310, 1, 0, 0, 0, 2768, 2311, 1, 0, 0, 0, 2768, 2312, 1, 0, 0, 0, 2768, 2313, 1, 0, 0, 0, 2768, 2314, 1, 0, 0, 0, 2768, 2315, 1, 0, 0, 0, 2768, 2322, 1, 0, 0, 0, 2768, 2332, 1, 0, 0, 0, 2768, 2344, 1, 0, 0, 0, 2768, 2379, 1, 0, 0, 0, 2768, 2397, 1, 0, 0, 0, 2768, 2439, 1, 0, 0, 0, 2768, 2442, 1, 0, 0, 0, 2768, 2446, 1, 0, 0, 0, 2768, 2460, 1, 0, 0, 0, 2768, 2464, 1, 0, 0, 0, 2768, 2469, 1, 0, 0, 0, 2768, 2482, 1, 0, 0, 0, 2768, 2494, 1, 0, 0, 0, 2768, 2501, 1, 0, 0, 0, 2768, 2508, 1, 0, 0, 0, 2768, 2521, 1, 0, 0, 0, 2768, 2522, 1, 0, 0, 0, 2768, 2523, 1, 0, 0, 0, 2768, 2529, 1, 0, 0, 0, 2768, 2535, 1, 0, 0, 0, 2768, 2541, 1, 0, 0, 0, 2768, 2547, 1, 0, 0, 0, 2768, 2548, 1, 0, 0, 0, 2768, 2549, 1, 0, 0, 0, 2768, 2550, 1, 0, 0, 0, 2768, 2551, 1, 0, 0, 0, 2768, 2565, 1, 0, 0, 0, 2768, 2572, 1, 0, 0, 0, 2768, 2583, 1, 0, 0, 0, 2768, 2592, 1, 0, 0, 0, 2768, 2599, 1, 0, 0, 0, 2768, 2611, 1, 0, 0, 0, 2768, 2615, 1, 0, 0, 0, 2768, 2628, 1, 0, 0, 0, 2768, 2638, 1, 0, 0, 0, 2768, 2659, 1, 0, 0, 0, 2768, 2698, 1, 0, 0, 0, 2768, 2739, 1, 0, 0, 0, 2769, 2780, 1, 0, 0, 0, 2770, 2771, 10, 25, 0, 0, 2771, 2772, 5, 8, 0, 0, 2772, 2773, 3, 140, 70, 0, 2773, 2774, 5, 9, 0, 0, 2774, 2779, 1, 0, 0, 0, 2775, 2776, 10, 23, 0, 0, 2776, 2777, 5, 4, 0, 0, 2777, 2779, 3, 266, 133, 0, 2778, 2770, 1, 0, 0, 0, 2778, 2775, 1, 0, 0, 0, 2779, 2782, 1, 0, 0, 0, 2780, 2778, 1, 0, 0, 0, 2780, 2781, 1, 0, 0, 0, 2781, 143, 1, 0, 0, 0, 2782, 2780, 1, 0, 0, 0, 2783, 2784, 3, 146, 73, 0, 2784, 2785, 5, 3, 0, 0, 2785, 2788, 3, 162, 81, 0, 2786, 2787, 5, 28, 0, 0, 2787, 2789, 3, 266, 133, 0, 2788, 2786, 1, 0, 0, 0, 2788, 2789, 1, 0, 0, 0, 2789, 2799, 1, 0, 0, 0, 2790, 2791, 5, 204, 0, 0, 2791, 2796, 3, 150, 75, 0, 2792, 2793, 5, 3, 0, 0, 2793, 2795, 3, 150, 75, 0, 2794, 2792, 1, 0, 0, 0, 2795, 2798, 1, 0, 0, 0, 2796, 2794, 1, 0, 0, 0, 2796, 2797, 1, 0, 0, 0, 2797, 2800, 1, 0, 0, 0, 2798, 2796, 1, 0, 0, 0, 2799, 2790, 1, 0, 0, 0, 2799, 2800, 1, 0, 0, 0, 2800, 145, 1, 0, 0, 0, 2801, 2804, 3, 134, 67, 0, 2802, 2803, 5, 105, 0, 0, 2803, 2805, 3, 148, 74, 0, 2804, 2802, 1, 0, 0, 0, 2804, 2805, 1, 0, 0, 0, 2805, 147, 1, 0, 0, 0, 2806, 2809, 5, 138, 0, 0, 2807, 2808, 5, 88, 0, 0, 2808, 2810, 7, 25, 0, 0, 2809, 2807, 1, 0, 0, 0, 2809, 2810, 1, 0, 0, 0, 2810, 149, 1, 0, 0, 0, 2811, 2812, 3, 146, 73, 0, 2812, 2813, 5, 28, 0, 0, 2813, 2814, 3, 266, 133, 0, 2814, 151, 1, 0, 0, 0, 2815, 2820, 5, 90, 0, 0, 2816, 2820, 5, 184, 0, 0, 2817, 2818, 5, 71, 0, 0, 2818, 2820, 3, 134, 67, 0, 2819, 2815, 1, 0, 0, 0, 2819, 2816, 1, 0, 0, 0, 2819, 2817, 1, 0, 0, 0, 2820, 153, 1, 0, 0, 0, 2821, 2823, 5, 307, 0, 0, 2822, 2824, 5, 27, 0, 0, 2823, 2822, 1, 0, 0, 0, 2823, 2824, 1, 0, 0, 0, 2824, 2833, 1, 0, 0, 0, 2825, 2827, 5, 305, 0, 0, 2826, 2828, 7, 26, 0, 0, 2827, 2826, 1, 0, 0, 0, 2827, 2828, 1, 0, 0, 0, 2828, 2830, 1, 0, 0, 0, 2829, 2831, 5, 27, 0, 0, 2830, 2829, 1, 0, 0, 0, 2830, 2831, 1, 0, 0, 0, 2831, 2833, 1, 0, 0, 0, 2832, 2821, 1, 0, 0, 0, 2832, 2825, 1, 0, 0, 0, 2833, 155, 1, 0, 0, 0, 2834, 2841, 5, 90, 0, 0, 2835, 2841, 5, 184, 0, 0, 2836, 2837, 5, 86, 0, 0, 2837, 2841, 5, 27, 0, 0, 2838, 2839, 5, 86, 0, 0, 2839, 2841, 5, 187, 0, 0, 2840, 2834, 1, 0, 0, 0, 2840, 2835, 1, 0, 0, 0, 2840, 2836, 1, 0, 0, 0, 2840, 2838, 1, 0, 0, 0, 2841, 157, 1, 0, 0, 0, 2842, 2844, 5, 146, 0, 0, 2843, 2842, 1, 0, 0, 0, 2843, 2844, 1, 0, 0, 0, 2844, 2845, 1, 0, 0, 0, 2845, 2846, 3, 134, 67, 0, 2846, 2847, 5, 296, 0, 0, 2847, 2848, 3, 146, 73, 0, 2848, 2854, 1, 0, 0, 0, 2849, 2850, 3, 134, 67, 0, 2850, 2851, 5, 10, 0, 0, 2851, 2852, 3, 146, 73, 0, 2852, 2854, 1, 0, 0, 0, 2853, 2843, 1, 0, 0, 0, 2853, 2849, 1, 0, 0, 0, 2854, 159, 1, 0, 0, 0, 2855, 2856, 7, 27, 0, 0, 2856, 161, 1, 0, 0, 0, 2857, 2864, 5, 327, 0, 0, 2858, 2861, 5, 328, 0, 0, 2859, 2860, 5, 278, 0, 0, 2860, 2862, 5, 327, 0, 0, 2861, 2859, 1, 0, 0, 0, 2861, 2862, 1, 0, 0, 0, 2862, 2864, 1, 0, 0, 0, 2863, 2857, 1, 0, 0, 0, 2863, 2858, 1, 0, 0, 0, 2864, 163, 1, 0, 0, 0, 2865, 2866, 7, 28, 0, 0, 2866, 165, 1, 0, 0, 0, 2867, 2868, 7, 29, 0, 0, 2868, 167, 1, 0, 0, 0, 2869, 2871, 5, 130, 0, 0, 2870, 2872, 7, 19, 0, 0, 2871, 2870, 1, 0, 0, 0, 2871, 2872, 1, 0, 0, 0, 2872, 2873, 1, 0, 0, 0, 2873, 2874, 3, 162, 81, 0, 2874, 2877, 3, 170, 85, 0, 2875, 2876, 5, 270, 0, 0, 2876, 2878, 3, 170, 85, 0, 2877, 2875, 1, 0, 0, 0, 2877, 2878, 1, 0, 0, 0, 2878, 169, 1, 0, 0, 0, 2879, 2880, 7, 30, 0, 0, 2880, 171, 1, 0, 0, 0, 2881, 2882, 6, 86, -1, 0, 2882, 2883, 5, 240, 0, 0, 2883, 2884, 5, 1, 0, 0, 2884, 2889, 3, 174, 87, 0, 2885, 2886, 5, 3, 0, 0, 2886, 2888, 3, 174, 87, 0, 2887, 2885, 1, 0, 0, 0, 2888, 2891, 1, 0, 0, 0, 2889, 2887, 1, 0, 0, 0, 2889, 2890, 1, 0, 0, 0, 2890, 2892, 1, 0, 0, 0, 2891, 2889, 1, 0, 0, 0, 2892, 2893, 5, 2, 0, 0, 2893, 2953, 1, 0, 0, 0, 2894, 2895, 5, 130, 0, 0, 2895, 2898, 3, 170, 85, 0, 2896, 2897, 5, 270, 0, 0, 2897, 2899, 3, 170, 85, 0, 2898, 2896, 1, 0, 0, 0, 2898, 2899, 1, 0, 0, 0, 2899, 2953, 1, 0, 0, 0, 2900, 2905, 5, 269, 0, 0, 2901, 2902, 5, 1, 0, 0, 2902, 2903, 3, 176, 88, 0, 2903, 2904, 5, 2, 0, 0, 2904, 2906, 1, 0, 0, 0, 2905, 2901, 1, 0, 0, 0, 2905, 2906, 1, 0, 0, 0, 2906, 2910, 1, 0, 0, 0, 2907, 2908, 7, 31, 0, 0, 2908, 2909, 5, 268, 0, 0, 2909, 2911, 5, 312, 0, 0, 2910, 2907, 1, 0, 0, 0, 2910, 2911, 1, 0, 0, 0, 2911, 2953, 1, 0, 0, 0, 2912, 2917, 5, 268, 0, 0, 2913, 2914, 5, 1, 0, 0, 2914, 2915, 3, 176, 88, 0, 2915, 2916, 5, 2, 0, 0, 2916, 2918, 1, 0, 0, 0, 2917, 2913, 1, 0, 0, 0, 2917, 2918, 1, 0, 0, 0, 2918, 2922, 1, 0, 0, 0, 2919, 2920, 7, 31, 0, 0, 2920, 2921, 5, 268, 0, 0, 2921, 2923, 5, 312, 0, 0, 2922, 2919, 1, 0, 0, 0, 2922, 2923, 1, 0, 0, 0, 2923, 2953, 1, 0, 0, 0, 2924, 2925, 5, 83, 0, 0, 2925, 2953, 5, 214, 0, 0, 2926, 2927, 5, 27, 0, 0, 2927, 2928, 5, 315, 0, 0, 2928, 2929, 3, 172, 86, 0, 2929, 2930, 5, 317, 0, 0, 2930, 2953, 1, 0, 0, 0, 2931, 2932, 5, 163, 0, 0, 2932, 2933, 5, 315, 0, 0, 2933, 2934, 3, 172, 86, 0, 2934, 2935, 5, 3, 0, 0, 2935, 2936, 3, 172, 86, 0, 2936, 2937, 5, 317, 0, 0, 2937, 2953, 1, 0, 0, 0, 2938, 2950, 3, 266, 133, 0, 2939, 2940, 5, 1, 0, 0, 2940, 2945, 3, 176, 88, 0, 2941, 2942, 5, 3, 0, 0, 2942, 2944, 3, 176, 88, 0, 2943, 2941, 1, 0, 0, 0, 2944, 2947, 1, 0, 0, 0, 2945, 2943, 1, 0, 0, 0, 2945, 2946, 1, 0, 0, 0, 2946, 2948, 1, 0, 0, 0, 2947, 2945, 1, 0, 0, 0, 2948, 2949, 5, 2, 0, 0, 2949, 2951, 1, 0, 0, 0, 2950, 2939, 1, 0, 0, 0, 2950, 2951, 1, 0, 0, 0, 2951, 2953, 1, 0, 0, 0, 2952, 2881, 1, 0, 0, 0, 2952, 2894, 1, 0, 0, 0, 2952, 2900, 1, 0, 0, 0, 2952, 2912, 1, 0, 0, 0, 2952, 2924, 1, 0, 0, 0, 2952, 2926, 1, 0, 0, 0, 2952, 2931, 1, 0, 0, 0, 2952, 2938, 1, 0, 0, 0, 2953, 2963, 1, 0, 0, 0, 2954, 2955, 10, 2, 0, 0, 2955, 2959, 5, 27, 0, 0, 2956, 2957, 5, 8, 0, 0, 2957, 2958, 5, 330, 0, 0, 2958, 2960, 5, 9, 0, 0, 2959, 2956, 1, 0, 0, 0, 2959, 2960, 1, 0, 0, 0, 2960, 2962, 1, 0, 0, 0, 2961, 2954, 1, 0, 0, 0, 2962, 2965, 1, 0, 0, 0, 2963, 2961, 1, 0, 0, 0, 2963, 2964, 1, 0, 0, 0, 2964, 173, 1, 0, 0, 0, 2965, 2963, 1, 0, 0, 0, 2966, 2971, 3, 172, 86, 0, 2967, 2968, 3, 266, 133, 0, 2968, 2969, 3, 172, 86, 0, 2969, 2971, 1, 0, 0, 0, 2970, 2966, 1, 0, 0, 0, 2970, 2967, 1, 0, 0, 0, 2971, 175, 1, 0, 0, 0, 2972, 2975, 5, 330, 0, 0, 2973, 2975, 3, 172, 86, 0, 2974, 2972, 1, 0, 0, 0, 2974, 2973, 1, 0, 0, 0, 2975, 177, 1, 0, 0, 0, 2976, 2977, 5, 301, 0, 0, 2977, 2978, 3, 134, 67, 0, 2978, 2979, 5, 266, 0, 0, 2979, 2980, 3, 134, 67, 0, 2980, 179, 1, 0, 0, 0, 2981, 2982, 5, 100, 0, 0, 2982, 2983, 5, 1, 0, 0, 2983, 2984, 3, 46, 23, 0, 2984, 2985, 5, 2, 0, 0, 2985, 181, 1, 0, 0, 0, 2986, 2987, 5, 301, 0, 0, 2987, 2990, 5, 165, 0, 0, 2988, 2989, 5, 25, 0, 0, 2989, 2991, 3, 134, 67, 0, 2990, 2988, 1, 0, 0, 0, 2990, 2991, 1, 0, 0, 0, 2991, 2992, 1, 0, 0, 0, 2992, 2993, 5, 266, 0, 0, 2993, 2994, 5, 288, 0, 0, 2994, 2995, 5, 252, 0, 0, 2995, 2996, 3, 266, 133, 0, 2996, 2997, 5, 313, 0, 0, 2997, 3005, 3, 134, 67, 0, 2998, 2999, 5, 3, 0, 0, 2999, 3000, 3, 266, 133, 0, 3000, 3001, 5, 313, 0, 0, 3001, 3002, 3, 134, 67, 0, 3002, 3004, 1, 0, 0, 0, 3003, 2998, 1, 0, 0, 0, 3004, 3007, 1, 0, 0, 0, 3005, 3003, 1, 0, 0, 0, 3005, 3006, 1, 0, 0, 0, 3006, 3051, 1, 0, 0, 0, 3007, 3005, 1, 0, 0, 0, 3008, 3009, 5, 301, 0, 0, 3009, 3012, 5, 165, 0, 0, 3010, 3011, 5, 25, 0, 0, 3011, 3013, 3, 134, 67, 0, 3012, 3010, 1, 0, 0, 0, 3012, 3013, 1, 0, 0, 0, 3013, 3014, 1, 0, 0, 0, 3014, 3015, 5, 266, 0, 0, 3015, 3051, 5, 74, 0, 0, 3016, 3017, 5, 301, 0, 0, 3017, 3018, 5, 183, 0, 0, 3018, 3021, 5, 165, 0, 0, 3019, 3020, 5, 25, 0, 0, 3020, 3022, 3, 134, 67, 0, 3021, 3019, 1, 0, 0, 0, 3021, 3022, 1, 0, 0, 0, 3022, 3023, 1, 0, 0, 0, 3023, 3024, 5, 266, 0, 0, 3024, 3036, 5, 128, 0, 0, 3025, 3026, 5, 1, 0, 0, 3026, 3031, 3, 266, 133, 0, 3027, 3028, 5, 3, 0, 0, 3028, 3030, 3, 266, 133, 0, 3029, 3027, 1, 0, 0, 0, 3030, 3033, 1, 0, 0, 0, 3031, 3029, 1, 0, 0, 0, 3031, 3032, 1, 0, 0, 0, 3032, 3034, 1, 0, 0, 0, 3033, 3031, 1, 0, 0, 0, 3034, 3035, 5, 2, 0, 0, 3035, 3037, 1, 0, 0, 0, 3036, 3025, 1, 0, 0, 0, 3036, 3037, 1, 0, 0, 0, 3037, 3038, 1, 0, 0, 0, 3038, 3039, 5, 297, 0, 0, 3039, 3040, 5, 1, 0, 0, 3040, 3045, 3, 134, 67, 0, 3041, 3042, 5, 3, 0, 0, 3042, 3044, 3, 134, 67, 0, 3043, 3041, 1, 0, 0, 0, 3044, 3047, 1, 0, 0, 0, 3045, 3043, 1, 0, 0, 0, 3045, 3046, 1, 0, 0, 0, 3046, 3048, 1, 0, 0, 0, 3047, 3045, 1, 0, 0, 0, 3048, 3049, 5, 2, 0, 0, 3049, 3051, 1, 0, 0, 0, 3050, 2986, 1, 0, 0, 0, 3050, 3008, 1, 0, 0, 0, 3050, 3016, 1, 0, 0, 0, 3051, 183, 1, 0, 0, 0, 3052, 3058, 5, 200, 0, 0, 3053, 3059, 3, 266, 133, 0, 3054, 3055, 5, 1, 0, 0, 3055, 3056, 3, 62, 31, 0, 3056, 3057, 5, 2, 0, 0, 3057, 3059, 1, 0, 0, 0, 3058, 3053, 1, 0, 0, 0, 3058, 3054, 1, 0, 0, 0, 3059, 185, 1, 0, 0, 0, 3060, 3061, 5, 169, 0, 0, 3061, 3066, 3, 88, 44, 0, 3062, 3063, 5, 3, 0, 0, 3063, 3065, 3, 88, 44, 0, 3064, 3062, 1, 0, 0, 0, 3065, 3068, 1, 0, 0, 0, 3066, 3064, 1, 0, 0, 0, 3066, 3067, 1, 0, 0, 0, 3067, 3070, 1, 0, 0, 0, 3068, 3066, 1, 0, 0, 0, 3069, 3060, 1, 0, 0, 0, 3069, 3070, 1, 0, 0, 0, 3070, 3071, 1, 0, 0, 0, 3071, 3075, 3, 188, 94, 0, 3072, 3073, 5, 21, 0, 0, 3073, 3074, 5, 164, 0, 0, 3074, 3076, 3, 92, 46, 0, 3075, 3072, 1, 0, 0, 0, 3075, 3076, 1, 0, 0, 0, 3076, 3078, 1, 0, 0, 0, 3077, 3079, 7, 13, 0, 0, 3078, 3077, 1, 0, 0, 0, 3078, 3079, 1, 0, 0, 0, 3079, 3085, 1, 0, 0, 0, 3080, 3081, 5, 207, 0, 0, 3081, 3082, 5, 1, 0, 0, 3082, 3083, 3, 192, 96, 0, 3083, 3084, 5, 2, 0, 0, 3084, 3086, 1, 0, 0, 0, 3085, 3080, 1, 0, 0, 0, 3085, 3086, 1, 0, 0, 0, 3086, 3096, 1, 0, 0, 0, 3087, 3088, 5, 258, 0, 0, 3088, 3093, 3, 94, 47, 0, 3089, 3090, 5, 3, 0, 0, 3090, 3092, 3, 94, 47, 0, 3091, 3089, 1, 0, 0, 0, 3092, 3095, 1, 0, 0, 0, 3093, 3091, 1, 0, 0, 0, 3093, 3094, 1, 0, 0, 0, 3094, 3097, 1, 0, 0, 0, 3095, 3093, 1, 0, 0, 0, 3096, 3087, 1, 0, 0, 0, 3096, 3097, 1, 0, 0, 0, 3097, 3107, 1, 0, 0, 0, 3098, 3099, 5, 72, 0, 0, 3099, 3104, 3, 96, 48, 0, 3100, 3101, 5, 3, 0, 0, 3101, 3103, 3, 96, 48, 0, 3102, 3100, 1, 0, 0, 0, 3103, 3106, 1, 0, 0, 0, 3104, 3102, 1, 0, 0, 0, 3104, 3105, 1, 0, 0, 0, 3105, 3108, 1, 0, 0, 0, 3106, 3104, 1, 0, 0, 0, 3107, 3098, 1, 0, 0, 0, 3107, 3108, 1, 0, 0, 0, 3108, 187, 1, 0, 0, 0, 3109, 3116, 7, 32, 0, 0, 3110, 3111, 5, 34, 0, 0, 3111, 3112, 3, 190, 95, 0, 3112, 3113, 5, 25, 0, 0, 3113, 3114, 3, 190, 95, 0, 3114, 3117, 1, 0, 0, 0, 3115, 3117, 3, 190, 95, 0, 3116, 3110, 1, 0, 0, 0, 3116, 3115, 1, 0, 0, 0, 3117, 189, 1, 0, 0, 0, 3118, 3119, 5, 279, 0, 0, 3119, 3128, 5, 213, 0, 0, 3120, 3121, 5, 279, 0, 0, 3121, 3128, 5, 103, 0, 0, 3122, 3123, 5, 57, 0, 0, 3123, 3128, 5, 240, 0, 0, 3124, 3125, 3, 134, 67, 0, 3125, 3126, 7, 33, 0, 0, 3126, 3128, 1, 0, 0, 0, 3127, 3118, 1, 0, 0, 0, 3127, 3120, 1, 0, 0, 0, 3127, 3122, 1, 0, 0, 0, 3127, 3124, 1, 0, 0, 0, 3128, 191, 1, 0, 0, 0, 3129, 3130, 6, 96, -1, 0, 3130, 3132, 3, 194, 97, 0, 3131, 3133, 3, 196, 98, 0, 3132, 3131, 1, 0, 0, 0, 3132, 3133, 1, 0, 0, 0, 3133, 3141, 1, 0, 0, 0, 3134, 3135, 10, 2, 0, 0, 3135, 3140, 3, 192, 96, 3, 3136, 3137, 10, 1, 0, 0, 3137, 3138, 5, 11, 0, 0, 3138, 3140, 3, 192, 96, 2, 3139, 3134, 1, 0, 0, 0, 3139, 3136, 1, 0, 0, 0, 3140, 3143, 1, 0, 0, 0, 3141, 3139, 1, 0, 0, 0, 3141, 3142, 1, 0, 0, 0, 3142, 193, 1, 0, 0, 0, 3143, 3141, 1, 0, 0, 0, 3144, 3170, 3, 266, 133, 0, 3145, 3146, 5, 1, 0, 0, 3146, 3170, 5, 2, 0, 0, 3147, 3148, 5, 210, 0, 0, 3148, 3149, 5, 1, 0, 0, 3149, 3154, 3, 192, 96, 0, 3150, 3151, 5, 3, 0, 0, 3151, 3153, 3, 192, 96, 0, 3152, 3150, 1, 0, 0, 0, 3153, 3156, 1, 0, 0, 0, 3154, 3152, 1, 0, 0, 0, 3154, 3155, 1, 0, 0, 0, 3155, 3157, 1, 0, 0, 0, 3156, 3154, 1, 0, 0, 0, 3157, 3158, 5, 2, 0, 0, 3158, 3170, 1, 0, 0, 0, 3159, 3160, 5, 1, 0, 0, 3160, 3161, 3, 192, 96, 0, 3161, 3162, 5, 2, 0, 0, 3162, 3170, 1, 0, 0, 0, 3163, 3170, 5, 12, 0, 0, 3164, 3170, 5, 13, 0, 0, 3165, 3166, 5, 14, 0, 0, 3166, 3167, 3, 192, 96, 0, 3167, 3168, 5, 15, 0, 0, 3168, 3170, 1, 0, 0, 0, 3169, 3144, 1, 0, 0, 0, 3169, 3145, 1, 0, 0, 0, 3169, 3147, 1, 0, 0, 0, 3169, 3159, 1, 0, 0, 0, 3169, 3163, 1, 0, 0, 0, 3169, 3164, 1, 0, 0, 0, 3169, 3165, 1, 0, 0, 0, 3170, 195, 1, 0, 0, 0, 3171, 3173, 5, 321, 0, 0, 3172, 3174, 5, 325, 0, 0, 3173, 3172, 1, 0, 0, 0, 3173, 3174, 1, 0, 0, 0, 3174, 3202, 1, 0, 0, 0, 3175, 3177, 5, 319, 0, 0, 3176, 3178, 5, 325, 0, 0, 3177, 3176, 1, 0, 0, 0, 3177, 3178, 1, 0, 0, 0, 3178, 3202, 1, 0, 0, 0, 3179, 3181, 5, 325, 0, 0, 3180, 3182, 5, 325, 0, 0, 3181, 3180, 1, 0, 0, 0, 3181, 3182, 1, 0, 0, 0, 3182, 3202, 1, 0, 0, 0, 3183, 3184, 5, 16, 0, 0, 3184, 3185, 5, 330, 0, 0, 3185, 3187, 5, 17, 0, 0, 3186, 3188, 5, 325, 0, 0, 3187, 3186, 1, 0, 0, 0, 3187, 3188, 1, 0, 0, 0, 3188, 3202, 1, 0, 0, 0, 3189, 3191, 5, 16, 0, 0, 3190, 3192, 5, 330, 0, 0, 3191, 3190, 1, 0, 0, 0, 3191, 3192, 1, 0, 0, 0, 3192, 3193, 1, 0, 0, 0, 3193, 3195, 5, 3, 0, 0, 3194, 3196, 5, 330, 0, 0, 3195, 3194, 1, 0, 0, 0, 3195, 3196, 1, 0, 0, 0, 3196, 3197, 1, 0, 0, 0, 3197, 3199, 5, 17, 0, 0, 3198, 3200, 5, 325, 0, 0, 3199, 3198, 1, 0, 0, 0, 3199, 3200, 1, 0, 0, 0, 3200, 3202, 1, 0, 0, 0, 3201, 3171, 1, 0, 0, 0, 3201, 3175, 1, 0, 0, 0, 3201, 3179, 1, 0, 0, 0, 3201, 3183, 1, 0, 0, 0, 3201, 3189, 1, 0, 0, 0, 3202, 197, 1, 0, 0, 0, 3203, 3204, 3, 266, 133, 0, 3204, 3205, 5, 313, 0, 0, 3205, 3206, 3, 134, 67, 0, 3206, 199, 1, 0, 0, 0, 3207, 3208, 5, 105, 0, 0, 3208, 3212, 7, 34, 0, 0, 3209, 3210, 5, 277, 0, 0, 3210, 3212, 7, 35, 0, 0, 3211, 3207, 1, 0, 0, 0, 3211, 3209, 1, 0, 0, 0, 3212, 201, 1, 0, 0, 0, 3213, 3214, 5, 135, 0, 0, 3214, 3222, 5, 154, 0, 0, 3215, 3216, 5, 221, 0, 0, 3216, 3223, 5, 280, 0, 0, 3217, 3218, 5, 221, 0, 0, 3218, 3223, 5, 49, 0, 0, 3219, 3220, 5, 226, 0, 0, 3220, 3223, 5, 221, 0, 0, 3221, 3223, 5, 250, 0, 0, 3222, 3215, 1, 0, 0, 0, 3222, 3217, 1, 0, 0, 0, 3222, 3219, 1, 0, 0, 0, 3222, 3221, 1, 0, 0, 0, 3223, 3227, 1, 0, 0, 0, 3224, 3225, 5, 221, 0, 0, 3225, 3227, 7, 36, 0, 0, 3226, 3213, 1, 0, 0, 0, 3226, 3224, 1, 0, 0, 0, 3227, 203, 1, 0, 0, 0, 3228, 3234, 3, 134, 67, 0, 3229, 3230, 3, 266, 133, 0, 3230, 3231, 5, 6, 0, 0, 3231, 3232, 3, 134, 67, 0, 3232, 3234, 1, 0, 0, 0, 3233, 3228, 1, 0, 0, 0, 3233, 3229, 1, 0, 0, 0, 3234, 205, 1, 0, 0, 0, 3235, 3236, 3, 266, 133, 0, 3236, 3237, 5, 4, 0, 0, 3237, 3238, 3, 266, 133, 0, 3238, 3241, 1, 0, 0, 0, 3239, 3241, 3, 266, 133, 0, 3240, 3235, 1, 0, 0, 0, 3240, 3239, 1, 0, 0, 0, 3241, 207, 1, 0, 0, 0, 3242, 3247, 3, 206, 103, 0, 3243, 3244, 5, 3, 0, 0, 3244, 3246, 3, 206, 103, 0, 3245, 3243, 1, 0, 0, 0, 3246, 3249, 1, 0, 0, 0, 3247, 3245, 1, 0, 0, 0, 3247, 3248, 1, 0, 0, 0, 3248, 209, 1, 0, 0, 0, 3249, 3247, 1, 0, 0, 0, 3250, 3251, 5, 108, 0, 0, 3251, 3252, 3, 248, 124, 0, 3252, 3261, 5, 1, 0, 0, 3253, 3258, 3, 212, 106, 0, 3254, 3255, 5, 3, 0, 0, 3255, 3257, 3, 212, 106, 0, 3256, 3254, 1, 0, 0, 0, 3257, 3260, 1, 0, 0, 0, 3258, 3256, 1, 0, 0, 0, 3258, 3259, 1, 0, 0, 0, 3259, 3262, 1, 0, 0, 0, 3260, 3258, 1, 0, 0, 0, 3261, 3253, 1, 0, 0, 0, 3261, 3262, 1, 0, 0, 0, 3262, 3263, 1, 0, 0, 0, 3263, 3264, 5, 2, 0, 0, 3264, 3265, 5, 233, 0, 0, 3265, 3269, 3, 172, 86, 0, 3266, 3268, 3, 214, 107, 0, 3267, 3266, 1, 0, 0, 0, 3268, 3271, 1, 0, 0, 0, 3269, 3267, 1, 0, 0, 0, 3269, 3270, 1, 0, 0, 0, 3270, 3272, 1, 0, 0, 0, 3271, 3269, 1, 0, 0, 0, 3272, 3273, 3, 216, 108, 0, 3273, 211, 1, 0, 0, 0, 3274, 3276, 3, 266, 133, 0, 3275, 3274, 1, 0, 0, 0, 3275, 3276, 1, 0, 0, 0, 3276, 3277, 1, 0, 0, 0, 3277, 3278, 3, 172, 86, 0, 3278, 213, 1, 0, 0, 0, 3279, 3280, 5, 148, 0, 0, 3280, 3299, 3, 266, 133, 0, 3281, 3283, 5, 183, 0, 0, 3282, 3281, 1, 0, 0, 0, 3282, 3283, 1, 0, 0, 0, 3283, 3284, 1, 0, 0, 0, 3284, 3299, 5, 79, 0, 0, 3285, 3286, 5, 233, 0, 0, 3286, 3287, 5, 184, 0, 0, 3287, 3288, 5, 191, 0, 0, 3288, 3289, 5, 184, 0, 0, 3289, 3299, 5, 127, 0, 0, 3290, 3291, 5, 38, 0, 0, 3291, 3292, 5, 191, 0, 0, 3292, 3293, 5, 184, 0, 0, 3293, 3299, 5, 127, 0, 0, 3294, 3295, 5, 247, 0, 0, 3295, 3299, 7, 1, 0, 0, 3296, 3297, 5, 47, 0, 0, 3297, 3299, 3, 162, 81, 0, 3298, 3279, 1, 0, 0, 0, 3298, 3282, 1, 0, 0, 0, 3298, 3285, 1, 0, 0, 0, 3298, 3290, 1, 0, 0, 0, 3298, 3294, 1, 0, 0, 0, 3298, 3296, 1, 0, 0, 0, 3299, 215, 1, 0, 0, 0, 3300, 3301, 5, 231, 0, 0, 3301, 3417, 3, 140, 70, 0, 3302, 3303, 5, 252, 0, 0, 3303, 3304, 3, 266, 133, 0, 3304, 3305, 5, 313, 0, 0, 3305, 3306, 3, 134, 67, 0, 3306, 3417, 1, 0, 0, 0, 3307, 3308, 5, 40, 0, 0, 3308, 3310, 3, 134, 67, 0, 3309, 3311, 3, 218, 109, 0, 3310, 3309, 1, 0, 0, 0, 3311, 3312, 1, 0, 0, 0, 3312, 3310, 1, 0, 0, 0, 3312, 3313, 1, 0, 0, 0, 3313, 3315, 1, 0, 0, 0, 3314, 3316, 3, 220, 110, 0, 3315, 3314, 1, 0, 0, 0, 3315, 3316, 1, 0, 0, 0, 3316, 3317, 1, 0, 0, 0, 3317, 3318, 5, 89, 0, 0, 3318, 3319, 5, 40, 0, 0, 3319, 3417, 1, 0, 0, 0, 3320, 3322, 5, 40, 0, 0, 3321, 3323, 3, 218, 109, 0, 3322, 3321, 1, 0, 0, 0, 3323, 3324, 1, 0, 0, 0, 3324, 3322, 1, 0, 0, 0, 3324, 3325, 1, 0, 0, 0, 3325, 3327, 1, 0, 0, 0, 3326, 3328, 3, 220, 110, 0, 3327, 3326, 1, 0, 0, 0, 3327, 3328, 1, 0, 0, 0, 3328, 3329, 1, 0, 0, 0, 3329, 3330, 5, 89, 0, 0, 3330, 3331, 5, 40, 0, 0, 3331, 3417, 1, 0, 0, 0, 3332, 3333, 5, 120, 0, 0, 3333, 3334, 3, 134, 67, 0, 3334, 3335, 5, 266, 0, 0, 3335, 3343, 3, 222, 111, 0, 3336, 3337, 5, 87, 0, 0, 3337, 3338, 3, 134, 67, 0, 3338, 3339, 5, 266, 0, 0, 3339, 3340, 3, 222, 111, 0, 3340, 3342, 1, 0, 0, 0, 3341, 3336, 1, 0, 0, 0, 3342, 3345, 1, 0, 0, 0, 3343, 3341, 1, 0, 0, 0, 3343, 3344, 1, 0, 0, 0, 3344, 3347, 1, 0, 0, 0, 3345, 3343, 1, 0, 0, 0, 3346, 3348, 3, 220, 110, 0, 3347, 3346, 1, 0, 0, 0, 3347, 3348, 1, 0, 0, 0, 3348, 3349, 1, 0, 0, 0, 3349, 3350, 5, 89, 0, 0, 3350, 3351, 5, 120, 0, 0, 3351, 3417, 1, 0, 0, 0, 3352, 3353, 5, 136, 0, 0, 3353, 3417, 3, 266, 133, 0, 3354, 3355, 5, 152, 0, 0, 3355, 3417, 3, 266, 133, 0, 3356, 3375, 5, 32, 0, 0, 3357, 3358, 5, 70, 0, 0, 3358, 3363, 3, 266, 133, 0, 3359, 3360, 5, 3, 0, 0, 3360, 3362, 3, 266, 133, 0, 3361, 3359, 1, 0, 0, 0, 3362, 3365, 1, 0, 0, 0, 3363, 3361, 1, 0, 0, 0, 3363, 3364, 1, 0, 0, 0, 3364, 3366, 1, 0, 0, 0, 3365, 3363, 1, 0, 0, 0, 3366, 3369, 3, 172, 86, 0, 3367, 3368, 5, 71, 0, 0, 3368, 3370, 3, 140, 70, 0, 3369, 3367, 1, 0, 0, 0, 3369, 3370, 1, 0, 0, 0, 3370, 3371, 1, 0, 0, 0, 3371, 3372, 5, 326, 0, 0, 3372, 3374, 1, 0, 0, 0, 3373, 3357, 1, 0, 0, 0, 3374, 3377, 1, 0, 0, 0, 3375, 3373, 1, 0, 0, 0, 3375, 3376, 1, 0, 0, 0, 3376, 3379, 1, 0, 0, 0, 3377, 3375, 1, 0, 0, 0, 3378, 3380, 3, 222, 111, 0, 3379, 3378, 1, 0, 0, 0, 3379, 3380, 1, 0, 0, 0, 3380, 3381, 1, 0, 0, 0, 3381, 3417, 5, 89, 0, 0, 3382, 3383, 3, 266, 133, 0, 3383, 3384, 5, 10, 0, 0, 3384, 3386, 1, 0, 0, 0, 3385, 3382, 1, 0, 0, 0, 3385, 3386, 1, 0, 0, 0, 3386, 3387, 1, 0, 0, 0, 3387, 3388, 5, 162, 0, 0, 3388, 3389, 3, 222, 111, 0, 3389, 3390, 5, 89, 0, 0, 3390, 3391, 5, 162, 0, 0, 3391, 3417, 1, 0, 0, 0, 3392, 3393, 3, 266, 133, 0, 3393, 3394, 5, 10, 0, 0, 3394, 3396, 1, 0, 0, 0, 3395, 3392, 1, 0, 0, 0, 3395, 3396, 1, 0, 0, 0, 3396, 3397, 1, 0, 0, 0, 3397, 3398, 5, 303, 0, 0, 3398, 3399, 3, 134, 67, 0, 3399, 3400, 5, 82, 0, 0, 3400, 3401, 3, 222, 111, 0, 3401, 3402, 5, 89, 0, 0, 3402, 3403, 5, 303, 0, 0, 3403, 3417, 1, 0, 0, 0, 3404, 3405, 3, 266, 133, 0, 3405, 3406, 5, 10, 0, 0, 3406, 3408, 1, 0, 0, 0, 3407, 3404, 1, 0, 0, 0, 3407, 3408, 1, 0, 0, 0, 3408, 3409, 1, 0, 0, 0, 3409, 3410, 5, 225, 0, 0, 3410, 3411, 3, 222, 111, 0, 3411, 3412, 5, 287, 0, 0, 3412, 3413, 3, 134, 67, 0, 3413, 3414, 5, 89, 0, 0, 3414, 3415, 5, 225, 0, 0, 3415, 3417, 1, 0, 0, 0, 3416, 3300, 1, 0, 0, 0, 3416, 3302, 1, 0, 0, 0, 3416, 3307, 1, 0, 0, 0, 3416, 3320, 1, 0, 0, 0, 3416, 3332, 1, 0, 0, 0, 3416, 3352, 1, 0, 0, 0, 3416, 3354, 1, 0, 0, 0, 3416, 3356, 1, 0, 0, 0, 3416, 3385, 1, 0, 0, 0, 3416, 3395, 1, 0, 0, 0, 3416, 3407, 1, 0, 0, 0, 3417, 217, 1, 0, 0, 0, 3418, 3419, 5, 301, 0, 0, 3419, 3420, 3, 134, 67, 0, 3420, 3421, 5, 266, 0, 0, 3421, 3422, 3, 222, 111, 0, 3422, 219, 1, 0, 0, 0, 3423, 3424, 5, 85, 0, 0, 3424, 3425, 3, 222, 111, 0, 3425, 221, 1, 0, 0, 0, 3426, 3427, 3, 216, 108, 0, 3427, 3428, 5, 326, 0, 0, 3428, 3430, 1, 0, 0, 0, 3429, 3426, 1, 0, 0, 0, 3430, 3431, 1, 0, 0, 0, 3431, 3429, 1, 0, 0, 0, 3431, 3432, 1, 0, 0, 0, 3432, 223, 1, 0, 0, 0, 3433, 3440, 5, 54, 0, 0, 3434, 3440, 5, 249, 0, 0, 3435, 3440, 5, 74, 0, 0, 3436, 3440, 5, 128, 0, 0, 3437, 3440, 5, 288, 0, 0, 3438, 3440, 3, 266, 133, 0, 3439, 3433, 1, 0, 0, 0, 3439, 3434, 1, 0, 0, 0, 3439, 3435, 1, 0, 0, 0, 3439, 3436, 1, 0, 0, 0, 3439, 3437, 1, 0, 0, 0, 3439, 3438, 1, 0, 0, 0, 3440, 225, 1, 0, 0, 0, 3441, 3445, 5, 261, 0, 0, 3442, 3445, 5, 244, 0, 0, 3443, 3445, 3, 266, 133, 0, 3444, 3441, 1, 0, 0, 0, 3444, 3442, 1, 0, 0, 0, 3444, 3443, 1, 0, 0, 0, 3444, 3445, 1, 0, 0, 0, 3445, 3446, 1, 0, 0, 0, 3446, 3447, 3, 256, 128, 0, 3447, 227, 1, 0, 0, 0, 3448, 3451, 3, 230, 115, 0, 3449, 3451, 3, 234, 117, 0, 3450, 3448, 1, 0, 0, 0, 3450, 3449, 1, 0, 0, 0, 3451, 229, 1, 0, 0, 0, 3452, 3464, 3, 266, 133, 0, 3453, 3454, 3, 266, 133, 0, 3454, 3455, 5, 4, 0, 0, 3455, 3456, 3, 266, 133, 0, 3456, 3464, 1, 0, 0, 0, 3457, 3458, 3, 266, 133, 0, 3458, 3459, 5, 4, 0, 0, 3459, 3460, 3, 266, 133, 0, 3460, 3461, 5, 4, 0, 0, 3461, 3462, 3, 266, 133, 0, 3462, 3464, 1, 0, 0, 0, 3463, 3452, 1, 0, 0, 0, 3463, 3453, 1, 0, 0, 0, 3463, 3457, 1, 0, 0, 0, 3464, 231, 1, 0, 0, 0, 3465, 3477, 3, 266, 133, 0, 3466, 3467, 3, 266, 133, 0, 3467, 3468, 5, 4, 0, 0, 3468, 3469, 3, 266, 133, 0, 3469, 3477, 1, 0, 0, 0, 3470, 3471, 3, 266, 133, 0, 3471, 3472, 5, 4, 0, 0, 3472, 3473, 3, 266, 133, 0, 3473, 3474, 5, 4, 0, 0, 3474, 3475, 3, 266, 133, 0, 3475, 3477, 1, 0, 0, 0, 3476, 3465, 1, 0, 0, 0, 3476, 3466, 1, 0, 0, 0, 3476, 3470, 1, 0, 0, 0, 3477, 233, 1, 0, 0, 0, 3478, 3490, 3, 266, 133, 0, 3479, 3480, 3, 266, 133, 0, 3480, 3481, 5, 4, 0, 0, 3481, 3482, 3, 266, 133, 0, 3482, 3490, 1, 0, 0, 0, 3483, 3484, 3, 266, 133, 0, 3484, 3485, 5, 4, 0, 0, 3485, 3486, 3, 266, 133, 0, 3486, 3487, 5, 4, 0, 0, 3487, 3488, 3, 266, 133, 0, 3488, 3490, 1, 0, 0, 0, 3489, 3478, 1, 0, 0, 0, 3489, 3479, 1, 0, 0, 0, 3489, 3483, 1, 0, 0, 0, 3490, 235, 1, 0, 0, 0, 3491, 3503, 3, 266, 133, 0, 3492, 3493, 3, 266, 133, 0, 3493, 3494, 5, 4, 0, 0, 3494, 3495, 3, 266, 133, 0, 3495, 3503, 1, 0, 0, 0, 3496, 3497, 3, 266, 133, 0, 3497, 3498, 5, 4, 0, 0, 3498, 3499, 3, 266, 133, 0, 3499, 3500, 5, 4, 0, 0, 3500, 3501, 3, 266, 133, 0, 3501, 3503, 1, 0, 0, 0, 3502, 3491, 1, 0, 0, 0, 3502, 3492, 1, 0, 0, 0, 3502, 3496, 1, 0, 0, 0, 3503, 237, 1, 0, 0, 0, 3504, 3510, 3, 266, 133, 0, 3505, 3506, 3, 266, 133, 0, 3506, 3507, 5, 4, 0, 0, 3507, 3508, 3, 266, 133, 0, 3508, 3510, 1, 0, 0, 0, 3509, 3504, 1, 0, 0, 0, 3509, 3505, 1, 0, 0, 0, 3510, 239, 1, 0, 0, 0, 3511, 3517, 3, 266, 133, 0, 3512, 3513, 3, 266, 133, 0, 3513, 3514, 5, 4, 0, 0, 3514, 3515, 3, 266, 133, 0, 3515, 3517, 1, 0, 0, 0, 3516, 3511, 1, 0, 0, 0, 3516, 3512, 1, 0, 0, 0, 3517, 241, 1, 0, 0, 0, 3518, 3519, 3, 266, 133, 0, 3519, 243, 1, 0, 0, 0, 3520, 3521, 3, 266, 133, 0, 3521, 245, 1, 0, 0, 0, 3522, 3523, 3, 256, 128, 0, 3523, 247, 1, 0, 0, 0, 3524, 3525, 3, 256, 128, 0, 3525, 249, 1, 0, 0, 0, 3526, 3529, 3, 256, 128, 0, 3527, 3529, 4, 125, 14, 0, 3528, 3526, 1, 0, 0, 0, 3528, 3527, 1, 0, 0, 0, 3529, 251, 1, 0, 0, 0, 3530, 3531, 3, 256, 128, 0, 3531, 253, 1, 0, 0, 0, 3532, 3533, 3, 266, 133, 0, 3533, 255, 1, 0, 0, 0, 3534, 3539, 3, 266, 133, 0, 3535, 3536, 5, 4, 0, 0, 3536, 3538, 3, 266, 133, 0, 3537, 3535, 1, 0, 0, 0, 3538, 3541, 1, 0, 0, 0, 3539, 3537, 1, 0, 0, 0, 3539, 3540, 1, 0, 0, 0, 3540, 257, 1, 0, 0, 0, 3541, 3539, 1, 0, 0, 0, 3542, 3546, 3, 260, 130, 0, 3543, 3546, 5, 65, 0, 0, 3544, 3546, 5, 61, 0, 0, 3545, 3542, 1, 0, 0, 0, 3545, 3543, 1, 0, 0, 0, 3545, 3544, 1, 0, 0, 0, 3546, 259, 1, 0, 0, 0, 3547, 3553, 3, 266, 133, 0, 3548, 3549, 5, 290, 0, 0, 3549, 3553, 3, 266, 133, 0, 3550, 3551, 5, 236, 0, 0, 3551, 3553, 3, 266, 133, 0, 3552, 3547, 1, 0, 0, 0, 3552, 3548, 1, 0, 0, 0, 3552, 3550, 1, 0, 0, 0, 3553, 261, 1, 0, 0, 0, 3554, 3559, 3, 266, 133, 0, 3555, 3556, 5, 3, 0, 0, 3556, 3558, 3, 266, 133, 0, 3557, 3555, 1, 0, 0, 0, 3558, 3561, 1, 0, 0, 0, 3559, 3557, 1, 0, 0, 0, 3559, 3560, 1, 0, 0, 0, 3560, 263, 1, 0, 0, 0, 3561, 3559, 1, 0, 0, 0, 3562, 3570, 5, 54, 0, 0, 3563, 3570, 5, 249, 0, 0, 3564, 3570, 5, 74, 0, 0, 3565, 3570, 5, 128, 0, 0, 3566, 3570, 5, 288, 0, 0, 3567, 3570, 5, 94, 0, 0, 3568, 3570, 3, 266, 133, 0, 3569, 3562, 1, 0, 0, 0, 3569, 3563, 1, 0, 0, 0, 3569, 3564, 1, 0, 0, 0, 3569, 3565, 1, 0, 0, 0, 3569, 3566, 1, 0, 0, 0, 3569, 3567, 1, 0, 0, 0, 3569, 3568, 1, 0, 0, 0, 3570, 265, 1, 0, 0, 0, 3571, 3577, 5, 333, 0, 0, 3572, 3577, 5, 335, 0, 0, 3573, 3577, 3, 270, 135, 0, 3574, 3577, 5, 336, 0, 0, 3575, 3577, 5, 334, 0, 0, 3576, 3571, 1, 0, 0, 0, 3576, 3572, 1, 0, 0, 0, 3576, 3573, 1, 0, 0, 0, 3576, 3574, 1, 0, 0, 0, 3576, 3575, 1, 0, 0, 0, 3577, 267, 1, 0, 0, 0, 3578, 3580, 5, 320, 0, 0, 3579, 3578, 1, 0, 0, 0, 3579, 3580, 1, 0, 0, 0, 3580, 3581, 1, 0, 0, 0, 3581, 3591, 5, 331, 0, 0, 3582, 3584, 5, 320, 0, 0, 3583, 3582, 1, 0, 0, 0, 3583, 3584, 1, 0, 0, 0, 3584, 3585, 1, 0, 0, 0, 3585, 3591, 5, 332, 0, 0, 3586, 3588, 5, 320, 0, 0, 3587, 3586, 1, 0, 0, 0, 3587, 3588, 1, 0, 0, 0, 3588, 3589, 1, 0, 0, 0, 3589, 3591, 5, 330, 0, 0, 3590, 3579, 1, 0, 0, 0, 3590, 3583, 1, 0, 0, 0, 3590, 3587, 1, 0, 0, 0, 3591, 269, 1, 0, 0, 0, 3592, 3593, 7, 37, 0, 0, 3593, 271, 1, 0, 0, 0, 476, 275, 284, 288, 292, 296, 300, 313, 320, 324, 328, 334, 338, 345, 350, 354, 360, 364, 383, 389, 393, 397, 401, 409, 413, 416, 421, 427, 436, 442, 446, 452, 459, 467, 479, 488, 497, 503, 514, 522, 530, 537, 547, 554, 562, 577, 612, 615, 618, 621, 627, 632, 639, 645, 649, 653, 661, 667, 671, 675, 689, 697, 716, 741, 744, 751, 758, 767, 770, 780, 784, 791, 799, 808, 814, 819, 823, 831, 836, 845, 851, 858, 867, 873, 877, 883, 890, 895, 908, 913, 925, 929, 935, 944, 949, 955, 983, 989, 991, 997, 1003, 1005, 1013, 1015, 1025, 1027, 1042, 1047, 1054, 1064, 1070, 1072, 1080, 1082, 1089, 1110, 1113, 1117, 1121, 1139, 1142, 1153, 1156, 1172, 1182, 1186, 1192, 1195, 1204, 1216, 1219, 1229, 1233, 1239, 1246, 1254, 1256, 1262, 1266, 1270, 1281, 1288, 1298, 1301, 1306, 1308, 1315, 1321, 1323, 1331, 1337, 1340, 1342, 1354, 1361, 1365, 1368, 1372, 1376, 1385, 1388, 1391, 1396, 1399, 1407, 1410, 1423, 1427, 1434, 1442, 1453, 1456, 1466, 1469, 1480, 1485, 1490, 1495, 1499, 1502, 1507, 1509, 1518, 1523, 1532, 1535, 1538, 1542, 1553, 1556, 1559, 1564, 1567, 1598, 1603, 1610, 1614, 1618, 1622, 1626, 1630, 1632, 1641, 1646, 1652, 1654, 1662, 1671, 1674, 1682, 1685, 1688, 1693, 1696, 1708, 1711, 1719, 1724, 1728, 1730, 1732, 1755, 1757, 1778, 1788, 1799, 1803, 1805, 1813, 1824, 1835, 1846, 1853, 1866, 1872, 1894, 1909, 1914, 1918, 1928, 1934, 1940, 1948, 1953, 1960, 1962, 1968, 1974, 1978, 1983, 1992, 1997, 2011, 2021, 2024, 2033, 2038, 2043, 2045, 2054, 2057, 2065, 2068, 2075, 2080, 2087, 2091, 2093, 2101, 2111, 2117, 2119, 2126, 2130, 2132, 2139, 2143, 2145, 2147, 2156, 2167, 2171, 2181, 2191, 2195, 2203, 2205, 2218, 2226, 2235, 2241, 2249, 2255, 2259, 2264, 2269, 2275, 2294, 2296, 2298, 2328, 2339, 2347, 2352, 2357, 2370, 2376, 2379, 2386, 2391, 2394, 2397, 2402, 2409, 2412, 2421, 2424, 2428, 2434, 2437, 2452, 2455, 2474, 2478, 2486, 2490, 2515, 2518, 2527, 2533, 2539, 2545, 2554, 2557, 2560, 2579, 2588, 2606, 2622, 2625, 2634, 2643, 2649, 2655, 2666, 2668, 2673, 2680, 2682, 2688, 2694, 2705, 2714, 2719, 2724, 2726, 2728, 2734, 2736, 2746, 2755, 2757, 2763, 2765, 2768, 2778, 2780, 2788, 2796, 2799, 2804, 2809, 2819, 2823, 2827, 2830, 2832, 2840, 2843, 2853, 2861, 2863, 2871, 2877, 2889, 2898, 2905, 2910, 2917, 2922, 2945, 2950, 2952, 2959, 2963, 2970, 2974, 2990, 3005, 3012, 3021, 3031, 3036, 3045, 3050, 3058, 3066, 3069, 3075, 3078, 3085, 3093, 3096, 3104, 3107, 3116, 3127, 3132, 3139, 3141, 3154, 3169, 3173, 3177, 3181, 3187, 3191, 3195, 3199, 3201, 3211, 3222, 3226, 3233, 3240, 3247, 3258, 3261, 3269, 3275, 3282, 3298, 3312, 3315, 3324, 3327, 3343, 3347, 3363, 3369, 3375, 3379, 3385, 3395, 3407, 3416, 3431, 3439, 3444, 3450, 3463, 3476, 3489, 3502, 3509, 3516, 3528, 3539, 3545, 3552, 3559, 3569, 3576, 3579, 3583, 3587, 3590] \ No newline at end of file diff --git a/src/lib/trino/TrinoSqlListener.ts b/src/lib/trino/TrinoSqlListener.ts index cbc72172e..d37df7ab4 100644 --- a/src/lib/trino/TrinoSqlListener.ts +++ b/src/lib/trino/TrinoSqlListener.ts @@ -106,15 +106,10 @@ import { QueryStatementContext } from "./TrinoSqlParser.js"; import { WithContext } from "./TrinoSqlParser.js"; import { TableElementContext } from "./TrinoSqlParser.js"; import { ColumnDefinitionContext } from "./TrinoSqlParser.js"; -import { LikeClauseContext } from "./TrinoSqlParser.js"; import { PropertiesContext } from "./TrinoSqlParser.js"; import { PropertyAssignmentsContext } from "./TrinoSqlParser.js"; import { PropertyContext } from "./TrinoSqlParser.js"; -import { DefaultPropertyValueContext } from "./TrinoSqlParser.js"; -import { NonDefaultPropertyValueContext } from "./TrinoSqlParser.js"; import { QueryNoWithContext } from "./TrinoSqlParser.js"; -import { LimitRowCountContext } from "./TrinoSqlParser.js"; -import { RowCountContext } from "./TrinoSqlParser.js"; import { QueryTermDefaultContext } from "./TrinoSqlParser.js"; import { SetOperationContext } from "./TrinoSqlParser.js"; import { QueryPrimaryDefaultContext } from "./TrinoSqlParser.js"; @@ -133,7 +128,6 @@ import { RollupContext } from "./TrinoSqlParser.js"; import { CubeContext } from "./TrinoSqlParser.js"; import { MultipleGroupingSetsContext } from "./TrinoSqlParser.js"; import { GroupingSetContext } from "./TrinoSqlParser.js"; -import { GroupingTermContext } from "./TrinoSqlParser.js"; import { WindowDefinitionContext } from "./TrinoSqlParser.js"; import { WindowSpecificationContext } from "./TrinoSqlParser.js"; import { NamedQueryContext } from "./TrinoSqlParser.js"; @@ -146,16 +140,11 @@ import { SelectExpressionColumnNameContext } from "./TrinoSqlParser.js"; import { RelationDefaultContext } from "./TrinoSqlParser.js"; import { JoinRelationContext } from "./TrinoSqlParser.js"; import { JoinTypeContext } from "./TrinoSqlParser.js"; -import { JoinCriteriaContext } from "./TrinoSqlParser.js"; import { SampledRelationContext } from "./TrinoSqlParser.js"; -import { SampleTypeContext } from "./TrinoSqlParser.js"; -import { TrimsSpecificationContext } from "./TrinoSqlParser.js"; import { ListAggOverflowBehaviorContext } from "./TrinoSqlParser.js"; -import { ListAggCountIndicationContext } from "./TrinoSqlParser.js"; import { PatternRecognitionContext } from "./TrinoSqlParser.js"; import { MeasureDefinitionContext } from "./TrinoSqlParser.js"; import { RowsPerMatchContext } from "./TrinoSqlParser.js"; -import { EmptyMatchHandlingContext } from "./TrinoSqlParser.js"; import { SkipToContext } from "./TrinoSqlParser.js"; import { SubsetDefinitionContext } from "./TrinoSqlParser.js"; import { VariableDefinitionContext } from "./TrinoSqlParser.js"; @@ -256,23 +245,17 @@ import { JsonPathInvocationContext } from "./TrinoSqlParser.js"; import { JsonValueExpressionContext } from "./TrinoSqlParser.js"; import { JsonRepresentationContext } from "./TrinoSqlParser.js"; import { JsonArgumentContext } from "./TrinoSqlParser.js"; -import { JsonExistsErrorBehaviorContext } from "./TrinoSqlParser.js"; import { JsonValueBehaviorContext } from "./TrinoSqlParser.js"; import { JsonQueryWrapperBehaviorContext } from "./TrinoSqlParser.js"; import { JsonQueryBehaviorContext } from "./TrinoSqlParser.js"; import { JsonObjectMemberContext } from "./TrinoSqlParser.js"; import { ProcessingModeContext } from "./TrinoSqlParser.js"; -import { NullTreatmentContext } from "./TrinoSqlParser.js"; import { BasicStringLiteralContext } from "./TrinoSqlParser.js"; import { UnicodeStringLiteralContext } from "./TrinoSqlParser.js"; -import { TimeZoneIntervalContext } from "./TrinoSqlParser.js"; -import { TimeZoneStringContext } from "./TrinoSqlParser.js"; import { ComparisonOperatorContext } from "./TrinoSqlParser.js"; import { ComparisonQuantifierContext } from "./TrinoSqlParser.js"; -import { BooleanValueContext } from "./TrinoSqlParser.js"; import { IntervalContext } from "./TrinoSqlParser.js"; import { IntervalFieldContext } from "./TrinoSqlParser.js"; -import { NormalFormContext } from "./TrinoSqlParser.js"; import { RowTypeContext } from "./TrinoSqlParser.js"; import { IntervalTypeContext } from "./TrinoSqlParser.js"; import { ArrayTypeContext } from "./TrinoSqlParser.js"; @@ -314,20 +297,13 @@ import { ExplainFormatContext } from "./TrinoSqlParser.js"; import { ExplainTypeContext } from "./TrinoSqlParser.js"; import { IsolationLevelContext } from "./TrinoSqlParser.js"; import { TransactionAccessModeContext } from "./TrinoSqlParser.js"; -import { ReadUncommittedContext } from "./TrinoSqlParser.js"; -import { ReadCommittedContext } from "./TrinoSqlParser.js"; -import { RepeatableReadContext } from "./TrinoSqlParser.js"; -import { SerializableContext } from "./TrinoSqlParser.js"; import { PositionalArgumentContext } from "./TrinoSqlParser.js"; import { NamedArgumentContext } from "./TrinoSqlParser.js"; import { QualifiedArgumentContext } from "./TrinoSqlParser.js"; import { UnqualifiedArgumentContext } from "./TrinoSqlParser.js"; import { PathSpecificationContext } from "./TrinoSqlParser.js"; import { FunctionSpecificationContext } from "./TrinoSqlParser.js"; -import { FunctionDeclarationContext } from "./TrinoSqlParser.js"; -import { FunctionSignatureContext } from "./TrinoSqlParser.js"; import { ParameterDeclarationContext } from "./TrinoSqlParser.js"; -import { ReturnsClauseContext } from "./TrinoSqlParser.js"; import { LanguageCharacteristicContext } from "./TrinoSqlParser.js"; import { DeterministicCharacteristicContext } from "./TrinoSqlParser.js"; import { ReturnsNullOnNullInputCharacteristicContext } from "./TrinoSqlParser.js"; @@ -346,12 +322,9 @@ import { LoopStatementContext } from "./TrinoSqlParser.js"; import { WhileStatementContext } from "./TrinoSqlParser.js"; import { RepeatStatementContext } from "./TrinoSqlParser.js"; import { CaseStatementWhenClauseContext } from "./TrinoSqlParser.js"; -import { ElseIfClauseContext } from "./TrinoSqlParser.js"; import { ElseClauseContext } from "./TrinoSqlParser.js"; -import { VariableDeclarationContext } from "./TrinoSqlParser.js"; import { SqlStatementListContext } from "./TrinoSqlParser.js"; import { PrivilegeContext } from "./TrinoSqlParser.js"; -import { EntityKindContext } from "./TrinoSqlParser.js"; import { GrantObjectContext } from "./TrinoSqlParser.js"; import { TableOrViewNameContext } from "./TrinoSqlParser.js"; import { TableRefContext } from "./TrinoSqlParser.js"; @@ -368,8 +341,6 @@ import { ColumnRefContext } from "./TrinoSqlParser.js"; import { ColumnNameContext } from "./TrinoSqlParser.js"; import { ColumnNameCreateContext } from "./TrinoSqlParser.js"; import { QualifiedNameContext } from "./TrinoSqlParser.js"; -import { QueryPeriodContext } from "./TrinoSqlParser.js"; -import { RangeTypeContext } from "./TrinoSqlParser.js"; import { SpecifiedPrincipalContext } from "./TrinoSqlParser.js"; import { CurrentUserGrantorContext } from "./TrinoSqlParser.js"; import { CurrentRoleGrantorContext } from "./TrinoSqlParser.js"; @@ -385,8 +356,6 @@ import { DigitIdentifierContext } from "./TrinoSqlParser.js"; import { DecimalLiteralContext } from "./TrinoSqlParser.js"; import { DoubleLiteralContext } from "./TrinoSqlParser.js"; import { IntegerLiteralContext } from "./TrinoSqlParser.js"; -import { IdentifierUserContext } from "./TrinoSqlParser.js"; -import { StringUserContext } from "./TrinoSqlParser.js"; import { NonReservedContext } from "./TrinoSqlParser.js"; @@ -1545,16 +1514,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitColumnDefinition?: (ctx: ColumnDefinitionContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.likeClause`. - * @param ctx the parse tree - */ - enterLikeClause?: (ctx: LikeClauseContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.likeClause`. - * @param ctx the parse tree - */ - exitLikeClause?: (ctx: LikeClauseContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.properties`. * @param ctx the parse tree @@ -1585,30 +1544,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitProperty?: (ctx: PropertyContext) => void; - /** - * Enter a parse tree produced by the `defaultPropertyValue` - * labeled alternative in `TrinoSqlParser.propertyValue`. - * @param ctx the parse tree - */ - enterDefaultPropertyValue?: (ctx: DefaultPropertyValueContext) => void; - /** - * Exit a parse tree produced by the `defaultPropertyValue` - * labeled alternative in `TrinoSqlParser.propertyValue`. - * @param ctx the parse tree - */ - exitDefaultPropertyValue?: (ctx: DefaultPropertyValueContext) => void; - /** - * Enter a parse tree produced by the `nonDefaultPropertyValue` - * labeled alternative in `TrinoSqlParser.propertyValue`. - * @param ctx the parse tree - */ - enterNonDefaultPropertyValue?: (ctx: NonDefaultPropertyValueContext) => void; - /** - * Exit a parse tree produced by the `nonDefaultPropertyValue` - * labeled alternative in `TrinoSqlParser.propertyValue`. - * @param ctx the parse tree - */ - exitNonDefaultPropertyValue?: (ctx: NonDefaultPropertyValueContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.queryNoWith`. * @param ctx the parse tree @@ -1619,26 +1554,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitQueryNoWith?: (ctx: QueryNoWithContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.limitRowCount`. - * @param ctx the parse tree - */ - enterLimitRowCount?: (ctx: LimitRowCountContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.limitRowCount`. - * @param ctx the parse tree - */ - exitLimitRowCount?: (ctx: LimitRowCountContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.rowCount`. - * @param ctx the parse tree - */ - enterRowCount?: (ctx: RowCountContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.rowCount`. - * @param ctx the parse tree - */ - exitRowCount?: (ctx: RowCountContext) => void; /** * Enter a parse tree produced by the `queryTermDefault` * labeled alternative in `TrinoSqlParser.queryTerm`. @@ -1839,16 +1754,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitGroupingSet?: (ctx: GroupingSetContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.groupingTerm`. - * @param ctx the parse tree - */ - enterGroupingTerm?: (ctx: GroupingTermContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.groupingTerm`. - * @param ctx the parse tree - */ - exitGroupingTerm?: (ctx: GroupingTermContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.windowDefinition`. * @param ctx the parse tree @@ -1973,16 +1878,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitJoinType?: (ctx: JoinTypeContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.joinCriteria`. - * @param ctx the parse tree - */ - enterJoinCriteria?: (ctx: JoinCriteriaContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.joinCriteria`. - * @param ctx the parse tree - */ - exitJoinCriteria?: (ctx: JoinCriteriaContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.sampledRelation`. * @param ctx the parse tree @@ -1993,26 +1888,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitSampledRelation?: (ctx: SampledRelationContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.sampleType`. - * @param ctx the parse tree - */ - enterSampleType?: (ctx: SampleTypeContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.sampleType`. - * @param ctx the parse tree - */ - exitSampleType?: (ctx: SampleTypeContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.trimsSpecification`. - * @param ctx the parse tree - */ - enterTrimsSpecification?: (ctx: TrimsSpecificationContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.trimsSpecification`. - * @param ctx the parse tree - */ - exitTrimsSpecification?: (ctx: TrimsSpecificationContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.listAggOverflowBehavior`. * @param ctx the parse tree @@ -2023,16 +1898,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitListAggOverflowBehavior?: (ctx: ListAggOverflowBehaviorContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.listAggCountIndication`. - * @param ctx the parse tree - */ - enterListAggCountIndication?: (ctx: ListAggCountIndicationContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.listAggCountIndication`. - * @param ctx the parse tree - */ - exitListAggCountIndication?: (ctx: ListAggCountIndicationContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.patternRecognition`. * @param ctx the parse tree @@ -2063,16 +1928,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitRowsPerMatch?: (ctx: RowsPerMatchContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.emptyMatchHandling`. - * @param ctx the parse tree - */ - enterEmptyMatchHandling?: (ctx: EmptyMatchHandlingContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.emptyMatchHandling`. - * @param ctx the parse tree - */ - exitEmptyMatchHandling?: (ctx: EmptyMatchHandlingContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.skipTo`. * @param ctx the parse tree @@ -3231,16 +3086,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitJsonArgument?: (ctx: JsonArgumentContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.jsonExistsErrorBehavior`. - * @param ctx the parse tree - */ - enterJsonExistsErrorBehavior?: (ctx: JsonExistsErrorBehaviorContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.jsonExistsErrorBehavior`. - * @param ctx the parse tree - */ - exitJsonExistsErrorBehavior?: (ctx: JsonExistsErrorBehaviorContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.jsonValueBehavior`. * @param ctx the parse tree @@ -3291,16 +3136,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitProcessingMode?: (ctx: ProcessingModeContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.nullTreatment`. - * @param ctx the parse tree - */ - enterNullTreatment?: (ctx: NullTreatmentContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.nullTreatment`. - * @param ctx the parse tree - */ - exitNullTreatment?: (ctx: NullTreatmentContext) => void; /** * Enter a parse tree produced by the `basicStringLiteral` * labeled alternative in `TrinoSqlParser.string`. @@ -3325,30 +3160,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitUnicodeStringLiteral?: (ctx: UnicodeStringLiteralContext) => void; - /** - * Enter a parse tree produced by the `timeZoneInterval` - * labeled alternative in `TrinoSqlParser.timeZoneSpecifier`. - * @param ctx the parse tree - */ - enterTimeZoneInterval?: (ctx: TimeZoneIntervalContext) => void; - /** - * Exit a parse tree produced by the `timeZoneInterval` - * labeled alternative in `TrinoSqlParser.timeZoneSpecifier`. - * @param ctx the parse tree - */ - exitTimeZoneInterval?: (ctx: TimeZoneIntervalContext) => void; - /** - * Enter a parse tree produced by the `timeZoneString` - * labeled alternative in `TrinoSqlParser.timeZoneSpecifier`. - * @param ctx the parse tree - */ - enterTimeZoneString?: (ctx: TimeZoneStringContext) => void; - /** - * Exit a parse tree produced by the `timeZoneString` - * labeled alternative in `TrinoSqlParser.timeZoneSpecifier`. - * @param ctx the parse tree - */ - exitTimeZoneString?: (ctx: TimeZoneStringContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.comparisonOperator`. * @param ctx the parse tree @@ -3369,16 +3180,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitComparisonQuantifier?: (ctx: ComparisonQuantifierContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.booleanValue`. - * @param ctx the parse tree - */ - enterBooleanValue?: (ctx: BooleanValueContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.booleanValue`. - * @param ctx the parse tree - */ - exitBooleanValue?: (ctx: BooleanValueContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.interval`. * @param ctx the parse tree @@ -3399,16 +3200,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitIntervalField?: (ctx: IntervalFieldContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.normalForm`. - * @param ctx the parse tree - */ - enterNormalForm?: (ctx: NormalFormContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.normalForm`. - * @param ctx the parse tree - */ - exitNormalForm?: (ctx: NormalFormContext) => void; /** * Enter a parse tree produced by the `rowType` * labeled alternative in `TrinoSqlParser.type`. @@ -3885,54 +3676,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitTransactionAccessMode?: (ctx: TransactionAccessModeContext) => void; - /** - * Enter a parse tree produced by the `readUncommitted` - * labeled alternative in `TrinoSqlParser.levelOfIsolation`. - * @param ctx the parse tree - */ - enterReadUncommitted?: (ctx: ReadUncommittedContext) => void; - /** - * Exit a parse tree produced by the `readUncommitted` - * labeled alternative in `TrinoSqlParser.levelOfIsolation`. - * @param ctx the parse tree - */ - exitReadUncommitted?: (ctx: ReadUncommittedContext) => void; - /** - * Enter a parse tree produced by the `readCommitted` - * labeled alternative in `TrinoSqlParser.levelOfIsolation`. - * @param ctx the parse tree - */ - enterReadCommitted?: (ctx: ReadCommittedContext) => void; - /** - * Exit a parse tree produced by the `readCommitted` - * labeled alternative in `TrinoSqlParser.levelOfIsolation`. - * @param ctx the parse tree - */ - exitReadCommitted?: (ctx: ReadCommittedContext) => void; - /** - * Enter a parse tree produced by the `repeatableRead` - * labeled alternative in `TrinoSqlParser.levelOfIsolation`. - * @param ctx the parse tree - */ - enterRepeatableRead?: (ctx: RepeatableReadContext) => void; - /** - * Exit a parse tree produced by the `repeatableRead` - * labeled alternative in `TrinoSqlParser.levelOfIsolation`. - * @param ctx the parse tree - */ - exitRepeatableRead?: (ctx: RepeatableReadContext) => void; - /** - * Enter a parse tree produced by the `serializable` - * labeled alternative in `TrinoSqlParser.levelOfIsolation`. - * @param ctx the parse tree - */ - enterSerializable?: (ctx: SerializableContext) => void; - /** - * Exit a parse tree produced by the `serializable` - * labeled alternative in `TrinoSqlParser.levelOfIsolation`. - * @param ctx the parse tree - */ - exitSerializable?: (ctx: SerializableContext) => void; /** * Enter a parse tree produced by the `positionalArgument` * labeled alternative in `TrinoSqlParser.callArgument`. @@ -4001,26 +3744,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitFunctionSpecification?: (ctx: FunctionSpecificationContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.functionDeclaration`. - * @param ctx the parse tree - */ - enterFunctionDeclaration?: (ctx: FunctionDeclarationContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.functionDeclaration`. - * @param ctx the parse tree - */ - exitFunctionDeclaration?: (ctx: FunctionDeclarationContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.functionSignature`. - * @param ctx the parse tree - */ - enterFunctionSignature?: (ctx: FunctionSignatureContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.functionSignature`. - * @param ctx the parse tree - */ - exitFunctionSignature?: (ctx: FunctionSignatureContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.parameterDeclaration`. * @param ctx the parse tree @@ -4031,16 +3754,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitParameterDeclaration?: (ctx: ParameterDeclarationContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.returnsClause`. - * @param ctx the parse tree - */ - enterReturnsClause?: (ctx: ReturnsClauseContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.returnsClause`. - * @param ctx the parse tree - */ - exitReturnsClause?: (ctx: ReturnsClauseContext) => void; /** * Enter a parse tree produced by the `languageCharacteristic` * labeled alternative in `TrinoSqlParser.routineCharacteristic`. @@ -4255,16 +3968,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitCaseStatementWhenClause?: (ctx: CaseStatementWhenClauseContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.elseIfClause`. - * @param ctx the parse tree - */ - enterElseIfClause?: (ctx: ElseIfClauseContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.elseIfClause`. - * @param ctx the parse tree - */ - exitElseIfClause?: (ctx: ElseIfClauseContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.elseClause`. * @param ctx the parse tree @@ -4275,16 +3978,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitElseClause?: (ctx: ElseClauseContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.variableDeclaration`. - * @param ctx the parse tree - */ - enterVariableDeclaration?: (ctx: VariableDeclarationContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.variableDeclaration`. - * @param ctx the parse tree - */ - exitVariableDeclaration?: (ctx: VariableDeclarationContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.sqlStatementList`. * @param ctx the parse tree @@ -4305,16 +3998,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitPrivilege?: (ctx: PrivilegeContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.entityKind`. - * @param ctx the parse tree - */ - enterEntityKind?: (ctx: EntityKindContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.entityKind`. - * @param ctx the parse tree - */ - exitEntityKind?: (ctx: EntityKindContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.grantObject`. * @param ctx the parse tree @@ -4475,26 +4158,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitQualifiedName?: (ctx: QualifiedNameContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.queryPeriod`. - * @param ctx the parse tree - */ - enterQueryPeriod?: (ctx: QueryPeriodContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.queryPeriod`. - * @param ctx the parse tree - */ - exitQueryPeriod?: (ctx: QueryPeriodContext) => void; - /** - * Enter a parse tree produced by `TrinoSqlParser.rangeType`. - * @param ctx the parse tree - */ - enterRangeType?: (ctx: RangeTypeContext) => void; - /** - * Exit a parse tree produced by `TrinoSqlParser.rangeType`. - * @param ctx the parse tree - */ - exitRangeType?: (ctx: RangeTypeContext) => void; /** * Enter a parse tree produced by the `specifiedPrincipal` * labeled alternative in `TrinoSqlParser.grantor`. @@ -4671,30 +4334,6 @@ export class TrinoSqlListener implements ParseTreeListener { * @param ctx the parse tree */ exitIntegerLiteral?: (ctx: IntegerLiteralContext) => void; - /** - * Enter a parse tree produced by the `identifierUser` - * labeled alternative in `TrinoSqlParser.authorizationUser`. - * @param ctx the parse tree - */ - enterIdentifierUser?: (ctx: IdentifierUserContext) => void; - /** - * Exit a parse tree produced by the `identifierUser` - * labeled alternative in `TrinoSqlParser.authorizationUser`. - * @param ctx the parse tree - */ - exitIdentifierUser?: (ctx: IdentifierUserContext) => void; - /** - * Enter a parse tree produced by the `stringUser` - * labeled alternative in `TrinoSqlParser.authorizationUser`. - * @param ctx the parse tree - */ - enterStringUser?: (ctx: StringUserContext) => void; - /** - * Exit a parse tree produced by the `stringUser` - * labeled alternative in `TrinoSqlParser.authorizationUser`. - * @param ctx the parse tree - */ - exitStringUser?: (ctx: StringUserContext) => void; /** * Enter a parse tree produced by `TrinoSqlParser.nonReserved`. * @param ctx the parse tree diff --git a/src/lib/trino/TrinoSqlParser.ts b/src/lib/trino/TrinoSqlParser.ts index 0481b05a9..bec4d4238 100644 --- a/src/lib/trino/TrinoSqlParser.ts +++ b/src/lib/trino/TrinoSqlParser.ts @@ -373,152 +373,127 @@ export class TrinoSqlParser extends SQLParserBase { public static readonly RULE_with = 12; public static readonly RULE_tableElement = 13; public static readonly RULE_columnDefinition = 14; - public static readonly RULE_likeClause = 15; - public static readonly RULE_properties = 16; - public static readonly RULE_propertyAssignments = 17; - public static readonly RULE_property = 18; - public static readonly RULE_propertyValue = 19; - public static readonly RULE_queryNoWith = 20; - public static readonly RULE_limitRowCount = 21; - public static readonly RULE_rowCount = 22; - public static readonly RULE_queryTerm = 23; - public static readonly RULE_queryPrimary = 24; - public static readonly RULE_sortItem = 25; - public static readonly RULE_querySpecification = 26; - public static readonly RULE_whereClause = 27; - public static readonly RULE_havingClause = 28; - public static readonly RULE_selectList = 29; - public static readonly RULE_groupBy = 30; - public static readonly RULE_partitionBy = 31; - public static readonly RULE_groupingElement = 32; - public static readonly RULE_groupingSet = 33; - public static readonly RULE_groupingTerm = 34; - public static readonly RULE_windowDefinition = 35; - public static readonly RULE_windowSpecification = 36; - public static readonly RULE_namedQuery = 37; - public static readonly RULE_setQuantifier = 38; - public static readonly RULE_selectItem = 39; - public static readonly RULE_selectAllWithoutTable = 40; - public static readonly RULE_tableAllColumns = 41; - public static readonly RULE_selectLiteralColumnName = 42; - public static readonly RULE_selectExpressionColumnName = 43; - public static readonly RULE_relation = 44; - public static readonly RULE_joinType = 45; - public static readonly RULE_joinCriteria = 46; - public static readonly RULE_sampledRelation = 47; - public static readonly RULE_sampleType = 48; - public static readonly RULE_trimsSpecification = 49; - public static readonly RULE_listAggOverflowBehavior = 50; - public static readonly RULE_listAggCountIndication = 51; - public static readonly RULE_patternRecognition = 52; - public static readonly RULE_measureDefinition = 53; - public static readonly RULE_rowsPerMatch = 54; - public static readonly RULE_emptyMatchHandling = 55; - public static readonly RULE_skipTo = 56; - public static readonly RULE_subsetDefinition = 57; - public static readonly RULE_variableDefinition = 58; - public static readonly RULE_aliasedRelation = 59; - public static readonly RULE_columnListCreate = 60; - public static readonly RULE_columnList = 61; - public static readonly RULE_columnAliases = 62; - public static readonly RULE_relationPrimary = 63; - public static readonly RULE_relationSourceTable = 64; - public static readonly RULE_jsonTableColumn = 65; - public static readonly RULE_jsonTableSpecificPlan = 66; - public static readonly RULE_jsonTablePathName = 67; - public static readonly RULE_planPrimary = 68; - public static readonly RULE_jsonTableDefaultPlan = 69; - public static readonly RULE_tableFunctionCall = 70; - public static readonly RULE_tableFunctionArgument = 71; - public static readonly RULE_tableArgument = 72; - public static readonly RULE_tableArgumentRelation = 73; - public static readonly RULE_descriptorArgument = 74; - public static readonly RULE_descriptorField = 75; - public static readonly RULE_coPartitionTables = 76; - public static readonly RULE_expression = 77; - public static readonly RULE_booleanExpression = 78; - public static readonly RULE_predicate = 79; - public static readonly RULE_valueExpression = 80; - public static readonly RULE_primaryExpression = 81; - public static readonly RULE_jsonPathInvocation = 82; - public static readonly RULE_jsonValueExpression = 83; - public static readonly RULE_jsonRepresentation = 84; - public static readonly RULE_jsonArgument = 85; - public static readonly RULE_jsonExistsErrorBehavior = 86; - public static readonly RULE_jsonValueBehavior = 87; - public static readonly RULE_jsonQueryWrapperBehavior = 88; - public static readonly RULE_jsonQueryBehavior = 89; - public static readonly RULE_jsonObjectMember = 90; - public static readonly RULE_processingMode = 91; - public static readonly RULE_nullTreatment = 92; - public static readonly RULE_string = 93; - public static readonly RULE_timeZoneSpecifier = 94; - public static readonly RULE_comparisonOperator = 95; - public static readonly RULE_comparisonQuantifier = 96; - public static readonly RULE_booleanValue = 97; - public static readonly RULE_interval = 98; - public static readonly RULE_intervalField = 99; - public static readonly RULE_normalForm = 100; - public static readonly RULE_type = 101; - public static readonly RULE_rowField = 102; - public static readonly RULE_typeParameter = 103; - public static readonly RULE_whenClause = 104; - public static readonly RULE_filter = 105; - public static readonly RULE_mergeCase = 106; - public static readonly RULE_over = 107; - public static readonly RULE_windowFrame = 108; - public static readonly RULE_frameExtent = 109; - public static readonly RULE_frameBound = 110; - public static readonly RULE_rowPattern = 111; - public static readonly RULE_patternPrimary = 112; - public static readonly RULE_patternQuantifier = 113; - public static readonly RULE_updateAssignment = 114; - public static readonly RULE_explainOption = 115; - public static readonly RULE_transactionMode = 116; - public static readonly RULE_levelOfIsolation = 117; - public static readonly RULE_callArgument = 118; - public static readonly RULE_pathElement = 119; - public static readonly RULE_pathSpecification = 120; - public static readonly RULE_functionSpecification = 121; - public static readonly RULE_functionDeclaration = 122; - public static readonly RULE_functionSignature = 123; - public static readonly RULE_parameterDeclaration = 124; - public static readonly RULE_returnsClause = 125; - public static readonly RULE_routineCharacteristic = 126; - public static readonly RULE_controlStatement = 127; - public static readonly RULE_caseStatementWhenClause = 128; - public static readonly RULE_elseIfClause = 129; - public static readonly RULE_elseClause = 130; - public static readonly RULE_variableDeclaration = 131; - public static readonly RULE_sqlStatementList = 132; - public static readonly RULE_privilege = 133; - public static readonly RULE_entityKind = 134; - public static readonly RULE_grantObject = 135; - public static readonly RULE_tableOrViewName = 136; - public static readonly RULE_tableRef = 137; - public static readonly RULE_tableNameCreate = 138; - public static readonly RULE_viewRef = 139; - public static readonly RULE_viewNameCreate = 140; - public static readonly RULE_schemaRef = 141; - public static readonly RULE_schemaNameCreate = 142; - public static readonly RULE_catalogRef = 143; - public static readonly RULE_catalogNameCreate = 144; - public static readonly RULE_functionName = 145; - public static readonly RULE_functionNameCreate = 146; - public static readonly RULE_columnRef = 147; - public static readonly RULE_columnName = 148; - public static readonly RULE_columnNameCreate = 149; - public static readonly RULE_qualifiedName = 150; - public static readonly RULE_queryPeriod = 151; - public static readonly RULE_rangeType = 152; - public static readonly RULE_grantor = 153; - public static readonly RULE_principal = 154; - public static readonly RULE_roles = 155; - public static readonly RULE_privilegeOrRole = 156; - public static readonly RULE_identifier = 157; - public static readonly RULE_number = 158; - public static readonly RULE_authorizationUser = 159; - public static readonly RULE_nonReserved = 160; + public static readonly RULE_properties = 15; + public static readonly RULE_propertyAssignments = 16; + public static readonly RULE_property = 17; + public static readonly RULE_queryNoWith = 18; + public static readonly RULE_queryTerm = 19; + public static readonly RULE_queryPrimary = 20; + public static readonly RULE_sortItem = 21; + public static readonly RULE_querySpecification = 22; + public static readonly RULE_whereClause = 23; + public static readonly RULE_havingClause = 24; + public static readonly RULE_selectList = 25; + public static readonly RULE_groupBy = 26; + public static readonly RULE_partitionBy = 27; + public static readonly RULE_groupingElement = 28; + public static readonly RULE_groupingSet = 29; + public static readonly RULE_windowDefinition = 30; + public static readonly RULE_windowSpecification = 31; + public static readonly RULE_namedQuery = 32; + public static readonly RULE_setQuantifier = 33; + public static readonly RULE_selectItem = 34; + public static readonly RULE_selectAllWithoutTable = 35; + public static readonly RULE_tableAllColumns = 36; + public static readonly RULE_selectLiteralColumnName = 37; + public static readonly RULE_selectExpressionColumnName = 38; + public static readonly RULE_relation = 39; + public static readonly RULE_joinType = 40; + public static readonly RULE_sampledRelation = 41; + public static readonly RULE_listAggOverflowBehavior = 42; + public static readonly RULE_patternRecognition = 43; + public static readonly RULE_measureDefinition = 44; + public static readonly RULE_rowsPerMatch = 45; + public static readonly RULE_skipTo = 46; + public static readonly RULE_subsetDefinition = 47; + public static readonly RULE_variableDefinition = 48; + public static readonly RULE_aliasedRelation = 49; + public static readonly RULE_columnListCreate = 50; + public static readonly RULE_columnList = 51; + public static readonly RULE_columnAliases = 52; + public static readonly RULE_relationPrimary = 53; + public static readonly RULE_relationSourceTable = 54; + public static readonly RULE_jsonTableColumn = 55; + public static readonly RULE_jsonTableSpecificPlan = 56; + public static readonly RULE_jsonTablePathName = 57; + public static readonly RULE_planPrimary = 58; + public static readonly RULE_jsonTableDefaultPlan = 59; + public static readonly RULE_tableFunctionCall = 60; + public static readonly RULE_tableFunctionArgument = 61; + public static readonly RULE_tableArgument = 62; + public static readonly RULE_tableArgumentRelation = 63; + public static readonly RULE_descriptorArgument = 64; + public static readonly RULE_descriptorField = 65; + public static readonly RULE_coPartitionTables = 66; + public static readonly RULE_expression = 67; + public static readonly RULE_booleanExpression = 68; + public static readonly RULE_predicate = 69; + public static readonly RULE_valueExpression = 70; + public static readonly RULE_primaryExpression = 71; + public static readonly RULE_jsonPathInvocation = 72; + public static readonly RULE_jsonValueExpression = 73; + public static readonly RULE_jsonRepresentation = 74; + public static readonly RULE_jsonArgument = 75; + public static readonly RULE_jsonValueBehavior = 76; + public static readonly RULE_jsonQueryWrapperBehavior = 77; + public static readonly RULE_jsonQueryBehavior = 78; + public static readonly RULE_jsonObjectMember = 79; + public static readonly RULE_processingMode = 80; + public static readonly RULE_string = 81; + public static readonly RULE_comparisonOperator = 82; + public static readonly RULE_comparisonQuantifier = 83; + public static readonly RULE_interval = 84; + public static readonly RULE_intervalField = 85; + public static readonly RULE_type = 86; + public static readonly RULE_rowField = 87; + public static readonly RULE_typeParameter = 88; + public static readonly RULE_whenClause = 89; + public static readonly RULE_filter = 90; + public static readonly RULE_mergeCase = 91; + public static readonly RULE_over = 92; + public static readonly RULE_windowFrame = 93; + public static readonly RULE_frameExtent = 94; + public static readonly RULE_frameBound = 95; + public static readonly RULE_rowPattern = 96; + public static readonly RULE_patternPrimary = 97; + public static readonly RULE_patternQuantifier = 98; + public static readonly RULE_updateAssignment = 99; + public static readonly RULE_explainOption = 100; + public static readonly RULE_transactionMode = 101; + public static readonly RULE_callArgument = 102; + public static readonly RULE_pathElement = 103; + public static readonly RULE_pathSpecification = 104; + public static readonly RULE_functionSpecification = 105; + public static readonly RULE_parameterDeclaration = 106; + public static readonly RULE_routineCharacteristic = 107; + public static readonly RULE_controlStatement = 108; + public static readonly RULE_caseStatementWhenClause = 109; + public static readonly RULE_elseClause = 110; + public static readonly RULE_sqlStatementList = 111; + public static readonly RULE_privilege = 112; + public static readonly RULE_grantObject = 113; + public static readonly RULE_tableOrViewName = 114; + public static readonly RULE_tableRef = 115; + public static readonly RULE_tableNameCreate = 116; + public static readonly RULE_viewRef = 117; + public static readonly RULE_viewNameCreate = 118; + public static readonly RULE_schemaRef = 119; + public static readonly RULE_schemaNameCreate = 120; + public static readonly RULE_catalogRef = 121; + public static readonly RULE_catalogNameCreate = 122; + public static readonly RULE_functionName = 123; + public static readonly RULE_functionNameCreate = 124; + public static readonly RULE_columnRef = 125; + public static readonly RULE_columnName = 126; + public static readonly RULE_columnNameCreate = 127; + public static readonly RULE_qualifiedName = 128; + public static readonly RULE_grantor = 129; + public static readonly RULE_principal = 130; + public static readonly RULE_roles = 131; + public static readonly RULE_privilegeOrRole = 132; + public static readonly RULE_identifier = 133; + public static readonly RULE_number = 134; + public static readonly RULE_nonReserved = 135; public static readonly literalNames = [ null, "'('", "')'", "','", "'.'", "'SKIP'", "'=>'", "'->'", "'['", @@ -647,43 +622,36 @@ export class TrinoSqlParser extends SQLParserBase { "program", "statements", "singleStatement", "standaloneExpression", "standalonePathSpecification", "standaloneType", "standaloneRowPattern", "standaloneFunctionSpecification", "statement", "rootQuery", "withFunction", - "query", "with", "tableElement", "columnDefinition", "likeClause", - "properties", "propertyAssignments", "property", "propertyValue", - "queryNoWith", "limitRowCount", "rowCount", "queryTerm", "queryPrimary", + "query", "with", "tableElement", "columnDefinition", "properties", + "propertyAssignments", "property", "queryNoWith", "queryTerm", "queryPrimary", "sortItem", "querySpecification", "whereClause", "havingClause", "selectList", "groupBy", "partitionBy", "groupingElement", "groupingSet", - "groupingTerm", "windowDefinition", "windowSpecification", "namedQuery", - "setQuantifier", "selectItem", "selectAllWithoutTable", "tableAllColumns", - "selectLiteralColumnName", "selectExpressionColumnName", "relation", - "joinType", "joinCriteria", "sampledRelation", "sampleType", "trimsSpecification", - "listAggOverflowBehavior", "listAggCountIndication", "patternRecognition", - "measureDefinition", "rowsPerMatch", "emptyMatchHandling", "skipTo", - "subsetDefinition", "variableDefinition", "aliasedRelation", "columnListCreate", - "columnList", "columnAliases", "relationPrimary", "relationSourceTable", - "jsonTableColumn", "jsonTableSpecificPlan", "jsonTablePathName", - "planPrimary", "jsonTableDefaultPlan", "tableFunctionCall", "tableFunctionArgument", - "tableArgument", "tableArgumentRelation", "descriptorArgument", - "descriptorField", "coPartitionTables", "expression", "booleanExpression", - "predicate", "valueExpression", "primaryExpression", "jsonPathInvocation", - "jsonValueExpression", "jsonRepresentation", "jsonArgument", "jsonExistsErrorBehavior", - "jsonValueBehavior", "jsonQueryWrapperBehavior", "jsonQueryBehavior", - "jsonObjectMember", "processingMode", "nullTreatment", "string", - "timeZoneSpecifier", "comparisonOperator", "comparisonQuantifier", - "booleanValue", "interval", "intervalField", "normalForm", "type", - "rowField", "typeParameter", "whenClause", "filter", "mergeCase", + "windowDefinition", "windowSpecification", "namedQuery", "setQuantifier", + "selectItem", "selectAllWithoutTable", "tableAllColumns", "selectLiteralColumnName", + "selectExpressionColumnName", "relation", "joinType", "sampledRelation", + "listAggOverflowBehavior", "patternRecognition", "measureDefinition", + "rowsPerMatch", "skipTo", "subsetDefinition", "variableDefinition", + "aliasedRelation", "columnListCreate", "columnList", "columnAliases", + "relationPrimary", "relationSourceTable", "jsonTableColumn", "jsonTableSpecificPlan", + "jsonTablePathName", "planPrimary", "jsonTableDefaultPlan", "tableFunctionCall", + "tableFunctionArgument", "tableArgument", "tableArgumentRelation", + "descriptorArgument", "descriptorField", "coPartitionTables", "expression", + "booleanExpression", "predicate", "valueExpression", "primaryExpression", + "jsonPathInvocation", "jsonValueExpression", "jsonRepresentation", + "jsonArgument", "jsonValueBehavior", "jsonQueryWrapperBehavior", + "jsonQueryBehavior", "jsonObjectMember", "processingMode", "string", + "comparisonOperator", "comparisonQuantifier", "interval", "intervalField", + "type", "rowField", "typeParameter", "whenClause", "filter", "mergeCase", "over", "windowFrame", "frameExtent", "frameBound", "rowPattern", "patternPrimary", "patternQuantifier", "updateAssignment", "explainOption", - "transactionMode", "levelOfIsolation", "callArgument", "pathElement", - "pathSpecification", "functionSpecification", "functionDeclaration", - "functionSignature", "parameterDeclaration", "returnsClause", "routineCharacteristic", - "controlStatement", "caseStatementWhenClause", "elseIfClause", "elseClause", - "variableDeclaration", "sqlStatementList", "privilege", "entityKind", - "grantObject", "tableOrViewName", "tableRef", "tableNameCreate", + "transactionMode", "callArgument", "pathElement", "pathSpecification", + "functionSpecification", "parameterDeclaration", "routineCharacteristic", + "controlStatement", "caseStatementWhenClause", "elseClause", "sqlStatementList", + "privilege", "grantObject", "tableOrViewName", "tableRef", "tableNameCreate", "viewRef", "viewNameCreate", "schemaRef", "schemaNameCreate", "catalogRef", "catalogNameCreate", "functionName", "functionNameCreate", "columnRef", - "columnName", "columnNameCreate", "qualifiedName", "queryPeriod", - "rangeType", "grantor", "principal", "roles", "privilegeOrRole", - "identifier", "number", "authorizationUser", "nonReserved", + "columnName", "columnNameCreate", "qualifiedName", "grantor", "principal", + "roles", "privilegeOrRole", "identifier", "number", "nonReserved", ]; public get grammarFileName(): string { return "TrinoSql.g4"; } @@ -707,21 +675,21 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 325; + this.state = 275; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 25165826) !== 0) || ((((_la - 37)) & ~0x1F) === 0 && ((1 << (_la - 37)) & 134145) !== 0) || ((((_la - 69)) & ~0x1F) === 0 && ((1 << (_la - 69)) & 167805409) !== 0) || _la === 111 || _la === 128 || _la === 170 || ((((_la - 215)) & ~0x1F) === 0 && ((1 << (_la - 215)) & 8921345) !== 0) || ((((_la - 249)) & ~0x1F) === 0 && ((1 << (_la - 249)) & 67113129) !== 0) || ((((_la - 288)) & ~0x1F) === 0 && ((1 << (_la - 288)) & 131587) !== 0)) { { { - this.state = 322; + this.state = 272; this.statements(); } } - this.state = 327; + this.state = 277; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 328; + this.state = 278; this.match(TrinoSqlParser.EOF); } } @@ -745,7 +713,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 330; + this.state = 280; this.singleStatement(); } } @@ -770,14 +738,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 332; + this.state = 282; this.statement(); - this.state = 334; + this.state = 284; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 326) { { - this.state = 333; + this.state = 283; this.match(TrinoSqlParser.SEMICOLON); } } @@ -805,14 +773,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 336; + this.state = 286; this.expression(); - this.state = 338; + this.state = 288; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 326) { { - this.state = 337; + this.state = 287; this.match(TrinoSqlParser.SEMICOLON); } } @@ -840,14 +808,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 340; + this.state = 290; this.pathSpecification(); - this.state = 342; + this.state = 292; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 326) { { - this.state = 341; + this.state = 291; this.match(TrinoSqlParser.SEMICOLON); } } @@ -875,14 +843,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 344; + this.state = 294; this.type_(0); - this.state = 346; + this.state = 296; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 326) { { - this.state = 345; + this.state = 295; this.match(TrinoSqlParser.SEMICOLON); } } @@ -910,14 +878,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 348; + this.state = 298; this.rowPattern(0); - this.state = 350; + this.state = 300; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 326) { { - this.state = 349; + this.state = 299; this.match(TrinoSqlParser.SEMICOLON); } } @@ -944,9 +912,9 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 352; + this.state = 302; this.functionSpecification(); - this.state = 353; + this.state = 303; this.match(TrinoSqlParser.EOF); } } @@ -969,14 +937,14 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 16, TrinoSqlParser.RULE_statement); let _la: number; try { - this.state = 1250; + this.state = 1216; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 125, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 128, this.context) ) { case 1: localContext = new StatementDefaultContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 355; + this.state = 305; this.rootQuery(); } break; @@ -984,9 +952,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UseContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 356; + this.state = 306; this.match(TrinoSqlParser.KW_USE); - this.state = 357; + this.state = 307; this.schemaRef(); } break; @@ -994,62 +962,62 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateCatalogContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 358; + this.state = 308; this.match(TrinoSqlParser.KW_CREATE); - this.state = 359; + this.state = 309; this.match(TrinoSqlParser.KW_CATALOG); - this.state = 363; + this.state = 313; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 6, this.context) ) { case 1: { - this.state = 360; + this.state = 310; this.match(TrinoSqlParser.KW_IF); - this.state = 361; + this.state = 311; this.match(TrinoSqlParser.KW_NOT); - this.state = 362; + this.state = 312; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 365; + this.state = 315; (localContext as CreateCatalogContext)._catalog = this.catalogNameCreate(); - this.state = 366; + this.state = 316; this.match(TrinoSqlParser.KW_USING); - this.state = 367; + this.state = 317; (localContext as CreateCatalogContext)._connectorName = this.identifier(); - this.state = 370; + this.state = 320; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 7, this.context) ) { case 1: { - this.state = 368; + this.state = 318; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 369; + this.state = 319; this.string_(); } break; } - this.state = 374; + this.state = 324; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 31) { { - this.state = 372; + this.state = 322; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 373; + this.state = 323; this.principal(); } } - this.state = 378; + this.state = 328; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 9, this.context) ) { case 1: { - this.state = 376; + this.state = 326; this.match(TrinoSqlParser.KW_WITH); - this.state = 377; + this.state = 327; this.properties(); } break; @@ -1060,30 +1028,30 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropCatalogContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 380; + this.state = 330; this.match(TrinoSqlParser.KW_DROP); - this.state = 381; + this.state = 331; this.match(TrinoSqlParser.KW_CATALOG); - this.state = 384; + this.state = 334; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 10, this.context) ) { case 1: { - this.state = 382; + this.state = 332; this.match(TrinoSqlParser.KW_IF); - this.state = 383; + this.state = 333; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 386; + this.state = 336; (localContext as DropCatalogContext)._catalog = this.catalogRef(); - this.state = 388; + this.state = 338; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 39 || _la === 230) { { - this.state = 387; + this.state = 337; _la = this.tokenStream.LA(1); if(!(_la === 39 || _la === 230)) { this.errorHandler.recoverInline(this); @@ -1101,46 +1069,46 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateSchemaContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 390; + this.state = 340; this.match(TrinoSqlParser.KW_CREATE); - this.state = 391; + this.state = 341; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 395; + this.state = 345; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 12, this.context) ) { case 1: { - this.state = 392; + this.state = 342; this.match(TrinoSqlParser.KW_IF); - this.state = 393; + this.state = 343; this.match(TrinoSqlParser.KW_NOT); - this.state = 394; + this.state = 344; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 397; + this.state = 347; this.schemaNameCreate(); - this.state = 400; + this.state = 350; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 31) { { - this.state = 398; + this.state = 348; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 399; + this.state = 349; this.principal(); } } - this.state = 404; + this.state = 354; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 14, this.context) ) { case 1: { - this.state = 402; + this.state = 352; this.match(TrinoSqlParser.KW_WITH); - this.state = 403; + this.state = 353; this.properties(); } break; @@ -1151,30 +1119,30 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropSchemaContext(localContext); this.enterOuterAlt(localContext, 6); { - this.state = 406; + this.state = 356; this.match(TrinoSqlParser.KW_DROP); - this.state = 407; + this.state = 357; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 410; + this.state = 360; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 15, this.context) ) { case 1: { - this.state = 408; + this.state = 358; this.match(TrinoSqlParser.KW_IF); - this.state = 409; + this.state = 359; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 412; + this.state = 362; this.schemaRef(); - this.state = 414; + this.state = 364; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 39 || _la === 230) { { - this.state = 413; + this.state = 363; _la = this.tokenStream.LA(1); if(!(_la === 39 || _la === 230)) { this.errorHandler.recoverInline(this); @@ -1192,17 +1160,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RenameSchemaContext(localContext); this.enterOuterAlt(localContext, 7); { - this.state = 416; + this.state = 366; this.match(TrinoSqlParser.KW_ALTER); - this.state = 417; + this.state = 367; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 418; + this.state = 368; this.schemaRef(); - this.state = 419; + this.state = 369; this.match(TrinoSqlParser.KW_RENAME); - this.state = 420; + this.state = 370; this.match(TrinoSqlParser.KW_TO); - this.state = 421; + this.state = 371; this.schemaNameCreate(); } break; @@ -1210,17 +1178,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetSchemaAuthorizationContext(localContext); this.enterOuterAlt(localContext, 8); { - this.state = 423; + this.state = 373; this.match(TrinoSqlParser.KW_ALTER); - this.state = 424; + this.state = 374; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 425; + this.state = 375; this.schemaRef(); - this.state = 426; + this.state = 376; this.match(TrinoSqlParser.KW_SET); - this.state = 427; + this.state = 377; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 428; + this.state = 378; this.principal(); } break; @@ -1228,112 +1196,112 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateTableAsSelectContext(localContext); this.enterOuterAlt(localContext, 9); { - this.state = 430; + this.state = 380; this.match(TrinoSqlParser.KW_CREATE); - this.state = 433; + this.state = 383; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 195) { { - this.state = 431; + this.state = 381; this.match(TrinoSqlParser.KW_OR); - this.state = 432; + this.state = 382; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 435; + this.state = 385; this.match(TrinoSqlParser.KW_TABLE); - this.state = 439; + this.state = 389; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 18, this.context) ) { case 1: { - this.state = 436; + this.state = 386; this.match(TrinoSqlParser.KW_IF); - this.state = 437; + this.state = 387; this.match(TrinoSqlParser.KW_NOT); - this.state = 438; + this.state = 388; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 441; + this.state = 391; this.tableNameCreate(); - this.state = 443; + this.state = 393; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 442; + this.state = 392; this.columnListCreate(); } } - this.state = 447; + this.state = 397; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 47) { { - this.state = 445; + this.state = 395; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 446; + this.state = 396; (localContext as CreateTableAsSelectContext)._comment = this.string_(); } } - this.state = 451; + this.state = 401; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 305) { { - this.state = 449; + this.state = 399; this.match(TrinoSqlParser.KW_WITH); - this.state = 450; + this.state = 400; this.properties(); } } - this.state = 453; + this.state = 403; this.match(TrinoSqlParser.KW_AS); - this.state = 459; + this.state = 409; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 22, this.context) ) { case 1: { - this.state = 454; + this.state = 404; this.rootQuery(); } break; case 2: { - this.state = 455; + this.state = 405; this.match(TrinoSqlParser.T__0); - this.state = 456; + this.state = 406; this.rootQuery(); - this.state = 457; + this.state = 407; this.match(TrinoSqlParser.T__1); } break; } - this.state = 466; + this.state = 416; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 24, this.context) ) { case 1: { - this.state = 461; + this.state = 411; this.match(TrinoSqlParser.KW_WITH); - this.state = 463; + this.state = 413; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 180) { { - this.state = 462; + this.state = 412; this.match(TrinoSqlParser.KW_NO); } } - this.state = 465; + this.state = 415; this.match(TrinoSqlParser.KW_DATA); } break; @@ -1344,80 +1312,80 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateTableContext(localContext); this.enterOuterAlt(localContext, 10); { - this.state = 468; + this.state = 418; this.match(TrinoSqlParser.KW_CREATE); - this.state = 471; + this.state = 421; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 195) { { - this.state = 469; + this.state = 419; this.match(TrinoSqlParser.KW_OR); - this.state = 470; + this.state = 420; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 473; + this.state = 423; this.match(TrinoSqlParser.KW_TABLE); - this.state = 477; + this.state = 427; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 26, this.context) ) { case 1: { - this.state = 474; + this.state = 424; this.match(TrinoSqlParser.KW_IF); - this.state = 475; + this.state = 425; this.match(TrinoSqlParser.KW_NOT); - this.state = 476; + this.state = 426; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 479; + this.state = 429; this.tableNameCreate(); - this.state = 480; + this.state = 430; this.match(TrinoSqlParser.T__0); - this.state = 481; + this.state = 431; this.tableElement(); - this.state = 486; + this.state = 436; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 482; + this.state = 432; this.match(TrinoSqlParser.T__2); - this.state = 483; + this.state = 433; this.tableElement(); } } - this.state = 488; + this.state = 438; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 489; + this.state = 439; this.match(TrinoSqlParser.T__1); - this.state = 492; + this.state = 442; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 28, this.context) ) { case 1: { - this.state = 490; + this.state = 440; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 491; + this.state = 441; (localContext as CreateTableContext)._comment = this.string_(); } break; } - this.state = 496; + this.state = 446; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 29, this.context) ) { case 1: { - this.state = 494; + this.state = 444; this.match(TrinoSqlParser.KW_WITH); - this.state = 495; + this.state = 445; this.properties(); } break; @@ -1428,23 +1396,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropTableContext(localContext); this.enterOuterAlt(localContext, 11); { - this.state = 498; + this.state = 448; this.match(TrinoSqlParser.KW_DROP); - this.state = 499; + this.state = 449; this.match(TrinoSqlParser.KW_TABLE); - this.state = 502; + this.state = 452; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 30, this.context) ) { case 1: { - this.state = 500; + this.state = 450; this.match(TrinoSqlParser.KW_IF); - this.state = 501; + this.state = 451; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 504; + this.state = 454; this.tableRef(); } break; @@ -1452,23 +1420,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new InsertIntoContext(localContext); this.enterOuterAlt(localContext, 12); { - this.state = 505; + this.state = 455; this.match(TrinoSqlParser.KW_INSERT); - this.state = 506; + this.state = 456; this.match(TrinoSqlParser.KW_INTO); - this.state = 507; + this.state = 457; this.tableRef(); - this.state = 509; + this.state = 459; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 31, this.context) ) { case 1: { - this.state = 508; + this.state = 458; this.columnList(); } break; } - this.state = 511; + this.state = 461; this.rootQuery(); } break; @@ -1476,18 +1444,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DeleteContext(localContext); this.enterOuterAlt(localContext, 13); { - this.state = 513; + this.state = 463; this.match(TrinoSqlParser.KW_DELETE); - this.state = 514; + this.state = 464; this.match(TrinoSqlParser.KW_FROM); - this.state = 515; + this.state = 465; this.tableRef(); - this.state = 517; + this.state = 467; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 302) { { - this.state = 516; + this.state = 466; this.whereClause(); } } @@ -1498,11 +1466,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TruncateTableContext(localContext); this.enterOuterAlt(localContext, 14); { - this.state = 519; + this.state = 469; this.match(TrinoSqlParser.KW_TRUNCATE); - this.state = 520; + this.state = 470; this.match(TrinoSqlParser.KW_TABLE); - this.state = 521; + this.state = 471; this.tableRef(); } break; @@ -1510,29 +1478,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CommentTableContext(localContext); this.enterOuterAlt(localContext, 15); { - this.state = 522; + this.state = 472; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 523; + this.state = 473; this.match(TrinoSqlParser.KW_ON); - this.state = 524; + this.state = 474; this.match(TrinoSqlParser.KW_TABLE); - this.state = 525; + this.state = 475; this.tableRef(); - this.state = 526; + this.state = 476; this.match(TrinoSqlParser.KW_IS); - this.state = 529; + this.state = 479; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.STRING: case TrinoSqlParser.UNICODE_STRING: { - this.state = 527; + this.state = 477; this.string_(); } break; case TrinoSqlParser.KW_NULL: { - this.state = 528; + this.state = 478; this.match(TrinoSqlParser.KW_NULL); } break; @@ -1545,29 +1513,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CommentViewContext(localContext); this.enterOuterAlt(localContext, 16); { - this.state = 531; + this.state = 481; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 532; + this.state = 482; this.match(TrinoSqlParser.KW_ON); - this.state = 533; + this.state = 483; this.match(TrinoSqlParser.KW_VIEW); - this.state = 534; + this.state = 484; this.viewRef(); - this.state = 535; + this.state = 485; this.match(TrinoSqlParser.KW_IS); - this.state = 538; + this.state = 488; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.STRING: case TrinoSqlParser.UNICODE_STRING: { - this.state = 536; + this.state = 486; this.string_(); } break; case TrinoSqlParser.KW_NULL: { - this.state = 537; + this.state = 487; this.match(TrinoSqlParser.KW_NULL); } break; @@ -1580,29 +1548,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CommentColumnContext(localContext); this.enterOuterAlt(localContext, 17); { - this.state = 540; + this.state = 490; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 541; + this.state = 491; this.match(TrinoSqlParser.KW_ON); - this.state = 542; + this.state = 492; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 543; + this.state = 493; this.columnRef(); - this.state = 544; + this.state = 494; this.match(TrinoSqlParser.KW_IS); - this.state = 547; + this.state = 497; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.STRING: case TrinoSqlParser.UNICODE_STRING: { - this.state = 545; + this.state = 495; this.string_(); } break; case TrinoSqlParser.KW_NULL: { - this.state = 546; + this.state = 496; this.match(TrinoSqlParser.KW_NULL); } break; @@ -1615,29 +1583,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RenameTableContext(localContext); this.enterOuterAlt(localContext, 18); { - this.state = 549; + this.state = 499; this.match(TrinoSqlParser.KW_ALTER); - this.state = 550; + this.state = 500; this.match(TrinoSqlParser.KW_TABLE); - this.state = 553; + this.state = 503; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 36, this.context) ) { case 1: { - this.state = 551; + this.state = 501; this.match(TrinoSqlParser.KW_IF); - this.state = 552; + this.state = 502; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 555; + this.state = 505; (localContext as RenameTableContext)._from_ = this.tableRef(); - this.state = 556; + this.state = 506; this.match(TrinoSqlParser.KW_RENAME); - this.state = 557; + this.state = 507; this.match(TrinoSqlParser.KW_TO); - this.state = 558; + this.state = 508; (localContext as RenameTableContext)._to = this.tableNameCreate(); } break; @@ -1645,43 +1613,43 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new AddColumnContext(localContext); this.enterOuterAlt(localContext, 19); { - this.state = 560; + this.state = 510; this.match(TrinoSqlParser.KW_ALTER); - this.state = 561; + this.state = 511; this.match(TrinoSqlParser.KW_TABLE); - this.state = 564; + this.state = 514; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 37, this.context) ) { case 1: { - this.state = 562; + this.state = 512; this.match(TrinoSqlParser.KW_IF); - this.state = 563; + this.state = 513; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 566; + this.state = 516; (localContext as AddColumnContext)._tableName = this.tableRef(); - this.state = 567; + this.state = 517; this.match(TrinoSqlParser.KW_ADD); - this.state = 568; + this.state = 518; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 572; + this.state = 522; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 38, this.context) ) { case 1: { - this.state = 569; + this.state = 519; this.match(TrinoSqlParser.KW_IF); - this.state = 570; + this.state = 520; this.match(TrinoSqlParser.KW_NOT); - this.state = 571; + this.state = 521; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 574; + this.state = 524; (localContext as AddColumnContext)._column = this.columnDefinition(); } break; @@ -1689,45 +1657,45 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RenameColumnContext(localContext); this.enterOuterAlt(localContext, 20); { - this.state = 576; + this.state = 526; this.match(TrinoSqlParser.KW_ALTER); - this.state = 577; + this.state = 527; this.match(TrinoSqlParser.KW_TABLE); - this.state = 580; + this.state = 530; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 39, this.context) ) { case 1: { - this.state = 578; + this.state = 528; this.match(TrinoSqlParser.KW_IF); - this.state = 579; + this.state = 529; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 582; + this.state = 532; (localContext as RenameColumnContext)._tableName = this.tableRef(); - this.state = 583; + this.state = 533; this.match(TrinoSqlParser.KW_RENAME); - this.state = 584; + this.state = 534; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 587; + this.state = 537; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 40, this.context) ) { case 1: { - this.state = 585; + this.state = 535; this.match(TrinoSqlParser.KW_IF); - this.state = 586; + this.state = 536; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 589; + this.state = 539; (localContext as RenameColumnContext)._from_ = this.columnRef(); - this.state = 590; + this.state = 540; this.match(TrinoSqlParser.KW_TO); - this.state = 591; + this.state = 541; (localContext as RenameColumnContext)._to = this.columnNameCreate(); } break; @@ -1735,41 +1703,41 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropColumnContext(localContext); this.enterOuterAlt(localContext, 21); { - this.state = 593; + this.state = 543; this.match(TrinoSqlParser.KW_ALTER); - this.state = 594; + this.state = 544; this.match(TrinoSqlParser.KW_TABLE); - this.state = 597; + this.state = 547; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 41, this.context) ) { case 1: { - this.state = 595; + this.state = 545; this.match(TrinoSqlParser.KW_IF); - this.state = 596; + this.state = 546; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 599; + this.state = 549; (localContext as DropColumnContext)._tableName = this.tableRef(); - this.state = 600; + this.state = 550; this.match(TrinoSqlParser.KW_DROP); - this.state = 601; + this.state = 551; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 604; + this.state = 554; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 42, this.context) ) { case 1: { - this.state = 602; + this.state = 552; this.match(TrinoSqlParser.KW_IF); - this.state = 603; + this.state = 553; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 606; + this.state = 556; (localContext as DropColumnContext)._column = this.columnRef(); } break; @@ -1777,37 +1745,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetColumnTypeContext(localContext); this.enterOuterAlt(localContext, 22); { - this.state = 608; + this.state = 558; this.match(TrinoSqlParser.KW_ALTER); - this.state = 609; + this.state = 559; this.match(TrinoSqlParser.KW_TABLE); - this.state = 612; + this.state = 562; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 43, this.context) ) { case 1: { - this.state = 610; + this.state = 560; this.match(TrinoSqlParser.KW_IF); - this.state = 611; + this.state = 561; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 614; + this.state = 564; (localContext as SetColumnTypeContext)._tableName = this.tableRef(); - this.state = 615; + this.state = 565; this.match(TrinoSqlParser.KW_ALTER); - this.state = 616; + this.state = 566; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 617; + this.state = 567; (localContext as SetColumnTypeContext)._column = this.columnRef(); - this.state = 618; + this.state = 568; this.match(TrinoSqlParser.KW_SET); - this.state = 619; + this.state = 569; this.match(TrinoSqlParser.KW_DATA); - this.state = 620; + this.state = 570; this.match(TrinoSqlParser.KW_TYPE); - this.state = 621; + this.state = 571; this.type_(0); } break; @@ -1815,35 +1783,35 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropNotNullConstraintContext(localContext); this.enterOuterAlt(localContext, 23); { - this.state = 623; + this.state = 573; this.match(TrinoSqlParser.KW_ALTER); - this.state = 624; + this.state = 574; this.match(TrinoSqlParser.KW_TABLE); - this.state = 627; + this.state = 577; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 44, this.context) ) { case 1: { - this.state = 625; + this.state = 575; this.match(TrinoSqlParser.KW_IF); - this.state = 626; + this.state = 576; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 629; + this.state = 579; (localContext as DropNotNullConstraintContext)._tableName = this.tableRef(); - this.state = 630; + this.state = 580; this.match(TrinoSqlParser.KW_ALTER); - this.state = 631; + this.state = 581; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 632; + this.state = 582; (localContext as DropNotNullConstraintContext)._column = this.columnRef(); - this.state = 633; + this.state = 583; this.match(TrinoSqlParser.KW_DROP); - this.state = 634; + this.state = 584; this.match(TrinoSqlParser.KW_NOT); - this.state = 635; + this.state = 585; this.match(TrinoSqlParser.KW_NULL); } break; @@ -1851,17 +1819,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetTableAuthorizationContext(localContext); this.enterOuterAlt(localContext, 24); { - this.state = 637; + this.state = 587; this.match(TrinoSqlParser.KW_ALTER); - this.state = 638; + this.state = 588; this.match(TrinoSqlParser.KW_TABLE); - this.state = 639; + this.state = 589; (localContext as SetTableAuthorizationContext)._tableName = this.tableRef(); - this.state = 640; + this.state = 590; this.match(TrinoSqlParser.KW_SET); - this.state = 641; + this.state = 591; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 642; + this.state = 592; this.principal(); } break; @@ -1869,17 +1837,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetTablePropertiesContext(localContext); this.enterOuterAlt(localContext, 25); { - this.state = 644; + this.state = 594; this.match(TrinoSqlParser.KW_ALTER); - this.state = 645; + this.state = 595; this.match(TrinoSqlParser.KW_TABLE); - this.state = 646; + this.state = 596; (localContext as SetTablePropertiesContext)._tableName = this.tableRef(); - this.state = 647; + this.state = 597; this.match(TrinoSqlParser.KW_SET); - this.state = 648; + this.state = 598; this.match(TrinoSqlParser.KW_PROPERTIES); - this.state = 649; + this.state = 599; this.propertyAssignments(); } break; @@ -1887,60 +1855,60 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TableExecuteContext(localContext); this.enterOuterAlt(localContext, 26); { - this.state = 651; + this.state = 601; this.match(TrinoSqlParser.KW_ALTER); - this.state = 652; + this.state = 602; this.match(TrinoSqlParser.KW_TABLE); - this.state = 653; + this.state = 603; (localContext as TableExecuteContext)._tableName = this.tableRef(); - this.state = 654; + this.state = 604; this.match(TrinoSqlParser.KW_EXECUTE); - this.state = 655; + this.state = 605; (localContext as TableExecuteContext)._procedureName = this.functionName(); - this.state = 668; + this.state = 618; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 47, this.context) ) { case 1: { - this.state = 656; + this.state = 606; this.match(TrinoSqlParser.T__0); - this.state = 665; + this.state = 615; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 3728211947) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 2781797343) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 3082285823) !== 0) || ((((_la - 130)) & ~0x1F) === 0 && ((1 << (_la - 130)) & 4253015917) !== 0) || ((((_la - 162)) & ~0x1F) === 0 && ((1 << (_la - 162)) & 3758094335) !== 0) || ((((_la - 194)) & ~0x1F) === 0 && ((1 << (_la - 194)) & 4024434665) !== 0) || ((((_la - 226)) & ~0x1F) === 0 && ((1 << (_la - 226)) & 4286569983) !== 0) || ((((_la - 258)) & ~0x1F) === 0 && ((1 << (_la - 258)) & 4008705783) !== 0) || ((((_la - 290)) & ~0x1F) === 0 && ((1 << (_la - 290)) & 1618962301) !== 0) || ((((_la - 325)) & ~0x1F) === 0 && ((1 << (_la - 325)) & 4093) !== 0)) { { - this.state = 657; + this.state = 607; this.callArgument(); - this.state = 662; + this.state = 612; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 658; + this.state = 608; this.match(TrinoSqlParser.T__2); - this.state = 659; + this.state = 609; this.callArgument(); } } - this.state = 664; + this.state = 614; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 667; + this.state = 617; this.match(TrinoSqlParser.T__1); } break; } - this.state = 671; + this.state = 621; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 302) { { - this.state = 670; + this.state = 620; this.whereClause(); } } @@ -1951,18 +1919,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new AnalyzeContext(localContext); this.enterOuterAlt(localContext, 27); { - this.state = 673; + this.state = 623; this.match(TrinoSqlParser.KW_ANALYZE); - this.state = 674; + this.state = 624; this.tableRef(); - this.state = 677; + this.state = 627; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 49, this.context) ) { case 1: { - this.state = 675; + this.state = 625; this.match(TrinoSqlParser.KW_WITH); - this.state = 676; + this.state = 626; this.properties(); } break; @@ -1973,81 +1941,81 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateMaterializedViewContext(localContext); this.enterOuterAlt(localContext, 28); { - this.state = 679; + this.state = 629; this.match(TrinoSqlParser.KW_CREATE); - this.state = 682; + this.state = 632; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 195) { { - this.state = 680; + this.state = 630; this.match(TrinoSqlParser.KW_OR); - this.state = 681; + this.state = 631; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 684; + this.state = 634; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 685; + this.state = 635; this.match(TrinoSqlParser.KW_VIEW); - this.state = 689; + this.state = 639; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 51, this.context) ) { case 1: { - this.state = 686; + this.state = 636; this.match(TrinoSqlParser.KW_IF); - this.state = 687; + this.state = 637; this.match(TrinoSqlParser.KW_NOT); - this.state = 688; + this.state = 638; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 691; + this.state = 641; this.viewNameCreate(); - this.state = 695; + this.state = 645; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 110) { { - this.state = 692; + this.state = 642; this.match(TrinoSqlParser.KW_GRACE); - this.state = 693; + this.state = 643; this.match(TrinoSqlParser.KW_PERIOD); - this.state = 694; + this.state = 644; this.interval(); } } - this.state = 699; + this.state = 649; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 47) { { - this.state = 697; + this.state = 647; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 698; + this.state = 648; (localContext as CreateMaterializedViewContext)._comment = this.string_(); } } - this.state = 703; + this.state = 653; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 305) { { - this.state = 701; + this.state = 651; this.match(TrinoSqlParser.KW_WITH); - this.state = 702; + this.state = 652; this.properties(); } } - this.state = 705; + this.state = 655; this.match(TrinoSqlParser.KW_AS); - this.state = 706; + this.state = 656; this.rootQuery(); } break; @@ -2055,44 +2023,44 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateViewContext(localContext); this.enterOuterAlt(localContext, 29); { - this.state = 708; + this.state = 658; this.match(TrinoSqlParser.KW_CREATE); - this.state = 711; + this.state = 661; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 195) { { - this.state = 709; + this.state = 659; this.match(TrinoSqlParser.KW_OR); - this.state = 710; + this.state = 660; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 713; + this.state = 663; this.match(TrinoSqlParser.KW_VIEW); - this.state = 714; + this.state = 664; this.viewNameCreate(); - this.state = 717; + this.state = 667; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 47) { { - this.state = 715; + this.state = 665; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 716; + this.state = 666; (localContext as CreateViewContext)._comment = this.string_(); } } - this.state = 721; + this.state = 671; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 247) { { - this.state = 719; + this.state = 669; this.match(TrinoSqlParser.KW_SECURITY); - this.state = 720; + this.state = 670; _la = this.tokenStream.LA(1); if(!(_la === 73 || _la === 132)) { this.errorHandler.recoverInline(this); @@ -2104,21 +2072,21 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 725; + this.state = 675; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 305) { { - this.state = 723; + this.state = 673; this.match(TrinoSqlParser.KW_WITH); - this.state = 724; + this.state = 674; this.properties(); } } - this.state = 727; + this.state = 677; this.match(TrinoSqlParser.KW_AS); - this.state = 728; + this.state = 678; this.rootQuery(); } break; @@ -2126,13 +2094,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RefreshMaterializedViewContext(localContext); this.enterOuterAlt(localContext, 30); { - this.state = 730; + this.state = 680; this.match(TrinoSqlParser.KW_REFRESH); - this.state = 731; + this.state = 681; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 732; + this.state = 682; this.match(TrinoSqlParser.KW_VIEW); - this.state = 733; + this.state = 683; this.viewRef(); } break; @@ -2140,25 +2108,25 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropMaterializedViewContext(localContext); this.enterOuterAlt(localContext, 31); { - this.state = 734; + this.state = 684; this.match(TrinoSqlParser.KW_DROP); - this.state = 735; + this.state = 685; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 736; + this.state = 686; this.match(TrinoSqlParser.KW_VIEW); - this.state = 739; + this.state = 689; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 59, this.context) ) { case 1: { - this.state = 737; + this.state = 687; this.match(TrinoSqlParser.KW_IF); - this.state = 738; + this.state = 688; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 741; + this.state = 691; this.viewRef(); } break; @@ -2166,31 +2134,31 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RenameMaterializedViewContext(localContext); this.enterOuterAlt(localContext, 32); { - this.state = 742; + this.state = 692; this.match(TrinoSqlParser.KW_ALTER); - this.state = 743; + this.state = 693; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 744; + this.state = 694; this.match(TrinoSqlParser.KW_VIEW); - this.state = 747; + this.state = 697; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 60, this.context) ) { case 1: { - this.state = 745; + this.state = 695; this.match(TrinoSqlParser.KW_IF); - this.state = 746; + this.state = 696; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 749; + this.state = 699; (localContext as RenameMaterializedViewContext)._from_ = this.viewRef(); - this.state = 750; + this.state = 700; this.match(TrinoSqlParser.KW_RENAME); - this.state = 751; + this.state = 701; this.match(TrinoSqlParser.KW_TO); - this.state = 752; + this.state = 702; (localContext as RenameMaterializedViewContext)._to = this.viewNameCreate(); } break; @@ -2198,19 +2166,19 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetMaterializedViewPropertiesContext(localContext); this.enterOuterAlt(localContext, 33); { - this.state = 754; + this.state = 704; this.match(TrinoSqlParser.KW_ALTER); - this.state = 755; + this.state = 705; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 756; + this.state = 706; this.match(TrinoSqlParser.KW_VIEW); - this.state = 757; + this.state = 707; this.viewRef(); - this.state = 758; + this.state = 708; this.match(TrinoSqlParser.KW_SET); - this.state = 759; + this.state = 709; this.match(TrinoSqlParser.KW_PROPERTIES); - this.state = 760; + this.state = 710; this.propertyAssignments(); } break; @@ -2218,23 +2186,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropViewContext(localContext); this.enterOuterAlt(localContext, 34); { - this.state = 762; + this.state = 712; this.match(TrinoSqlParser.KW_DROP); - this.state = 763; + this.state = 713; this.match(TrinoSqlParser.KW_VIEW); - this.state = 766; + this.state = 716; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 61, this.context) ) { case 1: { - this.state = 764; + this.state = 714; this.match(TrinoSqlParser.KW_IF); - this.state = 765; + this.state = 715; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 768; + this.state = 718; this.viewRef(); } break; @@ -2242,17 +2210,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RenameViewContext(localContext); this.enterOuterAlt(localContext, 35); { - this.state = 769; + this.state = 719; this.match(TrinoSqlParser.KW_ALTER); - this.state = 770; + this.state = 720; this.match(TrinoSqlParser.KW_VIEW); - this.state = 771; + this.state = 721; (localContext as RenameViewContext)._from_ = this.viewRef(); - this.state = 772; + this.state = 722; this.match(TrinoSqlParser.KW_RENAME); - this.state = 773; + this.state = 723; this.match(TrinoSqlParser.KW_TO); - this.state = 774; + this.state = 724; (localContext as RenameViewContext)._to = this.viewNameCreate(); } break; @@ -2260,17 +2228,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetViewAuthorizationContext(localContext); this.enterOuterAlt(localContext, 36); { - this.state = 776; + this.state = 726; this.match(TrinoSqlParser.KW_ALTER); - this.state = 777; + this.state = 727; this.match(TrinoSqlParser.KW_VIEW); - this.state = 778; + this.state = 728; (localContext as SetViewAuthorizationContext)._from_ = this.viewRef(); - this.state = 779; + this.state = 729; this.match(TrinoSqlParser.KW_SET); - this.state = 780; + this.state = 730; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 781; + this.state = 731; this.principal(); } break; @@ -2278,39 +2246,39 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CallContext(localContext); this.enterOuterAlt(localContext, 37); { - this.state = 783; + this.state = 733; this.match(TrinoSqlParser.KW_CALL); - this.state = 784; + this.state = 734; this.functionName(); - this.state = 785; + this.state = 735; this.match(TrinoSqlParser.T__0); - this.state = 794; + this.state = 744; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 3728211947) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 2781797343) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 3082285823) !== 0) || ((((_la - 130)) & ~0x1F) === 0 && ((1 << (_la - 130)) & 4253015917) !== 0) || ((((_la - 162)) & ~0x1F) === 0 && ((1 << (_la - 162)) & 3758094335) !== 0) || ((((_la - 194)) & ~0x1F) === 0 && ((1 << (_la - 194)) & 4024434665) !== 0) || ((((_la - 226)) & ~0x1F) === 0 && ((1 << (_la - 226)) & 4286569983) !== 0) || ((((_la - 258)) & ~0x1F) === 0 && ((1 << (_la - 258)) & 4008705783) !== 0) || ((((_la - 290)) & ~0x1F) === 0 && ((1 << (_la - 290)) & 1618962301) !== 0) || ((((_la - 325)) & ~0x1F) === 0 && ((1 << (_la - 325)) & 4093) !== 0)) { { - this.state = 786; + this.state = 736; this.callArgument(); - this.state = 791; + this.state = 741; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 787; + this.state = 737; this.match(TrinoSqlParser.T__2); - this.state = 788; + this.state = 738; this.callArgument(); } } - this.state = 793; + this.state = 743; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 796; + this.state = 746; this.match(TrinoSqlParser.T__1); } break; @@ -2318,21 +2286,21 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateFunctionContext(localContext); this.enterOuterAlt(localContext, 38); { - this.state = 798; + this.state = 748; this.match(TrinoSqlParser.KW_CREATE); - this.state = 801; + this.state = 751; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 195) { { - this.state = 799; + this.state = 749; this.match(TrinoSqlParser.KW_OR); - this.state = 800; + this.state = 750; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 803; + this.state = 753; this.functionSpecification(); } break; @@ -2340,58 +2308,88 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropFunctionContext(localContext); this.enterOuterAlt(localContext, 39); { - this.state = 804; + this.state = 754; this.match(TrinoSqlParser.KW_DROP); - this.state = 805; + this.state = 755; this.match(TrinoSqlParser.KW_FUNCTION); - this.state = 808; + this.state = 758; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 65, this.context) ) { case 1: { - this.state = 806; + this.state = 756; this.match(TrinoSqlParser.KW_IF); - this.state = 807; + this.state = 757; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 810; - this.functionSignature(); + this.state = 760; + this.functionName(); + this.state = 761; + this.match(TrinoSqlParser.T__0); + this.state = 770; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 50)) & ~0x1F) === 0 && ((1 << (_la - 50)) & 3069640845) !== 0) || ((((_la - 82)) & ~0x1F) === 0 && ((1 << (_la - 82)) & 4240329075) !== 0) || ((((_la - 114)) & ~0x1F) === 0 && ((1 << (_la - 114)) & 2171416041) !== 0) || ((((_la - 146)) & ~0x1F) === 0 && ((1 << (_la - 146)) & 4160722303) !== 0) || ((((_la - 178)) & ~0x1F) === 0 && ((1 << (_la - 178)) & 4293517199) !== 0) || ((((_la - 210)) & ~0x1F) === 0 && ((1 << (_la - 210)) & 3724537823) !== 0) || ((((_la - 242)) & ~0x1F) === 0 && ((1 << (_la - 242)) & 2130182015) !== 0) || ((((_la - 275)) & ~0x1F) === 0 && ((1 << (_la - 275)) & 3015636855) !== 0) || ((((_la - 307)) & ~0x1F) === 0 && ((1 << (_la - 307)) & 1006633023) !== 0)) { + { + this.state = 762; + this.parameterDeclaration(); + this.state = 767; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 763; + this.match(TrinoSqlParser.T__2); + this.state = 764; + this.parameterDeclaration(); + } + } + this.state = 769; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } + } + + this.state = 772; + this.match(TrinoSqlParser.T__1); } break; case 40: localContext = new CreateRoleContext(localContext); this.enterOuterAlt(localContext, 40); { - this.state = 811; + this.state = 774; this.match(TrinoSqlParser.KW_CREATE); - this.state = 812; + this.state = 775; this.match(TrinoSqlParser.KW_ROLE); - this.state = 813; + this.state = 776; (localContext as CreateRoleContext)._name = this.identifier(); - this.state = 817; + this.state = 780; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 66, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 68, this.context) ) { case 1: { - this.state = 814; + this.state = 777; this.match(TrinoSqlParser.KW_WITH); - this.state = 815; + this.state = 778; this.match(TrinoSqlParser.KW_ADMIN); - this.state = 816; + this.state = 779; this.grantor(); } break; } - this.state = 821; + this.state = 784; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 123) { { - this.state = 819; + this.state = 782; this.match(TrinoSqlParser.KW_IN); - this.state = 820; + this.state = 783; (localContext as CreateRoleContext)._catalog = this.catalogRef(); } } @@ -2402,20 +2400,20 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropRoleContext(localContext); this.enterOuterAlt(localContext, 41); { - this.state = 823; + this.state = 786; this.match(TrinoSqlParser.KW_DROP); - this.state = 824; + this.state = 787; this.match(TrinoSqlParser.KW_ROLE); - this.state = 825; + this.state = 788; (localContext as DropRoleContext)._name = this.identifier(); - this.state = 828; + this.state = 791; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 123) { { - this.state = 826; + this.state = 789; this.match(TrinoSqlParser.KW_IN); - this.state = 827; + this.state = 790; (localContext as DropRoleContext)._catalog = this.catalogRef(); } } @@ -2426,82 +2424,82 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new GrantRolesContext(localContext); this.enterOuterAlt(localContext, 42); { - this.state = 830; + this.state = 793; this.match(TrinoSqlParser.KW_GRANT); - this.state = 831; + this.state = 794; this.privilegeOrRole(); - this.state = 836; + this.state = 799; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 832; + this.state = 795; this.match(TrinoSqlParser.T__2); - this.state = 833; + this.state = 796; this.privilegeOrRole(); } } - this.state = 838; + this.state = 801; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 839; + this.state = 802; this.match(TrinoSqlParser.KW_TO); - this.state = 840; + this.state = 803; this.principal(); - this.state = 845; + this.state = 808; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 841; + this.state = 804; this.match(TrinoSqlParser.T__2); - this.state = 842; + this.state = 805; this.principal(); } } - this.state = 847; + this.state = 810; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 851; + this.state = 814; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 71, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 73, this.context) ) { case 1: { - this.state = 848; + this.state = 811; this.match(TrinoSqlParser.KW_WITH); - this.state = 849; + this.state = 812; this.match(TrinoSqlParser.KW_ADMIN); - this.state = 850; + this.state = 813; this.match(TrinoSqlParser.KW_OPTION); } break; } - this.state = 856; + this.state = 819; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 112) { { - this.state = 853; + this.state = 816; this.match(TrinoSqlParser.KW_GRANTED); - this.state = 854; + this.state = 817; this.match(TrinoSqlParser.KW_BY); - this.state = 855; + this.state = 818; this.grantor(); } } - this.state = 860; + this.state = 823; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 123) { { - this.state = 858; + this.state = 821; this.match(TrinoSqlParser.KW_IN); - this.state = 859; + this.state = 822; (localContext as GrantRolesContext)._catalog = this.catalogRef(); } } @@ -2512,29 +2510,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new GrantPrivilegesContext(localContext); this.enterOuterAlt(localContext, 43); { - this.state = 862; + this.state = 825; this.match(TrinoSqlParser.KW_GRANT); - this.state = 873; + this.state = 836; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 75, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 77, this.context) ) { case 1: { { - this.state = 863; + this.state = 826; this.privilegeOrRole(); - this.state = 868; + this.state = 831; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 864; + this.state = 827; this.match(TrinoSqlParser.T__2); - this.state = 865; + this.state = 828; this.privilegeOrRole(); } } - this.state = 870; + this.state = 833; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -2543,31 +2541,31 @@ export class TrinoSqlParser extends SQLParserBase { break; case 2: { - this.state = 871; + this.state = 834; this.match(TrinoSqlParser.KW_ALL); - this.state = 872; + this.state = 835; this.match(TrinoSqlParser.KW_PRIVILEGES); } break; } - this.state = 875; + this.state = 838; this.match(TrinoSqlParser.KW_ON); - this.state = 876; + this.state = 839; this.grantObject(); - this.state = 877; + this.state = 840; this.match(TrinoSqlParser.KW_TO); - this.state = 878; + this.state = 841; this.principal(); - this.state = 882; + this.state = 845; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 76, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 78, this.context) ) { case 1: { - this.state = 879; + this.state = 842; this.match(TrinoSqlParser.KW_WITH); - this.state = 880; + this.state = 843; this.match(TrinoSqlParser.KW_GRANT); - this.state = 881; + this.state = 844; this.match(TrinoSqlParser.KW_OPTION); } break; @@ -2578,82 +2576,82 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RevokeRolesContext(localContext); this.enterOuterAlt(localContext, 44); { - this.state = 884; + this.state = 847; this.match(TrinoSqlParser.KW_REVOKE); - this.state = 888; + this.state = 851; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 77, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 79, this.context) ) { case 1: { - this.state = 885; + this.state = 848; this.match(TrinoSqlParser.KW_ADMIN); - this.state = 886; + this.state = 849; this.match(TrinoSqlParser.KW_OPTION); - this.state = 887; + this.state = 850; this.match(TrinoSqlParser.KW_FOR); } break; } - this.state = 890; + this.state = 853; this.privilegeOrRole(); - this.state = 895; + this.state = 858; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 891; + this.state = 854; this.match(TrinoSqlParser.T__2); - this.state = 892; + this.state = 855; this.privilegeOrRole(); } } - this.state = 897; + this.state = 860; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 898; + this.state = 861; this.match(TrinoSqlParser.KW_FROM); - this.state = 899; + this.state = 862; this.principal(); - this.state = 904; + this.state = 867; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 900; + this.state = 863; this.match(TrinoSqlParser.T__2); - this.state = 901; + this.state = 864; this.principal(); } } - this.state = 906; + this.state = 869; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 910; + this.state = 873; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 112) { { - this.state = 907; + this.state = 870; this.match(TrinoSqlParser.KW_GRANTED); - this.state = 908; + this.state = 871; this.match(TrinoSqlParser.KW_BY); - this.state = 909; + this.state = 872; this.grantor(); } } - this.state = 914; + this.state = 877; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 123) { { - this.state = 912; + this.state = 875; this.match(TrinoSqlParser.KW_IN); - this.state = 913; + this.state = 876; (localContext as RevokeRolesContext)._catalog = this.catalogRef(); } } @@ -2664,43 +2662,43 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RevokePrivilegesContext(localContext); this.enterOuterAlt(localContext, 45); { - this.state = 916; + this.state = 879; this.match(TrinoSqlParser.KW_REVOKE); - this.state = 920; + this.state = 883; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 82, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 84, this.context) ) { case 1: { - this.state = 917; + this.state = 880; this.match(TrinoSqlParser.KW_GRANT); - this.state = 918; + this.state = 881; this.match(TrinoSqlParser.KW_OPTION); - this.state = 919; + this.state = 882; this.match(TrinoSqlParser.KW_FOR); } break; } - this.state = 932; + this.state = 895; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 84, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 86, this.context) ) { case 1: { { - this.state = 922; + this.state = 885; this.privilegeOrRole(); - this.state = 927; + this.state = 890; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 923; + this.state = 886; this.match(TrinoSqlParser.T__2); - this.state = 924; + this.state = 887; this.privilegeOrRole(); } } - this.state = 929; + this.state = 892; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -2709,20 +2707,20 @@ export class TrinoSqlParser extends SQLParserBase { break; case 2: { - this.state = 930; + this.state = 893; this.match(TrinoSqlParser.KW_ALL); - this.state = 931; + this.state = 894; this.match(TrinoSqlParser.KW_PRIVILEGES); } break; } - this.state = 934; + this.state = 897; this.match(TrinoSqlParser.KW_ON); - this.state = 935; + this.state = 898; this.grantObject(); - this.state = 936; + this.state = 899; this.match(TrinoSqlParser.KW_FROM); - this.state = 937; + this.state = 900; (localContext as RevokePrivilegesContext)._grantee = this.principal(); } break; @@ -2730,28 +2728,28 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DenyContext(localContext); this.enterOuterAlt(localContext, 46); { - this.state = 939; + this.state = 902; this.match(TrinoSqlParser.KW_DENY); - this.state = 950; + this.state = 913; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 86, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 88, this.context) ) { case 1: { - this.state = 940; + this.state = 903; this.privilege(); - this.state = 945; + this.state = 908; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 941; + this.state = 904; this.match(TrinoSqlParser.T__2); - this.state = 942; + this.state = 905; this.privilege(); } } - this.state = 947; + this.state = 910; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -2759,20 +2757,20 @@ export class TrinoSqlParser extends SQLParserBase { break; case 2: { - this.state = 948; + this.state = 911; this.match(TrinoSqlParser.KW_ALL); - this.state = 949; + this.state = 912; this.match(TrinoSqlParser.KW_PRIVILEGES); } break; } - this.state = 952; + this.state = 915; this.match(TrinoSqlParser.KW_ON); - this.state = 953; + this.state = 916; this.grantObject(); - this.state = 954; + this.state = 917; this.match(TrinoSqlParser.KW_TO); - this.state = 955; + this.state = 918; (localContext as DenyContext)._grantee = this.principal(); } break; @@ -2780,40 +2778,40 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetRoleContext(localContext); this.enterOuterAlt(localContext, 47); { - this.state = 957; + this.state = 920; this.match(TrinoSqlParser.KW_SET); - this.state = 958; + this.state = 921; this.match(TrinoSqlParser.KW_ROLE); - this.state = 962; + this.state = 925; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 87, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 89, this.context) ) { case 1: { - this.state = 959; + this.state = 922; this.match(TrinoSqlParser.KW_ALL); } break; case 2: { - this.state = 960; + this.state = 923; this.match(TrinoSqlParser.KW_NONE); } break; case 3: { - this.state = 961; + this.state = 924; (localContext as SetRoleContext)._role = this.identifier(); } break; } - this.state = 966; + this.state = 929; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 123) { { - this.state = 964; + this.state = 927; this.match(TrinoSqlParser.KW_IN); - this.state = 965; + this.state = 928; (localContext as SetRoleContext)._catalog = this.catalogRef(); } } @@ -2824,18 +2822,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowGrantsContext(localContext); this.enterOuterAlt(localContext, 48); { - this.state = 968; + this.state = 931; this.match(TrinoSqlParser.KW_SHOW); - this.state = 969; + this.state = 932; this.match(TrinoSqlParser.KW_GRANTS); - this.state = 972; + this.state = 935; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 191) { { - this.state = 970; + this.state = 933; this.match(TrinoSqlParser.KW_ON); - this.state = 971; + this.state = 934; this.grantObject(); } } @@ -2846,39 +2844,39 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExplainContext(localContext); this.enterOuterAlt(localContext, 49); { - this.state = 974; + this.state = 937; this.match(TrinoSqlParser.KW_EXPLAIN); - this.state = 986; + this.state = 949; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 91, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 93, this.context) ) { case 1: { - this.state = 975; + this.state = 938; this.match(TrinoSqlParser.T__0); - this.state = 976; + this.state = 939; this.explainOption(); - this.state = 981; + this.state = 944; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 977; + this.state = 940; this.match(TrinoSqlParser.T__2); - this.state = 978; + this.state = 941; this.explainOption(); } } - this.state = 983; + this.state = 946; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 984; + this.state = 947; this.match(TrinoSqlParser.T__1); } break; } - this.state = 988; + this.state = 951; this.statement(); } break; @@ -2886,21 +2884,21 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExplainAnalyzeContext(localContext); this.enterOuterAlt(localContext, 50); { - this.state = 989; + this.state = 952; this.match(TrinoSqlParser.KW_EXPLAIN); - this.state = 990; + this.state = 953; this.match(TrinoSqlParser.KW_ANALYZE); - this.state = 992; + this.state = 955; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 298) { { - this.state = 991; + this.state = 954; this.match(TrinoSqlParser.KW_VERBOSE); } } - this.state = 994; + this.state = 957; this.statement(); } break; @@ -2908,13 +2906,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCreateTableContext(localContext); this.enterOuterAlt(localContext, 51); { - this.state = 995; + this.state = 958; this.match(TrinoSqlParser.KW_SHOW); - this.state = 996; + this.state = 959; this.match(TrinoSqlParser.KW_CREATE); - this.state = 997; + this.state = 960; this.match(TrinoSqlParser.KW_TABLE); - this.state = 998; + this.state = 961; this.tableRef(); } break; @@ -2922,13 +2920,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCreateSchemaContext(localContext); this.enterOuterAlt(localContext, 52); { - this.state = 999; + this.state = 962; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1000; + this.state = 963; this.match(TrinoSqlParser.KW_CREATE); - this.state = 1001; + this.state = 964; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 1002; + this.state = 965; this.schemaRef(); } break; @@ -2936,13 +2934,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCreateViewContext(localContext); this.enterOuterAlt(localContext, 53); { - this.state = 1003; + this.state = 966; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1004; + this.state = 967; this.match(TrinoSqlParser.KW_CREATE); - this.state = 1005; + this.state = 968; this.match(TrinoSqlParser.KW_VIEW); - this.state = 1006; + this.state = 969; this.viewRef(); } break; @@ -2950,15 +2948,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCreateMaterializedViewContext(localContext); this.enterOuterAlt(localContext, 54); { - this.state = 1007; + this.state = 970; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1008; + this.state = 971; this.match(TrinoSqlParser.KW_CREATE); - this.state = 1009; + this.state = 972; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 1010; + this.state = 973; this.match(TrinoSqlParser.KW_VIEW); - this.state = 1011; + this.state = 974; this.viewRef(); } break; @@ -2966,13 +2964,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCreateFunctionContext(localContext); this.enterOuterAlt(localContext, 55); { - this.state = 1012; + this.state = 975; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1013; + this.state = 976; this.match(TrinoSqlParser.KW_CREATE); - this.state = 1014; + this.state = 977; this.match(TrinoSqlParser.KW_FUNCTION); - this.state = 1015; + this.state = 978; this.functionName(); } break; @@ -2980,16 +2978,16 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowTablesContext(localContext); this.enterOuterAlt(localContext, 56); { - this.state = 1016; + this.state = 979; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1017; + this.state = 980; this.match(TrinoSqlParser.KW_TABLES); - this.state = 1020; + this.state = 983; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 106 || _la === 123) { { - this.state = 1018; + this.state = 981; _la = this.tokenStream.LA(1); if(!(_la === 106 || _la === 123)) { this.errorHandler.recoverInline(this); @@ -2998,28 +2996,28 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1019; + this.state = 982; this.schemaRef(); } } - this.state = 1028; + this.state = 991; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 155) { { - this.state = 1022; + this.state = 985; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1023; + this.state = 986; (localContext as ShowTablesContext)._pattern = this.string_(); - this.state = 1026; + this.state = 989; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 91) { { - this.state = 1024; + this.state = 987; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1025; + this.state = 988; (localContext as ShowTablesContext)._escape = this.string_(); } } @@ -3033,16 +3031,16 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowSchemasContext(localContext); this.enterOuterAlt(localContext, 57); { - this.state = 1030; + this.state = 993; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1031; + this.state = 994; this.match(TrinoSqlParser.KW_SCHEMAS); - this.state = 1034; + this.state = 997; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 106 || _la === 123) { { - this.state = 1032; + this.state = 995; _la = this.tokenStream.LA(1); if(!(_la === 106 || _la === 123)) { this.errorHandler.recoverInline(this); @@ -3051,28 +3049,28 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1033; + this.state = 996; this.catalogRef(); } } - this.state = 1042; + this.state = 1005; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 155) { { - this.state = 1036; + this.state = 999; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1037; + this.state = 1000; (localContext as ShowSchemasContext)._pattern = this.string_(); - this.state = 1040; + this.state = 1003; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 91) { { - this.state = 1038; + this.state = 1001; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1039; + this.state = 1002; (localContext as ShowSchemasContext)._escape = this.string_(); } } @@ -3086,27 +3084,27 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCatalogsContext(localContext); this.enterOuterAlt(localContext, 58); { - this.state = 1044; + this.state = 1007; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1045; + this.state = 1008; this.match(TrinoSqlParser.KW_CATALOGS); - this.state = 1052; + this.state = 1015; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 155) { { - this.state = 1046; + this.state = 1009; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1047; + this.state = 1010; (localContext as ShowCatalogsContext)._pattern = this.string_(); - this.state = 1050; + this.state = 1013; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 91) { { - this.state = 1048; + this.state = 1011; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1049; + this.state = 1012; (localContext as ShowCatalogsContext)._escape = this.string_(); } } @@ -3120,11 +3118,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowColumnsContext(localContext); this.enterOuterAlt(localContext, 59); { - this.state = 1054; + this.state = 1017; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1055; + this.state = 1018; this.match(TrinoSqlParser.KW_COLUMNS); - this.state = 1056; + this.state = 1019; _la = this.tokenStream.LA(1); if(!(_la === 106 || _la === 123)) { this.errorHandler.recoverInline(this); @@ -3133,25 +3131,25 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1057; + this.state = 1020; this.tableOrViewName(); - this.state = 1064; + this.state = 1027; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 155) { { - this.state = 1058; + this.state = 1021; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1059; + this.state = 1022; (localContext as ShowColumnsContext)._pattern = this.string_(); - this.state = 1062; + this.state = 1025; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 91) { { - this.state = 1060; + this.state = 1023; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1061; + this.state = 1024; (localContext as ShowColumnsContext)._escape = this.string_(); } } @@ -3165,13 +3163,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowStatsContext(localContext); this.enterOuterAlt(localContext, 60); { - this.state = 1066; + this.state = 1029; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1067; + this.state = 1030; this.match(TrinoSqlParser.KW_STATS); - this.state = 1068; + this.state = 1031; this.match(TrinoSqlParser.KW_FOR); - this.state = 1069; + this.state = 1032; this.tableOrViewName(); } break; @@ -3179,17 +3177,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowStatsForQueryContext(localContext); this.enterOuterAlt(localContext, 61); { - this.state = 1070; + this.state = 1033; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1071; + this.state = 1034; this.match(TrinoSqlParser.KW_STATS); - this.state = 1072; + this.state = 1035; this.match(TrinoSqlParser.KW_FOR); - this.state = 1073; + this.state = 1036; this.match(TrinoSqlParser.T__0); - this.state = 1074; + this.state = 1037; this.rootQuery(); - this.state = 1075; + this.state = 1038; this.match(TrinoSqlParser.T__1); } break; @@ -3197,26 +3195,26 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowRolesContext(localContext); this.enterOuterAlt(localContext, 62); { - this.state = 1077; + this.state = 1040; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1079; + this.state = 1042; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 57) { { - this.state = 1078; + this.state = 1041; this.match(TrinoSqlParser.KW_CURRENT); } } - this.state = 1081; + this.state = 1044; this.match(TrinoSqlParser.KW_ROLES); - this.state = 1084; + this.state = 1047; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 106 || _la === 123) { { - this.state = 1082; + this.state = 1045; _la = this.tokenStream.LA(1); if(!(_la === 106 || _la === 123)) { this.errorHandler.recoverInline(this); @@ -3225,7 +3223,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1083; + this.state = 1046; this.catalogRef(); } } @@ -3236,18 +3234,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowRoleGrantsContext(localContext); this.enterOuterAlt(localContext, 63); { - this.state = 1086; + this.state = 1049; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1087; + this.state = 1050; this.match(TrinoSqlParser.KW_ROLE); - this.state = 1088; + this.state = 1051; this.match(TrinoSqlParser.KW_GRANTS); - this.state = 1091; + this.state = 1054; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 106 || _la === 123) { { - this.state = 1089; + this.state = 1052; _la = this.tokenStream.LA(1); if(!(_la === 106 || _la === 123)) { this.errorHandler.recoverInline(this); @@ -3256,7 +3254,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1090; + this.state = 1053; this.catalogRef(); } } @@ -3267,9 +3265,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowColumnsContext(localContext); this.enterOuterAlt(localContext, 64); { - this.state = 1093; + this.state = 1056; this.match(TrinoSqlParser.KW_DESCRIBE); - this.state = 1094; + this.state = 1057; this.tableOrViewName(); } break; @@ -3277,9 +3275,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowColumnsContext(localContext); this.enterOuterAlt(localContext, 65); { - this.state = 1095; + this.state = 1058; this.match(TrinoSqlParser.KW_DESC); - this.state = 1096; + this.state = 1059; this.tableOrViewName(); } break; @@ -3287,16 +3285,16 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowFunctionsContext(localContext); this.enterOuterAlt(localContext, 66); { - this.state = 1097; + this.state = 1060; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1098; + this.state = 1061; this.match(TrinoSqlParser.KW_FUNCTIONS); - this.state = 1101; + this.state = 1064; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 106 || _la === 123) { { - this.state = 1099; + this.state = 1062; _la = this.tokenStream.LA(1); if(!(_la === 106 || _la === 123)) { this.errorHandler.recoverInline(this); @@ -3305,28 +3303,28 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1100; + this.state = 1063; this.schemaRef(); } } - this.state = 1109; + this.state = 1072; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 155) { { - this.state = 1103; + this.state = 1066; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1104; + this.state = 1067; (localContext as ShowFunctionsContext)._pattern = this.string_(); - this.state = 1107; + this.state = 1070; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 91) { { - this.state = 1105; + this.state = 1068; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1106; + this.state = 1069; (localContext as ShowFunctionsContext)._escape = this.string_(); } } @@ -3340,27 +3338,27 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowSessionContext(localContext); this.enterOuterAlt(localContext, 67); { - this.state = 1111; + this.state = 1074; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1112; + this.state = 1075; this.match(TrinoSqlParser.KW_SESSION); - this.state = 1119; + this.state = 1082; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 155) { { - this.state = 1113; + this.state = 1076; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1114; + this.state = 1077; (localContext as ShowSessionContext)._pattern = this.string_(); - this.state = 1117; + this.state = 1080; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 91) { { - this.state = 1115; + this.state = 1078; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1116; + this.state = 1079; (localContext as ShowSessionContext)._escape = this.string_(); } } @@ -3374,25 +3372,259 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetSessionAuthorizationContext(localContext); this.enterOuterAlt(localContext, 68); { - this.state = 1121; + this.state = 1084; this.match(TrinoSqlParser.KW_SET); - this.state = 1122; + this.state = 1085; this.match(TrinoSqlParser.KW_SESSION); - this.state = 1123; + this.state = 1086; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 1124; - this.authorizationUser(); + this.state = 1089; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_ABSENT: + case TrinoSqlParser.KW_ADD: + case TrinoSqlParser.KW_ADMIN: + case TrinoSqlParser.KW_AFTER: + case TrinoSqlParser.KW_ALL: + case TrinoSqlParser.KW_ANALYZE: + case TrinoSqlParser.KW_ANY: + case TrinoSqlParser.KW_ARRAY: + case TrinoSqlParser.KW_ASC: + case TrinoSqlParser.KW_AT: + case TrinoSqlParser.KW_AUTHORIZATION: + case TrinoSqlParser.KW_BEGIN: + case TrinoSqlParser.KW_BERNOULLI: + case TrinoSqlParser.KW_BOTH: + case TrinoSqlParser.KW_CALL: + case TrinoSqlParser.KW_CALLED: + case TrinoSqlParser.KW_CASCADE: + case TrinoSqlParser.KW_CATALOG: + case TrinoSqlParser.KW_CATALOGS: + case TrinoSqlParser.KW_COALESCE: + case TrinoSqlParser.KW_COLUMN: + case TrinoSqlParser.KW_COLUMNS: + case TrinoSqlParser.KW_COMMENT: + case TrinoSqlParser.KW_COMMIT: + case TrinoSqlParser.KW_COMMITTED: + case TrinoSqlParser.KW_CONDITIONAL: + case TrinoSqlParser.KW_COUNT: + case TrinoSqlParser.KW_COPARTITION: + case TrinoSqlParser.KW_CURRENT: + case TrinoSqlParser.KW_DATA: + case TrinoSqlParser.KW_DATE: + case TrinoSqlParser.KW_DAY: + case TrinoSqlParser.KW_DECLARE: + case TrinoSqlParser.KW_DEFAULT: + case TrinoSqlParser.KW_DEFINE: + case TrinoSqlParser.KW_DEFINER: + case TrinoSqlParser.KW_DENY: + case TrinoSqlParser.KW_DESC: + case TrinoSqlParser.KW_DESCRIPTOR: + case TrinoSqlParser.KW_DETERMINISTIC: + case TrinoSqlParser.KW_DISTRIBUTED: + case TrinoSqlParser.KW_DO: + case TrinoSqlParser.KW_DOUBLE: + case TrinoSqlParser.KW_EMPTY: + case TrinoSqlParser.KW_ELSEIF: + case TrinoSqlParser.KW_ENCODING: + case TrinoSqlParser.KW_ERROR: + case TrinoSqlParser.KW_EXCLUDING: + case TrinoSqlParser.KW_EXPLAIN: + case TrinoSqlParser.KW_FETCH: + case TrinoSqlParser.KW_FILTER: + case TrinoSqlParser.KW_FINAL: + case TrinoSqlParser.KW_FIRST: + case TrinoSqlParser.KW_FOLLOWING: + case TrinoSqlParser.KW_FORMAT: + case TrinoSqlParser.KW_FUNCTION: + case TrinoSqlParser.KW_FUNCTIONS: + case TrinoSqlParser.KW_GRACE: + case TrinoSqlParser.KW_GRANT: + case TrinoSqlParser.KW_GRANTED: + case TrinoSqlParser.KW_GRANTS: + case TrinoSqlParser.KW_GRAPHVIZ: + case TrinoSqlParser.KW_GROUPS: + case TrinoSqlParser.KW_HOUR: + case TrinoSqlParser.KW_IF: + case TrinoSqlParser.KW_IGNORE: + case TrinoSqlParser.KW_IMMEDIATE: + case TrinoSqlParser.KW_INCLUDING: + case TrinoSqlParser.KW_INITIAL: + case TrinoSqlParser.KW_INPUT: + case TrinoSqlParser.KW_INTERVAL: + case TrinoSqlParser.KW_INVOKER: + case TrinoSqlParser.KW_IO: + case TrinoSqlParser.KW_ISOLATION: + case TrinoSqlParser.KW_ITERATE: + case TrinoSqlParser.KW_JSON: + case TrinoSqlParser.KW_KEEP: + case TrinoSqlParser.KW_KEY: + case TrinoSqlParser.KW_KEYS: + case TrinoSqlParser.KW_LANGUAGE: + case TrinoSqlParser.KW_LAST: + case TrinoSqlParser.KW_LATERAL: + case TrinoSqlParser.KW_LEADING: + case TrinoSqlParser.KW_LEAVE: + case TrinoSqlParser.KW_LEVEL: + case TrinoSqlParser.KW_LIMIT: + case TrinoSqlParser.KW_LOCAL: + case TrinoSqlParser.KW_LOGICAL: + case TrinoSqlParser.KW_LOOP: + case TrinoSqlParser.KW_MAP: + case TrinoSqlParser.KW_MATCH: + case TrinoSqlParser.KW_MATCHED: + case TrinoSqlParser.KW_MATCHES: + case TrinoSqlParser.KW_MATCH_RECOGNIZE: + case TrinoSqlParser.KW_MATERIALIZED: + case TrinoSqlParser.KW_MEASURES: + case TrinoSqlParser.KW_MERGE: + case TrinoSqlParser.KW_MINUTE: + case TrinoSqlParser.KW_MONTH: + case TrinoSqlParser.KW_NESTED: + case TrinoSqlParser.KW_NEXT: + case TrinoSqlParser.KW_NFC: + case TrinoSqlParser.KW_NFD: + case TrinoSqlParser.KW_NFKC: + case TrinoSqlParser.KW_NFKD: + case TrinoSqlParser.KW_NO: + case TrinoSqlParser.KW_NONE: + case TrinoSqlParser.KW_NULLIF: + case TrinoSqlParser.KW_NULLS: + case TrinoSqlParser.KW_OBJECT: + case TrinoSqlParser.KW_OF: + case TrinoSqlParser.KW_OFFSET: + case TrinoSqlParser.KW_OMIT: + case TrinoSqlParser.KW_ONE: + case TrinoSqlParser.KW_ONLY: + case TrinoSqlParser.KW_OPTION: + case TrinoSqlParser.KW_ORDINALITY: + case TrinoSqlParser.KW_OUTPUT: + case TrinoSqlParser.KW_OVER: + case TrinoSqlParser.KW_OVERFLOW: + case TrinoSqlParser.KW_PARTITION: + case TrinoSqlParser.KW_PARTITIONS: + case TrinoSqlParser.KW_PASSING: + case TrinoSqlParser.KW_PAST: + case TrinoSqlParser.KW_PATH: + case TrinoSqlParser.KW_PATTERN: + case TrinoSqlParser.KW_PER: + case TrinoSqlParser.KW_PERIOD: + case TrinoSqlParser.KW_PERMUTE: + case TrinoSqlParser.KW_PLAN: + case TrinoSqlParser.KW_POSITION: + case TrinoSqlParser.KW_PRECEDING: + case TrinoSqlParser.KW_PRECISION: + case TrinoSqlParser.KW_PRIVILEGES: + case TrinoSqlParser.KW_PROPERTIES: + case TrinoSqlParser.KW_PRUNE: + case TrinoSqlParser.KW_QUOTES: + case TrinoSqlParser.KW_RANGE: + case TrinoSqlParser.KW_READ: + case TrinoSqlParser.KW_REFRESH: + case TrinoSqlParser.KW_RENAME: + case TrinoSqlParser.KW_REPEAT: + case TrinoSqlParser.KW_REPEATABLE: + case TrinoSqlParser.KW_REPLACE: + case TrinoSqlParser.KW_RESET: + case TrinoSqlParser.KW_RESPECT: + case TrinoSqlParser.KW_RESTRICT: + case TrinoSqlParser.KW_RETURN: + case TrinoSqlParser.KW_RETURNING: + case TrinoSqlParser.KW_RETURNS: + case TrinoSqlParser.KW_REVOKE: + case TrinoSqlParser.KW_ROLE: + case TrinoSqlParser.KW_ROLES: + case TrinoSqlParser.KW_ROLLBACK: + case TrinoSqlParser.KW_ROW: + case TrinoSqlParser.KW_ROWS: + case TrinoSqlParser.KW_RUNNING: + case TrinoSqlParser.KW_SCALAR: + case TrinoSqlParser.KW_SCHEMA: + case TrinoSqlParser.KW_SCHEMAS: + case TrinoSqlParser.KW_SECOND: + case TrinoSqlParser.KW_SECURITY: + case TrinoSqlParser.KW_SEEK: + case TrinoSqlParser.KW_SERIALIZABLE: + case TrinoSqlParser.KW_SESSION: + case TrinoSqlParser.KW_SET: + case TrinoSqlParser.KW_SETS: + case TrinoSqlParser.KW_SHOW: + case TrinoSqlParser.KW_SOME: + case TrinoSqlParser.KW_START: + case TrinoSqlParser.KW_STATS: + case TrinoSqlParser.KW_SUBSET: + case TrinoSqlParser.KW_SUBSTRING: + case TrinoSqlParser.KW_SYSTEM: + case TrinoSqlParser.KW_TABLES: + case TrinoSqlParser.KW_TABLESAMPLE: + case TrinoSqlParser.KW_TEXT: + case TrinoSqlParser.KW_TEXT_STRING: + case TrinoSqlParser.KW_TIES: + case TrinoSqlParser.KW_TIME: + case TrinoSqlParser.KW_TIMESTAMP: + case TrinoSqlParser.KW_TO: + case TrinoSqlParser.KW_TRAILING: + case TrinoSqlParser.KW_TRANSACTION: + case TrinoSqlParser.KW_TRUNCATE: + case TrinoSqlParser.KW_TRY_CAST: + case TrinoSqlParser.KW_TYPE: + case TrinoSqlParser.KW_UNBOUNDED: + case TrinoSqlParser.KW_UNCOMMITTED: + case TrinoSqlParser.KW_UNCONDITIONAL: + case TrinoSqlParser.KW_UNIQUE: + case TrinoSqlParser.KW_UNKNOWN: + case TrinoSqlParser.KW_UNMATCHED: + case TrinoSqlParser.KW_UNTIL: + case TrinoSqlParser.KW_UPDATE: + case TrinoSqlParser.KW_USE: + case TrinoSqlParser.KW_USER: + case TrinoSqlParser.KW_UTF16: + case TrinoSqlParser.KW_UTF32: + case TrinoSqlParser.KW_UTF8: + case TrinoSqlParser.KW_VALIDATE: + case TrinoSqlParser.KW_VALUE: + case TrinoSqlParser.KW_VERBOSE: + case TrinoSqlParser.KW_VERSION: + case TrinoSqlParser.KW_VIEW: + case TrinoSqlParser.KW_WHILE: + case TrinoSqlParser.KW_WINDOW: + case TrinoSqlParser.KW_WITHIN: + case TrinoSqlParser.KW_WITHOUT: + case TrinoSqlParser.KW_WORK: + case TrinoSqlParser.KW_WRAPPER: + case TrinoSqlParser.KW_WRITE: + case TrinoSqlParser.KW_YEAR: + case TrinoSqlParser.KW_ZONE: + case TrinoSqlParser.IDENTIFIER: + case TrinoSqlParser.DIGIT_IDENTIFIER: + case TrinoSqlParser.QUOTED_IDENTIFIER: + case TrinoSqlParser.BACKQUOTED_IDENTIFIER: + { + this.state = 1087; + this.identifier(); + } + break; + case TrinoSqlParser.STRING: + case TrinoSqlParser.UNICODE_STRING: + { + this.state = 1088; + this.string_(); + } + break; + default: + throw new antlr.NoViableAltException(this); + } } break; case 69: localContext = new ResetSessionAuthorizationContext(localContext); this.enterOuterAlt(localContext, 69); { - this.state = 1125; + this.state = 1091; this.match(TrinoSqlParser.KW_RESET); - this.state = 1126; + this.state = 1092; this.match(TrinoSqlParser.KW_SESSION); - this.state = 1127; + this.state = 1093; this.match(TrinoSqlParser.KW_AUTHORIZATION); } break; @@ -3400,15 +3632,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetSessionContext(localContext); this.enterOuterAlt(localContext, 70); { - this.state = 1128; + this.state = 1094; this.match(TrinoSqlParser.KW_SET); - this.state = 1129; + this.state = 1095; this.match(TrinoSqlParser.KW_SESSION); - this.state = 1130; + this.state = 1096; this.qualifiedName(); - this.state = 1131; + this.state = 1097; this.match(TrinoSqlParser.EQ); - this.state = 1132; + this.state = 1098; this.expression(); } break; @@ -3416,11 +3648,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ResetSessionContext(localContext); this.enterOuterAlt(localContext, 71); { - this.state = 1134; + this.state = 1100; this.match(TrinoSqlParser.KW_RESET); - this.state = 1135; + this.state = 1101; this.match(TrinoSqlParser.KW_SESSION); - this.state = 1136; + this.state = 1102; this.qualifiedName(); } break; @@ -3428,30 +3660,30 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new StartTransactionContext(localContext); this.enterOuterAlt(localContext, 72); { - this.state = 1137; + this.state = 1103; this.match(TrinoSqlParser.KW_START); - this.state = 1138; + this.state = 1104; this.match(TrinoSqlParser.KW_TRANSACTION); - this.state = 1147; + this.state = 1113; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 135 || _la === 221) { { - this.state = 1139; + this.state = 1105; this.transactionMode(); - this.state = 1144; + this.state = 1110; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1140; + this.state = 1106; this.match(TrinoSqlParser.T__2); - this.state = 1141; + this.state = 1107; this.transactionMode(); } } - this.state = 1146; + this.state = 1112; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3464,14 +3696,14 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CommitContext(localContext); this.enterOuterAlt(localContext, 73); { - this.state = 1149; + this.state = 1115; this.match(TrinoSqlParser.KW_COMMIT); - this.state = 1151; + this.state = 1117; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 308) { { - this.state = 1150; + this.state = 1116; this.match(TrinoSqlParser.KW_WORK); } } @@ -3482,14 +3714,14 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RollbackContext(localContext); this.enterOuterAlt(localContext, 74); { - this.state = 1153; + this.state = 1119; this.match(TrinoSqlParser.KW_ROLLBACK); - this.state = 1155; + this.state = 1121; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 308) { { - this.state = 1154; + this.state = 1120; this.match(TrinoSqlParser.KW_WORK); } } @@ -3500,13 +3732,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new PrepareContext(localContext); this.enterOuterAlt(localContext, 75); { - this.state = 1157; + this.state = 1123; this.match(TrinoSqlParser.KW_PREPARE); - this.state = 1158; + this.state = 1124; this.identifier(); - this.state = 1159; + this.state = 1125; this.match(TrinoSqlParser.KW_FROM); - this.state = 1160; + this.state = 1126; this.statement(); } break; @@ -3514,11 +3746,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DeallocateContext(localContext); this.enterOuterAlt(localContext, 76); { - this.state = 1162; + this.state = 1128; this.match(TrinoSqlParser.KW_DEALLOCATE); - this.state = 1163; + this.state = 1129; this.match(TrinoSqlParser.KW_PREPARE); - this.state = 1164; + this.state = 1130; this.identifier(); } break; @@ -3526,32 +3758,32 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExecuteContext(localContext); this.enterOuterAlt(localContext, 77); { - this.state = 1165; + this.state = 1131; this.match(TrinoSqlParser.KW_EXECUTE); - this.state = 1166; + this.state = 1132; this.identifier(); - this.state = 1176; + this.state = 1142; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 291) { { - this.state = 1167; + this.state = 1133; this.match(TrinoSqlParser.KW_USING); - this.state = 1168; + this.state = 1134; this.expression(); - this.state = 1173; + this.state = 1139; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1169; + this.state = 1135; this.match(TrinoSqlParser.T__2); - this.state = 1170; + this.state = 1136; this.expression(); } } - this.state = 1175; + this.state = 1141; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3564,34 +3796,34 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExecuteImmediateContext(localContext); this.enterOuterAlt(localContext, 78); { - this.state = 1178; + this.state = 1144; this.match(TrinoSqlParser.KW_EXECUTE); - this.state = 1179; + this.state = 1145; this.match(TrinoSqlParser.KW_IMMEDIATE); - this.state = 1180; + this.state = 1146; this.string_(); - this.state = 1190; + this.state = 1156; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 291) { { - this.state = 1181; + this.state = 1147; this.match(TrinoSqlParser.KW_USING); - this.state = 1182; + this.state = 1148; this.expression(); - this.state = 1187; + this.state = 1153; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1183; + this.state = 1149; this.match(TrinoSqlParser.T__2); - this.state = 1184; + this.state = 1150; this.expression(); } } - this.state = 1189; + this.state = 1155; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3604,11 +3836,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DescribeInputContext(localContext); this.enterOuterAlt(localContext, 79); { - this.state = 1192; + this.state = 1158; this.match(TrinoSqlParser.KW_DESCRIBE); - this.state = 1193; + this.state = 1159; this.match(TrinoSqlParser.KW_INPUT); - this.state = 1194; + this.state = 1160; this.identifier(); } break; @@ -3616,11 +3848,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DescribeOutputContext(localContext); this.enterOuterAlt(localContext, 80); { - this.state = 1195; + this.state = 1161; this.match(TrinoSqlParser.KW_DESCRIBE); - this.state = 1196; + this.state = 1162; this.match(TrinoSqlParser.KW_OUTPUT); - this.state = 1197; + this.state = 1163; this.identifier(); } break; @@ -3628,11 +3860,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetPathContext(localContext); this.enterOuterAlt(localContext, 81); { - this.state = 1198; + this.state = 1164; this.match(TrinoSqlParser.KW_SET); - this.state = 1199; + this.state = 1165; this.match(TrinoSqlParser.KW_PATH); - this.state = 1200; + this.state = 1166; this.pathSpecification(); } break; @@ -3640,24 +3872,24 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetTimeZoneContext(localContext); this.enterOuterAlt(localContext, 82); { - this.state = 1201; + this.state = 1167; this.match(TrinoSqlParser.KW_SET); - this.state = 1202; + this.state = 1168; this.match(TrinoSqlParser.KW_TIME); - this.state = 1203; + this.state = 1169; this.match(TrinoSqlParser.KW_ZONE); - this.state = 1206; + this.state = 1172; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 119, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 122, this.context) ) { case 1: { - this.state = 1204; + this.state = 1170; this.match(TrinoSqlParser.KW_LOCAL); } break; case 2: { - this.state = 1205; + this.state = 1171; this.expression(); } break; @@ -3668,36 +3900,36 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UpdateContext(localContext); this.enterOuterAlt(localContext, 83); { - this.state = 1208; + this.state = 1174; this.match(TrinoSqlParser.KW_UPDATE); - this.state = 1209; + this.state = 1175; this.tableRef(); - this.state = 1210; + this.state = 1176; this.match(TrinoSqlParser.KW_SET); - this.state = 1211; + this.state = 1177; this.updateAssignment(); - this.state = 1216; + this.state = 1182; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1212; + this.state = 1178; this.match(TrinoSqlParser.T__2); - this.state = 1213; + this.state = 1179; this.updateAssignment(); } } - this.state = 1218; + this.state = 1184; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1220; + this.state = 1186; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 302) { { - this.state = 1219; + this.state = 1185; this.whereClause(); } } @@ -3708,51 +3940,51 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new MergeContext(localContext); this.enterOuterAlt(localContext, 84); { - this.state = 1222; + this.state = 1188; this.match(TrinoSqlParser.KW_MERGE); - this.state = 1223; + this.state = 1189; this.match(TrinoSqlParser.KW_INTO); - this.state = 1224; + this.state = 1190; this.tableRef(); - this.state = 1229; + this.state = 1195; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282056543) !== 0) || ((((_la - 50)) & ~0x1F) === 0 && ((1 << (_la - 50)) & 3069640845) !== 0) || ((((_la - 82)) & ~0x1F) === 0 && ((1 << (_la - 82)) & 4240329075) !== 0) || ((((_la - 114)) & ~0x1F) === 0 && ((1 << (_la - 114)) & 2171416041) !== 0) || ((((_la - 146)) & ~0x1F) === 0 && ((1 << (_la - 146)) & 4160722303) !== 0) || ((((_la - 178)) & ~0x1F) === 0 && ((1 << (_la - 178)) & 4293517199) !== 0) || ((((_la - 210)) & ~0x1F) === 0 && ((1 << (_la - 210)) & 3724537823) !== 0) || ((((_la - 242)) & ~0x1F) === 0 && ((1 << (_la - 242)) & 2130182015) !== 0) || ((((_la - 275)) & ~0x1F) === 0 && ((1 << (_la - 275)) & 3015636855) !== 0) || ((((_la - 307)) & ~0x1F) === 0 && ((1 << (_la - 307)) & 1006633023) !== 0)) { { - this.state = 1226; + this.state = 1192; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 1225; + this.state = 1191; this.match(TrinoSqlParser.KW_AS); } } - this.state = 1228; + this.state = 1194; this.identifier(); } } - this.state = 1231; + this.state = 1197; this.match(TrinoSqlParser.KW_USING); - this.state = 1232; + this.state = 1198; this.relation(0); - this.state = 1233; + this.state = 1199; this.match(TrinoSqlParser.KW_ON); - this.state = 1234; + this.state = 1200; this.expression(); - this.state = 1236; + this.state = 1202; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); do { { { - this.state = 1235; + this.state = 1201; this.mergeCase(); } } - this.state = 1238; + this.state = 1204; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } while (_la === 301); @@ -3762,15 +3994,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowTableCommentContext(localContext); this.enterOuterAlt(localContext, 85); { - this.state = 1240; + this.state = 1206; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1241; + this.state = 1207; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 1242; + this.state = 1208; this.match(TrinoSqlParser.KW_ON); - this.state = 1243; + this.state = 1209; this.match(TrinoSqlParser.KW_TABLE); - this.state = 1244; + this.state = 1210; this.tableRef(); } break; @@ -3778,15 +4010,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowColumnCommentContext(localContext); this.enterOuterAlt(localContext, 86); { - this.state = 1245; + this.state = 1211; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1246; + this.state = 1212; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 1247; + this.state = 1213; this.match(TrinoSqlParser.KW_ON); - this.state = 1248; + this.state = 1214; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 1249; + this.state = 1215; this.columnRef(); } break; @@ -3812,17 +4044,17 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1253; + this.state = 1219; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 126, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 129, this.context) ) { case 1: { - this.state = 1252; + this.state = 1218; this.withFunction(); } break; } - this.state = 1255; + this.state = 1221; this.query(); } } @@ -3847,23 +4079,23 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1257; + this.state = 1223; this.match(TrinoSqlParser.KW_WITH); - this.state = 1258; + this.state = 1224; this.functionSpecification(); - this.state = 1263; + this.state = 1229; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1259; + this.state = 1225; this.match(TrinoSqlParser.T__2); - this.state = 1260; + this.state = 1226; this.functionSpecification(); } } - this.state = 1265; + this.state = 1231; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3891,17 +4123,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new QueryStatementContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1267; + this.state = 1233; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 305) { { - this.state = 1266; + this.state = 1232; this.with_(); } } - this.state = 1269; + this.state = 1235; this.queryNoWith(); } } @@ -3926,33 +4158,33 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1271; + this.state = 1237; this.match(TrinoSqlParser.KW_WITH); - this.state = 1273; + this.state = 1239; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 222) { { - this.state = 1272; + this.state = 1238; this.match(TrinoSqlParser.KW_RECURSIVE); } } - this.state = 1275; + this.state = 1241; this.namedQuery(); - this.state = 1280; + this.state = 1246; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1276; + this.state = 1242; this.match(TrinoSqlParser.T__2); - this.state = 1277; + this.state = 1243; this.namedQuery(); } } - this.state = 1282; + this.state = 1248; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3975,8 +4207,9 @@ export class TrinoSqlParser extends SQLParserBase { public tableElement(): TableElementContext { let localContext = new TableElementContext(this.context, this.state); this.enterRule(localContext, 26, TrinoSqlParser.RULE_tableElement); + let _la: number; try { - this.state = 1285; + this.state = 1256; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ABSENT: @@ -4199,15 +4432,37 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.BACKQUOTED_IDENTIFIER: this.enterOuterAlt(localContext, 1); { - this.state = 1283; + this.state = 1249; this.columnDefinition(); } break; case TrinoSqlParser.KW_LIKE: this.enterOuterAlt(localContext, 2); { - this.state = 1284; - this.likeClause(); + this.state = 1250; + this.match(TrinoSqlParser.KW_LIKE); + this.state = 1251; + this.tableRef(); + this.state = 1254; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 93 || _la === 124) { + { + this.state = 1252; + localContext._optionType = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(_la === 93 || _la === 124)) { + localContext._optionType = this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1253; + this.match(TrinoSqlParser.KW_PROPERTIES); + } + } + } break; default: @@ -4235,42 +4490,42 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1287; + this.state = 1258; this.columnNameCreate(); - this.state = 1288; + this.state = 1259; localContext._colType = this.type_(0); - this.state = 1291; + this.state = 1262; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 183) { { - this.state = 1289; + this.state = 1260; this.match(TrinoSqlParser.KW_NOT); - this.state = 1290; + this.state = 1261; this.match(TrinoSqlParser.KW_NULL); } } - this.state = 1295; + this.state = 1266; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 133, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 137, this.context) ) { case 1: { - this.state = 1293; + this.state = 1264; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 1294; + this.state = 1265; localContext._comment = this.string_(); } break; } - this.state = 1299; + this.state = 1270; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 134, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 138, this.context) ) { case 1: { - this.state = 1297; + this.state = 1268; this.match(TrinoSqlParser.KW_WITH); - this.state = 1298; + this.state = 1269; this.properties(); } break; @@ -4291,64 +4546,17 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public likeClause(): LikeClauseContext { - let localContext = new LikeClauseContext(this.context, this.state); - this.enterRule(localContext, 30, TrinoSqlParser.RULE_likeClause); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1301; - this.match(TrinoSqlParser.KW_LIKE); - this.state = 1302; - this.tableRef(); - this.state = 1305; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 93 || _la === 124) { - { - this.state = 1303; - localContext._optionType = this.tokenStream.LT(1); - _la = this.tokenStream.LA(1); - if(!(_la === 93 || _la === 124)) { - localContext._optionType = this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - this.state = 1304; - this.match(TrinoSqlParser.KW_PROPERTIES); - } - } - - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } public properties(): PropertiesContext { let localContext = new PropertiesContext(this.context, this.state); - this.enterRule(localContext, 32, TrinoSqlParser.RULE_properties); + this.enterRule(localContext, 30, TrinoSqlParser.RULE_properties); try { this.enterOuterAlt(localContext, 1); { - this.state = 1307; + this.state = 1272; this.match(TrinoSqlParser.T__0); - this.state = 1308; + this.state = 1273; this.propertyAssignments(); - this.state = 1309; + this.state = 1274; this.match(TrinoSqlParser.T__1); } } @@ -4368,26 +4576,26 @@ export class TrinoSqlParser extends SQLParserBase { } public propertyAssignments(): PropertyAssignmentsContext { let localContext = new PropertyAssignmentsContext(this.context, this.state); - this.enterRule(localContext, 34, TrinoSqlParser.RULE_propertyAssignments); + this.enterRule(localContext, 32, TrinoSqlParser.RULE_propertyAssignments); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1311; + this.state = 1276; this.property(); - this.state = 1316; + this.state = 1281; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1312; + this.state = 1277; this.match(TrinoSqlParser.T__2); - this.state = 1313; + this.state = 1278; this.property(); } } - this.state = 1318; + this.state = 1283; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -4409,56 +4617,31 @@ export class TrinoSqlParser extends SQLParserBase { } public property(): PropertyContext { let localContext = new PropertyContext(this.context, this.state); - this.enterRule(localContext, 36, TrinoSqlParser.RULE_property); + this.enterRule(localContext, 34, TrinoSqlParser.RULE_property); try { this.enterOuterAlt(localContext, 1); { - this.state = 1319; + this.state = 1284; this.identifier(); - this.state = 1320; + this.state = 1285; this.match(TrinoSqlParser.EQ); - this.state = 1321; - this.propertyValue(); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public propertyValue(): PropertyValueContext { - let localContext = new PropertyValueContext(this.context, this.state); - this.enterRule(localContext, 38, TrinoSqlParser.RULE_propertyValue); - try { - this.state = 1325; + this.state = 1288; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 137, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 140, this.context) ) { case 1: - localContext = new DefaultPropertyValueContext(localContext); - this.enterOuterAlt(localContext, 1); { - this.state = 1323; + this.state = 1286; this.match(TrinoSqlParser.KW_DEFAULT); } break; case 2: - localContext = new NonDefaultPropertyValueContext(localContext); - this.enterOuterAlt(localContext, 2); { - this.state = 1324; + this.state = 1287; this.expression(); } break; } + } } catch (re) { if (re instanceof antlr.RecognitionException) { @@ -4476,58 +4659,66 @@ export class TrinoSqlParser extends SQLParserBase { } public queryNoWith(): QueryNoWithContext { let localContext = new QueryNoWithContext(this.context, this.state); - this.enterRule(localContext, 40, TrinoSqlParser.RULE_queryNoWith); + this.enterRule(localContext, 36, TrinoSqlParser.RULE_queryNoWith); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1327; + this.state = 1290; this.queryTerm(0); - this.state = 1338; + this.state = 1301; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 196) { { - this.state = 1328; + this.state = 1291; this.match(TrinoSqlParser.KW_ORDER); - this.state = 1329; + this.state = 1292; this.match(TrinoSqlParser.KW_BY); - this.state = 1330; + this.state = 1293; this.sortItem(); - this.state = 1335; + this.state = 1298; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1331; + this.state = 1294; this.match(TrinoSqlParser.T__2); - this.state = 1332; + this.state = 1295; this.sortItem(); } } - this.state = 1337; + this.state = 1300; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1345; + this.state = 1308; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 189) { { - this.state = 1340; + this.state = 1303; this.match(TrinoSqlParser.KW_OFFSET); - this.state = 1341; - localContext._offset = this.rowCount(); - this.state = 1343; + this.state = 1304; + localContext._offset = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(_la === 325 || _la === 330)) { + localContext._offset = this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1306; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 240 || _la === 241) { { - this.state = 1342; + this.state = 1305; _la = this.tokenStream.LA(1); if(!(_la === 240 || _la === 241)) { this.errorHandler.recoverInline(this); @@ -4542,25 +4733,33 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 1360; + this.state = 1323; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_LIMIT: { { - this.state = 1347; + this.state = 1310; this.match(TrinoSqlParser.KW_LIMIT); - this.state = 1348; - localContext._limit = this.limitRowCount(); + this.state = 1311; + localContext._limit = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(_la === 22 || _la === 325 || _la === 330)) { + localContext._limit = this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } } } break; case TrinoSqlParser.KW_FETCH: { { - this.state = 1349; + this.state = 1312; this.match(TrinoSqlParser.KW_FETCH); - this.state = 1350; + this.state = 1313; _la = this.tokenStream.LA(1); if(!(_la === 102 || _la === 175)) { this.errorHandler.recoverInline(this); @@ -4569,17 +4768,25 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1352; + this.state = 1315; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 325 || _la === 330) { { - this.state = 1351; - localContext._fetchFirst = this.rowCount(); + this.state = 1314; + localContext._fetchFirst = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(_la === 325 || _la === 330)) { + localContext._fetchFirst = this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } } } - this.state = 1354; + this.state = 1317; _la = this.tokenStream.LA(1); if(!(_la === 240 || _la === 241)) { this.errorHandler.recoverInline(this); @@ -4588,20 +4795,20 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1358; + this.state = 1321; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ONLY: { - this.state = 1355; + this.state = 1318; this.match(TrinoSqlParser.KW_ONLY); } break; case TrinoSqlParser.KW_WITH: { - this.state = 1356; + this.state = 1319; this.match(TrinoSqlParser.KW_WITH); - this.state = 1357; + this.state = 1320; this.match(TrinoSqlParser.KW_TIES); } break; @@ -4667,78 +4874,6 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public limitRowCount(): LimitRowCountContext { - let localContext = new LimitRowCountContext(this.context, this.state); - this.enterRule(localContext, 42, TrinoSqlParser.RULE_limitRowCount); - try { - this.state = 1364; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_ALL: - this.enterOuterAlt(localContext, 1); - { - this.state = 1362; - this.match(TrinoSqlParser.KW_ALL); - } - break; - case TrinoSqlParser.QUESTION_MARK: - case TrinoSqlParser.INTEGER_VALUE: - this.enterOuterAlt(localContext, 2); - { - this.state = 1363; - this.rowCount(); - } - break; - default: - throw new antlr.NoViableAltException(this); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public rowCount(): RowCountContext { - let localContext = new RowCountContext(this.context, this.state); - this.enterRule(localContext, 44, TrinoSqlParser.RULE_rowCount); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1366; - _la = this.tokenStream.LA(1); - if(!(_la === 325 || _la === 330)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } public queryTerm(): QueryTermContext; public queryTerm(_p: number): QueryTermContext; @@ -4751,8 +4886,8 @@ export class TrinoSqlParser extends SQLParserBase { let parentState = this.state; let localContext = new QueryTermContext(this.context, parentState); let previousContext = localContext; - let _startState = 46; - this.enterRecursionRule(localContext, 46, TrinoSqlParser.RULE_queryTerm, _p); + let _startState = 38; + this.enterRecursionRule(localContext, 38, TrinoSqlParser.RULE_queryTerm, _p); let _la: number; try { let alternative: number; @@ -4763,13 +4898,13 @@ export class TrinoSqlParser extends SQLParserBase { this.context = localContext; previousContext = localContext; - this.state = 1369; + this.state = 1326; this.queryPrimary(); } this.context!.stop = this.tokenStream.LT(-1); - this.state = 1385; + this.state = 1342; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 149, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 151, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { if (this._parseListeners != null) { @@ -4777,31 +4912,31 @@ export class TrinoSqlParser extends SQLParserBase { } previousContext = localContext; { - this.state = 1383; + this.state = 1340; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 148, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 150, this.context) ) { case 1: { localContext = new SetOperationContext(new QueryTermContext(parentContext, parentState)); (localContext as SetOperationContext)._left = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_queryTerm); - this.state = 1371; + this.state = 1328; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 1372; + this.state = 1329; (localContext as SetOperationContext)._operator = this.match(TrinoSqlParser.KW_INTERSECT); - this.state = 1374; + this.state = 1331; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 22 || _la === 80) { { - this.state = 1373; + this.state = 1330; this.setQuantifier(); } } - this.state = 1376; + this.state = 1333; (localContext as SetOperationContext)._right = this.queryTerm(3); } break; @@ -4810,11 +4945,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetOperationContext(new QueryTermContext(parentContext, parentState)); (localContext as SetOperationContext)._left = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_queryTerm); - this.state = 1377; + this.state = 1334; if (!(this.precpred(this.context, 1))) { throw this.createFailedPredicateException("this.precpred(this.context, 1)"); } - this.state = 1378; + this.state = 1335; (localContext as SetOperationContext)._operator = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 92 || _la === 282)) { @@ -4824,26 +4959,26 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1380; + this.state = 1337; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 22 || _la === 80) { { - this.state = 1379; + this.state = 1336; this.setQuantifier(); } } - this.state = 1382; + this.state = 1339; (localContext as SetOperationContext)._right = this.queryTerm(2); } break; } } } - this.state = 1387; + this.state = 1344; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 149, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 151, this.context); } } } @@ -4863,17 +4998,17 @@ export class TrinoSqlParser extends SQLParserBase { } public queryPrimary(): QueryPrimaryContext { let localContext = new QueryPrimaryContext(this.context, this.state); - this.enterRule(localContext, 48, TrinoSqlParser.RULE_queryPrimary); + this.enterRule(localContext, 40, TrinoSqlParser.RULE_queryPrimary); try { let alternative: number; - this.state = 1404; + this.state = 1361; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_SELECT: localContext = new QueryPrimaryDefaultContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1388; + this.state = 1345; this.querySpecification(); } break; @@ -4881,9 +5016,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TableContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1389; + this.state = 1346; this.match(TrinoSqlParser.KW_TABLE); - this.state = 1390; + this.state = 1347; this.tableRef(); } break; @@ -4891,27 +5026,27 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new InlineTableContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1391; + this.state = 1348; this.match(TrinoSqlParser.KW_VALUES); - this.state = 1392; + this.state = 1349; this.expression(); - this.state = 1397; + this.state = 1354; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 150, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 152, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 1393; + this.state = 1350; this.match(TrinoSqlParser.T__2); - this.state = 1394; + this.state = 1351; this.expression(); } } } - this.state = 1399; + this.state = 1356; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 150, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 152, this.context); } } break; @@ -4919,11 +5054,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SubqueryContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 1400; + this.state = 1357; this.match(TrinoSqlParser.T__0); - this.state = 1401; + this.state = 1358; this.queryNoWith(); - this.state = 1402; + this.state = 1359; this.match(TrinoSqlParser.T__1); } break; @@ -4947,33 +5082,33 @@ export class TrinoSqlParser extends SQLParserBase { } public sortItem(): SortItemContext { let localContext = new SortItemContext(this.context, this.state); - this.enterRule(localContext, 50, TrinoSqlParser.RULE_sortItem); + this.enterRule(localContext, 42, TrinoSqlParser.RULE_sortItem); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1408; + this.state = 1365; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 152, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 154, this.context) ) { case 1: { - this.state = 1406; + this.state = 1363; this.columnRef(); } break; case 2: { - this.state = 1407; + this.state = 1364; this.expression(); } break; } - this.state = 1411; + this.state = 1368; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 153, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 155, this.context) ) { case 1: { - this.state = 1410; + this.state = 1367; localContext._ordering = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 29 || _la === 76)) { @@ -4986,14 +5121,14 @@ export class TrinoSqlParser extends SQLParserBase { } break; } - this.state = 1415; + this.state = 1372; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 186) { { - this.state = 1413; + this.state = 1370; this.match(TrinoSqlParser.KW_NULLS); - this.state = 1414; + this.state = 1371; localContext._nullOrdering = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 102 || _la === 149)) { @@ -5024,115 +5159,115 @@ export class TrinoSqlParser extends SQLParserBase { } public querySpecification(): QuerySpecificationContext { let localContext = new QuerySpecificationContext(this.context, this.state); - this.enterRule(localContext, 52, TrinoSqlParser.RULE_querySpecification); + this.enterRule(localContext, 44, TrinoSqlParser.RULE_querySpecification); try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 1417; + this.state = 1374; this.match(TrinoSqlParser.KW_SELECT); - this.state = 1419; + this.state = 1376; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 155, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 157, this.context) ) { case 1: { - this.state = 1418; + this.state = 1375; this.setQuantifier(); } break; } - this.state = 1421; + this.state = 1378; this.selectList(); - this.state = 1431; + this.state = 1388; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 157, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 159, this.context) ) { case 1: { - this.state = 1422; + this.state = 1379; this.match(TrinoSqlParser.KW_FROM); - this.state = 1423; + this.state = 1380; this.relation(0); - this.state = 1428; + this.state = 1385; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 156, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 158, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 1424; + this.state = 1381; this.match(TrinoSqlParser.T__2); - this.state = 1425; + this.state = 1382; this.relation(0); } } } - this.state = 1430; + this.state = 1387; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 156, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 158, this.context); } } break; } - this.state = 1434; + this.state = 1391; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 158, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 160, this.context) ) { case 1: { - this.state = 1433; + this.state = 1390; this.whereClause(); } break; } - this.state = 1439; + this.state = 1396; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 159, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 161, this.context) ) { case 1: { - this.state = 1436; + this.state = 1393; this.match(TrinoSqlParser.KW_GROUP); - this.state = 1437; + this.state = 1394; this.match(TrinoSqlParser.KW_BY); - this.state = 1438; + this.state = 1395; this.groupBy(); } break; } - this.state = 1442; + this.state = 1399; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 160, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 162, this.context) ) { case 1: { - this.state = 1441; + this.state = 1398; this.havingClause(); } break; } - this.state = 1453; + this.state = 1410; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 162, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 164, this.context) ) { case 1: { - this.state = 1444; + this.state = 1401; this.match(TrinoSqlParser.KW_WINDOW); - this.state = 1445; + this.state = 1402; this.windowDefinition(); - this.state = 1450; + this.state = 1407; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 161, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 163, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 1446; + this.state = 1403; this.match(TrinoSqlParser.T__2); - this.state = 1447; + this.state = 1404; this.windowDefinition(); } } } - this.state = 1452; + this.state = 1409; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 161, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 163, this.context); } } break; @@ -5155,13 +5290,13 @@ export class TrinoSqlParser extends SQLParserBase { } public whereClause(): WhereClauseContext { let localContext = new WhereClauseContext(this.context, this.state); - this.enterRule(localContext, 54, TrinoSqlParser.RULE_whereClause); + this.enterRule(localContext, 46, TrinoSqlParser.RULE_whereClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 1455; + this.state = 1412; this.match(TrinoSqlParser.KW_WHERE); - this.state = 1456; + this.state = 1413; localContext._where = this.booleanExpression(0); } } @@ -5181,13 +5316,13 @@ export class TrinoSqlParser extends SQLParserBase { } public havingClause(): HavingClauseContext { let localContext = new HavingClauseContext(this.context, this.state); - this.enterRule(localContext, 56, TrinoSqlParser.RULE_havingClause); + this.enterRule(localContext, 48, TrinoSqlParser.RULE_havingClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 1458; + this.state = 1415; this.match(TrinoSqlParser.KW_HAVING); - this.state = 1459; + this.state = 1416; localContext._having = this.booleanExpression(0); } } @@ -5207,30 +5342,30 @@ export class TrinoSqlParser extends SQLParserBase { } public selectList(): SelectListContext { let localContext = new SelectListContext(this.context, this.state); - this.enterRule(localContext, 58, TrinoSqlParser.RULE_selectList); + this.enterRule(localContext, 50, TrinoSqlParser.RULE_selectList); try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 1461; + this.state = 1418; this.selectItem(); - this.state = 1466; + this.state = 1423; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 163, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 165, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 1462; + this.state = 1419; this.match(TrinoSqlParser.T__2); - this.state = 1463; + this.state = 1420; this.selectItem(); } } } - this.state = 1468; + this.state = 1425; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 163, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 165, this.context); } } } @@ -5250,40 +5385,40 @@ export class TrinoSqlParser extends SQLParserBase { } public groupBy(): GroupByContext { let localContext = new GroupByContext(this.context, this.state); - this.enterRule(localContext, 60, TrinoSqlParser.RULE_groupBy); + this.enterRule(localContext, 52, TrinoSqlParser.RULE_groupBy); try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 1470; + this.state = 1427; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 164, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 166, this.context) ) { case 1: { - this.state = 1469; + this.state = 1426; this.setQuantifier(); } break; } - this.state = 1472; + this.state = 1429; this.groupingElement(); - this.state = 1477; + this.state = 1434; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 165, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 167, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 1473; + this.state = 1430; this.match(TrinoSqlParser.T__2); - this.state = 1474; + this.state = 1431; this.groupingElement(); } } } - this.state = 1479; + this.state = 1436; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 165, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 167, this.context); } } } @@ -5303,26 +5438,26 @@ export class TrinoSqlParser extends SQLParserBase { } public partitionBy(): PartitionByContext { let localContext = new PartitionByContext(this.context, this.state); - this.enterRule(localContext, 62, TrinoSqlParser.RULE_partitionBy); + this.enterRule(localContext, 54, TrinoSqlParser.RULE_partitionBy); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1480; + this.state = 1437; this.expression(); - this.state = 1485; + this.state = 1442; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1481; + this.state = 1438; this.match(TrinoSqlParser.T__2); - this.state = 1482; + this.state = 1439; this.expression(); } } - this.state = 1487; + this.state = 1444; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -5344,17 +5479,17 @@ export class TrinoSqlParser extends SQLParserBase { } public groupingElement(): GroupingElementContext { let localContext = new GroupingElementContext(this.context, this.state); - this.enterRule(localContext, 64, TrinoSqlParser.RULE_groupingElement); + this.enterRule(localContext, 56, TrinoSqlParser.RULE_groupingElement); let _la: number; try { - this.state = 1528; + this.state = 1485; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 172, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 174, this.context) ) { case 1: localContext = new SingleGroupingSetContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1488; + this.state = 1445; this.groupingSet(); } break; @@ -5362,37 +5497,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RollupContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1489; + this.state = 1446; this.match(TrinoSqlParser.KW_ROLLUP); - this.state = 1490; + this.state = 1447; this.match(TrinoSqlParser.T__0); - this.state = 1499; + this.state = 1456; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 168, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 170, this.context) ) { case 1: { - this.state = 1491; + this.state = 1448; this.groupingSet(); - this.state = 1496; + this.state = 1453; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1492; + this.state = 1449; this.match(TrinoSqlParser.T__2); - this.state = 1493; + this.state = 1450; this.groupingSet(); } } - this.state = 1498; + this.state = 1455; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } break; } - this.state = 1501; + this.state = 1458; this.match(TrinoSqlParser.T__1); } break; @@ -5400,37 +5535,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CubeContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1502; + this.state = 1459; this.match(TrinoSqlParser.KW_CUBE); - this.state = 1503; + this.state = 1460; this.match(TrinoSqlParser.T__0); - this.state = 1512; + this.state = 1469; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 170, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 172, this.context) ) { case 1: { - this.state = 1504; + this.state = 1461; this.groupingSet(); - this.state = 1509; + this.state = 1466; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1505; + this.state = 1462; this.match(TrinoSqlParser.T__2); - this.state = 1506; + this.state = 1463; this.groupingSet(); } } - this.state = 1511; + this.state = 1468; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } break; } - this.state = 1514; + this.state = 1471; this.match(TrinoSqlParser.T__1); } break; @@ -5438,31 +5573,31 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new MultipleGroupingSetsContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 1515; + this.state = 1472; this.match(TrinoSqlParser.KW_GROUPING); - this.state = 1516; + this.state = 1473; this.match(TrinoSqlParser.KW_SETS); - this.state = 1517; + this.state = 1474; this.match(TrinoSqlParser.T__0); - this.state = 1518; + this.state = 1475; this.groupingSet(); - this.state = 1523; + this.state = 1480; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1519; + this.state = 1476; this.match(TrinoSqlParser.T__2); - this.state = 1520; + this.state = 1477; this.groupingSet(); } } - this.state = 1525; + this.state = 1482; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1526; + this.state = 1483; this.match(TrinoSqlParser.T__1); } break; @@ -5484,89 +5619,94 @@ export class TrinoSqlParser extends SQLParserBase { } public groupingSet(): GroupingSetContext { let localContext = new GroupingSetContext(this.context, this.state); - this.enterRule(localContext, 66, TrinoSqlParser.RULE_groupingSet); + this.enterRule(localContext, 58, TrinoSqlParser.RULE_groupingSet); let _la: number; try { - this.state = 1543; + this.state = 1509; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 175, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 180, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1530; + this.state = 1487; this.match(TrinoSqlParser.T__0); - this.state = 1539; + this.state = 1502; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 174, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 178, this.context) ) { case 1: { - this.state = 1531; - this.groupingTerm(); - this.state = 1536; + this.state = 1490; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 175, this.context) ) { + case 1: + { + this.state = 1488; + this.columnRef(); + } + break; + case 2: + { + this.state = 1489; + this.expression(); + } + break; + } + this.state = 1499; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1532; + this.state = 1492; this.match(TrinoSqlParser.T__2); - this.state = 1533; - this.groupingTerm(); + this.state = 1495; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 176, this.context) ) { + case 1: + { + this.state = 1493; + this.columnRef(); + } + break; + case 2: + { + this.state = 1494; + this.expression(); + } + break; + } } } - this.state = 1538; + this.state = 1501; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } break; } - this.state = 1541; + this.state = 1504; this.match(TrinoSqlParser.T__1); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1542; - this.groupingTerm(); - } - break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public groupingTerm(): GroupingTermContext { - let localContext = new GroupingTermContext(this.context, this.state); - this.enterRule(localContext, 68, TrinoSqlParser.RULE_groupingTerm); - try { - this.state = 1547; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 176, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); - { - this.state = 1545; - this.columnRef(); + this.state = 1507; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 179, this.context) ) { + case 1: + { + this.state = 1505; + this.columnRef(); + } + break; + case 2: + { + this.state = 1506; + this.expression(); + } + break; } - break; - case 2: - this.enterOuterAlt(localContext, 2); - { - this.state = 1546; - this.expression(); } break; } @@ -5587,19 +5727,19 @@ export class TrinoSqlParser extends SQLParserBase { } public windowDefinition(): WindowDefinitionContext { let localContext = new WindowDefinitionContext(this.context, this.state); - this.enterRule(localContext, 70, TrinoSqlParser.RULE_windowDefinition); + this.enterRule(localContext, 60, TrinoSqlParser.RULE_windowDefinition); try { this.enterOuterAlt(localContext, 1); { - this.state = 1549; + this.state = 1511; localContext._name = this.identifier(); - this.state = 1550; + this.state = 1512; this.match(TrinoSqlParser.KW_AS); - this.state = 1551; + this.state = 1513; this.match(TrinoSqlParser.T__0); - this.state = 1552; + this.state = 1514; this.windowSpecification(); - this.state = 1553; + this.state = 1515; this.match(TrinoSqlParser.T__1); } } @@ -5619,71 +5759,71 @@ export class TrinoSqlParser extends SQLParserBase { } public windowSpecification(): WindowSpecificationContext { let localContext = new WindowSpecificationContext(this.context, this.state); - this.enterRule(localContext, 72, TrinoSqlParser.RULE_windowSpecification); + this.enterRule(localContext, 62, TrinoSqlParser.RULE_windowSpecification); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1556; + this.state = 1518; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 177, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 181, this.context) ) { case 1: { - this.state = 1555; + this.state = 1517; localContext._existingWindowName = this.identifier(); } break; } - this.state = 1561; + this.state = 1523; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 202) { { - this.state = 1558; + this.state = 1520; this.match(TrinoSqlParser.KW_PARTITION); - this.state = 1559; + this.state = 1521; this.match(TrinoSqlParser.KW_BY); - this.state = 1560; + this.state = 1522; this.partitionBy(); } } - this.state = 1573; + this.state = 1535; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 196) { { - this.state = 1563; + this.state = 1525; this.match(TrinoSqlParser.KW_ORDER); - this.state = 1564; + this.state = 1526; this.match(TrinoSqlParser.KW_BY); - this.state = 1565; + this.state = 1527; this.sortItem(); - this.state = 1570; + this.state = 1532; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1566; + this.state = 1528; this.match(TrinoSqlParser.T__2); - this.state = 1567; + this.state = 1529; this.sortItem(); } } - this.state = 1572; + this.state = 1534; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1576; + this.state = 1538; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 117 || _la === 169 || _la === 220 || _la === 241) { { - this.state = 1575; + this.state = 1537; this.windowFrame(); } } @@ -5706,30 +5846,30 @@ export class TrinoSqlParser extends SQLParserBase { } public namedQuery(): NamedQueryContext { let localContext = new NamedQueryContext(this.context, this.state); - this.enterRule(localContext, 74, TrinoSqlParser.RULE_namedQuery); + this.enterRule(localContext, 64, TrinoSqlParser.RULE_namedQuery); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1578; + this.state = 1540; localContext._name = this.identifier(); - this.state = 1580; + this.state = 1542; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 1579; + this.state = 1541; this.columnAliases(); } } - this.state = 1582; + this.state = 1544; this.match(TrinoSqlParser.KW_AS); - this.state = 1583; + this.state = 1545; this.match(TrinoSqlParser.T__0); - this.state = 1584; + this.state = 1546; this.query(); - this.state = 1585; + this.state = 1547; this.match(TrinoSqlParser.T__1); } } @@ -5749,12 +5889,12 @@ export class TrinoSqlParser extends SQLParserBase { } public setQuantifier(): SetQuantifierContext { let localContext = new SetQuantifierContext(this.context, this.state); - this.enterRule(localContext, 76, TrinoSqlParser.RULE_setQuantifier); + this.enterRule(localContext, 66, TrinoSqlParser.RULE_setQuantifier); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1587; + this.state = 1549; _la = this.tokenStream.LA(1); if(!(_la === 22 || _la === 80)) { this.errorHandler.recoverInline(this); @@ -5781,47 +5921,47 @@ export class TrinoSqlParser extends SQLParserBase { } public selectItem(): SelectItemContext { let localContext = new SelectItemContext(this.context, this.state); - this.enterRule(localContext, 78, TrinoSqlParser.RULE_selectItem); + this.enterRule(localContext, 68, TrinoSqlParser.RULE_selectItem); let _la: number; try { - this.state = 1605; + this.state = 1567; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 187, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 191, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1591; + this.state = 1553; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 183, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 187, this.context) ) { case 1: { - this.state = 1589; + this.state = 1551; this.selectLiteralColumnName(); } break; case 2: { - this.state = 1590; + this.state = 1552; this.selectExpressionColumnName(); } break; } - this.state = 1597; + this.state = 1559; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 185, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 189, this.context) ) { case 1: { - this.state = 1594; + this.state = 1556; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 1593; + this.state = 1555; this.match(TrinoSqlParser.KW_AS); } } - this.state = 1596; + this.state = 1558; localContext._alias = this.identifier(); } break; @@ -5831,16 +5971,16 @@ export class TrinoSqlParser extends SQLParserBase { case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1599; + this.state = 1561; this.tableAllColumns(); - this.state = 1602; + this.state = 1564; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 186, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 190, this.context) ) { case 1: { - this.state = 1600; + this.state = 1562; this.match(TrinoSqlParser.KW_AS); - this.state = 1601; + this.state = 1563; this.columnAliases(); } break; @@ -5850,7 +5990,7 @@ export class TrinoSqlParser extends SQLParserBase { case 3: this.enterOuterAlt(localContext, 3); { - this.state = 1604; + this.state = 1566; this.selectAllWithoutTable(); } break; @@ -5872,11 +6012,11 @@ export class TrinoSqlParser extends SQLParserBase { } public selectAllWithoutTable(): SelectAllWithoutTableContext { let localContext = new SelectAllWithoutTableContext(this.context, this.state); - this.enterRule(localContext, 80, TrinoSqlParser.RULE_selectAllWithoutTable); + this.enterRule(localContext, 70, TrinoSqlParser.RULE_selectAllWithoutTable); try { this.enterOuterAlt(localContext, 1); { - this.state = 1607; + this.state = 1569; this.match(TrinoSqlParser.ASTERISK); } } @@ -5896,15 +6036,15 @@ export class TrinoSqlParser extends SQLParserBase { } public tableAllColumns(): TableAllColumnsContext { let localContext = new TableAllColumnsContext(this.context, this.state); - this.enterRule(localContext, 82, TrinoSqlParser.RULE_tableAllColumns); + this.enterRule(localContext, 72, TrinoSqlParser.RULE_tableAllColumns); try { this.enterOuterAlt(localContext, 1); { - this.state = 1609; + this.state = 1571; this.primaryExpression(0); - this.state = 1610; + this.state = 1572; this.match(TrinoSqlParser.T__3); - this.state = 1611; + this.state = 1573; this.match(TrinoSqlParser.ASTERISK); } } @@ -5924,11 +6064,11 @@ export class TrinoSqlParser extends SQLParserBase { } public selectLiteralColumnName(): SelectLiteralColumnNameContext { let localContext = new SelectLiteralColumnNameContext(this.context, this.state); - this.enterRule(localContext, 84, TrinoSqlParser.RULE_selectLiteralColumnName); + this.enterRule(localContext, 74, TrinoSqlParser.RULE_selectLiteralColumnName); try { this.enterOuterAlt(localContext, 1); { - this.state = 1613; + this.state = 1575; this.columnRef(); } } @@ -5948,11 +6088,11 @@ export class TrinoSqlParser extends SQLParserBase { } public selectExpressionColumnName(): SelectExpressionColumnNameContext { let localContext = new SelectExpressionColumnNameContext(this.context, this.state); - this.enterRule(localContext, 86, TrinoSqlParser.RULE_selectExpressionColumnName); + this.enterRule(localContext, 76, TrinoSqlParser.RULE_selectExpressionColumnName); try { this.enterOuterAlt(localContext, 1); { - this.state = 1615; + this.state = 1577; this.expression(); } } @@ -5982,8 +6122,9 @@ export class TrinoSqlParser extends SQLParserBase { let parentState = this.state; let localContext = new RelationContext(this.context, parentState); let previousContext = localContext; - let _startState = 88; - this.enterRecursionRule(localContext, 88, TrinoSqlParser.RULE_relation, _p); + let _startState = 78; + this.enterRecursionRule(localContext, 78, TrinoSqlParser.RULE_relation, _p); + let _la: number; try { let alternative: number; this.enterOuterAlt(localContext, 1); @@ -5993,13 +6134,13 @@ export class TrinoSqlParser extends SQLParserBase { this.context = localContext; previousContext = localContext; - this.state = 1618; + this.state = 1580; this.sampledRelation(); } this.context!.stop = this.tokenStream.LT(-1); - this.state = 1638; + this.state = 1614; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 189, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 195, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { if (this._parseListeners != null) { @@ -6011,20 +6152,20 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JoinRelationContext(new RelationContext(parentContext, parentState)); (localContext as JoinRelationContext)._left = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_relation); - this.state = 1620; + this.state = 1582; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 1634; + this.state = 1610; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_CROSS: { - this.state = 1621; + this.state = 1583; this.match(TrinoSqlParser.KW_CROSS); - this.state = 1622; + this.state = 1584; this.match(TrinoSqlParser.KW_JOIN); - this.state = 1623; + this.state = 1585; (localContext as JoinRelationContext)._right = this.sampledRelation(); } break; @@ -6034,25 +6175,65 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_LEFT: case TrinoSqlParser.KW_RIGHT: { - this.state = 1624; + this.state = 1586; this.joinType(); - this.state = 1625; + this.state = 1587; this.match(TrinoSqlParser.KW_JOIN); - this.state = 1626; + this.state = 1588; (localContext as JoinRelationContext)._rightRelation = this.relation(0); - this.state = 1627; - this.joinCriteria(); + this.state = 1603; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_ON: + { + this.state = 1589; + this.match(TrinoSqlParser.KW_ON); + this.state = 1590; + this.booleanExpression(0); + } + break; + case TrinoSqlParser.KW_USING: + { + this.state = 1591; + this.match(TrinoSqlParser.KW_USING); + this.state = 1592; + this.match(TrinoSqlParser.T__0); + this.state = 1593; + this.identifier(); + this.state = 1598; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 1594; + this.match(TrinoSqlParser.T__2); + this.state = 1595; + this.identifier(); + } + } + this.state = 1600; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 1601; + this.match(TrinoSqlParser.T__1); + } + break; + default: + throw new antlr.NoViableAltException(this); + } } break; case TrinoSqlParser.KW_NATURAL: { - this.state = 1629; + this.state = 1605; this.match(TrinoSqlParser.KW_NATURAL); - this.state = 1630; + this.state = 1606; this.joinType(); - this.state = 1631; + this.state = 1607; this.match(TrinoSqlParser.KW_JOIN); - this.state = 1632; + this.state = 1608; (localContext as JoinRelationContext)._right = this.sampledRelation(); } break; @@ -6062,9 +6243,9 @@ export class TrinoSqlParser extends SQLParserBase { } } } - this.state = 1640; + this.state = 1616; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 189, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 195, this.context); } } } @@ -6084,22 +6265,22 @@ export class TrinoSqlParser extends SQLParserBase { } public joinType(): JoinTypeContext { let localContext = new JoinTypeContext(this.context, this.state); - this.enterRule(localContext, 90, TrinoSqlParser.RULE_joinType); + this.enterRule(localContext, 80, TrinoSqlParser.RULE_joinType); let _la: number; try { - this.state = 1656; + this.state = 1632; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_INNER: case TrinoSqlParser.KW_JOIN: this.enterOuterAlt(localContext, 1); { - this.state = 1642; + this.state = 1618; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 126) { { - this.state = 1641; + this.state = 1617; this.match(TrinoSqlParser.KW_INNER); } } @@ -6109,14 +6290,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_LEFT: this.enterOuterAlt(localContext, 2); { - this.state = 1644; + this.state = 1620; this.match(TrinoSqlParser.KW_LEFT); - this.state = 1646; + this.state = 1622; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 198) { { - this.state = 1645; + this.state = 1621; this.match(TrinoSqlParser.KW_OUTER); } } @@ -6126,14 +6307,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_RIGHT: this.enterOuterAlt(localContext, 3); { - this.state = 1648; + this.state = 1624; this.match(TrinoSqlParser.KW_RIGHT); - this.state = 1650; + this.state = 1626; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 198) { { - this.state = 1649; + this.state = 1625; this.match(TrinoSqlParser.KW_OUTER); } } @@ -6143,14 +6324,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_FULL: this.enterOuterAlt(localContext, 4); { - this.state = 1652; + this.state = 1628; this.match(TrinoSqlParser.KW_FULL); - this.state = 1654; + this.state = 1630; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 198) { { - this.state = 1653; + this.state = 1629; this.match(TrinoSqlParser.KW_OUTER); } } @@ -6175,92 +6356,36 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public joinCriteria(): JoinCriteriaContext { - let localContext = new JoinCriteriaContext(this.context, this.state); - this.enterRule(localContext, 92, TrinoSqlParser.RULE_joinCriteria); - let _la: number; - try { - this.state = 1672; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_ON: - this.enterOuterAlt(localContext, 1); - { - this.state = 1658; - this.match(TrinoSqlParser.KW_ON); - this.state = 1659; - this.booleanExpression(0); - } - break; - case TrinoSqlParser.KW_USING: - this.enterOuterAlt(localContext, 2); - { - this.state = 1660; - this.match(TrinoSqlParser.KW_USING); - this.state = 1661; - this.match(TrinoSqlParser.T__0); - this.state = 1662; - this.identifier(); - this.state = 1667; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 1663; - this.match(TrinoSqlParser.T__2); - this.state = 1664; - this.identifier(); - } - } - this.state = 1669; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - this.state = 1670; - this.match(TrinoSqlParser.T__1); - } - break; - default: - throw new antlr.NoViableAltException(this); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } public sampledRelation(): SampledRelationContext { let localContext = new SampledRelationContext(this.context, this.state); - this.enterRule(localContext, 94, TrinoSqlParser.RULE_sampledRelation); + this.enterRule(localContext, 82, TrinoSqlParser.RULE_sampledRelation); + let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1674; + this.state = 1634; this.patternRecognition(); - this.state = 1681; + this.state = 1641; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 197, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 201, this.context) ) { case 1: { - this.state = 1675; + this.state = 1635; this.match(TrinoSqlParser.KW_TABLESAMPLE); - this.state = 1676; - this.sampleType(); - this.state = 1677; + this.state = 1636; + _la = this.tokenStream.LA(1); + if(!(_la === 33 || _la === 260)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1637; this.match(TrinoSqlParser.T__0); - this.state = 1678; + this.state = 1638; localContext._percentage = this.expression(); - this.state = 1679; + this.state = 1639; this.match(TrinoSqlParser.T__1); } break; @@ -6281,22 +6406,62 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public sampleType(): SampleTypeContext { - let localContext = new SampleTypeContext(this.context, this.state); - this.enterRule(localContext, 96, TrinoSqlParser.RULE_sampleType); + public listAggOverflowBehavior(): ListAggOverflowBehaviorContext { + let localContext = new ListAggOverflowBehaviorContext(this.context, this.state); + this.enterRule(localContext, 84, TrinoSqlParser.RULE_listAggOverflowBehavior); let _la: number; try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1683; - _la = this.tokenStream.LA(1); - if(!(_la === 33 || _la === 260)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } + this.state = 1654; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_ERROR: + this.enterOuterAlt(localContext, 1); + { + this.state = 1643; + this.match(TrinoSqlParser.KW_ERROR); + } + break; + case TrinoSqlParser.KW_TRUNCATE: + this.enterOuterAlt(localContext, 2); + { + this.state = 1644; + this.match(TrinoSqlParser.KW_TRUNCATE); + this.state = 1646; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 327 || _la === 328) { + { + this.state = 1645; + this.string_(); + } + } + + this.state = 1652; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_WITH: + { + this.state = 1648; + this.match(TrinoSqlParser.KW_WITH); + this.state = 1649; + this.match(TrinoSqlParser.KW_COUNT); + } + break; + case TrinoSqlParser.KW_WITHOUT: + { + this.state = 1650; + this.match(TrinoSqlParser.KW_WITHOUT); + this.state = 1651; + this.match(TrinoSqlParser.KW_COUNT); + } + break; + default: + throw new antlr.NoViableAltException(this); + } + } + break; + default: + throw new antlr.NoViableAltException(this); } } catch (re) { @@ -6313,253 +6478,126 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public trimsSpecification(): TrimsSpecificationContext { - let localContext = new TrimsSpecificationContext(this.context, this.state); - this.enterRule(localContext, 98, TrinoSqlParser.RULE_trimsSpecification); + public patternRecognition(): PatternRecognitionContext { + let localContext = new PatternRecognitionContext(this.context, this.state); + this.enterRule(localContext, 86, TrinoSqlParser.RULE_patternRecognition); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1685; - _la = this.tokenStream.LA(1); - if(!(_la === 35 || _la === 151 || _la === 271)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public listAggOverflowBehavior(): ListAggOverflowBehaviorContext { - let localContext = new ListAggOverflowBehaviorContext(this.context, this.state); - this.enterRule(localContext, 100, TrinoSqlParser.RULE_listAggOverflowBehavior); - let _la: number; - try { - this.state = 1693; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_ERROR: - this.enterOuterAlt(localContext, 1); - { - this.state = 1687; - this.match(TrinoSqlParser.KW_ERROR); - } - break; - case TrinoSqlParser.KW_TRUNCATE: - this.enterOuterAlt(localContext, 2); - { - this.state = 1688; - this.match(TrinoSqlParser.KW_TRUNCATE); - this.state = 1690; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 327 || _la === 328) { - { - this.state = 1689; - this.string_(); - } - } - - this.state = 1692; - this.listAggCountIndication(); - } - break; - default: - throw new antlr.NoViableAltException(this); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public listAggCountIndication(): ListAggCountIndicationContext { - let localContext = new ListAggCountIndicationContext(this.context, this.state); - this.enterRule(localContext, 102, TrinoSqlParser.RULE_listAggCountIndication); - try { - this.state = 1699; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_WITH: - this.enterOuterAlt(localContext, 1); - { - this.state = 1695; - this.match(TrinoSqlParser.KW_WITH); - this.state = 1696; - this.match(TrinoSqlParser.KW_COUNT); - } - break; - case TrinoSqlParser.KW_WITHOUT: - this.enterOuterAlt(localContext, 2); - { - this.state = 1697; - this.match(TrinoSqlParser.KW_WITHOUT); - this.state = 1698; - this.match(TrinoSqlParser.KW_COUNT); - } - break; - default: - throw new antlr.NoViableAltException(this); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public patternRecognition(): PatternRecognitionContext { - let localContext = new PatternRecognitionContext(this.context, this.state); - this.enterRule(localContext, 104, TrinoSqlParser.RULE_patternRecognition); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1701; + this.state = 1656; this.aliasedRelation(); - this.state = 1777; + this.state = 1732; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 215, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 219, this.context) ) { case 1: { - this.state = 1702; + this.state = 1657; this.match(TrinoSqlParser.KW_MATCH_RECOGNIZE); - this.state = 1703; + this.state = 1658; this.match(TrinoSqlParser.T__0); - this.state = 1707; + this.state = 1662; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 202) { { - this.state = 1704; + this.state = 1659; this.match(TrinoSqlParser.KW_PARTITION); - this.state = 1705; + this.state = 1660; this.match(TrinoSqlParser.KW_BY); - this.state = 1706; + this.state = 1661; this.partitionBy(); } } - this.state = 1719; + this.state = 1674; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 196) { { - this.state = 1709; + this.state = 1664; this.match(TrinoSqlParser.KW_ORDER); - this.state = 1710; + this.state = 1665; this.match(TrinoSqlParser.KW_BY); - this.state = 1711; + this.state = 1666; this.sortItem(); - this.state = 1716; + this.state = 1671; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1712; + this.state = 1667; this.match(TrinoSqlParser.T__2); - this.state = 1713; + this.state = 1668; this.sortItem(); } } - this.state = 1718; + this.state = 1673; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1730; + this.state = 1685; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 169) { { - this.state = 1721; + this.state = 1676; this.match(TrinoSqlParser.KW_MEASURES); - this.state = 1722; + this.state = 1677; this.measureDefinition(); - this.state = 1727; + this.state = 1682; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1723; + this.state = 1678; this.match(TrinoSqlParser.T__2); - this.state = 1724; + this.state = 1679; this.measureDefinition(); } } - this.state = 1729; + this.state = 1684; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1733; + this.state = 1688; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 22 || _la === 192) { { - this.state = 1732; + this.state = 1687; this.rowsPerMatch(); } } - this.state = 1738; + this.state = 1693; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 21) { { - this.state = 1735; + this.state = 1690; this.match(TrinoSqlParser.KW_AFTER); - this.state = 1736; + this.state = 1691; this.match(TrinoSqlParser.KW_MATCH); - this.state = 1737; + this.state = 1692; this.skipTo(); } } - this.state = 1741; + this.state = 1696; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 125 || _la === 248) { { - this.state = 1740; + this.state = 1695; _la = this.tokenStream.LA(1); if(!(_la === 125 || _la === 248)) { this.errorHandler.recoverInline(this); @@ -6571,87 +6609,87 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 1743; + this.state = 1698; this.match(TrinoSqlParser.KW_PATTERN); - this.state = 1744; + this.state = 1699; this.match(TrinoSqlParser.T__0); - this.state = 1745; + this.state = 1700; this.rowPattern(0); - this.state = 1746; + this.state = 1701; this.match(TrinoSqlParser.T__1); - this.state = 1756; + this.state = 1711; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 258) { { - this.state = 1747; + this.state = 1702; this.match(TrinoSqlParser.KW_SUBSET); - this.state = 1748; + this.state = 1703; this.subsetDefinition(); - this.state = 1753; + this.state = 1708; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1749; + this.state = 1704; this.match(TrinoSqlParser.T__2); - this.state = 1750; + this.state = 1705; this.subsetDefinition(); } } - this.state = 1755; + this.state = 1710; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1758; + this.state = 1713; this.match(TrinoSqlParser.KW_DEFINE); - this.state = 1759; + this.state = 1714; this.variableDefinition(); - this.state = 1764; + this.state = 1719; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1760; + this.state = 1715; this.match(TrinoSqlParser.T__2); - this.state = 1761; + this.state = 1716; this.variableDefinition(); } } - this.state = 1766; + this.state = 1721; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1767; + this.state = 1722; this.match(TrinoSqlParser.T__1); - this.state = 1775; + this.state = 1730; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 214, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 218, this.context) ) { case 1: { - this.state = 1769; + this.state = 1724; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 1768; + this.state = 1723; this.match(TrinoSqlParser.KW_AS); } } - this.state = 1771; + this.state = 1726; this.identifier(); - this.state = 1773; + this.state = 1728; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 213, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 217, this.context) ) { case 1: { - this.state = 1772; + this.state = 1727; this.columnAliases(); } break; @@ -6680,15 +6718,15 @@ export class TrinoSqlParser extends SQLParserBase { } public measureDefinition(): MeasureDefinitionContext { let localContext = new MeasureDefinitionContext(this.context, this.state); - this.enterRule(localContext, 106, TrinoSqlParser.RULE_measureDefinition); + this.enterRule(localContext, 88, TrinoSqlParser.RULE_measureDefinition); try { this.enterOuterAlt(localContext, 1); { - this.state = 1779; + this.state = 1734; this.expression(); - this.state = 1780; + this.state = 1735; this.match(TrinoSqlParser.KW_AS); - this.state = 1781; + this.state = 1736; this.identifier(); } } @@ -6708,104 +6746,76 @@ export class TrinoSqlParser extends SQLParserBase { } public rowsPerMatch(): RowsPerMatchContext { let localContext = new RowsPerMatchContext(this.context, this.state); - this.enterRule(localContext, 108, TrinoSqlParser.RULE_rowsPerMatch); - let _la: number; + this.enterRule(localContext, 90, TrinoSqlParser.RULE_rowsPerMatch); try { - this.state = 1794; + this.state = 1757; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ONE: this.enterOuterAlt(localContext, 1); { - this.state = 1783; + this.state = 1738; this.match(TrinoSqlParser.KW_ONE); - this.state = 1784; + this.state = 1739; this.match(TrinoSqlParser.KW_ROW); - this.state = 1785; + this.state = 1740; this.match(TrinoSqlParser.KW_PER); - this.state = 1786; + this.state = 1741; this.match(TrinoSqlParser.KW_MATCH); } break; case TrinoSqlParser.KW_ALL: this.enterOuterAlt(localContext, 2); { - this.state = 1787; + this.state = 1742; this.match(TrinoSqlParser.KW_ALL); - this.state = 1788; + this.state = 1743; this.match(TrinoSqlParser.KW_ROWS); - this.state = 1789; + this.state = 1744; this.match(TrinoSqlParser.KW_PER); - this.state = 1790; + this.state = 1745; this.match(TrinoSqlParser.KW_MATCH); - this.state = 1792; + this.state = 1755; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 190 || _la === 254 || _la === 305) { + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_SHOW: { - this.state = 1791; - this.emptyMatchHandling(); + this.state = 1746; + this.match(TrinoSqlParser.KW_SHOW); + this.state = 1747; + this.match(TrinoSqlParser.KW_EMPTY); + this.state = 1748; + this.match(TrinoSqlParser.KW_MATCHES); } + break; + case TrinoSqlParser.KW_OMIT: + { + this.state = 1749; + this.match(TrinoSqlParser.KW_OMIT); + this.state = 1750; + this.match(TrinoSqlParser.KW_EMPTY); + this.state = 1751; + this.match(TrinoSqlParser.KW_MATCHES); + } + break; + case TrinoSqlParser.KW_WITH: + { + this.state = 1752; + this.match(TrinoSqlParser.KW_WITH); + this.state = 1753; + this.match(TrinoSqlParser.KW_UNMATCHED); + this.state = 1754; + this.match(TrinoSqlParser.KW_ROWS); + } + break; + case TrinoSqlParser.KW_AFTER: + case TrinoSqlParser.KW_INITIAL: + case TrinoSqlParser.KW_PATTERN: + case TrinoSqlParser.KW_SEEK: + break; + default: + break; } - - } - break; - default: - throw new antlr.NoViableAltException(this); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public emptyMatchHandling(): EmptyMatchHandlingContext { - let localContext = new EmptyMatchHandlingContext(this.context, this.state); - this.enterRule(localContext, 110, TrinoSqlParser.RULE_emptyMatchHandling); - try { - this.state = 1805; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_SHOW: - this.enterOuterAlt(localContext, 1); - { - this.state = 1796; - this.match(TrinoSqlParser.KW_SHOW); - this.state = 1797; - this.match(TrinoSqlParser.KW_EMPTY); - this.state = 1798; - this.match(TrinoSqlParser.KW_MATCHES); - } - break; - case TrinoSqlParser.KW_OMIT: - this.enterOuterAlt(localContext, 2); - { - this.state = 1799; - this.match(TrinoSqlParser.KW_OMIT); - this.state = 1800; - this.match(TrinoSqlParser.KW_EMPTY); - this.state = 1801; - this.match(TrinoSqlParser.KW_MATCHES); - } - break; - case TrinoSqlParser.KW_WITH: - this.enterOuterAlt(localContext, 3); - { - this.state = 1802; - this.match(TrinoSqlParser.KW_WITH); - this.state = 1803; - this.match(TrinoSqlParser.KW_UNMATCHED); - this.state = 1804; - this.match(TrinoSqlParser.KW_ROWS); } break; default: @@ -6828,71 +6838,71 @@ export class TrinoSqlParser extends SQLParserBase { } public skipTo(): SkipToContext { let localContext = new SkipToContext(this.context, this.state); - this.enterRule(localContext, 112, TrinoSqlParser.RULE_skipTo); + this.enterRule(localContext, 92, TrinoSqlParser.RULE_skipTo); try { - this.state = 1826; + this.state = 1778; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 219, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 222, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1807; + this.state = 1759; this.match(TrinoSqlParser.T__4); - this.state = 1808; + this.state = 1760; this.match(TrinoSqlParser.KW_TO); - this.state = 1809; + this.state = 1761; this.match(TrinoSqlParser.KW_NEXT); - this.state = 1810; + this.state = 1762; this.match(TrinoSqlParser.KW_ROW); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1811; + this.state = 1763; this.match(TrinoSqlParser.T__4); - this.state = 1812; + this.state = 1764; this.match(TrinoSqlParser.KW_PAST); - this.state = 1813; + this.state = 1765; this.match(TrinoSqlParser.KW_LAST); - this.state = 1814; + this.state = 1766; this.match(TrinoSqlParser.KW_ROW); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 1815; + this.state = 1767; this.match(TrinoSqlParser.T__4); - this.state = 1816; + this.state = 1768; this.match(TrinoSqlParser.KW_TO); - this.state = 1817; + this.state = 1769; this.match(TrinoSqlParser.KW_FIRST); - this.state = 1818; + this.state = 1770; this.identifier(); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 1819; + this.state = 1771; this.match(TrinoSqlParser.T__4); - this.state = 1820; + this.state = 1772; this.match(TrinoSqlParser.KW_TO); - this.state = 1821; + this.state = 1773; this.match(TrinoSqlParser.KW_LAST); - this.state = 1822; + this.state = 1774; this.identifier(); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 1823; + this.state = 1775; this.match(TrinoSqlParser.T__4); - this.state = 1824; + this.state = 1776; this.match(TrinoSqlParser.KW_TO); - this.state = 1825; + this.state = 1777; this.identifier(); } break; @@ -6914,38 +6924,38 @@ export class TrinoSqlParser extends SQLParserBase { } public subsetDefinition(): SubsetDefinitionContext { let localContext = new SubsetDefinitionContext(this.context, this.state); - this.enterRule(localContext, 114, TrinoSqlParser.RULE_subsetDefinition); + this.enterRule(localContext, 94, TrinoSqlParser.RULE_subsetDefinition); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1828; + this.state = 1780; localContext._name = this.identifier(); - this.state = 1829; + this.state = 1781; this.match(TrinoSqlParser.EQ); - this.state = 1830; + this.state = 1782; this.match(TrinoSqlParser.T__0); - this.state = 1831; + this.state = 1783; localContext._identifier = this.identifier(); localContext._union.push(localContext._identifier); - this.state = 1836; + this.state = 1788; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1832; + this.state = 1784; this.match(TrinoSqlParser.T__2); - this.state = 1833; + this.state = 1785; localContext._identifier = this.identifier(); localContext._union.push(localContext._identifier); } } - this.state = 1838; + this.state = 1790; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1839; + this.state = 1791; this.match(TrinoSqlParser.T__1); } } @@ -6965,15 +6975,15 @@ export class TrinoSqlParser extends SQLParserBase { } public variableDefinition(): VariableDefinitionContext { let localContext = new VariableDefinitionContext(this.context, this.state); - this.enterRule(localContext, 116, TrinoSqlParser.RULE_variableDefinition); + this.enterRule(localContext, 96, TrinoSqlParser.RULE_variableDefinition); try { this.enterOuterAlt(localContext, 1); { - this.state = 1841; + this.state = 1793; this.identifier(); - this.state = 1842; + this.state = 1794; this.match(TrinoSqlParser.KW_AS); - this.state = 1843; + this.state = 1795; this.expression(); } } @@ -6993,36 +7003,36 @@ export class TrinoSqlParser extends SQLParserBase { } public aliasedRelation(): AliasedRelationContext { let localContext = new AliasedRelationContext(this.context, this.state); - this.enterRule(localContext, 118, TrinoSqlParser.RULE_aliasedRelation); + this.enterRule(localContext, 98, TrinoSqlParser.RULE_aliasedRelation); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1845; + this.state = 1797; this.relationPrimary(); - this.state = 1853; + this.state = 1805; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 223, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 226, this.context) ) { case 1: { - this.state = 1847; + this.state = 1799; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 1846; + this.state = 1798; this.match(TrinoSqlParser.KW_AS); } } - this.state = 1849; + this.state = 1801; localContext._alias = this.identifier(); - this.state = 1851; + this.state = 1803; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 222, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 225, this.context) ) { case 1: { - this.state = 1850; + this.state = 1802; this.columnAliases(); } break; @@ -7048,32 +7058,32 @@ export class TrinoSqlParser extends SQLParserBase { } public columnListCreate(): ColumnListCreateContext { let localContext = new ColumnListCreateContext(this.context, this.state); - this.enterRule(localContext, 120, TrinoSqlParser.RULE_columnListCreate); + this.enterRule(localContext, 100, TrinoSqlParser.RULE_columnListCreate); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1855; + this.state = 1807; this.match(TrinoSqlParser.T__0); - this.state = 1856; + this.state = 1808; this.columnNameCreate(); - this.state = 1861; + this.state = 1813; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1857; + this.state = 1809; this.match(TrinoSqlParser.T__2); - this.state = 1858; + this.state = 1810; this.columnNameCreate(); } } - this.state = 1863; + this.state = 1815; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1864; + this.state = 1816; this.match(TrinoSqlParser.T__1); } } @@ -7093,32 +7103,32 @@ export class TrinoSqlParser extends SQLParserBase { } public columnList(): ColumnListContext { let localContext = new ColumnListContext(this.context, this.state); - this.enterRule(localContext, 122, TrinoSqlParser.RULE_columnList); + this.enterRule(localContext, 102, TrinoSqlParser.RULE_columnList); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1866; + this.state = 1818; this.match(TrinoSqlParser.T__0); - this.state = 1867; + this.state = 1819; this.columnRef(); - this.state = 1872; + this.state = 1824; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1868; + this.state = 1820; this.match(TrinoSqlParser.T__2); - this.state = 1869; + this.state = 1821; this.columnRef(); } } - this.state = 1874; + this.state = 1826; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1875; + this.state = 1827; this.match(TrinoSqlParser.T__1); } } @@ -7138,32 +7148,32 @@ export class TrinoSqlParser extends SQLParserBase { } public columnAliases(): ColumnAliasesContext { let localContext = new ColumnAliasesContext(this.context, this.state); - this.enterRule(localContext, 124, TrinoSqlParser.RULE_columnAliases); + this.enterRule(localContext, 104, TrinoSqlParser.RULE_columnAliases); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1877; + this.state = 1829; this.match(TrinoSqlParser.T__0); - this.state = 1878; + this.state = 1830; this.identifier(); - this.state = 1883; + this.state = 1835; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1879; + this.state = 1831; this.match(TrinoSqlParser.T__2); - this.state = 1880; + this.state = 1832; this.identifier(); } } - this.state = 1885; + this.state = 1837; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1886; + this.state = 1838; this.match(TrinoSqlParser.T__1); } } @@ -7183,24 +7193,40 @@ export class TrinoSqlParser extends SQLParserBase { } public relationPrimary(): RelationPrimaryContext { let localContext = new RelationPrimaryContext(this.context, this.state); - this.enterRule(localContext, 126, TrinoSqlParser.RULE_relationPrimary); + this.enterRule(localContext, 106, TrinoSqlParser.RULE_relationPrimary); + let _la: number; try { - this.state = 1897; + this.state = 1853; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 228, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 231, this.context) ) { case 1: localContext = new TableNameContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1888; + this.state = 1840; this.tableOrViewName(); - this.state = 1890; + this.state = 1846; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 227, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 230, this.context) ) { case 1: { - this.state = 1889; - this.queryPeriod(); + this.state = 1841; + this.match(TrinoSqlParser.KW_FOR); + this.state = 1842; + _la = this.tokenStream.LA(1); + if(!(_la === 269 || _la === 299)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1843; + this.match(TrinoSqlParser.KW_AS); + this.state = 1844; + this.match(TrinoSqlParser.KW_OF); + this.state = 1845; + (localContext as TableNameContext)._end = this.valueExpression(0); } break; } @@ -7210,7 +7236,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExpressionSourceTableContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1892; + this.state = 1848; this.relationSourceTable(); } break; @@ -7218,11 +7244,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ParenthesizedRelationContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1893; + this.state = 1849; this.match(TrinoSqlParser.T__0); - this.state = 1894; + this.state = 1850; this.relation(0); - this.state = 1895; + this.state = 1851; this.match(TrinoSqlParser.T__1); } break; @@ -7244,21 +7270,21 @@ export class TrinoSqlParser extends SQLParserBase { } public relationSourceTable(): RelationSourceTableContext { let localContext = new RelationSourceTableContext(this.context, this.state); - this.enterRule(localContext, 128, TrinoSqlParser.RULE_relationSourceTable); + this.enterRule(localContext, 108, TrinoSqlParser.RULE_relationSourceTable); let _la: number; try { - this.state = 1962; + this.state = 1918; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.T__0: localContext = new SubqueryRelationContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1899; + this.state = 1855; this.match(TrinoSqlParser.T__0); - this.state = 1900; + this.state = 1856; this.query(); - this.state = 1901; + this.state = 1857; this.match(TrinoSqlParser.T__1); } break; @@ -7266,38 +7292,38 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UnnestContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1903; + this.state = 1859; this.match(TrinoSqlParser.KW_UNNEST); - this.state = 1904; + this.state = 1860; this.match(TrinoSqlParser.T__0); - this.state = 1905; + this.state = 1861; this.expression(); - this.state = 1910; + this.state = 1866; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1906; + this.state = 1862; this.match(TrinoSqlParser.T__2); - this.state = 1907; + this.state = 1863; this.expression(); } } - this.state = 1912; + this.state = 1868; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1913; + this.state = 1869; this.match(TrinoSqlParser.T__1); - this.state = 1916; + this.state = 1872; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 230, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 233, this.context) ) { case 1: { - this.state = 1914; + this.state = 1870; this.match(TrinoSqlParser.KW_WITH); - this.state = 1915; + this.state = 1871; this.match(TrinoSqlParser.KW_ORDINALITY); } break; @@ -7308,13 +7334,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LateralContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1918; + this.state = 1874; this.match(TrinoSqlParser.KW_LATERAL); - this.state = 1919; + this.state = 1875; this.match(TrinoSqlParser.T__0); - this.state = 1920; + this.state = 1876; this.query(); - this.state = 1921; + this.state = 1877; this.match(TrinoSqlParser.T__1); } break; @@ -7322,13 +7348,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TableFunctionInvocationContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 1923; + this.state = 1879; this.match(TrinoSqlParser.KW_TABLE); - this.state = 1924; + this.state = 1880; this.match(TrinoSqlParser.T__0); - this.state = 1925; + this.state = 1881; this.tableFunctionCall(); - this.state = 1926; + this.state = 1882; this.match(TrinoSqlParser.T__1); } break; @@ -7336,72 +7362,72 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonTableContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 1928; + this.state = 1884; this.match(TrinoSqlParser.KW_JSON_TABLE); - this.state = 1929; + this.state = 1885; this.match(TrinoSqlParser.T__0); - this.state = 1930; + this.state = 1886; this.jsonPathInvocation(); - this.state = 1931; + this.state = 1887; this.match(TrinoSqlParser.KW_COLUMNS); - this.state = 1932; + this.state = 1888; this.match(TrinoSqlParser.T__0); - this.state = 1933; + this.state = 1889; this.jsonTableColumn(); - this.state = 1938; + this.state = 1894; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1934; + this.state = 1890; this.match(TrinoSqlParser.T__2); - this.state = 1935; + this.state = 1891; this.jsonTableColumn(); } } - this.state = 1940; + this.state = 1896; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1941; + this.state = 1897; this.match(TrinoSqlParser.T__1); - this.state = 1953; + this.state = 1909; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 232, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 235, this.context) ) { case 1: { - this.state = 1942; + this.state = 1898; this.match(TrinoSqlParser.KW_PLAN); - this.state = 1943; + this.state = 1899; this.match(TrinoSqlParser.T__0); - this.state = 1944; + this.state = 1900; this.jsonTableSpecificPlan(); - this.state = 1945; + this.state = 1901; this.match(TrinoSqlParser.T__1); } break; case 2: { - this.state = 1947; + this.state = 1903; this.match(TrinoSqlParser.KW_PLAN); - this.state = 1948; + this.state = 1904; this.match(TrinoSqlParser.KW_DEFAULT); - this.state = 1949; + this.state = 1905; this.match(TrinoSqlParser.T__0); - this.state = 1950; + this.state = 1906; this.jsonTableDefaultPlan(); - this.state = 1951; + this.state = 1907; this.match(TrinoSqlParser.T__1); } break; } - this.state = 1958; + this.state = 1914; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 86 || _la === 90) { { - this.state = 1955; + this.state = 1911; _la = this.tokenStream.LA(1); if(!(_la === 86 || _la === 90)) { this.errorHandler.recoverInline(this); @@ -7410,14 +7436,14 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1956; + this.state = 1912; this.match(TrinoSqlParser.KW_ON); - this.state = 1957; + this.state = 1913; this.match(TrinoSqlParser.KW_ERROR); } } - this.state = 1960; + this.state = 1916; this.match(TrinoSqlParser.T__1); } break; @@ -7441,21 +7467,21 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonTableColumn(): JsonTableColumnContext { let localContext = new JsonTableColumnContext(this.context, this.state); - this.enterRule(localContext, 130, TrinoSqlParser.RULE_jsonTableColumn); + this.enterRule(localContext, 110, TrinoSqlParser.RULE_jsonTableColumn); let _la: number; try { - this.state = 2041; + this.state = 1997; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 247, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 250, this.context) ) { case 1: localContext = new OrdinalityColumnContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1964; + this.state = 1920; this.identifier(); - this.state = 1965; + this.state = 1921; this.match(TrinoSqlParser.KW_FOR); - this.state = 1966; + this.state = 1922; this.match(TrinoSqlParser.KW_ORDINALITY); } break; @@ -7463,46 +7489,46 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ValueColumnContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1968; + this.state = 1924; this.identifier(); - this.state = 1969; + this.state = 1925; this.type_(0); - this.state = 1972; + this.state = 1928; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 206) { { - this.state = 1970; + this.state = 1926; this.match(TrinoSqlParser.KW_PATH); - this.state = 1971; + this.state = 1927; this.string_(); } } - this.state = 1978; + this.state = 1934; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 236, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 239, this.context) ) { case 1: { - this.state = 1974; + this.state = 1930; (localContext as ValueColumnContext)._emptyBehavior = this.jsonValueBehavior(); - this.state = 1975; + this.state = 1931; this.match(TrinoSqlParser.KW_ON); - this.state = 1976; + this.state = 1932; this.match(TrinoSqlParser.KW_EMPTY); } break; } - this.state = 1984; + this.state = 1940; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 71 || _la === 90 || _la === 184) { { - this.state = 1980; + this.state = 1936; (localContext as ValueColumnContext)._errorBehavior = this.jsonValueBehavior(); - this.state = 1981; + this.state = 1937; this.match(TrinoSqlParser.KW_ON); - this.state = 1982; + this.state = 1938; this.match(TrinoSqlParser.KW_ERROR); } } @@ -7513,44 +7539,44 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new QueryColumnContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1986; + this.state = 1942; this.identifier(); - this.state = 1987; + this.state = 1943; this.type_(0); - this.state = 1988; + this.state = 1944; this.match(TrinoSqlParser.KW_FORMAT); - this.state = 1989; + this.state = 1945; this.jsonRepresentation(); - this.state = 1992; + this.state = 1948; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 206) { { - this.state = 1990; + this.state = 1946; this.match(TrinoSqlParser.KW_PATH); - this.state = 1991; + this.state = 1947; this.string_(); } } - this.state = 1997; + this.state = 1953; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 305 || _la === 307) { { - this.state = 1994; + this.state = 1950; this.jsonQueryWrapperBehavior(); - this.state = 1995; + this.state = 1951; this.match(TrinoSqlParser.KW_WRAPPER); } } - this.state = 2006; + this.state = 1962; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 145 || _la === 190) { { - this.state = 1999; + this.state = 1955; _la = this.tokenStream.LA(1); if(!(_la === 145 || _la === 190)) { this.errorHandler.recoverInline(this); @@ -7559,18 +7585,18 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2000; + this.state = 1956; this.match(TrinoSqlParser.KW_QUOTES); - this.state = 2004; + this.state = 1960; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 191) { { - this.state = 2001; + this.state = 1957; this.match(TrinoSqlParser.KW_ON); - this.state = 2002; + this.state = 1958; this.match(TrinoSqlParser.KW_SCALAR); - this.state = 2003; + this.state = 1959; this.match(TrinoSqlParser.KW_TEXT_STRING); } } @@ -7578,30 +7604,30 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2012; + this.state = 1968; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 242, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 245, this.context) ) { case 1: { - this.state = 2008; + this.state = 1964; (localContext as QueryColumnContext)._emptyBehavior = this.jsonQueryBehavior(); - this.state = 2009; + this.state = 1965; this.match(TrinoSqlParser.KW_ON); - this.state = 2010; + this.state = 1966; this.match(TrinoSqlParser.KW_EMPTY); } break; } - this.state = 2018; + this.state = 1974; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 86 || _la === 90 || _la === 184) { { - this.state = 2014; + this.state = 1970; (localContext as QueryColumnContext)._errorBehavior = this.jsonQueryBehavior(); - this.state = 2015; + this.state = 1971; this.match(TrinoSqlParser.KW_ON); - this.state = 2016; + this.state = 1972; this.match(TrinoSqlParser.KW_ERROR); } } @@ -7612,55 +7638,55 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new NestedColumnsContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 2020; + this.state = 1976; this.match(TrinoSqlParser.KW_NESTED); - this.state = 2022; + this.state = 1978; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 206) { { - this.state = 2021; + this.state = 1977; this.match(TrinoSqlParser.KW_PATH); } } - this.state = 2024; + this.state = 1980; this.string_(); - this.state = 2027; + this.state = 1983; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 2025; + this.state = 1981; this.match(TrinoSqlParser.KW_AS); - this.state = 2026; + this.state = 1982; this.identifier(); } } - this.state = 2029; + this.state = 1985; this.match(TrinoSqlParser.KW_COLUMNS); - this.state = 2030; + this.state = 1986; this.match(TrinoSqlParser.T__0); - this.state = 2031; + this.state = 1987; this.jsonTableColumn(); - this.state = 2036; + this.state = 1992; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2032; + this.state = 1988; this.match(TrinoSqlParser.T__2); - this.state = 2033; + this.state = 1989; this.jsonTableColumn(); } } - this.state = 2038; + this.state = 1994; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2039; + this.state = 1995; this.match(TrinoSqlParser.T__1); } break; @@ -7682,17 +7708,17 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonTableSpecificPlan(): JsonTableSpecificPlanContext { let localContext = new JsonTableSpecificPlanContext(this.context, this.state); - this.enterRule(localContext, 132, TrinoSqlParser.RULE_jsonTableSpecificPlan); + this.enterRule(localContext, 112, TrinoSqlParser.RULE_jsonTableSpecificPlan); let _la: number; try { - this.state = 2068; + this.state = 2024; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 250, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 253, this.context) ) { case 1: localContext = new LeafPlanContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2043; + this.state = 1999; this.jsonTablePathName(); } break; @@ -7700,9 +7726,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JoinPlanContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2044; + this.state = 2000; this.jsonTablePathName(); - this.state = 2045; + this.state = 2001; _la = this.tokenStream.LA(1); if(!(_la === 126 || _la === 198)) { this.errorHandler.recoverInline(this); @@ -7711,7 +7737,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2046; + this.state = 2002; this.planPrimary(); } break; @@ -7719,25 +7745,25 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UnionPlanContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 2048; + this.state = 2004; this.planPrimary(); - this.state = 2049; + this.state = 2005; this.match(TrinoSqlParser.KW_UNION); - this.state = 2050; + this.state = 2006; this.planPrimary(); - this.state = 2055; + this.state = 2011; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 282) { { { - this.state = 2051; + this.state = 2007; this.match(TrinoSqlParser.KW_UNION); - this.state = 2052; + this.state = 2008; this.planPrimary(); } } - this.state = 2057; + this.state = 2013; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -7747,25 +7773,25 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CrossPlanContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 2058; + this.state = 2014; this.planPrimary(); - this.state = 2059; + this.state = 2015; this.match(TrinoSqlParser.KW_CROSS); - this.state = 2060; + this.state = 2016; this.planPrimary(); - this.state = 2065; + this.state = 2021; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 55) { { { - this.state = 2061; + this.state = 2017; this.match(TrinoSqlParser.KW_CROSS); - this.state = 2062; + this.state = 2018; this.planPrimary(); } } - this.state = 2067; + this.state = 2023; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -7789,11 +7815,11 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonTablePathName(): JsonTablePathNameContext { let localContext = new JsonTablePathNameContext(this.context, this.state); - this.enterRule(localContext, 134, TrinoSqlParser.RULE_jsonTablePathName); + this.enterRule(localContext, 114, TrinoSqlParser.RULE_jsonTablePathName); try { this.enterOuterAlt(localContext, 1); { - this.state = 2070; + this.state = 2026; this.identifier(); } } @@ -7813,9 +7839,9 @@ export class TrinoSqlParser extends SQLParserBase { } public planPrimary(): PlanPrimaryContext { let localContext = new PlanPrimaryContext(this.context, this.state); - this.enterRule(localContext, 136, TrinoSqlParser.RULE_planPrimary); + this.enterRule(localContext, 116, TrinoSqlParser.RULE_planPrimary); try { - this.state = 2077; + this.state = 2033; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ABSENT: @@ -8038,18 +8064,18 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.BACKQUOTED_IDENTIFIER: this.enterOuterAlt(localContext, 1); { - this.state = 2072; + this.state = 2028; this.jsonTablePathName(); } break; case TrinoSqlParser.T__0: this.enterOuterAlt(localContext, 2); { - this.state = 2073; + this.state = 2029; this.match(TrinoSqlParser.T__0); - this.state = 2074; + this.state = 2030; this.jsonTableSpecificPlan(); - this.state = 2075; + this.state = 2031; this.match(TrinoSqlParser.T__1); } break; @@ -8073,17 +8099,17 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonTableDefaultPlan(): JsonTableDefaultPlanContext { let localContext = new JsonTableDefaultPlanContext(this.context, this.state); - this.enterRule(localContext, 138, TrinoSqlParser.RULE_jsonTableDefaultPlan); + this.enterRule(localContext, 118, TrinoSqlParser.RULE_jsonTableDefaultPlan); let _la: number; try { - this.state = 2089; + this.state = 2045; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_INNER: case TrinoSqlParser.KW_OUTER: this.enterOuterAlt(localContext, 1); { - this.state = 2079; + this.state = 2035; _la = this.tokenStream.LA(1); if(!(_la === 126 || _la === 198)) { this.errorHandler.recoverInline(this); @@ -8092,14 +8118,14 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2082; + this.state = 2038; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 3) { { - this.state = 2080; + this.state = 2036; this.match(TrinoSqlParser.T__2); - this.state = 2081; + this.state = 2037; _la = this.tokenStream.LA(1); if(!(_la === 55 || _la === 282)) { this.errorHandler.recoverInline(this); @@ -8117,7 +8143,7 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_UNION: this.enterOuterAlt(localContext, 2); { - this.state = 2084; + this.state = 2040; _la = this.tokenStream.LA(1); if(!(_la === 55 || _la === 282)) { this.errorHandler.recoverInline(this); @@ -8126,14 +8152,14 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2087; + this.state = 2043; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 3) { { - this.state = 2085; + this.state = 2041; this.match(TrinoSqlParser.T__2); - this.state = 2086; + this.state = 2042; _la = this.tokenStream.LA(1); if(!(_la === 126 || _la === 198)) { this.errorHandler.recoverInline(this); @@ -8167,70 +8193,70 @@ export class TrinoSqlParser extends SQLParserBase { } public tableFunctionCall(): TableFunctionCallContext { let localContext = new TableFunctionCallContext(this.context, this.state); - this.enterRule(localContext, 140, TrinoSqlParser.RULE_tableFunctionCall); + this.enterRule(localContext, 120, TrinoSqlParser.RULE_tableFunctionCall); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2091; + this.state = 2047; this.functionName(); - this.state = 2092; + this.state = 2048; this.match(TrinoSqlParser.T__0); - this.state = 2101; + this.state = 2057; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 256, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 259, this.context) ) { case 1: { - this.state = 2093; + this.state = 2049; this.tableFunctionArgument(); - this.state = 2098; + this.state = 2054; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2094; + this.state = 2050; this.match(TrinoSqlParser.T__2); - this.state = 2095; + this.state = 2051; this.tableFunctionArgument(); } } - this.state = 2100; + this.state = 2056; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } break; } - this.state = 2112; + this.state = 2068; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 53) { { - this.state = 2103; + this.state = 2059; this.match(TrinoSqlParser.KW_COPARTITION); - this.state = 2104; + this.state = 2060; this.coPartitionTables(); - this.state = 2109; + this.state = 2065; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2105; + this.state = 2061; this.match(TrinoSqlParser.T__2); - this.state = 2106; + this.state = 2062; this.coPartitionTables(); } } - this.state = 2111; + this.state = 2067; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2114; + this.state = 2070; this.match(TrinoSqlParser.T__1); } } @@ -8250,40 +8276,40 @@ export class TrinoSqlParser extends SQLParserBase { } public tableFunctionArgument(): TableFunctionArgumentContext { let localContext = new TableFunctionArgumentContext(this.context, this.state); - this.enterRule(localContext, 142, TrinoSqlParser.RULE_tableFunctionArgument); + this.enterRule(localContext, 122, TrinoSqlParser.RULE_tableFunctionArgument); try { this.enterOuterAlt(localContext, 1); { - this.state = 2119; + this.state = 2075; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 259, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 262, this.context) ) { case 1: { - this.state = 2116; + this.state = 2072; this.identifier(); - this.state = 2117; + this.state = 2073; this.match(TrinoSqlParser.T__5); } break; } - this.state = 2124; + this.state = 2080; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 260, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 263, this.context) ) { case 1: { - this.state = 2121; + this.state = 2077; this.tableArgument(); } break; case 2: { - this.state = 2122; + this.state = 2078; this.descriptorArgument(); } break; case 3: { - this.state = 2123; + this.state = 2079; this.expression(); } break; @@ -8306,46 +8332,46 @@ export class TrinoSqlParser extends SQLParserBase { } public tableArgument(): TableArgumentContext { let localContext = new TableArgumentContext(this.context, this.state); - this.enterRule(localContext, 144, TrinoSqlParser.RULE_tableArgument); + this.enterRule(localContext, 124, TrinoSqlParser.RULE_tableArgument); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2126; + this.state = 2082; this.tableArgumentRelation(); - this.state = 2137; + this.state = 2093; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 202) { { - this.state = 2127; + this.state = 2083; this.match(TrinoSqlParser.KW_PARTITION); - this.state = 2128; + this.state = 2084; this.match(TrinoSqlParser.KW_BY); - this.state = 2135; + this.state = 2091; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 262, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 265, this.context) ) { case 1: { - this.state = 2129; + this.state = 2085; this.match(TrinoSqlParser.T__0); - this.state = 2131; + this.state = 2087; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 3728211947) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 2781797343) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 3082285823) !== 0) || ((((_la - 130)) & ~0x1F) === 0 && ((1 << (_la - 130)) & 4253015917) !== 0) || ((((_la - 162)) & ~0x1F) === 0 && ((1 << (_la - 162)) & 3758094335) !== 0) || ((((_la - 194)) & ~0x1F) === 0 && ((1 << (_la - 194)) & 4024434665) !== 0) || ((((_la - 226)) & ~0x1F) === 0 && ((1 << (_la - 226)) & 4286569983) !== 0) || ((((_la - 258)) & ~0x1F) === 0 && ((1 << (_la - 258)) & 4008705783) !== 0) || ((((_la - 290)) & ~0x1F) === 0 && ((1 << (_la - 290)) & 1618962301) !== 0) || ((((_la - 325)) & ~0x1F) === 0 && ((1 << (_la - 325)) & 4093) !== 0)) { { - this.state = 2130; + this.state = 2086; this.partitionBy(); } } - this.state = 2133; + this.state = 2089; this.match(TrinoSqlParser.T__1); } break; case 2: { - this.state = 2134; + this.state = 2090; this.expression(); } break; @@ -8353,26 +8379,26 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2145; + this.state = 2101; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_PRUNE: { - this.state = 2139; + this.state = 2095; this.match(TrinoSqlParser.KW_PRUNE); - this.state = 2140; + this.state = 2096; this.match(TrinoSqlParser.KW_WHEN); - this.state = 2141; + this.state = 2097; this.match(TrinoSqlParser.KW_EMPTY); } break; case TrinoSqlParser.KW_KEEP: { - this.state = 2142; + this.state = 2098; this.match(TrinoSqlParser.KW_KEEP); - this.state = 2143; + this.state = 2099; this.match(TrinoSqlParser.KW_WHEN); - this.state = 2144; + this.state = 2100; this.match(TrinoSqlParser.KW_EMPTY); } break; @@ -8384,47 +8410,47 @@ export class TrinoSqlParser extends SQLParserBase { default: break; } - this.state = 2163; + this.state = 2119; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 196) { { - this.state = 2147; + this.state = 2103; this.match(TrinoSqlParser.KW_ORDER); - this.state = 2148; + this.state = 2104; this.match(TrinoSqlParser.KW_BY); - this.state = 2161; + this.state = 2117; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 266, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 269, this.context) ) { case 1: { - this.state = 2149; + this.state = 2105; this.match(TrinoSqlParser.T__0); - this.state = 2150; + this.state = 2106; this.sortItem(); - this.state = 2155; + this.state = 2111; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2151; + this.state = 2107; this.match(TrinoSqlParser.T__2); - this.state = 2152; + this.state = 2108; this.sortItem(); } } - this.state = 2157; + this.state = 2113; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2158; + this.state = 2114; this.match(TrinoSqlParser.T__1); } break; case 2: { - this.state = 2160; + this.state = 2116; this.sortItem(); } break; @@ -8450,47 +8476,47 @@ export class TrinoSqlParser extends SQLParserBase { } public tableArgumentRelation(): TableArgumentRelationContext { let localContext = new TableArgumentRelationContext(this.context, this.state); - this.enterRule(localContext, 146, TrinoSqlParser.RULE_tableArgumentRelation); + this.enterRule(localContext, 126, TrinoSqlParser.RULE_tableArgumentRelation); let _la: number; try { - this.state = 2191; + this.state = 2147; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 274, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 277, this.context) ) { case 1: localContext = new TableArgumentTableContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2165; + this.state = 2121; this.match(TrinoSqlParser.KW_TABLE); - this.state = 2166; + this.state = 2122; this.match(TrinoSqlParser.T__0); - this.state = 2167; + this.state = 2123; this.tableRef(); - this.state = 2168; + this.state = 2124; this.match(TrinoSqlParser.T__1); - this.state = 2176; + this.state = 2132; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 270, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 273, this.context) ) { case 1: { - this.state = 2170; + this.state = 2126; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 2169; + this.state = 2125; this.match(TrinoSqlParser.KW_AS); } } - this.state = 2172; + this.state = 2128; this.identifier(); - this.state = 2174; + this.state = 2130; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 2173; + this.state = 2129; this.columnAliases(); } } @@ -8504,37 +8530,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TableArgumentQueryContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2178; + this.state = 2134; this.match(TrinoSqlParser.KW_TABLE); - this.state = 2179; + this.state = 2135; this.match(TrinoSqlParser.T__0); - this.state = 2180; + this.state = 2136; this.query(); - this.state = 2181; + this.state = 2137; this.match(TrinoSqlParser.T__1); - this.state = 2189; + this.state = 2145; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 273, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 276, this.context) ) { case 1: { - this.state = 2183; + this.state = 2139; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 2182; + this.state = 2138; this.match(TrinoSqlParser.KW_AS); } } - this.state = 2185; + this.state = 2141; this.identifier(); - this.state = 2187; + this.state = 2143; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 2186; + this.state = 2142; this.columnAliases(); } } @@ -8562,55 +8588,55 @@ export class TrinoSqlParser extends SQLParserBase { } public descriptorArgument(): DescriptorArgumentContext { let localContext = new DescriptorArgumentContext(this.context, this.state); - this.enterRule(localContext, 148, TrinoSqlParser.RULE_descriptorArgument); + this.enterRule(localContext, 128, TrinoSqlParser.RULE_descriptorArgument); let _la: number; try { - this.state = 2211; + this.state = 2167; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_DESCRIPTOR: this.enterOuterAlt(localContext, 1); { - this.state = 2193; + this.state = 2149; this.match(TrinoSqlParser.KW_DESCRIPTOR); - this.state = 2194; + this.state = 2150; this.match(TrinoSqlParser.T__0); - this.state = 2195; + this.state = 2151; this.descriptorField(); - this.state = 2200; + this.state = 2156; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2196; + this.state = 2152; this.match(TrinoSqlParser.T__2); - this.state = 2197; + this.state = 2153; this.descriptorField(); } } - this.state = 2202; + this.state = 2158; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2203; + this.state = 2159; this.match(TrinoSqlParser.T__1); } break; case TrinoSqlParser.KW_CAST: this.enterOuterAlt(localContext, 2); { - this.state = 2205; + this.state = 2161; this.match(TrinoSqlParser.KW_CAST); - this.state = 2206; + this.state = 2162; this.match(TrinoSqlParser.T__0); - this.state = 2207; + this.state = 2163; this.match(TrinoSqlParser.KW_NULL); - this.state = 2208; + this.state = 2164; this.match(TrinoSqlParser.KW_AS); - this.state = 2209; + this.state = 2165; this.match(TrinoSqlParser.KW_DESCRIPTOR); - this.state = 2210; + this.state = 2166; this.match(TrinoSqlParser.T__1); } break; @@ -8634,19 +8660,19 @@ export class TrinoSqlParser extends SQLParserBase { } public descriptorField(): DescriptorFieldContext { let localContext = new DescriptorFieldContext(this.context, this.state); - this.enterRule(localContext, 150, TrinoSqlParser.RULE_descriptorField); + this.enterRule(localContext, 130, TrinoSqlParser.RULE_descriptorField); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2213; + this.state = 2169; this.identifier(); - this.state = 2215; + this.state = 2171; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 50)) & ~0x1F) === 0 && ((1 << (_la - 50)) & 3069640845) !== 0) || ((((_la - 82)) & ~0x1F) === 0 && ((1 << (_la - 82)) & 4240329075) !== 0) || ((((_la - 114)) & ~0x1F) === 0 && ((1 << (_la - 114)) & 2171416041) !== 0) || ((((_la - 146)) & ~0x1F) === 0 && ((1 << (_la - 146)) & 4160722303) !== 0) || ((((_la - 178)) & ~0x1F) === 0 && ((1 << (_la - 178)) & 4293517199) !== 0) || ((((_la - 210)) & ~0x1F) === 0 && ((1 << (_la - 210)) & 3724537823) !== 0) || ((((_la - 242)) & ~0x1F) === 0 && ((1 << (_la - 242)) & 2130182015) !== 0) || ((((_la - 275)) & ~0x1F) === 0 && ((1 << (_la - 275)) & 3015636855) !== 0) || ((((_la - 307)) & ~0x1F) === 0 && ((1 << (_la - 307)) & 1006633023) !== 0)) { { - this.state = 2214; + this.state = 2170; this.type_(0); } } @@ -8669,36 +8695,36 @@ export class TrinoSqlParser extends SQLParserBase { } public coPartitionTables(): CoPartitionTablesContext { let localContext = new CoPartitionTablesContext(this.context, this.state); - this.enterRule(localContext, 152, TrinoSqlParser.RULE_coPartitionTables); + this.enterRule(localContext, 132, TrinoSqlParser.RULE_coPartitionTables); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2217; + this.state = 2173; this.match(TrinoSqlParser.T__0); - this.state = 2218; + this.state = 2174; this.qualifiedName(); - this.state = 2219; + this.state = 2175; this.match(TrinoSqlParser.T__2); - this.state = 2220; + this.state = 2176; this.qualifiedName(); - this.state = 2225; + this.state = 2181; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2221; + this.state = 2177; this.match(TrinoSqlParser.T__2); - this.state = 2222; + this.state = 2178; this.qualifiedName(); } } - this.state = 2227; + this.state = 2183; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2228; + this.state = 2184; this.match(TrinoSqlParser.T__1); } } @@ -8718,11 +8744,11 @@ export class TrinoSqlParser extends SQLParserBase { } public expression(): ExpressionContext { let localContext = new ExpressionContext(this.context, this.state); - this.enterRule(localContext, 154, TrinoSqlParser.RULE_expression); + this.enterRule(localContext, 134, TrinoSqlParser.RULE_expression); try { this.enterOuterAlt(localContext, 1); { - this.state = 2230; + this.state = 2186; this.booleanExpression(0); } } @@ -8752,13 +8778,13 @@ export class TrinoSqlParser extends SQLParserBase { let parentState = this.state; let localContext = new BooleanExpressionContext(this.context, parentState); let previousContext = localContext; - let _startState = 156; - this.enterRecursionRule(localContext, 156, TrinoSqlParser.RULE_booleanExpression, _p); + let _startState = 136; + this.enterRecursionRule(localContext, 136, TrinoSqlParser.RULE_booleanExpression, _p); try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 2239; + this.state = 2195; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.T__0: @@ -9019,14 +9045,14 @@ export class TrinoSqlParser extends SQLParserBase { this.context = localContext; previousContext = localContext; - this.state = 2233; + this.state = 2189; (localContext as PredicatedContext)._valueExpression = this.valueExpression(0); - this.state = 2235; + this.state = 2191; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 279, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 282, this.context) ) { case 1: { - this.state = 2234; + this.state = 2190; this.predicate((localContext as PredicatedContext)._valueExpression); } break; @@ -9038,9 +9064,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LogicalNotContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2237; + this.state = 2193; this.match(TrinoSqlParser.KW_NOT); - this.state = 2238; + this.state = 2194; this.booleanExpression(3); } break; @@ -9048,9 +9074,9 @@ export class TrinoSqlParser extends SQLParserBase { throw new antlr.NoViableAltException(this); } this.context!.stop = this.tokenStream.LT(-1); - this.state = 2249; + this.state = 2205; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 282, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 285, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { if (this._parseListeners != null) { @@ -9058,20 +9084,20 @@ export class TrinoSqlParser extends SQLParserBase { } previousContext = localContext; { - this.state = 2247; + this.state = 2203; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 281, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 284, this.context) ) { case 1: { localContext = new AndContext(new BooleanExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_booleanExpression); - this.state = 2241; + this.state = 2197; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 2242; + this.state = 2198; this.match(TrinoSqlParser.KW_AND); - this.state = 2243; + this.state = 2199; this.booleanExpression(3); } break; @@ -9079,22 +9105,22 @@ export class TrinoSqlParser extends SQLParserBase { { localContext = new OrContext(new BooleanExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_booleanExpression); - this.state = 2244; + this.state = 2200; if (!(this.precpred(this.context, 1))) { throw this.createFailedPredicateException("this.precpred(this.context, 1)"); } - this.state = 2245; + this.state = 2201; this.match(TrinoSqlParser.KW_OR); - this.state = 2246; + this.state = 2202; this.booleanExpression(2); } break; } } } - this.state = 2251; + this.state = 2207; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 282, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 285, this.context); } } } @@ -9114,19 +9140,19 @@ export class TrinoSqlParser extends SQLParserBase { } public predicate(value: antlr.ParserRuleContext): PredicateContext { let localContext = new PredicateContext(this.context, this.state, value); - this.enterRule(localContext, 158, TrinoSqlParser.RULE_predicate); + this.enterRule(localContext, 138, TrinoSqlParser.RULE_predicate); let _la: number; try { - this.state = 2313; + this.state = 2269; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 291, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 294, this.context) ) { case 1: localContext = new ComparisonContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2252; + this.state = 2208; this.comparisonOperator(); - this.state = 2253; + this.state = 2209; (localContext as ComparisonContext)._right = this.valueExpression(0); } break; @@ -9134,15 +9160,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new QuantifiedComparisonContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2255; + this.state = 2211; this.comparisonOperator(); - this.state = 2256; + this.state = 2212; this.comparisonQuantifier(); - this.state = 2257; + this.state = 2213; this.match(TrinoSqlParser.T__0); - this.state = 2258; + this.state = 2214; this.query(); - this.state = 2259; + this.state = 2215; this.match(TrinoSqlParser.T__1); } break; @@ -9150,23 +9176,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new BetweenContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 2262; + this.state = 2218; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 183) { { - this.state = 2261; + this.state = 2217; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2264; + this.state = 2220; this.match(TrinoSqlParser.KW_BETWEEN); - this.state = 2265; + this.state = 2221; (localContext as BetweenContext)._lower = this.valueExpression(0); - this.state = 2266; + this.state = 2222; this.match(TrinoSqlParser.KW_AND); - this.state = 2267; + this.state = 2223; (localContext as BetweenContext)._upper = this.valueExpression(0); } break; @@ -9174,39 +9200,39 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new InListContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 2270; + this.state = 2226; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 183) { { - this.state = 2269; + this.state = 2225; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2272; + this.state = 2228; this.match(TrinoSqlParser.KW_IN); - this.state = 2273; + this.state = 2229; this.match(TrinoSqlParser.T__0); - this.state = 2274; + this.state = 2230; this.expression(); - this.state = 2279; + this.state = 2235; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2275; + this.state = 2231; this.match(TrinoSqlParser.T__2); - this.state = 2276; + this.state = 2232; this.expression(); } } - this.state = 2281; + this.state = 2237; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2282; + this.state = 2238; this.match(TrinoSqlParser.T__1); } break; @@ -9214,23 +9240,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new InSubqueryContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 2285; + this.state = 2241; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 183) { { - this.state = 2284; + this.state = 2240; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2287; + this.state = 2243; this.match(TrinoSqlParser.KW_IN); - this.state = 2288; + this.state = 2244; this.match(TrinoSqlParser.T__0); - this.state = 2289; + this.state = 2245; this.query(); - this.state = 2290; + this.state = 2246; this.match(TrinoSqlParser.T__1); } break; @@ -9238,28 +9264,28 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LikeContext(localContext); this.enterOuterAlt(localContext, 6); { - this.state = 2293; + this.state = 2249; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 183) { { - this.state = 2292; + this.state = 2248; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2295; + this.state = 2251; this.match(TrinoSqlParser.KW_LIKE); - this.state = 2296; + this.state = 2252; (localContext as LikeContext)._pattern = this.valueExpression(0); - this.state = 2299; + this.state = 2255; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 288, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 291, this.context) ) { case 1: { - this.state = 2297; + this.state = 2253; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 2298; + this.state = 2254; (localContext as LikeContext)._escape = this.valueExpression(0); } break; @@ -9270,19 +9296,19 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new NullPredicateContext(localContext); this.enterOuterAlt(localContext, 7); { - this.state = 2301; + this.state = 2257; this.match(TrinoSqlParser.KW_IS); - this.state = 2303; + this.state = 2259; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 183) { { - this.state = 2302; + this.state = 2258; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2305; + this.state = 2261; this.match(TrinoSqlParser.KW_NULL); } break; @@ -9290,23 +9316,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DistinctFromContext(localContext); this.enterOuterAlt(localContext, 8); { - this.state = 2306; + this.state = 2262; this.match(TrinoSqlParser.KW_IS); - this.state = 2308; + this.state = 2264; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 183) { { - this.state = 2307; + this.state = 2263; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2310; + this.state = 2266; this.match(TrinoSqlParser.KW_DISTINCT); - this.state = 2311; + this.state = 2267; this.match(TrinoSqlParser.KW_FROM); - this.state = 2312; + this.state = 2268; (localContext as DistinctFromContext)._right = this.valueExpression(0); } break; @@ -9338,23 +9364,23 @@ export class TrinoSqlParser extends SQLParserBase { let parentState = this.state; let localContext = new ValueExpressionContext(this.context, parentState); let previousContext = localContext; - let _startState = 160; - this.enterRecursionRule(localContext, 160, TrinoSqlParser.RULE_valueExpression, _p); + let _startState = 140; + this.enterRecursionRule(localContext, 140, TrinoSqlParser.RULE_valueExpression, _p); let _la: number; try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 2319; + this.state = 2275; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 292, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 295, this.context) ) { case 1: { localContext = new ValueExpressionDefaultContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2316; + this.state = 2272; this.primaryExpression(0); } break; @@ -9363,7 +9389,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ArithmeticUnaryContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2317; + this.state = 2273; (localContext as ArithmeticUnaryContext)._operator = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 319 || _la === 320)) { @@ -9373,15 +9399,15 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2318; + this.state = 2274; this.valueExpression(4); } break; } this.context!.stop = this.tokenStream.LT(-1); - this.state = 2335; + this.state = 2298; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 294, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 298, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { if (this._parseListeners != null) { @@ -9389,19 +9415,19 @@ export class TrinoSqlParser extends SQLParserBase { } previousContext = localContext; { - this.state = 2333; + this.state = 2296; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 293, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 297, this.context) ) { case 1: { localContext = new ArithmeticBinaryContext(new ValueExpressionContext(parentContext, parentState)); (localContext as ArithmeticBinaryContext)._left = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); - this.state = 2321; + this.state = 2277; if (!(this.precpred(this.context, 3))) { throw this.createFailedPredicateException("this.precpred(this.context, 3)"); } - this.state = 2322; + this.state = 2278; (localContext as ArithmeticBinaryContext)._operator = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(((((_la - 321)) & ~0x1F) === 0 && ((1 << (_la - 321)) & 7) !== 0))) { @@ -9411,7 +9437,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2323; + this.state = 2279; (localContext as ArithmeticBinaryContext)._right = this.valueExpression(4); } break; @@ -9420,11 +9446,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ArithmeticBinaryContext(new ValueExpressionContext(parentContext, parentState)); (localContext as ArithmeticBinaryContext)._left = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); - this.state = 2324; + this.state = 2280; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 2325; + this.state = 2281; (localContext as ArithmeticBinaryContext)._operator = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 319 || _la === 320)) { @@ -9434,7 +9460,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2326; + this.state = 2282; (localContext as ArithmeticBinaryContext)._right = this.valueExpression(3); } break; @@ -9443,13 +9469,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ConcatenationContext(new ValueExpressionContext(parentContext, parentState)); (localContext as ConcatenationContext)._left = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); - this.state = 2327; + this.state = 2283; if (!(this.precpred(this.context, 1))) { throw this.createFailedPredicateException("this.precpred(this.context, 1)"); } - this.state = 2328; + this.state = 2284; this.match(TrinoSqlParser.CONCAT); - this.state = 2329; + this.state = 2285; (localContext as ConcatenationContext)._right = this.valueExpression(2); } break; @@ -9457,22 +9483,44 @@ export class TrinoSqlParser extends SQLParserBase { { localContext = new AtTimeZoneContext(new ValueExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); - this.state = 2330; + this.state = 2286; if (!(this.precpred(this.context, 5))) { throw this.createFailedPredicateException("this.precpred(this.context, 5)"); } - this.state = 2331; + this.state = 2287; this.match(TrinoSqlParser.KW_AT); - this.state = 2332; - this.timeZoneSpecifier(); + this.state = 2294; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 296, this.context) ) { + case 1: + { + this.state = 2288; + this.match(TrinoSqlParser.KW_TIME); + this.state = 2289; + this.match(TrinoSqlParser.KW_ZONE); + this.state = 2290; + this.interval(); + } + break; + case 2: + { + this.state = 2291; + this.match(TrinoSqlParser.KW_TIME); + this.state = 2292; + this.match(TrinoSqlParser.KW_ZONE); + this.state = 2293; + this.string_(); + } + break; + } } break; } } } - this.state = 2337; + this.state = 2300; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 294, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 298, this.context); } } } @@ -9502,23 +9550,23 @@ export class TrinoSqlParser extends SQLParserBase { let parentState = this.state; let localContext = new PrimaryExpressionContext(this.context, parentState); let previousContext = localContext; - let _startState = 162; - this.enterRecursionRule(localContext, 162, TrinoSqlParser.RULE_primaryExpression, _p); + let _startState = 142; + this.enterRecursionRule(localContext, 142, TrinoSqlParser.RULE_primaryExpression, _p); let _la: number; try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 2803; + this.state = 2768; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 359, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 363, this.context) ) { case 1: { localContext = new NullLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2339; + this.state = 2302; this.match(TrinoSqlParser.KW_NULL); } break; @@ -9527,7 +9575,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new IntervalLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2340; + this.state = 2303; this.interval(); } break; @@ -9536,9 +9584,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TypeConstructorContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2341; + this.state = 2304; this.identifier(); - this.state = 2342; + this.state = 2305; this.string_(); } break; @@ -9547,11 +9595,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TypeConstructorContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2344; + this.state = 2307; this.match(TrinoSqlParser.KW_DOUBLE); - this.state = 2345; + this.state = 2308; this.match(TrinoSqlParser.KW_PRECISION); - this.state = 2346; + this.state = 2309; this.string_(); } break; @@ -9560,7 +9608,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new NumericLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2347; + this.state = 2310; this.number_(); } break; @@ -9569,8 +9617,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new BooleanLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2348; - this.booleanValue(); + this.state = 2311; + _la = this.tokenStream.LA(1); + if(!(_la === 98 || _la === 274)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } } break; case 7: @@ -9578,7 +9633,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new StringLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2349; + this.state = 2312; this.string_(); } break; @@ -9587,7 +9642,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new BinaryLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2350; + this.state = 2313; this.match(TrinoSqlParser.BINARY_LITERAL); } break; @@ -9596,7 +9651,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ParameterContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2351; + this.state = 2314; this.match(TrinoSqlParser.QUESTION_MARK); } break; @@ -9605,17 +9660,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new PositionContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2352; + this.state = 2315; this.match(TrinoSqlParser.KW_POSITION); - this.state = 2353; + this.state = 2316; this.match(TrinoSqlParser.T__0); - this.state = 2354; + this.state = 2317; this.valueExpression(0); - this.state = 2355; + this.state = 2318; this.match(TrinoSqlParser.KW_IN); - this.state = 2356; + this.state = 2319; this.valueExpression(0); - this.state = 2357; + this.state = 2320; this.match(TrinoSqlParser.T__1); } break; @@ -9624,27 +9679,27 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RowConstructorContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2359; + this.state = 2322; this.match(TrinoSqlParser.T__0); - this.state = 2360; + this.state = 2323; this.expression(); - this.state = 2363; + this.state = 2326; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); do { { { - this.state = 2361; + this.state = 2324; this.match(TrinoSqlParser.T__2); - this.state = 2362; + this.state = 2325; this.expression(); } } - this.state = 2365; + this.state = 2328; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } while (_la === 3); - this.state = 2367; + this.state = 2330; this.match(TrinoSqlParser.T__1); } break; @@ -9653,29 +9708,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RowConstructorContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2369; + this.state = 2332; this.match(TrinoSqlParser.KW_ROW); - this.state = 2370; + this.state = 2333; this.match(TrinoSqlParser.T__0); - this.state = 2371; + this.state = 2334; this.expression(); - this.state = 2376; + this.state = 2339; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2372; + this.state = 2335; this.match(TrinoSqlParser.T__2); - this.state = 2373; + this.state = 2336; this.expression(); } } - this.state = 2378; + this.state = 2341; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2379; + this.state = 2342; this.match(TrinoSqlParser.T__1); } break; @@ -9684,88 +9739,88 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ListAggContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2381; + this.state = 2344; (localContext as ListAggContext)._name = this.match(TrinoSqlParser.KW_LISTAGG); - this.state = 2382; + this.state = 2345; this.match(TrinoSqlParser.T__0); - this.state = 2384; + this.state = 2347; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 297, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 301, this.context) ) { case 1: { - this.state = 2383; + this.state = 2346; this.setQuantifier(); } break; } - this.state = 2386; + this.state = 2349; this.expression(); - this.state = 2389; + this.state = 2352; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 3) { { - this.state = 2387; + this.state = 2350; this.match(TrinoSqlParser.T__2); - this.state = 2388; + this.state = 2351; this.string_(); } } - this.state = 2394; + this.state = 2357; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 191) { { - this.state = 2391; + this.state = 2354; this.match(TrinoSqlParser.KW_ON); - this.state = 2392; + this.state = 2355; this.match(TrinoSqlParser.KW_OVERFLOW); - this.state = 2393; + this.state = 2356; this.listAggOverflowBehavior(); } } - this.state = 2396; + this.state = 2359; this.match(TrinoSqlParser.T__1); { - this.state = 2397; + this.state = 2360; this.match(TrinoSqlParser.KW_WITHIN); - this.state = 2398; + this.state = 2361; this.match(TrinoSqlParser.KW_GROUP); - this.state = 2399; + this.state = 2362; this.match(TrinoSqlParser.T__0); - this.state = 2400; + this.state = 2363; this.match(TrinoSqlParser.KW_ORDER); - this.state = 2401; + this.state = 2364; this.match(TrinoSqlParser.KW_BY); - this.state = 2402; + this.state = 2365; this.sortItem(); - this.state = 2407; + this.state = 2370; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2403; + this.state = 2366; this.match(TrinoSqlParser.T__2); - this.state = 2404; + this.state = 2367; this.sortItem(); } } - this.state = 2409; + this.state = 2372; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2410; + this.state = 2373; this.match(TrinoSqlParser.T__1); } - this.state = 2413; + this.state = 2376; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 301, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 305, this.context) ) { case 1: { - this.state = 2412; + this.state = 2375; this.filter(); } break; @@ -9777,52 +9832,52 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new FunctionCallContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2416; + this.state = 2379; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 302, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 306, this.context) ) { case 1: { - this.state = 2415; + this.state = 2378; this.processingMode(); } break; } - this.state = 2418; + this.state = 2381; this.functionName(); - this.state = 2419; + this.state = 2382; this.match(TrinoSqlParser.T__0); - this.state = 2423; + this.state = 2386; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 50)) & ~0x1F) === 0 && ((1 << (_la - 50)) & 3069640845) !== 0) || ((((_la - 82)) & ~0x1F) === 0 && ((1 << (_la - 82)) & 4240329075) !== 0) || ((((_la - 114)) & ~0x1F) === 0 && ((1 << (_la - 114)) & 2171416041) !== 0) || ((((_la - 146)) & ~0x1F) === 0 && ((1 << (_la - 146)) & 4160722303) !== 0) || ((((_la - 178)) & ~0x1F) === 0 && ((1 << (_la - 178)) & 4293517199) !== 0) || ((((_la - 210)) & ~0x1F) === 0 && ((1 << (_la - 210)) & 3724537823) !== 0) || ((((_la - 242)) & ~0x1F) === 0 && ((1 << (_la - 242)) & 2130182015) !== 0) || ((((_la - 275)) & ~0x1F) === 0 && ((1 << (_la - 275)) & 3015636855) !== 0) || ((((_la - 307)) & ~0x1F) === 0 && ((1 << (_la - 307)) & 1006633023) !== 0)) { { - this.state = 2420; + this.state = 2383; (localContext as FunctionCallContext)._label = this.identifier(); - this.state = 2421; + this.state = 2384; this.match(TrinoSqlParser.T__3); } } - this.state = 2425; + this.state = 2388; this.match(TrinoSqlParser.ASTERISK); - this.state = 2426; + this.state = 2389; this.match(TrinoSqlParser.T__1); - this.state = 2428; + this.state = 2391; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 304, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 308, this.context) ) { case 1: { - this.state = 2427; + this.state = 2390; this.filter(); } break; } - this.state = 2431; + this.state = 2394; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 305, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 309, this.context) ) { case 1: { - this.state = 2430; + this.state = 2393; this.over(); } break; @@ -9834,114 +9889,128 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new FunctionCallContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2434; + this.state = 2397; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 306, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 310, this.context) ) { case 1: { - this.state = 2433; + this.state = 2396; this.processingMode(); } break; } - this.state = 2436; + this.state = 2399; this.functionName(); - this.state = 2437; + this.state = 2400; this.match(TrinoSqlParser.T__0); - this.state = 2449; + this.state = 2412; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 3728211947) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 2781862879) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 3082285823) !== 0) || ((((_la - 130)) & ~0x1F) === 0 && ((1 << (_la - 130)) & 4253015917) !== 0) || ((((_la - 162)) & ~0x1F) === 0 && ((1 << (_la - 162)) & 3758094335) !== 0) || ((((_la - 194)) & ~0x1F) === 0 && ((1 << (_la - 194)) & 4024434665) !== 0) || ((((_la - 226)) & ~0x1F) === 0 && ((1 << (_la - 226)) & 4286569983) !== 0) || ((((_la - 258)) & ~0x1F) === 0 && ((1 << (_la - 258)) & 4008705783) !== 0) || ((((_la - 290)) & ~0x1F) === 0 && ((1 << (_la - 290)) & 1618962301) !== 0) || ((((_la - 325)) & ~0x1F) === 0 && ((1 << (_la - 325)) & 4093) !== 0)) { { - this.state = 2439; + this.state = 2402; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 307, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 311, this.context) ) { case 1: { - this.state = 2438; + this.state = 2401; this.setQuantifier(); } break; } - this.state = 2441; + this.state = 2404; this.expression(); - this.state = 2446; + this.state = 2409; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2442; + this.state = 2405; this.match(TrinoSqlParser.T__2); - this.state = 2443; + this.state = 2406; this.expression(); } } - this.state = 2448; + this.state = 2411; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2461; + this.state = 2424; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 196) { { - this.state = 2451; + this.state = 2414; this.match(TrinoSqlParser.KW_ORDER); - this.state = 2452; + this.state = 2415; this.match(TrinoSqlParser.KW_BY); - this.state = 2453; + this.state = 2416; this.sortItem(); - this.state = 2458; + this.state = 2421; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2454; + this.state = 2417; this.match(TrinoSqlParser.T__2); - this.state = 2455; + this.state = 2418; this.sortItem(); } } - this.state = 2460; + this.state = 2423; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2463; + this.state = 2426; this.match(TrinoSqlParser.T__1); - this.state = 2465; + this.state = 2428; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 312, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 316, this.context) ) { case 1: { - this.state = 2464; + this.state = 2427; this.filter(); } break; } - this.state = 2471; + this.state = 2437; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 314, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 318, this.context) ) { case 1: { - this.state = 2468; + this.state = 2434; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 121 || _la === 229) { + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_IGNORE: + { + this.state = 2430; + this.match(TrinoSqlParser.KW_IGNORE); + this.state = 2431; + this.match(TrinoSqlParser.KW_NULLS); + } + break; + case TrinoSqlParser.KW_RESPECT: { - this.state = 2467; - this.nullTreatment(); + this.state = 2432; + this.match(TrinoSqlParser.KW_RESPECT); + this.state = 2433; + this.match(TrinoSqlParser.KW_NULLS); } + break; + case TrinoSqlParser.KW_OVER: + break; + default: + break; } - - this.state = 2470; + this.state = 2436; this.over(); } break; @@ -9953,9 +10022,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new MeasureContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2473; + this.state = 2439; this.identifier(); - this.state = 2474; + this.state = 2440; this.over(); } break; @@ -9964,11 +10033,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LambdaContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2476; + this.state = 2442; this.identifier(); - this.state = 2477; + this.state = 2443; this.match(TrinoSqlParser.T__6); - this.state = 2478; + this.state = 2444; this.expression(); } break; @@ -9977,39 +10046,39 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LambdaContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2480; + this.state = 2446; this.match(TrinoSqlParser.T__0); - this.state = 2489; + this.state = 2455; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 50)) & ~0x1F) === 0 && ((1 << (_la - 50)) & 3069640845) !== 0) || ((((_la - 82)) & ~0x1F) === 0 && ((1 << (_la - 82)) & 4240329075) !== 0) || ((((_la - 114)) & ~0x1F) === 0 && ((1 << (_la - 114)) & 2171416041) !== 0) || ((((_la - 146)) & ~0x1F) === 0 && ((1 << (_la - 146)) & 4160722303) !== 0) || ((((_la - 178)) & ~0x1F) === 0 && ((1 << (_la - 178)) & 4293517199) !== 0) || ((((_la - 210)) & ~0x1F) === 0 && ((1 << (_la - 210)) & 3724537823) !== 0) || ((((_la - 242)) & ~0x1F) === 0 && ((1 << (_la - 242)) & 2130182015) !== 0) || ((((_la - 275)) & ~0x1F) === 0 && ((1 << (_la - 275)) & 3015636855) !== 0) || ((((_la - 307)) & ~0x1F) === 0 && ((1 << (_la - 307)) & 1006633023) !== 0)) { { - this.state = 2481; + this.state = 2447; this.identifier(); - this.state = 2486; + this.state = 2452; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2482; + this.state = 2448; this.match(TrinoSqlParser.T__2); - this.state = 2483; + this.state = 2449; this.identifier(); } } - this.state = 2488; + this.state = 2454; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2491; + this.state = 2457; this.match(TrinoSqlParser.T__1); - this.state = 2492; + this.state = 2458; this.match(TrinoSqlParser.T__6); - this.state = 2493; + this.state = 2459; this.expression(); } break; @@ -10018,11 +10087,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SubqueryExpressionContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2494; + this.state = 2460; this.match(TrinoSqlParser.T__0); - this.state = 2495; + this.state = 2461; this.query(); - this.state = 2496; + this.state = 2462; this.match(TrinoSqlParser.T__1); } break; @@ -10031,13 +10100,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExistsContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2498; + this.state = 2464; this.match(TrinoSqlParser.KW_EXISTS); - this.state = 2499; + this.state = 2465; this.match(TrinoSqlParser.T__0); - this.state = 2500; + this.state = 2466; this.query(); - this.state = 2501; + this.state = 2467; this.match(TrinoSqlParser.T__1); } break; @@ -10046,37 +10115,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SimpleCaseContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2503; + this.state = 2469; this.match(TrinoSqlParser.KW_CASE); - this.state = 2504; + this.state = 2470; (localContext as SimpleCaseContext)._operand = this.expression(); - this.state = 2506; + this.state = 2472; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); do { { { - this.state = 2505; + this.state = 2471; this.whenClause(); } } - this.state = 2508; + this.state = 2474; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } while (_la === 301); - this.state = 2512; + this.state = 2478; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 85) { { - this.state = 2510; + this.state = 2476; this.match(TrinoSqlParser.KW_ELSE); - this.state = 2511; + this.state = 2477; (localContext as SimpleCaseContext)._elseExpression = this.expression(); } } - this.state = 2514; + this.state = 2480; this.match(TrinoSqlParser.KW_END); } break; @@ -10085,35 +10154,35 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SearchedCaseContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2516; + this.state = 2482; this.match(TrinoSqlParser.KW_CASE); - this.state = 2518; + this.state = 2484; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); do { { { - this.state = 2517; + this.state = 2483; this.whenClause(); } } - this.state = 2520; + this.state = 2486; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } while (_la === 301); - this.state = 2524; + this.state = 2490; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 85) { { - this.state = 2522; + this.state = 2488; this.match(TrinoSqlParser.KW_ELSE); - this.state = 2523; + this.state = 2489; (localContext as SearchedCaseContext)._elseExpression = this.expression(); } } - this.state = 2526; + this.state = 2492; this.match(TrinoSqlParser.KW_END); } break; @@ -10122,17 +10191,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CastContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2528; + this.state = 2494; this.match(TrinoSqlParser.KW_CAST); - this.state = 2529; + this.state = 2495; this.match(TrinoSqlParser.T__0); - this.state = 2530; + this.state = 2496; this.expression(); - this.state = 2531; + this.state = 2497; this.match(TrinoSqlParser.KW_AS); - this.state = 2532; + this.state = 2498; this.type_(0); - this.state = 2533; + this.state = 2499; this.match(TrinoSqlParser.T__1); } break; @@ -10141,17 +10210,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CastContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2535; + this.state = 2501; this.match(TrinoSqlParser.KW_TRY_CAST); - this.state = 2536; + this.state = 2502; this.match(TrinoSqlParser.T__0); - this.state = 2537; + this.state = 2503; this.expression(); - this.state = 2538; + this.state = 2504; this.match(TrinoSqlParser.KW_AS); - this.state = 2539; + this.state = 2505; this.type_(0); - this.state = 2540; + this.state = 2506; this.match(TrinoSqlParser.T__1); } break; @@ -10160,37 +10229,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ArrayConstructorContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2542; + this.state = 2508; this.match(TrinoSqlParser.KW_ARRAY); - this.state = 2543; + this.state = 2509; this.match(TrinoSqlParser.T__7); - this.state = 2552; + this.state = 2518; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 3728211947) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 2781797343) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 3082285823) !== 0) || ((((_la - 130)) & ~0x1F) === 0 && ((1 << (_la - 130)) & 4253015917) !== 0) || ((((_la - 162)) & ~0x1F) === 0 && ((1 << (_la - 162)) & 3758094335) !== 0) || ((((_la - 194)) & ~0x1F) === 0 && ((1 << (_la - 194)) & 4024434665) !== 0) || ((((_la - 226)) & ~0x1F) === 0 && ((1 << (_la - 226)) & 4286569983) !== 0) || ((((_la - 258)) & ~0x1F) === 0 && ((1 << (_la - 258)) & 4008705783) !== 0) || ((((_la - 290)) & ~0x1F) === 0 && ((1 << (_la - 290)) & 1618962301) !== 0) || ((((_la - 325)) & ~0x1F) === 0 && ((1 << (_la - 325)) & 4093) !== 0)) { { - this.state = 2544; + this.state = 2510; this.expression(); - this.state = 2549; + this.state = 2515; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2545; + this.state = 2511; this.match(TrinoSqlParser.T__2); - this.state = 2546; + this.state = 2512; this.expression(); } } - this.state = 2551; + this.state = 2517; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2554; + this.state = 2520; this.match(TrinoSqlParser.T__8); } break; @@ -10199,7 +10268,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ColumnReferenceContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2555; + this.state = 2521; this.columnName(); } break; @@ -10208,7 +10277,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentDateContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2556; + this.state = 2522; (localContext as CurrentDateContext)._name = this.match(TrinoSqlParser.KW_CURRENT_DATE); } break; @@ -10217,18 +10286,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentTimeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2557; + this.state = 2523; (localContext as CurrentTimeContext)._name = this.match(TrinoSqlParser.KW_CURRENT_TIME); - this.state = 2561; + this.state = 2527; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 323, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 327, this.context) ) { case 1: { - this.state = 2558; + this.state = 2524; this.match(TrinoSqlParser.T__0); - this.state = 2559; + this.state = 2525; (localContext as CurrentTimeContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 2560; + this.state = 2526; this.match(TrinoSqlParser.T__1); } break; @@ -10240,18 +10309,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentTimestampContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2563; + this.state = 2529; (localContext as CurrentTimestampContext)._name = this.match(TrinoSqlParser.KW_CURRENT_TIMESTAMP); - this.state = 2567; + this.state = 2533; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 324, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 328, this.context) ) { case 1: { - this.state = 2564; + this.state = 2530; this.match(TrinoSqlParser.T__0); - this.state = 2565; + this.state = 2531; (localContext as CurrentTimestampContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 2566; + this.state = 2532; this.match(TrinoSqlParser.T__1); } break; @@ -10263,18 +10332,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LocalTimeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2569; + this.state = 2535; (localContext as LocalTimeContext)._name = this.match(TrinoSqlParser.KW_LOCALTIME); - this.state = 2573; + this.state = 2539; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 325, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 329, this.context) ) { case 1: { - this.state = 2570; + this.state = 2536; this.match(TrinoSqlParser.T__0); - this.state = 2571; + this.state = 2537; (localContext as LocalTimeContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 2572; + this.state = 2538; this.match(TrinoSqlParser.T__1); } break; @@ -10286,18 +10355,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LocalTimestampContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2575; + this.state = 2541; (localContext as LocalTimestampContext)._name = this.match(TrinoSqlParser.KW_LOCALTIMESTAMP); - this.state = 2579; + this.state = 2545; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 326, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 330, this.context) ) { case 1: { - this.state = 2576; + this.state = 2542; this.match(TrinoSqlParser.T__0); - this.state = 2577; + this.state = 2543; (localContext as LocalTimestampContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 2578; + this.state = 2544; this.match(TrinoSqlParser.T__1); } break; @@ -10309,7 +10378,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentUserContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2581; + this.state = 2547; (localContext as CurrentUserContext)._name = this.match(TrinoSqlParser.KW_CURRENT_USER); } break; @@ -10318,7 +10387,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentCatalogContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2582; + this.state = 2548; (localContext as CurrentCatalogContext)._name = this.match(TrinoSqlParser.KW_CURRENT_CATALOG); } break; @@ -10327,7 +10396,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentSchemaContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2583; + this.state = 2549; (localContext as CurrentSchemaContext)._name = this.match(TrinoSqlParser.KW_CURRENT_SCHEMA); } break; @@ -10336,7 +10405,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentPathContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2584; + this.state = 2550; (localContext as CurrentPathContext)._name = this.match(TrinoSqlParser.KW_CURRENT_PATH); } break; @@ -10345,43 +10414,50 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TrimContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2585; + this.state = 2551; this.match(TrinoSqlParser.KW_TRIM); - this.state = 2586; + this.state = 2552; this.match(TrinoSqlParser.T__0); - this.state = 2594; + this.state = 2560; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 329, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 333, this.context) ) { case 1: { - this.state = 2588; + this.state = 2554; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 327, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 331, this.context) ) { case 1: { - this.state = 2587; - this.trimsSpecification(); + this.state = 2553; + _la = this.tokenStream.LA(1); + if(!(_la === 35 || _la === 151 || _la === 271)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } } break; } - this.state = 2591; + this.state = 2557; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326658) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 3728211947) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 2781797343) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 3082285823) !== 0) || ((((_la - 130)) & ~0x1F) === 0 && ((1 << (_la - 130)) & 4253015917) !== 0) || ((((_la - 162)) & ~0x1F) === 0 && ((1 << (_la - 162)) & 3755997183) !== 0) || ((((_la - 194)) & ~0x1F) === 0 && ((1 << (_la - 194)) & 4024434665) !== 0) || ((((_la - 226)) & ~0x1F) === 0 && ((1 << (_la - 226)) & 4286569983) !== 0) || ((((_la - 258)) & ~0x1F) === 0 && ((1 << (_la - 258)) & 4008705783) !== 0) || ((((_la - 290)) & ~0x1F) === 0 && ((1 << (_la - 290)) & 1618962301) !== 0) || ((((_la - 325)) & ~0x1F) === 0 && ((1 << (_la - 325)) & 4093) !== 0)) { { - this.state = 2590; + this.state = 2556; (localContext as TrimContext)._trimChar = this.valueExpression(0); } } - this.state = 2593; + this.state = 2559; this.match(TrinoSqlParser.KW_FROM); } break; } - this.state = 2596; + this.state = 2562; (localContext as TrimContext)._trimSource = this.valueExpression(0); - this.state = 2597; + this.state = 2563; this.match(TrinoSqlParser.T__1); } break; @@ -10390,17 +10466,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TrimContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2599; + this.state = 2565; this.match(TrinoSqlParser.KW_TRIM); - this.state = 2600; + this.state = 2566; this.match(TrinoSqlParser.T__0); - this.state = 2601; + this.state = 2567; (localContext as TrimContext)._trimSource = this.valueExpression(0); - this.state = 2602; + this.state = 2568; this.match(TrinoSqlParser.T__2); - this.state = 2603; + this.state = 2569; (localContext as TrimContext)._trimChar = this.valueExpression(0); - this.state = 2604; + this.state = 2570; this.match(TrinoSqlParser.T__1); } break; @@ -10409,29 +10485,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SubstringContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2606; + this.state = 2572; this.match(TrinoSqlParser.KW_SUBSTRING); - this.state = 2607; + this.state = 2573; this.match(TrinoSqlParser.T__0); - this.state = 2608; + this.state = 2574; this.valueExpression(0); - this.state = 2609; + this.state = 2575; this.match(TrinoSqlParser.KW_FROM); - this.state = 2610; + this.state = 2576; this.valueExpression(0); - this.state = 2613; + this.state = 2579; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 104) { { - this.state = 2611; + this.state = 2577; this.match(TrinoSqlParser.KW_FOR); - this.state = 2612; + this.state = 2578; this.valueExpression(0); } } - this.state = 2615; + this.state = 2581; this.match(TrinoSqlParser.T__1); } break; @@ -10440,25 +10516,32 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new NormalizeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2617; + this.state = 2583; this.match(TrinoSqlParser.KW_NORMALIZE); - this.state = 2618; + this.state = 2584; this.match(TrinoSqlParser.T__0); - this.state = 2619; + this.state = 2585; this.valueExpression(0); - this.state = 2622; + this.state = 2588; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 3) { { - this.state = 2620; + this.state = 2586; this.match(TrinoSqlParser.T__2); - this.state = 2621; - this.normalForm(); + this.state = 2587; + _la = this.tokenStream.LA(1); + if(!(((((_la - 176)) & ~0x1F) === 0 && ((1 << (_la - 176)) & 15) !== 0))) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } } } - this.state = 2624; + this.state = 2590; this.match(TrinoSqlParser.T__1); } break; @@ -10467,17 +10550,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExtractContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2626; + this.state = 2592; this.match(TrinoSqlParser.KW_EXTRACT); - this.state = 2627; + this.state = 2593; this.match(TrinoSqlParser.T__0); - this.state = 2628; + this.state = 2594; this.identifier(); - this.state = 2629; + this.state = 2595; this.match(TrinoSqlParser.KW_FROM); - this.state = 2630; + this.state = 2596; this.valueExpression(0); - this.state = 2631; + this.state = 2597; this.match(TrinoSqlParser.T__1); } break; @@ -10486,29 +10569,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CoalesceContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2633; + this.state = 2599; this.match(TrinoSqlParser.KW_COALESCE); - this.state = 2634; + this.state = 2600; this.match(TrinoSqlParser.T__0); - this.state = 2635; + this.state = 2601; this.expression(); - this.state = 2640; + this.state = 2606; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2636; + this.state = 2602; this.match(TrinoSqlParser.T__2); - this.state = 2637; + this.state = 2603; this.expression(); } } - this.state = 2642; + this.state = 2608; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2643; + this.state = 2609; this.match(TrinoSqlParser.T__1); } break; @@ -10517,11 +10600,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ParenthesizedExpressionContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2645; + this.state = 2611; this.match(TrinoSqlParser.T__0); - this.state = 2646; + this.state = 2612; this.expression(); - this.state = 2647; + this.state = 2613; this.match(TrinoSqlParser.T__1); } break; @@ -10530,37 +10613,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new GroupingOperationContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2649; + this.state = 2615; this.match(TrinoSqlParser.KW_GROUPING); - this.state = 2650; + this.state = 2616; this.match(TrinoSqlParser.T__0); - this.state = 2659; + this.state = 2625; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 50)) & ~0x1F) === 0 && ((1 << (_la - 50)) & 3069640845) !== 0) || ((((_la - 82)) & ~0x1F) === 0 && ((1 << (_la - 82)) & 4240329075) !== 0) || ((((_la - 114)) & ~0x1F) === 0 && ((1 << (_la - 114)) & 2171416041) !== 0) || ((((_la - 146)) & ~0x1F) === 0 && ((1 << (_la - 146)) & 4160722303) !== 0) || ((((_la - 178)) & ~0x1F) === 0 && ((1 << (_la - 178)) & 4293517199) !== 0) || ((((_la - 210)) & ~0x1F) === 0 && ((1 << (_la - 210)) & 3724537823) !== 0) || ((((_la - 242)) & ~0x1F) === 0 && ((1 << (_la - 242)) & 2130182015) !== 0) || ((((_la - 275)) & ~0x1F) === 0 && ((1 << (_la - 275)) & 3015636855) !== 0) || ((((_la - 307)) & ~0x1F) === 0 && ((1 << (_la - 307)) & 1006633023) !== 0)) { { - this.state = 2651; + this.state = 2617; this.qualifiedName(); - this.state = 2656; + this.state = 2622; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2652; + this.state = 2618; this.match(TrinoSqlParser.T__2); - this.state = 2653; + this.state = 2619; this.qualifiedName(); } } - this.state = 2658; + this.state = 2624; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2661; + this.state = 2627; this.match(TrinoSqlParser.T__1); } break; @@ -10569,27 +10652,34 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonExistsContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2662; + this.state = 2628; this.match(TrinoSqlParser.KW_JSON_EXISTS); - this.state = 2663; + this.state = 2629; this.match(TrinoSqlParser.T__0); - this.state = 2664; + this.state = 2630; this.jsonPathInvocation(); - this.state = 2669; + this.state = 2634; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 90 || _la === 98 || _la === 274 || _la === 284) { { - this.state = 2665; - this.jsonExistsErrorBehavior(); - this.state = 2666; + this.state = 2631; + _la = this.tokenStream.LA(1); + if(!(_la === 90 || _la === 98 || _la === 274 || _la === 284)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 2632; this.match(TrinoSqlParser.KW_ON); - this.state = 2667; + this.state = 2633; this.match(TrinoSqlParser.KW_ERROR); } } - this.state = 2671; + this.state = 2636; this.match(TrinoSqlParser.T__1); } break; @@ -10598,53 +10688,53 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonValueContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2673; + this.state = 2638; this.match(TrinoSqlParser.KW_JSON_VALUE); - this.state = 2674; + this.state = 2639; this.match(TrinoSqlParser.T__0); - this.state = 2675; + this.state = 2640; this.jsonPathInvocation(); - this.state = 2678; + this.state = 2643; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 232) { { - this.state = 2676; + this.state = 2641; this.match(TrinoSqlParser.KW_RETURNING); - this.state = 2677; + this.state = 2642; this.type_(0); } } - this.state = 2684; + this.state = 2649; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 337, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 341, this.context) ) { case 1: { - this.state = 2680; + this.state = 2645; (localContext as JsonValueContext)._emptyBehavior = this.jsonValueBehavior(); - this.state = 2681; + this.state = 2646; this.match(TrinoSqlParser.KW_ON); - this.state = 2682; + this.state = 2647; this.match(TrinoSqlParser.KW_EMPTY); } break; } - this.state = 2690; + this.state = 2655; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 71 || _la === 90 || _la === 184) { { - this.state = 2686; + this.state = 2651; (localContext as JsonValueContext)._errorBehavior = this.jsonValueBehavior(); - this.state = 2687; + this.state = 2652; this.match(TrinoSqlParser.KW_ON); - this.state = 2688; + this.state = 2653; this.match(TrinoSqlParser.KW_ERROR); } } - this.state = 2692; + this.state = 2657; this.match(TrinoSqlParser.T__1); } break; @@ -10653,29 +10743,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonQueryContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2694; + this.state = 2659; this.match(TrinoSqlParser.KW_JSON_QUERY); - this.state = 2695; + this.state = 2660; this.match(TrinoSqlParser.T__0); - this.state = 2696; + this.state = 2661; this.jsonPathInvocation(); - this.state = 2703; + this.state = 2668; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 232) { { - this.state = 2697; + this.state = 2662; this.match(TrinoSqlParser.KW_RETURNING); - this.state = 2698; + this.state = 2663; this.type_(0); - this.state = 2701; + this.state = 2666; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 105) { { - this.state = 2699; + this.state = 2664; this.match(TrinoSqlParser.KW_FORMAT); - this.state = 2700; + this.state = 2665; this.jsonRepresentation(); } } @@ -10683,24 +10773,24 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2708; + this.state = 2673; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 305 || _la === 307) { { - this.state = 2705; + this.state = 2670; this.jsonQueryWrapperBehavior(); - this.state = 2706; + this.state = 2671; this.match(TrinoSqlParser.KW_WRAPPER); } } - this.state = 2717; + this.state = 2682; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 145 || _la === 190) { { - this.state = 2710; + this.state = 2675; _la = this.tokenStream.LA(1); if(!(_la === 145 || _la === 190)) { this.errorHandler.recoverInline(this); @@ -10709,18 +10799,18 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2711; + this.state = 2676; this.match(TrinoSqlParser.KW_QUOTES); - this.state = 2715; + this.state = 2680; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 191) { { - this.state = 2712; + this.state = 2677; this.match(TrinoSqlParser.KW_ON); - this.state = 2713; + this.state = 2678; this.match(TrinoSqlParser.KW_SCALAR); - this.state = 2714; + this.state = 2679; this.match(TrinoSqlParser.KW_TEXT_STRING); } } @@ -10728,35 +10818,35 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2723; + this.state = 2688; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 344, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 348, this.context) ) { case 1: { - this.state = 2719; + this.state = 2684; (localContext as JsonQueryContext)._emptyBehavior = this.jsonQueryBehavior(); - this.state = 2720; + this.state = 2685; this.match(TrinoSqlParser.KW_ON); - this.state = 2721; + this.state = 2686; this.match(TrinoSqlParser.KW_EMPTY); } break; } - this.state = 2729; + this.state = 2694; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 86 || _la === 90 || _la === 184) { { - this.state = 2725; + this.state = 2690; (localContext as JsonQueryContext)._errorBehavior = this.jsonQueryBehavior(); - this.state = 2726; + this.state = 2691; this.match(TrinoSqlParser.KW_ON); - this.state = 2727; + this.state = 2692; this.match(TrinoSqlParser.KW_ERROR); } } - this.state = 2731; + this.state = 2696; this.match(TrinoSqlParser.T__1); } break; @@ -10765,53 +10855,53 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonObjectContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2733; + this.state = 2698; this.match(TrinoSqlParser.KW_JSON_OBJECT); - this.state = 2734; + this.state = 2699; this.match(TrinoSqlParser.T__0); - this.state = 2763; + this.state = 2728; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 351, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 355, this.context) ) { case 1: { - this.state = 2735; + this.state = 2700; this.jsonObjectMember(); - this.state = 2740; + this.state = 2705; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2736; + this.state = 2701; this.match(TrinoSqlParser.T__2); - this.state = 2737; + this.state = 2702; this.jsonObjectMember(); } } - this.state = 2742; + this.state = 2707; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2749; + this.state = 2714; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_NULL: { - this.state = 2743; + this.state = 2708; this.match(TrinoSqlParser.KW_NULL); - this.state = 2744; + this.state = 2709; this.match(TrinoSqlParser.KW_ON); - this.state = 2745; + this.state = 2710; this.match(TrinoSqlParser.KW_NULL); } break; case TrinoSqlParser.KW_ABSENT: { - this.state = 2746; + this.state = 2711; this.match(TrinoSqlParser.KW_ABSENT); - this.state = 2747; + this.state = 2712; this.match(TrinoSqlParser.KW_ON); - this.state = 2748; + this.state = 2713; this.match(TrinoSqlParser.KW_NULL); } break; @@ -10823,21 +10913,21 @@ export class TrinoSqlParser extends SQLParserBase { default: break; } - this.state = 2761; + this.state = 2726; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_WITH: { - this.state = 2751; + this.state = 2716; this.match(TrinoSqlParser.KW_WITH); - this.state = 2752; + this.state = 2717; this.match(TrinoSqlParser.KW_UNIQUE); - this.state = 2754; + this.state = 2719; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 147) { { - this.state = 2753; + this.state = 2718; this.match(TrinoSqlParser.KW_KEYS); } } @@ -10846,16 +10936,16 @@ export class TrinoSqlParser extends SQLParserBase { break; case TrinoSqlParser.KW_WITHOUT: { - this.state = 2756; + this.state = 2721; this.match(TrinoSqlParser.KW_WITHOUT); - this.state = 2757; + this.state = 2722; this.match(TrinoSqlParser.KW_UNIQUE); - this.state = 2759; + this.state = 2724; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 147) { { - this.state = 2758; + this.state = 2723; this.match(TrinoSqlParser.KW_KEYS); } } @@ -10871,23 +10961,23 @@ export class TrinoSqlParser extends SQLParserBase { } break; } - this.state = 2771; + this.state = 2736; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 232) { { - this.state = 2765; + this.state = 2730; this.match(TrinoSqlParser.KW_RETURNING); - this.state = 2766; + this.state = 2731; this.type_(0); - this.state = 2769; + this.state = 2734; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 105) { { - this.state = 2767; + this.state = 2732; this.match(TrinoSqlParser.KW_FORMAT); - this.state = 2768; + this.state = 2733; this.jsonRepresentation(); } } @@ -10895,7 +10985,7 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2773; + this.state = 2738; this.match(TrinoSqlParser.T__1); } break; @@ -10904,53 +10994,53 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonArrayContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2774; + this.state = 2739; this.match(TrinoSqlParser.KW_JSON_ARRAY); - this.state = 2775; + this.state = 2740; this.match(TrinoSqlParser.T__0); - this.state = 2792; + this.state = 2757; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 356, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 360, this.context) ) { case 1: { - this.state = 2776; + this.state = 2741; this.jsonValueExpression(); - this.state = 2781; + this.state = 2746; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2777; + this.state = 2742; this.match(TrinoSqlParser.T__2); - this.state = 2778; + this.state = 2743; this.jsonValueExpression(); } } - this.state = 2783; + this.state = 2748; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2790; + this.state = 2755; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_NULL: { - this.state = 2784; + this.state = 2749; this.match(TrinoSqlParser.KW_NULL); - this.state = 2785; + this.state = 2750; this.match(TrinoSqlParser.KW_ON); - this.state = 2786; + this.state = 2751; this.match(TrinoSqlParser.KW_NULL); } break; case TrinoSqlParser.KW_ABSENT: { - this.state = 2787; + this.state = 2752; this.match(TrinoSqlParser.KW_ABSENT); - this.state = 2788; + this.state = 2753; this.match(TrinoSqlParser.KW_ON); - this.state = 2789; + this.state = 2754; this.match(TrinoSqlParser.KW_NULL); } break; @@ -10963,23 +11053,23 @@ export class TrinoSqlParser extends SQLParserBase { } break; } - this.state = 2800; + this.state = 2765; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 232) { { - this.state = 2794; + this.state = 2759; this.match(TrinoSqlParser.KW_RETURNING); - this.state = 2795; + this.state = 2760; this.type_(0); - this.state = 2798; + this.state = 2763; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 105) { { - this.state = 2796; + this.state = 2761; this.match(TrinoSqlParser.KW_FORMAT); - this.state = 2797; + this.state = 2762; this.jsonRepresentation(); } } @@ -10987,15 +11077,15 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2802; + this.state = 2767; this.match(TrinoSqlParser.T__1); } break; } this.context!.stop = this.tokenStream.LT(-1); - this.state = 2815; + this.state = 2780; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 361, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 365, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { if (this._parseListeners != null) { @@ -11003,23 +11093,23 @@ export class TrinoSqlParser extends SQLParserBase { } previousContext = localContext; { - this.state = 2813; + this.state = 2778; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 360, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 364, this.context) ) { case 1: { localContext = new SubscriptContext(new PrimaryExpressionContext(parentContext, parentState)); (localContext as SubscriptContext)._value = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_primaryExpression); - this.state = 2805; + this.state = 2770; if (!(this.precpred(this.context, 25))) { throw this.createFailedPredicateException("this.precpred(this.context, 25)"); } - this.state = 2806; + this.state = 2771; this.match(TrinoSqlParser.T__7); - this.state = 2807; + this.state = 2772; (localContext as SubscriptContext)._index = this.valueExpression(0); - this.state = 2808; + this.state = 2773; this.match(TrinoSqlParser.T__8); } break; @@ -11028,22 +11118,22 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DereferenceContext(new PrimaryExpressionContext(parentContext, parentState)); (localContext as DereferenceContext)._base = previousContext; this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_primaryExpression); - this.state = 2810; + this.state = 2775; if (!(this.precpred(this.context, 23))) { throw this.createFailedPredicateException("this.precpred(this.context, 23)"); } - this.state = 2811; + this.state = 2776; this.match(TrinoSqlParser.T__3); - this.state = 2812; + this.state = 2777; (localContext as DereferenceContext)._fieldName = this.identifier(); } break; } } } - this.state = 2817; + this.state = 2782; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 361, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 365, this.context); } } } @@ -11063,51 +11153,51 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonPathInvocation(): JsonPathInvocationContext { let localContext = new JsonPathInvocationContext(this.context, this.state); - this.enterRule(localContext, 164, TrinoSqlParser.RULE_jsonPathInvocation); + this.enterRule(localContext, 144, TrinoSqlParser.RULE_jsonPathInvocation); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2818; + this.state = 2783; this.jsonValueExpression(); - this.state = 2819; + this.state = 2784; this.match(TrinoSqlParser.T__2); - this.state = 2820; + this.state = 2785; localContext._path = this.string_(); - this.state = 2823; + this.state = 2788; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 2821; + this.state = 2786; this.match(TrinoSqlParser.KW_AS); - this.state = 2822; + this.state = 2787; localContext._pathName = this.identifier(); } } - this.state = 2834; + this.state = 2799; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 204) { { - this.state = 2825; + this.state = 2790; this.match(TrinoSqlParser.KW_PASSING); - this.state = 2826; + this.state = 2791; this.jsonArgument(); - this.state = 2831; + this.state = 2796; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2827; + this.state = 2792; this.match(TrinoSqlParser.T__2); - this.state = 2828; + this.state = 2793; this.jsonArgument(); } } - this.state = 2833; + this.state = 2798; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -11132,21 +11222,21 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonValueExpression(): JsonValueExpressionContext { let localContext = new JsonValueExpressionContext(this.context, this.state); - this.enterRule(localContext, 166, TrinoSqlParser.RULE_jsonValueExpression); + this.enterRule(localContext, 146, TrinoSqlParser.RULE_jsonValueExpression); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2836; + this.state = 2801; this.expression(); - this.state = 2839; + this.state = 2804; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 105) { { - this.state = 2837; + this.state = 2802; this.match(TrinoSqlParser.KW_FORMAT); - this.state = 2838; + this.state = 2803; this.jsonRepresentation(); } } @@ -11169,21 +11259,21 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonRepresentation(): JsonRepresentationContext { let localContext = new JsonRepresentationContext(this.context, this.state); - this.enterRule(localContext, 168, TrinoSqlParser.RULE_jsonRepresentation); + this.enterRule(localContext, 148, TrinoSqlParser.RULE_jsonRepresentation); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2841; + this.state = 2806; this.match(TrinoSqlParser.KW_JSON); - this.state = 2844; + this.state = 2809; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 88) { { - this.state = 2842; + this.state = 2807; this.match(TrinoSqlParser.KW_ENCODING); - this.state = 2843; + this.state = 2808; _la = this.tokenStream.LA(1); if(!(((((_la - 292)) & ~0x1F) === 0 && ((1 << (_la - 292)) & 7) !== 0))) { this.errorHandler.recoverInline(this); @@ -11213,15 +11303,15 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonArgument(): JsonArgumentContext { let localContext = new JsonArgumentContext(this.context, this.state); - this.enterRule(localContext, 170, TrinoSqlParser.RULE_jsonArgument); + this.enterRule(localContext, 150, TrinoSqlParser.RULE_jsonArgument); try { this.enterOuterAlt(localContext, 1); { - this.state = 2846; + this.state = 2811; this.jsonValueExpression(); - this.state = 2847; + this.state = 2812; this.match(TrinoSqlParser.KW_AS); - this.state = 2848; + this.state = 2813; this.identifier(); } } @@ -11239,65 +11329,33 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public jsonExistsErrorBehavior(): JsonExistsErrorBehaviorContext { - let localContext = new JsonExistsErrorBehaviorContext(this.context, this.state); - this.enterRule(localContext, 172, TrinoSqlParser.RULE_jsonExistsErrorBehavior); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2850; - _la = this.tokenStream.LA(1); - if(!(_la === 90 || _la === 98 || _la === 274 || _la === 284)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } public jsonValueBehavior(): JsonValueBehaviorContext { let localContext = new JsonValueBehaviorContext(this.context, this.state); - this.enterRule(localContext, 174, TrinoSqlParser.RULE_jsonValueBehavior); + this.enterRule(localContext, 152, TrinoSqlParser.RULE_jsonValueBehavior); try { - this.state = 2856; + this.state = 2819; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ERROR: this.enterOuterAlt(localContext, 1); { - this.state = 2852; + this.state = 2815; this.match(TrinoSqlParser.KW_ERROR); } break; case TrinoSqlParser.KW_NULL: this.enterOuterAlt(localContext, 2); { - this.state = 2853; + this.state = 2816; this.match(TrinoSqlParser.KW_NULL); } break; case TrinoSqlParser.KW_DEFAULT: this.enterOuterAlt(localContext, 3); { - this.state = 2854; + this.state = 2817; this.match(TrinoSqlParser.KW_DEFAULT); - this.state = 2855; + this.state = 2818; this.expression(); } break; @@ -11321,23 +11379,23 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonQueryWrapperBehavior(): JsonQueryWrapperBehaviorContext { let localContext = new JsonQueryWrapperBehaviorContext(this.context, this.state); - this.enterRule(localContext, 176, TrinoSqlParser.RULE_jsonQueryWrapperBehavior); + this.enterRule(localContext, 154, TrinoSqlParser.RULE_jsonQueryWrapperBehavior); let _la: number; try { - this.state = 2869; + this.state = 2832; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_WITHOUT: this.enterOuterAlt(localContext, 1); { - this.state = 2858; + this.state = 2821; this.match(TrinoSqlParser.KW_WITHOUT); - this.state = 2860; + this.state = 2823; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 27) { { - this.state = 2859; + this.state = 2822; this.match(TrinoSqlParser.KW_ARRAY); } } @@ -11347,14 +11405,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_WITH: this.enterOuterAlt(localContext, 2); { - this.state = 2862; + this.state = 2825; this.match(TrinoSqlParser.KW_WITH); - this.state = 2864; + this.state = 2827; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 50 || _la === 281) { { - this.state = 2863; + this.state = 2826; _la = this.tokenStream.LA(1); if(!(_la === 50 || _la === 281)) { this.errorHandler.recoverInline(this); @@ -11366,12 +11424,12 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2867; + this.state = 2830; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 27) { { - this.state = 2866; + this.state = 2829; this.match(TrinoSqlParser.KW_ARRAY); } } @@ -11398,40 +11456,40 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonQueryBehavior(): JsonQueryBehaviorContext { let localContext = new JsonQueryBehaviorContext(this.context, this.state); - this.enterRule(localContext, 178, TrinoSqlParser.RULE_jsonQueryBehavior); + this.enterRule(localContext, 156, TrinoSqlParser.RULE_jsonQueryBehavior); try { - this.state = 2877; + this.state = 2840; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 372, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 376, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 2871; + this.state = 2834; this.match(TrinoSqlParser.KW_ERROR); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 2872; + this.state = 2835; this.match(TrinoSqlParser.KW_NULL); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 2873; + this.state = 2836; this.match(TrinoSqlParser.KW_EMPTY); - this.state = 2874; + this.state = 2837; this.match(TrinoSqlParser.KW_ARRAY); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 2875; + this.state = 2838; this.match(TrinoSqlParser.KW_EMPTY); - this.state = 2876; + this.state = 2839; this.match(TrinoSqlParser.KW_OBJECT); } break; @@ -11453,40 +11511,40 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonObjectMember(): JsonObjectMemberContext { let localContext = new JsonObjectMemberContext(this.context, this.state); - this.enterRule(localContext, 180, TrinoSqlParser.RULE_jsonObjectMember); + this.enterRule(localContext, 158, TrinoSqlParser.RULE_jsonObjectMember); try { - this.state = 2890; + this.state = 2853; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 374, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 378, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 2880; + this.state = 2843; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 373, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 377, this.context) ) { case 1: { - this.state = 2879; + this.state = 2842; this.match(TrinoSqlParser.KW_KEY); } break; } - this.state = 2882; + this.state = 2845; this.expression(); - this.state = 2883; + this.state = 2846; this.match(TrinoSqlParser.KW_VALUE); - this.state = 2884; + this.state = 2847; this.jsonValueExpression(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 2886; + this.state = 2849; this.expression(); - this.state = 2887; + this.state = 2850; this.match(TrinoSqlParser.T__9); - this.state = 2888; + this.state = 2851; this.jsonValueExpression(); } break; @@ -11508,12 +11566,12 @@ export class TrinoSqlParser extends SQLParserBase { } public processingMode(): ProcessingModeContext { let localContext = new ProcessingModeContext(this.context, this.state); - this.enterRule(localContext, 182, TrinoSqlParser.RULE_processingMode); + this.enterRule(localContext, 160, TrinoSqlParser.RULE_processingMode); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2892; + this.state = 2855; _la = this.tokenStream.LA(1); if(!(_la === 101 || _la === 242)) { this.errorHandler.recoverInline(this); @@ -11538,61 +11596,18 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public nullTreatment(): NullTreatmentContext { - let localContext = new NullTreatmentContext(this.context, this.state); - this.enterRule(localContext, 184, TrinoSqlParser.RULE_nullTreatment); - try { - this.state = 2898; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_IGNORE: - this.enterOuterAlt(localContext, 1); - { - this.state = 2894; - this.match(TrinoSqlParser.KW_IGNORE); - this.state = 2895; - this.match(TrinoSqlParser.KW_NULLS); - } - break; - case TrinoSqlParser.KW_RESPECT: - this.enterOuterAlt(localContext, 2); - { - this.state = 2896; - this.match(TrinoSqlParser.KW_RESPECT); - this.state = 2897; - this.match(TrinoSqlParser.KW_NULLS); - } - break; - default: - throw new antlr.NoViableAltException(this); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } public string_(): StringContext { let localContext = new StringContext(this.context, this.state); - this.enterRule(localContext, 186, TrinoSqlParser.RULE_string); + this.enterRule(localContext, 162, TrinoSqlParser.RULE_string); try { - this.state = 2906; + this.state = 2863; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.STRING: localContext = new BasicStringLiteralContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2900; + this.state = 2857; this.match(TrinoSqlParser.STRING); } break; @@ -11600,16 +11615,16 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UnicodeStringLiteralContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2901; + this.state = 2858; this.match(TrinoSqlParser.UNICODE_STRING); - this.state = 2904; + this.state = 2861; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 376, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 379, this.context) ) { case 1: { - this.state = 2902; + this.state = 2859; this.match(TrinoSqlParser.KW_UESCAPE); - this.state = 2903; + this.state = 2860; this.match(TrinoSqlParser.STRING); } break; @@ -11634,61 +11649,14 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public timeZoneSpecifier(): TimeZoneSpecifierContext { - let localContext = new TimeZoneSpecifierContext(this.context, this.state); - this.enterRule(localContext, 188, TrinoSqlParser.RULE_timeZoneSpecifier); - try { - this.state = 2914; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 378, this.context) ) { - case 1: - localContext = new TimeZoneIntervalContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 2908; - this.match(TrinoSqlParser.KW_TIME); - this.state = 2909; - this.match(TrinoSqlParser.KW_ZONE); - this.state = 2910; - this.interval(); - } - break; - case 2: - localContext = new TimeZoneStringContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 2911; - this.match(TrinoSqlParser.KW_TIME); - this.state = 2912; - this.match(TrinoSqlParser.KW_ZONE); - this.state = 2913; - this.string_(); - } - break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } public comparisonOperator(): ComparisonOperatorContext { let localContext = new ComparisonOperatorContext(this.context, this.state); - this.enterRule(localContext, 190, TrinoSqlParser.RULE_comparisonOperator); + this.enterRule(localContext, 164, TrinoSqlParser.RULE_comparisonOperator); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2916; + this.state = 2865; _la = this.tokenStream.LA(1); if(!(((((_la - 313)) & ~0x1F) === 0 && ((1 << (_la - 313)) & 63) !== 0))) { this.errorHandler.recoverInline(this); @@ -11715,12 +11683,12 @@ export class TrinoSqlParser extends SQLParserBase { } public comparisonQuantifier(): ComparisonQuantifierContext { let localContext = new ComparisonQuantifierContext(this.context, this.state); - this.enterRule(localContext, 192, TrinoSqlParser.RULE_comparisonQuantifier); + this.enterRule(localContext, 166, TrinoSqlParser.RULE_comparisonQuantifier); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2918; + this.state = 2867; _la = this.tokenStream.LA(1); if(!(_la === 22 || _la === 26 || _la === 255)) { this.errorHandler.recoverInline(this); @@ -11745,53 +11713,21 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public booleanValue(): BooleanValueContext { - let localContext = new BooleanValueContext(this.context, this.state); - this.enterRule(localContext, 194, TrinoSqlParser.RULE_booleanValue); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2920; - _la = this.tokenStream.LA(1); - if(!(_la === 98 || _la === 274)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } public interval(): IntervalContext { let localContext = new IntervalContext(this.context, this.state); - this.enterRule(localContext, 196, TrinoSqlParser.RULE_interval); + this.enterRule(localContext, 168, TrinoSqlParser.RULE_interval); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2922; + this.state = 2869; this.match(TrinoSqlParser.KW_INTERVAL); - this.state = 2924; + this.state = 2871; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 319 || _la === 320) { { - this.state = 2923; + this.state = 2870; localContext._sign = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 319 || _la === 320)) { @@ -11804,18 +11740,18 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2926; + this.state = 2873; this.string_(); - this.state = 2927; + this.state = 2874; localContext._from_ = this.intervalField(); - this.state = 2930; + this.state = 2877; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 380, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 382, this.context) ) { case 1: { - this.state = 2928; + this.state = 2875; this.match(TrinoSqlParser.KW_TO); - this.state = 2929; + this.state = 2876; localContext._to = this.intervalField(); } break; @@ -11838,12 +11774,12 @@ export class TrinoSqlParser extends SQLParserBase { } public intervalField(): IntervalFieldContext { let localContext = new IntervalFieldContext(this.context, this.state); - this.enterRule(localContext, 198, TrinoSqlParser.RULE_intervalField); + this.enterRule(localContext, 170, TrinoSqlParser.RULE_intervalField); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2932; + this.state = 2879; _la = this.tokenStream.LA(1); if(!(_la === 68 || _la === 119 || _la === 171 || _la === 172 || _la === 246 || _la === 311)) { this.errorHandler.recoverInline(this); @@ -11868,38 +11804,6 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public normalForm(): NormalFormContext { - let localContext = new NormalFormContext(this.context, this.state); - this.enterRule(localContext, 200, TrinoSqlParser.RULE_normalForm); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2934; - _la = this.tokenStream.LA(1); - if(!(((((_la - 176)) & ~0x1F) === 0 && ((1 << (_la - 176)) & 15) !== 0))) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } public type_(): TypeContext; public type_(_p: number): TypeContext; @@ -11912,45 +11816,45 @@ export class TrinoSqlParser extends SQLParserBase { let parentState = this.state; let localContext = new TypeContext(this.context, parentState); let previousContext = localContext; - let _startState = 202; - this.enterRecursionRule(localContext, 202, TrinoSqlParser.RULE_type, _p); + let _startState = 172; + this.enterRecursionRule(localContext, 172, TrinoSqlParser.RULE_type, _p); let _la: number; try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 3007; + this.state = 2952; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 389, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 391, this.context) ) { case 1: { localContext = new RowTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2937; + this.state = 2882; this.match(TrinoSqlParser.KW_ROW); - this.state = 2938; + this.state = 2883; this.match(TrinoSqlParser.T__0); - this.state = 2939; + this.state = 2884; this.rowField(); - this.state = 2944; + this.state = 2889; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2940; + this.state = 2885; this.match(TrinoSqlParser.T__2); - this.state = 2941; + this.state = 2886; this.rowField(); } } - this.state = 2946; + this.state = 2891; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2947; + this.state = 2892; this.match(TrinoSqlParser.T__1); } break; @@ -11959,18 +11863,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new IntervalTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2949; + this.state = 2894; this.match(TrinoSqlParser.KW_INTERVAL); - this.state = 2950; + this.state = 2895; (localContext as IntervalTypeContext)._from_ = this.intervalField(); - this.state = 2953; + this.state = 2898; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 382, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 384, this.context) ) { case 1: { - this.state = 2951; + this.state = 2896; this.match(TrinoSqlParser.KW_TO); - this.state = 2952; + this.state = 2897; (localContext as IntervalTypeContext)._to = this.intervalField(); } break; @@ -11982,28 +11886,28 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DateTimeTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2955; + this.state = 2900; (localContext as DateTimeTypeContext)._base = this.match(TrinoSqlParser.KW_TIMESTAMP); - this.state = 2960; + this.state = 2905; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 383, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 385, this.context) ) { case 1: { - this.state = 2956; + this.state = 2901; this.match(TrinoSqlParser.T__0); - this.state = 2957; + this.state = 2902; (localContext as DateTimeTypeContext)._precision = this.typeParameter(); - this.state = 2958; + this.state = 2903; this.match(TrinoSqlParser.T__1); } break; } - this.state = 2965; + this.state = 2910; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 384, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 386, this.context) ) { case 1: { - this.state = 2962; + this.state = 2907; _la = this.tokenStream.LA(1); if(!(_la === 305 || _la === 307)) { this.errorHandler.recoverInline(this); @@ -12012,9 +11916,9 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2963; + this.state = 2908; this.match(TrinoSqlParser.KW_TIME); - this.state = 2964; + this.state = 2909; this.match(TrinoSqlParser.KW_ZONE); } break; @@ -12026,28 +11930,28 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TimeTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2967; + this.state = 2912; (localContext as TimeTypeContext)._base = this.match(TrinoSqlParser.KW_TIME); - this.state = 2972; + this.state = 2917; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 385, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 387, this.context) ) { case 1: { - this.state = 2968; + this.state = 2913; this.match(TrinoSqlParser.T__0); - this.state = 2969; + this.state = 2914; (localContext as TimeTypeContext)._precision = this.typeParameter(); - this.state = 2970; + this.state = 2915; this.match(TrinoSqlParser.T__1); } break; } - this.state = 2977; + this.state = 2922; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 386, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 388, this.context) ) { case 1: { - this.state = 2974; + this.state = 2919; _la = this.tokenStream.LA(1); if(!(_la === 305 || _la === 307)) { this.errorHandler.recoverInline(this); @@ -12056,9 +11960,9 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2975; + this.state = 2920; this.match(TrinoSqlParser.KW_TIME); - this.state = 2976; + this.state = 2921; this.match(TrinoSqlParser.KW_ZONE); } break; @@ -12070,9 +11974,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DoublePrecisionTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2979; + this.state = 2924; this.match(TrinoSqlParser.KW_DOUBLE); - this.state = 2980; + this.state = 2925; this.match(TrinoSqlParser.KW_PRECISION); } break; @@ -12081,13 +11985,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LegacyArrayTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2981; + this.state = 2926; this.match(TrinoSqlParser.KW_ARRAY); - this.state = 2982; + this.state = 2927; this.match(TrinoSqlParser.LT); - this.state = 2983; + this.state = 2928; this.type_(0); - this.state = 2984; + this.state = 2929; this.match(TrinoSqlParser.GT); } break; @@ -12096,17 +12000,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LegacyMapTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2986; + this.state = 2931; this.match(TrinoSqlParser.KW_MAP); - this.state = 2987; + this.state = 2932; this.match(TrinoSqlParser.LT); - this.state = 2988; + this.state = 2933; (localContext as LegacyMapTypeContext)._keyType = this.type_(0); - this.state = 2989; + this.state = 2934; this.match(TrinoSqlParser.T__2); - this.state = 2990; + this.state = 2935; (localContext as LegacyMapTypeContext)._valueType = this.type_(0); - this.state = 2991; + this.state = 2936; this.match(TrinoSqlParser.GT); } break; @@ -12115,34 +12019,34 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new GenericTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2993; + this.state = 2938; this.identifier(); - this.state = 3005; + this.state = 2950; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 388, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 390, this.context) ) { case 1: { - this.state = 2994; + this.state = 2939; this.match(TrinoSqlParser.T__0); - this.state = 2995; + this.state = 2940; this.typeParameter(); - this.state = 3000; + this.state = 2945; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2996; + this.state = 2941; this.match(TrinoSqlParser.T__2); - this.state = 2997; + this.state = 2942; this.typeParameter(); } } - this.state = 3002; + this.state = 2947; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 3003; + this.state = 2948; this.match(TrinoSqlParser.T__1); } break; @@ -12151,9 +12055,9 @@ export class TrinoSqlParser extends SQLParserBase { break; } this.context!.stop = this.tokenStream.LT(-1); - this.state = 3018; + this.state = 2963; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 391, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 393, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { if (this._parseListeners != null) { @@ -12164,22 +12068,22 @@ export class TrinoSqlParser extends SQLParserBase { { localContext = new ArrayTypeContext(new TypeContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_type); - this.state = 3009; + this.state = 2954; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 3010; + this.state = 2955; this.match(TrinoSqlParser.KW_ARRAY); - this.state = 3014; + this.state = 2959; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 390, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 392, this.context) ) { case 1: { - this.state = 3011; + this.state = 2956; this.match(TrinoSqlParser.T__7); - this.state = 3012; + this.state = 2957; this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 3013; + this.state = 2958; this.match(TrinoSqlParser.T__8); } break; @@ -12187,9 +12091,9 @@ export class TrinoSqlParser extends SQLParserBase { } } } - this.state = 3020; + this.state = 2965; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 391, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 393, this.context); } } } @@ -12209,24 +12113,24 @@ export class TrinoSqlParser extends SQLParserBase { } public rowField(): RowFieldContext { let localContext = new RowFieldContext(this.context, this.state); - this.enterRule(localContext, 204, TrinoSqlParser.RULE_rowField); + this.enterRule(localContext, 174, TrinoSqlParser.RULE_rowField); try { - this.state = 3025; + this.state = 2970; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 392, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 394, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3021; + this.state = 2966; this.type_(0); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3022; + this.state = 2967; this.identifier(); - this.state = 3023; + this.state = 2968; this.type_(0); } break; @@ -12248,15 +12152,15 @@ export class TrinoSqlParser extends SQLParserBase { } public typeParameter(): TypeParameterContext { let localContext = new TypeParameterContext(this.context, this.state); - this.enterRule(localContext, 206, TrinoSqlParser.RULE_typeParameter); + this.enterRule(localContext, 176, TrinoSqlParser.RULE_typeParameter); try { - this.state = 3029; + this.state = 2974; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.INTEGER_VALUE: this.enterOuterAlt(localContext, 1); { - this.state = 3027; + this.state = 2972; this.match(TrinoSqlParser.INTEGER_VALUE); } break; @@ -12480,7 +12384,7 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.BACKQUOTED_IDENTIFIER: this.enterOuterAlt(localContext, 2); { - this.state = 3028; + this.state = 2973; this.type_(0); } break; @@ -12504,17 +12408,17 @@ export class TrinoSqlParser extends SQLParserBase { } public whenClause(): WhenClauseContext { let localContext = new WhenClauseContext(this.context, this.state); - this.enterRule(localContext, 208, TrinoSqlParser.RULE_whenClause); + this.enterRule(localContext, 178, TrinoSqlParser.RULE_whenClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 3031; + this.state = 2976; this.match(TrinoSqlParser.KW_WHEN); - this.state = 3032; + this.state = 2977; localContext._condition = this.expression(); - this.state = 3033; + this.state = 2978; this.match(TrinoSqlParser.KW_THEN); - this.state = 3034; + this.state = 2979; localContext._result = this.expression(); } } @@ -12534,17 +12438,17 @@ export class TrinoSqlParser extends SQLParserBase { } public filter(): FilterContext { let localContext = new FilterContext(this.context, this.state); - this.enterRule(localContext, 210, TrinoSqlParser.RULE_filter); + this.enterRule(localContext, 180, TrinoSqlParser.RULE_filter); try { this.enterOuterAlt(localContext, 1); { - this.state = 3036; + this.state = 2981; this.match(TrinoSqlParser.KW_FILTER); - this.state = 3037; + this.state = 2982; this.match(TrinoSqlParser.T__0); - this.state = 3038; + this.state = 2983; this.whereClause(); - this.state = 3039; + this.state = 2984; this.match(TrinoSqlParser.T__1); } } @@ -12564,65 +12468,65 @@ export class TrinoSqlParser extends SQLParserBase { } public mergeCase(): MergeCaseContext { let localContext = new MergeCaseContext(this.context, this.state); - this.enterRule(localContext, 212, TrinoSqlParser.RULE_mergeCase); + this.enterRule(localContext, 182, TrinoSqlParser.RULE_mergeCase); let _la: number; try { - this.state = 3105; + this.state = 3050; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 401, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 403, this.context) ) { case 1: localContext = new MergeUpdateContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3041; + this.state = 2986; this.match(TrinoSqlParser.KW_WHEN); - this.state = 3042; + this.state = 2987; this.match(TrinoSqlParser.KW_MATCHED); - this.state = 3045; + this.state = 2990; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 25) { { - this.state = 3043; + this.state = 2988; this.match(TrinoSqlParser.KW_AND); - this.state = 3044; + this.state = 2989; (localContext as MergeUpdateContext)._condition = this.expression(); } } - this.state = 3047; + this.state = 2992; this.match(TrinoSqlParser.KW_THEN); - this.state = 3048; + this.state = 2993; this.match(TrinoSqlParser.KW_UPDATE); - this.state = 3049; + this.state = 2994; this.match(TrinoSqlParser.KW_SET); - this.state = 3050; + this.state = 2995; (localContext as MergeUpdateContext)._identifier = this.identifier(); (localContext as MergeUpdateContext)._targets.push((localContext as MergeUpdateContext)._identifier); - this.state = 3051; + this.state = 2996; this.match(TrinoSqlParser.EQ); - this.state = 3052; + this.state = 2997; (localContext as MergeUpdateContext)._expression = this.expression(); (localContext as MergeUpdateContext)._values.push((localContext as MergeUpdateContext)._expression); - this.state = 3060; + this.state = 3005; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3053; + this.state = 2998; this.match(TrinoSqlParser.T__2); - this.state = 3054; + this.state = 2999; (localContext as MergeUpdateContext)._identifier = this.identifier(); (localContext as MergeUpdateContext)._targets.push((localContext as MergeUpdateContext)._identifier); - this.state = 3055; + this.state = 3000; this.match(TrinoSqlParser.EQ); - this.state = 3056; + this.state = 3001; (localContext as MergeUpdateContext)._expression = this.expression(); (localContext as MergeUpdateContext)._values.push((localContext as MergeUpdateContext)._expression); } } - this.state = 3062; + this.state = 3007; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -12632,25 +12536,25 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new MergeDeleteContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3063; + this.state = 3008; this.match(TrinoSqlParser.KW_WHEN); - this.state = 3064; + this.state = 3009; this.match(TrinoSqlParser.KW_MATCHED); - this.state = 3067; + this.state = 3012; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 25) { { - this.state = 3065; + this.state = 3010; this.match(TrinoSqlParser.KW_AND); - this.state = 3066; + this.state = 3011; (localContext as MergeDeleteContext)._condition = this.expression(); } } - this.state = 3069; + this.state = 3014; this.match(TrinoSqlParser.KW_THEN); - this.state = 3070; + this.state = 3015; this.match(TrinoSqlParser.KW_DELETE); } break; @@ -12658,85 +12562,85 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new MergeInsertContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3071; + this.state = 3016; this.match(TrinoSqlParser.KW_WHEN); - this.state = 3072; + this.state = 3017; this.match(TrinoSqlParser.KW_NOT); - this.state = 3073; + this.state = 3018; this.match(TrinoSqlParser.KW_MATCHED); - this.state = 3076; + this.state = 3021; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 25) { { - this.state = 3074; + this.state = 3019; this.match(TrinoSqlParser.KW_AND); - this.state = 3075; + this.state = 3020; (localContext as MergeInsertContext)._condition = this.expression(); } } - this.state = 3078; + this.state = 3023; this.match(TrinoSqlParser.KW_THEN); - this.state = 3079; + this.state = 3024; this.match(TrinoSqlParser.KW_INSERT); - this.state = 3091; + this.state = 3036; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 3080; + this.state = 3025; this.match(TrinoSqlParser.T__0); - this.state = 3081; + this.state = 3026; (localContext as MergeInsertContext)._identifier = this.identifier(); (localContext as MergeInsertContext)._targets.push((localContext as MergeInsertContext)._identifier); - this.state = 3086; + this.state = 3031; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3082; + this.state = 3027; this.match(TrinoSqlParser.T__2); - this.state = 3083; + this.state = 3028; (localContext as MergeInsertContext)._identifier = this.identifier(); (localContext as MergeInsertContext)._targets.push((localContext as MergeInsertContext)._identifier); } } - this.state = 3088; + this.state = 3033; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 3089; + this.state = 3034; this.match(TrinoSqlParser.T__1); } } - this.state = 3093; + this.state = 3038; this.match(TrinoSqlParser.KW_VALUES); - this.state = 3094; + this.state = 3039; this.match(TrinoSqlParser.T__0); - this.state = 3095; + this.state = 3040; (localContext as MergeInsertContext)._expression = this.expression(); (localContext as MergeInsertContext)._values.push((localContext as MergeInsertContext)._expression); - this.state = 3100; + this.state = 3045; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3096; + this.state = 3041; this.match(TrinoSqlParser.T__2); - this.state = 3097; + this.state = 3042; (localContext as MergeInsertContext)._expression = this.expression(); (localContext as MergeInsertContext)._values.push((localContext as MergeInsertContext)._expression); } } - this.state = 3102; + this.state = 3047; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 3103; + this.state = 3048; this.match(TrinoSqlParser.T__1); } break; @@ -12758,13 +12662,13 @@ export class TrinoSqlParser extends SQLParserBase { } public over(): OverContext { let localContext = new OverContext(this.context, this.state); - this.enterRule(localContext, 214, TrinoSqlParser.RULE_over); + this.enterRule(localContext, 184, TrinoSqlParser.RULE_over); try { this.enterOuterAlt(localContext, 1); { - this.state = 3107; + this.state = 3052; this.match(TrinoSqlParser.KW_OVER); - this.state = 3113; + this.state = 3058; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ABSENT: @@ -12986,17 +12890,17 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.QUOTED_IDENTIFIER: case TrinoSqlParser.BACKQUOTED_IDENTIFIER: { - this.state = 3108; + this.state = 3053; localContext._windowName = this.identifier(); } break; case TrinoSqlParser.T__0: { - this.state = 3109; + this.state = 3054; this.match(TrinoSqlParser.T__0); - this.state = 3110; + this.state = 3055; this.windowSpecification(); - this.state = 3111; + this.state = 3056; this.match(TrinoSqlParser.T__1); } break; @@ -13021,61 +12925,61 @@ export class TrinoSqlParser extends SQLParserBase { } public windowFrame(): WindowFrameContext { let localContext = new WindowFrameContext(this.context, this.state); - this.enterRule(localContext, 216, TrinoSqlParser.RULE_windowFrame); + this.enterRule(localContext, 186, TrinoSqlParser.RULE_windowFrame); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 3124; + this.state = 3069; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 169) { { - this.state = 3115; + this.state = 3060; this.match(TrinoSqlParser.KW_MEASURES); - this.state = 3116; + this.state = 3061; this.measureDefinition(); - this.state = 3121; + this.state = 3066; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3117; + this.state = 3062; this.match(TrinoSqlParser.T__2); - this.state = 3118; + this.state = 3063; this.measureDefinition(); } } - this.state = 3123; + this.state = 3068; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 3126; + this.state = 3071; this.frameExtent(); - this.state = 3130; + this.state = 3075; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 21) { { - this.state = 3127; + this.state = 3072; this.match(TrinoSqlParser.KW_AFTER); - this.state = 3128; + this.state = 3073; this.match(TrinoSqlParser.KW_MATCH); - this.state = 3129; + this.state = 3074; this.skipTo(); } } - this.state = 3133; + this.state = 3078; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 125 || _la === 248) { { - this.state = 3132; + this.state = 3077; _la = this.tokenStream.LA(1); if(!(_la === 125 || _la === 248)) { this.errorHandler.recoverInline(this); @@ -13087,72 +12991,72 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 3140; + this.state = 3085; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 207) { { - this.state = 3135; + this.state = 3080; this.match(TrinoSqlParser.KW_PATTERN); - this.state = 3136; + this.state = 3081; this.match(TrinoSqlParser.T__0); - this.state = 3137; + this.state = 3082; this.rowPattern(0); - this.state = 3138; + this.state = 3083; this.match(TrinoSqlParser.T__1); } } - this.state = 3151; + this.state = 3096; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 258) { { - this.state = 3142; + this.state = 3087; this.match(TrinoSqlParser.KW_SUBSET); - this.state = 3143; + this.state = 3088; this.subsetDefinition(); - this.state = 3148; + this.state = 3093; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3144; + this.state = 3089; this.match(TrinoSqlParser.T__2); - this.state = 3145; + this.state = 3090; this.subsetDefinition(); } } - this.state = 3150; + this.state = 3095; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 3162; + this.state = 3107; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 72) { { - this.state = 3153; + this.state = 3098; this.match(TrinoSqlParser.KW_DEFINE); - this.state = 3154; + this.state = 3099; this.variableDefinition(); - this.state = 3159; + this.state = 3104; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3155; + this.state = 3100; this.match(TrinoSqlParser.T__2); - this.state = 3156; + this.state = 3101; this.variableDefinition(); } } - this.state = 3161; + this.state = 3106; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -13177,1510 +13081,298 @@ export class TrinoSqlParser extends SQLParserBase { } public frameExtent(): FrameExtentContext { let localContext = new FrameExtentContext(this.context, this.state); - this.enterRule(localContext, 218, TrinoSqlParser.RULE_frameExtent); - try { - this.state = 3188; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 412, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); - { - this.state = 3164; - localContext._frameType = this.match(TrinoSqlParser.KW_RANGE); - this.state = 3165; - localContext._start = this.frameBound(); - } - break; - case 2: - this.enterOuterAlt(localContext, 2); - { - this.state = 3166; - localContext._frameType = this.match(TrinoSqlParser.KW_ROWS); - this.state = 3167; - localContext._start = this.frameBound(); - } - break; - case 3: - this.enterOuterAlt(localContext, 3); - { - this.state = 3168; - localContext._frameType = this.match(TrinoSqlParser.KW_GROUPS); - this.state = 3169; - localContext._start = this.frameBound(); - } - break; - case 4: - this.enterOuterAlt(localContext, 4); - { - this.state = 3170; - localContext._frameType = this.match(TrinoSqlParser.KW_RANGE); - this.state = 3171; - this.match(TrinoSqlParser.KW_BETWEEN); - this.state = 3172; - localContext._start = this.frameBound(); - this.state = 3173; - this.match(TrinoSqlParser.KW_AND); - this.state = 3174; - localContext._end = this.frameBound(); - } - break; - case 5: - this.enterOuterAlt(localContext, 5); - { - this.state = 3176; - localContext._frameType = this.match(TrinoSqlParser.KW_ROWS); - this.state = 3177; - this.match(TrinoSqlParser.KW_BETWEEN); - this.state = 3178; - localContext._start = this.frameBound(); - this.state = 3179; - this.match(TrinoSqlParser.KW_AND); - this.state = 3180; - localContext._end = this.frameBound(); - } - break; - case 6: - this.enterOuterAlt(localContext, 6); - { - this.state = 3182; - localContext._frameType = this.match(TrinoSqlParser.KW_GROUPS); - this.state = 3183; - this.match(TrinoSqlParser.KW_BETWEEN); - this.state = 3184; - localContext._start = this.frameBound(); - this.state = 3185; - this.match(TrinoSqlParser.KW_AND); - this.state = 3186; - localContext._end = this.frameBound(); - } - break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public frameBound(): FrameBoundContext { - let localContext = new FrameBoundContext(this.context, this.state); - this.enterRule(localContext, 220, TrinoSqlParser.RULE_frameBound); + this.enterRule(localContext, 188, TrinoSqlParser.RULE_frameExtent); let _la: number; try { - this.state = 3199; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 413, this.context) ) { - case 1: - localContext = new UnboundedFrameContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3190; - this.match(TrinoSqlParser.KW_UNBOUNDED); - this.state = 3191; - (localContext as UnboundedFrameContext)._boundType = this.match(TrinoSqlParser.KW_PRECEDING); - } - break; - case 2: - localContext = new UnboundedFrameContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3192; - this.match(TrinoSqlParser.KW_UNBOUNDED); - this.state = 3193; - (localContext as UnboundedFrameContext)._boundType = this.match(TrinoSqlParser.KW_FOLLOWING); - } - break; - case 3: - localContext = new CurrentRowBoundContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 3194; - this.match(TrinoSqlParser.KW_CURRENT); - this.state = 3195; - this.match(TrinoSqlParser.KW_ROW); - } - break; - case 4: - localContext = new BoundedFrameContext(localContext); - this.enterOuterAlt(localContext, 4); - { - this.state = 3196; - this.expression(); - this.state = 3197; - (localContext as BoundedFrameContext)._boundType = this.tokenStream.LT(1); - _la = this.tokenStream.LA(1); - if(!(_la === 103 || _la === 213)) { - (localContext as BoundedFrameContext)._boundType = this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - - public rowPattern(): RowPatternContext; - public rowPattern(_p: number): RowPatternContext; - public rowPattern(_p?: number): RowPatternContext { - if (_p === undefined) { - _p = 0; - } - - let parentContext = this.context; - let parentState = this.state; - let localContext = new RowPatternContext(this.context, parentState); - let previousContext = localContext; - let _startState = 222; - this.enterRecursionRule(localContext, 222, TrinoSqlParser.RULE_rowPattern, _p); - try { - let alternative: number; this.enterOuterAlt(localContext, 1); { - { - localContext = new QuantifiedPrimaryContext(localContext); - this.context = localContext; - previousContext = localContext; - - this.state = 3202; - this.patternPrimary(); - this.state = 3204; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 414, this.context) ) { - case 1: - { - this.state = 3203; - this.patternQuantifier(); - } - break; - } - } - this.context!.stop = this.tokenStream.LT(-1); - this.state = 3213; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 416, this.context); - while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { - if (alternative === 1) { - if (this._parseListeners != null) { - this.triggerExitRuleEvent(); - } - previousContext = localContext; - { - this.state = 3211; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 415, this.context) ) { - case 1: - { - localContext = new PatternConcatenationContext(new RowPatternContext(parentContext, parentState)); - this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_rowPattern); - this.state = 3206; - if (!(this.precpred(this.context, 2))) { - throw this.createFailedPredicateException("this.precpred(this.context, 2)"); - } - this.state = 3207; - this.rowPattern(3); - } - break; - case 2: - { - localContext = new PatternAlternationContext(new RowPatternContext(parentContext, parentState)); - this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_rowPattern); - this.state = 3208; - if (!(this.precpred(this.context, 1))) { - throw this.createFailedPredicateException("this.precpred(this.context, 1)"); - } - this.state = 3209; - this.match(TrinoSqlParser.T__10); - this.state = 3210; - this.rowPattern(2); - } - break; - } - } - } - this.state = 3215; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 416, this.context); - } + this.state = 3109; + localContext._frameType = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(_la === 117 || _la === 220 || _la === 241)) { + localContext._frameType = this.errorHandler.recoverInline(this); } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; + else { + this.errorHandler.reportMatch(this); + this.consume(); } - } - finally { - this.unrollRecursionContexts(parentContext); - } - return localContext; - } - public patternPrimary(): PatternPrimaryContext { - let localContext = new PatternPrimaryContext(this.context, this.state); - this.enterRule(localContext, 224, TrinoSqlParser.RULE_patternPrimary); - let _la: number; - try { - this.state = 3241; + this.state = 3116; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 418, this.context) ) { - case 1: - localContext = new PatternVariableContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3216; - this.identifier(); - } - break; - case 2: - localContext = new EmptyPatternContext(localContext); - this.enterOuterAlt(localContext, 2); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_BETWEEN: { - this.state = 3217; - this.match(TrinoSqlParser.T__0); - this.state = 3218; - this.match(TrinoSqlParser.T__1); + this.state = 3110; + this.match(TrinoSqlParser.KW_BETWEEN); + this.state = 3111; + localContext._start = this.frameBound(); + this.state = 3112; + this.match(TrinoSqlParser.KW_AND); + this.state = 3113; + localContext._end = this.frameBound(); } break; - case 3: - localContext = new PatternPermutationContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 3219; - this.match(TrinoSqlParser.KW_PERMUTE); - this.state = 3220; - this.match(TrinoSqlParser.T__0); - this.state = 3221; - this.rowPattern(0); - this.state = 3226; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 3222; - this.match(TrinoSqlParser.T__2); - this.state = 3223; - this.rowPattern(0); - } - } - this.state = 3228; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - this.state = 3229; - this.match(TrinoSqlParser.T__1); - } - break; - case 4: - localContext = new GroupedPatternContext(localContext); - this.enterOuterAlt(localContext, 4); - { - this.state = 3231; - this.match(TrinoSqlParser.T__0); - this.state = 3232; - this.rowPattern(0); - this.state = 3233; - this.match(TrinoSqlParser.T__1); - } - break; - case 5: - localContext = new PartitionStartAnchorContext(localContext); - this.enterOuterAlt(localContext, 5); - { - this.state = 3235; - this.match(TrinoSqlParser.T__11); - } - break; - case 6: - localContext = new PartitionEndAnchorContext(localContext); - this.enterOuterAlt(localContext, 6); - { - this.state = 3236; - this.match(TrinoSqlParser.T__12); - } - break; - case 7: - localContext = new ExcludedPatternContext(localContext); - this.enterOuterAlt(localContext, 7); - { - this.state = 3237; - this.match(TrinoSqlParser.T__13); - this.state = 3238; - this.rowPattern(0); - this.state = 3239; - this.match(TrinoSqlParser.T__14); - } - break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public patternQuantifier(): PatternQuantifierContext { - let localContext = new PatternQuantifierContext(this.context, this.state); - this.enterRule(localContext, 226, TrinoSqlParser.RULE_patternQuantifier); - let _la: number; - try { - this.state = 3273; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 426, this.context) ) { - case 1: - localContext = new ZeroOrMoreQuantifierContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3243; - this.match(TrinoSqlParser.ASTERISK); - this.state = 3245; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 419, this.context) ) { - case 1: - { - this.state = 3244; - (localContext as ZeroOrMoreQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); - } - break; - } - } - break; - case 2: - localContext = new OneOrMoreQuantifierContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3247; - this.match(TrinoSqlParser.PLUS); - this.state = 3249; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 420, this.context) ) { - case 1: - { - this.state = 3248; - (localContext as OneOrMoreQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); - } - break; - } - } - break; - case 3: - localContext = new ZeroOrOneQuantifierContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 3251; - this.match(TrinoSqlParser.QUESTION_MARK); - this.state = 3253; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 421, this.context) ) { - case 1: - { - this.state = 3252; - (localContext as ZeroOrOneQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); - } - break; - } - } - break; - case 4: - localContext = new RangeQuantifierContext(localContext); - this.enterOuterAlt(localContext, 4); - { - this.state = 3255; - this.match(TrinoSqlParser.T__15); - this.state = 3256; - (localContext as RangeQuantifierContext)._exactly = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 3257; - this.match(TrinoSqlParser.T__16); - this.state = 3259; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 422, this.context) ) { - case 1: - { - this.state = 3258; - (localContext as RangeQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); - } - break; - } - } - break; - case 5: - localContext = new RangeQuantifierContext(localContext); - this.enterOuterAlt(localContext, 5); - { - this.state = 3261; - this.match(TrinoSqlParser.T__15); - this.state = 3263; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 330) { - { - this.state = 3262; - (localContext as RangeQuantifierContext)._atLeast = this.match(TrinoSqlParser.INTEGER_VALUE); - } - } - - this.state = 3265; - this.match(TrinoSqlParser.T__2); - this.state = 3267; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 330) { - { - this.state = 3266; - (localContext as RangeQuantifierContext)._atMost = this.match(TrinoSqlParser.INTEGER_VALUE); - } - } - - this.state = 3269; - this.match(TrinoSqlParser.T__16); - this.state = 3271; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 425, this.context) ) { - case 1: - { - this.state = 3270; - (localContext as RangeQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); - } - break; - } - } - break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public updateAssignment(): UpdateAssignmentContext { - let localContext = new UpdateAssignmentContext(this.context, this.state); - this.enterRule(localContext, 228, TrinoSqlParser.RULE_updateAssignment); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3275; - this.identifier(); - this.state = 3276; - this.match(TrinoSqlParser.EQ); - this.state = 3277; - this.expression(); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public explainOption(): ExplainOptionContext { - let localContext = new ExplainOptionContext(this.context, this.state); - this.enterRule(localContext, 230, TrinoSqlParser.RULE_explainOption); - let _la: number; - try { - this.state = 3283; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_FORMAT: - localContext = new ExplainFormatContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3279; - this.match(TrinoSqlParser.KW_FORMAT); - this.state = 3280; - (localContext as ExplainFormatContext)._value = this.tokenStream.LT(1); - _la = this.tokenStream.LA(1); - if(!(_la === 114 || _la === 138 || _la === 264)) { - (localContext as ExplainFormatContext)._value = this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - break; - case TrinoSqlParser.KW_TYPE: - localContext = new ExplainTypeContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3281; - this.match(TrinoSqlParser.KW_TYPE); - this.state = 3282; - (localContext as ExplainTypeContext)._value = this.tokenStream.LT(1); - _la = this.tokenStream.LA(1); - if(!(_la === 81 || _la === 133 || _la === 161 || _la === 295)) { - (localContext as ExplainTypeContext)._value = this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - break; - default: - throw new antlr.NoViableAltException(this); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public transactionMode(): TransactionModeContext { - let localContext = new TransactionModeContext(this.context, this.state); - this.enterRule(localContext, 232, TrinoSqlParser.RULE_transactionMode); - let _la: number; - try { - this.state = 3290; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_ISOLATION: - localContext = new IsolationLevelContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3285; - this.match(TrinoSqlParser.KW_ISOLATION); - this.state = 3286; - this.match(TrinoSqlParser.KW_LEVEL); - this.state = 3287; - this.levelOfIsolation(); - } - break; - case TrinoSqlParser.KW_READ: - localContext = new TransactionAccessModeContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3288; - this.match(TrinoSqlParser.KW_READ); - this.state = 3289; - (localContext as TransactionAccessModeContext)._accessMode = this.tokenStream.LT(1); - _la = this.tokenStream.LA(1); - if(!(_la === 193 || _la === 310)) { - (localContext as TransactionAccessModeContext)._accessMode = this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - break; - default: - throw new antlr.NoViableAltException(this); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public levelOfIsolation(): LevelOfIsolationContext { - let localContext = new LevelOfIsolationContext(this.context, this.state); - this.enterRule(localContext, 234, TrinoSqlParser.RULE_levelOfIsolation); - try { - this.state = 3299; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 429, this.context) ) { - case 1: - localContext = new ReadUncommittedContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3292; - this.match(TrinoSqlParser.KW_READ); - this.state = 3293; - this.match(TrinoSqlParser.KW_UNCOMMITTED); - } - break; - case 2: - localContext = new ReadCommittedContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3294; - this.match(TrinoSqlParser.KW_READ); - this.state = 3295; - this.match(TrinoSqlParser.KW_COMMITTED); - } - break; - case 3: - localContext = new RepeatableReadContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 3296; - this.match(TrinoSqlParser.KW_REPEATABLE); - this.state = 3297; - this.match(TrinoSqlParser.KW_READ); - } - break; - case 4: - localContext = new SerializableContext(localContext); - this.enterOuterAlt(localContext, 4); - { - this.state = 3298; - this.match(TrinoSqlParser.KW_SERIALIZABLE); - } - break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public callArgument(): CallArgumentContext { - let localContext = new CallArgumentContext(this.context, this.state); - this.enterRule(localContext, 236, TrinoSqlParser.RULE_callArgument); - try { - this.state = 3306; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 430, this.context) ) { - case 1: - localContext = new PositionalArgumentContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3301; - this.expression(); - } - break; - case 2: - localContext = new NamedArgumentContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3302; - this.identifier(); - this.state = 3303; - this.match(TrinoSqlParser.T__5); - this.state = 3304; - this.expression(); - } - break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public pathElement(): PathElementContext { - let localContext = new PathElementContext(this.context, this.state); - this.enterRule(localContext, 238, TrinoSqlParser.RULE_pathElement); - try { - this.state = 3313; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 431, this.context) ) { - case 1: - localContext = new QualifiedArgumentContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3308; - this.identifier(); - this.state = 3309; - this.match(TrinoSqlParser.T__3); - this.state = 3310; - this.identifier(); - } - break; - case 2: - localContext = new UnqualifiedArgumentContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3312; - this.identifier(); - } - break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public pathSpecification(): PathSpecificationContext { - let localContext = new PathSpecificationContext(this.context, this.state); - this.enterRule(localContext, 240, TrinoSqlParser.RULE_pathSpecification); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3315; - this.pathElement(); - this.state = 3320; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 3316; - this.match(TrinoSqlParser.T__2); - this.state = 3317; - this.pathElement(); - } - } - this.state = 3322; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public functionSpecification(): FunctionSpecificationContext { - let localContext = new FunctionSpecificationContext(this.context, this.state); - this.enterRule(localContext, 242, TrinoSqlParser.RULE_functionSpecification); - try { - let alternative: number; - this.enterOuterAlt(localContext, 1); - { - this.state = 3323; - this.match(TrinoSqlParser.KW_FUNCTION); - this.state = 3324; - this.functionDeclaration(); - this.state = 3325; - this.returnsClause(); - this.state = 3329; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 433, this.context); - while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { - if (alternative === 1) { - { - { - this.state = 3326; - this.routineCharacteristic(); - } - } - } - this.state = 3331; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 433, this.context); - } - this.state = 3332; - this.controlStatement(); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public functionDeclaration(): FunctionDeclarationContext { - let localContext = new FunctionDeclarationContext(this.context, this.state); - this.enterRule(localContext, 244, TrinoSqlParser.RULE_functionDeclaration); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3334; - this.functionNameCreate(); - this.state = 3335; - this.match(TrinoSqlParser.T__0); - this.state = 3344; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 50)) & ~0x1F) === 0 && ((1 << (_la - 50)) & 3069640845) !== 0) || ((((_la - 82)) & ~0x1F) === 0 && ((1 << (_la - 82)) & 4240329075) !== 0) || ((((_la - 114)) & ~0x1F) === 0 && ((1 << (_la - 114)) & 2171416041) !== 0) || ((((_la - 146)) & ~0x1F) === 0 && ((1 << (_la - 146)) & 4160722303) !== 0) || ((((_la - 178)) & ~0x1F) === 0 && ((1 << (_la - 178)) & 4293517199) !== 0) || ((((_la - 210)) & ~0x1F) === 0 && ((1 << (_la - 210)) & 3724537823) !== 0) || ((((_la - 242)) & ~0x1F) === 0 && ((1 << (_la - 242)) & 2130182015) !== 0) || ((((_la - 275)) & ~0x1F) === 0 && ((1 << (_la - 275)) & 3015636855) !== 0) || ((((_la - 307)) & ~0x1F) === 0 && ((1 << (_la - 307)) & 1006633023) !== 0)) { - { - this.state = 3336; - this.parameterDeclaration(); - this.state = 3341; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 3337; - this.match(TrinoSqlParser.T__2); - this.state = 3338; - this.parameterDeclaration(); - } - } - this.state = 3343; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - } - } - - this.state = 3346; - this.match(TrinoSqlParser.T__1); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public functionSignature(): FunctionSignatureContext { - let localContext = new FunctionSignatureContext(this.context, this.state); - this.enterRule(localContext, 246, TrinoSqlParser.RULE_functionSignature); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3348; - this.functionName(); - this.state = 3349; - this.match(TrinoSqlParser.T__0); - this.state = 3358; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 50)) & ~0x1F) === 0 && ((1 << (_la - 50)) & 3069640845) !== 0) || ((((_la - 82)) & ~0x1F) === 0 && ((1 << (_la - 82)) & 4240329075) !== 0) || ((((_la - 114)) & ~0x1F) === 0 && ((1 << (_la - 114)) & 2171416041) !== 0) || ((((_la - 146)) & ~0x1F) === 0 && ((1 << (_la - 146)) & 4160722303) !== 0) || ((((_la - 178)) & ~0x1F) === 0 && ((1 << (_la - 178)) & 4293517199) !== 0) || ((((_la - 210)) & ~0x1F) === 0 && ((1 << (_la - 210)) & 3724537823) !== 0) || ((((_la - 242)) & ~0x1F) === 0 && ((1 << (_la - 242)) & 2130182015) !== 0) || ((((_la - 275)) & ~0x1F) === 0 && ((1 << (_la - 275)) & 3015636855) !== 0) || ((((_la - 307)) & ~0x1F) === 0 && ((1 << (_la - 307)) & 1006633023) !== 0)) { - { - this.state = 3350; - this.parameterDeclaration(); - this.state = 3355; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 3351; - this.match(TrinoSqlParser.T__2); - this.state = 3352; - this.parameterDeclaration(); - } - } - this.state = 3357; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - } - } - - this.state = 3360; - this.match(TrinoSqlParser.T__1); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public parameterDeclaration(): ParameterDeclarationContext { - let localContext = new ParameterDeclarationContext(this.context, this.state); - this.enterRule(localContext, 248, TrinoSqlParser.RULE_parameterDeclaration); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3363; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 438, this.context) ) { - case 1: - { - this.state = 3362; - this.identifier(); - } - break; - } - this.state = 3365; - this.type_(0); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public returnsClause(): ReturnsClauseContext { - let localContext = new ReturnsClauseContext(this.context, this.state); - this.enterRule(localContext, 250, TrinoSqlParser.RULE_returnsClause); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3367; - this.match(TrinoSqlParser.KW_RETURNS); - this.state = 3368; - this.type_(0); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public routineCharacteristic(): RoutineCharacteristicContext { - let localContext = new RoutineCharacteristicContext(this.context, this.state); - this.enterRule(localContext, 252, TrinoSqlParser.RULE_routineCharacteristic); - let _la: number; - try { - this.state = 3389; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_LANGUAGE: - localContext = new LanguageCharacteristicContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3370; - this.match(TrinoSqlParser.KW_LANGUAGE); - this.state = 3371; - this.identifier(); - } - break; - case TrinoSqlParser.KW_DETERMINISTIC: - case TrinoSqlParser.KW_NOT: - localContext = new DeterministicCharacteristicContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3373; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 183) { - { - this.state = 3372; - this.match(TrinoSqlParser.KW_NOT); - } - } - - this.state = 3375; - this.match(TrinoSqlParser.KW_DETERMINISTIC); - } - break; - case TrinoSqlParser.KW_RETURNS: - localContext = new ReturnsNullOnNullInputCharacteristicContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 3376; - this.match(TrinoSqlParser.KW_RETURNS); - this.state = 3377; - this.match(TrinoSqlParser.KW_NULL); - this.state = 3378; - this.match(TrinoSqlParser.KW_ON); - this.state = 3379; - this.match(TrinoSqlParser.KW_NULL); - this.state = 3380; - this.match(TrinoSqlParser.KW_INPUT); - } - break; - case TrinoSqlParser.KW_CALLED: - localContext = new CalledOnNullInputCharacteristicContext(localContext); - this.enterOuterAlt(localContext, 4); - { - this.state = 3381; - this.match(TrinoSqlParser.KW_CALLED); - this.state = 3382; - this.match(TrinoSqlParser.KW_ON); - this.state = 3383; - this.match(TrinoSqlParser.KW_NULL); - this.state = 3384; - this.match(TrinoSqlParser.KW_INPUT); - } - break; - case TrinoSqlParser.KW_SECURITY: - localContext = new SecurityCharacteristicContext(localContext); - this.enterOuterAlt(localContext, 5); - { - this.state = 3385; - this.match(TrinoSqlParser.KW_SECURITY); - this.state = 3386; - _la = this.tokenStream.LA(1); - if(!(_la === 73 || _la === 132)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - break; - case TrinoSqlParser.KW_COMMENT: - localContext = new CommentCharacteristicContext(localContext); - this.enterOuterAlt(localContext, 6); - { - this.state = 3387; - this.match(TrinoSqlParser.KW_COMMENT); - this.state = 3388; - this.string_(); - } - break; - default: - throw new antlr.NoViableAltException(this); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public controlStatement(): ControlStatementContext { - let localContext = new ControlStatementContext(this.context, this.state); - this.enterRule(localContext, 254, TrinoSqlParser.RULE_controlStatement); - let _la: number; - try { - let alternative: number; - this.state = 3490; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 452, this.context) ) { - case 1: - localContext = new ReturnStatementContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3391; - this.match(TrinoSqlParser.KW_RETURN); - this.state = 3392; - this.valueExpression(0); - } - break; - case 2: - localContext = new AssignmentStatementContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3393; - this.match(TrinoSqlParser.KW_SET); - this.state = 3394; - this.identifier(); - this.state = 3395; - this.match(TrinoSqlParser.EQ); - this.state = 3396; - this.expression(); - } - break; - case 3: - localContext = new SimpleCaseStatementContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 3398; - this.match(TrinoSqlParser.KW_CASE); - this.state = 3399; - this.expression(); - this.state = 3401; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - do { - { - { - this.state = 3400; - this.caseStatementWhenClause(); - } - } - this.state = 3403; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } while (_la === 301); - this.state = 3406; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 85) { - { - this.state = 3405; - this.elseClause(); - } - } - - this.state = 3408; - this.match(TrinoSqlParser.KW_END); - this.state = 3409; - this.match(TrinoSqlParser.KW_CASE); - } - break; - case 4: - localContext = new SearchedCaseStatementContext(localContext); - this.enterOuterAlt(localContext, 4); - { - this.state = 3411; - this.match(TrinoSqlParser.KW_CASE); - this.state = 3413; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - do { - { - { - this.state = 3412; - this.caseStatementWhenClause(); - } - } - this.state = 3415; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } while (_la === 301); - this.state = 3418; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 85) { - { - this.state = 3417; - this.elseClause(); - } - } - - this.state = 3420; - this.match(TrinoSqlParser.KW_END); - this.state = 3421; - this.match(TrinoSqlParser.KW_CASE); - } - break; - case 5: - localContext = new IfStatementContext(localContext); - this.enterOuterAlt(localContext, 5); - { - this.state = 3423; - this.match(TrinoSqlParser.KW_IF); - this.state = 3424; - this.expression(); - this.state = 3425; - this.match(TrinoSqlParser.KW_THEN); - this.state = 3426; - this.sqlStatementList(); - this.state = 3430; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 87) { - { - { - this.state = 3427; - this.elseIfClause(); - } - } - this.state = 3432; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - this.state = 3434; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 85) { - { - this.state = 3433; - this.elseClause(); - } - } - - this.state = 3436; - this.match(TrinoSqlParser.KW_END); - this.state = 3437; - this.match(TrinoSqlParser.KW_IF); - } - break; - case 6: - localContext = new IterateStatementContext(localContext); - this.enterOuterAlt(localContext, 6); - { - this.state = 3439; - this.match(TrinoSqlParser.KW_ITERATE); - this.state = 3440; - this.identifier(); - } - break; - case 7: - localContext = new LeaveStatementContext(localContext); - this.enterOuterAlt(localContext, 7); - { - this.state = 3441; - this.match(TrinoSqlParser.KW_LEAVE); - this.state = 3442; - this.identifier(); - } - break; - case 8: - localContext = new CompoundStatementContext(localContext); - this.enterOuterAlt(localContext, 8); - { - this.state = 3443; - this.match(TrinoSqlParser.KW_BEGIN); - this.state = 3449; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 447, this.context); - while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { - if (alternative === 1) { - { - { - this.state = 3444; - this.variableDeclaration(); - this.state = 3445; - this.match(TrinoSqlParser.SEMICOLON); - } - } - } - this.state = 3451; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 447, this.context); - } - this.state = 3453; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4286249823) !== 0) || ((((_la - 50)) & ~0x1F) === 0 && ((1 << (_la - 50)) & 3069640845) !== 0) || ((((_la - 82)) & ~0x1F) === 0 && ((1 << (_la - 82)) & 4240329075) !== 0) || ((((_la - 114)) & ~0x1F) === 0 && ((1 << (_la - 114)) & 2171416041) !== 0) || ((((_la - 146)) & ~0x1F) === 0 && ((1 << (_la - 146)) & 4160722303) !== 0) || ((((_la - 178)) & ~0x1F) === 0 && ((1 << (_la - 178)) & 4293517199) !== 0) || ((((_la - 210)) & ~0x1F) === 0 && ((1 << (_la - 210)) & 3724537823) !== 0) || ((((_la - 242)) & ~0x1F) === 0 && ((1 << (_la - 242)) & 2130182015) !== 0) || ((((_la - 275)) & ~0x1F) === 0 && ((1 << (_la - 275)) & 3015636855) !== 0) || ((((_la - 307)) & ~0x1F) === 0 && ((1 << (_la - 307)) & 1006633023) !== 0)) { - { - this.state = 3452; - this.sqlStatementList(); - } - } - - this.state = 3455; - this.match(TrinoSqlParser.KW_END); - } - break; - case 9: - localContext = new LoopStatementContext(localContext); - this.enterOuterAlt(localContext, 9); - { - this.state = 3459; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 449, this.context) ) { - case 1: - { - this.state = 3456; - (localContext as LoopStatementContext)._label = this.identifier(); - this.state = 3457; - this.match(TrinoSqlParser.T__9); - } - break; - } - this.state = 3461; - this.match(TrinoSqlParser.KW_LOOP); - this.state = 3462; - this.sqlStatementList(); - this.state = 3463; - this.match(TrinoSqlParser.KW_END); - this.state = 3464; - this.match(TrinoSqlParser.KW_LOOP); - } - break; - case 10: - localContext = new WhileStatementContext(localContext); - this.enterOuterAlt(localContext, 10); - { - this.state = 3469; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 450, this.context) ) { - case 1: - { - this.state = 3466; - (localContext as WhileStatementContext)._label = this.identifier(); - this.state = 3467; - this.match(TrinoSqlParser.T__9); - } - break; - } - this.state = 3471; - this.match(TrinoSqlParser.KW_WHILE); - this.state = 3472; - this.expression(); - this.state = 3473; - this.match(TrinoSqlParser.KW_DO); - this.state = 3474; - this.sqlStatementList(); - this.state = 3475; - this.match(TrinoSqlParser.KW_END); - this.state = 3476; - this.match(TrinoSqlParser.KW_WHILE); - } - break; - case 11: - localContext = new RepeatStatementContext(localContext); - this.enterOuterAlt(localContext, 11); - { - this.state = 3481; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 451, this.context) ) { - case 1: - { - this.state = 3478; - (localContext as RepeatStatementContext)._label = this.identifier(); - this.state = 3479; - this.match(TrinoSqlParser.T__9); - } - break; - } - this.state = 3483; - this.match(TrinoSqlParser.KW_REPEAT); - this.state = 3484; - this.sqlStatementList(); - this.state = 3485; - this.match(TrinoSqlParser.KW_UNTIL); - this.state = 3486; - this.expression(); - this.state = 3487; - this.match(TrinoSqlParser.KW_END); - this.state = 3488; - this.match(TrinoSqlParser.KW_REPEAT); - } - break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; + case TrinoSqlParser.T__0: + case TrinoSqlParser.KW_ABSENT: + case TrinoSqlParser.KW_ADD: + case TrinoSqlParser.KW_ADMIN: + case TrinoSqlParser.KW_AFTER: + case TrinoSqlParser.KW_ALL: + case TrinoSqlParser.KW_ANALYZE: + case TrinoSqlParser.KW_ANY: + case TrinoSqlParser.KW_ARRAY: + case TrinoSqlParser.KW_ASC: + case TrinoSqlParser.KW_AT: + case TrinoSqlParser.KW_AUTHORIZATION: + case TrinoSqlParser.KW_BEGIN: + case TrinoSqlParser.KW_BERNOULLI: + case TrinoSqlParser.KW_BOTH: + case TrinoSqlParser.KW_CALL: + case TrinoSqlParser.KW_CALLED: + case TrinoSqlParser.KW_CASCADE: + case TrinoSqlParser.KW_CASE: + case TrinoSqlParser.KW_CAST: + case TrinoSqlParser.KW_CATALOG: + case TrinoSqlParser.KW_CATALOGS: + case TrinoSqlParser.KW_COALESCE: + case TrinoSqlParser.KW_COLUMN: + case TrinoSqlParser.KW_COLUMNS: + case TrinoSqlParser.KW_COMMENT: + case TrinoSqlParser.KW_COMMIT: + case TrinoSqlParser.KW_COMMITTED: + case TrinoSqlParser.KW_CONDITIONAL: + case TrinoSqlParser.KW_COUNT: + case TrinoSqlParser.KW_COPARTITION: + case TrinoSqlParser.KW_CURRENT: + case TrinoSqlParser.KW_CURRENT_CATALOG: + case TrinoSqlParser.KW_CURRENT_DATE: + case TrinoSqlParser.KW_CURRENT_PATH: + case TrinoSqlParser.KW_CURRENT_SCHEMA: + case TrinoSqlParser.KW_CURRENT_TIME: + case TrinoSqlParser.KW_CURRENT_TIMESTAMP: + case TrinoSqlParser.KW_CURRENT_USER: + case TrinoSqlParser.KW_DATA: + case TrinoSqlParser.KW_DATE: + case TrinoSqlParser.KW_DAY: + case TrinoSqlParser.KW_DECLARE: + case TrinoSqlParser.KW_DEFAULT: + case TrinoSqlParser.KW_DEFINE: + case TrinoSqlParser.KW_DEFINER: + case TrinoSqlParser.KW_DENY: + case TrinoSqlParser.KW_DESC: + case TrinoSqlParser.KW_DESCRIPTOR: + case TrinoSqlParser.KW_DETERMINISTIC: + case TrinoSqlParser.KW_DISTRIBUTED: + case TrinoSqlParser.KW_DO: + case TrinoSqlParser.KW_DOUBLE: + case TrinoSqlParser.KW_EMPTY: + case TrinoSqlParser.KW_ELSEIF: + case TrinoSqlParser.KW_ENCODING: + case TrinoSqlParser.KW_ERROR: + case TrinoSqlParser.KW_EXCLUDING: + case TrinoSqlParser.KW_EXISTS: + case TrinoSqlParser.KW_EXPLAIN: + case TrinoSqlParser.KW_EXTRACT: + case TrinoSqlParser.KW_FALSE: + case TrinoSqlParser.KW_FETCH: + case TrinoSqlParser.KW_FILTER: + case TrinoSqlParser.KW_FINAL: + case TrinoSqlParser.KW_FIRST: + case TrinoSqlParser.KW_FOLLOWING: + case TrinoSqlParser.KW_FORMAT: + case TrinoSqlParser.KW_FUNCTION: + case TrinoSqlParser.KW_FUNCTIONS: + case TrinoSqlParser.KW_GRACE: + case TrinoSqlParser.KW_GRANT: + case TrinoSqlParser.KW_GRANTED: + case TrinoSqlParser.KW_GRANTS: + case TrinoSqlParser.KW_GRAPHVIZ: + case TrinoSqlParser.KW_GROUPING: + case TrinoSqlParser.KW_GROUPS: + case TrinoSqlParser.KW_HOUR: + case TrinoSqlParser.KW_IF: + case TrinoSqlParser.KW_IGNORE: + case TrinoSqlParser.KW_IMMEDIATE: + case TrinoSqlParser.KW_INCLUDING: + case TrinoSqlParser.KW_INITIAL: + case TrinoSqlParser.KW_INPUT: + case TrinoSqlParser.KW_INTERVAL: + case TrinoSqlParser.KW_INVOKER: + case TrinoSqlParser.KW_IO: + case TrinoSqlParser.KW_ISOLATION: + case TrinoSqlParser.KW_ITERATE: + case TrinoSqlParser.KW_JSON: + case TrinoSqlParser.KW_JSON_ARRAY: + case TrinoSqlParser.KW_JSON_EXISTS: + case TrinoSqlParser.KW_JSON_OBJECT: + case TrinoSqlParser.KW_JSON_QUERY: + case TrinoSqlParser.KW_JSON_VALUE: + case TrinoSqlParser.KW_KEEP: + case TrinoSqlParser.KW_KEY: + case TrinoSqlParser.KW_KEYS: + case TrinoSqlParser.KW_LANGUAGE: + case TrinoSqlParser.KW_LAST: + case TrinoSqlParser.KW_LATERAL: + case TrinoSqlParser.KW_LEADING: + case TrinoSqlParser.KW_LEAVE: + case TrinoSqlParser.KW_LEVEL: + case TrinoSqlParser.KW_LIMIT: + case TrinoSqlParser.KW_LISTAGG: + case TrinoSqlParser.KW_LOCAL: + case TrinoSqlParser.KW_LOCALTIME: + case TrinoSqlParser.KW_LOCALTIMESTAMP: + case TrinoSqlParser.KW_LOGICAL: + case TrinoSqlParser.KW_LOOP: + case TrinoSqlParser.KW_MAP: + case TrinoSqlParser.KW_MATCH: + case TrinoSqlParser.KW_MATCHED: + case TrinoSqlParser.KW_MATCHES: + case TrinoSqlParser.KW_MATCH_RECOGNIZE: + case TrinoSqlParser.KW_MATERIALIZED: + case TrinoSqlParser.KW_MEASURES: + case TrinoSqlParser.KW_MERGE: + case TrinoSqlParser.KW_MINUTE: + case TrinoSqlParser.KW_MONTH: + case TrinoSqlParser.KW_NESTED: + case TrinoSqlParser.KW_NEXT: + case TrinoSqlParser.KW_NFC: + case TrinoSqlParser.KW_NFD: + case TrinoSqlParser.KW_NFKC: + case TrinoSqlParser.KW_NFKD: + case TrinoSqlParser.KW_NO: + case TrinoSqlParser.KW_NONE: + case TrinoSqlParser.KW_NORMALIZE: + case TrinoSqlParser.KW_NOT: + case TrinoSqlParser.KW_NULL: + case TrinoSqlParser.KW_NULLIF: + case TrinoSqlParser.KW_NULLS: + case TrinoSqlParser.KW_OBJECT: + case TrinoSqlParser.KW_OF: + case TrinoSqlParser.KW_OFFSET: + case TrinoSqlParser.KW_OMIT: + case TrinoSqlParser.KW_ONE: + case TrinoSqlParser.KW_ONLY: + case TrinoSqlParser.KW_OPTION: + case TrinoSqlParser.KW_ORDINALITY: + case TrinoSqlParser.KW_OUTPUT: + case TrinoSqlParser.KW_OVER: + case TrinoSqlParser.KW_OVERFLOW: + case TrinoSqlParser.KW_PARTITION: + case TrinoSqlParser.KW_PARTITIONS: + case TrinoSqlParser.KW_PASSING: + case TrinoSqlParser.KW_PAST: + case TrinoSqlParser.KW_PATH: + case TrinoSqlParser.KW_PATTERN: + case TrinoSqlParser.KW_PER: + case TrinoSqlParser.KW_PERIOD: + case TrinoSqlParser.KW_PERMUTE: + case TrinoSqlParser.KW_PLAN: + case TrinoSqlParser.KW_POSITION: + case TrinoSqlParser.KW_PRECEDING: + case TrinoSqlParser.KW_PRECISION: + case TrinoSqlParser.KW_PRIVILEGES: + case TrinoSqlParser.KW_PROPERTIES: + case TrinoSqlParser.KW_PRUNE: + case TrinoSqlParser.KW_QUOTES: + case TrinoSqlParser.KW_RANGE: + case TrinoSqlParser.KW_READ: + case TrinoSqlParser.KW_REFRESH: + case TrinoSqlParser.KW_RENAME: + case TrinoSqlParser.KW_REPEAT: + case TrinoSqlParser.KW_REPEATABLE: + case TrinoSqlParser.KW_REPLACE: + case TrinoSqlParser.KW_RESET: + case TrinoSqlParser.KW_RESPECT: + case TrinoSqlParser.KW_RESTRICT: + case TrinoSqlParser.KW_RETURN: + case TrinoSqlParser.KW_RETURNING: + case TrinoSqlParser.KW_RETURNS: + case TrinoSqlParser.KW_REVOKE: + case TrinoSqlParser.KW_ROLE: + case TrinoSqlParser.KW_ROLES: + case TrinoSqlParser.KW_ROLLBACK: + case TrinoSqlParser.KW_ROW: + case TrinoSqlParser.KW_ROWS: + case TrinoSqlParser.KW_RUNNING: + case TrinoSqlParser.KW_SCALAR: + case TrinoSqlParser.KW_SCHEMA: + case TrinoSqlParser.KW_SCHEMAS: + case TrinoSqlParser.KW_SECOND: + case TrinoSqlParser.KW_SECURITY: + case TrinoSqlParser.KW_SEEK: + case TrinoSqlParser.KW_SERIALIZABLE: + case TrinoSqlParser.KW_SESSION: + case TrinoSqlParser.KW_SET: + case TrinoSqlParser.KW_SETS: + case TrinoSqlParser.KW_SHOW: + case TrinoSqlParser.KW_SOME: + case TrinoSqlParser.KW_START: + case TrinoSqlParser.KW_STATS: + case TrinoSqlParser.KW_SUBSET: + case TrinoSqlParser.KW_SUBSTRING: + case TrinoSqlParser.KW_SYSTEM: + case TrinoSqlParser.KW_TABLES: + case TrinoSqlParser.KW_TABLESAMPLE: + case TrinoSqlParser.KW_TEXT: + case TrinoSqlParser.KW_TEXT_STRING: + case TrinoSqlParser.KW_TIES: + case TrinoSqlParser.KW_TIME: + case TrinoSqlParser.KW_TIMESTAMP: + case TrinoSqlParser.KW_TO: + case TrinoSqlParser.KW_TRAILING: + case TrinoSqlParser.KW_TRANSACTION: + case TrinoSqlParser.KW_TRIM: + case TrinoSqlParser.KW_TRUE: + case TrinoSqlParser.KW_TRUNCATE: + case TrinoSqlParser.KW_TRY_CAST: + case TrinoSqlParser.KW_TYPE: + case TrinoSqlParser.KW_UNBOUNDED: + case TrinoSqlParser.KW_UNCOMMITTED: + case TrinoSqlParser.KW_UNCONDITIONAL: + case TrinoSqlParser.KW_UNIQUE: + case TrinoSqlParser.KW_UNKNOWN: + case TrinoSqlParser.KW_UNMATCHED: + case TrinoSqlParser.KW_UNTIL: + case TrinoSqlParser.KW_UPDATE: + case TrinoSqlParser.KW_USE: + case TrinoSqlParser.KW_USER: + case TrinoSqlParser.KW_UTF16: + case TrinoSqlParser.KW_UTF32: + case TrinoSqlParser.KW_UTF8: + case TrinoSqlParser.KW_VALIDATE: + case TrinoSqlParser.KW_VALUE: + case TrinoSqlParser.KW_VERBOSE: + case TrinoSqlParser.KW_VERSION: + case TrinoSqlParser.KW_VIEW: + case TrinoSqlParser.KW_WHILE: + case TrinoSqlParser.KW_WINDOW: + case TrinoSqlParser.KW_WITHIN: + case TrinoSqlParser.KW_WITHOUT: + case TrinoSqlParser.KW_WORK: + case TrinoSqlParser.KW_WRAPPER: + case TrinoSqlParser.KW_WRITE: + case TrinoSqlParser.KW_YEAR: + case TrinoSqlParser.KW_ZONE: + case TrinoSqlParser.PLUS: + case TrinoSqlParser.MINUS: + case TrinoSqlParser.QUESTION_MARK: + case TrinoSqlParser.STRING: + case TrinoSqlParser.UNICODE_STRING: + case TrinoSqlParser.BINARY_LITERAL: + case TrinoSqlParser.INTEGER_VALUE: + case TrinoSqlParser.DECIMAL_VALUE: + case TrinoSqlParser.DOUBLE_VALUE: + case TrinoSqlParser.IDENTIFIER: + case TrinoSqlParser.DIGIT_IDENTIFIER: + case TrinoSqlParser.QUOTED_IDENTIFIER: + case TrinoSqlParser.BACKQUOTED_IDENTIFIER: + { + this.state = 3115; + localContext._start = this.frameBound(); + } + break; + default: + throw new antlr.NoViableAltException(this); } - } - finally { - this.exitRule(); - } - return localContext; - } - public caseStatementWhenClause(): CaseStatementWhenClauseContext { - let localContext = new CaseStatementWhenClauseContext(this.context, this.state); - this.enterRule(localContext, 256, TrinoSqlParser.RULE_caseStatementWhenClause); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3492; - this.match(TrinoSqlParser.KW_WHEN); - this.state = 3493; - this.expression(); - this.state = 3494; - this.match(TrinoSqlParser.KW_THEN); - this.state = 3495; - this.sqlStatementList(); } } catch (re) { @@ -14697,20 +13389,62 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public elseIfClause(): ElseIfClauseContext { - let localContext = new ElseIfClauseContext(this.context, this.state); - this.enterRule(localContext, 258, TrinoSqlParser.RULE_elseIfClause); + public frameBound(): FrameBoundContext { + let localContext = new FrameBoundContext(this.context, this.state); + this.enterRule(localContext, 190, TrinoSqlParser.RULE_frameBound); + let _la: number; try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3497; - this.match(TrinoSqlParser.KW_ELSEIF); - this.state = 3498; - this.expression(); - this.state = 3499; - this.match(TrinoSqlParser.KW_THEN); - this.state = 3500; - this.sqlStatementList(); + this.state = 3127; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 415, this.context) ) { + case 1: + localContext = new UnboundedFrameContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3118; + this.match(TrinoSqlParser.KW_UNBOUNDED); + this.state = 3119; + (localContext as UnboundedFrameContext)._boundType = this.match(TrinoSqlParser.KW_PRECEDING); + } + break; + case 2: + localContext = new UnboundedFrameContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3120; + this.match(TrinoSqlParser.KW_UNBOUNDED); + this.state = 3121; + (localContext as UnboundedFrameContext)._boundType = this.match(TrinoSqlParser.KW_FOLLOWING); + } + break; + case 3: + localContext = new CurrentRowBoundContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3122; + this.match(TrinoSqlParser.KW_CURRENT); + this.state = 3123; + this.match(TrinoSqlParser.KW_ROW); + } + break; + case 4: + localContext = new BoundedFrameContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 3124; + this.expression(); + this.state = 3125; + (localContext as BoundedFrameContext)._boundType = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(_la === 103 || _la === 213)) { + (localContext as BoundedFrameContext)._boundType = this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + break; } } catch (re) { @@ -14727,73 +13461,89 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public elseClause(): ElseClauseContext { - let localContext = new ElseClauseContext(this.context, this.state); - this.enterRule(localContext, 260, TrinoSqlParser.RULE_elseClause); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3502; - this.match(TrinoSqlParser.KW_ELSE); - this.state = 3503; - this.sqlStatementList(); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); + + public rowPattern(): RowPatternContext; + public rowPattern(_p: number): RowPatternContext; + public rowPattern(_p?: number): RowPatternContext { + if (_p === undefined) { + _p = 0; } - return localContext; - } - public variableDeclaration(): VariableDeclarationContext { - let localContext = new VariableDeclarationContext(this.context, this.state); - this.enterRule(localContext, 262, TrinoSqlParser.RULE_variableDeclaration); - let _la: number; + + let parentContext = this.context; + let parentState = this.state; + let localContext = new RowPatternContext(this.context, parentState); + let previousContext = localContext; + let _startState = 192; + this.enterRecursionRule(localContext, 192, TrinoSqlParser.RULE_rowPattern, _p); try { + let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 3505; - this.match(TrinoSqlParser.KW_DECLARE); - this.state = 3506; - this.identifier(); - this.state = 3511; + { + localContext = new QuantifiedPrimaryContext(localContext); + this.context = localContext; + previousContext = localContext; + + this.state = 3130; + this.patternPrimary(); + this.state = 3132; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { + switch (this.interpreter.adaptivePredict(this.tokenStream, 416, this.context) ) { + case 1: { - this.state = 3507; - this.match(TrinoSqlParser.T__2); - this.state = 3508; - this.identifier(); - } + this.state = 3131; + this.patternQuantifier(); } - this.state = 3513; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); + break; } - this.state = 3514; - this.type_(0); - this.state = 3517; + } + this.context!.stop = this.tokenStream.LT(-1); + this.state = 3141; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 71) { - { - this.state = 3515; - this.match(TrinoSqlParser.KW_DEFAULT); - this.state = 3516; - this.valueExpression(0); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 418, this.context); + while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { + if (alternative === 1) { + if (this._parseListeners != null) { + this.triggerExitRuleEvent(); + } + previousContext = localContext; + { + this.state = 3139; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 417, this.context) ) { + case 1: + { + localContext = new PatternConcatenationContext(new RowPatternContext(parentContext, parentState)); + this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_rowPattern); + this.state = 3134; + if (!(this.precpred(this.context, 2))) { + throw this.createFailedPredicateException("this.precpred(this.context, 2)"); + } + this.state = 3135; + this.rowPattern(3); + } + break; + case 2: + { + localContext = new PatternAlternationContext(new RowPatternContext(parentContext, parentState)); + this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_rowPattern); + this.state = 3136; + if (!(this.precpred(this.context, 1))) { + throw this.createFailedPredicateException("this.precpred(this.context, 1)"); + } + this.state = 3137; + this.match(TrinoSqlParser.T__10); + this.state = 3138; + this.rowPattern(2); + } + break; + } + } } + this.state = 3143; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 418, this.context); } - } } catch (re) { @@ -14806,39 +13556,106 @@ export class TrinoSqlParser extends SQLParserBase { } } finally { - this.exitRule(); + this.unrollRecursionContexts(parentContext); } return localContext; } - public sqlStatementList(): SqlStatementListContext { - let localContext = new SqlStatementListContext(this.context, this.state); - this.enterRule(localContext, 264, TrinoSqlParser.RULE_sqlStatementList); + public patternPrimary(): PatternPrimaryContext { + let localContext = new PatternPrimaryContext(this.context, this.state); + this.enterRule(localContext, 194, TrinoSqlParser.RULE_patternPrimary); + let _la: number; try { - let alternative: number; - this.enterOuterAlt(localContext, 1); - { - this.state = 3522; + this.state = 3169; this.errorHandler.sync(this); - alternative = 1; - do { - switch (alternative) { - case 1: + switch (this.interpreter.adaptivePredict(this.tokenStream, 420, this.context) ) { + case 1: + localContext = new PatternVariableContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3144; + this.identifier(); + } + break; + case 2: + localContext = new EmptyPatternContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3145; + this.match(TrinoSqlParser.T__0); + this.state = 3146; + this.match(TrinoSqlParser.T__1); + } + break; + case 3: + localContext = new PatternPermutationContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3147; + this.match(TrinoSqlParser.KW_PERMUTE); + this.state = 3148; + this.match(TrinoSqlParser.T__0); + this.state = 3149; + this.rowPattern(0); + this.state = 3154; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { { { - this.state = 3519; - this.controlStatement(); - this.state = 3520; - this.match(TrinoSqlParser.SEMICOLON); + this.state = 3150; + this.match(TrinoSqlParser.T__2); + this.state = 3151; + this.rowPattern(0); } } - break; - default: - throw new antlr.NoViableAltException(this); + this.state = 3156; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 3157; + this.match(TrinoSqlParser.T__1); + } + break; + case 4: + localContext = new GroupedPatternContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 3159; + this.match(TrinoSqlParser.T__0); + this.state = 3160; + this.rowPattern(0); + this.state = 3161; + this.match(TrinoSqlParser.T__1); + } + break; + case 5: + localContext = new PartitionStartAnchorContext(localContext); + this.enterOuterAlt(localContext, 5); + { + this.state = 3163; + this.match(TrinoSqlParser.T__11); + } + break; + case 6: + localContext = new PartitionEndAnchorContext(localContext); + this.enterOuterAlt(localContext, 6); + { + this.state = 3164; + this.match(TrinoSqlParser.T__12); + } + break; + case 7: + localContext = new ExcludedPatternContext(localContext); + this.enterOuterAlt(localContext, 7); + { + this.state = 3165; + this.match(TrinoSqlParser.T__13); + this.state = 3166; + this.rowPattern(0); + this.state = 3167; + this.match(TrinoSqlParser.T__14); } - this.state = 3524; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 455, this.context); - } while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER); + break; } } catch (re) { @@ -14855,53 +13672,130 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public privilege(): PrivilegeContext { - let localContext = new PrivilegeContext(this.context, this.state); - this.enterRule(localContext, 266, TrinoSqlParser.RULE_privilege); + public patternQuantifier(): PatternQuantifierContext { + let localContext = new PatternQuantifierContext(this.context, this.state); + this.enterRule(localContext, 196, TrinoSqlParser.RULE_patternQuantifier); + let _la: number; try { - this.state = 3532; + this.state = 3201; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 456, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 428, this.context) ) { case 1: + localContext = new ZeroOrMoreQuantifierContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3526; - this.match(TrinoSqlParser.KW_CREATE); + this.state = 3171; + this.match(TrinoSqlParser.ASTERISK); + this.state = 3173; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 421, this.context) ) { + case 1: + { + this.state = 3172; + (localContext as ZeroOrMoreQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); + } + break; + } } break; case 2: + localContext = new OneOrMoreQuantifierContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3527; - this.match(TrinoSqlParser.KW_SELECT); + this.state = 3175; + this.match(TrinoSqlParser.PLUS); + this.state = 3177; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 422, this.context) ) { + case 1: + { + this.state = 3176; + (localContext as OneOrMoreQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); + } + break; + } } break; case 3: + localContext = new ZeroOrOneQuantifierContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3528; - this.match(TrinoSqlParser.KW_DELETE); + this.state = 3179; + this.match(TrinoSqlParser.QUESTION_MARK); + this.state = 3181; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 423, this.context) ) { + case 1: + { + this.state = 3180; + (localContext as ZeroOrOneQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); + } + break; + } } break; case 4: + localContext = new RangeQuantifierContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 3529; - this.match(TrinoSqlParser.KW_INSERT); + this.state = 3183; + this.match(TrinoSqlParser.T__15); + this.state = 3184; + (localContext as RangeQuantifierContext)._exactly = this.match(TrinoSqlParser.INTEGER_VALUE); + this.state = 3185; + this.match(TrinoSqlParser.T__16); + this.state = 3187; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 424, this.context) ) { + case 1: + { + this.state = 3186; + (localContext as RangeQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); + } + break; + } } break; case 5: + localContext = new RangeQuantifierContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 3530; - this.match(TrinoSqlParser.KW_UPDATE); + this.state = 3189; + this.match(TrinoSqlParser.T__15); + this.state = 3191; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 330) { + { + this.state = 3190; + (localContext as RangeQuantifierContext)._atLeast = this.match(TrinoSqlParser.INTEGER_VALUE); + } + } + + this.state = 3193; + this.match(TrinoSqlParser.T__2); + this.state = 3195; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 330) { + { + this.state = 3194; + (localContext as RangeQuantifierContext)._atMost = this.match(TrinoSqlParser.INTEGER_VALUE); + } + } + + this.state = 3197; + this.match(TrinoSqlParser.T__16); + this.state = 3199; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 427, this.context) ) { + case 1: + { + this.state = 3198; + (localContext as RangeQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); + } + break; } - break; - case 6: - this.enterOuterAlt(localContext, 6); - { - this.state = 3531; - this.identifier(); } break; } @@ -14920,34 +13814,18 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public entityKind(): EntityKindContext { - let localContext = new EntityKindContext(this.context, this.state); - this.enterRule(localContext, 268, TrinoSqlParser.RULE_entityKind); + public updateAssignment(): UpdateAssignmentContext { + let localContext = new UpdateAssignmentContext(this.context, this.state); + this.enterRule(localContext, 198, TrinoSqlParser.RULE_updateAssignment); try { - this.state = 3537; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 457, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); - { - this.state = 3534; - this.match(TrinoSqlParser.KW_TABLE); - } - break; - case 2: - this.enterOuterAlt(localContext, 2); - { - this.state = 3535; - this.match(TrinoSqlParser.KW_SCHEMA); - } - break; - case 3: - this.enterOuterAlt(localContext, 3); - { - this.state = 3536; - this.identifier(); - } - break; + this.enterOuterAlt(localContext, 1); + { + this.state = 3203; + this.identifier(); + this.state = 3204; + this.match(TrinoSqlParser.EQ); + this.state = 3205; + this.expression(); } } catch (re) { @@ -14964,24 +13842,52 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public grantObject(): GrantObjectContext { - let localContext = new GrantObjectContext(this.context, this.state); - this.enterRule(localContext, 270, TrinoSqlParser.RULE_grantObject); + public explainOption(): ExplainOptionContext { + let localContext = new ExplainOptionContext(this.context, this.state); + this.enterRule(localContext, 200, TrinoSqlParser.RULE_explainOption); + let _la: number; try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3540; + this.state = 3211; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 458, this.context) ) { - case 1: + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_FORMAT: + localContext = new ExplainFormatContext(localContext); + this.enterOuterAlt(localContext, 1); { - this.state = 3539; - this.entityKind(); + this.state = 3207; + this.match(TrinoSqlParser.KW_FORMAT); + this.state = 3208; + (localContext as ExplainFormatContext)._value = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(_la === 114 || _la === 138 || _la === 264)) { + (localContext as ExplainFormatContext)._value = this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } } break; - } - this.state = 3542; - this.qualifiedName(); + case TrinoSqlParser.KW_TYPE: + localContext = new ExplainTypeContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3209; + this.match(TrinoSqlParser.KW_TYPE); + this.state = 3210; + (localContext as ExplainTypeContext)._value = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(_la === 81 || _la === 133 || _la === 161 || _la === 295)) { + (localContext as ExplainTypeContext)._value = this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + break; + default: + throw new antlr.NoViableAltException(this); } } catch (re) { @@ -14998,27 +13904,78 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public tableOrViewName(): TableOrViewNameContext { - let localContext = new TableOrViewNameContext(this.context, this.state); - this.enterRule(localContext, 272, TrinoSqlParser.RULE_tableOrViewName); + public transactionMode(): TransactionModeContext { + let localContext = new TransactionModeContext(this.context, this.state); + this.enterRule(localContext, 202, TrinoSqlParser.RULE_transactionMode); + let _la: number; try { - this.state = 3546; + this.state = 3226; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 459, this.context) ) { - case 1: + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_ISOLATION: + localContext = new IsolationLevelContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3544; - this.tableRef(); + this.state = 3213; + this.match(TrinoSqlParser.KW_ISOLATION); + this.state = 3214; + this.match(TrinoSqlParser.KW_LEVEL); + this.state = 3222; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 430, this.context) ) { + case 1: + { + this.state = 3215; + this.match(TrinoSqlParser.KW_READ); + this.state = 3216; + this.match(TrinoSqlParser.KW_UNCOMMITTED); + } + break; + case 2: + { + this.state = 3217; + this.match(TrinoSqlParser.KW_READ); + this.state = 3218; + this.match(TrinoSqlParser.KW_COMMITTED); + } + break; + case 3: + { + this.state = 3219; + this.match(TrinoSqlParser.KW_REPEATABLE); + this.state = 3220; + this.match(TrinoSqlParser.KW_READ); + } + break; + case 4: + { + this.state = 3221; + this.match(TrinoSqlParser.KW_SERIALIZABLE); + } + break; + } } break; - case 2: + case TrinoSqlParser.KW_READ: + localContext = new TransactionAccessModeContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3545; - this.viewRef(); + this.state = 3224; + this.match(TrinoSqlParser.KW_READ); + this.state = 3225; + (localContext as TransactionAccessModeContext)._accessMode = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(_la === 193 || _la === 310)) { + (localContext as TransactionAccessModeContext)._accessMode = this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } } break; + default: + throw new antlr.NoViableAltException(this); } } catch (re) { @@ -15035,44 +13992,31 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public tableRef(): TableRefContext { - let localContext = new TableRefContext(this.context, this.state); - this.enterRule(localContext, 274, TrinoSqlParser.RULE_tableRef); + public callArgument(): CallArgumentContext { + let localContext = new CallArgumentContext(this.context, this.state); + this.enterRule(localContext, 204, TrinoSqlParser.RULE_callArgument); try { - this.state = 3559; + this.state = 3233; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 460, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 432, this.context) ) { case 1: + localContext = new PositionalArgumentContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3548; - localContext._table = this.identifier(); + this.state = 3228; + this.expression(); } break; case 2: + localContext = new NamedArgumentContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3549; - localContext._schema = this.identifier(); - this.state = 3550; - this.match(TrinoSqlParser.T__3); - this.state = 3551; - localContext._table = this.identifier(); - } - break; - case 3: - this.enterOuterAlt(localContext, 3); - { - this.state = 3553; - localContext._catalog = this.identifier(); - this.state = 3554; - this.match(TrinoSqlParser.T__3); - this.state = 3555; - localContext._schema = this.identifier(); - this.state = 3556; - this.match(TrinoSqlParser.T__3); - this.state = 3557; - localContext._table = this.identifier(); + this.state = 3229; + this.identifier(); + this.state = 3230; + this.match(TrinoSqlParser.T__5); + this.state = 3231; + this.expression(); } break; } @@ -15091,44 +14035,31 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public tableNameCreate(): TableNameCreateContext { - let localContext = new TableNameCreateContext(this.context, this.state); - this.enterRule(localContext, 276, TrinoSqlParser.RULE_tableNameCreate); + public pathElement(): PathElementContext { + let localContext = new PathElementContext(this.context, this.state); + this.enterRule(localContext, 206, TrinoSqlParser.RULE_pathElement); try { - this.state = 3572; + this.state = 3240; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 461, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 433, this.context) ) { case 1: + localContext = new QualifiedArgumentContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3561; - localContext._table = this.identifier(); + this.state = 3235; + this.identifier(); + this.state = 3236; + this.match(TrinoSqlParser.T__3); + this.state = 3237; + this.identifier(); } break; case 2: + localContext = new UnqualifiedArgumentContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3562; - localContext._schema = this.identifier(); - this.state = 3563; - this.match(TrinoSqlParser.T__3); - this.state = 3564; - localContext._table = this.identifier(); - } - break; - case 3: - this.enterOuterAlt(localContext, 3); - { - this.state = 3566; - localContext._catalog = this.identifier(); - this.state = 3567; - this.match(TrinoSqlParser.T__3); - this.state = 3568; - localContext._schema = this.identifier(); - this.state = 3569; - this.match(TrinoSqlParser.T__3); - this.state = 3570; - localContext._table = this.identifier(); + this.state = 3239; + this.identifier(); } break; } @@ -15147,46 +14078,31 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public viewRef(): ViewRefContext { - let localContext = new ViewRefContext(this.context, this.state); - this.enterRule(localContext, 278, TrinoSqlParser.RULE_viewRef); + public pathSpecification(): PathSpecificationContext { + let localContext = new PathSpecificationContext(this.context, this.state); + this.enterRule(localContext, 208, TrinoSqlParser.RULE_pathSpecification); + let _la: number; try { - this.state = 3585; + this.enterOuterAlt(localContext, 1); + { + this.state = 3242; + this.pathElement(); + this.state = 3247; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 462, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); + _la = this.tokenStream.LA(1); + while (_la === 3) { { - this.state = 3574; - localContext._view = this.identifier(); - } - break; - case 2: - this.enterOuterAlt(localContext, 2); { - this.state = 3575; - localContext._schema = this.identifier(); - this.state = 3576; - this.match(TrinoSqlParser.T__3); - this.state = 3577; - localContext._view = this.identifier(); + this.state = 3243; + this.match(TrinoSqlParser.T__2); + this.state = 3244; + this.pathElement(); } - break; - case 3: - this.enterOuterAlt(localContext, 3); - { - this.state = 3579; - localContext._catalog = this.identifier(); - this.state = 3580; - this.match(TrinoSqlParser.T__3); - this.state = 3581; - localContext._schema = this.identifier(); - this.state = 3582; - this.match(TrinoSqlParser.T__3); - this.state = 3583; - localContext._view = this.identifier(); } - break; + this.state = 3249; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } } } catch (re) { @@ -15203,47 +14119,105 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public viewNameCreate(): ViewNameCreateContext { - let localContext = new ViewNameCreateContext(this.context, this.state); - this.enterRule(localContext, 280, TrinoSqlParser.RULE_viewNameCreate); + public functionSpecification(): FunctionSpecificationContext { + let localContext = new FunctionSpecificationContext(this.context, this.state); + this.enterRule(localContext, 210, TrinoSqlParser.RULE_functionSpecification); + let _la: number; try { - this.state = 3598; + let alternative: number; + this.enterOuterAlt(localContext, 1); + { + this.state = 3250; + this.match(TrinoSqlParser.KW_FUNCTION); + this.state = 3251; + this.functionNameCreate(); + this.state = 3252; + this.match(TrinoSqlParser.T__0); + this.state = 3261; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 463, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); + _la = this.tokenStream.LA(1); + if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4282055519) !== 0) || ((((_la - 50)) & ~0x1F) === 0 && ((1 << (_la - 50)) & 3069640845) !== 0) || ((((_la - 82)) & ~0x1F) === 0 && ((1 << (_la - 82)) & 4240329075) !== 0) || ((((_la - 114)) & ~0x1F) === 0 && ((1 << (_la - 114)) & 2171416041) !== 0) || ((((_la - 146)) & ~0x1F) === 0 && ((1 << (_la - 146)) & 4160722303) !== 0) || ((((_la - 178)) & ~0x1F) === 0 && ((1 << (_la - 178)) & 4293517199) !== 0) || ((((_la - 210)) & ~0x1F) === 0 && ((1 << (_la - 210)) & 3724537823) !== 0) || ((((_la - 242)) & ~0x1F) === 0 && ((1 << (_la - 242)) & 2130182015) !== 0) || ((((_la - 275)) & ~0x1F) === 0 && ((1 << (_la - 275)) & 3015636855) !== 0) || ((((_la - 307)) & ~0x1F) === 0 && ((1 << (_la - 307)) & 1006633023) !== 0)) { { - this.state = 3587; - localContext._view = this.identifier(); + this.state = 3253; + this.parameterDeclaration(); + this.state = 3258; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 3254; + this.match(TrinoSqlParser.T__2); + this.state = 3255; + this.parameterDeclaration(); + } + } + this.state = 3260; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); } - break; - case 2: - this.enterOuterAlt(localContext, 2); - { - this.state = 3588; - localContext._schema = this.identifier(); - this.state = 3589; - this.match(TrinoSqlParser.T__3); - this.state = 3590; - localContext._view = this.identifier(); } - break; - case 3: - this.enterOuterAlt(localContext, 3); + } + + this.state = 3263; + this.match(TrinoSqlParser.T__1); + this.state = 3264; + this.match(TrinoSqlParser.KW_RETURNS); + this.state = 3265; + this.type_(0); + this.state = 3269; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 437, this.context); + while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { + if (alternative === 1) { + { + { + this.state = 3266; + this.routineCharacteristic(); + } + } + } + this.state = 3271; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 437, this.context); + } + this.state = 3272; + this.controlStatement(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public parameterDeclaration(): ParameterDeclarationContext { + let localContext = new ParameterDeclarationContext(this.context, this.state); + this.enterRule(localContext, 212, TrinoSqlParser.RULE_parameterDeclaration); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3275; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 438, this.context) ) { + case 1: { - this.state = 3592; - localContext._catalog = this.identifier(); - this.state = 3593; - this.match(TrinoSqlParser.T__3); - this.state = 3594; - localContext._schema = this.identifier(); - this.state = 3595; - this.match(TrinoSqlParser.T__3); - this.state = 3596; - localContext._view = this.identifier(); + this.state = 3274; + this.identifier(); } break; } + this.state = 3277; + this.type_(0); + } } catch (re) { if (re instanceof antlr.RecognitionException) { @@ -15259,31 +14233,102 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public schemaRef(): SchemaRefContext { - let localContext = new SchemaRefContext(this.context, this.state); - this.enterRule(localContext, 282, TrinoSqlParser.RULE_schemaRef); + public routineCharacteristic(): RoutineCharacteristicContext { + let localContext = new RoutineCharacteristicContext(this.context, this.state); + this.enterRule(localContext, 214, TrinoSqlParser.RULE_routineCharacteristic); + let _la: number; try { - this.state = 3605; + this.state = 3298; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 464, this.context) ) { - case 1: + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_LANGUAGE: + localContext = new LanguageCharacteristicContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3600; - localContext._schema = this.identifier(); + this.state = 3279; + this.match(TrinoSqlParser.KW_LANGUAGE); + this.state = 3280; + this.identifier(); } break; - case 2: + case TrinoSqlParser.KW_DETERMINISTIC: + case TrinoSqlParser.KW_NOT: + localContext = new DeterministicCharacteristicContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3601; - localContext._catalog = this.identifier(); - this.state = 3602; - this.match(TrinoSqlParser.T__3); - this.state = 3603; - localContext._schema = this.identifier(); + this.state = 3282; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 183) { + { + this.state = 3281; + this.match(TrinoSqlParser.KW_NOT); + } + } + + this.state = 3284; + this.match(TrinoSqlParser.KW_DETERMINISTIC); + } + break; + case TrinoSqlParser.KW_RETURNS: + localContext = new ReturnsNullOnNullInputCharacteristicContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3285; + this.match(TrinoSqlParser.KW_RETURNS); + this.state = 3286; + this.match(TrinoSqlParser.KW_NULL); + this.state = 3287; + this.match(TrinoSqlParser.KW_ON); + this.state = 3288; + this.match(TrinoSqlParser.KW_NULL); + this.state = 3289; + this.match(TrinoSqlParser.KW_INPUT); + } + break; + case TrinoSqlParser.KW_CALLED: + localContext = new CalledOnNullInputCharacteristicContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 3290; + this.match(TrinoSqlParser.KW_CALLED); + this.state = 3291; + this.match(TrinoSqlParser.KW_ON); + this.state = 3292; + this.match(TrinoSqlParser.KW_NULL); + this.state = 3293; + this.match(TrinoSqlParser.KW_INPUT); + } + break; + case TrinoSqlParser.KW_SECURITY: + localContext = new SecurityCharacteristicContext(localContext); + this.enterOuterAlt(localContext, 5); + { + this.state = 3294; + this.match(TrinoSqlParser.KW_SECURITY); + this.state = 3295; + _la = this.tokenStream.LA(1); + if(!(_la === 73 || _la === 132)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + break; + case TrinoSqlParser.KW_COMMENT: + localContext = new CommentCharacteristicContext(localContext); + this.enterOuterAlt(localContext, 6); + { + this.state = 3296; + this.match(TrinoSqlParser.KW_COMMENT); + this.state = 3297; + this.string_(); } break; + default: + throw new antlr.NoViableAltException(this); } } catch (re) { @@ -15300,29 +14345,335 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public schemaNameCreate(): SchemaNameCreateContext { - let localContext = new SchemaNameCreateContext(this.context, this.state); - this.enterRule(localContext, 284, TrinoSqlParser.RULE_schemaNameCreate); + public controlStatement(): ControlStatementContext { + let localContext = new ControlStatementContext(this.context, this.state); + this.enterRule(localContext, 216, TrinoSqlParser.RULE_controlStatement); + let _la: number; try { - this.state = 3612; + let alternative: number; + this.state = 3416; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 465, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 454, this.context) ) { case 1: + localContext = new ReturnStatementContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3607; - localContext._schema = this.identifier(); + this.state = 3300; + this.match(TrinoSqlParser.KW_RETURN); + this.state = 3301; + this.valueExpression(0); } break; case 2: + localContext = new AssignmentStatementContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3608; - localContext._catalog = this.identifier(); - this.state = 3609; - this.match(TrinoSqlParser.T__3); - this.state = 3610; - localContext._schema = this.identifier(); + this.state = 3302; + this.match(TrinoSqlParser.KW_SET); + this.state = 3303; + this.identifier(); + this.state = 3304; + this.match(TrinoSqlParser.EQ); + this.state = 3305; + this.expression(); + } + break; + case 3: + localContext = new SimpleCaseStatementContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3307; + this.match(TrinoSqlParser.KW_CASE); + this.state = 3308; + this.expression(); + this.state = 3310; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + do { + { + { + this.state = 3309; + this.caseStatementWhenClause(); + } + } + this.state = 3312; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } while (_la === 301); + this.state = 3315; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 85) { + { + this.state = 3314; + this.elseClause(); + } + } + + this.state = 3317; + this.match(TrinoSqlParser.KW_END); + this.state = 3318; + this.match(TrinoSqlParser.KW_CASE); + } + break; + case 4: + localContext = new SearchedCaseStatementContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 3320; + this.match(TrinoSqlParser.KW_CASE); + this.state = 3322; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + do { + { + { + this.state = 3321; + this.caseStatementWhenClause(); + } + } + this.state = 3324; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } while (_la === 301); + this.state = 3327; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 85) { + { + this.state = 3326; + this.elseClause(); + } + } + + this.state = 3329; + this.match(TrinoSqlParser.KW_END); + this.state = 3330; + this.match(TrinoSqlParser.KW_CASE); + } + break; + case 5: + localContext = new IfStatementContext(localContext); + this.enterOuterAlt(localContext, 5); + { + this.state = 3332; + this.match(TrinoSqlParser.KW_IF); + this.state = 3333; + this.expression(); + this.state = 3334; + this.match(TrinoSqlParser.KW_THEN); + this.state = 3335; + this.sqlStatementList(); + this.state = 3343; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 87) { + { + { + this.state = 3336; + this.match(TrinoSqlParser.KW_ELSEIF); + this.state = 3337; + this.expression(); + this.state = 3338; + this.match(TrinoSqlParser.KW_THEN); + this.state = 3339; + this.sqlStatementList(); + } + } + this.state = 3345; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 3347; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 85) { + { + this.state = 3346; + this.elseClause(); + } + } + + this.state = 3349; + this.match(TrinoSqlParser.KW_END); + this.state = 3350; + this.match(TrinoSqlParser.KW_IF); + } + break; + case 6: + localContext = new IterateStatementContext(localContext); + this.enterOuterAlt(localContext, 6); + { + this.state = 3352; + this.match(TrinoSqlParser.KW_ITERATE); + this.state = 3353; + this.identifier(); + } + break; + case 7: + localContext = new LeaveStatementContext(localContext); + this.enterOuterAlt(localContext, 7); + { + this.state = 3354; + this.match(TrinoSqlParser.KW_LEAVE); + this.state = 3355; + this.identifier(); + } + break; + case 8: + localContext = new CompoundStatementContext(localContext); + this.enterOuterAlt(localContext, 8); + { + this.state = 3356; + this.match(TrinoSqlParser.KW_BEGIN); + this.state = 3375; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 449, this.context); + while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { + if (alternative === 1) { + { + { + this.state = 3357; + this.match(TrinoSqlParser.KW_DECLARE); + this.state = 3358; + this.identifier(); + this.state = 3363; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 3359; + this.match(TrinoSqlParser.T__2); + this.state = 3360; + this.identifier(); + } + } + this.state = 3365; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 3366; + this.type_(0); + this.state = 3369; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 71) { + { + this.state = 3367; + this.match(TrinoSqlParser.KW_DEFAULT); + this.state = 3368; + this.valueExpression(0); + } + } + + this.state = 3371; + this.match(TrinoSqlParser.SEMICOLON); + } + } + } + this.state = 3377; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 449, this.context); + } + this.state = 3379; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 4286249823) !== 0) || ((((_la - 50)) & ~0x1F) === 0 && ((1 << (_la - 50)) & 3069640845) !== 0) || ((((_la - 82)) & ~0x1F) === 0 && ((1 << (_la - 82)) & 4240329075) !== 0) || ((((_la - 114)) & ~0x1F) === 0 && ((1 << (_la - 114)) & 2171416041) !== 0) || ((((_la - 146)) & ~0x1F) === 0 && ((1 << (_la - 146)) & 4160722303) !== 0) || ((((_la - 178)) & ~0x1F) === 0 && ((1 << (_la - 178)) & 4293517199) !== 0) || ((((_la - 210)) & ~0x1F) === 0 && ((1 << (_la - 210)) & 3724537823) !== 0) || ((((_la - 242)) & ~0x1F) === 0 && ((1 << (_la - 242)) & 2130182015) !== 0) || ((((_la - 275)) & ~0x1F) === 0 && ((1 << (_la - 275)) & 3015636855) !== 0) || ((((_la - 307)) & ~0x1F) === 0 && ((1 << (_la - 307)) & 1006633023) !== 0)) { + { + this.state = 3378; + this.sqlStatementList(); + } + } + + this.state = 3381; + this.match(TrinoSqlParser.KW_END); + } + break; + case 9: + localContext = new LoopStatementContext(localContext); + this.enterOuterAlt(localContext, 9); + { + this.state = 3385; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 451, this.context) ) { + case 1: + { + this.state = 3382; + (localContext as LoopStatementContext)._label = this.identifier(); + this.state = 3383; + this.match(TrinoSqlParser.T__9); + } + break; + } + this.state = 3387; + this.match(TrinoSqlParser.KW_LOOP); + this.state = 3388; + this.sqlStatementList(); + this.state = 3389; + this.match(TrinoSqlParser.KW_END); + this.state = 3390; + this.match(TrinoSqlParser.KW_LOOP); + } + break; + case 10: + localContext = new WhileStatementContext(localContext); + this.enterOuterAlt(localContext, 10); + { + this.state = 3395; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 452, this.context) ) { + case 1: + { + this.state = 3392; + (localContext as WhileStatementContext)._label = this.identifier(); + this.state = 3393; + this.match(TrinoSqlParser.T__9); + } + break; + } + this.state = 3397; + this.match(TrinoSqlParser.KW_WHILE); + this.state = 3398; + this.expression(); + this.state = 3399; + this.match(TrinoSqlParser.KW_DO); + this.state = 3400; + this.sqlStatementList(); + this.state = 3401; + this.match(TrinoSqlParser.KW_END); + this.state = 3402; + this.match(TrinoSqlParser.KW_WHILE); + } + break; + case 11: + localContext = new RepeatStatementContext(localContext); + this.enterOuterAlt(localContext, 11); + { + this.state = 3407; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 453, this.context) ) { + case 1: + { + this.state = 3404; + (localContext as RepeatStatementContext)._label = this.identifier(); + this.state = 3405; + this.match(TrinoSqlParser.T__9); + } + break; + } + this.state = 3409; + this.match(TrinoSqlParser.KW_REPEAT); + this.state = 3410; + this.sqlStatementList(); + this.state = 3411; + this.match(TrinoSqlParser.KW_UNTIL); + this.state = 3412; + this.expression(); + this.state = 3413; + this.match(TrinoSqlParser.KW_END); + this.state = 3414; + this.match(TrinoSqlParser.KW_REPEAT); } break; } @@ -15341,38 +14692,20 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public catalogRef(): CatalogRefContext { - let localContext = new CatalogRefContext(this.context, this.state); - this.enterRule(localContext, 286, TrinoSqlParser.RULE_catalogRef); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3614; - localContext._catalog = this.identifier(); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - localContext.exception = re; - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public catalogNameCreate(): CatalogNameCreateContext { - let localContext = new CatalogNameCreateContext(this.context, this.state); - this.enterRule(localContext, 288, TrinoSqlParser.RULE_catalogNameCreate); + public caseStatementWhenClause(): CaseStatementWhenClauseContext { + let localContext = new CaseStatementWhenClauseContext(this.context, this.state); + this.enterRule(localContext, 218, TrinoSqlParser.RULE_caseStatementWhenClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 3616; - localContext._catalog = this.identifier(); + this.state = 3418; + this.match(TrinoSqlParser.KW_WHEN); + this.state = 3419; + this.expression(); + this.state = 3420; + this.match(TrinoSqlParser.KW_THEN); + this.state = 3421; + this.sqlStatementList(); } } catch (re) { @@ -15389,14 +14722,16 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public functionName(): FunctionNameContext { - let localContext = new FunctionNameContext(this.context, this.state); - this.enterRule(localContext, 290, TrinoSqlParser.RULE_functionName); + public elseClause(): ElseClauseContext { + let localContext = new ElseClauseContext(this.context, this.state); + this.enterRule(localContext, 220, TrinoSqlParser.RULE_elseClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 3618; - this.qualifiedName(); + this.state = 3423; + this.match(TrinoSqlParser.KW_ELSE); + this.state = 3424; + this.sqlStatementList(); } } catch (re) { @@ -15413,14 +14748,35 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public functionNameCreate(): FunctionNameCreateContext { - let localContext = new FunctionNameCreateContext(this.context, this.state); - this.enterRule(localContext, 292, TrinoSqlParser.RULE_functionNameCreate); + public sqlStatementList(): SqlStatementListContext { + let localContext = new SqlStatementListContext(this.context, this.state); + this.enterRule(localContext, 222, TrinoSqlParser.RULE_sqlStatementList); try { + let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 3620; - this.qualifiedName(); + this.state = 3429; + this.errorHandler.sync(this); + alternative = 1; + do { + switch (alternative) { + case 1: + { + { + this.state = 3426; + this.controlStatement(); + this.state = 3427; + this.match(TrinoSqlParser.SEMICOLON); + } + } + break; + default: + throw new antlr.NoViableAltException(this); + } + this.state = 3431; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 455, this.context); + } while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER); } } catch (re) { @@ -15437,27 +14793,53 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public columnRef(): ColumnRefContext { - let localContext = new ColumnRefContext(this.context, this.state); - this.enterRule(localContext, 294, TrinoSqlParser.RULE_columnRef); + public privilege(): PrivilegeContext { + let localContext = new PrivilegeContext(this.context, this.state); + this.enterRule(localContext, 224, TrinoSqlParser.RULE_privilege); try { - this.state = 3624; + this.state = 3439; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 466, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 456, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3622; - this.qualifiedName(); + this.state = 3433; + this.match(TrinoSqlParser.KW_CREATE); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3623; - if (!(this.shouldMatchEmpty())) { - throw this.createFailedPredicateException("this.shouldMatchEmpty()"); + this.state = 3434; + this.match(TrinoSqlParser.KW_SELECT); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 3435; + this.match(TrinoSqlParser.KW_DELETE); + } + break; + case 4: + this.enterOuterAlt(localContext, 4); + { + this.state = 3436; + this.match(TrinoSqlParser.KW_INSERT); + } + break; + case 5: + this.enterOuterAlt(localContext, 5); + { + this.state = 3437; + this.match(TrinoSqlParser.KW_UPDATE); } + break; + case 6: + this.enterOuterAlt(localContext, 6); + { + this.state = 3438; + this.identifier(); } break; } @@ -15476,13 +14858,35 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public columnName(): ColumnNameContext { - let localContext = new ColumnNameContext(this.context, this.state); - this.enterRule(localContext, 296, TrinoSqlParser.RULE_columnName); + public grantObject(): GrantObjectContext { + let localContext = new GrantObjectContext(this.context, this.state); + this.enterRule(localContext, 226, TrinoSqlParser.RULE_grantObject); try { this.enterOuterAlt(localContext, 1); { - this.state = 3626; + this.state = 3444; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 457, this.context) ) { + case 1: + { + this.state = 3441; + this.match(TrinoSqlParser.KW_TABLE); + } + break; + case 2: + { + this.state = 3442; + this.match(TrinoSqlParser.KW_SCHEMA); + } + break; + case 3: + { + this.state = 3443; + this.identifier(); + } + break; + } + this.state = 3446; this.qualifiedName(); } } @@ -15500,14 +14904,27 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public columnNameCreate(): ColumnNameCreateContext { - let localContext = new ColumnNameCreateContext(this.context, this.state); - this.enterRule(localContext, 298, TrinoSqlParser.RULE_columnNameCreate); + public tableOrViewName(): TableOrViewNameContext { + let localContext = new TableOrViewNameContext(this.context, this.state); + this.enterRule(localContext, 228, TrinoSqlParser.RULE_tableOrViewName); try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3628; - this.identifier(); + this.state = 3450; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 458, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3448; + this.tableRef(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3449; + this.viewRef(); + } + break; } } catch (re) { @@ -15524,33 +14941,46 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public qualifiedName(): QualifiedNameContext { - let localContext = new QualifiedNameContext(this.context, this.state); - this.enterRule(localContext, 300, TrinoSqlParser.RULE_qualifiedName); + public tableRef(): TableRefContext { + let localContext = new TableRefContext(this.context, this.state); + this.enterRule(localContext, 230, TrinoSqlParser.RULE_tableRef); try { - let alternative: number; - this.enterOuterAlt(localContext, 1); - { - this.state = 3630; - this.identifier(); - this.state = 3635; + this.state = 3463; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 467, this.context); - while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { - if (alternative === 1) { - { - { - this.state = 3631; - this.match(TrinoSqlParser.T__3); - this.state = 3632; - this.identifier(); - } - } + switch (this.interpreter.adaptivePredict(this.tokenStream, 459, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3452; + localContext._table = this.identifier(); } - this.state = 3637; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 467, this.context); - } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3453; + localContext._schema = this.identifier(); + this.state = 3454; + this.match(TrinoSqlParser.T__3); + this.state = 3455; + localContext._table = this.identifier(); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 3457; + localContext._catalog = this.identifier(); + this.state = 3458; + this.match(TrinoSqlParser.T__3); + this.state = 3459; + localContext._schema = this.identifier(); + this.state = 3460; + this.match(TrinoSqlParser.T__3); + this.state = 3461; + localContext._table = this.identifier(); + } + break; } } catch (re) { @@ -15567,22 +14997,46 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public queryPeriod(): QueryPeriodContext { - let localContext = new QueryPeriodContext(this.context, this.state); - this.enterRule(localContext, 302, TrinoSqlParser.RULE_queryPeriod); + public tableNameCreate(): TableNameCreateContext { + let localContext = new TableNameCreateContext(this.context, this.state); + this.enterRule(localContext, 232, TrinoSqlParser.RULE_tableNameCreate); try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3638; - this.match(TrinoSqlParser.KW_FOR); - this.state = 3639; - this.rangeType(); - this.state = 3640; - this.match(TrinoSqlParser.KW_AS); - this.state = 3641; - this.match(TrinoSqlParser.KW_OF); - this.state = 3642; - localContext._end = this.valueExpression(0); + this.state = 3476; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 460, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3465; + localContext._table = this.identifier(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3466; + localContext._schema = this.identifier(); + this.state = 3467; + this.match(TrinoSqlParser.T__3); + this.state = 3468; + localContext._table = this.identifier(); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 3470; + localContext._catalog = this.identifier(); + this.state = 3471; + this.match(TrinoSqlParser.T__3); + this.state = 3472; + localContext._schema = this.identifier(); + this.state = 3473; + this.match(TrinoSqlParser.T__3); + this.state = 3474; + localContext._table = this.identifier(); + } + break; } } catch (re) { @@ -15599,22 +15053,46 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public rangeType(): RangeTypeContext { - let localContext = new RangeTypeContext(this.context, this.state); - this.enterRule(localContext, 304, TrinoSqlParser.RULE_rangeType); - let _la: number; + public viewRef(): ViewRefContext { + let localContext = new ViewRefContext(this.context, this.state); + this.enterRule(localContext, 234, TrinoSqlParser.RULE_viewRef); try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3644; - _la = this.tokenStream.LA(1); - if(!(_la === 269 || _la === 299)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } + this.state = 3489; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 461, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3478; + localContext._view = this.identifier(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3479; + localContext._schema = this.identifier(); + this.state = 3480; + this.match(TrinoSqlParser.T__3); + this.state = 3481; + localContext._view = this.identifier(); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 3483; + localContext._catalog = this.identifier(); + this.state = 3484; + this.match(TrinoSqlParser.T__3); + this.state = 3485; + localContext._schema = this.identifier(); + this.state = 3486; + this.match(TrinoSqlParser.T__3); + this.state = 3487; + localContext._view = this.identifier(); + } + break; } } catch (re) { @@ -15622,265 +15100,55 @@ export class TrinoSqlParser extends SQLParserBase { localContext.exception = re; this.errorHandler.reportError(this, re); this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public grantor(): GrantorContext { - let localContext = new GrantorContext(this.context, this.state); - this.enterRule(localContext, 306, TrinoSqlParser.RULE_grantor); - try { - this.state = 3649; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_ABSENT: - case TrinoSqlParser.KW_ADD: - case TrinoSqlParser.KW_ADMIN: - case TrinoSqlParser.KW_AFTER: - case TrinoSqlParser.KW_ALL: - case TrinoSqlParser.KW_ANALYZE: - case TrinoSqlParser.KW_ANY: - case TrinoSqlParser.KW_ARRAY: - case TrinoSqlParser.KW_ASC: - case TrinoSqlParser.KW_AT: - case TrinoSqlParser.KW_AUTHORIZATION: - case TrinoSqlParser.KW_BEGIN: - case TrinoSqlParser.KW_BERNOULLI: - case TrinoSqlParser.KW_BOTH: - case TrinoSqlParser.KW_CALL: - case TrinoSqlParser.KW_CALLED: - case TrinoSqlParser.KW_CASCADE: - case TrinoSqlParser.KW_CATALOG: - case TrinoSqlParser.KW_CATALOGS: - case TrinoSqlParser.KW_COALESCE: - case TrinoSqlParser.KW_COLUMN: - case TrinoSqlParser.KW_COLUMNS: - case TrinoSqlParser.KW_COMMENT: - case TrinoSqlParser.KW_COMMIT: - case TrinoSqlParser.KW_COMMITTED: - case TrinoSqlParser.KW_CONDITIONAL: - case TrinoSqlParser.KW_COUNT: - case TrinoSqlParser.KW_COPARTITION: - case TrinoSqlParser.KW_CURRENT: - case TrinoSqlParser.KW_DATA: - case TrinoSqlParser.KW_DATE: - case TrinoSqlParser.KW_DAY: - case TrinoSqlParser.KW_DECLARE: - case TrinoSqlParser.KW_DEFAULT: - case TrinoSqlParser.KW_DEFINE: - case TrinoSqlParser.KW_DEFINER: - case TrinoSqlParser.KW_DENY: - case TrinoSqlParser.KW_DESC: - case TrinoSqlParser.KW_DESCRIPTOR: - case TrinoSqlParser.KW_DETERMINISTIC: - case TrinoSqlParser.KW_DISTRIBUTED: - case TrinoSqlParser.KW_DO: - case TrinoSqlParser.KW_DOUBLE: - case TrinoSqlParser.KW_EMPTY: - case TrinoSqlParser.KW_ELSEIF: - case TrinoSqlParser.KW_ENCODING: - case TrinoSqlParser.KW_ERROR: - case TrinoSqlParser.KW_EXCLUDING: - case TrinoSqlParser.KW_EXPLAIN: - case TrinoSqlParser.KW_FETCH: - case TrinoSqlParser.KW_FILTER: - case TrinoSqlParser.KW_FINAL: - case TrinoSqlParser.KW_FIRST: - case TrinoSqlParser.KW_FOLLOWING: - case TrinoSqlParser.KW_FORMAT: - case TrinoSqlParser.KW_FUNCTION: - case TrinoSqlParser.KW_FUNCTIONS: - case TrinoSqlParser.KW_GRACE: - case TrinoSqlParser.KW_GRANT: - case TrinoSqlParser.KW_GRANTED: - case TrinoSqlParser.KW_GRANTS: - case TrinoSqlParser.KW_GRAPHVIZ: - case TrinoSqlParser.KW_GROUPS: - case TrinoSqlParser.KW_HOUR: - case TrinoSqlParser.KW_IF: - case TrinoSqlParser.KW_IGNORE: - case TrinoSqlParser.KW_IMMEDIATE: - case TrinoSqlParser.KW_INCLUDING: - case TrinoSqlParser.KW_INITIAL: - case TrinoSqlParser.KW_INPUT: - case TrinoSqlParser.KW_INTERVAL: - case TrinoSqlParser.KW_INVOKER: - case TrinoSqlParser.KW_IO: - case TrinoSqlParser.KW_ISOLATION: - case TrinoSqlParser.KW_ITERATE: - case TrinoSqlParser.KW_JSON: - case TrinoSqlParser.KW_KEEP: - case TrinoSqlParser.KW_KEY: - case TrinoSqlParser.KW_KEYS: - case TrinoSqlParser.KW_LANGUAGE: - case TrinoSqlParser.KW_LAST: - case TrinoSqlParser.KW_LATERAL: - case TrinoSqlParser.KW_LEADING: - case TrinoSqlParser.KW_LEAVE: - case TrinoSqlParser.KW_LEVEL: - case TrinoSqlParser.KW_LIMIT: - case TrinoSqlParser.KW_LOCAL: - case TrinoSqlParser.KW_LOGICAL: - case TrinoSqlParser.KW_LOOP: - case TrinoSqlParser.KW_MAP: - case TrinoSqlParser.KW_MATCH: - case TrinoSqlParser.KW_MATCHED: - case TrinoSqlParser.KW_MATCHES: - case TrinoSqlParser.KW_MATCH_RECOGNIZE: - case TrinoSqlParser.KW_MATERIALIZED: - case TrinoSqlParser.KW_MEASURES: - case TrinoSqlParser.KW_MERGE: - case TrinoSqlParser.KW_MINUTE: - case TrinoSqlParser.KW_MONTH: - case TrinoSqlParser.KW_NESTED: - case TrinoSqlParser.KW_NEXT: - case TrinoSqlParser.KW_NFC: - case TrinoSqlParser.KW_NFD: - case TrinoSqlParser.KW_NFKC: - case TrinoSqlParser.KW_NFKD: - case TrinoSqlParser.KW_NO: - case TrinoSqlParser.KW_NONE: - case TrinoSqlParser.KW_NULLIF: - case TrinoSqlParser.KW_NULLS: - case TrinoSqlParser.KW_OBJECT: - case TrinoSqlParser.KW_OF: - case TrinoSqlParser.KW_OFFSET: - case TrinoSqlParser.KW_OMIT: - case TrinoSqlParser.KW_ONE: - case TrinoSqlParser.KW_ONLY: - case TrinoSqlParser.KW_OPTION: - case TrinoSqlParser.KW_ORDINALITY: - case TrinoSqlParser.KW_OUTPUT: - case TrinoSqlParser.KW_OVER: - case TrinoSqlParser.KW_OVERFLOW: - case TrinoSqlParser.KW_PARTITION: - case TrinoSqlParser.KW_PARTITIONS: - case TrinoSqlParser.KW_PASSING: - case TrinoSqlParser.KW_PAST: - case TrinoSqlParser.KW_PATH: - case TrinoSqlParser.KW_PATTERN: - case TrinoSqlParser.KW_PER: - case TrinoSqlParser.KW_PERIOD: - case TrinoSqlParser.KW_PERMUTE: - case TrinoSqlParser.KW_PLAN: - case TrinoSqlParser.KW_POSITION: - case TrinoSqlParser.KW_PRECEDING: - case TrinoSqlParser.KW_PRECISION: - case TrinoSqlParser.KW_PRIVILEGES: - case TrinoSqlParser.KW_PROPERTIES: - case TrinoSqlParser.KW_PRUNE: - case TrinoSqlParser.KW_QUOTES: - case TrinoSqlParser.KW_RANGE: - case TrinoSqlParser.KW_READ: - case TrinoSqlParser.KW_REFRESH: - case TrinoSqlParser.KW_RENAME: - case TrinoSqlParser.KW_REPEAT: - case TrinoSqlParser.KW_REPEATABLE: - case TrinoSqlParser.KW_REPLACE: - case TrinoSqlParser.KW_RESET: - case TrinoSqlParser.KW_RESPECT: - case TrinoSqlParser.KW_RESTRICT: - case TrinoSqlParser.KW_RETURN: - case TrinoSqlParser.KW_RETURNING: - case TrinoSqlParser.KW_RETURNS: - case TrinoSqlParser.KW_REVOKE: - case TrinoSqlParser.KW_ROLE: - case TrinoSqlParser.KW_ROLES: - case TrinoSqlParser.KW_ROLLBACK: - case TrinoSqlParser.KW_ROW: - case TrinoSqlParser.KW_ROWS: - case TrinoSqlParser.KW_RUNNING: - case TrinoSqlParser.KW_SCALAR: - case TrinoSqlParser.KW_SCHEMA: - case TrinoSqlParser.KW_SCHEMAS: - case TrinoSqlParser.KW_SECOND: - case TrinoSqlParser.KW_SECURITY: - case TrinoSqlParser.KW_SEEK: - case TrinoSqlParser.KW_SERIALIZABLE: - case TrinoSqlParser.KW_SESSION: - case TrinoSqlParser.KW_SET: - case TrinoSqlParser.KW_SETS: - case TrinoSqlParser.KW_SHOW: - case TrinoSqlParser.KW_SOME: - case TrinoSqlParser.KW_START: - case TrinoSqlParser.KW_STATS: - case TrinoSqlParser.KW_SUBSET: - case TrinoSqlParser.KW_SUBSTRING: - case TrinoSqlParser.KW_SYSTEM: - case TrinoSqlParser.KW_TABLES: - case TrinoSqlParser.KW_TABLESAMPLE: - case TrinoSqlParser.KW_TEXT: - case TrinoSqlParser.KW_TEXT_STRING: - case TrinoSqlParser.KW_TIES: - case TrinoSqlParser.KW_TIME: - case TrinoSqlParser.KW_TIMESTAMP: - case TrinoSqlParser.KW_TO: - case TrinoSqlParser.KW_TRAILING: - case TrinoSqlParser.KW_TRANSACTION: - case TrinoSqlParser.KW_TRUNCATE: - case TrinoSqlParser.KW_TRY_CAST: - case TrinoSqlParser.KW_TYPE: - case TrinoSqlParser.KW_UNBOUNDED: - case TrinoSqlParser.KW_UNCOMMITTED: - case TrinoSqlParser.KW_UNCONDITIONAL: - case TrinoSqlParser.KW_UNIQUE: - case TrinoSqlParser.KW_UNKNOWN: - case TrinoSqlParser.KW_UNMATCHED: - case TrinoSqlParser.KW_UNTIL: - case TrinoSqlParser.KW_UPDATE: - case TrinoSqlParser.KW_USE: - case TrinoSqlParser.KW_USER: - case TrinoSqlParser.KW_UTF16: - case TrinoSqlParser.KW_UTF32: - case TrinoSqlParser.KW_UTF8: - case TrinoSqlParser.KW_VALIDATE: - case TrinoSqlParser.KW_VALUE: - case TrinoSqlParser.KW_VERBOSE: - case TrinoSqlParser.KW_VERSION: - case TrinoSqlParser.KW_VIEW: - case TrinoSqlParser.KW_WHILE: - case TrinoSqlParser.KW_WINDOW: - case TrinoSqlParser.KW_WITHIN: - case TrinoSqlParser.KW_WITHOUT: - case TrinoSqlParser.KW_WORK: - case TrinoSqlParser.KW_WRAPPER: - case TrinoSqlParser.KW_WRITE: - case TrinoSqlParser.KW_YEAR: - case TrinoSqlParser.KW_ZONE: - case TrinoSqlParser.IDENTIFIER: - case TrinoSqlParser.DIGIT_IDENTIFIER: - case TrinoSqlParser.QUOTED_IDENTIFIER: - case TrinoSqlParser.BACKQUOTED_IDENTIFIER: - localContext = new SpecifiedPrincipalContext(localContext); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public viewNameCreate(): ViewNameCreateContext { + let localContext = new ViewNameCreateContext(this.context, this.state); + this.enterRule(localContext, 236, TrinoSqlParser.RULE_viewNameCreate); + try { + this.state = 3502; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 462, this.context) ) { + case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3646; - this.principal(); + this.state = 3491; + localContext._view = this.identifier(); } break; - case TrinoSqlParser.KW_CURRENT_USER: - localContext = new CurrentUserGrantorContext(localContext); + case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3647; - this.match(TrinoSqlParser.KW_CURRENT_USER); + this.state = 3492; + localContext._schema = this.identifier(); + this.state = 3493; + this.match(TrinoSqlParser.T__3); + this.state = 3494; + localContext._view = this.identifier(); } break; - case TrinoSqlParser.KW_CURRENT_ROLE: - localContext = new CurrentRoleGrantorContext(localContext); + case 3: this.enterOuterAlt(localContext, 3); { - this.state = 3648; - this.match(TrinoSqlParser.KW_CURRENT_ROLE); + this.state = 3496; + localContext._catalog = this.identifier(); + this.state = 3497; + this.match(TrinoSqlParser.T__3); + this.state = 3498; + localContext._schema = this.identifier(); + this.state = 3499; + this.match(TrinoSqlParser.T__3); + this.state = 3500; + localContext._view = this.identifier(); } break; - default: - throw new antlr.NoViableAltException(this); } } catch (re) { @@ -15897,39 +15165,70 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public principal(): PrincipalContext { - let localContext = new PrincipalContext(this.context, this.state); - this.enterRule(localContext, 308, TrinoSqlParser.RULE_principal); + public schemaRef(): SchemaRefContext { + let localContext = new SchemaRefContext(this.context, this.state); + this.enterRule(localContext, 238, TrinoSqlParser.RULE_schemaRef); try { - this.state = 3656; + this.state = 3509; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 469, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 463, this.context) ) { case 1: - localContext = new UnspecifiedPrincipalContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3651; - this.identifier(); + this.state = 3504; + localContext._schema = this.identifier(); } break; case 2: - localContext = new UserPrincipalContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3652; - this.match(TrinoSqlParser.KW_USER); - this.state = 3653; - this.identifier(); + this.state = 3505; + localContext._catalog = this.identifier(); + this.state = 3506; + this.match(TrinoSqlParser.T__3); + this.state = 3507; + localContext._schema = this.identifier(); } break; - case 3: - localContext = new RolePrincipalContext(localContext); - this.enterOuterAlt(localContext, 3); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public schemaNameCreate(): SchemaNameCreateContext { + let localContext = new SchemaNameCreateContext(this.context, this.state); + this.enterRule(localContext, 240, TrinoSqlParser.RULE_schemaNameCreate); + try { + this.state = 3516; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 464, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); { - this.state = 3654; - this.match(TrinoSqlParser.KW_ROLE); - this.state = 3655; - this.identifier(); + this.state = 3511; + localContext._schema = this.identifier(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3512; + localContext._catalog = this.identifier(); + this.state = 3513; + this.match(TrinoSqlParser.T__3); + this.state = 3514; + localContext._schema = this.identifier(); } break; } @@ -15948,31 +15247,62 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public roles(): RolesContext { - let localContext = new RolesContext(this.context, this.state); - this.enterRule(localContext, 310, TrinoSqlParser.RULE_roles); - let _la: number; + public catalogRef(): CatalogRefContext { + let localContext = new CatalogRefContext(this.context, this.state); + this.enterRule(localContext, 242, TrinoSqlParser.RULE_catalogRef); try { this.enterOuterAlt(localContext, 1); { - this.state = 3658; - this.identifier(); - this.state = 3663; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 3659; - this.match(TrinoSqlParser.T__2); - this.state = 3660; - this.identifier(); - } - } - this.state = 3665; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); + this.state = 3518; + localContext._catalog = this.identifier(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public catalogNameCreate(): CatalogNameCreateContext { + let localContext = new CatalogNameCreateContext(this.context, this.state); + this.enterRule(localContext, 244, TrinoSqlParser.RULE_catalogNameCreate); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3520; + localContext._catalog = this.identifier(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; } + } + finally { + this.exitRule(); + } + return localContext; + } + public functionName(): FunctionNameContext { + let localContext = new FunctionNameContext(this.context, this.state); + this.enterRule(localContext, 246, TrinoSqlParser.RULE_functionName); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3522; + this.qualifiedName(); } } catch (re) { @@ -15989,62 +15319,144 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public privilegeOrRole(): PrivilegeOrRoleContext { - let localContext = new PrivilegeOrRoleContext(this.context, this.state); - this.enterRule(localContext, 312, TrinoSqlParser.RULE_privilegeOrRole); + public functionNameCreate(): FunctionNameCreateContext { + let localContext = new FunctionNameCreateContext(this.context, this.state); + this.enterRule(localContext, 248, TrinoSqlParser.RULE_functionNameCreate); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3524; + this.qualifiedName(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public columnRef(): ColumnRefContext { + let localContext = new ColumnRefContext(this.context, this.state); + this.enterRule(localContext, 250, TrinoSqlParser.RULE_columnRef); try { - this.state = 3673; + this.state = 3528; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 471, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 465, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3666; - this.match(TrinoSqlParser.KW_CREATE); + this.state = 3526; + this.qualifiedName(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3667; - this.match(TrinoSqlParser.KW_SELECT); - } - break; - case 3: - this.enterOuterAlt(localContext, 3); - { - this.state = 3668; - this.match(TrinoSqlParser.KW_DELETE); - } - break; - case 4: - this.enterOuterAlt(localContext, 4); - { - this.state = 3669; - this.match(TrinoSqlParser.KW_INSERT); - } - break; - case 5: - this.enterOuterAlt(localContext, 5); - { - this.state = 3670; - this.match(TrinoSqlParser.KW_UPDATE); + this.state = 3527; + if (!(this.shouldMatchEmpty())) { + throw this.createFailedPredicateException("this.shouldMatchEmpty()"); } - break; - case 6: - this.enterOuterAlt(localContext, 6); - { - this.state = 3671; - this.match(TrinoSqlParser.KW_EXECUTE); } break; - case 7: - this.enterOuterAlt(localContext, 7); - { - this.state = 3672; - this.identifier(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public columnName(): ColumnNameContext { + let localContext = new ColumnNameContext(this.context, this.state); + this.enterRule(localContext, 252, TrinoSqlParser.RULE_columnName); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3530; + this.qualifiedName(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public columnNameCreate(): ColumnNameCreateContext { + let localContext = new ColumnNameCreateContext(this.context, this.state); + this.enterRule(localContext, 254, TrinoSqlParser.RULE_columnNameCreate); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3532; + this.identifier(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public qualifiedName(): QualifiedNameContext { + let localContext = new QualifiedNameContext(this.context, this.state); + this.enterRule(localContext, 256, TrinoSqlParser.RULE_qualifiedName); + try { + let alternative: number; + this.enterOuterAlt(localContext, 1); + { + this.state = 3534; + this.identifier(); + this.state = 3539; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 466, this.context); + while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { + if (alternative === 1) { + { + { + this.state = 3535; + this.match(TrinoSqlParser.T__3); + this.state = 3536; + this.identifier(); + } + } } - break; + this.state = 3541; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 466, this.context); + } } } catch (re) { @@ -16061,29 +15473,13 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public identifier(): IdentifierContext { - let localContext = new IdentifierContext(this.context, this.state); - this.enterRule(localContext, 314, TrinoSqlParser.RULE_identifier); + public grantor(): GrantorContext { + let localContext = new GrantorContext(this.context, this.state); + this.enterRule(localContext, 258, TrinoSqlParser.RULE_grantor); try { - this.state = 3680; + this.state = 3545; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.IDENTIFIER: - localContext = new UnquotedIdentifierContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3675; - this.match(TrinoSqlParser.IDENTIFIER); - } - break; - case TrinoSqlParser.QUOTED_IDENTIFIER: - localContext = new QuotedIdentifierContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3676; - this.match(TrinoSqlParser.QUOTED_IDENTIFIER); - } - break; case TrinoSqlParser.KW_ABSENT: case TrinoSqlParser.KW_ADD: case TrinoSqlParser.KW_ADMIN: @@ -16298,27 +15694,31 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_WRITE: case TrinoSqlParser.KW_YEAR: case TrinoSqlParser.KW_ZONE: - localContext = new UnquotedIdentifierContext(localContext); - this.enterOuterAlt(localContext, 3); + case TrinoSqlParser.IDENTIFIER: + case TrinoSqlParser.DIGIT_IDENTIFIER: + case TrinoSqlParser.QUOTED_IDENTIFIER: + case TrinoSqlParser.BACKQUOTED_IDENTIFIER: + localContext = new SpecifiedPrincipalContext(localContext); + this.enterOuterAlt(localContext, 1); { - this.state = 3677; - this.nonReserved(); + this.state = 3542; + this.principal(); } break; - case TrinoSqlParser.BACKQUOTED_IDENTIFIER: - localContext = new BackQuotedIdentifierContext(localContext); - this.enterOuterAlt(localContext, 4); + case TrinoSqlParser.KW_CURRENT_USER: + localContext = new CurrentUserGrantorContext(localContext); + this.enterOuterAlt(localContext, 2); { - this.state = 3678; - this.match(TrinoSqlParser.BACKQUOTED_IDENTIFIER); + this.state = 3543; + this.match(TrinoSqlParser.KW_CURRENT_USER); } break; - case TrinoSqlParser.DIGIT_IDENTIFIER: - localContext = new DigitIdentifierContext(localContext); - this.enterOuterAlt(localContext, 5); + case TrinoSqlParser.KW_CURRENT_ROLE: + localContext = new CurrentRoleGrantorContext(localContext); + this.enterOuterAlt(localContext, 3); { - this.state = 3679; - this.match(TrinoSqlParser.DIGIT_IDENTIFIER); + this.state = 3544; + this.match(TrinoSqlParser.KW_CURRENT_ROLE); } break; default: @@ -16339,66 +15739,152 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public number_(): NumberContext { - let localContext = new NumberContext(this.context, this.state); - this.enterRule(localContext, 316, TrinoSqlParser.RULE_number); - let _la: number; + public principal(): PrincipalContext { + let localContext = new PrincipalContext(this.context, this.state); + this.enterRule(localContext, 260, TrinoSqlParser.RULE_principal); try { - this.state = 3694; + this.state = 3552; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 476, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 468, this.context) ) { case 1: - localContext = new DecimalLiteralContext(localContext); + localContext = new UnspecifiedPrincipalContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3683; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 320) { - { - this.state = 3682; - this.match(TrinoSqlParser.MINUS); - } - } - - this.state = 3685; - this.match(TrinoSqlParser.DECIMAL_VALUE); + this.state = 3547; + this.identifier(); } break; case 2: - localContext = new DoubleLiteralContext(localContext); + localContext = new UserPrincipalContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3687; + this.state = 3548; + this.match(TrinoSqlParser.KW_USER); + this.state = 3549; + this.identifier(); + } + break; + case 3: + localContext = new RolePrincipalContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3550; + this.match(TrinoSqlParser.KW_ROLE); + this.state = 3551; + this.identifier(); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public roles(): RolesContext { + let localContext = new RolesContext(this.context, this.state); + this.enterRule(localContext, 262, TrinoSqlParser.RULE_roles); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3554; + this.identifier(); + this.state = 3559; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 3555; + this.match(TrinoSqlParser.T__2); + this.state = 3556; + this.identifier(); + } + } + this.state = 3561; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 320) { - { - this.state = 3686; - this.match(TrinoSqlParser.MINUS); - } + } + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public privilegeOrRole(): PrivilegeOrRoleContext { + let localContext = new PrivilegeOrRoleContext(this.context, this.state); + this.enterRule(localContext, 264, TrinoSqlParser.RULE_privilegeOrRole); + try { + this.state = 3569; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 470, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3562; + this.match(TrinoSqlParser.KW_CREATE); } - - this.state = 3689; - this.match(TrinoSqlParser.DOUBLE_VALUE); + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3563; + this.match(TrinoSqlParser.KW_SELECT); } break; case 3: - localContext = new IntegerLiteralContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3691; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 320) { - { - this.state = 3690; - this.match(TrinoSqlParser.MINUS); - } + this.state = 3564; + this.match(TrinoSqlParser.KW_DELETE); } - - this.state = 3693; - this.match(TrinoSqlParser.INTEGER_VALUE); + break; + case 4: + this.enterOuterAlt(localContext, 4); + { + this.state = 3565; + this.match(TrinoSqlParser.KW_INSERT); + } + break; + case 5: + this.enterOuterAlt(localContext, 5); + { + this.state = 3566; + this.match(TrinoSqlParser.KW_UPDATE); + } + break; + case 6: + this.enterOuterAlt(localContext, 6); + { + this.state = 3567; + this.match(TrinoSqlParser.KW_EXECUTE); + } + break; + case 7: + this.enterOuterAlt(localContext, 7); + { + this.state = 3568; + this.identifier(); } break; } @@ -16417,13 +15903,29 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public authorizationUser(): AuthorizationUserContext { - let localContext = new AuthorizationUserContext(this.context, this.state); - this.enterRule(localContext, 318, TrinoSqlParser.RULE_authorizationUser); + public identifier(): IdentifierContext { + let localContext = new IdentifierContext(this.context, this.state); + this.enterRule(localContext, 266, TrinoSqlParser.RULE_identifier); try { - this.state = 3698; + this.state = 3576; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.IDENTIFIER: + localContext = new UnquotedIdentifierContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3571; + this.match(TrinoSqlParser.IDENTIFIER); + } + break; + case TrinoSqlParser.QUOTED_IDENTIFIER: + localContext = new QuotedIdentifierContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3572; + this.match(TrinoSqlParser.QUOTED_IDENTIFIER); + } + break; case TrinoSqlParser.KW_ABSENT: case TrinoSqlParser.KW_ADD: case TrinoSqlParser.KW_ADMIN: @@ -16638,28 +16140,109 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_WRITE: case TrinoSqlParser.KW_YEAR: case TrinoSqlParser.KW_ZONE: - case TrinoSqlParser.IDENTIFIER: + localContext = new UnquotedIdentifierContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3573; + this.nonReserved(); + } + break; + case TrinoSqlParser.BACKQUOTED_IDENTIFIER: + localContext = new BackQuotedIdentifierContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 3574; + this.match(TrinoSqlParser.BACKQUOTED_IDENTIFIER); + } + break; case TrinoSqlParser.DIGIT_IDENTIFIER: - case TrinoSqlParser.QUOTED_IDENTIFIER: - case TrinoSqlParser.BACKQUOTED_IDENTIFIER: - localContext = new IdentifierUserContext(localContext); + localContext = new DigitIdentifierContext(localContext); + this.enterOuterAlt(localContext, 5); + { + this.state = 3575; + this.match(TrinoSqlParser.DIGIT_IDENTIFIER); + } + break; + default: + throw new antlr.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + localContext.exception = re; + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public number_(): NumberContext { + let localContext = new NumberContext(this.context, this.state); + this.enterRule(localContext, 268, TrinoSqlParser.RULE_number); + let _la: number; + try { + this.state = 3590; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 475, this.context) ) { + case 1: + localContext = new DecimalLiteralContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3696; - this.identifier(); + this.state = 3579; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 320) { + { + this.state = 3578; + this.match(TrinoSqlParser.MINUS); + } + } + + this.state = 3581; + this.match(TrinoSqlParser.DECIMAL_VALUE); } break; - case TrinoSqlParser.STRING: - case TrinoSqlParser.UNICODE_STRING: - localContext = new StringUserContext(localContext); + case 2: + localContext = new DoubleLiteralContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3697; - this.string_(); + this.state = 3583; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 320) { + { + this.state = 3582; + this.match(TrinoSqlParser.MINUS); + } + } + + this.state = 3585; + this.match(TrinoSqlParser.DOUBLE_VALUE); + } + break; + case 3: + localContext = new IntegerLiteralContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3587; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 320) { + { + this.state = 3586; + this.match(TrinoSqlParser.MINUS); + } + } + + this.state = 3589; + this.match(TrinoSqlParser.INTEGER_VALUE); } break; - default: - throw new antlr.NoViableAltException(this); } } catch (re) { @@ -16678,12 +16261,12 @@ export class TrinoSqlParser extends SQLParserBase { } public nonReserved(): NonReservedContext { let localContext = new NonReservedContext(this.context, this.state); - this.enterRule(localContext, 320, TrinoSqlParser.RULE_nonReserved); + this.enterRule(localContext, 270, TrinoSqlParser.RULE_nonReserved); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 3700; + this.state = 3592; _la = this.tokenStream.LA(1); if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 3984326656) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 37223659) !== 0) || ((((_la - 66)) & ~0x1F) === 0 && ((1 << (_la - 66)) & 1232320247) !== 0) || ((((_la - 99)) & ~0x1F) === 0 && ((1 << (_la - 99)) & 2532638303) !== 0) || ((((_la - 132)) & ~0x1F) === 0 && ((1 << (_la - 132)) & 3848265819) !== 0) || ((((_la - 164)) & ~0x1F) === 0 && ((1 << (_la - 164)) & 2011430399) !== 0) || ((((_la - 197)) & ~0x1F) === 0 && ((1 << (_la - 197)) & 4261150717) !== 0) || ((((_la - 229)) & ~0x1F) === 0 && ((1 << (_la - 229)) & 4293917631) !== 0) || ((((_la - 262)) & ~0x1F) === 0 && ((1 << (_la - 262)) & 3740198895) !== 0) || ((((_la - 294)) & ~0x1F) === 0 && ((1 << (_la - 294)) & 521847) !== 0))) { this.errorHandler.recoverInline(this); @@ -16711,21 +16294,21 @@ export class TrinoSqlParser extends SQLParserBase { public override sempred(localContext: antlr.RuleContext | null, ruleIndex: number, predIndex: number): boolean { switch (ruleIndex) { - case 23: + case 19: return this.queryTerm_sempred(localContext as QueryTermContext, predIndex); - case 44: + case 39: return this.relation_sempred(localContext as RelationContext, predIndex); - case 78: + case 68: return this.booleanExpression_sempred(localContext as BooleanExpressionContext, predIndex); - case 80: + case 70: return this.valueExpression_sempred(localContext as ValueExpressionContext, predIndex); - case 81: + case 71: return this.primaryExpression_sempred(localContext as PrimaryExpressionContext, predIndex); - case 101: + case 86: return this.type_sempred(localContext as TypeContext, predIndex); - case 111: + case 96: return this.rowPattern_sempred(localContext as RowPatternContext, predIndex); - case 147: + case 125: return this.columnRef_sempred(localContext as ColumnRefContext, predIndex); } return true; @@ -16802,7 +16385,7 @@ export class TrinoSqlParser extends SQLParserBase { } public static readonly _serializedATN: number[] = [ - 4,1,341,3703,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,341,3595,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, @@ -16823,1575 +16406,1531 @@ export class TrinoSqlParser extends SQLParserBase { 2,115,7,115,2,116,7,116,2,117,7,117,2,118,7,118,2,119,7,119,2,120, 7,120,2,121,7,121,2,122,7,122,2,123,7,123,2,124,7,124,2,125,7,125, 2,126,7,126,2,127,7,127,2,128,7,128,2,129,7,129,2,130,7,130,2,131, - 7,131,2,132,7,132,2,133,7,133,2,134,7,134,2,135,7,135,2,136,7,136, - 2,137,7,137,2,138,7,138,2,139,7,139,2,140,7,140,2,141,7,141,2,142, - 7,142,2,143,7,143,2,144,7,144,2,145,7,145,2,146,7,146,2,147,7,147, - 2,148,7,148,2,149,7,149,2,150,7,150,2,151,7,151,2,152,7,152,2,153, - 7,153,2,154,7,154,2,155,7,155,2,156,7,156,2,157,7,157,2,158,7,158, - 2,159,7,159,2,160,7,160,1,0,5,0,324,8,0,10,0,12,0,327,9,0,1,0,1, - 0,1,1,1,1,1,2,1,2,3,2,335,8,2,1,3,1,3,3,3,339,8,3,1,4,1,4,3,4,343, - 8,4,1,5,1,5,3,5,347,8,5,1,6,1,6,3,6,351,8,6,1,7,1,7,1,7,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,3,8,364,8,8,1,8,1,8,1,8,1,8,1,8,3,8,371, - 8,8,1,8,1,8,3,8,375,8,8,1,8,1,8,3,8,379,8,8,1,8,1,8,1,8,1,8,3,8, - 385,8,8,1,8,1,8,3,8,389,8,8,1,8,1,8,1,8,1,8,1,8,3,8,396,8,8,1,8, - 1,8,1,8,3,8,401,8,8,1,8,1,8,3,8,405,8,8,1,8,1,8,1,8,1,8,3,8,411, - 8,8,1,8,1,8,3,8,415,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,434,8,8,1,8,1,8,1,8,1,8,3,8,440, - 8,8,1,8,1,8,3,8,444,8,8,1,8,1,8,3,8,448,8,8,1,8,1,8,3,8,452,8,8, - 1,8,1,8,1,8,1,8,1,8,1,8,3,8,460,8,8,1,8,1,8,3,8,464,8,8,1,8,3,8, - 467,8,8,1,8,1,8,1,8,3,8,472,8,8,1,8,1,8,1,8,1,8,3,8,478,8,8,1,8, - 1,8,1,8,1,8,1,8,5,8,485,8,8,10,8,12,8,488,9,8,1,8,1,8,1,8,3,8,493, - 8,8,1,8,1,8,3,8,497,8,8,1,8,1,8,1,8,1,8,3,8,503,8,8,1,8,1,8,1,8, - 1,8,1,8,3,8,510,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,518,8,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,530,8,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,3,8,539,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,548,8,8,1,8, - 1,8,1,8,1,8,3,8,554,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8, - 565,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,573,8,8,1,8,1,8,1,8,1,8,1,8, - 1,8,3,8,581,8,8,1,8,1,8,1,8,1,8,1,8,3,8,588,8,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,3,8,598,8,8,1,8,1,8,1,8,1,8,1,8,3,8,605,8,8,1,8, - 1,8,1,8,1,8,1,8,1,8,3,8,613,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,3,8,628,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 7,131,2,132,7,132,2,133,7,133,2,134,7,134,2,135,7,135,1,0,5,0,274, + 8,0,10,0,12,0,277,9,0,1,0,1,0,1,1,1,1,1,2,1,2,3,2,285,8,2,1,3,1, + 3,3,3,289,8,3,1,4,1,4,3,4,293,8,4,1,5,1,5,3,5,297,8,5,1,6,1,6,3, + 6,301,8,6,1,7,1,7,1,7,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,314,8, + 8,1,8,1,8,1,8,1,8,1,8,3,8,321,8,8,1,8,1,8,3,8,325,8,8,1,8,1,8,3, + 8,329,8,8,1,8,1,8,1,8,1,8,3,8,335,8,8,1,8,1,8,3,8,339,8,8,1,8,1, + 8,1,8,1,8,1,8,3,8,346,8,8,1,8,1,8,1,8,3,8,351,8,8,1,8,1,8,3,8,355, + 8,8,1,8,1,8,1,8,1,8,3,8,361,8,8,1,8,1,8,3,8,365,8,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,384, + 8,8,1,8,1,8,1,8,1,8,3,8,390,8,8,1,8,1,8,3,8,394,8,8,1,8,1,8,3,8, + 398,8,8,1,8,1,8,3,8,402,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,410,8,8, + 1,8,1,8,3,8,414,8,8,1,8,3,8,417,8,8,1,8,1,8,1,8,3,8,422,8,8,1,8, + 1,8,1,8,1,8,3,8,428,8,8,1,8,1,8,1,8,1,8,1,8,5,8,435,8,8,10,8,12, + 8,438,9,8,1,8,1,8,1,8,3,8,443,8,8,1,8,1,8,3,8,447,8,8,1,8,1,8,1, + 8,1,8,3,8,453,8,8,1,8,1,8,1,8,1,8,1,8,3,8,460,8,8,1,8,1,8,1,8,1, + 8,1,8,1,8,3,8,468,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3, + 8,480,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,489,8,8,1,8,1,8,1,8,1, + 8,1,8,1,8,1,8,3,8,498,8,8,1,8,1,8,1,8,1,8,3,8,504,8,8,1,8,1,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,515,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3, + 8,523,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,531,8,8,1,8,1,8,1,8,1,8,1, + 8,3,8,538,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,548,8,8,1,8,1, + 8,1,8,1,8,1,8,3,8,555,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,563,8,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,578,8,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,611, + 8,8,10,8,12,8,614,9,8,3,8,616,8,8,1,8,3,8,619,8,8,1,8,3,8,622,8, + 8,1,8,1,8,1,8,1,8,3,8,628,8,8,1,8,1,8,1,8,3,8,633,8,8,1,8,1,8,1, + 8,1,8,1,8,3,8,640,8,8,1,8,1,8,1,8,1,8,3,8,646,8,8,1,8,1,8,3,8,650, + 8,8,1,8,1,8,3,8,654,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,662,8,8,1,8, + 1,8,1,8,1,8,3,8,668,8,8,1,8,1,8,3,8,672,8,8,1,8,1,8,3,8,676,8,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,690,8,8,1,8, + 1,8,1,8,1,8,1,8,1,8,3,8,698,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,717,8,8,1,8,1,8,1,8,1,8, 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,661,8,8,10,8,12,8,664,9,8,3,8,666, - 8,8,1,8,3,8,669,8,8,1,8,3,8,672,8,8,1,8,1,8,1,8,1,8,3,8,678,8,8, - 1,8,1,8,1,8,3,8,683,8,8,1,8,1,8,1,8,1,8,1,8,3,8,690,8,8,1,8,1,8, - 1,8,1,8,3,8,696,8,8,1,8,1,8,3,8,700,8,8,1,8,1,8,3,8,704,8,8,1,8, - 1,8,1,8,1,8,1,8,1,8,3,8,712,8,8,1,8,1,8,1,8,1,8,3,8,718,8,8,1,8, - 1,8,3,8,722,8,8,1,8,1,8,3,8,726,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,3,8,740,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,748, - 8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,3,8,767,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,790,8,8,10,8,12,8,793, - 9,8,3,8,795,8,8,1,8,1,8,1,8,1,8,1,8,3,8,802,8,8,1,8,1,8,1,8,1,8, - 1,8,3,8,809,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,818,8,8,1,8,1,8, - 3,8,822,8,8,1,8,1,8,1,8,1,8,1,8,3,8,829,8,8,1,8,1,8,1,8,1,8,5,8, - 835,8,8,10,8,12,8,838,9,8,1,8,1,8,1,8,1,8,5,8,844,8,8,10,8,12,8, - 847,9,8,1,8,1,8,1,8,3,8,852,8,8,1,8,1,8,1,8,3,8,857,8,8,1,8,1,8, - 3,8,861,8,8,1,8,1,8,1,8,1,8,5,8,867,8,8,10,8,12,8,870,9,8,1,8,1, - 8,3,8,874,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,883,8,8,1,8,1,8,1, - 8,1,8,3,8,889,8,8,1,8,1,8,1,8,5,8,894,8,8,10,8,12,8,897,9,8,1,8, - 1,8,1,8,1,8,5,8,903,8,8,10,8,12,8,906,9,8,1,8,1,8,1,8,3,8,911,8, - 8,1,8,1,8,3,8,915,8,8,1,8,1,8,1,8,1,8,3,8,921,8,8,1,8,1,8,1,8,5, - 8,926,8,8,10,8,12,8,929,9,8,1,8,1,8,3,8,933,8,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,5,8,944,8,8,10,8,12,8,947,9,8,1,8,1,8,3,8,951, - 8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,963,8,8,1,8,1,8, - 3,8,967,8,8,1,8,1,8,1,8,1,8,3,8,973,8,8,1,8,1,8,1,8,1,8,1,8,5,8, - 980,8,8,10,8,12,8,983,9,8,1,8,1,8,3,8,987,8,8,1,8,1,8,1,8,1,8,3, - 8,993,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, - 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1021,8,8,1, - 8,1,8,1,8,1,8,3,8,1027,8,8,3,8,1029,8,8,1,8,1,8,1,8,1,8,3,8,1035, - 8,8,1,8,1,8,1,8,1,8,3,8,1041,8,8,3,8,1043,8,8,1,8,1,8,1,8,1,8,1, - 8,1,8,3,8,1051,8,8,3,8,1053,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, - 3,8,1063,8,8,3,8,1065,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, - 8,1,8,1,8,1,8,3,8,1080,8,8,1,8,1,8,1,8,3,8,1085,8,8,1,8,1,8,1,8, - 1,8,1,8,3,8,1092,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1102,8, - 8,1,8,1,8,1,8,1,8,3,8,1108,8,8,3,8,1110,8,8,1,8,1,8,1,8,1,8,1,8, - 1,8,3,8,1118,8,8,3,8,1120,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, - 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,1143,8,8,10, - 8,12,8,1146,9,8,3,8,1148,8,8,1,8,1,8,3,8,1152,8,8,1,8,1,8,3,8,1156, - 8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8, - 1172,8,8,10,8,12,8,1175,9,8,3,8,1177,8,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,5,8,1186,8,8,10,8,12,8,1189,9,8,3,8,1191,8,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1207,8,8,1,8,1,8,1,8, - 1,8,1,8,1,8,5,8,1215,8,8,10,8,12,8,1218,9,8,1,8,3,8,1221,8,8,1,8, - 1,8,1,8,1,8,3,8,1227,8,8,1,8,3,8,1230,8,8,1,8,1,8,1,8,1,8,1,8,4, - 8,1237,8,8,11,8,12,8,1238,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, - 8,3,8,1251,8,8,1,9,3,9,1254,8,9,1,9,1,9,1,10,1,10,1,10,1,10,5,10, - 1262,8,10,10,10,12,10,1265,9,10,1,11,3,11,1268,8,11,1,11,1,11,1, - 12,1,12,3,12,1274,8,12,1,12,1,12,1,12,5,12,1279,8,12,10,12,12,12, - 1282,9,12,1,13,1,13,3,13,1286,8,13,1,14,1,14,1,14,1,14,3,14,1292, - 8,14,1,14,1,14,3,14,1296,8,14,1,14,1,14,3,14,1300,8,14,1,15,1,15, - 1,15,1,15,3,15,1306,8,15,1,16,1,16,1,16,1,16,1,17,1,17,1,17,5,17, - 1315,8,17,10,17,12,17,1318,9,17,1,18,1,18,1,18,1,18,1,19,1,19,3, - 19,1326,8,19,1,20,1,20,1,20,1,20,1,20,1,20,5,20,1334,8,20,10,20, - 12,20,1337,9,20,3,20,1339,8,20,1,20,1,20,1,20,3,20,1344,8,20,3,20, - 1346,8,20,1,20,1,20,1,20,1,20,1,20,3,20,1353,8,20,1,20,1,20,1,20, - 1,20,3,20,1359,8,20,3,20,1361,8,20,1,21,1,21,3,21,1365,8,21,1,22, - 1,22,1,23,1,23,1,23,1,23,1,23,1,23,3,23,1375,8,23,1,23,1,23,1,23, - 1,23,3,23,1381,8,23,1,23,5,23,1384,8,23,10,23,12,23,1387,9,23,1, - 24,1,24,1,24,1,24,1,24,1,24,1,24,5,24,1396,8,24,10,24,12,24,1399, - 9,24,1,24,1,24,1,24,1,24,3,24,1405,8,24,1,25,1,25,3,25,1409,8,25, - 1,25,3,25,1412,8,25,1,25,1,25,3,25,1416,8,25,1,26,1,26,3,26,1420, - 8,26,1,26,1,26,1,26,1,26,1,26,5,26,1427,8,26,10,26,12,26,1430,9, - 26,3,26,1432,8,26,1,26,3,26,1435,8,26,1,26,1,26,1,26,3,26,1440,8, - 26,1,26,3,26,1443,8,26,1,26,1,26,1,26,1,26,5,26,1449,8,26,10,26, - 12,26,1452,9,26,3,26,1454,8,26,1,27,1,27,1,27,1,28,1,28,1,28,1,29, - 1,29,1,29,5,29,1465,8,29,10,29,12,29,1468,9,29,1,30,3,30,1471,8, - 30,1,30,1,30,1,30,5,30,1476,8,30,10,30,12,30,1479,9,30,1,31,1,31, - 1,31,5,31,1484,8,31,10,31,12,31,1487,9,31,1,32,1,32,1,32,1,32,1, - 32,1,32,5,32,1495,8,32,10,32,12,32,1498,9,32,3,32,1500,8,32,1,32, - 1,32,1,32,1,32,1,32,1,32,5,32,1508,8,32,10,32,12,32,1511,9,32,3, - 32,1513,8,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,5,32,1522,8,32,10, - 32,12,32,1525,9,32,1,32,1,32,3,32,1529,8,32,1,33,1,33,1,33,1,33, - 5,33,1535,8,33,10,33,12,33,1538,9,33,3,33,1540,8,33,1,33,1,33,3, - 33,1544,8,33,1,34,1,34,3,34,1548,8,34,1,35,1,35,1,35,1,35,1,35,1, - 35,1,36,3,36,1557,8,36,1,36,1,36,1,36,3,36,1562,8,36,1,36,1,36,1, - 36,1,36,1,36,5,36,1569,8,36,10,36,12,36,1572,9,36,3,36,1574,8,36, - 1,36,3,36,1577,8,36,1,37,1,37,3,37,1581,8,37,1,37,1,37,1,37,1,37, - 1,37,1,38,1,38,1,39,1,39,3,39,1592,8,39,1,39,3,39,1595,8,39,1,39, - 3,39,1598,8,39,1,39,1,39,1,39,3,39,1603,8,39,1,39,3,39,1606,8,39, - 1,40,1,40,1,41,1,41,1,41,1,41,1,42,1,42,1,43,1,43,1,44,1,44,1,44, - 1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44, - 1,44,3,44,1635,8,44,5,44,1637,8,44,10,44,12,44,1640,9,44,1,45,3, - 45,1643,8,45,1,45,1,45,3,45,1647,8,45,1,45,1,45,3,45,1651,8,45,1, - 45,1,45,3,45,1655,8,45,3,45,1657,8,45,1,46,1,46,1,46,1,46,1,46,1, - 46,1,46,5,46,1666,8,46,10,46,12,46,1669,9,46,1,46,1,46,3,46,1673, - 8,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,1682,8,47,1,48,1,48, - 1,49,1,49,1,50,1,50,1,50,3,50,1691,8,50,1,50,3,50,1694,8,50,1,51, - 1,51,1,51,1,51,3,51,1700,8,51,1,52,1,52,1,52,1,52,1,52,1,52,3,52, - 1708,8,52,1,52,1,52,1,52,1,52,1,52,5,52,1715,8,52,10,52,12,52,1718, - 9,52,3,52,1720,8,52,1,52,1,52,1,52,1,52,5,52,1726,8,52,10,52,12, - 52,1729,9,52,3,52,1731,8,52,1,52,3,52,1734,8,52,1,52,1,52,1,52,3, - 52,1739,8,52,1,52,3,52,1742,8,52,1,52,1,52,1,52,1,52,1,52,1,52,1, - 52,1,52,5,52,1752,8,52,10,52,12,52,1755,9,52,3,52,1757,8,52,1,52, - 1,52,1,52,1,52,5,52,1763,8,52,10,52,12,52,1766,9,52,1,52,1,52,3, - 52,1770,8,52,1,52,1,52,3,52,1774,8,52,3,52,1776,8,52,3,52,1778,8, - 52,1,53,1,53,1,53,1,53,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1, - 54,3,54,1793,8,54,3,54,1795,8,54,1,55,1,55,1,55,1,55,1,55,1,55,1, - 55,1,55,1,55,3,55,1806,8,55,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1, - 56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,3,56,1827, - 8,56,1,57,1,57,1,57,1,57,1,57,1,57,5,57,1835,8,57,10,57,12,57,1838, - 9,57,1,57,1,57,1,58,1,58,1,58,1,58,1,59,1,59,3,59,1848,8,59,1,59, - 1,59,3,59,1852,8,59,3,59,1854,8,59,1,60,1,60,1,60,1,60,5,60,1860, - 8,60,10,60,12,60,1863,9,60,1,60,1,60,1,61,1,61,1,61,1,61,5,61,1871, - 8,61,10,61,12,61,1874,9,61,1,61,1,61,1,62,1,62,1,62,1,62,5,62,1882, - 8,62,10,62,12,62,1885,9,62,1,62,1,62,1,63,1,63,3,63,1891,8,63,1, - 63,1,63,1,63,1,63,1,63,3,63,1898,8,63,1,64,1,64,1,64,1,64,1,64,1, - 64,1,64,1,64,1,64,5,64,1909,8,64,10,64,12,64,1912,9,64,1,64,1,64, - 1,64,3,64,1917,8,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64, - 1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,5,64,1937,8,64,10,64, - 12,64,1940,9,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64, - 1,64,1,64,3,64,1954,8,64,1,64,1,64,1,64,3,64,1959,8,64,1,64,1,64, - 3,64,1963,8,64,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,3,65,1973, - 8,65,1,65,1,65,1,65,1,65,3,65,1979,8,65,1,65,1,65,1,65,1,65,3,65, - 1985,8,65,1,65,1,65,1,65,1,65,1,65,1,65,3,65,1993,8,65,1,65,1,65, - 1,65,3,65,1998,8,65,1,65,1,65,1,65,1,65,1,65,3,65,2005,8,65,3,65, - 2007,8,65,1,65,1,65,1,65,1,65,3,65,2013,8,65,1,65,1,65,1,65,1,65, - 3,65,2019,8,65,1,65,1,65,3,65,2023,8,65,1,65,1,65,1,65,3,65,2028, - 8,65,1,65,1,65,1,65,1,65,1,65,5,65,2035,8,65,10,65,12,65,2038,9, - 65,1,65,1,65,3,65,2042,8,65,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1, - 66,1,66,1,66,5,66,2054,8,66,10,66,12,66,2057,9,66,1,66,1,66,1,66, - 1,66,1,66,5,66,2064,8,66,10,66,12,66,2067,9,66,3,66,2069,8,66,1, - 67,1,67,1,68,1,68,1,68,1,68,1,68,3,68,2078,8,68,1,69,1,69,1,69,3, - 69,2083,8,69,1,69,1,69,1,69,3,69,2088,8,69,3,69,2090,8,69,1,70,1, - 70,1,70,1,70,1,70,5,70,2097,8,70,10,70,12,70,2100,9,70,3,70,2102, - 8,70,1,70,1,70,1,70,1,70,5,70,2108,8,70,10,70,12,70,2111,9,70,3, - 70,2113,8,70,1,70,1,70,1,71,1,71,1,71,3,71,2120,8,71,1,71,1,71,1, - 71,3,71,2125,8,71,1,72,1,72,1,72,1,72,1,72,3,72,2132,8,72,1,72,1, - 72,3,72,2136,8,72,3,72,2138,8,72,1,72,1,72,1,72,1,72,1,72,1,72,3, - 72,2146,8,72,1,72,1,72,1,72,1,72,1,72,1,72,5,72,2154,8,72,10,72, - 12,72,2157,9,72,1,72,1,72,1,72,3,72,2162,8,72,3,72,2164,8,72,1,73, - 1,73,1,73,1,73,1,73,3,73,2171,8,73,1,73,1,73,3,73,2175,8,73,3,73, - 2177,8,73,1,73,1,73,1,73,1,73,1,73,3,73,2184,8,73,1,73,1,73,3,73, - 2188,8,73,3,73,2190,8,73,3,73,2192,8,73,1,74,1,74,1,74,1,74,1,74, - 5,74,2199,8,74,10,74,12,74,2202,9,74,1,74,1,74,1,74,1,74,1,74,1, - 74,1,74,1,74,3,74,2212,8,74,1,75,1,75,3,75,2216,8,75,1,76,1,76,1, - 76,1,76,1,76,1,76,5,76,2224,8,76,10,76,12,76,2227,9,76,1,76,1,76, - 1,77,1,77,1,78,1,78,1,78,3,78,2236,8,78,1,78,1,78,3,78,2240,8,78, - 1,78,1,78,1,78,1,78,1,78,1,78,5,78,2248,8,78,10,78,12,78,2251,9, - 78,1,79,1,79,1,79,1,79,1,79,1,79,1,79,1,79,1,79,1,79,3,79,2263,8, - 79,1,79,1,79,1,79,1,79,1,79,1,79,3,79,2271,8,79,1,79,1,79,1,79,1, - 79,1,79,5,79,2278,8,79,10,79,12,79,2281,9,79,1,79,1,79,1,79,3,79, - 2286,8,79,1,79,1,79,1,79,1,79,1,79,1,79,3,79,2294,8,79,1,79,1,79, - 1,79,1,79,3,79,2300,8,79,1,79,1,79,3,79,2304,8,79,1,79,1,79,1,79, - 3,79,2309,8,79,1,79,1,79,1,79,3,79,2314,8,79,1,80,1,80,1,80,1,80, - 3,80,2320,8,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80, - 1,80,1,80,5,80,2334,8,80,10,80,12,80,2337,9,80,1,81,1,81,1,81,1, - 81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1, - 81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,4,81,2364,8,81,11,81, - 12,81,2365,1,81,1,81,1,81,1,81,1,81,1,81,1,81,5,81,2375,8,81,10, - 81,12,81,2378,9,81,1,81,1,81,1,81,1,81,1,81,3,81,2385,8,81,1,81, - 1,81,1,81,3,81,2390,8,81,1,81,1,81,1,81,3,81,2395,8,81,1,81,1,81, - 1,81,1,81,1,81,1,81,1,81,1,81,1,81,5,81,2406,8,81,10,81,12,81,2409, - 9,81,1,81,1,81,1,81,3,81,2414,8,81,1,81,3,81,2417,8,81,1,81,1,81, - 1,81,1,81,1,81,3,81,2424,8,81,1,81,1,81,1,81,3,81,2429,8,81,1,81, - 3,81,2432,8,81,1,81,3,81,2435,8,81,1,81,1,81,1,81,3,81,2440,8,81, - 1,81,1,81,1,81,5,81,2445,8,81,10,81,12,81,2448,9,81,3,81,2450,8, - 81,1,81,1,81,1,81,1,81,1,81,5,81,2457,8,81,10,81,12,81,2460,9,81, - 3,81,2462,8,81,1,81,1,81,3,81,2466,8,81,1,81,3,81,2469,8,81,1,81, - 3,81,2472,8,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81, - 1,81,5,81,2485,8,81,10,81,12,81,2488,9,81,3,81,2490,8,81,1,81,1, - 81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1, - 81,4,81,2507,8,81,11,81,12,81,2508,1,81,1,81,3,81,2513,8,81,1,81, - 1,81,1,81,1,81,4,81,2519,8,81,11,81,12,81,2520,1,81,1,81,3,81,2525, - 8,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81, - 1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,5,81,2548,8,81,10,81, - 12,81,2551,9,81,3,81,2553,8,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81, - 3,81,2562,8,81,1,81,1,81,1,81,1,81,3,81,2568,8,81,1,81,1,81,1,81, - 1,81,3,81,2574,8,81,1,81,1,81,1,81,1,81,3,81,2580,8,81,1,81,1,81, - 1,81,1,81,1,81,1,81,1,81,3,81,2589,8,81,1,81,3,81,2592,8,81,1,81, - 3,81,2595,8,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81, - 1,81,1,81,1,81,1,81,1,81,1,81,1,81,3,81,2614,8,81,1,81,1,81,1,81, - 1,81,1,81,1,81,1,81,3,81,2623,8,81,1,81,1,81,1,81,1,81,1,81,1,81, - 1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,5,81,2639,8,81,10,81,12, - 81,2642,9,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1, - 81,5,81,2655,8,81,10,81,12,81,2658,9,81,3,81,2660,8,81,1,81,1,81, - 1,81,1,81,1,81,1,81,1,81,1,81,3,81,2670,8,81,1,81,1,81,1,81,1,81, - 1,81,1,81,1,81,3,81,2679,8,81,1,81,1,81,1,81,1,81,3,81,2685,8,81, - 1,81,1,81,1,81,1,81,3,81,2691,8,81,1,81,1,81,1,81,1,81,1,81,1,81, - 1,81,1,81,1,81,3,81,2702,8,81,3,81,2704,8,81,1,81,1,81,1,81,3,81, - 2709,8,81,1,81,1,81,1,81,1,81,1,81,3,81,2716,8,81,3,81,2718,8,81, - 1,81,1,81,1,81,1,81,3,81,2724,8,81,1,81,1,81,1,81,1,81,3,81,2730, - 8,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,5,81,2739,8,81,10,81,12, - 81,2742,9,81,1,81,1,81,1,81,1,81,1,81,1,81,3,81,2750,8,81,1,81,1, - 81,1,81,3,81,2755,8,81,1,81,1,81,1,81,3,81,2760,8,81,3,81,2762,8, - 81,3,81,2764,8,81,1,81,1,81,1,81,1,81,3,81,2770,8,81,3,81,2772,8, - 81,1,81,1,81,1,81,1,81,1,81,1,81,5,81,2780,8,81,10,81,12,81,2783, - 9,81,1,81,1,81,1,81,1,81,1,81,1,81,3,81,2791,8,81,3,81,2793,8,81, - 1,81,1,81,1,81,1,81,3,81,2799,8,81,3,81,2801,8,81,1,81,3,81,2804, - 8,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,5,81,2814,8,81,10,81, - 12,81,2817,9,81,1,82,1,82,1,82,1,82,1,82,3,82,2824,8,82,1,82,1,82, - 1,82,1,82,5,82,2830,8,82,10,82,12,82,2833,9,82,3,82,2835,8,82,1, - 83,1,83,1,83,3,83,2840,8,83,1,84,1,84,1,84,3,84,2845,8,84,1,85,1, - 85,1,85,1,85,1,86,1,86,1,87,1,87,1,87,1,87,3,87,2857,8,87,1,88,1, - 88,3,88,2861,8,88,1,88,1,88,3,88,2865,8,88,1,88,3,88,2868,8,88,3, - 88,2870,8,88,1,89,1,89,1,89,1,89,1,89,1,89,3,89,2878,8,89,1,90,3, - 90,2881,8,90,1,90,1,90,1,90,1,90,1,90,1,90,1,90,1,90,3,90,2891,8, - 90,1,91,1,91,1,92,1,92,1,92,1,92,3,92,2899,8,92,1,93,1,93,1,93,1, - 93,3,93,2905,8,93,3,93,2907,8,93,1,94,1,94,1,94,1,94,1,94,1,94,3, - 94,2915,8,94,1,95,1,95,1,96,1,96,1,97,1,97,1,98,1,98,3,98,2925,8, - 98,1,98,1,98,1,98,1,98,3,98,2931,8,98,1,99,1,99,1,100,1,100,1,101, - 1,101,1,101,1,101,1,101,1,101,5,101,2943,8,101,10,101,12,101,2946, - 9,101,1,101,1,101,1,101,1,101,1,101,1,101,3,101,2954,8,101,1,101, - 1,101,1,101,1,101,1,101,3,101,2961,8,101,1,101,1,101,1,101,3,101, - 2966,8,101,1,101,1,101,1,101,1,101,1,101,3,101,2973,8,101,1,101, - 1,101,1,101,3,101,2978,8,101,1,101,1,101,1,101,1,101,1,101,1,101, - 1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1,101, - 1,101,1,101,5,101,2999,8,101,10,101,12,101,3002,9,101,1,101,1,101, - 3,101,3006,8,101,3,101,3008,8,101,1,101,1,101,1,101,1,101,1,101, - 3,101,3015,8,101,5,101,3017,8,101,10,101,12,101,3020,9,101,1,102, - 1,102,1,102,1,102,3,102,3026,8,102,1,103,1,103,3,103,3030,8,103, - 1,104,1,104,1,104,1,104,1,104,1,105,1,105,1,105,1,105,1,105,1,106, - 1,106,1,106,1,106,3,106,3046,8,106,1,106,1,106,1,106,1,106,1,106, - 1,106,1,106,1,106,1,106,1,106,1,106,5,106,3059,8,106,10,106,12,106, - 3062,9,106,1,106,1,106,1,106,1,106,3,106,3068,8,106,1,106,1,106, - 1,106,1,106,1,106,1,106,1,106,3,106,3077,8,106,1,106,1,106,1,106, - 1,106,1,106,1,106,5,106,3085,8,106,10,106,12,106,3088,9,106,1,106, - 1,106,3,106,3092,8,106,1,106,1,106,1,106,1,106,1,106,5,106,3099, - 8,106,10,106,12,106,3102,9,106,1,106,1,106,3,106,3106,8,106,1,107, - 1,107,1,107,1,107,1,107,1,107,3,107,3114,8,107,1,108,1,108,1,108, - 1,108,5,108,3120,8,108,10,108,12,108,3123,9,108,3,108,3125,8,108, - 1,108,1,108,1,108,1,108,3,108,3131,8,108,1,108,3,108,3134,8,108, - 1,108,1,108,1,108,1,108,1,108,3,108,3141,8,108,1,108,1,108,1,108, - 1,108,5,108,3147,8,108,10,108,12,108,3150,9,108,3,108,3152,8,108, - 1,108,1,108,1,108,1,108,5,108,3158,8,108,10,108,12,108,3161,9,108, - 3,108,3163,8,108,1,109,1,109,1,109,1,109,1,109,1,109,1,109,1,109, - 1,109,1,109,1,109,1,109,1,109,1,109,1,109,1,109,1,109,1,109,1,109, - 1,109,1,109,1,109,1,109,1,109,3,109,3189,8,109,1,110,1,110,1,110, - 1,110,1,110,1,110,1,110,1,110,1,110,3,110,3200,8,110,1,111,1,111, - 1,111,3,111,3205,8,111,1,111,1,111,1,111,1,111,1,111,5,111,3212, - 8,111,10,111,12,111,3215,9,111,1,112,1,112,1,112,1,112,1,112,1,112, - 1,112,1,112,5,112,3225,8,112,10,112,12,112,3228,9,112,1,112,1,112, - 1,112,1,112,1,112,1,112,1,112,1,112,1,112,1,112,1,112,1,112,3,112, - 3242,8,112,1,113,1,113,3,113,3246,8,113,1,113,1,113,3,113,3250,8, - 113,1,113,1,113,3,113,3254,8,113,1,113,1,113,1,113,1,113,3,113,3260, - 8,113,1,113,1,113,3,113,3264,8,113,1,113,1,113,3,113,3268,8,113, - 1,113,1,113,3,113,3272,8,113,3,113,3274,8,113,1,114,1,114,1,114, - 1,114,1,115,1,115,1,115,1,115,3,115,3284,8,115,1,116,1,116,1,116, - 1,116,1,116,3,116,3291,8,116,1,117,1,117,1,117,1,117,1,117,1,117, - 1,117,3,117,3300,8,117,1,118,1,118,1,118,1,118,1,118,3,118,3307, - 8,118,1,119,1,119,1,119,1,119,1,119,3,119,3314,8,119,1,120,1,120, - 1,120,5,120,3319,8,120,10,120,12,120,3322,9,120,1,121,1,121,1,121, - 1,121,5,121,3328,8,121,10,121,12,121,3331,9,121,1,121,1,121,1,122, - 1,122,1,122,1,122,1,122,5,122,3340,8,122,10,122,12,122,3343,9,122, - 3,122,3345,8,122,1,122,1,122,1,123,1,123,1,123,1,123,1,123,5,123, - 3354,8,123,10,123,12,123,3357,9,123,3,123,3359,8,123,1,123,1,123, - 1,124,3,124,3364,8,124,1,124,1,124,1,125,1,125,1,125,1,126,1,126, - 1,126,3,126,3374,8,126,1,126,1,126,1,126,1,126,1,126,1,126,1,126, - 1,126,1,126,1,126,1,126,1,126,1,126,1,126,3,126,3390,8,126,1,127, - 1,127,1,127,1,127,1,127,1,127,1,127,1,127,1,127,1,127,4,127,3402, - 8,127,11,127,12,127,3403,1,127,3,127,3407,8,127,1,127,1,127,1,127, - 1,127,1,127,4,127,3414,8,127,11,127,12,127,3415,1,127,3,127,3419, - 8,127,1,127,1,127,1,127,1,127,1,127,1,127,1,127,1,127,5,127,3429, - 8,127,10,127,12,127,3432,9,127,1,127,3,127,3435,8,127,1,127,1,127, - 1,127,1,127,1,127,1,127,1,127,1,127,1,127,1,127,1,127,5,127,3448, - 8,127,10,127,12,127,3451,9,127,1,127,3,127,3454,8,127,1,127,1,127, - 1,127,1,127,3,127,3460,8,127,1,127,1,127,1,127,1,127,1,127,1,127, - 1,127,1,127,3,127,3470,8,127,1,127,1,127,1,127,1,127,1,127,1,127, - 1,127,1,127,1,127,1,127,3,127,3482,8,127,1,127,1,127,1,127,1,127, - 1,127,1,127,1,127,3,127,3491,8,127,1,128,1,128,1,128,1,128,1,128, - 1,129,1,129,1,129,1,129,1,129,1,130,1,130,1,130,1,131,1,131,1,131, - 1,131,5,131,3510,8,131,10,131,12,131,3513,9,131,1,131,1,131,1,131, - 3,131,3518,8,131,1,132,1,132,1,132,4,132,3523,8,132,11,132,12,132, - 3524,1,133,1,133,1,133,1,133,1,133,1,133,3,133,3533,8,133,1,134, - 1,134,1,134,3,134,3538,8,134,1,135,3,135,3541,8,135,1,135,1,135, - 1,136,1,136,3,136,3547,8,136,1,137,1,137,1,137,1,137,1,137,1,137, - 1,137,1,137,1,137,1,137,1,137,3,137,3560,8,137,1,138,1,138,1,138, - 1,138,1,138,1,138,1,138,1,138,1,138,1,138,1,138,3,138,3573,8,138, - 1,139,1,139,1,139,1,139,1,139,1,139,1,139,1,139,1,139,1,139,1,139, - 3,139,3586,8,139,1,140,1,140,1,140,1,140,1,140,1,140,1,140,1,140, - 1,140,1,140,1,140,3,140,3599,8,140,1,141,1,141,1,141,1,141,1,141, - 3,141,3606,8,141,1,142,1,142,1,142,1,142,1,142,3,142,3613,8,142, - 1,143,1,143,1,144,1,144,1,145,1,145,1,146,1,146,1,147,1,147,3,147, - 3625,8,147,1,148,1,148,1,149,1,149,1,150,1,150,1,150,5,150,3634, - 8,150,10,150,12,150,3637,9,150,1,151,1,151,1,151,1,151,1,151,1,151, - 1,152,1,152,1,153,1,153,1,153,3,153,3650,8,153,1,154,1,154,1,154, - 1,154,1,154,3,154,3657,8,154,1,155,1,155,1,155,5,155,3662,8,155, - 10,155,12,155,3665,9,155,1,156,1,156,1,156,1,156,1,156,1,156,1,156, - 3,156,3674,8,156,1,157,1,157,1,157,1,157,1,157,3,157,3681,8,157, - 1,158,3,158,3684,8,158,1,158,1,158,3,158,3688,8,158,1,158,1,158, - 3,158,3692,8,158,1,158,3,158,3695,8,158,1,159,1,159,3,159,3699,8, - 159,1,160,1,160,1,160,0,7,46,88,156,160,162,202,222,161,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,166,168,170,172,174,176,178,180,182,184,186,188,190,192, - 194,196,198,200,202,204,206,208,210,212,214,216,218,220,222,224, - 226,228,230,232,234,236,238,240,242,244,246,248,250,252,254,256, - 258,260,262,264,266,268,270,272,274,276,278,280,282,284,286,288, - 290,292,294,296,298,300,302,304,306,308,310,312,314,316,318,320, - 0,36,2,0,39,39,230,230,2,0,73,73,132,132,2,0,106,106,123,123,2,0, - 93,93,124,124,1,0,240,241,2,0,102,102,175,175,2,0,325,325,330,330, - 2,0,92,92,282,282,2,0,29,29,76,76,2,0,102,102,149,149,2,0,22,22, - 80,80,2,0,33,33,260,260,3,0,35,35,151,151,271,271,2,0,125,125,248, - 248,2,0,86,86,90,90,2,0,145,145,190,190,2,0,126,126,198,198,2,0, - 55,55,282,282,1,0,319,320,1,0,321,323,1,0,292,294,4,0,90,90,98,98, - 274,274,284,284,2,0,50,50,281,281,2,0,101,101,242,242,1,0,313,318, - 3,0,22,22,26,26,255,255,2,0,98,98,274,274,5,0,68,68,119,119,171, - 172,246,246,311,311,1,0,176,179,2,0,305,305,307,307,2,0,103,103, - 213,213,3,0,114,114,138,138,264,264,4,0,81,81,133,133,161,161,295, - 295,2,0,193,193,310,310,2,0,269,269,299,299,54,0,18,22,24,24,26, - 27,29,33,35,35,37,39,42,50,52,53,57,57,66,68,70,73,75,76,78,79,81, - 83,86,88,90,90,93,93,96,96,99,103,105,105,108,114,117,117,119,122, - 124,125,127,127,130,130,132,133,135,136,138,138,145,152,154,154, - 156,156,158,158,161,172,174,181,185,190,192,194,197,197,199,214, - 216,221,223,234,236,238,240,248,250,260,262,265,267,272,275,277, - 279,281,283,285,287,290,292,296,298,300,303,304,306,312,4244,0,325, - 1,0,0,0,2,330,1,0,0,0,4,332,1,0,0,0,6,336,1,0,0,0,8,340,1,0,0,0, - 10,344,1,0,0,0,12,348,1,0,0,0,14,352,1,0,0,0,16,1250,1,0,0,0,18, - 1253,1,0,0,0,20,1257,1,0,0,0,22,1267,1,0,0,0,24,1271,1,0,0,0,26, - 1285,1,0,0,0,28,1287,1,0,0,0,30,1301,1,0,0,0,32,1307,1,0,0,0,34, - 1311,1,0,0,0,36,1319,1,0,0,0,38,1325,1,0,0,0,40,1327,1,0,0,0,42, - 1364,1,0,0,0,44,1366,1,0,0,0,46,1368,1,0,0,0,48,1404,1,0,0,0,50, - 1408,1,0,0,0,52,1417,1,0,0,0,54,1455,1,0,0,0,56,1458,1,0,0,0,58, - 1461,1,0,0,0,60,1470,1,0,0,0,62,1480,1,0,0,0,64,1528,1,0,0,0,66, - 1543,1,0,0,0,68,1547,1,0,0,0,70,1549,1,0,0,0,72,1556,1,0,0,0,74, - 1578,1,0,0,0,76,1587,1,0,0,0,78,1605,1,0,0,0,80,1607,1,0,0,0,82, - 1609,1,0,0,0,84,1613,1,0,0,0,86,1615,1,0,0,0,88,1617,1,0,0,0,90, - 1656,1,0,0,0,92,1672,1,0,0,0,94,1674,1,0,0,0,96,1683,1,0,0,0,98, - 1685,1,0,0,0,100,1693,1,0,0,0,102,1699,1,0,0,0,104,1701,1,0,0,0, - 106,1779,1,0,0,0,108,1794,1,0,0,0,110,1805,1,0,0,0,112,1826,1,0, - 0,0,114,1828,1,0,0,0,116,1841,1,0,0,0,118,1845,1,0,0,0,120,1855, - 1,0,0,0,122,1866,1,0,0,0,124,1877,1,0,0,0,126,1897,1,0,0,0,128,1962, - 1,0,0,0,130,2041,1,0,0,0,132,2068,1,0,0,0,134,2070,1,0,0,0,136,2077, - 1,0,0,0,138,2089,1,0,0,0,140,2091,1,0,0,0,142,2119,1,0,0,0,144,2126, - 1,0,0,0,146,2191,1,0,0,0,148,2211,1,0,0,0,150,2213,1,0,0,0,152,2217, - 1,0,0,0,154,2230,1,0,0,0,156,2239,1,0,0,0,158,2313,1,0,0,0,160,2319, - 1,0,0,0,162,2803,1,0,0,0,164,2818,1,0,0,0,166,2836,1,0,0,0,168,2841, - 1,0,0,0,170,2846,1,0,0,0,172,2850,1,0,0,0,174,2856,1,0,0,0,176,2869, - 1,0,0,0,178,2877,1,0,0,0,180,2890,1,0,0,0,182,2892,1,0,0,0,184,2898, - 1,0,0,0,186,2906,1,0,0,0,188,2914,1,0,0,0,190,2916,1,0,0,0,192,2918, - 1,0,0,0,194,2920,1,0,0,0,196,2922,1,0,0,0,198,2932,1,0,0,0,200,2934, - 1,0,0,0,202,3007,1,0,0,0,204,3025,1,0,0,0,206,3029,1,0,0,0,208,3031, - 1,0,0,0,210,3036,1,0,0,0,212,3105,1,0,0,0,214,3107,1,0,0,0,216,3124, - 1,0,0,0,218,3188,1,0,0,0,220,3199,1,0,0,0,222,3201,1,0,0,0,224,3241, - 1,0,0,0,226,3273,1,0,0,0,228,3275,1,0,0,0,230,3283,1,0,0,0,232,3290, - 1,0,0,0,234,3299,1,0,0,0,236,3306,1,0,0,0,238,3313,1,0,0,0,240,3315, - 1,0,0,0,242,3323,1,0,0,0,244,3334,1,0,0,0,246,3348,1,0,0,0,248,3363, - 1,0,0,0,250,3367,1,0,0,0,252,3389,1,0,0,0,254,3490,1,0,0,0,256,3492, - 1,0,0,0,258,3497,1,0,0,0,260,3502,1,0,0,0,262,3505,1,0,0,0,264,3522, - 1,0,0,0,266,3532,1,0,0,0,268,3537,1,0,0,0,270,3540,1,0,0,0,272,3546, - 1,0,0,0,274,3559,1,0,0,0,276,3572,1,0,0,0,278,3585,1,0,0,0,280,3598, - 1,0,0,0,282,3605,1,0,0,0,284,3612,1,0,0,0,286,3614,1,0,0,0,288,3616, - 1,0,0,0,290,3618,1,0,0,0,292,3620,1,0,0,0,294,3624,1,0,0,0,296,3626, - 1,0,0,0,298,3628,1,0,0,0,300,3630,1,0,0,0,302,3638,1,0,0,0,304,3644, - 1,0,0,0,306,3649,1,0,0,0,308,3656,1,0,0,0,310,3658,1,0,0,0,312,3673, - 1,0,0,0,314,3680,1,0,0,0,316,3694,1,0,0,0,318,3698,1,0,0,0,320,3700, - 1,0,0,0,322,324,3,2,1,0,323,322,1,0,0,0,324,327,1,0,0,0,325,323, - 1,0,0,0,325,326,1,0,0,0,326,328,1,0,0,0,327,325,1,0,0,0,328,329, - 5,0,0,1,329,1,1,0,0,0,330,331,3,4,2,0,331,3,1,0,0,0,332,334,3,16, - 8,0,333,335,5,326,0,0,334,333,1,0,0,0,334,335,1,0,0,0,335,5,1,0, - 0,0,336,338,3,154,77,0,337,339,5,326,0,0,338,337,1,0,0,0,338,339, - 1,0,0,0,339,7,1,0,0,0,340,342,3,240,120,0,341,343,5,326,0,0,342, - 341,1,0,0,0,342,343,1,0,0,0,343,9,1,0,0,0,344,346,3,202,101,0,345, - 347,5,326,0,0,346,345,1,0,0,0,346,347,1,0,0,0,347,11,1,0,0,0,348, - 350,3,222,111,0,349,351,5,326,0,0,350,349,1,0,0,0,350,351,1,0,0, - 0,351,13,1,0,0,0,352,353,3,242,121,0,353,354,5,0,0,1,354,15,1,0, - 0,0,355,1251,3,18,9,0,356,357,5,289,0,0,357,1251,3,282,141,0,358, - 359,5,54,0,0,359,363,5,42,0,0,360,361,5,120,0,0,361,362,5,183,0, - 0,362,364,5,95,0,0,363,360,1,0,0,0,363,364,1,0,0,0,364,365,1,0,0, - 0,365,366,3,288,144,0,366,367,5,291,0,0,367,370,3,314,157,0,368, - 369,5,47,0,0,369,371,3,186,93,0,370,368,1,0,0,0,370,371,1,0,0,0, - 371,374,1,0,0,0,372,373,5,31,0,0,373,375,3,308,154,0,374,372,1,0, - 0,0,374,375,1,0,0,0,375,378,1,0,0,0,376,377,5,305,0,0,377,379,3, - 32,16,0,378,376,1,0,0,0,378,379,1,0,0,0,379,1251,1,0,0,0,380,381, - 5,84,0,0,381,384,5,42,0,0,382,383,5,120,0,0,383,385,5,95,0,0,384, - 382,1,0,0,0,384,385,1,0,0,0,385,386,1,0,0,0,386,388,3,286,143,0, - 387,389,7,0,0,0,388,387,1,0,0,0,388,389,1,0,0,0,389,1251,1,0,0,0, - 390,391,5,54,0,0,391,395,5,244,0,0,392,393,5,120,0,0,393,394,5,183, - 0,0,394,396,5,95,0,0,395,392,1,0,0,0,395,396,1,0,0,0,396,397,1,0, - 0,0,397,400,3,284,142,0,398,399,5,31,0,0,399,401,3,308,154,0,400, - 398,1,0,0,0,400,401,1,0,0,0,401,404,1,0,0,0,402,403,5,305,0,0,403, - 405,3,32,16,0,404,402,1,0,0,0,404,405,1,0,0,0,405,1251,1,0,0,0,406, - 407,5,84,0,0,407,410,5,244,0,0,408,409,5,120,0,0,409,411,5,95,0, - 0,410,408,1,0,0,0,410,411,1,0,0,0,411,412,1,0,0,0,412,414,3,282, - 141,0,413,415,7,0,0,0,414,413,1,0,0,0,414,415,1,0,0,0,415,1251,1, - 0,0,0,416,417,5,23,0,0,417,418,5,244,0,0,418,419,3,282,141,0,419, - 420,5,224,0,0,420,421,5,270,0,0,421,422,3,284,142,0,422,1251,1,0, - 0,0,423,424,5,23,0,0,424,425,5,244,0,0,425,426,3,282,141,0,426,427, - 5,252,0,0,427,428,5,31,0,0,428,429,3,308,154,0,429,1251,1,0,0,0, - 430,433,5,54,0,0,431,432,5,195,0,0,432,434,5,227,0,0,433,431,1,0, - 0,0,433,434,1,0,0,0,434,435,1,0,0,0,435,439,5,261,0,0,436,437,5, - 120,0,0,437,438,5,183,0,0,438,440,5,95,0,0,439,436,1,0,0,0,439,440, - 1,0,0,0,440,441,1,0,0,0,441,443,3,276,138,0,442,444,3,120,60,0,443, - 442,1,0,0,0,443,444,1,0,0,0,444,447,1,0,0,0,445,446,5,47,0,0,446, - 448,3,186,93,0,447,445,1,0,0,0,447,448,1,0,0,0,448,451,1,0,0,0,449, - 450,5,305,0,0,450,452,3,32,16,0,451,449,1,0,0,0,451,452,1,0,0,0, - 452,453,1,0,0,0,453,459,5,28,0,0,454,460,3,18,9,0,455,456,5,1,0, - 0,456,457,3,18,9,0,457,458,5,2,0,0,458,460,1,0,0,0,459,454,1,0,0, - 0,459,455,1,0,0,0,460,466,1,0,0,0,461,463,5,305,0,0,462,464,5,180, - 0,0,463,462,1,0,0,0,463,464,1,0,0,0,464,465,1,0,0,0,465,467,5,66, - 0,0,466,461,1,0,0,0,466,467,1,0,0,0,467,1251,1,0,0,0,468,471,5,54, - 0,0,469,470,5,195,0,0,470,472,5,227,0,0,471,469,1,0,0,0,471,472, - 1,0,0,0,472,473,1,0,0,0,473,477,5,261,0,0,474,475,5,120,0,0,475, - 476,5,183,0,0,476,478,5,95,0,0,477,474,1,0,0,0,477,478,1,0,0,0,478, - 479,1,0,0,0,479,480,3,276,138,0,480,481,5,1,0,0,481,486,3,26,13, - 0,482,483,5,3,0,0,483,485,3,26,13,0,484,482,1,0,0,0,485,488,1,0, - 0,0,486,484,1,0,0,0,486,487,1,0,0,0,487,489,1,0,0,0,488,486,1,0, - 0,0,489,492,5,2,0,0,490,491,5,47,0,0,491,493,3,186,93,0,492,490, - 1,0,0,0,492,493,1,0,0,0,493,496,1,0,0,0,494,495,5,305,0,0,495,497, - 3,32,16,0,496,494,1,0,0,0,496,497,1,0,0,0,497,1251,1,0,0,0,498,499, - 5,84,0,0,499,502,5,261,0,0,500,501,5,120,0,0,501,503,5,95,0,0,502, - 500,1,0,0,0,502,503,1,0,0,0,503,504,1,0,0,0,504,1251,3,274,137,0, - 505,506,5,128,0,0,506,507,5,131,0,0,507,509,3,274,137,0,508,510, - 3,122,61,0,509,508,1,0,0,0,509,510,1,0,0,0,510,511,1,0,0,0,511,512, - 3,18,9,0,512,1251,1,0,0,0,513,514,5,74,0,0,514,515,5,106,0,0,515, - 517,3,274,137,0,516,518,3,54,27,0,517,516,1,0,0,0,517,518,1,0,0, - 0,518,1251,1,0,0,0,519,520,5,275,0,0,520,521,5,261,0,0,521,1251, - 3,274,137,0,522,523,5,47,0,0,523,524,5,191,0,0,524,525,5,261,0,0, - 525,526,3,274,137,0,526,529,5,134,0,0,527,530,3,186,93,0,528,530, - 5,184,0,0,529,527,1,0,0,0,529,528,1,0,0,0,530,1251,1,0,0,0,531,532, - 5,47,0,0,532,533,5,191,0,0,533,534,5,300,0,0,534,535,3,278,139,0, - 535,538,5,134,0,0,536,539,3,186,93,0,537,539,5,184,0,0,538,536,1, - 0,0,0,538,537,1,0,0,0,539,1251,1,0,0,0,540,541,5,47,0,0,541,542, - 5,191,0,0,542,543,5,45,0,0,543,544,3,294,147,0,544,547,5,134,0,0, - 545,548,3,186,93,0,546,548,5,184,0,0,547,545,1,0,0,0,547,546,1,0, - 0,0,548,1251,1,0,0,0,549,550,5,23,0,0,550,553,5,261,0,0,551,552, - 5,120,0,0,552,554,5,95,0,0,553,551,1,0,0,0,553,554,1,0,0,0,554,555, - 1,0,0,0,555,556,3,274,137,0,556,557,5,224,0,0,557,558,5,270,0,0, - 558,559,3,276,138,0,559,1251,1,0,0,0,560,561,5,23,0,0,561,564,5, - 261,0,0,562,563,5,120,0,0,563,565,5,95,0,0,564,562,1,0,0,0,564,565, - 1,0,0,0,565,566,1,0,0,0,566,567,3,274,137,0,567,568,5,19,0,0,568, - 572,5,45,0,0,569,570,5,120,0,0,570,571,5,183,0,0,571,573,5,95,0, - 0,572,569,1,0,0,0,572,573,1,0,0,0,573,574,1,0,0,0,574,575,3,28,14, - 0,575,1251,1,0,0,0,576,577,5,23,0,0,577,580,5,261,0,0,578,579,5, - 120,0,0,579,581,5,95,0,0,580,578,1,0,0,0,580,581,1,0,0,0,581,582, - 1,0,0,0,582,583,3,274,137,0,583,584,5,224,0,0,584,587,5,45,0,0,585, - 586,5,120,0,0,586,588,5,95,0,0,587,585,1,0,0,0,587,588,1,0,0,0,588, - 589,1,0,0,0,589,590,3,294,147,0,590,591,5,270,0,0,591,592,3,298, - 149,0,592,1251,1,0,0,0,593,594,5,23,0,0,594,597,5,261,0,0,595,596, - 5,120,0,0,596,598,5,95,0,0,597,595,1,0,0,0,597,598,1,0,0,0,598,599, - 1,0,0,0,599,600,3,274,137,0,600,601,5,84,0,0,601,604,5,45,0,0,602, - 603,5,120,0,0,603,605,5,95,0,0,604,602,1,0,0,0,604,605,1,0,0,0,605, - 606,1,0,0,0,606,607,3,294,147,0,607,1251,1,0,0,0,608,609,5,23,0, - 0,609,612,5,261,0,0,610,611,5,120,0,0,611,613,5,95,0,0,612,610,1, - 0,0,0,612,613,1,0,0,0,613,614,1,0,0,0,614,615,3,274,137,0,615,616, - 5,23,0,0,616,617,5,45,0,0,617,618,3,294,147,0,618,619,5,252,0,0, - 619,620,5,66,0,0,620,621,5,277,0,0,621,622,3,202,101,0,622,1251, - 1,0,0,0,623,624,5,23,0,0,624,627,5,261,0,0,625,626,5,120,0,0,626, - 628,5,95,0,0,627,625,1,0,0,0,627,628,1,0,0,0,628,629,1,0,0,0,629, - 630,3,274,137,0,630,631,5,23,0,0,631,632,5,45,0,0,632,633,3,294, - 147,0,633,634,5,84,0,0,634,635,5,183,0,0,635,636,5,184,0,0,636,1251, - 1,0,0,0,637,638,5,23,0,0,638,639,5,261,0,0,639,640,3,274,137,0,640, - 641,5,252,0,0,641,642,5,31,0,0,642,643,3,308,154,0,643,1251,1,0, - 0,0,644,645,5,23,0,0,645,646,5,261,0,0,646,647,3,274,137,0,647,648, - 5,252,0,0,648,649,5,217,0,0,649,650,3,34,17,0,650,1251,1,0,0,0,651, - 652,5,23,0,0,652,653,5,261,0,0,653,654,3,274,137,0,654,655,5,94, - 0,0,655,668,3,290,145,0,656,665,5,1,0,0,657,662,3,236,118,0,658, - 659,5,3,0,0,659,661,3,236,118,0,660,658,1,0,0,0,661,664,1,0,0,0, - 662,660,1,0,0,0,662,663,1,0,0,0,663,666,1,0,0,0,664,662,1,0,0,0, - 665,657,1,0,0,0,665,666,1,0,0,0,666,667,1,0,0,0,667,669,5,2,0,0, - 668,656,1,0,0,0,668,669,1,0,0,0,669,671,1,0,0,0,670,672,3,54,27, - 0,671,670,1,0,0,0,671,672,1,0,0,0,672,1251,1,0,0,0,673,674,5,24, - 0,0,674,677,3,274,137,0,675,676,5,305,0,0,676,678,3,32,16,0,677, - 675,1,0,0,0,677,678,1,0,0,0,678,1251,1,0,0,0,679,682,5,54,0,0,680, - 681,5,195,0,0,681,683,5,227,0,0,682,680,1,0,0,0,682,683,1,0,0,0, - 683,684,1,0,0,0,684,685,5,168,0,0,685,689,5,300,0,0,686,687,5,120, - 0,0,687,688,5,183,0,0,688,690,5,95,0,0,689,686,1,0,0,0,689,690,1, - 0,0,0,690,691,1,0,0,0,691,695,3,280,140,0,692,693,5,110,0,0,693, - 694,5,209,0,0,694,696,3,196,98,0,695,692,1,0,0,0,695,696,1,0,0,0, - 696,699,1,0,0,0,697,698,5,47,0,0,698,700,3,186,93,0,699,697,1,0, - 0,0,699,700,1,0,0,0,700,703,1,0,0,0,701,702,5,305,0,0,702,704,3, - 32,16,0,703,701,1,0,0,0,703,704,1,0,0,0,704,705,1,0,0,0,705,706, - 5,28,0,0,706,707,3,18,9,0,707,1251,1,0,0,0,708,711,5,54,0,0,709, - 710,5,195,0,0,710,712,5,227,0,0,711,709,1,0,0,0,711,712,1,0,0,0, - 712,713,1,0,0,0,713,714,5,300,0,0,714,717,3,280,140,0,715,716,5, - 47,0,0,716,718,3,186,93,0,717,715,1,0,0,0,717,718,1,0,0,0,718,721, - 1,0,0,0,719,720,5,247,0,0,720,722,7,1,0,0,721,719,1,0,0,0,721,722, - 1,0,0,0,722,725,1,0,0,0,723,724,5,305,0,0,724,726,3,32,16,0,725, - 723,1,0,0,0,725,726,1,0,0,0,726,727,1,0,0,0,727,728,5,28,0,0,728, - 729,3,18,9,0,729,1251,1,0,0,0,730,731,5,223,0,0,731,732,5,168,0, - 0,732,733,5,300,0,0,733,1251,3,278,139,0,734,735,5,84,0,0,735,736, - 5,168,0,0,736,739,5,300,0,0,737,738,5,120,0,0,738,740,5,95,0,0,739, - 737,1,0,0,0,739,740,1,0,0,0,740,741,1,0,0,0,741,1251,3,278,139,0, - 742,743,5,23,0,0,743,744,5,168,0,0,744,747,5,300,0,0,745,746,5,120, - 0,0,746,748,5,95,0,0,747,745,1,0,0,0,747,748,1,0,0,0,748,749,1,0, - 0,0,749,750,3,278,139,0,750,751,5,224,0,0,751,752,5,270,0,0,752, - 753,3,280,140,0,753,1251,1,0,0,0,754,755,5,23,0,0,755,756,5,168, - 0,0,756,757,5,300,0,0,757,758,3,278,139,0,758,759,5,252,0,0,759, - 760,5,217,0,0,760,761,3,34,17,0,761,1251,1,0,0,0,762,763,5,84,0, - 0,763,766,5,300,0,0,764,765,5,120,0,0,765,767,5,95,0,0,766,764,1, - 0,0,0,766,767,1,0,0,0,767,768,1,0,0,0,768,1251,3,278,139,0,769,770, - 5,23,0,0,770,771,5,300,0,0,771,772,3,278,139,0,772,773,5,224,0,0, - 773,774,5,270,0,0,774,775,3,280,140,0,775,1251,1,0,0,0,776,777,5, - 23,0,0,777,778,5,300,0,0,778,779,3,278,139,0,779,780,5,252,0,0,780, - 781,5,31,0,0,781,782,3,308,154,0,782,1251,1,0,0,0,783,784,5,37,0, - 0,784,785,3,290,145,0,785,794,5,1,0,0,786,791,3,236,118,0,787,788, - 5,3,0,0,788,790,3,236,118,0,789,787,1,0,0,0,790,793,1,0,0,0,791, - 789,1,0,0,0,791,792,1,0,0,0,792,795,1,0,0,0,793,791,1,0,0,0,794, - 786,1,0,0,0,794,795,1,0,0,0,795,796,1,0,0,0,796,797,5,2,0,0,797, - 1251,1,0,0,0,798,801,5,54,0,0,799,800,5,195,0,0,800,802,5,227,0, - 0,801,799,1,0,0,0,801,802,1,0,0,0,802,803,1,0,0,0,803,1251,3,242, - 121,0,804,805,5,84,0,0,805,808,5,108,0,0,806,807,5,120,0,0,807,809, - 5,95,0,0,808,806,1,0,0,0,808,809,1,0,0,0,809,810,1,0,0,0,810,1251, - 3,246,123,0,811,812,5,54,0,0,812,813,5,236,0,0,813,817,3,314,157, - 0,814,815,5,305,0,0,815,816,5,20,0,0,816,818,3,306,153,0,817,814, - 1,0,0,0,817,818,1,0,0,0,818,821,1,0,0,0,819,820,5,123,0,0,820,822, - 3,286,143,0,821,819,1,0,0,0,821,822,1,0,0,0,822,1251,1,0,0,0,823, - 824,5,84,0,0,824,825,5,236,0,0,825,828,3,314,157,0,826,827,5,123, - 0,0,827,829,3,286,143,0,828,826,1,0,0,0,828,829,1,0,0,0,829,1251, - 1,0,0,0,830,831,5,111,0,0,831,836,3,312,156,0,832,833,5,3,0,0,833, - 835,3,312,156,0,834,832,1,0,0,0,835,838,1,0,0,0,836,834,1,0,0,0, - 836,837,1,0,0,0,837,839,1,0,0,0,838,836,1,0,0,0,839,840,5,270,0, - 0,840,845,3,308,154,0,841,842,5,3,0,0,842,844,3,308,154,0,843,841, - 1,0,0,0,844,847,1,0,0,0,845,843,1,0,0,0,845,846,1,0,0,0,846,851, - 1,0,0,0,847,845,1,0,0,0,848,849,5,305,0,0,849,850,5,20,0,0,850,852, - 5,194,0,0,851,848,1,0,0,0,851,852,1,0,0,0,852,856,1,0,0,0,853,854, - 5,112,0,0,854,855,5,36,0,0,855,857,3,306,153,0,856,853,1,0,0,0,856, - 857,1,0,0,0,857,860,1,0,0,0,858,859,5,123,0,0,859,861,3,286,143, - 0,860,858,1,0,0,0,860,861,1,0,0,0,861,1251,1,0,0,0,862,873,5,111, - 0,0,863,868,3,312,156,0,864,865,5,3,0,0,865,867,3,312,156,0,866, - 864,1,0,0,0,867,870,1,0,0,0,868,866,1,0,0,0,868,869,1,0,0,0,869, - 874,1,0,0,0,870,868,1,0,0,0,871,872,5,22,0,0,872,874,5,216,0,0,873, - 863,1,0,0,0,873,871,1,0,0,0,874,875,1,0,0,0,875,876,5,191,0,0,876, - 877,3,270,135,0,877,878,5,270,0,0,878,882,3,308,154,0,879,880,5, - 305,0,0,880,881,5,111,0,0,881,883,5,194,0,0,882,879,1,0,0,0,882, - 883,1,0,0,0,883,1251,1,0,0,0,884,888,5,234,0,0,885,886,5,20,0,0, - 886,887,5,194,0,0,887,889,5,104,0,0,888,885,1,0,0,0,888,889,1,0, - 0,0,889,890,1,0,0,0,890,895,3,312,156,0,891,892,5,3,0,0,892,894, - 3,312,156,0,893,891,1,0,0,0,894,897,1,0,0,0,895,893,1,0,0,0,895, - 896,1,0,0,0,896,898,1,0,0,0,897,895,1,0,0,0,898,899,5,106,0,0,899, - 904,3,308,154,0,900,901,5,3,0,0,901,903,3,308,154,0,902,900,1,0, - 0,0,903,906,1,0,0,0,904,902,1,0,0,0,904,905,1,0,0,0,905,910,1,0, - 0,0,906,904,1,0,0,0,907,908,5,112,0,0,908,909,5,36,0,0,909,911,3, - 306,153,0,910,907,1,0,0,0,910,911,1,0,0,0,911,914,1,0,0,0,912,913, - 5,123,0,0,913,915,3,286,143,0,914,912,1,0,0,0,914,915,1,0,0,0,915, - 1251,1,0,0,0,916,920,5,234,0,0,917,918,5,111,0,0,918,919,5,194,0, - 0,919,921,5,104,0,0,920,917,1,0,0,0,920,921,1,0,0,0,921,932,1,0, - 0,0,922,927,3,312,156,0,923,924,5,3,0,0,924,926,3,312,156,0,925, - 923,1,0,0,0,926,929,1,0,0,0,927,925,1,0,0,0,927,928,1,0,0,0,928, - 933,1,0,0,0,929,927,1,0,0,0,930,931,5,22,0,0,931,933,5,216,0,0,932, - 922,1,0,0,0,932,930,1,0,0,0,933,934,1,0,0,0,934,935,5,191,0,0,935, - 936,3,270,135,0,936,937,5,106,0,0,937,938,3,308,154,0,938,1251,1, - 0,0,0,939,950,5,75,0,0,940,945,3,266,133,0,941,942,5,3,0,0,942,944, - 3,266,133,0,943,941,1,0,0,0,944,947,1,0,0,0,945,943,1,0,0,0,945, - 946,1,0,0,0,946,951,1,0,0,0,947,945,1,0,0,0,948,949,5,22,0,0,949, - 951,5,216,0,0,950,940,1,0,0,0,950,948,1,0,0,0,951,952,1,0,0,0,952, - 953,5,191,0,0,953,954,3,270,135,0,954,955,5,270,0,0,955,956,3,308, - 154,0,956,1251,1,0,0,0,957,958,5,252,0,0,958,962,5,236,0,0,959,963, - 5,22,0,0,960,963,5,181,0,0,961,963,3,314,157,0,962,959,1,0,0,0,962, - 960,1,0,0,0,962,961,1,0,0,0,963,966,1,0,0,0,964,965,5,123,0,0,965, - 967,3,286,143,0,966,964,1,0,0,0,966,967,1,0,0,0,967,1251,1,0,0,0, - 968,969,5,254,0,0,969,972,5,113,0,0,970,971,5,191,0,0,971,973,3, - 270,135,0,972,970,1,0,0,0,972,973,1,0,0,0,973,1251,1,0,0,0,974,986, - 5,96,0,0,975,976,5,1,0,0,976,981,3,230,115,0,977,978,5,3,0,0,978, - 980,3,230,115,0,979,977,1,0,0,0,980,983,1,0,0,0,981,979,1,0,0,0, - 981,982,1,0,0,0,982,984,1,0,0,0,983,981,1,0,0,0,984,985,5,2,0,0, - 985,987,1,0,0,0,986,975,1,0,0,0,986,987,1,0,0,0,987,988,1,0,0,0, - 988,1251,3,16,8,0,989,990,5,96,0,0,990,992,5,24,0,0,991,993,5,298, - 0,0,992,991,1,0,0,0,992,993,1,0,0,0,993,994,1,0,0,0,994,1251,3,16, - 8,0,995,996,5,254,0,0,996,997,5,54,0,0,997,998,5,261,0,0,998,1251, - 3,274,137,0,999,1000,5,254,0,0,1000,1001,5,54,0,0,1001,1002,5,244, - 0,0,1002,1251,3,282,141,0,1003,1004,5,254,0,0,1004,1005,5,54,0,0, - 1005,1006,5,300,0,0,1006,1251,3,278,139,0,1007,1008,5,254,0,0,1008, - 1009,5,54,0,0,1009,1010,5,168,0,0,1010,1011,5,300,0,0,1011,1251, - 3,278,139,0,1012,1013,5,254,0,0,1013,1014,5,54,0,0,1014,1015,5,108, - 0,0,1015,1251,3,290,145,0,1016,1017,5,254,0,0,1017,1020,5,262,0, - 0,1018,1019,7,2,0,0,1019,1021,3,282,141,0,1020,1018,1,0,0,0,1020, - 1021,1,0,0,0,1021,1028,1,0,0,0,1022,1023,5,155,0,0,1023,1026,3,186, - 93,0,1024,1025,5,91,0,0,1025,1027,3,186,93,0,1026,1024,1,0,0,0,1026, - 1027,1,0,0,0,1027,1029,1,0,0,0,1028,1022,1,0,0,0,1028,1029,1,0,0, - 0,1029,1251,1,0,0,0,1030,1031,5,254,0,0,1031,1034,5,245,0,0,1032, - 1033,7,2,0,0,1033,1035,3,286,143,0,1034,1032,1,0,0,0,1034,1035,1, - 0,0,0,1035,1042,1,0,0,0,1036,1037,5,155,0,0,1037,1040,3,186,93,0, - 1038,1039,5,91,0,0,1039,1041,3,186,93,0,1040,1038,1,0,0,0,1040,1041, - 1,0,0,0,1041,1043,1,0,0,0,1042,1036,1,0,0,0,1042,1043,1,0,0,0,1043, - 1251,1,0,0,0,1044,1045,5,254,0,0,1045,1052,5,43,0,0,1046,1047,5, - 155,0,0,1047,1050,3,186,93,0,1048,1049,5,91,0,0,1049,1051,3,186, - 93,0,1050,1048,1,0,0,0,1050,1051,1,0,0,0,1051,1053,1,0,0,0,1052, - 1046,1,0,0,0,1052,1053,1,0,0,0,1053,1251,1,0,0,0,1054,1055,5,254, - 0,0,1055,1056,5,46,0,0,1056,1057,7,2,0,0,1057,1064,3,272,136,0,1058, - 1059,5,155,0,0,1059,1062,3,186,93,0,1060,1061,5,91,0,0,1061,1063, - 3,186,93,0,1062,1060,1,0,0,0,1062,1063,1,0,0,0,1063,1065,1,0,0,0, - 1064,1058,1,0,0,0,1064,1065,1,0,0,0,1065,1251,1,0,0,0,1066,1067, - 5,254,0,0,1067,1068,5,257,0,0,1068,1069,5,104,0,0,1069,1251,3,272, - 136,0,1070,1071,5,254,0,0,1071,1072,5,257,0,0,1072,1073,5,104,0, - 0,1073,1074,5,1,0,0,1074,1075,3,18,9,0,1075,1076,5,2,0,0,1076,1251, - 1,0,0,0,1077,1079,5,254,0,0,1078,1080,5,57,0,0,1079,1078,1,0,0,0, - 1079,1080,1,0,0,0,1080,1081,1,0,0,0,1081,1084,5,237,0,0,1082,1083, - 7,2,0,0,1083,1085,3,286,143,0,1084,1082,1,0,0,0,1084,1085,1,0,0, - 0,1085,1251,1,0,0,0,1086,1087,5,254,0,0,1087,1088,5,236,0,0,1088, - 1091,5,113,0,0,1089,1090,7,2,0,0,1090,1092,3,286,143,0,1091,1089, - 1,0,0,0,1091,1092,1,0,0,0,1092,1251,1,0,0,0,1093,1094,5,77,0,0,1094, - 1251,3,272,136,0,1095,1096,5,76,0,0,1096,1251,3,272,136,0,1097,1098, - 5,254,0,0,1098,1101,5,109,0,0,1099,1100,7,2,0,0,1100,1102,3,282, - 141,0,1101,1099,1,0,0,0,1101,1102,1,0,0,0,1102,1109,1,0,0,0,1103, - 1104,5,155,0,0,1104,1107,3,186,93,0,1105,1106,5,91,0,0,1106,1108, - 3,186,93,0,1107,1105,1,0,0,0,1107,1108,1,0,0,0,1108,1110,1,0,0,0, - 1109,1103,1,0,0,0,1109,1110,1,0,0,0,1110,1251,1,0,0,0,1111,1112, - 5,254,0,0,1112,1119,5,251,0,0,1113,1114,5,155,0,0,1114,1117,3,186, - 93,0,1115,1116,5,91,0,0,1116,1118,3,186,93,0,1117,1115,1,0,0,0,1117, - 1118,1,0,0,0,1118,1120,1,0,0,0,1119,1113,1,0,0,0,1119,1120,1,0,0, - 0,1120,1251,1,0,0,0,1121,1122,5,252,0,0,1122,1123,5,251,0,0,1123, - 1124,5,31,0,0,1124,1251,3,318,159,0,1125,1126,5,228,0,0,1126,1127, - 5,251,0,0,1127,1251,5,31,0,0,1128,1129,5,252,0,0,1129,1130,5,251, - 0,0,1130,1131,3,300,150,0,1131,1132,5,313,0,0,1132,1133,3,154,77, - 0,1133,1251,1,0,0,0,1134,1135,5,228,0,0,1135,1136,5,251,0,0,1136, - 1251,3,300,150,0,1137,1138,5,256,0,0,1138,1147,5,272,0,0,1139,1144, - 3,232,116,0,1140,1141,5,3,0,0,1141,1143,3,232,116,0,1142,1140,1, - 0,0,0,1143,1146,1,0,0,0,1144,1142,1,0,0,0,1144,1145,1,0,0,0,1145, - 1148,1,0,0,0,1146,1144,1,0,0,0,1147,1139,1,0,0,0,1147,1148,1,0,0, - 0,1148,1251,1,0,0,0,1149,1151,5,48,0,0,1150,1152,5,308,0,0,1151, - 1150,1,0,0,0,1151,1152,1,0,0,0,1152,1251,1,0,0,0,1153,1155,5,238, - 0,0,1154,1156,5,308,0,0,1155,1154,1,0,0,0,1155,1156,1,0,0,0,1156, - 1251,1,0,0,0,1157,1158,5,215,0,0,1158,1159,3,314,157,0,1159,1160, - 5,106,0,0,1160,1161,3,16,8,0,1161,1251,1,0,0,0,1162,1163,5,69,0, - 0,1163,1164,5,215,0,0,1164,1251,3,314,157,0,1165,1166,5,94,0,0,1166, - 1176,3,314,157,0,1167,1168,5,291,0,0,1168,1173,3,154,77,0,1169,1170, - 5,3,0,0,1170,1172,3,154,77,0,1171,1169,1,0,0,0,1172,1175,1,0,0,0, - 1173,1171,1,0,0,0,1173,1174,1,0,0,0,1174,1177,1,0,0,0,1175,1173, - 1,0,0,0,1176,1167,1,0,0,0,1176,1177,1,0,0,0,1177,1251,1,0,0,0,1178, - 1179,5,94,0,0,1179,1180,5,122,0,0,1180,1190,3,186,93,0,1181,1182, - 5,291,0,0,1182,1187,3,154,77,0,1183,1184,5,3,0,0,1184,1186,3,154, - 77,0,1185,1183,1,0,0,0,1186,1189,1,0,0,0,1187,1185,1,0,0,0,1187, - 1188,1,0,0,0,1188,1191,1,0,0,0,1189,1187,1,0,0,0,1190,1181,1,0,0, - 0,1190,1191,1,0,0,0,1191,1251,1,0,0,0,1192,1193,5,77,0,0,1193,1194, - 5,127,0,0,1194,1251,3,314,157,0,1195,1196,5,77,0,0,1196,1197,5,199, - 0,0,1197,1251,3,314,157,0,1198,1199,5,252,0,0,1199,1200,5,206,0, - 0,1200,1251,3,240,120,0,1201,1202,5,252,0,0,1202,1203,5,268,0,0, - 1203,1206,5,312,0,0,1204,1207,5,158,0,0,1205,1207,3,154,77,0,1206, - 1204,1,0,0,0,1206,1205,1,0,0,0,1207,1251,1,0,0,0,1208,1209,5,288, - 0,0,1209,1210,3,274,137,0,1210,1211,5,252,0,0,1211,1216,3,228,114, - 0,1212,1213,5,3,0,0,1213,1215,3,228,114,0,1214,1212,1,0,0,0,1215, - 1218,1,0,0,0,1216,1214,1,0,0,0,1216,1217,1,0,0,0,1217,1220,1,0,0, - 0,1218,1216,1,0,0,0,1219,1221,3,54,27,0,1220,1219,1,0,0,0,1220,1221, - 1,0,0,0,1221,1251,1,0,0,0,1222,1223,5,170,0,0,1223,1224,5,131,0, - 0,1224,1229,3,274,137,0,1225,1227,5,28,0,0,1226,1225,1,0,0,0,1226, - 1227,1,0,0,0,1227,1228,1,0,0,0,1228,1230,3,314,157,0,1229,1226,1, - 0,0,0,1229,1230,1,0,0,0,1230,1231,1,0,0,0,1231,1232,5,291,0,0,1232, - 1233,3,88,44,0,1233,1234,5,191,0,0,1234,1236,3,154,77,0,1235,1237, - 3,212,106,0,1236,1235,1,0,0,0,1237,1238,1,0,0,0,1238,1236,1,0,0, - 0,1238,1239,1,0,0,0,1239,1251,1,0,0,0,1240,1241,5,254,0,0,1241,1242, - 5,47,0,0,1242,1243,5,191,0,0,1243,1244,5,261,0,0,1244,1251,3,274, - 137,0,1245,1246,5,254,0,0,1246,1247,5,47,0,0,1247,1248,5,191,0,0, - 1248,1249,5,45,0,0,1249,1251,3,294,147,0,1250,355,1,0,0,0,1250,356, - 1,0,0,0,1250,358,1,0,0,0,1250,380,1,0,0,0,1250,390,1,0,0,0,1250, - 406,1,0,0,0,1250,416,1,0,0,0,1250,423,1,0,0,0,1250,430,1,0,0,0,1250, - 468,1,0,0,0,1250,498,1,0,0,0,1250,505,1,0,0,0,1250,513,1,0,0,0,1250, - 519,1,0,0,0,1250,522,1,0,0,0,1250,531,1,0,0,0,1250,540,1,0,0,0,1250, - 549,1,0,0,0,1250,560,1,0,0,0,1250,576,1,0,0,0,1250,593,1,0,0,0,1250, - 608,1,0,0,0,1250,623,1,0,0,0,1250,637,1,0,0,0,1250,644,1,0,0,0,1250, - 651,1,0,0,0,1250,673,1,0,0,0,1250,679,1,0,0,0,1250,708,1,0,0,0,1250, - 730,1,0,0,0,1250,734,1,0,0,0,1250,742,1,0,0,0,1250,754,1,0,0,0,1250, - 762,1,0,0,0,1250,769,1,0,0,0,1250,776,1,0,0,0,1250,783,1,0,0,0,1250, - 798,1,0,0,0,1250,804,1,0,0,0,1250,811,1,0,0,0,1250,823,1,0,0,0,1250, - 830,1,0,0,0,1250,862,1,0,0,0,1250,884,1,0,0,0,1250,916,1,0,0,0,1250, - 939,1,0,0,0,1250,957,1,0,0,0,1250,968,1,0,0,0,1250,974,1,0,0,0,1250, - 989,1,0,0,0,1250,995,1,0,0,0,1250,999,1,0,0,0,1250,1003,1,0,0,0, - 1250,1007,1,0,0,0,1250,1012,1,0,0,0,1250,1016,1,0,0,0,1250,1030, - 1,0,0,0,1250,1044,1,0,0,0,1250,1054,1,0,0,0,1250,1066,1,0,0,0,1250, - 1070,1,0,0,0,1250,1077,1,0,0,0,1250,1086,1,0,0,0,1250,1093,1,0,0, - 0,1250,1095,1,0,0,0,1250,1097,1,0,0,0,1250,1111,1,0,0,0,1250,1121, - 1,0,0,0,1250,1125,1,0,0,0,1250,1128,1,0,0,0,1250,1134,1,0,0,0,1250, - 1137,1,0,0,0,1250,1149,1,0,0,0,1250,1153,1,0,0,0,1250,1157,1,0,0, - 0,1250,1162,1,0,0,0,1250,1165,1,0,0,0,1250,1178,1,0,0,0,1250,1192, - 1,0,0,0,1250,1195,1,0,0,0,1250,1198,1,0,0,0,1250,1201,1,0,0,0,1250, - 1208,1,0,0,0,1250,1222,1,0,0,0,1250,1240,1,0,0,0,1250,1245,1,0,0, - 0,1251,17,1,0,0,0,1252,1254,3,20,10,0,1253,1252,1,0,0,0,1253,1254, - 1,0,0,0,1254,1255,1,0,0,0,1255,1256,3,22,11,0,1256,19,1,0,0,0,1257, - 1258,5,305,0,0,1258,1263,3,242,121,0,1259,1260,5,3,0,0,1260,1262, - 3,242,121,0,1261,1259,1,0,0,0,1262,1265,1,0,0,0,1263,1261,1,0,0, - 0,1263,1264,1,0,0,0,1264,21,1,0,0,0,1265,1263,1,0,0,0,1266,1268, - 3,24,12,0,1267,1266,1,0,0,0,1267,1268,1,0,0,0,1268,1269,1,0,0,0, - 1269,1270,3,40,20,0,1270,23,1,0,0,0,1271,1273,5,305,0,0,1272,1274, - 5,222,0,0,1273,1272,1,0,0,0,1273,1274,1,0,0,0,1274,1275,1,0,0,0, - 1275,1280,3,74,37,0,1276,1277,5,3,0,0,1277,1279,3,74,37,0,1278,1276, - 1,0,0,0,1279,1282,1,0,0,0,1280,1278,1,0,0,0,1280,1281,1,0,0,0,1281, - 25,1,0,0,0,1282,1280,1,0,0,0,1283,1286,3,28,14,0,1284,1286,3,30, - 15,0,1285,1283,1,0,0,0,1285,1284,1,0,0,0,1286,27,1,0,0,0,1287,1288, - 3,298,149,0,1288,1291,3,202,101,0,1289,1290,5,183,0,0,1290,1292, - 5,184,0,0,1291,1289,1,0,0,0,1291,1292,1,0,0,0,1292,1295,1,0,0,0, - 1293,1294,5,47,0,0,1294,1296,3,186,93,0,1295,1293,1,0,0,0,1295,1296, - 1,0,0,0,1296,1299,1,0,0,0,1297,1298,5,305,0,0,1298,1300,3,32,16, - 0,1299,1297,1,0,0,0,1299,1300,1,0,0,0,1300,29,1,0,0,0,1301,1302, - 5,155,0,0,1302,1305,3,274,137,0,1303,1304,7,3,0,0,1304,1306,5,217, - 0,0,1305,1303,1,0,0,0,1305,1306,1,0,0,0,1306,31,1,0,0,0,1307,1308, - 5,1,0,0,1308,1309,3,34,17,0,1309,1310,5,2,0,0,1310,33,1,0,0,0,1311, - 1316,3,36,18,0,1312,1313,5,3,0,0,1313,1315,3,36,18,0,1314,1312,1, - 0,0,0,1315,1318,1,0,0,0,1316,1314,1,0,0,0,1316,1317,1,0,0,0,1317, - 35,1,0,0,0,1318,1316,1,0,0,0,1319,1320,3,314,157,0,1320,1321,5,313, - 0,0,1321,1322,3,38,19,0,1322,37,1,0,0,0,1323,1326,5,71,0,0,1324, - 1326,3,154,77,0,1325,1323,1,0,0,0,1325,1324,1,0,0,0,1326,39,1,0, - 0,0,1327,1338,3,46,23,0,1328,1329,5,196,0,0,1329,1330,5,36,0,0,1330, - 1335,3,50,25,0,1331,1332,5,3,0,0,1332,1334,3,50,25,0,1333,1331,1, - 0,0,0,1334,1337,1,0,0,0,1335,1333,1,0,0,0,1335,1336,1,0,0,0,1336, - 1339,1,0,0,0,1337,1335,1,0,0,0,1338,1328,1,0,0,0,1338,1339,1,0,0, - 0,1339,1345,1,0,0,0,1340,1341,5,189,0,0,1341,1343,3,44,22,0,1342, - 1344,7,4,0,0,1343,1342,1,0,0,0,1343,1344,1,0,0,0,1344,1346,1,0,0, - 0,1345,1340,1,0,0,0,1345,1346,1,0,0,0,1346,1360,1,0,0,0,1347,1348, - 5,156,0,0,1348,1361,3,42,21,0,1349,1350,5,99,0,0,1350,1352,7,5,0, - 0,1351,1353,3,44,22,0,1352,1351,1,0,0,0,1352,1353,1,0,0,0,1353,1354, - 1,0,0,0,1354,1358,7,4,0,0,1355,1359,5,193,0,0,1356,1357,5,305,0, - 0,1357,1359,5,267,0,0,1358,1355,1,0,0,0,1358,1356,1,0,0,0,1359,1361, - 1,0,0,0,1360,1347,1,0,0,0,1360,1349,1,0,0,0,1360,1361,1,0,0,0,1361, - 41,1,0,0,0,1362,1365,5,22,0,0,1363,1365,3,44,22,0,1364,1362,1,0, - 0,0,1364,1363,1,0,0,0,1365,43,1,0,0,0,1366,1367,7,6,0,0,1367,45, - 1,0,0,0,1368,1369,6,23,-1,0,1369,1370,3,48,24,0,1370,1385,1,0,0, - 0,1371,1372,10,2,0,0,1372,1374,5,129,0,0,1373,1375,3,76,38,0,1374, - 1373,1,0,0,0,1374,1375,1,0,0,0,1375,1376,1,0,0,0,1376,1384,3,46, - 23,3,1377,1378,10,1,0,0,1378,1380,7,7,0,0,1379,1381,3,76,38,0,1380, - 1379,1,0,0,0,1380,1381,1,0,0,0,1381,1382,1,0,0,0,1382,1384,3,46, - 23,2,1383,1371,1,0,0,0,1383,1377,1,0,0,0,1384,1387,1,0,0,0,1385, - 1383,1,0,0,0,1385,1386,1,0,0,0,1386,47,1,0,0,0,1387,1385,1,0,0,0, - 1388,1405,3,52,26,0,1389,1390,5,261,0,0,1390,1405,3,274,137,0,1391, - 1392,5,297,0,0,1392,1397,3,154,77,0,1393,1394,5,3,0,0,1394,1396, - 3,154,77,0,1395,1393,1,0,0,0,1396,1399,1,0,0,0,1397,1395,1,0,0,0, - 1397,1398,1,0,0,0,1398,1405,1,0,0,0,1399,1397,1,0,0,0,1400,1401, - 5,1,0,0,1401,1402,3,40,20,0,1402,1403,5,2,0,0,1403,1405,1,0,0,0, - 1404,1388,1,0,0,0,1404,1389,1,0,0,0,1404,1391,1,0,0,0,1404,1400, - 1,0,0,0,1405,49,1,0,0,0,1406,1409,3,294,147,0,1407,1409,3,154,77, - 0,1408,1406,1,0,0,0,1408,1407,1,0,0,0,1409,1411,1,0,0,0,1410,1412, - 7,8,0,0,1411,1410,1,0,0,0,1411,1412,1,0,0,0,1412,1415,1,0,0,0,1413, - 1414,5,186,0,0,1414,1416,7,9,0,0,1415,1413,1,0,0,0,1415,1416,1,0, - 0,0,1416,51,1,0,0,0,1417,1419,5,249,0,0,1418,1420,3,76,38,0,1419, - 1418,1,0,0,0,1419,1420,1,0,0,0,1420,1421,1,0,0,0,1421,1431,3,58, - 29,0,1422,1423,5,106,0,0,1423,1428,3,88,44,0,1424,1425,5,3,0,0,1425, - 1427,3,88,44,0,1426,1424,1,0,0,0,1427,1430,1,0,0,0,1428,1426,1,0, - 0,0,1428,1429,1,0,0,0,1429,1432,1,0,0,0,1430,1428,1,0,0,0,1431,1422, - 1,0,0,0,1431,1432,1,0,0,0,1432,1434,1,0,0,0,1433,1435,3,54,27,0, - 1434,1433,1,0,0,0,1434,1435,1,0,0,0,1435,1439,1,0,0,0,1436,1437, - 5,115,0,0,1437,1438,5,36,0,0,1438,1440,3,60,30,0,1439,1436,1,0,0, - 0,1439,1440,1,0,0,0,1440,1442,1,0,0,0,1441,1443,3,56,28,0,1442,1441, - 1,0,0,0,1442,1443,1,0,0,0,1443,1453,1,0,0,0,1444,1445,5,304,0,0, - 1445,1450,3,70,35,0,1446,1447,5,3,0,0,1447,1449,3,70,35,0,1448,1446, - 1,0,0,0,1449,1452,1,0,0,0,1450,1448,1,0,0,0,1450,1451,1,0,0,0,1451, - 1454,1,0,0,0,1452,1450,1,0,0,0,1453,1444,1,0,0,0,1453,1454,1,0,0, - 0,1454,53,1,0,0,0,1455,1456,5,302,0,0,1456,1457,3,156,78,0,1457, - 55,1,0,0,0,1458,1459,5,118,0,0,1459,1460,3,156,78,0,1460,57,1,0, - 0,0,1461,1466,3,78,39,0,1462,1463,5,3,0,0,1463,1465,3,78,39,0,1464, - 1462,1,0,0,0,1465,1468,1,0,0,0,1466,1464,1,0,0,0,1466,1467,1,0,0, - 0,1467,59,1,0,0,0,1468,1466,1,0,0,0,1469,1471,3,76,38,0,1470,1469, - 1,0,0,0,1470,1471,1,0,0,0,1471,1472,1,0,0,0,1472,1477,3,64,32,0, - 1473,1474,5,3,0,0,1474,1476,3,64,32,0,1475,1473,1,0,0,0,1476,1479, - 1,0,0,0,1477,1475,1,0,0,0,1477,1478,1,0,0,0,1478,61,1,0,0,0,1479, - 1477,1,0,0,0,1480,1485,3,154,77,0,1481,1482,5,3,0,0,1482,1484,3, - 154,77,0,1483,1481,1,0,0,0,1484,1487,1,0,0,0,1485,1483,1,0,0,0,1485, - 1486,1,0,0,0,1486,63,1,0,0,0,1487,1485,1,0,0,0,1488,1529,3,66,33, - 0,1489,1490,5,239,0,0,1490,1499,5,1,0,0,1491,1496,3,66,33,0,1492, - 1493,5,3,0,0,1493,1495,3,66,33,0,1494,1492,1,0,0,0,1495,1498,1,0, - 0,0,1496,1494,1,0,0,0,1496,1497,1,0,0,0,1497,1500,1,0,0,0,1498,1496, - 1,0,0,0,1499,1491,1,0,0,0,1499,1500,1,0,0,0,1500,1501,1,0,0,0,1501, - 1529,5,2,0,0,1502,1503,5,56,0,0,1503,1512,5,1,0,0,1504,1509,3,66, - 33,0,1505,1506,5,3,0,0,1506,1508,3,66,33,0,1507,1505,1,0,0,0,1508, - 1511,1,0,0,0,1509,1507,1,0,0,0,1509,1510,1,0,0,0,1510,1513,1,0,0, - 0,1511,1509,1,0,0,0,1512,1504,1,0,0,0,1512,1513,1,0,0,0,1513,1514, - 1,0,0,0,1514,1529,5,2,0,0,1515,1516,5,116,0,0,1516,1517,5,253,0, - 0,1517,1518,5,1,0,0,1518,1523,3,66,33,0,1519,1520,5,3,0,0,1520,1522, - 3,66,33,0,1521,1519,1,0,0,0,1522,1525,1,0,0,0,1523,1521,1,0,0,0, - 1523,1524,1,0,0,0,1524,1526,1,0,0,0,1525,1523,1,0,0,0,1526,1527, - 5,2,0,0,1527,1529,1,0,0,0,1528,1488,1,0,0,0,1528,1489,1,0,0,0,1528, - 1502,1,0,0,0,1528,1515,1,0,0,0,1529,65,1,0,0,0,1530,1539,5,1,0,0, - 1531,1536,3,68,34,0,1532,1533,5,3,0,0,1533,1535,3,68,34,0,1534,1532, - 1,0,0,0,1535,1538,1,0,0,0,1536,1534,1,0,0,0,1536,1537,1,0,0,0,1537, - 1540,1,0,0,0,1538,1536,1,0,0,0,1539,1531,1,0,0,0,1539,1540,1,0,0, - 0,1540,1541,1,0,0,0,1541,1544,5,2,0,0,1542,1544,3,68,34,0,1543,1530, - 1,0,0,0,1543,1542,1,0,0,0,1544,67,1,0,0,0,1545,1548,3,294,147,0, - 1546,1548,3,154,77,0,1547,1545,1,0,0,0,1547,1546,1,0,0,0,1548,69, - 1,0,0,0,1549,1550,3,314,157,0,1550,1551,5,28,0,0,1551,1552,5,1,0, - 0,1552,1553,3,72,36,0,1553,1554,5,2,0,0,1554,71,1,0,0,0,1555,1557, - 3,314,157,0,1556,1555,1,0,0,0,1556,1557,1,0,0,0,1557,1561,1,0,0, - 0,1558,1559,5,202,0,0,1559,1560,5,36,0,0,1560,1562,3,62,31,0,1561, - 1558,1,0,0,0,1561,1562,1,0,0,0,1562,1573,1,0,0,0,1563,1564,5,196, - 0,0,1564,1565,5,36,0,0,1565,1570,3,50,25,0,1566,1567,5,3,0,0,1567, - 1569,3,50,25,0,1568,1566,1,0,0,0,1569,1572,1,0,0,0,1570,1568,1,0, - 0,0,1570,1571,1,0,0,0,1571,1574,1,0,0,0,1572,1570,1,0,0,0,1573,1563, - 1,0,0,0,1573,1574,1,0,0,0,1574,1576,1,0,0,0,1575,1577,3,216,108, - 0,1576,1575,1,0,0,0,1576,1577,1,0,0,0,1577,73,1,0,0,0,1578,1580, - 3,314,157,0,1579,1581,3,124,62,0,1580,1579,1,0,0,0,1580,1581,1,0, - 0,0,1581,1582,1,0,0,0,1582,1583,5,28,0,0,1583,1584,5,1,0,0,1584, - 1585,3,22,11,0,1585,1586,5,2,0,0,1586,75,1,0,0,0,1587,1588,7,10, - 0,0,1588,77,1,0,0,0,1589,1592,3,84,42,0,1590,1592,3,86,43,0,1591, - 1589,1,0,0,0,1591,1590,1,0,0,0,1592,1597,1,0,0,0,1593,1595,5,28, - 0,0,1594,1593,1,0,0,0,1594,1595,1,0,0,0,1595,1596,1,0,0,0,1596,1598, - 3,314,157,0,1597,1594,1,0,0,0,1597,1598,1,0,0,0,1598,1606,1,0,0, - 0,1599,1602,3,82,41,0,1600,1601,5,28,0,0,1601,1603,3,124,62,0,1602, - 1600,1,0,0,0,1602,1603,1,0,0,0,1603,1606,1,0,0,0,1604,1606,3,80, - 40,0,1605,1591,1,0,0,0,1605,1599,1,0,0,0,1605,1604,1,0,0,0,1606, - 79,1,0,0,0,1607,1608,5,321,0,0,1608,81,1,0,0,0,1609,1610,3,162,81, - 0,1610,1611,5,4,0,0,1611,1612,5,321,0,0,1612,83,1,0,0,0,1613,1614, - 3,294,147,0,1614,85,1,0,0,0,1615,1616,3,154,77,0,1616,87,1,0,0,0, - 1617,1618,6,44,-1,0,1618,1619,3,94,47,0,1619,1638,1,0,0,0,1620,1634, - 10,2,0,0,1621,1622,5,55,0,0,1622,1623,5,137,0,0,1623,1635,3,94,47, - 0,1624,1625,3,90,45,0,1625,1626,5,137,0,0,1626,1627,3,88,44,0,1627, - 1628,3,92,46,0,1628,1635,1,0,0,0,1629,1630,5,173,0,0,1630,1631,3, - 90,45,0,1631,1632,5,137,0,0,1632,1633,3,94,47,0,1633,1635,1,0,0, - 0,1634,1621,1,0,0,0,1634,1624,1,0,0,0,1634,1629,1,0,0,0,1635,1637, - 1,0,0,0,1636,1620,1,0,0,0,1637,1640,1,0,0,0,1638,1636,1,0,0,0,1638, - 1639,1,0,0,0,1639,89,1,0,0,0,1640,1638,1,0,0,0,1641,1643,5,126,0, - 0,1642,1641,1,0,0,0,1642,1643,1,0,0,0,1643,1657,1,0,0,0,1644,1646, - 5,153,0,0,1645,1647,5,198,0,0,1646,1645,1,0,0,0,1646,1647,1,0,0, - 0,1647,1657,1,0,0,0,1648,1650,5,235,0,0,1649,1651,5,198,0,0,1650, - 1649,1,0,0,0,1650,1651,1,0,0,0,1651,1657,1,0,0,0,1652,1654,5,107, - 0,0,1653,1655,5,198,0,0,1654,1653,1,0,0,0,1654,1655,1,0,0,0,1655, - 1657,1,0,0,0,1656,1642,1,0,0,0,1656,1644,1,0,0,0,1656,1648,1,0,0, - 0,1656,1652,1,0,0,0,1657,91,1,0,0,0,1658,1659,5,191,0,0,1659,1673, - 3,156,78,0,1660,1661,5,291,0,0,1661,1662,5,1,0,0,1662,1667,3,314, - 157,0,1663,1664,5,3,0,0,1664,1666,3,314,157,0,1665,1663,1,0,0,0, - 1666,1669,1,0,0,0,1667,1665,1,0,0,0,1667,1668,1,0,0,0,1668,1670, - 1,0,0,0,1669,1667,1,0,0,0,1670,1671,5,2,0,0,1671,1673,1,0,0,0,1672, - 1658,1,0,0,0,1672,1660,1,0,0,0,1673,93,1,0,0,0,1674,1681,3,104,52, - 0,1675,1676,5,263,0,0,1676,1677,3,96,48,0,1677,1678,5,1,0,0,1678, - 1679,3,154,77,0,1679,1680,5,2,0,0,1680,1682,1,0,0,0,1681,1675,1, - 0,0,0,1681,1682,1,0,0,0,1682,95,1,0,0,0,1683,1684,7,11,0,0,1684, - 97,1,0,0,0,1685,1686,7,12,0,0,1686,99,1,0,0,0,1687,1694,5,90,0,0, - 1688,1690,5,275,0,0,1689,1691,3,186,93,0,1690,1689,1,0,0,0,1690, - 1691,1,0,0,0,1691,1692,1,0,0,0,1692,1694,3,102,51,0,1693,1687,1, - 0,0,0,1693,1688,1,0,0,0,1694,101,1,0,0,0,1695,1696,5,305,0,0,1696, - 1700,5,52,0,0,1697,1698,5,307,0,0,1698,1700,5,52,0,0,1699,1695,1, - 0,0,0,1699,1697,1,0,0,0,1700,103,1,0,0,0,1701,1777,3,118,59,0,1702, - 1703,5,167,0,0,1703,1707,5,1,0,0,1704,1705,5,202,0,0,1705,1706,5, - 36,0,0,1706,1708,3,62,31,0,1707,1704,1,0,0,0,1707,1708,1,0,0,0,1708, - 1719,1,0,0,0,1709,1710,5,196,0,0,1710,1711,5,36,0,0,1711,1716,3, - 50,25,0,1712,1713,5,3,0,0,1713,1715,3,50,25,0,1714,1712,1,0,0,0, - 1715,1718,1,0,0,0,1716,1714,1,0,0,0,1716,1717,1,0,0,0,1717,1720, - 1,0,0,0,1718,1716,1,0,0,0,1719,1709,1,0,0,0,1719,1720,1,0,0,0,1720, - 1730,1,0,0,0,1721,1722,5,169,0,0,1722,1727,3,106,53,0,1723,1724, - 5,3,0,0,1724,1726,3,106,53,0,1725,1723,1,0,0,0,1726,1729,1,0,0,0, - 1727,1725,1,0,0,0,1727,1728,1,0,0,0,1728,1731,1,0,0,0,1729,1727, - 1,0,0,0,1730,1721,1,0,0,0,1730,1731,1,0,0,0,1731,1733,1,0,0,0,1732, - 1734,3,108,54,0,1733,1732,1,0,0,0,1733,1734,1,0,0,0,1734,1738,1, - 0,0,0,1735,1736,5,21,0,0,1736,1737,5,164,0,0,1737,1739,3,112,56, - 0,1738,1735,1,0,0,0,1738,1739,1,0,0,0,1739,1741,1,0,0,0,1740,1742, - 7,13,0,0,1741,1740,1,0,0,0,1741,1742,1,0,0,0,1742,1743,1,0,0,0,1743, - 1744,5,207,0,0,1744,1745,5,1,0,0,1745,1746,3,222,111,0,1746,1756, - 5,2,0,0,1747,1748,5,258,0,0,1748,1753,3,114,57,0,1749,1750,5,3,0, - 0,1750,1752,3,114,57,0,1751,1749,1,0,0,0,1752,1755,1,0,0,0,1753, - 1751,1,0,0,0,1753,1754,1,0,0,0,1754,1757,1,0,0,0,1755,1753,1,0,0, - 0,1756,1747,1,0,0,0,1756,1757,1,0,0,0,1757,1758,1,0,0,0,1758,1759, - 5,72,0,0,1759,1764,3,116,58,0,1760,1761,5,3,0,0,1761,1763,3,116, - 58,0,1762,1760,1,0,0,0,1763,1766,1,0,0,0,1764,1762,1,0,0,0,1764, - 1765,1,0,0,0,1765,1767,1,0,0,0,1766,1764,1,0,0,0,1767,1775,5,2,0, - 0,1768,1770,5,28,0,0,1769,1768,1,0,0,0,1769,1770,1,0,0,0,1770,1771, - 1,0,0,0,1771,1773,3,314,157,0,1772,1774,3,124,62,0,1773,1772,1,0, - 0,0,1773,1774,1,0,0,0,1774,1776,1,0,0,0,1775,1769,1,0,0,0,1775,1776, - 1,0,0,0,1776,1778,1,0,0,0,1777,1702,1,0,0,0,1777,1778,1,0,0,0,1778, - 105,1,0,0,0,1779,1780,3,154,77,0,1780,1781,5,28,0,0,1781,1782,3, - 314,157,0,1782,107,1,0,0,0,1783,1784,5,192,0,0,1784,1785,5,240,0, - 0,1785,1786,5,208,0,0,1786,1795,5,164,0,0,1787,1788,5,22,0,0,1788, - 1789,5,241,0,0,1789,1790,5,208,0,0,1790,1792,5,164,0,0,1791,1793, - 3,110,55,0,1792,1791,1,0,0,0,1792,1793,1,0,0,0,1793,1795,1,0,0,0, - 1794,1783,1,0,0,0,1794,1787,1,0,0,0,1795,109,1,0,0,0,1796,1797,5, - 254,0,0,1797,1798,5,86,0,0,1798,1806,5,166,0,0,1799,1800,5,190,0, - 0,1800,1801,5,86,0,0,1801,1806,5,166,0,0,1802,1803,5,305,0,0,1803, - 1804,5,285,0,0,1804,1806,5,241,0,0,1805,1796,1,0,0,0,1805,1799,1, - 0,0,0,1805,1802,1,0,0,0,1806,111,1,0,0,0,1807,1808,5,5,0,0,1808, - 1809,5,270,0,0,1809,1810,5,175,0,0,1810,1827,5,240,0,0,1811,1812, - 5,5,0,0,1812,1813,5,205,0,0,1813,1814,5,149,0,0,1814,1827,5,240, - 0,0,1815,1816,5,5,0,0,1816,1817,5,270,0,0,1817,1818,5,102,0,0,1818, - 1827,3,314,157,0,1819,1820,5,5,0,0,1820,1821,5,270,0,0,1821,1822, - 5,149,0,0,1822,1827,3,314,157,0,1823,1824,5,5,0,0,1824,1825,5,270, - 0,0,1825,1827,3,314,157,0,1826,1807,1,0,0,0,1826,1811,1,0,0,0,1826, - 1815,1,0,0,0,1826,1819,1,0,0,0,1826,1823,1,0,0,0,1827,113,1,0,0, - 0,1828,1829,3,314,157,0,1829,1830,5,313,0,0,1830,1831,5,1,0,0,1831, - 1836,3,314,157,0,1832,1833,5,3,0,0,1833,1835,3,314,157,0,1834,1832, - 1,0,0,0,1835,1838,1,0,0,0,1836,1834,1,0,0,0,1836,1837,1,0,0,0,1837, - 1839,1,0,0,0,1838,1836,1,0,0,0,1839,1840,5,2,0,0,1840,115,1,0,0, - 0,1841,1842,3,314,157,0,1842,1843,5,28,0,0,1843,1844,3,154,77,0, - 1844,117,1,0,0,0,1845,1853,3,126,63,0,1846,1848,5,28,0,0,1847,1846, - 1,0,0,0,1847,1848,1,0,0,0,1848,1849,1,0,0,0,1849,1851,3,314,157, - 0,1850,1852,3,124,62,0,1851,1850,1,0,0,0,1851,1852,1,0,0,0,1852, - 1854,1,0,0,0,1853,1847,1,0,0,0,1853,1854,1,0,0,0,1854,119,1,0,0, - 0,1855,1856,5,1,0,0,1856,1861,3,298,149,0,1857,1858,5,3,0,0,1858, - 1860,3,298,149,0,1859,1857,1,0,0,0,1860,1863,1,0,0,0,1861,1859,1, - 0,0,0,1861,1862,1,0,0,0,1862,1864,1,0,0,0,1863,1861,1,0,0,0,1864, - 1865,5,2,0,0,1865,121,1,0,0,0,1866,1867,5,1,0,0,1867,1872,3,294, - 147,0,1868,1869,5,3,0,0,1869,1871,3,294,147,0,1870,1868,1,0,0,0, - 1871,1874,1,0,0,0,1872,1870,1,0,0,0,1872,1873,1,0,0,0,1873,1875, - 1,0,0,0,1874,1872,1,0,0,0,1875,1876,5,2,0,0,1876,123,1,0,0,0,1877, - 1878,5,1,0,0,1878,1883,3,314,157,0,1879,1880,5,3,0,0,1880,1882,3, - 314,157,0,1881,1879,1,0,0,0,1882,1885,1,0,0,0,1883,1881,1,0,0,0, - 1883,1884,1,0,0,0,1884,1886,1,0,0,0,1885,1883,1,0,0,0,1886,1887, - 5,2,0,0,1887,125,1,0,0,0,1888,1890,3,272,136,0,1889,1891,3,302,151, - 0,1890,1889,1,0,0,0,1890,1891,1,0,0,0,1891,1898,1,0,0,0,1892,1898, - 3,128,64,0,1893,1894,5,1,0,0,1894,1895,3,88,44,0,1895,1896,5,2,0, - 0,1896,1898,1,0,0,0,1897,1888,1,0,0,0,1897,1892,1,0,0,0,1897,1893, - 1,0,0,0,1898,127,1,0,0,0,1899,1900,5,1,0,0,1900,1901,3,22,11,0,1901, - 1902,5,2,0,0,1902,1963,1,0,0,0,1903,1904,5,286,0,0,1904,1905,5,1, - 0,0,1905,1910,3,154,77,0,1906,1907,5,3,0,0,1907,1909,3,154,77,0, - 1908,1906,1,0,0,0,1909,1912,1,0,0,0,1910,1908,1,0,0,0,1910,1911, - 1,0,0,0,1911,1913,1,0,0,0,1912,1910,1,0,0,0,1913,1916,5,2,0,0,1914, - 1915,5,305,0,0,1915,1917,5,197,0,0,1916,1914,1,0,0,0,1916,1917,1, - 0,0,0,1917,1963,1,0,0,0,1918,1919,5,150,0,0,1919,1920,5,1,0,0,1920, - 1921,3,22,11,0,1921,1922,5,2,0,0,1922,1963,1,0,0,0,1923,1924,5,261, - 0,0,1924,1925,5,1,0,0,1925,1926,3,140,70,0,1926,1927,5,2,0,0,1927, - 1963,1,0,0,0,1928,1929,5,143,0,0,1929,1930,5,1,0,0,1930,1931,3,164, - 82,0,1931,1932,5,46,0,0,1932,1933,5,1,0,0,1933,1938,3,130,65,0,1934, - 1935,5,3,0,0,1935,1937,3,130,65,0,1936,1934,1,0,0,0,1937,1940,1, - 0,0,0,1938,1936,1,0,0,0,1938,1939,1,0,0,0,1939,1941,1,0,0,0,1940, - 1938,1,0,0,0,1941,1953,5,2,0,0,1942,1943,5,211,0,0,1943,1944,5,1, - 0,0,1944,1945,3,132,66,0,1945,1946,5,2,0,0,1946,1954,1,0,0,0,1947, - 1948,5,211,0,0,1948,1949,5,71,0,0,1949,1950,5,1,0,0,1950,1951,3, - 138,69,0,1951,1952,5,2,0,0,1952,1954,1,0,0,0,1953,1942,1,0,0,0,1953, - 1947,1,0,0,0,1953,1954,1,0,0,0,1954,1958,1,0,0,0,1955,1956,7,14, - 0,0,1956,1957,5,191,0,0,1957,1959,5,90,0,0,1958,1955,1,0,0,0,1958, - 1959,1,0,0,0,1959,1960,1,0,0,0,1960,1961,5,2,0,0,1961,1963,1,0,0, - 0,1962,1899,1,0,0,0,1962,1903,1,0,0,0,1962,1918,1,0,0,0,1962,1923, - 1,0,0,0,1962,1928,1,0,0,0,1963,129,1,0,0,0,1964,1965,3,314,157,0, - 1965,1966,5,104,0,0,1966,1967,5,197,0,0,1967,2042,1,0,0,0,1968,1969, - 3,314,157,0,1969,1972,3,202,101,0,1970,1971,5,206,0,0,1971,1973, - 3,186,93,0,1972,1970,1,0,0,0,1972,1973,1,0,0,0,1973,1978,1,0,0,0, - 1974,1975,3,174,87,0,1975,1976,5,191,0,0,1976,1977,5,86,0,0,1977, - 1979,1,0,0,0,1978,1974,1,0,0,0,1978,1979,1,0,0,0,1979,1984,1,0,0, - 0,1980,1981,3,174,87,0,1981,1982,5,191,0,0,1982,1983,5,90,0,0,1983, - 1985,1,0,0,0,1984,1980,1,0,0,0,1984,1985,1,0,0,0,1985,2042,1,0,0, - 0,1986,1987,3,314,157,0,1987,1988,3,202,101,0,1988,1989,5,105,0, - 0,1989,1992,3,168,84,0,1990,1991,5,206,0,0,1991,1993,3,186,93,0, - 1992,1990,1,0,0,0,1992,1993,1,0,0,0,1993,1997,1,0,0,0,1994,1995, - 3,176,88,0,1995,1996,5,309,0,0,1996,1998,1,0,0,0,1997,1994,1,0,0, - 0,1997,1998,1,0,0,0,1998,2006,1,0,0,0,1999,2000,7,15,0,0,2000,2004, - 5,219,0,0,2001,2002,5,191,0,0,2002,2003,5,243,0,0,2003,2005,5,265, - 0,0,2004,2001,1,0,0,0,2004,2005,1,0,0,0,2005,2007,1,0,0,0,2006,1999, - 1,0,0,0,2006,2007,1,0,0,0,2007,2012,1,0,0,0,2008,2009,3,178,89,0, - 2009,2010,5,191,0,0,2010,2011,5,86,0,0,2011,2013,1,0,0,0,2012,2008, - 1,0,0,0,2012,2013,1,0,0,0,2013,2018,1,0,0,0,2014,2015,3,178,89,0, - 2015,2016,5,191,0,0,2016,2017,5,90,0,0,2017,2019,1,0,0,0,2018,2014, - 1,0,0,0,2018,2019,1,0,0,0,2019,2042,1,0,0,0,2020,2022,5,174,0,0, - 2021,2023,5,206,0,0,2022,2021,1,0,0,0,2022,2023,1,0,0,0,2023,2024, - 1,0,0,0,2024,2027,3,186,93,0,2025,2026,5,28,0,0,2026,2028,3,314, - 157,0,2027,2025,1,0,0,0,2027,2028,1,0,0,0,2028,2029,1,0,0,0,2029, - 2030,5,46,0,0,2030,2031,5,1,0,0,2031,2036,3,130,65,0,2032,2033,5, - 3,0,0,2033,2035,3,130,65,0,2034,2032,1,0,0,0,2035,2038,1,0,0,0,2036, - 2034,1,0,0,0,2036,2037,1,0,0,0,2037,2039,1,0,0,0,2038,2036,1,0,0, - 0,2039,2040,5,2,0,0,2040,2042,1,0,0,0,2041,1964,1,0,0,0,2041,1968, - 1,0,0,0,2041,1986,1,0,0,0,2041,2020,1,0,0,0,2042,131,1,0,0,0,2043, - 2069,3,134,67,0,2044,2045,3,134,67,0,2045,2046,7,16,0,0,2046,2047, - 3,136,68,0,2047,2069,1,0,0,0,2048,2049,3,136,68,0,2049,2050,5,282, - 0,0,2050,2055,3,136,68,0,2051,2052,5,282,0,0,2052,2054,3,136,68, - 0,2053,2051,1,0,0,0,2054,2057,1,0,0,0,2055,2053,1,0,0,0,2055,2056, - 1,0,0,0,2056,2069,1,0,0,0,2057,2055,1,0,0,0,2058,2059,3,136,68,0, - 2059,2060,5,55,0,0,2060,2065,3,136,68,0,2061,2062,5,55,0,0,2062, - 2064,3,136,68,0,2063,2061,1,0,0,0,2064,2067,1,0,0,0,2065,2063,1, - 0,0,0,2065,2066,1,0,0,0,2066,2069,1,0,0,0,2067,2065,1,0,0,0,2068, - 2043,1,0,0,0,2068,2044,1,0,0,0,2068,2048,1,0,0,0,2068,2058,1,0,0, - 0,2069,133,1,0,0,0,2070,2071,3,314,157,0,2071,135,1,0,0,0,2072,2078, - 3,134,67,0,2073,2074,5,1,0,0,2074,2075,3,132,66,0,2075,2076,5,2, - 0,0,2076,2078,1,0,0,0,2077,2072,1,0,0,0,2077,2073,1,0,0,0,2078,137, - 1,0,0,0,2079,2082,7,16,0,0,2080,2081,5,3,0,0,2081,2083,7,17,0,0, - 2082,2080,1,0,0,0,2082,2083,1,0,0,0,2083,2090,1,0,0,0,2084,2087, - 7,17,0,0,2085,2086,5,3,0,0,2086,2088,7,16,0,0,2087,2085,1,0,0,0, - 2087,2088,1,0,0,0,2088,2090,1,0,0,0,2089,2079,1,0,0,0,2089,2084, - 1,0,0,0,2090,139,1,0,0,0,2091,2092,3,290,145,0,2092,2101,5,1,0,0, - 2093,2098,3,142,71,0,2094,2095,5,3,0,0,2095,2097,3,142,71,0,2096, - 2094,1,0,0,0,2097,2100,1,0,0,0,2098,2096,1,0,0,0,2098,2099,1,0,0, - 0,2099,2102,1,0,0,0,2100,2098,1,0,0,0,2101,2093,1,0,0,0,2101,2102, - 1,0,0,0,2102,2112,1,0,0,0,2103,2104,5,53,0,0,2104,2109,3,152,76, - 0,2105,2106,5,3,0,0,2106,2108,3,152,76,0,2107,2105,1,0,0,0,2108, - 2111,1,0,0,0,2109,2107,1,0,0,0,2109,2110,1,0,0,0,2110,2113,1,0,0, - 0,2111,2109,1,0,0,0,2112,2103,1,0,0,0,2112,2113,1,0,0,0,2113,2114, - 1,0,0,0,2114,2115,5,2,0,0,2115,141,1,0,0,0,2116,2117,3,314,157,0, - 2117,2118,5,6,0,0,2118,2120,1,0,0,0,2119,2116,1,0,0,0,2119,2120, - 1,0,0,0,2120,2124,1,0,0,0,2121,2125,3,144,72,0,2122,2125,3,148,74, - 0,2123,2125,3,154,77,0,2124,2121,1,0,0,0,2124,2122,1,0,0,0,2124, - 2123,1,0,0,0,2125,143,1,0,0,0,2126,2137,3,146,73,0,2127,2128,5,202, - 0,0,2128,2135,5,36,0,0,2129,2131,5,1,0,0,2130,2132,3,62,31,0,2131, - 2130,1,0,0,0,2131,2132,1,0,0,0,2132,2133,1,0,0,0,2133,2136,5,2,0, - 0,2134,2136,3,154,77,0,2135,2129,1,0,0,0,2135,2134,1,0,0,0,2136, - 2138,1,0,0,0,2137,2127,1,0,0,0,2137,2138,1,0,0,0,2138,2145,1,0,0, - 0,2139,2140,5,218,0,0,2140,2141,5,301,0,0,2141,2146,5,86,0,0,2142, - 2143,5,145,0,0,2143,2144,5,301,0,0,2144,2146,5,86,0,0,2145,2139, - 1,0,0,0,2145,2142,1,0,0,0,2145,2146,1,0,0,0,2146,2163,1,0,0,0,2147, - 2148,5,196,0,0,2148,2161,5,36,0,0,2149,2150,5,1,0,0,2150,2155,3, - 50,25,0,2151,2152,5,3,0,0,2152,2154,3,50,25,0,2153,2151,1,0,0,0, - 2154,2157,1,0,0,0,2155,2153,1,0,0,0,2155,2156,1,0,0,0,2156,2158, - 1,0,0,0,2157,2155,1,0,0,0,2158,2159,5,2,0,0,2159,2162,1,0,0,0,2160, - 2162,3,50,25,0,2161,2149,1,0,0,0,2161,2160,1,0,0,0,2162,2164,1,0, - 0,0,2163,2147,1,0,0,0,2163,2164,1,0,0,0,2164,145,1,0,0,0,2165,2166, - 5,261,0,0,2166,2167,5,1,0,0,2167,2168,3,274,137,0,2168,2176,5,2, - 0,0,2169,2171,5,28,0,0,2170,2169,1,0,0,0,2170,2171,1,0,0,0,2171, - 2172,1,0,0,0,2172,2174,3,314,157,0,2173,2175,3,124,62,0,2174,2173, - 1,0,0,0,2174,2175,1,0,0,0,2175,2177,1,0,0,0,2176,2170,1,0,0,0,2176, - 2177,1,0,0,0,2177,2192,1,0,0,0,2178,2179,5,261,0,0,2179,2180,5,1, - 0,0,2180,2181,3,22,11,0,2181,2189,5,2,0,0,2182,2184,5,28,0,0,2183, - 2182,1,0,0,0,2183,2184,1,0,0,0,2184,2185,1,0,0,0,2185,2187,3,314, - 157,0,2186,2188,3,124,62,0,2187,2186,1,0,0,0,2187,2188,1,0,0,0,2188, - 2190,1,0,0,0,2189,2183,1,0,0,0,2189,2190,1,0,0,0,2190,2192,1,0,0, - 0,2191,2165,1,0,0,0,2191,2178,1,0,0,0,2192,147,1,0,0,0,2193,2194, - 5,78,0,0,2194,2195,5,1,0,0,2195,2200,3,150,75,0,2196,2197,5,3,0, - 0,2197,2199,3,150,75,0,2198,2196,1,0,0,0,2199,2202,1,0,0,0,2200, - 2198,1,0,0,0,2200,2201,1,0,0,0,2201,2203,1,0,0,0,2202,2200,1,0,0, - 0,2203,2204,5,2,0,0,2204,2212,1,0,0,0,2205,2206,5,41,0,0,2206,2207, - 5,1,0,0,2207,2208,5,184,0,0,2208,2209,5,28,0,0,2209,2210,5,78,0, - 0,2210,2212,5,2,0,0,2211,2193,1,0,0,0,2211,2205,1,0,0,0,2212,149, - 1,0,0,0,2213,2215,3,314,157,0,2214,2216,3,202,101,0,2215,2214,1, - 0,0,0,2215,2216,1,0,0,0,2216,151,1,0,0,0,2217,2218,5,1,0,0,2218, - 2219,3,300,150,0,2219,2220,5,3,0,0,2220,2225,3,300,150,0,2221,2222, - 5,3,0,0,2222,2224,3,300,150,0,2223,2221,1,0,0,0,2224,2227,1,0,0, - 0,2225,2223,1,0,0,0,2225,2226,1,0,0,0,2226,2228,1,0,0,0,2227,2225, - 1,0,0,0,2228,2229,5,2,0,0,2229,153,1,0,0,0,2230,2231,3,156,78,0, - 2231,155,1,0,0,0,2232,2233,6,78,-1,0,2233,2235,3,160,80,0,2234,2236, - 3,158,79,0,2235,2234,1,0,0,0,2235,2236,1,0,0,0,2236,2240,1,0,0,0, - 2237,2238,5,183,0,0,2238,2240,3,156,78,3,2239,2232,1,0,0,0,2239, - 2237,1,0,0,0,2240,2249,1,0,0,0,2241,2242,10,2,0,0,2242,2243,5,25, - 0,0,2243,2248,3,156,78,3,2244,2245,10,1,0,0,2245,2246,5,195,0,0, - 2246,2248,3,156,78,2,2247,2241,1,0,0,0,2247,2244,1,0,0,0,2248,2251, - 1,0,0,0,2249,2247,1,0,0,0,2249,2250,1,0,0,0,2250,157,1,0,0,0,2251, - 2249,1,0,0,0,2252,2253,3,190,95,0,2253,2254,3,160,80,0,2254,2314, - 1,0,0,0,2255,2256,3,190,95,0,2256,2257,3,192,96,0,2257,2258,5,1, - 0,0,2258,2259,3,22,11,0,2259,2260,5,2,0,0,2260,2314,1,0,0,0,2261, - 2263,5,183,0,0,2262,2261,1,0,0,0,2262,2263,1,0,0,0,2263,2264,1,0, - 0,0,2264,2265,5,34,0,0,2265,2266,3,160,80,0,2266,2267,5,25,0,0,2267, - 2268,3,160,80,0,2268,2314,1,0,0,0,2269,2271,5,183,0,0,2270,2269, - 1,0,0,0,2270,2271,1,0,0,0,2271,2272,1,0,0,0,2272,2273,5,123,0,0, - 2273,2274,5,1,0,0,2274,2279,3,154,77,0,2275,2276,5,3,0,0,2276,2278, - 3,154,77,0,2277,2275,1,0,0,0,2278,2281,1,0,0,0,2279,2277,1,0,0,0, - 2279,2280,1,0,0,0,2280,2282,1,0,0,0,2281,2279,1,0,0,0,2282,2283, - 5,2,0,0,2283,2314,1,0,0,0,2284,2286,5,183,0,0,2285,2284,1,0,0,0, - 2285,2286,1,0,0,0,2286,2287,1,0,0,0,2287,2288,5,123,0,0,2288,2289, - 5,1,0,0,2289,2290,3,22,11,0,2290,2291,5,2,0,0,2291,2314,1,0,0,0, - 2292,2294,5,183,0,0,2293,2292,1,0,0,0,2293,2294,1,0,0,0,2294,2295, - 1,0,0,0,2295,2296,5,155,0,0,2296,2299,3,160,80,0,2297,2298,5,91, - 0,0,2298,2300,3,160,80,0,2299,2297,1,0,0,0,2299,2300,1,0,0,0,2300, - 2314,1,0,0,0,2301,2303,5,134,0,0,2302,2304,5,183,0,0,2303,2302,1, - 0,0,0,2303,2304,1,0,0,0,2304,2305,1,0,0,0,2305,2314,5,184,0,0,2306, - 2308,5,134,0,0,2307,2309,5,183,0,0,2308,2307,1,0,0,0,2308,2309,1, - 0,0,0,2309,2310,1,0,0,0,2310,2311,5,80,0,0,2311,2312,5,106,0,0,2312, - 2314,3,160,80,0,2313,2252,1,0,0,0,2313,2255,1,0,0,0,2313,2262,1, - 0,0,0,2313,2270,1,0,0,0,2313,2285,1,0,0,0,2313,2293,1,0,0,0,2313, - 2301,1,0,0,0,2313,2306,1,0,0,0,2314,159,1,0,0,0,2315,2316,6,80,-1, - 0,2316,2320,3,162,81,0,2317,2318,7,18,0,0,2318,2320,3,160,80,4,2319, - 2315,1,0,0,0,2319,2317,1,0,0,0,2320,2335,1,0,0,0,2321,2322,10,3, - 0,0,2322,2323,7,19,0,0,2323,2334,3,160,80,4,2324,2325,10,2,0,0,2325, - 2326,7,18,0,0,2326,2334,3,160,80,3,2327,2328,10,1,0,0,2328,2329, - 5,324,0,0,2329,2334,3,160,80,2,2330,2331,10,5,0,0,2331,2332,5,30, - 0,0,2332,2334,3,188,94,0,2333,2321,1,0,0,0,2333,2324,1,0,0,0,2333, - 2327,1,0,0,0,2333,2330,1,0,0,0,2334,2337,1,0,0,0,2335,2333,1,0,0, - 0,2335,2336,1,0,0,0,2336,161,1,0,0,0,2337,2335,1,0,0,0,2338,2339, - 6,81,-1,0,2339,2804,5,184,0,0,2340,2804,3,196,98,0,2341,2342,3,314, - 157,0,2342,2343,3,186,93,0,2343,2804,1,0,0,0,2344,2345,5,83,0,0, - 2345,2346,5,214,0,0,2346,2804,3,186,93,0,2347,2804,3,316,158,0,2348, - 2804,3,194,97,0,2349,2804,3,186,93,0,2350,2804,5,329,0,0,2351,2804, - 5,325,0,0,2352,2353,5,212,0,0,2353,2354,5,1,0,0,2354,2355,3,160, - 80,0,2355,2356,5,123,0,0,2356,2357,3,160,80,0,2357,2358,5,2,0,0, - 2358,2804,1,0,0,0,2359,2360,5,1,0,0,2360,2363,3,154,77,0,2361,2362, - 5,3,0,0,2362,2364,3,154,77,0,2363,2361,1,0,0,0,2364,2365,1,0,0,0, - 2365,2363,1,0,0,0,2365,2366,1,0,0,0,2366,2367,1,0,0,0,2367,2368, - 5,2,0,0,2368,2804,1,0,0,0,2369,2370,5,240,0,0,2370,2371,5,1,0,0, - 2371,2376,3,154,77,0,2372,2373,5,3,0,0,2373,2375,3,154,77,0,2374, - 2372,1,0,0,0,2375,2378,1,0,0,0,2376,2374,1,0,0,0,2376,2377,1,0,0, - 0,2377,2379,1,0,0,0,2378,2376,1,0,0,0,2379,2380,5,2,0,0,2380,2804, - 1,0,0,0,2381,2382,5,157,0,0,2382,2384,5,1,0,0,2383,2385,3,76,38, - 0,2384,2383,1,0,0,0,2384,2385,1,0,0,0,2385,2386,1,0,0,0,2386,2389, - 3,154,77,0,2387,2388,5,3,0,0,2388,2390,3,186,93,0,2389,2387,1,0, - 0,0,2389,2390,1,0,0,0,2390,2394,1,0,0,0,2391,2392,5,191,0,0,2392, - 2393,5,201,0,0,2393,2395,3,100,50,0,2394,2391,1,0,0,0,2394,2395, - 1,0,0,0,2395,2396,1,0,0,0,2396,2397,5,2,0,0,2397,2398,5,306,0,0, - 2398,2399,5,115,0,0,2399,2400,5,1,0,0,2400,2401,5,196,0,0,2401,2402, - 5,36,0,0,2402,2407,3,50,25,0,2403,2404,5,3,0,0,2404,2406,3,50,25, - 0,2405,2403,1,0,0,0,2406,2409,1,0,0,0,2407,2405,1,0,0,0,2407,2408, - 1,0,0,0,2408,2410,1,0,0,0,2409,2407,1,0,0,0,2410,2411,5,2,0,0,2411, - 2413,1,0,0,0,2412,2414,3,210,105,0,2413,2412,1,0,0,0,2413,2414,1, - 0,0,0,2414,2804,1,0,0,0,2415,2417,3,182,91,0,2416,2415,1,0,0,0,2416, - 2417,1,0,0,0,2417,2418,1,0,0,0,2418,2419,3,290,145,0,2419,2423,5, - 1,0,0,2420,2421,3,314,157,0,2421,2422,5,4,0,0,2422,2424,1,0,0,0, - 2423,2420,1,0,0,0,2423,2424,1,0,0,0,2424,2425,1,0,0,0,2425,2426, - 5,321,0,0,2426,2428,5,2,0,0,2427,2429,3,210,105,0,2428,2427,1,0, - 0,0,2428,2429,1,0,0,0,2429,2431,1,0,0,0,2430,2432,3,214,107,0,2431, - 2430,1,0,0,0,2431,2432,1,0,0,0,2432,2804,1,0,0,0,2433,2435,3,182, - 91,0,2434,2433,1,0,0,0,2434,2435,1,0,0,0,2435,2436,1,0,0,0,2436, - 2437,3,290,145,0,2437,2449,5,1,0,0,2438,2440,3,76,38,0,2439,2438, - 1,0,0,0,2439,2440,1,0,0,0,2440,2441,1,0,0,0,2441,2446,3,154,77,0, - 2442,2443,5,3,0,0,2443,2445,3,154,77,0,2444,2442,1,0,0,0,2445,2448, - 1,0,0,0,2446,2444,1,0,0,0,2446,2447,1,0,0,0,2447,2450,1,0,0,0,2448, - 2446,1,0,0,0,2449,2439,1,0,0,0,2449,2450,1,0,0,0,2450,2461,1,0,0, - 0,2451,2452,5,196,0,0,2452,2453,5,36,0,0,2453,2458,3,50,25,0,2454, - 2455,5,3,0,0,2455,2457,3,50,25,0,2456,2454,1,0,0,0,2457,2460,1,0, - 0,0,2458,2456,1,0,0,0,2458,2459,1,0,0,0,2459,2462,1,0,0,0,2460,2458, - 1,0,0,0,2461,2451,1,0,0,0,2461,2462,1,0,0,0,2462,2463,1,0,0,0,2463, - 2465,5,2,0,0,2464,2466,3,210,105,0,2465,2464,1,0,0,0,2465,2466,1, - 0,0,0,2466,2471,1,0,0,0,2467,2469,3,184,92,0,2468,2467,1,0,0,0,2468, - 2469,1,0,0,0,2469,2470,1,0,0,0,2470,2472,3,214,107,0,2471,2468,1, - 0,0,0,2471,2472,1,0,0,0,2472,2804,1,0,0,0,2473,2474,3,314,157,0, - 2474,2475,3,214,107,0,2475,2804,1,0,0,0,2476,2477,3,314,157,0,2477, - 2478,5,7,0,0,2478,2479,3,154,77,0,2479,2804,1,0,0,0,2480,2489,5, - 1,0,0,2481,2486,3,314,157,0,2482,2483,5,3,0,0,2483,2485,3,314,157, - 0,2484,2482,1,0,0,0,2485,2488,1,0,0,0,2486,2484,1,0,0,0,2486,2487, - 1,0,0,0,2487,2490,1,0,0,0,2488,2486,1,0,0,0,2489,2481,1,0,0,0,2489, - 2490,1,0,0,0,2490,2491,1,0,0,0,2491,2492,5,2,0,0,2492,2493,5,7,0, - 0,2493,2804,3,154,77,0,2494,2495,5,1,0,0,2495,2496,3,22,11,0,2496, - 2497,5,2,0,0,2497,2804,1,0,0,0,2498,2499,5,95,0,0,2499,2500,5,1, - 0,0,2500,2501,3,22,11,0,2501,2502,5,2,0,0,2502,2804,1,0,0,0,2503, - 2504,5,40,0,0,2504,2506,3,154,77,0,2505,2507,3,208,104,0,2506,2505, - 1,0,0,0,2507,2508,1,0,0,0,2508,2506,1,0,0,0,2508,2509,1,0,0,0,2509, - 2512,1,0,0,0,2510,2511,5,85,0,0,2511,2513,3,154,77,0,2512,2510,1, - 0,0,0,2512,2513,1,0,0,0,2513,2514,1,0,0,0,2514,2515,5,89,0,0,2515, - 2804,1,0,0,0,2516,2518,5,40,0,0,2517,2519,3,208,104,0,2518,2517, - 1,0,0,0,2519,2520,1,0,0,0,2520,2518,1,0,0,0,2520,2521,1,0,0,0,2521, - 2524,1,0,0,0,2522,2523,5,85,0,0,2523,2525,3,154,77,0,2524,2522,1, - 0,0,0,2524,2525,1,0,0,0,2525,2526,1,0,0,0,2526,2527,5,89,0,0,2527, - 2804,1,0,0,0,2528,2529,5,41,0,0,2529,2530,5,1,0,0,2530,2531,3,154, - 77,0,2531,2532,5,28,0,0,2532,2533,3,202,101,0,2533,2534,5,2,0,0, - 2534,2804,1,0,0,0,2535,2536,5,276,0,0,2536,2537,5,1,0,0,2537,2538, - 3,154,77,0,2538,2539,5,28,0,0,2539,2540,3,202,101,0,2540,2541,5, - 2,0,0,2541,2804,1,0,0,0,2542,2543,5,27,0,0,2543,2552,5,8,0,0,2544, - 2549,3,154,77,0,2545,2546,5,3,0,0,2546,2548,3,154,77,0,2547,2545, - 1,0,0,0,2548,2551,1,0,0,0,2549,2547,1,0,0,0,2549,2550,1,0,0,0,2550, - 2553,1,0,0,0,2551,2549,1,0,0,0,2552,2544,1,0,0,0,2552,2553,1,0,0, - 0,2553,2554,1,0,0,0,2554,2804,5,9,0,0,2555,2804,3,296,148,0,2556, - 2804,5,59,0,0,2557,2561,5,63,0,0,2558,2559,5,1,0,0,2559,2560,5,330, - 0,0,2560,2562,5,2,0,0,2561,2558,1,0,0,0,2561,2562,1,0,0,0,2562,2804, - 1,0,0,0,2563,2567,5,64,0,0,2564,2565,5,1,0,0,2565,2566,5,330,0,0, - 2566,2568,5,2,0,0,2567,2564,1,0,0,0,2567,2568,1,0,0,0,2568,2804, - 1,0,0,0,2569,2573,5,159,0,0,2570,2571,5,1,0,0,2571,2572,5,330,0, - 0,2572,2574,5,2,0,0,2573,2570,1,0,0,0,2573,2574,1,0,0,0,2574,2804, - 1,0,0,0,2575,2579,5,160,0,0,2576,2577,5,1,0,0,2577,2578,5,330,0, - 0,2578,2580,5,2,0,0,2579,2576,1,0,0,0,2579,2580,1,0,0,0,2580,2804, - 1,0,0,0,2581,2804,5,65,0,0,2582,2804,5,58,0,0,2583,2804,5,62,0,0, - 2584,2804,5,60,0,0,2585,2586,5,273,0,0,2586,2594,5,1,0,0,2587,2589, - 3,98,49,0,2588,2587,1,0,0,0,2588,2589,1,0,0,0,2589,2591,1,0,0,0, - 2590,2592,3,160,80,0,2591,2590,1,0,0,0,2591,2592,1,0,0,0,2592,2593, - 1,0,0,0,2593,2595,5,106,0,0,2594,2588,1,0,0,0,2594,2595,1,0,0,0, - 2595,2596,1,0,0,0,2596,2597,3,160,80,0,2597,2598,5,2,0,0,2598,2804, - 1,0,0,0,2599,2600,5,273,0,0,2600,2601,5,1,0,0,2601,2602,3,160,80, - 0,2602,2603,5,3,0,0,2603,2604,3,160,80,0,2604,2605,5,2,0,0,2605, - 2804,1,0,0,0,2606,2607,5,259,0,0,2607,2608,5,1,0,0,2608,2609,3,160, - 80,0,2609,2610,5,106,0,0,2610,2613,3,160,80,0,2611,2612,5,104,0, - 0,2612,2614,3,160,80,0,2613,2611,1,0,0,0,2613,2614,1,0,0,0,2614, - 2615,1,0,0,0,2615,2616,5,2,0,0,2616,2804,1,0,0,0,2617,2618,5,182, - 0,0,2618,2619,5,1,0,0,2619,2622,3,160,80,0,2620,2621,5,3,0,0,2621, - 2623,3,200,100,0,2622,2620,1,0,0,0,2622,2623,1,0,0,0,2623,2624,1, - 0,0,0,2624,2625,5,2,0,0,2625,2804,1,0,0,0,2626,2627,5,97,0,0,2627, - 2628,5,1,0,0,2628,2629,3,314,157,0,2629,2630,5,106,0,0,2630,2631, - 3,160,80,0,2631,2632,5,2,0,0,2632,2804,1,0,0,0,2633,2634,5,44,0, - 0,2634,2635,5,1,0,0,2635,2640,3,154,77,0,2636,2637,5,3,0,0,2637, - 2639,3,154,77,0,2638,2636,1,0,0,0,2639,2642,1,0,0,0,2640,2638,1, - 0,0,0,2640,2641,1,0,0,0,2641,2643,1,0,0,0,2642,2640,1,0,0,0,2643, - 2644,5,2,0,0,2644,2804,1,0,0,0,2645,2646,5,1,0,0,2646,2647,3,154, - 77,0,2647,2648,5,2,0,0,2648,2804,1,0,0,0,2649,2650,5,116,0,0,2650, - 2659,5,1,0,0,2651,2656,3,300,150,0,2652,2653,5,3,0,0,2653,2655,3, - 300,150,0,2654,2652,1,0,0,0,2655,2658,1,0,0,0,2656,2654,1,0,0,0, - 2656,2657,1,0,0,0,2657,2660,1,0,0,0,2658,2656,1,0,0,0,2659,2651, - 1,0,0,0,2659,2660,1,0,0,0,2660,2661,1,0,0,0,2661,2804,5,2,0,0,2662, - 2663,5,140,0,0,2663,2664,5,1,0,0,2664,2669,3,164,82,0,2665,2666, - 3,172,86,0,2666,2667,5,191,0,0,2667,2668,5,90,0,0,2668,2670,1,0, - 0,0,2669,2665,1,0,0,0,2669,2670,1,0,0,0,2670,2671,1,0,0,0,2671,2672, - 5,2,0,0,2672,2804,1,0,0,0,2673,2674,5,144,0,0,2674,2675,5,1,0,0, - 2675,2678,3,164,82,0,2676,2677,5,232,0,0,2677,2679,3,202,101,0,2678, - 2676,1,0,0,0,2678,2679,1,0,0,0,2679,2684,1,0,0,0,2680,2681,3,174, - 87,0,2681,2682,5,191,0,0,2682,2683,5,86,0,0,2683,2685,1,0,0,0,2684, - 2680,1,0,0,0,2684,2685,1,0,0,0,2685,2690,1,0,0,0,2686,2687,3,174, - 87,0,2687,2688,5,191,0,0,2688,2689,5,90,0,0,2689,2691,1,0,0,0,2690, - 2686,1,0,0,0,2690,2691,1,0,0,0,2691,2692,1,0,0,0,2692,2693,5,2,0, - 0,2693,2804,1,0,0,0,2694,2695,5,142,0,0,2695,2696,5,1,0,0,2696,2703, - 3,164,82,0,2697,2698,5,232,0,0,2698,2701,3,202,101,0,2699,2700,5, - 105,0,0,2700,2702,3,168,84,0,2701,2699,1,0,0,0,2701,2702,1,0,0,0, - 2702,2704,1,0,0,0,2703,2697,1,0,0,0,2703,2704,1,0,0,0,2704,2708, - 1,0,0,0,2705,2706,3,176,88,0,2706,2707,5,309,0,0,2707,2709,1,0,0, - 0,2708,2705,1,0,0,0,2708,2709,1,0,0,0,2709,2717,1,0,0,0,2710,2711, - 7,15,0,0,2711,2715,5,219,0,0,2712,2713,5,191,0,0,2713,2714,5,243, - 0,0,2714,2716,5,265,0,0,2715,2712,1,0,0,0,2715,2716,1,0,0,0,2716, - 2718,1,0,0,0,2717,2710,1,0,0,0,2717,2718,1,0,0,0,2718,2723,1,0,0, - 0,2719,2720,3,178,89,0,2720,2721,5,191,0,0,2721,2722,5,86,0,0,2722, - 2724,1,0,0,0,2723,2719,1,0,0,0,2723,2724,1,0,0,0,2724,2729,1,0,0, - 0,2725,2726,3,178,89,0,2726,2727,5,191,0,0,2727,2728,5,90,0,0,2728, - 2730,1,0,0,0,2729,2725,1,0,0,0,2729,2730,1,0,0,0,2730,2731,1,0,0, - 0,2731,2732,5,2,0,0,2732,2804,1,0,0,0,2733,2734,5,141,0,0,2734,2763, - 5,1,0,0,2735,2740,3,180,90,0,2736,2737,5,3,0,0,2737,2739,3,180,90, - 0,2738,2736,1,0,0,0,2739,2742,1,0,0,0,2740,2738,1,0,0,0,2740,2741, - 1,0,0,0,2741,2749,1,0,0,0,2742,2740,1,0,0,0,2743,2744,5,184,0,0, - 2744,2745,5,191,0,0,2745,2750,5,184,0,0,2746,2747,5,18,0,0,2747, - 2748,5,191,0,0,2748,2750,5,184,0,0,2749,2743,1,0,0,0,2749,2746,1, - 0,0,0,2749,2750,1,0,0,0,2750,2761,1,0,0,0,2751,2752,5,305,0,0,2752, - 2754,5,283,0,0,2753,2755,5,147,0,0,2754,2753,1,0,0,0,2754,2755,1, - 0,0,0,2755,2762,1,0,0,0,2756,2757,5,307,0,0,2757,2759,5,283,0,0, - 2758,2760,5,147,0,0,2759,2758,1,0,0,0,2759,2760,1,0,0,0,2760,2762, - 1,0,0,0,2761,2751,1,0,0,0,2761,2756,1,0,0,0,2761,2762,1,0,0,0,2762, - 2764,1,0,0,0,2763,2735,1,0,0,0,2763,2764,1,0,0,0,2764,2771,1,0,0, - 0,2765,2766,5,232,0,0,2766,2769,3,202,101,0,2767,2768,5,105,0,0, - 2768,2770,3,168,84,0,2769,2767,1,0,0,0,2769,2770,1,0,0,0,2770,2772, - 1,0,0,0,2771,2765,1,0,0,0,2771,2772,1,0,0,0,2772,2773,1,0,0,0,2773, - 2804,5,2,0,0,2774,2775,5,139,0,0,2775,2792,5,1,0,0,2776,2781,3,166, - 83,0,2777,2778,5,3,0,0,2778,2780,3,166,83,0,2779,2777,1,0,0,0,2780, - 2783,1,0,0,0,2781,2779,1,0,0,0,2781,2782,1,0,0,0,2782,2790,1,0,0, - 0,2783,2781,1,0,0,0,2784,2785,5,184,0,0,2785,2786,5,191,0,0,2786, - 2791,5,184,0,0,2787,2788,5,18,0,0,2788,2789,5,191,0,0,2789,2791, - 5,184,0,0,2790,2784,1,0,0,0,2790,2787,1,0,0,0,2790,2791,1,0,0,0, - 2791,2793,1,0,0,0,2792,2776,1,0,0,0,2792,2793,1,0,0,0,2793,2800, - 1,0,0,0,2794,2795,5,232,0,0,2795,2798,3,202,101,0,2796,2797,5,105, - 0,0,2797,2799,3,168,84,0,2798,2796,1,0,0,0,2798,2799,1,0,0,0,2799, - 2801,1,0,0,0,2800,2794,1,0,0,0,2800,2801,1,0,0,0,2801,2802,1,0,0, - 0,2802,2804,5,2,0,0,2803,2338,1,0,0,0,2803,2340,1,0,0,0,2803,2341, - 1,0,0,0,2803,2344,1,0,0,0,2803,2347,1,0,0,0,2803,2348,1,0,0,0,2803, - 2349,1,0,0,0,2803,2350,1,0,0,0,2803,2351,1,0,0,0,2803,2352,1,0,0, - 0,2803,2359,1,0,0,0,2803,2369,1,0,0,0,2803,2381,1,0,0,0,2803,2416, - 1,0,0,0,2803,2434,1,0,0,0,2803,2473,1,0,0,0,2803,2476,1,0,0,0,2803, - 2480,1,0,0,0,2803,2494,1,0,0,0,2803,2498,1,0,0,0,2803,2503,1,0,0, - 0,2803,2516,1,0,0,0,2803,2528,1,0,0,0,2803,2535,1,0,0,0,2803,2542, - 1,0,0,0,2803,2555,1,0,0,0,2803,2556,1,0,0,0,2803,2557,1,0,0,0,2803, - 2563,1,0,0,0,2803,2569,1,0,0,0,2803,2575,1,0,0,0,2803,2581,1,0,0, - 0,2803,2582,1,0,0,0,2803,2583,1,0,0,0,2803,2584,1,0,0,0,2803,2585, - 1,0,0,0,2803,2599,1,0,0,0,2803,2606,1,0,0,0,2803,2617,1,0,0,0,2803, - 2626,1,0,0,0,2803,2633,1,0,0,0,2803,2645,1,0,0,0,2803,2649,1,0,0, - 0,2803,2662,1,0,0,0,2803,2673,1,0,0,0,2803,2694,1,0,0,0,2803,2733, - 1,0,0,0,2803,2774,1,0,0,0,2804,2815,1,0,0,0,2805,2806,10,25,0,0, - 2806,2807,5,8,0,0,2807,2808,3,160,80,0,2808,2809,5,9,0,0,2809,2814, - 1,0,0,0,2810,2811,10,23,0,0,2811,2812,5,4,0,0,2812,2814,3,314,157, - 0,2813,2805,1,0,0,0,2813,2810,1,0,0,0,2814,2817,1,0,0,0,2815,2813, - 1,0,0,0,2815,2816,1,0,0,0,2816,163,1,0,0,0,2817,2815,1,0,0,0,2818, - 2819,3,166,83,0,2819,2820,5,3,0,0,2820,2823,3,186,93,0,2821,2822, - 5,28,0,0,2822,2824,3,314,157,0,2823,2821,1,0,0,0,2823,2824,1,0,0, - 0,2824,2834,1,0,0,0,2825,2826,5,204,0,0,2826,2831,3,170,85,0,2827, - 2828,5,3,0,0,2828,2830,3,170,85,0,2829,2827,1,0,0,0,2830,2833,1, - 0,0,0,2831,2829,1,0,0,0,2831,2832,1,0,0,0,2832,2835,1,0,0,0,2833, - 2831,1,0,0,0,2834,2825,1,0,0,0,2834,2835,1,0,0,0,2835,165,1,0,0, - 0,2836,2839,3,154,77,0,2837,2838,5,105,0,0,2838,2840,3,168,84,0, - 2839,2837,1,0,0,0,2839,2840,1,0,0,0,2840,167,1,0,0,0,2841,2844,5, - 138,0,0,2842,2843,5,88,0,0,2843,2845,7,20,0,0,2844,2842,1,0,0,0, - 2844,2845,1,0,0,0,2845,169,1,0,0,0,2846,2847,3,166,83,0,2847,2848, - 5,28,0,0,2848,2849,3,314,157,0,2849,171,1,0,0,0,2850,2851,7,21,0, - 0,2851,173,1,0,0,0,2852,2857,5,90,0,0,2853,2857,5,184,0,0,2854,2855, - 5,71,0,0,2855,2857,3,154,77,0,2856,2852,1,0,0,0,2856,2853,1,0,0, - 0,2856,2854,1,0,0,0,2857,175,1,0,0,0,2858,2860,5,307,0,0,2859,2861, - 5,27,0,0,2860,2859,1,0,0,0,2860,2861,1,0,0,0,2861,2870,1,0,0,0,2862, - 2864,5,305,0,0,2863,2865,7,22,0,0,2864,2863,1,0,0,0,2864,2865,1, - 0,0,0,2865,2867,1,0,0,0,2866,2868,5,27,0,0,2867,2866,1,0,0,0,2867, - 2868,1,0,0,0,2868,2870,1,0,0,0,2869,2858,1,0,0,0,2869,2862,1,0,0, - 0,2870,177,1,0,0,0,2871,2878,5,90,0,0,2872,2878,5,184,0,0,2873,2874, - 5,86,0,0,2874,2878,5,27,0,0,2875,2876,5,86,0,0,2876,2878,5,187,0, - 0,2877,2871,1,0,0,0,2877,2872,1,0,0,0,2877,2873,1,0,0,0,2877,2875, - 1,0,0,0,2878,179,1,0,0,0,2879,2881,5,146,0,0,2880,2879,1,0,0,0,2880, - 2881,1,0,0,0,2881,2882,1,0,0,0,2882,2883,3,154,77,0,2883,2884,5, - 296,0,0,2884,2885,3,166,83,0,2885,2891,1,0,0,0,2886,2887,3,154,77, - 0,2887,2888,5,10,0,0,2888,2889,3,166,83,0,2889,2891,1,0,0,0,2890, - 2880,1,0,0,0,2890,2886,1,0,0,0,2891,181,1,0,0,0,2892,2893,7,23,0, - 0,2893,183,1,0,0,0,2894,2895,5,121,0,0,2895,2899,5,186,0,0,2896, - 2897,5,229,0,0,2897,2899,5,186,0,0,2898,2894,1,0,0,0,2898,2896,1, - 0,0,0,2899,185,1,0,0,0,2900,2907,5,327,0,0,2901,2904,5,328,0,0,2902, - 2903,5,278,0,0,2903,2905,5,327,0,0,2904,2902,1,0,0,0,2904,2905,1, - 0,0,0,2905,2907,1,0,0,0,2906,2900,1,0,0,0,2906,2901,1,0,0,0,2907, - 187,1,0,0,0,2908,2909,5,268,0,0,2909,2910,5,312,0,0,2910,2915,3, - 196,98,0,2911,2912,5,268,0,0,2912,2913,5,312,0,0,2913,2915,3,186, - 93,0,2914,2908,1,0,0,0,2914,2911,1,0,0,0,2915,189,1,0,0,0,2916,2917, - 7,24,0,0,2917,191,1,0,0,0,2918,2919,7,25,0,0,2919,193,1,0,0,0,2920, - 2921,7,26,0,0,2921,195,1,0,0,0,2922,2924,5,130,0,0,2923,2925,7,18, - 0,0,2924,2923,1,0,0,0,2924,2925,1,0,0,0,2925,2926,1,0,0,0,2926,2927, - 3,186,93,0,2927,2930,3,198,99,0,2928,2929,5,270,0,0,2929,2931,3, - 198,99,0,2930,2928,1,0,0,0,2930,2931,1,0,0,0,2931,197,1,0,0,0,2932, - 2933,7,27,0,0,2933,199,1,0,0,0,2934,2935,7,28,0,0,2935,201,1,0,0, - 0,2936,2937,6,101,-1,0,2937,2938,5,240,0,0,2938,2939,5,1,0,0,2939, - 2944,3,204,102,0,2940,2941,5,3,0,0,2941,2943,3,204,102,0,2942,2940, - 1,0,0,0,2943,2946,1,0,0,0,2944,2942,1,0,0,0,2944,2945,1,0,0,0,2945, - 2947,1,0,0,0,2946,2944,1,0,0,0,2947,2948,5,2,0,0,2948,3008,1,0,0, - 0,2949,2950,5,130,0,0,2950,2953,3,198,99,0,2951,2952,5,270,0,0,2952, - 2954,3,198,99,0,2953,2951,1,0,0,0,2953,2954,1,0,0,0,2954,3008,1, - 0,0,0,2955,2960,5,269,0,0,2956,2957,5,1,0,0,2957,2958,3,206,103, - 0,2958,2959,5,2,0,0,2959,2961,1,0,0,0,2960,2956,1,0,0,0,2960,2961, - 1,0,0,0,2961,2965,1,0,0,0,2962,2963,7,29,0,0,2963,2964,5,268,0,0, - 2964,2966,5,312,0,0,2965,2962,1,0,0,0,2965,2966,1,0,0,0,2966,3008, - 1,0,0,0,2967,2972,5,268,0,0,2968,2969,5,1,0,0,2969,2970,3,206,103, - 0,2970,2971,5,2,0,0,2971,2973,1,0,0,0,2972,2968,1,0,0,0,2972,2973, - 1,0,0,0,2973,2977,1,0,0,0,2974,2975,7,29,0,0,2975,2976,5,268,0,0, - 2976,2978,5,312,0,0,2977,2974,1,0,0,0,2977,2978,1,0,0,0,2978,3008, - 1,0,0,0,2979,2980,5,83,0,0,2980,3008,5,214,0,0,2981,2982,5,27,0, - 0,2982,2983,5,315,0,0,2983,2984,3,202,101,0,2984,2985,5,317,0,0, - 2985,3008,1,0,0,0,2986,2987,5,163,0,0,2987,2988,5,315,0,0,2988,2989, - 3,202,101,0,2989,2990,5,3,0,0,2990,2991,3,202,101,0,2991,2992,5, - 317,0,0,2992,3008,1,0,0,0,2993,3005,3,314,157,0,2994,2995,5,1,0, - 0,2995,3000,3,206,103,0,2996,2997,5,3,0,0,2997,2999,3,206,103,0, - 2998,2996,1,0,0,0,2999,3002,1,0,0,0,3000,2998,1,0,0,0,3000,3001, - 1,0,0,0,3001,3003,1,0,0,0,3002,3000,1,0,0,0,3003,3004,5,2,0,0,3004, - 3006,1,0,0,0,3005,2994,1,0,0,0,3005,3006,1,0,0,0,3006,3008,1,0,0, - 0,3007,2936,1,0,0,0,3007,2949,1,0,0,0,3007,2955,1,0,0,0,3007,2967, - 1,0,0,0,3007,2979,1,0,0,0,3007,2981,1,0,0,0,3007,2986,1,0,0,0,3007, - 2993,1,0,0,0,3008,3018,1,0,0,0,3009,3010,10,2,0,0,3010,3014,5,27, - 0,0,3011,3012,5,8,0,0,3012,3013,5,330,0,0,3013,3015,5,9,0,0,3014, - 3011,1,0,0,0,3014,3015,1,0,0,0,3015,3017,1,0,0,0,3016,3009,1,0,0, - 0,3017,3020,1,0,0,0,3018,3016,1,0,0,0,3018,3019,1,0,0,0,3019,203, - 1,0,0,0,3020,3018,1,0,0,0,3021,3026,3,202,101,0,3022,3023,3,314, - 157,0,3023,3024,3,202,101,0,3024,3026,1,0,0,0,3025,3021,1,0,0,0, - 3025,3022,1,0,0,0,3026,205,1,0,0,0,3027,3030,5,330,0,0,3028,3030, - 3,202,101,0,3029,3027,1,0,0,0,3029,3028,1,0,0,0,3030,207,1,0,0,0, - 3031,3032,5,301,0,0,3032,3033,3,154,77,0,3033,3034,5,266,0,0,3034, - 3035,3,154,77,0,3035,209,1,0,0,0,3036,3037,5,100,0,0,3037,3038,5, - 1,0,0,3038,3039,3,54,27,0,3039,3040,5,2,0,0,3040,211,1,0,0,0,3041, - 3042,5,301,0,0,3042,3045,5,165,0,0,3043,3044,5,25,0,0,3044,3046, - 3,154,77,0,3045,3043,1,0,0,0,3045,3046,1,0,0,0,3046,3047,1,0,0,0, - 3047,3048,5,266,0,0,3048,3049,5,288,0,0,3049,3050,5,252,0,0,3050, - 3051,3,314,157,0,3051,3052,5,313,0,0,3052,3060,3,154,77,0,3053,3054, - 5,3,0,0,3054,3055,3,314,157,0,3055,3056,5,313,0,0,3056,3057,3,154, - 77,0,3057,3059,1,0,0,0,3058,3053,1,0,0,0,3059,3062,1,0,0,0,3060, - 3058,1,0,0,0,3060,3061,1,0,0,0,3061,3106,1,0,0,0,3062,3060,1,0,0, - 0,3063,3064,5,301,0,0,3064,3067,5,165,0,0,3065,3066,5,25,0,0,3066, - 3068,3,154,77,0,3067,3065,1,0,0,0,3067,3068,1,0,0,0,3068,3069,1, - 0,0,0,3069,3070,5,266,0,0,3070,3106,5,74,0,0,3071,3072,5,301,0,0, - 3072,3073,5,183,0,0,3073,3076,5,165,0,0,3074,3075,5,25,0,0,3075, - 3077,3,154,77,0,3076,3074,1,0,0,0,3076,3077,1,0,0,0,3077,3078,1, - 0,0,0,3078,3079,5,266,0,0,3079,3091,5,128,0,0,3080,3081,5,1,0,0, - 3081,3086,3,314,157,0,3082,3083,5,3,0,0,3083,3085,3,314,157,0,3084, - 3082,1,0,0,0,3085,3088,1,0,0,0,3086,3084,1,0,0,0,3086,3087,1,0,0, - 0,3087,3089,1,0,0,0,3088,3086,1,0,0,0,3089,3090,5,2,0,0,3090,3092, - 1,0,0,0,3091,3080,1,0,0,0,3091,3092,1,0,0,0,3092,3093,1,0,0,0,3093, - 3094,5,297,0,0,3094,3095,5,1,0,0,3095,3100,3,154,77,0,3096,3097, - 5,3,0,0,3097,3099,3,154,77,0,3098,3096,1,0,0,0,3099,3102,1,0,0,0, - 3100,3098,1,0,0,0,3100,3101,1,0,0,0,3101,3103,1,0,0,0,3102,3100, - 1,0,0,0,3103,3104,5,2,0,0,3104,3106,1,0,0,0,3105,3041,1,0,0,0,3105, - 3063,1,0,0,0,3105,3071,1,0,0,0,3106,213,1,0,0,0,3107,3113,5,200, - 0,0,3108,3114,3,314,157,0,3109,3110,5,1,0,0,3110,3111,3,72,36,0, - 3111,3112,5,2,0,0,3112,3114,1,0,0,0,3113,3108,1,0,0,0,3113,3109, - 1,0,0,0,3114,215,1,0,0,0,3115,3116,5,169,0,0,3116,3121,3,106,53, - 0,3117,3118,5,3,0,0,3118,3120,3,106,53,0,3119,3117,1,0,0,0,3120, - 3123,1,0,0,0,3121,3119,1,0,0,0,3121,3122,1,0,0,0,3122,3125,1,0,0, - 0,3123,3121,1,0,0,0,3124,3115,1,0,0,0,3124,3125,1,0,0,0,3125,3126, - 1,0,0,0,3126,3130,3,218,109,0,3127,3128,5,21,0,0,3128,3129,5,164, - 0,0,3129,3131,3,112,56,0,3130,3127,1,0,0,0,3130,3131,1,0,0,0,3131, - 3133,1,0,0,0,3132,3134,7,13,0,0,3133,3132,1,0,0,0,3133,3134,1,0, - 0,0,3134,3140,1,0,0,0,3135,3136,5,207,0,0,3136,3137,5,1,0,0,3137, - 3138,3,222,111,0,3138,3139,5,2,0,0,3139,3141,1,0,0,0,3140,3135,1, - 0,0,0,3140,3141,1,0,0,0,3141,3151,1,0,0,0,3142,3143,5,258,0,0,3143, - 3148,3,114,57,0,3144,3145,5,3,0,0,3145,3147,3,114,57,0,3146,3144, - 1,0,0,0,3147,3150,1,0,0,0,3148,3146,1,0,0,0,3148,3149,1,0,0,0,3149, - 3152,1,0,0,0,3150,3148,1,0,0,0,3151,3142,1,0,0,0,3151,3152,1,0,0, - 0,3152,3162,1,0,0,0,3153,3154,5,72,0,0,3154,3159,3,116,58,0,3155, - 3156,5,3,0,0,3156,3158,3,116,58,0,3157,3155,1,0,0,0,3158,3161,1, - 0,0,0,3159,3157,1,0,0,0,3159,3160,1,0,0,0,3160,3163,1,0,0,0,3161, - 3159,1,0,0,0,3162,3153,1,0,0,0,3162,3163,1,0,0,0,3163,217,1,0,0, - 0,3164,3165,5,220,0,0,3165,3189,3,220,110,0,3166,3167,5,241,0,0, - 3167,3189,3,220,110,0,3168,3169,5,117,0,0,3169,3189,3,220,110,0, - 3170,3171,5,220,0,0,3171,3172,5,34,0,0,3172,3173,3,220,110,0,3173, - 3174,5,25,0,0,3174,3175,3,220,110,0,3175,3189,1,0,0,0,3176,3177, - 5,241,0,0,3177,3178,5,34,0,0,3178,3179,3,220,110,0,3179,3180,5,25, - 0,0,3180,3181,3,220,110,0,3181,3189,1,0,0,0,3182,3183,5,117,0,0, - 3183,3184,5,34,0,0,3184,3185,3,220,110,0,3185,3186,5,25,0,0,3186, - 3187,3,220,110,0,3187,3189,1,0,0,0,3188,3164,1,0,0,0,3188,3166,1, - 0,0,0,3188,3168,1,0,0,0,3188,3170,1,0,0,0,3188,3176,1,0,0,0,3188, - 3182,1,0,0,0,3189,219,1,0,0,0,3190,3191,5,279,0,0,3191,3200,5,213, - 0,0,3192,3193,5,279,0,0,3193,3200,5,103,0,0,3194,3195,5,57,0,0,3195, - 3200,5,240,0,0,3196,3197,3,154,77,0,3197,3198,7,30,0,0,3198,3200, - 1,0,0,0,3199,3190,1,0,0,0,3199,3192,1,0,0,0,3199,3194,1,0,0,0,3199, - 3196,1,0,0,0,3200,221,1,0,0,0,3201,3202,6,111,-1,0,3202,3204,3,224, - 112,0,3203,3205,3,226,113,0,3204,3203,1,0,0,0,3204,3205,1,0,0,0, - 3205,3213,1,0,0,0,3206,3207,10,2,0,0,3207,3212,3,222,111,3,3208, - 3209,10,1,0,0,3209,3210,5,11,0,0,3210,3212,3,222,111,2,3211,3206, - 1,0,0,0,3211,3208,1,0,0,0,3212,3215,1,0,0,0,3213,3211,1,0,0,0,3213, - 3214,1,0,0,0,3214,223,1,0,0,0,3215,3213,1,0,0,0,3216,3242,3,314, - 157,0,3217,3218,5,1,0,0,3218,3242,5,2,0,0,3219,3220,5,210,0,0,3220, - 3221,5,1,0,0,3221,3226,3,222,111,0,3222,3223,5,3,0,0,3223,3225,3, - 222,111,0,3224,3222,1,0,0,0,3225,3228,1,0,0,0,3226,3224,1,0,0,0, - 3226,3227,1,0,0,0,3227,3229,1,0,0,0,3228,3226,1,0,0,0,3229,3230, - 5,2,0,0,3230,3242,1,0,0,0,3231,3232,5,1,0,0,3232,3233,3,222,111, - 0,3233,3234,5,2,0,0,3234,3242,1,0,0,0,3235,3242,5,12,0,0,3236,3242, - 5,13,0,0,3237,3238,5,14,0,0,3238,3239,3,222,111,0,3239,3240,5,15, - 0,0,3240,3242,1,0,0,0,3241,3216,1,0,0,0,3241,3217,1,0,0,0,3241,3219, - 1,0,0,0,3241,3231,1,0,0,0,3241,3235,1,0,0,0,3241,3236,1,0,0,0,3241, - 3237,1,0,0,0,3242,225,1,0,0,0,3243,3245,5,321,0,0,3244,3246,5,325, - 0,0,3245,3244,1,0,0,0,3245,3246,1,0,0,0,3246,3274,1,0,0,0,3247,3249, - 5,319,0,0,3248,3250,5,325,0,0,3249,3248,1,0,0,0,3249,3250,1,0,0, - 0,3250,3274,1,0,0,0,3251,3253,5,325,0,0,3252,3254,5,325,0,0,3253, - 3252,1,0,0,0,3253,3254,1,0,0,0,3254,3274,1,0,0,0,3255,3256,5,16, - 0,0,3256,3257,5,330,0,0,3257,3259,5,17,0,0,3258,3260,5,325,0,0,3259, - 3258,1,0,0,0,3259,3260,1,0,0,0,3260,3274,1,0,0,0,3261,3263,5,16, - 0,0,3262,3264,5,330,0,0,3263,3262,1,0,0,0,3263,3264,1,0,0,0,3264, - 3265,1,0,0,0,3265,3267,5,3,0,0,3266,3268,5,330,0,0,3267,3266,1,0, - 0,0,3267,3268,1,0,0,0,3268,3269,1,0,0,0,3269,3271,5,17,0,0,3270, - 3272,5,325,0,0,3271,3270,1,0,0,0,3271,3272,1,0,0,0,3272,3274,1,0, - 0,0,3273,3243,1,0,0,0,3273,3247,1,0,0,0,3273,3251,1,0,0,0,3273,3255, - 1,0,0,0,3273,3261,1,0,0,0,3274,227,1,0,0,0,3275,3276,3,314,157,0, - 3276,3277,5,313,0,0,3277,3278,3,154,77,0,3278,229,1,0,0,0,3279,3280, - 5,105,0,0,3280,3284,7,31,0,0,3281,3282,5,277,0,0,3282,3284,7,32, - 0,0,3283,3279,1,0,0,0,3283,3281,1,0,0,0,3284,231,1,0,0,0,3285,3286, - 5,135,0,0,3286,3287,5,154,0,0,3287,3291,3,234,117,0,3288,3289,5, - 221,0,0,3289,3291,7,33,0,0,3290,3285,1,0,0,0,3290,3288,1,0,0,0,3291, - 233,1,0,0,0,3292,3293,5,221,0,0,3293,3300,5,280,0,0,3294,3295,5, - 221,0,0,3295,3300,5,49,0,0,3296,3297,5,226,0,0,3297,3300,5,221,0, - 0,3298,3300,5,250,0,0,3299,3292,1,0,0,0,3299,3294,1,0,0,0,3299,3296, - 1,0,0,0,3299,3298,1,0,0,0,3300,235,1,0,0,0,3301,3307,3,154,77,0, - 3302,3303,3,314,157,0,3303,3304,5,6,0,0,3304,3305,3,154,77,0,3305, - 3307,1,0,0,0,3306,3301,1,0,0,0,3306,3302,1,0,0,0,3307,237,1,0,0, - 0,3308,3309,3,314,157,0,3309,3310,5,4,0,0,3310,3311,3,314,157,0, - 3311,3314,1,0,0,0,3312,3314,3,314,157,0,3313,3308,1,0,0,0,3313,3312, - 1,0,0,0,3314,239,1,0,0,0,3315,3320,3,238,119,0,3316,3317,5,3,0,0, - 3317,3319,3,238,119,0,3318,3316,1,0,0,0,3319,3322,1,0,0,0,3320,3318, - 1,0,0,0,3320,3321,1,0,0,0,3321,241,1,0,0,0,3322,3320,1,0,0,0,3323, - 3324,5,108,0,0,3324,3325,3,244,122,0,3325,3329,3,250,125,0,3326, - 3328,3,252,126,0,3327,3326,1,0,0,0,3328,3331,1,0,0,0,3329,3327,1, - 0,0,0,3329,3330,1,0,0,0,3330,3332,1,0,0,0,3331,3329,1,0,0,0,3332, - 3333,3,254,127,0,3333,243,1,0,0,0,3334,3335,3,292,146,0,3335,3344, - 5,1,0,0,3336,3341,3,248,124,0,3337,3338,5,3,0,0,3338,3340,3,248, - 124,0,3339,3337,1,0,0,0,3340,3343,1,0,0,0,3341,3339,1,0,0,0,3341, - 3342,1,0,0,0,3342,3345,1,0,0,0,3343,3341,1,0,0,0,3344,3336,1,0,0, - 0,3344,3345,1,0,0,0,3345,3346,1,0,0,0,3346,3347,5,2,0,0,3347,245, - 1,0,0,0,3348,3349,3,290,145,0,3349,3358,5,1,0,0,3350,3355,3,248, - 124,0,3351,3352,5,3,0,0,3352,3354,3,248,124,0,3353,3351,1,0,0,0, - 3354,3357,1,0,0,0,3355,3353,1,0,0,0,3355,3356,1,0,0,0,3356,3359, - 1,0,0,0,3357,3355,1,0,0,0,3358,3350,1,0,0,0,3358,3359,1,0,0,0,3359, - 3360,1,0,0,0,3360,3361,5,2,0,0,3361,247,1,0,0,0,3362,3364,3,314, - 157,0,3363,3362,1,0,0,0,3363,3364,1,0,0,0,3364,3365,1,0,0,0,3365, - 3366,3,202,101,0,3366,249,1,0,0,0,3367,3368,5,233,0,0,3368,3369, - 3,202,101,0,3369,251,1,0,0,0,3370,3371,5,148,0,0,3371,3390,3,314, - 157,0,3372,3374,5,183,0,0,3373,3372,1,0,0,0,3373,3374,1,0,0,0,3374, - 3375,1,0,0,0,3375,3390,5,79,0,0,3376,3377,5,233,0,0,3377,3378,5, - 184,0,0,3378,3379,5,191,0,0,3379,3380,5,184,0,0,3380,3390,5,127, - 0,0,3381,3382,5,38,0,0,3382,3383,5,191,0,0,3383,3384,5,184,0,0,3384, - 3390,5,127,0,0,3385,3386,5,247,0,0,3386,3390,7,1,0,0,3387,3388,5, - 47,0,0,3388,3390,3,186,93,0,3389,3370,1,0,0,0,3389,3373,1,0,0,0, - 3389,3376,1,0,0,0,3389,3381,1,0,0,0,3389,3385,1,0,0,0,3389,3387, - 1,0,0,0,3390,253,1,0,0,0,3391,3392,5,231,0,0,3392,3491,3,160,80, - 0,3393,3394,5,252,0,0,3394,3395,3,314,157,0,3395,3396,5,313,0,0, - 3396,3397,3,154,77,0,3397,3491,1,0,0,0,3398,3399,5,40,0,0,3399,3401, - 3,154,77,0,3400,3402,3,256,128,0,3401,3400,1,0,0,0,3402,3403,1,0, - 0,0,3403,3401,1,0,0,0,3403,3404,1,0,0,0,3404,3406,1,0,0,0,3405,3407, - 3,260,130,0,3406,3405,1,0,0,0,3406,3407,1,0,0,0,3407,3408,1,0,0, - 0,3408,3409,5,89,0,0,3409,3410,5,40,0,0,3410,3491,1,0,0,0,3411,3413, - 5,40,0,0,3412,3414,3,256,128,0,3413,3412,1,0,0,0,3414,3415,1,0,0, - 0,3415,3413,1,0,0,0,3415,3416,1,0,0,0,3416,3418,1,0,0,0,3417,3419, - 3,260,130,0,3418,3417,1,0,0,0,3418,3419,1,0,0,0,3419,3420,1,0,0, - 0,3420,3421,5,89,0,0,3421,3422,5,40,0,0,3422,3491,1,0,0,0,3423,3424, - 5,120,0,0,3424,3425,3,154,77,0,3425,3426,5,266,0,0,3426,3430,3,264, - 132,0,3427,3429,3,258,129,0,3428,3427,1,0,0,0,3429,3432,1,0,0,0, - 3430,3428,1,0,0,0,3430,3431,1,0,0,0,3431,3434,1,0,0,0,3432,3430, - 1,0,0,0,3433,3435,3,260,130,0,3434,3433,1,0,0,0,3434,3435,1,0,0, - 0,3435,3436,1,0,0,0,3436,3437,5,89,0,0,3437,3438,5,120,0,0,3438, - 3491,1,0,0,0,3439,3440,5,136,0,0,3440,3491,3,314,157,0,3441,3442, - 5,152,0,0,3442,3491,3,314,157,0,3443,3449,5,32,0,0,3444,3445,3,262, - 131,0,3445,3446,5,326,0,0,3446,3448,1,0,0,0,3447,3444,1,0,0,0,3448, - 3451,1,0,0,0,3449,3447,1,0,0,0,3449,3450,1,0,0,0,3450,3453,1,0,0, - 0,3451,3449,1,0,0,0,3452,3454,3,264,132,0,3453,3452,1,0,0,0,3453, - 3454,1,0,0,0,3454,3455,1,0,0,0,3455,3491,5,89,0,0,3456,3457,3,314, - 157,0,3457,3458,5,10,0,0,3458,3460,1,0,0,0,3459,3456,1,0,0,0,3459, - 3460,1,0,0,0,3460,3461,1,0,0,0,3461,3462,5,162,0,0,3462,3463,3,264, - 132,0,3463,3464,5,89,0,0,3464,3465,5,162,0,0,3465,3491,1,0,0,0,3466, - 3467,3,314,157,0,3467,3468,5,10,0,0,3468,3470,1,0,0,0,3469,3466, - 1,0,0,0,3469,3470,1,0,0,0,3470,3471,1,0,0,0,3471,3472,5,303,0,0, - 3472,3473,3,154,77,0,3473,3474,5,82,0,0,3474,3475,3,264,132,0,3475, - 3476,5,89,0,0,3476,3477,5,303,0,0,3477,3491,1,0,0,0,3478,3479,3, - 314,157,0,3479,3480,5,10,0,0,3480,3482,1,0,0,0,3481,3478,1,0,0,0, - 3481,3482,1,0,0,0,3482,3483,1,0,0,0,3483,3484,5,225,0,0,3484,3485, - 3,264,132,0,3485,3486,5,287,0,0,3486,3487,3,154,77,0,3487,3488,5, - 89,0,0,3488,3489,5,225,0,0,3489,3491,1,0,0,0,3490,3391,1,0,0,0,3490, - 3393,1,0,0,0,3490,3398,1,0,0,0,3490,3411,1,0,0,0,3490,3423,1,0,0, - 0,3490,3439,1,0,0,0,3490,3441,1,0,0,0,3490,3443,1,0,0,0,3490,3459, - 1,0,0,0,3490,3469,1,0,0,0,3490,3481,1,0,0,0,3491,255,1,0,0,0,3492, - 3493,5,301,0,0,3493,3494,3,154,77,0,3494,3495,5,266,0,0,3495,3496, - 3,264,132,0,3496,257,1,0,0,0,3497,3498,5,87,0,0,3498,3499,3,154, - 77,0,3499,3500,5,266,0,0,3500,3501,3,264,132,0,3501,259,1,0,0,0, - 3502,3503,5,85,0,0,3503,3504,3,264,132,0,3504,261,1,0,0,0,3505,3506, - 5,70,0,0,3506,3511,3,314,157,0,3507,3508,5,3,0,0,3508,3510,3,314, - 157,0,3509,3507,1,0,0,0,3510,3513,1,0,0,0,3511,3509,1,0,0,0,3511, - 3512,1,0,0,0,3512,3514,1,0,0,0,3513,3511,1,0,0,0,3514,3517,3,202, - 101,0,3515,3516,5,71,0,0,3516,3518,3,160,80,0,3517,3515,1,0,0,0, - 3517,3518,1,0,0,0,3518,263,1,0,0,0,3519,3520,3,254,127,0,3520,3521, - 5,326,0,0,3521,3523,1,0,0,0,3522,3519,1,0,0,0,3523,3524,1,0,0,0, - 3524,3522,1,0,0,0,3524,3525,1,0,0,0,3525,265,1,0,0,0,3526,3533,5, - 54,0,0,3527,3533,5,249,0,0,3528,3533,5,74,0,0,3529,3533,5,128,0, - 0,3530,3533,5,288,0,0,3531,3533,3,314,157,0,3532,3526,1,0,0,0,3532, - 3527,1,0,0,0,3532,3528,1,0,0,0,3532,3529,1,0,0,0,3532,3530,1,0,0, - 0,3532,3531,1,0,0,0,3533,267,1,0,0,0,3534,3538,5,261,0,0,3535,3538, - 5,244,0,0,3536,3538,3,314,157,0,3537,3534,1,0,0,0,3537,3535,1,0, - 0,0,3537,3536,1,0,0,0,3538,269,1,0,0,0,3539,3541,3,268,134,0,3540, - 3539,1,0,0,0,3540,3541,1,0,0,0,3541,3542,1,0,0,0,3542,3543,3,300, - 150,0,3543,271,1,0,0,0,3544,3547,3,274,137,0,3545,3547,3,278,139, - 0,3546,3544,1,0,0,0,3546,3545,1,0,0,0,3547,273,1,0,0,0,3548,3560, - 3,314,157,0,3549,3550,3,314,157,0,3550,3551,5,4,0,0,3551,3552,3, - 314,157,0,3552,3560,1,0,0,0,3553,3554,3,314,157,0,3554,3555,5,4, - 0,0,3555,3556,3,314,157,0,3556,3557,5,4,0,0,3557,3558,3,314,157, - 0,3558,3560,1,0,0,0,3559,3548,1,0,0,0,3559,3549,1,0,0,0,3559,3553, - 1,0,0,0,3560,275,1,0,0,0,3561,3573,3,314,157,0,3562,3563,3,314,157, - 0,3563,3564,5,4,0,0,3564,3565,3,314,157,0,3565,3573,1,0,0,0,3566, - 3567,3,314,157,0,3567,3568,5,4,0,0,3568,3569,3,314,157,0,3569,3570, - 5,4,0,0,3570,3571,3,314,157,0,3571,3573,1,0,0,0,3572,3561,1,0,0, - 0,3572,3562,1,0,0,0,3572,3566,1,0,0,0,3573,277,1,0,0,0,3574,3586, - 3,314,157,0,3575,3576,3,314,157,0,3576,3577,5,4,0,0,3577,3578,3, - 314,157,0,3578,3586,1,0,0,0,3579,3580,3,314,157,0,3580,3581,5,4, - 0,0,3581,3582,3,314,157,0,3582,3583,5,4,0,0,3583,3584,3,314,157, - 0,3584,3586,1,0,0,0,3585,3574,1,0,0,0,3585,3575,1,0,0,0,3585,3579, - 1,0,0,0,3586,279,1,0,0,0,3587,3599,3,314,157,0,3588,3589,3,314,157, - 0,3589,3590,5,4,0,0,3590,3591,3,314,157,0,3591,3599,1,0,0,0,3592, - 3593,3,314,157,0,3593,3594,5,4,0,0,3594,3595,3,314,157,0,3595,3596, - 5,4,0,0,3596,3597,3,314,157,0,3597,3599,1,0,0,0,3598,3587,1,0,0, - 0,3598,3588,1,0,0,0,3598,3592,1,0,0,0,3599,281,1,0,0,0,3600,3606, - 3,314,157,0,3601,3602,3,314,157,0,3602,3603,5,4,0,0,3603,3604,3, - 314,157,0,3604,3606,1,0,0,0,3605,3600,1,0,0,0,3605,3601,1,0,0,0, - 3606,283,1,0,0,0,3607,3613,3,314,157,0,3608,3609,3,314,157,0,3609, - 3610,5,4,0,0,3610,3611,3,314,157,0,3611,3613,1,0,0,0,3612,3607,1, - 0,0,0,3612,3608,1,0,0,0,3613,285,1,0,0,0,3614,3615,3,314,157,0,3615, - 287,1,0,0,0,3616,3617,3,314,157,0,3617,289,1,0,0,0,3618,3619,3,300, - 150,0,3619,291,1,0,0,0,3620,3621,3,300,150,0,3621,293,1,0,0,0,3622, - 3625,3,300,150,0,3623,3625,4,147,14,0,3624,3622,1,0,0,0,3624,3623, - 1,0,0,0,3625,295,1,0,0,0,3626,3627,3,300,150,0,3627,297,1,0,0,0, - 3628,3629,3,314,157,0,3629,299,1,0,0,0,3630,3635,3,314,157,0,3631, - 3632,5,4,0,0,3632,3634,3,314,157,0,3633,3631,1,0,0,0,3634,3637,1, - 0,0,0,3635,3633,1,0,0,0,3635,3636,1,0,0,0,3636,301,1,0,0,0,3637, - 3635,1,0,0,0,3638,3639,5,104,0,0,3639,3640,3,304,152,0,3640,3641, - 5,28,0,0,3641,3642,5,188,0,0,3642,3643,3,160,80,0,3643,303,1,0,0, - 0,3644,3645,7,34,0,0,3645,305,1,0,0,0,3646,3650,3,308,154,0,3647, - 3650,5,65,0,0,3648,3650,5,61,0,0,3649,3646,1,0,0,0,3649,3647,1,0, - 0,0,3649,3648,1,0,0,0,3650,307,1,0,0,0,3651,3657,3,314,157,0,3652, - 3653,5,290,0,0,3653,3657,3,314,157,0,3654,3655,5,236,0,0,3655,3657, - 3,314,157,0,3656,3651,1,0,0,0,3656,3652,1,0,0,0,3656,3654,1,0,0, - 0,3657,309,1,0,0,0,3658,3663,3,314,157,0,3659,3660,5,3,0,0,3660, - 3662,3,314,157,0,3661,3659,1,0,0,0,3662,3665,1,0,0,0,3663,3661,1, - 0,0,0,3663,3664,1,0,0,0,3664,311,1,0,0,0,3665,3663,1,0,0,0,3666, - 3674,5,54,0,0,3667,3674,5,249,0,0,3668,3674,5,74,0,0,3669,3674,5, - 128,0,0,3670,3674,5,288,0,0,3671,3674,5,94,0,0,3672,3674,3,314,157, - 0,3673,3666,1,0,0,0,3673,3667,1,0,0,0,3673,3668,1,0,0,0,3673,3669, - 1,0,0,0,3673,3670,1,0,0,0,3673,3671,1,0,0,0,3673,3672,1,0,0,0,3674, - 313,1,0,0,0,3675,3681,5,333,0,0,3676,3681,5,335,0,0,3677,3681,3, - 320,160,0,3678,3681,5,336,0,0,3679,3681,5,334,0,0,3680,3675,1,0, - 0,0,3680,3676,1,0,0,0,3680,3677,1,0,0,0,3680,3678,1,0,0,0,3680,3679, - 1,0,0,0,3681,315,1,0,0,0,3682,3684,5,320,0,0,3683,3682,1,0,0,0,3683, - 3684,1,0,0,0,3684,3685,1,0,0,0,3685,3695,5,331,0,0,3686,3688,5,320, - 0,0,3687,3686,1,0,0,0,3687,3688,1,0,0,0,3688,3689,1,0,0,0,3689,3695, - 5,332,0,0,3690,3692,5,320,0,0,3691,3690,1,0,0,0,3691,3692,1,0,0, - 0,3692,3693,1,0,0,0,3693,3695,5,330,0,0,3694,3683,1,0,0,0,3694,3687, - 1,0,0,0,3694,3691,1,0,0,0,3695,317,1,0,0,0,3696,3699,3,314,157,0, - 3697,3699,3,186,93,0,3698,3696,1,0,0,0,3698,3697,1,0,0,0,3699,319, - 1,0,0,0,3700,3701,7,35,0,0,3701,321,1,0,0,0,478,325,334,338,342, - 346,350,363,370,374,378,384,388,395,400,404,410,414,433,439,443, - 447,451,459,463,466,471,477,486,492,496,502,509,517,529,538,547, - 553,564,572,580,587,597,604,612,627,662,665,668,671,677,682,689, - 695,699,703,711,717,721,725,739,747,766,791,794,801,808,817,821, - 828,836,845,851,856,860,868,873,882,888,895,904,910,914,920,927, - 932,945,950,962,966,972,981,986,992,1020,1026,1028,1034,1040,1042, - 1050,1052,1062,1064,1079,1084,1091,1101,1107,1109,1117,1119,1144, - 1147,1151,1155,1173,1176,1187,1190,1206,1216,1220,1226,1229,1238, - 1250,1253,1263,1267,1273,1280,1285,1291,1295,1299,1305,1316,1325, - 1335,1338,1343,1345,1352,1358,1360,1364,1374,1380,1383,1385,1397, - 1404,1408,1411,1415,1419,1428,1431,1434,1439,1442,1450,1453,1466, - 1470,1477,1485,1496,1499,1509,1512,1523,1528,1536,1539,1543,1547, - 1556,1561,1570,1573,1576,1580,1591,1594,1597,1602,1605,1634,1638, - 1642,1646,1650,1654,1656,1667,1672,1681,1690,1693,1699,1707,1716, - 1719,1727,1730,1733,1738,1741,1753,1756,1764,1769,1773,1775,1777, - 1792,1794,1805,1826,1836,1847,1851,1853,1861,1872,1883,1890,1897, - 1910,1916,1938,1953,1958,1962,1972,1978,1984,1992,1997,2004,2006, - 2012,2018,2022,2027,2036,2041,2055,2065,2068,2077,2082,2087,2089, - 2098,2101,2109,2112,2119,2124,2131,2135,2137,2145,2155,2161,2163, - 2170,2174,2176,2183,2187,2189,2191,2200,2211,2215,2225,2235,2239, - 2247,2249,2262,2270,2279,2285,2293,2299,2303,2308,2313,2319,2333, - 2335,2365,2376,2384,2389,2394,2407,2413,2416,2423,2428,2431,2434, - 2439,2446,2449,2458,2461,2465,2468,2471,2486,2489,2508,2512,2520, - 2524,2549,2552,2561,2567,2573,2579,2588,2591,2594,2613,2622,2640, - 2656,2659,2669,2678,2684,2690,2701,2703,2708,2715,2717,2723,2729, - 2740,2749,2754,2759,2761,2763,2769,2771,2781,2790,2792,2798,2800, - 2803,2813,2815,2823,2831,2834,2839,2844,2856,2860,2864,2867,2869, - 2877,2880,2890,2898,2904,2906,2914,2924,2930,2944,2953,2960,2965, - 2972,2977,3000,3005,3007,3014,3018,3025,3029,3045,3060,3067,3076, - 3086,3091,3100,3105,3113,3121,3124,3130,3133,3140,3148,3151,3159, - 3162,3188,3199,3204,3211,3213,3226,3241,3245,3249,3253,3259,3263, - 3267,3271,3273,3283,3290,3299,3306,3313,3320,3329,3341,3344,3355, - 3358,3363,3373,3389,3403,3406,3415,3418,3430,3434,3449,3453,3459, - 3469,3481,3490,3511,3517,3524,3532,3537,3540,3546,3559,3572,3585, - 3598,3605,3612,3624,3635,3649,3656,3663,3673,3680,3683,3687,3691, - 3694,3698 + 1,8,5,8,740,8,8,10,8,12,8,743,9,8,3,8,745,8,8,1,8,1,8,1,8,1,8,1, + 8,3,8,752,8,8,1,8,1,8,1,8,1,8,1,8,3,8,759,8,8,1,8,1,8,1,8,1,8,1, + 8,5,8,766,8,8,10,8,12,8,769,9,8,3,8,771,8,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,3,8,781,8,8,1,8,1,8,3,8,785,8,8,1,8,1,8,1,8,1,8,1,8, + 3,8,792,8,8,1,8,1,8,1,8,1,8,5,8,798,8,8,10,8,12,8,801,9,8,1,8,1, + 8,1,8,1,8,5,8,807,8,8,10,8,12,8,810,9,8,1,8,1,8,1,8,3,8,815,8,8, + 1,8,1,8,1,8,3,8,820,8,8,1,8,1,8,3,8,824,8,8,1,8,1,8,1,8,1,8,5,8, + 830,8,8,10,8,12,8,833,9,8,1,8,1,8,3,8,837,8,8,1,8,1,8,1,8,1,8,1, + 8,1,8,1,8,3,8,846,8,8,1,8,1,8,1,8,1,8,3,8,852,8,8,1,8,1,8,1,8,5, + 8,857,8,8,10,8,12,8,860,9,8,1,8,1,8,1,8,1,8,5,8,866,8,8,10,8,12, + 8,869,9,8,1,8,1,8,1,8,3,8,874,8,8,1,8,1,8,3,8,878,8,8,1,8,1,8,1, + 8,1,8,3,8,884,8,8,1,8,1,8,1,8,5,8,889,8,8,10,8,12,8,892,9,8,1,8, + 1,8,3,8,896,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,907,8,8, + 10,8,12,8,910,9,8,1,8,1,8,3,8,914,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1, + 8,1,8,1,8,1,8,3,8,926,8,8,1,8,1,8,3,8,930,8,8,1,8,1,8,1,8,1,8,3, + 8,936,8,8,1,8,1,8,1,8,1,8,1,8,5,8,943,8,8,10,8,12,8,946,9,8,1,8, + 1,8,3,8,950,8,8,1,8,1,8,1,8,1,8,3,8,956,8,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,3,8,984,8,8,1,8,1,8,1,8,1,8,3,8,990,8,8,3,8, + 992,8,8,1,8,1,8,1,8,1,8,3,8,998,8,8,1,8,1,8,1,8,1,8,3,8,1004,8,8, + 3,8,1006,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1014,8,8,3,8,1016,8,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1026,8,8,3,8,1028,8,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1043,8,8,1,8,1,8, + 1,8,3,8,1048,8,8,1,8,1,8,1,8,1,8,1,8,3,8,1055,8,8,1,8,1,8,1,8,1, + 8,1,8,1,8,1,8,1,8,3,8,1065,8,8,1,8,1,8,1,8,1,8,3,8,1071,8,8,3,8, + 1073,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1081,8,8,3,8,1083,8,8,1,8,1, + 8,1,8,1,8,1,8,3,8,1090,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,1109,8,8,10,8,12,8,1112,9,8,3, + 8,1114,8,8,1,8,1,8,3,8,1118,8,8,1,8,1,8,3,8,1122,8,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,1138,8,8,10,8,12, + 8,1141,9,8,3,8,1143,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,1152,8,8, + 10,8,12,8,1155,9,8,3,8,1157,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,3,8,1173,8,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8, + 1181,8,8,10,8,12,8,1184,9,8,1,8,3,8,1187,8,8,1,8,1,8,1,8,1,8,3,8, + 1193,8,8,1,8,3,8,1196,8,8,1,8,1,8,1,8,1,8,1,8,4,8,1203,8,8,11,8, + 12,8,1204,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1217,8,8,1, + 9,3,9,1220,8,9,1,9,1,9,1,10,1,10,1,10,1,10,5,10,1228,8,10,10,10, + 12,10,1231,9,10,1,11,3,11,1234,8,11,1,11,1,11,1,12,1,12,3,12,1240, + 8,12,1,12,1,12,1,12,5,12,1245,8,12,10,12,12,12,1248,9,12,1,13,1, + 13,1,13,1,13,1,13,3,13,1255,8,13,3,13,1257,8,13,1,14,1,14,1,14,1, + 14,3,14,1263,8,14,1,14,1,14,3,14,1267,8,14,1,14,1,14,3,14,1271,8, + 14,1,15,1,15,1,15,1,15,1,16,1,16,1,16,5,16,1280,8,16,10,16,12,16, + 1283,9,16,1,17,1,17,1,17,1,17,3,17,1289,8,17,1,18,1,18,1,18,1,18, + 1,18,1,18,5,18,1297,8,18,10,18,12,18,1300,9,18,3,18,1302,8,18,1, + 18,1,18,1,18,3,18,1307,8,18,3,18,1309,8,18,1,18,1,18,1,18,1,18,1, + 18,3,18,1316,8,18,1,18,1,18,1,18,1,18,3,18,1322,8,18,3,18,1324,8, + 18,1,19,1,19,1,19,1,19,1,19,1,19,3,19,1332,8,19,1,19,1,19,1,19,1, + 19,3,19,1338,8,19,1,19,5,19,1341,8,19,10,19,12,19,1344,9,19,1,20, + 1,20,1,20,1,20,1,20,1,20,1,20,5,20,1353,8,20,10,20,12,20,1356,9, + 20,1,20,1,20,1,20,1,20,3,20,1362,8,20,1,21,1,21,3,21,1366,8,21,1, + 21,3,21,1369,8,21,1,21,1,21,3,21,1373,8,21,1,22,1,22,3,22,1377,8, + 22,1,22,1,22,1,22,1,22,1,22,5,22,1384,8,22,10,22,12,22,1387,9,22, + 3,22,1389,8,22,1,22,3,22,1392,8,22,1,22,1,22,1,22,3,22,1397,8,22, + 1,22,3,22,1400,8,22,1,22,1,22,1,22,1,22,5,22,1406,8,22,10,22,12, + 22,1409,9,22,3,22,1411,8,22,1,23,1,23,1,23,1,24,1,24,1,24,1,25,1, + 25,1,25,5,25,1422,8,25,10,25,12,25,1425,9,25,1,26,3,26,1428,8,26, + 1,26,1,26,1,26,5,26,1433,8,26,10,26,12,26,1436,9,26,1,27,1,27,1, + 27,5,27,1441,8,27,10,27,12,27,1444,9,27,1,28,1,28,1,28,1,28,1,28, + 1,28,5,28,1452,8,28,10,28,12,28,1455,9,28,3,28,1457,8,28,1,28,1, + 28,1,28,1,28,1,28,1,28,5,28,1465,8,28,10,28,12,28,1468,9,28,3,28, + 1470,8,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,5,28,1479,8,28,10,28, + 12,28,1482,9,28,1,28,1,28,3,28,1486,8,28,1,29,1,29,1,29,3,29,1491, + 8,29,1,29,1,29,1,29,3,29,1496,8,29,5,29,1498,8,29,10,29,12,29,1501, + 9,29,3,29,1503,8,29,1,29,1,29,1,29,3,29,1508,8,29,3,29,1510,8,29, + 1,30,1,30,1,30,1,30,1,30,1,30,1,31,3,31,1519,8,31,1,31,1,31,1,31, + 3,31,1524,8,31,1,31,1,31,1,31,1,31,1,31,5,31,1531,8,31,10,31,12, + 31,1534,9,31,3,31,1536,8,31,1,31,3,31,1539,8,31,1,32,1,32,3,32,1543, + 8,32,1,32,1,32,1,32,1,32,1,32,1,33,1,33,1,34,1,34,3,34,1554,8,34, + 1,34,3,34,1557,8,34,1,34,3,34,1560,8,34,1,34,1,34,1,34,3,34,1565, + 8,34,1,34,3,34,1568,8,34,1,35,1,35,1,36,1,36,1,36,1,36,1,37,1,37, + 1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39, + 1,39,1,39,1,39,1,39,1,39,1,39,5,39,1597,8,39,10,39,12,39,1600,9, + 39,1,39,1,39,3,39,1604,8,39,1,39,1,39,1,39,1,39,1,39,3,39,1611,8, + 39,5,39,1613,8,39,10,39,12,39,1616,9,39,1,40,3,40,1619,8,40,1,40, + 1,40,3,40,1623,8,40,1,40,1,40,3,40,1627,8,40,1,40,1,40,3,40,1631, + 8,40,3,40,1633,8,40,1,41,1,41,1,41,1,41,1,41,1,41,1,41,3,41,1642, + 8,41,1,42,1,42,1,42,3,42,1647,8,42,1,42,1,42,1,42,1,42,3,42,1653, + 8,42,3,42,1655,8,42,1,43,1,43,1,43,1,43,1,43,1,43,3,43,1663,8,43, + 1,43,1,43,1,43,1,43,1,43,5,43,1670,8,43,10,43,12,43,1673,9,43,3, + 43,1675,8,43,1,43,1,43,1,43,1,43,5,43,1681,8,43,10,43,12,43,1684, + 9,43,3,43,1686,8,43,1,43,3,43,1689,8,43,1,43,1,43,1,43,3,43,1694, + 8,43,1,43,3,43,1697,8,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43, + 5,43,1707,8,43,10,43,12,43,1710,9,43,3,43,1712,8,43,1,43,1,43,1, + 43,1,43,5,43,1718,8,43,10,43,12,43,1721,9,43,1,43,1,43,3,43,1725, + 8,43,1,43,1,43,3,43,1729,8,43,3,43,1731,8,43,3,43,1733,8,43,1,44, + 1,44,1,44,1,44,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45, + 1,45,1,45,1,45,1,45,1,45,1,45,1,45,3,45,1756,8,45,3,45,1758,8,45, + 1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46, + 1,46,1,46,1,46,1,46,1,46,1,46,3,46,1779,8,46,1,47,1,47,1,47,1,47, + 1,47,1,47,5,47,1787,8,47,10,47,12,47,1790,9,47,1,47,1,47,1,48,1, + 48,1,48,1,48,1,49,1,49,3,49,1800,8,49,1,49,1,49,3,49,1804,8,49,3, + 49,1806,8,49,1,50,1,50,1,50,1,50,5,50,1812,8,50,10,50,12,50,1815, + 9,50,1,50,1,50,1,51,1,51,1,51,1,51,5,51,1823,8,51,10,51,12,51,1826, + 9,51,1,51,1,51,1,52,1,52,1,52,1,52,5,52,1834,8,52,10,52,12,52,1837, + 9,52,1,52,1,52,1,53,1,53,1,53,1,53,1,53,1,53,3,53,1847,8,53,1,53, + 1,53,1,53,1,53,1,53,3,53,1854,8,53,1,54,1,54,1,54,1,54,1,54,1,54, + 1,54,1,54,1,54,5,54,1865,8,54,10,54,12,54,1868,9,54,1,54,1,54,1, + 54,3,54,1873,8,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1, + 54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,5,54,1893,8,54,10,54, + 12,54,1896,9,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54, + 1,54,1,54,3,54,1910,8,54,1,54,1,54,1,54,3,54,1915,8,54,1,54,1,54, + 3,54,1919,8,54,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,3,55,1929, + 8,55,1,55,1,55,1,55,1,55,3,55,1935,8,55,1,55,1,55,1,55,1,55,3,55, + 1941,8,55,1,55,1,55,1,55,1,55,1,55,1,55,3,55,1949,8,55,1,55,1,55, + 1,55,3,55,1954,8,55,1,55,1,55,1,55,1,55,1,55,3,55,1961,8,55,3,55, + 1963,8,55,1,55,1,55,1,55,1,55,3,55,1969,8,55,1,55,1,55,1,55,1,55, + 3,55,1975,8,55,1,55,1,55,3,55,1979,8,55,1,55,1,55,1,55,3,55,1984, + 8,55,1,55,1,55,1,55,1,55,1,55,5,55,1991,8,55,10,55,12,55,1994,9, + 55,1,55,1,55,3,55,1998,8,55,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1, + 56,1,56,1,56,5,56,2010,8,56,10,56,12,56,2013,9,56,1,56,1,56,1,56, + 1,56,1,56,5,56,2020,8,56,10,56,12,56,2023,9,56,3,56,2025,8,56,1, + 57,1,57,1,58,1,58,1,58,1,58,1,58,3,58,2034,8,58,1,59,1,59,1,59,3, + 59,2039,8,59,1,59,1,59,1,59,3,59,2044,8,59,3,59,2046,8,59,1,60,1, + 60,1,60,1,60,1,60,5,60,2053,8,60,10,60,12,60,2056,9,60,3,60,2058, + 8,60,1,60,1,60,1,60,1,60,5,60,2064,8,60,10,60,12,60,2067,9,60,3, + 60,2069,8,60,1,60,1,60,1,61,1,61,1,61,3,61,2076,8,61,1,61,1,61,1, + 61,3,61,2081,8,61,1,62,1,62,1,62,1,62,1,62,3,62,2088,8,62,1,62,1, + 62,3,62,2092,8,62,3,62,2094,8,62,1,62,1,62,1,62,1,62,1,62,1,62,3, + 62,2102,8,62,1,62,1,62,1,62,1,62,1,62,1,62,5,62,2110,8,62,10,62, + 12,62,2113,9,62,1,62,1,62,1,62,3,62,2118,8,62,3,62,2120,8,62,1,63, + 1,63,1,63,1,63,1,63,3,63,2127,8,63,1,63,1,63,3,63,2131,8,63,3,63, + 2133,8,63,1,63,1,63,1,63,1,63,1,63,3,63,2140,8,63,1,63,1,63,3,63, + 2144,8,63,3,63,2146,8,63,3,63,2148,8,63,1,64,1,64,1,64,1,64,1,64, + 5,64,2155,8,64,10,64,12,64,2158,9,64,1,64,1,64,1,64,1,64,1,64,1, + 64,1,64,1,64,3,64,2168,8,64,1,65,1,65,3,65,2172,8,65,1,66,1,66,1, + 66,1,66,1,66,1,66,5,66,2180,8,66,10,66,12,66,2183,9,66,1,66,1,66, + 1,67,1,67,1,68,1,68,1,68,3,68,2192,8,68,1,68,1,68,3,68,2196,8,68, + 1,68,1,68,1,68,1,68,1,68,1,68,5,68,2204,8,68,10,68,12,68,2207,9, + 68,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,3,69,2219,8, + 69,1,69,1,69,1,69,1,69,1,69,1,69,3,69,2227,8,69,1,69,1,69,1,69,1, + 69,1,69,5,69,2234,8,69,10,69,12,69,2237,9,69,1,69,1,69,1,69,3,69, + 2242,8,69,1,69,1,69,1,69,1,69,1,69,1,69,3,69,2250,8,69,1,69,1,69, + 1,69,1,69,3,69,2256,8,69,1,69,1,69,3,69,2260,8,69,1,69,1,69,1,69, + 3,69,2265,8,69,1,69,1,69,1,69,3,69,2270,8,69,1,70,1,70,1,70,1,70, + 3,70,2276,8,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70, + 1,70,1,70,1,70,1,70,1,70,1,70,1,70,3,70,2295,8,70,5,70,2297,8,70, + 10,70,12,70,2300,9,70,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1, + 71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1, + 71,1,71,1,71,1,71,4,71,2327,8,71,11,71,12,71,2328,1,71,1,71,1,71, + 1,71,1,71,1,71,1,71,5,71,2338,8,71,10,71,12,71,2341,9,71,1,71,1, + 71,1,71,1,71,1,71,3,71,2348,8,71,1,71,1,71,1,71,3,71,2353,8,71,1, + 71,1,71,1,71,3,71,2358,8,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1, + 71,1,71,5,71,2369,8,71,10,71,12,71,2372,9,71,1,71,1,71,1,71,3,71, + 2377,8,71,1,71,3,71,2380,8,71,1,71,1,71,1,71,1,71,1,71,3,71,2387, + 8,71,1,71,1,71,1,71,3,71,2392,8,71,1,71,3,71,2395,8,71,1,71,3,71, + 2398,8,71,1,71,1,71,1,71,3,71,2403,8,71,1,71,1,71,1,71,5,71,2408, + 8,71,10,71,12,71,2411,9,71,3,71,2413,8,71,1,71,1,71,1,71,1,71,1, + 71,5,71,2420,8,71,10,71,12,71,2423,9,71,3,71,2425,8,71,1,71,1,71, + 3,71,2429,8,71,1,71,1,71,1,71,1,71,3,71,2435,8,71,1,71,3,71,2438, + 8,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,5,71, + 2451,8,71,10,71,12,71,2454,9,71,3,71,2456,8,71,1,71,1,71,1,71,1, + 71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,4,71,2473, + 8,71,11,71,12,71,2474,1,71,1,71,3,71,2479,8,71,1,71,1,71,1,71,1, + 71,4,71,2485,8,71,11,71,12,71,2486,1,71,1,71,3,71,2491,8,71,1,71, + 1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71, + 1,71,1,71,1,71,1,71,1,71,1,71,1,71,5,71,2514,8,71,10,71,12,71,2517, + 9,71,3,71,2519,8,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,3,71,2528, + 8,71,1,71,1,71,1,71,1,71,3,71,2534,8,71,1,71,1,71,1,71,1,71,3,71, + 2540,8,71,1,71,1,71,1,71,1,71,3,71,2546,8,71,1,71,1,71,1,71,1,71, + 1,71,1,71,1,71,3,71,2555,8,71,1,71,3,71,2558,8,71,1,71,3,71,2561, + 8,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71, + 1,71,1,71,1,71,1,71,1,71,3,71,2580,8,71,1,71,1,71,1,71,1,71,1,71, + 1,71,1,71,3,71,2589,8,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71, + 1,71,1,71,1,71,1,71,1,71,1,71,5,71,2605,8,71,10,71,12,71,2608,9, + 71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,5,71,2621, + 8,71,10,71,12,71,2624,9,71,3,71,2626,8,71,1,71,1,71,1,71,1,71,1, + 71,1,71,1,71,3,71,2635,8,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,3, + 71,2644,8,71,1,71,1,71,1,71,1,71,3,71,2650,8,71,1,71,1,71,1,71,1, + 71,3,71,2656,8,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,3, + 71,2667,8,71,3,71,2669,8,71,1,71,1,71,1,71,3,71,2674,8,71,1,71,1, + 71,1,71,1,71,1,71,3,71,2681,8,71,3,71,2683,8,71,1,71,1,71,1,71,1, + 71,3,71,2689,8,71,1,71,1,71,1,71,1,71,3,71,2695,8,71,1,71,1,71,1, + 71,1,71,1,71,1,71,1,71,5,71,2704,8,71,10,71,12,71,2707,9,71,1,71, + 1,71,1,71,1,71,1,71,1,71,3,71,2715,8,71,1,71,1,71,1,71,3,71,2720, + 8,71,1,71,1,71,1,71,3,71,2725,8,71,3,71,2727,8,71,3,71,2729,8,71, + 1,71,1,71,1,71,1,71,3,71,2735,8,71,3,71,2737,8,71,1,71,1,71,1,71, + 1,71,1,71,1,71,5,71,2745,8,71,10,71,12,71,2748,9,71,1,71,1,71,1, + 71,1,71,1,71,1,71,3,71,2756,8,71,3,71,2758,8,71,1,71,1,71,1,71,1, + 71,3,71,2764,8,71,3,71,2766,8,71,1,71,3,71,2769,8,71,1,71,1,71,1, + 71,1,71,1,71,1,71,1,71,1,71,5,71,2779,8,71,10,71,12,71,2782,9,71, + 1,72,1,72,1,72,1,72,1,72,3,72,2789,8,72,1,72,1,72,1,72,1,72,5,72, + 2795,8,72,10,72,12,72,2798,9,72,3,72,2800,8,72,1,73,1,73,1,73,3, + 73,2805,8,73,1,74,1,74,1,74,3,74,2810,8,74,1,75,1,75,1,75,1,75,1, + 76,1,76,1,76,1,76,3,76,2820,8,76,1,77,1,77,3,77,2824,8,77,1,77,1, + 77,3,77,2828,8,77,1,77,3,77,2831,8,77,3,77,2833,8,77,1,78,1,78,1, + 78,1,78,1,78,1,78,3,78,2841,8,78,1,79,3,79,2844,8,79,1,79,1,79,1, + 79,1,79,1,79,1,79,1,79,1,79,3,79,2854,8,79,1,80,1,80,1,81,1,81,1, + 81,1,81,3,81,2862,8,81,3,81,2864,8,81,1,82,1,82,1,83,1,83,1,84,1, + 84,3,84,2872,8,84,1,84,1,84,1,84,1,84,3,84,2878,8,84,1,85,1,85,1, + 86,1,86,1,86,1,86,1,86,1,86,5,86,2888,8,86,10,86,12,86,2891,9,86, + 1,86,1,86,1,86,1,86,1,86,1,86,3,86,2899,8,86,1,86,1,86,1,86,1,86, + 1,86,3,86,2906,8,86,1,86,1,86,1,86,3,86,2911,8,86,1,86,1,86,1,86, + 1,86,1,86,3,86,2918,8,86,1,86,1,86,1,86,3,86,2923,8,86,1,86,1,86, + 1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86, + 1,86,1,86,1,86,1,86,5,86,2944,8,86,10,86,12,86,2947,9,86,1,86,1, + 86,3,86,2951,8,86,3,86,2953,8,86,1,86,1,86,1,86,1,86,1,86,3,86,2960, + 8,86,5,86,2962,8,86,10,86,12,86,2965,9,86,1,87,1,87,1,87,1,87,3, + 87,2971,8,87,1,88,1,88,3,88,2975,8,88,1,89,1,89,1,89,1,89,1,89,1, + 90,1,90,1,90,1,90,1,90,1,91,1,91,1,91,1,91,3,91,2991,8,91,1,91,1, + 91,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,91,5,91,3004,8,91,10, + 91,12,91,3007,9,91,1,91,1,91,1,91,1,91,3,91,3013,8,91,1,91,1,91, + 1,91,1,91,1,91,1,91,1,91,3,91,3022,8,91,1,91,1,91,1,91,1,91,1,91, + 1,91,5,91,3030,8,91,10,91,12,91,3033,9,91,1,91,1,91,3,91,3037,8, + 91,1,91,1,91,1,91,1,91,1,91,5,91,3044,8,91,10,91,12,91,3047,9,91, + 1,91,1,91,3,91,3051,8,91,1,92,1,92,1,92,1,92,1,92,1,92,3,92,3059, + 8,92,1,93,1,93,1,93,1,93,5,93,3065,8,93,10,93,12,93,3068,9,93,3, + 93,3070,8,93,1,93,1,93,1,93,1,93,3,93,3076,8,93,1,93,3,93,3079,8, + 93,1,93,1,93,1,93,1,93,1,93,3,93,3086,8,93,1,93,1,93,1,93,1,93,5, + 93,3092,8,93,10,93,12,93,3095,9,93,3,93,3097,8,93,1,93,1,93,1,93, + 1,93,5,93,3103,8,93,10,93,12,93,3106,9,93,3,93,3108,8,93,1,94,1, + 94,1,94,1,94,1,94,1,94,1,94,3,94,3117,8,94,1,95,1,95,1,95,1,95,1, + 95,1,95,1,95,1,95,1,95,3,95,3128,8,95,1,96,1,96,1,96,3,96,3133,8, + 96,1,96,1,96,1,96,1,96,1,96,5,96,3140,8,96,10,96,12,96,3143,9,96, + 1,97,1,97,1,97,1,97,1,97,1,97,1,97,1,97,5,97,3153,8,97,10,97,12, + 97,3156,9,97,1,97,1,97,1,97,1,97,1,97,1,97,1,97,1,97,1,97,1,97,1, + 97,1,97,3,97,3170,8,97,1,98,1,98,3,98,3174,8,98,1,98,1,98,3,98,3178, + 8,98,1,98,1,98,3,98,3182,8,98,1,98,1,98,1,98,1,98,3,98,3188,8,98, + 1,98,1,98,3,98,3192,8,98,1,98,1,98,3,98,3196,8,98,1,98,1,98,3,98, + 3200,8,98,3,98,3202,8,98,1,99,1,99,1,99,1,99,1,100,1,100,1,100,1, + 100,3,100,3212,8,100,1,101,1,101,1,101,1,101,1,101,1,101,1,101,1, + 101,1,101,3,101,3223,8,101,1,101,1,101,3,101,3227,8,101,1,102,1, + 102,1,102,1,102,1,102,3,102,3234,8,102,1,103,1,103,1,103,1,103,1, + 103,3,103,3241,8,103,1,104,1,104,1,104,5,104,3246,8,104,10,104,12, + 104,3249,9,104,1,105,1,105,1,105,1,105,1,105,1,105,5,105,3257,8, + 105,10,105,12,105,3260,9,105,3,105,3262,8,105,1,105,1,105,1,105, + 1,105,5,105,3268,8,105,10,105,12,105,3271,9,105,1,105,1,105,1,106, + 3,106,3276,8,106,1,106,1,106,1,107,1,107,1,107,3,107,3283,8,107, + 1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107, + 1,107,1,107,1,107,3,107,3299,8,107,1,108,1,108,1,108,1,108,1,108, + 1,108,1,108,1,108,1,108,1,108,4,108,3311,8,108,11,108,12,108,3312, + 1,108,3,108,3316,8,108,1,108,1,108,1,108,1,108,1,108,4,108,3323, + 8,108,11,108,12,108,3324,1,108,3,108,3328,8,108,1,108,1,108,1,108, + 1,108,1,108,1,108,1,108,1,108,1,108,1,108,1,108,1,108,5,108,3342, + 8,108,10,108,12,108,3345,9,108,1,108,3,108,3348,8,108,1,108,1,108, + 1,108,1,108,1,108,1,108,1,108,1,108,1,108,1,108,1,108,1,108,5,108, + 3362,8,108,10,108,12,108,3365,9,108,1,108,1,108,1,108,3,108,3370, + 8,108,1,108,1,108,5,108,3374,8,108,10,108,12,108,3377,9,108,1,108, + 3,108,3380,8,108,1,108,1,108,1,108,1,108,3,108,3386,8,108,1,108, + 1,108,1,108,1,108,1,108,1,108,1,108,1,108,3,108,3396,8,108,1,108, + 1,108,1,108,1,108,1,108,1,108,1,108,1,108,1,108,1,108,3,108,3408, + 8,108,1,108,1,108,1,108,1,108,1,108,1,108,1,108,3,108,3417,8,108, + 1,109,1,109,1,109,1,109,1,109,1,110,1,110,1,110,1,111,1,111,1,111, + 4,111,3430,8,111,11,111,12,111,3431,1,112,1,112,1,112,1,112,1,112, + 1,112,3,112,3440,8,112,1,113,1,113,1,113,3,113,3445,8,113,1,113, + 1,113,1,114,1,114,3,114,3451,8,114,1,115,1,115,1,115,1,115,1,115, + 1,115,1,115,1,115,1,115,1,115,1,115,3,115,3464,8,115,1,116,1,116, + 1,116,1,116,1,116,1,116,1,116,1,116,1,116,1,116,1,116,3,116,3477, + 8,116,1,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117, + 1,117,3,117,3490,8,117,1,118,1,118,1,118,1,118,1,118,1,118,1,118, + 1,118,1,118,1,118,1,118,3,118,3503,8,118,1,119,1,119,1,119,1,119, + 1,119,3,119,3510,8,119,1,120,1,120,1,120,1,120,1,120,3,120,3517, + 8,120,1,121,1,121,1,122,1,122,1,123,1,123,1,124,1,124,1,125,1,125, + 3,125,3529,8,125,1,126,1,126,1,127,1,127,1,128,1,128,1,128,5,128, + 3538,8,128,10,128,12,128,3541,9,128,1,129,1,129,1,129,3,129,3546, + 8,129,1,130,1,130,1,130,1,130,1,130,3,130,3553,8,130,1,131,1,131, + 1,131,5,131,3558,8,131,10,131,12,131,3561,9,131,1,132,1,132,1,132, + 1,132,1,132,1,132,1,132,3,132,3570,8,132,1,133,1,133,1,133,1,133, + 1,133,3,133,3577,8,133,1,134,3,134,3580,8,134,1,134,1,134,3,134, + 3584,8,134,1,134,1,134,3,134,3588,8,134,1,134,3,134,3591,8,134,1, + 135,1,135,1,135,0,7,38,78,136,140,142,172,192,136,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, + 166,168,170,172,174,176,178,180,182,184,186,188,190,192,194,196, + 198,200,202,204,206,208,210,212,214,216,218,220,222,224,226,228, + 230,232,234,236,238,240,242,244,246,248,250,252,254,256,258,260, + 262,264,266,268,270,0,38,2,0,39,39,230,230,2,0,73,73,132,132,2,0, + 106,106,123,123,2,0,93,93,124,124,2,0,325,325,330,330,1,0,240,241, + 3,0,22,22,325,325,330,330,2,0,102,102,175,175,2,0,92,92,282,282, + 2,0,29,29,76,76,2,0,102,102,149,149,2,0,22,22,80,80,2,0,33,33,260, + 260,2,0,125,125,248,248,2,0,269,269,299,299,2,0,86,86,90,90,2,0, + 145,145,190,190,2,0,126,126,198,198,2,0,55,55,282,282,1,0,319,320, + 1,0,321,323,2,0,98,98,274,274,3,0,35,35,151,151,271,271,1,0,176, + 179,4,0,90,90,98,98,274,274,284,284,1,0,292,294,2,0,50,50,281,281, + 2,0,101,101,242,242,1,0,313,318,3,0,22,22,26,26,255,255,5,0,68,68, + 119,119,171,172,246,246,311,311,2,0,305,305,307,307,3,0,117,117, + 220,220,241,241,2,0,103,103,213,213,3,0,114,114,138,138,264,264, + 4,0,81,81,133,133,161,161,295,295,2,0,193,193,310,310,54,0,18,22, + 24,24,26,27,29,33,35,35,37,39,42,50,52,53,57,57,66,68,70,73,75,76, + 78,79,81,83,86,88,90,90,93,93,96,96,99,103,105,105,108,114,117,117, + 119,122,124,125,127,127,130,130,132,133,135,136,138,138,145,152, + 154,154,156,156,158,158,161,172,174,181,185,190,192,194,197,197, + 199,214,216,221,223,234,236,238,240,248,250,260,262,265,267,272, + 275,277,279,281,283,285,287,290,292,296,298,300,303,304,306,312, + 4158,0,275,1,0,0,0,2,280,1,0,0,0,4,282,1,0,0,0,6,286,1,0,0,0,8,290, + 1,0,0,0,10,294,1,0,0,0,12,298,1,0,0,0,14,302,1,0,0,0,16,1216,1,0, + 0,0,18,1219,1,0,0,0,20,1223,1,0,0,0,22,1233,1,0,0,0,24,1237,1,0, + 0,0,26,1256,1,0,0,0,28,1258,1,0,0,0,30,1272,1,0,0,0,32,1276,1,0, + 0,0,34,1284,1,0,0,0,36,1290,1,0,0,0,38,1325,1,0,0,0,40,1361,1,0, + 0,0,42,1365,1,0,0,0,44,1374,1,0,0,0,46,1412,1,0,0,0,48,1415,1,0, + 0,0,50,1418,1,0,0,0,52,1427,1,0,0,0,54,1437,1,0,0,0,56,1485,1,0, + 0,0,58,1509,1,0,0,0,60,1511,1,0,0,0,62,1518,1,0,0,0,64,1540,1,0, + 0,0,66,1549,1,0,0,0,68,1567,1,0,0,0,70,1569,1,0,0,0,72,1571,1,0, + 0,0,74,1575,1,0,0,0,76,1577,1,0,0,0,78,1579,1,0,0,0,80,1632,1,0, + 0,0,82,1634,1,0,0,0,84,1654,1,0,0,0,86,1656,1,0,0,0,88,1734,1,0, + 0,0,90,1757,1,0,0,0,92,1778,1,0,0,0,94,1780,1,0,0,0,96,1793,1,0, + 0,0,98,1797,1,0,0,0,100,1807,1,0,0,0,102,1818,1,0,0,0,104,1829,1, + 0,0,0,106,1853,1,0,0,0,108,1918,1,0,0,0,110,1997,1,0,0,0,112,2024, + 1,0,0,0,114,2026,1,0,0,0,116,2033,1,0,0,0,118,2045,1,0,0,0,120,2047, + 1,0,0,0,122,2075,1,0,0,0,124,2082,1,0,0,0,126,2147,1,0,0,0,128,2167, + 1,0,0,0,130,2169,1,0,0,0,132,2173,1,0,0,0,134,2186,1,0,0,0,136,2195, + 1,0,0,0,138,2269,1,0,0,0,140,2275,1,0,0,0,142,2768,1,0,0,0,144,2783, + 1,0,0,0,146,2801,1,0,0,0,148,2806,1,0,0,0,150,2811,1,0,0,0,152,2819, + 1,0,0,0,154,2832,1,0,0,0,156,2840,1,0,0,0,158,2853,1,0,0,0,160,2855, + 1,0,0,0,162,2863,1,0,0,0,164,2865,1,0,0,0,166,2867,1,0,0,0,168,2869, + 1,0,0,0,170,2879,1,0,0,0,172,2952,1,0,0,0,174,2970,1,0,0,0,176,2974, + 1,0,0,0,178,2976,1,0,0,0,180,2981,1,0,0,0,182,3050,1,0,0,0,184,3052, + 1,0,0,0,186,3069,1,0,0,0,188,3109,1,0,0,0,190,3127,1,0,0,0,192,3129, + 1,0,0,0,194,3169,1,0,0,0,196,3201,1,0,0,0,198,3203,1,0,0,0,200,3211, + 1,0,0,0,202,3226,1,0,0,0,204,3233,1,0,0,0,206,3240,1,0,0,0,208,3242, + 1,0,0,0,210,3250,1,0,0,0,212,3275,1,0,0,0,214,3298,1,0,0,0,216,3416, + 1,0,0,0,218,3418,1,0,0,0,220,3423,1,0,0,0,222,3429,1,0,0,0,224,3439, + 1,0,0,0,226,3444,1,0,0,0,228,3450,1,0,0,0,230,3463,1,0,0,0,232,3476, + 1,0,0,0,234,3489,1,0,0,0,236,3502,1,0,0,0,238,3509,1,0,0,0,240,3516, + 1,0,0,0,242,3518,1,0,0,0,244,3520,1,0,0,0,246,3522,1,0,0,0,248,3524, + 1,0,0,0,250,3528,1,0,0,0,252,3530,1,0,0,0,254,3532,1,0,0,0,256,3534, + 1,0,0,0,258,3545,1,0,0,0,260,3552,1,0,0,0,262,3554,1,0,0,0,264,3569, + 1,0,0,0,266,3576,1,0,0,0,268,3590,1,0,0,0,270,3592,1,0,0,0,272,274, + 3,2,1,0,273,272,1,0,0,0,274,277,1,0,0,0,275,273,1,0,0,0,275,276, + 1,0,0,0,276,278,1,0,0,0,277,275,1,0,0,0,278,279,5,0,0,1,279,1,1, + 0,0,0,280,281,3,4,2,0,281,3,1,0,0,0,282,284,3,16,8,0,283,285,5,326, + 0,0,284,283,1,0,0,0,284,285,1,0,0,0,285,5,1,0,0,0,286,288,3,134, + 67,0,287,289,5,326,0,0,288,287,1,0,0,0,288,289,1,0,0,0,289,7,1,0, + 0,0,290,292,3,208,104,0,291,293,5,326,0,0,292,291,1,0,0,0,292,293, + 1,0,0,0,293,9,1,0,0,0,294,296,3,172,86,0,295,297,5,326,0,0,296,295, + 1,0,0,0,296,297,1,0,0,0,297,11,1,0,0,0,298,300,3,192,96,0,299,301, + 5,326,0,0,300,299,1,0,0,0,300,301,1,0,0,0,301,13,1,0,0,0,302,303, + 3,210,105,0,303,304,5,0,0,1,304,15,1,0,0,0,305,1217,3,18,9,0,306, + 307,5,289,0,0,307,1217,3,238,119,0,308,309,5,54,0,0,309,313,5,42, + 0,0,310,311,5,120,0,0,311,312,5,183,0,0,312,314,5,95,0,0,313,310, + 1,0,0,0,313,314,1,0,0,0,314,315,1,0,0,0,315,316,3,244,122,0,316, + 317,5,291,0,0,317,320,3,266,133,0,318,319,5,47,0,0,319,321,3,162, + 81,0,320,318,1,0,0,0,320,321,1,0,0,0,321,324,1,0,0,0,322,323,5,31, + 0,0,323,325,3,260,130,0,324,322,1,0,0,0,324,325,1,0,0,0,325,328, + 1,0,0,0,326,327,5,305,0,0,327,329,3,30,15,0,328,326,1,0,0,0,328, + 329,1,0,0,0,329,1217,1,0,0,0,330,331,5,84,0,0,331,334,5,42,0,0,332, + 333,5,120,0,0,333,335,5,95,0,0,334,332,1,0,0,0,334,335,1,0,0,0,335, + 336,1,0,0,0,336,338,3,242,121,0,337,339,7,0,0,0,338,337,1,0,0,0, + 338,339,1,0,0,0,339,1217,1,0,0,0,340,341,5,54,0,0,341,345,5,244, + 0,0,342,343,5,120,0,0,343,344,5,183,0,0,344,346,5,95,0,0,345,342, + 1,0,0,0,345,346,1,0,0,0,346,347,1,0,0,0,347,350,3,240,120,0,348, + 349,5,31,0,0,349,351,3,260,130,0,350,348,1,0,0,0,350,351,1,0,0,0, + 351,354,1,0,0,0,352,353,5,305,0,0,353,355,3,30,15,0,354,352,1,0, + 0,0,354,355,1,0,0,0,355,1217,1,0,0,0,356,357,5,84,0,0,357,360,5, + 244,0,0,358,359,5,120,0,0,359,361,5,95,0,0,360,358,1,0,0,0,360,361, + 1,0,0,0,361,362,1,0,0,0,362,364,3,238,119,0,363,365,7,0,0,0,364, + 363,1,0,0,0,364,365,1,0,0,0,365,1217,1,0,0,0,366,367,5,23,0,0,367, + 368,5,244,0,0,368,369,3,238,119,0,369,370,5,224,0,0,370,371,5,270, + 0,0,371,372,3,240,120,0,372,1217,1,0,0,0,373,374,5,23,0,0,374,375, + 5,244,0,0,375,376,3,238,119,0,376,377,5,252,0,0,377,378,5,31,0,0, + 378,379,3,260,130,0,379,1217,1,0,0,0,380,383,5,54,0,0,381,382,5, + 195,0,0,382,384,5,227,0,0,383,381,1,0,0,0,383,384,1,0,0,0,384,385, + 1,0,0,0,385,389,5,261,0,0,386,387,5,120,0,0,387,388,5,183,0,0,388, + 390,5,95,0,0,389,386,1,0,0,0,389,390,1,0,0,0,390,391,1,0,0,0,391, + 393,3,232,116,0,392,394,3,100,50,0,393,392,1,0,0,0,393,394,1,0,0, + 0,394,397,1,0,0,0,395,396,5,47,0,0,396,398,3,162,81,0,397,395,1, + 0,0,0,397,398,1,0,0,0,398,401,1,0,0,0,399,400,5,305,0,0,400,402, + 3,30,15,0,401,399,1,0,0,0,401,402,1,0,0,0,402,403,1,0,0,0,403,409, + 5,28,0,0,404,410,3,18,9,0,405,406,5,1,0,0,406,407,3,18,9,0,407,408, + 5,2,0,0,408,410,1,0,0,0,409,404,1,0,0,0,409,405,1,0,0,0,410,416, + 1,0,0,0,411,413,5,305,0,0,412,414,5,180,0,0,413,412,1,0,0,0,413, + 414,1,0,0,0,414,415,1,0,0,0,415,417,5,66,0,0,416,411,1,0,0,0,416, + 417,1,0,0,0,417,1217,1,0,0,0,418,421,5,54,0,0,419,420,5,195,0,0, + 420,422,5,227,0,0,421,419,1,0,0,0,421,422,1,0,0,0,422,423,1,0,0, + 0,423,427,5,261,0,0,424,425,5,120,0,0,425,426,5,183,0,0,426,428, + 5,95,0,0,427,424,1,0,0,0,427,428,1,0,0,0,428,429,1,0,0,0,429,430, + 3,232,116,0,430,431,5,1,0,0,431,436,3,26,13,0,432,433,5,3,0,0,433, + 435,3,26,13,0,434,432,1,0,0,0,435,438,1,0,0,0,436,434,1,0,0,0,436, + 437,1,0,0,0,437,439,1,0,0,0,438,436,1,0,0,0,439,442,5,2,0,0,440, + 441,5,47,0,0,441,443,3,162,81,0,442,440,1,0,0,0,442,443,1,0,0,0, + 443,446,1,0,0,0,444,445,5,305,0,0,445,447,3,30,15,0,446,444,1,0, + 0,0,446,447,1,0,0,0,447,1217,1,0,0,0,448,449,5,84,0,0,449,452,5, + 261,0,0,450,451,5,120,0,0,451,453,5,95,0,0,452,450,1,0,0,0,452,453, + 1,0,0,0,453,454,1,0,0,0,454,1217,3,230,115,0,455,456,5,128,0,0,456, + 457,5,131,0,0,457,459,3,230,115,0,458,460,3,102,51,0,459,458,1,0, + 0,0,459,460,1,0,0,0,460,461,1,0,0,0,461,462,3,18,9,0,462,1217,1, + 0,0,0,463,464,5,74,0,0,464,465,5,106,0,0,465,467,3,230,115,0,466, + 468,3,46,23,0,467,466,1,0,0,0,467,468,1,0,0,0,468,1217,1,0,0,0,469, + 470,5,275,0,0,470,471,5,261,0,0,471,1217,3,230,115,0,472,473,5,47, + 0,0,473,474,5,191,0,0,474,475,5,261,0,0,475,476,3,230,115,0,476, + 479,5,134,0,0,477,480,3,162,81,0,478,480,5,184,0,0,479,477,1,0,0, + 0,479,478,1,0,0,0,480,1217,1,0,0,0,481,482,5,47,0,0,482,483,5,191, + 0,0,483,484,5,300,0,0,484,485,3,234,117,0,485,488,5,134,0,0,486, + 489,3,162,81,0,487,489,5,184,0,0,488,486,1,0,0,0,488,487,1,0,0,0, + 489,1217,1,0,0,0,490,491,5,47,0,0,491,492,5,191,0,0,492,493,5,45, + 0,0,493,494,3,250,125,0,494,497,5,134,0,0,495,498,3,162,81,0,496, + 498,5,184,0,0,497,495,1,0,0,0,497,496,1,0,0,0,498,1217,1,0,0,0,499, + 500,5,23,0,0,500,503,5,261,0,0,501,502,5,120,0,0,502,504,5,95,0, + 0,503,501,1,0,0,0,503,504,1,0,0,0,504,505,1,0,0,0,505,506,3,230, + 115,0,506,507,5,224,0,0,507,508,5,270,0,0,508,509,3,232,116,0,509, + 1217,1,0,0,0,510,511,5,23,0,0,511,514,5,261,0,0,512,513,5,120,0, + 0,513,515,5,95,0,0,514,512,1,0,0,0,514,515,1,0,0,0,515,516,1,0,0, + 0,516,517,3,230,115,0,517,518,5,19,0,0,518,522,5,45,0,0,519,520, + 5,120,0,0,520,521,5,183,0,0,521,523,5,95,0,0,522,519,1,0,0,0,522, + 523,1,0,0,0,523,524,1,0,0,0,524,525,3,28,14,0,525,1217,1,0,0,0,526, + 527,5,23,0,0,527,530,5,261,0,0,528,529,5,120,0,0,529,531,5,95,0, + 0,530,528,1,0,0,0,530,531,1,0,0,0,531,532,1,0,0,0,532,533,3,230, + 115,0,533,534,5,224,0,0,534,537,5,45,0,0,535,536,5,120,0,0,536,538, + 5,95,0,0,537,535,1,0,0,0,537,538,1,0,0,0,538,539,1,0,0,0,539,540, + 3,250,125,0,540,541,5,270,0,0,541,542,3,254,127,0,542,1217,1,0,0, + 0,543,544,5,23,0,0,544,547,5,261,0,0,545,546,5,120,0,0,546,548,5, + 95,0,0,547,545,1,0,0,0,547,548,1,0,0,0,548,549,1,0,0,0,549,550,3, + 230,115,0,550,551,5,84,0,0,551,554,5,45,0,0,552,553,5,120,0,0,553, + 555,5,95,0,0,554,552,1,0,0,0,554,555,1,0,0,0,555,556,1,0,0,0,556, + 557,3,250,125,0,557,1217,1,0,0,0,558,559,5,23,0,0,559,562,5,261, + 0,0,560,561,5,120,0,0,561,563,5,95,0,0,562,560,1,0,0,0,562,563,1, + 0,0,0,563,564,1,0,0,0,564,565,3,230,115,0,565,566,5,23,0,0,566,567, + 5,45,0,0,567,568,3,250,125,0,568,569,5,252,0,0,569,570,5,66,0,0, + 570,571,5,277,0,0,571,572,3,172,86,0,572,1217,1,0,0,0,573,574,5, + 23,0,0,574,577,5,261,0,0,575,576,5,120,0,0,576,578,5,95,0,0,577, + 575,1,0,0,0,577,578,1,0,0,0,578,579,1,0,0,0,579,580,3,230,115,0, + 580,581,5,23,0,0,581,582,5,45,0,0,582,583,3,250,125,0,583,584,5, + 84,0,0,584,585,5,183,0,0,585,586,5,184,0,0,586,1217,1,0,0,0,587, + 588,5,23,0,0,588,589,5,261,0,0,589,590,3,230,115,0,590,591,5,252, + 0,0,591,592,5,31,0,0,592,593,3,260,130,0,593,1217,1,0,0,0,594,595, + 5,23,0,0,595,596,5,261,0,0,596,597,3,230,115,0,597,598,5,252,0,0, + 598,599,5,217,0,0,599,600,3,32,16,0,600,1217,1,0,0,0,601,602,5,23, + 0,0,602,603,5,261,0,0,603,604,3,230,115,0,604,605,5,94,0,0,605,618, + 3,246,123,0,606,615,5,1,0,0,607,612,3,204,102,0,608,609,5,3,0,0, + 609,611,3,204,102,0,610,608,1,0,0,0,611,614,1,0,0,0,612,610,1,0, + 0,0,612,613,1,0,0,0,613,616,1,0,0,0,614,612,1,0,0,0,615,607,1,0, + 0,0,615,616,1,0,0,0,616,617,1,0,0,0,617,619,5,2,0,0,618,606,1,0, + 0,0,618,619,1,0,0,0,619,621,1,0,0,0,620,622,3,46,23,0,621,620,1, + 0,0,0,621,622,1,0,0,0,622,1217,1,0,0,0,623,624,5,24,0,0,624,627, + 3,230,115,0,625,626,5,305,0,0,626,628,3,30,15,0,627,625,1,0,0,0, + 627,628,1,0,0,0,628,1217,1,0,0,0,629,632,5,54,0,0,630,631,5,195, + 0,0,631,633,5,227,0,0,632,630,1,0,0,0,632,633,1,0,0,0,633,634,1, + 0,0,0,634,635,5,168,0,0,635,639,5,300,0,0,636,637,5,120,0,0,637, + 638,5,183,0,0,638,640,5,95,0,0,639,636,1,0,0,0,639,640,1,0,0,0,640, + 641,1,0,0,0,641,645,3,236,118,0,642,643,5,110,0,0,643,644,5,209, + 0,0,644,646,3,168,84,0,645,642,1,0,0,0,645,646,1,0,0,0,646,649,1, + 0,0,0,647,648,5,47,0,0,648,650,3,162,81,0,649,647,1,0,0,0,649,650, + 1,0,0,0,650,653,1,0,0,0,651,652,5,305,0,0,652,654,3,30,15,0,653, + 651,1,0,0,0,653,654,1,0,0,0,654,655,1,0,0,0,655,656,5,28,0,0,656, + 657,3,18,9,0,657,1217,1,0,0,0,658,661,5,54,0,0,659,660,5,195,0,0, + 660,662,5,227,0,0,661,659,1,0,0,0,661,662,1,0,0,0,662,663,1,0,0, + 0,663,664,5,300,0,0,664,667,3,236,118,0,665,666,5,47,0,0,666,668, + 3,162,81,0,667,665,1,0,0,0,667,668,1,0,0,0,668,671,1,0,0,0,669,670, + 5,247,0,0,670,672,7,1,0,0,671,669,1,0,0,0,671,672,1,0,0,0,672,675, + 1,0,0,0,673,674,5,305,0,0,674,676,3,30,15,0,675,673,1,0,0,0,675, + 676,1,0,0,0,676,677,1,0,0,0,677,678,5,28,0,0,678,679,3,18,9,0,679, + 1217,1,0,0,0,680,681,5,223,0,0,681,682,5,168,0,0,682,683,5,300,0, + 0,683,1217,3,234,117,0,684,685,5,84,0,0,685,686,5,168,0,0,686,689, + 5,300,0,0,687,688,5,120,0,0,688,690,5,95,0,0,689,687,1,0,0,0,689, + 690,1,0,0,0,690,691,1,0,0,0,691,1217,3,234,117,0,692,693,5,23,0, + 0,693,694,5,168,0,0,694,697,5,300,0,0,695,696,5,120,0,0,696,698, + 5,95,0,0,697,695,1,0,0,0,697,698,1,0,0,0,698,699,1,0,0,0,699,700, + 3,234,117,0,700,701,5,224,0,0,701,702,5,270,0,0,702,703,3,236,118, + 0,703,1217,1,0,0,0,704,705,5,23,0,0,705,706,5,168,0,0,706,707,5, + 300,0,0,707,708,3,234,117,0,708,709,5,252,0,0,709,710,5,217,0,0, + 710,711,3,32,16,0,711,1217,1,0,0,0,712,713,5,84,0,0,713,716,5,300, + 0,0,714,715,5,120,0,0,715,717,5,95,0,0,716,714,1,0,0,0,716,717,1, + 0,0,0,717,718,1,0,0,0,718,1217,3,234,117,0,719,720,5,23,0,0,720, + 721,5,300,0,0,721,722,3,234,117,0,722,723,5,224,0,0,723,724,5,270, + 0,0,724,725,3,236,118,0,725,1217,1,0,0,0,726,727,5,23,0,0,727,728, + 5,300,0,0,728,729,3,234,117,0,729,730,5,252,0,0,730,731,5,31,0,0, + 731,732,3,260,130,0,732,1217,1,0,0,0,733,734,5,37,0,0,734,735,3, + 246,123,0,735,744,5,1,0,0,736,741,3,204,102,0,737,738,5,3,0,0,738, + 740,3,204,102,0,739,737,1,0,0,0,740,743,1,0,0,0,741,739,1,0,0,0, + 741,742,1,0,0,0,742,745,1,0,0,0,743,741,1,0,0,0,744,736,1,0,0,0, + 744,745,1,0,0,0,745,746,1,0,0,0,746,747,5,2,0,0,747,1217,1,0,0,0, + 748,751,5,54,0,0,749,750,5,195,0,0,750,752,5,227,0,0,751,749,1,0, + 0,0,751,752,1,0,0,0,752,753,1,0,0,0,753,1217,3,210,105,0,754,755, + 5,84,0,0,755,758,5,108,0,0,756,757,5,120,0,0,757,759,5,95,0,0,758, + 756,1,0,0,0,758,759,1,0,0,0,759,760,1,0,0,0,760,761,3,246,123,0, + 761,770,5,1,0,0,762,767,3,212,106,0,763,764,5,3,0,0,764,766,3,212, + 106,0,765,763,1,0,0,0,766,769,1,0,0,0,767,765,1,0,0,0,767,768,1, + 0,0,0,768,771,1,0,0,0,769,767,1,0,0,0,770,762,1,0,0,0,770,771,1, + 0,0,0,771,772,1,0,0,0,772,773,5,2,0,0,773,1217,1,0,0,0,774,775,5, + 54,0,0,775,776,5,236,0,0,776,780,3,266,133,0,777,778,5,305,0,0,778, + 779,5,20,0,0,779,781,3,258,129,0,780,777,1,0,0,0,780,781,1,0,0,0, + 781,784,1,0,0,0,782,783,5,123,0,0,783,785,3,242,121,0,784,782,1, + 0,0,0,784,785,1,0,0,0,785,1217,1,0,0,0,786,787,5,84,0,0,787,788, + 5,236,0,0,788,791,3,266,133,0,789,790,5,123,0,0,790,792,3,242,121, + 0,791,789,1,0,0,0,791,792,1,0,0,0,792,1217,1,0,0,0,793,794,5,111, + 0,0,794,799,3,264,132,0,795,796,5,3,0,0,796,798,3,264,132,0,797, + 795,1,0,0,0,798,801,1,0,0,0,799,797,1,0,0,0,799,800,1,0,0,0,800, + 802,1,0,0,0,801,799,1,0,0,0,802,803,5,270,0,0,803,808,3,260,130, + 0,804,805,5,3,0,0,805,807,3,260,130,0,806,804,1,0,0,0,807,810,1, + 0,0,0,808,806,1,0,0,0,808,809,1,0,0,0,809,814,1,0,0,0,810,808,1, + 0,0,0,811,812,5,305,0,0,812,813,5,20,0,0,813,815,5,194,0,0,814,811, + 1,0,0,0,814,815,1,0,0,0,815,819,1,0,0,0,816,817,5,112,0,0,817,818, + 5,36,0,0,818,820,3,258,129,0,819,816,1,0,0,0,819,820,1,0,0,0,820, + 823,1,0,0,0,821,822,5,123,0,0,822,824,3,242,121,0,823,821,1,0,0, + 0,823,824,1,0,0,0,824,1217,1,0,0,0,825,836,5,111,0,0,826,831,3,264, + 132,0,827,828,5,3,0,0,828,830,3,264,132,0,829,827,1,0,0,0,830,833, + 1,0,0,0,831,829,1,0,0,0,831,832,1,0,0,0,832,837,1,0,0,0,833,831, + 1,0,0,0,834,835,5,22,0,0,835,837,5,216,0,0,836,826,1,0,0,0,836,834, + 1,0,0,0,837,838,1,0,0,0,838,839,5,191,0,0,839,840,3,226,113,0,840, + 841,5,270,0,0,841,845,3,260,130,0,842,843,5,305,0,0,843,844,5,111, + 0,0,844,846,5,194,0,0,845,842,1,0,0,0,845,846,1,0,0,0,846,1217,1, + 0,0,0,847,851,5,234,0,0,848,849,5,20,0,0,849,850,5,194,0,0,850,852, + 5,104,0,0,851,848,1,0,0,0,851,852,1,0,0,0,852,853,1,0,0,0,853,858, + 3,264,132,0,854,855,5,3,0,0,855,857,3,264,132,0,856,854,1,0,0,0, + 857,860,1,0,0,0,858,856,1,0,0,0,858,859,1,0,0,0,859,861,1,0,0,0, + 860,858,1,0,0,0,861,862,5,106,0,0,862,867,3,260,130,0,863,864,5, + 3,0,0,864,866,3,260,130,0,865,863,1,0,0,0,866,869,1,0,0,0,867,865, + 1,0,0,0,867,868,1,0,0,0,868,873,1,0,0,0,869,867,1,0,0,0,870,871, + 5,112,0,0,871,872,5,36,0,0,872,874,3,258,129,0,873,870,1,0,0,0,873, + 874,1,0,0,0,874,877,1,0,0,0,875,876,5,123,0,0,876,878,3,242,121, + 0,877,875,1,0,0,0,877,878,1,0,0,0,878,1217,1,0,0,0,879,883,5,234, + 0,0,880,881,5,111,0,0,881,882,5,194,0,0,882,884,5,104,0,0,883,880, + 1,0,0,0,883,884,1,0,0,0,884,895,1,0,0,0,885,890,3,264,132,0,886, + 887,5,3,0,0,887,889,3,264,132,0,888,886,1,0,0,0,889,892,1,0,0,0, + 890,888,1,0,0,0,890,891,1,0,0,0,891,896,1,0,0,0,892,890,1,0,0,0, + 893,894,5,22,0,0,894,896,5,216,0,0,895,885,1,0,0,0,895,893,1,0,0, + 0,896,897,1,0,0,0,897,898,5,191,0,0,898,899,3,226,113,0,899,900, + 5,106,0,0,900,901,3,260,130,0,901,1217,1,0,0,0,902,913,5,75,0,0, + 903,908,3,224,112,0,904,905,5,3,0,0,905,907,3,224,112,0,906,904, + 1,0,0,0,907,910,1,0,0,0,908,906,1,0,0,0,908,909,1,0,0,0,909,914, + 1,0,0,0,910,908,1,0,0,0,911,912,5,22,0,0,912,914,5,216,0,0,913,903, + 1,0,0,0,913,911,1,0,0,0,914,915,1,0,0,0,915,916,5,191,0,0,916,917, + 3,226,113,0,917,918,5,270,0,0,918,919,3,260,130,0,919,1217,1,0,0, + 0,920,921,5,252,0,0,921,925,5,236,0,0,922,926,5,22,0,0,923,926,5, + 181,0,0,924,926,3,266,133,0,925,922,1,0,0,0,925,923,1,0,0,0,925, + 924,1,0,0,0,926,929,1,0,0,0,927,928,5,123,0,0,928,930,3,242,121, + 0,929,927,1,0,0,0,929,930,1,0,0,0,930,1217,1,0,0,0,931,932,5,254, + 0,0,932,935,5,113,0,0,933,934,5,191,0,0,934,936,3,226,113,0,935, + 933,1,0,0,0,935,936,1,0,0,0,936,1217,1,0,0,0,937,949,5,96,0,0,938, + 939,5,1,0,0,939,944,3,200,100,0,940,941,5,3,0,0,941,943,3,200,100, + 0,942,940,1,0,0,0,943,946,1,0,0,0,944,942,1,0,0,0,944,945,1,0,0, + 0,945,947,1,0,0,0,946,944,1,0,0,0,947,948,5,2,0,0,948,950,1,0,0, + 0,949,938,1,0,0,0,949,950,1,0,0,0,950,951,1,0,0,0,951,1217,3,16, + 8,0,952,953,5,96,0,0,953,955,5,24,0,0,954,956,5,298,0,0,955,954, + 1,0,0,0,955,956,1,0,0,0,956,957,1,0,0,0,957,1217,3,16,8,0,958,959, + 5,254,0,0,959,960,5,54,0,0,960,961,5,261,0,0,961,1217,3,230,115, + 0,962,963,5,254,0,0,963,964,5,54,0,0,964,965,5,244,0,0,965,1217, + 3,238,119,0,966,967,5,254,0,0,967,968,5,54,0,0,968,969,5,300,0,0, + 969,1217,3,234,117,0,970,971,5,254,0,0,971,972,5,54,0,0,972,973, + 5,168,0,0,973,974,5,300,0,0,974,1217,3,234,117,0,975,976,5,254,0, + 0,976,977,5,54,0,0,977,978,5,108,0,0,978,1217,3,246,123,0,979,980, + 5,254,0,0,980,983,5,262,0,0,981,982,7,2,0,0,982,984,3,238,119,0, + 983,981,1,0,0,0,983,984,1,0,0,0,984,991,1,0,0,0,985,986,5,155,0, + 0,986,989,3,162,81,0,987,988,5,91,0,0,988,990,3,162,81,0,989,987, + 1,0,0,0,989,990,1,0,0,0,990,992,1,0,0,0,991,985,1,0,0,0,991,992, + 1,0,0,0,992,1217,1,0,0,0,993,994,5,254,0,0,994,997,5,245,0,0,995, + 996,7,2,0,0,996,998,3,242,121,0,997,995,1,0,0,0,997,998,1,0,0,0, + 998,1005,1,0,0,0,999,1000,5,155,0,0,1000,1003,3,162,81,0,1001,1002, + 5,91,0,0,1002,1004,3,162,81,0,1003,1001,1,0,0,0,1003,1004,1,0,0, + 0,1004,1006,1,0,0,0,1005,999,1,0,0,0,1005,1006,1,0,0,0,1006,1217, + 1,0,0,0,1007,1008,5,254,0,0,1008,1015,5,43,0,0,1009,1010,5,155,0, + 0,1010,1013,3,162,81,0,1011,1012,5,91,0,0,1012,1014,3,162,81,0,1013, + 1011,1,0,0,0,1013,1014,1,0,0,0,1014,1016,1,0,0,0,1015,1009,1,0,0, + 0,1015,1016,1,0,0,0,1016,1217,1,0,0,0,1017,1018,5,254,0,0,1018,1019, + 5,46,0,0,1019,1020,7,2,0,0,1020,1027,3,228,114,0,1021,1022,5,155, + 0,0,1022,1025,3,162,81,0,1023,1024,5,91,0,0,1024,1026,3,162,81,0, + 1025,1023,1,0,0,0,1025,1026,1,0,0,0,1026,1028,1,0,0,0,1027,1021, + 1,0,0,0,1027,1028,1,0,0,0,1028,1217,1,0,0,0,1029,1030,5,254,0,0, + 1030,1031,5,257,0,0,1031,1032,5,104,0,0,1032,1217,3,228,114,0,1033, + 1034,5,254,0,0,1034,1035,5,257,0,0,1035,1036,5,104,0,0,1036,1037, + 5,1,0,0,1037,1038,3,18,9,0,1038,1039,5,2,0,0,1039,1217,1,0,0,0,1040, + 1042,5,254,0,0,1041,1043,5,57,0,0,1042,1041,1,0,0,0,1042,1043,1, + 0,0,0,1043,1044,1,0,0,0,1044,1047,5,237,0,0,1045,1046,7,2,0,0,1046, + 1048,3,242,121,0,1047,1045,1,0,0,0,1047,1048,1,0,0,0,1048,1217,1, + 0,0,0,1049,1050,5,254,0,0,1050,1051,5,236,0,0,1051,1054,5,113,0, + 0,1052,1053,7,2,0,0,1053,1055,3,242,121,0,1054,1052,1,0,0,0,1054, + 1055,1,0,0,0,1055,1217,1,0,0,0,1056,1057,5,77,0,0,1057,1217,3,228, + 114,0,1058,1059,5,76,0,0,1059,1217,3,228,114,0,1060,1061,5,254,0, + 0,1061,1064,5,109,0,0,1062,1063,7,2,0,0,1063,1065,3,238,119,0,1064, + 1062,1,0,0,0,1064,1065,1,0,0,0,1065,1072,1,0,0,0,1066,1067,5,155, + 0,0,1067,1070,3,162,81,0,1068,1069,5,91,0,0,1069,1071,3,162,81,0, + 1070,1068,1,0,0,0,1070,1071,1,0,0,0,1071,1073,1,0,0,0,1072,1066, + 1,0,0,0,1072,1073,1,0,0,0,1073,1217,1,0,0,0,1074,1075,5,254,0,0, + 1075,1082,5,251,0,0,1076,1077,5,155,0,0,1077,1080,3,162,81,0,1078, + 1079,5,91,0,0,1079,1081,3,162,81,0,1080,1078,1,0,0,0,1080,1081,1, + 0,0,0,1081,1083,1,0,0,0,1082,1076,1,0,0,0,1082,1083,1,0,0,0,1083, + 1217,1,0,0,0,1084,1085,5,252,0,0,1085,1086,5,251,0,0,1086,1089,5, + 31,0,0,1087,1090,3,266,133,0,1088,1090,3,162,81,0,1089,1087,1,0, + 0,0,1089,1088,1,0,0,0,1090,1217,1,0,0,0,1091,1092,5,228,0,0,1092, + 1093,5,251,0,0,1093,1217,5,31,0,0,1094,1095,5,252,0,0,1095,1096, + 5,251,0,0,1096,1097,3,256,128,0,1097,1098,5,313,0,0,1098,1099,3, + 134,67,0,1099,1217,1,0,0,0,1100,1101,5,228,0,0,1101,1102,5,251,0, + 0,1102,1217,3,256,128,0,1103,1104,5,256,0,0,1104,1113,5,272,0,0, + 1105,1110,3,202,101,0,1106,1107,5,3,0,0,1107,1109,3,202,101,0,1108, + 1106,1,0,0,0,1109,1112,1,0,0,0,1110,1108,1,0,0,0,1110,1111,1,0,0, + 0,1111,1114,1,0,0,0,1112,1110,1,0,0,0,1113,1105,1,0,0,0,1113,1114, + 1,0,0,0,1114,1217,1,0,0,0,1115,1117,5,48,0,0,1116,1118,5,308,0,0, + 1117,1116,1,0,0,0,1117,1118,1,0,0,0,1118,1217,1,0,0,0,1119,1121, + 5,238,0,0,1120,1122,5,308,0,0,1121,1120,1,0,0,0,1121,1122,1,0,0, + 0,1122,1217,1,0,0,0,1123,1124,5,215,0,0,1124,1125,3,266,133,0,1125, + 1126,5,106,0,0,1126,1127,3,16,8,0,1127,1217,1,0,0,0,1128,1129,5, + 69,0,0,1129,1130,5,215,0,0,1130,1217,3,266,133,0,1131,1132,5,94, + 0,0,1132,1142,3,266,133,0,1133,1134,5,291,0,0,1134,1139,3,134,67, + 0,1135,1136,5,3,0,0,1136,1138,3,134,67,0,1137,1135,1,0,0,0,1138, + 1141,1,0,0,0,1139,1137,1,0,0,0,1139,1140,1,0,0,0,1140,1143,1,0,0, + 0,1141,1139,1,0,0,0,1142,1133,1,0,0,0,1142,1143,1,0,0,0,1143,1217, + 1,0,0,0,1144,1145,5,94,0,0,1145,1146,5,122,0,0,1146,1156,3,162,81, + 0,1147,1148,5,291,0,0,1148,1153,3,134,67,0,1149,1150,5,3,0,0,1150, + 1152,3,134,67,0,1151,1149,1,0,0,0,1152,1155,1,0,0,0,1153,1151,1, + 0,0,0,1153,1154,1,0,0,0,1154,1157,1,0,0,0,1155,1153,1,0,0,0,1156, + 1147,1,0,0,0,1156,1157,1,0,0,0,1157,1217,1,0,0,0,1158,1159,5,77, + 0,0,1159,1160,5,127,0,0,1160,1217,3,266,133,0,1161,1162,5,77,0,0, + 1162,1163,5,199,0,0,1163,1217,3,266,133,0,1164,1165,5,252,0,0,1165, + 1166,5,206,0,0,1166,1217,3,208,104,0,1167,1168,5,252,0,0,1168,1169, + 5,268,0,0,1169,1172,5,312,0,0,1170,1173,5,158,0,0,1171,1173,3,134, + 67,0,1172,1170,1,0,0,0,1172,1171,1,0,0,0,1173,1217,1,0,0,0,1174, + 1175,5,288,0,0,1175,1176,3,230,115,0,1176,1177,5,252,0,0,1177,1182, + 3,198,99,0,1178,1179,5,3,0,0,1179,1181,3,198,99,0,1180,1178,1,0, + 0,0,1181,1184,1,0,0,0,1182,1180,1,0,0,0,1182,1183,1,0,0,0,1183,1186, + 1,0,0,0,1184,1182,1,0,0,0,1185,1187,3,46,23,0,1186,1185,1,0,0,0, + 1186,1187,1,0,0,0,1187,1217,1,0,0,0,1188,1189,5,170,0,0,1189,1190, + 5,131,0,0,1190,1195,3,230,115,0,1191,1193,5,28,0,0,1192,1191,1,0, + 0,0,1192,1193,1,0,0,0,1193,1194,1,0,0,0,1194,1196,3,266,133,0,1195, + 1192,1,0,0,0,1195,1196,1,0,0,0,1196,1197,1,0,0,0,1197,1198,5,291, + 0,0,1198,1199,3,78,39,0,1199,1200,5,191,0,0,1200,1202,3,134,67,0, + 1201,1203,3,182,91,0,1202,1201,1,0,0,0,1203,1204,1,0,0,0,1204,1202, + 1,0,0,0,1204,1205,1,0,0,0,1205,1217,1,0,0,0,1206,1207,5,254,0,0, + 1207,1208,5,47,0,0,1208,1209,5,191,0,0,1209,1210,5,261,0,0,1210, + 1217,3,230,115,0,1211,1212,5,254,0,0,1212,1213,5,47,0,0,1213,1214, + 5,191,0,0,1214,1215,5,45,0,0,1215,1217,3,250,125,0,1216,305,1,0, + 0,0,1216,306,1,0,0,0,1216,308,1,0,0,0,1216,330,1,0,0,0,1216,340, + 1,0,0,0,1216,356,1,0,0,0,1216,366,1,0,0,0,1216,373,1,0,0,0,1216, + 380,1,0,0,0,1216,418,1,0,0,0,1216,448,1,0,0,0,1216,455,1,0,0,0,1216, + 463,1,0,0,0,1216,469,1,0,0,0,1216,472,1,0,0,0,1216,481,1,0,0,0,1216, + 490,1,0,0,0,1216,499,1,0,0,0,1216,510,1,0,0,0,1216,526,1,0,0,0,1216, + 543,1,0,0,0,1216,558,1,0,0,0,1216,573,1,0,0,0,1216,587,1,0,0,0,1216, + 594,1,0,0,0,1216,601,1,0,0,0,1216,623,1,0,0,0,1216,629,1,0,0,0,1216, + 658,1,0,0,0,1216,680,1,0,0,0,1216,684,1,0,0,0,1216,692,1,0,0,0,1216, + 704,1,0,0,0,1216,712,1,0,0,0,1216,719,1,0,0,0,1216,726,1,0,0,0,1216, + 733,1,0,0,0,1216,748,1,0,0,0,1216,754,1,0,0,0,1216,774,1,0,0,0,1216, + 786,1,0,0,0,1216,793,1,0,0,0,1216,825,1,0,0,0,1216,847,1,0,0,0,1216, + 879,1,0,0,0,1216,902,1,0,0,0,1216,920,1,0,0,0,1216,931,1,0,0,0,1216, + 937,1,0,0,0,1216,952,1,0,0,0,1216,958,1,0,0,0,1216,962,1,0,0,0,1216, + 966,1,0,0,0,1216,970,1,0,0,0,1216,975,1,0,0,0,1216,979,1,0,0,0,1216, + 993,1,0,0,0,1216,1007,1,0,0,0,1216,1017,1,0,0,0,1216,1029,1,0,0, + 0,1216,1033,1,0,0,0,1216,1040,1,0,0,0,1216,1049,1,0,0,0,1216,1056, + 1,0,0,0,1216,1058,1,0,0,0,1216,1060,1,0,0,0,1216,1074,1,0,0,0,1216, + 1084,1,0,0,0,1216,1091,1,0,0,0,1216,1094,1,0,0,0,1216,1100,1,0,0, + 0,1216,1103,1,0,0,0,1216,1115,1,0,0,0,1216,1119,1,0,0,0,1216,1123, + 1,0,0,0,1216,1128,1,0,0,0,1216,1131,1,0,0,0,1216,1144,1,0,0,0,1216, + 1158,1,0,0,0,1216,1161,1,0,0,0,1216,1164,1,0,0,0,1216,1167,1,0,0, + 0,1216,1174,1,0,0,0,1216,1188,1,0,0,0,1216,1206,1,0,0,0,1216,1211, + 1,0,0,0,1217,17,1,0,0,0,1218,1220,3,20,10,0,1219,1218,1,0,0,0,1219, + 1220,1,0,0,0,1220,1221,1,0,0,0,1221,1222,3,22,11,0,1222,19,1,0,0, + 0,1223,1224,5,305,0,0,1224,1229,3,210,105,0,1225,1226,5,3,0,0,1226, + 1228,3,210,105,0,1227,1225,1,0,0,0,1228,1231,1,0,0,0,1229,1227,1, + 0,0,0,1229,1230,1,0,0,0,1230,21,1,0,0,0,1231,1229,1,0,0,0,1232,1234, + 3,24,12,0,1233,1232,1,0,0,0,1233,1234,1,0,0,0,1234,1235,1,0,0,0, + 1235,1236,3,36,18,0,1236,23,1,0,0,0,1237,1239,5,305,0,0,1238,1240, + 5,222,0,0,1239,1238,1,0,0,0,1239,1240,1,0,0,0,1240,1241,1,0,0,0, + 1241,1246,3,64,32,0,1242,1243,5,3,0,0,1243,1245,3,64,32,0,1244,1242, + 1,0,0,0,1245,1248,1,0,0,0,1246,1244,1,0,0,0,1246,1247,1,0,0,0,1247, + 25,1,0,0,0,1248,1246,1,0,0,0,1249,1257,3,28,14,0,1250,1251,5,155, + 0,0,1251,1254,3,230,115,0,1252,1253,7,3,0,0,1253,1255,5,217,0,0, + 1254,1252,1,0,0,0,1254,1255,1,0,0,0,1255,1257,1,0,0,0,1256,1249, + 1,0,0,0,1256,1250,1,0,0,0,1257,27,1,0,0,0,1258,1259,3,254,127,0, + 1259,1262,3,172,86,0,1260,1261,5,183,0,0,1261,1263,5,184,0,0,1262, + 1260,1,0,0,0,1262,1263,1,0,0,0,1263,1266,1,0,0,0,1264,1265,5,47, + 0,0,1265,1267,3,162,81,0,1266,1264,1,0,0,0,1266,1267,1,0,0,0,1267, + 1270,1,0,0,0,1268,1269,5,305,0,0,1269,1271,3,30,15,0,1270,1268,1, + 0,0,0,1270,1271,1,0,0,0,1271,29,1,0,0,0,1272,1273,5,1,0,0,1273,1274, + 3,32,16,0,1274,1275,5,2,0,0,1275,31,1,0,0,0,1276,1281,3,34,17,0, + 1277,1278,5,3,0,0,1278,1280,3,34,17,0,1279,1277,1,0,0,0,1280,1283, + 1,0,0,0,1281,1279,1,0,0,0,1281,1282,1,0,0,0,1282,33,1,0,0,0,1283, + 1281,1,0,0,0,1284,1285,3,266,133,0,1285,1288,5,313,0,0,1286,1289, + 5,71,0,0,1287,1289,3,134,67,0,1288,1286,1,0,0,0,1288,1287,1,0,0, + 0,1289,35,1,0,0,0,1290,1301,3,38,19,0,1291,1292,5,196,0,0,1292,1293, + 5,36,0,0,1293,1298,3,42,21,0,1294,1295,5,3,0,0,1295,1297,3,42,21, + 0,1296,1294,1,0,0,0,1297,1300,1,0,0,0,1298,1296,1,0,0,0,1298,1299, + 1,0,0,0,1299,1302,1,0,0,0,1300,1298,1,0,0,0,1301,1291,1,0,0,0,1301, + 1302,1,0,0,0,1302,1308,1,0,0,0,1303,1304,5,189,0,0,1304,1306,7,4, + 0,0,1305,1307,7,5,0,0,1306,1305,1,0,0,0,1306,1307,1,0,0,0,1307,1309, + 1,0,0,0,1308,1303,1,0,0,0,1308,1309,1,0,0,0,1309,1323,1,0,0,0,1310, + 1311,5,156,0,0,1311,1324,7,6,0,0,1312,1313,5,99,0,0,1313,1315,7, + 7,0,0,1314,1316,7,4,0,0,1315,1314,1,0,0,0,1315,1316,1,0,0,0,1316, + 1317,1,0,0,0,1317,1321,7,5,0,0,1318,1322,5,193,0,0,1319,1320,5,305, + 0,0,1320,1322,5,267,0,0,1321,1318,1,0,0,0,1321,1319,1,0,0,0,1322, + 1324,1,0,0,0,1323,1310,1,0,0,0,1323,1312,1,0,0,0,1323,1324,1,0,0, + 0,1324,37,1,0,0,0,1325,1326,6,19,-1,0,1326,1327,3,40,20,0,1327,1342, + 1,0,0,0,1328,1329,10,2,0,0,1329,1331,5,129,0,0,1330,1332,3,66,33, + 0,1331,1330,1,0,0,0,1331,1332,1,0,0,0,1332,1333,1,0,0,0,1333,1341, + 3,38,19,3,1334,1335,10,1,0,0,1335,1337,7,8,0,0,1336,1338,3,66,33, + 0,1337,1336,1,0,0,0,1337,1338,1,0,0,0,1338,1339,1,0,0,0,1339,1341, + 3,38,19,2,1340,1328,1,0,0,0,1340,1334,1,0,0,0,1341,1344,1,0,0,0, + 1342,1340,1,0,0,0,1342,1343,1,0,0,0,1343,39,1,0,0,0,1344,1342,1, + 0,0,0,1345,1362,3,44,22,0,1346,1347,5,261,0,0,1347,1362,3,230,115, + 0,1348,1349,5,297,0,0,1349,1354,3,134,67,0,1350,1351,5,3,0,0,1351, + 1353,3,134,67,0,1352,1350,1,0,0,0,1353,1356,1,0,0,0,1354,1352,1, + 0,0,0,1354,1355,1,0,0,0,1355,1362,1,0,0,0,1356,1354,1,0,0,0,1357, + 1358,5,1,0,0,1358,1359,3,36,18,0,1359,1360,5,2,0,0,1360,1362,1,0, + 0,0,1361,1345,1,0,0,0,1361,1346,1,0,0,0,1361,1348,1,0,0,0,1361,1357, + 1,0,0,0,1362,41,1,0,0,0,1363,1366,3,250,125,0,1364,1366,3,134,67, + 0,1365,1363,1,0,0,0,1365,1364,1,0,0,0,1366,1368,1,0,0,0,1367,1369, + 7,9,0,0,1368,1367,1,0,0,0,1368,1369,1,0,0,0,1369,1372,1,0,0,0,1370, + 1371,5,186,0,0,1371,1373,7,10,0,0,1372,1370,1,0,0,0,1372,1373,1, + 0,0,0,1373,43,1,0,0,0,1374,1376,5,249,0,0,1375,1377,3,66,33,0,1376, + 1375,1,0,0,0,1376,1377,1,0,0,0,1377,1378,1,0,0,0,1378,1388,3,50, + 25,0,1379,1380,5,106,0,0,1380,1385,3,78,39,0,1381,1382,5,3,0,0,1382, + 1384,3,78,39,0,1383,1381,1,0,0,0,1384,1387,1,0,0,0,1385,1383,1,0, + 0,0,1385,1386,1,0,0,0,1386,1389,1,0,0,0,1387,1385,1,0,0,0,1388,1379, + 1,0,0,0,1388,1389,1,0,0,0,1389,1391,1,0,0,0,1390,1392,3,46,23,0, + 1391,1390,1,0,0,0,1391,1392,1,0,0,0,1392,1396,1,0,0,0,1393,1394, + 5,115,0,0,1394,1395,5,36,0,0,1395,1397,3,52,26,0,1396,1393,1,0,0, + 0,1396,1397,1,0,0,0,1397,1399,1,0,0,0,1398,1400,3,48,24,0,1399,1398, + 1,0,0,0,1399,1400,1,0,0,0,1400,1410,1,0,0,0,1401,1402,5,304,0,0, + 1402,1407,3,60,30,0,1403,1404,5,3,0,0,1404,1406,3,60,30,0,1405,1403, + 1,0,0,0,1406,1409,1,0,0,0,1407,1405,1,0,0,0,1407,1408,1,0,0,0,1408, + 1411,1,0,0,0,1409,1407,1,0,0,0,1410,1401,1,0,0,0,1410,1411,1,0,0, + 0,1411,45,1,0,0,0,1412,1413,5,302,0,0,1413,1414,3,136,68,0,1414, + 47,1,0,0,0,1415,1416,5,118,0,0,1416,1417,3,136,68,0,1417,49,1,0, + 0,0,1418,1423,3,68,34,0,1419,1420,5,3,0,0,1420,1422,3,68,34,0,1421, + 1419,1,0,0,0,1422,1425,1,0,0,0,1423,1421,1,0,0,0,1423,1424,1,0,0, + 0,1424,51,1,0,0,0,1425,1423,1,0,0,0,1426,1428,3,66,33,0,1427,1426, + 1,0,0,0,1427,1428,1,0,0,0,1428,1429,1,0,0,0,1429,1434,3,56,28,0, + 1430,1431,5,3,0,0,1431,1433,3,56,28,0,1432,1430,1,0,0,0,1433,1436, + 1,0,0,0,1434,1432,1,0,0,0,1434,1435,1,0,0,0,1435,53,1,0,0,0,1436, + 1434,1,0,0,0,1437,1442,3,134,67,0,1438,1439,5,3,0,0,1439,1441,3, + 134,67,0,1440,1438,1,0,0,0,1441,1444,1,0,0,0,1442,1440,1,0,0,0,1442, + 1443,1,0,0,0,1443,55,1,0,0,0,1444,1442,1,0,0,0,1445,1486,3,58,29, + 0,1446,1447,5,239,0,0,1447,1456,5,1,0,0,1448,1453,3,58,29,0,1449, + 1450,5,3,0,0,1450,1452,3,58,29,0,1451,1449,1,0,0,0,1452,1455,1,0, + 0,0,1453,1451,1,0,0,0,1453,1454,1,0,0,0,1454,1457,1,0,0,0,1455,1453, + 1,0,0,0,1456,1448,1,0,0,0,1456,1457,1,0,0,0,1457,1458,1,0,0,0,1458, + 1486,5,2,0,0,1459,1460,5,56,0,0,1460,1469,5,1,0,0,1461,1466,3,58, + 29,0,1462,1463,5,3,0,0,1463,1465,3,58,29,0,1464,1462,1,0,0,0,1465, + 1468,1,0,0,0,1466,1464,1,0,0,0,1466,1467,1,0,0,0,1467,1470,1,0,0, + 0,1468,1466,1,0,0,0,1469,1461,1,0,0,0,1469,1470,1,0,0,0,1470,1471, + 1,0,0,0,1471,1486,5,2,0,0,1472,1473,5,116,0,0,1473,1474,5,253,0, + 0,1474,1475,5,1,0,0,1475,1480,3,58,29,0,1476,1477,5,3,0,0,1477,1479, + 3,58,29,0,1478,1476,1,0,0,0,1479,1482,1,0,0,0,1480,1478,1,0,0,0, + 1480,1481,1,0,0,0,1481,1483,1,0,0,0,1482,1480,1,0,0,0,1483,1484, + 5,2,0,0,1484,1486,1,0,0,0,1485,1445,1,0,0,0,1485,1446,1,0,0,0,1485, + 1459,1,0,0,0,1485,1472,1,0,0,0,1486,57,1,0,0,0,1487,1502,5,1,0,0, + 1488,1491,3,250,125,0,1489,1491,3,134,67,0,1490,1488,1,0,0,0,1490, + 1489,1,0,0,0,1491,1499,1,0,0,0,1492,1495,5,3,0,0,1493,1496,3,250, + 125,0,1494,1496,3,134,67,0,1495,1493,1,0,0,0,1495,1494,1,0,0,0,1496, + 1498,1,0,0,0,1497,1492,1,0,0,0,1498,1501,1,0,0,0,1499,1497,1,0,0, + 0,1499,1500,1,0,0,0,1500,1503,1,0,0,0,1501,1499,1,0,0,0,1502,1490, + 1,0,0,0,1502,1503,1,0,0,0,1503,1504,1,0,0,0,1504,1510,5,2,0,0,1505, + 1508,3,250,125,0,1506,1508,3,134,67,0,1507,1505,1,0,0,0,1507,1506, + 1,0,0,0,1508,1510,1,0,0,0,1509,1487,1,0,0,0,1509,1507,1,0,0,0,1510, + 59,1,0,0,0,1511,1512,3,266,133,0,1512,1513,5,28,0,0,1513,1514,5, + 1,0,0,1514,1515,3,62,31,0,1515,1516,5,2,0,0,1516,61,1,0,0,0,1517, + 1519,3,266,133,0,1518,1517,1,0,0,0,1518,1519,1,0,0,0,1519,1523,1, + 0,0,0,1520,1521,5,202,0,0,1521,1522,5,36,0,0,1522,1524,3,54,27,0, + 1523,1520,1,0,0,0,1523,1524,1,0,0,0,1524,1535,1,0,0,0,1525,1526, + 5,196,0,0,1526,1527,5,36,0,0,1527,1532,3,42,21,0,1528,1529,5,3,0, + 0,1529,1531,3,42,21,0,1530,1528,1,0,0,0,1531,1534,1,0,0,0,1532,1530, + 1,0,0,0,1532,1533,1,0,0,0,1533,1536,1,0,0,0,1534,1532,1,0,0,0,1535, + 1525,1,0,0,0,1535,1536,1,0,0,0,1536,1538,1,0,0,0,1537,1539,3,186, + 93,0,1538,1537,1,0,0,0,1538,1539,1,0,0,0,1539,63,1,0,0,0,1540,1542, + 3,266,133,0,1541,1543,3,104,52,0,1542,1541,1,0,0,0,1542,1543,1,0, + 0,0,1543,1544,1,0,0,0,1544,1545,5,28,0,0,1545,1546,5,1,0,0,1546, + 1547,3,22,11,0,1547,1548,5,2,0,0,1548,65,1,0,0,0,1549,1550,7,11, + 0,0,1550,67,1,0,0,0,1551,1554,3,74,37,0,1552,1554,3,76,38,0,1553, + 1551,1,0,0,0,1553,1552,1,0,0,0,1554,1559,1,0,0,0,1555,1557,5,28, + 0,0,1556,1555,1,0,0,0,1556,1557,1,0,0,0,1557,1558,1,0,0,0,1558,1560, + 3,266,133,0,1559,1556,1,0,0,0,1559,1560,1,0,0,0,1560,1568,1,0,0, + 0,1561,1564,3,72,36,0,1562,1563,5,28,0,0,1563,1565,3,104,52,0,1564, + 1562,1,0,0,0,1564,1565,1,0,0,0,1565,1568,1,0,0,0,1566,1568,3,70, + 35,0,1567,1553,1,0,0,0,1567,1561,1,0,0,0,1567,1566,1,0,0,0,1568, + 69,1,0,0,0,1569,1570,5,321,0,0,1570,71,1,0,0,0,1571,1572,3,142,71, + 0,1572,1573,5,4,0,0,1573,1574,5,321,0,0,1574,73,1,0,0,0,1575,1576, + 3,250,125,0,1576,75,1,0,0,0,1577,1578,3,134,67,0,1578,77,1,0,0,0, + 1579,1580,6,39,-1,0,1580,1581,3,82,41,0,1581,1614,1,0,0,0,1582,1610, + 10,2,0,0,1583,1584,5,55,0,0,1584,1585,5,137,0,0,1585,1611,3,82,41, + 0,1586,1587,3,80,40,0,1587,1588,5,137,0,0,1588,1603,3,78,39,0,1589, + 1590,5,191,0,0,1590,1604,3,136,68,0,1591,1592,5,291,0,0,1592,1593, + 5,1,0,0,1593,1598,3,266,133,0,1594,1595,5,3,0,0,1595,1597,3,266, + 133,0,1596,1594,1,0,0,0,1597,1600,1,0,0,0,1598,1596,1,0,0,0,1598, + 1599,1,0,0,0,1599,1601,1,0,0,0,1600,1598,1,0,0,0,1601,1602,5,2,0, + 0,1602,1604,1,0,0,0,1603,1589,1,0,0,0,1603,1591,1,0,0,0,1604,1611, + 1,0,0,0,1605,1606,5,173,0,0,1606,1607,3,80,40,0,1607,1608,5,137, + 0,0,1608,1609,3,82,41,0,1609,1611,1,0,0,0,1610,1583,1,0,0,0,1610, + 1586,1,0,0,0,1610,1605,1,0,0,0,1611,1613,1,0,0,0,1612,1582,1,0,0, + 0,1613,1616,1,0,0,0,1614,1612,1,0,0,0,1614,1615,1,0,0,0,1615,79, + 1,0,0,0,1616,1614,1,0,0,0,1617,1619,5,126,0,0,1618,1617,1,0,0,0, + 1618,1619,1,0,0,0,1619,1633,1,0,0,0,1620,1622,5,153,0,0,1621,1623, + 5,198,0,0,1622,1621,1,0,0,0,1622,1623,1,0,0,0,1623,1633,1,0,0,0, + 1624,1626,5,235,0,0,1625,1627,5,198,0,0,1626,1625,1,0,0,0,1626,1627, + 1,0,0,0,1627,1633,1,0,0,0,1628,1630,5,107,0,0,1629,1631,5,198,0, + 0,1630,1629,1,0,0,0,1630,1631,1,0,0,0,1631,1633,1,0,0,0,1632,1618, + 1,0,0,0,1632,1620,1,0,0,0,1632,1624,1,0,0,0,1632,1628,1,0,0,0,1633, + 81,1,0,0,0,1634,1641,3,86,43,0,1635,1636,5,263,0,0,1636,1637,7,12, + 0,0,1637,1638,5,1,0,0,1638,1639,3,134,67,0,1639,1640,5,2,0,0,1640, + 1642,1,0,0,0,1641,1635,1,0,0,0,1641,1642,1,0,0,0,1642,83,1,0,0,0, + 1643,1655,5,90,0,0,1644,1646,5,275,0,0,1645,1647,3,162,81,0,1646, + 1645,1,0,0,0,1646,1647,1,0,0,0,1647,1652,1,0,0,0,1648,1649,5,305, + 0,0,1649,1653,5,52,0,0,1650,1651,5,307,0,0,1651,1653,5,52,0,0,1652, + 1648,1,0,0,0,1652,1650,1,0,0,0,1653,1655,1,0,0,0,1654,1643,1,0,0, + 0,1654,1644,1,0,0,0,1655,85,1,0,0,0,1656,1732,3,98,49,0,1657,1658, + 5,167,0,0,1658,1662,5,1,0,0,1659,1660,5,202,0,0,1660,1661,5,36,0, + 0,1661,1663,3,54,27,0,1662,1659,1,0,0,0,1662,1663,1,0,0,0,1663,1674, + 1,0,0,0,1664,1665,5,196,0,0,1665,1666,5,36,0,0,1666,1671,3,42,21, + 0,1667,1668,5,3,0,0,1668,1670,3,42,21,0,1669,1667,1,0,0,0,1670,1673, + 1,0,0,0,1671,1669,1,0,0,0,1671,1672,1,0,0,0,1672,1675,1,0,0,0,1673, + 1671,1,0,0,0,1674,1664,1,0,0,0,1674,1675,1,0,0,0,1675,1685,1,0,0, + 0,1676,1677,5,169,0,0,1677,1682,3,88,44,0,1678,1679,5,3,0,0,1679, + 1681,3,88,44,0,1680,1678,1,0,0,0,1681,1684,1,0,0,0,1682,1680,1,0, + 0,0,1682,1683,1,0,0,0,1683,1686,1,0,0,0,1684,1682,1,0,0,0,1685,1676, + 1,0,0,0,1685,1686,1,0,0,0,1686,1688,1,0,0,0,1687,1689,3,90,45,0, + 1688,1687,1,0,0,0,1688,1689,1,0,0,0,1689,1693,1,0,0,0,1690,1691, + 5,21,0,0,1691,1692,5,164,0,0,1692,1694,3,92,46,0,1693,1690,1,0,0, + 0,1693,1694,1,0,0,0,1694,1696,1,0,0,0,1695,1697,7,13,0,0,1696,1695, + 1,0,0,0,1696,1697,1,0,0,0,1697,1698,1,0,0,0,1698,1699,5,207,0,0, + 1699,1700,5,1,0,0,1700,1701,3,192,96,0,1701,1711,5,2,0,0,1702,1703, + 5,258,0,0,1703,1708,3,94,47,0,1704,1705,5,3,0,0,1705,1707,3,94,47, + 0,1706,1704,1,0,0,0,1707,1710,1,0,0,0,1708,1706,1,0,0,0,1708,1709, + 1,0,0,0,1709,1712,1,0,0,0,1710,1708,1,0,0,0,1711,1702,1,0,0,0,1711, + 1712,1,0,0,0,1712,1713,1,0,0,0,1713,1714,5,72,0,0,1714,1719,3,96, + 48,0,1715,1716,5,3,0,0,1716,1718,3,96,48,0,1717,1715,1,0,0,0,1718, + 1721,1,0,0,0,1719,1717,1,0,0,0,1719,1720,1,0,0,0,1720,1722,1,0,0, + 0,1721,1719,1,0,0,0,1722,1730,5,2,0,0,1723,1725,5,28,0,0,1724,1723, + 1,0,0,0,1724,1725,1,0,0,0,1725,1726,1,0,0,0,1726,1728,3,266,133, + 0,1727,1729,3,104,52,0,1728,1727,1,0,0,0,1728,1729,1,0,0,0,1729, + 1731,1,0,0,0,1730,1724,1,0,0,0,1730,1731,1,0,0,0,1731,1733,1,0,0, + 0,1732,1657,1,0,0,0,1732,1733,1,0,0,0,1733,87,1,0,0,0,1734,1735, + 3,134,67,0,1735,1736,5,28,0,0,1736,1737,3,266,133,0,1737,89,1,0, + 0,0,1738,1739,5,192,0,0,1739,1740,5,240,0,0,1740,1741,5,208,0,0, + 1741,1758,5,164,0,0,1742,1743,5,22,0,0,1743,1744,5,241,0,0,1744, + 1745,5,208,0,0,1745,1755,5,164,0,0,1746,1747,5,254,0,0,1747,1748, + 5,86,0,0,1748,1756,5,166,0,0,1749,1750,5,190,0,0,1750,1751,5,86, + 0,0,1751,1756,5,166,0,0,1752,1753,5,305,0,0,1753,1754,5,285,0,0, + 1754,1756,5,241,0,0,1755,1746,1,0,0,0,1755,1749,1,0,0,0,1755,1752, + 1,0,0,0,1755,1756,1,0,0,0,1756,1758,1,0,0,0,1757,1738,1,0,0,0,1757, + 1742,1,0,0,0,1758,91,1,0,0,0,1759,1760,5,5,0,0,1760,1761,5,270,0, + 0,1761,1762,5,175,0,0,1762,1779,5,240,0,0,1763,1764,5,5,0,0,1764, + 1765,5,205,0,0,1765,1766,5,149,0,0,1766,1779,5,240,0,0,1767,1768, + 5,5,0,0,1768,1769,5,270,0,0,1769,1770,5,102,0,0,1770,1779,3,266, + 133,0,1771,1772,5,5,0,0,1772,1773,5,270,0,0,1773,1774,5,149,0,0, + 1774,1779,3,266,133,0,1775,1776,5,5,0,0,1776,1777,5,270,0,0,1777, + 1779,3,266,133,0,1778,1759,1,0,0,0,1778,1763,1,0,0,0,1778,1767,1, + 0,0,0,1778,1771,1,0,0,0,1778,1775,1,0,0,0,1779,93,1,0,0,0,1780,1781, + 3,266,133,0,1781,1782,5,313,0,0,1782,1783,5,1,0,0,1783,1788,3,266, + 133,0,1784,1785,5,3,0,0,1785,1787,3,266,133,0,1786,1784,1,0,0,0, + 1787,1790,1,0,0,0,1788,1786,1,0,0,0,1788,1789,1,0,0,0,1789,1791, + 1,0,0,0,1790,1788,1,0,0,0,1791,1792,5,2,0,0,1792,95,1,0,0,0,1793, + 1794,3,266,133,0,1794,1795,5,28,0,0,1795,1796,3,134,67,0,1796,97, + 1,0,0,0,1797,1805,3,106,53,0,1798,1800,5,28,0,0,1799,1798,1,0,0, + 0,1799,1800,1,0,0,0,1800,1801,1,0,0,0,1801,1803,3,266,133,0,1802, + 1804,3,104,52,0,1803,1802,1,0,0,0,1803,1804,1,0,0,0,1804,1806,1, + 0,0,0,1805,1799,1,0,0,0,1805,1806,1,0,0,0,1806,99,1,0,0,0,1807,1808, + 5,1,0,0,1808,1813,3,254,127,0,1809,1810,5,3,0,0,1810,1812,3,254, + 127,0,1811,1809,1,0,0,0,1812,1815,1,0,0,0,1813,1811,1,0,0,0,1813, + 1814,1,0,0,0,1814,1816,1,0,0,0,1815,1813,1,0,0,0,1816,1817,5,2,0, + 0,1817,101,1,0,0,0,1818,1819,5,1,0,0,1819,1824,3,250,125,0,1820, + 1821,5,3,0,0,1821,1823,3,250,125,0,1822,1820,1,0,0,0,1823,1826,1, + 0,0,0,1824,1822,1,0,0,0,1824,1825,1,0,0,0,1825,1827,1,0,0,0,1826, + 1824,1,0,0,0,1827,1828,5,2,0,0,1828,103,1,0,0,0,1829,1830,5,1,0, + 0,1830,1835,3,266,133,0,1831,1832,5,3,0,0,1832,1834,3,266,133,0, + 1833,1831,1,0,0,0,1834,1837,1,0,0,0,1835,1833,1,0,0,0,1835,1836, + 1,0,0,0,1836,1838,1,0,0,0,1837,1835,1,0,0,0,1838,1839,5,2,0,0,1839, + 105,1,0,0,0,1840,1846,3,228,114,0,1841,1842,5,104,0,0,1842,1843, + 7,14,0,0,1843,1844,5,28,0,0,1844,1845,5,188,0,0,1845,1847,3,140, + 70,0,1846,1841,1,0,0,0,1846,1847,1,0,0,0,1847,1854,1,0,0,0,1848, + 1854,3,108,54,0,1849,1850,5,1,0,0,1850,1851,3,78,39,0,1851,1852, + 5,2,0,0,1852,1854,1,0,0,0,1853,1840,1,0,0,0,1853,1848,1,0,0,0,1853, + 1849,1,0,0,0,1854,107,1,0,0,0,1855,1856,5,1,0,0,1856,1857,3,22,11, + 0,1857,1858,5,2,0,0,1858,1919,1,0,0,0,1859,1860,5,286,0,0,1860,1861, + 5,1,0,0,1861,1866,3,134,67,0,1862,1863,5,3,0,0,1863,1865,3,134,67, + 0,1864,1862,1,0,0,0,1865,1868,1,0,0,0,1866,1864,1,0,0,0,1866,1867, + 1,0,0,0,1867,1869,1,0,0,0,1868,1866,1,0,0,0,1869,1872,5,2,0,0,1870, + 1871,5,305,0,0,1871,1873,5,197,0,0,1872,1870,1,0,0,0,1872,1873,1, + 0,0,0,1873,1919,1,0,0,0,1874,1875,5,150,0,0,1875,1876,5,1,0,0,1876, + 1877,3,22,11,0,1877,1878,5,2,0,0,1878,1919,1,0,0,0,1879,1880,5,261, + 0,0,1880,1881,5,1,0,0,1881,1882,3,120,60,0,1882,1883,5,2,0,0,1883, + 1919,1,0,0,0,1884,1885,5,143,0,0,1885,1886,5,1,0,0,1886,1887,3,144, + 72,0,1887,1888,5,46,0,0,1888,1889,5,1,0,0,1889,1894,3,110,55,0,1890, + 1891,5,3,0,0,1891,1893,3,110,55,0,1892,1890,1,0,0,0,1893,1896,1, + 0,0,0,1894,1892,1,0,0,0,1894,1895,1,0,0,0,1895,1897,1,0,0,0,1896, + 1894,1,0,0,0,1897,1909,5,2,0,0,1898,1899,5,211,0,0,1899,1900,5,1, + 0,0,1900,1901,3,112,56,0,1901,1902,5,2,0,0,1902,1910,1,0,0,0,1903, + 1904,5,211,0,0,1904,1905,5,71,0,0,1905,1906,5,1,0,0,1906,1907,3, + 118,59,0,1907,1908,5,2,0,0,1908,1910,1,0,0,0,1909,1898,1,0,0,0,1909, + 1903,1,0,0,0,1909,1910,1,0,0,0,1910,1914,1,0,0,0,1911,1912,7,15, + 0,0,1912,1913,5,191,0,0,1913,1915,5,90,0,0,1914,1911,1,0,0,0,1914, + 1915,1,0,0,0,1915,1916,1,0,0,0,1916,1917,5,2,0,0,1917,1919,1,0,0, + 0,1918,1855,1,0,0,0,1918,1859,1,0,0,0,1918,1874,1,0,0,0,1918,1879, + 1,0,0,0,1918,1884,1,0,0,0,1919,109,1,0,0,0,1920,1921,3,266,133,0, + 1921,1922,5,104,0,0,1922,1923,5,197,0,0,1923,1998,1,0,0,0,1924,1925, + 3,266,133,0,1925,1928,3,172,86,0,1926,1927,5,206,0,0,1927,1929,3, + 162,81,0,1928,1926,1,0,0,0,1928,1929,1,0,0,0,1929,1934,1,0,0,0,1930, + 1931,3,152,76,0,1931,1932,5,191,0,0,1932,1933,5,86,0,0,1933,1935, + 1,0,0,0,1934,1930,1,0,0,0,1934,1935,1,0,0,0,1935,1940,1,0,0,0,1936, + 1937,3,152,76,0,1937,1938,5,191,0,0,1938,1939,5,90,0,0,1939,1941, + 1,0,0,0,1940,1936,1,0,0,0,1940,1941,1,0,0,0,1941,1998,1,0,0,0,1942, + 1943,3,266,133,0,1943,1944,3,172,86,0,1944,1945,5,105,0,0,1945,1948, + 3,148,74,0,1946,1947,5,206,0,0,1947,1949,3,162,81,0,1948,1946,1, + 0,0,0,1948,1949,1,0,0,0,1949,1953,1,0,0,0,1950,1951,3,154,77,0,1951, + 1952,5,309,0,0,1952,1954,1,0,0,0,1953,1950,1,0,0,0,1953,1954,1,0, + 0,0,1954,1962,1,0,0,0,1955,1956,7,16,0,0,1956,1960,5,219,0,0,1957, + 1958,5,191,0,0,1958,1959,5,243,0,0,1959,1961,5,265,0,0,1960,1957, + 1,0,0,0,1960,1961,1,0,0,0,1961,1963,1,0,0,0,1962,1955,1,0,0,0,1962, + 1963,1,0,0,0,1963,1968,1,0,0,0,1964,1965,3,156,78,0,1965,1966,5, + 191,0,0,1966,1967,5,86,0,0,1967,1969,1,0,0,0,1968,1964,1,0,0,0,1968, + 1969,1,0,0,0,1969,1974,1,0,0,0,1970,1971,3,156,78,0,1971,1972,5, + 191,0,0,1972,1973,5,90,0,0,1973,1975,1,0,0,0,1974,1970,1,0,0,0,1974, + 1975,1,0,0,0,1975,1998,1,0,0,0,1976,1978,5,174,0,0,1977,1979,5,206, + 0,0,1978,1977,1,0,0,0,1978,1979,1,0,0,0,1979,1980,1,0,0,0,1980,1983, + 3,162,81,0,1981,1982,5,28,0,0,1982,1984,3,266,133,0,1983,1981,1, + 0,0,0,1983,1984,1,0,0,0,1984,1985,1,0,0,0,1985,1986,5,46,0,0,1986, + 1987,5,1,0,0,1987,1992,3,110,55,0,1988,1989,5,3,0,0,1989,1991,3, + 110,55,0,1990,1988,1,0,0,0,1991,1994,1,0,0,0,1992,1990,1,0,0,0,1992, + 1993,1,0,0,0,1993,1995,1,0,0,0,1994,1992,1,0,0,0,1995,1996,5,2,0, + 0,1996,1998,1,0,0,0,1997,1920,1,0,0,0,1997,1924,1,0,0,0,1997,1942, + 1,0,0,0,1997,1976,1,0,0,0,1998,111,1,0,0,0,1999,2025,3,114,57,0, + 2000,2001,3,114,57,0,2001,2002,7,17,0,0,2002,2003,3,116,58,0,2003, + 2025,1,0,0,0,2004,2005,3,116,58,0,2005,2006,5,282,0,0,2006,2011, + 3,116,58,0,2007,2008,5,282,0,0,2008,2010,3,116,58,0,2009,2007,1, + 0,0,0,2010,2013,1,0,0,0,2011,2009,1,0,0,0,2011,2012,1,0,0,0,2012, + 2025,1,0,0,0,2013,2011,1,0,0,0,2014,2015,3,116,58,0,2015,2016,5, + 55,0,0,2016,2021,3,116,58,0,2017,2018,5,55,0,0,2018,2020,3,116,58, + 0,2019,2017,1,0,0,0,2020,2023,1,0,0,0,2021,2019,1,0,0,0,2021,2022, + 1,0,0,0,2022,2025,1,0,0,0,2023,2021,1,0,0,0,2024,1999,1,0,0,0,2024, + 2000,1,0,0,0,2024,2004,1,0,0,0,2024,2014,1,0,0,0,2025,113,1,0,0, + 0,2026,2027,3,266,133,0,2027,115,1,0,0,0,2028,2034,3,114,57,0,2029, + 2030,5,1,0,0,2030,2031,3,112,56,0,2031,2032,5,2,0,0,2032,2034,1, + 0,0,0,2033,2028,1,0,0,0,2033,2029,1,0,0,0,2034,117,1,0,0,0,2035, + 2038,7,17,0,0,2036,2037,5,3,0,0,2037,2039,7,18,0,0,2038,2036,1,0, + 0,0,2038,2039,1,0,0,0,2039,2046,1,0,0,0,2040,2043,7,18,0,0,2041, + 2042,5,3,0,0,2042,2044,7,17,0,0,2043,2041,1,0,0,0,2043,2044,1,0, + 0,0,2044,2046,1,0,0,0,2045,2035,1,0,0,0,2045,2040,1,0,0,0,2046,119, + 1,0,0,0,2047,2048,3,246,123,0,2048,2057,5,1,0,0,2049,2054,3,122, + 61,0,2050,2051,5,3,0,0,2051,2053,3,122,61,0,2052,2050,1,0,0,0,2053, + 2056,1,0,0,0,2054,2052,1,0,0,0,2054,2055,1,0,0,0,2055,2058,1,0,0, + 0,2056,2054,1,0,0,0,2057,2049,1,0,0,0,2057,2058,1,0,0,0,2058,2068, + 1,0,0,0,2059,2060,5,53,0,0,2060,2065,3,132,66,0,2061,2062,5,3,0, + 0,2062,2064,3,132,66,0,2063,2061,1,0,0,0,2064,2067,1,0,0,0,2065, + 2063,1,0,0,0,2065,2066,1,0,0,0,2066,2069,1,0,0,0,2067,2065,1,0,0, + 0,2068,2059,1,0,0,0,2068,2069,1,0,0,0,2069,2070,1,0,0,0,2070,2071, + 5,2,0,0,2071,121,1,0,0,0,2072,2073,3,266,133,0,2073,2074,5,6,0,0, + 2074,2076,1,0,0,0,2075,2072,1,0,0,0,2075,2076,1,0,0,0,2076,2080, + 1,0,0,0,2077,2081,3,124,62,0,2078,2081,3,128,64,0,2079,2081,3,134, + 67,0,2080,2077,1,0,0,0,2080,2078,1,0,0,0,2080,2079,1,0,0,0,2081, + 123,1,0,0,0,2082,2093,3,126,63,0,2083,2084,5,202,0,0,2084,2091,5, + 36,0,0,2085,2087,5,1,0,0,2086,2088,3,54,27,0,2087,2086,1,0,0,0,2087, + 2088,1,0,0,0,2088,2089,1,0,0,0,2089,2092,5,2,0,0,2090,2092,3,134, + 67,0,2091,2085,1,0,0,0,2091,2090,1,0,0,0,2092,2094,1,0,0,0,2093, + 2083,1,0,0,0,2093,2094,1,0,0,0,2094,2101,1,0,0,0,2095,2096,5,218, + 0,0,2096,2097,5,301,0,0,2097,2102,5,86,0,0,2098,2099,5,145,0,0,2099, + 2100,5,301,0,0,2100,2102,5,86,0,0,2101,2095,1,0,0,0,2101,2098,1, + 0,0,0,2101,2102,1,0,0,0,2102,2119,1,0,0,0,2103,2104,5,196,0,0,2104, + 2117,5,36,0,0,2105,2106,5,1,0,0,2106,2111,3,42,21,0,2107,2108,5, + 3,0,0,2108,2110,3,42,21,0,2109,2107,1,0,0,0,2110,2113,1,0,0,0,2111, + 2109,1,0,0,0,2111,2112,1,0,0,0,2112,2114,1,0,0,0,2113,2111,1,0,0, + 0,2114,2115,5,2,0,0,2115,2118,1,0,0,0,2116,2118,3,42,21,0,2117,2105, + 1,0,0,0,2117,2116,1,0,0,0,2118,2120,1,0,0,0,2119,2103,1,0,0,0,2119, + 2120,1,0,0,0,2120,125,1,0,0,0,2121,2122,5,261,0,0,2122,2123,5,1, + 0,0,2123,2124,3,230,115,0,2124,2132,5,2,0,0,2125,2127,5,28,0,0,2126, + 2125,1,0,0,0,2126,2127,1,0,0,0,2127,2128,1,0,0,0,2128,2130,3,266, + 133,0,2129,2131,3,104,52,0,2130,2129,1,0,0,0,2130,2131,1,0,0,0,2131, + 2133,1,0,0,0,2132,2126,1,0,0,0,2132,2133,1,0,0,0,2133,2148,1,0,0, + 0,2134,2135,5,261,0,0,2135,2136,5,1,0,0,2136,2137,3,22,11,0,2137, + 2145,5,2,0,0,2138,2140,5,28,0,0,2139,2138,1,0,0,0,2139,2140,1,0, + 0,0,2140,2141,1,0,0,0,2141,2143,3,266,133,0,2142,2144,3,104,52,0, + 2143,2142,1,0,0,0,2143,2144,1,0,0,0,2144,2146,1,0,0,0,2145,2139, + 1,0,0,0,2145,2146,1,0,0,0,2146,2148,1,0,0,0,2147,2121,1,0,0,0,2147, + 2134,1,0,0,0,2148,127,1,0,0,0,2149,2150,5,78,0,0,2150,2151,5,1,0, + 0,2151,2156,3,130,65,0,2152,2153,5,3,0,0,2153,2155,3,130,65,0,2154, + 2152,1,0,0,0,2155,2158,1,0,0,0,2156,2154,1,0,0,0,2156,2157,1,0,0, + 0,2157,2159,1,0,0,0,2158,2156,1,0,0,0,2159,2160,5,2,0,0,2160,2168, + 1,0,0,0,2161,2162,5,41,0,0,2162,2163,5,1,0,0,2163,2164,5,184,0,0, + 2164,2165,5,28,0,0,2165,2166,5,78,0,0,2166,2168,5,2,0,0,2167,2149, + 1,0,0,0,2167,2161,1,0,0,0,2168,129,1,0,0,0,2169,2171,3,266,133,0, + 2170,2172,3,172,86,0,2171,2170,1,0,0,0,2171,2172,1,0,0,0,2172,131, + 1,0,0,0,2173,2174,5,1,0,0,2174,2175,3,256,128,0,2175,2176,5,3,0, + 0,2176,2181,3,256,128,0,2177,2178,5,3,0,0,2178,2180,3,256,128,0, + 2179,2177,1,0,0,0,2180,2183,1,0,0,0,2181,2179,1,0,0,0,2181,2182, + 1,0,0,0,2182,2184,1,0,0,0,2183,2181,1,0,0,0,2184,2185,5,2,0,0,2185, + 133,1,0,0,0,2186,2187,3,136,68,0,2187,135,1,0,0,0,2188,2189,6,68, + -1,0,2189,2191,3,140,70,0,2190,2192,3,138,69,0,2191,2190,1,0,0,0, + 2191,2192,1,0,0,0,2192,2196,1,0,0,0,2193,2194,5,183,0,0,2194,2196, + 3,136,68,3,2195,2188,1,0,0,0,2195,2193,1,0,0,0,2196,2205,1,0,0,0, + 2197,2198,10,2,0,0,2198,2199,5,25,0,0,2199,2204,3,136,68,3,2200, + 2201,10,1,0,0,2201,2202,5,195,0,0,2202,2204,3,136,68,2,2203,2197, + 1,0,0,0,2203,2200,1,0,0,0,2204,2207,1,0,0,0,2205,2203,1,0,0,0,2205, + 2206,1,0,0,0,2206,137,1,0,0,0,2207,2205,1,0,0,0,2208,2209,3,164, + 82,0,2209,2210,3,140,70,0,2210,2270,1,0,0,0,2211,2212,3,164,82,0, + 2212,2213,3,166,83,0,2213,2214,5,1,0,0,2214,2215,3,22,11,0,2215, + 2216,5,2,0,0,2216,2270,1,0,0,0,2217,2219,5,183,0,0,2218,2217,1,0, + 0,0,2218,2219,1,0,0,0,2219,2220,1,0,0,0,2220,2221,5,34,0,0,2221, + 2222,3,140,70,0,2222,2223,5,25,0,0,2223,2224,3,140,70,0,2224,2270, + 1,0,0,0,2225,2227,5,183,0,0,2226,2225,1,0,0,0,2226,2227,1,0,0,0, + 2227,2228,1,0,0,0,2228,2229,5,123,0,0,2229,2230,5,1,0,0,2230,2235, + 3,134,67,0,2231,2232,5,3,0,0,2232,2234,3,134,67,0,2233,2231,1,0, + 0,0,2234,2237,1,0,0,0,2235,2233,1,0,0,0,2235,2236,1,0,0,0,2236,2238, + 1,0,0,0,2237,2235,1,0,0,0,2238,2239,5,2,0,0,2239,2270,1,0,0,0,2240, + 2242,5,183,0,0,2241,2240,1,0,0,0,2241,2242,1,0,0,0,2242,2243,1,0, + 0,0,2243,2244,5,123,0,0,2244,2245,5,1,0,0,2245,2246,3,22,11,0,2246, + 2247,5,2,0,0,2247,2270,1,0,0,0,2248,2250,5,183,0,0,2249,2248,1,0, + 0,0,2249,2250,1,0,0,0,2250,2251,1,0,0,0,2251,2252,5,155,0,0,2252, + 2255,3,140,70,0,2253,2254,5,91,0,0,2254,2256,3,140,70,0,2255,2253, + 1,0,0,0,2255,2256,1,0,0,0,2256,2270,1,0,0,0,2257,2259,5,134,0,0, + 2258,2260,5,183,0,0,2259,2258,1,0,0,0,2259,2260,1,0,0,0,2260,2261, + 1,0,0,0,2261,2270,5,184,0,0,2262,2264,5,134,0,0,2263,2265,5,183, + 0,0,2264,2263,1,0,0,0,2264,2265,1,0,0,0,2265,2266,1,0,0,0,2266,2267, + 5,80,0,0,2267,2268,5,106,0,0,2268,2270,3,140,70,0,2269,2208,1,0, + 0,0,2269,2211,1,0,0,0,2269,2218,1,0,0,0,2269,2226,1,0,0,0,2269,2241, + 1,0,0,0,2269,2249,1,0,0,0,2269,2257,1,0,0,0,2269,2262,1,0,0,0,2270, + 139,1,0,0,0,2271,2272,6,70,-1,0,2272,2276,3,142,71,0,2273,2274,7, + 19,0,0,2274,2276,3,140,70,4,2275,2271,1,0,0,0,2275,2273,1,0,0,0, + 2276,2298,1,0,0,0,2277,2278,10,3,0,0,2278,2279,7,20,0,0,2279,2297, + 3,140,70,4,2280,2281,10,2,0,0,2281,2282,7,19,0,0,2282,2297,3,140, + 70,3,2283,2284,10,1,0,0,2284,2285,5,324,0,0,2285,2297,3,140,70,2, + 2286,2287,10,5,0,0,2287,2294,5,30,0,0,2288,2289,5,268,0,0,2289,2290, + 5,312,0,0,2290,2295,3,168,84,0,2291,2292,5,268,0,0,2292,2293,5,312, + 0,0,2293,2295,3,162,81,0,2294,2288,1,0,0,0,2294,2291,1,0,0,0,2295, + 2297,1,0,0,0,2296,2277,1,0,0,0,2296,2280,1,0,0,0,2296,2283,1,0,0, + 0,2296,2286,1,0,0,0,2297,2300,1,0,0,0,2298,2296,1,0,0,0,2298,2299, + 1,0,0,0,2299,141,1,0,0,0,2300,2298,1,0,0,0,2301,2302,6,71,-1,0,2302, + 2769,5,184,0,0,2303,2769,3,168,84,0,2304,2305,3,266,133,0,2305,2306, + 3,162,81,0,2306,2769,1,0,0,0,2307,2308,5,83,0,0,2308,2309,5,214, + 0,0,2309,2769,3,162,81,0,2310,2769,3,268,134,0,2311,2769,7,21,0, + 0,2312,2769,3,162,81,0,2313,2769,5,329,0,0,2314,2769,5,325,0,0,2315, + 2316,5,212,0,0,2316,2317,5,1,0,0,2317,2318,3,140,70,0,2318,2319, + 5,123,0,0,2319,2320,3,140,70,0,2320,2321,5,2,0,0,2321,2769,1,0,0, + 0,2322,2323,5,1,0,0,2323,2326,3,134,67,0,2324,2325,5,3,0,0,2325, + 2327,3,134,67,0,2326,2324,1,0,0,0,2327,2328,1,0,0,0,2328,2326,1, + 0,0,0,2328,2329,1,0,0,0,2329,2330,1,0,0,0,2330,2331,5,2,0,0,2331, + 2769,1,0,0,0,2332,2333,5,240,0,0,2333,2334,5,1,0,0,2334,2339,3,134, + 67,0,2335,2336,5,3,0,0,2336,2338,3,134,67,0,2337,2335,1,0,0,0,2338, + 2341,1,0,0,0,2339,2337,1,0,0,0,2339,2340,1,0,0,0,2340,2342,1,0,0, + 0,2341,2339,1,0,0,0,2342,2343,5,2,0,0,2343,2769,1,0,0,0,2344,2345, + 5,157,0,0,2345,2347,5,1,0,0,2346,2348,3,66,33,0,2347,2346,1,0,0, + 0,2347,2348,1,0,0,0,2348,2349,1,0,0,0,2349,2352,3,134,67,0,2350, + 2351,5,3,0,0,2351,2353,3,162,81,0,2352,2350,1,0,0,0,2352,2353,1, + 0,0,0,2353,2357,1,0,0,0,2354,2355,5,191,0,0,2355,2356,5,201,0,0, + 2356,2358,3,84,42,0,2357,2354,1,0,0,0,2357,2358,1,0,0,0,2358,2359, + 1,0,0,0,2359,2360,5,2,0,0,2360,2361,5,306,0,0,2361,2362,5,115,0, + 0,2362,2363,5,1,0,0,2363,2364,5,196,0,0,2364,2365,5,36,0,0,2365, + 2370,3,42,21,0,2366,2367,5,3,0,0,2367,2369,3,42,21,0,2368,2366,1, + 0,0,0,2369,2372,1,0,0,0,2370,2368,1,0,0,0,2370,2371,1,0,0,0,2371, + 2373,1,0,0,0,2372,2370,1,0,0,0,2373,2374,5,2,0,0,2374,2376,1,0,0, + 0,2375,2377,3,180,90,0,2376,2375,1,0,0,0,2376,2377,1,0,0,0,2377, + 2769,1,0,0,0,2378,2380,3,160,80,0,2379,2378,1,0,0,0,2379,2380,1, + 0,0,0,2380,2381,1,0,0,0,2381,2382,3,246,123,0,2382,2386,5,1,0,0, + 2383,2384,3,266,133,0,2384,2385,5,4,0,0,2385,2387,1,0,0,0,2386,2383, + 1,0,0,0,2386,2387,1,0,0,0,2387,2388,1,0,0,0,2388,2389,5,321,0,0, + 2389,2391,5,2,0,0,2390,2392,3,180,90,0,2391,2390,1,0,0,0,2391,2392, + 1,0,0,0,2392,2394,1,0,0,0,2393,2395,3,184,92,0,2394,2393,1,0,0,0, + 2394,2395,1,0,0,0,2395,2769,1,0,0,0,2396,2398,3,160,80,0,2397,2396, + 1,0,0,0,2397,2398,1,0,0,0,2398,2399,1,0,0,0,2399,2400,3,246,123, + 0,2400,2412,5,1,0,0,2401,2403,3,66,33,0,2402,2401,1,0,0,0,2402,2403, + 1,0,0,0,2403,2404,1,0,0,0,2404,2409,3,134,67,0,2405,2406,5,3,0,0, + 2406,2408,3,134,67,0,2407,2405,1,0,0,0,2408,2411,1,0,0,0,2409,2407, + 1,0,0,0,2409,2410,1,0,0,0,2410,2413,1,0,0,0,2411,2409,1,0,0,0,2412, + 2402,1,0,0,0,2412,2413,1,0,0,0,2413,2424,1,0,0,0,2414,2415,5,196, + 0,0,2415,2416,5,36,0,0,2416,2421,3,42,21,0,2417,2418,5,3,0,0,2418, + 2420,3,42,21,0,2419,2417,1,0,0,0,2420,2423,1,0,0,0,2421,2419,1,0, + 0,0,2421,2422,1,0,0,0,2422,2425,1,0,0,0,2423,2421,1,0,0,0,2424,2414, + 1,0,0,0,2424,2425,1,0,0,0,2425,2426,1,0,0,0,2426,2428,5,2,0,0,2427, + 2429,3,180,90,0,2428,2427,1,0,0,0,2428,2429,1,0,0,0,2429,2437,1, + 0,0,0,2430,2431,5,121,0,0,2431,2435,5,186,0,0,2432,2433,5,229,0, + 0,2433,2435,5,186,0,0,2434,2430,1,0,0,0,2434,2432,1,0,0,0,2434,2435, + 1,0,0,0,2435,2436,1,0,0,0,2436,2438,3,184,92,0,2437,2434,1,0,0,0, + 2437,2438,1,0,0,0,2438,2769,1,0,0,0,2439,2440,3,266,133,0,2440,2441, + 3,184,92,0,2441,2769,1,0,0,0,2442,2443,3,266,133,0,2443,2444,5,7, + 0,0,2444,2445,3,134,67,0,2445,2769,1,0,0,0,2446,2455,5,1,0,0,2447, + 2452,3,266,133,0,2448,2449,5,3,0,0,2449,2451,3,266,133,0,2450,2448, + 1,0,0,0,2451,2454,1,0,0,0,2452,2450,1,0,0,0,2452,2453,1,0,0,0,2453, + 2456,1,0,0,0,2454,2452,1,0,0,0,2455,2447,1,0,0,0,2455,2456,1,0,0, + 0,2456,2457,1,0,0,0,2457,2458,5,2,0,0,2458,2459,5,7,0,0,2459,2769, + 3,134,67,0,2460,2461,5,1,0,0,2461,2462,3,22,11,0,2462,2463,5,2,0, + 0,2463,2769,1,0,0,0,2464,2465,5,95,0,0,2465,2466,5,1,0,0,2466,2467, + 3,22,11,0,2467,2468,5,2,0,0,2468,2769,1,0,0,0,2469,2470,5,40,0,0, + 2470,2472,3,134,67,0,2471,2473,3,178,89,0,2472,2471,1,0,0,0,2473, + 2474,1,0,0,0,2474,2472,1,0,0,0,2474,2475,1,0,0,0,2475,2478,1,0,0, + 0,2476,2477,5,85,0,0,2477,2479,3,134,67,0,2478,2476,1,0,0,0,2478, + 2479,1,0,0,0,2479,2480,1,0,0,0,2480,2481,5,89,0,0,2481,2769,1,0, + 0,0,2482,2484,5,40,0,0,2483,2485,3,178,89,0,2484,2483,1,0,0,0,2485, + 2486,1,0,0,0,2486,2484,1,0,0,0,2486,2487,1,0,0,0,2487,2490,1,0,0, + 0,2488,2489,5,85,0,0,2489,2491,3,134,67,0,2490,2488,1,0,0,0,2490, + 2491,1,0,0,0,2491,2492,1,0,0,0,2492,2493,5,89,0,0,2493,2769,1,0, + 0,0,2494,2495,5,41,0,0,2495,2496,5,1,0,0,2496,2497,3,134,67,0,2497, + 2498,5,28,0,0,2498,2499,3,172,86,0,2499,2500,5,2,0,0,2500,2769,1, + 0,0,0,2501,2502,5,276,0,0,2502,2503,5,1,0,0,2503,2504,3,134,67,0, + 2504,2505,5,28,0,0,2505,2506,3,172,86,0,2506,2507,5,2,0,0,2507,2769, + 1,0,0,0,2508,2509,5,27,0,0,2509,2518,5,8,0,0,2510,2515,3,134,67, + 0,2511,2512,5,3,0,0,2512,2514,3,134,67,0,2513,2511,1,0,0,0,2514, + 2517,1,0,0,0,2515,2513,1,0,0,0,2515,2516,1,0,0,0,2516,2519,1,0,0, + 0,2517,2515,1,0,0,0,2518,2510,1,0,0,0,2518,2519,1,0,0,0,2519,2520, + 1,0,0,0,2520,2769,5,9,0,0,2521,2769,3,252,126,0,2522,2769,5,59,0, + 0,2523,2527,5,63,0,0,2524,2525,5,1,0,0,2525,2526,5,330,0,0,2526, + 2528,5,2,0,0,2527,2524,1,0,0,0,2527,2528,1,0,0,0,2528,2769,1,0,0, + 0,2529,2533,5,64,0,0,2530,2531,5,1,0,0,2531,2532,5,330,0,0,2532, + 2534,5,2,0,0,2533,2530,1,0,0,0,2533,2534,1,0,0,0,2534,2769,1,0,0, + 0,2535,2539,5,159,0,0,2536,2537,5,1,0,0,2537,2538,5,330,0,0,2538, + 2540,5,2,0,0,2539,2536,1,0,0,0,2539,2540,1,0,0,0,2540,2769,1,0,0, + 0,2541,2545,5,160,0,0,2542,2543,5,1,0,0,2543,2544,5,330,0,0,2544, + 2546,5,2,0,0,2545,2542,1,0,0,0,2545,2546,1,0,0,0,2546,2769,1,0,0, + 0,2547,2769,5,65,0,0,2548,2769,5,58,0,0,2549,2769,5,62,0,0,2550, + 2769,5,60,0,0,2551,2552,5,273,0,0,2552,2560,5,1,0,0,2553,2555,7, + 22,0,0,2554,2553,1,0,0,0,2554,2555,1,0,0,0,2555,2557,1,0,0,0,2556, + 2558,3,140,70,0,2557,2556,1,0,0,0,2557,2558,1,0,0,0,2558,2559,1, + 0,0,0,2559,2561,5,106,0,0,2560,2554,1,0,0,0,2560,2561,1,0,0,0,2561, + 2562,1,0,0,0,2562,2563,3,140,70,0,2563,2564,5,2,0,0,2564,2769,1, + 0,0,0,2565,2566,5,273,0,0,2566,2567,5,1,0,0,2567,2568,3,140,70,0, + 2568,2569,5,3,0,0,2569,2570,3,140,70,0,2570,2571,5,2,0,0,2571,2769, + 1,0,0,0,2572,2573,5,259,0,0,2573,2574,5,1,0,0,2574,2575,3,140,70, + 0,2575,2576,5,106,0,0,2576,2579,3,140,70,0,2577,2578,5,104,0,0,2578, + 2580,3,140,70,0,2579,2577,1,0,0,0,2579,2580,1,0,0,0,2580,2581,1, + 0,0,0,2581,2582,5,2,0,0,2582,2769,1,0,0,0,2583,2584,5,182,0,0,2584, + 2585,5,1,0,0,2585,2588,3,140,70,0,2586,2587,5,3,0,0,2587,2589,7, + 23,0,0,2588,2586,1,0,0,0,2588,2589,1,0,0,0,2589,2590,1,0,0,0,2590, + 2591,5,2,0,0,2591,2769,1,0,0,0,2592,2593,5,97,0,0,2593,2594,5,1, + 0,0,2594,2595,3,266,133,0,2595,2596,5,106,0,0,2596,2597,3,140,70, + 0,2597,2598,5,2,0,0,2598,2769,1,0,0,0,2599,2600,5,44,0,0,2600,2601, + 5,1,0,0,2601,2606,3,134,67,0,2602,2603,5,3,0,0,2603,2605,3,134,67, + 0,2604,2602,1,0,0,0,2605,2608,1,0,0,0,2606,2604,1,0,0,0,2606,2607, + 1,0,0,0,2607,2609,1,0,0,0,2608,2606,1,0,0,0,2609,2610,5,2,0,0,2610, + 2769,1,0,0,0,2611,2612,5,1,0,0,2612,2613,3,134,67,0,2613,2614,5, + 2,0,0,2614,2769,1,0,0,0,2615,2616,5,116,0,0,2616,2625,5,1,0,0,2617, + 2622,3,256,128,0,2618,2619,5,3,0,0,2619,2621,3,256,128,0,2620,2618, + 1,0,0,0,2621,2624,1,0,0,0,2622,2620,1,0,0,0,2622,2623,1,0,0,0,2623, + 2626,1,0,0,0,2624,2622,1,0,0,0,2625,2617,1,0,0,0,2625,2626,1,0,0, + 0,2626,2627,1,0,0,0,2627,2769,5,2,0,0,2628,2629,5,140,0,0,2629,2630, + 5,1,0,0,2630,2634,3,144,72,0,2631,2632,7,24,0,0,2632,2633,5,191, + 0,0,2633,2635,5,90,0,0,2634,2631,1,0,0,0,2634,2635,1,0,0,0,2635, + 2636,1,0,0,0,2636,2637,5,2,0,0,2637,2769,1,0,0,0,2638,2639,5,144, + 0,0,2639,2640,5,1,0,0,2640,2643,3,144,72,0,2641,2642,5,232,0,0,2642, + 2644,3,172,86,0,2643,2641,1,0,0,0,2643,2644,1,0,0,0,2644,2649,1, + 0,0,0,2645,2646,3,152,76,0,2646,2647,5,191,0,0,2647,2648,5,86,0, + 0,2648,2650,1,0,0,0,2649,2645,1,0,0,0,2649,2650,1,0,0,0,2650,2655, + 1,0,0,0,2651,2652,3,152,76,0,2652,2653,5,191,0,0,2653,2654,5,90, + 0,0,2654,2656,1,0,0,0,2655,2651,1,0,0,0,2655,2656,1,0,0,0,2656,2657, + 1,0,0,0,2657,2658,5,2,0,0,2658,2769,1,0,0,0,2659,2660,5,142,0,0, + 2660,2661,5,1,0,0,2661,2668,3,144,72,0,2662,2663,5,232,0,0,2663, + 2666,3,172,86,0,2664,2665,5,105,0,0,2665,2667,3,148,74,0,2666,2664, + 1,0,0,0,2666,2667,1,0,0,0,2667,2669,1,0,0,0,2668,2662,1,0,0,0,2668, + 2669,1,0,0,0,2669,2673,1,0,0,0,2670,2671,3,154,77,0,2671,2672,5, + 309,0,0,2672,2674,1,0,0,0,2673,2670,1,0,0,0,2673,2674,1,0,0,0,2674, + 2682,1,0,0,0,2675,2676,7,16,0,0,2676,2680,5,219,0,0,2677,2678,5, + 191,0,0,2678,2679,5,243,0,0,2679,2681,5,265,0,0,2680,2677,1,0,0, + 0,2680,2681,1,0,0,0,2681,2683,1,0,0,0,2682,2675,1,0,0,0,2682,2683, + 1,0,0,0,2683,2688,1,0,0,0,2684,2685,3,156,78,0,2685,2686,5,191,0, + 0,2686,2687,5,86,0,0,2687,2689,1,0,0,0,2688,2684,1,0,0,0,2688,2689, + 1,0,0,0,2689,2694,1,0,0,0,2690,2691,3,156,78,0,2691,2692,5,191,0, + 0,2692,2693,5,90,0,0,2693,2695,1,0,0,0,2694,2690,1,0,0,0,2694,2695, + 1,0,0,0,2695,2696,1,0,0,0,2696,2697,5,2,0,0,2697,2769,1,0,0,0,2698, + 2699,5,141,0,0,2699,2728,5,1,0,0,2700,2705,3,158,79,0,2701,2702, + 5,3,0,0,2702,2704,3,158,79,0,2703,2701,1,0,0,0,2704,2707,1,0,0,0, + 2705,2703,1,0,0,0,2705,2706,1,0,0,0,2706,2714,1,0,0,0,2707,2705, + 1,0,0,0,2708,2709,5,184,0,0,2709,2710,5,191,0,0,2710,2715,5,184, + 0,0,2711,2712,5,18,0,0,2712,2713,5,191,0,0,2713,2715,5,184,0,0,2714, + 2708,1,0,0,0,2714,2711,1,0,0,0,2714,2715,1,0,0,0,2715,2726,1,0,0, + 0,2716,2717,5,305,0,0,2717,2719,5,283,0,0,2718,2720,5,147,0,0,2719, + 2718,1,0,0,0,2719,2720,1,0,0,0,2720,2727,1,0,0,0,2721,2722,5,307, + 0,0,2722,2724,5,283,0,0,2723,2725,5,147,0,0,2724,2723,1,0,0,0,2724, + 2725,1,0,0,0,2725,2727,1,0,0,0,2726,2716,1,0,0,0,2726,2721,1,0,0, + 0,2726,2727,1,0,0,0,2727,2729,1,0,0,0,2728,2700,1,0,0,0,2728,2729, + 1,0,0,0,2729,2736,1,0,0,0,2730,2731,5,232,0,0,2731,2734,3,172,86, + 0,2732,2733,5,105,0,0,2733,2735,3,148,74,0,2734,2732,1,0,0,0,2734, + 2735,1,0,0,0,2735,2737,1,0,0,0,2736,2730,1,0,0,0,2736,2737,1,0,0, + 0,2737,2738,1,0,0,0,2738,2769,5,2,0,0,2739,2740,5,139,0,0,2740,2757, + 5,1,0,0,2741,2746,3,146,73,0,2742,2743,5,3,0,0,2743,2745,3,146,73, + 0,2744,2742,1,0,0,0,2745,2748,1,0,0,0,2746,2744,1,0,0,0,2746,2747, + 1,0,0,0,2747,2755,1,0,0,0,2748,2746,1,0,0,0,2749,2750,5,184,0,0, + 2750,2751,5,191,0,0,2751,2756,5,184,0,0,2752,2753,5,18,0,0,2753, + 2754,5,191,0,0,2754,2756,5,184,0,0,2755,2749,1,0,0,0,2755,2752,1, + 0,0,0,2755,2756,1,0,0,0,2756,2758,1,0,0,0,2757,2741,1,0,0,0,2757, + 2758,1,0,0,0,2758,2765,1,0,0,0,2759,2760,5,232,0,0,2760,2763,3,172, + 86,0,2761,2762,5,105,0,0,2762,2764,3,148,74,0,2763,2761,1,0,0,0, + 2763,2764,1,0,0,0,2764,2766,1,0,0,0,2765,2759,1,0,0,0,2765,2766, + 1,0,0,0,2766,2767,1,0,0,0,2767,2769,5,2,0,0,2768,2301,1,0,0,0,2768, + 2303,1,0,0,0,2768,2304,1,0,0,0,2768,2307,1,0,0,0,2768,2310,1,0,0, + 0,2768,2311,1,0,0,0,2768,2312,1,0,0,0,2768,2313,1,0,0,0,2768,2314, + 1,0,0,0,2768,2315,1,0,0,0,2768,2322,1,0,0,0,2768,2332,1,0,0,0,2768, + 2344,1,0,0,0,2768,2379,1,0,0,0,2768,2397,1,0,0,0,2768,2439,1,0,0, + 0,2768,2442,1,0,0,0,2768,2446,1,0,0,0,2768,2460,1,0,0,0,2768,2464, + 1,0,0,0,2768,2469,1,0,0,0,2768,2482,1,0,0,0,2768,2494,1,0,0,0,2768, + 2501,1,0,0,0,2768,2508,1,0,0,0,2768,2521,1,0,0,0,2768,2522,1,0,0, + 0,2768,2523,1,0,0,0,2768,2529,1,0,0,0,2768,2535,1,0,0,0,2768,2541, + 1,0,0,0,2768,2547,1,0,0,0,2768,2548,1,0,0,0,2768,2549,1,0,0,0,2768, + 2550,1,0,0,0,2768,2551,1,0,0,0,2768,2565,1,0,0,0,2768,2572,1,0,0, + 0,2768,2583,1,0,0,0,2768,2592,1,0,0,0,2768,2599,1,0,0,0,2768,2611, + 1,0,0,0,2768,2615,1,0,0,0,2768,2628,1,0,0,0,2768,2638,1,0,0,0,2768, + 2659,1,0,0,0,2768,2698,1,0,0,0,2768,2739,1,0,0,0,2769,2780,1,0,0, + 0,2770,2771,10,25,0,0,2771,2772,5,8,0,0,2772,2773,3,140,70,0,2773, + 2774,5,9,0,0,2774,2779,1,0,0,0,2775,2776,10,23,0,0,2776,2777,5,4, + 0,0,2777,2779,3,266,133,0,2778,2770,1,0,0,0,2778,2775,1,0,0,0,2779, + 2782,1,0,0,0,2780,2778,1,0,0,0,2780,2781,1,0,0,0,2781,143,1,0,0, + 0,2782,2780,1,0,0,0,2783,2784,3,146,73,0,2784,2785,5,3,0,0,2785, + 2788,3,162,81,0,2786,2787,5,28,0,0,2787,2789,3,266,133,0,2788,2786, + 1,0,0,0,2788,2789,1,0,0,0,2789,2799,1,0,0,0,2790,2791,5,204,0,0, + 2791,2796,3,150,75,0,2792,2793,5,3,0,0,2793,2795,3,150,75,0,2794, + 2792,1,0,0,0,2795,2798,1,0,0,0,2796,2794,1,0,0,0,2796,2797,1,0,0, + 0,2797,2800,1,0,0,0,2798,2796,1,0,0,0,2799,2790,1,0,0,0,2799,2800, + 1,0,0,0,2800,145,1,0,0,0,2801,2804,3,134,67,0,2802,2803,5,105,0, + 0,2803,2805,3,148,74,0,2804,2802,1,0,0,0,2804,2805,1,0,0,0,2805, + 147,1,0,0,0,2806,2809,5,138,0,0,2807,2808,5,88,0,0,2808,2810,7,25, + 0,0,2809,2807,1,0,0,0,2809,2810,1,0,0,0,2810,149,1,0,0,0,2811,2812, + 3,146,73,0,2812,2813,5,28,0,0,2813,2814,3,266,133,0,2814,151,1,0, + 0,0,2815,2820,5,90,0,0,2816,2820,5,184,0,0,2817,2818,5,71,0,0,2818, + 2820,3,134,67,0,2819,2815,1,0,0,0,2819,2816,1,0,0,0,2819,2817,1, + 0,0,0,2820,153,1,0,0,0,2821,2823,5,307,0,0,2822,2824,5,27,0,0,2823, + 2822,1,0,0,0,2823,2824,1,0,0,0,2824,2833,1,0,0,0,2825,2827,5,305, + 0,0,2826,2828,7,26,0,0,2827,2826,1,0,0,0,2827,2828,1,0,0,0,2828, + 2830,1,0,0,0,2829,2831,5,27,0,0,2830,2829,1,0,0,0,2830,2831,1,0, + 0,0,2831,2833,1,0,0,0,2832,2821,1,0,0,0,2832,2825,1,0,0,0,2833,155, + 1,0,0,0,2834,2841,5,90,0,0,2835,2841,5,184,0,0,2836,2837,5,86,0, + 0,2837,2841,5,27,0,0,2838,2839,5,86,0,0,2839,2841,5,187,0,0,2840, + 2834,1,0,0,0,2840,2835,1,0,0,0,2840,2836,1,0,0,0,2840,2838,1,0,0, + 0,2841,157,1,0,0,0,2842,2844,5,146,0,0,2843,2842,1,0,0,0,2843,2844, + 1,0,0,0,2844,2845,1,0,0,0,2845,2846,3,134,67,0,2846,2847,5,296,0, + 0,2847,2848,3,146,73,0,2848,2854,1,0,0,0,2849,2850,3,134,67,0,2850, + 2851,5,10,0,0,2851,2852,3,146,73,0,2852,2854,1,0,0,0,2853,2843,1, + 0,0,0,2853,2849,1,0,0,0,2854,159,1,0,0,0,2855,2856,7,27,0,0,2856, + 161,1,0,0,0,2857,2864,5,327,0,0,2858,2861,5,328,0,0,2859,2860,5, + 278,0,0,2860,2862,5,327,0,0,2861,2859,1,0,0,0,2861,2862,1,0,0,0, + 2862,2864,1,0,0,0,2863,2857,1,0,0,0,2863,2858,1,0,0,0,2864,163,1, + 0,0,0,2865,2866,7,28,0,0,2866,165,1,0,0,0,2867,2868,7,29,0,0,2868, + 167,1,0,0,0,2869,2871,5,130,0,0,2870,2872,7,19,0,0,2871,2870,1,0, + 0,0,2871,2872,1,0,0,0,2872,2873,1,0,0,0,2873,2874,3,162,81,0,2874, + 2877,3,170,85,0,2875,2876,5,270,0,0,2876,2878,3,170,85,0,2877,2875, + 1,0,0,0,2877,2878,1,0,0,0,2878,169,1,0,0,0,2879,2880,7,30,0,0,2880, + 171,1,0,0,0,2881,2882,6,86,-1,0,2882,2883,5,240,0,0,2883,2884,5, + 1,0,0,2884,2889,3,174,87,0,2885,2886,5,3,0,0,2886,2888,3,174,87, + 0,2887,2885,1,0,0,0,2888,2891,1,0,0,0,2889,2887,1,0,0,0,2889,2890, + 1,0,0,0,2890,2892,1,0,0,0,2891,2889,1,0,0,0,2892,2893,5,2,0,0,2893, + 2953,1,0,0,0,2894,2895,5,130,0,0,2895,2898,3,170,85,0,2896,2897, + 5,270,0,0,2897,2899,3,170,85,0,2898,2896,1,0,0,0,2898,2899,1,0,0, + 0,2899,2953,1,0,0,0,2900,2905,5,269,0,0,2901,2902,5,1,0,0,2902,2903, + 3,176,88,0,2903,2904,5,2,0,0,2904,2906,1,0,0,0,2905,2901,1,0,0,0, + 2905,2906,1,0,0,0,2906,2910,1,0,0,0,2907,2908,7,31,0,0,2908,2909, + 5,268,0,0,2909,2911,5,312,0,0,2910,2907,1,0,0,0,2910,2911,1,0,0, + 0,2911,2953,1,0,0,0,2912,2917,5,268,0,0,2913,2914,5,1,0,0,2914,2915, + 3,176,88,0,2915,2916,5,2,0,0,2916,2918,1,0,0,0,2917,2913,1,0,0,0, + 2917,2918,1,0,0,0,2918,2922,1,0,0,0,2919,2920,7,31,0,0,2920,2921, + 5,268,0,0,2921,2923,5,312,0,0,2922,2919,1,0,0,0,2922,2923,1,0,0, + 0,2923,2953,1,0,0,0,2924,2925,5,83,0,0,2925,2953,5,214,0,0,2926, + 2927,5,27,0,0,2927,2928,5,315,0,0,2928,2929,3,172,86,0,2929,2930, + 5,317,0,0,2930,2953,1,0,0,0,2931,2932,5,163,0,0,2932,2933,5,315, + 0,0,2933,2934,3,172,86,0,2934,2935,5,3,0,0,2935,2936,3,172,86,0, + 2936,2937,5,317,0,0,2937,2953,1,0,0,0,2938,2950,3,266,133,0,2939, + 2940,5,1,0,0,2940,2945,3,176,88,0,2941,2942,5,3,0,0,2942,2944,3, + 176,88,0,2943,2941,1,0,0,0,2944,2947,1,0,0,0,2945,2943,1,0,0,0,2945, + 2946,1,0,0,0,2946,2948,1,0,0,0,2947,2945,1,0,0,0,2948,2949,5,2,0, + 0,2949,2951,1,0,0,0,2950,2939,1,0,0,0,2950,2951,1,0,0,0,2951,2953, + 1,0,0,0,2952,2881,1,0,0,0,2952,2894,1,0,0,0,2952,2900,1,0,0,0,2952, + 2912,1,0,0,0,2952,2924,1,0,0,0,2952,2926,1,0,0,0,2952,2931,1,0,0, + 0,2952,2938,1,0,0,0,2953,2963,1,0,0,0,2954,2955,10,2,0,0,2955,2959, + 5,27,0,0,2956,2957,5,8,0,0,2957,2958,5,330,0,0,2958,2960,5,9,0,0, + 2959,2956,1,0,0,0,2959,2960,1,0,0,0,2960,2962,1,0,0,0,2961,2954, + 1,0,0,0,2962,2965,1,0,0,0,2963,2961,1,0,0,0,2963,2964,1,0,0,0,2964, + 173,1,0,0,0,2965,2963,1,0,0,0,2966,2971,3,172,86,0,2967,2968,3,266, + 133,0,2968,2969,3,172,86,0,2969,2971,1,0,0,0,2970,2966,1,0,0,0,2970, + 2967,1,0,0,0,2971,175,1,0,0,0,2972,2975,5,330,0,0,2973,2975,3,172, + 86,0,2974,2972,1,0,0,0,2974,2973,1,0,0,0,2975,177,1,0,0,0,2976,2977, + 5,301,0,0,2977,2978,3,134,67,0,2978,2979,5,266,0,0,2979,2980,3,134, + 67,0,2980,179,1,0,0,0,2981,2982,5,100,0,0,2982,2983,5,1,0,0,2983, + 2984,3,46,23,0,2984,2985,5,2,0,0,2985,181,1,0,0,0,2986,2987,5,301, + 0,0,2987,2990,5,165,0,0,2988,2989,5,25,0,0,2989,2991,3,134,67,0, + 2990,2988,1,0,0,0,2990,2991,1,0,0,0,2991,2992,1,0,0,0,2992,2993, + 5,266,0,0,2993,2994,5,288,0,0,2994,2995,5,252,0,0,2995,2996,3,266, + 133,0,2996,2997,5,313,0,0,2997,3005,3,134,67,0,2998,2999,5,3,0,0, + 2999,3000,3,266,133,0,3000,3001,5,313,0,0,3001,3002,3,134,67,0,3002, + 3004,1,0,0,0,3003,2998,1,0,0,0,3004,3007,1,0,0,0,3005,3003,1,0,0, + 0,3005,3006,1,0,0,0,3006,3051,1,0,0,0,3007,3005,1,0,0,0,3008,3009, + 5,301,0,0,3009,3012,5,165,0,0,3010,3011,5,25,0,0,3011,3013,3,134, + 67,0,3012,3010,1,0,0,0,3012,3013,1,0,0,0,3013,3014,1,0,0,0,3014, + 3015,5,266,0,0,3015,3051,5,74,0,0,3016,3017,5,301,0,0,3017,3018, + 5,183,0,0,3018,3021,5,165,0,0,3019,3020,5,25,0,0,3020,3022,3,134, + 67,0,3021,3019,1,0,0,0,3021,3022,1,0,0,0,3022,3023,1,0,0,0,3023, + 3024,5,266,0,0,3024,3036,5,128,0,0,3025,3026,5,1,0,0,3026,3031,3, + 266,133,0,3027,3028,5,3,0,0,3028,3030,3,266,133,0,3029,3027,1,0, + 0,0,3030,3033,1,0,0,0,3031,3029,1,0,0,0,3031,3032,1,0,0,0,3032,3034, + 1,0,0,0,3033,3031,1,0,0,0,3034,3035,5,2,0,0,3035,3037,1,0,0,0,3036, + 3025,1,0,0,0,3036,3037,1,0,0,0,3037,3038,1,0,0,0,3038,3039,5,297, + 0,0,3039,3040,5,1,0,0,3040,3045,3,134,67,0,3041,3042,5,3,0,0,3042, + 3044,3,134,67,0,3043,3041,1,0,0,0,3044,3047,1,0,0,0,3045,3043,1, + 0,0,0,3045,3046,1,0,0,0,3046,3048,1,0,0,0,3047,3045,1,0,0,0,3048, + 3049,5,2,0,0,3049,3051,1,0,0,0,3050,2986,1,0,0,0,3050,3008,1,0,0, + 0,3050,3016,1,0,0,0,3051,183,1,0,0,0,3052,3058,5,200,0,0,3053,3059, + 3,266,133,0,3054,3055,5,1,0,0,3055,3056,3,62,31,0,3056,3057,5,2, + 0,0,3057,3059,1,0,0,0,3058,3053,1,0,0,0,3058,3054,1,0,0,0,3059,185, + 1,0,0,0,3060,3061,5,169,0,0,3061,3066,3,88,44,0,3062,3063,5,3,0, + 0,3063,3065,3,88,44,0,3064,3062,1,0,0,0,3065,3068,1,0,0,0,3066,3064, + 1,0,0,0,3066,3067,1,0,0,0,3067,3070,1,0,0,0,3068,3066,1,0,0,0,3069, + 3060,1,0,0,0,3069,3070,1,0,0,0,3070,3071,1,0,0,0,3071,3075,3,188, + 94,0,3072,3073,5,21,0,0,3073,3074,5,164,0,0,3074,3076,3,92,46,0, + 3075,3072,1,0,0,0,3075,3076,1,0,0,0,3076,3078,1,0,0,0,3077,3079, + 7,13,0,0,3078,3077,1,0,0,0,3078,3079,1,0,0,0,3079,3085,1,0,0,0,3080, + 3081,5,207,0,0,3081,3082,5,1,0,0,3082,3083,3,192,96,0,3083,3084, + 5,2,0,0,3084,3086,1,0,0,0,3085,3080,1,0,0,0,3085,3086,1,0,0,0,3086, + 3096,1,0,0,0,3087,3088,5,258,0,0,3088,3093,3,94,47,0,3089,3090,5, + 3,0,0,3090,3092,3,94,47,0,3091,3089,1,0,0,0,3092,3095,1,0,0,0,3093, + 3091,1,0,0,0,3093,3094,1,0,0,0,3094,3097,1,0,0,0,3095,3093,1,0,0, + 0,3096,3087,1,0,0,0,3096,3097,1,0,0,0,3097,3107,1,0,0,0,3098,3099, + 5,72,0,0,3099,3104,3,96,48,0,3100,3101,5,3,0,0,3101,3103,3,96,48, + 0,3102,3100,1,0,0,0,3103,3106,1,0,0,0,3104,3102,1,0,0,0,3104,3105, + 1,0,0,0,3105,3108,1,0,0,0,3106,3104,1,0,0,0,3107,3098,1,0,0,0,3107, + 3108,1,0,0,0,3108,187,1,0,0,0,3109,3116,7,32,0,0,3110,3111,5,34, + 0,0,3111,3112,3,190,95,0,3112,3113,5,25,0,0,3113,3114,3,190,95,0, + 3114,3117,1,0,0,0,3115,3117,3,190,95,0,3116,3110,1,0,0,0,3116,3115, + 1,0,0,0,3117,189,1,0,0,0,3118,3119,5,279,0,0,3119,3128,5,213,0,0, + 3120,3121,5,279,0,0,3121,3128,5,103,0,0,3122,3123,5,57,0,0,3123, + 3128,5,240,0,0,3124,3125,3,134,67,0,3125,3126,7,33,0,0,3126,3128, + 1,0,0,0,3127,3118,1,0,0,0,3127,3120,1,0,0,0,3127,3122,1,0,0,0,3127, + 3124,1,0,0,0,3128,191,1,0,0,0,3129,3130,6,96,-1,0,3130,3132,3,194, + 97,0,3131,3133,3,196,98,0,3132,3131,1,0,0,0,3132,3133,1,0,0,0,3133, + 3141,1,0,0,0,3134,3135,10,2,0,0,3135,3140,3,192,96,3,3136,3137,10, + 1,0,0,3137,3138,5,11,0,0,3138,3140,3,192,96,2,3139,3134,1,0,0,0, + 3139,3136,1,0,0,0,3140,3143,1,0,0,0,3141,3139,1,0,0,0,3141,3142, + 1,0,0,0,3142,193,1,0,0,0,3143,3141,1,0,0,0,3144,3170,3,266,133,0, + 3145,3146,5,1,0,0,3146,3170,5,2,0,0,3147,3148,5,210,0,0,3148,3149, + 5,1,0,0,3149,3154,3,192,96,0,3150,3151,5,3,0,0,3151,3153,3,192,96, + 0,3152,3150,1,0,0,0,3153,3156,1,0,0,0,3154,3152,1,0,0,0,3154,3155, + 1,0,0,0,3155,3157,1,0,0,0,3156,3154,1,0,0,0,3157,3158,5,2,0,0,3158, + 3170,1,0,0,0,3159,3160,5,1,0,0,3160,3161,3,192,96,0,3161,3162,5, + 2,0,0,3162,3170,1,0,0,0,3163,3170,5,12,0,0,3164,3170,5,13,0,0,3165, + 3166,5,14,0,0,3166,3167,3,192,96,0,3167,3168,5,15,0,0,3168,3170, + 1,0,0,0,3169,3144,1,0,0,0,3169,3145,1,0,0,0,3169,3147,1,0,0,0,3169, + 3159,1,0,0,0,3169,3163,1,0,0,0,3169,3164,1,0,0,0,3169,3165,1,0,0, + 0,3170,195,1,0,0,0,3171,3173,5,321,0,0,3172,3174,5,325,0,0,3173, + 3172,1,0,0,0,3173,3174,1,0,0,0,3174,3202,1,0,0,0,3175,3177,5,319, + 0,0,3176,3178,5,325,0,0,3177,3176,1,0,0,0,3177,3178,1,0,0,0,3178, + 3202,1,0,0,0,3179,3181,5,325,0,0,3180,3182,5,325,0,0,3181,3180,1, + 0,0,0,3181,3182,1,0,0,0,3182,3202,1,0,0,0,3183,3184,5,16,0,0,3184, + 3185,5,330,0,0,3185,3187,5,17,0,0,3186,3188,5,325,0,0,3187,3186, + 1,0,0,0,3187,3188,1,0,0,0,3188,3202,1,0,0,0,3189,3191,5,16,0,0,3190, + 3192,5,330,0,0,3191,3190,1,0,0,0,3191,3192,1,0,0,0,3192,3193,1,0, + 0,0,3193,3195,5,3,0,0,3194,3196,5,330,0,0,3195,3194,1,0,0,0,3195, + 3196,1,0,0,0,3196,3197,1,0,0,0,3197,3199,5,17,0,0,3198,3200,5,325, + 0,0,3199,3198,1,0,0,0,3199,3200,1,0,0,0,3200,3202,1,0,0,0,3201,3171, + 1,0,0,0,3201,3175,1,0,0,0,3201,3179,1,0,0,0,3201,3183,1,0,0,0,3201, + 3189,1,0,0,0,3202,197,1,0,0,0,3203,3204,3,266,133,0,3204,3205,5, + 313,0,0,3205,3206,3,134,67,0,3206,199,1,0,0,0,3207,3208,5,105,0, + 0,3208,3212,7,34,0,0,3209,3210,5,277,0,0,3210,3212,7,35,0,0,3211, + 3207,1,0,0,0,3211,3209,1,0,0,0,3212,201,1,0,0,0,3213,3214,5,135, + 0,0,3214,3222,5,154,0,0,3215,3216,5,221,0,0,3216,3223,5,280,0,0, + 3217,3218,5,221,0,0,3218,3223,5,49,0,0,3219,3220,5,226,0,0,3220, + 3223,5,221,0,0,3221,3223,5,250,0,0,3222,3215,1,0,0,0,3222,3217,1, + 0,0,0,3222,3219,1,0,0,0,3222,3221,1,0,0,0,3223,3227,1,0,0,0,3224, + 3225,5,221,0,0,3225,3227,7,36,0,0,3226,3213,1,0,0,0,3226,3224,1, + 0,0,0,3227,203,1,0,0,0,3228,3234,3,134,67,0,3229,3230,3,266,133, + 0,3230,3231,5,6,0,0,3231,3232,3,134,67,0,3232,3234,1,0,0,0,3233, + 3228,1,0,0,0,3233,3229,1,0,0,0,3234,205,1,0,0,0,3235,3236,3,266, + 133,0,3236,3237,5,4,0,0,3237,3238,3,266,133,0,3238,3241,1,0,0,0, + 3239,3241,3,266,133,0,3240,3235,1,0,0,0,3240,3239,1,0,0,0,3241,207, + 1,0,0,0,3242,3247,3,206,103,0,3243,3244,5,3,0,0,3244,3246,3,206, + 103,0,3245,3243,1,0,0,0,3246,3249,1,0,0,0,3247,3245,1,0,0,0,3247, + 3248,1,0,0,0,3248,209,1,0,0,0,3249,3247,1,0,0,0,3250,3251,5,108, + 0,0,3251,3252,3,248,124,0,3252,3261,5,1,0,0,3253,3258,3,212,106, + 0,3254,3255,5,3,0,0,3255,3257,3,212,106,0,3256,3254,1,0,0,0,3257, + 3260,1,0,0,0,3258,3256,1,0,0,0,3258,3259,1,0,0,0,3259,3262,1,0,0, + 0,3260,3258,1,0,0,0,3261,3253,1,0,0,0,3261,3262,1,0,0,0,3262,3263, + 1,0,0,0,3263,3264,5,2,0,0,3264,3265,5,233,0,0,3265,3269,3,172,86, + 0,3266,3268,3,214,107,0,3267,3266,1,0,0,0,3268,3271,1,0,0,0,3269, + 3267,1,0,0,0,3269,3270,1,0,0,0,3270,3272,1,0,0,0,3271,3269,1,0,0, + 0,3272,3273,3,216,108,0,3273,211,1,0,0,0,3274,3276,3,266,133,0,3275, + 3274,1,0,0,0,3275,3276,1,0,0,0,3276,3277,1,0,0,0,3277,3278,3,172, + 86,0,3278,213,1,0,0,0,3279,3280,5,148,0,0,3280,3299,3,266,133,0, + 3281,3283,5,183,0,0,3282,3281,1,0,0,0,3282,3283,1,0,0,0,3283,3284, + 1,0,0,0,3284,3299,5,79,0,0,3285,3286,5,233,0,0,3286,3287,5,184,0, + 0,3287,3288,5,191,0,0,3288,3289,5,184,0,0,3289,3299,5,127,0,0,3290, + 3291,5,38,0,0,3291,3292,5,191,0,0,3292,3293,5,184,0,0,3293,3299, + 5,127,0,0,3294,3295,5,247,0,0,3295,3299,7,1,0,0,3296,3297,5,47,0, + 0,3297,3299,3,162,81,0,3298,3279,1,0,0,0,3298,3282,1,0,0,0,3298, + 3285,1,0,0,0,3298,3290,1,0,0,0,3298,3294,1,0,0,0,3298,3296,1,0,0, + 0,3299,215,1,0,0,0,3300,3301,5,231,0,0,3301,3417,3,140,70,0,3302, + 3303,5,252,0,0,3303,3304,3,266,133,0,3304,3305,5,313,0,0,3305,3306, + 3,134,67,0,3306,3417,1,0,0,0,3307,3308,5,40,0,0,3308,3310,3,134, + 67,0,3309,3311,3,218,109,0,3310,3309,1,0,0,0,3311,3312,1,0,0,0,3312, + 3310,1,0,0,0,3312,3313,1,0,0,0,3313,3315,1,0,0,0,3314,3316,3,220, + 110,0,3315,3314,1,0,0,0,3315,3316,1,0,0,0,3316,3317,1,0,0,0,3317, + 3318,5,89,0,0,3318,3319,5,40,0,0,3319,3417,1,0,0,0,3320,3322,5,40, + 0,0,3321,3323,3,218,109,0,3322,3321,1,0,0,0,3323,3324,1,0,0,0,3324, + 3322,1,0,0,0,3324,3325,1,0,0,0,3325,3327,1,0,0,0,3326,3328,3,220, + 110,0,3327,3326,1,0,0,0,3327,3328,1,0,0,0,3328,3329,1,0,0,0,3329, + 3330,5,89,0,0,3330,3331,5,40,0,0,3331,3417,1,0,0,0,3332,3333,5,120, + 0,0,3333,3334,3,134,67,0,3334,3335,5,266,0,0,3335,3343,3,222,111, + 0,3336,3337,5,87,0,0,3337,3338,3,134,67,0,3338,3339,5,266,0,0,3339, + 3340,3,222,111,0,3340,3342,1,0,0,0,3341,3336,1,0,0,0,3342,3345,1, + 0,0,0,3343,3341,1,0,0,0,3343,3344,1,0,0,0,3344,3347,1,0,0,0,3345, + 3343,1,0,0,0,3346,3348,3,220,110,0,3347,3346,1,0,0,0,3347,3348,1, + 0,0,0,3348,3349,1,0,0,0,3349,3350,5,89,0,0,3350,3351,5,120,0,0,3351, + 3417,1,0,0,0,3352,3353,5,136,0,0,3353,3417,3,266,133,0,3354,3355, + 5,152,0,0,3355,3417,3,266,133,0,3356,3375,5,32,0,0,3357,3358,5,70, + 0,0,3358,3363,3,266,133,0,3359,3360,5,3,0,0,3360,3362,3,266,133, + 0,3361,3359,1,0,0,0,3362,3365,1,0,0,0,3363,3361,1,0,0,0,3363,3364, + 1,0,0,0,3364,3366,1,0,0,0,3365,3363,1,0,0,0,3366,3369,3,172,86,0, + 3367,3368,5,71,0,0,3368,3370,3,140,70,0,3369,3367,1,0,0,0,3369,3370, + 1,0,0,0,3370,3371,1,0,0,0,3371,3372,5,326,0,0,3372,3374,1,0,0,0, + 3373,3357,1,0,0,0,3374,3377,1,0,0,0,3375,3373,1,0,0,0,3375,3376, + 1,0,0,0,3376,3379,1,0,0,0,3377,3375,1,0,0,0,3378,3380,3,222,111, + 0,3379,3378,1,0,0,0,3379,3380,1,0,0,0,3380,3381,1,0,0,0,3381,3417, + 5,89,0,0,3382,3383,3,266,133,0,3383,3384,5,10,0,0,3384,3386,1,0, + 0,0,3385,3382,1,0,0,0,3385,3386,1,0,0,0,3386,3387,1,0,0,0,3387,3388, + 5,162,0,0,3388,3389,3,222,111,0,3389,3390,5,89,0,0,3390,3391,5,162, + 0,0,3391,3417,1,0,0,0,3392,3393,3,266,133,0,3393,3394,5,10,0,0,3394, + 3396,1,0,0,0,3395,3392,1,0,0,0,3395,3396,1,0,0,0,3396,3397,1,0,0, + 0,3397,3398,5,303,0,0,3398,3399,3,134,67,0,3399,3400,5,82,0,0,3400, + 3401,3,222,111,0,3401,3402,5,89,0,0,3402,3403,5,303,0,0,3403,3417, + 1,0,0,0,3404,3405,3,266,133,0,3405,3406,5,10,0,0,3406,3408,1,0,0, + 0,3407,3404,1,0,0,0,3407,3408,1,0,0,0,3408,3409,1,0,0,0,3409,3410, + 5,225,0,0,3410,3411,3,222,111,0,3411,3412,5,287,0,0,3412,3413,3, + 134,67,0,3413,3414,5,89,0,0,3414,3415,5,225,0,0,3415,3417,1,0,0, + 0,3416,3300,1,0,0,0,3416,3302,1,0,0,0,3416,3307,1,0,0,0,3416,3320, + 1,0,0,0,3416,3332,1,0,0,0,3416,3352,1,0,0,0,3416,3354,1,0,0,0,3416, + 3356,1,0,0,0,3416,3385,1,0,0,0,3416,3395,1,0,0,0,3416,3407,1,0,0, + 0,3417,217,1,0,0,0,3418,3419,5,301,0,0,3419,3420,3,134,67,0,3420, + 3421,5,266,0,0,3421,3422,3,222,111,0,3422,219,1,0,0,0,3423,3424, + 5,85,0,0,3424,3425,3,222,111,0,3425,221,1,0,0,0,3426,3427,3,216, + 108,0,3427,3428,5,326,0,0,3428,3430,1,0,0,0,3429,3426,1,0,0,0,3430, + 3431,1,0,0,0,3431,3429,1,0,0,0,3431,3432,1,0,0,0,3432,223,1,0,0, + 0,3433,3440,5,54,0,0,3434,3440,5,249,0,0,3435,3440,5,74,0,0,3436, + 3440,5,128,0,0,3437,3440,5,288,0,0,3438,3440,3,266,133,0,3439,3433, + 1,0,0,0,3439,3434,1,0,0,0,3439,3435,1,0,0,0,3439,3436,1,0,0,0,3439, + 3437,1,0,0,0,3439,3438,1,0,0,0,3440,225,1,0,0,0,3441,3445,5,261, + 0,0,3442,3445,5,244,0,0,3443,3445,3,266,133,0,3444,3441,1,0,0,0, + 3444,3442,1,0,0,0,3444,3443,1,0,0,0,3444,3445,1,0,0,0,3445,3446, + 1,0,0,0,3446,3447,3,256,128,0,3447,227,1,0,0,0,3448,3451,3,230,115, + 0,3449,3451,3,234,117,0,3450,3448,1,0,0,0,3450,3449,1,0,0,0,3451, + 229,1,0,0,0,3452,3464,3,266,133,0,3453,3454,3,266,133,0,3454,3455, + 5,4,0,0,3455,3456,3,266,133,0,3456,3464,1,0,0,0,3457,3458,3,266, + 133,0,3458,3459,5,4,0,0,3459,3460,3,266,133,0,3460,3461,5,4,0,0, + 3461,3462,3,266,133,0,3462,3464,1,0,0,0,3463,3452,1,0,0,0,3463,3453, + 1,0,0,0,3463,3457,1,0,0,0,3464,231,1,0,0,0,3465,3477,3,266,133,0, + 3466,3467,3,266,133,0,3467,3468,5,4,0,0,3468,3469,3,266,133,0,3469, + 3477,1,0,0,0,3470,3471,3,266,133,0,3471,3472,5,4,0,0,3472,3473,3, + 266,133,0,3473,3474,5,4,0,0,3474,3475,3,266,133,0,3475,3477,1,0, + 0,0,3476,3465,1,0,0,0,3476,3466,1,0,0,0,3476,3470,1,0,0,0,3477,233, + 1,0,0,0,3478,3490,3,266,133,0,3479,3480,3,266,133,0,3480,3481,5, + 4,0,0,3481,3482,3,266,133,0,3482,3490,1,0,0,0,3483,3484,3,266,133, + 0,3484,3485,5,4,0,0,3485,3486,3,266,133,0,3486,3487,5,4,0,0,3487, + 3488,3,266,133,0,3488,3490,1,0,0,0,3489,3478,1,0,0,0,3489,3479,1, + 0,0,0,3489,3483,1,0,0,0,3490,235,1,0,0,0,3491,3503,3,266,133,0,3492, + 3493,3,266,133,0,3493,3494,5,4,0,0,3494,3495,3,266,133,0,3495,3503, + 1,0,0,0,3496,3497,3,266,133,0,3497,3498,5,4,0,0,3498,3499,3,266, + 133,0,3499,3500,5,4,0,0,3500,3501,3,266,133,0,3501,3503,1,0,0,0, + 3502,3491,1,0,0,0,3502,3492,1,0,0,0,3502,3496,1,0,0,0,3503,237,1, + 0,0,0,3504,3510,3,266,133,0,3505,3506,3,266,133,0,3506,3507,5,4, + 0,0,3507,3508,3,266,133,0,3508,3510,1,0,0,0,3509,3504,1,0,0,0,3509, + 3505,1,0,0,0,3510,239,1,0,0,0,3511,3517,3,266,133,0,3512,3513,3, + 266,133,0,3513,3514,5,4,0,0,3514,3515,3,266,133,0,3515,3517,1,0, + 0,0,3516,3511,1,0,0,0,3516,3512,1,0,0,0,3517,241,1,0,0,0,3518,3519, + 3,266,133,0,3519,243,1,0,0,0,3520,3521,3,266,133,0,3521,245,1,0, + 0,0,3522,3523,3,256,128,0,3523,247,1,0,0,0,3524,3525,3,256,128,0, + 3525,249,1,0,0,0,3526,3529,3,256,128,0,3527,3529,4,125,14,0,3528, + 3526,1,0,0,0,3528,3527,1,0,0,0,3529,251,1,0,0,0,3530,3531,3,256, + 128,0,3531,253,1,0,0,0,3532,3533,3,266,133,0,3533,255,1,0,0,0,3534, + 3539,3,266,133,0,3535,3536,5,4,0,0,3536,3538,3,266,133,0,3537,3535, + 1,0,0,0,3538,3541,1,0,0,0,3539,3537,1,0,0,0,3539,3540,1,0,0,0,3540, + 257,1,0,0,0,3541,3539,1,0,0,0,3542,3546,3,260,130,0,3543,3546,5, + 65,0,0,3544,3546,5,61,0,0,3545,3542,1,0,0,0,3545,3543,1,0,0,0,3545, + 3544,1,0,0,0,3546,259,1,0,0,0,3547,3553,3,266,133,0,3548,3549,5, + 290,0,0,3549,3553,3,266,133,0,3550,3551,5,236,0,0,3551,3553,3,266, + 133,0,3552,3547,1,0,0,0,3552,3548,1,0,0,0,3552,3550,1,0,0,0,3553, + 261,1,0,0,0,3554,3559,3,266,133,0,3555,3556,5,3,0,0,3556,3558,3, + 266,133,0,3557,3555,1,0,0,0,3558,3561,1,0,0,0,3559,3557,1,0,0,0, + 3559,3560,1,0,0,0,3560,263,1,0,0,0,3561,3559,1,0,0,0,3562,3570,5, + 54,0,0,3563,3570,5,249,0,0,3564,3570,5,74,0,0,3565,3570,5,128,0, + 0,3566,3570,5,288,0,0,3567,3570,5,94,0,0,3568,3570,3,266,133,0,3569, + 3562,1,0,0,0,3569,3563,1,0,0,0,3569,3564,1,0,0,0,3569,3565,1,0,0, + 0,3569,3566,1,0,0,0,3569,3567,1,0,0,0,3569,3568,1,0,0,0,3570,265, + 1,0,0,0,3571,3577,5,333,0,0,3572,3577,5,335,0,0,3573,3577,3,270, + 135,0,3574,3577,5,336,0,0,3575,3577,5,334,0,0,3576,3571,1,0,0,0, + 3576,3572,1,0,0,0,3576,3573,1,0,0,0,3576,3574,1,0,0,0,3576,3575, + 1,0,0,0,3577,267,1,0,0,0,3578,3580,5,320,0,0,3579,3578,1,0,0,0,3579, + 3580,1,0,0,0,3580,3581,1,0,0,0,3581,3591,5,331,0,0,3582,3584,5,320, + 0,0,3583,3582,1,0,0,0,3583,3584,1,0,0,0,3584,3585,1,0,0,0,3585,3591, + 5,332,0,0,3586,3588,5,320,0,0,3587,3586,1,0,0,0,3587,3588,1,0,0, + 0,3588,3589,1,0,0,0,3589,3591,5,330,0,0,3590,3579,1,0,0,0,3590,3583, + 1,0,0,0,3590,3587,1,0,0,0,3591,269,1,0,0,0,3592,3593,7,37,0,0,3593, + 271,1,0,0,0,476,275,284,288,292,296,300,313,320,324,328,334,338, + 345,350,354,360,364,383,389,393,397,401,409,413,416,421,427,436, + 442,446,452,459,467,479,488,497,503,514,522,530,537,547,554,562, + 577,612,615,618,621,627,632,639,645,649,653,661,667,671,675,689, + 697,716,741,744,751,758,767,770,780,784,791,799,808,814,819,823, + 831,836,845,851,858,867,873,877,883,890,895,908,913,925,929,935, + 944,949,955,983,989,991,997,1003,1005,1013,1015,1025,1027,1042,1047, + 1054,1064,1070,1072,1080,1082,1089,1110,1113,1117,1121,1139,1142, + 1153,1156,1172,1182,1186,1192,1195,1204,1216,1219,1229,1233,1239, + 1246,1254,1256,1262,1266,1270,1281,1288,1298,1301,1306,1308,1315, + 1321,1323,1331,1337,1340,1342,1354,1361,1365,1368,1372,1376,1385, + 1388,1391,1396,1399,1407,1410,1423,1427,1434,1442,1453,1456,1466, + 1469,1480,1485,1490,1495,1499,1502,1507,1509,1518,1523,1532,1535, + 1538,1542,1553,1556,1559,1564,1567,1598,1603,1610,1614,1618,1622, + 1626,1630,1632,1641,1646,1652,1654,1662,1671,1674,1682,1685,1688, + 1693,1696,1708,1711,1719,1724,1728,1730,1732,1755,1757,1778,1788, + 1799,1803,1805,1813,1824,1835,1846,1853,1866,1872,1894,1909,1914, + 1918,1928,1934,1940,1948,1953,1960,1962,1968,1974,1978,1983,1992, + 1997,2011,2021,2024,2033,2038,2043,2045,2054,2057,2065,2068,2075, + 2080,2087,2091,2093,2101,2111,2117,2119,2126,2130,2132,2139,2143, + 2145,2147,2156,2167,2171,2181,2191,2195,2203,2205,2218,2226,2235, + 2241,2249,2255,2259,2264,2269,2275,2294,2296,2298,2328,2339,2347, + 2352,2357,2370,2376,2379,2386,2391,2394,2397,2402,2409,2412,2421, + 2424,2428,2434,2437,2452,2455,2474,2478,2486,2490,2515,2518,2527, + 2533,2539,2545,2554,2557,2560,2579,2588,2606,2622,2625,2634,2643, + 2649,2655,2666,2668,2673,2680,2682,2688,2694,2705,2714,2719,2724, + 2726,2728,2734,2736,2746,2755,2757,2763,2765,2768,2778,2780,2788, + 2796,2799,2804,2809,2819,2823,2827,2830,2832,2840,2843,2853,2861, + 2863,2871,2877,2889,2898,2905,2910,2917,2922,2945,2950,2952,2959, + 2963,2970,2974,2990,3005,3012,3021,3031,3036,3045,3050,3058,3066, + 3069,3075,3078,3085,3093,3096,3104,3107,3116,3127,3132,3139,3141, + 3154,3169,3173,3177,3181,3187,3191,3195,3199,3201,3211,3222,3226, + 3233,3240,3247,3258,3261,3269,3275,3282,3298,3312,3315,3324,3327, + 3343,3347,3363,3369,3375,3379,3385,3395,3407,3416,3431,3439,3444, + 3450,3463,3476,3489,3502,3509,3516,3528,3539,3545,3552,3559,3569, + 3576,3579,3583,3587,3590 ]; private static __ATN: antlr.ATN; @@ -20135,8 +19674,11 @@ export class SetSessionAuthorizationContext extends StatementContext { public KW_AUTHORIZATION(): antlr.TerminalNode { return this.getToken(TrinoSqlParser.KW_AUTHORIZATION, 0)!; } - public authorizationUser(): AuthorizationUserContext { - return this.getRuleContext(0, AuthorizationUserContext)!; + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); + } + public string(): StringContext | null { + return this.getRuleContext(0, StringContext); } public override enterRule(listener: TrinoSqlListener): void { if(listener.enterSetSessionAuthorization) { @@ -21141,8 +20683,8 @@ export class DropFunctionContext extends StatementContext { public KW_FUNCTION(): antlr.TerminalNode { return this.getToken(TrinoSqlParser.KW_FUNCTION, 0)!; } - public functionSignature(): FunctionSignatureContext { - return this.getRuleContext(0, FunctionSignatureContext)!; + public functionName(): FunctionNameContext { + return this.getRuleContext(0, FunctionNameContext)!; } public KW_IF(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_IF, 0); @@ -21150,6 +20692,15 @@ export class DropFunctionContext extends StatementContext { public KW_EXISTS(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_EXISTS, 0); } + public parameterDeclaration(): ParameterDeclarationContext[]; + public parameterDeclaration(i: number): ParameterDeclarationContext | null; + public parameterDeclaration(i?: number): ParameterDeclarationContext[] | ParameterDeclarationContext | null { + if (i === undefined) { + return this.getRuleContexts(ParameterDeclarationContext); + } + + return this.getRuleContext(i, ParameterDeclarationContext); + } public override enterRule(listener: TrinoSqlListener): void { if(listener.enterDropFunction) { listener.enterDropFunction(this); @@ -22624,14 +22175,27 @@ export class WithContext extends antlr.ParserRuleContext { export class TableElementContext extends antlr.ParserRuleContext { + public _optionType?: Token | null; public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } public columnDefinition(): ColumnDefinitionContext | null { return this.getRuleContext(0, ColumnDefinitionContext); } - public likeClause(): LikeClauseContext | null { - return this.getRuleContext(0, LikeClauseContext); + public KW_LIKE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LIKE, 0); + } + public tableRef(): TableRefContext | null { + return this.getRuleContext(0, TableRefContext); + } + public KW_PROPERTIES(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_PROPERTIES, 0); + } + public KW_INCLUDING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_INCLUDING, 0); + } + public KW_EXCLUDING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_EXCLUDING, 0); } public override get ruleIndex(): number { return TrinoSqlParser.RULE_tableElement; @@ -22709,49 +22273,6 @@ export class ColumnDefinitionContext extends antlr.ParserRuleContext { } -export class LikeClauseContext extends antlr.ParserRuleContext { - public _optionType?: Token | null; - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_LIKE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_LIKE, 0)!; - } - public tableRef(): TableRefContext { - return this.getRuleContext(0, TableRefContext)!; - } - public KW_PROPERTIES(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_PROPERTIES, 0); - } - public KW_INCLUDING(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_INCLUDING, 0); - } - public KW_EXCLUDING(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_EXCLUDING, 0); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_likeClause; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterLikeClause) { - listener.enterLikeClause(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitLikeClause) { - listener.exitLikeClause(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitLikeClause) { - return visitor.visitLikeClause(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class PropertiesContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -22828,8 +22349,11 @@ export class PropertyContext extends antlr.ParserRuleContext { public EQ(): antlr.TerminalNode { return this.getToken(TrinoSqlParser.EQ, 0)!; } - public propertyValue(): PropertyValueContext { - return this.getRuleContext(0, PropertyValueContext)!; + public KW_DEFAULT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_DEFAULT, 0); + } + public expression(): ExpressionContext | null { + return this.getRuleContext(0, ExpressionContext); } public override get ruleIndex(): number { return TrinoSqlParser.RULE_property; @@ -22854,75 +22378,10 @@ export class PropertyContext extends antlr.ParserRuleContext { } -export class PropertyValueContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_propertyValue; - } - public override copyFrom(ctx: PropertyValueContext): void { - super.copyFrom(ctx); - } -} -export class DefaultPropertyValueContext extends PropertyValueContext { - public constructor(ctx: PropertyValueContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_DEFAULT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DEFAULT, 0)!; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterDefaultPropertyValue) { - listener.enterDefaultPropertyValue(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitDefaultPropertyValue) { - listener.exitDefaultPropertyValue(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitDefaultPropertyValue) { - return visitor.visitDefaultPropertyValue(this); - } else { - return visitor.visitChildren(this); - } - } -} -export class NonDefaultPropertyValueContext extends PropertyValueContext { - public constructor(ctx: PropertyValueContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public expression(): ExpressionContext { - return this.getRuleContext(0, ExpressionContext)!; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterNonDefaultPropertyValue) { - listener.enterNonDefaultPropertyValue(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitNonDefaultPropertyValue) { - listener.exitNonDefaultPropertyValue(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitNonDefaultPropertyValue) { - return visitor.visitNonDefaultPropertyValue(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class QueryNoWithContext extends antlr.ParserRuleContext { - public _offset?: RowCountContext; - public _limit?: LimitRowCountContext; - public _fetchFirst?: RowCountContext; + public _offset?: Token | null; + public _limit?: Token | null; + public _fetchFirst?: Token | null; public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } @@ -22947,14 +22406,23 @@ export class QueryNoWithContext extends antlr.ParserRuleContext { public KW_OFFSET(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_OFFSET, 0); } - public rowCount(): RowCountContext[]; - public rowCount(i: number): RowCountContext | null; - public rowCount(i?: number): RowCountContext[] | RowCountContext | null { - if (i === undefined) { - return this.getRuleContexts(RowCountContext); - } - - return this.getRuleContext(i, RowCountContext); + public INTEGER_VALUE(): antlr.TerminalNode[]; + public INTEGER_VALUE(i: number): antlr.TerminalNode | null; + public INTEGER_VALUE(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.INTEGER_VALUE); + } else { + return this.getToken(TrinoSqlParser.INTEGER_VALUE, i); + } + } + public QUESTION_MARK(): antlr.TerminalNode[]; + public QUESTION_MARK(i: number): antlr.TerminalNode | null; + public QUESTION_MARK(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.QUESTION_MARK); + } else { + return this.getToken(TrinoSqlParser.QUESTION_MARK, i); + } } public KW_LIMIT(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_LIMIT, 0); @@ -22962,9 +22430,6 @@ export class QueryNoWithContext extends antlr.ParserRuleContext { public KW_FETCH(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_FETCH, 0); } - public limitRowCount(): LimitRowCountContext | null { - return this.getRuleContext(0, LimitRowCountContext); - } public KW_FIRST(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_FIRST, 0); } @@ -22986,100 +22451,37 @@ export class QueryNoWithContext extends antlr.ParserRuleContext { if (i === undefined) { return this.getTokens(TrinoSqlParser.KW_ROWS); } else { - return this.getToken(TrinoSqlParser.KW_ROWS, i); - } - } - public KW_ONLY(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ONLY, 0); - } - public KW_WITH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WITH, 0); - } - public KW_TIES(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TIES, 0); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_queryNoWith; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterQueryNoWith) { - listener.enterQueryNoWith(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitQueryNoWith) { - listener.exitQueryNoWith(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitQueryNoWith) { - return visitor.visitQueryNoWith(this); - } else { - return visitor.visitChildren(this); - } - } -} - - -export class LimitRowCountContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); + return this.getToken(TrinoSqlParser.KW_ROWS, i); + } } public KW_ALL(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_ALL, 0); } - public rowCount(): RowCountContext | null { - return this.getRuleContext(0, RowCountContext); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_limitRowCount; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterLimitRowCount) { - listener.enterLimitRowCount(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitLimitRowCount) { - listener.exitLimitRowCount(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitLimitRowCount) { - return visitor.visitLimitRowCount(this); - } else { - return visitor.visitChildren(this); - } - } -} - - -export class RowCountContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); + public KW_ONLY(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ONLY, 0); } - public INTEGER_VALUE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.INTEGER_VALUE, 0); + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); } - public QUESTION_MARK(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.QUESTION_MARK, 0); + public KW_TIES(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TIES, 0); } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_rowCount; + return TrinoSqlParser.RULE_queryNoWith; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRowCount) { - listener.enterRowCount(this); + if(listener.enterQueryNoWith) { + listener.enterQueryNoWith(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRowCount) { - listener.exitRowCount(this); + if(listener.exitQueryNoWith) { + listener.exitQueryNoWith(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRowCount) { - return visitor.visitRowCount(this); + if (visitor.visitQueryNoWith) { + return visitor.visitQueryNoWith(this); } else { return visitor.visitChildren(this); } @@ -23757,14 +23159,23 @@ export class GroupingSetContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public groupingTerm(): GroupingTermContext[]; - public groupingTerm(i: number): GroupingTermContext | null; - public groupingTerm(i?: number): GroupingTermContext[] | GroupingTermContext | null { + public columnRef(): ColumnRefContext[]; + public columnRef(i: number): ColumnRefContext | null; + public columnRef(i?: number): ColumnRefContext[] | ColumnRefContext | null { + if (i === undefined) { + return this.getRuleContexts(ColumnRefContext); + } + + return this.getRuleContext(i, ColumnRefContext); + } + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { if (i === undefined) { - return this.getRuleContexts(GroupingTermContext); + return this.getRuleContexts(ExpressionContext); } - return this.getRuleContext(i, GroupingTermContext); + return this.getRuleContext(i, ExpressionContext); } public override get ruleIndex(): number { return TrinoSqlParser.RULE_groupingSet; @@ -23789,39 +23200,6 @@ export class GroupingSetContext extends antlr.ParserRuleContext { } -export class GroupingTermContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public columnRef(): ColumnRefContext | null { - return this.getRuleContext(0, ColumnRefContext); - } - public expression(): ExpressionContext | null { - return this.getRuleContext(0, ExpressionContext); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_groupingTerm; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterGroupingTerm) { - listener.enterGroupingTerm(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitGroupingTerm) { - listener.exitGroupingTerm(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitGroupingTerm) { - return visitor.visitGroupingTerm(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class WindowDefinitionContext extends antlr.ParserRuleContext { public _name?: IdentifierContext; public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { @@ -24228,15 +23606,30 @@ export class JoinRelationContext extends RelationContext { public joinType(): JoinTypeContext | null { return this.getRuleContext(0, JoinTypeContext); } - public joinCriteria(): JoinCriteriaContext | null { - return this.getRuleContext(0, JoinCriteriaContext); - } public KW_NATURAL(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_NATURAL, 0); } public sampledRelation(): SampledRelationContext | null { return this.getRuleContext(0, SampledRelationContext); } + public KW_ON(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ON, 0); + } + public booleanExpression(): BooleanExpressionContext | null { + return this.getRuleContext(0, BooleanExpressionContext); + } + public KW_USING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_USING, 0); + } + public identifier(): IdentifierContext[]; + public identifier(i: number): IdentifierContext | null; + public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { + if (i === undefined) { + return this.getRuleContexts(IdentifierContext); + } + + return this.getRuleContext(i, IdentifierContext); + } public override enterRule(listener: TrinoSqlListener): void { if(listener.enterJoinRelation) { listener.enterJoinRelation(this); @@ -24299,51 +23692,6 @@ export class JoinTypeContext extends antlr.ParserRuleContext { } -export class JoinCriteriaContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_ON(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ON, 0); - } - public booleanExpression(): BooleanExpressionContext | null { - return this.getRuleContext(0, BooleanExpressionContext); - } - public KW_USING(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_USING, 0); - } - public identifier(): IdentifierContext[]; - public identifier(i: number): IdentifierContext | null; - public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { - if (i === undefined) { - return this.getRuleContexts(IdentifierContext); - } - - return this.getRuleContext(i, IdentifierContext); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_joinCriteria; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterJoinCriteria) { - listener.enterJoinCriteria(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitJoinCriteria) { - listener.exitJoinCriteria(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitJoinCriteria) { - return visitor.visitJoinCriteria(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class SampledRelationContext extends antlr.ParserRuleContext { public _percentage?: ExpressionContext; public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { @@ -24355,8 +23703,11 @@ export class SampledRelationContext extends antlr.ParserRuleContext { public KW_TABLESAMPLE(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_TABLESAMPLE, 0); } - public sampleType(): SampleTypeContext | null { - return this.getRuleContext(0, SampleTypeContext); + public KW_BERNOULLI(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_BERNOULLI, 0); + } + public KW_SYSTEM(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SYSTEM, 0); } public expression(): ExpressionContext | null { return this.getRuleContext(0, ExpressionContext); @@ -24384,75 +23735,6 @@ export class SampledRelationContext extends antlr.ParserRuleContext { } -export class SampleTypeContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_BERNOULLI(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_BERNOULLI, 0); - } - public KW_SYSTEM(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_SYSTEM, 0); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_sampleType; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSampleType) { - listener.enterSampleType(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSampleType) { - listener.exitSampleType(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSampleType) { - return visitor.visitSampleType(this); - } else { - return visitor.visitChildren(this); - } - } -} - - -export class TrimsSpecificationContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_LEADING(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_LEADING, 0); - } - public KW_TRAILING(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TRAILING, 0); - } - public KW_BOTH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_BOTH, 0); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_trimsSpecification; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTrimsSpecification) { - listener.enterTrimsSpecification(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTrimsSpecification) { - listener.exitTrimsSpecification(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTrimsSpecification) { - return visitor.visitTrimsSpecification(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class ListAggOverflowBehaviorContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -24463,8 +23745,14 @@ export class ListAggOverflowBehaviorContext extends antlr.ParserRuleContext { public KW_TRUNCATE(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_TRUNCATE, 0); } - public listAggCountIndication(): ListAggCountIndicationContext | null { - return this.getRuleContext(0, ListAggCountIndicationContext); + public KW_WITH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITH, 0); + } + public KW_COUNT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_COUNT, 0); + } + public KW_WITHOUT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_WITHOUT, 0); } public string(): StringContext | null { return this.getRuleContext(0, StringContext); @@ -24492,42 +23780,6 @@ export class ListAggOverflowBehaviorContext extends antlr.ParserRuleContext { } -export class ListAggCountIndicationContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_WITH(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WITH, 0); - } - public KW_COUNT(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_COUNT, 0)!; - } - public KW_WITHOUT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_WITHOUT, 0); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_listAggCountIndication; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterListAggCountIndication) { - listener.enterListAggCountIndication(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitListAggCountIndication) { - listener.exitListAggCountIndication(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitListAggCountIndication) { - return visitor.visitListAggCountIndication(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class PatternRecognitionContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -24704,46 +23956,22 @@ export class RowsPerMatchContext extends antlr.ParserRuleContext { return this.getToken(TrinoSqlParser.KW_ROW, 0); } public KW_PER(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_PER, 0)!; - } - public KW_MATCH(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_MATCH, 0)!; - } - public KW_ALL(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ALL, 0); - } - public KW_ROWS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ROWS, 0); - } - public emptyMatchHandling(): EmptyMatchHandlingContext | null { - return this.getRuleContext(0, EmptyMatchHandlingContext); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_rowsPerMatch; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRowsPerMatch) { - listener.enterRowsPerMatch(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRowsPerMatch) { - listener.exitRowsPerMatch(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRowsPerMatch) { - return visitor.visitRowsPerMatch(this); - } else { - return visitor.visitChildren(this); - } + return this.getToken(TrinoSqlParser.KW_PER, 0)!; } -} - - -export class EmptyMatchHandlingContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); + public KW_MATCH(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_MATCH, 0)!; + } + public KW_ALL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ALL, 0); + } + public KW_ROWS(): antlr.TerminalNode[]; + public KW_ROWS(i: number): antlr.TerminalNode | null; + public KW_ROWS(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_ROWS); + } else { + return this.getToken(TrinoSqlParser.KW_ROWS, i); + } } public KW_SHOW(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_SHOW, 0); @@ -24763,25 +23991,22 @@ export class EmptyMatchHandlingContext extends antlr.ParserRuleContext { public KW_UNMATCHED(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_UNMATCHED, 0); } - public KW_ROWS(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ROWS, 0); - } public override get ruleIndex(): number { - return TrinoSqlParser.RULE_emptyMatchHandling; + return TrinoSqlParser.RULE_rowsPerMatch; } public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterEmptyMatchHandling) { - listener.enterEmptyMatchHandling(this); + if(listener.enterRowsPerMatch) { + listener.enterRowsPerMatch(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitEmptyMatchHandling) { - listener.exitEmptyMatchHandling(this); + if(listener.exitRowsPerMatch) { + listener.exitRowsPerMatch(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitEmptyMatchHandling) { - return visitor.visitEmptyMatchHandling(this); + if (visitor.visitRowsPerMatch) { + return visitor.visitRowsPerMatch(this); } else { return visitor.visitChildren(this); } @@ -25127,6 +24352,7 @@ export class ParenthesizedRelationContext extends RelationPrimaryContext { } } export class TableNameContext extends RelationPrimaryContext { + public _end?: ValueExpressionContext; public constructor(ctx: RelationPrimaryContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); @@ -25134,8 +24360,23 @@ export class TableNameContext extends RelationPrimaryContext { public tableOrViewName(): TableOrViewNameContext { return this.getRuleContext(0, TableOrViewNameContext)!; } - public queryPeriod(): QueryPeriodContext | null { - return this.getRuleContext(0, QueryPeriodContext); + public KW_FOR(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FOR, 0); + } + public KW_AS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_AS, 0); + } + public KW_OF(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_OF, 0); + } + public KW_TIMESTAMP(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TIMESTAMP, 0); + } + public KW_VERSION(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_VERSION, 0); + } + public valueExpression(): ValueExpressionContext | null { + return this.getRuleContext(0, ValueExpressionContext); } public override enterRule(listener: TrinoSqlListener): void { if(listener.enterTableName) { @@ -26878,8 +26119,17 @@ export class AtTimeZoneContext extends ValueExpressionContext { public KW_AT(): antlr.TerminalNode { return this.getToken(TrinoSqlParser.KW_AT, 0)!; } - public timeZoneSpecifier(): TimeZoneSpecifierContext { - return this.getRuleContext(0, TimeZoneSpecifierContext)!; + public KW_TIME(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TIME, 0); + } + public KW_ZONE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ZONE, 0); + } + public interval(): IntervalContext | null { + return this.getRuleContext(0, IntervalContext); + } + public string(): StringContext | null { + return this.getRuleContext(0, StringContext); } public override enterRule(listener: TrinoSqlListener): void { if(listener.enterAtTimeZone) { @@ -27228,8 +26478,14 @@ export class TrimContext extends PrimaryExpressionContext { public KW_FROM(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_FROM, 0); } - public trimsSpecification(): TrimsSpecificationContext | null { - return this.getRuleContext(0, TrimsSpecificationContext); + public KW_LEADING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_LEADING, 0); + } + public KW_TRAILING(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TRAILING, 0); + } + public KW_BOTH(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_BOTH, 0); } public override enterRule(listener: TrinoSqlListener): void { if(listener.enterTrim) { @@ -27286,8 +26542,17 @@ export class NormalizeContext extends PrimaryExpressionContext { public valueExpression(): ValueExpressionContext { return this.getRuleContext(0, ValueExpressionContext)!; } - public normalForm(): NormalFormContext | null { - return this.getRuleContext(0, NormalFormContext); + public KW_NFD(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NFD, 0); + } + public KW_NFC(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NFC, 0); + } + public KW_NFKD(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NFKD, 0); + } + public KW_NFKC(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NFKC, 0); } public override enterRule(listener: TrinoSqlListener): void { if(listener.enterNormalize) { @@ -27538,8 +26803,11 @@ export class BooleanLiteralContext extends PrimaryExpressionContext { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public booleanValue(): BooleanValueContext { - return this.getRuleContext(0, BooleanValueContext)!; + public KW_TRUE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TRUE, 0); + } + public KW_FALSE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FALSE, 0); } public override enterRule(listener: TrinoSqlListener): void { if(listener.enterBooleanLiteral) { @@ -27802,14 +27070,26 @@ export class JsonExistsContext extends PrimaryExpressionContext { public jsonPathInvocation(): JsonPathInvocationContext { return this.getRuleContext(0, JsonPathInvocationContext)!; } - public jsonExistsErrorBehavior(): JsonExistsErrorBehaviorContext | null { - return this.getRuleContext(0, JsonExistsErrorBehaviorContext); - } public KW_ON(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_ON, 0); } - public KW_ERROR(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ERROR, 0); + public KW_ERROR(): antlr.TerminalNode[]; + public KW_ERROR(i: number): antlr.TerminalNode | null; + public KW_ERROR(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_ERROR); + } else { + return this.getToken(TrinoSqlParser.KW_ERROR, i); + } + } + public KW_TRUE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_TRUE, 0); + } + public KW_FALSE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_FALSE, 0); + } + public KW_UNKNOWN(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UNKNOWN, 0); } public override enterRule(listener: TrinoSqlListener): void { if(listener.enterJsonExists) { @@ -28296,8 +27576,14 @@ export class FunctionCallContext extends PrimaryExpressionContext { public setQuantifier(): SetQuantifierContext | null { return this.getRuleContext(0, SetQuantifierContext); } - public nullTreatment(): NullTreatmentContext | null { - return this.getRuleContext(0, NullTreatmentContext); + public KW_IGNORE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_IGNORE, 0); + } + public KW_NULLS(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_NULLS, 0); + } + public KW_RESPECT(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_RESPECT, 0); } public override enterRule(listener: TrinoSqlListener): void { if(listener.enterFunctionCall) { @@ -28718,45 +28004,6 @@ export class JsonArgumentContext extends antlr.ParserRuleContext { } -export class JsonExistsErrorBehaviorContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_TRUE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TRUE, 0); - } - public KW_FALSE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FALSE, 0); - } - public KW_UNKNOWN(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_UNKNOWN, 0); - } - public KW_ERROR(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_ERROR, 0); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_jsonExistsErrorBehavior; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterJsonExistsErrorBehavior) { - listener.enterJsonExistsErrorBehavior(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitJsonExistsErrorBehavior) { - listener.exitJsonExistsErrorBehavior(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitJsonExistsErrorBehavior) { - return visitor.visitJsonExistsErrorBehavior(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class JsonValueBehaviorContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -28952,42 +28199,6 @@ export class ProcessingModeContext extends antlr.ParserRuleContext { } -export class NullTreatmentContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_IGNORE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_IGNORE, 0); - } - public KW_NULLS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_NULLS, 0)!; - } - public KW_RESPECT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_RESPECT, 0); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_nullTreatment; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterNullTreatment) { - listener.enterNullTreatment(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitNullTreatment) { - listener.exitNullTreatment(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitNullTreatment) { - return visitor.visitNullTreatment(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class StringContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -29059,83 +28270,6 @@ export class BasicStringLiteralContext extends StringContext { } -export class TimeZoneSpecifierContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_timeZoneSpecifier; - } - public override copyFrom(ctx: TimeZoneSpecifierContext): void { - super.copyFrom(ctx); - } -} -export class TimeZoneIntervalContext extends TimeZoneSpecifierContext { - public constructor(ctx: TimeZoneSpecifierContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_TIME(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TIME, 0)!; - } - public KW_ZONE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ZONE, 0)!; - } - public interval(): IntervalContext { - return this.getRuleContext(0, IntervalContext)!; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTimeZoneInterval) { - listener.enterTimeZoneInterval(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTimeZoneInterval) { - listener.exitTimeZoneInterval(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTimeZoneInterval) { - return visitor.visitTimeZoneInterval(this); - } else { - return visitor.visitChildren(this); - } - } -} -export class TimeZoneStringContext extends TimeZoneSpecifierContext { - public constructor(ctx: TimeZoneSpecifierContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_TIME(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_TIME, 0)!; - } - public KW_ZONE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ZONE, 0)!; - } - public string(): StringContext { - return this.getRuleContext(0, StringContext)!; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterTimeZoneString) { - listener.enterTimeZoneString(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitTimeZoneString) { - listener.exitTimeZoneString(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitTimeZoneString) { - return visitor.visitTimeZoneString(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class ComparisonOperatorContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -29199,50 +28333,17 @@ export class ComparisonQuantifierContext extends antlr.ParserRuleContext { } public override enterRule(listener: TrinoSqlListener): void { if(listener.enterComparisonQuantifier) { - listener.enterComparisonQuantifier(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitComparisonQuantifier) { - listener.exitComparisonQuantifier(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitComparisonQuantifier) { - return visitor.visitComparisonQuantifier(this); - } else { - return visitor.visitChildren(this); - } - } -} - - -export class BooleanValueContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_TRUE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TRUE, 0); - } - public KW_FALSE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_FALSE, 0); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_booleanValue; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterBooleanValue) { - listener.enterBooleanValue(this); + listener.enterComparisonQuantifier(this); } } public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitBooleanValue) { - listener.exitBooleanValue(this); + if(listener.exitComparisonQuantifier) { + listener.exitComparisonQuantifier(this); } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitBooleanValue) { - return visitor.visitBooleanValue(this); + if (visitor.visitComparisonQuantifier) { + return visitor.visitComparisonQuantifier(this); } else { return visitor.visitChildren(this); } @@ -29349,45 +28450,6 @@ export class IntervalFieldContext extends antlr.ParserRuleContext { } -export class NormalFormContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_NFD(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NFD, 0); - } - public KW_NFC(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NFC, 0); - } - public KW_NFKD(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NFKD, 0); - } - public KW_NFKC(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_NFKC, 0); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_normalForm; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterNormalForm) { - listener.enterNormalForm(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitNormalForm) { - listener.exitNormalForm(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitNormalForm) { - return visitor.visitNormalForm(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class TypeContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -30211,15 +29273,6 @@ export class FrameExtentContext extends antlr.ParserRuleContext { public KW_RANGE(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_RANGE, 0); } - public frameBound(): FrameBoundContext[]; - public frameBound(i: number): FrameBoundContext | null; - public frameBound(i?: number): FrameBoundContext[] | FrameBoundContext | null { - if (i === undefined) { - return this.getRuleContexts(FrameBoundContext); - } - - return this.getRuleContext(i, FrameBoundContext); - } public KW_ROWS(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_ROWS, 0); } @@ -30232,6 +29285,15 @@ export class FrameExtentContext extends antlr.ParserRuleContext { public KW_AND(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_AND, 0); } + public frameBound(): FrameBoundContext[]; + public frameBound(i: number): FrameBoundContext | null; + public frameBound(i?: number): FrameBoundContext[] | FrameBoundContext | null { + if (i === undefined) { + return this.getRuleContexts(FrameBoundContext); + } + + return this.getRuleContext(i, FrameBoundContext); + } public override get ruleIndex(): number { return TrinoSqlParser.RULE_frameExtent; } @@ -30988,8 +30050,20 @@ export class IsolationLevelContext extends TransactionModeContext { public KW_LEVEL(): antlr.TerminalNode { return this.getToken(TrinoSqlParser.KW_LEVEL, 0)!; } - public levelOfIsolation(): LevelOfIsolationContext { - return this.getRuleContext(0, LevelOfIsolationContext)!; + public KW_READ(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_READ, 0); + } + public KW_UNCOMMITTED(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_UNCOMMITTED, 0); + } + public KW_COMMITTED(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_COMMITTED, 0); + } + public KW_REPEATABLE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_REPEATABLE, 0); + } + public KW_SERIALIZABLE(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_SERIALIZABLE, 0); } public override enterRule(listener: TrinoSqlListener): void { if(listener.enterIsolationLevel) { @@ -31011,132 +30085,6 @@ export class IsolationLevelContext extends TransactionModeContext { } -export class LevelOfIsolationContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_levelOfIsolation; - } - public override copyFrom(ctx: LevelOfIsolationContext): void { - super.copyFrom(ctx); - } -} -export class ReadUncommittedContext extends LevelOfIsolationContext { - public constructor(ctx: LevelOfIsolationContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_READ(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_READ, 0)!; - } - public KW_UNCOMMITTED(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_UNCOMMITTED, 0)!; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterReadUncommitted) { - listener.enterReadUncommitted(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitReadUncommitted) { - listener.exitReadUncommitted(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitReadUncommitted) { - return visitor.visitReadUncommitted(this); - } else { - return visitor.visitChildren(this); - } - } -} -export class SerializableContext extends LevelOfIsolationContext { - public constructor(ctx: LevelOfIsolationContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_SERIALIZABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_SERIALIZABLE, 0)!; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterSerializable) { - listener.enterSerializable(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitSerializable) { - listener.exitSerializable(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitSerializable) { - return visitor.visitSerializable(this); - } else { - return visitor.visitChildren(this); - } - } -} -export class ReadCommittedContext extends LevelOfIsolationContext { - public constructor(ctx: LevelOfIsolationContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_READ(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_READ, 0)!; - } - public KW_COMMITTED(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_COMMITTED, 0)!; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterReadCommitted) { - listener.enterReadCommitted(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitReadCommitted) { - listener.exitReadCommitted(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitReadCommitted) { - return visitor.visitReadCommitted(this); - } else { - return visitor.visitChildren(this); - } - } -} -export class RepeatableReadContext extends LevelOfIsolationContext { - public constructor(ctx: LevelOfIsolationContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public KW_REPEATABLE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_REPEATABLE, 0)!; - } - public KW_READ(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_READ, 0)!; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRepeatableRead) { - listener.enterRepeatableRead(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRepeatableRead) { - listener.exitRepeatableRead(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRepeatableRead) { - return visitor.visitRepeatableRead(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class CallArgumentContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -31319,15 +30267,27 @@ export class FunctionSpecificationContext extends antlr.ParserRuleContext { public KW_FUNCTION(): antlr.TerminalNode { return this.getToken(TrinoSqlParser.KW_FUNCTION, 0)!; } - public functionDeclaration(): FunctionDeclarationContext { - return this.getRuleContext(0, FunctionDeclarationContext)!; + public functionNameCreate(): FunctionNameCreateContext { + return this.getRuleContext(0, FunctionNameCreateContext)!; + } + public KW_RETURNS(): antlr.TerminalNode { + return this.getToken(TrinoSqlParser.KW_RETURNS, 0)!; } - public returnsClause(): ReturnsClauseContext { - return this.getRuleContext(0, ReturnsClauseContext)!; + public type(): TypeContext { + return this.getRuleContext(0, TypeContext)!; } public controlStatement(): ControlStatementContext { return this.getRuleContext(0, ControlStatementContext)!; } + public parameterDeclaration(): ParameterDeclarationContext[]; + public parameterDeclaration(i: number): ParameterDeclarationContext | null; + public parameterDeclaration(i?: number): ParameterDeclarationContext[] | ParameterDeclarationContext | null { + if (i === undefined) { + return this.getRuleContexts(ParameterDeclarationContext); + } + + return this.getRuleContext(i, ParameterDeclarationContext); + } public routineCharacteristic(): RoutineCharacteristicContext[]; public routineCharacteristic(i: number): RoutineCharacteristicContext | null; public routineCharacteristic(i?: number): RoutineCharacteristicContext[] | RoutineCharacteristicContext | null { @@ -31360,84 +30320,6 @@ export class FunctionSpecificationContext extends antlr.ParserRuleContext { } -export class FunctionDeclarationContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public functionNameCreate(): FunctionNameCreateContext { - return this.getRuleContext(0, FunctionNameCreateContext)!; - } - public parameterDeclaration(): ParameterDeclarationContext[]; - public parameterDeclaration(i: number): ParameterDeclarationContext | null; - public parameterDeclaration(i?: number): ParameterDeclarationContext[] | ParameterDeclarationContext | null { - if (i === undefined) { - return this.getRuleContexts(ParameterDeclarationContext); - } - - return this.getRuleContext(i, ParameterDeclarationContext); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_functionDeclaration; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterFunctionDeclaration) { - listener.enterFunctionDeclaration(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitFunctionDeclaration) { - listener.exitFunctionDeclaration(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitFunctionDeclaration) { - return visitor.visitFunctionDeclaration(this); - } else { - return visitor.visitChildren(this); - } - } -} - - -export class FunctionSignatureContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public functionName(): FunctionNameContext { - return this.getRuleContext(0, FunctionNameContext)!; - } - public parameterDeclaration(): ParameterDeclarationContext[]; - public parameterDeclaration(i: number): ParameterDeclarationContext | null; - public parameterDeclaration(i?: number): ParameterDeclarationContext[] | ParameterDeclarationContext | null { - if (i === undefined) { - return this.getRuleContexts(ParameterDeclarationContext); - } - - return this.getRuleContext(i, ParameterDeclarationContext); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_functionSignature; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterFunctionSignature) { - listener.enterFunctionSignature(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitFunctionSignature) { - listener.exitFunctionSignature(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitFunctionSignature) { - return visitor.visitFunctionSignature(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class ParameterDeclarationContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -31462,41 +30344,8 @@ export class ParameterDeclarationContext extends antlr.ParserRuleContext { } } public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitParameterDeclaration) { - return visitor.visitParameterDeclaration(this); - } else { - return visitor.visitChildren(this); - } - } -} - - -export class ReturnsClauseContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_RETURNS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_RETURNS, 0)!; - } - public type(): TypeContext { - return this.getRuleContext(0, TypeContext)!; - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_returnsClause; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterReturnsClause) { - listener.enterReturnsClause(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitReturnsClause) { - listener.exitReturnsClause(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitReturnsClause) { - return visitor.visitReturnsClause(this); + if (visitor.visitParameterDeclaration) { + return visitor.visitParameterDeclaration(this); } else { return visitor.visitChildren(this); } @@ -31944,14 +30793,32 @@ export class CompoundStatementContext extends ControlStatementContext { public KW_END(): antlr.TerminalNode { return this.getToken(TrinoSqlParser.KW_END, 0)!; } - public variableDeclaration(): VariableDeclarationContext[]; - public variableDeclaration(i: number): VariableDeclarationContext | null; - public variableDeclaration(i?: number): VariableDeclarationContext[] | VariableDeclarationContext | null { + public KW_DECLARE(): antlr.TerminalNode[]; + public KW_DECLARE(i: number): antlr.TerminalNode | null; + public KW_DECLARE(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_DECLARE); + } else { + return this.getToken(TrinoSqlParser.KW_DECLARE, i); + } + } + public identifier(): IdentifierContext[]; + public identifier(i: number): IdentifierContext | null; + public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { + if (i === undefined) { + return this.getRuleContexts(IdentifierContext); + } + + return this.getRuleContext(i, IdentifierContext); + } + public type_(): TypeContext[]; + public type_(i: number): TypeContext | null; + public type_(i?: number): TypeContext[] | TypeContext | null { if (i === undefined) { - return this.getRuleContexts(VariableDeclarationContext); + return this.getRuleContexts(TypeContext); } - return this.getRuleContext(i, VariableDeclarationContext); + return this.getRuleContext(i, TypeContext); } public SEMICOLON(): antlr.TerminalNode[]; public SEMICOLON(i: number): antlr.TerminalNode | null; @@ -31965,6 +30832,24 @@ export class CompoundStatementContext extends ControlStatementContext { public sqlStatementList(): SqlStatementListContext | null { return this.getRuleContext(0, SqlStatementListContext); } + public KW_DEFAULT(): antlr.TerminalNode[]; + public KW_DEFAULT(i: number): antlr.TerminalNode | null; + public KW_DEFAULT(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_DEFAULT); + } else { + return this.getToken(TrinoSqlParser.KW_DEFAULT, i); + } + } + public valueExpression(): ValueExpressionContext[]; + public valueExpression(i: number): ValueExpressionContext | null; + public valueExpression(i?: number): ValueExpressionContext[] | ValueExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(ValueExpressionContext); + } + + return this.getRuleContext(i, ValueExpressionContext); + } public override enterRule(listener: TrinoSqlListener): void { if(listener.enterCompoundStatement) { listener.enterCompoundStatement(this); @@ -32097,26 +30982,44 @@ export class IfStatementContext extends ControlStatementContext { return this.getToken(TrinoSqlParser.KW_IF, i); } } - public expression(): ExpressionContext { - return this.getRuleContext(0, ExpressionContext)!; + public expression(): ExpressionContext[]; + public expression(i: number): ExpressionContext | null; + public expression(i?: number): ExpressionContext[] | ExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(ExpressionContext); + } + + return this.getRuleContext(i, ExpressionContext); } - public KW_THEN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_THEN, 0)!; + public KW_THEN(): antlr.TerminalNode[]; + public KW_THEN(i: number): antlr.TerminalNode | null; + public KW_THEN(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_THEN); + } else { + return this.getToken(TrinoSqlParser.KW_THEN, i); + } } - public sqlStatementList(): SqlStatementListContext { - return this.getRuleContext(0, SqlStatementListContext)!; + public sqlStatementList(): SqlStatementListContext[]; + public sqlStatementList(i: number): SqlStatementListContext | null; + public sqlStatementList(i?: number): SqlStatementListContext[] | SqlStatementListContext | null { + if (i === undefined) { + return this.getRuleContexts(SqlStatementListContext); + } + + return this.getRuleContext(i, SqlStatementListContext); } public KW_END(): antlr.TerminalNode { return this.getToken(TrinoSqlParser.KW_END, 0)!; } - public elseIfClause(): ElseIfClauseContext[]; - public elseIfClause(i: number): ElseIfClauseContext | null; - public elseIfClause(i?: number): ElseIfClauseContext[] | ElseIfClauseContext | null { - if (i === undefined) { - return this.getRuleContexts(ElseIfClauseContext); - } - - return this.getRuleContext(i, ElseIfClauseContext); + public KW_ELSEIF(): antlr.TerminalNode[]; + public KW_ELSEIF(i: number): antlr.TerminalNode | null; + public KW_ELSEIF(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(TrinoSqlParser.KW_ELSEIF); + } else { + return this.getToken(TrinoSqlParser.KW_ELSEIF, i); + } } public elseClause(): ElseClauseContext | null { return this.getRuleContext(0, ElseClauseContext); @@ -32227,45 +31130,6 @@ export class CaseStatementWhenClauseContext extends antlr.ParserRuleContext { } -export class ElseIfClauseContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_ELSEIF(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_ELSEIF, 0)!; - } - public expression(): ExpressionContext { - return this.getRuleContext(0, ExpressionContext)!; - } - public KW_THEN(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_THEN, 0)!; - } - public sqlStatementList(): SqlStatementListContext { - return this.getRuleContext(0, SqlStatementListContext)!; - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_elseIfClause; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterElseIfClause) { - listener.enterElseIfClause(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitElseIfClause) { - listener.exitElseIfClause(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitElseIfClause) { - return visitor.visitElseIfClause(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class ElseClauseContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -32299,54 +31163,6 @@ export class ElseClauseContext extends antlr.ParserRuleContext { } -export class VariableDeclarationContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_DECLARE(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_DECLARE, 0)!; - } - public identifier(): IdentifierContext[]; - public identifier(i: number): IdentifierContext | null; - public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { - if (i === undefined) { - return this.getRuleContexts(IdentifierContext); - } - - return this.getRuleContext(i, IdentifierContext); - } - public type(): TypeContext { - return this.getRuleContext(0, TypeContext)!; - } - public KW_DEFAULT(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_DEFAULT, 0); - } - public valueExpression(): ValueExpressionContext | null { - return this.getRuleContext(0, ValueExpressionContext); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_variableDeclaration; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterVariableDeclaration) { - listener.enterVariableDeclaration(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitVariableDeclaration) { - listener.exitVariableDeclaration(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitVariableDeclaration) { - return visitor.visitVariableDeclaration(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class SqlStatementListContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -32437,10 +31253,13 @@ export class PrivilegeContext extends antlr.ParserRuleContext { } -export class EntityKindContext extends antlr.ParserRuleContext { +export class GrantObjectContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } + public qualifiedName(): QualifiedNameContext { + return this.getRuleContext(0, QualifiedNameContext)!; + } public KW_TABLE(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_TABLE, 0); } @@ -32450,39 +31269,6 @@ export class EntityKindContext extends antlr.ParserRuleContext { public identifier(): IdentifierContext | null { return this.getRuleContext(0, IdentifierContext); } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_entityKind; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterEntityKind) { - listener.enterEntityKind(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitEntityKind) { - listener.exitEntityKind(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitEntityKind) { - return visitor.visitEntityKind(this); - } else { - return visitor.visitChildren(this); - } - } -} - - -export class GrantObjectContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public qualifiedName(): QualifiedNameContext { - return this.getRuleContext(0, QualifiedNameContext)!; - } - public entityKind(): EntityKindContext | null { - return this.getRuleContext(0, EntityKindContext); - } public override get ruleIndex(): number { return TrinoSqlParser.RULE_grantObject; } @@ -33019,82 +31805,6 @@ export class QualifiedNameContext extends antlr.ParserRuleContext { } -export class QueryPeriodContext extends antlr.ParserRuleContext { - public _end?: ValueExpressionContext; - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_FOR(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_FOR, 0)!; - } - public rangeType(): RangeTypeContext { - return this.getRuleContext(0, RangeTypeContext)!; - } - public KW_AS(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_AS, 0)!; - } - public KW_OF(): antlr.TerminalNode { - return this.getToken(TrinoSqlParser.KW_OF, 0)!; - } - public valueExpression(): ValueExpressionContext { - return this.getRuleContext(0, ValueExpressionContext)!; - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_queryPeriod; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterQueryPeriod) { - listener.enterQueryPeriod(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitQueryPeriod) { - listener.exitQueryPeriod(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitQueryPeriod) { - return visitor.visitQueryPeriod(this); - } else { - return visitor.visitChildren(this); - } - } -} - - -export class RangeTypeContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public KW_TIMESTAMP(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_TIMESTAMP, 0); - } - public KW_VERSION(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.KW_VERSION, 0); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_rangeType; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRangeType) { - listener.enterRangeType(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRangeType) { - listener.exitRangeType(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRangeType) { - return visitor.visitRangeType(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class GrantorContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -33587,71 +32297,6 @@ export class IntegerLiteralContext extends NumberContext { } -export class AuthorizationUserContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_authorizationUser; - } - public override copyFrom(ctx: AuthorizationUserContext): void { - super.copyFrom(ctx); - } -} -export class StringUserContext extends AuthorizationUserContext { - public constructor(ctx: AuthorizationUserContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public string(): StringContext { - return this.getRuleContext(0, StringContext)!; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterStringUser) { - listener.enterStringUser(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitStringUser) { - listener.exitStringUser(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitStringUser) { - return visitor.visitStringUser(this); - } else { - return visitor.visitChildren(this); - } - } -} -export class IdentifierUserContext extends AuthorizationUserContext { - public constructor(ctx: AuthorizationUserContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterIdentifierUser) { - listener.enterIdentifierUser(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitIdentifierUser) { - listener.exitIdentifierUser(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitIdentifierUser) { - return visitor.visitIdentifierUser(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class NonReservedContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); diff --git a/src/lib/trino/TrinoSqlVisitor.ts b/src/lib/trino/TrinoSqlVisitor.ts index 036ea654f..c07f43a72 100644 --- a/src/lib/trino/TrinoSqlVisitor.ts +++ b/src/lib/trino/TrinoSqlVisitor.ts @@ -106,15 +106,10 @@ import { QueryStatementContext } from "./TrinoSqlParser.js"; import { WithContext } from "./TrinoSqlParser.js"; import { TableElementContext } from "./TrinoSqlParser.js"; import { ColumnDefinitionContext } from "./TrinoSqlParser.js"; -import { LikeClauseContext } from "./TrinoSqlParser.js"; import { PropertiesContext } from "./TrinoSqlParser.js"; import { PropertyAssignmentsContext } from "./TrinoSqlParser.js"; import { PropertyContext } from "./TrinoSqlParser.js"; -import { DefaultPropertyValueContext } from "./TrinoSqlParser.js"; -import { NonDefaultPropertyValueContext } from "./TrinoSqlParser.js"; import { QueryNoWithContext } from "./TrinoSqlParser.js"; -import { LimitRowCountContext } from "./TrinoSqlParser.js"; -import { RowCountContext } from "./TrinoSqlParser.js"; import { QueryTermDefaultContext } from "./TrinoSqlParser.js"; import { SetOperationContext } from "./TrinoSqlParser.js"; import { QueryPrimaryDefaultContext } from "./TrinoSqlParser.js"; @@ -133,7 +128,6 @@ import { RollupContext } from "./TrinoSqlParser.js"; import { CubeContext } from "./TrinoSqlParser.js"; import { MultipleGroupingSetsContext } from "./TrinoSqlParser.js"; import { GroupingSetContext } from "./TrinoSqlParser.js"; -import { GroupingTermContext } from "./TrinoSqlParser.js"; import { WindowDefinitionContext } from "./TrinoSqlParser.js"; import { WindowSpecificationContext } from "./TrinoSqlParser.js"; import { NamedQueryContext } from "./TrinoSqlParser.js"; @@ -146,16 +140,11 @@ import { SelectExpressionColumnNameContext } from "./TrinoSqlParser.js"; import { RelationDefaultContext } from "./TrinoSqlParser.js"; import { JoinRelationContext } from "./TrinoSqlParser.js"; import { JoinTypeContext } from "./TrinoSqlParser.js"; -import { JoinCriteriaContext } from "./TrinoSqlParser.js"; import { SampledRelationContext } from "./TrinoSqlParser.js"; -import { SampleTypeContext } from "./TrinoSqlParser.js"; -import { TrimsSpecificationContext } from "./TrinoSqlParser.js"; import { ListAggOverflowBehaviorContext } from "./TrinoSqlParser.js"; -import { ListAggCountIndicationContext } from "./TrinoSqlParser.js"; import { PatternRecognitionContext } from "./TrinoSqlParser.js"; import { MeasureDefinitionContext } from "./TrinoSqlParser.js"; import { RowsPerMatchContext } from "./TrinoSqlParser.js"; -import { EmptyMatchHandlingContext } from "./TrinoSqlParser.js"; import { SkipToContext } from "./TrinoSqlParser.js"; import { SubsetDefinitionContext } from "./TrinoSqlParser.js"; import { VariableDefinitionContext } from "./TrinoSqlParser.js"; @@ -256,23 +245,17 @@ import { JsonPathInvocationContext } from "./TrinoSqlParser.js"; import { JsonValueExpressionContext } from "./TrinoSqlParser.js"; import { JsonRepresentationContext } from "./TrinoSqlParser.js"; import { JsonArgumentContext } from "./TrinoSqlParser.js"; -import { JsonExistsErrorBehaviorContext } from "./TrinoSqlParser.js"; import { JsonValueBehaviorContext } from "./TrinoSqlParser.js"; import { JsonQueryWrapperBehaviorContext } from "./TrinoSqlParser.js"; import { JsonQueryBehaviorContext } from "./TrinoSqlParser.js"; import { JsonObjectMemberContext } from "./TrinoSqlParser.js"; import { ProcessingModeContext } from "./TrinoSqlParser.js"; -import { NullTreatmentContext } from "./TrinoSqlParser.js"; import { BasicStringLiteralContext } from "./TrinoSqlParser.js"; import { UnicodeStringLiteralContext } from "./TrinoSqlParser.js"; -import { TimeZoneIntervalContext } from "./TrinoSqlParser.js"; -import { TimeZoneStringContext } from "./TrinoSqlParser.js"; import { ComparisonOperatorContext } from "./TrinoSqlParser.js"; import { ComparisonQuantifierContext } from "./TrinoSqlParser.js"; -import { BooleanValueContext } from "./TrinoSqlParser.js"; import { IntervalContext } from "./TrinoSqlParser.js"; import { IntervalFieldContext } from "./TrinoSqlParser.js"; -import { NormalFormContext } from "./TrinoSqlParser.js"; import { RowTypeContext } from "./TrinoSqlParser.js"; import { IntervalTypeContext } from "./TrinoSqlParser.js"; import { ArrayTypeContext } from "./TrinoSqlParser.js"; @@ -314,20 +297,13 @@ import { ExplainFormatContext } from "./TrinoSqlParser.js"; import { ExplainTypeContext } from "./TrinoSqlParser.js"; import { IsolationLevelContext } from "./TrinoSqlParser.js"; import { TransactionAccessModeContext } from "./TrinoSqlParser.js"; -import { ReadUncommittedContext } from "./TrinoSqlParser.js"; -import { ReadCommittedContext } from "./TrinoSqlParser.js"; -import { RepeatableReadContext } from "./TrinoSqlParser.js"; -import { SerializableContext } from "./TrinoSqlParser.js"; import { PositionalArgumentContext } from "./TrinoSqlParser.js"; import { NamedArgumentContext } from "./TrinoSqlParser.js"; import { QualifiedArgumentContext } from "./TrinoSqlParser.js"; import { UnqualifiedArgumentContext } from "./TrinoSqlParser.js"; import { PathSpecificationContext } from "./TrinoSqlParser.js"; import { FunctionSpecificationContext } from "./TrinoSqlParser.js"; -import { FunctionDeclarationContext } from "./TrinoSqlParser.js"; -import { FunctionSignatureContext } from "./TrinoSqlParser.js"; import { ParameterDeclarationContext } from "./TrinoSqlParser.js"; -import { ReturnsClauseContext } from "./TrinoSqlParser.js"; import { LanguageCharacteristicContext } from "./TrinoSqlParser.js"; import { DeterministicCharacteristicContext } from "./TrinoSqlParser.js"; import { ReturnsNullOnNullInputCharacteristicContext } from "./TrinoSqlParser.js"; @@ -346,12 +322,9 @@ import { LoopStatementContext } from "./TrinoSqlParser.js"; import { WhileStatementContext } from "./TrinoSqlParser.js"; import { RepeatStatementContext } from "./TrinoSqlParser.js"; import { CaseStatementWhenClauseContext } from "./TrinoSqlParser.js"; -import { ElseIfClauseContext } from "./TrinoSqlParser.js"; import { ElseClauseContext } from "./TrinoSqlParser.js"; -import { VariableDeclarationContext } from "./TrinoSqlParser.js"; import { SqlStatementListContext } from "./TrinoSqlParser.js"; import { PrivilegeContext } from "./TrinoSqlParser.js"; -import { EntityKindContext } from "./TrinoSqlParser.js"; import { GrantObjectContext } from "./TrinoSqlParser.js"; import { TableOrViewNameContext } from "./TrinoSqlParser.js"; import { TableRefContext } from "./TrinoSqlParser.js"; @@ -368,8 +341,6 @@ import { ColumnRefContext } from "./TrinoSqlParser.js"; import { ColumnNameContext } from "./TrinoSqlParser.js"; import { ColumnNameCreateContext } from "./TrinoSqlParser.js"; import { QualifiedNameContext } from "./TrinoSqlParser.js"; -import { QueryPeriodContext } from "./TrinoSqlParser.js"; -import { RangeTypeContext } from "./TrinoSqlParser.js"; import { SpecifiedPrincipalContext } from "./TrinoSqlParser.js"; import { CurrentUserGrantorContext } from "./TrinoSqlParser.js"; import { CurrentRoleGrantorContext } from "./TrinoSqlParser.js"; @@ -385,8 +356,6 @@ import { DigitIdentifierContext } from "./TrinoSqlParser.js"; import { DecimalLiteralContext } from "./TrinoSqlParser.js"; import { DoubleLiteralContext } from "./TrinoSqlParser.js"; import { IntegerLiteralContext } from "./TrinoSqlParser.js"; -import { IdentifierUserContext } from "./TrinoSqlParser.js"; -import { StringUserContext } from "./TrinoSqlParser.js"; import { NonReservedContext } from "./TrinoSqlParser.js"; @@ -1071,12 +1040,6 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitColumnDefinition?: (ctx: ColumnDefinitionContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.likeClause`. - * @param ctx the parse tree - * @return the visitor result - */ - visitLikeClause?: (ctx: LikeClauseContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.properties`. * @param ctx the parse tree @@ -1095,38 +1058,12 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitProperty?: (ctx: PropertyContext) => Result; - /** - * Visit a parse tree produced by the `defaultPropertyValue` - * labeled alternative in `TrinoSqlParser.propertyValue`. - * @param ctx the parse tree - * @return the visitor result - */ - visitDefaultPropertyValue?: (ctx: DefaultPropertyValueContext) => Result; - /** - * Visit a parse tree produced by the `nonDefaultPropertyValue` - * labeled alternative in `TrinoSqlParser.propertyValue`. - * @param ctx the parse tree - * @return the visitor result - */ - visitNonDefaultPropertyValue?: (ctx: NonDefaultPropertyValueContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.queryNoWith`. * @param ctx the parse tree * @return the visitor result */ visitQueryNoWith?: (ctx: QueryNoWithContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.limitRowCount`. - * @param ctx the parse tree - * @return the visitor result - */ - visitLimitRowCount?: (ctx: LimitRowCountContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.rowCount`. - * @param ctx the parse tree - * @return the visitor result - */ - visitRowCount?: (ctx: RowCountContext) => Result; /** * Visit a parse tree produced by the `queryTermDefault` * labeled alternative in `TrinoSqlParser.queryTerm`. @@ -1245,12 +1182,6 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitGroupingSet?: (ctx: GroupingSetContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.groupingTerm`. - * @param ctx the parse tree - * @return the visitor result - */ - visitGroupingTerm?: (ctx: GroupingTermContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.windowDefinition`. * @param ctx the parse tree @@ -1325,42 +1256,18 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitJoinType?: (ctx: JoinTypeContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.joinCriteria`. - * @param ctx the parse tree - * @return the visitor result - */ - visitJoinCriteria?: (ctx: JoinCriteriaContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.sampledRelation`. * @param ctx the parse tree * @return the visitor result */ visitSampledRelation?: (ctx: SampledRelationContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.sampleType`. - * @param ctx the parse tree - * @return the visitor result - */ - visitSampleType?: (ctx: SampleTypeContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.trimsSpecification`. - * @param ctx the parse tree - * @return the visitor result - */ - visitTrimsSpecification?: (ctx: TrimsSpecificationContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.listAggOverflowBehavior`. * @param ctx the parse tree * @return the visitor result */ visitListAggOverflowBehavior?: (ctx: ListAggOverflowBehaviorContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.listAggCountIndication`. - * @param ctx the parse tree - * @return the visitor result - */ - visitListAggCountIndication?: (ctx: ListAggCountIndicationContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.patternRecognition`. * @param ctx the parse tree @@ -1379,12 +1286,6 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitRowsPerMatch?: (ctx: RowsPerMatchContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.emptyMatchHandling`. - * @param ctx the parse tree - * @return the visitor result - */ - visitEmptyMatchHandling?: (ctx: EmptyMatchHandlingContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.skipTo`. * @param ctx the parse tree @@ -2064,12 +1965,6 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitJsonArgument?: (ctx: JsonArgumentContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.jsonExistsErrorBehavior`. - * @param ctx the parse tree - * @return the visitor result - */ - visitJsonExistsErrorBehavior?: (ctx: JsonExistsErrorBehaviorContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.jsonValueBehavior`. * @param ctx the parse tree @@ -2100,12 +1995,6 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitProcessingMode?: (ctx: ProcessingModeContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.nullTreatment`. - * @param ctx the parse tree - * @return the visitor result - */ - visitNullTreatment?: (ctx: NullTreatmentContext) => Result; /** * Visit a parse tree produced by the `basicStringLiteral` * labeled alternative in `TrinoSqlParser.string`. @@ -2120,20 +2009,6 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitUnicodeStringLiteral?: (ctx: UnicodeStringLiteralContext) => Result; - /** - * Visit a parse tree produced by the `timeZoneInterval` - * labeled alternative in `TrinoSqlParser.timeZoneSpecifier`. - * @param ctx the parse tree - * @return the visitor result - */ - visitTimeZoneInterval?: (ctx: TimeZoneIntervalContext) => Result; - /** - * Visit a parse tree produced by the `timeZoneString` - * labeled alternative in `TrinoSqlParser.timeZoneSpecifier`. - * @param ctx the parse tree - * @return the visitor result - */ - visitTimeZoneString?: (ctx: TimeZoneStringContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.comparisonOperator`. * @param ctx the parse tree @@ -2146,12 +2021,6 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitComparisonQuantifier?: (ctx: ComparisonQuantifierContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.booleanValue`. - * @param ctx the parse tree - * @return the visitor result - */ - visitBooleanValue?: (ctx: BooleanValueContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.interval`. * @param ctx the parse tree @@ -2164,12 +2033,6 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitIntervalField?: (ctx: IntervalFieldContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.normalForm`. - * @param ctx the parse tree - * @return the visitor result - */ - visitNormalForm?: (ctx: NormalFormContext) => Result; /** * Visit a parse tree produced by the `rowType` * labeled alternative in `TrinoSqlParser.type`. @@ -2449,34 +2312,6 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitTransactionAccessMode?: (ctx: TransactionAccessModeContext) => Result; - /** - * Visit a parse tree produced by the `readUncommitted` - * labeled alternative in `TrinoSqlParser.levelOfIsolation`. - * @param ctx the parse tree - * @return the visitor result - */ - visitReadUncommitted?: (ctx: ReadUncommittedContext) => Result; - /** - * Visit a parse tree produced by the `readCommitted` - * labeled alternative in `TrinoSqlParser.levelOfIsolation`. - * @param ctx the parse tree - * @return the visitor result - */ - visitReadCommitted?: (ctx: ReadCommittedContext) => Result; - /** - * Visit a parse tree produced by the `repeatableRead` - * labeled alternative in `TrinoSqlParser.levelOfIsolation`. - * @param ctx the parse tree - * @return the visitor result - */ - visitRepeatableRead?: (ctx: RepeatableReadContext) => Result; - /** - * Visit a parse tree produced by the `serializable` - * labeled alternative in `TrinoSqlParser.levelOfIsolation`. - * @param ctx the parse tree - * @return the visitor result - */ - visitSerializable?: (ctx: SerializableContext) => Result; /** * Visit a parse tree produced by the `positionalArgument` * labeled alternative in `TrinoSqlParser.callArgument`. @@ -2517,30 +2352,12 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitFunctionSpecification?: (ctx: FunctionSpecificationContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.functionDeclaration`. - * @param ctx the parse tree - * @return the visitor result - */ - visitFunctionDeclaration?: (ctx: FunctionDeclarationContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.functionSignature`. - * @param ctx the parse tree - * @return the visitor result - */ - visitFunctionSignature?: (ctx: FunctionSignatureContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.parameterDeclaration`. * @param ctx the parse tree * @return the visitor result */ visitParameterDeclaration?: (ctx: ParameterDeclarationContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.returnsClause`. - * @param ctx the parse tree - * @return the visitor result - */ - visitReturnsClause?: (ctx: ReturnsClauseContext) => Result; /** * Visit a parse tree produced by the `languageCharacteristic` * labeled alternative in `TrinoSqlParser.routineCharacteristic`. @@ -2666,24 +2483,12 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitCaseStatementWhenClause?: (ctx: CaseStatementWhenClauseContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.elseIfClause`. - * @param ctx the parse tree - * @return the visitor result - */ - visitElseIfClause?: (ctx: ElseIfClauseContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.elseClause`. * @param ctx the parse tree * @return the visitor result */ visitElseClause?: (ctx: ElseClauseContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.variableDeclaration`. - * @param ctx the parse tree - * @return the visitor result - */ - visitVariableDeclaration?: (ctx: VariableDeclarationContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.sqlStatementList`. * @param ctx the parse tree @@ -2696,12 +2501,6 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitPrivilege?: (ctx: PrivilegeContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.entityKind`. - * @param ctx the parse tree - * @return the visitor result - */ - visitEntityKind?: (ctx: EntityKindContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.grantObject`. * @param ctx the parse tree @@ -2798,18 +2597,6 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitQualifiedName?: (ctx: QualifiedNameContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.queryPeriod`. - * @param ctx the parse tree - * @return the visitor result - */ - visitQueryPeriod?: (ctx: QueryPeriodContext) => Result; - /** - * Visit a parse tree produced by `TrinoSqlParser.rangeType`. - * @param ctx the parse tree - * @return the visitor result - */ - visitRangeType?: (ctx: RangeTypeContext) => Result; /** * Visit a parse tree produced by the `specifiedPrincipal` * labeled alternative in `TrinoSqlParser.grantor`. @@ -2913,20 +2700,6 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @return the visitor result */ visitIntegerLiteral?: (ctx: IntegerLiteralContext) => Result; - /** - * Visit a parse tree produced by the `identifierUser` - * labeled alternative in `TrinoSqlParser.authorizationUser`. - * @param ctx the parse tree - * @return the visitor result - */ - visitIdentifierUser?: (ctx: IdentifierUserContext) => Result; - /** - * Visit a parse tree produced by the `stringUser` - * labeled alternative in `TrinoSqlParser.authorizationUser`. - * @param ctx the parse tree - * @return the visitor result - */ - visitStringUser?: (ctx: StringUserContext) => Result; /** * Visit a parse tree produced by `TrinoSqlParser.nonReserved`. * @param ctx the parse tree diff --git a/test/parser/trino/syntax/fixtures/create_function.sql b/test/parser/trino/syntax/fixtures/create_function.sql index 86b4c81c2..10d9b62de 100644 --- a/test/parser/trino/syntax/fixtures/create_function.sql +++ b/test/parser/trino/syntax/fixtures/create_function.sql @@ -5,4 +5,21 @@ CREATE FUNCTION example.default.meaning_of_life() END; -CREATE FUNCTION meaning_of_life() RETURNS bigint RETURN 42; \ No newline at end of file +CREATE FUNCTION meaning_of_life() RETURNS bigint RETURN 42; + +-- Function with DECLARE and ELSEIF (variableDeclaration + elseIfClause inlined) +CREATE FUNCTION check_value(x integer) + RETURNS varchar + BEGIN + DECLARE result varchar DEFAULT 'unknown'; + IF x > 100 THEN + SET result = 'high'; + ELSEIF x > 50 THEN + SET result = 'medium'; + ELSEIF x > 0 THEN + SET result = 'low'; + ELSE + SET result = 'negative'; + END IF; + RETURN result; + END; \ No newline at end of file diff --git a/test/parser/trino/syntax/fixtures/match_recognize.sql b/test/parser/trino/syntax/fixtures/match_recognize.sql index e0ae00aa2..65b054ccb 100644 --- a/test/parser/trino/syntax/fixtures/match_recognize.sql +++ b/test/parser/trino/syntax/fixtures/match_recognize.sql @@ -14,3 +14,40 @@ SELECT * FROM orders MATCH_RECOGNIZE( C AS totalprice > PREV(totalprice) AND totalprice <= A.totalprice, D AS totalprice > PREV(totalprice) ); + +-- ALL ROWS PER MATCH with empty match handling (emptyMatchHandling inlined) +SELECT * FROM orders MATCH_RECOGNIZE( + PARTITION BY custkey + ORDER BY orderdate + MEASURES + A.totalprice AS starting_price + ALL ROWS PER MATCH SHOW EMPTY MATCHES + AFTER MATCH SKIP PAST LAST ROW + PATTERN (A B*) + DEFINE + B AS totalprice < PREV(totalprice) + ); + +SELECT * FROM orders MATCH_RECOGNIZE( + PARTITION BY custkey + ORDER BY orderdate + MEASURES + A.totalprice AS starting_price + ALL ROWS PER MATCH OMIT EMPTY MATCHES + AFTER MATCH SKIP PAST LAST ROW + PATTERN (A B*) + DEFINE + B AS totalprice < PREV(totalprice) + ); + +SELECT * FROM orders MATCH_RECOGNIZE( + PARTITION BY custkey + ORDER BY orderdate + MEASURES + A.totalprice AS starting_price + ALL ROWS PER MATCH WITH UNMATCHED ROWS + AFTER MATCH SKIP PAST LAST ROW + PATTERN (A B*) + DEFINE + B AS totalprice < PREV(totalprice) + ); diff --git a/test/parser/trino/syntax/fixtures/select.sql b/test/parser/trino/syntax/fixtures/select.sql index 124b07974..4a84581be 100644 --- a/test/parser/trino/syntax/fixtures/select.sql +++ b/test/parser/trino/syntax/fixtures/select.sql @@ -133,3 +133,35 @@ SELECT COALESCE(col1, col2, col3, col4) FROM table1 WHERE COALESCE(col1, col2) I SELECT COALESCE(a + b, c * d, e) FROM table1; SELECT COALESCE(CAST(a AS VARCHAR), b) FROM table1; SELECT COALESCE(NULL, COALESCE(a, b), c) FROM table1; + +-- TRIM with trimsSpecification (inlined) +SELECT TRIM(LEADING ' ' FROM ' hello '); +SELECT TRIM(TRAILING ' ' FROM ' hello '); +SELECT TRIM(BOTH ' ' FROM ' hello '); +SELECT TRIM(' hello '); + +-- NORMALIZE with normalForm (inlined) +SELECT NORMALIZE(col1, NFD) FROM t1; +SELECT NORMALIZE(col1, NFC) FROM t1; +SELECT NORMALIZE(col1, NFKD) FROM t1; +SELECT NORMALIZE(col1, NFKC) FROM t1; + +-- LISTAGG with overflow behavior (listAggOverflowBehavior inlined) +SELECT LISTAGG(name, ',') WITHIN GROUP (ORDER BY id) FROM t1; +SELECT LISTAGG(name, ',' ON OVERFLOW ERROR) WITHIN GROUP (ORDER BY id) FROM t1; +SELECT LISTAGG(name, ',' ON OVERFLOW TRUNCATE '...' WITH COUNT) WITHIN GROUP (ORDER BY id) FROM t1; +SELECT LISTAGG(name, ',' ON OVERFLOW TRUNCATE WITHOUT COUNT) WITHIN GROUP (ORDER BY id) FROM t1; + +-- IGNORE/RESPECT NULLS (nullTreatment inlined) +SELECT FIRST_VALUE(id) IGNORE NULLS OVER (ORDER BY ts) FROM t1; +SELECT LAST_VALUE(id) RESPECT NULLS OVER (ORDER BY ts) FROM t1; + +-- AT TIME ZONE (timeZoneSpecifier inlined) +SELECT ts AT TIME ZONE INTERVAL '8:00' HOUR TO MINUTE FROM t1; +SELECT ts AT TIME ZONE 'America/New_York' FROM t1; + +-- JSON_EXISTS with error behavior (jsonExistsErrorBehavior inlined) +SELECT JSON_EXISTS(col, '$.name' TRUE ON ERROR) FROM t1; +SELECT JSON_EXISTS(col, '$.name' FALSE ON ERROR) FROM t1; +SELECT JSON_EXISTS(col, '$.name' UNKNOWN ON ERROR) FROM t1; +SELECT JSON_EXISTS(col, '$.name' ERROR ON ERROR) FROM t1; diff --git a/test/parser/trino/syntax/fixtures/window_with_row_pattern_recognition.sql b/test/parser/trino/syntax/fixtures/window_with_row_pattern_recognition.sql index 47cce3901..7a055cb7a 100644 --- a/test/parser/trino/syntax/fixtures/window_with_row_pattern_recognition.sql +++ b/test/parser/trino/syntax/fixtures/window_with_row_pattern_recognition.sql @@ -12,3 +12,7 @@ SELECT cust_key, value OVER w, label OVER w B AS B.value < PREV (B.value), C AS C.value > PREV (C.value) ); + +-- GROUPS frame (frameExtent inlined) +SELECT id, SUM(val) OVER (ORDER BY ts GROUPS BETWEEN 1 PRECEDING AND 1 FOLLOWING) FROM t1; +SELECT id, SUM(val) OVER (ORDER BY ts GROUPS UNBOUNDED PRECEDING) FROM t1;