diff --git a/benchmark_reports/cold_start/trino.benchmark.md b/benchmark_reports/cold_start/trino.benchmark.md index 8c62f0b7..8bbaa03b 100644 --- a/benchmark_reports/cold_start/trino.benchmark.md +++ b/benchmark_reports/cold_start/trino.benchmark.md @@ -4,16 +4,16 @@ TrinoSQL ### Report Time -2024/12/18 14:50:08 +2026/9/23 18:08:08 ### Device -macOS 15.0.1 -(8) arm64 Apple M1 Pro +macOS 15.7.9 +(8) arm64 Apple M3 16.00 GB ### Version -`nodejs`: v21.6.1 -`dt-sql-parser`: v4.1.0-beta.0 +`nodejs`: v22.23.1 +`dt-sql-parser`: v4.5.1 `antlr4-c3`: v3.3.7 `antlr4ng`: v2.0.11 @@ -23,17 +23,17 @@ Cold Start ### Report | Benchmark Name | Method Name |SQL Rows|Average Time(ms)| |-----------------|---------------------------------|--------|----------------| -| Query Collection| getAllTokens | 1015 | 91 | -| Query Collection| validate | 1015 | 94 | -| Update Table | getAllTokens | 1011 | 114 | -| Update Table | validate | 1011 | 127 | -| Insert Columns | getAllTokens | 1001 | 214 | -| Insert Columns | validate | 1001 | 204 | -| Create Table | getAllTokens | 1002 | 28 | -| Create Table | validate | 1002 | 28 | -| Split SQL | splitSQLByStatement | 1001 | 72 | -| Collect Entities| getAllEntities | 1066 | 119 | -| Suggestion | getSuggestionAtCaretPosition | 1066 | 117 | -|Collect Semantics|getSemanticContextAtCaretPosition| 1015 | 108 | +| Query Collection| getAllTokens | 1015 | 90 | +| Query Collection| validate | 1015 | 86 | +| Update Table | getAllTokens | 1011 | 96 | +| Update Table | validate | 1011 | 99 | +| Insert Columns | getAllTokens | 1001 | 115 | +| Insert Columns | validate | 1001 | 118 | +| Create Table | getAllTokens | 1002 | 16 | +| Create Table | validate | 1002 | 17 | +| Split SQL | splitSQLByStatement | 1001 | 49 | +| Collect Entities| getAllEntities | 1066 | 110 | +| Suggestion | getSuggestionAtCaretPosition | 1066 | 109 | +|Collect Semantics|getSemanticContextAtCaretPosition| 1015 | 104 | diff --git a/src/grammar/trino/TrinoSql.g4 b/src/grammar/trino/TrinoSql.g4 index 170f6e1b..ab30d2c6 100644 --- a/src/grammar/trino/TrinoSql.g4 +++ b/src/grammar/trino/TrinoSql.g4 @@ -129,9 +129,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 @@ -175,7 +177,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 @@ -234,38 +236,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 @@ -400,28 +387,12 @@ joinColumnReference ; 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 @@ -442,13 +413,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 @@ -484,9 +453,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 @@ -598,7 +567,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 @@ -611,7 +580,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 @@ -624,39 +593,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 @@ -694,13 +663,6 @@ jsonArgument : jsonValueExpression KW_AS identifier ; -jsonExistsErrorBehavior - : KW_TRUE - | KW_FALSE - | KW_UNKNOWN - | KW_ERROR - ; - jsonValueBehavior : KW_ERROR | KW_NULL @@ -729,21 +691,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 @@ -759,11 +711,6 @@ comparisonQuantifier | KW_ANY ; -booleanValue - : KW_TRUE - | KW_FALSE - ; - interval : KW_INTERVAL sign=(PLUS | MINUS)? string from=intervalField (KW_TO to=intervalField)? ; @@ -777,13 +724,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 @@ -838,12 +778,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 @@ -887,17 +825,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 @@ -913,25 +849,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 @@ -942,35 +866,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)+ ; @@ -984,14 +900,8 @@ privilege | identifier ; -entityKind - : KW_TABLE - | KW_SCHEMA - | identifier - ; - grantObject - : entityKind? qualifiedName + : (KW_TABLE | KW_SCHEMA | identifier)? qualifiedName ; tableOrViewName @@ -1070,15 +980,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 @@ -1119,11 +1020,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 6a846227..0a1c2364 100644 --- a/src/lib/trino/TrinoSql.interp +++ b/src/lib/trino/TrinoSql.interp @@ -708,10 +708,7 @@ likeClause properties propertyAssignments property -propertyValue queryNoWith -limitRowCount -rowCount queryTerm queryPrimary sortItem @@ -739,14 +736,10 @@ joinCriteria joinColumnEquality joinColumnReference sampledRelation -sampleType -trimsSpecification listAggOverflowBehavior -listAggCountIndication patternRecognition measureDefinition rowsPerMatch -emptyMatchHandling skipTo subsetDefinition variableDefinition @@ -777,21 +770,16 @@ jsonPathInvocation jsonValueExpression jsonRepresentation jsonArgument -jsonExistsErrorBehavior jsonValueBehavior jsonQueryWrapperBehavior jsonQueryBehavior jsonObjectMember processingMode -nullTreatment string -timeZoneSpecifier comparisonOperator comparisonQuantifier -booleanValue interval intervalField -normalForm type rowField typeParameter @@ -808,24 +796,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 @@ -843,17 +824,14 @@ emptyColumn columnName columnNameCreate qualifiedName -queryPeriod -rangeType grantor principal roles privilegeOrRole identifier number -authorizationUser nonReserved atn: -[4, 1, 342, 3727, 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, 2, 161, 7, 161, 2, 162, 7, 162, 2, 163, 7, 163, 1, 0, 5, 0, 330, 8, 0, 10, 0, 12, 0, 333, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 3, 2, 341, 8, 2, 1, 3, 1, 3, 3, 3, 345, 8, 3, 1, 4, 1, 4, 3, 4, 349, 8, 4, 1, 5, 1, 5, 3, 5, 353, 8, 5, 1, 6, 1, 6, 3, 6, 357, 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, 370, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 377, 8, 8, 1, 8, 1, 8, 3, 8, 381, 8, 8, 1, 8, 1, 8, 3, 8, 385, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 391, 8, 8, 1, 8, 1, 8, 3, 8, 395, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 402, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 407, 8, 8, 1, 8, 1, 8, 3, 8, 411, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 417, 8, 8, 1, 8, 1, 8, 3, 8, 421, 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, 440, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 446, 8, 8, 1, 8, 1, 8, 3, 8, 450, 8, 8, 1, 8, 1, 8, 3, 8, 454, 8, 8, 1, 8, 1, 8, 3, 8, 458, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 466, 8, 8, 1, 8, 1, 8, 3, 8, 470, 8, 8, 1, 8, 3, 8, 473, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 478, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 484, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 491, 8, 8, 10, 8, 12, 8, 494, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 499, 8, 8, 1, 8, 1, 8, 3, 8, 503, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 509, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 516, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 524, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 536, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 545, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 554, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 560, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 571, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 579, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 587, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 594, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 604, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 611, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 619, 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, 634, 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, 667, 8, 8, 10, 8, 12, 8, 670, 9, 8, 3, 8, 672, 8, 8, 1, 8, 3, 8, 675, 8, 8, 1, 8, 3, 8, 678, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 684, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 689, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 696, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 702, 8, 8, 1, 8, 1, 8, 3, 8, 706, 8, 8, 1, 8, 1, 8, 3, 8, 710, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 718, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 724, 8, 8, 1, 8, 1, 8, 3, 8, 728, 8, 8, 1, 8, 1, 8, 3, 8, 732, 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, 746, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 754, 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, 773, 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, 796, 8, 8, 10, 8, 12, 8, 799, 9, 8, 3, 8, 801, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 808, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 815, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 824, 8, 8, 1, 8, 1, 8, 3, 8, 828, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 835, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 841, 8, 8, 10, 8, 12, 8, 844, 9, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 850, 8, 8, 10, 8, 12, 8, 853, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 858, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 863, 8, 8, 1, 8, 1, 8, 3, 8, 867, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 873, 8, 8, 10, 8, 12, 8, 876, 9, 8, 1, 8, 1, 8, 3, 8, 880, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 889, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 895, 8, 8, 1, 8, 1, 8, 1, 8, 5, 8, 900, 8, 8, 10, 8, 12, 8, 903, 9, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 909, 8, 8, 10, 8, 12, 8, 912, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 917, 8, 8, 1, 8, 1, 8, 3, 8, 921, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 927, 8, 8, 1, 8, 1, 8, 1, 8, 5, 8, 932, 8, 8, 10, 8, 12, 8, 935, 9, 8, 1, 8, 1, 8, 3, 8, 939, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 950, 8, 8, 10, 8, 12, 8, 953, 9, 8, 1, 8, 1, 8, 3, 8, 957, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 969, 8, 8, 1, 8, 1, 8, 3, 8, 973, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 979, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 986, 8, 8, 10, 8, 12, 8, 989, 9, 8, 1, 8, 1, 8, 3, 8, 993, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 999, 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, 1027, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1033, 8, 8, 3, 8, 1035, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1041, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1047, 8, 8, 3, 8, 1049, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1057, 8, 8, 3, 8, 1059, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1069, 8, 8, 3, 8, 1071, 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, 1086, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1091, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1098, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1108, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1114, 8, 8, 3, 8, 1116, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1124, 8, 8, 3, 8, 1126, 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, 1149, 8, 8, 10, 8, 12, 8, 1152, 9, 8, 3, 8, 1154, 8, 8, 1, 8, 1, 8, 3, 8, 1158, 8, 8, 1, 8, 1, 8, 3, 8, 1162, 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, 1178, 8, 8, 10, 8, 12, 8, 1181, 9, 8, 3, 8, 1183, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1192, 8, 8, 10, 8, 12, 8, 1195, 9, 8, 3, 8, 1197, 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, 1213, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1221, 8, 8, 10, 8, 12, 8, 1224, 9, 8, 1, 8, 3, 8, 1227, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1233, 8, 8, 1, 8, 3, 8, 1236, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 4, 8, 1243, 8, 8, 11, 8, 12, 8, 1244, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1257, 8, 8, 1, 9, 3, 9, 1260, 8, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 1268, 8, 10, 10, 10, 12, 10, 1271, 9, 10, 1, 11, 3, 11, 1274, 8, 11, 1, 11, 1, 11, 1, 12, 1, 12, 3, 12, 1280, 8, 12, 1, 12, 1, 12, 1, 12, 5, 12, 1285, 8, 12, 10, 12, 12, 12, 1288, 9, 12, 1, 13, 1, 13, 3, 13, 1292, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 1298, 8, 14, 1, 14, 1, 14, 3, 14, 1302, 8, 14, 1, 14, 1, 14, 3, 14, 1306, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 1312, 8, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 5, 17, 1321, 8, 17, 10, 17, 12, 17, 1324, 9, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 3, 19, 1332, 8, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 5, 20, 1340, 8, 20, 10, 20, 12, 20, 1343, 9, 20, 3, 20, 1345, 8, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1350, 8, 20, 3, 20, 1352, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1359, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1365, 8, 20, 3, 20, 1367, 8, 20, 1, 21, 1, 21, 3, 21, 1371, 8, 21, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 1381, 8, 23, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 1387, 8, 23, 1, 23, 5, 23, 1390, 8, 23, 10, 23, 12, 23, 1393, 9, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 5, 24, 1402, 8, 24, 10, 24, 12, 24, 1405, 9, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 1411, 8, 24, 1, 25, 1, 25, 3, 25, 1415, 8, 25, 1, 25, 3, 25, 1418, 8, 25, 1, 25, 1, 25, 3, 25, 1422, 8, 25, 1, 26, 1, 26, 3, 26, 1426, 8, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1433, 8, 26, 10, 26, 12, 26, 1436, 9, 26, 3, 26, 1438, 8, 26, 1, 26, 3, 26, 1441, 8, 26, 1, 26, 1, 26, 1, 26, 3, 26, 1446, 8, 26, 1, 26, 3, 26, 1449, 8, 26, 1, 26, 1, 26, 1, 26, 1, 26, 5, 26, 1455, 8, 26, 10, 26, 12, 26, 1458, 9, 26, 3, 26, 1460, 8, 26, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 5, 29, 1471, 8, 29, 10, 29, 12, 29, 1474, 9, 29, 1, 30, 3, 30, 1477, 8, 30, 1, 30, 1, 30, 1, 30, 5, 30, 1482, 8, 30, 10, 30, 12, 30, 1485, 9, 30, 1, 31, 1, 31, 1, 31, 5, 31, 1490, 8, 31, 10, 31, 12, 31, 1493, 9, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 1501, 8, 32, 10, 32, 12, 32, 1504, 9, 32, 3, 32, 1506, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 1514, 8, 32, 10, 32, 12, 32, 1517, 9, 32, 3, 32, 1519, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 1528, 8, 32, 10, 32, 12, 32, 1531, 9, 32, 1, 32, 1, 32, 3, 32, 1535, 8, 32, 1, 33, 1, 33, 1, 33, 1, 33, 5, 33, 1541, 8, 33, 10, 33, 12, 33, 1544, 9, 33, 3, 33, 1546, 8, 33, 1, 33, 1, 33, 3, 33, 1550, 8, 33, 1, 34, 1, 34, 3, 34, 1554, 8, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 36, 3, 36, 1563, 8, 36, 1, 36, 1, 36, 1, 36, 3, 36, 1568, 8, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 5, 36, 1575, 8, 36, 10, 36, 12, 36, 1578, 9, 36, 3, 36, 1580, 8, 36, 1, 36, 3, 36, 1583, 8, 36, 1, 37, 1, 37, 3, 37, 1587, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 39, 1, 39, 3, 39, 1598, 8, 39, 1, 39, 3, 39, 1601, 8, 39, 1, 39, 3, 39, 1604, 8, 39, 1, 39, 1, 39, 1, 39, 3, 39, 1609, 8, 39, 1, 39, 3, 39, 1612, 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, 1641, 8, 44, 5, 44, 1643, 8, 44, 10, 44, 12, 44, 1646, 9, 44, 1, 45, 3, 45, 1649, 8, 45, 1, 45, 1, 45, 3, 45, 1653, 8, 45, 1, 45, 1, 45, 3, 45, 1657, 8, 45, 1, 45, 1, 45, 3, 45, 1661, 8, 45, 3, 45, 1663, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 3, 46, 1669, 8, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 5, 46, 1676, 8, 46, 10, 46, 12, 46, 1679, 9, 46, 1, 46, 1, 46, 3, 46, 1683, 8, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 3, 48, 1695, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 1704, 8, 49, 1, 50, 1, 50, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 3, 52, 1713, 8, 52, 1, 52, 3, 52, 1716, 8, 52, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1722, 8, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 3, 54, 1730, 8, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 1737, 8, 54, 10, 54, 12, 54, 1740, 9, 54, 3, 54, 1742, 8, 54, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 1748, 8, 54, 10, 54, 12, 54, 1751, 9, 54, 3, 54, 1753, 8, 54, 1, 54, 3, 54, 1756, 8, 54, 1, 54, 1, 54, 1, 54, 3, 54, 1761, 8, 54, 1, 54, 3, 54, 1764, 8, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 1774, 8, 54, 10, 54, 12, 54, 1777, 9, 54, 3, 54, 1779, 8, 54, 1, 54, 1, 54, 1, 54, 1, 54, 5, 54, 1785, 8, 54, 10, 54, 12, 54, 1788, 9, 54, 1, 54, 1, 54, 3, 54, 1792, 8, 54, 1, 54, 1, 54, 3, 54, 1796, 8, 54, 3, 54, 1798, 8, 54, 3, 54, 1800, 8, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1815, 8, 56, 3, 56, 1817, 8, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 3, 57, 1828, 8, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 1849, 8, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 5, 59, 1857, 8, 59, 10, 59, 12, 59, 1860, 9, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 3, 61, 1870, 8, 61, 1, 61, 1, 61, 3, 61, 1874, 8, 61, 3, 61, 1876, 8, 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, 1, 63, 1, 63, 5, 63, 1893, 8, 63, 10, 63, 12, 63, 1896, 9, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 5, 64, 1904, 8, 64, 10, 64, 12, 64, 1907, 9, 64, 1, 64, 1, 64, 1, 65, 1, 65, 3, 65, 1913, 8, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 1920, 8, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 5, 66, 1931, 8, 66, 10, 66, 12, 66, 1934, 9, 66, 1, 66, 1, 66, 1, 66, 3, 66, 1939, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 5, 66, 1959, 8, 66, 10, 66, 12, 66, 1962, 9, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 1976, 8, 66, 1, 66, 1, 66, 1, 66, 3, 66, 1981, 8, 66, 1, 66, 1, 66, 3, 66, 1985, 8, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 1995, 8, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 2001, 8, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 2007, 8, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 2015, 8, 67, 1, 67, 1, 67, 1, 67, 3, 67, 2020, 8, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 2027, 8, 67, 3, 67, 2029, 8, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 2035, 8, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 2041, 8, 67, 1, 67, 1, 67, 3, 67, 2045, 8, 67, 1, 67, 1, 67, 1, 67, 3, 67, 2050, 8, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 5, 67, 2057, 8, 67, 10, 67, 12, 67, 2060, 9, 67, 1, 67, 1, 67, 3, 67, 2064, 8, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 5, 68, 2076, 8, 68, 10, 68, 12, 68, 2079, 9, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 5, 68, 2086, 8, 68, 10, 68, 12, 68, 2089, 9, 68, 3, 68, 2091, 8, 68, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 2100, 8, 70, 1, 71, 1, 71, 1, 71, 3, 71, 2105, 8, 71, 1, 71, 1, 71, 1, 71, 3, 71, 2110, 8, 71, 3, 71, 2112, 8, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2119, 8, 72, 10, 72, 12, 72, 2122, 9, 72, 3, 72, 2124, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 2130, 8, 72, 10, 72, 12, 72, 2133, 9, 72, 3, 72, 2135, 8, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 3, 73, 2142, 8, 73, 1, 73, 1, 73, 1, 73, 3, 73, 2147, 8, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 3, 74, 2154, 8, 74, 1, 74, 1, 74, 3, 74, 2158, 8, 74, 3, 74, 2160, 8, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 3, 74, 2168, 8, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 5, 74, 2176, 8, 74, 10, 74, 12, 74, 2179, 9, 74, 1, 74, 1, 74, 1, 74, 3, 74, 2184, 8, 74, 3, 74, 2186, 8, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 3, 75, 2193, 8, 75, 1, 75, 1, 75, 3, 75, 2197, 8, 75, 3, 75, 2199, 8, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 3, 75, 2206, 8, 75, 1, 75, 1, 75, 3, 75, 2210, 8, 75, 3, 75, 2212, 8, 75, 3, 75, 2214, 8, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 5, 76, 2221, 8, 76, 10, 76, 12, 76, 2224, 9, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2234, 8, 76, 1, 77, 1, 77, 3, 77, 2238, 8, 77, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 5, 78, 2246, 8, 78, 10, 78, 12, 78, 2249, 9, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 3, 80, 2258, 8, 80, 1, 80, 1, 80, 3, 80, 2262, 8, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 5, 80, 2270, 8, 80, 10, 80, 12, 80, 2273, 9, 80, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2285, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2293, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 2300, 8, 81, 10, 81, 12, 81, 2303, 9, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2308, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2316, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2322, 8, 81, 1, 81, 1, 81, 3, 81, 2326, 8, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2331, 8, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2336, 8, 81, 1, 82, 1, 82, 1, 82, 1, 82, 3, 82, 2342, 8, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 5, 82, 2356, 8, 82, 10, 82, 12, 82, 2359, 9, 82, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 4, 83, 2386, 8, 83, 11, 83, 12, 83, 2387, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 5, 83, 2397, 8, 83, 10, 83, 12, 83, 2400, 9, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2407, 8, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2412, 8, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2417, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 5, 83, 2428, 8, 83, 10, 83, 12, 83, 2431, 9, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2436, 8, 83, 1, 83, 3, 83, 2439, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2446, 8, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2451, 8, 83, 1, 83, 3, 83, 2454, 8, 83, 1, 83, 3, 83, 2457, 8, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2462, 8, 83, 1, 83, 1, 83, 1, 83, 5, 83, 2467, 8, 83, 10, 83, 12, 83, 2470, 9, 83, 3, 83, 2472, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 5, 83, 2479, 8, 83, 10, 83, 12, 83, 2482, 9, 83, 3, 83, 2484, 8, 83, 1, 83, 1, 83, 3, 83, 2488, 8, 83, 1, 83, 3, 83, 2491, 8, 83, 1, 83, 3, 83, 2494, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 5, 83, 2507, 8, 83, 10, 83, 12, 83, 2510, 9, 83, 3, 83, 2512, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 4, 83, 2529, 8, 83, 11, 83, 12, 83, 2530, 1, 83, 1, 83, 3, 83, 2535, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 4, 83, 2541, 8, 83, 11, 83, 12, 83, 2542, 1, 83, 1, 83, 3, 83, 2547, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 5, 83, 2570, 8, 83, 10, 83, 12, 83, 2573, 9, 83, 3, 83, 2575, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2584, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2590, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2596, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2602, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2611, 8, 83, 1, 83, 3, 83, 2614, 8, 83, 1, 83, 3, 83, 2617, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2636, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2645, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 5, 83, 2661, 8, 83, 10, 83, 12, 83, 2664, 9, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 5, 83, 2677, 8, 83, 10, 83, 12, 83, 2680, 9, 83, 3, 83, 2682, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2692, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2701, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2707, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2713, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2724, 8, 83, 3, 83, 2726, 8, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2731, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2738, 8, 83, 3, 83, 2740, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2746, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2752, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 5, 83, 2761, 8, 83, 10, 83, 12, 83, 2764, 9, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2772, 8, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2777, 8, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2782, 8, 83, 3, 83, 2784, 8, 83, 3, 83, 2786, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2792, 8, 83, 3, 83, 2794, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 5, 83, 2802, 8, 83, 10, 83, 12, 83, 2805, 9, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2813, 8, 83, 3, 83, 2815, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2821, 8, 83, 3, 83, 2823, 8, 83, 1, 83, 3, 83, 2826, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 5, 83, 2836, 8, 83, 10, 83, 12, 83, 2839, 9, 83, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 3, 84, 2846, 8, 84, 1, 84, 1, 84, 1, 84, 1, 84, 5, 84, 2852, 8, 84, 10, 84, 12, 84, 2855, 9, 84, 3, 84, 2857, 8, 84, 1, 85, 1, 85, 1, 85, 3, 85, 2862, 8, 85, 1, 86, 1, 86, 1, 86, 3, 86, 2867, 8, 86, 1, 87, 1, 87, 1, 87, 1, 87, 1, 88, 1, 88, 1, 89, 1, 89, 1, 89, 1, 89, 3, 89, 2879, 8, 89, 1, 90, 1, 90, 3, 90, 2883, 8, 90, 1, 90, 1, 90, 3, 90, 2887, 8, 90, 1, 90, 3, 90, 2890, 8, 90, 3, 90, 2892, 8, 90, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 3, 91, 2900, 8, 91, 1, 92, 3, 92, 2903, 8, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2913, 8, 92, 1, 93, 1, 93, 1, 94, 1, 94, 1, 94, 1, 94, 3, 94, 2921, 8, 94, 1, 95, 1, 95, 1, 95, 1, 95, 3, 95, 2927, 8, 95, 3, 95, 2929, 8, 95, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 3, 96, 2937, 8, 96, 1, 97, 1, 97, 1, 98, 1, 98, 1, 99, 1, 99, 1, 100, 1, 100, 3, 100, 2947, 8, 100, 1, 100, 1, 100, 1, 100, 1, 100, 3, 100, 2953, 8, 100, 1, 101, 1, 101, 1, 102, 1, 102, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 5, 103, 2965, 8, 103, 10, 103, 12, 103, 2968, 9, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 3, 103, 2976, 8, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 3, 103, 2983, 8, 103, 1, 103, 1, 103, 1, 103, 3, 103, 2988, 8, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 3, 103, 2995, 8, 103, 1, 103, 1, 103, 1, 103, 3, 103, 3000, 8, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 5, 103, 3021, 8, 103, 10, 103, 12, 103, 3024, 9, 103, 1, 103, 1, 103, 3, 103, 3028, 8, 103, 3, 103, 3030, 8, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 3, 103, 3037, 8, 103, 5, 103, 3039, 8, 103, 10, 103, 12, 103, 3042, 9, 103, 1, 104, 1, 104, 1, 104, 1, 104, 3, 104, 3048, 8, 104, 1, 105, 1, 105, 3, 105, 3052, 8, 105, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 108, 1, 108, 1, 108, 1, 108, 3, 108, 3068, 8, 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, 3081, 8, 108, 10, 108, 12, 108, 3084, 9, 108, 1, 108, 1, 108, 1, 108, 1, 108, 3, 108, 3090, 8, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 3, 108, 3099, 8, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 5, 108, 3107, 8, 108, 10, 108, 12, 108, 3110, 9, 108, 1, 108, 1, 108, 3, 108, 3114, 8, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 5, 108, 3121, 8, 108, 10, 108, 12, 108, 3124, 9, 108, 1, 108, 1, 108, 3, 108, 3128, 8, 108, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 3, 109, 3136, 8, 109, 1, 110, 1, 110, 1, 110, 1, 110, 5, 110, 3142, 8, 110, 10, 110, 12, 110, 3145, 9, 110, 3, 110, 3147, 8, 110, 1, 110, 1, 110, 1, 110, 1, 110, 3, 110, 3153, 8, 110, 1, 110, 3, 110, 3156, 8, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 3, 110, 3163, 8, 110, 1, 110, 1, 110, 1, 110, 1, 110, 5, 110, 3169, 8, 110, 10, 110, 12, 110, 3172, 9, 110, 3, 110, 3174, 8, 110, 1, 110, 1, 110, 1, 110, 1, 110, 5, 110, 3180, 8, 110, 10, 110, 12, 110, 3183, 9, 110, 3, 110, 3185, 8, 110, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 3, 111, 3211, 8, 111, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 3, 112, 3222, 8, 112, 1, 113, 1, 113, 1, 113, 3, 113, 3227, 8, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 5, 113, 3234, 8, 113, 10, 113, 12, 113, 3237, 9, 113, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 5, 114, 3247, 8, 114, 10, 114, 12, 114, 3250, 9, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 3, 114, 3264, 8, 114, 1, 115, 1, 115, 3, 115, 3268, 8, 115, 1, 115, 1, 115, 3, 115, 3272, 8, 115, 1, 115, 1, 115, 3, 115, 3276, 8, 115, 1, 115, 1, 115, 1, 115, 1, 115, 3, 115, 3282, 8, 115, 1, 115, 1, 115, 3, 115, 3286, 8, 115, 1, 115, 1, 115, 3, 115, 3290, 8, 115, 1, 115, 1, 115, 3, 115, 3294, 8, 115, 3, 115, 3296, 8, 115, 1, 116, 1, 116, 1, 116, 1, 116, 1, 117, 1, 117, 1, 117, 1, 117, 3, 117, 3306, 8, 117, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 3, 118, 3313, 8, 118, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 3, 119, 3322, 8, 119, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 3, 120, 3329, 8, 120, 1, 121, 1, 121, 1, 121, 1, 121, 1, 121, 3, 121, 3336, 8, 121, 1, 122, 1, 122, 1, 122, 5, 122, 3341, 8, 122, 10, 122, 12, 122, 3344, 9, 122, 1, 123, 1, 123, 1, 123, 1, 123, 5, 123, 3350, 8, 123, 10, 123, 12, 123, 3353, 9, 123, 1, 123, 1, 123, 1, 124, 1, 124, 1, 124, 1, 124, 1, 124, 5, 124, 3362, 8, 124, 10, 124, 12, 124, 3365, 9, 124, 3, 124, 3367, 8, 124, 1, 124, 1, 124, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 5, 125, 3376, 8, 125, 10, 125, 12, 125, 3379, 9, 125, 3, 125, 3381, 8, 125, 1, 125, 1, 125, 1, 126, 3, 126, 3386, 8, 126, 1, 126, 1, 126, 1, 127, 1, 127, 1, 127, 1, 128, 1, 128, 1, 128, 3, 128, 3396, 8, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 3, 128, 3412, 8, 128, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 4, 129, 3424, 8, 129, 11, 129, 12, 129, 3425, 1, 129, 3, 129, 3429, 8, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 4, 129, 3436, 8, 129, 11, 129, 12, 129, 3437, 1, 129, 3, 129, 3441, 8, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 5, 129, 3451, 8, 129, 10, 129, 12, 129, 3454, 9, 129, 1, 129, 3, 129, 3457, 8, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 5, 129, 3470, 8, 129, 10, 129, 12, 129, 3473, 9, 129, 1, 129, 3, 129, 3476, 8, 129, 1, 129, 1, 129, 1, 129, 1, 129, 3, 129, 3482, 8, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 3, 129, 3492, 8, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 3, 129, 3504, 8, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 3, 129, 3513, 8, 129, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 132, 1, 132, 1, 132, 1, 133, 1, 133, 1, 133, 1, 133, 5, 133, 3532, 8, 133, 10, 133, 12, 133, 3535, 9, 133, 1, 133, 1, 133, 1, 133, 3, 133, 3540, 8, 133, 1, 134, 1, 134, 1, 134, 4, 134, 3545, 8, 134, 11, 134, 12, 134, 3546, 1, 135, 1, 135, 1, 135, 1, 135, 1, 135, 1, 135, 3, 135, 3555, 8, 135, 1, 136, 1, 136, 1, 136, 3, 136, 3560, 8, 136, 1, 137, 3, 137, 3563, 8, 137, 1, 137, 1, 137, 1, 138, 1, 138, 3, 138, 3569, 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, 3582, 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, 3595, 8, 140, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 3, 141, 3608, 8, 141, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 3, 142, 3621, 8, 142, 1, 143, 1, 143, 1, 143, 1, 143, 1, 143, 3, 143, 3628, 8, 143, 1, 144, 1, 144, 1, 144, 1, 144, 1, 144, 3, 144, 3635, 8, 144, 1, 145, 1, 145, 1, 146, 1, 146, 1, 147, 1, 147, 1, 148, 1, 148, 1, 149, 1, 149, 3, 149, 3647, 8, 149, 1, 150, 1, 150, 1, 151, 1, 151, 1, 152, 1, 152, 1, 153, 1, 153, 1, 153, 5, 153, 3658, 8, 153, 10, 153, 12, 153, 3661, 9, 153, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 155, 1, 155, 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, 1, 158, 1, 158, 5, 158, 3686, 8, 158, 10, 158, 12, 158, 3689, 9, 158, 1, 159, 1, 159, 1, 159, 1, 159, 1, 159, 1, 159, 1, 159, 3, 159, 3698, 8, 159, 1, 160, 1, 160, 1, 160, 1, 160, 1, 160, 3, 160, 3705, 8, 160, 1, 161, 3, 161, 3708, 8, 161, 1, 161, 1, 161, 3, 161, 3712, 8, 161, 1, 161, 1, 161, 3, 161, 3716, 8, 161, 1, 161, 3, 161, 3719, 8, 161, 1, 162, 1, 162, 3, 162, 3723, 8, 162, 1, 163, 1, 163, 1, 163, 0, 7, 46, 88, 160, 164, 166, 206, 226, 164, 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, 322, 324, 326, 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, 4267, 0, 331, 1, 0, 0, 0, 2, 336, 1, 0, 0, 0, 4, 338, 1, 0, 0, 0, 6, 342, 1, 0, 0, 0, 8, 346, 1, 0, 0, 0, 10, 350, 1, 0, 0, 0, 12, 354, 1, 0, 0, 0, 14, 358, 1, 0, 0, 0, 16, 1256, 1, 0, 0, 0, 18, 1259, 1, 0, 0, 0, 20, 1263, 1, 0, 0, 0, 22, 1273, 1, 0, 0, 0, 24, 1277, 1, 0, 0, 0, 26, 1291, 1, 0, 0, 0, 28, 1293, 1, 0, 0, 0, 30, 1307, 1, 0, 0, 0, 32, 1313, 1, 0, 0, 0, 34, 1317, 1, 0, 0, 0, 36, 1325, 1, 0, 0, 0, 38, 1331, 1, 0, 0, 0, 40, 1333, 1, 0, 0, 0, 42, 1370, 1, 0, 0, 0, 44, 1372, 1, 0, 0, 0, 46, 1374, 1, 0, 0, 0, 48, 1410, 1, 0, 0, 0, 50, 1414, 1, 0, 0, 0, 52, 1423, 1, 0, 0, 0, 54, 1461, 1, 0, 0, 0, 56, 1464, 1, 0, 0, 0, 58, 1467, 1, 0, 0, 0, 60, 1476, 1, 0, 0, 0, 62, 1486, 1, 0, 0, 0, 64, 1534, 1, 0, 0, 0, 66, 1549, 1, 0, 0, 0, 68, 1553, 1, 0, 0, 0, 70, 1555, 1, 0, 0, 0, 72, 1562, 1, 0, 0, 0, 74, 1584, 1, 0, 0, 0, 76, 1593, 1, 0, 0, 0, 78, 1611, 1, 0, 0, 0, 80, 1613, 1, 0, 0, 0, 82, 1615, 1, 0, 0, 0, 84, 1619, 1, 0, 0, 0, 86, 1621, 1, 0, 0, 0, 88, 1623, 1, 0, 0, 0, 90, 1662, 1, 0, 0, 0, 92, 1682, 1, 0, 0, 0, 94, 1684, 1, 0, 0, 0, 96, 1694, 1, 0, 0, 0, 98, 1696, 1, 0, 0, 0, 100, 1705, 1, 0, 0, 0, 102, 1707, 1, 0, 0, 0, 104, 1715, 1, 0, 0, 0, 106, 1721, 1, 0, 0, 0, 108, 1723, 1, 0, 0, 0, 110, 1801, 1, 0, 0, 0, 112, 1816, 1, 0, 0, 0, 114, 1827, 1, 0, 0, 0, 116, 1848, 1, 0, 0, 0, 118, 1850, 1, 0, 0, 0, 120, 1863, 1, 0, 0, 0, 122, 1867, 1, 0, 0, 0, 124, 1877, 1, 0, 0, 0, 126, 1888, 1, 0, 0, 0, 128, 1899, 1, 0, 0, 0, 130, 1919, 1, 0, 0, 0, 132, 1984, 1, 0, 0, 0, 134, 2063, 1, 0, 0, 0, 136, 2090, 1, 0, 0, 0, 138, 2092, 1, 0, 0, 0, 140, 2099, 1, 0, 0, 0, 142, 2111, 1, 0, 0, 0, 144, 2113, 1, 0, 0, 0, 146, 2141, 1, 0, 0, 0, 148, 2148, 1, 0, 0, 0, 150, 2213, 1, 0, 0, 0, 152, 2233, 1, 0, 0, 0, 154, 2235, 1, 0, 0, 0, 156, 2239, 1, 0, 0, 0, 158, 2252, 1, 0, 0, 0, 160, 2261, 1, 0, 0, 0, 162, 2335, 1, 0, 0, 0, 164, 2341, 1, 0, 0, 0, 166, 2825, 1, 0, 0, 0, 168, 2840, 1, 0, 0, 0, 170, 2858, 1, 0, 0, 0, 172, 2863, 1, 0, 0, 0, 174, 2868, 1, 0, 0, 0, 176, 2872, 1, 0, 0, 0, 178, 2878, 1, 0, 0, 0, 180, 2891, 1, 0, 0, 0, 182, 2899, 1, 0, 0, 0, 184, 2912, 1, 0, 0, 0, 186, 2914, 1, 0, 0, 0, 188, 2920, 1, 0, 0, 0, 190, 2928, 1, 0, 0, 0, 192, 2936, 1, 0, 0, 0, 194, 2938, 1, 0, 0, 0, 196, 2940, 1, 0, 0, 0, 198, 2942, 1, 0, 0, 0, 200, 2944, 1, 0, 0, 0, 202, 2954, 1, 0, 0, 0, 204, 2956, 1, 0, 0, 0, 206, 3029, 1, 0, 0, 0, 208, 3047, 1, 0, 0, 0, 210, 3051, 1, 0, 0, 0, 212, 3053, 1, 0, 0, 0, 214, 3058, 1, 0, 0, 0, 216, 3127, 1, 0, 0, 0, 218, 3129, 1, 0, 0, 0, 220, 3146, 1, 0, 0, 0, 222, 3210, 1, 0, 0, 0, 224, 3221, 1, 0, 0, 0, 226, 3223, 1, 0, 0, 0, 228, 3263, 1, 0, 0, 0, 230, 3295, 1, 0, 0, 0, 232, 3297, 1, 0, 0, 0, 234, 3305, 1, 0, 0, 0, 236, 3312, 1, 0, 0, 0, 238, 3321, 1, 0, 0, 0, 240, 3328, 1, 0, 0, 0, 242, 3335, 1, 0, 0, 0, 244, 3337, 1, 0, 0, 0, 246, 3345, 1, 0, 0, 0, 248, 3356, 1, 0, 0, 0, 250, 3370, 1, 0, 0, 0, 252, 3385, 1, 0, 0, 0, 254, 3389, 1, 0, 0, 0, 256, 3411, 1, 0, 0, 0, 258, 3512, 1, 0, 0, 0, 260, 3514, 1, 0, 0, 0, 262, 3519, 1, 0, 0, 0, 264, 3524, 1, 0, 0, 0, 266, 3527, 1, 0, 0, 0, 268, 3544, 1, 0, 0, 0, 270, 3554, 1, 0, 0, 0, 272, 3559, 1, 0, 0, 0, 274, 3562, 1, 0, 0, 0, 276, 3568, 1, 0, 0, 0, 278, 3581, 1, 0, 0, 0, 280, 3594, 1, 0, 0, 0, 282, 3607, 1, 0, 0, 0, 284, 3620, 1, 0, 0, 0, 286, 3627, 1, 0, 0, 0, 288, 3634, 1, 0, 0, 0, 290, 3636, 1, 0, 0, 0, 292, 3638, 1, 0, 0, 0, 294, 3640, 1, 0, 0, 0, 296, 3642, 1, 0, 0, 0, 298, 3646, 1, 0, 0, 0, 300, 3648, 1, 0, 0, 0, 302, 3650, 1, 0, 0, 0, 304, 3652, 1, 0, 0, 0, 306, 3654, 1, 0, 0, 0, 308, 3662, 1, 0, 0, 0, 310, 3668, 1, 0, 0, 0, 312, 3673, 1, 0, 0, 0, 314, 3680, 1, 0, 0, 0, 316, 3682, 1, 0, 0, 0, 318, 3697, 1, 0, 0, 0, 320, 3704, 1, 0, 0, 0, 322, 3718, 1, 0, 0, 0, 324, 3722, 1, 0, 0, 0, 326, 3724, 1, 0, 0, 0, 328, 330, 3, 2, 1, 0, 329, 328, 1, 0, 0, 0, 330, 333, 1, 0, 0, 0, 331, 329, 1, 0, 0, 0, 331, 332, 1, 0, 0, 0, 332, 334, 1, 0, 0, 0, 333, 331, 1, 0, 0, 0, 334, 335, 5, 0, 0, 1, 335, 1, 1, 0, 0, 0, 336, 337, 3, 4, 2, 0, 337, 3, 1, 0, 0, 0, 338, 340, 3, 16, 8, 0, 339, 341, 5, 326, 0, 0, 340, 339, 1, 0, 0, 0, 340, 341, 1, 0, 0, 0, 341, 5, 1, 0, 0, 0, 342, 344, 3, 158, 79, 0, 343, 345, 5, 326, 0, 0, 344, 343, 1, 0, 0, 0, 344, 345, 1, 0, 0, 0, 345, 7, 1, 0, 0, 0, 346, 348, 3, 244, 122, 0, 347, 349, 5, 326, 0, 0, 348, 347, 1, 0, 0, 0, 348, 349, 1, 0, 0, 0, 349, 9, 1, 0, 0, 0, 350, 352, 3, 206, 103, 0, 351, 353, 5, 326, 0, 0, 352, 351, 1, 0, 0, 0, 352, 353, 1, 0, 0, 0, 353, 11, 1, 0, 0, 0, 354, 356, 3, 226, 113, 0, 355, 357, 5, 326, 0, 0, 356, 355, 1, 0, 0, 0, 356, 357, 1, 0, 0, 0, 357, 13, 1, 0, 0, 0, 358, 359, 3, 246, 123, 0, 359, 360, 5, 0, 0, 1, 360, 15, 1, 0, 0, 0, 361, 1257, 3, 18, 9, 0, 362, 363, 5, 289, 0, 0, 363, 1257, 3, 286, 143, 0, 364, 365, 5, 54, 0, 0, 365, 369, 5, 42, 0, 0, 366, 367, 5, 120, 0, 0, 367, 368, 5, 183, 0, 0, 368, 370, 5, 95, 0, 0, 369, 366, 1, 0, 0, 0, 369, 370, 1, 0, 0, 0, 370, 371, 1, 0, 0, 0, 371, 372, 3, 292, 146, 0, 372, 373, 5, 291, 0, 0, 373, 376, 3, 320, 160, 0, 374, 375, 5, 47, 0, 0, 375, 377, 3, 190, 95, 0, 376, 374, 1, 0, 0, 0, 376, 377, 1, 0, 0, 0, 377, 380, 1, 0, 0, 0, 378, 379, 5, 31, 0, 0, 379, 381, 3, 314, 157, 0, 380, 378, 1, 0, 0, 0, 380, 381, 1, 0, 0, 0, 381, 384, 1, 0, 0, 0, 382, 383, 5, 305, 0, 0, 383, 385, 3, 32, 16, 0, 384, 382, 1, 0, 0, 0, 384, 385, 1, 0, 0, 0, 385, 1257, 1, 0, 0, 0, 386, 387, 5, 84, 0, 0, 387, 390, 5, 42, 0, 0, 388, 389, 5, 120, 0, 0, 389, 391, 5, 95, 0, 0, 390, 388, 1, 0, 0, 0, 390, 391, 1, 0, 0, 0, 391, 392, 1, 0, 0, 0, 392, 394, 3, 290, 145, 0, 393, 395, 7, 0, 0, 0, 394, 393, 1, 0, 0, 0, 394, 395, 1, 0, 0, 0, 395, 1257, 1, 0, 0, 0, 396, 397, 5, 54, 0, 0, 397, 401, 5, 244, 0, 0, 398, 399, 5, 120, 0, 0, 399, 400, 5, 183, 0, 0, 400, 402, 5, 95, 0, 0, 401, 398, 1, 0, 0, 0, 401, 402, 1, 0, 0, 0, 402, 403, 1, 0, 0, 0, 403, 406, 3, 288, 144, 0, 404, 405, 5, 31, 0, 0, 405, 407, 3, 314, 157, 0, 406, 404, 1, 0, 0, 0, 406, 407, 1, 0, 0, 0, 407, 410, 1, 0, 0, 0, 408, 409, 5, 305, 0, 0, 409, 411, 3, 32, 16, 0, 410, 408, 1, 0, 0, 0, 410, 411, 1, 0, 0, 0, 411, 1257, 1, 0, 0, 0, 412, 413, 5, 84, 0, 0, 413, 416, 5, 244, 0, 0, 414, 415, 5, 120, 0, 0, 415, 417, 5, 95, 0, 0, 416, 414, 1, 0, 0, 0, 416, 417, 1, 0, 0, 0, 417, 418, 1, 0, 0, 0, 418, 420, 3, 286, 143, 0, 419, 421, 7, 0, 0, 0, 420, 419, 1, 0, 0, 0, 420, 421, 1, 0, 0, 0, 421, 1257, 1, 0, 0, 0, 422, 423, 5, 23, 0, 0, 423, 424, 5, 244, 0, 0, 424, 425, 3, 286, 143, 0, 425, 426, 5, 224, 0, 0, 426, 427, 5, 270, 0, 0, 427, 428, 3, 288, 144, 0, 428, 1257, 1, 0, 0, 0, 429, 430, 5, 23, 0, 0, 430, 431, 5, 244, 0, 0, 431, 432, 3, 286, 143, 0, 432, 433, 5, 252, 0, 0, 433, 434, 5, 31, 0, 0, 434, 435, 3, 314, 157, 0, 435, 1257, 1, 0, 0, 0, 436, 439, 5, 54, 0, 0, 437, 438, 5, 195, 0, 0, 438, 440, 5, 227, 0, 0, 439, 437, 1, 0, 0, 0, 439, 440, 1, 0, 0, 0, 440, 441, 1, 0, 0, 0, 441, 445, 5, 261, 0, 0, 442, 443, 5, 120, 0, 0, 443, 444, 5, 183, 0, 0, 444, 446, 5, 95, 0, 0, 445, 442, 1, 0, 0, 0, 445, 446, 1, 0, 0, 0, 446, 447, 1, 0, 0, 0, 447, 449, 3, 280, 140, 0, 448, 450, 3, 124, 62, 0, 449, 448, 1, 0, 0, 0, 449, 450, 1, 0, 0, 0, 450, 453, 1, 0, 0, 0, 451, 452, 5, 47, 0, 0, 452, 454, 3, 190, 95, 0, 453, 451, 1, 0, 0, 0, 453, 454, 1, 0, 0, 0, 454, 457, 1, 0, 0, 0, 455, 456, 5, 305, 0, 0, 456, 458, 3, 32, 16, 0, 457, 455, 1, 0, 0, 0, 457, 458, 1, 0, 0, 0, 458, 459, 1, 0, 0, 0, 459, 465, 5, 28, 0, 0, 460, 466, 3, 18, 9, 0, 461, 462, 5, 1, 0, 0, 462, 463, 3, 18, 9, 0, 463, 464, 5, 2, 0, 0, 464, 466, 1, 0, 0, 0, 465, 460, 1, 0, 0, 0, 465, 461, 1, 0, 0, 0, 466, 472, 1, 0, 0, 0, 467, 469, 5, 305, 0, 0, 468, 470, 5, 180, 0, 0, 469, 468, 1, 0, 0, 0, 469, 470, 1, 0, 0, 0, 470, 471, 1, 0, 0, 0, 471, 473, 5, 66, 0, 0, 472, 467, 1, 0, 0, 0, 472, 473, 1, 0, 0, 0, 473, 1257, 1, 0, 0, 0, 474, 477, 5, 54, 0, 0, 475, 476, 5, 195, 0, 0, 476, 478, 5, 227, 0, 0, 477, 475, 1, 0, 0, 0, 477, 478, 1, 0, 0, 0, 478, 479, 1, 0, 0, 0, 479, 483, 5, 261, 0, 0, 480, 481, 5, 120, 0, 0, 481, 482, 5, 183, 0, 0, 482, 484, 5, 95, 0, 0, 483, 480, 1, 0, 0, 0, 483, 484, 1, 0, 0, 0, 484, 485, 1, 0, 0, 0, 485, 486, 3, 280, 140, 0, 486, 487, 5, 1, 0, 0, 487, 492, 3, 26, 13, 0, 488, 489, 5, 3, 0, 0, 489, 491, 3, 26, 13, 0, 490, 488, 1, 0, 0, 0, 491, 494, 1, 0, 0, 0, 492, 490, 1, 0, 0, 0, 492, 493, 1, 0, 0, 0, 493, 495, 1, 0, 0, 0, 494, 492, 1, 0, 0, 0, 495, 498, 5, 2, 0, 0, 496, 497, 5, 47, 0, 0, 497, 499, 3, 190, 95, 0, 498, 496, 1, 0, 0, 0, 498, 499, 1, 0, 0, 0, 499, 502, 1, 0, 0, 0, 500, 501, 5, 305, 0, 0, 501, 503, 3, 32, 16, 0, 502, 500, 1, 0, 0, 0, 502, 503, 1, 0, 0, 0, 503, 1257, 1, 0, 0, 0, 504, 505, 5, 84, 0, 0, 505, 508, 5, 261, 0, 0, 506, 507, 5, 120, 0, 0, 507, 509, 5, 95, 0, 0, 508, 506, 1, 0, 0, 0, 508, 509, 1, 0, 0, 0, 509, 510, 1, 0, 0, 0, 510, 1257, 3, 278, 139, 0, 511, 512, 5, 128, 0, 0, 512, 513, 5, 131, 0, 0, 513, 515, 3, 278, 139, 0, 514, 516, 3, 126, 63, 0, 515, 514, 1, 0, 0, 0, 515, 516, 1, 0, 0, 0, 516, 517, 1, 0, 0, 0, 517, 518, 3, 18, 9, 0, 518, 1257, 1, 0, 0, 0, 519, 520, 5, 74, 0, 0, 520, 521, 5, 106, 0, 0, 521, 523, 3, 278, 139, 0, 522, 524, 3, 54, 27, 0, 523, 522, 1, 0, 0, 0, 523, 524, 1, 0, 0, 0, 524, 1257, 1, 0, 0, 0, 525, 526, 5, 275, 0, 0, 526, 527, 5, 261, 0, 0, 527, 1257, 3, 278, 139, 0, 528, 529, 5, 47, 0, 0, 529, 530, 5, 191, 0, 0, 530, 531, 5, 261, 0, 0, 531, 532, 3, 278, 139, 0, 532, 535, 5, 134, 0, 0, 533, 536, 3, 190, 95, 0, 534, 536, 5, 184, 0, 0, 535, 533, 1, 0, 0, 0, 535, 534, 1, 0, 0, 0, 536, 1257, 1, 0, 0, 0, 537, 538, 5, 47, 0, 0, 538, 539, 5, 191, 0, 0, 539, 540, 5, 300, 0, 0, 540, 541, 3, 282, 141, 0, 541, 544, 5, 134, 0, 0, 542, 545, 3, 190, 95, 0, 543, 545, 5, 184, 0, 0, 544, 542, 1, 0, 0, 0, 544, 543, 1, 0, 0, 0, 545, 1257, 1, 0, 0, 0, 546, 547, 5, 47, 0, 0, 547, 548, 5, 191, 0, 0, 548, 549, 5, 45, 0, 0, 549, 550, 3, 298, 149, 0, 550, 553, 5, 134, 0, 0, 551, 554, 3, 190, 95, 0, 552, 554, 5, 184, 0, 0, 553, 551, 1, 0, 0, 0, 553, 552, 1, 0, 0, 0, 554, 1257, 1, 0, 0, 0, 555, 556, 5, 23, 0, 0, 556, 559, 5, 261, 0, 0, 557, 558, 5, 120, 0, 0, 558, 560, 5, 95, 0, 0, 559, 557, 1, 0, 0, 0, 559, 560, 1, 0, 0, 0, 560, 561, 1, 0, 0, 0, 561, 562, 3, 278, 139, 0, 562, 563, 5, 224, 0, 0, 563, 564, 5, 270, 0, 0, 564, 565, 3, 280, 140, 0, 565, 1257, 1, 0, 0, 0, 566, 567, 5, 23, 0, 0, 567, 570, 5, 261, 0, 0, 568, 569, 5, 120, 0, 0, 569, 571, 5, 95, 0, 0, 570, 568, 1, 0, 0, 0, 570, 571, 1, 0, 0, 0, 571, 572, 1, 0, 0, 0, 572, 573, 3, 278, 139, 0, 573, 574, 5, 19, 0, 0, 574, 578, 5, 45, 0, 0, 575, 576, 5, 120, 0, 0, 576, 577, 5, 183, 0, 0, 577, 579, 5, 95, 0, 0, 578, 575, 1, 0, 0, 0, 578, 579, 1, 0, 0, 0, 579, 580, 1, 0, 0, 0, 580, 581, 3, 28, 14, 0, 581, 1257, 1, 0, 0, 0, 582, 583, 5, 23, 0, 0, 583, 586, 5, 261, 0, 0, 584, 585, 5, 120, 0, 0, 585, 587, 5, 95, 0, 0, 586, 584, 1, 0, 0, 0, 586, 587, 1, 0, 0, 0, 587, 588, 1, 0, 0, 0, 588, 589, 3, 278, 139, 0, 589, 590, 5, 224, 0, 0, 590, 593, 5, 45, 0, 0, 591, 592, 5, 120, 0, 0, 592, 594, 5, 95, 0, 0, 593, 591, 1, 0, 0, 0, 593, 594, 1, 0, 0, 0, 594, 595, 1, 0, 0, 0, 595, 596, 3, 298, 149, 0, 596, 597, 5, 270, 0, 0, 597, 598, 3, 304, 152, 0, 598, 1257, 1, 0, 0, 0, 599, 600, 5, 23, 0, 0, 600, 603, 5, 261, 0, 0, 601, 602, 5, 120, 0, 0, 602, 604, 5, 95, 0, 0, 603, 601, 1, 0, 0, 0, 603, 604, 1, 0, 0, 0, 604, 605, 1, 0, 0, 0, 605, 606, 3, 278, 139, 0, 606, 607, 5, 84, 0, 0, 607, 610, 5, 45, 0, 0, 608, 609, 5, 120, 0, 0, 609, 611, 5, 95, 0, 0, 610, 608, 1, 0, 0, 0, 610, 611, 1, 0, 0, 0, 611, 612, 1, 0, 0, 0, 612, 613, 3, 298, 149, 0, 613, 1257, 1, 0, 0, 0, 614, 615, 5, 23, 0, 0, 615, 618, 5, 261, 0, 0, 616, 617, 5, 120, 0, 0, 617, 619, 5, 95, 0, 0, 618, 616, 1, 0, 0, 0, 618, 619, 1, 0, 0, 0, 619, 620, 1, 0, 0, 0, 620, 621, 3, 278, 139, 0, 621, 622, 5, 23, 0, 0, 622, 623, 5, 45, 0, 0, 623, 624, 3, 298, 149, 0, 624, 625, 5, 252, 0, 0, 625, 626, 5, 66, 0, 0, 626, 627, 5, 277, 0, 0, 627, 628, 3, 206, 103, 0, 628, 1257, 1, 0, 0, 0, 629, 630, 5, 23, 0, 0, 630, 633, 5, 261, 0, 0, 631, 632, 5, 120, 0, 0, 632, 634, 5, 95, 0, 0, 633, 631, 1, 0, 0, 0, 633, 634, 1, 0, 0, 0, 634, 635, 1, 0, 0, 0, 635, 636, 3, 278, 139, 0, 636, 637, 5, 23, 0, 0, 637, 638, 5, 45, 0, 0, 638, 639, 3, 298, 149, 0, 639, 640, 5, 84, 0, 0, 640, 641, 5, 183, 0, 0, 641, 642, 5, 184, 0, 0, 642, 1257, 1, 0, 0, 0, 643, 644, 5, 23, 0, 0, 644, 645, 5, 261, 0, 0, 645, 646, 3, 278, 139, 0, 646, 647, 5, 252, 0, 0, 647, 648, 5, 31, 0, 0, 648, 649, 3, 314, 157, 0, 649, 1257, 1, 0, 0, 0, 650, 651, 5, 23, 0, 0, 651, 652, 5, 261, 0, 0, 652, 653, 3, 278, 139, 0, 653, 654, 5, 252, 0, 0, 654, 655, 5, 217, 0, 0, 655, 656, 3, 34, 17, 0, 656, 1257, 1, 0, 0, 0, 657, 658, 5, 23, 0, 0, 658, 659, 5, 261, 0, 0, 659, 660, 3, 278, 139, 0, 660, 661, 5, 94, 0, 0, 661, 674, 3, 294, 147, 0, 662, 671, 5, 1, 0, 0, 663, 668, 3, 240, 120, 0, 664, 665, 5, 3, 0, 0, 665, 667, 3, 240, 120, 0, 666, 664, 1, 0, 0, 0, 667, 670, 1, 0, 0, 0, 668, 666, 1, 0, 0, 0, 668, 669, 1, 0, 0, 0, 669, 672, 1, 0, 0, 0, 670, 668, 1, 0, 0, 0, 671, 663, 1, 0, 0, 0, 671, 672, 1, 0, 0, 0, 672, 673, 1, 0, 0, 0, 673, 675, 5, 2, 0, 0, 674, 662, 1, 0, 0, 0, 674, 675, 1, 0, 0, 0, 675, 677, 1, 0, 0, 0, 676, 678, 3, 54, 27, 0, 677, 676, 1, 0, 0, 0, 677, 678, 1, 0, 0, 0, 678, 1257, 1, 0, 0, 0, 679, 680, 5, 24, 0, 0, 680, 683, 3, 278, 139, 0, 681, 682, 5, 305, 0, 0, 682, 684, 3, 32, 16, 0, 683, 681, 1, 0, 0, 0, 683, 684, 1, 0, 0, 0, 684, 1257, 1, 0, 0, 0, 685, 688, 5, 54, 0, 0, 686, 687, 5, 195, 0, 0, 687, 689, 5, 227, 0, 0, 688, 686, 1, 0, 0, 0, 688, 689, 1, 0, 0, 0, 689, 690, 1, 0, 0, 0, 690, 691, 5, 168, 0, 0, 691, 695, 5, 300, 0, 0, 692, 693, 5, 120, 0, 0, 693, 694, 5, 183, 0, 0, 694, 696, 5, 95, 0, 0, 695, 692, 1, 0, 0, 0, 695, 696, 1, 0, 0, 0, 696, 697, 1, 0, 0, 0, 697, 701, 3, 284, 142, 0, 698, 699, 5, 110, 0, 0, 699, 700, 5, 209, 0, 0, 700, 702, 3, 200, 100, 0, 701, 698, 1, 0, 0, 0, 701, 702, 1, 0, 0, 0, 702, 705, 1, 0, 0, 0, 703, 704, 5, 47, 0, 0, 704, 706, 3, 190, 95, 0, 705, 703, 1, 0, 0, 0, 705, 706, 1, 0, 0, 0, 706, 709, 1, 0, 0, 0, 707, 708, 5, 305, 0, 0, 708, 710, 3, 32, 16, 0, 709, 707, 1, 0, 0, 0, 709, 710, 1, 0, 0, 0, 710, 711, 1, 0, 0, 0, 711, 712, 5, 28, 0, 0, 712, 713, 3, 18, 9, 0, 713, 1257, 1, 0, 0, 0, 714, 717, 5, 54, 0, 0, 715, 716, 5, 195, 0, 0, 716, 718, 5, 227, 0, 0, 717, 715, 1, 0, 0, 0, 717, 718, 1, 0, 0, 0, 718, 719, 1, 0, 0, 0, 719, 720, 5, 300, 0, 0, 720, 723, 3, 284, 142, 0, 721, 722, 5, 47, 0, 0, 722, 724, 3, 190, 95, 0, 723, 721, 1, 0, 0, 0, 723, 724, 1, 0, 0, 0, 724, 727, 1, 0, 0, 0, 725, 726, 5, 247, 0, 0, 726, 728, 7, 1, 0, 0, 727, 725, 1, 0, 0, 0, 727, 728, 1, 0, 0, 0, 728, 731, 1, 0, 0, 0, 729, 730, 5, 305, 0, 0, 730, 732, 3, 32, 16, 0, 731, 729, 1, 0, 0, 0, 731, 732, 1, 0, 0, 0, 732, 733, 1, 0, 0, 0, 733, 734, 5, 28, 0, 0, 734, 735, 3, 18, 9, 0, 735, 1257, 1, 0, 0, 0, 736, 737, 5, 223, 0, 0, 737, 738, 5, 168, 0, 0, 738, 739, 5, 300, 0, 0, 739, 1257, 3, 282, 141, 0, 740, 741, 5, 84, 0, 0, 741, 742, 5, 168, 0, 0, 742, 745, 5, 300, 0, 0, 743, 744, 5, 120, 0, 0, 744, 746, 5, 95, 0, 0, 745, 743, 1, 0, 0, 0, 745, 746, 1, 0, 0, 0, 746, 747, 1, 0, 0, 0, 747, 1257, 3, 282, 141, 0, 748, 749, 5, 23, 0, 0, 749, 750, 5, 168, 0, 0, 750, 753, 5, 300, 0, 0, 751, 752, 5, 120, 0, 0, 752, 754, 5, 95, 0, 0, 753, 751, 1, 0, 0, 0, 753, 754, 1, 0, 0, 0, 754, 755, 1, 0, 0, 0, 755, 756, 3, 282, 141, 0, 756, 757, 5, 224, 0, 0, 757, 758, 5, 270, 0, 0, 758, 759, 3, 284, 142, 0, 759, 1257, 1, 0, 0, 0, 760, 761, 5, 23, 0, 0, 761, 762, 5, 168, 0, 0, 762, 763, 5, 300, 0, 0, 763, 764, 3, 282, 141, 0, 764, 765, 5, 252, 0, 0, 765, 766, 5, 217, 0, 0, 766, 767, 3, 34, 17, 0, 767, 1257, 1, 0, 0, 0, 768, 769, 5, 84, 0, 0, 769, 772, 5, 300, 0, 0, 770, 771, 5, 120, 0, 0, 771, 773, 5, 95, 0, 0, 772, 770, 1, 0, 0, 0, 772, 773, 1, 0, 0, 0, 773, 774, 1, 0, 0, 0, 774, 1257, 3, 282, 141, 0, 775, 776, 5, 23, 0, 0, 776, 777, 5, 300, 0, 0, 777, 778, 3, 282, 141, 0, 778, 779, 5, 224, 0, 0, 779, 780, 5, 270, 0, 0, 780, 781, 3, 284, 142, 0, 781, 1257, 1, 0, 0, 0, 782, 783, 5, 23, 0, 0, 783, 784, 5, 300, 0, 0, 784, 785, 3, 282, 141, 0, 785, 786, 5, 252, 0, 0, 786, 787, 5, 31, 0, 0, 787, 788, 3, 314, 157, 0, 788, 1257, 1, 0, 0, 0, 789, 790, 5, 37, 0, 0, 790, 791, 3, 294, 147, 0, 791, 800, 5, 1, 0, 0, 792, 797, 3, 240, 120, 0, 793, 794, 5, 3, 0, 0, 794, 796, 3, 240, 120, 0, 795, 793, 1, 0, 0, 0, 796, 799, 1, 0, 0, 0, 797, 795, 1, 0, 0, 0, 797, 798, 1, 0, 0, 0, 798, 801, 1, 0, 0, 0, 799, 797, 1, 0, 0, 0, 800, 792, 1, 0, 0, 0, 800, 801, 1, 0, 0, 0, 801, 802, 1, 0, 0, 0, 802, 803, 5, 2, 0, 0, 803, 1257, 1, 0, 0, 0, 804, 807, 5, 54, 0, 0, 805, 806, 5, 195, 0, 0, 806, 808, 5, 227, 0, 0, 807, 805, 1, 0, 0, 0, 807, 808, 1, 0, 0, 0, 808, 809, 1, 0, 0, 0, 809, 1257, 3, 246, 123, 0, 810, 811, 5, 84, 0, 0, 811, 814, 5, 108, 0, 0, 812, 813, 5, 120, 0, 0, 813, 815, 5, 95, 0, 0, 814, 812, 1, 0, 0, 0, 814, 815, 1, 0, 0, 0, 815, 816, 1, 0, 0, 0, 816, 1257, 3, 250, 125, 0, 817, 818, 5, 54, 0, 0, 818, 819, 5, 236, 0, 0, 819, 823, 3, 320, 160, 0, 820, 821, 5, 305, 0, 0, 821, 822, 5, 20, 0, 0, 822, 824, 3, 312, 156, 0, 823, 820, 1, 0, 0, 0, 823, 824, 1, 0, 0, 0, 824, 827, 1, 0, 0, 0, 825, 826, 5, 123, 0, 0, 826, 828, 3, 290, 145, 0, 827, 825, 1, 0, 0, 0, 827, 828, 1, 0, 0, 0, 828, 1257, 1, 0, 0, 0, 829, 830, 5, 84, 0, 0, 830, 831, 5, 236, 0, 0, 831, 834, 3, 320, 160, 0, 832, 833, 5, 123, 0, 0, 833, 835, 3, 290, 145, 0, 834, 832, 1, 0, 0, 0, 834, 835, 1, 0, 0, 0, 835, 1257, 1, 0, 0, 0, 836, 837, 5, 111, 0, 0, 837, 842, 3, 318, 159, 0, 838, 839, 5, 3, 0, 0, 839, 841, 3, 318, 159, 0, 840, 838, 1, 0, 0, 0, 841, 844, 1, 0, 0, 0, 842, 840, 1, 0, 0, 0, 842, 843, 1, 0, 0, 0, 843, 845, 1, 0, 0, 0, 844, 842, 1, 0, 0, 0, 845, 846, 5, 270, 0, 0, 846, 851, 3, 314, 157, 0, 847, 848, 5, 3, 0, 0, 848, 850, 3, 314, 157, 0, 849, 847, 1, 0, 0, 0, 850, 853, 1, 0, 0, 0, 851, 849, 1, 0, 0, 0, 851, 852, 1, 0, 0, 0, 852, 857, 1, 0, 0, 0, 853, 851, 1, 0, 0, 0, 854, 855, 5, 305, 0, 0, 855, 856, 5, 20, 0, 0, 856, 858, 5, 194, 0, 0, 857, 854, 1, 0, 0, 0, 857, 858, 1, 0, 0, 0, 858, 862, 1, 0, 0, 0, 859, 860, 5, 112, 0, 0, 860, 861, 5, 36, 0, 0, 861, 863, 3, 312, 156, 0, 862, 859, 1, 0, 0, 0, 862, 863, 1, 0, 0, 0, 863, 866, 1, 0, 0, 0, 864, 865, 5, 123, 0, 0, 865, 867, 3, 290, 145, 0, 866, 864, 1, 0, 0, 0, 866, 867, 1, 0, 0, 0, 867, 1257, 1, 0, 0, 0, 868, 879, 5, 111, 0, 0, 869, 874, 3, 318, 159, 0, 870, 871, 5, 3, 0, 0, 871, 873, 3, 318, 159, 0, 872, 870, 1, 0, 0, 0, 873, 876, 1, 0, 0, 0, 874, 872, 1, 0, 0, 0, 874, 875, 1, 0, 0, 0, 875, 880, 1, 0, 0, 0, 876, 874, 1, 0, 0, 0, 877, 878, 5, 22, 0, 0, 878, 880, 5, 216, 0, 0, 879, 869, 1, 0, 0, 0, 879, 877, 1, 0, 0, 0, 880, 881, 1, 0, 0, 0, 881, 882, 5, 191, 0, 0, 882, 883, 3, 274, 137, 0, 883, 884, 5, 270, 0, 0, 884, 888, 3, 314, 157, 0, 885, 886, 5, 305, 0, 0, 886, 887, 5, 111, 0, 0, 887, 889, 5, 194, 0, 0, 888, 885, 1, 0, 0, 0, 888, 889, 1, 0, 0, 0, 889, 1257, 1, 0, 0, 0, 890, 894, 5, 234, 0, 0, 891, 892, 5, 20, 0, 0, 892, 893, 5, 194, 0, 0, 893, 895, 5, 104, 0, 0, 894, 891, 1, 0, 0, 0, 894, 895, 1, 0, 0, 0, 895, 896, 1, 0, 0, 0, 896, 901, 3, 318, 159, 0, 897, 898, 5, 3, 0, 0, 898, 900, 3, 318, 159, 0, 899, 897, 1, 0, 0, 0, 900, 903, 1, 0, 0, 0, 901, 899, 1, 0, 0, 0, 901, 902, 1, 0, 0, 0, 902, 904, 1, 0, 0, 0, 903, 901, 1, 0, 0, 0, 904, 905, 5, 106, 0, 0, 905, 910, 3, 314, 157, 0, 906, 907, 5, 3, 0, 0, 907, 909, 3, 314, 157, 0, 908, 906, 1, 0, 0, 0, 909, 912, 1, 0, 0, 0, 910, 908, 1, 0, 0, 0, 910, 911, 1, 0, 0, 0, 911, 916, 1, 0, 0, 0, 912, 910, 1, 0, 0, 0, 913, 914, 5, 112, 0, 0, 914, 915, 5, 36, 0, 0, 915, 917, 3, 312, 156, 0, 916, 913, 1, 0, 0, 0, 916, 917, 1, 0, 0, 0, 917, 920, 1, 0, 0, 0, 918, 919, 5, 123, 0, 0, 919, 921, 3, 290, 145, 0, 920, 918, 1, 0, 0, 0, 920, 921, 1, 0, 0, 0, 921, 1257, 1, 0, 0, 0, 922, 926, 5, 234, 0, 0, 923, 924, 5, 111, 0, 0, 924, 925, 5, 194, 0, 0, 925, 927, 5, 104, 0, 0, 926, 923, 1, 0, 0, 0, 926, 927, 1, 0, 0, 0, 927, 938, 1, 0, 0, 0, 928, 933, 3, 318, 159, 0, 929, 930, 5, 3, 0, 0, 930, 932, 3, 318, 159, 0, 931, 929, 1, 0, 0, 0, 932, 935, 1, 0, 0, 0, 933, 931, 1, 0, 0, 0, 933, 934, 1, 0, 0, 0, 934, 939, 1, 0, 0, 0, 935, 933, 1, 0, 0, 0, 936, 937, 5, 22, 0, 0, 937, 939, 5, 216, 0, 0, 938, 928, 1, 0, 0, 0, 938, 936, 1, 0, 0, 0, 939, 940, 1, 0, 0, 0, 940, 941, 5, 191, 0, 0, 941, 942, 3, 274, 137, 0, 942, 943, 5, 106, 0, 0, 943, 944, 3, 314, 157, 0, 944, 1257, 1, 0, 0, 0, 945, 956, 5, 75, 0, 0, 946, 951, 3, 270, 135, 0, 947, 948, 5, 3, 0, 0, 948, 950, 3, 270, 135, 0, 949, 947, 1, 0, 0, 0, 950, 953, 1, 0, 0, 0, 951, 949, 1, 0, 0, 0, 951, 952, 1, 0, 0, 0, 952, 957, 1, 0, 0, 0, 953, 951, 1, 0, 0, 0, 954, 955, 5, 22, 0, 0, 955, 957, 5, 216, 0, 0, 956, 946, 1, 0, 0, 0, 956, 954, 1, 0, 0, 0, 957, 958, 1, 0, 0, 0, 958, 959, 5, 191, 0, 0, 959, 960, 3, 274, 137, 0, 960, 961, 5, 270, 0, 0, 961, 962, 3, 314, 157, 0, 962, 1257, 1, 0, 0, 0, 963, 964, 5, 252, 0, 0, 964, 968, 5, 236, 0, 0, 965, 969, 5, 22, 0, 0, 966, 969, 5, 181, 0, 0, 967, 969, 3, 320, 160, 0, 968, 965, 1, 0, 0, 0, 968, 966, 1, 0, 0, 0, 968, 967, 1, 0, 0, 0, 969, 972, 1, 0, 0, 0, 970, 971, 5, 123, 0, 0, 971, 973, 3, 290, 145, 0, 972, 970, 1, 0, 0, 0, 972, 973, 1, 0, 0, 0, 973, 1257, 1, 0, 0, 0, 974, 975, 5, 254, 0, 0, 975, 978, 5, 113, 0, 0, 976, 977, 5, 191, 0, 0, 977, 979, 3, 274, 137, 0, 978, 976, 1, 0, 0, 0, 978, 979, 1, 0, 0, 0, 979, 1257, 1, 0, 0, 0, 980, 992, 5, 96, 0, 0, 981, 982, 5, 1, 0, 0, 982, 987, 3, 234, 117, 0, 983, 984, 5, 3, 0, 0, 984, 986, 3, 234, 117, 0, 985, 983, 1, 0, 0, 0, 986, 989, 1, 0, 0, 0, 987, 985, 1, 0, 0, 0, 987, 988, 1, 0, 0, 0, 988, 990, 1, 0, 0, 0, 989, 987, 1, 0, 0, 0, 990, 991, 5, 2, 0, 0, 991, 993, 1, 0, 0, 0, 992, 981, 1, 0, 0, 0, 992, 993, 1, 0, 0, 0, 993, 994, 1, 0, 0, 0, 994, 1257, 3, 16, 8, 0, 995, 996, 5, 96, 0, 0, 996, 998, 5, 24, 0, 0, 997, 999, 5, 298, 0, 0, 998, 997, 1, 0, 0, 0, 998, 999, 1, 0, 0, 0, 999, 1000, 1, 0, 0, 0, 1000, 1257, 3, 16, 8, 0, 1001, 1002, 5, 254, 0, 0, 1002, 1003, 5, 54, 0, 0, 1003, 1004, 5, 261, 0, 0, 1004, 1257, 3, 278, 139, 0, 1005, 1006, 5, 254, 0, 0, 1006, 1007, 5, 54, 0, 0, 1007, 1008, 5, 244, 0, 0, 1008, 1257, 3, 286, 143, 0, 1009, 1010, 5, 254, 0, 0, 1010, 1011, 5, 54, 0, 0, 1011, 1012, 5, 300, 0, 0, 1012, 1257, 3, 282, 141, 0, 1013, 1014, 5, 254, 0, 0, 1014, 1015, 5, 54, 0, 0, 1015, 1016, 5, 168, 0, 0, 1016, 1017, 5, 300, 0, 0, 1017, 1257, 3, 282, 141, 0, 1018, 1019, 5, 254, 0, 0, 1019, 1020, 5, 54, 0, 0, 1020, 1021, 5, 108, 0, 0, 1021, 1257, 3, 294, 147, 0, 1022, 1023, 5, 254, 0, 0, 1023, 1026, 5, 262, 0, 0, 1024, 1025, 7, 2, 0, 0, 1025, 1027, 3, 286, 143, 0, 1026, 1024, 1, 0, 0, 0, 1026, 1027, 1, 0, 0, 0, 1027, 1034, 1, 0, 0, 0, 1028, 1029, 5, 155, 0, 0, 1029, 1032, 3, 190, 95, 0, 1030, 1031, 5, 91, 0, 0, 1031, 1033, 3, 190, 95, 0, 1032, 1030, 1, 0, 0, 0, 1032, 1033, 1, 0, 0, 0, 1033, 1035, 1, 0, 0, 0, 1034, 1028, 1, 0, 0, 0, 1034, 1035, 1, 0, 0, 0, 1035, 1257, 1, 0, 0, 0, 1036, 1037, 5, 254, 0, 0, 1037, 1040, 5, 245, 0, 0, 1038, 1039, 7, 2, 0, 0, 1039, 1041, 3, 290, 145, 0, 1040, 1038, 1, 0, 0, 0, 1040, 1041, 1, 0, 0, 0, 1041, 1048, 1, 0, 0, 0, 1042, 1043, 5, 155, 0, 0, 1043, 1046, 3, 190, 95, 0, 1044, 1045, 5, 91, 0, 0, 1045, 1047, 3, 190, 95, 0, 1046, 1044, 1, 0, 0, 0, 1046, 1047, 1, 0, 0, 0, 1047, 1049, 1, 0, 0, 0, 1048, 1042, 1, 0, 0, 0, 1048, 1049, 1, 0, 0, 0, 1049, 1257, 1, 0, 0, 0, 1050, 1051, 5, 254, 0, 0, 1051, 1058, 5, 43, 0, 0, 1052, 1053, 5, 155, 0, 0, 1053, 1056, 3, 190, 95, 0, 1054, 1055, 5, 91, 0, 0, 1055, 1057, 3, 190, 95, 0, 1056, 1054, 1, 0, 0, 0, 1056, 1057, 1, 0, 0, 0, 1057, 1059, 1, 0, 0, 0, 1058, 1052, 1, 0, 0, 0, 1058, 1059, 1, 0, 0, 0, 1059, 1257, 1, 0, 0, 0, 1060, 1061, 5, 254, 0, 0, 1061, 1062, 5, 46, 0, 0, 1062, 1063, 7, 2, 0, 0, 1063, 1070, 3, 276, 138, 0, 1064, 1065, 5, 155, 0, 0, 1065, 1068, 3, 190, 95, 0, 1066, 1067, 5, 91, 0, 0, 1067, 1069, 3, 190, 95, 0, 1068, 1066, 1, 0, 0, 0, 1068, 1069, 1, 0, 0, 0, 1069, 1071, 1, 0, 0, 0, 1070, 1064, 1, 0, 0, 0, 1070, 1071, 1, 0, 0, 0, 1071, 1257, 1, 0, 0, 0, 1072, 1073, 5, 254, 0, 0, 1073, 1074, 5, 257, 0, 0, 1074, 1075, 5, 104, 0, 0, 1075, 1257, 3, 276, 138, 0, 1076, 1077, 5, 254, 0, 0, 1077, 1078, 5, 257, 0, 0, 1078, 1079, 5, 104, 0, 0, 1079, 1080, 5, 1, 0, 0, 1080, 1081, 3, 18, 9, 0, 1081, 1082, 5, 2, 0, 0, 1082, 1257, 1, 0, 0, 0, 1083, 1085, 5, 254, 0, 0, 1084, 1086, 5, 57, 0, 0, 1085, 1084, 1, 0, 0, 0, 1085, 1086, 1, 0, 0, 0, 1086, 1087, 1, 0, 0, 0, 1087, 1090, 5, 237, 0, 0, 1088, 1089, 7, 2, 0, 0, 1089, 1091, 3, 290, 145, 0, 1090, 1088, 1, 0, 0, 0, 1090, 1091, 1, 0, 0, 0, 1091, 1257, 1, 0, 0, 0, 1092, 1093, 5, 254, 0, 0, 1093, 1094, 5, 236, 0, 0, 1094, 1097, 5, 113, 0, 0, 1095, 1096, 7, 2, 0, 0, 1096, 1098, 3, 290, 145, 0, 1097, 1095, 1, 0, 0, 0, 1097, 1098, 1, 0, 0, 0, 1098, 1257, 1, 0, 0, 0, 1099, 1100, 5, 77, 0, 0, 1100, 1257, 3, 276, 138, 0, 1101, 1102, 5, 76, 0, 0, 1102, 1257, 3, 276, 138, 0, 1103, 1104, 5, 254, 0, 0, 1104, 1107, 5, 109, 0, 0, 1105, 1106, 7, 2, 0, 0, 1106, 1108, 3, 286, 143, 0, 1107, 1105, 1, 0, 0, 0, 1107, 1108, 1, 0, 0, 0, 1108, 1115, 1, 0, 0, 0, 1109, 1110, 5, 155, 0, 0, 1110, 1113, 3, 190, 95, 0, 1111, 1112, 5, 91, 0, 0, 1112, 1114, 3, 190, 95, 0, 1113, 1111, 1, 0, 0, 0, 1113, 1114, 1, 0, 0, 0, 1114, 1116, 1, 0, 0, 0, 1115, 1109, 1, 0, 0, 0, 1115, 1116, 1, 0, 0, 0, 1116, 1257, 1, 0, 0, 0, 1117, 1118, 5, 254, 0, 0, 1118, 1125, 5, 251, 0, 0, 1119, 1120, 5, 155, 0, 0, 1120, 1123, 3, 190, 95, 0, 1121, 1122, 5, 91, 0, 0, 1122, 1124, 3, 190, 95, 0, 1123, 1121, 1, 0, 0, 0, 1123, 1124, 1, 0, 0, 0, 1124, 1126, 1, 0, 0, 0, 1125, 1119, 1, 0, 0, 0, 1125, 1126, 1, 0, 0, 0, 1126, 1257, 1, 0, 0, 0, 1127, 1128, 5, 252, 0, 0, 1128, 1129, 5, 251, 0, 0, 1129, 1130, 5, 31, 0, 0, 1130, 1257, 3, 324, 162, 0, 1131, 1132, 5, 228, 0, 0, 1132, 1133, 5, 251, 0, 0, 1133, 1257, 5, 31, 0, 0, 1134, 1135, 5, 252, 0, 0, 1135, 1136, 5, 251, 0, 0, 1136, 1137, 3, 306, 153, 0, 1137, 1138, 5, 313, 0, 0, 1138, 1139, 3, 158, 79, 0, 1139, 1257, 1, 0, 0, 0, 1140, 1141, 5, 228, 0, 0, 1141, 1142, 5, 251, 0, 0, 1142, 1257, 3, 306, 153, 0, 1143, 1144, 5, 256, 0, 0, 1144, 1153, 5, 272, 0, 0, 1145, 1150, 3, 236, 118, 0, 1146, 1147, 5, 3, 0, 0, 1147, 1149, 3, 236, 118, 0, 1148, 1146, 1, 0, 0, 0, 1149, 1152, 1, 0, 0, 0, 1150, 1148, 1, 0, 0, 0, 1150, 1151, 1, 0, 0, 0, 1151, 1154, 1, 0, 0, 0, 1152, 1150, 1, 0, 0, 0, 1153, 1145, 1, 0, 0, 0, 1153, 1154, 1, 0, 0, 0, 1154, 1257, 1, 0, 0, 0, 1155, 1157, 5, 48, 0, 0, 1156, 1158, 5, 308, 0, 0, 1157, 1156, 1, 0, 0, 0, 1157, 1158, 1, 0, 0, 0, 1158, 1257, 1, 0, 0, 0, 1159, 1161, 5, 238, 0, 0, 1160, 1162, 5, 308, 0, 0, 1161, 1160, 1, 0, 0, 0, 1161, 1162, 1, 0, 0, 0, 1162, 1257, 1, 0, 0, 0, 1163, 1164, 5, 215, 0, 0, 1164, 1165, 3, 320, 160, 0, 1165, 1166, 5, 106, 0, 0, 1166, 1167, 3, 16, 8, 0, 1167, 1257, 1, 0, 0, 0, 1168, 1169, 5, 69, 0, 0, 1169, 1170, 5, 215, 0, 0, 1170, 1257, 3, 320, 160, 0, 1171, 1172, 5, 94, 0, 0, 1172, 1182, 3, 320, 160, 0, 1173, 1174, 5, 291, 0, 0, 1174, 1179, 3, 158, 79, 0, 1175, 1176, 5, 3, 0, 0, 1176, 1178, 3, 158, 79, 0, 1177, 1175, 1, 0, 0, 0, 1178, 1181, 1, 0, 0, 0, 1179, 1177, 1, 0, 0, 0, 1179, 1180, 1, 0, 0, 0, 1180, 1183, 1, 0, 0, 0, 1181, 1179, 1, 0, 0, 0, 1182, 1173, 1, 0, 0, 0, 1182, 1183, 1, 0, 0, 0, 1183, 1257, 1, 0, 0, 0, 1184, 1185, 5, 94, 0, 0, 1185, 1186, 5, 122, 0, 0, 1186, 1196, 3, 190, 95, 0, 1187, 1188, 5, 291, 0, 0, 1188, 1193, 3, 158, 79, 0, 1189, 1190, 5, 3, 0, 0, 1190, 1192, 3, 158, 79, 0, 1191, 1189, 1, 0, 0, 0, 1192, 1195, 1, 0, 0, 0, 1193, 1191, 1, 0, 0, 0, 1193, 1194, 1, 0, 0, 0, 1194, 1197, 1, 0, 0, 0, 1195, 1193, 1, 0, 0, 0, 1196, 1187, 1, 0, 0, 0, 1196, 1197, 1, 0, 0, 0, 1197, 1257, 1, 0, 0, 0, 1198, 1199, 5, 77, 0, 0, 1199, 1200, 5, 127, 0, 0, 1200, 1257, 3, 320, 160, 0, 1201, 1202, 5, 77, 0, 0, 1202, 1203, 5, 199, 0, 0, 1203, 1257, 3, 320, 160, 0, 1204, 1205, 5, 252, 0, 0, 1205, 1206, 5, 206, 0, 0, 1206, 1257, 3, 244, 122, 0, 1207, 1208, 5, 252, 0, 0, 1208, 1209, 5, 268, 0, 0, 1209, 1212, 5, 312, 0, 0, 1210, 1213, 5, 158, 0, 0, 1211, 1213, 3, 158, 79, 0, 1212, 1210, 1, 0, 0, 0, 1212, 1211, 1, 0, 0, 0, 1213, 1257, 1, 0, 0, 0, 1214, 1215, 5, 288, 0, 0, 1215, 1216, 3, 278, 139, 0, 1216, 1217, 5, 252, 0, 0, 1217, 1222, 3, 232, 116, 0, 1218, 1219, 5, 3, 0, 0, 1219, 1221, 3, 232, 116, 0, 1220, 1218, 1, 0, 0, 0, 1221, 1224, 1, 0, 0, 0, 1222, 1220, 1, 0, 0, 0, 1222, 1223, 1, 0, 0, 0, 1223, 1226, 1, 0, 0, 0, 1224, 1222, 1, 0, 0, 0, 1225, 1227, 3, 54, 27, 0, 1226, 1225, 1, 0, 0, 0, 1226, 1227, 1, 0, 0, 0, 1227, 1257, 1, 0, 0, 0, 1228, 1229, 5, 170, 0, 0, 1229, 1230, 5, 131, 0, 0, 1230, 1235, 3, 278, 139, 0, 1231, 1233, 5, 28, 0, 0, 1232, 1231, 1, 0, 0, 0, 1232, 1233, 1, 0, 0, 0, 1233, 1234, 1, 0, 0, 0, 1234, 1236, 3, 320, 160, 0, 1235, 1232, 1, 0, 0, 0, 1235, 1236, 1, 0, 0, 0, 1236, 1237, 1, 0, 0, 0, 1237, 1238, 5, 291, 0, 0, 1238, 1239, 3, 88, 44, 0, 1239, 1240, 5, 191, 0, 0, 1240, 1242, 3, 158, 79, 0, 1241, 1243, 3, 216, 108, 0, 1242, 1241, 1, 0, 0, 0, 1243, 1244, 1, 0, 0, 0, 1244, 1242, 1, 0, 0, 0, 1244, 1245, 1, 0, 0, 0, 1245, 1257, 1, 0, 0, 0, 1246, 1247, 5, 254, 0, 0, 1247, 1248, 5, 47, 0, 0, 1248, 1249, 5, 191, 0, 0, 1249, 1250, 5, 261, 0, 0, 1250, 1257, 3, 278, 139, 0, 1251, 1252, 5, 254, 0, 0, 1252, 1253, 5, 47, 0, 0, 1253, 1254, 5, 191, 0, 0, 1254, 1255, 5, 45, 0, 0, 1255, 1257, 3, 298, 149, 0, 1256, 361, 1, 0, 0, 0, 1256, 362, 1, 0, 0, 0, 1256, 364, 1, 0, 0, 0, 1256, 386, 1, 0, 0, 0, 1256, 396, 1, 0, 0, 0, 1256, 412, 1, 0, 0, 0, 1256, 422, 1, 0, 0, 0, 1256, 429, 1, 0, 0, 0, 1256, 436, 1, 0, 0, 0, 1256, 474, 1, 0, 0, 0, 1256, 504, 1, 0, 0, 0, 1256, 511, 1, 0, 0, 0, 1256, 519, 1, 0, 0, 0, 1256, 525, 1, 0, 0, 0, 1256, 528, 1, 0, 0, 0, 1256, 537, 1, 0, 0, 0, 1256, 546, 1, 0, 0, 0, 1256, 555, 1, 0, 0, 0, 1256, 566, 1, 0, 0, 0, 1256, 582, 1, 0, 0, 0, 1256, 599, 1, 0, 0, 0, 1256, 614, 1, 0, 0, 0, 1256, 629, 1, 0, 0, 0, 1256, 643, 1, 0, 0, 0, 1256, 650, 1, 0, 0, 0, 1256, 657, 1, 0, 0, 0, 1256, 679, 1, 0, 0, 0, 1256, 685, 1, 0, 0, 0, 1256, 714, 1, 0, 0, 0, 1256, 736, 1, 0, 0, 0, 1256, 740, 1, 0, 0, 0, 1256, 748, 1, 0, 0, 0, 1256, 760, 1, 0, 0, 0, 1256, 768, 1, 0, 0, 0, 1256, 775, 1, 0, 0, 0, 1256, 782, 1, 0, 0, 0, 1256, 789, 1, 0, 0, 0, 1256, 804, 1, 0, 0, 0, 1256, 810, 1, 0, 0, 0, 1256, 817, 1, 0, 0, 0, 1256, 829, 1, 0, 0, 0, 1256, 836, 1, 0, 0, 0, 1256, 868, 1, 0, 0, 0, 1256, 890, 1, 0, 0, 0, 1256, 922, 1, 0, 0, 0, 1256, 945, 1, 0, 0, 0, 1256, 963, 1, 0, 0, 0, 1256, 974, 1, 0, 0, 0, 1256, 980, 1, 0, 0, 0, 1256, 995, 1, 0, 0, 0, 1256, 1001, 1, 0, 0, 0, 1256, 1005, 1, 0, 0, 0, 1256, 1009, 1, 0, 0, 0, 1256, 1013, 1, 0, 0, 0, 1256, 1018, 1, 0, 0, 0, 1256, 1022, 1, 0, 0, 0, 1256, 1036, 1, 0, 0, 0, 1256, 1050, 1, 0, 0, 0, 1256, 1060, 1, 0, 0, 0, 1256, 1072, 1, 0, 0, 0, 1256, 1076, 1, 0, 0, 0, 1256, 1083, 1, 0, 0, 0, 1256, 1092, 1, 0, 0, 0, 1256, 1099, 1, 0, 0, 0, 1256, 1101, 1, 0, 0, 0, 1256, 1103, 1, 0, 0, 0, 1256, 1117, 1, 0, 0, 0, 1256, 1127, 1, 0, 0, 0, 1256, 1131, 1, 0, 0, 0, 1256, 1134, 1, 0, 0, 0, 1256, 1140, 1, 0, 0, 0, 1256, 1143, 1, 0, 0, 0, 1256, 1155, 1, 0, 0, 0, 1256, 1159, 1, 0, 0, 0, 1256, 1163, 1, 0, 0, 0, 1256, 1168, 1, 0, 0, 0, 1256, 1171, 1, 0, 0, 0, 1256, 1184, 1, 0, 0, 0, 1256, 1198, 1, 0, 0, 0, 1256, 1201, 1, 0, 0, 0, 1256, 1204, 1, 0, 0, 0, 1256, 1207, 1, 0, 0, 0, 1256, 1214, 1, 0, 0, 0, 1256, 1228, 1, 0, 0, 0, 1256, 1246, 1, 0, 0, 0, 1256, 1251, 1, 0, 0, 0, 1257, 17, 1, 0, 0, 0, 1258, 1260, 3, 20, 10, 0, 1259, 1258, 1, 0, 0, 0, 1259, 1260, 1, 0, 0, 0, 1260, 1261, 1, 0, 0, 0, 1261, 1262, 3, 22, 11, 0, 1262, 19, 1, 0, 0, 0, 1263, 1264, 5, 305, 0, 0, 1264, 1269, 3, 246, 123, 0, 1265, 1266, 5, 3, 0, 0, 1266, 1268, 3, 246, 123, 0, 1267, 1265, 1, 0, 0, 0, 1268, 1271, 1, 0, 0, 0, 1269, 1267, 1, 0, 0, 0, 1269, 1270, 1, 0, 0, 0, 1270, 21, 1, 0, 0, 0, 1271, 1269, 1, 0, 0, 0, 1272, 1274, 3, 24, 12, 0, 1273, 1272, 1, 0, 0, 0, 1273, 1274, 1, 0, 0, 0, 1274, 1275, 1, 0, 0, 0, 1275, 1276, 3, 40, 20, 0, 1276, 23, 1, 0, 0, 0, 1277, 1279, 5, 305, 0, 0, 1278, 1280, 5, 222, 0, 0, 1279, 1278, 1, 0, 0, 0, 1279, 1280, 1, 0, 0, 0, 1280, 1281, 1, 0, 0, 0, 1281, 1286, 3, 74, 37, 0, 1282, 1283, 5, 3, 0, 0, 1283, 1285, 3, 74, 37, 0, 1284, 1282, 1, 0, 0, 0, 1285, 1288, 1, 0, 0, 0, 1286, 1284, 1, 0, 0, 0, 1286, 1287, 1, 0, 0, 0, 1287, 25, 1, 0, 0, 0, 1288, 1286, 1, 0, 0, 0, 1289, 1292, 3, 28, 14, 0, 1290, 1292, 3, 30, 15, 0, 1291, 1289, 1, 0, 0, 0, 1291, 1290, 1, 0, 0, 0, 1292, 27, 1, 0, 0, 0, 1293, 1294, 3, 304, 152, 0, 1294, 1297, 3, 206, 103, 0, 1295, 1296, 5, 183, 0, 0, 1296, 1298, 5, 184, 0, 0, 1297, 1295, 1, 0, 0, 0, 1297, 1298, 1, 0, 0, 0, 1298, 1301, 1, 0, 0, 0, 1299, 1300, 5, 47, 0, 0, 1300, 1302, 3, 190, 95, 0, 1301, 1299, 1, 0, 0, 0, 1301, 1302, 1, 0, 0, 0, 1302, 1305, 1, 0, 0, 0, 1303, 1304, 5, 305, 0, 0, 1304, 1306, 3, 32, 16, 0, 1305, 1303, 1, 0, 0, 0, 1305, 1306, 1, 0, 0, 0, 1306, 29, 1, 0, 0, 0, 1307, 1308, 5, 155, 0, 0, 1308, 1311, 3, 278, 139, 0, 1309, 1310, 7, 3, 0, 0, 1310, 1312, 5, 217, 0, 0, 1311, 1309, 1, 0, 0, 0, 1311, 1312, 1, 0, 0, 0, 1312, 31, 1, 0, 0, 0, 1313, 1314, 5, 1, 0, 0, 1314, 1315, 3, 34, 17, 0, 1315, 1316, 5, 2, 0, 0, 1316, 33, 1, 0, 0, 0, 1317, 1322, 3, 36, 18, 0, 1318, 1319, 5, 3, 0, 0, 1319, 1321, 3, 36, 18, 0, 1320, 1318, 1, 0, 0, 0, 1321, 1324, 1, 0, 0, 0, 1322, 1320, 1, 0, 0, 0, 1322, 1323, 1, 0, 0, 0, 1323, 35, 1, 0, 0, 0, 1324, 1322, 1, 0, 0, 0, 1325, 1326, 3, 320, 160, 0, 1326, 1327, 5, 313, 0, 0, 1327, 1328, 3, 38, 19, 0, 1328, 37, 1, 0, 0, 0, 1329, 1332, 5, 71, 0, 0, 1330, 1332, 3, 158, 79, 0, 1331, 1329, 1, 0, 0, 0, 1331, 1330, 1, 0, 0, 0, 1332, 39, 1, 0, 0, 0, 1333, 1344, 3, 46, 23, 0, 1334, 1335, 5, 196, 0, 0, 1335, 1336, 5, 36, 0, 0, 1336, 1341, 3, 50, 25, 0, 1337, 1338, 5, 3, 0, 0, 1338, 1340, 3, 50, 25, 0, 1339, 1337, 1, 0, 0, 0, 1340, 1343, 1, 0, 0, 0, 1341, 1339, 1, 0, 0, 0, 1341, 1342, 1, 0, 0, 0, 1342, 1345, 1, 0, 0, 0, 1343, 1341, 1, 0, 0, 0, 1344, 1334, 1, 0, 0, 0, 1344, 1345, 1, 0, 0, 0, 1345, 1351, 1, 0, 0, 0, 1346, 1347, 5, 189, 0, 0, 1347, 1349, 3, 44, 22, 0, 1348, 1350, 7, 4, 0, 0, 1349, 1348, 1, 0, 0, 0, 1349, 1350, 1, 0, 0, 0, 1350, 1352, 1, 0, 0, 0, 1351, 1346, 1, 0, 0, 0, 1351, 1352, 1, 0, 0, 0, 1352, 1366, 1, 0, 0, 0, 1353, 1354, 5, 156, 0, 0, 1354, 1367, 3, 42, 21, 0, 1355, 1356, 5, 99, 0, 0, 1356, 1358, 7, 5, 0, 0, 1357, 1359, 3, 44, 22, 0, 1358, 1357, 1, 0, 0, 0, 1358, 1359, 1, 0, 0, 0, 1359, 1360, 1, 0, 0, 0, 1360, 1364, 7, 4, 0, 0, 1361, 1365, 5, 193, 0, 0, 1362, 1363, 5, 305, 0, 0, 1363, 1365, 5, 267, 0, 0, 1364, 1361, 1, 0, 0, 0, 1364, 1362, 1, 0, 0, 0, 1365, 1367, 1, 0, 0, 0, 1366, 1353, 1, 0, 0, 0, 1366, 1355, 1, 0, 0, 0, 1366, 1367, 1, 0, 0, 0, 1367, 41, 1, 0, 0, 0, 1368, 1371, 5, 22, 0, 0, 1369, 1371, 3, 44, 22, 0, 1370, 1368, 1, 0, 0, 0, 1370, 1369, 1, 0, 0, 0, 1371, 43, 1, 0, 0, 0, 1372, 1373, 7, 6, 0, 0, 1373, 45, 1, 0, 0, 0, 1374, 1375, 6, 23, -1, 0, 1375, 1376, 3, 48, 24, 0, 1376, 1391, 1, 0, 0, 0, 1377, 1378, 10, 2, 0, 0, 1378, 1380, 5, 129, 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, 1390, 3, 46, 23, 3, 1383, 1384, 10, 1, 0, 0, 1384, 1386, 7, 7, 0, 0, 1385, 1387, 3, 76, 38, 0, 1386, 1385, 1, 0, 0, 0, 1386, 1387, 1, 0, 0, 0, 1387, 1388, 1, 0, 0, 0, 1388, 1390, 3, 46, 23, 2, 1389, 1377, 1, 0, 0, 0, 1389, 1383, 1, 0, 0, 0, 1390, 1393, 1, 0, 0, 0, 1391, 1389, 1, 0, 0, 0, 1391, 1392, 1, 0, 0, 0, 1392, 47, 1, 0, 0, 0, 1393, 1391, 1, 0, 0, 0, 1394, 1411, 3, 52, 26, 0, 1395, 1396, 5, 261, 0, 0, 1396, 1411, 3, 278, 139, 0, 1397, 1398, 5, 297, 0, 0, 1398, 1403, 3, 158, 79, 0, 1399, 1400, 5, 3, 0, 0, 1400, 1402, 3, 158, 79, 0, 1401, 1399, 1, 0, 0, 0, 1402, 1405, 1, 0, 0, 0, 1403, 1401, 1, 0, 0, 0, 1403, 1404, 1, 0, 0, 0, 1404, 1411, 1, 0, 0, 0, 1405, 1403, 1, 0, 0, 0, 1406, 1407, 5, 1, 0, 0, 1407, 1408, 3, 40, 20, 0, 1408, 1409, 5, 2, 0, 0, 1409, 1411, 1, 0, 0, 0, 1410, 1394, 1, 0, 0, 0, 1410, 1395, 1, 0, 0, 0, 1410, 1397, 1, 0, 0, 0, 1410, 1406, 1, 0, 0, 0, 1411, 49, 1, 0, 0, 0, 1412, 1415, 3, 298, 149, 0, 1413, 1415, 3, 158, 79, 0, 1414, 1412, 1, 0, 0, 0, 1414, 1413, 1, 0, 0, 0, 1415, 1417, 1, 0, 0, 0, 1416, 1418, 7, 8, 0, 0, 1417, 1416, 1, 0, 0, 0, 1417, 1418, 1, 0, 0, 0, 1418, 1421, 1, 0, 0, 0, 1419, 1420, 5, 186, 0, 0, 1420, 1422, 7, 9, 0, 0, 1421, 1419, 1, 0, 0, 0, 1421, 1422, 1, 0, 0, 0, 1422, 51, 1, 0, 0, 0, 1423, 1425, 5, 249, 0, 0, 1424, 1426, 3, 76, 38, 0, 1425, 1424, 1, 0, 0, 0, 1425, 1426, 1, 0, 0, 0, 1426, 1427, 1, 0, 0, 0, 1427, 1437, 3, 58, 29, 0, 1428, 1429, 5, 106, 0, 0, 1429, 1434, 3, 88, 44, 0, 1430, 1431, 5, 3, 0, 0, 1431, 1433, 3, 88, 44, 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, 1438, 1, 0, 0, 0, 1436, 1434, 1, 0, 0, 0, 1437, 1428, 1, 0, 0, 0, 1437, 1438, 1, 0, 0, 0, 1438, 1440, 1, 0, 0, 0, 1439, 1441, 3, 54, 27, 0, 1440, 1439, 1, 0, 0, 0, 1440, 1441, 1, 0, 0, 0, 1441, 1445, 1, 0, 0, 0, 1442, 1443, 5, 115, 0, 0, 1443, 1444, 5, 36, 0, 0, 1444, 1446, 3, 60, 30, 0, 1445, 1442, 1, 0, 0, 0, 1445, 1446, 1, 0, 0, 0, 1446, 1448, 1, 0, 0, 0, 1447, 1449, 3, 56, 28, 0, 1448, 1447, 1, 0, 0, 0, 1448, 1449, 1, 0, 0, 0, 1449, 1459, 1, 0, 0, 0, 1450, 1451, 5, 304, 0, 0, 1451, 1456, 3, 70, 35, 0, 1452, 1453, 5, 3, 0, 0, 1453, 1455, 3, 70, 35, 0, 1454, 1452, 1, 0, 0, 0, 1455, 1458, 1, 0, 0, 0, 1456, 1454, 1, 0, 0, 0, 1456, 1457, 1, 0, 0, 0, 1457, 1460, 1, 0, 0, 0, 1458, 1456, 1, 0, 0, 0, 1459, 1450, 1, 0, 0, 0, 1459, 1460, 1, 0, 0, 0, 1460, 53, 1, 0, 0, 0, 1461, 1462, 5, 302, 0, 0, 1462, 1463, 3, 160, 80, 0, 1463, 55, 1, 0, 0, 0, 1464, 1465, 5, 118, 0, 0, 1465, 1466, 3, 160, 80, 0, 1466, 57, 1, 0, 0, 0, 1467, 1472, 3, 78, 39, 0, 1468, 1469, 5, 3, 0, 0, 1469, 1471, 3, 78, 39, 0, 1470, 1468, 1, 0, 0, 0, 1471, 1474, 1, 0, 0, 0, 1472, 1470, 1, 0, 0, 0, 1472, 1473, 1, 0, 0, 0, 1473, 59, 1, 0, 0, 0, 1474, 1472, 1, 0, 0, 0, 1475, 1477, 3, 76, 38, 0, 1476, 1475, 1, 0, 0, 0, 1476, 1477, 1, 0, 0, 0, 1477, 1478, 1, 0, 0, 0, 1478, 1483, 3, 64, 32, 0, 1479, 1480, 5, 3, 0, 0, 1480, 1482, 3, 64, 32, 0, 1481, 1479, 1, 0, 0, 0, 1482, 1485, 1, 0, 0, 0, 1483, 1481, 1, 0, 0, 0, 1483, 1484, 1, 0, 0, 0, 1484, 61, 1, 0, 0, 0, 1485, 1483, 1, 0, 0, 0, 1486, 1491, 3, 158, 79, 0, 1487, 1488, 5, 3, 0, 0, 1488, 1490, 3, 158, 79, 0, 1489, 1487, 1, 0, 0, 0, 1490, 1493, 1, 0, 0, 0, 1491, 1489, 1, 0, 0, 0, 1491, 1492, 1, 0, 0, 0, 1492, 63, 1, 0, 0, 0, 1493, 1491, 1, 0, 0, 0, 1494, 1535, 3, 66, 33, 0, 1495, 1496, 5, 239, 0, 0, 1496, 1505, 5, 1, 0, 0, 1497, 1502, 3, 66, 33, 0, 1498, 1499, 5, 3, 0, 0, 1499, 1501, 3, 66, 33, 0, 1500, 1498, 1, 0, 0, 0, 1501, 1504, 1, 0, 0, 0, 1502, 1500, 1, 0, 0, 0, 1502, 1503, 1, 0, 0, 0, 1503, 1506, 1, 0, 0, 0, 1504, 1502, 1, 0, 0, 0, 1505, 1497, 1, 0, 0, 0, 1505, 1506, 1, 0, 0, 0, 1506, 1507, 1, 0, 0, 0, 1507, 1535, 5, 2, 0, 0, 1508, 1509, 5, 56, 0, 0, 1509, 1518, 5, 1, 0, 0, 1510, 1515, 3, 66, 33, 0, 1511, 1512, 5, 3, 0, 0, 1512, 1514, 3, 66, 33, 0, 1513, 1511, 1, 0, 0, 0, 1514, 1517, 1, 0, 0, 0, 1515, 1513, 1, 0, 0, 0, 1515, 1516, 1, 0, 0, 0, 1516, 1519, 1, 0, 0, 0, 1517, 1515, 1, 0, 0, 0, 1518, 1510, 1, 0, 0, 0, 1518, 1519, 1, 0, 0, 0, 1519, 1520, 1, 0, 0, 0, 1520, 1535, 5, 2, 0, 0, 1521, 1522, 5, 116, 0, 0, 1522, 1523, 5, 253, 0, 0, 1523, 1524, 5, 1, 0, 0, 1524, 1529, 3, 66, 33, 0, 1525, 1526, 5, 3, 0, 0, 1526, 1528, 3, 66, 33, 0, 1527, 1525, 1, 0, 0, 0, 1528, 1531, 1, 0, 0, 0, 1529, 1527, 1, 0, 0, 0, 1529, 1530, 1, 0, 0, 0, 1530, 1532, 1, 0, 0, 0, 1531, 1529, 1, 0, 0, 0, 1532, 1533, 5, 2, 0, 0, 1533, 1535, 1, 0, 0, 0, 1534, 1494, 1, 0, 0, 0, 1534, 1495, 1, 0, 0, 0, 1534, 1508, 1, 0, 0, 0, 1534, 1521, 1, 0, 0, 0, 1535, 65, 1, 0, 0, 0, 1536, 1545, 5, 1, 0, 0, 1537, 1542, 3, 68, 34, 0, 1538, 1539, 5, 3, 0, 0, 1539, 1541, 3, 68, 34, 0, 1540, 1538, 1, 0, 0, 0, 1541, 1544, 1, 0, 0, 0, 1542, 1540, 1, 0, 0, 0, 1542, 1543, 1, 0, 0, 0, 1543, 1546, 1, 0, 0, 0, 1544, 1542, 1, 0, 0, 0, 1545, 1537, 1, 0, 0, 0, 1545, 1546, 1, 0, 0, 0, 1546, 1547, 1, 0, 0, 0, 1547, 1550, 5, 2, 0, 0, 1548, 1550, 3, 68, 34, 0, 1549, 1536, 1, 0, 0, 0, 1549, 1548, 1, 0, 0, 0, 1550, 67, 1, 0, 0, 0, 1551, 1554, 3, 298, 149, 0, 1552, 1554, 3, 158, 79, 0, 1553, 1551, 1, 0, 0, 0, 1553, 1552, 1, 0, 0, 0, 1554, 69, 1, 0, 0, 0, 1555, 1556, 3, 320, 160, 0, 1556, 1557, 5, 28, 0, 0, 1557, 1558, 5, 1, 0, 0, 1558, 1559, 3, 72, 36, 0, 1559, 1560, 5, 2, 0, 0, 1560, 71, 1, 0, 0, 0, 1561, 1563, 3, 320, 160, 0, 1562, 1561, 1, 0, 0, 0, 1562, 1563, 1, 0, 0, 0, 1563, 1567, 1, 0, 0, 0, 1564, 1565, 5, 202, 0, 0, 1565, 1566, 5, 36, 0, 0, 1566, 1568, 3, 62, 31, 0, 1567, 1564, 1, 0, 0, 0, 1567, 1568, 1, 0, 0, 0, 1568, 1579, 1, 0, 0, 0, 1569, 1570, 5, 196, 0, 0, 1570, 1571, 5, 36, 0, 0, 1571, 1576, 3, 50, 25, 0, 1572, 1573, 5, 3, 0, 0, 1573, 1575, 3, 50, 25, 0, 1574, 1572, 1, 0, 0, 0, 1575, 1578, 1, 0, 0, 0, 1576, 1574, 1, 0, 0, 0, 1576, 1577, 1, 0, 0, 0, 1577, 1580, 1, 0, 0, 0, 1578, 1576, 1, 0, 0, 0, 1579, 1569, 1, 0, 0, 0, 1579, 1580, 1, 0, 0, 0, 1580, 1582, 1, 0, 0, 0, 1581, 1583, 3, 220, 110, 0, 1582, 1581, 1, 0, 0, 0, 1582, 1583, 1, 0, 0, 0, 1583, 73, 1, 0, 0, 0, 1584, 1586, 3, 320, 160, 0, 1585, 1587, 3, 128, 64, 0, 1586, 1585, 1, 0, 0, 0, 1586, 1587, 1, 0, 0, 0, 1587, 1588, 1, 0, 0, 0, 1588, 1589, 5, 28, 0, 0, 1589, 1590, 5, 1, 0, 0, 1590, 1591, 3, 22, 11, 0, 1591, 1592, 5, 2, 0, 0, 1592, 75, 1, 0, 0, 0, 1593, 1594, 7, 10, 0, 0, 1594, 77, 1, 0, 0, 0, 1595, 1598, 3, 84, 42, 0, 1596, 1598, 3, 86, 43, 0, 1597, 1595, 1, 0, 0, 0, 1597, 1596, 1, 0, 0, 0, 1598, 1603, 1, 0, 0, 0, 1599, 1601, 5, 28, 0, 0, 1600, 1599, 1, 0, 0, 0, 1600, 1601, 1, 0, 0, 0, 1601, 1602, 1, 0, 0, 0, 1602, 1604, 3, 320, 160, 0, 1603, 1600, 1, 0, 0, 0, 1603, 1604, 1, 0, 0, 0, 1604, 1612, 1, 0, 0, 0, 1605, 1608, 3, 82, 41, 0, 1606, 1607, 5, 28, 0, 0, 1607, 1609, 3, 128, 64, 0, 1608, 1606, 1, 0, 0, 0, 1608, 1609, 1, 0, 0, 0, 1609, 1612, 1, 0, 0, 0, 1610, 1612, 3, 80, 40, 0, 1611, 1597, 1, 0, 0, 0, 1611, 1605, 1, 0, 0, 0, 1611, 1610, 1, 0, 0, 0, 1612, 79, 1, 0, 0, 0, 1613, 1614, 5, 321, 0, 0, 1614, 81, 1, 0, 0, 0, 1615, 1616, 3, 166, 83, 0, 1616, 1617, 5, 4, 0, 0, 1617, 1618, 5, 321, 0, 0, 1618, 83, 1, 0, 0, 0, 1619, 1620, 3, 298, 149, 0, 1620, 85, 1, 0, 0, 0, 1621, 1622, 3, 158, 79, 0, 1622, 87, 1, 0, 0, 0, 1623, 1624, 6, 44, -1, 0, 1624, 1625, 3, 98, 49, 0, 1625, 1644, 1, 0, 0, 0, 1626, 1640, 10, 2, 0, 0, 1627, 1628, 5, 55, 0, 0, 1628, 1629, 5, 137, 0, 0, 1629, 1641, 3, 98, 49, 0, 1630, 1631, 3, 90, 45, 0, 1631, 1632, 5, 137, 0, 0, 1632, 1633, 3, 88, 44, 0, 1633, 1634, 3, 92, 46, 0, 1634, 1641, 1, 0, 0, 0, 1635, 1636, 5, 173, 0, 0, 1636, 1637, 3, 90, 45, 0, 1637, 1638, 5, 137, 0, 0, 1638, 1639, 3, 98, 49, 0, 1639, 1641, 1, 0, 0, 0, 1640, 1627, 1, 0, 0, 0, 1640, 1630, 1, 0, 0, 0, 1640, 1635, 1, 0, 0, 0, 1641, 1643, 1, 0, 0, 0, 1642, 1626, 1, 0, 0, 0, 1643, 1646, 1, 0, 0, 0, 1644, 1642, 1, 0, 0, 0, 1644, 1645, 1, 0, 0, 0, 1645, 89, 1, 0, 0, 0, 1646, 1644, 1, 0, 0, 0, 1647, 1649, 5, 126, 0, 0, 1648, 1647, 1, 0, 0, 0, 1648, 1649, 1, 0, 0, 0, 1649, 1663, 1, 0, 0, 0, 1650, 1652, 5, 153, 0, 0, 1651, 1653, 5, 198, 0, 0, 1652, 1651, 1, 0, 0, 0, 1652, 1653, 1, 0, 0, 0, 1653, 1663, 1, 0, 0, 0, 1654, 1656, 5, 235, 0, 0, 1655, 1657, 5, 198, 0, 0, 1656, 1655, 1, 0, 0, 0, 1656, 1657, 1, 0, 0, 0, 1657, 1663, 1, 0, 0, 0, 1658, 1660, 5, 107, 0, 0, 1659, 1661, 5, 198, 0, 0, 1660, 1659, 1, 0, 0, 0, 1660, 1661, 1, 0, 0, 0, 1661, 1663, 1, 0, 0, 0, 1662, 1648, 1, 0, 0, 0, 1662, 1650, 1, 0, 0, 0, 1662, 1654, 1, 0, 0, 0, 1662, 1658, 1, 0, 0, 0, 1663, 91, 1, 0, 0, 0, 1664, 1668, 5, 191, 0, 0, 1665, 1669, 3, 94, 47, 0, 1666, 1667, 4, 46, 3, 0, 1667, 1669, 3, 160, 80, 0, 1668, 1665, 1, 0, 0, 0, 1668, 1666, 1, 0, 0, 0, 1669, 1683, 1, 0, 0, 0, 1670, 1671, 5, 291, 0, 0, 1671, 1672, 5, 1, 0, 0, 1672, 1677, 3, 320, 160, 0, 1673, 1674, 5, 3, 0, 0, 1674, 1676, 3, 320, 160, 0, 1675, 1673, 1, 0, 0, 0, 1676, 1679, 1, 0, 0, 0, 1677, 1675, 1, 0, 0, 0, 1677, 1678, 1, 0, 0, 0, 1678, 1680, 1, 0, 0, 0, 1679, 1677, 1, 0, 0, 0, 1680, 1681, 5, 2, 0, 0, 1681, 1683, 1, 0, 0, 0, 1682, 1664, 1, 0, 0, 0, 1682, 1670, 1, 0, 0, 0, 1683, 93, 1, 0, 0, 0, 1684, 1685, 3, 96, 48, 0, 1685, 1686, 5, 313, 0, 0, 1686, 1687, 3, 96, 48, 0, 1687, 95, 1, 0, 0, 0, 1688, 1689, 3, 320, 160, 0, 1689, 1690, 5, 342, 0, 0, 1690, 1691, 4, 48, 4, 0, 1691, 1692, 3, 300, 150, 0, 1692, 1695, 1, 0, 0, 0, 1693, 1695, 3, 302, 151, 0, 1694, 1688, 1, 0, 0, 0, 1694, 1693, 1, 0, 0, 0, 1695, 97, 1, 0, 0, 0, 1696, 1703, 3, 108, 54, 0, 1697, 1698, 5, 263, 0, 0, 1698, 1699, 3, 100, 50, 0, 1699, 1700, 5, 1, 0, 0, 1700, 1701, 3, 158, 79, 0, 1701, 1702, 5, 2, 0, 0, 1702, 1704, 1, 0, 0, 0, 1703, 1697, 1, 0, 0, 0, 1703, 1704, 1, 0, 0, 0, 1704, 99, 1, 0, 0, 0, 1705, 1706, 7, 11, 0, 0, 1706, 101, 1, 0, 0, 0, 1707, 1708, 7, 12, 0, 0, 1708, 103, 1, 0, 0, 0, 1709, 1716, 5, 90, 0, 0, 1710, 1712, 5, 275, 0, 0, 1711, 1713, 3, 190, 95, 0, 1712, 1711, 1, 0, 0, 0, 1712, 1713, 1, 0, 0, 0, 1713, 1714, 1, 0, 0, 0, 1714, 1716, 3, 106, 53, 0, 1715, 1709, 1, 0, 0, 0, 1715, 1710, 1, 0, 0, 0, 1716, 105, 1, 0, 0, 0, 1717, 1718, 5, 305, 0, 0, 1718, 1722, 5, 52, 0, 0, 1719, 1720, 5, 307, 0, 0, 1720, 1722, 5, 52, 0, 0, 1721, 1717, 1, 0, 0, 0, 1721, 1719, 1, 0, 0, 0, 1722, 107, 1, 0, 0, 0, 1723, 1799, 3, 122, 61, 0, 1724, 1725, 5, 167, 0, 0, 1725, 1729, 5, 1, 0, 0, 1726, 1727, 5, 202, 0, 0, 1727, 1728, 5, 36, 0, 0, 1728, 1730, 3, 62, 31, 0, 1729, 1726, 1, 0, 0, 0, 1729, 1730, 1, 0, 0, 0, 1730, 1741, 1, 0, 0, 0, 1731, 1732, 5, 196, 0, 0, 1732, 1733, 5, 36, 0, 0, 1733, 1738, 3, 50, 25, 0, 1734, 1735, 5, 3, 0, 0, 1735, 1737, 3, 50, 25, 0, 1736, 1734, 1, 0, 0, 0, 1737, 1740, 1, 0, 0, 0, 1738, 1736, 1, 0, 0, 0, 1738, 1739, 1, 0, 0, 0, 1739, 1742, 1, 0, 0, 0, 1740, 1738, 1, 0, 0, 0, 1741, 1731, 1, 0, 0, 0, 1741, 1742, 1, 0, 0, 0, 1742, 1752, 1, 0, 0, 0, 1743, 1744, 5, 169, 0, 0, 1744, 1749, 3, 110, 55, 0, 1745, 1746, 5, 3, 0, 0, 1746, 1748, 3, 110, 55, 0, 1747, 1745, 1, 0, 0, 0, 1748, 1751, 1, 0, 0, 0, 1749, 1747, 1, 0, 0, 0, 1749, 1750, 1, 0, 0, 0, 1750, 1753, 1, 0, 0, 0, 1751, 1749, 1, 0, 0, 0, 1752, 1743, 1, 0, 0, 0, 1752, 1753, 1, 0, 0, 0, 1753, 1755, 1, 0, 0, 0, 1754, 1756, 3, 112, 56, 0, 1755, 1754, 1, 0, 0, 0, 1755, 1756, 1, 0, 0, 0, 1756, 1760, 1, 0, 0, 0, 1757, 1758, 5, 21, 0, 0, 1758, 1759, 5, 164, 0, 0, 1759, 1761, 3, 116, 58, 0, 1760, 1757, 1, 0, 0, 0, 1760, 1761, 1, 0, 0, 0, 1761, 1763, 1, 0, 0, 0, 1762, 1764, 7, 13, 0, 0, 1763, 1762, 1, 0, 0, 0, 1763, 1764, 1, 0, 0, 0, 1764, 1765, 1, 0, 0, 0, 1765, 1766, 5, 207, 0, 0, 1766, 1767, 5, 1, 0, 0, 1767, 1768, 3, 226, 113, 0, 1768, 1778, 5, 2, 0, 0, 1769, 1770, 5, 258, 0, 0, 1770, 1775, 3, 118, 59, 0, 1771, 1772, 5, 3, 0, 0, 1772, 1774, 3, 118, 59, 0, 1773, 1771, 1, 0, 0, 0, 1774, 1777, 1, 0, 0, 0, 1775, 1773, 1, 0, 0, 0, 1775, 1776, 1, 0, 0, 0, 1776, 1779, 1, 0, 0, 0, 1777, 1775, 1, 0, 0, 0, 1778, 1769, 1, 0, 0, 0, 1778, 1779, 1, 0, 0, 0, 1779, 1780, 1, 0, 0, 0, 1780, 1781, 5, 72, 0, 0, 1781, 1786, 3, 120, 60, 0, 1782, 1783, 5, 3, 0, 0, 1783, 1785, 3, 120, 60, 0, 1784, 1782, 1, 0, 0, 0, 1785, 1788, 1, 0, 0, 0, 1786, 1784, 1, 0, 0, 0, 1786, 1787, 1, 0, 0, 0, 1787, 1789, 1, 0, 0, 0, 1788, 1786, 1, 0, 0, 0, 1789, 1797, 5, 2, 0, 0, 1790, 1792, 5, 28, 0, 0, 1791, 1790, 1, 0, 0, 0, 1791, 1792, 1, 0, 0, 0, 1792, 1793, 1, 0, 0, 0, 1793, 1795, 3, 320, 160, 0, 1794, 1796, 3, 128, 64, 0, 1795, 1794, 1, 0, 0, 0, 1795, 1796, 1, 0, 0, 0, 1796, 1798, 1, 0, 0, 0, 1797, 1791, 1, 0, 0, 0, 1797, 1798, 1, 0, 0, 0, 1798, 1800, 1, 0, 0, 0, 1799, 1724, 1, 0, 0, 0, 1799, 1800, 1, 0, 0, 0, 1800, 109, 1, 0, 0, 0, 1801, 1802, 3, 158, 79, 0, 1802, 1803, 5, 28, 0, 0, 1803, 1804, 3, 320, 160, 0, 1804, 111, 1, 0, 0, 0, 1805, 1806, 5, 192, 0, 0, 1806, 1807, 5, 240, 0, 0, 1807, 1808, 5, 208, 0, 0, 1808, 1817, 5, 164, 0, 0, 1809, 1810, 5, 22, 0, 0, 1810, 1811, 5, 241, 0, 0, 1811, 1812, 5, 208, 0, 0, 1812, 1814, 5, 164, 0, 0, 1813, 1815, 3, 114, 57, 0, 1814, 1813, 1, 0, 0, 0, 1814, 1815, 1, 0, 0, 0, 1815, 1817, 1, 0, 0, 0, 1816, 1805, 1, 0, 0, 0, 1816, 1809, 1, 0, 0, 0, 1817, 113, 1, 0, 0, 0, 1818, 1819, 5, 254, 0, 0, 1819, 1820, 5, 86, 0, 0, 1820, 1828, 5, 166, 0, 0, 1821, 1822, 5, 190, 0, 0, 1822, 1823, 5, 86, 0, 0, 1823, 1828, 5, 166, 0, 0, 1824, 1825, 5, 305, 0, 0, 1825, 1826, 5, 285, 0, 0, 1826, 1828, 5, 241, 0, 0, 1827, 1818, 1, 0, 0, 0, 1827, 1821, 1, 0, 0, 0, 1827, 1824, 1, 0, 0, 0, 1828, 115, 1, 0, 0, 0, 1829, 1830, 5, 5, 0, 0, 1830, 1831, 5, 270, 0, 0, 1831, 1832, 5, 175, 0, 0, 1832, 1849, 5, 240, 0, 0, 1833, 1834, 5, 5, 0, 0, 1834, 1835, 5, 205, 0, 0, 1835, 1836, 5, 149, 0, 0, 1836, 1849, 5, 240, 0, 0, 1837, 1838, 5, 5, 0, 0, 1838, 1839, 5, 270, 0, 0, 1839, 1840, 5, 102, 0, 0, 1840, 1849, 3, 320, 160, 0, 1841, 1842, 5, 5, 0, 0, 1842, 1843, 5, 270, 0, 0, 1843, 1844, 5, 149, 0, 0, 1844, 1849, 3, 320, 160, 0, 1845, 1846, 5, 5, 0, 0, 1846, 1847, 5, 270, 0, 0, 1847, 1849, 3, 320, 160, 0, 1848, 1829, 1, 0, 0, 0, 1848, 1833, 1, 0, 0, 0, 1848, 1837, 1, 0, 0, 0, 1848, 1841, 1, 0, 0, 0, 1848, 1845, 1, 0, 0, 0, 1849, 117, 1, 0, 0, 0, 1850, 1851, 3, 320, 160, 0, 1851, 1852, 5, 313, 0, 0, 1852, 1853, 5, 1, 0, 0, 1853, 1858, 3, 320, 160, 0, 1854, 1855, 5, 3, 0, 0, 1855, 1857, 3, 320, 160, 0, 1856, 1854, 1, 0, 0, 0, 1857, 1860, 1, 0, 0, 0, 1858, 1856, 1, 0, 0, 0, 1858, 1859, 1, 0, 0, 0, 1859, 1861, 1, 0, 0, 0, 1860, 1858, 1, 0, 0, 0, 1861, 1862, 5, 2, 0, 0, 1862, 119, 1, 0, 0, 0, 1863, 1864, 3, 320, 160, 0, 1864, 1865, 5, 28, 0, 0, 1865, 1866, 3, 158, 79, 0, 1866, 121, 1, 0, 0, 0, 1867, 1875, 3, 130, 65, 0, 1868, 1870, 5, 28, 0, 0, 1869, 1868, 1, 0, 0, 0, 1869, 1870, 1, 0, 0, 0, 1870, 1871, 1, 0, 0, 0, 1871, 1873, 3, 320, 160, 0, 1872, 1874, 3, 128, 64, 0, 1873, 1872, 1, 0, 0, 0, 1873, 1874, 1, 0, 0, 0, 1874, 1876, 1, 0, 0, 0, 1875, 1869, 1, 0, 0, 0, 1875, 1876, 1, 0, 0, 0, 1876, 123, 1, 0, 0, 0, 1877, 1878, 5, 1, 0, 0, 1878, 1883, 3, 304, 152, 0, 1879, 1880, 5, 3, 0, 0, 1880, 1882, 3, 304, 152, 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, 1889, 5, 1, 0, 0, 1889, 1894, 3, 298, 149, 0, 1890, 1891, 5, 3, 0, 0, 1891, 1893, 3, 298, 149, 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, 1898, 5, 2, 0, 0, 1898, 127, 1, 0, 0, 0, 1899, 1900, 5, 1, 0, 0, 1900, 1905, 3, 320, 160, 0, 1901, 1902, 5, 3, 0, 0, 1902, 1904, 3, 320, 160, 0, 1903, 1901, 1, 0, 0, 0, 1904, 1907, 1, 0, 0, 0, 1905, 1903, 1, 0, 0, 0, 1905, 1906, 1, 0, 0, 0, 1906, 1908, 1, 0, 0, 0, 1907, 1905, 1, 0, 0, 0, 1908, 1909, 5, 2, 0, 0, 1909, 129, 1, 0, 0, 0, 1910, 1912, 3, 276, 138, 0, 1911, 1913, 3, 308, 154, 0, 1912, 1911, 1, 0, 0, 0, 1912, 1913, 1, 0, 0, 0, 1913, 1920, 1, 0, 0, 0, 1914, 1920, 3, 132, 66, 0, 1915, 1916, 5, 1, 0, 0, 1916, 1917, 3, 88, 44, 0, 1917, 1918, 5, 2, 0, 0, 1918, 1920, 1, 0, 0, 0, 1919, 1910, 1, 0, 0, 0, 1919, 1914, 1, 0, 0, 0, 1919, 1915, 1, 0, 0, 0, 1920, 131, 1, 0, 0, 0, 1921, 1922, 5, 1, 0, 0, 1922, 1923, 3, 22, 11, 0, 1923, 1924, 5, 2, 0, 0, 1924, 1985, 1, 0, 0, 0, 1925, 1926, 5, 286, 0, 0, 1926, 1927, 5, 1, 0, 0, 1927, 1932, 3, 158, 79, 0, 1928, 1929, 5, 3, 0, 0, 1929, 1931, 3, 158, 79, 0, 1930, 1928, 1, 0, 0, 0, 1931, 1934, 1, 0, 0, 0, 1932, 1930, 1, 0, 0, 0, 1932, 1933, 1, 0, 0, 0, 1933, 1935, 1, 0, 0, 0, 1934, 1932, 1, 0, 0, 0, 1935, 1938, 5, 2, 0, 0, 1936, 1937, 5, 305, 0, 0, 1937, 1939, 5, 197, 0, 0, 1938, 1936, 1, 0, 0, 0, 1938, 1939, 1, 0, 0, 0, 1939, 1985, 1, 0, 0, 0, 1940, 1941, 5, 150, 0, 0, 1941, 1942, 5, 1, 0, 0, 1942, 1943, 3, 22, 11, 0, 1943, 1944, 5, 2, 0, 0, 1944, 1985, 1, 0, 0, 0, 1945, 1946, 5, 261, 0, 0, 1946, 1947, 5, 1, 0, 0, 1947, 1948, 3, 144, 72, 0, 1948, 1949, 5, 2, 0, 0, 1949, 1985, 1, 0, 0, 0, 1950, 1951, 5, 143, 0, 0, 1951, 1952, 5, 1, 0, 0, 1952, 1953, 3, 168, 84, 0, 1953, 1954, 5, 46, 0, 0, 1954, 1955, 5, 1, 0, 0, 1955, 1960, 3, 134, 67, 0, 1956, 1957, 5, 3, 0, 0, 1957, 1959, 3, 134, 67, 0, 1958, 1956, 1, 0, 0, 0, 1959, 1962, 1, 0, 0, 0, 1960, 1958, 1, 0, 0, 0, 1960, 1961, 1, 0, 0, 0, 1961, 1963, 1, 0, 0, 0, 1962, 1960, 1, 0, 0, 0, 1963, 1975, 5, 2, 0, 0, 1964, 1965, 5, 211, 0, 0, 1965, 1966, 5, 1, 0, 0, 1966, 1967, 3, 136, 68, 0, 1967, 1968, 5, 2, 0, 0, 1968, 1976, 1, 0, 0, 0, 1969, 1970, 5, 211, 0, 0, 1970, 1971, 5, 71, 0, 0, 1971, 1972, 5, 1, 0, 0, 1972, 1973, 3, 142, 71, 0, 1973, 1974, 5, 2, 0, 0, 1974, 1976, 1, 0, 0, 0, 1975, 1964, 1, 0, 0, 0, 1975, 1969, 1, 0, 0, 0, 1975, 1976, 1, 0, 0, 0, 1976, 1980, 1, 0, 0, 0, 1977, 1978, 7, 14, 0, 0, 1978, 1979, 5, 191, 0, 0, 1979, 1981, 5, 90, 0, 0, 1980, 1977, 1, 0, 0, 0, 1980, 1981, 1, 0, 0, 0, 1981, 1982, 1, 0, 0, 0, 1982, 1983, 5, 2, 0, 0, 1983, 1985, 1, 0, 0, 0, 1984, 1921, 1, 0, 0, 0, 1984, 1925, 1, 0, 0, 0, 1984, 1940, 1, 0, 0, 0, 1984, 1945, 1, 0, 0, 0, 1984, 1950, 1, 0, 0, 0, 1985, 133, 1, 0, 0, 0, 1986, 1987, 3, 320, 160, 0, 1987, 1988, 5, 104, 0, 0, 1988, 1989, 5, 197, 0, 0, 1989, 2064, 1, 0, 0, 0, 1990, 1991, 3, 320, 160, 0, 1991, 1994, 3, 206, 103, 0, 1992, 1993, 5, 206, 0, 0, 1993, 1995, 3, 190, 95, 0, 1994, 1992, 1, 0, 0, 0, 1994, 1995, 1, 0, 0, 0, 1995, 2000, 1, 0, 0, 0, 1996, 1997, 3, 178, 89, 0, 1997, 1998, 5, 191, 0, 0, 1998, 1999, 5, 86, 0, 0, 1999, 2001, 1, 0, 0, 0, 2000, 1996, 1, 0, 0, 0, 2000, 2001, 1, 0, 0, 0, 2001, 2006, 1, 0, 0, 0, 2002, 2003, 3, 178, 89, 0, 2003, 2004, 5, 191, 0, 0, 2004, 2005, 5, 90, 0, 0, 2005, 2007, 1, 0, 0, 0, 2006, 2002, 1, 0, 0, 0, 2006, 2007, 1, 0, 0, 0, 2007, 2064, 1, 0, 0, 0, 2008, 2009, 3, 320, 160, 0, 2009, 2010, 3, 206, 103, 0, 2010, 2011, 5, 105, 0, 0, 2011, 2014, 3, 172, 86, 0, 2012, 2013, 5, 206, 0, 0, 2013, 2015, 3, 190, 95, 0, 2014, 2012, 1, 0, 0, 0, 2014, 2015, 1, 0, 0, 0, 2015, 2019, 1, 0, 0, 0, 2016, 2017, 3, 180, 90, 0, 2017, 2018, 5, 309, 0, 0, 2018, 2020, 1, 0, 0, 0, 2019, 2016, 1, 0, 0, 0, 2019, 2020, 1, 0, 0, 0, 2020, 2028, 1, 0, 0, 0, 2021, 2022, 7, 15, 0, 0, 2022, 2026, 5, 219, 0, 0, 2023, 2024, 5, 191, 0, 0, 2024, 2025, 5, 243, 0, 0, 2025, 2027, 5, 265, 0, 0, 2026, 2023, 1, 0, 0, 0, 2026, 2027, 1, 0, 0, 0, 2027, 2029, 1, 0, 0, 0, 2028, 2021, 1, 0, 0, 0, 2028, 2029, 1, 0, 0, 0, 2029, 2034, 1, 0, 0, 0, 2030, 2031, 3, 182, 91, 0, 2031, 2032, 5, 191, 0, 0, 2032, 2033, 5, 86, 0, 0, 2033, 2035, 1, 0, 0, 0, 2034, 2030, 1, 0, 0, 0, 2034, 2035, 1, 0, 0, 0, 2035, 2040, 1, 0, 0, 0, 2036, 2037, 3, 182, 91, 0, 2037, 2038, 5, 191, 0, 0, 2038, 2039, 5, 90, 0, 0, 2039, 2041, 1, 0, 0, 0, 2040, 2036, 1, 0, 0, 0, 2040, 2041, 1, 0, 0, 0, 2041, 2064, 1, 0, 0, 0, 2042, 2044, 5, 174, 0, 0, 2043, 2045, 5, 206, 0, 0, 2044, 2043, 1, 0, 0, 0, 2044, 2045, 1, 0, 0, 0, 2045, 2046, 1, 0, 0, 0, 2046, 2049, 3, 190, 95, 0, 2047, 2048, 5, 28, 0, 0, 2048, 2050, 3, 320, 160, 0, 2049, 2047, 1, 0, 0, 0, 2049, 2050, 1, 0, 0, 0, 2050, 2051, 1, 0, 0, 0, 2051, 2052, 5, 46, 0, 0, 2052, 2053, 5, 1, 0, 0, 2053, 2058, 3, 134, 67, 0, 2054, 2055, 5, 3, 0, 0, 2055, 2057, 3, 134, 67, 0, 2056, 2054, 1, 0, 0, 0, 2057, 2060, 1, 0, 0, 0, 2058, 2056, 1, 0, 0, 0, 2058, 2059, 1, 0, 0, 0, 2059, 2061, 1, 0, 0, 0, 2060, 2058, 1, 0, 0, 0, 2061, 2062, 5, 2, 0, 0, 2062, 2064, 1, 0, 0, 0, 2063, 1986, 1, 0, 0, 0, 2063, 1990, 1, 0, 0, 0, 2063, 2008, 1, 0, 0, 0, 2063, 2042, 1, 0, 0, 0, 2064, 135, 1, 0, 0, 0, 2065, 2091, 3, 138, 69, 0, 2066, 2067, 3, 138, 69, 0, 2067, 2068, 7, 16, 0, 0, 2068, 2069, 3, 140, 70, 0, 2069, 2091, 1, 0, 0, 0, 2070, 2071, 3, 140, 70, 0, 2071, 2072, 5, 282, 0, 0, 2072, 2077, 3, 140, 70, 0, 2073, 2074, 5, 282, 0, 0, 2074, 2076, 3, 140, 70, 0, 2075, 2073, 1, 0, 0, 0, 2076, 2079, 1, 0, 0, 0, 2077, 2075, 1, 0, 0, 0, 2077, 2078, 1, 0, 0, 0, 2078, 2091, 1, 0, 0, 0, 2079, 2077, 1, 0, 0, 0, 2080, 2081, 3, 140, 70, 0, 2081, 2082, 5, 55, 0, 0, 2082, 2087, 3, 140, 70, 0, 2083, 2084, 5, 55, 0, 0, 2084, 2086, 3, 140, 70, 0, 2085, 2083, 1, 0, 0, 0, 2086, 2089, 1, 0, 0, 0, 2087, 2085, 1, 0, 0, 0, 2087, 2088, 1, 0, 0, 0, 2088, 2091, 1, 0, 0, 0, 2089, 2087, 1, 0, 0, 0, 2090, 2065, 1, 0, 0, 0, 2090, 2066, 1, 0, 0, 0, 2090, 2070, 1, 0, 0, 0, 2090, 2080, 1, 0, 0, 0, 2091, 137, 1, 0, 0, 0, 2092, 2093, 3, 320, 160, 0, 2093, 139, 1, 0, 0, 0, 2094, 2100, 3, 138, 69, 0, 2095, 2096, 5, 1, 0, 0, 2096, 2097, 3, 136, 68, 0, 2097, 2098, 5, 2, 0, 0, 2098, 2100, 1, 0, 0, 0, 2099, 2094, 1, 0, 0, 0, 2099, 2095, 1, 0, 0, 0, 2100, 141, 1, 0, 0, 0, 2101, 2104, 7, 16, 0, 0, 2102, 2103, 5, 3, 0, 0, 2103, 2105, 7, 17, 0, 0, 2104, 2102, 1, 0, 0, 0, 2104, 2105, 1, 0, 0, 0, 2105, 2112, 1, 0, 0, 0, 2106, 2109, 7, 17, 0, 0, 2107, 2108, 5, 3, 0, 0, 2108, 2110, 7, 16, 0, 0, 2109, 2107, 1, 0, 0, 0, 2109, 2110, 1, 0, 0, 0, 2110, 2112, 1, 0, 0, 0, 2111, 2101, 1, 0, 0, 0, 2111, 2106, 1, 0, 0, 0, 2112, 143, 1, 0, 0, 0, 2113, 2114, 3, 294, 147, 0, 2114, 2123, 5, 1, 0, 0, 2115, 2120, 3, 146, 73, 0, 2116, 2117, 5, 3, 0, 0, 2117, 2119, 3, 146, 73, 0, 2118, 2116, 1, 0, 0, 0, 2119, 2122, 1, 0, 0, 0, 2120, 2118, 1, 0, 0, 0, 2120, 2121, 1, 0, 0, 0, 2121, 2124, 1, 0, 0, 0, 2122, 2120, 1, 0, 0, 0, 2123, 2115, 1, 0, 0, 0, 2123, 2124, 1, 0, 0, 0, 2124, 2134, 1, 0, 0, 0, 2125, 2126, 5, 53, 0, 0, 2126, 2131, 3, 156, 78, 0, 2127, 2128, 5, 3, 0, 0, 2128, 2130, 3, 156, 78, 0, 2129, 2127, 1, 0, 0, 0, 2130, 2133, 1, 0, 0, 0, 2131, 2129, 1, 0, 0, 0, 2131, 2132, 1, 0, 0, 0, 2132, 2135, 1, 0, 0, 0, 2133, 2131, 1, 0, 0, 0, 2134, 2125, 1, 0, 0, 0, 2134, 2135, 1, 0, 0, 0, 2135, 2136, 1, 0, 0, 0, 2136, 2137, 5, 2, 0, 0, 2137, 145, 1, 0, 0, 0, 2138, 2139, 3, 320, 160, 0, 2139, 2140, 5, 6, 0, 0, 2140, 2142, 1, 0, 0, 0, 2141, 2138, 1, 0, 0, 0, 2141, 2142, 1, 0, 0, 0, 2142, 2146, 1, 0, 0, 0, 2143, 2147, 3, 148, 74, 0, 2144, 2147, 3, 152, 76, 0, 2145, 2147, 3, 158, 79, 0, 2146, 2143, 1, 0, 0, 0, 2146, 2144, 1, 0, 0, 0, 2146, 2145, 1, 0, 0, 0, 2147, 147, 1, 0, 0, 0, 2148, 2159, 3, 150, 75, 0, 2149, 2150, 5, 202, 0, 0, 2150, 2157, 5, 36, 0, 0, 2151, 2153, 5, 1, 0, 0, 2152, 2154, 3, 62, 31, 0, 2153, 2152, 1, 0, 0, 0, 2153, 2154, 1, 0, 0, 0, 2154, 2155, 1, 0, 0, 0, 2155, 2158, 5, 2, 0, 0, 2156, 2158, 3, 158, 79, 0, 2157, 2151, 1, 0, 0, 0, 2157, 2156, 1, 0, 0, 0, 2158, 2160, 1, 0, 0, 0, 2159, 2149, 1, 0, 0, 0, 2159, 2160, 1, 0, 0, 0, 2160, 2167, 1, 0, 0, 0, 2161, 2162, 5, 218, 0, 0, 2162, 2163, 5, 301, 0, 0, 2163, 2168, 5, 86, 0, 0, 2164, 2165, 5, 145, 0, 0, 2165, 2166, 5, 301, 0, 0, 2166, 2168, 5, 86, 0, 0, 2167, 2161, 1, 0, 0, 0, 2167, 2164, 1, 0, 0, 0, 2167, 2168, 1, 0, 0, 0, 2168, 2185, 1, 0, 0, 0, 2169, 2170, 5, 196, 0, 0, 2170, 2183, 5, 36, 0, 0, 2171, 2172, 5, 1, 0, 0, 2172, 2177, 3, 50, 25, 0, 2173, 2174, 5, 3, 0, 0, 2174, 2176, 3, 50, 25, 0, 2175, 2173, 1, 0, 0, 0, 2176, 2179, 1, 0, 0, 0, 2177, 2175, 1, 0, 0, 0, 2177, 2178, 1, 0, 0, 0, 2178, 2180, 1, 0, 0, 0, 2179, 2177, 1, 0, 0, 0, 2180, 2181, 5, 2, 0, 0, 2181, 2184, 1, 0, 0, 0, 2182, 2184, 3, 50, 25, 0, 2183, 2171, 1, 0, 0, 0, 2183, 2182, 1, 0, 0, 0, 2184, 2186, 1, 0, 0, 0, 2185, 2169, 1, 0, 0, 0, 2185, 2186, 1, 0, 0, 0, 2186, 149, 1, 0, 0, 0, 2187, 2188, 5, 261, 0, 0, 2188, 2189, 5, 1, 0, 0, 2189, 2190, 3, 278, 139, 0, 2190, 2198, 5, 2, 0, 0, 2191, 2193, 5, 28, 0, 0, 2192, 2191, 1, 0, 0, 0, 2192, 2193, 1, 0, 0, 0, 2193, 2194, 1, 0, 0, 0, 2194, 2196, 3, 320, 160, 0, 2195, 2197, 3, 128, 64, 0, 2196, 2195, 1, 0, 0, 0, 2196, 2197, 1, 0, 0, 0, 2197, 2199, 1, 0, 0, 0, 2198, 2192, 1, 0, 0, 0, 2198, 2199, 1, 0, 0, 0, 2199, 2214, 1, 0, 0, 0, 2200, 2201, 5, 261, 0, 0, 2201, 2202, 5, 1, 0, 0, 2202, 2203, 3, 22, 11, 0, 2203, 2211, 5, 2, 0, 0, 2204, 2206, 5, 28, 0, 0, 2205, 2204, 1, 0, 0, 0, 2205, 2206, 1, 0, 0, 0, 2206, 2207, 1, 0, 0, 0, 2207, 2209, 3, 320, 160, 0, 2208, 2210, 3, 128, 64, 0, 2209, 2208, 1, 0, 0, 0, 2209, 2210, 1, 0, 0, 0, 2210, 2212, 1, 0, 0, 0, 2211, 2205, 1, 0, 0, 0, 2211, 2212, 1, 0, 0, 0, 2212, 2214, 1, 0, 0, 0, 2213, 2187, 1, 0, 0, 0, 2213, 2200, 1, 0, 0, 0, 2214, 151, 1, 0, 0, 0, 2215, 2216, 5, 78, 0, 0, 2216, 2217, 5, 1, 0, 0, 2217, 2222, 3, 154, 77, 0, 2218, 2219, 5, 3, 0, 0, 2219, 2221, 3, 154, 77, 0, 2220, 2218, 1, 0, 0, 0, 2221, 2224, 1, 0, 0, 0, 2222, 2220, 1, 0, 0, 0, 2222, 2223, 1, 0, 0, 0, 2223, 2225, 1, 0, 0, 0, 2224, 2222, 1, 0, 0, 0, 2225, 2226, 5, 2, 0, 0, 2226, 2234, 1, 0, 0, 0, 2227, 2228, 5, 41, 0, 0, 2228, 2229, 5, 1, 0, 0, 2229, 2230, 5, 184, 0, 0, 2230, 2231, 5, 28, 0, 0, 2231, 2232, 5, 78, 0, 0, 2232, 2234, 5, 2, 0, 0, 2233, 2215, 1, 0, 0, 0, 2233, 2227, 1, 0, 0, 0, 2234, 153, 1, 0, 0, 0, 2235, 2237, 3, 320, 160, 0, 2236, 2238, 3, 206, 103, 0, 2237, 2236, 1, 0, 0, 0, 2237, 2238, 1, 0, 0, 0, 2238, 155, 1, 0, 0, 0, 2239, 2240, 5, 1, 0, 0, 2240, 2241, 3, 306, 153, 0, 2241, 2242, 5, 3, 0, 0, 2242, 2247, 3, 306, 153, 0, 2243, 2244, 5, 3, 0, 0, 2244, 2246, 3, 306, 153, 0, 2245, 2243, 1, 0, 0, 0, 2246, 2249, 1, 0, 0, 0, 2247, 2245, 1, 0, 0, 0, 2247, 2248, 1, 0, 0, 0, 2248, 2250, 1, 0, 0, 0, 2249, 2247, 1, 0, 0, 0, 2250, 2251, 5, 2, 0, 0, 2251, 157, 1, 0, 0, 0, 2252, 2253, 3, 160, 80, 0, 2253, 159, 1, 0, 0, 0, 2254, 2255, 6, 80, -1, 0, 2255, 2257, 3, 164, 82, 0, 2256, 2258, 3, 162, 81, 0, 2257, 2256, 1, 0, 0, 0, 2257, 2258, 1, 0, 0, 0, 2258, 2262, 1, 0, 0, 0, 2259, 2260, 5, 183, 0, 0, 2260, 2262, 3, 160, 80, 3, 2261, 2254, 1, 0, 0, 0, 2261, 2259, 1, 0, 0, 0, 2262, 2271, 1, 0, 0, 0, 2263, 2264, 10, 2, 0, 0, 2264, 2265, 5, 25, 0, 0, 2265, 2270, 3, 160, 80, 3, 2266, 2267, 10, 1, 0, 0, 2267, 2268, 5, 195, 0, 0, 2268, 2270, 3, 160, 80, 2, 2269, 2263, 1, 0, 0, 0, 2269, 2266, 1, 0, 0, 0, 2270, 2273, 1, 0, 0, 0, 2271, 2269, 1, 0, 0, 0, 2271, 2272, 1, 0, 0, 0, 2272, 161, 1, 0, 0, 0, 2273, 2271, 1, 0, 0, 0, 2274, 2275, 3, 194, 97, 0, 2275, 2276, 3, 164, 82, 0, 2276, 2336, 1, 0, 0, 0, 2277, 2278, 3, 194, 97, 0, 2278, 2279, 3, 196, 98, 0, 2279, 2280, 5, 1, 0, 0, 2280, 2281, 3, 22, 11, 0, 2281, 2282, 5, 2, 0, 0, 2282, 2336, 1, 0, 0, 0, 2283, 2285, 5, 183, 0, 0, 2284, 2283, 1, 0, 0, 0, 2284, 2285, 1, 0, 0, 0, 2285, 2286, 1, 0, 0, 0, 2286, 2287, 5, 34, 0, 0, 2287, 2288, 3, 164, 82, 0, 2288, 2289, 5, 25, 0, 0, 2289, 2290, 3, 164, 82, 0, 2290, 2336, 1, 0, 0, 0, 2291, 2293, 5, 183, 0, 0, 2292, 2291, 1, 0, 0, 0, 2292, 2293, 1, 0, 0, 0, 2293, 2294, 1, 0, 0, 0, 2294, 2295, 5, 123, 0, 0, 2295, 2296, 5, 1, 0, 0, 2296, 2301, 3, 158, 79, 0, 2297, 2298, 5, 3, 0, 0, 2298, 2300, 3, 158, 79, 0, 2299, 2297, 1, 0, 0, 0, 2300, 2303, 1, 0, 0, 0, 2301, 2299, 1, 0, 0, 0, 2301, 2302, 1, 0, 0, 0, 2302, 2304, 1, 0, 0, 0, 2303, 2301, 1, 0, 0, 0, 2304, 2305, 5, 2, 0, 0, 2305, 2336, 1, 0, 0, 0, 2306, 2308, 5, 183, 0, 0, 2307, 2306, 1, 0, 0, 0, 2307, 2308, 1, 0, 0, 0, 2308, 2309, 1, 0, 0, 0, 2309, 2310, 5, 123, 0, 0, 2310, 2311, 5, 1, 0, 0, 2311, 2312, 3, 22, 11, 0, 2312, 2313, 5, 2, 0, 0, 2313, 2336, 1, 0, 0, 0, 2314, 2316, 5, 183, 0, 0, 2315, 2314, 1, 0, 0, 0, 2315, 2316, 1, 0, 0, 0, 2316, 2317, 1, 0, 0, 0, 2317, 2318, 5, 155, 0, 0, 2318, 2321, 3, 164, 82, 0, 2319, 2320, 5, 91, 0, 0, 2320, 2322, 3, 164, 82, 0, 2321, 2319, 1, 0, 0, 0, 2321, 2322, 1, 0, 0, 0, 2322, 2336, 1, 0, 0, 0, 2323, 2325, 5, 134, 0, 0, 2324, 2326, 5, 183, 0, 0, 2325, 2324, 1, 0, 0, 0, 2325, 2326, 1, 0, 0, 0, 2326, 2327, 1, 0, 0, 0, 2327, 2336, 5, 184, 0, 0, 2328, 2330, 5, 134, 0, 0, 2329, 2331, 5, 183, 0, 0, 2330, 2329, 1, 0, 0, 0, 2330, 2331, 1, 0, 0, 0, 2331, 2332, 1, 0, 0, 0, 2332, 2333, 5, 80, 0, 0, 2333, 2334, 5, 106, 0, 0, 2334, 2336, 3, 164, 82, 0, 2335, 2274, 1, 0, 0, 0, 2335, 2277, 1, 0, 0, 0, 2335, 2284, 1, 0, 0, 0, 2335, 2292, 1, 0, 0, 0, 2335, 2307, 1, 0, 0, 0, 2335, 2315, 1, 0, 0, 0, 2335, 2323, 1, 0, 0, 0, 2335, 2328, 1, 0, 0, 0, 2336, 163, 1, 0, 0, 0, 2337, 2338, 6, 82, -1, 0, 2338, 2342, 3, 166, 83, 0, 2339, 2340, 7, 18, 0, 0, 2340, 2342, 3, 164, 82, 4, 2341, 2337, 1, 0, 0, 0, 2341, 2339, 1, 0, 0, 0, 2342, 2357, 1, 0, 0, 0, 2343, 2344, 10, 3, 0, 0, 2344, 2345, 7, 19, 0, 0, 2345, 2356, 3, 164, 82, 4, 2346, 2347, 10, 2, 0, 0, 2347, 2348, 7, 18, 0, 0, 2348, 2356, 3, 164, 82, 3, 2349, 2350, 10, 1, 0, 0, 2350, 2351, 5, 324, 0, 0, 2351, 2356, 3, 164, 82, 2, 2352, 2353, 10, 5, 0, 0, 2353, 2354, 5, 30, 0, 0, 2354, 2356, 3, 192, 96, 0, 2355, 2343, 1, 0, 0, 0, 2355, 2346, 1, 0, 0, 0, 2355, 2349, 1, 0, 0, 0, 2355, 2352, 1, 0, 0, 0, 2356, 2359, 1, 0, 0, 0, 2357, 2355, 1, 0, 0, 0, 2357, 2358, 1, 0, 0, 0, 2358, 165, 1, 0, 0, 0, 2359, 2357, 1, 0, 0, 0, 2360, 2361, 6, 83, -1, 0, 2361, 2826, 5, 184, 0, 0, 2362, 2826, 3, 200, 100, 0, 2363, 2364, 3, 320, 160, 0, 2364, 2365, 3, 190, 95, 0, 2365, 2826, 1, 0, 0, 0, 2366, 2367, 5, 83, 0, 0, 2367, 2368, 5, 214, 0, 0, 2368, 2826, 3, 190, 95, 0, 2369, 2826, 3, 322, 161, 0, 2370, 2826, 3, 198, 99, 0, 2371, 2826, 3, 190, 95, 0, 2372, 2826, 5, 329, 0, 0, 2373, 2826, 5, 325, 0, 0, 2374, 2375, 5, 212, 0, 0, 2375, 2376, 5, 1, 0, 0, 2376, 2377, 3, 164, 82, 0, 2377, 2378, 5, 123, 0, 0, 2378, 2379, 3, 164, 82, 0, 2379, 2380, 5, 2, 0, 0, 2380, 2826, 1, 0, 0, 0, 2381, 2382, 5, 1, 0, 0, 2382, 2385, 3, 158, 79, 0, 2383, 2384, 5, 3, 0, 0, 2384, 2386, 3, 158, 79, 0, 2385, 2383, 1, 0, 0, 0, 2386, 2387, 1, 0, 0, 0, 2387, 2385, 1, 0, 0, 0, 2387, 2388, 1, 0, 0, 0, 2388, 2389, 1, 0, 0, 0, 2389, 2390, 5, 2, 0, 0, 2390, 2826, 1, 0, 0, 0, 2391, 2392, 5, 240, 0, 0, 2392, 2393, 5, 1, 0, 0, 2393, 2398, 3, 158, 79, 0, 2394, 2395, 5, 3, 0, 0, 2395, 2397, 3, 158, 79, 0, 2396, 2394, 1, 0, 0, 0, 2397, 2400, 1, 0, 0, 0, 2398, 2396, 1, 0, 0, 0, 2398, 2399, 1, 0, 0, 0, 2399, 2401, 1, 0, 0, 0, 2400, 2398, 1, 0, 0, 0, 2401, 2402, 5, 2, 0, 0, 2402, 2826, 1, 0, 0, 0, 2403, 2404, 5, 157, 0, 0, 2404, 2406, 5, 1, 0, 0, 2405, 2407, 3, 76, 38, 0, 2406, 2405, 1, 0, 0, 0, 2406, 2407, 1, 0, 0, 0, 2407, 2408, 1, 0, 0, 0, 2408, 2411, 3, 158, 79, 0, 2409, 2410, 5, 3, 0, 0, 2410, 2412, 3, 190, 95, 0, 2411, 2409, 1, 0, 0, 0, 2411, 2412, 1, 0, 0, 0, 2412, 2416, 1, 0, 0, 0, 2413, 2414, 5, 191, 0, 0, 2414, 2415, 5, 201, 0, 0, 2415, 2417, 3, 104, 52, 0, 2416, 2413, 1, 0, 0, 0, 2416, 2417, 1, 0, 0, 0, 2417, 2418, 1, 0, 0, 0, 2418, 2419, 5, 2, 0, 0, 2419, 2420, 5, 306, 0, 0, 2420, 2421, 5, 115, 0, 0, 2421, 2422, 5, 1, 0, 0, 2422, 2423, 5, 196, 0, 0, 2423, 2424, 5, 36, 0, 0, 2424, 2429, 3, 50, 25, 0, 2425, 2426, 5, 3, 0, 0, 2426, 2428, 3, 50, 25, 0, 2427, 2425, 1, 0, 0, 0, 2428, 2431, 1, 0, 0, 0, 2429, 2427, 1, 0, 0, 0, 2429, 2430, 1, 0, 0, 0, 2430, 2432, 1, 0, 0, 0, 2431, 2429, 1, 0, 0, 0, 2432, 2433, 5, 2, 0, 0, 2433, 2435, 1, 0, 0, 0, 2434, 2436, 3, 214, 107, 0, 2435, 2434, 1, 0, 0, 0, 2435, 2436, 1, 0, 0, 0, 2436, 2826, 1, 0, 0, 0, 2437, 2439, 3, 186, 93, 0, 2438, 2437, 1, 0, 0, 0, 2438, 2439, 1, 0, 0, 0, 2439, 2440, 1, 0, 0, 0, 2440, 2441, 3, 294, 147, 0, 2441, 2445, 5, 1, 0, 0, 2442, 2443, 3, 320, 160, 0, 2443, 2444, 5, 4, 0, 0, 2444, 2446, 1, 0, 0, 0, 2445, 2442, 1, 0, 0, 0, 2445, 2446, 1, 0, 0, 0, 2446, 2447, 1, 0, 0, 0, 2447, 2448, 5, 321, 0, 0, 2448, 2450, 5, 2, 0, 0, 2449, 2451, 3, 214, 107, 0, 2450, 2449, 1, 0, 0, 0, 2450, 2451, 1, 0, 0, 0, 2451, 2453, 1, 0, 0, 0, 2452, 2454, 3, 218, 109, 0, 2453, 2452, 1, 0, 0, 0, 2453, 2454, 1, 0, 0, 0, 2454, 2826, 1, 0, 0, 0, 2455, 2457, 3, 186, 93, 0, 2456, 2455, 1, 0, 0, 0, 2456, 2457, 1, 0, 0, 0, 2457, 2458, 1, 0, 0, 0, 2458, 2459, 3, 294, 147, 0, 2459, 2471, 5, 1, 0, 0, 2460, 2462, 3, 76, 38, 0, 2461, 2460, 1, 0, 0, 0, 2461, 2462, 1, 0, 0, 0, 2462, 2463, 1, 0, 0, 0, 2463, 2468, 3, 158, 79, 0, 2464, 2465, 5, 3, 0, 0, 2465, 2467, 3, 158, 79, 0, 2466, 2464, 1, 0, 0, 0, 2467, 2470, 1, 0, 0, 0, 2468, 2466, 1, 0, 0, 0, 2468, 2469, 1, 0, 0, 0, 2469, 2472, 1, 0, 0, 0, 2470, 2468, 1, 0, 0, 0, 2471, 2461, 1, 0, 0, 0, 2471, 2472, 1, 0, 0, 0, 2472, 2483, 1, 0, 0, 0, 2473, 2474, 5, 196, 0, 0, 2474, 2475, 5, 36, 0, 0, 2475, 2480, 3, 50, 25, 0, 2476, 2477, 5, 3, 0, 0, 2477, 2479, 3, 50, 25, 0, 2478, 2476, 1, 0, 0, 0, 2479, 2482, 1, 0, 0, 0, 2480, 2478, 1, 0, 0, 0, 2480, 2481, 1, 0, 0, 0, 2481, 2484, 1, 0, 0, 0, 2482, 2480, 1, 0, 0, 0, 2483, 2473, 1, 0, 0, 0, 2483, 2484, 1, 0, 0, 0, 2484, 2485, 1, 0, 0, 0, 2485, 2487, 5, 2, 0, 0, 2486, 2488, 3, 214, 107, 0, 2487, 2486, 1, 0, 0, 0, 2487, 2488, 1, 0, 0, 0, 2488, 2493, 1, 0, 0, 0, 2489, 2491, 3, 188, 94, 0, 2490, 2489, 1, 0, 0, 0, 2490, 2491, 1, 0, 0, 0, 2491, 2492, 1, 0, 0, 0, 2492, 2494, 3, 218, 109, 0, 2493, 2490, 1, 0, 0, 0, 2493, 2494, 1, 0, 0, 0, 2494, 2826, 1, 0, 0, 0, 2495, 2496, 3, 320, 160, 0, 2496, 2497, 3, 218, 109, 0, 2497, 2826, 1, 0, 0, 0, 2498, 2499, 3, 320, 160, 0, 2499, 2500, 5, 7, 0, 0, 2500, 2501, 3, 158, 79, 0, 2501, 2826, 1, 0, 0, 0, 2502, 2511, 5, 1, 0, 0, 2503, 2508, 3, 320, 160, 0, 2504, 2505, 5, 3, 0, 0, 2505, 2507, 3, 320, 160, 0, 2506, 2504, 1, 0, 0, 0, 2507, 2510, 1, 0, 0, 0, 2508, 2506, 1, 0, 0, 0, 2508, 2509, 1, 0, 0, 0, 2509, 2512, 1, 0, 0, 0, 2510, 2508, 1, 0, 0, 0, 2511, 2503, 1, 0, 0, 0, 2511, 2512, 1, 0, 0, 0, 2512, 2513, 1, 0, 0, 0, 2513, 2514, 5, 2, 0, 0, 2514, 2515, 5, 7, 0, 0, 2515, 2826, 3, 158, 79, 0, 2516, 2517, 5, 1, 0, 0, 2517, 2518, 3, 22, 11, 0, 2518, 2519, 5, 2, 0, 0, 2519, 2826, 1, 0, 0, 0, 2520, 2521, 5, 95, 0, 0, 2521, 2522, 5, 1, 0, 0, 2522, 2523, 3, 22, 11, 0, 2523, 2524, 5, 2, 0, 0, 2524, 2826, 1, 0, 0, 0, 2525, 2526, 5, 40, 0, 0, 2526, 2528, 3, 158, 79, 0, 2527, 2529, 3, 212, 106, 0, 2528, 2527, 1, 0, 0, 0, 2529, 2530, 1, 0, 0, 0, 2530, 2528, 1, 0, 0, 0, 2530, 2531, 1, 0, 0, 0, 2531, 2534, 1, 0, 0, 0, 2532, 2533, 5, 85, 0, 0, 2533, 2535, 3, 158, 79, 0, 2534, 2532, 1, 0, 0, 0, 2534, 2535, 1, 0, 0, 0, 2535, 2536, 1, 0, 0, 0, 2536, 2537, 5, 89, 0, 0, 2537, 2826, 1, 0, 0, 0, 2538, 2540, 5, 40, 0, 0, 2539, 2541, 3, 212, 106, 0, 2540, 2539, 1, 0, 0, 0, 2541, 2542, 1, 0, 0, 0, 2542, 2540, 1, 0, 0, 0, 2542, 2543, 1, 0, 0, 0, 2543, 2546, 1, 0, 0, 0, 2544, 2545, 5, 85, 0, 0, 2545, 2547, 3, 158, 79, 0, 2546, 2544, 1, 0, 0, 0, 2546, 2547, 1, 0, 0, 0, 2547, 2548, 1, 0, 0, 0, 2548, 2549, 5, 89, 0, 0, 2549, 2826, 1, 0, 0, 0, 2550, 2551, 5, 41, 0, 0, 2551, 2552, 5, 1, 0, 0, 2552, 2553, 3, 158, 79, 0, 2553, 2554, 5, 28, 0, 0, 2554, 2555, 3, 206, 103, 0, 2555, 2556, 5, 2, 0, 0, 2556, 2826, 1, 0, 0, 0, 2557, 2558, 5, 276, 0, 0, 2558, 2559, 5, 1, 0, 0, 2559, 2560, 3, 158, 79, 0, 2560, 2561, 5, 28, 0, 0, 2561, 2562, 3, 206, 103, 0, 2562, 2563, 5, 2, 0, 0, 2563, 2826, 1, 0, 0, 0, 2564, 2565, 5, 27, 0, 0, 2565, 2574, 5, 8, 0, 0, 2566, 2571, 3, 158, 79, 0, 2567, 2568, 5, 3, 0, 0, 2568, 2570, 3, 158, 79, 0, 2569, 2567, 1, 0, 0, 0, 2570, 2573, 1, 0, 0, 0, 2571, 2569, 1, 0, 0, 0, 2571, 2572, 1, 0, 0, 0, 2572, 2575, 1, 0, 0, 0, 2573, 2571, 1, 0, 0, 0, 2574, 2566, 1, 0, 0, 0, 2574, 2575, 1, 0, 0, 0, 2575, 2576, 1, 0, 0, 0, 2576, 2826, 5, 9, 0, 0, 2577, 2826, 3, 302, 151, 0, 2578, 2826, 5, 59, 0, 0, 2579, 2583, 5, 63, 0, 0, 2580, 2581, 5, 1, 0, 0, 2581, 2582, 5, 330, 0, 0, 2582, 2584, 5, 2, 0, 0, 2583, 2580, 1, 0, 0, 0, 2583, 2584, 1, 0, 0, 0, 2584, 2826, 1, 0, 0, 0, 2585, 2589, 5, 64, 0, 0, 2586, 2587, 5, 1, 0, 0, 2587, 2588, 5, 330, 0, 0, 2588, 2590, 5, 2, 0, 0, 2589, 2586, 1, 0, 0, 0, 2589, 2590, 1, 0, 0, 0, 2590, 2826, 1, 0, 0, 0, 2591, 2595, 5, 159, 0, 0, 2592, 2593, 5, 1, 0, 0, 2593, 2594, 5, 330, 0, 0, 2594, 2596, 5, 2, 0, 0, 2595, 2592, 1, 0, 0, 0, 2595, 2596, 1, 0, 0, 0, 2596, 2826, 1, 0, 0, 0, 2597, 2601, 5, 160, 0, 0, 2598, 2599, 5, 1, 0, 0, 2599, 2600, 5, 330, 0, 0, 2600, 2602, 5, 2, 0, 0, 2601, 2598, 1, 0, 0, 0, 2601, 2602, 1, 0, 0, 0, 2602, 2826, 1, 0, 0, 0, 2603, 2826, 5, 65, 0, 0, 2604, 2826, 5, 58, 0, 0, 2605, 2826, 5, 62, 0, 0, 2606, 2826, 5, 60, 0, 0, 2607, 2608, 5, 273, 0, 0, 2608, 2616, 5, 1, 0, 0, 2609, 2611, 3, 102, 51, 0, 2610, 2609, 1, 0, 0, 0, 2610, 2611, 1, 0, 0, 0, 2611, 2613, 1, 0, 0, 0, 2612, 2614, 3, 164, 82, 0, 2613, 2612, 1, 0, 0, 0, 2613, 2614, 1, 0, 0, 0, 2614, 2615, 1, 0, 0, 0, 2615, 2617, 5, 106, 0, 0, 2616, 2610, 1, 0, 0, 0, 2616, 2617, 1, 0, 0, 0, 2617, 2618, 1, 0, 0, 0, 2618, 2619, 3, 164, 82, 0, 2619, 2620, 5, 2, 0, 0, 2620, 2826, 1, 0, 0, 0, 2621, 2622, 5, 273, 0, 0, 2622, 2623, 5, 1, 0, 0, 2623, 2624, 3, 164, 82, 0, 2624, 2625, 5, 3, 0, 0, 2625, 2626, 3, 164, 82, 0, 2626, 2627, 5, 2, 0, 0, 2627, 2826, 1, 0, 0, 0, 2628, 2629, 5, 259, 0, 0, 2629, 2630, 5, 1, 0, 0, 2630, 2631, 3, 164, 82, 0, 2631, 2632, 5, 106, 0, 0, 2632, 2635, 3, 164, 82, 0, 2633, 2634, 5, 104, 0, 0, 2634, 2636, 3, 164, 82, 0, 2635, 2633, 1, 0, 0, 0, 2635, 2636, 1, 0, 0, 0, 2636, 2637, 1, 0, 0, 0, 2637, 2638, 5, 2, 0, 0, 2638, 2826, 1, 0, 0, 0, 2639, 2640, 5, 182, 0, 0, 2640, 2641, 5, 1, 0, 0, 2641, 2644, 3, 164, 82, 0, 2642, 2643, 5, 3, 0, 0, 2643, 2645, 3, 204, 102, 0, 2644, 2642, 1, 0, 0, 0, 2644, 2645, 1, 0, 0, 0, 2645, 2646, 1, 0, 0, 0, 2646, 2647, 5, 2, 0, 0, 2647, 2826, 1, 0, 0, 0, 2648, 2649, 5, 97, 0, 0, 2649, 2650, 5, 1, 0, 0, 2650, 2651, 3, 320, 160, 0, 2651, 2652, 5, 106, 0, 0, 2652, 2653, 3, 164, 82, 0, 2653, 2654, 5, 2, 0, 0, 2654, 2826, 1, 0, 0, 0, 2655, 2656, 5, 44, 0, 0, 2656, 2657, 5, 1, 0, 0, 2657, 2662, 3, 158, 79, 0, 2658, 2659, 5, 3, 0, 0, 2659, 2661, 3, 158, 79, 0, 2660, 2658, 1, 0, 0, 0, 2661, 2664, 1, 0, 0, 0, 2662, 2660, 1, 0, 0, 0, 2662, 2663, 1, 0, 0, 0, 2663, 2665, 1, 0, 0, 0, 2664, 2662, 1, 0, 0, 0, 2665, 2666, 5, 2, 0, 0, 2666, 2826, 1, 0, 0, 0, 2667, 2668, 5, 1, 0, 0, 2668, 2669, 3, 158, 79, 0, 2669, 2670, 5, 2, 0, 0, 2670, 2826, 1, 0, 0, 0, 2671, 2672, 5, 116, 0, 0, 2672, 2681, 5, 1, 0, 0, 2673, 2678, 3, 306, 153, 0, 2674, 2675, 5, 3, 0, 0, 2675, 2677, 3, 306, 153, 0, 2676, 2674, 1, 0, 0, 0, 2677, 2680, 1, 0, 0, 0, 2678, 2676, 1, 0, 0, 0, 2678, 2679, 1, 0, 0, 0, 2679, 2682, 1, 0, 0, 0, 2680, 2678, 1, 0, 0, 0, 2681, 2673, 1, 0, 0, 0, 2681, 2682, 1, 0, 0, 0, 2682, 2683, 1, 0, 0, 0, 2683, 2826, 5, 2, 0, 0, 2684, 2685, 5, 140, 0, 0, 2685, 2686, 5, 1, 0, 0, 2686, 2691, 3, 168, 84, 0, 2687, 2688, 3, 176, 88, 0, 2688, 2689, 5, 191, 0, 0, 2689, 2690, 5, 90, 0, 0, 2690, 2692, 1, 0, 0, 0, 2691, 2687, 1, 0, 0, 0, 2691, 2692, 1, 0, 0, 0, 2692, 2693, 1, 0, 0, 0, 2693, 2694, 5, 2, 0, 0, 2694, 2826, 1, 0, 0, 0, 2695, 2696, 5, 144, 0, 0, 2696, 2697, 5, 1, 0, 0, 2697, 2700, 3, 168, 84, 0, 2698, 2699, 5, 232, 0, 0, 2699, 2701, 3, 206, 103, 0, 2700, 2698, 1, 0, 0, 0, 2700, 2701, 1, 0, 0, 0, 2701, 2706, 1, 0, 0, 0, 2702, 2703, 3, 178, 89, 0, 2703, 2704, 5, 191, 0, 0, 2704, 2705, 5, 86, 0, 0, 2705, 2707, 1, 0, 0, 0, 2706, 2702, 1, 0, 0, 0, 2706, 2707, 1, 0, 0, 0, 2707, 2712, 1, 0, 0, 0, 2708, 2709, 3, 178, 89, 0, 2709, 2710, 5, 191, 0, 0, 2710, 2711, 5, 90, 0, 0, 2711, 2713, 1, 0, 0, 0, 2712, 2708, 1, 0, 0, 0, 2712, 2713, 1, 0, 0, 0, 2713, 2714, 1, 0, 0, 0, 2714, 2715, 5, 2, 0, 0, 2715, 2826, 1, 0, 0, 0, 2716, 2717, 5, 142, 0, 0, 2717, 2718, 5, 1, 0, 0, 2718, 2725, 3, 168, 84, 0, 2719, 2720, 5, 232, 0, 0, 2720, 2723, 3, 206, 103, 0, 2721, 2722, 5, 105, 0, 0, 2722, 2724, 3, 172, 86, 0, 2723, 2721, 1, 0, 0, 0, 2723, 2724, 1, 0, 0, 0, 2724, 2726, 1, 0, 0, 0, 2725, 2719, 1, 0, 0, 0, 2725, 2726, 1, 0, 0, 0, 2726, 2730, 1, 0, 0, 0, 2727, 2728, 3, 180, 90, 0, 2728, 2729, 5, 309, 0, 0, 2729, 2731, 1, 0, 0, 0, 2730, 2727, 1, 0, 0, 0, 2730, 2731, 1, 0, 0, 0, 2731, 2739, 1, 0, 0, 0, 2732, 2733, 7, 15, 0, 0, 2733, 2737, 5, 219, 0, 0, 2734, 2735, 5, 191, 0, 0, 2735, 2736, 5, 243, 0, 0, 2736, 2738, 5, 265, 0, 0, 2737, 2734, 1, 0, 0, 0, 2737, 2738, 1, 0, 0, 0, 2738, 2740, 1, 0, 0, 0, 2739, 2732, 1, 0, 0, 0, 2739, 2740, 1, 0, 0, 0, 2740, 2745, 1, 0, 0, 0, 2741, 2742, 3, 182, 91, 0, 2742, 2743, 5, 191, 0, 0, 2743, 2744, 5, 86, 0, 0, 2744, 2746, 1, 0, 0, 0, 2745, 2741, 1, 0, 0, 0, 2745, 2746, 1, 0, 0, 0, 2746, 2751, 1, 0, 0, 0, 2747, 2748, 3, 182, 91, 0, 2748, 2749, 5, 191, 0, 0, 2749, 2750, 5, 90, 0, 0, 2750, 2752, 1, 0, 0, 0, 2751, 2747, 1, 0, 0, 0, 2751, 2752, 1, 0, 0, 0, 2752, 2753, 1, 0, 0, 0, 2753, 2754, 5, 2, 0, 0, 2754, 2826, 1, 0, 0, 0, 2755, 2756, 5, 141, 0, 0, 2756, 2785, 5, 1, 0, 0, 2757, 2762, 3, 184, 92, 0, 2758, 2759, 5, 3, 0, 0, 2759, 2761, 3, 184, 92, 0, 2760, 2758, 1, 0, 0, 0, 2761, 2764, 1, 0, 0, 0, 2762, 2760, 1, 0, 0, 0, 2762, 2763, 1, 0, 0, 0, 2763, 2771, 1, 0, 0, 0, 2764, 2762, 1, 0, 0, 0, 2765, 2766, 5, 184, 0, 0, 2766, 2767, 5, 191, 0, 0, 2767, 2772, 5, 184, 0, 0, 2768, 2769, 5, 18, 0, 0, 2769, 2770, 5, 191, 0, 0, 2770, 2772, 5, 184, 0, 0, 2771, 2765, 1, 0, 0, 0, 2771, 2768, 1, 0, 0, 0, 2771, 2772, 1, 0, 0, 0, 2772, 2783, 1, 0, 0, 0, 2773, 2774, 5, 305, 0, 0, 2774, 2776, 5, 283, 0, 0, 2775, 2777, 5, 147, 0, 0, 2776, 2775, 1, 0, 0, 0, 2776, 2777, 1, 0, 0, 0, 2777, 2784, 1, 0, 0, 0, 2778, 2779, 5, 307, 0, 0, 2779, 2781, 5, 283, 0, 0, 2780, 2782, 5, 147, 0, 0, 2781, 2780, 1, 0, 0, 0, 2781, 2782, 1, 0, 0, 0, 2782, 2784, 1, 0, 0, 0, 2783, 2773, 1, 0, 0, 0, 2783, 2778, 1, 0, 0, 0, 2783, 2784, 1, 0, 0, 0, 2784, 2786, 1, 0, 0, 0, 2785, 2757, 1, 0, 0, 0, 2785, 2786, 1, 0, 0, 0, 2786, 2793, 1, 0, 0, 0, 2787, 2788, 5, 232, 0, 0, 2788, 2791, 3, 206, 103, 0, 2789, 2790, 5, 105, 0, 0, 2790, 2792, 3, 172, 86, 0, 2791, 2789, 1, 0, 0, 0, 2791, 2792, 1, 0, 0, 0, 2792, 2794, 1, 0, 0, 0, 2793, 2787, 1, 0, 0, 0, 2793, 2794, 1, 0, 0, 0, 2794, 2795, 1, 0, 0, 0, 2795, 2826, 5, 2, 0, 0, 2796, 2797, 5, 139, 0, 0, 2797, 2814, 5, 1, 0, 0, 2798, 2803, 3, 170, 85, 0, 2799, 2800, 5, 3, 0, 0, 2800, 2802, 3, 170, 85, 0, 2801, 2799, 1, 0, 0, 0, 2802, 2805, 1, 0, 0, 0, 2803, 2801, 1, 0, 0, 0, 2803, 2804, 1, 0, 0, 0, 2804, 2812, 1, 0, 0, 0, 2805, 2803, 1, 0, 0, 0, 2806, 2807, 5, 184, 0, 0, 2807, 2808, 5, 191, 0, 0, 2808, 2813, 5, 184, 0, 0, 2809, 2810, 5, 18, 0, 0, 2810, 2811, 5, 191, 0, 0, 2811, 2813, 5, 184, 0, 0, 2812, 2806, 1, 0, 0, 0, 2812, 2809, 1, 0, 0, 0, 2812, 2813, 1, 0, 0, 0, 2813, 2815, 1, 0, 0, 0, 2814, 2798, 1, 0, 0, 0, 2814, 2815, 1, 0, 0, 0, 2815, 2822, 1, 0, 0, 0, 2816, 2817, 5, 232, 0, 0, 2817, 2820, 3, 206, 103, 0, 2818, 2819, 5, 105, 0, 0, 2819, 2821, 3, 172, 86, 0, 2820, 2818, 1, 0, 0, 0, 2820, 2821, 1, 0, 0, 0, 2821, 2823, 1, 0, 0, 0, 2822, 2816, 1, 0, 0, 0, 2822, 2823, 1, 0, 0, 0, 2823, 2824, 1, 0, 0, 0, 2824, 2826, 5, 2, 0, 0, 2825, 2360, 1, 0, 0, 0, 2825, 2362, 1, 0, 0, 0, 2825, 2363, 1, 0, 0, 0, 2825, 2366, 1, 0, 0, 0, 2825, 2369, 1, 0, 0, 0, 2825, 2370, 1, 0, 0, 0, 2825, 2371, 1, 0, 0, 0, 2825, 2372, 1, 0, 0, 0, 2825, 2373, 1, 0, 0, 0, 2825, 2374, 1, 0, 0, 0, 2825, 2381, 1, 0, 0, 0, 2825, 2391, 1, 0, 0, 0, 2825, 2403, 1, 0, 0, 0, 2825, 2438, 1, 0, 0, 0, 2825, 2456, 1, 0, 0, 0, 2825, 2495, 1, 0, 0, 0, 2825, 2498, 1, 0, 0, 0, 2825, 2502, 1, 0, 0, 0, 2825, 2516, 1, 0, 0, 0, 2825, 2520, 1, 0, 0, 0, 2825, 2525, 1, 0, 0, 0, 2825, 2538, 1, 0, 0, 0, 2825, 2550, 1, 0, 0, 0, 2825, 2557, 1, 0, 0, 0, 2825, 2564, 1, 0, 0, 0, 2825, 2577, 1, 0, 0, 0, 2825, 2578, 1, 0, 0, 0, 2825, 2579, 1, 0, 0, 0, 2825, 2585, 1, 0, 0, 0, 2825, 2591, 1, 0, 0, 0, 2825, 2597, 1, 0, 0, 0, 2825, 2603, 1, 0, 0, 0, 2825, 2604, 1, 0, 0, 0, 2825, 2605, 1, 0, 0, 0, 2825, 2606, 1, 0, 0, 0, 2825, 2607, 1, 0, 0, 0, 2825, 2621, 1, 0, 0, 0, 2825, 2628, 1, 0, 0, 0, 2825, 2639, 1, 0, 0, 0, 2825, 2648, 1, 0, 0, 0, 2825, 2655, 1, 0, 0, 0, 2825, 2667, 1, 0, 0, 0, 2825, 2671, 1, 0, 0, 0, 2825, 2684, 1, 0, 0, 0, 2825, 2695, 1, 0, 0, 0, 2825, 2716, 1, 0, 0, 0, 2825, 2755, 1, 0, 0, 0, 2825, 2796, 1, 0, 0, 0, 2826, 2837, 1, 0, 0, 0, 2827, 2828, 10, 25, 0, 0, 2828, 2829, 5, 8, 0, 0, 2829, 2830, 3, 164, 82, 0, 2830, 2831, 5, 9, 0, 0, 2831, 2836, 1, 0, 0, 0, 2832, 2833, 10, 23, 0, 0, 2833, 2834, 5, 4, 0, 0, 2834, 2836, 3, 320, 160, 0, 2835, 2827, 1, 0, 0, 0, 2835, 2832, 1, 0, 0, 0, 2836, 2839, 1, 0, 0, 0, 2837, 2835, 1, 0, 0, 0, 2837, 2838, 1, 0, 0, 0, 2838, 167, 1, 0, 0, 0, 2839, 2837, 1, 0, 0, 0, 2840, 2841, 3, 170, 85, 0, 2841, 2842, 5, 3, 0, 0, 2842, 2845, 3, 190, 95, 0, 2843, 2844, 5, 28, 0, 0, 2844, 2846, 3, 320, 160, 0, 2845, 2843, 1, 0, 0, 0, 2845, 2846, 1, 0, 0, 0, 2846, 2856, 1, 0, 0, 0, 2847, 2848, 5, 204, 0, 0, 2848, 2853, 3, 174, 87, 0, 2849, 2850, 5, 3, 0, 0, 2850, 2852, 3, 174, 87, 0, 2851, 2849, 1, 0, 0, 0, 2852, 2855, 1, 0, 0, 0, 2853, 2851, 1, 0, 0, 0, 2853, 2854, 1, 0, 0, 0, 2854, 2857, 1, 0, 0, 0, 2855, 2853, 1, 0, 0, 0, 2856, 2847, 1, 0, 0, 0, 2856, 2857, 1, 0, 0, 0, 2857, 169, 1, 0, 0, 0, 2858, 2861, 3, 158, 79, 0, 2859, 2860, 5, 105, 0, 0, 2860, 2862, 3, 172, 86, 0, 2861, 2859, 1, 0, 0, 0, 2861, 2862, 1, 0, 0, 0, 2862, 171, 1, 0, 0, 0, 2863, 2866, 5, 138, 0, 0, 2864, 2865, 5, 88, 0, 0, 2865, 2867, 7, 20, 0, 0, 2866, 2864, 1, 0, 0, 0, 2866, 2867, 1, 0, 0, 0, 2867, 173, 1, 0, 0, 0, 2868, 2869, 3, 170, 85, 0, 2869, 2870, 5, 28, 0, 0, 2870, 2871, 3, 320, 160, 0, 2871, 175, 1, 0, 0, 0, 2872, 2873, 7, 21, 0, 0, 2873, 177, 1, 0, 0, 0, 2874, 2879, 5, 90, 0, 0, 2875, 2879, 5, 184, 0, 0, 2876, 2877, 5, 71, 0, 0, 2877, 2879, 3, 158, 79, 0, 2878, 2874, 1, 0, 0, 0, 2878, 2875, 1, 0, 0, 0, 2878, 2876, 1, 0, 0, 0, 2879, 179, 1, 0, 0, 0, 2880, 2882, 5, 307, 0, 0, 2881, 2883, 5, 27, 0, 0, 2882, 2881, 1, 0, 0, 0, 2882, 2883, 1, 0, 0, 0, 2883, 2892, 1, 0, 0, 0, 2884, 2886, 5, 305, 0, 0, 2885, 2887, 7, 22, 0, 0, 2886, 2885, 1, 0, 0, 0, 2886, 2887, 1, 0, 0, 0, 2887, 2889, 1, 0, 0, 0, 2888, 2890, 5, 27, 0, 0, 2889, 2888, 1, 0, 0, 0, 2889, 2890, 1, 0, 0, 0, 2890, 2892, 1, 0, 0, 0, 2891, 2880, 1, 0, 0, 0, 2891, 2884, 1, 0, 0, 0, 2892, 181, 1, 0, 0, 0, 2893, 2900, 5, 90, 0, 0, 2894, 2900, 5, 184, 0, 0, 2895, 2896, 5, 86, 0, 0, 2896, 2900, 5, 27, 0, 0, 2897, 2898, 5, 86, 0, 0, 2898, 2900, 5, 187, 0, 0, 2899, 2893, 1, 0, 0, 0, 2899, 2894, 1, 0, 0, 0, 2899, 2895, 1, 0, 0, 0, 2899, 2897, 1, 0, 0, 0, 2900, 183, 1, 0, 0, 0, 2901, 2903, 5, 146, 0, 0, 2902, 2901, 1, 0, 0, 0, 2902, 2903, 1, 0, 0, 0, 2903, 2904, 1, 0, 0, 0, 2904, 2905, 3, 158, 79, 0, 2905, 2906, 5, 296, 0, 0, 2906, 2907, 3, 170, 85, 0, 2907, 2913, 1, 0, 0, 0, 2908, 2909, 3, 158, 79, 0, 2909, 2910, 5, 10, 0, 0, 2910, 2911, 3, 170, 85, 0, 2911, 2913, 1, 0, 0, 0, 2912, 2902, 1, 0, 0, 0, 2912, 2908, 1, 0, 0, 0, 2913, 185, 1, 0, 0, 0, 2914, 2915, 7, 23, 0, 0, 2915, 187, 1, 0, 0, 0, 2916, 2917, 5, 121, 0, 0, 2917, 2921, 5, 186, 0, 0, 2918, 2919, 5, 229, 0, 0, 2919, 2921, 5, 186, 0, 0, 2920, 2916, 1, 0, 0, 0, 2920, 2918, 1, 0, 0, 0, 2921, 189, 1, 0, 0, 0, 2922, 2929, 5, 327, 0, 0, 2923, 2926, 5, 328, 0, 0, 2924, 2925, 5, 278, 0, 0, 2925, 2927, 5, 327, 0, 0, 2926, 2924, 1, 0, 0, 0, 2926, 2927, 1, 0, 0, 0, 2927, 2929, 1, 0, 0, 0, 2928, 2922, 1, 0, 0, 0, 2928, 2923, 1, 0, 0, 0, 2929, 191, 1, 0, 0, 0, 2930, 2931, 5, 268, 0, 0, 2931, 2932, 5, 312, 0, 0, 2932, 2937, 3, 200, 100, 0, 2933, 2934, 5, 268, 0, 0, 2934, 2935, 5, 312, 0, 0, 2935, 2937, 3, 190, 95, 0, 2936, 2930, 1, 0, 0, 0, 2936, 2933, 1, 0, 0, 0, 2937, 193, 1, 0, 0, 0, 2938, 2939, 7, 24, 0, 0, 2939, 195, 1, 0, 0, 0, 2940, 2941, 7, 25, 0, 0, 2941, 197, 1, 0, 0, 0, 2942, 2943, 7, 26, 0, 0, 2943, 199, 1, 0, 0, 0, 2944, 2946, 5, 130, 0, 0, 2945, 2947, 7, 18, 0, 0, 2946, 2945, 1, 0, 0, 0, 2946, 2947, 1, 0, 0, 0, 2947, 2948, 1, 0, 0, 0, 2948, 2949, 3, 190, 95, 0, 2949, 2952, 3, 202, 101, 0, 2950, 2951, 5, 270, 0, 0, 2951, 2953, 3, 202, 101, 0, 2952, 2950, 1, 0, 0, 0, 2952, 2953, 1, 0, 0, 0, 2953, 201, 1, 0, 0, 0, 2954, 2955, 7, 27, 0, 0, 2955, 203, 1, 0, 0, 0, 2956, 2957, 7, 28, 0, 0, 2957, 205, 1, 0, 0, 0, 2958, 2959, 6, 103, -1, 0, 2959, 2960, 5, 240, 0, 0, 2960, 2961, 5, 1, 0, 0, 2961, 2966, 3, 208, 104, 0, 2962, 2963, 5, 3, 0, 0, 2963, 2965, 3, 208, 104, 0, 2964, 2962, 1, 0, 0, 0, 2965, 2968, 1, 0, 0, 0, 2966, 2964, 1, 0, 0, 0, 2966, 2967, 1, 0, 0, 0, 2967, 2969, 1, 0, 0, 0, 2968, 2966, 1, 0, 0, 0, 2969, 2970, 5, 2, 0, 0, 2970, 3030, 1, 0, 0, 0, 2971, 2972, 5, 130, 0, 0, 2972, 2975, 3, 202, 101, 0, 2973, 2974, 5, 270, 0, 0, 2974, 2976, 3, 202, 101, 0, 2975, 2973, 1, 0, 0, 0, 2975, 2976, 1, 0, 0, 0, 2976, 3030, 1, 0, 0, 0, 2977, 2982, 5, 269, 0, 0, 2978, 2979, 5, 1, 0, 0, 2979, 2980, 3, 210, 105, 0, 2980, 2981, 5, 2, 0, 0, 2981, 2983, 1, 0, 0, 0, 2982, 2978, 1, 0, 0, 0, 2982, 2983, 1, 0, 0, 0, 2983, 2987, 1, 0, 0, 0, 2984, 2985, 7, 29, 0, 0, 2985, 2986, 5, 268, 0, 0, 2986, 2988, 5, 312, 0, 0, 2987, 2984, 1, 0, 0, 0, 2987, 2988, 1, 0, 0, 0, 2988, 3030, 1, 0, 0, 0, 2989, 2994, 5, 268, 0, 0, 2990, 2991, 5, 1, 0, 0, 2991, 2992, 3, 210, 105, 0, 2992, 2993, 5, 2, 0, 0, 2993, 2995, 1, 0, 0, 0, 2994, 2990, 1, 0, 0, 0, 2994, 2995, 1, 0, 0, 0, 2995, 2999, 1, 0, 0, 0, 2996, 2997, 7, 29, 0, 0, 2997, 2998, 5, 268, 0, 0, 2998, 3000, 5, 312, 0, 0, 2999, 2996, 1, 0, 0, 0, 2999, 3000, 1, 0, 0, 0, 3000, 3030, 1, 0, 0, 0, 3001, 3002, 5, 83, 0, 0, 3002, 3030, 5, 214, 0, 0, 3003, 3004, 5, 27, 0, 0, 3004, 3005, 5, 315, 0, 0, 3005, 3006, 3, 206, 103, 0, 3006, 3007, 5, 317, 0, 0, 3007, 3030, 1, 0, 0, 0, 3008, 3009, 5, 163, 0, 0, 3009, 3010, 5, 315, 0, 0, 3010, 3011, 3, 206, 103, 0, 3011, 3012, 5, 3, 0, 0, 3012, 3013, 3, 206, 103, 0, 3013, 3014, 5, 317, 0, 0, 3014, 3030, 1, 0, 0, 0, 3015, 3027, 3, 320, 160, 0, 3016, 3017, 5, 1, 0, 0, 3017, 3022, 3, 210, 105, 0, 3018, 3019, 5, 3, 0, 0, 3019, 3021, 3, 210, 105, 0, 3020, 3018, 1, 0, 0, 0, 3021, 3024, 1, 0, 0, 0, 3022, 3020, 1, 0, 0, 0, 3022, 3023, 1, 0, 0, 0, 3023, 3025, 1, 0, 0, 0, 3024, 3022, 1, 0, 0, 0, 3025, 3026, 5, 2, 0, 0, 3026, 3028, 1, 0, 0, 0, 3027, 3016, 1, 0, 0, 0, 3027, 3028, 1, 0, 0, 0, 3028, 3030, 1, 0, 0, 0, 3029, 2958, 1, 0, 0, 0, 3029, 2971, 1, 0, 0, 0, 3029, 2977, 1, 0, 0, 0, 3029, 2989, 1, 0, 0, 0, 3029, 3001, 1, 0, 0, 0, 3029, 3003, 1, 0, 0, 0, 3029, 3008, 1, 0, 0, 0, 3029, 3015, 1, 0, 0, 0, 3030, 3040, 1, 0, 0, 0, 3031, 3032, 10, 2, 0, 0, 3032, 3036, 5, 27, 0, 0, 3033, 3034, 5, 8, 0, 0, 3034, 3035, 5, 330, 0, 0, 3035, 3037, 5, 9, 0, 0, 3036, 3033, 1, 0, 0, 0, 3036, 3037, 1, 0, 0, 0, 3037, 3039, 1, 0, 0, 0, 3038, 3031, 1, 0, 0, 0, 3039, 3042, 1, 0, 0, 0, 3040, 3038, 1, 0, 0, 0, 3040, 3041, 1, 0, 0, 0, 3041, 207, 1, 0, 0, 0, 3042, 3040, 1, 0, 0, 0, 3043, 3048, 3, 206, 103, 0, 3044, 3045, 3, 320, 160, 0, 3045, 3046, 3, 206, 103, 0, 3046, 3048, 1, 0, 0, 0, 3047, 3043, 1, 0, 0, 0, 3047, 3044, 1, 0, 0, 0, 3048, 209, 1, 0, 0, 0, 3049, 3052, 5, 330, 0, 0, 3050, 3052, 3, 206, 103, 0, 3051, 3049, 1, 0, 0, 0, 3051, 3050, 1, 0, 0, 0, 3052, 211, 1, 0, 0, 0, 3053, 3054, 5, 301, 0, 0, 3054, 3055, 3, 158, 79, 0, 3055, 3056, 5, 266, 0, 0, 3056, 3057, 3, 158, 79, 0, 3057, 213, 1, 0, 0, 0, 3058, 3059, 5, 100, 0, 0, 3059, 3060, 5, 1, 0, 0, 3060, 3061, 3, 54, 27, 0, 3061, 3062, 5, 2, 0, 0, 3062, 215, 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, 158, 79, 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, 3071, 5, 288, 0, 0, 3071, 3072, 5, 252, 0, 0, 3072, 3073, 3, 320, 160, 0, 3073, 3074, 5, 313, 0, 0, 3074, 3082, 3, 158, 79, 0, 3075, 3076, 5, 3, 0, 0, 3076, 3077, 3, 320, 160, 0, 3077, 3078, 5, 313, 0, 0, 3078, 3079, 3, 158, 79, 0, 3079, 3081, 1, 0, 0, 0, 3080, 3075, 1, 0, 0, 0, 3081, 3084, 1, 0, 0, 0, 3082, 3080, 1, 0, 0, 0, 3082, 3083, 1, 0, 0, 0, 3083, 3128, 1, 0, 0, 0, 3084, 3082, 1, 0, 0, 0, 3085, 3086, 5, 301, 0, 0, 3086, 3089, 5, 165, 0, 0, 3087, 3088, 5, 25, 0, 0, 3088, 3090, 3, 158, 79, 0, 3089, 3087, 1, 0, 0, 0, 3089, 3090, 1, 0, 0, 0, 3090, 3091, 1, 0, 0, 0, 3091, 3092, 5, 266, 0, 0, 3092, 3128, 5, 74, 0, 0, 3093, 3094, 5, 301, 0, 0, 3094, 3095, 5, 183, 0, 0, 3095, 3098, 5, 165, 0, 0, 3096, 3097, 5, 25, 0, 0, 3097, 3099, 3, 158, 79, 0, 3098, 3096, 1, 0, 0, 0, 3098, 3099, 1, 0, 0, 0, 3099, 3100, 1, 0, 0, 0, 3100, 3101, 5, 266, 0, 0, 3101, 3113, 5, 128, 0, 0, 3102, 3103, 5, 1, 0, 0, 3103, 3108, 3, 320, 160, 0, 3104, 3105, 5, 3, 0, 0, 3105, 3107, 3, 320, 160, 0, 3106, 3104, 1, 0, 0, 0, 3107, 3110, 1, 0, 0, 0, 3108, 3106, 1, 0, 0, 0, 3108, 3109, 1, 0, 0, 0, 3109, 3111, 1, 0, 0, 0, 3110, 3108, 1, 0, 0, 0, 3111, 3112, 5, 2, 0, 0, 3112, 3114, 1, 0, 0, 0, 3113, 3102, 1, 0, 0, 0, 3113, 3114, 1, 0, 0, 0, 3114, 3115, 1, 0, 0, 0, 3115, 3116, 5, 297, 0, 0, 3116, 3117, 5, 1, 0, 0, 3117, 3122, 3, 158, 79, 0, 3118, 3119, 5, 3, 0, 0, 3119, 3121, 3, 158, 79, 0, 3120, 3118, 1, 0, 0, 0, 3121, 3124, 1, 0, 0, 0, 3122, 3120, 1, 0, 0, 0, 3122, 3123, 1, 0, 0, 0, 3123, 3125, 1, 0, 0, 0, 3124, 3122, 1, 0, 0, 0, 3125, 3126, 5, 2, 0, 0, 3126, 3128, 1, 0, 0, 0, 3127, 3063, 1, 0, 0, 0, 3127, 3085, 1, 0, 0, 0, 3127, 3093, 1, 0, 0, 0, 3128, 217, 1, 0, 0, 0, 3129, 3135, 5, 200, 0, 0, 3130, 3136, 3, 320, 160, 0, 3131, 3132, 5, 1, 0, 0, 3132, 3133, 3, 72, 36, 0, 3133, 3134, 5, 2, 0, 0, 3134, 3136, 1, 0, 0, 0, 3135, 3130, 1, 0, 0, 0, 3135, 3131, 1, 0, 0, 0, 3136, 219, 1, 0, 0, 0, 3137, 3138, 5, 169, 0, 0, 3138, 3143, 3, 110, 55, 0, 3139, 3140, 5, 3, 0, 0, 3140, 3142, 3, 110, 55, 0, 3141, 3139, 1, 0, 0, 0, 3142, 3145, 1, 0, 0, 0, 3143, 3141, 1, 0, 0, 0, 3143, 3144, 1, 0, 0, 0, 3144, 3147, 1, 0, 0, 0, 3145, 3143, 1, 0, 0, 0, 3146, 3137, 1, 0, 0, 0, 3146, 3147, 1, 0, 0, 0, 3147, 3148, 1, 0, 0, 0, 3148, 3152, 3, 222, 111, 0, 3149, 3150, 5, 21, 0, 0, 3150, 3151, 5, 164, 0, 0, 3151, 3153, 3, 116, 58, 0, 3152, 3149, 1, 0, 0, 0, 3152, 3153, 1, 0, 0, 0, 3153, 3155, 1, 0, 0, 0, 3154, 3156, 7, 13, 0, 0, 3155, 3154, 1, 0, 0, 0, 3155, 3156, 1, 0, 0, 0, 3156, 3162, 1, 0, 0, 0, 3157, 3158, 5, 207, 0, 0, 3158, 3159, 5, 1, 0, 0, 3159, 3160, 3, 226, 113, 0, 3160, 3161, 5, 2, 0, 0, 3161, 3163, 1, 0, 0, 0, 3162, 3157, 1, 0, 0, 0, 3162, 3163, 1, 0, 0, 0, 3163, 3173, 1, 0, 0, 0, 3164, 3165, 5, 258, 0, 0, 3165, 3170, 3, 118, 59, 0, 3166, 3167, 5, 3, 0, 0, 3167, 3169, 3, 118, 59, 0, 3168, 3166, 1, 0, 0, 0, 3169, 3172, 1, 0, 0, 0, 3170, 3168, 1, 0, 0, 0, 3170, 3171, 1, 0, 0, 0, 3171, 3174, 1, 0, 0, 0, 3172, 3170, 1, 0, 0, 0, 3173, 3164, 1, 0, 0, 0, 3173, 3174, 1, 0, 0, 0, 3174, 3184, 1, 0, 0, 0, 3175, 3176, 5, 72, 0, 0, 3176, 3181, 3, 120, 60, 0, 3177, 3178, 5, 3, 0, 0, 3178, 3180, 3, 120, 60, 0, 3179, 3177, 1, 0, 0, 0, 3180, 3183, 1, 0, 0, 0, 3181, 3179, 1, 0, 0, 0, 3181, 3182, 1, 0, 0, 0, 3182, 3185, 1, 0, 0, 0, 3183, 3181, 1, 0, 0, 0, 3184, 3175, 1, 0, 0, 0, 3184, 3185, 1, 0, 0, 0, 3185, 221, 1, 0, 0, 0, 3186, 3187, 5, 220, 0, 0, 3187, 3211, 3, 224, 112, 0, 3188, 3189, 5, 241, 0, 0, 3189, 3211, 3, 224, 112, 0, 3190, 3191, 5, 117, 0, 0, 3191, 3211, 3, 224, 112, 0, 3192, 3193, 5, 220, 0, 0, 3193, 3194, 5, 34, 0, 0, 3194, 3195, 3, 224, 112, 0, 3195, 3196, 5, 25, 0, 0, 3196, 3197, 3, 224, 112, 0, 3197, 3211, 1, 0, 0, 0, 3198, 3199, 5, 241, 0, 0, 3199, 3200, 5, 34, 0, 0, 3200, 3201, 3, 224, 112, 0, 3201, 3202, 5, 25, 0, 0, 3202, 3203, 3, 224, 112, 0, 3203, 3211, 1, 0, 0, 0, 3204, 3205, 5, 117, 0, 0, 3205, 3206, 5, 34, 0, 0, 3206, 3207, 3, 224, 112, 0, 3207, 3208, 5, 25, 0, 0, 3208, 3209, 3, 224, 112, 0, 3209, 3211, 1, 0, 0, 0, 3210, 3186, 1, 0, 0, 0, 3210, 3188, 1, 0, 0, 0, 3210, 3190, 1, 0, 0, 0, 3210, 3192, 1, 0, 0, 0, 3210, 3198, 1, 0, 0, 0, 3210, 3204, 1, 0, 0, 0, 3211, 223, 1, 0, 0, 0, 3212, 3213, 5, 279, 0, 0, 3213, 3222, 5, 213, 0, 0, 3214, 3215, 5, 279, 0, 0, 3215, 3222, 5, 103, 0, 0, 3216, 3217, 5, 57, 0, 0, 3217, 3222, 5, 240, 0, 0, 3218, 3219, 3, 158, 79, 0, 3219, 3220, 7, 30, 0, 0, 3220, 3222, 1, 0, 0, 0, 3221, 3212, 1, 0, 0, 0, 3221, 3214, 1, 0, 0, 0, 3221, 3216, 1, 0, 0, 0, 3221, 3218, 1, 0, 0, 0, 3222, 225, 1, 0, 0, 0, 3223, 3224, 6, 113, -1, 0, 3224, 3226, 3, 228, 114, 0, 3225, 3227, 3, 230, 115, 0, 3226, 3225, 1, 0, 0, 0, 3226, 3227, 1, 0, 0, 0, 3227, 3235, 1, 0, 0, 0, 3228, 3229, 10, 2, 0, 0, 3229, 3234, 3, 226, 113, 3, 3230, 3231, 10, 1, 0, 0, 3231, 3232, 5, 11, 0, 0, 3232, 3234, 3, 226, 113, 2, 3233, 3228, 1, 0, 0, 0, 3233, 3230, 1, 0, 0, 0, 3234, 3237, 1, 0, 0, 0, 3235, 3233, 1, 0, 0, 0, 3235, 3236, 1, 0, 0, 0, 3236, 227, 1, 0, 0, 0, 3237, 3235, 1, 0, 0, 0, 3238, 3264, 3, 320, 160, 0, 3239, 3240, 5, 1, 0, 0, 3240, 3264, 5, 2, 0, 0, 3241, 3242, 5, 210, 0, 0, 3242, 3243, 5, 1, 0, 0, 3243, 3248, 3, 226, 113, 0, 3244, 3245, 5, 3, 0, 0, 3245, 3247, 3, 226, 113, 0, 3246, 3244, 1, 0, 0, 0, 3247, 3250, 1, 0, 0, 0, 3248, 3246, 1, 0, 0, 0, 3248, 3249, 1, 0, 0, 0, 3249, 3251, 1, 0, 0, 0, 3250, 3248, 1, 0, 0, 0, 3251, 3252, 5, 2, 0, 0, 3252, 3264, 1, 0, 0, 0, 3253, 3254, 5, 1, 0, 0, 3254, 3255, 3, 226, 113, 0, 3255, 3256, 5, 2, 0, 0, 3256, 3264, 1, 0, 0, 0, 3257, 3264, 5, 12, 0, 0, 3258, 3264, 5, 13, 0, 0, 3259, 3260, 5, 14, 0, 0, 3260, 3261, 3, 226, 113, 0, 3261, 3262, 5, 15, 0, 0, 3262, 3264, 1, 0, 0, 0, 3263, 3238, 1, 0, 0, 0, 3263, 3239, 1, 0, 0, 0, 3263, 3241, 1, 0, 0, 0, 3263, 3253, 1, 0, 0, 0, 3263, 3257, 1, 0, 0, 0, 3263, 3258, 1, 0, 0, 0, 3263, 3259, 1, 0, 0, 0, 3264, 229, 1, 0, 0, 0, 3265, 3267, 5, 321, 0, 0, 3266, 3268, 5, 325, 0, 0, 3267, 3266, 1, 0, 0, 0, 3267, 3268, 1, 0, 0, 0, 3268, 3296, 1, 0, 0, 0, 3269, 3271, 5, 319, 0, 0, 3270, 3272, 5, 325, 0, 0, 3271, 3270, 1, 0, 0, 0, 3271, 3272, 1, 0, 0, 0, 3272, 3296, 1, 0, 0, 0, 3273, 3275, 5, 325, 0, 0, 3274, 3276, 5, 325, 0, 0, 3275, 3274, 1, 0, 0, 0, 3275, 3276, 1, 0, 0, 0, 3276, 3296, 1, 0, 0, 0, 3277, 3278, 5, 16, 0, 0, 3278, 3279, 5, 330, 0, 0, 3279, 3281, 5, 17, 0, 0, 3280, 3282, 5, 325, 0, 0, 3281, 3280, 1, 0, 0, 0, 3281, 3282, 1, 0, 0, 0, 3282, 3296, 1, 0, 0, 0, 3283, 3285, 5, 16, 0, 0, 3284, 3286, 5, 330, 0, 0, 3285, 3284, 1, 0, 0, 0, 3285, 3286, 1, 0, 0, 0, 3286, 3287, 1, 0, 0, 0, 3287, 3289, 5, 3, 0, 0, 3288, 3290, 5, 330, 0, 0, 3289, 3288, 1, 0, 0, 0, 3289, 3290, 1, 0, 0, 0, 3290, 3291, 1, 0, 0, 0, 3291, 3293, 5, 17, 0, 0, 3292, 3294, 5, 325, 0, 0, 3293, 3292, 1, 0, 0, 0, 3293, 3294, 1, 0, 0, 0, 3294, 3296, 1, 0, 0, 0, 3295, 3265, 1, 0, 0, 0, 3295, 3269, 1, 0, 0, 0, 3295, 3273, 1, 0, 0, 0, 3295, 3277, 1, 0, 0, 0, 3295, 3283, 1, 0, 0, 0, 3296, 231, 1, 0, 0, 0, 3297, 3298, 3, 320, 160, 0, 3298, 3299, 5, 313, 0, 0, 3299, 3300, 3, 158, 79, 0, 3300, 233, 1, 0, 0, 0, 3301, 3302, 5, 105, 0, 0, 3302, 3306, 7, 31, 0, 0, 3303, 3304, 5, 277, 0, 0, 3304, 3306, 7, 32, 0, 0, 3305, 3301, 1, 0, 0, 0, 3305, 3303, 1, 0, 0, 0, 3306, 235, 1, 0, 0, 0, 3307, 3308, 5, 135, 0, 0, 3308, 3309, 5, 154, 0, 0, 3309, 3313, 3, 238, 119, 0, 3310, 3311, 5, 221, 0, 0, 3311, 3313, 7, 33, 0, 0, 3312, 3307, 1, 0, 0, 0, 3312, 3310, 1, 0, 0, 0, 3313, 237, 1, 0, 0, 0, 3314, 3315, 5, 221, 0, 0, 3315, 3322, 5, 280, 0, 0, 3316, 3317, 5, 221, 0, 0, 3317, 3322, 5, 49, 0, 0, 3318, 3319, 5, 226, 0, 0, 3319, 3322, 5, 221, 0, 0, 3320, 3322, 5, 250, 0, 0, 3321, 3314, 1, 0, 0, 0, 3321, 3316, 1, 0, 0, 0, 3321, 3318, 1, 0, 0, 0, 3321, 3320, 1, 0, 0, 0, 3322, 239, 1, 0, 0, 0, 3323, 3329, 3, 158, 79, 0, 3324, 3325, 3, 320, 160, 0, 3325, 3326, 5, 6, 0, 0, 3326, 3327, 3, 158, 79, 0, 3327, 3329, 1, 0, 0, 0, 3328, 3323, 1, 0, 0, 0, 3328, 3324, 1, 0, 0, 0, 3329, 241, 1, 0, 0, 0, 3330, 3331, 3, 320, 160, 0, 3331, 3332, 5, 4, 0, 0, 3332, 3333, 3, 320, 160, 0, 3333, 3336, 1, 0, 0, 0, 3334, 3336, 3, 320, 160, 0, 3335, 3330, 1, 0, 0, 0, 3335, 3334, 1, 0, 0, 0, 3336, 243, 1, 0, 0, 0, 3337, 3342, 3, 242, 121, 0, 3338, 3339, 5, 3, 0, 0, 3339, 3341, 3, 242, 121, 0, 3340, 3338, 1, 0, 0, 0, 3341, 3344, 1, 0, 0, 0, 3342, 3340, 1, 0, 0, 0, 3342, 3343, 1, 0, 0, 0, 3343, 245, 1, 0, 0, 0, 3344, 3342, 1, 0, 0, 0, 3345, 3346, 5, 108, 0, 0, 3346, 3347, 3, 248, 124, 0, 3347, 3351, 3, 254, 127, 0, 3348, 3350, 3, 256, 128, 0, 3349, 3348, 1, 0, 0, 0, 3350, 3353, 1, 0, 0, 0, 3351, 3349, 1, 0, 0, 0, 3351, 3352, 1, 0, 0, 0, 3352, 3354, 1, 0, 0, 0, 3353, 3351, 1, 0, 0, 0, 3354, 3355, 3, 258, 129, 0, 3355, 247, 1, 0, 0, 0, 3356, 3357, 3, 296, 148, 0, 3357, 3366, 5, 1, 0, 0, 3358, 3363, 3, 252, 126, 0, 3359, 3360, 5, 3, 0, 0, 3360, 3362, 3, 252, 126, 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, 3367, 1, 0, 0, 0, 3365, 3363, 1, 0, 0, 0, 3366, 3358, 1, 0, 0, 0, 3366, 3367, 1, 0, 0, 0, 3367, 3368, 1, 0, 0, 0, 3368, 3369, 5, 2, 0, 0, 3369, 249, 1, 0, 0, 0, 3370, 3371, 3, 294, 147, 0, 3371, 3380, 5, 1, 0, 0, 3372, 3377, 3, 252, 126, 0, 3373, 3374, 5, 3, 0, 0, 3374, 3376, 3, 252, 126, 0, 3375, 3373, 1, 0, 0, 0, 3376, 3379, 1, 0, 0, 0, 3377, 3375, 1, 0, 0, 0, 3377, 3378, 1, 0, 0, 0, 3378, 3381, 1, 0, 0, 0, 3379, 3377, 1, 0, 0, 0, 3380, 3372, 1, 0, 0, 0, 3380, 3381, 1, 0, 0, 0, 3381, 3382, 1, 0, 0, 0, 3382, 3383, 5, 2, 0, 0, 3383, 251, 1, 0, 0, 0, 3384, 3386, 3, 320, 160, 0, 3385, 3384, 1, 0, 0, 0, 3385, 3386, 1, 0, 0, 0, 3386, 3387, 1, 0, 0, 0, 3387, 3388, 3, 206, 103, 0, 3388, 253, 1, 0, 0, 0, 3389, 3390, 5, 233, 0, 0, 3390, 3391, 3, 206, 103, 0, 3391, 255, 1, 0, 0, 0, 3392, 3393, 5, 148, 0, 0, 3393, 3412, 3, 320, 160, 0, 3394, 3396, 5, 183, 0, 0, 3395, 3394, 1, 0, 0, 0, 3395, 3396, 1, 0, 0, 0, 3396, 3397, 1, 0, 0, 0, 3397, 3412, 5, 79, 0, 0, 3398, 3399, 5, 233, 0, 0, 3399, 3400, 5, 184, 0, 0, 3400, 3401, 5, 191, 0, 0, 3401, 3402, 5, 184, 0, 0, 3402, 3412, 5, 127, 0, 0, 3403, 3404, 5, 38, 0, 0, 3404, 3405, 5, 191, 0, 0, 3405, 3406, 5, 184, 0, 0, 3406, 3412, 5, 127, 0, 0, 3407, 3408, 5, 247, 0, 0, 3408, 3412, 7, 1, 0, 0, 3409, 3410, 5, 47, 0, 0, 3410, 3412, 3, 190, 95, 0, 3411, 3392, 1, 0, 0, 0, 3411, 3395, 1, 0, 0, 0, 3411, 3398, 1, 0, 0, 0, 3411, 3403, 1, 0, 0, 0, 3411, 3407, 1, 0, 0, 0, 3411, 3409, 1, 0, 0, 0, 3412, 257, 1, 0, 0, 0, 3413, 3414, 5, 231, 0, 0, 3414, 3513, 3, 164, 82, 0, 3415, 3416, 5, 252, 0, 0, 3416, 3417, 3, 320, 160, 0, 3417, 3418, 5, 313, 0, 0, 3418, 3419, 3, 158, 79, 0, 3419, 3513, 1, 0, 0, 0, 3420, 3421, 5, 40, 0, 0, 3421, 3423, 3, 158, 79, 0, 3422, 3424, 3, 260, 130, 0, 3423, 3422, 1, 0, 0, 0, 3424, 3425, 1, 0, 0, 0, 3425, 3423, 1, 0, 0, 0, 3425, 3426, 1, 0, 0, 0, 3426, 3428, 1, 0, 0, 0, 3427, 3429, 3, 264, 132, 0, 3428, 3427, 1, 0, 0, 0, 3428, 3429, 1, 0, 0, 0, 3429, 3430, 1, 0, 0, 0, 3430, 3431, 5, 89, 0, 0, 3431, 3432, 5, 40, 0, 0, 3432, 3513, 1, 0, 0, 0, 3433, 3435, 5, 40, 0, 0, 3434, 3436, 3, 260, 130, 0, 3435, 3434, 1, 0, 0, 0, 3436, 3437, 1, 0, 0, 0, 3437, 3435, 1, 0, 0, 0, 3437, 3438, 1, 0, 0, 0, 3438, 3440, 1, 0, 0, 0, 3439, 3441, 3, 264, 132, 0, 3440, 3439, 1, 0, 0, 0, 3440, 3441, 1, 0, 0, 0, 3441, 3442, 1, 0, 0, 0, 3442, 3443, 5, 89, 0, 0, 3443, 3444, 5, 40, 0, 0, 3444, 3513, 1, 0, 0, 0, 3445, 3446, 5, 120, 0, 0, 3446, 3447, 3, 158, 79, 0, 3447, 3448, 5, 266, 0, 0, 3448, 3452, 3, 268, 134, 0, 3449, 3451, 3, 262, 131, 0, 3450, 3449, 1, 0, 0, 0, 3451, 3454, 1, 0, 0, 0, 3452, 3450, 1, 0, 0, 0, 3452, 3453, 1, 0, 0, 0, 3453, 3456, 1, 0, 0, 0, 3454, 3452, 1, 0, 0, 0, 3455, 3457, 3, 264, 132, 0, 3456, 3455, 1, 0, 0, 0, 3456, 3457, 1, 0, 0, 0, 3457, 3458, 1, 0, 0, 0, 3458, 3459, 5, 89, 0, 0, 3459, 3460, 5, 120, 0, 0, 3460, 3513, 1, 0, 0, 0, 3461, 3462, 5, 136, 0, 0, 3462, 3513, 3, 320, 160, 0, 3463, 3464, 5, 152, 0, 0, 3464, 3513, 3, 320, 160, 0, 3465, 3471, 5, 32, 0, 0, 3466, 3467, 3, 266, 133, 0, 3467, 3468, 5, 326, 0, 0, 3468, 3470, 1, 0, 0, 0, 3469, 3466, 1, 0, 0, 0, 3470, 3473, 1, 0, 0, 0, 3471, 3469, 1, 0, 0, 0, 3471, 3472, 1, 0, 0, 0, 3472, 3475, 1, 0, 0, 0, 3473, 3471, 1, 0, 0, 0, 3474, 3476, 3, 268, 134, 0, 3475, 3474, 1, 0, 0, 0, 3475, 3476, 1, 0, 0, 0, 3476, 3477, 1, 0, 0, 0, 3477, 3513, 5, 89, 0, 0, 3478, 3479, 3, 320, 160, 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, 162, 0, 0, 3484, 3485, 3, 268, 134, 0, 3485, 3486, 5, 89, 0, 0, 3486, 3487, 5, 162, 0, 0, 3487, 3513, 1, 0, 0, 0, 3488, 3489, 3, 320, 160, 0, 3489, 3490, 5, 10, 0, 0, 3490, 3492, 1, 0, 0, 0, 3491, 3488, 1, 0, 0, 0, 3491, 3492, 1, 0, 0, 0, 3492, 3493, 1, 0, 0, 0, 3493, 3494, 5, 303, 0, 0, 3494, 3495, 3, 158, 79, 0, 3495, 3496, 5, 82, 0, 0, 3496, 3497, 3, 268, 134, 0, 3497, 3498, 5, 89, 0, 0, 3498, 3499, 5, 303, 0, 0, 3499, 3513, 1, 0, 0, 0, 3500, 3501, 3, 320, 160, 0, 3501, 3502, 5, 10, 0, 0, 3502, 3504, 1, 0, 0, 0, 3503, 3500, 1, 0, 0, 0, 3503, 3504, 1, 0, 0, 0, 3504, 3505, 1, 0, 0, 0, 3505, 3506, 5, 225, 0, 0, 3506, 3507, 3, 268, 134, 0, 3507, 3508, 5, 287, 0, 0, 3508, 3509, 3, 158, 79, 0, 3509, 3510, 5, 89, 0, 0, 3510, 3511, 5, 225, 0, 0, 3511, 3513, 1, 0, 0, 0, 3512, 3413, 1, 0, 0, 0, 3512, 3415, 1, 0, 0, 0, 3512, 3420, 1, 0, 0, 0, 3512, 3433, 1, 0, 0, 0, 3512, 3445, 1, 0, 0, 0, 3512, 3461, 1, 0, 0, 0, 3512, 3463, 1, 0, 0, 0, 3512, 3465, 1, 0, 0, 0, 3512, 3481, 1, 0, 0, 0, 3512, 3491, 1, 0, 0, 0, 3512, 3503, 1, 0, 0, 0, 3513, 259, 1, 0, 0, 0, 3514, 3515, 5, 301, 0, 0, 3515, 3516, 3, 158, 79, 0, 3516, 3517, 5, 266, 0, 0, 3517, 3518, 3, 268, 134, 0, 3518, 261, 1, 0, 0, 0, 3519, 3520, 5, 87, 0, 0, 3520, 3521, 3, 158, 79, 0, 3521, 3522, 5, 266, 0, 0, 3522, 3523, 3, 268, 134, 0, 3523, 263, 1, 0, 0, 0, 3524, 3525, 5, 85, 0, 0, 3525, 3526, 3, 268, 134, 0, 3526, 265, 1, 0, 0, 0, 3527, 3528, 5, 70, 0, 0, 3528, 3533, 3, 320, 160, 0, 3529, 3530, 5, 3, 0, 0, 3530, 3532, 3, 320, 160, 0, 3531, 3529, 1, 0, 0, 0, 3532, 3535, 1, 0, 0, 0, 3533, 3531, 1, 0, 0, 0, 3533, 3534, 1, 0, 0, 0, 3534, 3536, 1, 0, 0, 0, 3535, 3533, 1, 0, 0, 0, 3536, 3539, 3, 206, 103, 0, 3537, 3538, 5, 71, 0, 0, 3538, 3540, 3, 164, 82, 0, 3539, 3537, 1, 0, 0, 0, 3539, 3540, 1, 0, 0, 0, 3540, 267, 1, 0, 0, 0, 3541, 3542, 3, 258, 129, 0, 3542, 3543, 5, 326, 0, 0, 3543, 3545, 1, 0, 0, 0, 3544, 3541, 1, 0, 0, 0, 3545, 3546, 1, 0, 0, 0, 3546, 3544, 1, 0, 0, 0, 3546, 3547, 1, 0, 0, 0, 3547, 269, 1, 0, 0, 0, 3548, 3555, 5, 54, 0, 0, 3549, 3555, 5, 249, 0, 0, 3550, 3555, 5, 74, 0, 0, 3551, 3555, 5, 128, 0, 0, 3552, 3555, 5, 288, 0, 0, 3553, 3555, 3, 320, 160, 0, 3554, 3548, 1, 0, 0, 0, 3554, 3549, 1, 0, 0, 0, 3554, 3550, 1, 0, 0, 0, 3554, 3551, 1, 0, 0, 0, 3554, 3552, 1, 0, 0, 0, 3554, 3553, 1, 0, 0, 0, 3555, 271, 1, 0, 0, 0, 3556, 3560, 5, 261, 0, 0, 3557, 3560, 5, 244, 0, 0, 3558, 3560, 3, 320, 160, 0, 3559, 3556, 1, 0, 0, 0, 3559, 3557, 1, 0, 0, 0, 3559, 3558, 1, 0, 0, 0, 3560, 273, 1, 0, 0, 0, 3561, 3563, 3, 272, 136, 0, 3562, 3561, 1, 0, 0, 0, 3562, 3563, 1, 0, 0, 0, 3563, 3564, 1, 0, 0, 0, 3564, 3565, 3, 306, 153, 0, 3565, 275, 1, 0, 0, 0, 3566, 3569, 3, 278, 139, 0, 3567, 3569, 3, 282, 141, 0, 3568, 3566, 1, 0, 0, 0, 3568, 3567, 1, 0, 0, 0, 3569, 277, 1, 0, 0, 0, 3570, 3582, 3, 320, 160, 0, 3571, 3572, 3, 320, 160, 0, 3572, 3573, 5, 4, 0, 0, 3573, 3574, 3, 320, 160, 0, 3574, 3582, 1, 0, 0, 0, 3575, 3576, 3, 320, 160, 0, 3576, 3577, 5, 4, 0, 0, 3577, 3578, 3, 320, 160, 0, 3578, 3579, 5, 4, 0, 0, 3579, 3580, 3, 320, 160, 0, 3580, 3582, 1, 0, 0, 0, 3581, 3570, 1, 0, 0, 0, 3581, 3571, 1, 0, 0, 0, 3581, 3575, 1, 0, 0, 0, 3582, 279, 1, 0, 0, 0, 3583, 3595, 3, 320, 160, 0, 3584, 3585, 3, 320, 160, 0, 3585, 3586, 5, 4, 0, 0, 3586, 3587, 3, 320, 160, 0, 3587, 3595, 1, 0, 0, 0, 3588, 3589, 3, 320, 160, 0, 3589, 3590, 5, 4, 0, 0, 3590, 3591, 3, 320, 160, 0, 3591, 3592, 5, 4, 0, 0, 3592, 3593, 3, 320, 160, 0, 3593, 3595, 1, 0, 0, 0, 3594, 3583, 1, 0, 0, 0, 3594, 3584, 1, 0, 0, 0, 3594, 3588, 1, 0, 0, 0, 3595, 281, 1, 0, 0, 0, 3596, 3608, 3, 320, 160, 0, 3597, 3598, 3, 320, 160, 0, 3598, 3599, 5, 4, 0, 0, 3599, 3600, 3, 320, 160, 0, 3600, 3608, 1, 0, 0, 0, 3601, 3602, 3, 320, 160, 0, 3602, 3603, 5, 4, 0, 0, 3603, 3604, 3, 320, 160, 0, 3604, 3605, 5, 4, 0, 0, 3605, 3606, 3, 320, 160, 0, 3606, 3608, 1, 0, 0, 0, 3607, 3596, 1, 0, 0, 0, 3607, 3597, 1, 0, 0, 0, 3607, 3601, 1, 0, 0, 0, 3608, 283, 1, 0, 0, 0, 3609, 3621, 3, 320, 160, 0, 3610, 3611, 3, 320, 160, 0, 3611, 3612, 5, 4, 0, 0, 3612, 3613, 3, 320, 160, 0, 3613, 3621, 1, 0, 0, 0, 3614, 3615, 3, 320, 160, 0, 3615, 3616, 5, 4, 0, 0, 3616, 3617, 3, 320, 160, 0, 3617, 3618, 5, 4, 0, 0, 3618, 3619, 3, 320, 160, 0, 3619, 3621, 1, 0, 0, 0, 3620, 3609, 1, 0, 0, 0, 3620, 3610, 1, 0, 0, 0, 3620, 3614, 1, 0, 0, 0, 3621, 285, 1, 0, 0, 0, 3622, 3628, 3, 320, 160, 0, 3623, 3624, 3, 320, 160, 0, 3624, 3625, 5, 4, 0, 0, 3625, 3626, 3, 320, 160, 0, 3626, 3628, 1, 0, 0, 0, 3627, 3622, 1, 0, 0, 0, 3627, 3623, 1, 0, 0, 0, 3628, 287, 1, 0, 0, 0, 3629, 3635, 3, 320, 160, 0, 3630, 3631, 3, 320, 160, 0, 3631, 3632, 5, 4, 0, 0, 3632, 3633, 3, 320, 160, 0, 3633, 3635, 1, 0, 0, 0, 3634, 3629, 1, 0, 0, 0, 3634, 3630, 1, 0, 0, 0, 3635, 289, 1, 0, 0, 0, 3636, 3637, 3, 320, 160, 0, 3637, 291, 1, 0, 0, 0, 3638, 3639, 3, 320, 160, 0, 3639, 293, 1, 0, 0, 0, 3640, 3641, 3, 306, 153, 0, 3641, 295, 1, 0, 0, 0, 3642, 3643, 3, 306, 153, 0, 3643, 297, 1, 0, 0, 0, 3644, 3647, 3, 306, 153, 0, 3645, 3647, 4, 149, 16, 0, 3646, 3644, 1, 0, 0, 0, 3646, 3645, 1, 0, 0, 0, 3647, 299, 1, 0, 0, 0, 3648, 3649, 1, 0, 0, 0, 3649, 301, 1, 0, 0, 0, 3650, 3651, 3, 306, 153, 0, 3651, 303, 1, 0, 0, 0, 3652, 3653, 3, 320, 160, 0, 3653, 305, 1, 0, 0, 0, 3654, 3659, 3, 320, 160, 0, 3655, 3656, 5, 4, 0, 0, 3656, 3658, 3, 320, 160, 0, 3657, 3655, 1, 0, 0, 0, 3658, 3661, 1, 0, 0, 0, 3659, 3657, 1, 0, 0, 0, 3659, 3660, 1, 0, 0, 0, 3660, 307, 1, 0, 0, 0, 3661, 3659, 1, 0, 0, 0, 3662, 3663, 5, 104, 0, 0, 3663, 3664, 3, 310, 155, 0, 3664, 3665, 5, 28, 0, 0, 3665, 3666, 5, 188, 0, 0, 3666, 3667, 3, 164, 82, 0, 3667, 309, 1, 0, 0, 0, 3668, 3669, 7, 34, 0, 0, 3669, 311, 1, 0, 0, 0, 3670, 3674, 3, 314, 157, 0, 3671, 3674, 5, 65, 0, 0, 3672, 3674, 5, 61, 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, 3, 320, 160, 0, 3676, 3677, 5, 290, 0, 0, 3677, 3681, 3, 320, 160, 0, 3678, 3679, 5, 236, 0, 0, 3679, 3681, 3, 320, 160, 0, 3680, 3675, 1, 0, 0, 0, 3680, 3676, 1, 0, 0, 0, 3680, 3678, 1, 0, 0, 0, 3681, 315, 1, 0, 0, 0, 3682, 3687, 3, 320, 160, 0, 3683, 3684, 5, 3, 0, 0, 3684, 3686, 3, 320, 160, 0, 3685, 3683, 1, 0, 0, 0, 3686, 3689, 1, 0, 0, 0, 3687, 3685, 1, 0, 0, 0, 3687, 3688, 1, 0, 0, 0, 3688, 317, 1, 0, 0, 0, 3689, 3687, 1, 0, 0, 0, 3690, 3698, 5, 54, 0, 0, 3691, 3698, 5, 249, 0, 0, 3692, 3698, 5, 74, 0, 0, 3693, 3698, 5, 128, 0, 0, 3694, 3698, 5, 288, 0, 0, 3695, 3698, 5, 94, 0, 0, 3696, 3698, 3, 320, 160, 0, 3697, 3690, 1, 0, 0, 0, 3697, 3691, 1, 0, 0, 0, 3697, 3692, 1, 0, 0, 0, 3697, 3693, 1, 0, 0, 0, 3697, 3694, 1, 0, 0, 0, 3697, 3695, 1, 0, 0, 0, 3697, 3696, 1, 0, 0, 0, 3698, 319, 1, 0, 0, 0, 3699, 3705, 5, 333, 0, 0, 3700, 3705, 5, 335, 0, 0, 3701, 3705, 3, 326, 163, 0, 3702, 3705, 5, 336, 0, 0, 3703, 3705, 5, 334, 0, 0, 3704, 3699, 1, 0, 0, 0, 3704, 3700, 1, 0, 0, 0, 3704, 3701, 1, 0, 0, 0, 3704, 3702, 1, 0, 0, 0, 3704, 3703, 1, 0, 0, 0, 3705, 321, 1, 0, 0, 0, 3706, 3708, 5, 320, 0, 0, 3707, 3706, 1, 0, 0, 0, 3707, 3708, 1, 0, 0, 0, 3708, 3709, 1, 0, 0, 0, 3709, 3719, 5, 331, 0, 0, 3710, 3712, 5, 320, 0, 0, 3711, 3710, 1, 0, 0, 0, 3711, 3712, 1, 0, 0, 0, 3712, 3713, 1, 0, 0, 0, 3713, 3719, 5, 332, 0, 0, 3714, 3716, 5, 320, 0, 0, 3715, 3714, 1, 0, 0, 0, 3715, 3716, 1, 0, 0, 0, 3716, 3717, 1, 0, 0, 0, 3717, 3719, 5, 330, 0, 0, 3718, 3707, 1, 0, 0, 0, 3718, 3711, 1, 0, 0, 0, 3718, 3715, 1, 0, 0, 0, 3719, 323, 1, 0, 0, 0, 3720, 3723, 3, 320, 160, 0, 3721, 3723, 3, 190, 95, 0, 3722, 3720, 1, 0, 0, 0, 3722, 3721, 1, 0, 0, 0, 3723, 325, 1, 0, 0, 0, 3724, 3725, 7, 35, 0, 0, 3725, 327, 1, 0, 0, 0, 480, 331, 340, 344, 348, 352, 356, 369, 376, 380, 384, 390, 394, 401, 406, 410, 416, 420, 439, 445, 449, 453, 457, 465, 469, 472, 477, 483, 492, 498, 502, 508, 515, 523, 535, 544, 553, 559, 570, 578, 586, 593, 603, 610, 618, 633, 668, 671, 674, 677, 683, 688, 695, 701, 705, 709, 717, 723, 727, 731, 745, 753, 772, 797, 800, 807, 814, 823, 827, 834, 842, 851, 857, 862, 866, 874, 879, 888, 894, 901, 910, 916, 920, 926, 933, 938, 951, 956, 968, 972, 978, 987, 992, 998, 1026, 1032, 1034, 1040, 1046, 1048, 1056, 1058, 1068, 1070, 1085, 1090, 1097, 1107, 1113, 1115, 1123, 1125, 1150, 1153, 1157, 1161, 1179, 1182, 1193, 1196, 1212, 1222, 1226, 1232, 1235, 1244, 1256, 1259, 1269, 1273, 1279, 1286, 1291, 1297, 1301, 1305, 1311, 1322, 1331, 1341, 1344, 1349, 1351, 1358, 1364, 1366, 1370, 1380, 1386, 1389, 1391, 1403, 1410, 1414, 1417, 1421, 1425, 1434, 1437, 1440, 1445, 1448, 1456, 1459, 1472, 1476, 1483, 1491, 1502, 1505, 1515, 1518, 1529, 1534, 1542, 1545, 1549, 1553, 1562, 1567, 1576, 1579, 1582, 1586, 1597, 1600, 1603, 1608, 1611, 1640, 1644, 1648, 1652, 1656, 1660, 1662, 1668, 1677, 1682, 1694, 1703, 1712, 1715, 1721, 1729, 1738, 1741, 1749, 1752, 1755, 1760, 1763, 1775, 1778, 1786, 1791, 1795, 1797, 1799, 1814, 1816, 1827, 1848, 1858, 1869, 1873, 1875, 1883, 1894, 1905, 1912, 1919, 1932, 1938, 1960, 1975, 1980, 1984, 1994, 2000, 2006, 2014, 2019, 2026, 2028, 2034, 2040, 2044, 2049, 2058, 2063, 2077, 2087, 2090, 2099, 2104, 2109, 2111, 2120, 2123, 2131, 2134, 2141, 2146, 2153, 2157, 2159, 2167, 2177, 2183, 2185, 2192, 2196, 2198, 2205, 2209, 2211, 2213, 2222, 2233, 2237, 2247, 2257, 2261, 2269, 2271, 2284, 2292, 2301, 2307, 2315, 2321, 2325, 2330, 2335, 2341, 2355, 2357, 2387, 2398, 2406, 2411, 2416, 2429, 2435, 2438, 2445, 2450, 2453, 2456, 2461, 2468, 2471, 2480, 2483, 2487, 2490, 2493, 2508, 2511, 2530, 2534, 2542, 2546, 2571, 2574, 2583, 2589, 2595, 2601, 2610, 2613, 2616, 2635, 2644, 2662, 2678, 2681, 2691, 2700, 2706, 2712, 2723, 2725, 2730, 2737, 2739, 2745, 2751, 2762, 2771, 2776, 2781, 2783, 2785, 2791, 2793, 2803, 2812, 2814, 2820, 2822, 2825, 2835, 2837, 2845, 2853, 2856, 2861, 2866, 2878, 2882, 2886, 2889, 2891, 2899, 2902, 2912, 2920, 2926, 2928, 2936, 2946, 2952, 2966, 2975, 2982, 2987, 2994, 2999, 3022, 3027, 3029, 3036, 3040, 3047, 3051, 3067, 3082, 3089, 3098, 3108, 3113, 3122, 3127, 3135, 3143, 3146, 3152, 3155, 3162, 3170, 3173, 3181, 3184, 3210, 3221, 3226, 3233, 3235, 3248, 3263, 3267, 3271, 3275, 3281, 3285, 3289, 3293, 3295, 3305, 3312, 3321, 3328, 3335, 3342, 3351, 3363, 3366, 3377, 3380, 3385, 3395, 3411, 3425, 3428, 3437, 3440, 3452, 3456, 3471, 3475, 3481, 3491, 3503, 3512, 3533, 3539, 3546, 3554, 3559, 3562, 3568, 3581, 3594, 3607, 3620, 3627, 3634, 3646, 3659, 3673, 3680, 3687, 3697, 3704, 3707, 3711, 3715, 3718, 3722] \ No newline at end of file +[4, 1, 342, 3623, 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, 1, 0, 5, 0, 286, 8, 0, 10, 0, 12, 0, 289, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 3, 2, 297, 8, 2, 1, 3, 1, 3, 3, 3, 301, 8, 3, 1, 4, 1, 4, 3, 4, 305, 8, 4, 1, 5, 1, 5, 3, 5, 309, 8, 5, 1, 6, 1, 6, 3, 6, 313, 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, 326, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 333, 8, 8, 1, 8, 1, 8, 3, 8, 337, 8, 8, 1, 8, 1, 8, 3, 8, 341, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 347, 8, 8, 1, 8, 1, 8, 3, 8, 351, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 358, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 363, 8, 8, 1, 8, 1, 8, 3, 8, 367, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 373, 8, 8, 1, 8, 1, 8, 3, 8, 377, 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, 396, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 402, 8, 8, 1, 8, 1, 8, 3, 8, 406, 8, 8, 1, 8, 1, 8, 3, 8, 410, 8, 8, 1, 8, 1, 8, 3, 8, 414, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 422, 8, 8, 1, 8, 1, 8, 3, 8, 426, 8, 8, 1, 8, 3, 8, 429, 8, 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, 1, 8, 1, 8, 1, 8, 5, 8, 447, 8, 8, 10, 8, 12, 8, 450, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 455, 8, 8, 1, 8, 1, 8, 3, 8, 459, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 465, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 472, 8, 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, 1, 8, 1, 8, 1, 8, 3, 8, 492, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 501, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 510, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 516, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 527, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 535, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 543, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 550, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 560, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 567, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 575, 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, 590, 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, 623, 8, 8, 10, 8, 12, 8, 626, 9, 8, 3, 8, 628, 8, 8, 1, 8, 3, 8, 631, 8, 8, 1, 8, 3, 8, 634, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 640, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 645, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 652, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 658, 8, 8, 1, 8, 1, 8, 3, 8, 662, 8, 8, 1, 8, 1, 8, 3, 8, 666, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 674, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 680, 8, 8, 1, 8, 1, 8, 3, 8, 684, 8, 8, 1, 8, 1, 8, 3, 8, 688, 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, 702, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 710, 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, 729, 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, 752, 8, 8, 10, 8, 12, 8, 755, 9, 8, 3, 8, 757, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 764, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 771, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 778, 8, 8, 10, 8, 12, 8, 781, 9, 8, 3, 8, 783, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 793, 8, 8, 1, 8, 1, 8, 3, 8, 797, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 804, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 810, 8, 8, 10, 8, 12, 8, 813, 9, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 819, 8, 8, 10, 8, 12, 8, 822, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 827, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 832, 8, 8, 1, 8, 1, 8, 3, 8, 836, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 842, 8, 8, 10, 8, 12, 8, 845, 9, 8, 1, 8, 1, 8, 3, 8, 849, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 858, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 864, 8, 8, 1, 8, 1, 8, 1, 8, 5, 8, 869, 8, 8, 10, 8, 12, 8, 872, 9, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 878, 8, 8, 10, 8, 12, 8, 881, 9, 8, 1, 8, 1, 8, 1, 8, 3, 8, 886, 8, 8, 1, 8, 1, 8, 3, 8, 890, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 896, 8, 8, 1, 8, 1, 8, 1, 8, 5, 8, 901, 8, 8, 10, 8, 12, 8, 904, 9, 8, 1, 8, 1, 8, 3, 8, 908, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 919, 8, 8, 10, 8, 12, 8, 922, 9, 8, 1, 8, 1, 8, 3, 8, 926, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 938, 8, 8, 1, 8, 1, 8, 3, 8, 942, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 948, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 955, 8, 8, 10, 8, 12, 8, 958, 9, 8, 1, 8, 1, 8, 3, 8, 962, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 968, 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, 996, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1002, 8, 8, 3, 8, 1004, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1010, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1016, 8, 8, 3, 8, 1018, 8, 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, 3, 8, 1038, 8, 8, 3, 8, 1040, 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, 1055, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1060, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1067, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1077, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1083, 8, 8, 3, 8, 1085, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1093, 8, 8, 3, 8, 1095, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1102, 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, 1121, 8, 8, 10, 8, 12, 8, 1124, 9, 8, 3, 8, 1126, 8, 8, 1, 8, 1, 8, 3, 8, 1130, 8, 8, 1, 8, 1, 8, 3, 8, 1134, 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, 1150, 8, 8, 10, 8, 12, 8, 1153, 9, 8, 3, 8, 1155, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1164, 8, 8, 10, 8, 12, 8, 1167, 9, 8, 3, 8, 1169, 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, 1185, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 1193, 8, 8, 10, 8, 12, 8, 1196, 9, 8, 1, 8, 3, 8, 1199, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1205, 8, 8, 1, 8, 3, 8, 1208, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 4, 8, 1215, 8, 8, 11, 8, 12, 8, 1216, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 1229, 8, 8, 1, 9, 3, 9, 1232, 8, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 1240, 8, 10, 10, 10, 12, 10, 1243, 9, 10, 1, 11, 3, 11, 1246, 8, 11, 1, 11, 1, 11, 1, 12, 1, 12, 3, 12, 1252, 8, 12, 1, 12, 1, 12, 1, 12, 5, 12, 1257, 8, 12, 10, 12, 12, 12, 1260, 9, 12, 1, 13, 1, 13, 3, 13, 1264, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 1270, 8, 14, 1, 14, 1, 14, 3, 14, 1274, 8, 14, 1, 14, 1, 14, 3, 14, 1278, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 1284, 8, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 5, 17, 1293, 8, 17, 10, 17, 12, 17, 1296, 9, 17, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 1302, 8, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 5, 19, 1310, 8, 19, 10, 19, 12, 19, 1313, 9, 19, 3, 19, 1315, 8, 19, 1, 19, 1, 19, 1, 19, 3, 19, 1320, 8, 19, 3, 19, 1322, 8, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 3, 19, 1329, 8, 19, 1, 19, 1, 19, 1, 19, 1, 19, 3, 19, 1335, 8, 19, 3, 19, 1337, 8, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1345, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 1351, 8, 20, 1, 20, 5, 20, 1354, 8, 20, 10, 20, 12, 20, 1357, 9, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 5, 21, 1366, 8, 21, 10, 21, 12, 21, 1369, 9, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 1375, 8, 21, 1, 22, 1, 22, 3, 22, 1379, 8, 22, 1, 22, 3, 22, 1382, 8, 22, 1, 22, 1, 22, 3, 22, 1386, 8, 22, 1, 23, 1, 23, 3, 23, 1390, 8, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 5, 23, 1397, 8, 23, 10, 23, 12, 23, 1400, 9, 23, 3, 23, 1402, 8, 23, 1, 23, 3, 23, 1405, 8, 23, 1, 23, 1, 23, 1, 23, 3, 23, 1410, 8, 23, 1, 23, 3, 23, 1413, 8, 23, 1, 23, 1, 23, 1, 23, 1, 23, 5, 23, 1419, 8, 23, 10, 23, 12, 23, 1422, 9, 23, 3, 23, 1424, 8, 23, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 5, 26, 1435, 8, 26, 10, 26, 12, 26, 1438, 9, 26, 1, 27, 3, 27, 1441, 8, 27, 1, 27, 1, 27, 1, 27, 5, 27, 1446, 8, 27, 10, 27, 12, 27, 1449, 9, 27, 1, 28, 1, 28, 1, 28, 5, 28, 1454, 8, 28, 10, 28, 12, 28, 1457, 9, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 5, 29, 1465, 8, 29, 10, 29, 12, 29, 1468, 9, 29, 3, 29, 1470, 8, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 5, 29, 1478, 8, 29, 10, 29, 12, 29, 1481, 9, 29, 3, 29, 1483, 8, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 5, 29, 1492, 8, 29, 10, 29, 12, 29, 1495, 9, 29, 1, 29, 1, 29, 3, 29, 1499, 8, 29, 1, 30, 1, 30, 1, 30, 1, 30, 5, 30, 1505, 8, 30, 10, 30, 12, 30, 1508, 9, 30, 3, 30, 1510, 8, 30, 1, 30, 1, 30, 3, 30, 1514, 8, 30, 1, 31, 1, 31, 3, 31, 1518, 8, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 3, 33, 1527, 8, 33, 1, 33, 1, 33, 1, 33, 3, 33, 1532, 8, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 5, 33, 1539, 8, 33, 10, 33, 12, 33, 1542, 9, 33, 3, 33, 1544, 8, 33, 1, 33, 3, 33, 1547, 8, 33, 1, 34, 1, 34, 3, 34, 1551, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 36, 1, 36, 3, 36, 1562, 8, 36, 1, 36, 3, 36, 1565, 8, 36, 1, 36, 3, 36, 1568, 8, 36, 1, 36, 1, 36, 1, 36, 3, 36, 1573, 8, 36, 1, 36, 3, 36, 1576, 8, 36, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 1605, 8, 41, 5, 41, 1607, 8, 41, 10, 41, 12, 41, 1610, 9, 41, 1, 42, 3, 42, 1613, 8, 42, 1, 42, 1, 42, 3, 42, 1617, 8, 42, 1, 42, 1, 42, 3, 42, 1621, 8, 42, 1, 42, 1, 42, 3, 42, 1625, 8, 42, 3, 42, 1627, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 1633, 8, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 5, 43, 1640, 8, 43, 10, 43, 12, 43, 1643, 9, 43, 1, 43, 1, 43, 3, 43, 1647, 8, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 1659, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 3, 46, 1668, 8, 46, 1, 47, 1, 47, 1, 47, 3, 47, 1673, 8, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 1679, 8, 47, 3, 47, 1681, 8, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 3, 48, 1689, 8, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 5, 48, 1696, 8, 48, 10, 48, 12, 48, 1699, 9, 48, 3, 48, 1701, 8, 48, 1, 48, 1, 48, 1, 48, 1, 48, 5, 48, 1707, 8, 48, 10, 48, 12, 48, 1710, 9, 48, 3, 48, 1712, 8, 48, 1, 48, 3, 48, 1715, 8, 48, 1, 48, 1, 48, 1, 48, 3, 48, 1720, 8, 48, 1, 48, 3, 48, 1723, 8, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 5, 48, 1733, 8, 48, 10, 48, 12, 48, 1736, 9, 48, 3, 48, 1738, 8, 48, 1, 48, 1, 48, 1, 48, 1, 48, 5, 48, 1744, 8, 48, 10, 48, 12, 48, 1747, 9, 48, 1, 48, 1, 48, 3, 48, 1751, 8, 48, 1, 48, 1, 48, 3, 48, 1755, 8, 48, 3, 48, 1757, 8, 48, 3, 48, 1759, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 3, 50, 1782, 8, 50, 3, 50, 1784, 8, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 1805, 8, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 1813, 8, 52, 10, 52, 12, 52, 1816, 9, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 3, 54, 1826, 8, 54, 1, 54, 1, 54, 3, 54, 1830, 8, 54, 3, 54, 1832, 8, 54, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 1838, 8, 55, 10, 55, 12, 55, 1841, 9, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 5, 56, 1849, 8, 56, 10, 56, 12, 56, 1852, 9, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 1860, 8, 57, 10, 57, 12, 57, 1863, 9, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 1873, 8, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 1880, 8, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 5, 59, 1891, 8, 59, 10, 59, 12, 59, 1894, 9, 59, 1, 59, 1, 59, 1, 59, 3, 59, 1899, 8, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 5, 59, 1919, 8, 59, 10, 59, 12, 59, 1922, 9, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 1936, 8, 59, 1, 59, 1, 59, 1, 59, 3, 59, 1941, 8, 59, 1, 59, 1, 59, 3, 59, 1945, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 3, 60, 1955, 8, 60, 1, 60, 1, 60, 1, 60, 1, 60, 3, 60, 1961, 8, 60, 1, 60, 1, 60, 1, 60, 1, 60, 3, 60, 1967, 8, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 3, 60, 1975, 8, 60, 1, 60, 1, 60, 1, 60, 3, 60, 1980, 8, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 3, 60, 1987, 8, 60, 3, 60, 1989, 8, 60, 1, 60, 1, 60, 1, 60, 1, 60, 3, 60, 1995, 8, 60, 1, 60, 1, 60, 1, 60, 1, 60, 3, 60, 2001, 8, 60, 1, 60, 1, 60, 3, 60, 2005, 8, 60, 1, 60, 1, 60, 1, 60, 3, 60, 2010, 8, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 5, 60, 2017, 8, 60, 10, 60, 12, 60, 2020, 9, 60, 1, 60, 1, 60, 3, 60, 2024, 8, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 5, 61, 2036, 8, 61, 10, 61, 12, 61, 2039, 9, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 5, 61, 2046, 8, 61, 10, 61, 12, 61, 2049, 9, 61, 3, 61, 2051, 8, 61, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 2060, 8, 63, 1, 64, 1, 64, 1, 64, 3, 64, 2065, 8, 64, 1, 64, 1, 64, 1, 64, 3, 64, 2070, 8, 64, 3, 64, 2072, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 2079, 8, 65, 10, 65, 12, 65, 2082, 9, 65, 3, 65, 2084, 8, 65, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 2090, 8, 65, 10, 65, 12, 65, 2093, 9, 65, 3, 65, 2095, 8, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 3, 66, 2102, 8, 66, 1, 66, 1, 66, 1, 66, 3, 66, 2107, 8, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 2114, 8, 67, 1, 67, 1, 67, 3, 67, 2118, 8, 67, 3, 67, 2120, 8, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 2128, 8, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 5, 67, 2136, 8, 67, 10, 67, 12, 67, 2139, 9, 67, 1, 67, 1, 67, 1, 67, 3, 67, 2144, 8, 67, 3, 67, 2146, 8, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 2153, 8, 68, 1, 68, 1, 68, 3, 68, 2157, 8, 68, 3, 68, 2159, 8, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 2166, 8, 68, 1, 68, 1, 68, 3, 68, 2170, 8, 68, 3, 68, 2172, 8, 68, 3, 68, 2174, 8, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 5, 69, 2181, 8, 69, 10, 69, 12, 69, 2184, 9, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 2194, 8, 69, 1, 70, 1, 70, 3, 70, 2198, 8, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 2206, 8, 71, 10, 71, 12, 71, 2209, 9, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 3, 73, 2218, 8, 73, 1, 73, 1, 73, 3, 73, 2222, 8, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 5, 73, 2230, 8, 73, 10, 73, 12, 73, 2233, 9, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 3, 74, 2245, 8, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 3, 74, 2253, 8, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 5, 74, 2260, 8, 74, 10, 74, 12, 74, 2263, 9, 74, 1, 74, 1, 74, 1, 74, 3, 74, 2268, 8, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 3, 74, 2276, 8, 74, 1, 74, 1, 74, 1, 74, 1, 74, 3, 74, 2282, 8, 74, 1, 74, 1, 74, 3, 74, 2286, 8, 74, 1, 74, 1, 74, 1, 74, 3, 74, 2291, 8, 74, 1, 74, 1, 74, 1, 74, 3, 74, 2296, 8, 74, 1, 75, 1, 75, 1, 75, 1, 75, 3, 75, 2302, 8, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 3, 75, 2321, 8, 75, 5, 75, 2323, 8, 75, 10, 75, 12, 75, 2326, 9, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 4, 76, 2353, 8, 76, 11, 76, 12, 76, 2354, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 5, 76, 2364, 8, 76, 10, 76, 12, 76, 2367, 9, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2374, 8, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2379, 8, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2384, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 5, 76, 2395, 8, 76, 10, 76, 12, 76, 2398, 9, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2403, 8, 76, 1, 76, 3, 76, 2406, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2413, 8, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2418, 8, 76, 1, 76, 3, 76, 2421, 8, 76, 1, 76, 3, 76, 2424, 8, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2429, 8, 76, 1, 76, 1, 76, 1, 76, 5, 76, 2434, 8, 76, 10, 76, 12, 76, 2437, 9, 76, 3, 76, 2439, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 5, 76, 2446, 8, 76, 10, 76, 12, 76, 2449, 9, 76, 3, 76, 2451, 8, 76, 1, 76, 1, 76, 3, 76, 2455, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2461, 8, 76, 1, 76, 3, 76, 2464, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 5, 76, 2477, 8, 76, 10, 76, 12, 76, 2480, 9, 76, 3, 76, 2482, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 4, 76, 2499, 8, 76, 11, 76, 12, 76, 2500, 1, 76, 1, 76, 3, 76, 2505, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 4, 76, 2511, 8, 76, 11, 76, 12, 76, 2512, 1, 76, 1, 76, 3, 76, 2517, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 5, 76, 2540, 8, 76, 10, 76, 12, 76, 2543, 9, 76, 3, 76, 2545, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2554, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2560, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2566, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2572, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2581, 8, 76, 1, 76, 3, 76, 2584, 8, 76, 1, 76, 3, 76, 2587, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2606, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2615, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 5, 76, 2631, 8, 76, 10, 76, 12, 76, 2634, 9, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 5, 76, 2647, 8, 76, 10, 76, 12, 76, 2650, 9, 76, 3, 76, 2652, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2661, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2670, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2676, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2682, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2693, 8, 76, 3, 76, 2695, 8, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2700, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2707, 8, 76, 3, 76, 2709, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2715, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2721, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 5, 76, 2730, 8, 76, 10, 76, 12, 76, 2733, 9, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2741, 8, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2746, 8, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2751, 8, 76, 3, 76, 2753, 8, 76, 3, 76, 2755, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2761, 8, 76, 3, 76, 2763, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 5, 76, 2771, 8, 76, 10, 76, 12, 76, 2774, 9, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2782, 8, 76, 3, 76, 2784, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 3, 76, 2790, 8, 76, 3, 76, 2792, 8, 76, 1, 76, 3, 76, 2795, 8, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 5, 76, 2805, 8, 76, 10, 76, 12, 76, 2808, 9, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 3, 77, 2815, 8, 77, 1, 77, 1, 77, 1, 77, 1, 77, 5, 77, 2821, 8, 77, 10, 77, 12, 77, 2824, 9, 77, 3, 77, 2826, 8, 77, 1, 78, 1, 78, 1, 78, 3, 78, 2831, 8, 78, 1, 79, 1, 79, 1, 79, 3, 79, 2836, 8, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 2846, 8, 81, 1, 82, 1, 82, 3, 82, 2850, 8, 82, 1, 82, 1, 82, 3, 82, 2854, 8, 82, 1, 82, 3, 82, 2857, 8, 82, 3, 82, 2859, 8, 82, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 3, 83, 2867, 8, 83, 1, 84, 3, 84, 2870, 8, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 3, 84, 2880, 8, 84, 1, 85, 1, 85, 1, 86, 1, 86, 1, 86, 1, 86, 3, 86, 2888, 8, 86, 3, 86, 2890, 8, 86, 1, 87, 1, 87, 1, 88, 1, 88, 1, 89, 1, 89, 3, 89, 2898, 8, 89, 1, 89, 1, 89, 1, 89, 1, 89, 3, 89, 2904, 8, 89, 1, 90, 1, 90, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 5, 91, 2914, 8, 91, 10, 91, 12, 91, 2917, 9, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 3, 91, 2925, 8, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 3, 91, 2932, 8, 91, 1, 91, 1, 91, 1, 91, 3, 91, 2937, 8, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 3, 91, 2944, 8, 91, 1, 91, 1, 91, 1, 91, 3, 91, 2949, 8, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 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, 2970, 8, 91, 10, 91, 12, 91, 2973, 9, 91, 1, 91, 1, 91, 3, 91, 2977, 8, 91, 3, 91, 2979, 8, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 3, 91, 2986, 8, 91, 5, 91, 2988, 8, 91, 10, 91, 12, 91, 2991, 9, 91, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 2997, 8, 92, 1, 93, 1, 93, 3, 93, 3001, 8, 93, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 96, 1, 96, 1, 96, 1, 96, 3, 96, 3017, 8, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 5, 96, 3030, 8, 96, 10, 96, 12, 96, 3033, 9, 96, 1, 96, 1, 96, 1, 96, 1, 96, 3, 96, 3039, 8, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 3, 96, 3048, 8, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 5, 96, 3056, 8, 96, 10, 96, 12, 96, 3059, 9, 96, 1, 96, 1, 96, 3, 96, 3063, 8, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 5, 96, 3070, 8, 96, 10, 96, 12, 96, 3073, 9, 96, 1, 96, 1, 96, 3, 96, 3077, 8, 96, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 3, 97, 3085, 8, 97, 1, 98, 1, 98, 1, 98, 1, 98, 5, 98, 3091, 8, 98, 10, 98, 12, 98, 3094, 9, 98, 3, 98, 3096, 8, 98, 1, 98, 1, 98, 1, 98, 1, 98, 3, 98, 3102, 8, 98, 1, 98, 3, 98, 3105, 8, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 3, 98, 3112, 8, 98, 1, 98, 1, 98, 1, 98, 1, 98, 5, 98, 3118, 8, 98, 10, 98, 12, 98, 3121, 9, 98, 3, 98, 3123, 8, 98, 1, 98, 1, 98, 1, 98, 1, 98, 5, 98, 3129, 8, 98, 10, 98, 12, 98, 3132, 9, 98, 3, 98, 3134, 8, 98, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 3, 99, 3143, 8, 99, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 3, 100, 3154, 8, 100, 1, 101, 1, 101, 1, 101, 3, 101, 3159, 8, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 5, 101, 3166, 8, 101, 10, 101, 12, 101, 3169, 9, 101, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 5, 102, 3179, 8, 102, 10, 102, 12, 102, 3182, 9, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 3, 102, 3196, 8, 102, 1, 103, 1, 103, 3, 103, 3200, 8, 103, 1, 103, 1, 103, 3, 103, 3204, 8, 103, 1, 103, 1, 103, 3, 103, 3208, 8, 103, 1, 103, 1, 103, 1, 103, 1, 103, 3, 103, 3214, 8, 103, 1, 103, 1, 103, 3, 103, 3218, 8, 103, 1, 103, 1, 103, 3, 103, 3222, 8, 103, 1, 103, 1, 103, 3, 103, 3226, 8, 103, 3, 103, 3228, 8, 103, 1, 104, 1, 104, 1, 104, 1, 104, 1, 105, 1, 105, 1, 105, 1, 105, 3, 105, 3238, 8, 105, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 3, 106, 3249, 8, 106, 1, 106, 1, 106, 3, 106, 3253, 8, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 3, 107, 3260, 8, 107, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 3, 108, 3267, 8, 108, 1, 109, 1, 109, 1, 109, 5, 109, 3272, 8, 109, 10, 109, 12, 109, 3275, 9, 109, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 5, 110, 3283, 8, 110, 10, 110, 12, 110, 3286, 9, 110, 3, 110, 3288, 8, 110, 1, 110, 1, 110, 1, 110, 1, 110, 5, 110, 3294, 8, 110, 10, 110, 12, 110, 3297, 9, 110, 1, 110, 1, 110, 1, 111, 3, 111, 3302, 8, 111, 1, 111, 1, 111, 1, 112, 1, 112, 1, 112, 3, 112, 3309, 8, 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, 1, 112, 1, 112, 3, 112, 3325, 8, 112, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 4, 113, 3337, 8, 113, 11, 113, 12, 113, 3338, 1, 113, 3, 113, 3342, 8, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 4, 113, 3349, 8, 113, 11, 113, 12, 113, 3350, 1, 113, 3, 113, 3354, 8, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 5, 113, 3368, 8, 113, 10, 113, 12, 113, 3371, 9, 113, 1, 113, 3, 113, 3374, 8, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 5, 113, 3388, 8, 113, 10, 113, 12, 113, 3391, 9, 113, 1, 113, 1, 113, 1, 113, 3, 113, 3396, 8, 113, 1, 113, 1, 113, 5, 113, 3400, 8, 113, 10, 113, 12, 113, 3403, 9, 113, 1, 113, 3, 113, 3406, 8, 113, 1, 113, 1, 113, 1, 113, 1, 113, 3, 113, 3412, 8, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 3, 113, 3422, 8, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 3, 113, 3434, 8, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 3, 113, 3443, 8, 113, 1, 114, 1, 114, 1, 114, 1, 114, 1, 114, 1, 115, 1, 115, 1, 115, 1, 116, 1, 116, 1, 116, 4, 116, 3456, 8, 116, 11, 116, 12, 116, 3457, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 3, 117, 3466, 8, 117, 1, 118, 1, 118, 1, 118, 3, 118, 3471, 8, 118, 1, 118, 1, 118, 1, 119, 1, 119, 3, 119, 3477, 8, 119, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 3, 120, 3490, 8, 120, 1, 121, 1, 121, 1, 121, 1, 121, 1, 121, 1, 121, 1, 121, 1, 121, 1, 121, 1, 121, 1, 121, 3, 121, 3503, 8, 121, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 3, 122, 3516, 8, 122, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 3, 123, 3529, 8, 123, 1, 124, 1, 124, 1, 124, 1, 124, 1, 124, 3, 124, 3536, 8, 124, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 3, 125, 3543, 8, 125, 1, 126, 1, 126, 1, 127, 1, 127, 1, 128, 1, 128, 1, 129, 1, 129, 1, 130, 1, 130, 3, 130, 3555, 8, 130, 1, 131, 1, 131, 1, 132, 1, 132, 1, 133, 1, 133, 1, 134, 1, 134, 1, 134, 5, 134, 3566, 8, 134, 10, 134, 12, 134, 3569, 9, 134, 1, 135, 1, 135, 1, 135, 3, 135, 3574, 8, 135, 1, 136, 1, 136, 1, 136, 1, 136, 1, 136, 3, 136, 3581, 8, 136, 1, 137, 1, 137, 1, 137, 5, 137, 3586, 8, 137, 10, 137, 12, 137, 3589, 9, 137, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 3, 138, 3598, 8, 138, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 3, 139, 3605, 8, 139, 1, 140, 3, 140, 3608, 8, 140, 1, 140, 1, 140, 3, 140, 3612, 8, 140, 1, 140, 1, 140, 3, 140, 3616, 8, 140, 1, 140, 3, 140, 3619, 8, 140, 1, 141, 1, 141, 1, 141, 0, 7, 40, 82, 146, 150, 152, 182, 202, 142, 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, 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, 4180, 0, 287, 1, 0, 0, 0, 2, 292, 1, 0, 0, 0, 4, 294, 1, 0, 0, 0, 6, 298, 1, 0, 0, 0, 8, 302, 1, 0, 0, 0, 10, 306, 1, 0, 0, 0, 12, 310, 1, 0, 0, 0, 14, 314, 1, 0, 0, 0, 16, 1228, 1, 0, 0, 0, 18, 1231, 1, 0, 0, 0, 20, 1235, 1, 0, 0, 0, 22, 1245, 1, 0, 0, 0, 24, 1249, 1, 0, 0, 0, 26, 1263, 1, 0, 0, 0, 28, 1265, 1, 0, 0, 0, 30, 1279, 1, 0, 0, 0, 32, 1285, 1, 0, 0, 0, 34, 1289, 1, 0, 0, 0, 36, 1297, 1, 0, 0, 0, 38, 1303, 1, 0, 0, 0, 40, 1338, 1, 0, 0, 0, 42, 1374, 1, 0, 0, 0, 44, 1378, 1, 0, 0, 0, 46, 1387, 1, 0, 0, 0, 48, 1425, 1, 0, 0, 0, 50, 1428, 1, 0, 0, 0, 52, 1431, 1, 0, 0, 0, 54, 1440, 1, 0, 0, 0, 56, 1450, 1, 0, 0, 0, 58, 1498, 1, 0, 0, 0, 60, 1513, 1, 0, 0, 0, 62, 1517, 1, 0, 0, 0, 64, 1519, 1, 0, 0, 0, 66, 1526, 1, 0, 0, 0, 68, 1548, 1, 0, 0, 0, 70, 1557, 1, 0, 0, 0, 72, 1575, 1, 0, 0, 0, 74, 1577, 1, 0, 0, 0, 76, 1579, 1, 0, 0, 0, 78, 1583, 1, 0, 0, 0, 80, 1585, 1, 0, 0, 0, 82, 1587, 1, 0, 0, 0, 84, 1626, 1, 0, 0, 0, 86, 1646, 1, 0, 0, 0, 88, 1648, 1, 0, 0, 0, 90, 1658, 1, 0, 0, 0, 92, 1660, 1, 0, 0, 0, 94, 1680, 1, 0, 0, 0, 96, 1682, 1, 0, 0, 0, 98, 1760, 1, 0, 0, 0, 100, 1783, 1, 0, 0, 0, 102, 1804, 1, 0, 0, 0, 104, 1806, 1, 0, 0, 0, 106, 1819, 1, 0, 0, 0, 108, 1823, 1, 0, 0, 0, 110, 1833, 1, 0, 0, 0, 112, 1844, 1, 0, 0, 0, 114, 1855, 1, 0, 0, 0, 116, 1879, 1, 0, 0, 0, 118, 1944, 1, 0, 0, 0, 120, 2023, 1, 0, 0, 0, 122, 2050, 1, 0, 0, 0, 124, 2052, 1, 0, 0, 0, 126, 2059, 1, 0, 0, 0, 128, 2071, 1, 0, 0, 0, 130, 2073, 1, 0, 0, 0, 132, 2101, 1, 0, 0, 0, 134, 2108, 1, 0, 0, 0, 136, 2173, 1, 0, 0, 0, 138, 2193, 1, 0, 0, 0, 140, 2195, 1, 0, 0, 0, 142, 2199, 1, 0, 0, 0, 144, 2212, 1, 0, 0, 0, 146, 2221, 1, 0, 0, 0, 148, 2295, 1, 0, 0, 0, 150, 2301, 1, 0, 0, 0, 152, 2794, 1, 0, 0, 0, 154, 2809, 1, 0, 0, 0, 156, 2827, 1, 0, 0, 0, 158, 2832, 1, 0, 0, 0, 160, 2837, 1, 0, 0, 0, 162, 2845, 1, 0, 0, 0, 164, 2858, 1, 0, 0, 0, 166, 2866, 1, 0, 0, 0, 168, 2879, 1, 0, 0, 0, 170, 2881, 1, 0, 0, 0, 172, 2889, 1, 0, 0, 0, 174, 2891, 1, 0, 0, 0, 176, 2893, 1, 0, 0, 0, 178, 2895, 1, 0, 0, 0, 180, 2905, 1, 0, 0, 0, 182, 2978, 1, 0, 0, 0, 184, 2996, 1, 0, 0, 0, 186, 3000, 1, 0, 0, 0, 188, 3002, 1, 0, 0, 0, 190, 3007, 1, 0, 0, 0, 192, 3076, 1, 0, 0, 0, 194, 3078, 1, 0, 0, 0, 196, 3095, 1, 0, 0, 0, 198, 3135, 1, 0, 0, 0, 200, 3153, 1, 0, 0, 0, 202, 3155, 1, 0, 0, 0, 204, 3195, 1, 0, 0, 0, 206, 3227, 1, 0, 0, 0, 208, 3229, 1, 0, 0, 0, 210, 3237, 1, 0, 0, 0, 212, 3252, 1, 0, 0, 0, 214, 3259, 1, 0, 0, 0, 216, 3266, 1, 0, 0, 0, 218, 3268, 1, 0, 0, 0, 220, 3276, 1, 0, 0, 0, 222, 3301, 1, 0, 0, 0, 224, 3324, 1, 0, 0, 0, 226, 3442, 1, 0, 0, 0, 228, 3444, 1, 0, 0, 0, 230, 3449, 1, 0, 0, 0, 232, 3455, 1, 0, 0, 0, 234, 3465, 1, 0, 0, 0, 236, 3470, 1, 0, 0, 0, 238, 3476, 1, 0, 0, 0, 240, 3489, 1, 0, 0, 0, 242, 3502, 1, 0, 0, 0, 244, 3515, 1, 0, 0, 0, 246, 3528, 1, 0, 0, 0, 248, 3535, 1, 0, 0, 0, 250, 3542, 1, 0, 0, 0, 252, 3544, 1, 0, 0, 0, 254, 3546, 1, 0, 0, 0, 256, 3548, 1, 0, 0, 0, 258, 3550, 1, 0, 0, 0, 260, 3554, 1, 0, 0, 0, 262, 3556, 1, 0, 0, 0, 264, 3558, 1, 0, 0, 0, 266, 3560, 1, 0, 0, 0, 268, 3562, 1, 0, 0, 0, 270, 3573, 1, 0, 0, 0, 272, 3580, 1, 0, 0, 0, 274, 3582, 1, 0, 0, 0, 276, 3597, 1, 0, 0, 0, 278, 3604, 1, 0, 0, 0, 280, 3618, 1, 0, 0, 0, 282, 3620, 1, 0, 0, 0, 284, 286, 3, 2, 1, 0, 285, 284, 1, 0, 0, 0, 286, 289, 1, 0, 0, 0, 287, 285, 1, 0, 0, 0, 287, 288, 1, 0, 0, 0, 288, 290, 1, 0, 0, 0, 289, 287, 1, 0, 0, 0, 290, 291, 5, 0, 0, 1, 291, 1, 1, 0, 0, 0, 292, 293, 3, 4, 2, 0, 293, 3, 1, 0, 0, 0, 294, 296, 3, 16, 8, 0, 295, 297, 5, 326, 0, 0, 296, 295, 1, 0, 0, 0, 296, 297, 1, 0, 0, 0, 297, 5, 1, 0, 0, 0, 298, 300, 3, 144, 72, 0, 299, 301, 5, 326, 0, 0, 300, 299, 1, 0, 0, 0, 300, 301, 1, 0, 0, 0, 301, 7, 1, 0, 0, 0, 302, 304, 3, 218, 109, 0, 303, 305, 5, 326, 0, 0, 304, 303, 1, 0, 0, 0, 304, 305, 1, 0, 0, 0, 305, 9, 1, 0, 0, 0, 306, 308, 3, 182, 91, 0, 307, 309, 5, 326, 0, 0, 308, 307, 1, 0, 0, 0, 308, 309, 1, 0, 0, 0, 309, 11, 1, 0, 0, 0, 310, 312, 3, 202, 101, 0, 311, 313, 5, 326, 0, 0, 312, 311, 1, 0, 0, 0, 312, 313, 1, 0, 0, 0, 313, 13, 1, 0, 0, 0, 314, 315, 3, 220, 110, 0, 315, 316, 5, 0, 0, 1, 316, 15, 1, 0, 0, 0, 317, 1229, 3, 18, 9, 0, 318, 319, 5, 289, 0, 0, 319, 1229, 3, 248, 124, 0, 320, 321, 5, 54, 0, 0, 321, 325, 5, 42, 0, 0, 322, 323, 5, 120, 0, 0, 323, 324, 5, 183, 0, 0, 324, 326, 5, 95, 0, 0, 325, 322, 1, 0, 0, 0, 325, 326, 1, 0, 0, 0, 326, 327, 1, 0, 0, 0, 327, 328, 3, 254, 127, 0, 328, 329, 5, 291, 0, 0, 329, 332, 3, 278, 139, 0, 330, 331, 5, 47, 0, 0, 331, 333, 3, 172, 86, 0, 332, 330, 1, 0, 0, 0, 332, 333, 1, 0, 0, 0, 333, 336, 1, 0, 0, 0, 334, 335, 5, 31, 0, 0, 335, 337, 3, 272, 136, 0, 336, 334, 1, 0, 0, 0, 336, 337, 1, 0, 0, 0, 337, 340, 1, 0, 0, 0, 338, 339, 5, 305, 0, 0, 339, 341, 3, 32, 16, 0, 340, 338, 1, 0, 0, 0, 340, 341, 1, 0, 0, 0, 341, 1229, 1, 0, 0, 0, 342, 343, 5, 84, 0, 0, 343, 346, 5, 42, 0, 0, 344, 345, 5, 120, 0, 0, 345, 347, 5, 95, 0, 0, 346, 344, 1, 0, 0, 0, 346, 347, 1, 0, 0, 0, 347, 348, 1, 0, 0, 0, 348, 350, 3, 252, 126, 0, 349, 351, 7, 0, 0, 0, 350, 349, 1, 0, 0, 0, 350, 351, 1, 0, 0, 0, 351, 1229, 1, 0, 0, 0, 352, 353, 5, 54, 0, 0, 353, 357, 5, 244, 0, 0, 354, 355, 5, 120, 0, 0, 355, 356, 5, 183, 0, 0, 356, 358, 5, 95, 0, 0, 357, 354, 1, 0, 0, 0, 357, 358, 1, 0, 0, 0, 358, 359, 1, 0, 0, 0, 359, 362, 3, 250, 125, 0, 360, 361, 5, 31, 0, 0, 361, 363, 3, 272, 136, 0, 362, 360, 1, 0, 0, 0, 362, 363, 1, 0, 0, 0, 363, 366, 1, 0, 0, 0, 364, 365, 5, 305, 0, 0, 365, 367, 3, 32, 16, 0, 366, 364, 1, 0, 0, 0, 366, 367, 1, 0, 0, 0, 367, 1229, 1, 0, 0, 0, 368, 369, 5, 84, 0, 0, 369, 372, 5, 244, 0, 0, 370, 371, 5, 120, 0, 0, 371, 373, 5, 95, 0, 0, 372, 370, 1, 0, 0, 0, 372, 373, 1, 0, 0, 0, 373, 374, 1, 0, 0, 0, 374, 376, 3, 248, 124, 0, 375, 377, 7, 0, 0, 0, 376, 375, 1, 0, 0, 0, 376, 377, 1, 0, 0, 0, 377, 1229, 1, 0, 0, 0, 378, 379, 5, 23, 0, 0, 379, 380, 5, 244, 0, 0, 380, 381, 3, 248, 124, 0, 381, 382, 5, 224, 0, 0, 382, 383, 5, 270, 0, 0, 383, 384, 3, 250, 125, 0, 384, 1229, 1, 0, 0, 0, 385, 386, 5, 23, 0, 0, 386, 387, 5, 244, 0, 0, 387, 388, 3, 248, 124, 0, 388, 389, 5, 252, 0, 0, 389, 390, 5, 31, 0, 0, 390, 391, 3, 272, 136, 0, 391, 1229, 1, 0, 0, 0, 392, 395, 5, 54, 0, 0, 393, 394, 5, 195, 0, 0, 394, 396, 5, 227, 0, 0, 395, 393, 1, 0, 0, 0, 395, 396, 1, 0, 0, 0, 396, 397, 1, 0, 0, 0, 397, 401, 5, 261, 0, 0, 398, 399, 5, 120, 0, 0, 399, 400, 5, 183, 0, 0, 400, 402, 5, 95, 0, 0, 401, 398, 1, 0, 0, 0, 401, 402, 1, 0, 0, 0, 402, 403, 1, 0, 0, 0, 403, 405, 3, 242, 121, 0, 404, 406, 3, 110, 55, 0, 405, 404, 1, 0, 0, 0, 405, 406, 1, 0, 0, 0, 406, 409, 1, 0, 0, 0, 407, 408, 5, 47, 0, 0, 408, 410, 3, 172, 86, 0, 409, 407, 1, 0, 0, 0, 409, 410, 1, 0, 0, 0, 410, 413, 1, 0, 0, 0, 411, 412, 5, 305, 0, 0, 412, 414, 3, 32, 16, 0, 413, 411, 1, 0, 0, 0, 413, 414, 1, 0, 0, 0, 414, 415, 1, 0, 0, 0, 415, 421, 5, 28, 0, 0, 416, 422, 3, 18, 9, 0, 417, 418, 5, 1, 0, 0, 418, 419, 3, 18, 9, 0, 419, 420, 5, 2, 0, 0, 420, 422, 1, 0, 0, 0, 421, 416, 1, 0, 0, 0, 421, 417, 1, 0, 0, 0, 422, 428, 1, 0, 0, 0, 423, 425, 5, 305, 0, 0, 424, 426, 5, 180, 0, 0, 425, 424, 1, 0, 0, 0, 425, 426, 1, 0, 0, 0, 426, 427, 1, 0, 0, 0, 427, 429, 5, 66, 0, 0, 428, 423, 1, 0, 0, 0, 428, 429, 1, 0, 0, 0, 429, 1229, 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, 442, 3, 242, 121, 0, 442, 443, 5, 1, 0, 0, 443, 448, 3, 26, 13, 0, 444, 445, 5, 3, 0, 0, 445, 447, 3, 26, 13, 0, 446, 444, 1, 0, 0, 0, 447, 450, 1, 0, 0, 0, 448, 446, 1, 0, 0, 0, 448, 449, 1, 0, 0, 0, 449, 451, 1, 0, 0, 0, 450, 448, 1, 0, 0, 0, 451, 454, 5, 2, 0, 0, 452, 453, 5, 47, 0, 0, 453, 455, 3, 172, 86, 0, 454, 452, 1, 0, 0, 0, 454, 455, 1, 0, 0, 0, 455, 458, 1, 0, 0, 0, 456, 457, 5, 305, 0, 0, 457, 459, 3, 32, 16, 0, 458, 456, 1, 0, 0, 0, 458, 459, 1, 0, 0, 0, 459, 1229, 1, 0, 0, 0, 460, 461, 5, 84, 0, 0, 461, 464, 5, 261, 0, 0, 462, 463, 5, 120, 0, 0, 463, 465, 5, 95, 0, 0, 464, 462, 1, 0, 0, 0, 464, 465, 1, 0, 0, 0, 465, 466, 1, 0, 0, 0, 466, 1229, 3, 240, 120, 0, 467, 468, 5, 128, 0, 0, 468, 469, 5, 131, 0, 0, 469, 471, 3, 240, 120, 0, 470, 472, 3, 112, 56, 0, 471, 470, 1, 0, 0, 0, 471, 472, 1, 0, 0, 0, 472, 473, 1, 0, 0, 0, 473, 474, 3, 18, 9, 0, 474, 1229, 1, 0, 0, 0, 475, 476, 5, 74, 0, 0, 476, 477, 5, 106, 0, 0, 477, 479, 3, 240, 120, 0, 478, 480, 3, 48, 24, 0, 479, 478, 1, 0, 0, 0, 479, 480, 1, 0, 0, 0, 480, 1229, 1, 0, 0, 0, 481, 482, 5, 275, 0, 0, 482, 483, 5, 261, 0, 0, 483, 1229, 3, 240, 120, 0, 484, 485, 5, 47, 0, 0, 485, 486, 5, 191, 0, 0, 486, 487, 5, 261, 0, 0, 487, 488, 3, 240, 120, 0, 488, 491, 5, 134, 0, 0, 489, 492, 3, 172, 86, 0, 490, 492, 5, 184, 0, 0, 491, 489, 1, 0, 0, 0, 491, 490, 1, 0, 0, 0, 492, 1229, 1, 0, 0, 0, 493, 494, 5, 47, 0, 0, 494, 495, 5, 191, 0, 0, 495, 496, 5, 300, 0, 0, 496, 497, 3, 244, 122, 0, 497, 500, 5, 134, 0, 0, 498, 501, 3, 172, 86, 0, 499, 501, 5, 184, 0, 0, 500, 498, 1, 0, 0, 0, 500, 499, 1, 0, 0, 0, 501, 1229, 1, 0, 0, 0, 502, 503, 5, 47, 0, 0, 503, 504, 5, 191, 0, 0, 504, 505, 5, 45, 0, 0, 505, 506, 3, 260, 130, 0, 506, 509, 5, 134, 0, 0, 507, 510, 3, 172, 86, 0, 508, 510, 5, 184, 0, 0, 509, 507, 1, 0, 0, 0, 509, 508, 1, 0, 0, 0, 510, 1229, 1, 0, 0, 0, 511, 512, 5, 23, 0, 0, 512, 515, 5, 261, 0, 0, 513, 514, 5, 120, 0, 0, 514, 516, 5, 95, 0, 0, 515, 513, 1, 0, 0, 0, 515, 516, 1, 0, 0, 0, 516, 517, 1, 0, 0, 0, 517, 518, 3, 240, 120, 0, 518, 519, 5, 224, 0, 0, 519, 520, 5, 270, 0, 0, 520, 521, 3, 242, 121, 0, 521, 1229, 1, 0, 0, 0, 522, 523, 5, 23, 0, 0, 523, 526, 5, 261, 0, 0, 524, 525, 5, 120, 0, 0, 525, 527, 5, 95, 0, 0, 526, 524, 1, 0, 0, 0, 526, 527, 1, 0, 0, 0, 527, 528, 1, 0, 0, 0, 528, 529, 3, 240, 120, 0, 529, 530, 5, 19, 0, 0, 530, 534, 5, 45, 0, 0, 531, 532, 5, 120, 0, 0, 532, 533, 5, 183, 0, 0, 533, 535, 5, 95, 0, 0, 534, 531, 1, 0, 0, 0, 534, 535, 1, 0, 0, 0, 535, 536, 1, 0, 0, 0, 536, 537, 3, 28, 14, 0, 537, 1229, 1, 0, 0, 0, 538, 539, 5, 23, 0, 0, 539, 542, 5, 261, 0, 0, 540, 541, 5, 120, 0, 0, 541, 543, 5, 95, 0, 0, 542, 540, 1, 0, 0, 0, 542, 543, 1, 0, 0, 0, 543, 544, 1, 0, 0, 0, 544, 545, 3, 240, 120, 0, 545, 546, 5, 224, 0, 0, 546, 549, 5, 45, 0, 0, 547, 548, 5, 120, 0, 0, 548, 550, 5, 95, 0, 0, 549, 547, 1, 0, 0, 0, 549, 550, 1, 0, 0, 0, 550, 551, 1, 0, 0, 0, 551, 552, 3, 260, 130, 0, 552, 553, 5, 270, 0, 0, 553, 554, 3, 266, 133, 0, 554, 1229, 1, 0, 0, 0, 555, 556, 5, 23, 0, 0, 556, 559, 5, 261, 0, 0, 557, 558, 5, 120, 0, 0, 558, 560, 5, 95, 0, 0, 559, 557, 1, 0, 0, 0, 559, 560, 1, 0, 0, 0, 560, 561, 1, 0, 0, 0, 561, 562, 3, 240, 120, 0, 562, 563, 5, 84, 0, 0, 563, 566, 5, 45, 0, 0, 564, 565, 5, 120, 0, 0, 565, 567, 5, 95, 0, 0, 566, 564, 1, 0, 0, 0, 566, 567, 1, 0, 0, 0, 567, 568, 1, 0, 0, 0, 568, 569, 3, 260, 130, 0, 569, 1229, 1, 0, 0, 0, 570, 571, 5, 23, 0, 0, 571, 574, 5, 261, 0, 0, 572, 573, 5, 120, 0, 0, 573, 575, 5, 95, 0, 0, 574, 572, 1, 0, 0, 0, 574, 575, 1, 0, 0, 0, 575, 576, 1, 0, 0, 0, 576, 577, 3, 240, 120, 0, 577, 578, 5, 23, 0, 0, 578, 579, 5, 45, 0, 0, 579, 580, 3, 260, 130, 0, 580, 581, 5, 252, 0, 0, 581, 582, 5, 66, 0, 0, 582, 583, 5, 277, 0, 0, 583, 584, 3, 182, 91, 0, 584, 1229, 1, 0, 0, 0, 585, 586, 5, 23, 0, 0, 586, 589, 5, 261, 0, 0, 587, 588, 5, 120, 0, 0, 588, 590, 5, 95, 0, 0, 589, 587, 1, 0, 0, 0, 589, 590, 1, 0, 0, 0, 590, 591, 1, 0, 0, 0, 591, 592, 3, 240, 120, 0, 592, 593, 5, 23, 0, 0, 593, 594, 5, 45, 0, 0, 594, 595, 3, 260, 130, 0, 595, 596, 5, 84, 0, 0, 596, 597, 5, 183, 0, 0, 597, 598, 5, 184, 0, 0, 598, 1229, 1, 0, 0, 0, 599, 600, 5, 23, 0, 0, 600, 601, 5, 261, 0, 0, 601, 602, 3, 240, 120, 0, 602, 603, 5, 252, 0, 0, 603, 604, 5, 31, 0, 0, 604, 605, 3, 272, 136, 0, 605, 1229, 1, 0, 0, 0, 606, 607, 5, 23, 0, 0, 607, 608, 5, 261, 0, 0, 608, 609, 3, 240, 120, 0, 609, 610, 5, 252, 0, 0, 610, 611, 5, 217, 0, 0, 611, 612, 3, 34, 17, 0, 612, 1229, 1, 0, 0, 0, 613, 614, 5, 23, 0, 0, 614, 615, 5, 261, 0, 0, 615, 616, 3, 240, 120, 0, 616, 617, 5, 94, 0, 0, 617, 630, 3, 256, 128, 0, 618, 627, 5, 1, 0, 0, 619, 624, 3, 214, 107, 0, 620, 621, 5, 3, 0, 0, 621, 623, 3, 214, 107, 0, 622, 620, 1, 0, 0, 0, 623, 626, 1, 0, 0, 0, 624, 622, 1, 0, 0, 0, 624, 625, 1, 0, 0, 0, 625, 628, 1, 0, 0, 0, 626, 624, 1, 0, 0, 0, 627, 619, 1, 0, 0, 0, 627, 628, 1, 0, 0, 0, 628, 629, 1, 0, 0, 0, 629, 631, 5, 2, 0, 0, 630, 618, 1, 0, 0, 0, 630, 631, 1, 0, 0, 0, 631, 633, 1, 0, 0, 0, 632, 634, 3, 48, 24, 0, 633, 632, 1, 0, 0, 0, 633, 634, 1, 0, 0, 0, 634, 1229, 1, 0, 0, 0, 635, 636, 5, 24, 0, 0, 636, 639, 3, 240, 120, 0, 637, 638, 5, 305, 0, 0, 638, 640, 3, 32, 16, 0, 639, 637, 1, 0, 0, 0, 639, 640, 1, 0, 0, 0, 640, 1229, 1, 0, 0, 0, 641, 644, 5, 54, 0, 0, 642, 643, 5, 195, 0, 0, 643, 645, 5, 227, 0, 0, 644, 642, 1, 0, 0, 0, 644, 645, 1, 0, 0, 0, 645, 646, 1, 0, 0, 0, 646, 647, 5, 168, 0, 0, 647, 651, 5, 300, 0, 0, 648, 649, 5, 120, 0, 0, 649, 650, 5, 183, 0, 0, 650, 652, 5, 95, 0, 0, 651, 648, 1, 0, 0, 0, 651, 652, 1, 0, 0, 0, 652, 653, 1, 0, 0, 0, 653, 657, 3, 246, 123, 0, 654, 655, 5, 110, 0, 0, 655, 656, 5, 209, 0, 0, 656, 658, 3, 178, 89, 0, 657, 654, 1, 0, 0, 0, 657, 658, 1, 0, 0, 0, 658, 661, 1, 0, 0, 0, 659, 660, 5, 47, 0, 0, 660, 662, 3, 172, 86, 0, 661, 659, 1, 0, 0, 0, 661, 662, 1, 0, 0, 0, 662, 665, 1, 0, 0, 0, 663, 664, 5, 305, 0, 0, 664, 666, 3, 32, 16, 0, 665, 663, 1, 0, 0, 0, 665, 666, 1, 0, 0, 0, 666, 667, 1, 0, 0, 0, 667, 668, 5, 28, 0, 0, 668, 669, 3, 18, 9, 0, 669, 1229, 1, 0, 0, 0, 670, 673, 5, 54, 0, 0, 671, 672, 5, 195, 0, 0, 672, 674, 5, 227, 0, 0, 673, 671, 1, 0, 0, 0, 673, 674, 1, 0, 0, 0, 674, 675, 1, 0, 0, 0, 675, 676, 5, 300, 0, 0, 676, 679, 3, 246, 123, 0, 677, 678, 5, 47, 0, 0, 678, 680, 3, 172, 86, 0, 679, 677, 1, 0, 0, 0, 679, 680, 1, 0, 0, 0, 680, 683, 1, 0, 0, 0, 681, 682, 5, 247, 0, 0, 682, 684, 7, 1, 0, 0, 683, 681, 1, 0, 0, 0, 683, 684, 1, 0, 0, 0, 684, 687, 1, 0, 0, 0, 685, 686, 5, 305, 0, 0, 686, 688, 3, 32, 16, 0, 687, 685, 1, 0, 0, 0, 687, 688, 1, 0, 0, 0, 688, 689, 1, 0, 0, 0, 689, 690, 5, 28, 0, 0, 690, 691, 3, 18, 9, 0, 691, 1229, 1, 0, 0, 0, 692, 693, 5, 223, 0, 0, 693, 694, 5, 168, 0, 0, 694, 695, 5, 300, 0, 0, 695, 1229, 3, 244, 122, 0, 696, 697, 5, 84, 0, 0, 697, 698, 5, 168, 0, 0, 698, 701, 5, 300, 0, 0, 699, 700, 5, 120, 0, 0, 700, 702, 5, 95, 0, 0, 701, 699, 1, 0, 0, 0, 701, 702, 1, 0, 0, 0, 702, 703, 1, 0, 0, 0, 703, 1229, 3, 244, 122, 0, 704, 705, 5, 23, 0, 0, 705, 706, 5, 168, 0, 0, 706, 709, 5, 300, 0, 0, 707, 708, 5, 120, 0, 0, 708, 710, 5, 95, 0, 0, 709, 707, 1, 0, 0, 0, 709, 710, 1, 0, 0, 0, 710, 711, 1, 0, 0, 0, 711, 712, 3, 244, 122, 0, 712, 713, 5, 224, 0, 0, 713, 714, 5, 270, 0, 0, 714, 715, 3, 246, 123, 0, 715, 1229, 1, 0, 0, 0, 716, 717, 5, 23, 0, 0, 717, 718, 5, 168, 0, 0, 718, 719, 5, 300, 0, 0, 719, 720, 3, 244, 122, 0, 720, 721, 5, 252, 0, 0, 721, 722, 5, 217, 0, 0, 722, 723, 3, 34, 17, 0, 723, 1229, 1, 0, 0, 0, 724, 725, 5, 84, 0, 0, 725, 728, 5, 300, 0, 0, 726, 727, 5, 120, 0, 0, 727, 729, 5, 95, 0, 0, 728, 726, 1, 0, 0, 0, 728, 729, 1, 0, 0, 0, 729, 730, 1, 0, 0, 0, 730, 1229, 3, 244, 122, 0, 731, 732, 5, 23, 0, 0, 732, 733, 5, 300, 0, 0, 733, 734, 3, 244, 122, 0, 734, 735, 5, 224, 0, 0, 735, 736, 5, 270, 0, 0, 736, 737, 3, 246, 123, 0, 737, 1229, 1, 0, 0, 0, 738, 739, 5, 23, 0, 0, 739, 740, 5, 300, 0, 0, 740, 741, 3, 244, 122, 0, 741, 742, 5, 252, 0, 0, 742, 743, 5, 31, 0, 0, 743, 744, 3, 272, 136, 0, 744, 1229, 1, 0, 0, 0, 745, 746, 5, 37, 0, 0, 746, 747, 3, 256, 128, 0, 747, 756, 5, 1, 0, 0, 748, 753, 3, 214, 107, 0, 749, 750, 5, 3, 0, 0, 750, 752, 3, 214, 107, 0, 751, 749, 1, 0, 0, 0, 752, 755, 1, 0, 0, 0, 753, 751, 1, 0, 0, 0, 753, 754, 1, 0, 0, 0, 754, 757, 1, 0, 0, 0, 755, 753, 1, 0, 0, 0, 756, 748, 1, 0, 0, 0, 756, 757, 1, 0, 0, 0, 757, 758, 1, 0, 0, 0, 758, 759, 5, 2, 0, 0, 759, 1229, 1, 0, 0, 0, 760, 763, 5, 54, 0, 0, 761, 762, 5, 195, 0, 0, 762, 764, 5, 227, 0, 0, 763, 761, 1, 0, 0, 0, 763, 764, 1, 0, 0, 0, 764, 765, 1, 0, 0, 0, 765, 1229, 3, 220, 110, 0, 766, 767, 5, 84, 0, 0, 767, 770, 5, 108, 0, 0, 768, 769, 5, 120, 0, 0, 769, 771, 5, 95, 0, 0, 770, 768, 1, 0, 0, 0, 770, 771, 1, 0, 0, 0, 771, 772, 1, 0, 0, 0, 772, 773, 3, 256, 128, 0, 773, 782, 5, 1, 0, 0, 774, 779, 3, 222, 111, 0, 775, 776, 5, 3, 0, 0, 776, 778, 3, 222, 111, 0, 777, 775, 1, 0, 0, 0, 778, 781, 1, 0, 0, 0, 779, 777, 1, 0, 0, 0, 779, 780, 1, 0, 0, 0, 780, 783, 1, 0, 0, 0, 781, 779, 1, 0, 0, 0, 782, 774, 1, 0, 0, 0, 782, 783, 1, 0, 0, 0, 783, 784, 1, 0, 0, 0, 784, 785, 5, 2, 0, 0, 785, 1229, 1, 0, 0, 0, 786, 787, 5, 54, 0, 0, 787, 788, 5, 236, 0, 0, 788, 792, 3, 278, 139, 0, 789, 790, 5, 305, 0, 0, 790, 791, 5, 20, 0, 0, 791, 793, 3, 270, 135, 0, 792, 789, 1, 0, 0, 0, 792, 793, 1, 0, 0, 0, 793, 796, 1, 0, 0, 0, 794, 795, 5, 123, 0, 0, 795, 797, 3, 252, 126, 0, 796, 794, 1, 0, 0, 0, 796, 797, 1, 0, 0, 0, 797, 1229, 1, 0, 0, 0, 798, 799, 5, 84, 0, 0, 799, 800, 5, 236, 0, 0, 800, 803, 3, 278, 139, 0, 801, 802, 5, 123, 0, 0, 802, 804, 3, 252, 126, 0, 803, 801, 1, 0, 0, 0, 803, 804, 1, 0, 0, 0, 804, 1229, 1, 0, 0, 0, 805, 806, 5, 111, 0, 0, 806, 811, 3, 276, 138, 0, 807, 808, 5, 3, 0, 0, 808, 810, 3, 276, 138, 0, 809, 807, 1, 0, 0, 0, 810, 813, 1, 0, 0, 0, 811, 809, 1, 0, 0, 0, 811, 812, 1, 0, 0, 0, 812, 814, 1, 0, 0, 0, 813, 811, 1, 0, 0, 0, 814, 815, 5, 270, 0, 0, 815, 820, 3, 272, 136, 0, 816, 817, 5, 3, 0, 0, 817, 819, 3, 272, 136, 0, 818, 816, 1, 0, 0, 0, 819, 822, 1, 0, 0, 0, 820, 818, 1, 0, 0, 0, 820, 821, 1, 0, 0, 0, 821, 826, 1, 0, 0, 0, 822, 820, 1, 0, 0, 0, 823, 824, 5, 305, 0, 0, 824, 825, 5, 20, 0, 0, 825, 827, 5, 194, 0, 0, 826, 823, 1, 0, 0, 0, 826, 827, 1, 0, 0, 0, 827, 831, 1, 0, 0, 0, 828, 829, 5, 112, 0, 0, 829, 830, 5, 36, 0, 0, 830, 832, 3, 270, 135, 0, 831, 828, 1, 0, 0, 0, 831, 832, 1, 0, 0, 0, 832, 835, 1, 0, 0, 0, 833, 834, 5, 123, 0, 0, 834, 836, 3, 252, 126, 0, 835, 833, 1, 0, 0, 0, 835, 836, 1, 0, 0, 0, 836, 1229, 1, 0, 0, 0, 837, 848, 5, 111, 0, 0, 838, 843, 3, 276, 138, 0, 839, 840, 5, 3, 0, 0, 840, 842, 3, 276, 138, 0, 841, 839, 1, 0, 0, 0, 842, 845, 1, 0, 0, 0, 843, 841, 1, 0, 0, 0, 843, 844, 1, 0, 0, 0, 844, 849, 1, 0, 0, 0, 845, 843, 1, 0, 0, 0, 846, 847, 5, 22, 0, 0, 847, 849, 5, 216, 0, 0, 848, 838, 1, 0, 0, 0, 848, 846, 1, 0, 0, 0, 849, 850, 1, 0, 0, 0, 850, 851, 5, 191, 0, 0, 851, 852, 3, 236, 118, 0, 852, 853, 5, 270, 0, 0, 853, 857, 3, 272, 136, 0, 854, 855, 5, 305, 0, 0, 855, 856, 5, 111, 0, 0, 856, 858, 5, 194, 0, 0, 857, 854, 1, 0, 0, 0, 857, 858, 1, 0, 0, 0, 858, 1229, 1, 0, 0, 0, 859, 863, 5, 234, 0, 0, 860, 861, 5, 20, 0, 0, 861, 862, 5, 194, 0, 0, 862, 864, 5, 104, 0, 0, 863, 860, 1, 0, 0, 0, 863, 864, 1, 0, 0, 0, 864, 865, 1, 0, 0, 0, 865, 870, 3, 276, 138, 0, 866, 867, 5, 3, 0, 0, 867, 869, 3, 276, 138, 0, 868, 866, 1, 0, 0, 0, 869, 872, 1, 0, 0, 0, 870, 868, 1, 0, 0, 0, 870, 871, 1, 0, 0, 0, 871, 873, 1, 0, 0, 0, 872, 870, 1, 0, 0, 0, 873, 874, 5, 106, 0, 0, 874, 879, 3, 272, 136, 0, 875, 876, 5, 3, 0, 0, 876, 878, 3, 272, 136, 0, 877, 875, 1, 0, 0, 0, 878, 881, 1, 0, 0, 0, 879, 877, 1, 0, 0, 0, 879, 880, 1, 0, 0, 0, 880, 885, 1, 0, 0, 0, 881, 879, 1, 0, 0, 0, 882, 883, 5, 112, 0, 0, 883, 884, 5, 36, 0, 0, 884, 886, 3, 270, 135, 0, 885, 882, 1, 0, 0, 0, 885, 886, 1, 0, 0, 0, 886, 889, 1, 0, 0, 0, 887, 888, 5, 123, 0, 0, 888, 890, 3, 252, 126, 0, 889, 887, 1, 0, 0, 0, 889, 890, 1, 0, 0, 0, 890, 1229, 1, 0, 0, 0, 891, 895, 5, 234, 0, 0, 892, 893, 5, 111, 0, 0, 893, 894, 5, 194, 0, 0, 894, 896, 5, 104, 0, 0, 895, 892, 1, 0, 0, 0, 895, 896, 1, 0, 0, 0, 896, 907, 1, 0, 0, 0, 897, 902, 3, 276, 138, 0, 898, 899, 5, 3, 0, 0, 899, 901, 3, 276, 138, 0, 900, 898, 1, 0, 0, 0, 901, 904, 1, 0, 0, 0, 902, 900, 1, 0, 0, 0, 902, 903, 1, 0, 0, 0, 903, 908, 1, 0, 0, 0, 904, 902, 1, 0, 0, 0, 905, 906, 5, 22, 0, 0, 906, 908, 5, 216, 0, 0, 907, 897, 1, 0, 0, 0, 907, 905, 1, 0, 0, 0, 908, 909, 1, 0, 0, 0, 909, 910, 5, 191, 0, 0, 910, 911, 3, 236, 118, 0, 911, 912, 5, 106, 0, 0, 912, 913, 3, 272, 136, 0, 913, 1229, 1, 0, 0, 0, 914, 925, 5, 75, 0, 0, 915, 920, 3, 234, 117, 0, 916, 917, 5, 3, 0, 0, 917, 919, 3, 234, 117, 0, 918, 916, 1, 0, 0, 0, 919, 922, 1, 0, 0, 0, 920, 918, 1, 0, 0, 0, 920, 921, 1, 0, 0, 0, 921, 926, 1, 0, 0, 0, 922, 920, 1, 0, 0, 0, 923, 924, 5, 22, 0, 0, 924, 926, 5, 216, 0, 0, 925, 915, 1, 0, 0, 0, 925, 923, 1, 0, 0, 0, 926, 927, 1, 0, 0, 0, 927, 928, 5, 191, 0, 0, 928, 929, 3, 236, 118, 0, 929, 930, 5, 270, 0, 0, 930, 931, 3, 272, 136, 0, 931, 1229, 1, 0, 0, 0, 932, 933, 5, 252, 0, 0, 933, 937, 5, 236, 0, 0, 934, 938, 5, 22, 0, 0, 935, 938, 5, 181, 0, 0, 936, 938, 3, 278, 139, 0, 937, 934, 1, 0, 0, 0, 937, 935, 1, 0, 0, 0, 937, 936, 1, 0, 0, 0, 938, 941, 1, 0, 0, 0, 939, 940, 5, 123, 0, 0, 940, 942, 3, 252, 126, 0, 941, 939, 1, 0, 0, 0, 941, 942, 1, 0, 0, 0, 942, 1229, 1, 0, 0, 0, 943, 944, 5, 254, 0, 0, 944, 947, 5, 113, 0, 0, 945, 946, 5, 191, 0, 0, 946, 948, 3, 236, 118, 0, 947, 945, 1, 0, 0, 0, 947, 948, 1, 0, 0, 0, 948, 1229, 1, 0, 0, 0, 949, 961, 5, 96, 0, 0, 950, 951, 5, 1, 0, 0, 951, 956, 3, 210, 105, 0, 952, 953, 5, 3, 0, 0, 953, 955, 3, 210, 105, 0, 954, 952, 1, 0, 0, 0, 955, 958, 1, 0, 0, 0, 956, 954, 1, 0, 0, 0, 956, 957, 1, 0, 0, 0, 957, 959, 1, 0, 0, 0, 958, 956, 1, 0, 0, 0, 959, 960, 5, 2, 0, 0, 960, 962, 1, 0, 0, 0, 961, 950, 1, 0, 0, 0, 961, 962, 1, 0, 0, 0, 962, 963, 1, 0, 0, 0, 963, 1229, 3, 16, 8, 0, 964, 965, 5, 96, 0, 0, 965, 967, 5, 24, 0, 0, 966, 968, 5, 298, 0, 0, 967, 966, 1, 0, 0, 0, 967, 968, 1, 0, 0, 0, 968, 969, 1, 0, 0, 0, 969, 1229, 3, 16, 8, 0, 970, 971, 5, 254, 0, 0, 971, 972, 5, 54, 0, 0, 972, 973, 5, 261, 0, 0, 973, 1229, 3, 240, 120, 0, 974, 975, 5, 254, 0, 0, 975, 976, 5, 54, 0, 0, 976, 977, 5, 244, 0, 0, 977, 1229, 3, 248, 124, 0, 978, 979, 5, 254, 0, 0, 979, 980, 5, 54, 0, 0, 980, 981, 5, 300, 0, 0, 981, 1229, 3, 244, 122, 0, 982, 983, 5, 254, 0, 0, 983, 984, 5, 54, 0, 0, 984, 985, 5, 168, 0, 0, 985, 986, 5, 300, 0, 0, 986, 1229, 3, 244, 122, 0, 987, 988, 5, 254, 0, 0, 988, 989, 5, 54, 0, 0, 989, 990, 5, 108, 0, 0, 990, 1229, 3, 256, 128, 0, 991, 992, 5, 254, 0, 0, 992, 995, 5, 262, 0, 0, 993, 994, 7, 2, 0, 0, 994, 996, 3, 248, 124, 0, 995, 993, 1, 0, 0, 0, 995, 996, 1, 0, 0, 0, 996, 1003, 1, 0, 0, 0, 997, 998, 5, 155, 0, 0, 998, 1001, 3, 172, 86, 0, 999, 1000, 5, 91, 0, 0, 1000, 1002, 3, 172, 86, 0, 1001, 999, 1, 0, 0, 0, 1001, 1002, 1, 0, 0, 0, 1002, 1004, 1, 0, 0, 0, 1003, 997, 1, 0, 0, 0, 1003, 1004, 1, 0, 0, 0, 1004, 1229, 1, 0, 0, 0, 1005, 1006, 5, 254, 0, 0, 1006, 1009, 5, 245, 0, 0, 1007, 1008, 7, 2, 0, 0, 1008, 1010, 3, 252, 126, 0, 1009, 1007, 1, 0, 0, 0, 1009, 1010, 1, 0, 0, 0, 1010, 1017, 1, 0, 0, 0, 1011, 1012, 5, 155, 0, 0, 1012, 1015, 3, 172, 86, 0, 1013, 1014, 5, 91, 0, 0, 1014, 1016, 3, 172, 86, 0, 1015, 1013, 1, 0, 0, 0, 1015, 1016, 1, 0, 0, 0, 1016, 1018, 1, 0, 0, 0, 1017, 1011, 1, 0, 0, 0, 1017, 1018, 1, 0, 0, 0, 1018, 1229, 1, 0, 0, 0, 1019, 1020, 5, 254, 0, 0, 1020, 1027, 5, 43, 0, 0, 1021, 1022, 5, 155, 0, 0, 1022, 1025, 3, 172, 86, 0, 1023, 1024, 5, 91, 0, 0, 1024, 1026, 3, 172, 86, 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, 1229, 1, 0, 0, 0, 1029, 1030, 5, 254, 0, 0, 1030, 1031, 5, 46, 0, 0, 1031, 1032, 7, 2, 0, 0, 1032, 1039, 3, 238, 119, 0, 1033, 1034, 5, 155, 0, 0, 1034, 1037, 3, 172, 86, 0, 1035, 1036, 5, 91, 0, 0, 1036, 1038, 3, 172, 86, 0, 1037, 1035, 1, 0, 0, 0, 1037, 1038, 1, 0, 0, 0, 1038, 1040, 1, 0, 0, 0, 1039, 1033, 1, 0, 0, 0, 1039, 1040, 1, 0, 0, 0, 1040, 1229, 1, 0, 0, 0, 1041, 1042, 5, 254, 0, 0, 1042, 1043, 5, 257, 0, 0, 1043, 1044, 5, 104, 0, 0, 1044, 1229, 3, 238, 119, 0, 1045, 1046, 5, 254, 0, 0, 1046, 1047, 5, 257, 0, 0, 1047, 1048, 5, 104, 0, 0, 1048, 1049, 5, 1, 0, 0, 1049, 1050, 3, 18, 9, 0, 1050, 1051, 5, 2, 0, 0, 1051, 1229, 1, 0, 0, 0, 1052, 1054, 5, 254, 0, 0, 1053, 1055, 5, 57, 0, 0, 1054, 1053, 1, 0, 0, 0, 1054, 1055, 1, 0, 0, 0, 1055, 1056, 1, 0, 0, 0, 1056, 1059, 5, 237, 0, 0, 1057, 1058, 7, 2, 0, 0, 1058, 1060, 3, 252, 126, 0, 1059, 1057, 1, 0, 0, 0, 1059, 1060, 1, 0, 0, 0, 1060, 1229, 1, 0, 0, 0, 1061, 1062, 5, 254, 0, 0, 1062, 1063, 5, 236, 0, 0, 1063, 1066, 5, 113, 0, 0, 1064, 1065, 7, 2, 0, 0, 1065, 1067, 3, 252, 126, 0, 1066, 1064, 1, 0, 0, 0, 1066, 1067, 1, 0, 0, 0, 1067, 1229, 1, 0, 0, 0, 1068, 1069, 5, 77, 0, 0, 1069, 1229, 3, 238, 119, 0, 1070, 1071, 5, 76, 0, 0, 1071, 1229, 3, 238, 119, 0, 1072, 1073, 5, 254, 0, 0, 1073, 1076, 5, 109, 0, 0, 1074, 1075, 7, 2, 0, 0, 1075, 1077, 3, 248, 124, 0, 1076, 1074, 1, 0, 0, 0, 1076, 1077, 1, 0, 0, 0, 1077, 1084, 1, 0, 0, 0, 1078, 1079, 5, 155, 0, 0, 1079, 1082, 3, 172, 86, 0, 1080, 1081, 5, 91, 0, 0, 1081, 1083, 3, 172, 86, 0, 1082, 1080, 1, 0, 0, 0, 1082, 1083, 1, 0, 0, 0, 1083, 1085, 1, 0, 0, 0, 1084, 1078, 1, 0, 0, 0, 1084, 1085, 1, 0, 0, 0, 1085, 1229, 1, 0, 0, 0, 1086, 1087, 5, 254, 0, 0, 1087, 1094, 5, 251, 0, 0, 1088, 1089, 5, 155, 0, 0, 1089, 1092, 3, 172, 86, 0, 1090, 1091, 5, 91, 0, 0, 1091, 1093, 3, 172, 86, 0, 1092, 1090, 1, 0, 0, 0, 1092, 1093, 1, 0, 0, 0, 1093, 1095, 1, 0, 0, 0, 1094, 1088, 1, 0, 0, 0, 1094, 1095, 1, 0, 0, 0, 1095, 1229, 1, 0, 0, 0, 1096, 1097, 5, 252, 0, 0, 1097, 1098, 5, 251, 0, 0, 1098, 1101, 5, 31, 0, 0, 1099, 1102, 3, 278, 139, 0, 1100, 1102, 3, 172, 86, 0, 1101, 1099, 1, 0, 0, 0, 1101, 1100, 1, 0, 0, 0, 1102, 1229, 1, 0, 0, 0, 1103, 1104, 5, 228, 0, 0, 1104, 1105, 5, 251, 0, 0, 1105, 1229, 5, 31, 0, 0, 1106, 1107, 5, 252, 0, 0, 1107, 1108, 5, 251, 0, 0, 1108, 1109, 3, 268, 134, 0, 1109, 1110, 5, 313, 0, 0, 1110, 1111, 3, 144, 72, 0, 1111, 1229, 1, 0, 0, 0, 1112, 1113, 5, 228, 0, 0, 1113, 1114, 5, 251, 0, 0, 1114, 1229, 3, 268, 134, 0, 1115, 1116, 5, 256, 0, 0, 1116, 1125, 5, 272, 0, 0, 1117, 1122, 3, 212, 106, 0, 1118, 1119, 5, 3, 0, 0, 1119, 1121, 3, 212, 106, 0, 1120, 1118, 1, 0, 0, 0, 1121, 1124, 1, 0, 0, 0, 1122, 1120, 1, 0, 0, 0, 1122, 1123, 1, 0, 0, 0, 1123, 1126, 1, 0, 0, 0, 1124, 1122, 1, 0, 0, 0, 1125, 1117, 1, 0, 0, 0, 1125, 1126, 1, 0, 0, 0, 1126, 1229, 1, 0, 0, 0, 1127, 1129, 5, 48, 0, 0, 1128, 1130, 5, 308, 0, 0, 1129, 1128, 1, 0, 0, 0, 1129, 1130, 1, 0, 0, 0, 1130, 1229, 1, 0, 0, 0, 1131, 1133, 5, 238, 0, 0, 1132, 1134, 5, 308, 0, 0, 1133, 1132, 1, 0, 0, 0, 1133, 1134, 1, 0, 0, 0, 1134, 1229, 1, 0, 0, 0, 1135, 1136, 5, 215, 0, 0, 1136, 1137, 3, 278, 139, 0, 1137, 1138, 5, 106, 0, 0, 1138, 1139, 3, 16, 8, 0, 1139, 1229, 1, 0, 0, 0, 1140, 1141, 5, 69, 0, 0, 1141, 1142, 5, 215, 0, 0, 1142, 1229, 3, 278, 139, 0, 1143, 1144, 5, 94, 0, 0, 1144, 1154, 3, 278, 139, 0, 1145, 1146, 5, 291, 0, 0, 1146, 1151, 3, 144, 72, 0, 1147, 1148, 5, 3, 0, 0, 1148, 1150, 3, 144, 72, 0, 1149, 1147, 1, 0, 0, 0, 1150, 1153, 1, 0, 0, 0, 1151, 1149, 1, 0, 0, 0, 1151, 1152, 1, 0, 0, 0, 1152, 1155, 1, 0, 0, 0, 1153, 1151, 1, 0, 0, 0, 1154, 1145, 1, 0, 0, 0, 1154, 1155, 1, 0, 0, 0, 1155, 1229, 1, 0, 0, 0, 1156, 1157, 5, 94, 0, 0, 1157, 1158, 5, 122, 0, 0, 1158, 1168, 3, 172, 86, 0, 1159, 1160, 5, 291, 0, 0, 1160, 1165, 3, 144, 72, 0, 1161, 1162, 5, 3, 0, 0, 1162, 1164, 3, 144, 72, 0, 1163, 1161, 1, 0, 0, 0, 1164, 1167, 1, 0, 0, 0, 1165, 1163, 1, 0, 0, 0, 1165, 1166, 1, 0, 0, 0, 1166, 1169, 1, 0, 0, 0, 1167, 1165, 1, 0, 0, 0, 1168, 1159, 1, 0, 0, 0, 1168, 1169, 1, 0, 0, 0, 1169, 1229, 1, 0, 0, 0, 1170, 1171, 5, 77, 0, 0, 1171, 1172, 5, 127, 0, 0, 1172, 1229, 3, 278, 139, 0, 1173, 1174, 5, 77, 0, 0, 1174, 1175, 5, 199, 0, 0, 1175, 1229, 3, 278, 139, 0, 1176, 1177, 5, 252, 0, 0, 1177, 1178, 5, 206, 0, 0, 1178, 1229, 3, 218, 109, 0, 1179, 1180, 5, 252, 0, 0, 1180, 1181, 5, 268, 0, 0, 1181, 1184, 5, 312, 0, 0, 1182, 1185, 5, 158, 0, 0, 1183, 1185, 3, 144, 72, 0, 1184, 1182, 1, 0, 0, 0, 1184, 1183, 1, 0, 0, 0, 1185, 1229, 1, 0, 0, 0, 1186, 1187, 5, 288, 0, 0, 1187, 1188, 3, 240, 120, 0, 1188, 1189, 5, 252, 0, 0, 1189, 1194, 3, 208, 104, 0, 1190, 1191, 5, 3, 0, 0, 1191, 1193, 3, 208, 104, 0, 1192, 1190, 1, 0, 0, 0, 1193, 1196, 1, 0, 0, 0, 1194, 1192, 1, 0, 0, 0, 1194, 1195, 1, 0, 0, 0, 1195, 1198, 1, 0, 0, 0, 1196, 1194, 1, 0, 0, 0, 1197, 1199, 3, 48, 24, 0, 1198, 1197, 1, 0, 0, 0, 1198, 1199, 1, 0, 0, 0, 1199, 1229, 1, 0, 0, 0, 1200, 1201, 5, 170, 0, 0, 1201, 1202, 5, 131, 0, 0, 1202, 1207, 3, 240, 120, 0, 1203, 1205, 5, 28, 0, 0, 1204, 1203, 1, 0, 0, 0, 1204, 1205, 1, 0, 0, 0, 1205, 1206, 1, 0, 0, 0, 1206, 1208, 3, 278, 139, 0, 1207, 1204, 1, 0, 0, 0, 1207, 1208, 1, 0, 0, 0, 1208, 1209, 1, 0, 0, 0, 1209, 1210, 5, 291, 0, 0, 1210, 1211, 3, 82, 41, 0, 1211, 1212, 5, 191, 0, 0, 1212, 1214, 3, 144, 72, 0, 1213, 1215, 3, 192, 96, 0, 1214, 1213, 1, 0, 0, 0, 1215, 1216, 1, 0, 0, 0, 1216, 1214, 1, 0, 0, 0, 1216, 1217, 1, 0, 0, 0, 1217, 1229, 1, 0, 0, 0, 1218, 1219, 5, 254, 0, 0, 1219, 1220, 5, 47, 0, 0, 1220, 1221, 5, 191, 0, 0, 1221, 1222, 5, 261, 0, 0, 1222, 1229, 3, 240, 120, 0, 1223, 1224, 5, 254, 0, 0, 1224, 1225, 5, 47, 0, 0, 1225, 1226, 5, 191, 0, 0, 1226, 1227, 5, 45, 0, 0, 1227, 1229, 3, 260, 130, 0, 1228, 317, 1, 0, 0, 0, 1228, 318, 1, 0, 0, 0, 1228, 320, 1, 0, 0, 0, 1228, 342, 1, 0, 0, 0, 1228, 352, 1, 0, 0, 0, 1228, 368, 1, 0, 0, 0, 1228, 378, 1, 0, 0, 0, 1228, 385, 1, 0, 0, 0, 1228, 392, 1, 0, 0, 0, 1228, 430, 1, 0, 0, 0, 1228, 460, 1, 0, 0, 0, 1228, 467, 1, 0, 0, 0, 1228, 475, 1, 0, 0, 0, 1228, 481, 1, 0, 0, 0, 1228, 484, 1, 0, 0, 0, 1228, 493, 1, 0, 0, 0, 1228, 502, 1, 0, 0, 0, 1228, 511, 1, 0, 0, 0, 1228, 522, 1, 0, 0, 0, 1228, 538, 1, 0, 0, 0, 1228, 555, 1, 0, 0, 0, 1228, 570, 1, 0, 0, 0, 1228, 585, 1, 0, 0, 0, 1228, 599, 1, 0, 0, 0, 1228, 606, 1, 0, 0, 0, 1228, 613, 1, 0, 0, 0, 1228, 635, 1, 0, 0, 0, 1228, 641, 1, 0, 0, 0, 1228, 670, 1, 0, 0, 0, 1228, 692, 1, 0, 0, 0, 1228, 696, 1, 0, 0, 0, 1228, 704, 1, 0, 0, 0, 1228, 716, 1, 0, 0, 0, 1228, 724, 1, 0, 0, 0, 1228, 731, 1, 0, 0, 0, 1228, 738, 1, 0, 0, 0, 1228, 745, 1, 0, 0, 0, 1228, 760, 1, 0, 0, 0, 1228, 766, 1, 0, 0, 0, 1228, 786, 1, 0, 0, 0, 1228, 798, 1, 0, 0, 0, 1228, 805, 1, 0, 0, 0, 1228, 837, 1, 0, 0, 0, 1228, 859, 1, 0, 0, 0, 1228, 891, 1, 0, 0, 0, 1228, 914, 1, 0, 0, 0, 1228, 932, 1, 0, 0, 0, 1228, 943, 1, 0, 0, 0, 1228, 949, 1, 0, 0, 0, 1228, 964, 1, 0, 0, 0, 1228, 970, 1, 0, 0, 0, 1228, 974, 1, 0, 0, 0, 1228, 978, 1, 0, 0, 0, 1228, 982, 1, 0, 0, 0, 1228, 987, 1, 0, 0, 0, 1228, 991, 1, 0, 0, 0, 1228, 1005, 1, 0, 0, 0, 1228, 1019, 1, 0, 0, 0, 1228, 1029, 1, 0, 0, 0, 1228, 1041, 1, 0, 0, 0, 1228, 1045, 1, 0, 0, 0, 1228, 1052, 1, 0, 0, 0, 1228, 1061, 1, 0, 0, 0, 1228, 1068, 1, 0, 0, 0, 1228, 1070, 1, 0, 0, 0, 1228, 1072, 1, 0, 0, 0, 1228, 1086, 1, 0, 0, 0, 1228, 1096, 1, 0, 0, 0, 1228, 1103, 1, 0, 0, 0, 1228, 1106, 1, 0, 0, 0, 1228, 1112, 1, 0, 0, 0, 1228, 1115, 1, 0, 0, 0, 1228, 1127, 1, 0, 0, 0, 1228, 1131, 1, 0, 0, 0, 1228, 1135, 1, 0, 0, 0, 1228, 1140, 1, 0, 0, 0, 1228, 1143, 1, 0, 0, 0, 1228, 1156, 1, 0, 0, 0, 1228, 1170, 1, 0, 0, 0, 1228, 1173, 1, 0, 0, 0, 1228, 1176, 1, 0, 0, 0, 1228, 1179, 1, 0, 0, 0, 1228, 1186, 1, 0, 0, 0, 1228, 1200, 1, 0, 0, 0, 1228, 1218, 1, 0, 0, 0, 1228, 1223, 1, 0, 0, 0, 1229, 17, 1, 0, 0, 0, 1230, 1232, 3, 20, 10, 0, 1231, 1230, 1, 0, 0, 0, 1231, 1232, 1, 0, 0, 0, 1232, 1233, 1, 0, 0, 0, 1233, 1234, 3, 22, 11, 0, 1234, 19, 1, 0, 0, 0, 1235, 1236, 5, 305, 0, 0, 1236, 1241, 3, 220, 110, 0, 1237, 1238, 5, 3, 0, 0, 1238, 1240, 3, 220, 110, 0, 1239, 1237, 1, 0, 0, 0, 1240, 1243, 1, 0, 0, 0, 1241, 1239, 1, 0, 0, 0, 1241, 1242, 1, 0, 0, 0, 1242, 21, 1, 0, 0, 0, 1243, 1241, 1, 0, 0, 0, 1244, 1246, 3, 24, 12, 0, 1245, 1244, 1, 0, 0, 0, 1245, 1246, 1, 0, 0, 0, 1246, 1247, 1, 0, 0, 0, 1247, 1248, 3, 38, 19, 0, 1248, 23, 1, 0, 0, 0, 1249, 1251, 5, 305, 0, 0, 1250, 1252, 5, 222, 0, 0, 1251, 1250, 1, 0, 0, 0, 1251, 1252, 1, 0, 0, 0, 1252, 1253, 1, 0, 0, 0, 1253, 1258, 3, 68, 34, 0, 1254, 1255, 5, 3, 0, 0, 1255, 1257, 3, 68, 34, 0, 1256, 1254, 1, 0, 0, 0, 1257, 1260, 1, 0, 0, 0, 1258, 1256, 1, 0, 0, 0, 1258, 1259, 1, 0, 0, 0, 1259, 25, 1, 0, 0, 0, 1260, 1258, 1, 0, 0, 0, 1261, 1264, 3, 28, 14, 0, 1262, 1264, 3, 30, 15, 0, 1263, 1261, 1, 0, 0, 0, 1263, 1262, 1, 0, 0, 0, 1264, 27, 1, 0, 0, 0, 1265, 1266, 3, 266, 133, 0, 1266, 1269, 3, 182, 91, 0, 1267, 1268, 5, 183, 0, 0, 1268, 1270, 5, 184, 0, 0, 1269, 1267, 1, 0, 0, 0, 1269, 1270, 1, 0, 0, 0, 1270, 1273, 1, 0, 0, 0, 1271, 1272, 5, 47, 0, 0, 1272, 1274, 3, 172, 86, 0, 1273, 1271, 1, 0, 0, 0, 1273, 1274, 1, 0, 0, 0, 1274, 1277, 1, 0, 0, 0, 1275, 1276, 5, 305, 0, 0, 1276, 1278, 3, 32, 16, 0, 1277, 1275, 1, 0, 0, 0, 1277, 1278, 1, 0, 0, 0, 1278, 29, 1, 0, 0, 0, 1279, 1280, 5, 155, 0, 0, 1280, 1283, 3, 240, 120, 0, 1281, 1282, 7, 3, 0, 0, 1282, 1284, 5, 217, 0, 0, 1283, 1281, 1, 0, 0, 0, 1283, 1284, 1, 0, 0, 0, 1284, 31, 1, 0, 0, 0, 1285, 1286, 5, 1, 0, 0, 1286, 1287, 3, 34, 17, 0, 1287, 1288, 5, 2, 0, 0, 1288, 33, 1, 0, 0, 0, 1289, 1294, 3, 36, 18, 0, 1290, 1291, 5, 3, 0, 0, 1291, 1293, 3, 36, 18, 0, 1292, 1290, 1, 0, 0, 0, 1293, 1296, 1, 0, 0, 0, 1294, 1292, 1, 0, 0, 0, 1294, 1295, 1, 0, 0, 0, 1295, 35, 1, 0, 0, 0, 1296, 1294, 1, 0, 0, 0, 1297, 1298, 3, 278, 139, 0, 1298, 1301, 5, 313, 0, 0, 1299, 1302, 5, 71, 0, 0, 1300, 1302, 3, 144, 72, 0, 1301, 1299, 1, 0, 0, 0, 1301, 1300, 1, 0, 0, 0, 1302, 37, 1, 0, 0, 0, 1303, 1314, 3, 40, 20, 0, 1304, 1305, 5, 196, 0, 0, 1305, 1306, 5, 36, 0, 0, 1306, 1311, 3, 44, 22, 0, 1307, 1308, 5, 3, 0, 0, 1308, 1310, 3, 44, 22, 0, 1309, 1307, 1, 0, 0, 0, 1310, 1313, 1, 0, 0, 0, 1311, 1309, 1, 0, 0, 0, 1311, 1312, 1, 0, 0, 0, 1312, 1315, 1, 0, 0, 0, 1313, 1311, 1, 0, 0, 0, 1314, 1304, 1, 0, 0, 0, 1314, 1315, 1, 0, 0, 0, 1315, 1321, 1, 0, 0, 0, 1316, 1317, 5, 189, 0, 0, 1317, 1319, 7, 4, 0, 0, 1318, 1320, 7, 5, 0, 0, 1319, 1318, 1, 0, 0, 0, 1319, 1320, 1, 0, 0, 0, 1320, 1322, 1, 0, 0, 0, 1321, 1316, 1, 0, 0, 0, 1321, 1322, 1, 0, 0, 0, 1322, 1336, 1, 0, 0, 0, 1323, 1324, 5, 156, 0, 0, 1324, 1337, 7, 6, 0, 0, 1325, 1326, 5, 99, 0, 0, 1326, 1328, 7, 7, 0, 0, 1327, 1329, 7, 4, 0, 0, 1328, 1327, 1, 0, 0, 0, 1328, 1329, 1, 0, 0, 0, 1329, 1330, 1, 0, 0, 0, 1330, 1334, 7, 5, 0, 0, 1331, 1335, 5, 193, 0, 0, 1332, 1333, 5, 305, 0, 0, 1333, 1335, 5, 267, 0, 0, 1334, 1331, 1, 0, 0, 0, 1334, 1332, 1, 0, 0, 0, 1335, 1337, 1, 0, 0, 0, 1336, 1323, 1, 0, 0, 0, 1336, 1325, 1, 0, 0, 0, 1336, 1337, 1, 0, 0, 0, 1337, 39, 1, 0, 0, 0, 1338, 1339, 6, 20, -1, 0, 1339, 1340, 3, 42, 21, 0, 1340, 1355, 1, 0, 0, 0, 1341, 1342, 10, 2, 0, 0, 1342, 1344, 5, 129, 0, 0, 1343, 1345, 3, 70, 35, 0, 1344, 1343, 1, 0, 0, 0, 1344, 1345, 1, 0, 0, 0, 1345, 1346, 1, 0, 0, 0, 1346, 1354, 3, 40, 20, 3, 1347, 1348, 10, 1, 0, 0, 1348, 1350, 7, 8, 0, 0, 1349, 1351, 3, 70, 35, 0, 1350, 1349, 1, 0, 0, 0, 1350, 1351, 1, 0, 0, 0, 1351, 1352, 1, 0, 0, 0, 1352, 1354, 3, 40, 20, 2, 1353, 1341, 1, 0, 0, 0, 1353, 1347, 1, 0, 0, 0, 1354, 1357, 1, 0, 0, 0, 1355, 1353, 1, 0, 0, 0, 1355, 1356, 1, 0, 0, 0, 1356, 41, 1, 0, 0, 0, 1357, 1355, 1, 0, 0, 0, 1358, 1375, 3, 46, 23, 0, 1359, 1360, 5, 261, 0, 0, 1360, 1375, 3, 240, 120, 0, 1361, 1362, 5, 297, 0, 0, 1362, 1367, 3, 144, 72, 0, 1363, 1364, 5, 3, 0, 0, 1364, 1366, 3, 144, 72, 0, 1365, 1363, 1, 0, 0, 0, 1366, 1369, 1, 0, 0, 0, 1367, 1365, 1, 0, 0, 0, 1367, 1368, 1, 0, 0, 0, 1368, 1375, 1, 0, 0, 0, 1369, 1367, 1, 0, 0, 0, 1370, 1371, 5, 1, 0, 0, 1371, 1372, 3, 38, 19, 0, 1372, 1373, 5, 2, 0, 0, 1373, 1375, 1, 0, 0, 0, 1374, 1358, 1, 0, 0, 0, 1374, 1359, 1, 0, 0, 0, 1374, 1361, 1, 0, 0, 0, 1374, 1370, 1, 0, 0, 0, 1375, 43, 1, 0, 0, 0, 1376, 1379, 3, 260, 130, 0, 1377, 1379, 3, 144, 72, 0, 1378, 1376, 1, 0, 0, 0, 1378, 1377, 1, 0, 0, 0, 1379, 1381, 1, 0, 0, 0, 1380, 1382, 7, 9, 0, 0, 1381, 1380, 1, 0, 0, 0, 1381, 1382, 1, 0, 0, 0, 1382, 1385, 1, 0, 0, 0, 1383, 1384, 5, 186, 0, 0, 1384, 1386, 7, 10, 0, 0, 1385, 1383, 1, 0, 0, 0, 1385, 1386, 1, 0, 0, 0, 1386, 45, 1, 0, 0, 0, 1387, 1389, 5, 249, 0, 0, 1388, 1390, 3, 70, 35, 0, 1389, 1388, 1, 0, 0, 0, 1389, 1390, 1, 0, 0, 0, 1390, 1391, 1, 0, 0, 0, 1391, 1401, 3, 52, 26, 0, 1392, 1393, 5, 106, 0, 0, 1393, 1398, 3, 82, 41, 0, 1394, 1395, 5, 3, 0, 0, 1395, 1397, 3, 82, 41, 0, 1396, 1394, 1, 0, 0, 0, 1397, 1400, 1, 0, 0, 0, 1398, 1396, 1, 0, 0, 0, 1398, 1399, 1, 0, 0, 0, 1399, 1402, 1, 0, 0, 0, 1400, 1398, 1, 0, 0, 0, 1401, 1392, 1, 0, 0, 0, 1401, 1402, 1, 0, 0, 0, 1402, 1404, 1, 0, 0, 0, 1403, 1405, 3, 48, 24, 0, 1404, 1403, 1, 0, 0, 0, 1404, 1405, 1, 0, 0, 0, 1405, 1409, 1, 0, 0, 0, 1406, 1407, 5, 115, 0, 0, 1407, 1408, 5, 36, 0, 0, 1408, 1410, 3, 54, 27, 0, 1409, 1406, 1, 0, 0, 0, 1409, 1410, 1, 0, 0, 0, 1410, 1412, 1, 0, 0, 0, 1411, 1413, 3, 50, 25, 0, 1412, 1411, 1, 0, 0, 0, 1412, 1413, 1, 0, 0, 0, 1413, 1423, 1, 0, 0, 0, 1414, 1415, 5, 304, 0, 0, 1415, 1420, 3, 64, 32, 0, 1416, 1417, 5, 3, 0, 0, 1417, 1419, 3, 64, 32, 0, 1418, 1416, 1, 0, 0, 0, 1419, 1422, 1, 0, 0, 0, 1420, 1418, 1, 0, 0, 0, 1420, 1421, 1, 0, 0, 0, 1421, 1424, 1, 0, 0, 0, 1422, 1420, 1, 0, 0, 0, 1423, 1414, 1, 0, 0, 0, 1423, 1424, 1, 0, 0, 0, 1424, 47, 1, 0, 0, 0, 1425, 1426, 5, 302, 0, 0, 1426, 1427, 3, 146, 73, 0, 1427, 49, 1, 0, 0, 0, 1428, 1429, 5, 118, 0, 0, 1429, 1430, 3, 146, 73, 0, 1430, 51, 1, 0, 0, 0, 1431, 1436, 3, 72, 36, 0, 1432, 1433, 5, 3, 0, 0, 1433, 1435, 3, 72, 36, 0, 1434, 1432, 1, 0, 0, 0, 1435, 1438, 1, 0, 0, 0, 1436, 1434, 1, 0, 0, 0, 1436, 1437, 1, 0, 0, 0, 1437, 53, 1, 0, 0, 0, 1438, 1436, 1, 0, 0, 0, 1439, 1441, 3, 70, 35, 0, 1440, 1439, 1, 0, 0, 0, 1440, 1441, 1, 0, 0, 0, 1441, 1442, 1, 0, 0, 0, 1442, 1447, 3, 58, 29, 0, 1443, 1444, 5, 3, 0, 0, 1444, 1446, 3, 58, 29, 0, 1445, 1443, 1, 0, 0, 0, 1446, 1449, 1, 0, 0, 0, 1447, 1445, 1, 0, 0, 0, 1447, 1448, 1, 0, 0, 0, 1448, 55, 1, 0, 0, 0, 1449, 1447, 1, 0, 0, 0, 1450, 1455, 3, 144, 72, 0, 1451, 1452, 5, 3, 0, 0, 1452, 1454, 3, 144, 72, 0, 1453, 1451, 1, 0, 0, 0, 1454, 1457, 1, 0, 0, 0, 1455, 1453, 1, 0, 0, 0, 1455, 1456, 1, 0, 0, 0, 1456, 57, 1, 0, 0, 0, 1457, 1455, 1, 0, 0, 0, 1458, 1499, 3, 60, 30, 0, 1459, 1460, 5, 239, 0, 0, 1460, 1469, 5, 1, 0, 0, 1461, 1466, 3, 60, 30, 0, 1462, 1463, 5, 3, 0, 0, 1463, 1465, 3, 60, 30, 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, 1499, 5, 2, 0, 0, 1472, 1473, 5, 56, 0, 0, 1473, 1482, 5, 1, 0, 0, 1474, 1479, 3, 60, 30, 0, 1475, 1476, 5, 3, 0, 0, 1476, 1478, 3, 60, 30, 0, 1477, 1475, 1, 0, 0, 0, 1478, 1481, 1, 0, 0, 0, 1479, 1477, 1, 0, 0, 0, 1479, 1480, 1, 0, 0, 0, 1480, 1483, 1, 0, 0, 0, 1481, 1479, 1, 0, 0, 0, 1482, 1474, 1, 0, 0, 0, 1482, 1483, 1, 0, 0, 0, 1483, 1484, 1, 0, 0, 0, 1484, 1499, 5, 2, 0, 0, 1485, 1486, 5, 116, 0, 0, 1486, 1487, 5, 253, 0, 0, 1487, 1488, 5, 1, 0, 0, 1488, 1493, 3, 60, 30, 0, 1489, 1490, 5, 3, 0, 0, 1490, 1492, 3, 60, 30, 0, 1491, 1489, 1, 0, 0, 0, 1492, 1495, 1, 0, 0, 0, 1493, 1491, 1, 0, 0, 0, 1493, 1494, 1, 0, 0, 0, 1494, 1496, 1, 0, 0, 0, 1495, 1493, 1, 0, 0, 0, 1496, 1497, 5, 2, 0, 0, 1497, 1499, 1, 0, 0, 0, 1498, 1458, 1, 0, 0, 0, 1498, 1459, 1, 0, 0, 0, 1498, 1472, 1, 0, 0, 0, 1498, 1485, 1, 0, 0, 0, 1499, 59, 1, 0, 0, 0, 1500, 1509, 5, 1, 0, 0, 1501, 1506, 3, 62, 31, 0, 1502, 1503, 5, 3, 0, 0, 1503, 1505, 3, 62, 31, 0, 1504, 1502, 1, 0, 0, 0, 1505, 1508, 1, 0, 0, 0, 1506, 1504, 1, 0, 0, 0, 1506, 1507, 1, 0, 0, 0, 1507, 1510, 1, 0, 0, 0, 1508, 1506, 1, 0, 0, 0, 1509, 1501, 1, 0, 0, 0, 1509, 1510, 1, 0, 0, 0, 1510, 1511, 1, 0, 0, 0, 1511, 1514, 5, 2, 0, 0, 1512, 1514, 3, 62, 31, 0, 1513, 1500, 1, 0, 0, 0, 1513, 1512, 1, 0, 0, 0, 1514, 61, 1, 0, 0, 0, 1515, 1518, 3, 260, 130, 0, 1516, 1518, 3, 144, 72, 0, 1517, 1515, 1, 0, 0, 0, 1517, 1516, 1, 0, 0, 0, 1518, 63, 1, 0, 0, 0, 1519, 1520, 3, 278, 139, 0, 1520, 1521, 5, 28, 0, 0, 1521, 1522, 5, 1, 0, 0, 1522, 1523, 3, 66, 33, 0, 1523, 1524, 5, 2, 0, 0, 1524, 65, 1, 0, 0, 0, 1525, 1527, 3, 278, 139, 0, 1526, 1525, 1, 0, 0, 0, 1526, 1527, 1, 0, 0, 0, 1527, 1531, 1, 0, 0, 0, 1528, 1529, 5, 202, 0, 0, 1529, 1530, 5, 36, 0, 0, 1530, 1532, 3, 56, 28, 0, 1531, 1528, 1, 0, 0, 0, 1531, 1532, 1, 0, 0, 0, 1532, 1543, 1, 0, 0, 0, 1533, 1534, 5, 196, 0, 0, 1534, 1535, 5, 36, 0, 0, 1535, 1540, 3, 44, 22, 0, 1536, 1537, 5, 3, 0, 0, 1537, 1539, 3, 44, 22, 0, 1538, 1536, 1, 0, 0, 0, 1539, 1542, 1, 0, 0, 0, 1540, 1538, 1, 0, 0, 0, 1540, 1541, 1, 0, 0, 0, 1541, 1544, 1, 0, 0, 0, 1542, 1540, 1, 0, 0, 0, 1543, 1533, 1, 0, 0, 0, 1543, 1544, 1, 0, 0, 0, 1544, 1546, 1, 0, 0, 0, 1545, 1547, 3, 196, 98, 0, 1546, 1545, 1, 0, 0, 0, 1546, 1547, 1, 0, 0, 0, 1547, 67, 1, 0, 0, 0, 1548, 1550, 3, 278, 139, 0, 1549, 1551, 3, 114, 57, 0, 1550, 1549, 1, 0, 0, 0, 1550, 1551, 1, 0, 0, 0, 1551, 1552, 1, 0, 0, 0, 1552, 1553, 5, 28, 0, 0, 1553, 1554, 5, 1, 0, 0, 1554, 1555, 3, 22, 11, 0, 1555, 1556, 5, 2, 0, 0, 1556, 69, 1, 0, 0, 0, 1557, 1558, 7, 11, 0, 0, 1558, 71, 1, 0, 0, 0, 1559, 1562, 3, 78, 39, 0, 1560, 1562, 3, 80, 40, 0, 1561, 1559, 1, 0, 0, 0, 1561, 1560, 1, 0, 0, 0, 1562, 1567, 1, 0, 0, 0, 1563, 1565, 5, 28, 0, 0, 1564, 1563, 1, 0, 0, 0, 1564, 1565, 1, 0, 0, 0, 1565, 1566, 1, 0, 0, 0, 1566, 1568, 3, 278, 139, 0, 1567, 1564, 1, 0, 0, 0, 1567, 1568, 1, 0, 0, 0, 1568, 1576, 1, 0, 0, 0, 1569, 1572, 3, 76, 38, 0, 1570, 1571, 5, 28, 0, 0, 1571, 1573, 3, 114, 57, 0, 1572, 1570, 1, 0, 0, 0, 1572, 1573, 1, 0, 0, 0, 1573, 1576, 1, 0, 0, 0, 1574, 1576, 3, 74, 37, 0, 1575, 1561, 1, 0, 0, 0, 1575, 1569, 1, 0, 0, 0, 1575, 1574, 1, 0, 0, 0, 1576, 73, 1, 0, 0, 0, 1577, 1578, 5, 321, 0, 0, 1578, 75, 1, 0, 0, 0, 1579, 1580, 3, 152, 76, 0, 1580, 1581, 5, 4, 0, 0, 1581, 1582, 5, 321, 0, 0, 1582, 77, 1, 0, 0, 0, 1583, 1584, 3, 260, 130, 0, 1584, 79, 1, 0, 0, 0, 1585, 1586, 3, 144, 72, 0, 1586, 81, 1, 0, 0, 0, 1587, 1588, 6, 41, -1, 0, 1588, 1589, 3, 92, 46, 0, 1589, 1608, 1, 0, 0, 0, 1590, 1604, 10, 2, 0, 0, 1591, 1592, 5, 55, 0, 0, 1592, 1593, 5, 137, 0, 0, 1593, 1605, 3, 92, 46, 0, 1594, 1595, 3, 84, 42, 0, 1595, 1596, 5, 137, 0, 0, 1596, 1597, 3, 82, 41, 0, 1597, 1598, 3, 86, 43, 0, 1598, 1605, 1, 0, 0, 0, 1599, 1600, 5, 173, 0, 0, 1600, 1601, 3, 84, 42, 0, 1601, 1602, 5, 137, 0, 0, 1602, 1603, 3, 92, 46, 0, 1603, 1605, 1, 0, 0, 0, 1604, 1591, 1, 0, 0, 0, 1604, 1594, 1, 0, 0, 0, 1604, 1599, 1, 0, 0, 0, 1605, 1607, 1, 0, 0, 0, 1606, 1590, 1, 0, 0, 0, 1607, 1610, 1, 0, 0, 0, 1608, 1606, 1, 0, 0, 0, 1608, 1609, 1, 0, 0, 0, 1609, 83, 1, 0, 0, 0, 1610, 1608, 1, 0, 0, 0, 1611, 1613, 5, 126, 0, 0, 1612, 1611, 1, 0, 0, 0, 1612, 1613, 1, 0, 0, 0, 1613, 1627, 1, 0, 0, 0, 1614, 1616, 5, 153, 0, 0, 1615, 1617, 5, 198, 0, 0, 1616, 1615, 1, 0, 0, 0, 1616, 1617, 1, 0, 0, 0, 1617, 1627, 1, 0, 0, 0, 1618, 1620, 5, 235, 0, 0, 1619, 1621, 5, 198, 0, 0, 1620, 1619, 1, 0, 0, 0, 1620, 1621, 1, 0, 0, 0, 1621, 1627, 1, 0, 0, 0, 1622, 1624, 5, 107, 0, 0, 1623, 1625, 5, 198, 0, 0, 1624, 1623, 1, 0, 0, 0, 1624, 1625, 1, 0, 0, 0, 1625, 1627, 1, 0, 0, 0, 1626, 1612, 1, 0, 0, 0, 1626, 1614, 1, 0, 0, 0, 1626, 1618, 1, 0, 0, 0, 1626, 1622, 1, 0, 0, 0, 1627, 85, 1, 0, 0, 0, 1628, 1632, 5, 191, 0, 0, 1629, 1633, 3, 88, 44, 0, 1630, 1631, 4, 43, 3, 0, 1631, 1633, 3, 146, 73, 0, 1632, 1629, 1, 0, 0, 0, 1632, 1630, 1, 0, 0, 0, 1633, 1647, 1, 0, 0, 0, 1634, 1635, 5, 291, 0, 0, 1635, 1636, 5, 1, 0, 0, 1636, 1641, 3, 278, 139, 0, 1637, 1638, 5, 3, 0, 0, 1638, 1640, 3, 278, 139, 0, 1639, 1637, 1, 0, 0, 0, 1640, 1643, 1, 0, 0, 0, 1641, 1639, 1, 0, 0, 0, 1641, 1642, 1, 0, 0, 0, 1642, 1644, 1, 0, 0, 0, 1643, 1641, 1, 0, 0, 0, 1644, 1645, 5, 2, 0, 0, 1645, 1647, 1, 0, 0, 0, 1646, 1628, 1, 0, 0, 0, 1646, 1634, 1, 0, 0, 0, 1647, 87, 1, 0, 0, 0, 1648, 1649, 3, 90, 45, 0, 1649, 1650, 5, 313, 0, 0, 1650, 1651, 3, 90, 45, 0, 1651, 89, 1, 0, 0, 0, 1652, 1653, 3, 278, 139, 0, 1653, 1654, 5, 342, 0, 0, 1654, 1655, 4, 45, 4, 0, 1655, 1656, 3, 262, 131, 0, 1656, 1659, 1, 0, 0, 0, 1657, 1659, 3, 264, 132, 0, 1658, 1652, 1, 0, 0, 0, 1658, 1657, 1, 0, 0, 0, 1659, 91, 1, 0, 0, 0, 1660, 1667, 3, 96, 48, 0, 1661, 1662, 5, 263, 0, 0, 1662, 1663, 7, 12, 0, 0, 1663, 1664, 5, 1, 0, 0, 1664, 1665, 3, 144, 72, 0, 1665, 1666, 5, 2, 0, 0, 1666, 1668, 1, 0, 0, 0, 1667, 1661, 1, 0, 0, 0, 1667, 1668, 1, 0, 0, 0, 1668, 93, 1, 0, 0, 0, 1669, 1681, 5, 90, 0, 0, 1670, 1672, 5, 275, 0, 0, 1671, 1673, 3, 172, 86, 0, 1672, 1671, 1, 0, 0, 0, 1672, 1673, 1, 0, 0, 0, 1673, 1678, 1, 0, 0, 0, 1674, 1675, 5, 305, 0, 0, 1675, 1679, 5, 52, 0, 0, 1676, 1677, 5, 307, 0, 0, 1677, 1679, 5, 52, 0, 0, 1678, 1674, 1, 0, 0, 0, 1678, 1676, 1, 0, 0, 0, 1679, 1681, 1, 0, 0, 0, 1680, 1669, 1, 0, 0, 0, 1680, 1670, 1, 0, 0, 0, 1681, 95, 1, 0, 0, 0, 1682, 1758, 3, 108, 54, 0, 1683, 1684, 5, 167, 0, 0, 1684, 1688, 5, 1, 0, 0, 1685, 1686, 5, 202, 0, 0, 1686, 1687, 5, 36, 0, 0, 1687, 1689, 3, 56, 28, 0, 1688, 1685, 1, 0, 0, 0, 1688, 1689, 1, 0, 0, 0, 1689, 1700, 1, 0, 0, 0, 1690, 1691, 5, 196, 0, 0, 1691, 1692, 5, 36, 0, 0, 1692, 1697, 3, 44, 22, 0, 1693, 1694, 5, 3, 0, 0, 1694, 1696, 3, 44, 22, 0, 1695, 1693, 1, 0, 0, 0, 1696, 1699, 1, 0, 0, 0, 1697, 1695, 1, 0, 0, 0, 1697, 1698, 1, 0, 0, 0, 1698, 1701, 1, 0, 0, 0, 1699, 1697, 1, 0, 0, 0, 1700, 1690, 1, 0, 0, 0, 1700, 1701, 1, 0, 0, 0, 1701, 1711, 1, 0, 0, 0, 1702, 1703, 5, 169, 0, 0, 1703, 1708, 3, 98, 49, 0, 1704, 1705, 5, 3, 0, 0, 1705, 1707, 3, 98, 49, 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, 1714, 1, 0, 0, 0, 1713, 1715, 3, 100, 50, 0, 1714, 1713, 1, 0, 0, 0, 1714, 1715, 1, 0, 0, 0, 1715, 1719, 1, 0, 0, 0, 1716, 1717, 5, 21, 0, 0, 1717, 1718, 5, 164, 0, 0, 1718, 1720, 3, 102, 51, 0, 1719, 1716, 1, 0, 0, 0, 1719, 1720, 1, 0, 0, 0, 1720, 1722, 1, 0, 0, 0, 1721, 1723, 7, 13, 0, 0, 1722, 1721, 1, 0, 0, 0, 1722, 1723, 1, 0, 0, 0, 1723, 1724, 1, 0, 0, 0, 1724, 1725, 5, 207, 0, 0, 1725, 1726, 5, 1, 0, 0, 1726, 1727, 3, 202, 101, 0, 1727, 1737, 5, 2, 0, 0, 1728, 1729, 5, 258, 0, 0, 1729, 1734, 3, 104, 52, 0, 1730, 1731, 5, 3, 0, 0, 1731, 1733, 3, 104, 52, 0, 1732, 1730, 1, 0, 0, 0, 1733, 1736, 1, 0, 0, 0, 1734, 1732, 1, 0, 0, 0, 1734, 1735, 1, 0, 0, 0, 1735, 1738, 1, 0, 0, 0, 1736, 1734, 1, 0, 0, 0, 1737, 1728, 1, 0, 0, 0, 1737, 1738, 1, 0, 0, 0, 1738, 1739, 1, 0, 0, 0, 1739, 1740, 5, 72, 0, 0, 1740, 1745, 3, 106, 53, 0, 1741, 1742, 5, 3, 0, 0, 1742, 1744, 3, 106, 53, 0, 1743, 1741, 1, 0, 0, 0, 1744, 1747, 1, 0, 0, 0, 1745, 1743, 1, 0, 0, 0, 1745, 1746, 1, 0, 0, 0, 1746, 1748, 1, 0, 0, 0, 1747, 1745, 1, 0, 0, 0, 1748, 1756, 5, 2, 0, 0, 1749, 1751, 5, 28, 0, 0, 1750, 1749, 1, 0, 0, 0, 1750, 1751, 1, 0, 0, 0, 1751, 1752, 1, 0, 0, 0, 1752, 1754, 3, 278, 139, 0, 1753, 1755, 3, 114, 57, 0, 1754, 1753, 1, 0, 0, 0, 1754, 1755, 1, 0, 0, 0, 1755, 1757, 1, 0, 0, 0, 1756, 1750, 1, 0, 0, 0, 1756, 1757, 1, 0, 0, 0, 1757, 1759, 1, 0, 0, 0, 1758, 1683, 1, 0, 0, 0, 1758, 1759, 1, 0, 0, 0, 1759, 97, 1, 0, 0, 0, 1760, 1761, 3, 144, 72, 0, 1761, 1762, 5, 28, 0, 0, 1762, 1763, 3, 278, 139, 0, 1763, 99, 1, 0, 0, 0, 1764, 1765, 5, 192, 0, 0, 1765, 1766, 5, 240, 0, 0, 1766, 1767, 5, 208, 0, 0, 1767, 1784, 5, 164, 0, 0, 1768, 1769, 5, 22, 0, 0, 1769, 1770, 5, 241, 0, 0, 1770, 1771, 5, 208, 0, 0, 1771, 1781, 5, 164, 0, 0, 1772, 1773, 5, 254, 0, 0, 1773, 1774, 5, 86, 0, 0, 1774, 1782, 5, 166, 0, 0, 1775, 1776, 5, 190, 0, 0, 1776, 1777, 5, 86, 0, 0, 1777, 1782, 5, 166, 0, 0, 1778, 1779, 5, 305, 0, 0, 1779, 1780, 5, 285, 0, 0, 1780, 1782, 5, 241, 0, 0, 1781, 1772, 1, 0, 0, 0, 1781, 1775, 1, 0, 0, 0, 1781, 1778, 1, 0, 0, 0, 1781, 1782, 1, 0, 0, 0, 1782, 1784, 1, 0, 0, 0, 1783, 1764, 1, 0, 0, 0, 1783, 1768, 1, 0, 0, 0, 1784, 101, 1, 0, 0, 0, 1785, 1786, 5, 5, 0, 0, 1786, 1787, 5, 270, 0, 0, 1787, 1788, 5, 175, 0, 0, 1788, 1805, 5, 240, 0, 0, 1789, 1790, 5, 5, 0, 0, 1790, 1791, 5, 205, 0, 0, 1791, 1792, 5, 149, 0, 0, 1792, 1805, 5, 240, 0, 0, 1793, 1794, 5, 5, 0, 0, 1794, 1795, 5, 270, 0, 0, 1795, 1796, 5, 102, 0, 0, 1796, 1805, 3, 278, 139, 0, 1797, 1798, 5, 5, 0, 0, 1798, 1799, 5, 270, 0, 0, 1799, 1800, 5, 149, 0, 0, 1800, 1805, 3, 278, 139, 0, 1801, 1802, 5, 5, 0, 0, 1802, 1803, 5, 270, 0, 0, 1803, 1805, 3, 278, 139, 0, 1804, 1785, 1, 0, 0, 0, 1804, 1789, 1, 0, 0, 0, 1804, 1793, 1, 0, 0, 0, 1804, 1797, 1, 0, 0, 0, 1804, 1801, 1, 0, 0, 0, 1805, 103, 1, 0, 0, 0, 1806, 1807, 3, 278, 139, 0, 1807, 1808, 5, 313, 0, 0, 1808, 1809, 5, 1, 0, 0, 1809, 1814, 3, 278, 139, 0, 1810, 1811, 5, 3, 0, 0, 1811, 1813, 3, 278, 139, 0, 1812, 1810, 1, 0, 0, 0, 1813, 1816, 1, 0, 0, 0, 1814, 1812, 1, 0, 0, 0, 1814, 1815, 1, 0, 0, 0, 1815, 1817, 1, 0, 0, 0, 1816, 1814, 1, 0, 0, 0, 1817, 1818, 5, 2, 0, 0, 1818, 105, 1, 0, 0, 0, 1819, 1820, 3, 278, 139, 0, 1820, 1821, 5, 28, 0, 0, 1821, 1822, 3, 144, 72, 0, 1822, 107, 1, 0, 0, 0, 1823, 1831, 3, 116, 58, 0, 1824, 1826, 5, 28, 0, 0, 1825, 1824, 1, 0, 0, 0, 1825, 1826, 1, 0, 0, 0, 1826, 1827, 1, 0, 0, 0, 1827, 1829, 3, 278, 139, 0, 1828, 1830, 3, 114, 57, 0, 1829, 1828, 1, 0, 0, 0, 1829, 1830, 1, 0, 0, 0, 1830, 1832, 1, 0, 0, 0, 1831, 1825, 1, 0, 0, 0, 1831, 1832, 1, 0, 0, 0, 1832, 109, 1, 0, 0, 0, 1833, 1834, 5, 1, 0, 0, 1834, 1839, 3, 266, 133, 0, 1835, 1836, 5, 3, 0, 0, 1836, 1838, 3, 266, 133, 0, 1837, 1835, 1, 0, 0, 0, 1838, 1841, 1, 0, 0, 0, 1839, 1837, 1, 0, 0, 0, 1839, 1840, 1, 0, 0, 0, 1840, 1842, 1, 0, 0, 0, 1841, 1839, 1, 0, 0, 0, 1842, 1843, 5, 2, 0, 0, 1843, 111, 1, 0, 0, 0, 1844, 1845, 5, 1, 0, 0, 1845, 1850, 3, 260, 130, 0, 1846, 1847, 5, 3, 0, 0, 1847, 1849, 3, 260, 130, 0, 1848, 1846, 1, 0, 0, 0, 1849, 1852, 1, 0, 0, 0, 1850, 1848, 1, 0, 0, 0, 1850, 1851, 1, 0, 0, 0, 1851, 1853, 1, 0, 0, 0, 1852, 1850, 1, 0, 0, 0, 1853, 1854, 5, 2, 0, 0, 1854, 113, 1, 0, 0, 0, 1855, 1856, 5, 1, 0, 0, 1856, 1861, 3, 278, 139, 0, 1857, 1858, 5, 3, 0, 0, 1858, 1860, 3, 278, 139, 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, 115, 1, 0, 0, 0, 1866, 1872, 3, 238, 119, 0, 1867, 1868, 5, 104, 0, 0, 1868, 1869, 7, 14, 0, 0, 1869, 1870, 5, 28, 0, 0, 1870, 1871, 5, 188, 0, 0, 1871, 1873, 3, 150, 75, 0, 1872, 1867, 1, 0, 0, 0, 1872, 1873, 1, 0, 0, 0, 1873, 1880, 1, 0, 0, 0, 1874, 1880, 3, 118, 59, 0, 1875, 1876, 5, 1, 0, 0, 1876, 1877, 3, 82, 41, 0, 1877, 1878, 5, 2, 0, 0, 1878, 1880, 1, 0, 0, 0, 1879, 1866, 1, 0, 0, 0, 1879, 1874, 1, 0, 0, 0, 1879, 1875, 1, 0, 0, 0, 1880, 117, 1, 0, 0, 0, 1881, 1882, 5, 1, 0, 0, 1882, 1883, 3, 22, 11, 0, 1883, 1884, 5, 2, 0, 0, 1884, 1945, 1, 0, 0, 0, 1885, 1886, 5, 286, 0, 0, 1886, 1887, 5, 1, 0, 0, 1887, 1892, 3, 144, 72, 0, 1888, 1889, 5, 3, 0, 0, 1889, 1891, 3, 144, 72, 0, 1890, 1888, 1, 0, 0, 0, 1891, 1894, 1, 0, 0, 0, 1892, 1890, 1, 0, 0, 0, 1892, 1893, 1, 0, 0, 0, 1893, 1895, 1, 0, 0, 0, 1894, 1892, 1, 0, 0, 0, 1895, 1898, 5, 2, 0, 0, 1896, 1897, 5, 305, 0, 0, 1897, 1899, 5, 197, 0, 0, 1898, 1896, 1, 0, 0, 0, 1898, 1899, 1, 0, 0, 0, 1899, 1945, 1, 0, 0, 0, 1900, 1901, 5, 150, 0, 0, 1901, 1902, 5, 1, 0, 0, 1902, 1903, 3, 22, 11, 0, 1903, 1904, 5, 2, 0, 0, 1904, 1945, 1, 0, 0, 0, 1905, 1906, 5, 261, 0, 0, 1906, 1907, 5, 1, 0, 0, 1907, 1908, 3, 130, 65, 0, 1908, 1909, 5, 2, 0, 0, 1909, 1945, 1, 0, 0, 0, 1910, 1911, 5, 143, 0, 0, 1911, 1912, 5, 1, 0, 0, 1912, 1913, 3, 154, 77, 0, 1913, 1914, 5, 46, 0, 0, 1914, 1915, 5, 1, 0, 0, 1915, 1920, 3, 120, 60, 0, 1916, 1917, 5, 3, 0, 0, 1917, 1919, 3, 120, 60, 0, 1918, 1916, 1, 0, 0, 0, 1919, 1922, 1, 0, 0, 0, 1920, 1918, 1, 0, 0, 0, 1920, 1921, 1, 0, 0, 0, 1921, 1923, 1, 0, 0, 0, 1922, 1920, 1, 0, 0, 0, 1923, 1935, 5, 2, 0, 0, 1924, 1925, 5, 211, 0, 0, 1925, 1926, 5, 1, 0, 0, 1926, 1927, 3, 122, 61, 0, 1927, 1928, 5, 2, 0, 0, 1928, 1936, 1, 0, 0, 0, 1929, 1930, 5, 211, 0, 0, 1930, 1931, 5, 71, 0, 0, 1931, 1932, 5, 1, 0, 0, 1932, 1933, 3, 128, 64, 0, 1933, 1934, 5, 2, 0, 0, 1934, 1936, 1, 0, 0, 0, 1935, 1924, 1, 0, 0, 0, 1935, 1929, 1, 0, 0, 0, 1935, 1936, 1, 0, 0, 0, 1936, 1940, 1, 0, 0, 0, 1937, 1938, 7, 15, 0, 0, 1938, 1939, 5, 191, 0, 0, 1939, 1941, 5, 90, 0, 0, 1940, 1937, 1, 0, 0, 0, 1940, 1941, 1, 0, 0, 0, 1941, 1942, 1, 0, 0, 0, 1942, 1943, 5, 2, 0, 0, 1943, 1945, 1, 0, 0, 0, 1944, 1881, 1, 0, 0, 0, 1944, 1885, 1, 0, 0, 0, 1944, 1900, 1, 0, 0, 0, 1944, 1905, 1, 0, 0, 0, 1944, 1910, 1, 0, 0, 0, 1945, 119, 1, 0, 0, 0, 1946, 1947, 3, 278, 139, 0, 1947, 1948, 5, 104, 0, 0, 1948, 1949, 5, 197, 0, 0, 1949, 2024, 1, 0, 0, 0, 1950, 1951, 3, 278, 139, 0, 1951, 1954, 3, 182, 91, 0, 1952, 1953, 5, 206, 0, 0, 1953, 1955, 3, 172, 86, 0, 1954, 1952, 1, 0, 0, 0, 1954, 1955, 1, 0, 0, 0, 1955, 1960, 1, 0, 0, 0, 1956, 1957, 3, 162, 81, 0, 1957, 1958, 5, 191, 0, 0, 1958, 1959, 5, 86, 0, 0, 1959, 1961, 1, 0, 0, 0, 1960, 1956, 1, 0, 0, 0, 1960, 1961, 1, 0, 0, 0, 1961, 1966, 1, 0, 0, 0, 1962, 1963, 3, 162, 81, 0, 1963, 1964, 5, 191, 0, 0, 1964, 1965, 5, 90, 0, 0, 1965, 1967, 1, 0, 0, 0, 1966, 1962, 1, 0, 0, 0, 1966, 1967, 1, 0, 0, 0, 1967, 2024, 1, 0, 0, 0, 1968, 1969, 3, 278, 139, 0, 1969, 1970, 3, 182, 91, 0, 1970, 1971, 5, 105, 0, 0, 1971, 1974, 3, 158, 79, 0, 1972, 1973, 5, 206, 0, 0, 1973, 1975, 3, 172, 86, 0, 1974, 1972, 1, 0, 0, 0, 1974, 1975, 1, 0, 0, 0, 1975, 1979, 1, 0, 0, 0, 1976, 1977, 3, 164, 82, 0, 1977, 1978, 5, 309, 0, 0, 1978, 1980, 1, 0, 0, 0, 1979, 1976, 1, 0, 0, 0, 1979, 1980, 1, 0, 0, 0, 1980, 1988, 1, 0, 0, 0, 1981, 1982, 7, 16, 0, 0, 1982, 1986, 5, 219, 0, 0, 1983, 1984, 5, 191, 0, 0, 1984, 1985, 5, 243, 0, 0, 1985, 1987, 5, 265, 0, 0, 1986, 1983, 1, 0, 0, 0, 1986, 1987, 1, 0, 0, 0, 1987, 1989, 1, 0, 0, 0, 1988, 1981, 1, 0, 0, 0, 1988, 1989, 1, 0, 0, 0, 1989, 1994, 1, 0, 0, 0, 1990, 1991, 3, 166, 83, 0, 1991, 1992, 5, 191, 0, 0, 1992, 1993, 5, 86, 0, 0, 1993, 1995, 1, 0, 0, 0, 1994, 1990, 1, 0, 0, 0, 1994, 1995, 1, 0, 0, 0, 1995, 2000, 1, 0, 0, 0, 1996, 1997, 3, 166, 83, 0, 1997, 1998, 5, 191, 0, 0, 1998, 1999, 5, 90, 0, 0, 1999, 2001, 1, 0, 0, 0, 2000, 1996, 1, 0, 0, 0, 2000, 2001, 1, 0, 0, 0, 2001, 2024, 1, 0, 0, 0, 2002, 2004, 5, 174, 0, 0, 2003, 2005, 5, 206, 0, 0, 2004, 2003, 1, 0, 0, 0, 2004, 2005, 1, 0, 0, 0, 2005, 2006, 1, 0, 0, 0, 2006, 2009, 3, 172, 86, 0, 2007, 2008, 5, 28, 0, 0, 2008, 2010, 3, 278, 139, 0, 2009, 2007, 1, 0, 0, 0, 2009, 2010, 1, 0, 0, 0, 2010, 2011, 1, 0, 0, 0, 2011, 2012, 5, 46, 0, 0, 2012, 2013, 5, 1, 0, 0, 2013, 2018, 3, 120, 60, 0, 2014, 2015, 5, 3, 0, 0, 2015, 2017, 3, 120, 60, 0, 2016, 2014, 1, 0, 0, 0, 2017, 2020, 1, 0, 0, 0, 2018, 2016, 1, 0, 0, 0, 2018, 2019, 1, 0, 0, 0, 2019, 2021, 1, 0, 0, 0, 2020, 2018, 1, 0, 0, 0, 2021, 2022, 5, 2, 0, 0, 2022, 2024, 1, 0, 0, 0, 2023, 1946, 1, 0, 0, 0, 2023, 1950, 1, 0, 0, 0, 2023, 1968, 1, 0, 0, 0, 2023, 2002, 1, 0, 0, 0, 2024, 121, 1, 0, 0, 0, 2025, 2051, 3, 124, 62, 0, 2026, 2027, 3, 124, 62, 0, 2027, 2028, 7, 17, 0, 0, 2028, 2029, 3, 126, 63, 0, 2029, 2051, 1, 0, 0, 0, 2030, 2031, 3, 126, 63, 0, 2031, 2032, 5, 282, 0, 0, 2032, 2037, 3, 126, 63, 0, 2033, 2034, 5, 282, 0, 0, 2034, 2036, 3, 126, 63, 0, 2035, 2033, 1, 0, 0, 0, 2036, 2039, 1, 0, 0, 0, 2037, 2035, 1, 0, 0, 0, 2037, 2038, 1, 0, 0, 0, 2038, 2051, 1, 0, 0, 0, 2039, 2037, 1, 0, 0, 0, 2040, 2041, 3, 126, 63, 0, 2041, 2042, 5, 55, 0, 0, 2042, 2047, 3, 126, 63, 0, 2043, 2044, 5, 55, 0, 0, 2044, 2046, 3, 126, 63, 0, 2045, 2043, 1, 0, 0, 0, 2046, 2049, 1, 0, 0, 0, 2047, 2045, 1, 0, 0, 0, 2047, 2048, 1, 0, 0, 0, 2048, 2051, 1, 0, 0, 0, 2049, 2047, 1, 0, 0, 0, 2050, 2025, 1, 0, 0, 0, 2050, 2026, 1, 0, 0, 0, 2050, 2030, 1, 0, 0, 0, 2050, 2040, 1, 0, 0, 0, 2051, 123, 1, 0, 0, 0, 2052, 2053, 3, 278, 139, 0, 2053, 125, 1, 0, 0, 0, 2054, 2060, 3, 124, 62, 0, 2055, 2056, 5, 1, 0, 0, 2056, 2057, 3, 122, 61, 0, 2057, 2058, 5, 2, 0, 0, 2058, 2060, 1, 0, 0, 0, 2059, 2054, 1, 0, 0, 0, 2059, 2055, 1, 0, 0, 0, 2060, 127, 1, 0, 0, 0, 2061, 2064, 7, 17, 0, 0, 2062, 2063, 5, 3, 0, 0, 2063, 2065, 7, 18, 0, 0, 2064, 2062, 1, 0, 0, 0, 2064, 2065, 1, 0, 0, 0, 2065, 2072, 1, 0, 0, 0, 2066, 2069, 7, 18, 0, 0, 2067, 2068, 5, 3, 0, 0, 2068, 2070, 7, 17, 0, 0, 2069, 2067, 1, 0, 0, 0, 2069, 2070, 1, 0, 0, 0, 2070, 2072, 1, 0, 0, 0, 2071, 2061, 1, 0, 0, 0, 2071, 2066, 1, 0, 0, 0, 2072, 129, 1, 0, 0, 0, 2073, 2074, 3, 256, 128, 0, 2074, 2083, 5, 1, 0, 0, 2075, 2080, 3, 132, 66, 0, 2076, 2077, 5, 3, 0, 0, 2077, 2079, 3, 132, 66, 0, 2078, 2076, 1, 0, 0, 0, 2079, 2082, 1, 0, 0, 0, 2080, 2078, 1, 0, 0, 0, 2080, 2081, 1, 0, 0, 0, 2081, 2084, 1, 0, 0, 0, 2082, 2080, 1, 0, 0, 0, 2083, 2075, 1, 0, 0, 0, 2083, 2084, 1, 0, 0, 0, 2084, 2094, 1, 0, 0, 0, 2085, 2086, 5, 53, 0, 0, 2086, 2091, 3, 142, 71, 0, 2087, 2088, 5, 3, 0, 0, 2088, 2090, 3, 142, 71, 0, 2089, 2087, 1, 0, 0, 0, 2090, 2093, 1, 0, 0, 0, 2091, 2089, 1, 0, 0, 0, 2091, 2092, 1, 0, 0, 0, 2092, 2095, 1, 0, 0, 0, 2093, 2091, 1, 0, 0, 0, 2094, 2085, 1, 0, 0, 0, 2094, 2095, 1, 0, 0, 0, 2095, 2096, 1, 0, 0, 0, 2096, 2097, 5, 2, 0, 0, 2097, 131, 1, 0, 0, 0, 2098, 2099, 3, 278, 139, 0, 2099, 2100, 5, 6, 0, 0, 2100, 2102, 1, 0, 0, 0, 2101, 2098, 1, 0, 0, 0, 2101, 2102, 1, 0, 0, 0, 2102, 2106, 1, 0, 0, 0, 2103, 2107, 3, 134, 67, 0, 2104, 2107, 3, 138, 69, 0, 2105, 2107, 3, 144, 72, 0, 2106, 2103, 1, 0, 0, 0, 2106, 2104, 1, 0, 0, 0, 2106, 2105, 1, 0, 0, 0, 2107, 133, 1, 0, 0, 0, 2108, 2119, 3, 136, 68, 0, 2109, 2110, 5, 202, 0, 0, 2110, 2117, 5, 36, 0, 0, 2111, 2113, 5, 1, 0, 0, 2112, 2114, 3, 56, 28, 0, 2113, 2112, 1, 0, 0, 0, 2113, 2114, 1, 0, 0, 0, 2114, 2115, 1, 0, 0, 0, 2115, 2118, 5, 2, 0, 0, 2116, 2118, 3, 144, 72, 0, 2117, 2111, 1, 0, 0, 0, 2117, 2116, 1, 0, 0, 0, 2118, 2120, 1, 0, 0, 0, 2119, 2109, 1, 0, 0, 0, 2119, 2120, 1, 0, 0, 0, 2120, 2127, 1, 0, 0, 0, 2121, 2122, 5, 218, 0, 0, 2122, 2123, 5, 301, 0, 0, 2123, 2128, 5, 86, 0, 0, 2124, 2125, 5, 145, 0, 0, 2125, 2126, 5, 301, 0, 0, 2126, 2128, 5, 86, 0, 0, 2127, 2121, 1, 0, 0, 0, 2127, 2124, 1, 0, 0, 0, 2127, 2128, 1, 0, 0, 0, 2128, 2145, 1, 0, 0, 0, 2129, 2130, 5, 196, 0, 0, 2130, 2143, 5, 36, 0, 0, 2131, 2132, 5, 1, 0, 0, 2132, 2137, 3, 44, 22, 0, 2133, 2134, 5, 3, 0, 0, 2134, 2136, 3, 44, 22, 0, 2135, 2133, 1, 0, 0, 0, 2136, 2139, 1, 0, 0, 0, 2137, 2135, 1, 0, 0, 0, 2137, 2138, 1, 0, 0, 0, 2138, 2140, 1, 0, 0, 0, 2139, 2137, 1, 0, 0, 0, 2140, 2141, 5, 2, 0, 0, 2141, 2144, 1, 0, 0, 0, 2142, 2144, 3, 44, 22, 0, 2143, 2131, 1, 0, 0, 0, 2143, 2142, 1, 0, 0, 0, 2144, 2146, 1, 0, 0, 0, 2145, 2129, 1, 0, 0, 0, 2145, 2146, 1, 0, 0, 0, 2146, 135, 1, 0, 0, 0, 2147, 2148, 5, 261, 0, 0, 2148, 2149, 5, 1, 0, 0, 2149, 2150, 3, 240, 120, 0, 2150, 2158, 5, 2, 0, 0, 2151, 2153, 5, 28, 0, 0, 2152, 2151, 1, 0, 0, 0, 2152, 2153, 1, 0, 0, 0, 2153, 2154, 1, 0, 0, 0, 2154, 2156, 3, 278, 139, 0, 2155, 2157, 3, 114, 57, 0, 2156, 2155, 1, 0, 0, 0, 2156, 2157, 1, 0, 0, 0, 2157, 2159, 1, 0, 0, 0, 2158, 2152, 1, 0, 0, 0, 2158, 2159, 1, 0, 0, 0, 2159, 2174, 1, 0, 0, 0, 2160, 2161, 5, 261, 0, 0, 2161, 2162, 5, 1, 0, 0, 2162, 2163, 3, 22, 11, 0, 2163, 2171, 5, 2, 0, 0, 2164, 2166, 5, 28, 0, 0, 2165, 2164, 1, 0, 0, 0, 2165, 2166, 1, 0, 0, 0, 2166, 2167, 1, 0, 0, 0, 2167, 2169, 3, 278, 139, 0, 2168, 2170, 3, 114, 57, 0, 2169, 2168, 1, 0, 0, 0, 2169, 2170, 1, 0, 0, 0, 2170, 2172, 1, 0, 0, 0, 2171, 2165, 1, 0, 0, 0, 2171, 2172, 1, 0, 0, 0, 2172, 2174, 1, 0, 0, 0, 2173, 2147, 1, 0, 0, 0, 2173, 2160, 1, 0, 0, 0, 2174, 137, 1, 0, 0, 0, 2175, 2176, 5, 78, 0, 0, 2176, 2177, 5, 1, 0, 0, 2177, 2182, 3, 140, 70, 0, 2178, 2179, 5, 3, 0, 0, 2179, 2181, 3, 140, 70, 0, 2180, 2178, 1, 0, 0, 0, 2181, 2184, 1, 0, 0, 0, 2182, 2180, 1, 0, 0, 0, 2182, 2183, 1, 0, 0, 0, 2183, 2185, 1, 0, 0, 0, 2184, 2182, 1, 0, 0, 0, 2185, 2186, 5, 2, 0, 0, 2186, 2194, 1, 0, 0, 0, 2187, 2188, 5, 41, 0, 0, 2188, 2189, 5, 1, 0, 0, 2189, 2190, 5, 184, 0, 0, 2190, 2191, 5, 28, 0, 0, 2191, 2192, 5, 78, 0, 0, 2192, 2194, 5, 2, 0, 0, 2193, 2175, 1, 0, 0, 0, 2193, 2187, 1, 0, 0, 0, 2194, 139, 1, 0, 0, 0, 2195, 2197, 3, 278, 139, 0, 2196, 2198, 3, 182, 91, 0, 2197, 2196, 1, 0, 0, 0, 2197, 2198, 1, 0, 0, 0, 2198, 141, 1, 0, 0, 0, 2199, 2200, 5, 1, 0, 0, 2200, 2201, 3, 268, 134, 0, 2201, 2202, 5, 3, 0, 0, 2202, 2207, 3, 268, 134, 0, 2203, 2204, 5, 3, 0, 0, 2204, 2206, 3, 268, 134, 0, 2205, 2203, 1, 0, 0, 0, 2206, 2209, 1, 0, 0, 0, 2207, 2205, 1, 0, 0, 0, 2207, 2208, 1, 0, 0, 0, 2208, 2210, 1, 0, 0, 0, 2209, 2207, 1, 0, 0, 0, 2210, 2211, 5, 2, 0, 0, 2211, 143, 1, 0, 0, 0, 2212, 2213, 3, 146, 73, 0, 2213, 145, 1, 0, 0, 0, 2214, 2215, 6, 73, -1, 0, 2215, 2217, 3, 150, 75, 0, 2216, 2218, 3, 148, 74, 0, 2217, 2216, 1, 0, 0, 0, 2217, 2218, 1, 0, 0, 0, 2218, 2222, 1, 0, 0, 0, 2219, 2220, 5, 183, 0, 0, 2220, 2222, 3, 146, 73, 3, 2221, 2214, 1, 0, 0, 0, 2221, 2219, 1, 0, 0, 0, 2222, 2231, 1, 0, 0, 0, 2223, 2224, 10, 2, 0, 0, 2224, 2225, 5, 25, 0, 0, 2225, 2230, 3, 146, 73, 3, 2226, 2227, 10, 1, 0, 0, 2227, 2228, 5, 195, 0, 0, 2228, 2230, 3, 146, 73, 2, 2229, 2223, 1, 0, 0, 0, 2229, 2226, 1, 0, 0, 0, 2230, 2233, 1, 0, 0, 0, 2231, 2229, 1, 0, 0, 0, 2231, 2232, 1, 0, 0, 0, 2232, 147, 1, 0, 0, 0, 2233, 2231, 1, 0, 0, 0, 2234, 2235, 3, 174, 87, 0, 2235, 2236, 3, 150, 75, 0, 2236, 2296, 1, 0, 0, 0, 2237, 2238, 3, 174, 87, 0, 2238, 2239, 3, 176, 88, 0, 2239, 2240, 5, 1, 0, 0, 2240, 2241, 3, 22, 11, 0, 2241, 2242, 5, 2, 0, 0, 2242, 2296, 1, 0, 0, 0, 2243, 2245, 5, 183, 0, 0, 2244, 2243, 1, 0, 0, 0, 2244, 2245, 1, 0, 0, 0, 2245, 2246, 1, 0, 0, 0, 2246, 2247, 5, 34, 0, 0, 2247, 2248, 3, 150, 75, 0, 2248, 2249, 5, 25, 0, 0, 2249, 2250, 3, 150, 75, 0, 2250, 2296, 1, 0, 0, 0, 2251, 2253, 5, 183, 0, 0, 2252, 2251, 1, 0, 0, 0, 2252, 2253, 1, 0, 0, 0, 2253, 2254, 1, 0, 0, 0, 2254, 2255, 5, 123, 0, 0, 2255, 2256, 5, 1, 0, 0, 2256, 2261, 3, 144, 72, 0, 2257, 2258, 5, 3, 0, 0, 2258, 2260, 3, 144, 72, 0, 2259, 2257, 1, 0, 0, 0, 2260, 2263, 1, 0, 0, 0, 2261, 2259, 1, 0, 0, 0, 2261, 2262, 1, 0, 0, 0, 2262, 2264, 1, 0, 0, 0, 2263, 2261, 1, 0, 0, 0, 2264, 2265, 5, 2, 0, 0, 2265, 2296, 1, 0, 0, 0, 2266, 2268, 5, 183, 0, 0, 2267, 2266, 1, 0, 0, 0, 2267, 2268, 1, 0, 0, 0, 2268, 2269, 1, 0, 0, 0, 2269, 2270, 5, 123, 0, 0, 2270, 2271, 5, 1, 0, 0, 2271, 2272, 3, 22, 11, 0, 2272, 2273, 5, 2, 0, 0, 2273, 2296, 1, 0, 0, 0, 2274, 2276, 5, 183, 0, 0, 2275, 2274, 1, 0, 0, 0, 2275, 2276, 1, 0, 0, 0, 2276, 2277, 1, 0, 0, 0, 2277, 2278, 5, 155, 0, 0, 2278, 2281, 3, 150, 75, 0, 2279, 2280, 5, 91, 0, 0, 2280, 2282, 3, 150, 75, 0, 2281, 2279, 1, 0, 0, 0, 2281, 2282, 1, 0, 0, 0, 2282, 2296, 1, 0, 0, 0, 2283, 2285, 5, 134, 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, 2296, 5, 184, 0, 0, 2288, 2290, 5, 134, 0, 0, 2289, 2291, 5, 183, 0, 0, 2290, 2289, 1, 0, 0, 0, 2290, 2291, 1, 0, 0, 0, 2291, 2292, 1, 0, 0, 0, 2292, 2293, 5, 80, 0, 0, 2293, 2294, 5, 106, 0, 0, 2294, 2296, 3, 150, 75, 0, 2295, 2234, 1, 0, 0, 0, 2295, 2237, 1, 0, 0, 0, 2295, 2244, 1, 0, 0, 0, 2295, 2252, 1, 0, 0, 0, 2295, 2267, 1, 0, 0, 0, 2295, 2275, 1, 0, 0, 0, 2295, 2283, 1, 0, 0, 0, 2295, 2288, 1, 0, 0, 0, 2296, 149, 1, 0, 0, 0, 2297, 2298, 6, 75, -1, 0, 2298, 2302, 3, 152, 76, 0, 2299, 2300, 7, 19, 0, 0, 2300, 2302, 3, 150, 75, 4, 2301, 2297, 1, 0, 0, 0, 2301, 2299, 1, 0, 0, 0, 2302, 2324, 1, 0, 0, 0, 2303, 2304, 10, 3, 0, 0, 2304, 2305, 7, 20, 0, 0, 2305, 2323, 3, 150, 75, 4, 2306, 2307, 10, 2, 0, 0, 2307, 2308, 7, 19, 0, 0, 2308, 2323, 3, 150, 75, 3, 2309, 2310, 10, 1, 0, 0, 2310, 2311, 5, 324, 0, 0, 2311, 2323, 3, 150, 75, 2, 2312, 2313, 10, 5, 0, 0, 2313, 2320, 5, 30, 0, 0, 2314, 2315, 5, 268, 0, 0, 2315, 2316, 5, 312, 0, 0, 2316, 2321, 3, 178, 89, 0, 2317, 2318, 5, 268, 0, 0, 2318, 2319, 5, 312, 0, 0, 2319, 2321, 3, 172, 86, 0, 2320, 2314, 1, 0, 0, 0, 2320, 2317, 1, 0, 0, 0, 2321, 2323, 1, 0, 0, 0, 2322, 2303, 1, 0, 0, 0, 2322, 2306, 1, 0, 0, 0, 2322, 2309, 1, 0, 0, 0, 2322, 2312, 1, 0, 0, 0, 2323, 2326, 1, 0, 0, 0, 2324, 2322, 1, 0, 0, 0, 2324, 2325, 1, 0, 0, 0, 2325, 151, 1, 0, 0, 0, 2326, 2324, 1, 0, 0, 0, 2327, 2328, 6, 76, -1, 0, 2328, 2795, 5, 184, 0, 0, 2329, 2795, 3, 178, 89, 0, 2330, 2331, 3, 278, 139, 0, 2331, 2332, 3, 172, 86, 0, 2332, 2795, 1, 0, 0, 0, 2333, 2334, 5, 83, 0, 0, 2334, 2335, 5, 214, 0, 0, 2335, 2795, 3, 172, 86, 0, 2336, 2795, 3, 280, 140, 0, 2337, 2795, 7, 21, 0, 0, 2338, 2795, 3, 172, 86, 0, 2339, 2795, 5, 329, 0, 0, 2340, 2795, 5, 325, 0, 0, 2341, 2342, 5, 212, 0, 0, 2342, 2343, 5, 1, 0, 0, 2343, 2344, 3, 150, 75, 0, 2344, 2345, 5, 123, 0, 0, 2345, 2346, 3, 150, 75, 0, 2346, 2347, 5, 2, 0, 0, 2347, 2795, 1, 0, 0, 0, 2348, 2349, 5, 1, 0, 0, 2349, 2352, 3, 144, 72, 0, 2350, 2351, 5, 3, 0, 0, 2351, 2353, 3, 144, 72, 0, 2352, 2350, 1, 0, 0, 0, 2353, 2354, 1, 0, 0, 0, 2354, 2352, 1, 0, 0, 0, 2354, 2355, 1, 0, 0, 0, 2355, 2356, 1, 0, 0, 0, 2356, 2357, 5, 2, 0, 0, 2357, 2795, 1, 0, 0, 0, 2358, 2359, 5, 240, 0, 0, 2359, 2360, 5, 1, 0, 0, 2360, 2365, 3, 144, 72, 0, 2361, 2362, 5, 3, 0, 0, 2362, 2364, 3, 144, 72, 0, 2363, 2361, 1, 0, 0, 0, 2364, 2367, 1, 0, 0, 0, 2365, 2363, 1, 0, 0, 0, 2365, 2366, 1, 0, 0, 0, 2366, 2368, 1, 0, 0, 0, 2367, 2365, 1, 0, 0, 0, 2368, 2369, 5, 2, 0, 0, 2369, 2795, 1, 0, 0, 0, 2370, 2371, 5, 157, 0, 0, 2371, 2373, 5, 1, 0, 0, 2372, 2374, 3, 70, 35, 0, 2373, 2372, 1, 0, 0, 0, 2373, 2374, 1, 0, 0, 0, 2374, 2375, 1, 0, 0, 0, 2375, 2378, 3, 144, 72, 0, 2376, 2377, 5, 3, 0, 0, 2377, 2379, 3, 172, 86, 0, 2378, 2376, 1, 0, 0, 0, 2378, 2379, 1, 0, 0, 0, 2379, 2383, 1, 0, 0, 0, 2380, 2381, 5, 191, 0, 0, 2381, 2382, 5, 201, 0, 0, 2382, 2384, 3, 94, 47, 0, 2383, 2380, 1, 0, 0, 0, 2383, 2384, 1, 0, 0, 0, 2384, 2385, 1, 0, 0, 0, 2385, 2386, 5, 2, 0, 0, 2386, 2387, 5, 306, 0, 0, 2387, 2388, 5, 115, 0, 0, 2388, 2389, 5, 1, 0, 0, 2389, 2390, 5, 196, 0, 0, 2390, 2391, 5, 36, 0, 0, 2391, 2396, 3, 44, 22, 0, 2392, 2393, 5, 3, 0, 0, 2393, 2395, 3, 44, 22, 0, 2394, 2392, 1, 0, 0, 0, 2395, 2398, 1, 0, 0, 0, 2396, 2394, 1, 0, 0, 0, 2396, 2397, 1, 0, 0, 0, 2397, 2399, 1, 0, 0, 0, 2398, 2396, 1, 0, 0, 0, 2399, 2400, 5, 2, 0, 0, 2400, 2402, 1, 0, 0, 0, 2401, 2403, 3, 190, 95, 0, 2402, 2401, 1, 0, 0, 0, 2402, 2403, 1, 0, 0, 0, 2403, 2795, 1, 0, 0, 0, 2404, 2406, 3, 170, 85, 0, 2405, 2404, 1, 0, 0, 0, 2405, 2406, 1, 0, 0, 0, 2406, 2407, 1, 0, 0, 0, 2407, 2408, 3, 256, 128, 0, 2408, 2412, 5, 1, 0, 0, 2409, 2410, 3, 278, 139, 0, 2410, 2411, 5, 4, 0, 0, 2411, 2413, 1, 0, 0, 0, 2412, 2409, 1, 0, 0, 0, 2412, 2413, 1, 0, 0, 0, 2413, 2414, 1, 0, 0, 0, 2414, 2415, 5, 321, 0, 0, 2415, 2417, 5, 2, 0, 0, 2416, 2418, 3, 190, 95, 0, 2417, 2416, 1, 0, 0, 0, 2417, 2418, 1, 0, 0, 0, 2418, 2420, 1, 0, 0, 0, 2419, 2421, 3, 194, 97, 0, 2420, 2419, 1, 0, 0, 0, 2420, 2421, 1, 0, 0, 0, 2421, 2795, 1, 0, 0, 0, 2422, 2424, 3, 170, 85, 0, 2423, 2422, 1, 0, 0, 0, 2423, 2424, 1, 0, 0, 0, 2424, 2425, 1, 0, 0, 0, 2425, 2426, 3, 256, 128, 0, 2426, 2438, 5, 1, 0, 0, 2427, 2429, 3, 70, 35, 0, 2428, 2427, 1, 0, 0, 0, 2428, 2429, 1, 0, 0, 0, 2429, 2430, 1, 0, 0, 0, 2430, 2435, 3, 144, 72, 0, 2431, 2432, 5, 3, 0, 0, 2432, 2434, 3, 144, 72, 0, 2433, 2431, 1, 0, 0, 0, 2434, 2437, 1, 0, 0, 0, 2435, 2433, 1, 0, 0, 0, 2435, 2436, 1, 0, 0, 0, 2436, 2439, 1, 0, 0, 0, 2437, 2435, 1, 0, 0, 0, 2438, 2428, 1, 0, 0, 0, 2438, 2439, 1, 0, 0, 0, 2439, 2450, 1, 0, 0, 0, 2440, 2441, 5, 196, 0, 0, 2441, 2442, 5, 36, 0, 0, 2442, 2447, 3, 44, 22, 0, 2443, 2444, 5, 3, 0, 0, 2444, 2446, 3, 44, 22, 0, 2445, 2443, 1, 0, 0, 0, 2446, 2449, 1, 0, 0, 0, 2447, 2445, 1, 0, 0, 0, 2447, 2448, 1, 0, 0, 0, 2448, 2451, 1, 0, 0, 0, 2449, 2447, 1, 0, 0, 0, 2450, 2440, 1, 0, 0, 0, 2450, 2451, 1, 0, 0, 0, 2451, 2452, 1, 0, 0, 0, 2452, 2454, 5, 2, 0, 0, 2453, 2455, 3, 190, 95, 0, 2454, 2453, 1, 0, 0, 0, 2454, 2455, 1, 0, 0, 0, 2455, 2463, 1, 0, 0, 0, 2456, 2457, 5, 121, 0, 0, 2457, 2461, 5, 186, 0, 0, 2458, 2459, 5, 229, 0, 0, 2459, 2461, 5, 186, 0, 0, 2460, 2456, 1, 0, 0, 0, 2460, 2458, 1, 0, 0, 0, 2460, 2461, 1, 0, 0, 0, 2461, 2462, 1, 0, 0, 0, 2462, 2464, 3, 194, 97, 0, 2463, 2460, 1, 0, 0, 0, 2463, 2464, 1, 0, 0, 0, 2464, 2795, 1, 0, 0, 0, 2465, 2466, 3, 278, 139, 0, 2466, 2467, 3, 194, 97, 0, 2467, 2795, 1, 0, 0, 0, 2468, 2469, 3, 278, 139, 0, 2469, 2470, 5, 7, 0, 0, 2470, 2471, 3, 144, 72, 0, 2471, 2795, 1, 0, 0, 0, 2472, 2481, 5, 1, 0, 0, 2473, 2478, 3, 278, 139, 0, 2474, 2475, 5, 3, 0, 0, 2475, 2477, 3, 278, 139, 0, 2476, 2474, 1, 0, 0, 0, 2477, 2480, 1, 0, 0, 0, 2478, 2476, 1, 0, 0, 0, 2478, 2479, 1, 0, 0, 0, 2479, 2482, 1, 0, 0, 0, 2480, 2478, 1, 0, 0, 0, 2481, 2473, 1, 0, 0, 0, 2481, 2482, 1, 0, 0, 0, 2482, 2483, 1, 0, 0, 0, 2483, 2484, 5, 2, 0, 0, 2484, 2485, 5, 7, 0, 0, 2485, 2795, 3, 144, 72, 0, 2486, 2487, 5, 1, 0, 0, 2487, 2488, 3, 22, 11, 0, 2488, 2489, 5, 2, 0, 0, 2489, 2795, 1, 0, 0, 0, 2490, 2491, 5, 95, 0, 0, 2491, 2492, 5, 1, 0, 0, 2492, 2493, 3, 22, 11, 0, 2493, 2494, 5, 2, 0, 0, 2494, 2795, 1, 0, 0, 0, 2495, 2496, 5, 40, 0, 0, 2496, 2498, 3, 144, 72, 0, 2497, 2499, 3, 188, 94, 0, 2498, 2497, 1, 0, 0, 0, 2499, 2500, 1, 0, 0, 0, 2500, 2498, 1, 0, 0, 0, 2500, 2501, 1, 0, 0, 0, 2501, 2504, 1, 0, 0, 0, 2502, 2503, 5, 85, 0, 0, 2503, 2505, 3, 144, 72, 0, 2504, 2502, 1, 0, 0, 0, 2504, 2505, 1, 0, 0, 0, 2505, 2506, 1, 0, 0, 0, 2506, 2507, 5, 89, 0, 0, 2507, 2795, 1, 0, 0, 0, 2508, 2510, 5, 40, 0, 0, 2509, 2511, 3, 188, 94, 0, 2510, 2509, 1, 0, 0, 0, 2511, 2512, 1, 0, 0, 0, 2512, 2510, 1, 0, 0, 0, 2512, 2513, 1, 0, 0, 0, 2513, 2516, 1, 0, 0, 0, 2514, 2515, 5, 85, 0, 0, 2515, 2517, 3, 144, 72, 0, 2516, 2514, 1, 0, 0, 0, 2516, 2517, 1, 0, 0, 0, 2517, 2518, 1, 0, 0, 0, 2518, 2519, 5, 89, 0, 0, 2519, 2795, 1, 0, 0, 0, 2520, 2521, 5, 41, 0, 0, 2521, 2522, 5, 1, 0, 0, 2522, 2523, 3, 144, 72, 0, 2523, 2524, 5, 28, 0, 0, 2524, 2525, 3, 182, 91, 0, 2525, 2526, 5, 2, 0, 0, 2526, 2795, 1, 0, 0, 0, 2527, 2528, 5, 276, 0, 0, 2528, 2529, 5, 1, 0, 0, 2529, 2530, 3, 144, 72, 0, 2530, 2531, 5, 28, 0, 0, 2531, 2532, 3, 182, 91, 0, 2532, 2533, 5, 2, 0, 0, 2533, 2795, 1, 0, 0, 0, 2534, 2535, 5, 27, 0, 0, 2535, 2544, 5, 8, 0, 0, 2536, 2541, 3, 144, 72, 0, 2537, 2538, 5, 3, 0, 0, 2538, 2540, 3, 144, 72, 0, 2539, 2537, 1, 0, 0, 0, 2540, 2543, 1, 0, 0, 0, 2541, 2539, 1, 0, 0, 0, 2541, 2542, 1, 0, 0, 0, 2542, 2545, 1, 0, 0, 0, 2543, 2541, 1, 0, 0, 0, 2544, 2536, 1, 0, 0, 0, 2544, 2545, 1, 0, 0, 0, 2545, 2546, 1, 0, 0, 0, 2546, 2795, 5, 9, 0, 0, 2547, 2795, 3, 264, 132, 0, 2548, 2795, 5, 59, 0, 0, 2549, 2553, 5, 63, 0, 0, 2550, 2551, 5, 1, 0, 0, 2551, 2552, 5, 330, 0, 0, 2552, 2554, 5, 2, 0, 0, 2553, 2550, 1, 0, 0, 0, 2553, 2554, 1, 0, 0, 0, 2554, 2795, 1, 0, 0, 0, 2555, 2559, 5, 64, 0, 0, 2556, 2557, 5, 1, 0, 0, 2557, 2558, 5, 330, 0, 0, 2558, 2560, 5, 2, 0, 0, 2559, 2556, 1, 0, 0, 0, 2559, 2560, 1, 0, 0, 0, 2560, 2795, 1, 0, 0, 0, 2561, 2565, 5, 159, 0, 0, 2562, 2563, 5, 1, 0, 0, 2563, 2564, 5, 330, 0, 0, 2564, 2566, 5, 2, 0, 0, 2565, 2562, 1, 0, 0, 0, 2565, 2566, 1, 0, 0, 0, 2566, 2795, 1, 0, 0, 0, 2567, 2571, 5, 160, 0, 0, 2568, 2569, 5, 1, 0, 0, 2569, 2570, 5, 330, 0, 0, 2570, 2572, 5, 2, 0, 0, 2571, 2568, 1, 0, 0, 0, 2571, 2572, 1, 0, 0, 0, 2572, 2795, 1, 0, 0, 0, 2573, 2795, 5, 65, 0, 0, 2574, 2795, 5, 58, 0, 0, 2575, 2795, 5, 62, 0, 0, 2576, 2795, 5, 60, 0, 0, 2577, 2578, 5, 273, 0, 0, 2578, 2586, 5, 1, 0, 0, 2579, 2581, 7, 22, 0, 0, 2580, 2579, 1, 0, 0, 0, 2580, 2581, 1, 0, 0, 0, 2581, 2583, 1, 0, 0, 0, 2582, 2584, 3, 150, 75, 0, 2583, 2582, 1, 0, 0, 0, 2583, 2584, 1, 0, 0, 0, 2584, 2585, 1, 0, 0, 0, 2585, 2587, 5, 106, 0, 0, 2586, 2580, 1, 0, 0, 0, 2586, 2587, 1, 0, 0, 0, 2587, 2588, 1, 0, 0, 0, 2588, 2589, 3, 150, 75, 0, 2589, 2590, 5, 2, 0, 0, 2590, 2795, 1, 0, 0, 0, 2591, 2592, 5, 273, 0, 0, 2592, 2593, 5, 1, 0, 0, 2593, 2594, 3, 150, 75, 0, 2594, 2595, 5, 3, 0, 0, 2595, 2596, 3, 150, 75, 0, 2596, 2597, 5, 2, 0, 0, 2597, 2795, 1, 0, 0, 0, 2598, 2599, 5, 259, 0, 0, 2599, 2600, 5, 1, 0, 0, 2600, 2601, 3, 150, 75, 0, 2601, 2602, 5, 106, 0, 0, 2602, 2605, 3, 150, 75, 0, 2603, 2604, 5, 104, 0, 0, 2604, 2606, 3, 150, 75, 0, 2605, 2603, 1, 0, 0, 0, 2605, 2606, 1, 0, 0, 0, 2606, 2607, 1, 0, 0, 0, 2607, 2608, 5, 2, 0, 0, 2608, 2795, 1, 0, 0, 0, 2609, 2610, 5, 182, 0, 0, 2610, 2611, 5, 1, 0, 0, 2611, 2614, 3, 150, 75, 0, 2612, 2613, 5, 3, 0, 0, 2613, 2615, 7, 23, 0, 0, 2614, 2612, 1, 0, 0, 0, 2614, 2615, 1, 0, 0, 0, 2615, 2616, 1, 0, 0, 0, 2616, 2617, 5, 2, 0, 0, 2617, 2795, 1, 0, 0, 0, 2618, 2619, 5, 97, 0, 0, 2619, 2620, 5, 1, 0, 0, 2620, 2621, 3, 278, 139, 0, 2621, 2622, 5, 106, 0, 0, 2622, 2623, 3, 150, 75, 0, 2623, 2624, 5, 2, 0, 0, 2624, 2795, 1, 0, 0, 0, 2625, 2626, 5, 44, 0, 0, 2626, 2627, 5, 1, 0, 0, 2627, 2632, 3, 144, 72, 0, 2628, 2629, 5, 3, 0, 0, 2629, 2631, 3, 144, 72, 0, 2630, 2628, 1, 0, 0, 0, 2631, 2634, 1, 0, 0, 0, 2632, 2630, 1, 0, 0, 0, 2632, 2633, 1, 0, 0, 0, 2633, 2635, 1, 0, 0, 0, 2634, 2632, 1, 0, 0, 0, 2635, 2636, 5, 2, 0, 0, 2636, 2795, 1, 0, 0, 0, 2637, 2638, 5, 1, 0, 0, 2638, 2639, 3, 144, 72, 0, 2639, 2640, 5, 2, 0, 0, 2640, 2795, 1, 0, 0, 0, 2641, 2642, 5, 116, 0, 0, 2642, 2651, 5, 1, 0, 0, 2643, 2648, 3, 268, 134, 0, 2644, 2645, 5, 3, 0, 0, 2645, 2647, 3, 268, 134, 0, 2646, 2644, 1, 0, 0, 0, 2647, 2650, 1, 0, 0, 0, 2648, 2646, 1, 0, 0, 0, 2648, 2649, 1, 0, 0, 0, 2649, 2652, 1, 0, 0, 0, 2650, 2648, 1, 0, 0, 0, 2651, 2643, 1, 0, 0, 0, 2651, 2652, 1, 0, 0, 0, 2652, 2653, 1, 0, 0, 0, 2653, 2795, 5, 2, 0, 0, 2654, 2655, 5, 140, 0, 0, 2655, 2656, 5, 1, 0, 0, 2656, 2660, 3, 154, 77, 0, 2657, 2658, 7, 24, 0, 0, 2658, 2659, 5, 191, 0, 0, 2659, 2661, 5, 90, 0, 0, 2660, 2657, 1, 0, 0, 0, 2660, 2661, 1, 0, 0, 0, 2661, 2662, 1, 0, 0, 0, 2662, 2663, 5, 2, 0, 0, 2663, 2795, 1, 0, 0, 0, 2664, 2665, 5, 144, 0, 0, 2665, 2666, 5, 1, 0, 0, 2666, 2669, 3, 154, 77, 0, 2667, 2668, 5, 232, 0, 0, 2668, 2670, 3, 182, 91, 0, 2669, 2667, 1, 0, 0, 0, 2669, 2670, 1, 0, 0, 0, 2670, 2675, 1, 0, 0, 0, 2671, 2672, 3, 162, 81, 0, 2672, 2673, 5, 191, 0, 0, 2673, 2674, 5, 86, 0, 0, 2674, 2676, 1, 0, 0, 0, 2675, 2671, 1, 0, 0, 0, 2675, 2676, 1, 0, 0, 0, 2676, 2681, 1, 0, 0, 0, 2677, 2678, 3, 162, 81, 0, 2678, 2679, 5, 191, 0, 0, 2679, 2680, 5, 90, 0, 0, 2680, 2682, 1, 0, 0, 0, 2681, 2677, 1, 0, 0, 0, 2681, 2682, 1, 0, 0, 0, 2682, 2683, 1, 0, 0, 0, 2683, 2684, 5, 2, 0, 0, 2684, 2795, 1, 0, 0, 0, 2685, 2686, 5, 142, 0, 0, 2686, 2687, 5, 1, 0, 0, 2687, 2694, 3, 154, 77, 0, 2688, 2689, 5, 232, 0, 0, 2689, 2692, 3, 182, 91, 0, 2690, 2691, 5, 105, 0, 0, 2691, 2693, 3, 158, 79, 0, 2692, 2690, 1, 0, 0, 0, 2692, 2693, 1, 0, 0, 0, 2693, 2695, 1, 0, 0, 0, 2694, 2688, 1, 0, 0, 0, 2694, 2695, 1, 0, 0, 0, 2695, 2699, 1, 0, 0, 0, 2696, 2697, 3, 164, 82, 0, 2697, 2698, 5, 309, 0, 0, 2698, 2700, 1, 0, 0, 0, 2699, 2696, 1, 0, 0, 0, 2699, 2700, 1, 0, 0, 0, 2700, 2708, 1, 0, 0, 0, 2701, 2702, 7, 16, 0, 0, 2702, 2706, 5, 219, 0, 0, 2703, 2704, 5, 191, 0, 0, 2704, 2705, 5, 243, 0, 0, 2705, 2707, 5, 265, 0, 0, 2706, 2703, 1, 0, 0, 0, 2706, 2707, 1, 0, 0, 0, 2707, 2709, 1, 0, 0, 0, 2708, 2701, 1, 0, 0, 0, 2708, 2709, 1, 0, 0, 0, 2709, 2714, 1, 0, 0, 0, 2710, 2711, 3, 166, 83, 0, 2711, 2712, 5, 191, 0, 0, 2712, 2713, 5, 86, 0, 0, 2713, 2715, 1, 0, 0, 0, 2714, 2710, 1, 0, 0, 0, 2714, 2715, 1, 0, 0, 0, 2715, 2720, 1, 0, 0, 0, 2716, 2717, 3, 166, 83, 0, 2717, 2718, 5, 191, 0, 0, 2718, 2719, 5, 90, 0, 0, 2719, 2721, 1, 0, 0, 0, 2720, 2716, 1, 0, 0, 0, 2720, 2721, 1, 0, 0, 0, 2721, 2722, 1, 0, 0, 0, 2722, 2723, 5, 2, 0, 0, 2723, 2795, 1, 0, 0, 0, 2724, 2725, 5, 141, 0, 0, 2725, 2754, 5, 1, 0, 0, 2726, 2731, 3, 168, 84, 0, 2727, 2728, 5, 3, 0, 0, 2728, 2730, 3, 168, 84, 0, 2729, 2727, 1, 0, 0, 0, 2730, 2733, 1, 0, 0, 0, 2731, 2729, 1, 0, 0, 0, 2731, 2732, 1, 0, 0, 0, 2732, 2740, 1, 0, 0, 0, 2733, 2731, 1, 0, 0, 0, 2734, 2735, 5, 184, 0, 0, 2735, 2736, 5, 191, 0, 0, 2736, 2741, 5, 184, 0, 0, 2737, 2738, 5, 18, 0, 0, 2738, 2739, 5, 191, 0, 0, 2739, 2741, 5, 184, 0, 0, 2740, 2734, 1, 0, 0, 0, 2740, 2737, 1, 0, 0, 0, 2740, 2741, 1, 0, 0, 0, 2741, 2752, 1, 0, 0, 0, 2742, 2743, 5, 305, 0, 0, 2743, 2745, 5, 283, 0, 0, 2744, 2746, 5, 147, 0, 0, 2745, 2744, 1, 0, 0, 0, 2745, 2746, 1, 0, 0, 0, 2746, 2753, 1, 0, 0, 0, 2747, 2748, 5, 307, 0, 0, 2748, 2750, 5, 283, 0, 0, 2749, 2751, 5, 147, 0, 0, 2750, 2749, 1, 0, 0, 0, 2750, 2751, 1, 0, 0, 0, 2751, 2753, 1, 0, 0, 0, 2752, 2742, 1, 0, 0, 0, 2752, 2747, 1, 0, 0, 0, 2752, 2753, 1, 0, 0, 0, 2753, 2755, 1, 0, 0, 0, 2754, 2726, 1, 0, 0, 0, 2754, 2755, 1, 0, 0, 0, 2755, 2762, 1, 0, 0, 0, 2756, 2757, 5, 232, 0, 0, 2757, 2760, 3, 182, 91, 0, 2758, 2759, 5, 105, 0, 0, 2759, 2761, 3, 158, 79, 0, 2760, 2758, 1, 0, 0, 0, 2760, 2761, 1, 0, 0, 0, 2761, 2763, 1, 0, 0, 0, 2762, 2756, 1, 0, 0, 0, 2762, 2763, 1, 0, 0, 0, 2763, 2764, 1, 0, 0, 0, 2764, 2795, 5, 2, 0, 0, 2765, 2766, 5, 139, 0, 0, 2766, 2783, 5, 1, 0, 0, 2767, 2772, 3, 156, 78, 0, 2768, 2769, 5, 3, 0, 0, 2769, 2771, 3, 156, 78, 0, 2770, 2768, 1, 0, 0, 0, 2771, 2774, 1, 0, 0, 0, 2772, 2770, 1, 0, 0, 0, 2772, 2773, 1, 0, 0, 0, 2773, 2781, 1, 0, 0, 0, 2774, 2772, 1, 0, 0, 0, 2775, 2776, 5, 184, 0, 0, 2776, 2777, 5, 191, 0, 0, 2777, 2782, 5, 184, 0, 0, 2778, 2779, 5, 18, 0, 0, 2779, 2780, 5, 191, 0, 0, 2780, 2782, 5, 184, 0, 0, 2781, 2775, 1, 0, 0, 0, 2781, 2778, 1, 0, 0, 0, 2781, 2782, 1, 0, 0, 0, 2782, 2784, 1, 0, 0, 0, 2783, 2767, 1, 0, 0, 0, 2783, 2784, 1, 0, 0, 0, 2784, 2791, 1, 0, 0, 0, 2785, 2786, 5, 232, 0, 0, 2786, 2789, 3, 182, 91, 0, 2787, 2788, 5, 105, 0, 0, 2788, 2790, 3, 158, 79, 0, 2789, 2787, 1, 0, 0, 0, 2789, 2790, 1, 0, 0, 0, 2790, 2792, 1, 0, 0, 0, 2791, 2785, 1, 0, 0, 0, 2791, 2792, 1, 0, 0, 0, 2792, 2793, 1, 0, 0, 0, 2793, 2795, 5, 2, 0, 0, 2794, 2327, 1, 0, 0, 0, 2794, 2329, 1, 0, 0, 0, 2794, 2330, 1, 0, 0, 0, 2794, 2333, 1, 0, 0, 0, 2794, 2336, 1, 0, 0, 0, 2794, 2337, 1, 0, 0, 0, 2794, 2338, 1, 0, 0, 0, 2794, 2339, 1, 0, 0, 0, 2794, 2340, 1, 0, 0, 0, 2794, 2341, 1, 0, 0, 0, 2794, 2348, 1, 0, 0, 0, 2794, 2358, 1, 0, 0, 0, 2794, 2370, 1, 0, 0, 0, 2794, 2405, 1, 0, 0, 0, 2794, 2423, 1, 0, 0, 0, 2794, 2465, 1, 0, 0, 0, 2794, 2468, 1, 0, 0, 0, 2794, 2472, 1, 0, 0, 0, 2794, 2486, 1, 0, 0, 0, 2794, 2490, 1, 0, 0, 0, 2794, 2495, 1, 0, 0, 0, 2794, 2508, 1, 0, 0, 0, 2794, 2520, 1, 0, 0, 0, 2794, 2527, 1, 0, 0, 0, 2794, 2534, 1, 0, 0, 0, 2794, 2547, 1, 0, 0, 0, 2794, 2548, 1, 0, 0, 0, 2794, 2549, 1, 0, 0, 0, 2794, 2555, 1, 0, 0, 0, 2794, 2561, 1, 0, 0, 0, 2794, 2567, 1, 0, 0, 0, 2794, 2573, 1, 0, 0, 0, 2794, 2574, 1, 0, 0, 0, 2794, 2575, 1, 0, 0, 0, 2794, 2576, 1, 0, 0, 0, 2794, 2577, 1, 0, 0, 0, 2794, 2591, 1, 0, 0, 0, 2794, 2598, 1, 0, 0, 0, 2794, 2609, 1, 0, 0, 0, 2794, 2618, 1, 0, 0, 0, 2794, 2625, 1, 0, 0, 0, 2794, 2637, 1, 0, 0, 0, 2794, 2641, 1, 0, 0, 0, 2794, 2654, 1, 0, 0, 0, 2794, 2664, 1, 0, 0, 0, 2794, 2685, 1, 0, 0, 0, 2794, 2724, 1, 0, 0, 0, 2794, 2765, 1, 0, 0, 0, 2795, 2806, 1, 0, 0, 0, 2796, 2797, 10, 25, 0, 0, 2797, 2798, 5, 8, 0, 0, 2798, 2799, 3, 150, 75, 0, 2799, 2800, 5, 9, 0, 0, 2800, 2805, 1, 0, 0, 0, 2801, 2802, 10, 23, 0, 0, 2802, 2803, 5, 4, 0, 0, 2803, 2805, 3, 278, 139, 0, 2804, 2796, 1, 0, 0, 0, 2804, 2801, 1, 0, 0, 0, 2805, 2808, 1, 0, 0, 0, 2806, 2804, 1, 0, 0, 0, 2806, 2807, 1, 0, 0, 0, 2807, 153, 1, 0, 0, 0, 2808, 2806, 1, 0, 0, 0, 2809, 2810, 3, 156, 78, 0, 2810, 2811, 5, 3, 0, 0, 2811, 2814, 3, 172, 86, 0, 2812, 2813, 5, 28, 0, 0, 2813, 2815, 3, 278, 139, 0, 2814, 2812, 1, 0, 0, 0, 2814, 2815, 1, 0, 0, 0, 2815, 2825, 1, 0, 0, 0, 2816, 2817, 5, 204, 0, 0, 2817, 2822, 3, 160, 80, 0, 2818, 2819, 5, 3, 0, 0, 2819, 2821, 3, 160, 80, 0, 2820, 2818, 1, 0, 0, 0, 2821, 2824, 1, 0, 0, 0, 2822, 2820, 1, 0, 0, 0, 2822, 2823, 1, 0, 0, 0, 2823, 2826, 1, 0, 0, 0, 2824, 2822, 1, 0, 0, 0, 2825, 2816, 1, 0, 0, 0, 2825, 2826, 1, 0, 0, 0, 2826, 155, 1, 0, 0, 0, 2827, 2830, 3, 144, 72, 0, 2828, 2829, 5, 105, 0, 0, 2829, 2831, 3, 158, 79, 0, 2830, 2828, 1, 0, 0, 0, 2830, 2831, 1, 0, 0, 0, 2831, 157, 1, 0, 0, 0, 2832, 2835, 5, 138, 0, 0, 2833, 2834, 5, 88, 0, 0, 2834, 2836, 7, 25, 0, 0, 2835, 2833, 1, 0, 0, 0, 2835, 2836, 1, 0, 0, 0, 2836, 159, 1, 0, 0, 0, 2837, 2838, 3, 156, 78, 0, 2838, 2839, 5, 28, 0, 0, 2839, 2840, 3, 278, 139, 0, 2840, 161, 1, 0, 0, 0, 2841, 2846, 5, 90, 0, 0, 2842, 2846, 5, 184, 0, 0, 2843, 2844, 5, 71, 0, 0, 2844, 2846, 3, 144, 72, 0, 2845, 2841, 1, 0, 0, 0, 2845, 2842, 1, 0, 0, 0, 2845, 2843, 1, 0, 0, 0, 2846, 163, 1, 0, 0, 0, 2847, 2849, 5, 307, 0, 0, 2848, 2850, 5, 27, 0, 0, 2849, 2848, 1, 0, 0, 0, 2849, 2850, 1, 0, 0, 0, 2850, 2859, 1, 0, 0, 0, 2851, 2853, 5, 305, 0, 0, 2852, 2854, 7, 26, 0, 0, 2853, 2852, 1, 0, 0, 0, 2853, 2854, 1, 0, 0, 0, 2854, 2856, 1, 0, 0, 0, 2855, 2857, 5, 27, 0, 0, 2856, 2855, 1, 0, 0, 0, 2856, 2857, 1, 0, 0, 0, 2857, 2859, 1, 0, 0, 0, 2858, 2847, 1, 0, 0, 0, 2858, 2851, 1, 0, 0, 0, 2859, 165, 1, 0, 0, 0, 2860, 2867, 5, 90, 0, 0, 2861, 2867, 5, 184, 0, 0, 2862, 2863, 5, 86, 0, 0, 2863, 2867, 5, 27, 0, 0, 2864, 2865, 5, 86, 0, 0, 2865, 2867, 5, 187, 0, 0, 2866, 2860, 1, 0, 0, 0, 2866, 2861, 1, 0, 0, 0, 2866, 2862, 1, 0, 0, 0, 2866, 2864, 1, 0, 0, 0, 2867, 167, 1, 0, 0, 0, 2868, 2870, 5, 146, 0, 0, 2869, 2868, 1, 0, 0, 0, 2869, 2870, 1, 0, 0, 0, 2870, 2871, 1, 0, 0, 0, 2871, 2872, 3, 144, 72, 0, 2872, 2873, 5, 296, 0, 0, 2873, 2874, 3, 156, 78, 0, 2874, 2880, 1, 0, 0, 0, 2875, 2876, 3, 144, 72, 0, 2876, 2877, 5, 10, 0, 0, 2877, 2878, 3, 156, 78, 0, 2878, 2880, 1, 0, 0, 0, 2879, 2869, 1, 0, 0, 0, 2879, 2875, 1, 0, 0, 0, 2880, 169, 1, 0, 0, 0, 2881, 2882, 7, 27, 0, 0, 2882, 171, 1, 0, 0, 0, 2883, 2890, 5, 327, 0, 0, 2884, 2887, 5, 328, 0, 0, 2885, 2886, 5, 278, 0, 0, 2886, 2888, 5, 327, 0, 0, 2887, 2885, 1, 0, 0, 0, 2887, 2888, 1, 0, 0, 0, 2888, 2890, 1, 0, 0, 0, 2889, 2883, 1, 0, 0, 0, 2889, 2884, 1, 0, 0, 0, 2890, 173, 1, 0, 0, 0, 2891, 2892, 7, 28, 0, 0, 2892, 175, 1, 0, 0, 0, 2893, 2894, 7, 29, 0, 0, 2894, 177, 1, 0, 0, 0, 2895, 2897, 5, 130, 0, 0, 2896, 2898, 7, 19, 0, 0, 2897, 2896, 1, 0, 0, 0, 2897, 2898, 1, 0, 0, 0, 2898, 2899, 1, 0, 0, 0, 2899, 2900, 3, 172, 86, 0, 2900, 2903, 3, 180, 90, 0, 2901, 2902, 5, 270, 0, 0, 2902, 2904, 3, 180, 90, 0, 2903, 2901, 1, 0, 0, 0, 2903, 2904, 1, 0, 0, 0, 2904, 179, 1, 0, 0, 0, 2905, 2906, 7, 30, 0, 0, 2906, 181, 1, 0, 0, 0, 2907, 2908, 6, 91, -1, 0, 2908, 2909, 5, 240, 0, 0, 2909, 2910, 5, 1, 0, 0, 2910, 2915, 3, 184, 92, 0, 2911, 2912, 5, 3, 0, 0, 2912, 2914, 3, 184, 92, 0, 2913, 2911, 1, 0, 0, 0, 2914, 2917, 1, 0, 0, 0, 2915, 2913, 1, 0, 0, 0, 2915, 2916, 1, 0, 0, 0, 2916, 2918, 1, 0, 0, 0, 2917, 2915, 1, 0, 0, 0, 2918, 2919, 5, 2, 0, 0, 2919, 2979, 1, 0, 0, 0, 2920, 2921, 5, 130, 0, 0, 2921, 2924, 3, 180, 90, 0, 2922, 2923, 5, 270, 0, 0, 2923, 2925, 3, 180, 90, 0, 2924, 2922, 1, 0, 0, 0, 2924, 2925, 1, 0, 0, 0, 2925, 2979, 1, 0, 0, 0, 2926, 2931, 5, 269, 0, 0, 2927, 2928, 5, 1, 0, 0, 2928, 2929, 3, 186, 93, 0, 2929, 2930, 5, 2, 0, 0, 2930, 2932, 1, 0, 0, 0, 2931, 2927, 1, 0, 0, 0, 2931, 2932, 1, 0, 0, 0, 2932, 2936, 1, 0, 0, 0, 2933, 2934, 7, 31, 0, 0, 2934, 2935, 5, 268, 0, 0, 2935, 2937, 5, 312, 0, 0, 2936, 2933, 1, 0, 0, 0, 2936, 2937, 1, 0, 0, 0, 2937, 2979, 1, 0, 0, 0, 2938, 2943, 5, 268, 0, 0, 2939, 2940, 5, 1, 0, 0, 2940, 2941, 3, 186, 93, 0, 2941, 2942, 5, 2, 0, 0, 2942, 2944, 1, 0, 0, 0, 2943, 2939, 1, 0, 0, 0, 2943, 2944, 1, 0, 0, 0, 2944, 2948, 1, 0, 0, 0, 2945, 2946, 7, 31, 0, 0, 2946, 2947, 5, 268, 0, 0, 2947, 2949, 5, 312, 0, 0, 2948, 2945, 1, 0, 0, 0, 2948, 2949, 1, 0, 0, 0, 2949, 2979, 1, 0, 0, 0, 2950, 2951, 5, 83, 0, 0, 2951, 2979, 5, 214, 0, 0, 2952, 2953, 5, 27, 0, 0, 2953, 2954, 5, 315, 0, 0, 2954, 2955, 3, 182, 91, 0, 2955, 2956, 5, 317, 0, 0, 2956, 2979, 1, 0, 0, 0, 2957, 2958, 5, 163, 0, 0, 2958, 2959, 5, 315, 0, 0, 2959, 2960, 3, 182, 91, 0, 2960, 2961, 5, 3, 0, 0, 2961, 2962, 3, 182, 91, 0, 2962, 2963, 5, 317, 0, 0, 2963, 2979, 1, 0, 0, 0, 2964, 2976, 3, 278, 139, 0, 2965, 2966, 5, 1, 0, 0, 2966, 2971, 3, 186, 93, 0, 2967, 2968, 5, 3, 0, 0, 2968, 2970, 3, 186, 93, 0, 2969, 2967, 1, 0, 0, 0, 2970, 2973, 1, 0, 0, 0, 2971, 2969, 1, 0, 0, 0, 2971, 2972, 1, 0, 0, 0, 2972, 2974, 1, 0, 0, 0, 2973, 2971, 1, 0, 0, 0, 2974, 2975, 5, 2, 0, 0, 2975, 2977, 1, 0, 0, 0, 2976, 2965, 1, 0, 0, 0, 2976, 2977, 1, 0, 0, 0, 2977, 2979, 1, 0, 0, 0, 2978, 2907, 1, 0, 0, 0, 2978, 2920, 1, 0, 0, 0, 2978, 2926, 1, 0, 0, 0, 2978, 2938, 1, 0, 0, 0, 2978, 2950, 1, 0, 0, 0, 2978, 2952, 1, 0, 0, 0, 2978, 2957, 1, 0, 0, 0, 2978, 2964, 1, 0, 0, 0, 2979, 2989, 1, 0, 0, 0, 2980, 2981, 10, 2, 0, 0, 2981, 2985, 5, 27, 0, 0, 2982, 2983, 5, 8, 0, 0, 2983, 2984, 5, 330, 0, 0, 2984, 2986, 5, 9, 0, 0, 2985, 2982, 1, 0, 0, 0, 2985, 2986, 1, 0, 0, 0, 2986, 2988, 1, 0, 0, 0, 2987, 2980, 1, 0, 0, 0, 2988, 2991, 1, 0, 0, 0, 2989, 2987, 1, 0, 0, 0, 2989, 2990, 1, 0, 0, 0, 2990, 183, 1, 0, 0, 0, 2991, 2989, 1, 0, 0, 0, 2992, 2997, 3, 182, 91, 0, 2993, 2994, 3, 278, 139, 0, 2994, 2995, 3, 182, 91, 0, 2995, 2997, 1, 0, 0, 0, 2996, 2992, 1, 0, 0, 0, 2996, 2993, 1, 0, 0, 0, 2997, 185, 1, 0, 0, 0, 2998, 3001, 5, 330, 0, 0, 2999, 3001, 3, 182, 91, 0, 3000, 2998, 1, 0, 0, 0, 3000, 2999, 1, 0, 0, 0, 3001, 187, 1, 0, 0, 0, 3002, 3003, 5, 301, 0, 0, 3003, 3004, 3, 144, 72, 0, 3004, 3005, 5, 266, 0, 0, 3005, 3006, 3, 144, 72, 0, 3006, 189, 1, 0, 0, 0, 3007, 3008, 5, 100, 0, 0, 3008, 3009, 5, 1, 0, 0, 3009, 3010, 3, 48, 24, 0, 3010, 3011, 5, 2, 0, 0, 3011, 191, 1, 0, 0, 0, 3012, 3013, 5, 301, 0, 0, 3013, 3016, 5, 165, 0, 0, 3014, 3015, 5, 25, 0, 0, 3015, 3017, 3, 144, 72, 0, 3016, 3014, 1, 0, 0, 0, 3016, 3017, 1, 0, 0, 0, 3017, 3018, 1, 0, 0, 0, 3018, 3019, 5, 266, 0, 0, 3019, 3020, 5, 288, 0, 0, 3020, 3021, 5, 252, 0, 0, 3021, 3022, 3, 278, 139, 0, 3022, 3023, 5, 313, 0, 0, 3023, 3031, 3, 144, 72, 0, 3024, 3025, 5, 3, 0, 0, 3025, 3026, 3, 278, 139, 0, 3026, 3027, 5, 313, 0, 0, 3027, 3028, 3, 144, 72, 0, 3028, 3030, 1, 0, 0, 0, 3029, 3024, 1, 0, 0, 0, 3030, 3033, 1, 0, 0, 0, 3031, 3029, 1, 0, 0, 0, 3031, 3032, 1, 0, 0, 0, 3032, 3077, 1, 0, 0, 0, 3033, 3031, 1, 0, 0, 0, 3034, 3035, 5, 301, 0, 0, 3035, 3038, 5, 165, 0, 0, 3036, 3037, 5, 25, 0, 0, 3037, 3039, 3, 144, 72, 0, 3038, 3036, 1, 0, 0, 0, 3038, 3039, 1, 0, 0, 0, 3039, 3040, 1, 0, 0, 0, 3040, 3041, 5, 266, 0, 0, 3041, 3077, 5, 74, 0, 0, 3042, 3043, 5, 301, 0, 0, 3043, 3044, 5, 183, 0, 0, 3044, 3047, 5, 165, 0, 0, 3045, 3046, 5, 25, 0, 0, 3046, 3048, 3, 144, 72, 0, 3047, 3045, 1, 0, 0, 0, 3047, 3048, 1, 0, 0, 0, 3048, 3049, 1, 0, 0, 0, 3049, 3050, 5, 266, 0, 0, 3050, 3062, 5, 128, 0, 0, 3051, 3052, 5, 1, 0, 0, 3052, 3057, 3, 278, 139, 0, 3053, 3054, 5, 3, 0, 0, 3054, 3056, 3, 278, 139, 0, 3055, 3053, 1, 0, 0, 0, 3056, 3059, 1, 0, 0, 0, 3057, 3055, 1, 0, 0, 0, 3057, 3058, 1, 0, 0, 0, 3058, 3060, 1, 0, 0, 0, 3059, 3057, 1, 0, 0, 0, 3060, 3061, 5, 2, 0, 0, 3061, 3063, 1, 0, 0, 0, 3062, 3051, 1, 0, 0, 0, 3062, 3063, 1, 0, 0, 0, 3063, 3064, 1, 0, 0, 0, 3064, 3065, 5, 297, 0, 0, 3065, 3066, 5, 1, 0, 0, 3066, 3071, 3, 144, 72, 0, 3067, 3068, 5, 3, 0, 0, 3068, 3070, 3, 144, 72, 0, 3069, 3067, 1, 0, 0, 0, 3070, 3073, 1, 0, 0, 0, 3071, 3069, 1, 0, 0, 0, 3071, 3072, 1, 0, 0, 0, 3072, 3074, 1, 0, 0, 0, 3073, 3071, 1, 0, 0, 0, 3074, 3075, 5, 2, 0, 0, 3075, 3077, 1, 0, 0, 0, 3076, 3012, 1, 0, 0, 0, 3076, 3034, 1, 0, 0, 0, 3076, 3042, 1, 0, 0, 0, 3077, 193, 1, 0, 0, 0, 3078, 3084, 5, 200, 0, 0, 3079, 3085, 3, 278, 139, 0, 3080, 3081, 5, 1, 0, 0, 3081, 3082, 3, 66, 33, 0, 3082, 3083, 5, 2, 0, 0, 3083, 3085, 1, 0, 0, 0, 3084, 3079, 1, 0, 0, 0, 3084, 3080, 1, 0, 0, 0, 3085, 195, 1, 0, 0, 0, 3086, 3087, 5, 169, 0, 0, 3087, 3092, 3, 98, 49, 0, 3088, 3089, 5, 3, 0, 0, 3089, 3091, 3, 98, 49, 0, 3090, 3088, 1, 0, 0, 0, 3091, 3094, 1, 0, 0, 0, 3092, 3090, 1, 0, 0, 0, 3092, 3093, 1, 0, 0, 0, 3093, 3096, 1, 0, 0, 0, 3094, 3092, 1, 0, 0, 0, 3095, 3086, 1, 0, 0, 0, 3095, 3096, 1, 0, 0, 0, 3096, 3097, 1, 0, 0, 0, 3097, 3101, 3, 198, 99, 0, 3098, 3099, 5, 21, 0, 0, 3099, 3100, 5, 164, 0, 0, 3100, 3102, 3, 102, 51, 0, 3101, 3098, 1, 0, 0, 0, 3101, 3102, 1, 0, 0, 0, 3102, 3104, 1, 0, 0, 0, 3103, 3105, 7, 13, 0, 0, 3104, 3103, 1, 0, 0, 0, 3104, 3105, 1, 0, 0, 0, 3105, 3111, 1, 0, 0, 0, 3106, 3107, 5, 207, 0, 0, 3107, 3108, 5, 1, 0, 0, 3108, 3109, 3, 202, 101, 0, 3109, 3110, 5, 2, 0, 0, 3110, 3112, 1, 0, 0, 0, 3111, 3106, 1, 0, 0, 0, 3111, 3112, 1, 0, 0, 0, 3112, 3122, 1, 0, 0, 0, 3113, 3114, 5, 258, 0, 0, 3114, 3119, 3, 104, 52, 0, 3115, 3116, 5, 3, 0, 0, 3116, 3118, 3, 104, 52, 0, 3117, 3115, 1, 0, 0, 0, 3118, 3121, 1, 0, 0, 0, 3119, 3117, 1, 0, 0, 0, 3119, 3120, 1, 0, 0, 0, 3120, 3123, 1, 0, 0, 0, 3121, 3119, 1, 0, 0, 0, 3122, 3113, 1, 0, 0, 0, 3122, 3123, 1, 0, 0, 0, 3123, 3133, 1, 0, 0, 0, 3124, 3125, 5, 72, 0, 0, 3125, 3130, 3, 106, 53, 0, 3126, 3127, 5, 3, 0, 0, 3127, 3129, 3, 106, 53, 0, 3128, 3126, 1, 0, 0, 0, 3129, 3132, 1, 0, 0, 0, 3130, 3128, 1, 0, 0, 0, 3130, 3131, 1, 0, 0, 0, 3131, 3134, 1, 0, 0, 0, 3132, 3130, 1, 0, 0, 0, 3133, 3124, 1, 0, 0, 0, 3133, 3134, 1, 0, 0, 0, 3134, 197, 1, 0, 0, 0, 3135, 3142, 7, 32, 0, 0, 3136, 3137, 5, 34, 0, 0, 3137, 3138, 3, 200, 100, 0, 3138, 3139, 5, 25, 0, 0, 3139, 3140, 3, 200, 100, 0, 3140, 3143, 1, 0, 0, 0, 3141, 3143, 3, 200, 100, 0, 3142, 3136, 1, 0, 0, 0, 3142, 3141, 1, 0, 0, 0, 3143, 199, 1, 0, 0, 0, 3144, 3145, 5, 279, 0, 0, 3145, 3154, 5, 213, 0, 0, 3146, 3147, 5, 279, 0, 0, 3147, 3154, 5, 103, 0, 0, 3148, 3149, 5, 57, 0, 0, 3149, 3154, 5, 240, 0, 0, 3150, 3151, 3, 144, 72, 0, 3151, 3152, 7, 33, 0, 0, 3152, 3154, 1, 0, 0, 0, 3153, 3144, 1, 0, 0, 0, 3153, 3146, 1, 0, 0, 0, 3153, 3148, 1, 0, 0, 0, 3153, 3150, 1, 0, 0, 0, 3154, 201, 1, 0, 0, 0, 3155, 3156, 6, 101, -1, 0, 3156, 3158, 3, 204, 102, 0, 3157, 3159, 3, 206, 103, 0, 3158, 3157, 1, 0, 0, 0, 3158, 3159, 1, 0, 0, 0, 3159, 3167, 1, 0, 0, 0, 3160, 3161, 10, 2, 0, 0, 3161, 3166, 3, 202, 101, 3, 3162, 3163, 10, 1, 0, 0, 3163, 3164, 5, 11, 0, 0, 3164, 3166, 3, 202, 101, 2, 3165, 3160, 1, 0, 0, 0, 3165, 3162, 1, 0, 0, 0, 3166, 3169, 1, 0, 0, 0, 3167, 3165, 1, 0, 0, 0, 3167, 3168, 1, 0, 0, 0, 3168, 203, 1, 0, 0, 0, 3169, 3167, 1, 0, 0, 0, 3170, 3196, 3, 278, 139, 0, 3171, 3172, 5, 1, 0, 0, 3172, 3196, 5, 2, 0, 0, 3173, 3174, 5, 210, 0, 0, 3174, 3175, 5, 1, 0, 0, 3175, 3180, 3, 202, 101, 0, 3176, 3177, 5, 3, 0, 0, 3177, 3179, 3, 202, 101, 0, 3178, 3176, 1, 0, 0, 0, 3179, 3182, 1, 0, 0, 0, 3180, 3178, 1, 0, 0, 0, 3180, 3181, 1, 0, 0, 0, 3181, 3183, 1, 0, 0, 0, 3182, 3180, 1, 0, 0, 0, 3183, 3184, 5, 2, 0, 0, 3184, 3196, 1, 0, 0, 0, 3185, 3186, 5, 1, 0, 0, 3186, 3187, 3, 202, 101, 0, 3187, 3188, 5, 2, 0, 0, 3188, 3196, 1, 0, 0, 0, 3189, 3196, 5, 12, 0, 0, 3190, 3196, 5, 13, 0, 0, 3191, 3192, 5, 14, 0, 0, 3192, 3193, 3, 202, 101, 0, 3193, 3194, 5, 15, 0, 0, 3194, 3196, 1, 0, 0, 0, 3195, 3170, 1, 0, 0, 0, 3195, 3171, 1, 0, 0, 0, 3195, 3173, 1, 0, 0, 0, 3195, 3185, 1, 0, 0, 0, 3195, 3189, 1, 0, 0, 0, 3195, 3190, 1, 0, 0, 0, 3195, 3191, 1, 0, 0, 0, 3196, 205, 1, 0, 0, 0, 3197, 3199, 5, 321, 0, 0, 3198, 3200, 5, 325, 0, 0, 3199, 3198, 1, 0, 0, 0, 3199, 3200, 1, 0, 0, 0, 3200, 3228, 1, 0, 0, 0, 3201, 3203, 5, 319, 0, 0, 3202, 3204, 5, 325, 0, 0, 3203, 3202, 1, 0, 0, 0, 3203, 3204, 1, 0, 0, 0, 3204, 3228, 1, 0, 0, 0, 3205, 3207, 5, 325, 0, 0, 3206, 3208, 5, 325, 0, 0, 3207, 3206, 1, 0, 0, 0, 3207, 3208, 1, 0, 0, 0, 3208, 3228, 1, 0, 0, 0, 3209, 3210, 5, 16, 0, 0, 3210, 3211, 5, 330, 0, 0, 3211, 3213, 5, 17, 0, 0, 3212, 3214, 5, 325, 0, 0, 3213, 3212, 1, 0, 0, 0, 3213, 3214, 1, 0, 0, 0, 3214, 3228, 1, 0, 0, 0, 3215, 3217, 5, 16, 0, 0, 3216, 3218, 5, 330, 0, 0, 3217, 3216, 1, 0, 0, 0, 3217, 3218, 1, 0, 0, 0, 3218, 3219, 1, 0, 0, 0, 3219, 3221, 5, 3, 0, 0, 3220, 3222, 5, 330, 0, 0, 3221, 3220, 1, 0, 0, 0, 3221, 3222, 1, 0, 0, 0, 3222, 3223, 1, 0, 0, 0, 3223, 3225, 5, 17, 0, 0, 3224, 3226, 5, 325, 0, 0, 3225, 3224, 1, 0, 0, 0, 3225, 3226, 1, 0, 0, 0, 3226, 3228, 1, 0, 0, 0, 3227, 3197, 1, 0, 0, 0, 3227, 3201, 1, 0, 0, 0, 3227, 3205, 1, 0, 0, 0, 3227, 3209, 1, 0, 0, 0, 3227, 3215, 1, 0, 0, 0, 3228, 207, 1, 0, 0, 0, 3229, 3230, 3, 278, 139, 0, 3230, 3231, 5, 313, 0, 0, 3231, 3232, 3, 144, 72, 0, 3232, 209, 1, 0, 0, 0, 3233, 3234, 5, 105, 0, 0, 3234, 3238, 7, 34, 0, 0, 3235, 3236, 5, 277, 0, 0, 3236, 3238, 7, 35, 0, 0, 3237, 3233, 1, 0, 0, 0, 3237, 3235, 1, 0, 0, 0, 3238, 211, 1, 0, 0, 0, 3239, 3240, 5, 135, 0, 0, 3240, 3248, 5, 154, 0, 0, 3241, 3242, 5, 221, 0, 0, 3242, 3249, 5, 280, 0, 0, 3243, 3244, 5, 221, 0, 0, 3244, 3249, 5, 49, 0, 0, 3245, 3246, 5, 226, 0, 0, 3246, 3249, 5, 221, 0, 0, 3247, 3249, 5, 250, 0, 0, 3248, 3241, 1, 0, 0, 0, 3248, 3243, 1, 0, 0, 0, 3248, 3245, 1, 0, 0, 0, 3248, 3247, 1, 0, 0, 0, 3249, 3253, 1, 0, 0, 0, 3250, 3251, 5, 221, 0, 0, 3251, 3253, 7, 36, 0, 0, 3252, 3239, 1, 0, 0, 0, 3252, 3250, 1, 0, 0, 0, 3253, 213, 1, 0, 0, 0, 3254, 3260, 3, 144, 72, 0, 3255, 3256, 3, 278, 139, 0, 3256, 3257, 5, 6, 0, 0, 3257, 3258, 3, 144, 72, 0, 3258, 3260, 1, 0, 0, 0, 3259, 3254, 1, 0, 0, 0, 3259, 3255, 1, 0, 0, 0, 3260, 215, 1, 0, 0, 0, 3261, 3262, 3, 278, 139, 0, 3262, 3263, 5, 4, 0, 0, 3263, 3264, 3, 278, 139, 0, 3264, 3267, 1, 0, 0, 0, 3265, 3267, 3, 278, 139, 0, 3266, 3261, 1, 0, 0, 0, 3266, 3265, 1, 0, 0, 0, 3267, 217, 1, 0, 0, 0, 3268, 3273, 3, 216, 108, 0, 3269, 3270, 5, 3, 0, 0, 3270, 3272, 3, 216, 108, 0, 3271, 3269, 1, 0, 0, 0, 3272, 3275, 1, 0, 0, 0, 3273, 3271, 1, 0, 0, 0, 3273, 3274, 1, 0, 0, 0, 3274, 219, 1, 0, 0, 0, 3275, 3273, 1, 0, 0, 0, 3276, 3277, 5, 108, 0, 0, 3277, 3278, 3, 258, 129, 0, 3278, 3287, 5, 1, 0, 0, 3279, 3284, 3, 222, 111, 0, 3280, 3281, 5, 3, 0, 0, 3281, 3283, 3, 222, 111, 0, 3282, 3280, 1, 0, 0, 0, 3283, 3286, 1, 0, 0, 0, 3284, 3282, 1, 0, 0, 0, 3284, 3285, 1, 0, 0, 0, 3285, 3288, 1, 0, 0, 0, 3286, 3284, 1, 0, 0, 0, 3287, 3279, 1, 0, 0, 0, 3287, 3288, 1, 0, 0, 0, 3288, 3289, 1, 0, 0, 0, 3289, 3290, 5, 2, 0, 0, 3290, 3291, 5, 233, 0, 0, 3291, 3295, 3, 182, 91, 0, 3292, 3294, 3, 224, 112, 0, 3293, 3292, 1, 0, 0, 0, 3294, 3297, 1, 0, 0, 0, 3295, 3293, 1, 0, 0, 0, 3295, 3296, 1, 0, 0, 0, 3296, 3298, 1, 0, 0, 0, 3297, 3295, 1, 0, 0, 0, 3298, 3299, 3, 226, 113, 0, 3299, 221, 1, 0, 0, 0, 3300, 3302, 3, 278, 139, 0, 3301, 3300, 1, 0, 0, 0, 3301, 3302, 1, 0, 0, 0, 3302, 3303, 1, 0, 0, 0, 3303, 3304, 3, 182, 91, 0, 3304, 223, 1, 0, 0, 0, 3305, 3306, 5, 148, 0, 0, 3306, 3325, 3, 278, 139, 0, 3307, 3309, 5, 183, 0, 0, 3308, 3307, 1, 0, 0, 0, 3308, 3309, 1, 0, 0, 0, 3309, 3310, 1, 0, 0, 0, 3310, 3325, 5, 79, 0, 0, 3311, 3312, 5, 233, 0, 0, 3312, 3313, 5, 184, 0, 0, 3313, 3314, 5, 191, 0, 0, 3314, 3315, 5, 184, 0, 0, 3315, 3325, 5, 127, 0, 0, 3316, 3317, 5, 38, 0, 0, 3317, 3318, 5, 191, 0, 0, 3318, 3319, 5, 184, 0, 0, 3319, 3325, 5, 127, 0, 0, 3320, 3321, 5, 247, 0, 0, 3321, 3325, 7, 1, 0, 0, 3322, 3323, 5, 47, 0, 0, 3323, 3325, 3, 172, 86, 0, 3324, 3305, 1, 0, 0, 0, 3324, 3308, 1, 0, 0, 0, 3324, 3311, 1, 0, 0, 0, 3324, 3316, 1, 0, 0, 0, 3324, 3320, 1, 0, 0, 0, 3324, 3322, 1, 0, 0, 0, 3325, 225, 1, 0, 0, 0, 3326, 3327, 5, 231, 0, 0, 3327, 3443, 3, 150, 75, 0, 3328, 3329, 5, 252, 0, 0, 3329, 3330, 3, 278, 139, 0, 3330, 3331, 5, 313, 0, 0, 3331, 3332, 3, 144, 72, 0, 3332, 3443, 1, 0, 0, 0, 3333, 3334, 5, 40, 0, 0, 3334, 3336, 3, 144, 72, 0, 3335, 3337, 3, 228, 114, 0, 3336, 3335, 1, 0, 0, 0, 3337, 3338, 1, 0, 0, 0, 3338, 3336, 1, 0, 0, 0, 3338, 3339, 1, 0, 0, 0, 3339, 3341, 1, 0, 0, 0, 3340, 3342, 3, 230, 115, 0, 3341, 3340, 1, 0, 0, 0, 3341, 3342, 1, 0, 0, 0, 3342, 3343, 1, 0, 0, 0, 3343, 3344, 5, 89, 0, 0, 3344, 3345, 5, 40, 0, 0, 3345, 3443, 1, 0, 0, 0, 3346, 3348, 5, 40, 0, 0, 3347, 3349, 3, 228, 114, 0, 3348, 3347, 1, 0, 0, 0, 3349, 3350, 1, 0, 0, 0, 3350, 3348, 1, 0, 0, 0, 3350, 3351, 1, 0, 0, 0, 3351, 3353, 1, 0, 0, 0, 3352, 3354, 3, 230, 115, 0, 3353, 3352, 1, 0, 0, 0, 3353, 3354, 1, 0, 0, 0, 3354, 3355, 1, 0, 0, 0, 3355, 3356, 5, 89, 0, 0, 3356, 3357, 5, 40, 0, 0, 3357, 3443, 1, 0, 0, 0, 3358, 3359, 5, 120, 0, 0, 3359, 3360, 3, 144, 72, 0, 3360, 3361, 5, 266, 0, 0, 3361, 3369, 3, 232, 116, 0, 3362, 3363, 5, 87, 0, 0, 3363, 3364, 3, 144, 72, 0, 3364, 3365, 5, 266, 0, 0, 3365, 3366, 3, 232, 116, 0, 3366, 3368, 1, 0, 0, 0, 3367, 3362, 1, 0, 0, 0, 3368, 3371, 1, 0, 0, 0, 3369, 3367, 1, 0, 0, 0, 3369, 3370, 1, 0, 0, 0, 3370, 3373, 1, 0, 0, 0, 3371, 3369, 1, 0, 0, 0, 3372, 3374, 3, 230, 115, 0, 3373, 3372, 1, 0, 0, 0, 3373, 3374, 1, 0, 0, 0, 3374, 3375, 1, 0, 0, 0, 3375, 3376, 5, 89, 0, 0, 3376, 3377, 5, 120, 0, 0, 3377, 3443, 1, 0, 0, 0, 3378, 3379, 5, 136, 0, 0, 3379, 3443, 3, 278, 139, 0, 3380, 3381, 5, 152, 0, 0, 3381, 3443, 3, 278, 139, 0, 3382, 3401, 5, 32, 0, 0, 3383, 3384, 5, 70, 0, 0, 3384, 3389, 3, 278, 139, 0, 3385, 3386, 5, 3, 0, 0, 3386, 3388, 3, 278, 139, 0, 3387, 3385, 1, 0, 0, 0, 3388, 3391, 1, 0, 0, 0, 3389, 3387, 1, 0, 0, 0, 3389, 3390, 1, 0, 0, 0, 3390, 3392, 1, 0, 0, 0, 3391, 3389, 1, 0, 0, 0, 3392, 3395, 3, 182, 91, 0, 3393, 3394, 5, 71, 0, 0, 3394, 3396, 3, 150, 75, 0, 3395, 3393, 1, 0, 0, 0, 3395, 3396, 1, 0, 0, 0, 3396, 3397, 1, 0, 0, 0, 3397, 3398, 5, 326, 0, 0, 3398, 3400, 1, 0, 0, 0, 3399, 3383, 1, 0, 0, 0, 3400, 3403, 1, 0, 0, 0, 3401, 3399, 1, 0, 0, 0, 3401, 3402, 1, 0, 0, 0, 3402, 3405, 1, 0, 0, 0, 3403, 3401, 1, 0, 0, 0, 3404, 3406, 3, 232, 116, 0, 3405, 3404, 1, 0, 0, 0, 3405, 3406, 1, 0, 0, 0, 3406, 3407, 1, 0, 0, 0, 3407, 3443, 5, 89, 0, 0, 3408, 3409, 3, 278, 139, 0, 3409, 3410, 5, 10, 0, 0, 3410, 3412, 1, 0, 0, 0, 3411, 3408, 1, 0, 0, 0, 3411, 3412, 1, 0, 0, 0, 3412, 3413, 1, 0, 0, 0, 3413, 3414, 5, 162, 0, 0, 3414, 3415, 3, 232, 116, 0, 3415, 3416, 5, 89, 0, 0, 3416, 3417, 5, 162, 0, 0, 3417, 3443, 1, 0, 0, 0, 3418, 3419, 3, 278, 139, 0, 3419, 3420, 5, 10, 0, 0, 3420, 3422, 1, 0, 0, 0, 3421, 3418, 1, 0, 0, 0, 3421, 3422, 1, 0, 0, 0, 3422, 3423, 1, 0, 0, 0, 3423, 3424, 5, 303, 0, 0, 3424, 3425, 3, 144, 72, 0, 3425, 3426, 5, 82, 0, 0, 3426, 3427, 3, 232, 116, 0, 3427, 3428, 5, 89, 0, 0, 3428, 3429, 5, 303, 0, 0, 3429, 3443, 1, 0, 0, 0, 3430, 3431, 3, 278, 139, 0, 3431, 3432, 5, 10, 0, 0, 3432, 3434, 1, 0, 0, 0, 3433, 3430, 1, 0, 0, 0, 3433, 3434, 1, 0, 0, 0, 3434, 3435, 1, 0, 0, 0, 3435, 3436, 5, 225, 0, 0, 3436, 3437, 3, 232, 116, 0, 3437, 3438, 5, 287, 0, 0, 3438, 3439, 3, 144, 72, 0, 3439, 3440, 5, 89, 0, 0, 3440, 3441, 5, 225, 0, 0, 3441, 3443, 1, 0, 0, 0, 3442, 3326, 1, 0, 0, 0, 3442, 3328, 1, 0, 0, 0, 3442, 3333, 1, 0, 0, 0, 3442, 3346, 1, 0, 0, 0, 3442, 3358, 1, 0, 0, 0, 3442, 3378, 1, 0, 0, 0, 3442, 3380, 1, 0, 0, 0, 3442, 3382, 1, 0, 0, 0, 3442, 3411, 1, 0, 0, 0, 3442, 3421, 1, 0, 0, 0, 3442, 3433, 1, 0, 0, 0, 3443, 227, 1, 0, 0, 0, 3444, 3445, 5, 301, 0, 0, 3445, 3446, 3, 144, 72, 0, 3446, 3447, 5, 266, 0, 0, 3447, 3448, 3, 232, 116, 0, 3448, 229, 1, 0, 0, 0, 3449, 3450, 5, 85, 0, 0, 3450, 3451, 3, 232, 116, 0, 3451, 231, 1, 0, 0, 0, 3452, 3453, 3, 226, 113, 0, 3453, 3454, 5, 326, 0, 0, 3454, 3456, 1, 0, 0, 0, 3455, 3452, 1, 0, 0, 0, 3456, 3457, 1, 0, 0, 0, 3457, 3455, 1, 0, 0, 0, 3457, 3458, 1, 0, 0, 0, 3458, 233, 1, 0, 0, 0, 3459, 3466, 5, 54, 0, 0, 3460, 3466, 5, 249, 0, 0, 3461, 3466, 5, 74, 0, 0, 3462, 3466, 5, 128, 0, 0, 3463, 3466, 5, 288, 0, 0, 3464, 3466, 3, 278, 139, 0, 3465, 3459, 1, 0, 0, 0, 3465, 3460, 1, 0, 0, 0, 3465, 3461, 1, 0, 0, 0, 3465, 3462, 1, 0, 0, 0, 3465, 3463, 1, 0, 0, 0, 3465, 3464, 1, 0, 0, 0, 3466, 235, 1, 0, 0, 0, 3467, 3471, 5, 261, 0, 0, 3468, 3471, 5, 244, 0, 0, 3469, 3471, 3, 278, 139, 0, 3470, 3467, 1, 0, 0, 0, 3470, 3468, 1, 0, 0, 0, 3470, 3469, 1, 0, 0, 0, 3470, 3471, 1, 0, 0, 0, 3471, 3472, 1, 0, 0, 0, 3472, 3473, 3, 268, 134, 0, 3473, 237, 1, 0, 0, 0, 3474, 3477, 3, 240, 120, 0, 3475, 3477, 3, 244, 122, 0, 3476, 3474, 1, 0, 0, 0, 3476, 3475, 1, 0, 0, 0, 3477, 239, 1, 0, 0, 0, 3478, 3490, 3, 278, 139, 0, 3479, 3480, 3, 278, 139, 0, 3480, 3481, 5, 4, 0, 0, 3481, 3482, 3, 278, 139, 0, 3482, 3490, 1, 0, 0, 0, 3483, 3484, 3, 278, 139, 0, 3484, 3485, 5, 4, 0, 0, 3485, 3486, 3, 278, 139, 0, 3486, 3487, 5, 4, 0, 0, 3487, 3488, 3, 278, 139, 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, 241, 1, 0, 0, 0, 3491, 3503, 3, 278, 139, 0, 3492, 3493, 3, 278, 139, 0, 3493, 3494, 5, 4, 0, 0, 3494, 3495, 3, 278, 139, 0, 3495, 3503, 1, 0, 0, 0, 3496, 3497, 3, 278, 139, 0, 3497, 3498, 5, 4, 0, 0, 3498, 3499, 3, 278, 139, 0, 3499, 3500, 5, 4, 0, 0, 3500, 3501, 3, 278, 139, 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, 243, 1, 0, 0, 0, 3504, 3516, 3, 278, 139, 0, 3505, 3506, 3, 278, 139, 0, 3506, 3507, 5, 4, 0, 0, 3507, 3508, 3, 278, 139, 0, 3508, 3516, 1, 0, 0, 0, 3509, 3510, 3, 278, 139, 0, 3510, 3511, 5, 4, 0, 0, 3511, 3512, 3, 278, 139, 0, 3512, 3513, 5, 4, 0, 0, 3513, 3514, 3, 278, 139, 0, 3514, 3516, 1, 0, 0, 0, 3515, 3504, 1, 0, 0, 0, 3515, 3505, 1, 0, 0, 0, 3515, 3509, 1, 0, 0, 0, 3516, 245, 1, 0, 0, 0, 3517, 3529, 3, 278, 139, 0, 3518, 3519, 3, 278, 139, 0, 3519, 3520, 5, 4, 0, 0, 3520, 3521, 3, 278, 139, 0, 3521, 3529, 1, 0, 0, 0, 3522, 3523, 3, 278, 139, 0, 3523, 3524, 5, 4, 0, 0, 3524, 3525, 3, 278, 139, 0, 3525, 3526, 5, 4, 0, 0, 3526, 3527, 3, 278, 139, 0, 3527, 3529, 1, 0, 0, 0, 3528, 3517, 1, 0, 0, 0, 3528, 3518, 1, 0, 0, 0, 3528, 3522, 1, 0, 0, 0, 3529, 247, 1, 0, 0, 0, 3530, 3536, 3, 278, 139, 0, 3531, 3532, 3, 278, 139, 0, 3532, 3533, 5, 4, 0, 0, 3533, 3534, 3, 278, 139, 0, 3534, 3536, 1, 0, 0, 0, 3535, 3530, 1, 0, 0, 0, 3535, 3531, 1, 0, 0, 0, 3536, 249, 1, 0, 0, 0, 3537, 3543, 3, 278, 139, 0, 3538, 3539, 3, 278, 139, 0, 3539, 3540, 5, 4, 0, 0, 3540, 3541, 3, 278, 139, 0, 3541, 3543, 1, 0, 0, 0, 3542, 3537, 1, 0, 0, 0, 3542, 3538, 1, 0, 0, 0, 3543, 251, 1, 0, 0, 0, 3544, 3545, 3, 278, 139, 0, 3545, 253, 1, 0, 0, 0, 3546, 3547, 3, 278, 139, 0, 3547, 255, 1, 0, 0, 0, 3548, 3549, 3, 268, 134, 0, 3549, 257, 1, 0, 0, 0, 3550, 3551, 3, 268, 134, 0, 3551, 259, 1, 0, 0, 0, 3552, 3555, 3, 268, 134, 0, 3553, 3555, 4, 130, 16, 0, 3554, 3552, 1, 0, 0, 0, 3554, 3553, 1, 0, 0, 0, 3555, 261, 1, 0, 0, 0, 3556, 3557, 1, 0, 0, 0, 3557, 263, 1, 0, 0, 0, 3558, 3559, 3, 268, 134, 0, 3559, 265, 1, 0, 0, 0, 3560, 3561, 3, 278, 139, 0, 3561, 267, 1, 0, 0, 0, 3562, 3567, 3, 278, 139, 0, 3563, 3564, 5, 4, 0, 0, 3564, 3566, 3, 278, 139, 0, 3565, 3563, 1, 0, 0, 0, 3566, 3569, 1, 0, 0, 0, 3567, 3565, 1, 0, 0, 0, 3567, 3568, 1, 0, 0, 0, 3568, 269, 1, 0, 0, 0, 3569, 3567, 1, 0, 0, 0, 3570, 3574, 3, 272, 136, 0, 3571, 3574, 5, 65, 0, 0, 3572, 3574, 5, 61, 0, 0, 3573, 3570, 1, 0, 0, 0, 3573, 3571, 1, 0, 0, 0, 3573, 3572, 1, 0, 0, 0, 3574, 271, 1, 0, 0, 0, 3575, 3581, 3, 278, 139, 0, 3576, 3577, 5, 290, 0, 0, 3577, 3581, 3, 278, 139, 0, 3578, 3579, 5, 236, 0, 0, 3579, 3581, 3, 278, 139, 0, 3580, 3575, 1, 0, 0, 0, 3580, 3576, 1, 0, 0, 0, 3580, 3578, 1, 0, 0, 0, 3581, 273, 1, 0, 0, 0, 3582, 3587, 3, 278, 139, 0, 3583, 3584, 5, 3, 0, 0, 3584, 3586, 3, 278, 139, 0, 3585, 3583, 1, 0, 0, 0, 3586, 3589, 1, 0, 0, 0, 3587, 3585, 1, 0, 0, 0, 3587, 3588, 1, 0, 0, 0, 3588, 275, 1, 0, 0, 0, 3589, 3587, 1, 0, 0, 0, 3590, 3598, 5, 54, 0, 0, 3591, 3598, 5, 249, 0, 0, 3592, 3598, 5, 74, 0, 0, 3593, 3598, 5, 128, 0, 0, 3594, 3598, 5, 288, 0, 0, 3595, 3598, 5, 94, 0, 0, 3596, 3598, 3, 278, 139, 0, 3597, 3590, 1, 0, 0, 0, 3597, 3591, 1, 0, 0, 0, 3597, 3592, 1, 0, 0, 0, 3597, 3593, 1, 0, 0, 0, 3597, 3594, 1, 0, 0, 0, 3597, 3595, 1, 0, 0, 0, 3597, 3596, 1, 0, 0, 0, 3598, 277, 1, 0, 0, 0, 3599, 3605, 5, 333, 0, 0, 3600, 3605, 5, 335, 0, 0, 3601, 3605, 3, 282, 141, 0, 3602, 3605, 5, 336, 0, 0, 3603, 3605, 5, 334, 0, 0, 3604, 3599, 1, 0, 0, 0, 3604, 3600, 1, 0, 0, 0, 3604, 3601, 1, 0, 0, 0, 3604, 3602, 1, 0, 0, 0, 3604, 3603, 1, 0, 0, 0, 3605, 279, 1, 0, 0, 0, 3606, 3608, 5, 320, 0, 0, 3607, 3606, 1, 0, 0, 0, 3607, 3608, 1, 0, 0, 0, 3608, 3609, 1, 0, 0, 0, 3609, 3619, 5, 331, 0, 0, 3610, 3612, 5, 320, 0, 0, 3611, 3610, 1, 0, 0, 0, 3611, 3612, 1, 0, 0, 0, 3612, 3613, 1, 0, 0, 0, 3613, 3619, 5, 332, 0, 0, 3614, 3616, 5, 320, 0, 0, 3615, 3614, 1, 0, 0, 0, 3615, 3616, 1, 0, 0, 0, 3616, 3617, 1, 0, 0, 0, 3617, 3619, 5, 330, 0, 0, 3618, 3607, 1, 0, 0, 0, 3618, 3611, 1, 0, 0, 0, 3618, 3615, 1, 0, 0, 0, 3619, 281, 1, 0, 0, 0, 3620, 3621, 7, 37, 0, 0, 3621, 283, 1, 0, 0, 0, 476, 287, 296, 300, 304, 308, 312, 325, 332, 336, 340, 346, 350, 357, 362, 366, 372, 376, 395, 401, 405, 409, 413, 421, 425, 428, 433, 439, 448, 454, 458, 464, 471, 479, 491, 500, 509, 515, 526, 534, 542, 549, 559, 566, 574, 589, 624, 627, 630, 633, 639, 644, 651, 657, 661, 665, 673, 679, 683, 687, 701, 709, 728, 753, 756, 763, 770, 779, 782, 792, 796, 803, 811, 820, 826, 831, 835, 843, 848, 857, 863, 870, 879, 885, 889, 895, 902, 907, 920, 925, 937, 941, 947, 956, 961, 967, 995, 1001, 1003, 1009, 1015, 1017, 1025, 1027, 1037, 1039, 1054, 1059, 1066, 1076, 1082, 1084, 1092, 1094, 1101, 1122, 1125, 1129, 1133, 1151, 1154, 1165, 1168, 1184, 1194, 1198, 1204, 1207, 1216, 1228, 1231, 1241, 1245, 1251, 1258, 1263, 1269, 1273, 1277, 1283, 1294, 1301, 1311, 1314, 1319, 1321, 1328, 1334, 1336, 1344, 1350, 1353, 1355, 1367, 1374, 1378, 1381, 1385, 1389, 1398, 1401, 1404, 1409, 1412, 1420, 1423, 1436, 1440, 1447, 1455, 1466, 1469, 1479, 1482, 1493, 1498, 1506, 1509, 1513, 1517, 1526, 1531, 1540, 1543, 1546, 1550, 1561, 1564, 1567, 1572, 1575, 1604, 1608, 1612, 1616, 1620, 1624, 1626, 1632, 1641, 1646, 1658, 1667, 1672, 1678, 1680, 1688, 1697, 1700, 1708, 1711, 1714, 1719, 1722, 1734, 1737, 1745, 1750, 1754, 1756, 1758, 1781, 1783, 1804, 1814, 1825, 1829, 1831, 1839, 1850, 1861, 1872, 1879, 1892, 1898, 1920, 1935, 1940, 1944, 1954, 1960, 1966, 1974, 1979, 1986, 1988, 1994, 2000, 2004, 2009, 2018, 2023, 2037, 2047, 2050, 2059, 2064, 2069, 2071, 2080, 2083, 2091, 2094, 2101, 2106, 2113, 2117, 2119, 2127, 2137, 2143, 2145, 2152, 2156, 2158, 2165, 2169, 2171, 2173, 2182, 2193, 2197, 2207, 2217, 2221, 2229, 2231, 2244, 2252, 2261, 2267, 2275, 2281, 2285, 2290, 2295, 2301, 2320, 2322, 2324, 2354, 2365, 2373, 2378, 2383, 2396, 2402, 2405, 2412, 2417, 2420, 2423, 2428, 2435, 2438, 2447, 2450, 2454, 2460, 2463, 2478, 2481, 2500, 2504, 2512, 2516, 2541, 2544, 2553, 2559, 2565, 2571, 2580, 2583, 2586, 2605, 2614, 2632, 2648, 2651, 2660, 2669, 2675, 2681, 2692, 2694, 2699, 2706, 2708, 2714, 2720, 2731, 2740, 2745, 2750, 2752, 2754, 2760, 2762, 2772, 2781, 2783, 2789, 2791, 2794, 2804, 2806, 2814, 2822, 2825, 2830, 2835, 2845, 2849, 2853, 2856, 2858, 2866, 2869, 2879, 2887, 2889, 2897, 2903, 2915, 2924, 2931, 2936, 2943, 2948, 2971, 2976, 2978, 2985, 2989, 2996, 3000, 3016, 3031, 3038, 3047, 3057, 3062, 3071, 3076, 3084, 3092, 3095, 3101, 3104, 3111, 3119, 3122, 3130, 3133, 3142, 3153, 3158, 3165, 3167, 3180, 3195, 3199, 3203, 3207, 3213, 3217, 3221, 3225, 3227, 3237, 3248, 3252, 3259, 3266, 3273, 3284, 3287, 3295, 3301, 3308, 3324, 3338, 3341, 3350, 3353, 3369, 3373, 3389, 3395, 3401, 3405, 3411, 3421, 3433, 3442, 3457, 3465, 3470, 3476, 3489, 3502, 3515, 3528, 3535, 3542, 3554, 3567, 3573, 3580, 3587, 3597, 3604, 3607, 3611, 3615, 3618] \ No newline at end of file diff --git a/src/lib/trino/TrinoSqlListener.ts b/src/lib/trino/TrinoSqlListener.ts index 771a8771..e8449bde 100644 --- a/src/lib/trino/TrinoSqlListener.ts +++ b/src/lib/trino/TrinoSqlListener.ts @@ -110,11 +110,7 @@ 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"; @@ -150,14 +146,10 @@ import { JoinCriteriaContext } from "./TrinoSqlParser.js"; import { JoinColumnEqualityContext } from "./TrinoSqlParser.js"; import { JoinColumnReferenceContext } 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"; @@ -258,23 +250,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"; @@ -316,20 +302,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"; @@ -348,12 +327,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"; @@ -371,8 +347,6 @@ import { EmptyColumnContext } 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"; @@ -388,8 +362,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"; @@ -1588,30 +1560,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 @@ -1622,26 +1570,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`. @@ -2016,26 +1944,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 @@ -2046,16 +1954,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 @@ -2086,16 +1984,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 @@ -3254,16 +3142,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 @@ -3314,16 +3192,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`. @@ -3348,30 +3216,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 @@ -3392,16 +3236,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 @@ -3422,16 +3256,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`. @@ -3908,54 +3732,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`. @@ -4024,26 +3800,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 @@ -4054,16 +3810,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`. @@ -4278,16 +4024,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 @@ -4298,16 +4034,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 @@ -4328,16 +4054,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 @@ -4508,26 +4224,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`. @@ -4704,30 +4400,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 0ff8746f..6a72599f 100644 --- a/src/lib/trino/TrinoSqlParser.ts +++ b/src/lib/trino/TrinoSqlParser.ts @@ -378,151 +378,129 @@ export class TrinoSqlParser extends SQLParserBase { 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_joinColumnEquality = 47; - public static readonly RULE_joinColumnReference = 48; - public static readonly RULE_sampledRelation = 49; - public static readonly RULE_sampleType = 50; - public static readonly RULE_trimsSpecification = 51; - public static readonly RULE_listAggOverflowBehavior = 52; - public static readonly RULE_listAggCountIndication = 53; - public static readonly RULE_patternRecognition = 54; - public static readonly RULE_measureDefinition = 55; - public static readonly RULE_rowsPerMatch = 56; - public static readonly RULE_emptyMatchHandling = 57; - public static readonly RULE_skipTo = 58; - public static readonly RULE_subsetDefinition = 59; - public static readonly RULE_variableDefinition = 60; - public static readonly RULE_aliasedRelation = 61; - public static readonly RULE_columnListCreate = 62; - public static readonly RULE_columnList = 63; - public static readonly RULE_columnAliases = 64; - public static readonly RULE_relationPrimary = 65; - public static readonly RULE_relationSourceTable = 66; - public static readonly RULE_jsonTableColumn = 67; - public static readonly RULE_jsonTableSpecificPlan = 68; - public static readonly RULE_jsonTablePathName = 69; - public static readonly RULE_planPrimary = 70; - public static readonly RULE_jsonTableDefaultPlan = 71; - public static readonly RULE_tableFunctionCall = 72; - public static readonly RULE_tableFunctionArgument = 73; - public static readonly RULE_tableArgument = 74; - public static readonly RULE_tableArgumentRelation = 75; - public static readonly RULE_descriptorArgument = 76; - public static readonly RULE_descriptorField = 77; - public static readonly RULE_coPartitionTables = 78; - public static readonly RULE_expression = 79; - public static readonly RULE_booleanExpression = 80; - public static readonly RULE_predicate = 81; - public static readonly RULE_valueExpression = 82; - public static readonly RULE_primaryExpression = 83; - public static readonly RULE_jsonPathInvocation = 84; - public static readonly RULE_jsonValueExpression = 85; - public static readonly RULE_jsonRepresentation = 86; - public static readonly RULE_jsonArgument = 87; - public static readonly RULE_jsonExistsErrorBehavior = 88; - public static readonly RULE_jsonValueBehavior = 89; - public static readonly RULE_jsonQueryWrapperBehavior = 90; - public static readonly RULE_jsonQueryBehavior = 91; - public static readonly RULE_jsonObjectMember = 92; - public static readonly RULE_processingMode = 93; - public static readonly RULE_nullTreatment = 94; - public static readonly RULE_string = 95; - public static readonly RULE_timeZoneSpecifier = 96; - public static readonly RULE_comparisonOperator = 97; - public static readonly RULE_comparisonQuantifier = 98; - public static readonly RULE_booleanValue = 99; - public static readonly RULE_interval = 100; - public static readonly RULE_intervalField = 101; - public static readonly RULE_normalForm = 102; - public static readonly RULE_type = 103; - public static readonly RULE_rowField = 104; - public static readonly RULE_typeParameter = 105; - public static readonly RULE_whenClause = 106; - public static readonly RULE_filter = 107; - public static readonly RULE_mergeCase = 108; - public static readonly RULE_over = 109; - public static readonly RULE_windowFrame = 110; - public static readonly RULE_frameExtent = 111; - public static readonly RULE_frameBound = 112; - public static readonly RULE_rowPattern = 113; - public static readonly RULE_patternPrimary = 114; - public static readonly RULE_patternQuantifier = 115; - public static readonly RULE_updateAssignment = 116; - public static readonly RULE_explainOption = 117; - public static readonly RULE_transactionMode = 118; - public static readonly RULE_levelOfIsolation = 119; - public static readonly RULE_callArgument = 120; - public static readonly RULE_pathElement = 121; - public static readonly RULE_pathSpecification = 122; - public static readonly RULE_functionSpecification = 123; - public static readonly RULE_functionDeclaration = 124; - public static readonly RULE_functionSignature = 125; - public static readonly RULE_parameterDeclaration = 126; - public static readonly RULE_returnsClause = 127; - public static readonly RULE_routineCharacteristic = 128; - public static readonly RULE_controlStatement = 129; - public static readonly RULE_caseStatementWhenClause = 130; - public static readonly RULE_elseIfClause = 131; - public static readonly RULE_elseClause = 132; - public static readonly RULE_variableDeclaration = 133; - public static readonly RULE_sqlStatementList = 134; - public static readonly RULE_privilege = 135; - public static readonly RULE_entityKind = 136; - public static readonly RULE_grantObject = 137; - public static readonly RULE_tableOrViewName = 138; - public static readonly RULE_tableRef = 139; - public static readonly RULE_tableNameCreate = 140; - public static readonly RULE_viewRef = 141; - public static readonly RULE_viewNameCreate = 142; - public static readonly RULE_schemaRef = 143; - public static readonly RULE_schemaNameCreate = 144; - public static readonly RULE_catalogRef = 145; - public static readonly RULE_catalogNameCreate = 146; - public static readonly RULE_functionName = 147; - public static readonly RULE_functionNameCreate = 148; - public static readonly RULE_columnRef = 149; - public static readonly RULE_emptyColumn = 150; - public static readonly RULE_columnName = 151; - public static readonly RULE_columnNameCreate = 152; - public static readonly RULE_qualifiedName = 153; - public static readonly RULE_queryPeriod = 154; - public static readonly RULE_rangeType = 155; - public static readonly RULE_grantor = 156; - public static readonly RULE_principal = 157; - public static readonly RULE_roles = 158; - public static readonly RULE_privilegeOrRole = 159; - public static readonly RULE_identifier = 160; - public static readonly RULE_number = 161; - public static readonly RULE_authorizationUser = 162; - public static readonly RULE_nonReserved = 163; + public static readonly RULE_queryNoWith = 19; + public static readonly RULE_queryTerm = 20; + public static readonly RULE_queryPrimary = 21; + public static readonly RULE_sortItem = 22; + public static readonly RULE_querySpecification = 23; + public static readonly RULE_whereClause = 24; + public static readonly RULE_havingClause = 25; + public static readonly RULE_selectList = 26; + public static readonly RULE_groupBy = 27; + public static readonly RULE_partitionBy = 28; + public static readonly RULE_groupingElement = 29; + public static readonly RULE_groupingSet = 30; + public static readonly RULE_groupingTerm = 31; + public static readonly RULE_windowDefinition = 32; + public static readonly RULE_windowSpecification = 33; + public static readonly RULE_namedQuery = 34; + public static readonly RULE_setQuantifier = 35; + public static readonly RULE_selectItem = 36; + public static readonly RULE_selectAllWithoutTable = 37; + public static readonly RULE_tableAllColumns = 38; + public static readonly RULE_selectLiteralColumnName = 39; + public static readonly RULE_selectExpressionColumnName = 40; + public static readonly RULE_relation = 41; + public static readonly RULE_joinType = 42; + public static readonly RULE_joinCriteria = 43; + public static readonly RULE_joinColumnEquality = 44; + public static readonly RULE_joinColumnReference = 45; + public static readonly RULE_sampledRelation = 46; + public static readonly RULE_listAggOverflowBehavior = 47; + public static readonly RULE_patternRecognition = 48; + public static readonly RULE_measureDefinition = 49; + public static readonly RULE_rowsPerMatch = 50; + public static readonly RULE_skipTo = 51; + public static readonly RULE_subsetDefinition = 52; + public static readonly RULE_variableDefinition = 53; + public static readonly RULE_aliasedRelation = 54; + public static readonly RULE_columnListCreate = 55; + public static readonly RULE_columnList = 56; + public static readonly RULE_columnAliases = 57; + public static readonly RULE_relationPrimary = 58; + public static readonly RULE_relationSourceTable = 59; + public static readonly RULE_jsonTableColumn = 60; + public static readonly RULE_jsonTableSpecificPlan = 61; + public static readonly RULE_jsonTablePathName = 62; + public static readonly RULE_planPrimary = 63; + public static readonly RULE_jsonTableDefaultPlan = 64; + public static readonly RULE_tableFunctionCall = 65; + public static readonly RULE_tableFunctionArgument = 66; + public static readonly RULE_tableArgument = 67; + public static readonly RULE_tableArgumentRelation = 68; + public static readonly RULE_descriptorArgument = 69; + public static readonly RULE_descriptorField = 70; + public static readonly RULE_coPartitionTables = 71; + public static readonly RULE_expression = 72; + public static readonly RULE_booleanExpression = 73; + public static readonly RULE_predicate = 74; + public static readonly RULE_valueExpression = 75; + public static readonly RULE_primaryExpression = 76; + public static readonly RULE_jsonPathInvocation = 77; + public static readonly RULE_jsonValueExpression = 78; + public static readonly RULE_jsonRepresentation = 79; + public static readonly RULE_jsonArgument = 80; + public static readonly RULE_jsonValueBehavior = 81; + public static readonly RULE_jsonQueryWrapperBehavior = 82; + public static readonly RULE_jsonQueryBehavior = 83; + public static readonly RULE_jsonObjectMember = 84; + public static readonly RULE_processingMode = 85; + public static readonly RULE_string = 86; + public static readonly RULE_comparisonOperator = 87; + public static readonly RULE_comparisonQuantifier = 88; + public static readonly RULE_interval = 89; + public static readonly RULE_intervalField = 90; + public static readonly RULE_type = 91; + public static readonly RULE_rowField = 92; + public static readonly RULE_typeParameter = 93; + public static readonly RULE_whenClause = 94; + public static readonly RULE_filter = 95; + public static readonly RULE_mergeCase = 96; + public static readonly RULE_over = 97; + public static readonly RULE_windowFrame = 98; + public static readonly RULE_frameExtent = 99; + public static readonly RULE_frameBound = 100; + public static readonly RULE_rowPattern = 101; + public static readonly RULE_patternPrimary = 102; + public static readonly RULE_patternQuantifier = 103; + public static readonly RULE_updateAssignment = 104; + public static readonly RULE_explainOption = 105; + public static readonly RULE_transactionMode = 106; + public static readonly RULE_callArgument = 107; + public static readonly RULE_pathElement = 108; + public static readonly RULE_pathSpecification = 109; + public static readonly RULE_functionSpecification = 110; + public static readonly RULE_parameterDeclaration = 111; + public static readonly RULE_routineCharacteristic = 112; + public static readonly RULE_controlStatement = 113; + public static readonly RULE_caseStatementWhenClause = 114; + public static readonly RULE_elseClause = 115; + public static readonly RULE_sqlStatementList = 116; + public static readonly RULE_privilege = 117; + public static readonly RULE_grantObject = 118; + public static readonly RULE_tableOrViewName = 119; + public static readonly RULE_tableRef = 120; + public static readonly RULE_tableNameCreate = 121; + public static readonly RULE_viewRef = 122; + public static readonly RULE_viewNameCreate = 123; + public static readonly RULE_schemaRef = 124; + public static readonly RULE_schemaNameCreate = 125; + public static readonly RULE_catalogRef = 126; + public static readonly RULE_catalogNameCreate = 127; + public static readonly RULE_functionName = 128; + public static readonly RULE_functionNameCreate = 129; + public static readonly RULE_columnRef = 130; + public static readonly RULE_emptyColumn = 131; + public static readonly RULE_columnName = 132; + public static readonly RULE_columnNameCreate = 133; + public static readonly RULE_qualifiedName = 134; + public static readonly RULE_grantor = 135; + public static readonly RULE_principal = 136; + public static readonly RULE_roles = 137; + public static readonly RULE_privilegeOrRole = 138; + public static readonly RULE_identifier = 139; + public static readonly RULE_number = 140; + public static readonly RULE_nonReserved = 141; public static readonly literalNames = [ null, "'('", "')'", "','", "'.'", "'SKIP'", "'=>'", "'->'", "'['", @@ -652,17 +630,15 @@ export class TrinoSqlParser extends SQLParserBase { "standalonePathSpecification", "standaloneType", "standaloneRowPattern", "standaloneFunctionSpecification", "statement", "rootQuery", "withFunction", "query", "with", "tableElement", "columnDefinition", "likeClause", - "properties", "propertyAssignments", "property", "propertyValue", - "queryNoWith", "limitRowCount", "rowCount", "queryTerm", "queryPrimary", - "sortItem", "querySpecification", "whereClause", "havingClause", - "selectList", "groupBy", "partitionBy", "groupingElement", "groupingSet", - "groupingTerm", "windowDefinition", "windowSpecification", "namedQuery", - "setQuantifier", "selectItem", "selectAllWithoutTable", "tableAllColumns", - "selectLiteralColumnName", "selectExpressionColumnName", "relation", - "joinType", "joinCriteria", "joinColumnEquality", "joinColumnReference", - "sampledRelation", "sampleType", "trimsSpecification", "listAggOverflowBehavior", - "listAggCountIndication", "patternRecognition", "measureDefinition", - "rowsPerMatch", "emptyMatchHandling", "skipTo", "subsetDefinition", + "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", "joinColumnEquality", "joinColumnReference", + "sampledRelation", "listAggOverflowBehavior", "patternRecognition", + "measureDefinition", "rowsPerMatch", "skipTo", "subsetDefinition", "variableDefinition", "aliasedRelation", "columnListCreate", "columnList", "columnAliases", "relationPrimary", "relationSourceTable", "jsonTableColumn", "jsonTableSpecificPlan", "jsonTablePathName", "planPrimary", "jsonTableDefaultPlan", @@ -670,24 +646,21 @@ export class TrinoSqlParser extends SQLParserBase { "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", "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", "viewRef", "viewNameCreate", "schemaRef", "schemaNameCreate", - "catalogRef", "catalogNameCreate", "functionName", "functionNameCreate", - "columnRef", "emptyColumn", "columnName", "columnNameCreate", "qualifiedName", - "queryPeriod", "rangeType", "grantor", "principal", "roles", "privilegeOrRole", - "identifier", "number", "authorizationUser", "nonReserved", + "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", "callArgument", "pathElement", "pathSpecification", + "functionSpecification", "parameterDeclaration", "routineCharacteristic", + "controlStatement", "caseStatementWhenClause", "elseClause", "sqlStatementList", + "privilege", "grantObject", "tableOrViewName", "tableRef", "tableNameCreate", + "viewRef", "viewNameCreate", "schemaRef", "schemaNameCreate", "catalogRef", + "catalogNameCreate", "functionName", "functionNameCreate", "columnRef", + "emptyColumn", "columnName", "columnNameCreate", "qualifiedName", + "grantor", "principal", "roles", "privilegeOrRole", "identifier", + "number", "nonReserved", ]; public get grammarFileName(): string { return "TrinoSql.g4"; } @@ -716,21 +689,21 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 331; + this.state = 287; 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 = 328; + this.state = 284; this.statements(); } } - this.state = 333; + this.state = 289; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 334; + this.state = 290; this.match(TrinoSqlParser.EOF); } } @@ -754,7 +727,7 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 336; + this.state = 292; this.singleStatement(); } } @@ -779,14 +752,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 338; + this.state = 294; this.statement(); - this.state = 340; + this.state = 296; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 326) { { - this.state = 339; + this.state = 295; this.match(TrinoSqlParser.SEMICOLON); } } @@ -814,14 +787,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 342; + this.state = 298; this.expression(); - this.state = 344; + this.state = 300; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 326) { { - this.state = 343; + this.state = 299; this.match(TrinoSqlParser.SEMICOLON); } } @@ -849,14 +822,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 346; + this.state = 302; this.pathSpecification(); - this.state = 348; + this.state = 304; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 326) { { - this.state = 347; + this.state = 303; this.match(TrinoSqlParser.SEMICOLON); } } @@ -884,14 +857,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 350; + this.state = 306; this.type_(0); - this.state = 352; + this.state = 308; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 326) { { - this.state = 351; + this.state = 307; this.match(TrinoSqlParser.SEMICOLON); } } @@ -919,14 +892,14 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 354; + this.state = 310; this.rowPattern(0); - this.state = 356; + this.state = 312; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 326) { { - this.state = 355; + this.state = 311; this.match(TrinoSqlParser.SEMICOLON); } } @@ -953,9 +926,9 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 358; + this.state = 314; this.functionSpecification(); - this.state = 359; + this.state = 315; this.match(TrinoSqlParser.EOF); } } @@ -978,14 +951,14 @@ export class TrinoSqlParser extends SQLParserBase { this.enterRule(localContext, 16, TrinoSqlParser.RULE_statement); let _la: number; try { - this.state = 1256; + this.state = 1228; 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 = 361; + this.state = 317; this.rootQuery(); } break; @@ -993,9 +966,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UseContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 362; + this.state = 318; this.match(TrinoSqlParser.KW_USE); - this.state = 363; + this.state = 319; this.schemaRef(); } break; @@ -1003,62 +976,62 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateCatalogContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 364; + this.state = 320; this.match(TrinoSqlParser.KW_CREATE); - this.state = 365; + this.state = 321; this.match(TrinoSqlParser.KW_CATALOG); - this.state = 369; + this.state = 325; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 6, this.context) ) { case 1: { - this.state = 366; + this.state = 322; this.match(TrinoSqlParser.KW_IF); - this.state = 367; + this.state = 323; this.match(TrinoSqlParser.KW_NOT); - this.state = 368; + this.state = 324; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 371; + this.state = 327; (localContext as CreateCatalogContext)._catalog = this.catalogNameCreate(); - this.state = 372; + this.state = 328; this.match(TrinoSqlParser.KW_USING); - this.state = 373; + this.state = 329; (localContext as CreateCatalogContext)._connectorName = this.identifier(); - this.state = 376; + this.state = 332; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 7, this.context) ) { case 1: { - this.state = 374; + this.state = 330; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 375; + this.state = 331; this.string_(); } break; } - this.state = 380; + this.state = 336; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 31) { { - this.state = 378; + this.state = 334; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 379; + this.state = 335; this.principal(); } } - this.state = 384; + this.state = 340; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 9, this.context) ) { case 1: { - this.state = 382; + this.state = 338; this.match(TrinoSqlParser.KW_WITH); - this.state = 383; + this.state = 339; this.properties(); } break; @@ -1069,30 +1042,30 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropCatalogContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 386; + this.state = 342; this.match(TrinoSqlParser.KW_DROP); - this.state = 387; + this.state = 343; this.match(TrinoSqlParser.KW_CATALOG); - this.state = 390; + this.state = 346; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 10, this.context) ) { case 1: { - this.state = 388; + this.state = 344; this.match(TrinoSqlParser.KW_IF); - this.state = 389; + this.state = 345; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 392; + this.state = 348; (localContext as DropCatalogContext)._catalog = this.catalogRef(); - this.state = 394; + this.state = 350; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 39 || _la === 230) { { - this.state = 393; + this.state = 349; _la = this.tokenStream.LA(1); if(!(_la === 39 || _la === 230)) { this.errorHandler.recoverInline(this); @@ -1110,46 +1083,46 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateSchemaContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 396; + this.state = 352; this.match(TrinoSqlParser.KW_CREATE); - this.state = 397; + this.state = 353; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 401; + this.state = 357; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 12, this.context) ) { case 1: { - this.state = 398; + this.state = 354; this.match(TrinoSqlParser.KW_IF); - this.state = 399; + this.state = 355; this.match(TrinoSqlParser.KW_NOT); - this.state = 400; + this.state = 356; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 403; + this.state = 359; this.schemaNameCreate(); - this.state = 406; + this.state = 362; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 31) { { - this.state = 404; + this.state = 360; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 405; + this.state = 361; this.principal(); } } - this.state = 410; + this.state = 366; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 14, this.context) ) { case 1: { - this.state = 408; + this.state = 364; this.match(TrinoSqlParser.KW_WITH); - this.state = 409; + this.state = 365; this.properties(); } break; @@ -1160,30 +1133,30 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropSchemaContext(localContext); this.enterOuterAlt(localContext, 6); { - this.state = 412; + this.state = 368; this.match(TrinoSqlParser.KW_DROP); - this.state = 413; + this.state = 369; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 416; + this.state = 372; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 15, this.context) ) { case 1: { - this.state = 414; + this.state = 370; this.match(TrinoSqlParser.KW_IF); - this.state = 415; + this.state = 371; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 418; + this.state = 374; this.schemaRef(); - this.state = 420; + this.state = 376; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 39 || _la === 230) { { - this.state = 419; + this.state = 375; _la = this.tokenStream.LA(1); if(!(_la === 39 || _la === 230)) { this.errorHandler.recoverInline(this); @@ -1201,17 +1174,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RenameSchemaContext(localContext); this.enterOuterAlt(localContext, 7); { - this.state = 422; + this.state = 378; this.match(TrinoSqlParser.KW_ALTER); - this.state = 423; + this.state = 379; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 424; + this.state = 380; this.schemaRef(); - this.state = 425; + this.state = 381; this.match(TrinoSqlParser.KW_RENAME); - this.state = 426; + this.state = 382; this.match(TrinoSqlParser.KW_TO); - this.state = 427; + this.state = 383; this.schemaNameCreate(); } break; @@ -1219,17 +1192,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetSchemaAuthorizationContext(localContext); this.enterOuterAlt(localContext, 8); { - this.state = 429; + this.state = 385; this.match(TrinoSqlParser.KW_ALTER); - this.state = 430; + this.state = 386; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 431; + this.state = 387; this.schemaRef(); - this.state = 432; + this.state = 388; this.match(TrinoSqlParser.KW_SET); - this.state = 433; + this.state = 389; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 434; + this.state = 390; this.principal(); } break; @@ -1237,112 +1210,112 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateTableAsSelectContext(localContext); this.enterOuterAlt(localContext, 9); { - this.state = 436; + this.state = 392; this.match(TrinoSqlParser.KW_CREATE); - this.state = 439; + this.state = 395; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 195) { { - this.state = 437; + this.state = 393; this.match(TrinoSqlParser.KW_OR); - this.state = 438; + this.state = 394; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 441; + this.state = 397; this.match(TrinoSqlParser.KW_TABLE); - this.state = 445; + this.state = 401; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 18, this.context) ) { case 1: { - this.state = 442; + this.state = 398; this.match(TrinoSqlParser.KW_IF); - this.state = 443; + this.state = 399; this.match(TrinoSqlParser.KW_NOT); - this.state = 444; + this.state = 400; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 447; + this.state = 403; this.tableNameCreate(); - this.state = 449; + this.state = 405; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 448; + this.state = 404; this.columnListCreate(); } } - this.state = 453; + this.state = 409; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 47) { { - this.state = 451; + this.state = 407; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 452; + this.state = 408; (localContext as CreateTableAsSelectContext)._comment = this.string_(); } } - this.state = 457; + this.state = 413; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 305) { { - this.state = 455; + this.state = 411; this.match(TrinoSqlParser.KW_WITH); - this.state = 456; + this.state = 412; this.properties(); } } - this.state = 459; + this.state = 415; this.match(TrinoSqlParser.KW_AS); - this.state = 465; + this.state = 421; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 22, this.context) ) { case 1: { - this.state = 460; + this.state = 416; this.rootQuery(); } break; case 2: { - this.state = 461; + this.state = 417; this.match(TrinoSqlParser.T__0); - this.state = 462; + this.state = 418; this.rootQuery(); - this.state = 463; + this.state = 419; this.match(TrinoSqlParser.T__1); } break; } - this.state = 472; + this.state = 428; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 24, this.context) ) { case 1: { - this.state = 467; + this.state = 423; this.match(TrinoSqlParser.KW_WITH); - this.state = 469; + this.state = 425; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 180) { { - this.state = 468; + this.state = 424; this.match(TrinoSqlParser.KW_NO); } } - this.state = 471; + this.state = 427; this.match(TrinoSqlParser.KW_DATA); } break; @@ -1353,80 +1326,80 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateTableContext(localContext); this.enterOuterAlt(localContext, 10); { - this.state = 474; + this.state = 430; this.match(TrinoSqlParser.KW_CREATE); - this.state = 477; + this.state = 433; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 195) { { - this.state = 475; + this.state = 431; this.match(TrinoSqlParser.KW_OR); - this.state = 476; + this.state = 432; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 479; + this.state = 435; this.match(TrinoSqlParser.KW_TABLE); - this.state = 483; + this.state = 439; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 26, this.context) ) { case 1: { - this.state = 480; + this.state = 436; this.match(TrinoSqlParser.KW_IF); - this.state = 481; + this.state = 437; this.match(TrinoSqlParser.KW_NOT); - this.state = 482; + this.state = 438; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 485; + this.state = 441; this.tableNameCreate(); - this.state = 486; + this.state = 442; this.match(TrinoSqlParser.T__0); - this.state = 487; + this.state = 443; this.tableElement(); - this.state = 492; + this.state = 448; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 488; + this.state = 444; this.match(TrinoSqlParser.T__2); - this.state = 489; + this.state = 445; this.tableElement(); } } - this.state = 494; + this.state = 450; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 495; + this.state = 451; this.match(TrinoSqlParser.T__1); - this.state = 498; + this.state = 454; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 28, this.context) ) { case 1: { - this.state = 496; + this.state = 452; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 497; + this.state = 453; (localContext as CreateTableContext)._comment = this.string_(); } break; } - this.state = 502; + this.state = 458; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 29, this.context) ) { case 1: { - this.state = 500; + this.state = 456; this.match(TrinoSqlParser.KW_WITH); - this.state = 501; + this.state = 457; this.properties(); } break; @@ -1437,23 +1410,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropTableContext(localContext); this.enterOuterAlt(localContext, 11); { - this.state = 504; + this.state = 460; this.match(TrinoSqlParser.KW_DROP); - this.state = 505; + this.state = 461; this.match(TrinoSqlParser.KW_TABLE); - this.state = 508; + this.state = 464; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 30, this.context) ) { case 1: { - this.state = 506; + this.state = 462; this.match(TrinoSqlParser.KW_IF); - this.state = 507; + this.state = 463; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 510; + this.state = 466; this.tableRef(); } break; @@ -1461,23 +1434,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new InsertIntoContext(localContext); this.enterOuterAlt(localContext, 12); { - this.state = 511; + this.state = 467; this.match(TrinoSqlParser.KW_INSERT); - this.state = 512; + this.state = 468; this.match(TrinoSqlParser.KW_INTO); - this.state = 513; + this.state = 469; this.tableRef(); - this.state = 515; + this.state = 471; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 31, this.context) ) { case 1: { - this.state = 514; + this.state = 470; this.columnList(); } break; } - this.state = 517; + this.state = 473; this.rootQuery(); } break; @@ -1485,18 +1458,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DeleteContext(localContext); this.enterOuterAlt(localContext, 13); { - this.state = 519; + this.state = 475; this.match(TrinoSqlParser.KW_DELETE); - this.state = 520; + this.state = 476; this.match(TrinoSqlParser.KW_FROM); - this.state = 521; + this.state = 477; this.tableRef(); - this.state = 523; + this.state = 479; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 302) { { - this.state = 522; + this.state = 478; this.whereClause(); } } @@ -1507,11 +1480,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TruncateTableContext(localContext); this.enterOuterAlt(localContext, 14); { - this.state = 525; + this.state = 481; this.match(TrinoSqlParser.KW_TRUNCATE); - this.state = 526; + this.state = 482; this.match(TrinoSqlParser.KW_TABLE); - this.state = 527; + this.state = 483; this.tableRef(); } break; @@ -1519,29 +1492,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CommentTableContext(localContext); this.enterOuterAlt(localContext, 15); { - this.state = 528; + this.state = 484; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 529; + this.state = 485; this.match(TrinoSqlParser.KW_ON); - this.state = 530; + this.state = 486; this.match(TrinoSqlParser.KW_TABLE); - this.state = 531; + this.state = 487; this.tableRef(); - this.state = 532; + this.state = 488; this.match(TrinoSqlParser.KW_IS); - this.state = 535; + this.state = 491; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.STRING: case TrinoSqlParser.UNICODE_STRING: { - this.state = 533; + this.state = 489; this.string_(); } break; case TrinoSqlParser.KW_NULL: { - this.state = 534; + this.state = 490; this.match(TrinoSqlParser.KW_NULL); } break; @@ -1554,29 +1527,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CommentViewContext(localContext); this.enterOuterAlt(localContext, 16); { - this.state = 537; + this.state = 493; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 538; + this.state = 494; this.match(TrinoSqlParser.KW_ON); - this.state = 539; + this.state = 495; this.match(TrinoSqlParser.KW_VIEW); - this.state = 540; + this.state = 496; this.viewRef(); - this.state = 541; + this.state = 497; this.match(TrinoSqlParser.KW_IS); - this.state = 544; + this.state = 500; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.STRING: case TrinoSqlParser.UNICODE_STRING: { - this.state = 542; + this.state = 498; this.string_(); } break; case TrinoSqlParser.KW_NULL: { - this.state = 543; + this.state = 499; this.match(TrinoSqlParser.KW_NULL); } break; @@ -1589,29 +1562,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CommentColumnContext(localContext); this.enterOuterAlt(localContext, 17); { - this.state = 546; + this.state = 502; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 547; + this.state = 503; this.match(TrinoSqlParser.KW_ON); - this.state = 548; + this.state = 504; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 549; + this.state = 505; this.columnRef(); - this.state = 550; + this.state = 506; this.match(TrinoSqlParser.KW_IS); - this.state = 553; + this.state = 509; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.STRING: case TrinoSqlParser.UNICODE_STRING: { - this.state = 551; + this.state = 507; this.string_(); } break; case TrinoSqlParser.KW_NULL: { - this.state = 552; + this.state = 508; this.match(TrinoSqlParser.KW_NULL); } break; @@ -1624,29 +1597,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RenameTableContext(localContext); this.enterOuterAlt(localContext, 18); { - this.state = 555; + this.state = 511; this.match(TrinoSqlParser.KW_ALTER); - this.state = 556; + this.state = 512; this.match(TrinoSqlParser.KW_TABLE); - this.state = 559; + this.state = 515; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 36, this.context) ) { case 1: { - this.state = 557; + this.state = 513; this.match(TrinoSqlParser.KW_IF); - this.state = 558; + this.state = 514; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 561; + this.state = 517; (localContext as RenameTableContext)._from_ = this.tableRef(); - this.state = 562; + this.state = 518; this.match(TrinoSqlParser.KW_RENAME); - this.state = 563; + this.state = 519; this.match(TrinoSqlParser.KW_TO); - this.state = 564; + this.state = 520; (localContext as RenameTableContext)._to = this.tableNameCreate(); } break; @@ -1654,43 +1627,43 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new AddColumnContext(localContext); this.enterOuterAlt(localContext, 19); { - this.state = 566; + this.state = 522; this.match(TrinoSqlParser.KW_ALTER); - this.state = 567; + this.state = 523; this.match(TrinoSqlParser.KW_TABLE); - this.state = 570; + this.state = 526; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 37, this.context) ) { case 1: { - this.state = 568; + this.state = 524; this.match(TrinoSqlParser.KW_IF); - this.state = 569; + this.state = 525; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 572; + this.state = 528; (localContext as AddColumnContext)._tableName = this.tableRef(); - this.state = 573; + this.state = 529; this.match(TrinoSqlParser.KW_ADD); - this.state = 574; + this.state = 530; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 578; + this.state = 534; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 38, this.context) ) { case 1: { - this.state = 575; + this.state = 531; this.match(TrinoSqlParser.KW_IF); - this.state = 576; + this.state = 532; this.match(TrinoSqlParser.KW_NOT); - this.state = 577; + this.state = 533; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 580; + this.state = 536; (localContext as AddColumnContext)._column = this.columnDefinition(); } break; @@ -1698,45 +1671,45 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RenameColumnContext(localContext); this.enterOuterAlt(localContext, 20); { - this.state = 582; + this.state = 538; this.match(TrinoSqlParser.KW_ALTER); - this.state = 583; + this.state = 539; this.match(TrinoSqlParser.KW_TABLE); - this.state = 586; + this.state = 542; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 39, this.context) ) { case 1: { - this.state = 584; + this.state = 540; this.match(TrinoSqlParser.KW_IF); - this.state = 585; + this.state = 541; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 588; + this.state = 544; (localContext as RenameColumnContext)._tableName = this.tableRef(); - this.state = 589; + this.state = 545; this.match(TrinoSqlParser.KW_RENAME); - this.state = 590; + this.state = 546; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 593; + this.state = 549; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 40, this.context) ) { case 1: { - this.state = 591; + this.state = 547; this.match(TrinoSqlParser.KW_IF); - this.state = 592; + this.state = 548; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 595; + this.state = 551; (localContext as RenameColumnContext)._from_ = this.columnRef(); - this.state = 596; + this.state = 552; this.match(TrinoSqlParser.KW_TO); - this.state = 597; + this.state = 553; (localContext as RenameColumnContext)._to = this.columnNameCreate(); } break; @@ -1744,41 +1717,41 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropColumnContext(localContext); this.enterOuterAlt(localContext, 21); { - this.state = 599; + this.state = 555; this.match(TrinoSqlParser.KW_ALTER); - this.state = 600; + this.state = 556; this.match(TrinoSqlParser.KW_TABLE); - this.state = 603; + this.state = 559; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 41, this.context) ) { case 1: { - this.state = 601; + this.state = 557; this.match(TrinoSqlParser.KW_IF); - this.state = 602; + this.state = 558; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 605; + this.state = 561; (localContext as DropColumnContext)._tableName = this.tableRef(); - this.state = 606; + this.state = 562; this.match(TrinoSqlParser.KW_DROP); - this.state = 607; + this.state = 563; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 610; + this.state = 566; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 42, this.context) ) { case 1: { - this.state = 608; + this.state = 564; this.match(TrinoSqlParser.KW_IF); - this.state = 609; + this.state = 565; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 612; + this.state = 568; (localContext as DropColumnContext)._column = this.columnRef(); } break; @@ -1786,37 +1759,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetColumnTypeContext(localContext); this.enterOuterAlt(localContext, 22); { - this.state = 614; + this.state = 570; this.match(TrinoSqlParser.KW_ALTER); - this.state = 615; + this.state = 571; this.match(TrinoSqlParser.KW_TABLE); - this.state = 618; + this.state = 574; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 43, this.context) ) { case 1: { - this.state = 616; + this.state = 572; this.match(TrinoSqlParser.KW_IF); - this.state = 617; + this.state = 573; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 620; + this.state = 576; (localContext as SetColumnTypeContext)._tableName = this.tableRef(); - this.state = 621; + this.state = 577; this.match(TrinoSqlParser.KW_ALTER); - this.state = 622; + this.state = 578; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 623; + this.state = 579; (localContext as SetColumnTypeContext)._column = this.columnRef(); - this.state = 624; + this.state = 580; this.match(TrinoSqlParser.KW_SET); - this.state = 625; + this.state = 581; this.match(TrinoSqlParser.KW_DATA); - this.state = 626; + this.state = 582; this.match(TrinoSqlParser.KW_TYPE); - this.state = 627; + this.state = 583; this.type_(0); } break; @@ -1824,35 +1797,35 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropNotNullConstraintContext(localContext); this.enterOuterAlt(localContext, 23); { - this.state = 629; + this.state = 585; this.match(TrinoSqlParser.KW_ALTER); - this.state = 630; + this.state = 586; this.match(TrinoSqlParser.KW_TABLE); - this.state = 633; + this.state = 589; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 44, this.context) ) { case 1: { - this.state = 631; + this.state = 587; this.match(TrinoSqlParser.KW_IF); - this.state = 632; + this.state = 588; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 635; + this.state = 591; (localContext as DropNotNullConstraintContext)._tableName = this.tableRef(); - this.state = 636; + this.state = 592; this.match(TrinoSqlParser.KW_ALTER); - this.state = 637; + this.state = 593; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 638; + this.state = 594; (localContext as DropNotNullConstraintContext)._column = this.columnRef(); - this.state = 639; + this.state = 595; this.match(TrinoSqlParser.KW_DROP); - this.state = 640; + this.state = 596; this.match(TrinoSqlParser.KW_NOT); - this.state = 641; + this.state = 597; this.match(TrinoSqlParser.KW_NULL); } break; @@ -1860,17 +1833,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetTableAuthorizationContext(localContext); this.enterOuterAlt(localContext, 24); { - this.state = 643; + this.state = 599; this.match(TrinoSqlParser.KW_ALTER); - this.state = 644; + this.state = 600; this.match(TrinoSqlParser.KW_TABLE); - this.state = 645; + this.state = 601; (localContext as SetTableAuthorizationContext)._tableName = this.tableRef(); - this.state = 646; + this.state = 602; this.match(TrinoSqlParser.KW_SET); - this.state = 647; + this.state = 603; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 648; + this.state = 604; this.principal(); } break; @@ -1878,17 +1851,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetTablePropertiesContext(localContext); this.enterOuterAlt(localContext, 25); { - this.state = 650; + this.state = 606; this.match(TrinoSqlParser.KW_ALTER); - this.state = 651; + this.state = 607; this.match(TrinoSqlParser.KW_TABLE); - this.state = 652; + this.state = 608; (localContext as SetTablePropertiesContext)._tableName = this.tableRef(); - this.state = 653; + this.state = 609; this.match(TrinoSqlParser.KW_SET); - this.state = 654; + this.state = 610; this.match(TrinoSqlParser.KW_PROPERTIES); - this.state = 655; + this.state = 611; this.propertyAssignments(); } break; @@ -1896,60 +1869,60 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TableExecuteContext(localContext); this.enterOuterAlt(localContext, 26); { - this.state = 657; + this.state = 613; this.match(TrinoSqlParser.KW_ALTER); - this.state = 658; + this.state = 614; this.match(TrinoSqlParser.KW_TABLE); - this.state = 659; + this.state = 615; (localContext as TableExecuteContext)._tableName = this.tableRef(); - this.state = 660; + this.state = 616; this.match(TrinoSqlParser.KW_EXECUTE); - this.state = 661; + this.state = 617; (localContext as TableExecuteContext)._procedureName = this.functionName(); - this.state = 674; + this.state = 630; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 47, this.context) ) { case 1: { - this.state = 662; + this.state = 618; this.match(TrinoSqlParser.T__0); - this.state = 671; + this.state = 627; 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 = 663; + this.state = 619; this.callArgument(); - this.state = 668; + this.state = 624; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 664; + this.state = 620; this.match(TrinoSqlParser.T__2); - this.state = 665; + this.state = 621; this.callArgument(); } } - this.state = 670; + this.state = 626; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 673; + this.state = 629; this.match(TrinoSqlParser.T__1); } break; } - this.state = 677; + this.state = 633; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 302) { { - this.state = 676; + this.state = 632; this.whereClause(); } } @@ -1960,18 +1933,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new AnalyzeContext(localContext); this.enterOuterAlt(localContext, 27); { - this.state = 679; + this.state = 635; this.match(TrinoSqlParser.KW_ANALYZE); - this.state = 680; + this.state = 636; this.tableRef(); - this.state = 683; + this.state = 639; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 49, this.context) ) { case 1: { - this.state = 681; + this.state = 637; this.match(TrinoSqlParser.KW_WITH); - this.state = 682; + this.state = 638; this.properties(); } break; @@ -1982,81 +1955,81 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateMaterializedViewContext(localContext); this.enterOuterAlt(localContext, 28); { - this.state = 685; + this.state = 641; this.match(TrinoSqlParser.KW_CREATE); - this.state = 688; + this.state = 644; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 195) { { - this.state = 686; + this.state = 642; this.match(TrinoSqlParser.KW_OR); - this.state = 687; + this.state = 643; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 690; + this.state = 646; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 691; + this.state = 647; this.match(TrinoSqlParser.KW_VIEW); - this.state = 695; + this.state = 651; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 51, this.context) ) { case 1: { - this.state = 692; + this.state = 648; this.match(TrinoSqlParser.KW_IF); - this.state = 693; + this.state = 649; this.match(TrinoSqlParser.KW_NOT); - this.state = 694; + this.state = 650; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 697; + this.state = 653; this.viewNameCreate(); - this.state = 701; + this.state = 657; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 110) { { - this.state = 698; + this.state = 654; this.match(TrinoSqlParser.KW_GRACE); - this.state = 699; + this.state = 655; this.match(TrinoSqlParser.KW_PERIOD); - this.state = 700; + this.state = 656; this.interval(); } } - this.state = 705; + this.state = 661; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 47) { { - this.state = 703; + this.state = 659; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 704; + this.state = 660; (localContext as CreateMaterializedViewContext)._comment = this.string_(); } } - this.state = 709; + this.state = 665; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 305) { { - this.state = 707; + this.state = 663; this.match(TrinoSqlParser.KW_WITH); - this.state = 708; + this.state = 664; this.properties(); } } - this.state = 711; + this.state = 667; this.match(TrinoSqlParser.KW_AS); - this.state = 712; + this.state = 668; this.rootQuery(); } break; @@ -2064,44 +2037,44 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateViewContext(localContext); this.enterOuterAlt(localContext, 29); { - this.state = 714; + this.state = 670; this.match(TrinoSqlParser.KW_CREATE); - this.state = 717; + this.state = 673; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 195) { { - this.state = 715; + this.state = 671; this.match(TrinoSqlParser.KW_OR); - this.state = 716; + this.state = 672; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 719; + this.state = 675; this.match(TrinoSqlParser.KW_VIEW); - this.state = 720; + this.state = 676; this.viewNameCreate(); - this.state = 723; + this.state = 679; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 47) { { - this.state = 721; + this.state = 677; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 722; + this.state = 678; (localContext as CreateViewContext)._comment = this.string_(); } } - this.state = 727; + this.state = 683; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 247) { { - this.state = 725; + this.state = 681; this.match(TrinoSqlParser.KW_SECURITY); - this.state = 726; + this.state = 682; _la = this.tokenStream.LA(1); if(!(_la === 73 || _la === 132)) { this.errorHandler.recoverInline(this); @@ -2113,21 +2086,21 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 731; + this.state = 687; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 305) { { - this.state = 729; + this.state = 685; this.match(TrinoSqlParser.KW_WITH); - this.state = 730; + this.state = 686; this.properties(); } } - this.state = 733; + this.state = 689; this.match(TrinoSqlParser.KW_AS); - this.state = 734; + this.state = 690; this.rootQuery(); } break; @@ -2135,13 +2108,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RefreshMaterializedViewContext(localContext); this.enterOuterAlt(localContext, 30); { - this.state = 736; + this.state = 692; this.match(TrinoSqlParser.KW_REFRESH); - this.state = 737; + this.state = 693; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 738; + this.state = 694; this.match(TrinoSqlParser.KW_VIEW); - this.state = 739; + this.state = 695; this.viewRef(); } break; @@ -2149,25 +2122,25 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropMaterializedViewContext(localContext); this.enterOuterAlt(localContext, 31); { - this.state = 740; + this.state = 696; this.match(TrinoSqlParser.KW_DROP); - this.state = 741; + this.state = 697; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 742; + this.state = 698; this.match(TrinoSqlParser.KW_VIEW); - this.state = 745; + this.state = 701; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 59, this.context) ) { case 1: { - this.state = 743; + this.state = 699; this.match(TrinoSqlParser.KW_IF); - this.state = 744; + this.state = 700; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 747; + this.state = 703; this.viewRef(); } break; @@ -2175,31 +2148,31 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RenameMaterializedViewContext(localContext); this.enterOuterAlt(localContext, 32); { - this.state = 748; + this.state = 704; this.match(TrinoSqlParser.KW_ALTER); - this.state = 749; + this.state = 705; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 750; + this.state = 706; this.match(TrinoSqlParser.KW_VIEW); - this.state = 753; + this.state = 709; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 60, this.context) ) { case 1: { - this.state = 751; + this.state = 707; this.match(TrinoSqlParser.KW_IF); - this.state = 752; + this.state = 708; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 755; + this.state = 711; (localContext as RenameMaterializedViewContext)._from_ = this.viewRef(); - this.state = 756; + this.state = 712; this.match(TrinoSqlParser.KW_RENAME); - this.state = 757; + this.state = 713; this.match(TrinoSqlParser.KW_TO); - this.state = 758; + this.state = 714; (localContext as RenameMaterializedViewContext)._to = this.viewNameCreate(); } break; @@ -2207,19 +2180,19 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetMaterializedViewPropertiesContext(localContext); this.enterOuterAlt(localContext, 33); { - this.state = 760; + this.state = 716; this.match(TrinoSqlParser.KW_ALTER); - this.state = 761; + this.state = 717; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 762; + this.state = 718; this.match(TrinoSqlParser.KW_VIEW); - this.state = 763; + this.state = 719; this.viewRef(); - this.state = 764; + this.state = 720; this.match(TrinoSqlParser.KW_SET); - this.state = 765; + this.state = 721; this.match(TrinoSqlParser.KW_PROPERTIES); - this.state = 766; + this.state = 722; this.propertyAssignments(); } break; @@ -2227,23 +2200,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropViewContext(localContext); this.enterOuterAlt(localContext, 34); { - this.state = 768; + this.state = 724; this.match(TrinoSqlParser.KW_DROP); - this.state = 769; + this.state = 725; this.match(TrinoSqlParser.KW_VIEW); - this.state = 772; + this.state = 728; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 61, this.context) ) { case 1: { - this.state = 770; + this.state = 726; this.match(TrinoSqlParser.KW_IF); - this.state = 771; + this.state = 727; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 774; + this.state = 730; this.viewRef(); } break; @@ -2251,17 +2224,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RenameViewContext(localContext); this.enterOuterAlt(localContext, 35); { - this.state = 775; + this.state = 731; this.match(TrinoSqlParser.KW_ALTER); - this.state = 776; + this.state = 732; this.match(TrinoSqlParser.KW_VIEW); - this.state = 777; + this.state = 733; (localContext as RenameViewContext)._from_ = this.viewRef(); - this.state = 778; + this.state = 734; this.match(TrinoSqlParser.KW_RENAME); - this.state = 779; + this.state = 735; this.match(TrinoSqlParser.KW_TO); - this.state = 780; + this.state = 736; (localContext as RenameViewContext)._to = this.viewNameCreate(); } break; @@ -2269,17 +2242,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetViewAuthorizationContext(localContext); this.enterOuterAlt(localContext, 36); { - this.state = 782; + this.state = 738; this.match(TrinoSqlParser.KW_ALTER); - this.state = 783; + this.state = 739; this.match(TrinoSqlParser.KW_VIEW); - this.state = 784; + this.state = 740; (localContext as SetViewAuthorizationContext)._from_ = this.viewRef(); - this.state = 785; + this.state = 741; this.match(TrinoSqlParser.KW_SET); - this.state = 786; + this.state = 742; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 787; + this.state = 743; this.principal(); } break; @@ -2287,39 +2260,39 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CallContext(localContext); this.enterOuterAlt(localContext, 37); { - this.state = 789; + this.state = 745; this.match(TrinoSqlParser.KW_CALL); - this.state = 790; + this.state = 746; this.functionName(); - this.state = 791; + this.state = 747; this.match(TrinoSqlParser.T__0); - this.state = 800; + this.state = 756; 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 = 792; + this.state = 748; this.callArgument(); - this.state = 797; + this.state = 753; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 793; + this.state = 749; this.match(TrinoSqlParser.T__2); - this.state = 794; + this.state = 750; this.callArgument(); } } - this.state = 799; + this.state = 755; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 802; + this.state = 758; this.match(TrinoSqlParser.T__1); } break; @@ -2327,21 +2300,21 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CreateFunctionContext(localContext); this.enterOuterAlt(localContext, 38); { - this.state = 804; + this.state = 760; this.match(TrinoSqlParser.KW_CREATE); - this.state = 807; + this.state = 763; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 195) { { - this.state = 805; + this.state = 761; this.match(TrinoSqlParser.KW_OR); - this.state = 806; + this.state = 762; this.match(TrinoSqlParser.KW_REPLACE); } } - this.state = 809; + this.state = 765; this.functionSpecification(); } break; @@ -2349,58 +2322,88 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropFunctionContext(localContext); this.enterOuterAlt(localContext, 39); { - this.state = 810; + this.state = 766; this.match(TrinoSqlParser.KW_DROP); - this.state = 811; + this.state = 767; this.match(TrinoSqlParser.KW_FUNCTION); - this.state = 814; + this.state = 770; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 65, this.context) ) { case 1: { - this.state = 812; + this.state = 768; this.match(TrinoSqlParser.KW_IF); - this.state = 813; + this.state = 769; this.match(TrinoSqlParser.KW_EXISTS); } break; } - this.state = 816; - this.functionSignature(); + this.state = 772; + this.functionName(); + this.state = 773; + this.match(TrinoSqlParser.T__0); + this.state = 782; + 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 = 774; + this.parameterDeclaration(); + this.state = 779; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 775; + this.match(TrinoSqlParser.T__2); + this.state = 776; + this.parameterDeclaration(); + } + } + this.state = 781; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } + } + + this.state = 784; + this.match(TrinoSqlParser.T__1); } break; case 40: localContext = new CreateRoleContext(localContext); this.enterOuterAlt(localContext, 40); { - this.state = 817; + this.state = 786; this.match(TrinoSqlParser.KW_CREATE); - this.state = 818; + this.state = 787; this.match(TrinoSqlParser.KW_ROLE); - this.state = 819; + this.state = 788; (localContext as CreateRoleContext)._name = this.identifier(); - this.state = 823; + this.state = 792; 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 = 820; + this.state = 789; this.match(TrinoSqlParser.KW_WITH); - this.state = 821; + this.state = 790; this.match(TrinoSqlParser.KW_ADMIN); - this.state = 822; + this.state = 791; this.grantor(); } break; } - this.state = 827; + this.state = 796; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 123) { { - this.state = 825; + this.state = 794; this.match(TrinoSqlParser.KW_IN); - this.state = 826; + this.state = 795; (localContext as CreateRoleContext)._catalog = this.catalogRef(); } } @@ -2411,20 +2414,20 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DropRoleContext(localContext); this.enterOuterAlt(localContext, 41); { - this.state = 829; + this.state = 798; this.match(TrinoSqlParser.KW_DROP); - this.state = 830; + this.state = 799; this.match(TrinoSqlParser.KW_ROLE); - this.state = 831; + this.state = 800; (localContext as DropRoleContext)._name = this.identifier(); - this.state = 834; + this.state = 803; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 123) { { - this.state = 832; + this.state = 801; this.match(TrinoSqlParser.KW_IN); - this.state = 833; + this.state = 802; (localContext as DropRoleContext)._catalog = this.catalogRef(); } } @@ -2435,82 +2438,82 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new GrantRolesContext(localContext); this.enterOuterAlt(localContext, 42); { - this.state = 836; + this.state = 805; this.match(TrinoSqlParser.KW_GRANT); - this.state = 837; + this.state = 806; this.privilegeOrRole(); - this.state = 842; + this.state = 811; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 838; + this.state = 807; this.match(TrinoSqlParser.T__2); - this.state = 839; + this.state = 808; this.privilegeOrRole(); } } - this.state = 844; + this.state = 813; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 845; + this.state = 814; this.match(TrinoSqlParser.KW_TO); - this.state = 846; + this.state = 815; this.principal(); - this.state = 851; + this.state = 820; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 847; + this.state = 816; this.match(TrinoSqlParser.T__2); - this.state = 848; + this.state = 817; this.principal(); } } - this.state = 853; + this.state = 822; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 857; + this.state = 826; 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 = 854; + this.state = 823; this.match(TrinoSqlParser.KW_WITH); - this.state = 855; + this.state = 824; this.match(TrinoSqlParser.KW_ADMIN); - this.state = 856; + this.state = 825; this.match(TrinoSqlParser.KW_OPTION); } break; } - this.state = 862; + this.state = 831; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 112) { { - this.state = 859; + this.state = 828; this.match(TrinoSqlParser.KW_GRANTED); - this.state = 860; + this.state = 829; this.match(TrinoSqlParser.KW_BY); - this.state = 861; + this.state = 830; this.grantor(); } } - this.state = 866; + this.state = 835; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 123) { { - this.state = 864; + this.state = 833; this.match(TrinoSqlParser.KW_IN); - this.state = 865; + this.state = 834; (localContext as GrantRolesContext)._catalog = this.catalogRef(); } } @@ -2521,29 +2524,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new GrantPrivilegesContext(localContext); this.enterOuterAlt(localContext, 43); { - this.state = 868; + this.state = 837; this.match(TrinoSqlParser.KW_GRANT); - this.state = 879; + this.state = 848; 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 = 869; + this.state = 838; this.privilegeOrRole(); - this.state = 874; + this.state = 843; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 870; + this.state = 839; this.match(TrinoSqlParser.T__2); - this.state = 871; + this.state = 840; this.privilegeOrRole(); } } - this.state = 876; + this.state = 845; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -2552,31 +2555,31 @@ export class TrinoSqlParser extends SQLParserBase { break; case 2: { - this.state = 877; + this.state = 846; this.match(TrinoSqlParser.KW_ALL); - this.state = 878; + this.state = 847; this.match(TrinoSqlParser.KW_PRIVILEGES); } break; } - this.state = 881; + this.state = 850; this.match(TrinoSqlParser.KW_ON); - this.state = 882; + this.state = 851; this.grantObject(); - this.state = 883; + this.state = 852; this.match(TrinoSqlParser.KW_TO); - this.state = 884; + this.state = 853; this.principal(); - this.state = 888; + this.state = 857; 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 = 885; + this.state = 854; this.match(TrinoSqlParser.KW_WITH); - this.state = 886; + this.state = 855; this.match(TrinoSqlParser.KW_GRANT); - this.state = 887; + this.state = 856; this.match(TrinoSqlParser.KW_OPTION); } break; @@ -2587,82 +2590,82 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RevokeRolesContext(localContext); this.enterOuterAlt(localContext, 44); { - this.state = 890; + this.state = 859; this.match(TrinoSqlParser.KW_REVOKE); - this.state = 894; + this.state = 863; 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 = 891; + this.state = 860; this.match(TrinoSqlParser.KW_ADMIN); - this.state = 892; + this.state = 861; this.match(TrinoSqlParser.KW_OPTION); - this.state = 893; + this.state = 862; this.match(TrinoSqlParser.KW_FOR); } break; } - this.state = 896; + this.state = 865; this.privilegeOrRole(); - this.state = 901; + this.state = 870; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 897; + this.state = 866; this.match(TrinoSqlParser.T__2); - this.state = 898; + this.state = 867; this.privilegeOrRole(); } } - this.state = 903; + this.state = 872; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 904; + this.state = 873; this.match(TrinoSqlParser.KW_FROM); - this.state = 905; + this.state = 874; this.principal(); - this.state = 910; + this.state = 879; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 906; + this.state = 875; this.match(TrinoSqlParser.T__2); - this.state = 907; + this.state = 876; this.principal(); } } - this.state = 912; + this.state = 881; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 916; + this.state = 885; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 112) { { - this.state = 913; + this.state = 882; this.match(TrinoSqlParser.KW_GRANTED); - this.state = 914; + this.state = 883; this.match(TrinoSqlParser.KW_BY); - this.state = 915; + this.state = 884; this.grantor(); } } - this.state = 920; + this.state = 889; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 123) { { - this.state = 918; + this.state = 887; this.match(TrinoSqlParser.KW_IN); - this.state = 919; + this.state = 888; (localContext as RevokeRolesContext)._catalog = this.catalogRef(); } } @@ -2673,43 +2676,43 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RevokePrivilegesContext(localContext); this.enterOuterAlt(localContext, 45); { - this.state = 922; + this.state = 891; this.match(TrinoSqlParser.KW_REVOKE); - this.state = 926; + this.state = 895; 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 = 923; + this.state = 892; this.match(TrinoSqlParser.KW_GRANT); - this.state = 924; + this.state = 893; this.match(TrinoSqlParser.KW_OPTION); - this.state = 925; + this.state = 894; this.match(TrinoSqlParser.KW_FOR); } break; } - this.state = 938; + this.state = 907; 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 = 928; + this.state = 897; this.privilegeOrRole(); - this.state = 933; + this.state = 902; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 929; + this.state = 898; this.match(TrinoSqlParser.T__2); - this.state = 930; + this.state = 899; this.privilegeOrRole(); } } - this.state = 935; + this.state = 904; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -2718,20 +2721,20 @@ export class TrinoSqlParser extends SQLParserBase { break; case 2: { - this.state = 936; + this.state = 905; this.match(TrinoSqlParser.KW_ALL); - this.state = 937; + this.state = 906; this.match(TrinoSqlParser.KW_PRIVILEGES); } break; } - this.state = 940; + this.state = 909; this.match(TrinoSqlParser.KW_ON); - this.state = 941; + this.state = 910; this.grantObject(); - this.state = 942; + this.state = 911; this.match(TrinoSqlParser.KW_FROM); - this.state = 943; + this.state = 912; (localContext as RevokePrivilegesContext)._grantee = this.principal(); } break; @@ -2739,28 +2742,28 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DenyContext(localContext); this.enterOuterAlt(localContext, 46); { - this.state = 945; + this.state = 914; this.match(TrinoSqlParser.KW_DENY); - this.state = 956; + this.state = 925; 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 = 946; + this.state = 915; this.privilege(); - this.state = 951; + this.state = 920; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 947; + this.state = 916; this.match(TrinoSqlParser.T__2); - this.state = 948; + this.state = 917; this.privilege(); } } - this.state = 953; + this.state = 922; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -2768,20 +2771,20 @@ export class TrinoSqlParser extends SQLParserBase { break; case 2: { - this.state = 954; + this.state = 923; this.match(TrinoSqlParser.KW_ALL); - this.state = 955; + this.state = 924; this.match(TrinoSqlParser.KW_PRIVILEGES); } break; } - this.state = 958; + this.state = 927; this.match(TrinoSqlParser.KW_ON); - this.state = 959; + this.state = 928; this.grantObject(); - this.state = 960; + this.state = 929; this.match(TrinoSqlParser.KW_TO); - this.state = 961; + this.state = 930; (localContext as DenyContext)._grantee = this.principal(); } break; @@ -2789,40 +2792,40 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetRoleContext(localContext); this.enterOuterAlt(localContext, 47); { - this.state = 963; + this.state = 932; this.match(TrinoSqlParser.KW_SET); - this.state = 964; + this.state = 933; this.match(TrinoSqlParser.KW_ROLE); - this.state = 968; + this.state = 937; 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 = 965; + this.state = 934; this.match(TrinoSqlParser.KW_ALL); } break; case 2: { - this.state = 966; + this.state = 935; this.match(TrinoSqlParser.KW_NONE); } break; case 3: { - this.state = 967; + this.state = 936; (localContext as SetRoleContext)._role = this.identifier(); } break; } - this.state = 972; + this.state = 941; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 123) { { - this.state = 970; + this.state = 939; this.match(TrinoSqlParser.KW_IN); - this.state = 971; + this.state = 940; (localContext as SetRoleContext)._catalog = this.catalogRef(); } } @@ -2833,18 +2836,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowGrantsContext(localContext); this.enterOuterAlt(localContext, 48); { - this.state = 974; + this.state = 943; this.match(TrinoSqlParser.KW_SHOW); - this.state = 975; + this.state = 944; this.match(TrinoSqlParser.KW_GRANTS); - this.state = 978; + this.state = 947; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 191) { { - this.state = 976; + this.state = 945; this.match(TrinoSqlParser.KW_ON); - this.state = 977; + this.state = 946; this.grantObject(); } } @@ -2855,39 +2858,39 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExplainContext(localContext); this.enterOuterAlt(localContext, 49); { - this.state = 980; + this.state = 949; this.match(TrinoSqlParser.KW_EXPLAIN); - this.state = 992; + this.state = 961; 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 = 981; + this.state = 950; this.match(TrinoSqlParser.T__0); - this.state = 982; + this.state = 951; this.explainOption(); - this.state = 987; + this.state = 956; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 983; + this.state = 952; this.match(TrinoSqlParser.T__2); - this.state = 984; + this.state = 953; this.explainOption(); } } - this.state = 989; + this.state = 958; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 990; + this.state = 959; this.match(TrinoSqlParser.T__1); } break; } - this.state = 994; + this.state = 963; this.statement(); } break; @@ -2895,21 +2898,21 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExplainAnalyzeContext(localContext); this.enterOuterAlt(localContext, 50); { - this.state = 995; + this.state = 964; this.match(TrinoSqlParser.KW_EXPLAIN); - this.state = 996; + this.state = 965; this.match(TrinoSqlParser.KW_ANALYZE); - this.state = 998; + this.state = 967; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 298) { { - this.state = 997; + this.state = 966; this.match(TrinoSqlParser.KW_VERBOSE); } } - this.state = 1000; + this.state = 969; this.statement(); } break; @@ -2917,13 +2920,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCreateTableContext(localContext); this.enterOuterAlt(localContext, 51); { - this.state = 1001; + this.state = 970; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1002; + this.state = 971; this.match(TrinoSqlParser.KW_CREATE); - this.state = 1003; + this.state = 972; this.match(TrinoSqlParser.KW_TABLE); - this.state = 1004; + this.state = 973; this.tableRef(); } break; @@ -2931,13 +2934,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCreateSchemaContext(localContext); this.enterOuterAlt(localContext, 52); { - this.state = 1005; + this.state = 974; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1006; + this.state = 975; this.match(TrinoSqlParser.KW_CREATE); - this.state = 1007; + this.state = 976; this.match(TrinoSqlParser.KW_SCHEMA); - this.state = 1008; + this.state = 977; this.schemaRef(); } break; @@ -2945,13 +2948,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCreateViewContext(localContext); this.enterOuterAlt(localContext, 53); { - this.state = 1009; + this.state = 978; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1010; + this.state = 979; this.match(TrinoSqlParser.KW_CREATE); - this.state = 1011; + this.state = 980; this.match(TrinoSqlParser.KW_VIEW); - this.state = 1012; + this.state = 981; this.viewRef(); } break; @@ -2959,15 +2962,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCreateMaterializedViewContext(localContext); this.enterOuterAlt(localContext, 54); { - this.state = 1013; + this.state = 982; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1014; + this.state = 983; this.match(TrinoSqlParser.KW_CREATE); - this.state = 1015; + this.state = 984; this.match(TrinoSqlParser.KW_MATERIALIZED); - this.state = 1016; + this.state = 985; this.match(TrinoSqlParser.KW_VIEW); - this.state = 1017; + this.state = 986; this.viewRef(); } break; @@ -2975,13 +2978,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCreateFunctionContext(localContext); this.enterOuterAlt(localContext, 55); { - this.state = 1018; + this.state = 987; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1019; + this.state = 988; this.match(TrinoSqlParser.KW_CREATE); - this.state = 1020; + this.state = 989; this.match(TrinoSqlParser.KW_FUNCTION); - this.state = 1021; + this.state = 990; this.functionName(); } break; @@ -2989,16 +2992,16 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowTablesContext(localContext); this.enterOuterAlt(localContext, 56); { - this.state = 1022; + this.state = 991; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1023; + this.state = 992; this.match(TrinoSqlParser.KW_TABLES); - this.state = 1026; + this.state = 995; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 106 || _la === 123) { { - this.state = 1024; + this.state = 993; _la = this.tokenStream.LA(1); if(!(_la === 106 || _la === 123)) { this.errorHandler.recoverInline(this); @@ -3007,28 +3010,28 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1025; + this.state = 994; this.schemaRef(); } } - this.state = 1034; + this.state = 1003; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 155) { { - this.state = 1028; + this.state = 997; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1029; + this.state = 998; (localContext as ShowTablesContext)._pattern = this.string_(); - this.state = 1032; + this.state = 1001; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 91) { { - this.state = 1030; + this.state = 999; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1031; + this.state = 1000; (localContext as ShowTablesContext)._escape = this.string_(); } } @@ -3042,16 +3045,16 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowSchemasContext(localContext); this.enterOuterAlt(localContext, 57); { - this.state = 1036; + this.state = 1005; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1037; + this.state = 1006; this.match(TrinoSqlParser.KW_SCHEMAS); - this.state = 1040; + this.state = 1009; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 106 || _la === 123) { { - this.state = 1038; + this.state = 1007; _la = this.tokenStream.LA(1); if(!(_la === 106 || _la === 123)) { this.errorHandler.recoverInline(this); @@ -3060,28 +3063,28 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1039; + this.state = 1008; this.catalogRef(); } } - this.state = 1048; + this.state = 1017; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 155) { { - this.state = 1042; + this.state = 1011; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1043; + this.state = 1012; (localContext as ShowSchemasContext)._pattern = this.string_(); - this.state = 1046; + this.state = 1015; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 91) { { - this.state = 1044; + this.state = 1013; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1045; + this.state = 1014; (localContext as ShowSchemasContext)._escape = this.string_(); } } @@ -3095,27 +3098,27 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowCatalogsContext(localContext); this.enterOuterAlt(localContext, 58); { - this.state = 1050; + this.state = 1019; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1051; + this.state = 1020; this.match(TrinoSqlParser.KW_CATALOGS); - this.state = 1058; + this.state = 1027; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 155) { { - this.state = 1052; + this.state = 1021; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1053; + this.state = 1022; (localContext as ShowCatalogsContext)._pattern = this.string_(); - this.state = 1056; + this.state = 1025; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 91) { { - this.state = 1054; + this.state = 1023; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1055; + this.state = 1024; (localContext as ShowCatalogsContext)._escape = this.string_(); } } @@ -3129,11 +3132,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowColumnsContext(localContext); this.enterOuterAlt(localContext, 59); { - this.state = 1060; + this.state = 1029; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1061; + this.state = 1030; this.match(TrinoSqlParser.KW_COLUMNS); - this.state = 1062; + this.state = 1031; _la = this.tokenStream.LA(1); if(!(_la === 106 || _la === 123)) { this.errorHandler.recoverInline(this); @@ -3142,25 +3145,25 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1063; + this.state = 1032; this.tableOrViewName(); - this.state = 1070; + this.state = 1039; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 155) { { - this.state = 1064; + this.state = 1033; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1065; + this.state = 1034; (localContext as ShowColumnsContext)._pattern = this.string_(); - this.state = 1068; + this.state = 1037; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 91) { { - this.state = 1066; + this.state = 1035; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1067; + this.state = 1036; (localContext as ShowColumnsContext)._escape = this.string_(); } } @@ -3174,13 +3177,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowStatsContext(localContext); this.enterOuterAlt(localContext, 60); { - this.state = 1072; + this.state = 1041; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1073; + this.state = 1042; this.match(TrinoSqlParser.KW_STATS); - this.state = 1074; + this.state = 1043; this.match(TrinoSqlParser.KW_FOR); - this.state = 1075; + this.state = 1044; this.tableOrViewName(); } break; @@ -3188,17 +3191,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowStatsForQueryContext(localContext); this.enterOuterAlt(localContext, 61); { - this.state = 1076; + this.state = 1045; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1077; + this.state = 1046; this.match(TrinoSqlParser.KW_STATS); - this.state = 1078; + this.state = 1047; this.match(TrinoSqlParser.KW_FOR); - this.state = 1079; + this.state = 1048; this.match(TrinoSqlParser.T__0); - this.state = 1080; + this.state = 1049; this.rootQuery(); - this.state = 1081; + this.state = 1050; this.match(TrinoSqlParser.T__1); } break; @@ -3206,26 +3209,26 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowRolesContext(localContext); this.enterOuterAlt(localContext, 62); { - this.state = 1083; + this.state = 1052; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1085; + this.state = 1054; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 57) { { - this.state = 1084; + this.state = 1053; this.match(TrinoSqlParser.KW_CURRENT); } } - this.state = 1087; + this.state = 1056; this.match(TrinoSqlParser.KW_ROLES); - this.state = 1090; + this.state = 1059; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 106 || _la === 123) { { - this.state = 1088; + this.state = 1057; _la = this.tokenStream.LA(1); if(!(_la === 106 || _la === 123)) { this.errorHandler.recoverInline(this); @@ -3234,7 +3237,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1089; + this.state = 1058; this.catalogRef(); } } @@ -3245,18 +3248,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowRoleGrantsContext(localContext); this.enterOuterAlt(localContext, 63); { - this.state = 1092; + this.state = 1061; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1093; + this.state = 1062; this.match(TrinoSqlParser.KW_ROLE); - this.state = 1094; + this.state = 1063; this.match(TrinoSqlParser.KW_GRANTS); - this.state = 1097; + this.state = 1066; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 106 || _la === 123) { { - this.state = 1095; + this.state = 1064; _la = this.tokenStream.LA(1); if(!(_la === 106 || _la === 123)) { this.errorHandler.recoverInline(this); @@ -3265,7 +3268,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1096; + this.state = 1065; this.catalogRef(); } } @@ -3276,9 +3279,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowColumnsContext(localContext); this.enterOuterAlt(localContext, 64); { - this.state = 1099; + this.state = 1068; this.match(TrinoSqlParser.KW_DESCRIBE); - this.state = 1100; + this.state = 1069; this.tableOrViewName(); } break; @@ -3286,9 +3289,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowColumnsContext(localContext); this.enterOuterAlt(localContext, 65); { - this.state = 1101; + this.state = 1070; this.match(TrinoSqlParser.KW_DESC); - this.state = 1102; + this.state = 1071; this.tableOrViewName(); } break; @@ -3296,16 +3299,16 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowFunctionsContext(localContext); this.enterOuterAlt(localContext, 66); { - this.state = 1103; + this.state = 1072; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1104; + this.state = 1073; this.match(TrinoSqlParser.KW_FUNCTIONS); - this.state = 1107; + this.state = 1076; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 106 || _la === 123) { { - this.state = 1105; + this.state = 1074; _la = this.tokenStream.LA(1); if(!(_la === 106 || _la === 123)) { this.errorHandler.recoverInline(this); @@ -3314,28 +3317,28 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1106; + this.state = 1075; this.schemaRef(); } } - this.state = 1115; + this.state = 1084; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 155) { { - this.state = 1109; + this.state = 1078; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1110; + this.state = 1079; (localContext as ShowFunctionsContext)._pattern = this.string_(); - this.state = 1113; + this.state = 1082; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 91) { { - this.state = 1111; + this.state = 1080; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1112; + this.state = 1081; (localContext as ShowFunctionsContext)._escape = this.string_(); } } @@ -3349,27 +3352,27 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowSessionContext(localContext); this.enterOuterAlt(localContext, 67); { - this.state = 1117; + this.state = 1086; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1118; + this.state = 1087; this.match(TrinoSqlParser.KW_SESSION); - this.state = 1125; + this.state = 1094; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 155) { { - this.state = 1119; + this.state = 1088; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1120; + this.state = 1089; (localContext as ShowSessionContext)._pattern = this.string_(); - this.state = 1123; + this.state = 1092; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 91) { { - this.state = 1121; + this.state = 1090; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 1122; + this.state = 1091; (localContext as ShowSessionContext)._escape = this.string_(); } } @@ -3383,25 +3386,259 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetSessionAuthorizationContext(localContext); this.enterOuterAlt(localContext, 68); { - this.state = 1127; + this.state = 1096; this.match(TrinoSqlParser.KW_SET); - this.state = 1128; + this.state = 1097; this.match(TrinoSqlParser.KW_SESSION); - this.state = 1129; + this.state = 1098; this.match(TrinoSqlParser.KW_AUTHORIZATION); - this.state = 1130; - this.authorizationUser(); + this.state = 1101; + 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 = 1099; + this.identifier(); + } + break; + case TrinoSqlParser.STRING: + case TrinoSqlParser.UNICODE_STRING: + { + this.state = 1100; + this.string_(); + } + break; + default: + throw new antlr.NoViableAltException(this); + } } break; case 69: localContext = new ResetSessionAuthorizationContext(localContext); this.enterOuterAlt(localContext, 69); { - this.state = 1131; + this.state = 1103; this.match(TrinoSqlParser.KW_RESET); - this.state = 1132; + this.state = 1104; this.match(TrinoSqlParser.KW_SESSION); - this.state = 1133; + this.state = 1105; this.match(TrinoSqlParser.KW_AUTHORIZATION); } break; @@ -3409,15 +3646,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetSessionContext(localContext); this.enterOuterAlt(localContext, 70); { - this.state = 1134; + this.state = 1106; this.match(TrinoSqlParser.KW_SET); - this.state = 1135; + this.state = 1107; this.match(TrinoSqlParser.KW_SESSION); - this.state = 1136; + this.state = 1108; this.qualifiedName(); - this.state = 1137; + this.state = 1109; this.match(TrinoSqlParser.EQ); - this.state = 1138; + this.state = 1110; this.expression(); } break; @@ -3425,11 +3662,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ResetSessionContext(localContext); this.enterOuterAlt(localContext, 71); { - this.state = 1140; + this.state = 1112; this.match(TrinoSqlParser.KW_RESET); - this.state = 1141; + this.state = 1113; this.match(TrinoSqlParser.KW_SESSION); - this.state = 1142; + this.state = 1114; this.qualifiedName(); } break; @@ -3437,30 +3674,30 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new StartTransactionContext(localContext); this.enterOuterAlt(localContext, 72); { - this.state = 1143; + this.state = 1115; this.match(TrinoSqlParser.KW_START); - this.state = 1144; + this.state = 1116; this.match(TrinoSqlParser.KW_TRANSACTION); - this.state = 1153; + this.state = 1125; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 135 || _la === 221) { { - this.state = 1145; + this.state = 1117; this.transactionMode(); - this.state = 1150; + this.state = 1122; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1146; + this.state = 1118; this.match(TrinoSqlParser.T__2); - this.state = 1147; + this.state = 1119; this.transactionMode(); } } - this.state = 1152; + this.state = 1124; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3473,14 +3710,14 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CommitContext(localContext); this.enterOuterAlt(localContext, 73); { - this.state = 1155; + this.state = 1127; this.match(TrinoSqlParser.KW_COMMIT); - this.state = 1157; + this.state = 1129; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 308) { { - this.state = 1156; + this.state = 1128; this.match(TrinoSqlParser.KW_WORK); } } @@ -3491,14 +3728,14 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RollbackContext(localContext); this.enterOuterAlt(localContext, 74); { - this.state = 1159; + this.state = 1131; this.match(TrinoSqlParser.KW_ROLLBACK); - this.state = 1161; + this.state = 1133; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 308) { { - this.state = 1160; + this.state = 1132; this.match(TrinoSqlParser.KW_WORK); } } @@ -3509,13 +3746,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new PrepareContext(localContext); this.enterOuterAlt(localContext, 75); { - this.state = 1163; + this.state = 1135; this.match(TrinoSqlParser.KW_PREPARE); - this.state = 1164; + this.state = 1136; this.identifier(); - this.state = 1165; + this.state = 1137; this.match(TrinoSqlParser.KW_FROM); - this.state = 1166; + this.state = 1138; this.statement(); } break; @@ -3523,11 +3760,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DeallocateContext(localContext); this.enterOuterAlt(localContext, 76); { - this.state = 1168; + this.state = 1140; this.match(TrinoSqlParser.KW_DEALLOCATE); - this.state = 1169; + this.state = 1141; this.match(TrinoSqlParser.KW_PREPARE); - this.state = 1170; + this.state = 1142; this.identifier(); } break; @@ -3535,32 +3772,32 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExecuteContext(localContext); this.enterOuterAlt(localContext, 77); { - this.state = 1171; + this.state = 1143; this.match(TrinoSqlParser.KW_EXECUTE); - this.state = 1172; + this.state = 1144; this.identifier(); - this.state = 1182; + this.state = 1154; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 291) { { - this.state = 1173; + this.state = 1145; this.match(TrinoSqlParser.KW_USING); - this.state = 1174; + this.state = 1146; this.expression(); - this.state = 1179; + this.state = 1151; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1175; + this.state = 1147; this.match(TrinoSqlParser.T__2); - this.state = 1176; + this.state = 1148; this.expression(); } } - this.state = 1181; + this.state = 1153; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3573,34 +3810,34 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExecuteImmediateContext(localContext); this.enterOuterAlt(localContext, 78); { - this.state = 1184; + this.state = 1156; this.match(TrinoSqlParser.KW_EXECUTE); - this.state = 1185; + this.state = 1157; this.match(TrinoSqlParser.KW_IMMEDIATE); - this.state = 1186; + this.state = 1158; this.string_(); - this.state = 1196; + this.state = 1168; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 291) { { - this.state = 1187; + this.state = 1159; this.match(TrinoSqlParser.KW_USING); - this.state = 1188; + this.state = 1160; this.expression(); - this.state = 1193; + this.state = 1165; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1189; + this.state = 1161; this.match(TrinoSqlParser.T__2); - this.state = 1190; + this.state = 1162; this.expression(); } } - this.state = 1195; + this.state = 1167; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3613,11 +3850,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DescribeInputContext(localContext); this.enterOuterAlt(localContext, 79); { - this.state = 1198; + this.state = 1170; this.match(TrinoSqlParser.KW_DESCRIBE); - this.state = 1199; + this.state = 1171; this.match(TrinoSqlParser.KW_INPUT); - this.state = 1200; + this.state = 1172; this.identifier(); } break; @@ -3625,11 +3862,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DescribeOutputContext(localContext); this.enterOuterAlt(localContext, 80); { - this.state = 1201; + this.state = 1173; this.match(TrinoSqlParser.KW_DESCRIBE); - this.state = 1202; + this.state = 1174; this.match(TrinoSqlParser.KW_OUTPUT); - this.state = 1203; + this.state = 1175; this.identifier(); } break; @@ -3637,11 +3874,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetPathContext(localContext); this.enterOuterAlt(localContext, 81); { - this.state = 1204; + this.state = 1176; this.match(TrinoSqlParser.KW_SET); - this.state = 1205; + this.state = 1177; this.match(TrinoSqlParser.KW_PATH); - this.state = 1206; + this.state = 1178; this.pathSpecification(); } break; @@ -3649,24 +3886,24 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SetTimeZoneContext(localContext); this.enterOuterAlt(localContext, 82); { - this.state = 1207; + this.state = 1179; this.match(TrinoSqlParser.KW_SET); - this.state = 1208; + this.state = 1180; this.match(TrinoSqlParser.KW_TIME); - this.state = 1209; + this.state = 1181; this.match(TrinoSqlParser.KW_ZONE); - this.state = 1212; + this.state = 1184; 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 = 1210; + this.state = 1182; this.match(TrinoSqlParser.KW_LOCAL); } break; case 2: { - this.state = 1211; + this.state = 1183; this.expression(); } break; @@ -3677,36 +3914,36 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UpdateContext(localContext); this.enterOuterAlt(localContext, 83); { - this.state = 1214; + this.state = 1186; this.match(TrinoSqlParser.KW_UPDATE); - this.state = 1215; + this.state = 1187; this.tableRef(); - this.state = 1216; + this.state = 1188; this.match(TrinoSqlParser.KW_SET); - this.state = 1217; + this.state = 1189; this.updateAssignment(); - this.state = 1222; + this.state = 1194; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1218; + this.state = 1190; this.match(TrinoSqlParser.T__2); - this.state = 1219; + this.state = 1191; this.updateAssignment(); } } - this.state = 1224; + this.state = 1196; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1226; + this.state = 1198; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 302) { { - this.state = 1225; + this.state = 1197; this.whereClause(); } } @@ -3717,51 +3954,51 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new MergeContext(localContext); this.enterOuterAlt(localContext, 84); { - this.state = 1228; + this.state = 1200; this.match(TrinoSqlParser.KW_MERGE); - this.state = 1229; + this.state = 1201; this.match(TrinoSqlParser.KW_INTO); - this.state = 1230; + this.state = 1202; this.tableRef(); - this.state = 1235; + this.state = 1207; 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 = 1232; + this.state = 1204; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 1231; + this.state = 1203; this.match(TrinoSqlParser.KW_AS); } } - this.state = 1234; + this.state = 1206; this.identifier(); } } - this.state = 1237; + this.state = 1209; this.match(TrinoSqlParser.KW_USING); - this.state = 1238; + this.state = 1210; this.relation(0); - this.state = 1239; + this.state = 1211; this.match(TrinoSqlParser.KW_ON); - this.state = 1240; + this.state = 1212; this.expression(); - this.state = 1242; + this.state = 1214; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); do { { { - this.state = 1241; + this.state = 1213; this.mergeCase(); } } - this.state = 1244; + this.state = 1216; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } while (_la === 301); @@ -3771,15 +4008,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowTableCommentContext(localContext); this.enterOuterAlt(localContext, 85); { - this.state = 1246; + this.state = 1218; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1247; + this.state = 1219; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 1248; + this.state = 1220; this.match(TrinoSqlParser.KW_ON); - this.state = 1249; + this.state = 1221; this.match(TrinoSqlParser.KW_TABLE); - this.state = 1250; + this.state = 1222; this.tableRef(); } break; @@ -3787,15 +4024,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ShowColumnCommentContext(localContext); this.enterOuterAlt(localContext, 86); { - this.state = 1251; + this.state = 1223; this.match(TrinoSqlParser.KW_SHOW); - this.state = 1252; + this.state = 1224; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 1253; + this.state = 1225; this.match(TrinoSqlParser.KW_ON); - this.state = 1254; + this.state = 1226; this.match(TrinoSqlParser.KW_COLUMN); - this.state = 1255; + this.state = 1227; this.columnRef(); } break; @@ -3821,17 +4058,17 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1259; + this.state = 1231; 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 = 1258; + this.state = 1230; this.withFunction(); } break; } - this.state = 1261; + this.state = 1233; this.query(); } } @@ -3856,23 +4093,23 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1263; + this.state = 1235; this.match(TrinoSqlParser.KW_WITH); - this.state = 1264; + this.state = 1236; this.functionSpecification(); - this.state = 1269; + this.state = 1241; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1265; + this.state = 1237; this.match(TrinoSqlParser.T__2); - this.state = 1266; + this.state = 1238; this.functionSpecification(); } } - this.state = 1271; + this.state = 1243; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3900,17 +4137,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new QueryStatementContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1273; + this.state = 1245; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 305) { { - this.state = 1272; + this.state = 1244; this.with_(); } } - this.state = 1275; + this.state = 1247; this.queryNoWith(); } } @@ -3935,33 +4172,33 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1277; + this.state = 1249; this.match(TrinoSqlParser.KW_WITH); - this.state = 1279; + this.state = 1251; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 222) { { - this.state = 1278; + this.state = 1250; this.match(TrinoSqlParser.KW_RECURSIVE); } } - this.state = 1281; + this.state = 1253; this.namedQuery(); - this.state = 1286; + this.state = 1258; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1282; + this.state = 1254; this.match(TrinoSqlParser.T__2); - this.state = 1283; + this.state = 1255; this.namedQuery(); } } - this.state = 1288; + this.state = 1260; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -3985,7 +4222,7 @@ export class TrinoSqlParser extends SQLParserBase { let localContext = new TableElementContext(this.context, this.state); this.enterRule(localContext, 26, TrinoSqlParser.RULE_tableElement); try { - this.state = 1291; + this.state = 1263; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ABSENT: @@ -4208,14 +4445,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.BACKQUOTED_IDENTIFIER: this.enterOuterAlt(localContext, 1); { - this.state = 1289; + this.state = 1261; this.columnDefinition(); } break; case TrinoSqlParser.KW_LIKE: this.enterOuterAlt(localContext, 2); { - this.state = 1290; + this.state = 1262; this.likeClause(); } break; @@ -4244,42 +4481,42 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1293; + this.state = 1265; this.columnNameCreate(); - this.state = 1294; + this.state = 1266; localContext._colType = this.type_(0); - this.state = 1297; + this.state = 1269; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 183) { { - this.state = 1295; + this.state = 1267; this.match(TrinoSqlParser.KW_NOT); - this.state = 1296; + this.state = 1268; this.match(TrinoSqlParser.KW_NULL); } } - this.state = 1301; + this.state = 1273; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 133, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 136, this.context) ) { case 1: { - this.state = 1299; + this.state = 1271; this.match(TrinoSqlParser.KW_COMMENT); - this.state = 1300; + this.state = 1272; localContext._comment = this.string_(); } break; } - this.state = 1305; + this.state = 1277; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 134, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 137, this.context) ) { case 1: { - this.state = 1303; + this.state = 1275; this.match(TrinoSqlParser.KW_WITH); - this.state = 1304; + this.state = 1276; this.properties(); } break; @@ -4307,16 +4544,16 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1307; + this.state = 1279; this.match(TrinoSqlParser.KW_LIKE); - this.state = 1308; + this.state = 1280; this.tableRef(); - this.state = 1311; + this.state = 1283; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 93 || _la === 124) { { - this.state = 1309; + this.state = 1281; localContext._optionType = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 93 || _la === 124)) { @@ -4326,7 +4563,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1310; + this.state = 1282; this.match(TrinoSqlParser.KW_PROPERTIES); } } @@ -4353,11 +4590,11 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1313; + this.state = 1285; this.match(TrinoSqlParser.T__0); - this.state = 1314; + this.state = 1286; this.propertyAssignments(); - this.state = 1315; + this.state = 1287; this.match(TrinoSqlParser.T__1); } } @@ -4382,21 +4619,21 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1317; + this.state = 1289; this.property(); - this.state = 1322; + this.state = 1294; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1318; + this.state = 1290; this.match(TrinoSqlParser.T__2); - this.state = 1319; + this.state = 1291; this.property(); } } - this.state = 1324; + this.state = 1296; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -4422,52 +4659,27 @@ export class TrinoSqlParser extends SQLParserBase { try { this.enterOuterAlt(localContext, 1); { - this.state = 1325; + this.state = 1297; this.identifier(); - this.state = 1326; + this.state = 1298; this.match(TrinoSqlParser.EQ); - this.state = 1327; - 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 = 1331; + this.state = 1301; 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 = 1329; + this.state = 1299; this.match(TrinoSqlParser.KW_DEFAULT); } break; case 2: - localContext = new NonDefaultPropertyValueContext(localContext); - this.enterOuterAlt(localContext, 2); { - this.state = 1330; + this.state = 1300; this.expression(); } break; } + } } catch (re) { if (re instanceof antlr.RecognitionException) { @@ -4485,58 +4697,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, 38, TrinoSqlParser.RULE_queryNoWith); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1333; + this.state = 1303; this.queryTerm(0); - this.state = 1344; + this.state = 1314; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 196) { { - this.state = 1334; + this.state = 1304; this.match(TrinoSqlParser.KW_ORDER); - this.state = 1335; + this.state = 1305; this.match(TrinoSqlParser.KW_BY); - this.state = 1336; + this.state = 1306; this.sortItem(); - this.state = 1341; + this.state = 1311; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1337; + this.state = 1307; this.match(TrinoSqlParser.T__2); - this.state = 1338; + this.state = 1308; this.sortItem(); } } - this.state = 1343; + this.state = 1313; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1351; + this.state = 1321; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 189) { { - this.state = 1346; + this.state = 1316; this.match(TrinoSqlParser.KW_OFFSET); - this.state = 1347; - localContext._offset = this.rowCount(); - this.state = 1349; + this.state = 1317; + 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 = 1319; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 240 || _la === 241) { { - this.state = 1348; + this.state = 1318; _la = this.tokenStream.LA(1); if(!(_la === 240 || _la === 241)) { this.errorHandler.recoverInline(this); @@ -4551,25 +4771,33 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 1366; + this.state = 1336; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_LIMIT: { { - this.state = 1353; + this.state = 1323; this.match(TrinoSqlParser.KW_LIMIT); - this.state = 1354; - localContext._limit = this.limitRowCount(); + this.state = 1324; + 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 = 1355; + this.state = 1325; this.match(TrinoSqlParser.KW_FETCH); - this.state = 1356; + this.state = 1326; _la = this.tokenStream.LA(1); if(!(_la === 102 || _la === 175)) { this.errorHandler.recoverInline(this); @@ -4578,17 +4806,25 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1358; + this.state = 1328; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 325 || _la === 330) { { - this.state = 1357; - localContext._fetchFirst = this.rowCount(); + this.state = 1327; + 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 = 1360; + this.state = 1330; _la = this.tokenStream.LA(1); if(!(_la === 240 || _la === 241)) { this.errorHandler.recoverInline(this); @@ -4597,20 +4833,20 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1364; + this.state = 1334; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ONLY: { - this.state = 1361; + this.state = 1331; this.match(TrinoSqlParser.KW_ONLY); } break; case TrinoSqlParser.KW_WITH: { - this.state = 1362; + this.state = 1332; this.match(TrinoSqlParser.KW_WITH); - this.state = 1363; + this.state = 1333; this.match(TrinoSqlParser.KW_TIES); } break; @@ -4676,78 +4912,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 = 1370; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_ALL: - this.enterOuterAlt(localContext, 1); - { - this.state = 1368; - this.match(TrinoSqlParser.KW_ALL); - } - break; - case TrinoSqlParser.QUESTION_MARK: - case TrinoSqlParser.INTEGER_VALUE: - this.enterOuterAlt(localContext, 2); - { - this.state = 1369; - 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 = 1372; - _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; @@ -4760,8 +4924,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 = 40; + this.enterRecursionRule(localContext, 40, TrinoSqlParser.RULE_queryTerm, _p); let _la: number; try { let alternative: number; @@ -4772,13 +4936,13 @@ export class TrinoSqlParser extends SQLParserBase { this.context = localContext; previousContext = localContext; - this.state = 1375; + this.state = 1339; this.queryPrimary(); } this.context!.stop = this.tokenStream.LT(-1); - this.state = 1391; + this.state = 1355; 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) { @@ -4786,31 +4950,31 @@ export class TrinoSqlParser extends SQLParserBase { } previousContext = localContext; { - this.state = 1389; + this.state = 1353; 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 = 1377; + this.state = 1341; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 1378; + this.state = 1342; (localContext as SetOperationContext)._operator = this.match(TrinoSqlParser.KW_INTERSECT); - this.state = 1380; + this.state = 1344; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 22 || _la === 80) { { - this.state = 1379; + this.state = 1343; this.setQuantifier(); } } - this.state = 1382; + this.state = 1346; (localContext as SetOperationContext)._right = this.queryTerm(3); } break; @@ -4819,11 +4983,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 = 1383; + this.state = 1347; if (!(this.precpred(this.context, 1))) { throw this.createFailedPredicateException("this.precpred(this.context, 1)"); } - this.state = 1384; + this.state = 1348; (localContext as SetOperationContext)._operator = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 92 || _la === 282)) { @@ -4833,26 +4997,26 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1386; + this.state = 1350; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 22 || _la === 80) { { - this.state = 1385; + this.state = 1349; this.setQuantifier(); } } - this.state = 1388; + this.state = 1352; (localContext as SetOperationContext)._right = this.queryTerm(2); } break; } } } - this.state = 1393; + this.state = 1357; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 149, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 151, this.context); } } } @@ -4872,17 +5036,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, 42, TrinoSqlParser.RULE_queryPrimary); try { let alternative: number; - this.state = 1410; + this.state = 1374; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_SELECT: localContext = new QueryPrimaryDefaultContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1394; + this.state = 1358; this.querySpecification(); } break; @@ -4890,9 +5054,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TableContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1395; + this.state = 1359; this.match(TrinoSqlParser.KW_TABLE); - this.state = 1396; + this.state = 1360; this.tableRef(); } break; @@ -4900,27 +5064,27 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new InlineTableContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1397; + this.state = 1361; this.match(TrinoSqlParser.KW_VALUES); - this.state = 1398; + this.state = 1362; this.expression(); - this.state = 1403; + this.state = 1367; 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 = 1399; + this.state = 1363; this.match(TrinoSqlParser.T__2); - this.state = 1400; + this.state = 1364; this.expression(); } } } - this.state = 1405; + this.state = 1369; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 150, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 152, this.context); } } break; @@ -4928,11 +5092,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SubqueryContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 1406; + this.state = 1370; this.match(TrinoSqlParser.T__0); - this.state = 1407; + this.state = 1371; this.queryNoWith(); - this.state = 1408; + this.state = 1372; this.match(TrinoSqlParser.T__1); } break; @@ -4956,33 +5120,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, 44, TrinoSqlParser.RULE_sortItem); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1414; + this.state = 1378; 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 = 1412; + this.state = 1376; this.columnRef(); } break; case 2: { - this.state = 1413; + this.state = 1377; this.expression(); } break; } - this.state = 1417; + this.state = 1381; 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 = 1416; + this.state = 1380; localContext._ordering = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 29 || _la === 76)) { @@ -4995,14 +5159,14 @@ export class TrinoSqlParser extends SQLParserBase { } break; } - this.state = 1421; + this.state = 1385; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 186) { { - this.state = 1419; + this.state = 1383; this.match(TrinoSqlParser.KW_NULLS); - this.state = 1420; + this.state = 1384; localContext._nullOrdering = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 102 || _la === 149)) { @@ -5033,115 +5197,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, 46, TrinoSqlParser.RULE_querySpecification); try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 1423; + this.state = 1387; this.match(TrinoSqlParser.KW_SELECT); - this.state = 1425; + this.state = 1389; 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 = 1424; + this.state = 1388; this.setQuantifier(); } break; } - this.state = 1427; + this.state = 1391; this.selectList(); - this.state = 1437; + this.state = 1401; 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 = 1428; + this.state = 1392; this.match(TrinoSqlParser.KW_FROM); - this.state = 1429; + this.state = 1393; this.relation(0); - this.state = 1434; + this.state = 1398; 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 = 1430; + this.state = 1394; this.match(TrinoSqlParser.T__2); - this.state = 1431; + this.state = 1395; this.relation(0); } } } - this.state = 1436; + this.state = 1400; 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 = 1440; + this.state = 1404; 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 = 1439; + this.state = 1403; this.whereClause(); } break; } - this.state = 1445; + this.state = 1409; 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 = 1442; + this.state = 1406; this.match(TrinoSqlParser.KW_GROUP); - this.state = 1443; + this.state = 1407; this.match(TrinoSqlParser.KW_BY); - this.state = 1444; + this.state = 1408; this.groupBy(); } break; } - this.state = 1448; + this.state = 1412; 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 = 1447; + this.state = 1411; this.havingClause(); } break; } - this.state = 1459; + this.state = 1423; 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 = 1450; + this.state = 1414; this.match(TrinoSqlParser.KW_WINDOW); - this.state = 1451; + this.state = 1415; this.windowDefinition(); - this.state = 1456; + this.state = 1420; 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 = 1452; + this.state = 1416; this.match(TrinoSqlParser.T__2); - this.state = 1453; + this.state = 1417; this.windowDefinition(); } } } - this.state = 1458; + this.state = 1422; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 161, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 163, this.context); } } break; @@ -5164,13 +5328,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, 48, TrinoSqlParser.RULE_whereClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 1461; + this.state = 1425; this.match(TrinoSqlParser.KW_WHERE); - this.state = 1462; + this.state = 1426; localContext._where = this.booleanExpression(0); } } @@ -5190,13 +5354,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, 50, TrinoSqlParser.RULE_havingClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 1464; + this.state = 1428; this.match(TrinoSqlParser.KW_HAVING); - this.state = 1465; + this.state = 1429; localContext._having = this.booleanExpression(0); } } @@ -5216,30 +5380,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, 52, TrinoSqlParser.RULE_selectList); try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 1467; + this.state = 1431; this.selectItem(); - this.state = 1472; + this.state = 1436; 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 = 1468; + this.state = 1432; this.match(TrinoSqlParser.T__2); - this.state = 1469; + this.state = 1433; this.selectItem(); } } } - this.state = 1474; + this.state = 1438; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 163, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 165, this.context); } } } @@ -5259,40 +5423,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, 54, TrinoSqlParser.RULE_groupBy); try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 1476; + this.state = 1440; 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 = 1475; + this.state = 1439; this.setQuantifier(); } break; } - this.state = 1478; + this.state = 1442; this.groupingElement(); - this.state = 1483; + this.state = 1447; 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 = 1479; + this.state = 1443; this.match(TrinoSqlParser.T__2); - this.state = 1480; + this.state = 1444; this.groupingElement(); } } } - this.state = 1485; + this.state = 1449; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 165, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 167, this.context); } } } @@ -5312,26 +5476,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, 56, TrinoSqlParser.RULE_partitionBy); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1486; + this.state = 1450; this.expression(); - this.state = 1491; + this.state = 1455; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1487; + this.state = 1451; this.match(TrinoSqlParser.T__2); - this.state = 1488; + this.state = 1452; this.expression(); } } - this.state = 1493; + this.state = 1457; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -5353,17 +5517,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, 58, TrinoSqlParser.RULE_groupingElement); let _la: number; try { - this.state = 1534; + this.state = 1498; 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 = 1494; + this.state = 1458; this.groupingSet(); } break; @@ -5371,37 +5535,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RollupContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1495; + this.state = 1459; this.match(TrinoSqlParser.KW_ROLLUP); - this.state = 1496; + this.state = 1460; this.match(TrinoSqlParser.T__0); - this.state = 1505; + this.state = 1469; 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 = 1497; + this.state = 1461; this.groupingSet(); - this.state = 1502; + this.state = 1466; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1498; + this.state = 1462; this.match(TrinoSqlParser.T__2); - this.state = 1499; + this.state = 1463; this.groupingSet(); } } - this.state = 1504; + this.state = 1468; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } break; } - this.state = 1507; + this.state = 1471; this.match(TrinoSqlParser.T__1); } break; @@ -5409,37 +5573,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CubeContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1508; + this.state = 1472; this.match(TrinoSqlParser.KW_CUBE); - this.state = 1509; + this.state = 1473; this.match(TrinoSqlParser.T__0); - this.state = 1518; + this.state = 1482; 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 = 1510; + this.state = 1474; this.groupingSet(); - this.state = 1515; + this.state = 1479; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1511; + this.state = 1475; this.match(TrinoSqlParser.T__2); - this.state = 1512; + this.state = 1476; this.groupingSet(); } } - this.state = 1517; + this.state = 1481; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } break; } - this.state = 1520; + this.state = 1484; this.match(TrinoSqlParser.T__1); } break; @@ -5447,31 +5611,31 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new MultipleGroupingSetsContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 1521; + this.state = 1485; this.match(TrinoSqlParser.KW_GROUPING); - this.state = 1522; + this.state = 1486; this.match(TrinoSqlParser.KW_SETS); - this.state = 1523; + this.state = 1487; this.match(TrinoSqlParser.T__0); - this.state = 1524; + this.state = 1488; this.groupingSet(); - this.state = 1529; + this.state = 1493; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1525; + this.state = 1489; this.match(TrinoSqlParser.T__2); - this.state = 1526; + this.state = 1490; this.groupingSet(); } } - this.state = 1531; + this.state = 1495; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1532; + this.state = 1496; this.match(TrinoSqlParser.T__1); } break; @@ -5493,51 +5657,51 @@ 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, 60, TrinoSqlParser.RULE_groupingSet); let _la: number; try { - this.state = 1549; + this.state = 1513; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 175, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 177, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1536; + this.state = 1500; this.match(TrinoSqlParser.T__0); - this.state = 1545; + this.state = 1509; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 174, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 176, this.context) ) { case 1: { - this.state = 1537; + this.state = 1501; this.groupingTerm(); - this.state = 1542; + this.state = 1506; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1538; + this.state = 1502; this.match(TrinoSqlParser.T__2); - this.state = 1539; + this.state = 1503; this.groupingTerm(); } } - this.state = 1544; + this.state = 1508; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } break; } - this.state = 1547; + this.state = 1511; this.match(TrinoSqlParser.T__1); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1548; + this.state = 1512; this.groupingTerm(); } break; @@ -5559,22 +5723,22 @@ export class TrinoSqlParser extends SQLParserBase { } public groupingTerm(): GroupingTermContext { let localContext = new GroupingTermContext(this.context, this.state); - this.enterRule(localContext, 68, TrinoSqlParser.RULE_groupingTerm); + this.enterRule(localContext, 62, TrinoSqlParser.RULE_groupingTerm); try { - this.state = 1553; + this.state = 1517; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 176, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 178, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1551; + this.state = 1515; this.columnRef(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1552; + this.state = 1516; this.expression(); } break; @@ -5596,19 +5760,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, 64, TrinoSqlParser.RULE_windowDefinition); try { this.enterOuterAlt(localContext, 1); { - this.state = 1555; + this.state = 1519; localContext._name = this.identifier(); - this.state = 1556; + this.state = 1520; this.match(TrinoSqlParser.KW_AS); - this.state = 1557; + this.state = 1521; this.match(TrinoSqlParser.T__0); - this.state = 1558; + this.state = 1522; this.windowSpecification(); - this.state = 1559; + this.state = 1523; this.match(TrinoSqlParser.T__1); } } @@ -5628,71 +5792,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, 66, TrinoSqlParser.RULE_windowSpecification); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1562; + this.state = 1526; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 177, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 179, this.context) ) { case 1: { - this.state = 1561; + this.state = 1525; localContext._existingWindowName = this.identifier(); } break; } - this.state = 1567; + this.state = 1531; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 202) { { - this.state = 1564; + this.state = 1528; this.match(TrinoSqlParser.KW_PARTITION); - this.state = 1565; + this.state = 1529; this.match(TrinoSqlParser.KW_BY); - this.state = 1566; + this.state = 1530; this.partitionBy(); } } - this.state = 1579; + this.state = 1543; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 196) { { - this.state = 1569; + this.state = 1533; this.match(TrinoSqlParser.KW_ORDER); - this.state = 1570; + this.state = 1534; this.match(TrinoSqlParser.KW_BY); - this.state = 1571; + this.state = 1535; this.sortItem(); - this.state = 1576; + this.state = 1540; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1572; + this.state = 1536; this.match(TrinoSqlParser.T__2); - this.state = 1573; + this.state = 1537; this.sortItem(); } } - this.state = 1578; + this.state = 1542; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1582; + this.state = 1546; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 117 || _la === 169 || _la === 220 || _la === 241) { { - this.state = 1581; + this.state = 1545; this.windowFrame(); } } @@ -5715,30 +5879,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, 68, TrinoSqlParser.RULE_namedQuery); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1584; + this.state = 1548; localContext._name = this.identifier(); - this.state = 1586; + this.state = 1550; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 1585; + this.state = 1549; this.columnAliases(); } } - this.state = 1588; + this.state = 1552; this.match(TrinoSqlParser.KW_AS); - this.state = 1589; + this.state = 1553; this.match(TrinoSqlParser.T__0); - this.state = 1590; + this.state = 1554; this.query(); - this.state = 1591; + this.state = 1555; this.match(TrinoSqlParser.T__1); } } @@ -5758,12 +5922,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, 70, TrinoSqlParser.RULE_setQuantifier); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1593; + this.state = 1557; _la = this.tokenStream.LA(1); if(!(_la === 22 || _la === 80)) { this.errorHandler.recoverInline(this); @@ -5790,47 +5954,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, 72, TrinoSqlParser.RULE_selectItem); let _la: number; try { - this.state = 1611; + this.state = 1575; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 187, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 189, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1597; + this.state = 1561; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 183, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 185, this.context) ) { case 1: { - this.state = 1595; + this.state = 1559; this.selectLiteralColumnName(); } break; case 2: { - this.state = 1596; + this.state = 1560; this.selectExpressionColumnName(); } break; } - this.state = 1603; + this.state = 1567; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 185, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 187, this.context) ) { case 1: { - this.state = 1600; + this.state = 1564; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 1599; + this.state = 1563; this.match(TrinoSqlParser.KW_AS); } } - this.state = 1602; + this.state = 1566; localContext._alias = this.identifier(); } break; @@ -5840,16 +6004,16 @@ export class TrinoSqlParser extends SQLParserBase { case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1605; + this.state = 1569; this.tableAllColumns(); - this.state = 1608; + this.state = 1572; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 186, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 188, this.context) ) { case 1: { - this.state = 1606; + this.state = 1570; this.match(TrinoSqlParser.KW_AS); - this.state = 1607; + this.state = 1571; this.columnAliases(); } break; @@ -5859,7 +6023,7 @@ export class TrinoSqlParser extends SQLParserBase { case 3: this.enterOuterAlt(localContext, 3); { - this.state = 1610; + this.state = 1574; this.selectAllWithoutTable(); } break; @@ -5881,11 +6045,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, 74, TrinoSqlParser.RULE_selectAllWithoutTable); try { this.enterOuterAlt(localContext, 1); { - this.state = 1613; + this.state = 1577; this.match(TrinoSqlParser.ASTERISK); } } @@ -5905,15 +6069,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, 76, TrinoSqlParser.RULE_tableAllColumns); try { this.enterOuterAlt(localContext, 1); { - this.state = 1615; + this.state = 1579; this.primaryExpression(0); - this.state = 1616; + this.state = 1580; this.match(TrinoSqlParser.T__3); - this.state = 1617; + this.state = 1581; this.match(TrinoSqlParser.ASTERISK); } } @@ -5933,11 +6097,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, 78, TrinoSqlParser.RULE_selectLiteralColumnName); try { this.enterOuterAlt(localContext, 1); { - this.state = 1619; + this.state = 1583; this.columnRef(); } } @@ -5957,11 +6121,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, 80, TrinoSqlParser.RULE_selectExpressionColumnName); try { this.enterOuterAlt(localContext, 1); { - this.state = 1621; + this.state = 1585; this.expression(); } } @@ -5991,8 +6155,8 @@ 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 = 82; + this.enterRecursionRule(localContext, 82, TrinoSqlParser.RULE_relation, _p); try { let alternative: number; this.enterOuterAlt(localContext, 1); @@ -6002,13 +6166,13 @@ export class TrinoSqlParser extends SQLParserBase { this.context = localContext; previousContext = localContext; - this.state = 1624; + this.state = 1588; this.sampledRelation(); } this.context!.stop = this.tokenStream.LT(-1); - this.state = 1644; + this.state = 1608; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 189, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 191, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { if (this._parseListeners != null) { @@ -6020,20 +6184,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 = 1626; + this.state = 1590; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 1640; + this.state = 1604; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_CROSS: { - this.state = 1627; + this.state = 1591; this.match(TrinoSqlParser.KW_CROSS); - this.state = 1628; + this.state = 1592; this.match(TrinoSqlParser.KW_JOIN); - this.state = 1629; + this.state = 1593; (localContext as JoinRelationContext)._right = this.sampledRelation(); } break; @@ -6043,25 +6207,25 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_LEFT: case TrinoSqlParser.KW_RIGHT: { - this.state = 1630; + this.state = 1594; this.joinType(); - this.state = 1631; + this.state = 1595; this.match(TrinoSqlParser.KW_JOIN); - this.state = 1632; + this.state = 1596; (localContext as JoinRelationContext)._rightRelation = this.relation(0); - this.state = 1633; + this.state = 1597; this.joinCriteria(); } break; case TrinoSqlParser.KW_NATURAL: { - this.state = 1635; + this.state = 1599; this.match(TrinoSqlParser.KW_NATURAL); - this.state = 1636; + this.state = 1600; this.joinType(); - this.state = 1637; + this.state = 1601; this.match(TrinoSqlParser.KW_JOIN); - this.state = 1638; + this.state = 1602; (localContext as JoinRelationContext)._right = this.sampledRelation(); } break; @@ -6071,9 +6235,9 @@ export class TrinoSqlParser extends SQLParserBase { } } } - this.state = 1646; + this.state = 1610; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 189, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 191, this.context); } } } @@ -6093,22 +6257,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, 84, TrinoSqlParser.RULE_joinType); let _la: number; try { - this.state = 1662; + this.state = 1626; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_INNER: case TrinoSqlParser.KW_JOIN: this.enterOuterAlt(localContext, 1); { - this.state = 1648; + this.state = 1612; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 126) { { - this.state = 1647; + this.state = 1611; this.match(TrinoSqlParser.KW_INNER); } } @@ -6118,14 +6282,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_LEFT: this.enterOuterAlt(localContext, 2); { - this.state = 1650; + this.state = 1614; this.match(TrinoSqlParser.KW_LEFT); - this.state = 1652; + this.state = 1616; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 198) { { - this.state = 1651; + this.state = 1615; this.match(TrinoSqlParser.KW_OUTER); } } @@ -6135,14 +6299,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_RIGHT: this.enterOuterAlt(localContext, 3); { - this.state = 1654; + this.state = 1618; this.match(TrinoSqlParser.KW_RIGHT); - this.state = 1656; + this.state = 1620; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 198) { { - this.state = 1655; + this.state = 1619; this.match(TrinoSqlParser.KW_OUTER); } } @@ -6152,14 +6316,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_FULL: this.enterOuterAlt(localContext, 4); { - this.state = 1658; + this.state = 1622; this.match(TrinoSqlParser.KW_FULL); - this.state = 1660; + this.state = 1624; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 198) { { - this.state = 1659; + this.state = 1623; this.match(TrinoSqlParser.KW_OUTER); } } @@ -6186,33 +6350,33 @@ export class TrinoSqlParser extends SQLParserBase { } public joinCriteria(): JoinCriteriaContext { let localContext = new JoinCriteriaContext(this.context, this.state); - this.enterRule(localContext, 92, TrinoSqlParser.RULE_joinCriteria); + this.enterRule(localContext, 86, TrinoSqlParser.RULE_joinCriteria); let _la: number; try { - this.state = 1682; + this.state = 1646; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ON: this.enterOuterAlt(localContext, 1); { - this.state = 1664; + this.state = 1628; this.match(TrinoSqlParser.KW_ON); - this.state = 1668; + this.state = 1632; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 195, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 197, this.context) ) { case 1: { - this.state = 1665; + this.state = 1629; this.joinColumnEquality(); } break; case 2: { - this.state = 1666; + this.state = 1630; if (!(this.notEntityCollecting())) { throw this.createFailedPredicateException("this.notEntityCollecting()"); } - this.state = 1667; + this.state = 1631; this.booleanExpression(0); } break; @@ -6222,29 +6386,29 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_USING: this.enterOuterAlt(localContext, 2); { - this.state = 1670; + this.state = 1634; this.match(TrinoSqlParser.KW_USING); - this.state = 1671; + this.state = 1635; this.match(TrinoSqlParser.T__0); - this.state = 1672; + this.state = 1636; this.identifier(); - this.state = 1677; + this.state = 1641; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1673; + this.state = 1637; this.match(TrinoSqlParser.T__2); - this.state = 1674; + this.state = 1638; this.identifier(); } } - this.state = 1679; + this.state = 1643; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1680; + this.state = 1644; this.match(TrinoSqlParser.T__1); } break; @@ -6268,15 +6432,15 @@ export class TrinoSqlParser extends SQLParserBase { } public joinColumnEquality(): JoinColumnEqualityContext { let localContext = new JoinColumnEqualityContext(this.context, this.state); - this.enterRule(localContext, 94, TrinoSqlParser.RULE_joinColumnEquality); + this.enterRule(localContext, 88, TrinoSqlParser.RULE_joinColumnEquality); try { this.enterOuterAlt(localContext, 1); { - this.state = 1684; + this.state = 1648; localContext._left = this.joinColumnReference(); - this.state = 1685; + this.state = 1649; this.match(TrinoSqlParser.EQ); - this.state = 1686; + this.state = 1650; localContext._right = this.joinColumnReference(); } } @@ -6296,30 +6460,30 @@ export class TrinoSqlParser extends SQLParserBase { } public joinColumnReference(): JoinColumnReferenceContext { let localContext = new JoinColumnReferenceContext(this.context, this.state); - this.enterRule(localContext, 96, TrinoSqlParser.RULE_joinColumnReference); + this.enterRule(localContext, 90, TrinoSqlParser.RULE_joinColumnReference); try { - this.state = 1694; + this.state = 1658; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 198, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 200, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1688; + this.state = 1652; this.identifier(); - this.state = 1689; + this.state = 1653; this.match(TrinoSqlParser.DOT); - this.state = 1690; + this.state = 1654; if (!(this.entityCollecting)) { throw this.createFailedPredicateException("this.entityCollecting"); } - this.state = 1691; + this.state = 1655; this.emptyColumn(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1693; + this.state = 1657; this.columnName(); } break; @@ -6341,26 +6505,34 @@ export class TrinoSqlParser extends SQLParserBase { } public sampledRelation(): SampledRelationContext { let localContext = new SampledRelationContext(this.context, this.state); - this.enterRule(localContext, 98, TrinoSqlParser.RULE_sampledRelation); + this.enterRule(localContext, 92, TrinoSqlParser.RULE_sampledRelation); + let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1696; + this.state = 1660; this.patternRecognition(); - this.state = 1703; + this.state = 1667; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 199, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 201, this.context) ) { case 1: { - this.state = 1697; + this.state = 1661; this.match(TrinoSqlParser.KW_TABLESAMPLE); - this.state = 1698; - this.sampleType(); - this.state = 1699; + this.state = 1662; + _la = this.tokenStream.LA(1); + if(!(_la === 33 || _la === 260)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1663; this.match(TrinoSqlParser.T__0); - this.state = 1700; + this.state = 1664; localContext._percentage = this.expression(); - this.state = 1701; + this.state = 1665; this.match(TrinoSqlParser.T__1); } break; @@ -6381,145 +6553,58 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public sampleType(): SampleTypeContext { - let localContext = new SampleTypeContext(this.context, this.state); - this.enterRule(localContext, 100, TrinoSqlParser.RULE_sampleType); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1705; - _la = this.tokenStream.LA(1); - if(!(_la === 33 || _la === 260)) { - 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 trimsSpecification(): TrimsSpecificationContext { - let localContext = new TrimsSpecificationContext(this.context, this.state); - this.enterRule(localContext, 102, TrinoSqlParser.RULE_trimsSpecification); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1707; - _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, 104, TrinoSqlParser.RULE_listAggOverflowBehavior); + this.enterRule(localContext, 94, TrinoSqlParser.RULE_listAggOverflowBehavior); let _la: number; try { - this.state = 1715; + this.state = 1680; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ERROR: this.enterOuterAlt(localContext, 1); { - this.state = 1709; + this.state = 1669; this.match(TrinoSqlParser.KW_ERROR); } break; case TrinoSqlParser.KW_TRUNCATE: this.enterOuterAlt(localContext, 2); { - this.state = 1710; + this.state = 1670; this.match(TrinoSqlParser.KW_TRUNCATE); - this.state = 1712; + this.state = 1672; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 327 || _la === 328) { { - this.state = 1711; + this.state = 1671; this.string_(); } } - this.state = 1714; - 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, 106, TrinoSqlParser.RULE_listAggCountIndication); - try { - this.state = 1721; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_WITH: - this.enterOuterAlt(localContext, 1); - { - this.state = 1717; - this.match(TrinoSqlParser.KW_WITH); - this.state = 1718; - this.match(TrinoSqlParser.KW_COUNT); + this.state = 1678; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_WITH: + { + this.state = 1674; + this.match(TrinoSqlParser.KW_WITH); + this.state = 1675; + this.match(TrinoSqlParser.KW_COUNT); + } + break; + case TrinoSqlParser.KW_WITHOUT: + { + this.state = 1676; + this.match(TrinoSqlParser.KW_WITHOUT); + this.state = 1677; + this.match(TrinoSqlParser.KW_COUNT); + } + break; + default: + throw new antlr.NoViableAltException(this); } - break; - case TrinoSqlParser.KW_WITHOUT: - this.enterOuterAlt(localContext, 2); - { - this.state = 1719; - this.match(TrinoSqlParser.KW_WITHOUT); - this.state = 1720; - this.match(TrinoSqlParser.KW_COUNT); } break; default: @@ -6542,124 +6627,124 @@ export class TrinoSqlParser extends SQLParserBase { } public patternRecognition(): PatternRecognitionContext { let localContext = new PatternRecognitionContext(this.context, this.state); - this.enterRule(localContext, 108, TrinoSqlParser.RULE_patternRecognition); + this.enterRule(localContext, 96, TrinoSqlParser.RULE_patternRecognition); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1723; + this.state = 1682; this.aliasedRelation(); - this.state = 1799; + this.state = 1758; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 217, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 219, this.context) ) { case 1: { - this.state = 1724; + this.state = 1683; this.match(TrinoSqlParser.KW_MATCH_RECOGNIZE); - this.state = 1725; + this.state = 1684; this.match(TrinoSqlParser.T__0); - this.state = 1729; + this.state = 1688; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 202) { { - this.state = 1726; + this.state = 1685; this.match(TrinoSqlParser.KW_PARTITION); - this.state = 1727; + this.state = 1686; this.match(TrinoSqlParser.KW_BY); - this.state = 1728; + this.state = 1687; this.partitionBy(); } } - this.state = 1741; + this.state = 1700; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 196) { { - this.state = 1731; + this.state = 1690; this.match(TrinoSqlParser.KW_ORDER); - this.state = 1732; + this.state = 1691; this.match(TrinoSqlParser.KW_BY); - this.state = 1733; + this.state = 1692; this.sortItem(); - this.state = 1738; + this.state = 1697; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1734; + this.state = 1693; this.match(TrinoSqlParser.T__2); - this.state = 1735; + this.state = 1694; this.sortItem(); } } - this.state = 1740; + this.state = 1699; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1752; + this.state = 1711; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 169) { { - this.state = 1743; + this.state = 1702; this.match(TrinoSqlParser.KW_MEASURES); - this.state = 1744; + this.state = 1703; this.measureDefinition(); - this.state = 1749; + this.state = 1708; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1745; + this.state = 1704; this.match(TrinoSqlParser.T__2); - this.state = 1746; + this.state = 1705; this.measureDefinition(); } } - this.state = 1751; + this.state = 1710; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1755; + this.state = 1714; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 22 || _la === 192) { { - this.state = 1754; + this.state = 1713; this.rowsPerMatch(); } } - this.state = 1760; + this.state = 1719; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 21) { { - this.state = 1757; + this.state = 1716; this.match(TrinoSqlParser.KW_AFTER); - this.state = 1758; + this.state = 1717; this.match(TrinoSqlParser.KW_MATCH); - this.state = 1759; + this.state = 1718; this.skipTo(); } } - this.state = 1763; + this.state = 1722; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 125 || _la === 248) { { - this.state = 1762; + this.state = 1721; _la = this.tokenStream.LA(1); if(!(_la === 125 || _la === 248)) { this.errorHandler.recoverInline(this); @@ -6671,87 +6756,87 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 1765; + this.state = 1724; this.match(TrinoSqlParser.KW_PATTERN); - this.state = 1766; + this.state = 1725; this.match(TrinoSqlParser.T__0); - this.state = 1767; + this.state = 1726; this.rowPattern(0); - this.state = 1768; + this.state = 1727; this.match(TrinoSqlParser.T__1); - this.state = 1778; + this.state = 1737; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 258) { { - this.state = 1769; + this.state = 1728; this.match(TrinoSqlParser.KW_SUBSET); - this.state = 1770; + this.state = 1729; this.subsetDefinition(); - this.state = 1775; + this.state = 1734; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1771; + this.state = 1730; this.match(TrinoSqlParser.T__2); - this.state = 1772; + this.state = 1731; this.subsetDefinition(); } } - this.state = 1777; + this.state = 1736; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1780; + this.state = 1739; this.match(TrinoSqlParser.KW_DEFINE); - this.state = 1781; + this.state = 1740; this.variableDefinition(); - this.state = 1786; + this.state = 1745; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1782; + this.state = 1741; this.match(TrinoSqlParser.T__2); - this.state = 1783; + this.state = 1742; this.variableDefinition(); } } - this.state = 1788; + this.state = 1747; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1789; + this.state = 1748; this.match(TrinoSqlParser.T__1); - this.state = 1797; + this.state = 1756; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 216, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 218, this.context) ) { case 1: { - this.state = 1791; + this.state = 1750; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 1790; + this.state = 1749; this.match(TrinoSqlParser.KW_AS); } } - this.state = 1793; + this.state = 1752; this.identifier(); - this.state = 1795; + this.state = 1754; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 215, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 217, this.context) ) { case 1: { - this.state = 1794; + this.state = 1753; this.columnAliases(); } break; @@ -6780,15 +6865,15 @@ export class TrinoSqlParser extends SQLParserBase { } public measureDefinition(): MeasureDefinitionContext { let localContext = new MeasureDefinitionContext(this.context, this.state); - this.enterRule(localContext, 110, TrinoSqlParser.RULE_measureDefinition); + this.enterRule(localContext, 98, TrinoSqlParser.RULE_measureDefinition); try { this.enterOuterAlt(localContext, 1); { - this.state = 1801; + this.state = 1760; this.expression(); - this.state = 1802; + this.state = 1761; this.match(TrinoSqlParser.KW_AS); - this.state = 1803; + this.state = 1762; this.identifier(); } } @@ -6808,46 +6893,76 @@ export class TrinoSqlParser extends SQLParserBase { } public rowsPerMatch(): RowsPerMatchContext { let localContext = new RowsPerMatchContext(this.context, this.state); - this.enterRule(localContext, 112, TrinoSqlParser.RULE_rowsPerMatch); - let _la: number; + this.enterRule(localContext, 100, TrinoSqlParser.RULE_rowsPerMatch); try { - this.state = 1816; + this.state = 1783; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ONE: this.enterOuterAlt(localContext, 1); { - this.state = 1805; + this.state = 1764; this.match(TrinoSqlParser.KW_ONE); - this.state = 1806; + this.state = 1765; this.match(TrinoSqlParser.KW_ROW); - this.state = 1807; + this.state = 1766; this.match(TrinoSqlParser.KW_PER); - this.state = 1808; + this.state = 1767; this.match(TrinoSqlParser.KW_MATCH); } break; case TrinoSqlParser.KW_ALL: this.enterOuterAlt(localContext, 2); { - this.state = 1809; + this.state = 1768; this.match(TrinoSqlParser.KW_ALL); - this.state = 1810; + this.state = 1769; this.match(TrinoSqlParser.KW_ROWS); - this.state = 1811; + this.state = 1770; this.match(TrinoSqlParser.KW_PER); - this.state = 1812; + this.state = 1771; this.match(TrinoSqlParser.KW_MATCH); - this.state = 1814; + this.state = 1781; 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 = 1772; + this.match(TrinoSqlParser.KW_SHOW); + this.state = 1773; + this.match(TrinoSqlParser.KW_EMPTY); + this.state = 1774; + this.match(TrinoSqlParser.KW_MATCHES); + } + break; + case TrinoSqlParser.KW_OMIT: + { + this.state = 1775; + this.match(TrinoSqlParser.KW_OMIT); + this.state = 1776; + this.match(TrinoSqlParser.KW_EMPTY); + this.state = 1777; + this.match(TrinoSqlParser.KW_MATCHES); + } + break; + case TrinoSqlParser.KW_WITH: { - this.state = 1813; - this.emptyMatchHandling(); + this.state = 1778; + this.match(TrinoSqlParser.KW_WITH); + this.state = 1779; + this.match(TrinoSqlParser.KW_UNMATCHED); + this.state = 1780; + 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: @@ -6868,131 +6983,73 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public emptyMatchHandling(): EmptyMatchHandlingContext { - let localContext = new EmptyMatchHandlingContext(this.context, this.state); - this.enterRule(localContext, 114, TrinoSqlParser.RULE_emptyMatchHandling); + public skipTo(): SkipToContext { + let localContext = new SkipToContext(this.context, this.state); + this.enterRule(localContext, 102, TrinoSqlParser.RULE_skipTo); try { - this.state = 1827; + this.state = 1804; this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_SHOW: + switch (this.interpreter.adaptivePredict(this.tokenStream, 222, this.context) ) { + case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1818; - this.match(TrinoSqlParser.KW_SHOW); - this.state = 1819; - this.match(TrinoSqlParser.KW_EMPTY); - this.state = 1820; - this.match(TrinoSqlParser.KW_MATCHES); + this.state = 1785; + this.match(TrinoSqlParser.T__4); + this.state = 1786; + this.match(TrinoSqlParser.KW_TO); + this.state = 1787; + this.match(TrinoSqlParser.KW_NEXT); + this.state = 1788; + this.match(TrinoSqlParser.KW_ROW); } break; - case TrinoSqlParser.KW_OMIT: + case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1821; - this.match(TrinoSqlParser.KW_OMIT); - this.state = 1822; - this.match(TrinoSqlParser.KW_EMPTY); - this.state = 1823; - this.match(TrinoSqlParser.KW_MATCHES); + this.state = 1789; + this.match(TrinoSqlParser.T__4); + this.state = 1790; + this.match(TrinoSqlParser.KW_PAST); + this.state = 1791; + this.match(TrinoSqlParser.KW_LAST); + this.state = 1792; + this.match(TrinoSqlParser.KW_ROW); } break; - case TrinoSqlParser.KW_WITH: + case 3: this.enterOuterAlt(localContext, 3); { - this.state = 1824; - this.match(TrinoSqlParser.KW_WITH); - this.state = 1825; - this.match(TrinoSqlParser.KW_UNMATCHED); - this.state = 1826; - this.match(TrinoSqlParser.KW_ROWS); - } - 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 skipTo(): SkipToContext { - let localContext = new SkipToContext(this.context, this.state); - this.enterRule(localContext, 116, TrinoSqlParser.RULE_skipTo); - try { - this.state = 1848; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 221, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); - { - this.state = 1829; - this.match(TrinoSqlParser.T__4); - this.state = 1830; - this.match(TrinoSqlParser.KW_TO); - this.state = 1831; - this.match(TrinoSqlParser.KW_NEXT); - this.state = 1832; - this.match(TrinoSqlParser.KW_ROW); - } - break; - case 2: - this.enterOuterAlt(localContext, 2); - { - this.state = 1833; - this.match(TrinoSqlParser.T__4); - this.state = 1834; - this.match(TrinoSqlParser.KW_PAST); - this.state = 1835; - this.match(TrinoSqlParser.KW_LAST); - this.state = 1836; - this.match(TrinoSqlParser.KW_ROW); - } - break; - case 3: - this.enterOuterAlt(localContext, 3); - { - this.state = 1837; - this.match(TrinoSqlParser.T__4); - this.state = 1838; - this.match(TrinoSqlParser.KW_TO); - this.state = 1839; - this.match(TrinoSqlParser.KW_FIRST); - this.state = 1840; - this.identifier(); + this.state = 1793; + this.match(TrinoSqlParser.T__4); + this.state = 1794; + this.match(TrinoSqlParser.KW_TO); + this.state = 1795; + this.match(TrinoSqlParser.KW_FIRST); + this.state = 1796; + this.identifier(); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 1841; + this.state = 1797; this.match(TrinoSqlParser.T__4); - this.state = 1842; + this.state = 1798; this.match(TrinoSqlParser.KW_TO); - this.state = 1843; + this.state = 1799; this.match(TrinoSqlParser.KW_LAST); - this.state = 1844; + this.state = 1800; this.identifier(); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 1845; + this.state = 1801; this.match(TrinoSqlParser.T__4); - this.state = 1846; + this.state = 1802; this.match(TrinoSqlParser.KW_TO); - this.state = 1847; + this.state = 1803; this.identifier(); } break; @@ -7014,38 +7071,38 @@ export class TrinoSqlParser extends SQLParserBase { } public subsetDefinition(): SubsetDefinitionContext { let localContext = new SubsetDefinitionContext(this.context, this.state); - this.enterRule(localContext, 118, TrinoSqlParser.RULE_subsetDefinition); + this.enterRule(localContext, 104, TrinoSqlParser.RULE_subsetDefinition); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1850; + this.state = 1806; localContext._name = this.identifier(); - this.state = 1851; + this.state = 1807; this.match(TrinoSqlParser.EQ); - this.state = 1852; + this.state = 1808; this.match(TrinoSqlParser.T__0); - this.state = 1853; + this.state = 1809; localContext._identifier = this.identifier(); localContext._union.push(localContext._identifier); - this.state = 1858; + this.state = 1814; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1854; + this.state = 1810; this.match(TrinoSqlParser.T__2); - this.state = 1855; + this.state = 1811; localContext._identifier = this.identifier(); localContext._union.push(localContext._identifier); } } - this.state = 1860; + this.state = 1816; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1861; + this.state = 1817; this.match(TrinoSqlParser.T__1); } } @@ -7065,15 +7122,15 @@ export class TrinoSqlParser extends SQLParserBase { } public variableDefinition(): VariableDefinitionContext { let localContext = new VariableDefinitionContext(this.context, this.state); - this.enterRule(localContext, 120, TrinoSqlParser.RULE_variableDefinition); + this.enterRule(localContext, 106, TrinoSqlParser.RULE_variableDefinition); try { this.enterOuterAlt(localContext, 1); { - this.state = 1863; + this.state = 1819; this.identifier(); - this.state = 1864; + this.state = 1820; this.match(TrinoSqlParser.KW_AS); - this.state = 1865; + this.state = 1821; this.expression(); } } @@ -7093,36 +7150,36 @@ export class TrinoSqlParser extends SQLParserBase { } public aliasedRelation(): AliasedRelationContext { let localContext = new AliasedRelationContext(this.context, this.state); - this.enterRule(localContext, 122, TrinoSqlParser.RULE_aliasedRelation); + this.enterRule(localContext, 108, TrinoSqlParser.RULE_aliasedRelation); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1867; + this.state = 1823; this.relationPrimary(); - this.state = 1875; + this.state = 1831; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 225, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 226, this.context) ) { case 1: { - this.state = 1869; + this.state = 1825; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 1868; + this.state = 1824; this.match(TrinoSqlParser.KW_AS); } } - this.state = 1871; + this.state = 1827; localContext._alias = this.identifier(); - this.state = 1873; + this.state = 1829; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 224, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 225, this.context) ) { case 1: { - this.state = 1872; + this.state = 1828; this.columnAliases(); } break; @@ -7148,32 +7205,32 @@ export class TrinoSqlParser extends SQLParserBase { } public columnListCreate(): ColumnListCreateContext { let localContext = new ColumnListCreateContext(this.context, this.state); - this.enterRule(localContext, 124, TrinoSqlParser.RULE_columnListCreate); + this.enterRule(localContext, 110, TrinoSqlParser.RULE_columnListCreate); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1877; + this.state = 1833; this.match(TrinoSqlParser.T__0); - this.state = 1878; + this.state = 1834; this.columnNameCreate(); - this.state = 1883; + this.state = 1839; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1879; + this.state = 1835; this.match(TrinoSqlParser.T__2); - this.state = 1880; + this.state = 1836; this.columnNameCreate(); } } - this.state = 1885; + this.state = 1841; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1886; + this.state = 1842; this.match(TrinoSqlParser.T__1); } } @@ -7193,32 +7250,32 @@ export class TrinoSqlParser extends SQLParserBase { } public columnList(): ColumnListContext { let localContext = new ColumnListContext(this.context, this.state); - this.enterRule(localContext, 126, TrinoSqlParser.RULE_columnList); + this.enterRule(localContext, 112, TrinoSqlParser.RULE_columnList); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1888; + this.state = 1844; this.match(TrinoSqlParser.T__0); - this.state = 1889; + this.state = 1845; this.columnRef(); - this.state = 1894; + this.state = 1850; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1890; + this.state = 1846; this.match(TrinoSqlParser.T__2); - this.state = 1891; + this.state = 1847; this.columnRef(); } } - this.state = 1896; + this.state = 1852; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1897; + this.state = 1853; this.match(TrinoSqlParser.T__1); } } @@ -7238,32 +7295,32 @@ export class TrinoSqlParser extends SQLParserBase { } public columnAliases(): ColumnAliasesContext { let localContext = new ColumnAliasesContext(this.context, this.state); - this.enterRule(localContext, 128, TrinoSqlParser.RULE_columnAliases); + this.enterRule(localContext, 114, TrinoSqlParser.RULE_columnAliases); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1899; + this.state = 1855; this.match(TrinoSqlParser.T__0); - this.state = 1900; + this.state = 1856; this.identifier(); - this.state = 1905; + this.state = 1861; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1901; + this.state = 1857; this.match(TrinoSqlParser.T__2); - this.state = 1902; + this.state = 1858; this.identifier(); } } - this.state = 1907; + this.state = 1863; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1908; + this.state = 1864; this.match(TrinoSqlParser.T__1); } } @@ -7283,24 +7340,40 @@ export class TrinoSqlParser extends SQLParserBase { } public relationPrimary(): RelationPrimaryContext { let localContext = new RelationPrimaryContext(this.context, this.state); - this.enterRule(localContext, 130, TrinoSqlParser.RULE_relationPrimary); + this.enterRule(localContext, 116, TrinoSqlParser.RULE_relationPrimary); + let _la: number; try { - this.state = 1919; + this.state = 1879; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 230, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 231, this.context) ) { case 1: localContext = new TableNameContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1910; + this.state = 1866; this.tableOrViewName(); - this.state = 1912; + this.state = 1872; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 229, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 230, this.context) ) { case 1: { - this.state = 1911; - this.queryPeriod(); + this.state = 1867; + this.match(TrinoSqlParser.KW_FOR); + this.state = 1868; + _la = this.tokenStream.LA(1); + if(!(_la === 269 || _la === 299)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1869; + this.match(TrinoSqlParser.KW_AS); + this.state = 1870; + this.match(TrinoSqlParser.KW_OF); + this.state = 1871; + (localContext as TableNameContext)._end = this.valueExpression(0); } break; } @@ -7310,7 +7383,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExpressionSourceTableContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1914; + this.state = 1874; this.relationSourceTable(); } break; @@ -7318,11 +7391,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ParenthesizedRelationContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1915; + this.state = 1875; this.match(TrinoSqlParser.T__0); - this.state = 1916; + this.state = 1876; this.relation(0); - this.state = 1917; + this.state = 1877; this.match(TrinoSqlParser.T__1); } break; @@ -7344,21 +7417,21 @@ export class TrinoSqlParser extends SQLParserBase { } public relationSourceTable(): RelationSourceTableContext { let localContext = new RelationSourceTableContext(this.context, this.state); - this.enterRule(localContext, 132, TrinoSqlParser.RULE_relationSourceTable); + this.enterRule(localContext, 118, TrinoSqlParser.RULE_relationSourceTable); let _la: number; try { - this.state = 1984; + this.state = 1944; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.T__0: localContext = new SubqueryRelationContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1921; + this.state = 1881; this.match(TrinoSqlParser.T__0); - this.state = 1922; + this.state = 1882; this.query(); - this.state = 1923; + this.state = 1883; this.match(TrinoSqlParser.T__1); } break; @@ -7366,38 +7439,38 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UnnestContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1925; + this.state = 1885; this.match(TrinoSqlParser.KW_UNNEST); - this.state = 1926; + this.state = 1886; this.match(TrinoSqlParser.T__0); - this.state = 1927; + this.state = 1887; this.expression(); - this.state = 1932; + this.state = 1892; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1928; + this.state = 1888; this.match(TrinoSqlParser.T__2); - this.state = 1929; + this.state = 1889; this.expression(); } } - this.state = 1934; + this.state = 1894; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1935; + this.state = 1895; this.match(TrinoSqlParser.T__1); - this.state = 1938; + this.state = 1898; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 232, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 233, this.context) ) { case 1: { - this.state = 1936; + this.state = 1896; this.match(TrinoSqlParser.KW_WITH); - this.state = 1937; + this.state = 1897; this.match(TrinoSqlParser.KW_ORDINALITY); } break; @@ -7408,13 +7481,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LateralContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1940; + this.state = 1900; this.match(TrinoSqlParser.KW_LATERAL); - this.state = 1941; + this.state = 1901; this.match(TrinoSqlParser.T__0); - this.state = 1942; + this.state = 1902; this.query(); - this.state = 1943; + this.state = 1903; this.match(TrinoSqlParser.T__1); } break; @@ -7422,13 +7495,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TableFunctionInvocationContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 1945; + this.state = 1905; this.match(TrinoSqlParser.KW_TABLE); - this.state = 1946; + this.state = 1906; this.match(TrinoSqlParser.T__0); - this.state = 1947; + this.state = 1907; this.tableFunctionCall(); - this.state = 1948; + this.state = 1908; this.match(TrinoSqlParser.T__1); } break; @@ -7436,72 +7509,72 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonTableContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 1950; + this.state = 1910; this.match(TrinoSqlParser.KW_JSON_TABLE); - this.state = 1951; + this.state = 1911; this.match(TrinoSqlParser.T__0); - this.state = 1952; + this.state = 1912; this.jsonPathInvocation(); - this.state = 1953; + this.state = 1913; this.match(TrinoSqlParser.KW_COLUMNS); - this.state = 1954; + this.state = 1914; this.match(TrinoSqlParser.T__0); - this.state = 1955; + this.state = 1915; this.jsonTableColumn(); - this.state = 1960; + this.state = 1920; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 1956; + this.state = 1916; this.match(TrinoSqlParser.T__2); - this.state = 1957; + this.state = 1917; this.jsonTableColumn(); } } - this.state = 1962; + this.state = 1922; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1963; + this.state = 1923; this.match(TrinoSqlParser.T__1); - this.state = 1975; + this.state = 1935; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 234, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 235, this.context) ) { case 1: { - this.state = 1964; + this.state = 1924; this.match(TrinoSqlParser.KW_PLAN); - this.state = 1965; + this.state = 1925; this.match(TrinoSqlParser.T__0); - this.state = 1966; + this.state = 1926; this.jsonTableSpecificPlan(); - this.state = 1967; + this.state = 1927; this.match(TrinoSqlParser.T__1); } break; case 2: { - this.state = 1969; + this.state = 1929; this.match(TrinoSqlParser.KW_PLAN); - this.state = 1970; + this.state = 1930; this.match(TrinoSqlParser.KW_DEFAULT); - this.state = 1971; + this.state = 1931; this.match(TrinoSqlParser.T__0); - this.state = 1972; + this.state = 1932; this.jsonTableDefaultPlan(); - this.state = 1973; + this.state = 1933; this.match(TrinoSqlParser.T__1); } break; } - this.state = 1980; + this.state = 1940; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 86 || _la === 90) { { - this.state = 1977; + this.state = 1937; _la = this.tokenStream.LA(1); if(!(_la === 86 || _la === 90)) { this.errorHandler.recoverInline(this); @@ -7510,14 +7583,14 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1978; + this.state = 1938; this.match(TrinoSqlParser.KW_ON); - this.state = 1979; + this.state = 1939; this.match(TrinoSqlParser.KW_ERROR); } } - this.state = 1982; + this.state = 1942; this.match(TrinoSqlParser.T__1); } break; @@ -7541,21 +7614,21 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonTableColumn(): JsonTableColumnContext { let localContext = new JsonTableColumnContext(this.context, this.state); - this.enterRule(localContext, 134, TrinoSqlParser.RULE_jsonTableColumn); + this.enterRule(localContext, 120, TrinoSqlParser.RULE_jsonTableColumn); let _la: number; try { - this.state = 2063; + this.state = 2023; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 249, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 250, this.context) ) { case 1: localContext = new OrdinalityColumnContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1986; + this.state = 1946; this.identifier(); - this.state = 1987; + this.state = 1947; this.match(TrinoSqlParser.KW_FOR); - this.state = 1988; + this.state = 1948; this.match(TrinoSqlParser.KW_ORDINALITY); } break; @@ -7563,46 +7636,46 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ValueColumnContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1990; + this.state = 1950; this.identifier(); - this.state = 1991; + this.state = 1951; this.type_(0); - this.state = 1994; + this.state = 1954; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 206) { { - this.state = 1992; + this.state = 1952; this.match(TrinoSqlParser.KW_PATH); - this.state = 1993; + this.state = 1953; this.string_(); } } - this.state = 2000; + this.state = 1960; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 238, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 239, this.context) ) { case 1: { - this.state = 1996; + this.state = 1956; (localContext as ValueColumnContext)._emptyBehavior = this.jsonValueBehavior(); - this.state = 1997; + this.state = 1957; this.match(TrinoSqlParser.KW_ON); - this.state = 1998; + this.state = 1958; this.match(TrinoSqlParser.KW_EMPTY); } break; } - this.state = 2006; + this.state = 1966; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 71 || _la === 90 || _la === 184) { { - this.state = 2002; + this.state = 1962; (localContext as ValueColumnContext)._errorBehavior = this.jsonValueBehavior(); - this.state = 2003; + this.state = 1963; this.match(TrinoSqlParser.KW_ON); - this.state = 2004; + this.state = 1964; this.match(TrinoSqlParser.KW_ERROR); } } @@ -7613,44 +7686,44 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new QueryColumnContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 2008; + this.state = 1968; this.identifier(); - this.state = 2009; + this.state = 1969; this.type_(0); - this.state = 2010; + this.state = 1970; this.match(TrinoSqlParser.KW_FORMAT); - this.state = 2011; + this.state = 1971; this.jsonRepresentation(); - this.state = 2014; + this.state = 1974; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 206) { { - this.state = 2012; + this.state = 1972; this.match(TrinoSqlParser.KW_PATH); - this.state = 2013; + this.state = 1973; this.string_(); } } - this.state = 2019; + this.state = 1979; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 305 || _la === 307) { { - this.state = 2016; + this.state = 1976; this.jsonQueryWrapperBehavior(); - this.state = 2017; + this.state = 1977; this.match(TrinoSqlParser.KW_WRAPPER); } } - this.state = 2028; + this.state = 1988; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 145 || _la === 190) { { - this.state = 2021; + this.state = 1981; _la = this.tokenStream.LA(1); if(!(_la === 145 || _la === 190)) { this.errorHandler.recoverInline(this); @@ -7659,18 +7732,18 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2022; + this.state = 1982; this.match(TrinoSqlParser.KW_QUOTES); - this.state = 2026; + this.state = 1986; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 191) { { - this.state = 2023; + this.state = 1983; this.match(TrinoSqlParser.KW_ON); - this.state = 2024; + this.state = 1984; this.match(TrinoSqlParser.KW_SCALAR); - this.state = 2025; + this.state = 1985; this.match(TrinoSqlParser.KW_TEXT_STRING); } } @@ -7678,30 +7751,30 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2034; + this.state = 1994; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 244, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 245, this.context) ) { case 1: { - this.state = 2030; + this.state = 1990; (localContext as QueryColumnContext)._emptyBehavior = this.jsonQueryBehavior(); - this.state = 2031; + this.state = 1991; this.match(TrinoSqlParser.KW_ON); - this.state = 2032; + this.state = 1992; this.match(TrinoSqlParser.KW_EMPTY); } break; } - this.state = 2040; + this.state = 2000; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 86 || _la === 90 || _la === 184) { { - this.state = 2036; + this.state = 1996; (localContext as QueryColumnContext)._errorBehavior = this.jsonQueryBehavior(); - this.state = 2037; + this.state = 1997; this.match(TrinoSqlParser.KW_ON); - this.state = 2038; + this.state = 1998; this.match(TrinoSqlParser.KW_ERROR); } } @@ -7712,55 +7785,55 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new NestedColumnsContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 2042; + this.state = 2002; this.match(TrinoSqlParser.KW_NESTED); - this.state = 2044; + this.state = 2004; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 206) { { - this.state = 2043; + this.state = 2003; this.match(TrinoSqlParser.KW_PATH); } } - this.state = 2046; + this.state = 2006; this.string_(); - this.state = 2049; + this.state = 2009; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 2047; + this.state = 2007; this.match(TrinoSqlParser.KW_AS); - this.state = 2048; + this.state = 2008; this.identifier(); } } - this.state = 2051; + this.state = 2011; this.match(TrinoSqlParser.KW_COLUMNS); - this.state = 2052; + this.state = 2012; this.match(TrinoSqlParser.T__0); - this.state = 2053; + this.state = 2013; this.jsonTableColumn(); - this.state = 2058; + this.state = 2018; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2054; + this.state = 2014; this.match(TrinoSqlParser.T__2); - this.state = 2055; + this.state = 2015; this.jsonTableColumn(); } } - this.state = 2060; + this.state = 2020; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2061; + this.state = 2021; this.match(TrinoSqlParser.T__1); } break; @@ -7782,17 +7855,17 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonTableSpecificPlan(): JsonTableSpecificPlanContext { let localContext = new JsonTableSpecificPlanContext(this.context, this.state); - this.enterRule(localContext, 136, TrinoSqlParser.RULE_jsonTableSpecificPlan); + this.enterRule(localContext, 122, TrinoSqlParser.RULE_jsonTableSpecificPlan); let _la: number; try { - this.state = 2090; + this.state = 2050; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 252, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 253, this.context) ) { case 1: localContext = new LeafPlanContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2065; + this.state = 2025; this.jsonTablePathName(); } break; @@ -7800,9 +7873,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JoinPlanContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2066; + this.state = 2026; this.jsonTablePathName(); - this.state = 2067; + this.state = 2027; _la = this.tokenStream.LA(1); if(!(_la === 126 || _la === 198)) { this.errorHandler.recoverInline(this); @@ -7811,7 +7884,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2068; + this.state = 2028; this.planPrimary(); } break; @@ -7819,25 +7892,25 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UnionPlanContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 2070; + this.state = 2030; this.planPrimary(); - this.state = 2071; + this.state = 2031; this.match(TrinoSqlParser.KW_UNION); - this.state = 2072; + this.state = 2032; this.planPrimary(); - this.state = 2077; + this.state = 2037; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 282) { { { - this.state = 2073; + this.state = 2033; this.match(TrinoSqlParser.KW_UNION); - this.state = 2074; + this.state = 2034; this.planPrimary(); } } - this.state = 2079; + this.state = 2039; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -7847,25 +7920,25 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CrossPlanContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 2080; + this.state = 2040; this.planPrimary(); - this.state = 2081; + this.state = 2041; this.match(TrinoSqlParser.KW_CROSS); - this.state = 2082; + this.state = 2042; this.planPrimary(); - this.state = 2087; + this.state = 2047; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 55) { { { - this.state = 2083; + this.state = 2043; this.match(TrinoSqlParser.KW_CROSS); - this.state = 2084; + this.state = 2044; this.planPrimary(); } } - this.state = 2089; + this.state = 2049; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -7889,11 +7962,11 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonTablePathName(): JsonTablePathNameContext { let localContext = new JsonTablePathNameContext(this.context, this.state); - this.enterRule(localContext, 138, TrinoSqlParser.RULE_jsonTablePathName); + this.enterRule(localContext, 124, TrinoSqlParser.RULE_jsonTablePathName); try { this.enterOuterAlt(localContext, 1); { - this.state = 2092; + this.state = 2052; this.identifier(); } } @@ -7913,9 +7986,9 @@ export class TrinoSqlParser extends SQLParserBase { } public planPrimary(): PlanPrimaryContext { let localContext = new PlanPrimaryContext(this.context, this.state); - this.enterRule(localContext, 140, TrinoSqlParser.RULE_planPrimary); + this.enterRule(localContext, 126, TrinoSqlParser.RULE_planPrimary); try { - this.state = 2099; + this.state = 2059; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ABSENT: @@ -8138,18 +8211,18 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.BACKQUOTED_IDENTIFIER: this.enterOuterAlt(localContext, 1); { - this.state = 2094; + this.state = 2054; this.jsonTablePathName(); } break; case TrinoSqlParser.T__0: this.enterOuterAlt(localContext, 2); { - this.state = 2095; + this.state = 2055; this.match(TrinoSqlParser.T__0); - this.state = 2096; + this.state = 2056; this.jsonTableSpecificPlan(); - this.state = 2097; + this.state = 2057; this.match(TrinoSqlParser.T__1); } break; @@ -8173,17 +8246,17 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonTableDefaultPlan(): JsonTableDefaultPlanContext { let localContext = new JsonTableDefaultPlanContext(this.context, this.state); - this.enterRule(localContext, 142, TrinoSqlParser.RULE_jsonTableDefaultPlan); + this.enterRule(localContext, 128, TrinoSqlParser.RULE_jsonTableDefaultPlan); let _la: number; try { - this.state = 2111; + this.state = 2071; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_INNER: case TrinoSqlParser.KW_OUTER: this.enterOuterAlt(localContext, 1); { - this.state = 2101; + this.state = 2061; _la = this.tokenStream.LA(1); if(!(_la === 126 || _la === 198)) { this.errorHandler.recoverInline(this); @@ -8192,14 +8265,14 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2104; + this.state = 2064; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 3) { { - this.state = 2102; + this.state = 2062; this.match(TrinoSqlParser.T__2); - this.state = 2103; + this.state = 2063; _la = this.tokenStream.LA(1); if(!(_la === 55 || _la === 282)) { this.errorHandler.recoverInline(this); @@ -8217,7 +8290,7 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_UNION: this.enterOuterAlt(localContext, 2); { - this.state = 2106; + this.state = 2066; _la = this.tokenStream.LA(1); if(!(_la === 55 || _la === 282)) { this.errorHandler.recoverInline(this); @@ -8226,14 +8299,14 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2109; + this.state = 2069; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 3) { { - this.state = 2107; + this.state = 2067; this.match(TrinoSqlParser.T__2); - this.state = 2108; + this.state = 2068; _la = this.tokenStream.LA(1); if(!(_la === 126 || _la === 198)) { this.errorHandler.recoverInline(this); @@ -8267,70 +8340,70 @@ export class TrinoSqlParser extends SQLParserBase { } public tableFunctionCall(): TableFunctionCallContext { let localContext = new TableFunctionCallContext(this.context, this.state); - this.enterRule(localContext, 144, TrinoSqlParser.RULE_tableFunctionCall); + this.enterRule(localContext, 130, TrinoSqlParser.RULE_tableFunctionCall); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2113; + this.state = 2073; this.functionName(); - this.state = 2114; + this.state = 2074; this.match(TrinoSqlParser.T__0); - this.state = 2123; + this.state = 2083; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 258, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 259, this.context) ) { case 1: { - this.state = 2115; + this.state = 2075; this.tableFunctionArgument(); - this.state = 2120; + this.state = 2080; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2116; + this.state = 2076; this.match(TrinoSqlParser.T__2); - this.state = 2117; + this.state = 2077; this.tableFunctionArgument(); } } - this.state = 2122; + this.state = 2082; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } break; } - this.state = 2134; + this.state = 2094; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 53) { { - this.state = 2125; + this.state = 2085; this.match(TrinoSqlParser.KW_COPARTITION); - this.state = 2126; + this.state = 2086; this.coPartitionTables(); - this.state = 2131; + this.state = 2091; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2127; + this.state = 2087; this.match(TrinoSqlParser.T__2); - this.state = 2128; + this.state = 2088; this.coPartitionTables(); } } - this.state = 2133; + this.state = 2093; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2136; + this.state = 2096; this.match(TrinoSqlParser.T__1); } } @@ -8350,40 +8423,40 @@ export class TrinoSqlParser extends SQLParserBase { } public tableFunctionArgument(): TableFunctionArgumentContext { let localContext = new TableFunctionArgumentContext(this.context, this.state); - this.enterRule(localContext, 146, TrinoSqlParser.RULE_tableFunctionArgument); + this.enterRule(localContext, 132, TrinoSqlParser.RULE_tableFunctionArgument); try { this.enterOuterAlt(localContext, 1); { - this.state = 2141; + this.state = 2101; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 261, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 262, this.context) ) { case 1: { - this.state = 2138; + this.state = 2098; this.identifier(); - this.state = 2139; + this.state = 2099; this.match(TrinoSqlParser.T__5); } break; } - this.state = 2146; + this.state = 2106; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 262, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 263, this.context) ) { case 1: { - this.state = 2143; + this.state = 2103; this.tableArgument(); } break; case 2: { - this.state = 2144; + this.state = 2104; this.descriptorArgument(); } break; case 3: { - this.state = 2145; + this.state = 2105; this.expression(); } break; @@ -8406,46 +8479,46 @@ export class TrinoSqlParser extends SQLParserBase { } public tableArgument(): TableArgumentContext { let localContext = new TableArgumentContext(this.context, this.state); - this.enterRule(localContext, 148, TrinoSqlParser.RULE_tableArgument); + this.enterRule(localContext, 134, TrinoSqlParser.RULE_tableArgument); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2148; + this.state = 2108; this.tableArgumentRelation(); - this.state = 2159; + this.state = 2119; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 202) { { - this.state = 2149; + this.state = 2109; this.match(TrinoSqlParser.KW_PARTITION); - this.state = 2150; + this.state = 2110; this.match(TrinoSqlParser.KW_BY); - this.state = 2157; + this.state = 2117; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 264, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 265, this.context) ) { case 1: { - this.state = 2151; + this.state = 2111; this.match(TrinoSqlParser.T__0); - this.state = 2153; + this.state = 2113; 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 = 2152; + this.state = 2112; this.partitionBy(); } } - this.state = 2155; + this.state = 2115; this.match(TrinoSqlParser.T__1); } break; case 2: { - this.state = 2156; + this.state = 2116; this.expression(); } break; @@ -8453,26 +8526,26 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2167; + this.state = 2127; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_PRUNE: { - this.state = 2161; + this.state = 2121; this.match(TrinoSqlParser.KW_PRUNE); - this.state = 2162; + this.state = 2122; this.match(TrinoSqlParser.KW_WHEN); - this.state = 2163; + this.state = 2123; this.match(TrinoSqlParser.KW_EMPTY); } break; case TrinoSqlParser.KW_KEEP: { - this.state = 2164; + this.state = 2124; this.match(TrinoSqlParser.KW_KEEP); - this.state = 2165; + this.state = 2125; this.match(TrinoSqlParser.KW_WHEN); - this.state = 2166; + this.state = 2126; this.match(TrinoSqlParser.KW_EMPTY); } break; @@ -8484,47 +8557,47 @@ export class TrinoSqlParser extends SQLParserBase { default: break; } - this.state = 2185; + this.state = 2145; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 196) { { - this.state = 2169; + this.state = 2129; this.match(TrinoSqlParser.KW_ORDER); - this.state = 2170; + this.state = 2130; this.match(TrinoSqlParser.KW_BY); - this.state = 2183; + this.state = 2143; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 268, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 269, this.context) ) { case 1: { - this.state = 2171; + this.state = 2131; this.match(TrinoSqlParser.T__0); - this.state = 2172; + this.state = 2132; this.sortItem(); - this.state = 2177; + this.state = 2137; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2173; + this.state = 2133; this.match(TrinoSqlParser.T__2); - this.state = 2174; + this.state = 2134; this.sortItem(); } } - this.state = 2179; + this.state = 2139; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2180; + this.state = 2140; this.match(TrinoSqlParser.T__1); } break; case 2: { - this.state = 2182; + this.state = 2142; this.sortItem(); } break; @@ -8550,47 +8623,47 @@ export class TrinoSqlParser extends SQLParserBase { } public tableArgumentRelation(): TableArgumentRelationContext { let localContext = new TableArgumentRelationContext(this.context, this.state); - this.enterRule(localContext, 150, TrinoSqlParser.RULE_tableArgumentRelation); + this.enterRule(localContext, 136, TrinoSqlParser.RULE_tableArgumentRelation); let _la: number; try { - this.state = 2213; + this.state = 2173; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 276, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 277, this.context) ) { case 1: localContext = new TableArgumentTableContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2187; + this.state = 2147; this.match(TrinoSqlParser.KW_TABLE); - this.state = 2188; + this.state = 2148; this.match(TrinoSqlParser.T__0); - this.state = 2189; + this.state = 2149; this.tableRef(); - this.state = 2190; + this.state = 2150; this.match(TrinoSqlParser.T__1); - this.state = 2198; + this.state = 2158; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 272, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 273, this.context) ) { case 1: { - this.state = 2192; + this.state = 2152; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 2191; + this.state = 2151; this.match(TrinoSqlParser.KW_AS); } } - this.state = 2194; + this.state = 2154; this.identifier(); - this.state = 2196; + this.state = 2156; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 2195; + this.state = 2155; this.columnAliases(); } } @@ -8604,37 +8677,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TableArgumentQueryContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2200; + this.state = 2160; this.match(TrinoSqlParser.KW_TABLE); - this.state = 2201; + this.state = 2161; this.match(TrinoSqlParser.T__0); - this.state = 2202; + this.state = 2162; this.query(); - this.state = 2203; + this.state = 2163; this.match(TrinoSqlParser.T__1); - this.state = 2211; + this.state = 2171; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 275, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 276, this.context) ) { case 1: { - this.state = 2205; + this.state = 2165; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 2204; + this.state = 2164; this.match(TrinoSqlParser.KW_AS); } } - this.state = 2207; + this.state = 2167; this.identifier(); - this.state = 2209; + this.state = 2169; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 2208; + this.state = 2168; this.columnAliases(); } } @@ -8662,55 +8735,55 @@ export class TrinoSqlParser extends SQLParserBase { } public descriptorArgument(): DescriptorArgumentContext { let localContext = new DescriptorArgumentContext(this.context, this.state); - this.enterRule(localContext, 152, TrinoSqlParser.RULE_descriptorArgument); + this.enterRule(localContext, 138, TrinoSqlParser.RULE_descriptorArgument); let _la: number; try { - this.state = 2233; + this.state = 2193; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_DESCRIPTOR: this.enterOuterAlt(localContext, 1); { - this.state = 2215; + this.state = 2175; this.match(TrinoSqlParser.KW_DESCRIPTOR); - this.state = 2216; + this.state = 2176; this.match(TrinoSqlParser.T__0); - this.state = 2217; + this.state = 2177; this.descriptorField(); - this.state = 2222; + this.state = 2182; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2218; + this.state = 2178; this.match(TrinoSqlParser.T__2); - this.state = 2219; + this.state = 2179; this.descriptorField(); } } - this.state = 2224; + this.state = 2184; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2225; + this.state = 2185; this.match(TrinoSqlParser.T__1); } break; case TrinoSqlParser.KW_CAST: this.enterOuterAlt(localContext, 2); { - this.state = 2227; + this.state = 2187; this.match(TrinoSqlParser.KW_CAST); - this.state = 2228; + this.state = 2188; this.match(TrinoSqlParser.T__0); - this.state = 2229; + this.state = 2189; this.match(TrinoSqlParser.KW_NULL); - this.state = 2230; + this.state = 2190; this.match(TrinoSqlParser.KW_AS); - this.state = 2231; + this.state = 2191; this.match(TrinoSqlParser.KW_DESCRIPTOR); - this.state = 2232; + this.state = 2192; this.match(TrinoSqlParser.T__1); } break; @@ -8734,19 +8807,19 @@ export class TrinoSqlParser extends SQLParserBase { } public descriptorField(): DescriptorFieldContext { let localContext = new DescriptorFieldContext(this.context, this.state); - this.enterRule(localContext, 154, TrinoSqlParser.RULE_descriptorField); + this.enterRule(localContext, 140, TrinoSqlParser.RULE_descriptorField); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2235; + this.state = 2195; this.identifier(); - this.state = 2237; + this.state = 2197; 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 = 2236; + this.state = 2196; this.type_(0); } } @@ -8769,36 +8842,36 @@ export class TrinoSqlParser extends SQLParserBase { } public coPartitionTables(): CoPartitionTablesContext { let localContext = new CoPartitionTablesContext(this.context, this.state); - this.enterRule(localContext, 156, TrinoSqlParser.RULE_coPartitionTables); + this.enterRule(localContext, 142, TrinoSqlParser.RULE_coPartitionTables); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2239; + this.state = 2199; this.match(TrinoSqlParser.T__0); - this.state = 2240; + this.state = 2200; this.qualifiedName(); - this.state = 2241; + this.state = 2201; this.match(TrinoSqlParser.T__2); - this.state = 2242; + this.state = 2202; this.qualifiedName(); - this.state = 2247; + this.state = 2207; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2243; + this.state = 2203; this.match(TrinoSqlParser.T__2); - this.state = 2244; + this.state = 2204; this.qualifiedName(); } } - this.state = 2249; + this.state = 2209; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2250; + this.state = 2210; this.match(TrinoSqlParser.T__1); } } @@ -8818,11 +8891,11 @@ export class TrinoSqlParser extends SQLParserBase { } public expression(): ExpressionContext { let localContext = new ExpressionContext(this.context, this.state); - this.enterRule(localContext, 158, TrinoSqlParser.RULE_expression); + this.enterRule(localContext, 144, TrinoSqlParser.RULE_expression); try { this.enterOuterAlt(localContext, 1); { - this.state = 2252; + this.state = 2212; this.booleanExpression(0); } } @@ -8852,13 +8925,13 @@ export class TrinoSqlParser extends SQLParserBase { let parentState = this.state; let localContext = new BooleanExpressionContext(this.context, parentState); let previousContext = localContext; - let _startState = 160; - this.enterRecursionRule(localContext, 160, TrinoSqlParser.RULE_booleanExpression, _p); + let _startState = 146; + this.enterRecursionRule(localContext, 146, TrinoSqlParser.RULE_booleanExpression, _p); try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 2261; + this.state = 2221; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.T__0: @@ -9119,14 +9192,14 @@ export class TrinoSqlParser extends SQLParserBase { this.context = localContext; previousContext = localContext; - this.state = 2255; + this.state = 2215; (localContext as PredicatedContext)._valueExpression = this.valueExpression(0); - this.state = 2257; + this.state = 2217; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 281, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 282, this.context) ) { case 1: { - this.state = 2256; + this.state = 2216; this.predicate((localContext as PredicatedContext)._valueExpression); } break; @@ -9138,9 +9211,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LogicalNotContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2259; + this.state = 2219; this.match(TrinoSqlParser.KW_NOT); - this.state = 2260; + this.state = 2220; this.booleanExpression(3); } break; @@ -9148,9 +9221,9 @@ export class TrinoSqlParser extends SQLParserBase { throw new antlr.NoViableAltException(this); } this.context!.stop = this.tokenStream.LT(-1); - this.state = 2271; + this.state = 2231; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 284, 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) { @@ -9158,20 +9231,20 @@ export class TrinoSqlParser extends SQLParserBase { } previousContext = localContext; { - this.state = 2269; + this.state = 2229; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 283, 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 = 2263; + this.state = 2223; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 2264; + this.state = 2224; this.match(TrinoSqlParser.KW_AND); - this.state = 2265; + this.state = 2225; this.booleanExpression(3); } break; @@ -9179,22 +9252,22 @@ export class TrinoSqlParser extends SQLParserBase { { localContext = new OrContext(new BooleanExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_booleanExpression); - this.state = 2266; + this.state = 2226; if (!(this.precpred(this.context, 1))) { throw this.createFailedPredicateException("this.precpred(this.context, 1)"); } - this.state = 2267; + this.state = 2227; this.match(TrinoSqlParser.KW_OR); - this.state = 2268; + this.state = 2228; this.booleanExpression(2); } break; } } } - this.state = 2273; + this.state = 2233; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 284, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 285, this.context); } } } @@ -9214,19 +9287,19 @@ export class TrinoSqlParser extends SQLParserBase { } public predicate(value: antlr.ParserRuleContext): PredicateContext { let localContext = new PredicateContext(this.context, this.state, value); - this.enterRule(localContext, 162, TrinoSqlParser.RULE_predicate); + this.enterRule(localContext, 148, TrinoSqlParser.RULE_predicate); let _la: number; try { - this.state = 2335; + this.state = 2295; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 293, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 294, this.context) ) { case 1: localContext = new ComparisonContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2274; + this.state = 2234; this.comparisonOperator(); - this.state = 2275; + this.state = 2235; (localContext as ComparisonContext)._right = this.valueExpression(0); } break; @@ -9234,15 +9307,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new QuantifiedComparisonContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2277; + this.state = 2237; this.comparisonOperator(); - this.state = 2278; + this.state = 2238; this.comparisonQuantifier(); - this.state = 2279; + this.state = 2239; this.match(TrinoSqlParser.T__0); - this.state = 2280; + this.state = 2240; this.query(); - this.state = 2281; + this.state = 2241; this.match(TrinoSqlParser.T__1); } break; @@ -9250,23 +9323,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new BetweenContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 2284; + this.state = 2244; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 183) { { - this.state = 2283; + this.state = 2243; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2286; + this.state = 2246; this.match(TrinoSqlParser.KW_BETWEEN); - this.state = 2287; + this.state = 2247; (localContext as BetweenContext)._lower = this.valueExpression(0); - this.state = 2288; + this.state = 2248; this.match(TrinoSqlParser.KW_AND); - this.state = 2289; + this.state = 2249; (localContext as BetweenContext)._upper = this.valueExpression(0); } break; @@ -9274,39 +9347,39 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new InListContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 2292; + this.state = 2252; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 183) { { - this.state = 2291; + this.state = 2251; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2294; + this.state = 2254; this.match(TrinoSqlParser.KW_IN); - this.state = 2295; + this.state = 2255; this.match(TrinoSqlParser.T__0); - this.state = 2296; + this.state = 2256; this.expression(); - this.state = 2301; + this.state = 2261; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2297; + this.state = 2257; this.match(TrinoSqlParser.T__2); - this.state = 2298; + this.state = 2258; this.expression(); } } - this.state = 2303; + this.state = 2263; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2304; + this.state = 2264; this.match(TrinoSqlParser.T__1); } break; @@ -9314,23 +9387,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new InSubqueryContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 2307; + this.state = 2267; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 183) { { - this.state = 2306; + this.state = 2266; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2309; + this.state = 2269; this.match(TrinoSqlParser.KW_IN); - this.state = 2310; + this.state = 2270; this.match(TrinoSqlParser.T__0); - this.state = 2311; + this.state = 2271; this.query(); - this.state = 2312; + this.state = 2272; this.match(TrinoSqlParser.T__1); } break; @@ -9338,28 +9411,28 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LikeContext(localContext); this.enterOuterAlt(localContext, 6); { - this.state = 2315; + this.state = 2275; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 183) { { - this.state = 2314; + this.state = 2274; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2317; + this.state = 2277; this.match(TrinoSqlParser.KW_LIKE); - this.state = 2318; + this.state = 2278; (localContext as LikeContext)._pattern = this.valueExpression(0); - this.state = 2321; + this.state = 2281; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 290, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 291, this.context) ) { case 1: { - this.state = 2319; + this.state = 2279; this.match(TrinoSqlParser.KW_ESCAPE); - this.state = 2320; + this.state = 2280; (localContext as LikeContext)._escape = this.valueExpression(0); } break; @@ -9370,19 +9443,19 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new NullPredicateContext(localContext); this.enterOuterAlt(localContext, 7); { - this.state = 2323; + this.state = 2283; this.match(TrinoSqlParser.KW_IS); - this.state = 2325; + this.state = 2285; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 183) { { - this.state = 2324; + this.state = 2284; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2327; + this.state = 2287; this.match(TrinoSqlParser.KW_NULL); } break; @@ -9390,23 +9463,23 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DistinctFromContext(localContext); this.enterOuterAlt(localContext, 8); { - this.state = 2328; + this.state = 2288; this.match(TrinoSqlParser.KW_IS); - this.state = 2330; + this.state = 2290; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 183) { { - this.state = 2329; + this.state = 2289; this.match(TrinoSqlParser.KW_NOT); } } - this.state = 2332; + this.state = 2292; this.match(TrinoSqlParser.KW_DISTINCT); - this.state = 2333; + this.state = 2293; this.match(TrinoSqlParser.KW_FROM); - this.state = 2334; + this.state = 2294; (localContext as DistinctFromContext)._right = this.valueExpression(0); } break; @@ -9438,23 +9511,23 @@ export class TrinoSqlParser extends SQLParserBase { let parentState = this.state; let localContext = new ValueExpressionContext(this.context, parentState); let previousContext = localContext; - let _startState = 164; - this.enterRecursionRule(localContext, 164, TrinoSqlParser.RULE_valueExpression, _p); + let _startState = 150; + this.enterRecursionRule(localContext, 150, TrinoSqlParser.RULE_valueExpression, _p); let _la: number; try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 2341; + this.state = 2301; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 294, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 295, this.context) ) { case 1: { localContext = new ValueExpressionDefaultContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2338; + this.state = 2298; this.primaryExpression(0); } break; @@ -9463,7 +9536,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ArithmeticUnaryContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2339; + this.state = 2299; (localContext as ArithmeticUnaryContext)._operator = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 319 || _la === 320)) { @@ -9473,15 +9546,15 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2340; + this.state = 2300; this.valueExpression(4); } break; } this.context!.stop = this.tokenStream.LT(-1); - this.state = 2357; + this.state = 2324; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 296, 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) { @@ -9489,19 +9562,19 @@ export class TrinoSqlParser extends SQLParserBase { } previousContext = localContext; { - this.state = 2355; + this.state = 2322; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 295, 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 = 2343; + this.state = 2303; if (!(this.precpred(this.context, 3))) { throw this.createFailedPredicateException("this.precpred(this.context, 3)"); } - this.state = 2344; + this.state = 2304; (localContext as ArithmeticBinaryContext)._operator = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(((((_la - 321)) & ~0x1F) === 0 && ((1 << (_la - 321)) & 7) !== 0))) { @@ -9511,7 +9584,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2345; + this.state = 2305; (localContext as ArithmeticBinaryContext)._right = this.valueExpression(4); } break; @@ -9520,11 +9593,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 = 2346; + this.state = 2306; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 2347; + this.state = 2307; (localContext as ArithmeticBinaryContext)._operator = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 319 || _la === 320)) { @@ -9534,7 +9607,7 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2348; + this.state = 2308; (localContext as ArithmeticBinaryContext)._right = this.valueExpression(3); } break; @@ -9543,13 +9616,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 = 2349; + this.state = 2309; if (!(this.precpred(this.context, 1))) { throw this.createFailedPredicateException("this.precpred(this.context, 1)"); } - this.state = 2350; + this.state = 2310; this.match(TrinoSqlParser.CONCAT); - this.state = 2351; + this.state = 2311; (localContext as ConcatenationContext)._right = this.valueExpression(2); } break; @@ -9557,22 +9630,44 @@ export class TrinoSqlParser extends SQLParserBase { { localContext = new AtTimeZoneContext(new ValueExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_valueExpression); - this.state = 2352; + this.state = 2312; if (!(this.precpred(this.context, 5))) { throw this.createFailedPredicateException("this.precpred(this.context, 5)"); } - this.state = 2353; + this.state = 2313; this.match(TrinoSqlParser.KW_AT); - this.state = 2354; - this.timeZoneSpecifier(); + this.state = 2320; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 296, this.context) ) { + case 1: + { + this.state = 2314; + this.match(TrinoSqlParser.KW_TIME); + this.state = 2315; + this.match(TrinoSqlParser.KW_ZONE); + this.state = 2316; + this.interval(); + } + break; + case 2: + { + this.state = 2317; + this.match(TrinoSqlParser.KW_TIME); + this.state = 2318; + this.match(TrinoSqlParser.KW_ZONE); + this.state = 2319; + this.string_(); + } + break; + } } break; } } } - this.state = 2359; + this.state = 2326; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 296, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 298, this.context); } } } @@ -9602,23 +9697,23 @@ export class TrinoSqlParser extends SQLParserBase { let parentState = this.state; let localContext = new PrimaryExpressionContext(this.context, parentState); let previousContext = localContext; - let _startState = 166; - this.enterRecursionRule(localContext, 166, TrinoSqlParser.RULE_primaryExpression, _p); + let _startState = 152; + this.enterRecursionRule(localContext, 152, TrinoSqlParser.RULE_primaryExpression, _p); let _la: number; try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 2825; + this.state = 2794; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 361, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 363, this.context) ) { case 1: { localContext = new NullLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2361; + this.state = 2328; this.match(TrinoSqlParser.KW_NULL); } break; @@ -9627,7 +9722,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new IntervalLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2362; + this.state = 2329; this.interval(); } break; @@ -9636,9 +9731,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TypeConstructorContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2363; + this.state = 2330; this.identifier(); - this.state = 2364; + this.state = 2331; this.string_(); } break; @@ -9647,11 +9742,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TypeConstructorContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2366; + this.state = 2333; this.match(TrinoSqlParser.KW_DOUBLE); - this.state = 2367; + this.state = 2334; this.match(TrinoSqlParser.KW_PRECISION); - this.state = 2368; + this.state = 2335; this.string_(); } break; @@ -9660,7 +9755,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new NumericLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2369; + this.state = 2336; this.number_(); } break; @@ -9669,8 +9764,15 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new BooleanLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2370; - this.booleanValue(); + this.state = 2337; + _la = this.tokenStream.LA(1); + if(!(_la === 98 || _la === 274)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } } break; case 7: @@ -9678,7 +9780,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new StringLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2371; + this.state = 2338; this.string_(); } break; @@ -9687,7 +9789,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new BinaryLiteralContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2372; + this.state = 2339; this.match(TrinoSqlParser.BINARY_LITERAL); } break; @@ -9696,7 +9798,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ParameterContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2373; + this.state = 2340; this.match(TrinoSqlParser.QUESTION_MARK); } break; @@ -9705,17 +9807,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new PositionContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2374; + this.state = 2341; this.match(TrinoSqlParser.KW_POSITION); - this.state = 2375; + this.state = 2342; this.match(TrinoSqlParser.T__0); - this.state = 2376; + this.state = 2343; this.valueExpression(0); - this.state = 2377; + this.state = 2344; this.match(TrinoSqlParser.KW_IN); - this.state = 2378; + this.state = 2345; this.valueExpression(0); - this.state = 2379; + this.state = 2346; this.match(TrinoSqlParser.T__1); } break; @@ -9724,27 +9826,27 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RowConstructorContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2381; + this.state = 2348; this.match(TrinoSqlParser.T__0); - this.state = 2382; + this.state = 2349; this.expression(); - this.state = 2385; + this.state = 2352; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); do { { { - this.state = 2383; + this.state = 2350; this.match(TrinoSqlParser.T__2); - this.state = 2384; + this.state = 2351; this.expression(); } } - this.state = 2387; + this.state = 2354; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } while (_la === 3); - this.state = 2389; + this.state = 2356; this.match(TrinoSqlParser.T__1); } break; @@ -9753,29 +9855,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new RowConstructorContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2391; + this.state = 2358; this.match(TrinoSqlParser.KW_ROW); - this.state = 2392; + this.state = 2359; this.match(TrinoSqlParser.T__0); - this.state = 2393; + this.state = 2360; this.expression(); - this.state = 2398; + this.state = 2365; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2394; + this.state = 2361; this.match(TrinoSqlParser.T__2); - this.state = 2395; + this.state = 2362; this.expression(); } } - this.state = 2400; + this.state = 2367; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2401; + this.state = 2368; this.match(TrinoSqlParser.T__1); } break; @@ -9784,88 +9886,88 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ListAggContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2403; + this.state = 2370; (localContext as ListAggContext)._name = this.match(TrinoSqlParser.KW_LISTAGG); - this.state = 2404; + this.state = 2371; this.match(TrinoSqlParser.T__0); - this.state = 2406; + this.state = 2373; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 299, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 301, this.context) ) { case 1: { - this.state = 2405; + this.state = 2372; this.setQuantifier(); } break; } - this.state = 2408; + this.state = 2375; this.expression(); - this.state = 2411; + this.state = 2378; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 3) { { - this.state = 2409; + this.state = 2376; this.match(TrinoSqlParser.T__2); - this.state = 2410; + this.state = 2377; this.string_(); } } - this.state = 2416; + this.state = 2383; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 191) { { - this.state = 2413; + this.state = 2380; this.match(TrinoSqlParser.KW_ON); - this.state = 2414; + this.state = 2381; this.match(TrinoSqlParser.KW_OVERFLOW); - this.state = 2415; + this.state = 2382; this.listAggOverflowBehavior(); } } - this.state = 2418; + this.state = 2385; this.match(TrinoSqlParser.T__1); { - this.state = 2419; + this.state = 2386; this.match(TrinoSqlParser.KW_WITHIN); - this.state = 2420; + this.state = 2387; this.match(TrinoSqlParser.KW_GROUP); - this.state = 2421; + this.state = 2388; this.match(TrinoSqlParser.T__0); - this.state = 2422; + this.state = 2389; this.match(TrinoSqlParser.KW_ORDER); - this.state = 2423; + this.state = 2390; this.match(TrinoSqlParser.KW_BY); - this.state = 2424; + this.state = 2391; this.sortItem(); - this.state = 2429; + this.state = 2396; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2425; + this.state = 2392; this.match(TrinoSqlParser.T__2); - this.state = 2426; + this.state = 2393; this.sortItem(); } } - this.state = 2431; + this.state = 2398; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2432; + this.state = 2399; this.match(TrinoSqlParser.T__1); } - this.state = 2435; + this.state = 2402; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 303, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 305, this.context) ) { case 1: { - this.state = 2434; + this.state = 2401; this.filter(); } break; @@ -9877,52 +9979,52 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new FunctionCallContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2438; + this.state = 2405; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 304, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 306, this.context) ) { case 1: { - this.state = 2437; + this.state = 2404; this.processingMode(); } break; } - this.state = 2440; + this.state = 2407; this.functionName(); - this.state = 2441; + this.state = 2408; this.match(TrinoSqlParser.T__0); - this.state = 2445; + this.state = 2412; 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 = 2442; + this.state = 2409; (localContext as FunctionCallContext)._label = this.identifier(); - this.state = 2443; + this.state = 2410; this.match(TrinoSqlParser.T__3); } } - this.state = 2447; + this.state = 2414; this.match(TrinoSqlParser.ASTERISK); - this.state = 2448; + this.state = 2415; this.match(TrinoSqlParser.T__1); - this.state = 2450; + this.state = 2417; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 306, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 308, this.context) ) { case 1: { - this.state = 2449; + this.state = 2416; this.filter(); } break; } - this.state = 2453; + this.state = 2420; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 307, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 309, this.context) ) { case 1: { - this.state = 2452; + this.state = 2419; this.over(); } break; @@ -9934,114 +10036,128 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new FunctionCallContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2456; + this.state = 2423; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 308, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 310, this.context) ) { case 1: { - this.state = 2455; + this.state = 2422; this.processingMode(); } break; } - this.state = 2458; + this.state = 2425; this.functionName(); - this.state = 2459; + this.state = 2426; this.match(TrinoSqlParser.T__0); - this.state = 2471; + this.state = 2438; 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 = 2461; + this.state = 2428; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 309, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 311, this.context) ) { case 1: { - this.state = 2460; + this.state = 2427; this.setQuantifier(); } break; } - this.state = 2463; + this.state = 2430; this.expression(); - this.state = 2468; + this.state = 2435; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2464; + this.state = 2431; this.match(TrinoSqlParser.T__2); - this.state = 2465; + this.state = 2432; this.expression(); } } - this.state = 2470; + this.state = 2437; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2483; + this.state = 2450; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 196) { { - this.state = 2473; + this.state = 2440; this.match(TrinoSqlParser.KW_ORDER); - this.state = 2474; + this.state = 2441; this.match(TrinoSqlParser.KW_BY); - this.state = 2475; + this.state = 2442; this.sortItem(); - this.state = 2480; + this.state = 2447; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2476; + this.state = 2443; this.match(TrinoSqlParser.T__2); - this.state = 2477; + this.state = 2444; this.sortItem(); } } - this.state = 2482; + this.state = 2449; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2485; + this.state = 2452; this.match(TrinoSqlParser.T__1); - this.state = 2487; + this.state = 2454; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 314, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 316, this.context) ) { case 1: { - this.state = 2486; + this.state = 2453; this.filter(); } break; } - this.state = 2493; + this.state = 2463; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 316, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 318, this.context) ) { case 1: { - this.state = 2490; + this.state = 2460; 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 = 2456; + this.match(TrinoSqlParser.KW_IGNORE); + this.state = 2457; + this.match(TrinoSqlParser.KW_NULLS); + } + break; + case TrinoSqlParser.KW_RESPECT: { - this.state = 2489; - this.nullTreatment(); + this.state = 2458; + this.match(TrinoSqlParser.KW_RESPECT); + this.state = 2459; + this.match(TrinoSqlParser.KW_NULLS); } + break; + case TrinoSqlParser.KW_OVER: + break; + default: + break; } - - this.state = 2492; + this.state = 2462; this.over(); } break; @@ -10053,9 +10169,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new MeasureContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2495; + this.state = 2465; this.identifier(); - this.state = 2496; + this.state = 2466; this.over(); } break; @@ -10064,11 +10180,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LambdaContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2498; + this.state = 2468; this.identifier(); - this.state = 2499; + this.state = 2469; this.match(TrinoSqlParser.T__6); - this.state = 2500; + this.state = 2470; this.expression(); } break; @@ -10077,39 +10193,39 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LambdaContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2502; + this.state = 2472; this.match(TrinoSqlParser.T__0); - this.state = 2511; + this.state = 2481; 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 = 2503; + this.state = 2473; this.identifier(); - this.state = 2508; + this.state = 2478; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2504; + this.state = 2474; this.match(TrinoSqlParser.T__2); - this.state = 2505; + this.state = 2475; this.identifier(); } } - this.state = 2510; + this.state = 2480; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2513; + this.state = 2483; this.match(TrinoSqlParser.T__1); - this.state = 2514; + this.state = 2484; this.match(TrinoSqlParser.T__6); - this.state = 2515; + this.state = 2485; this.expression(); } break; @@ -10118,11 +10234,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SubqueryExpressionContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2516; + this.state = 2486; this.match(TrinoSqlParser.T__0); - this.state = 2517; + this.state = 2487; this.query(); - this.state = 2518; + this.state = 2488; this.match(TrinoSqlParser.T__1); } break; @@ -10131,13 +10247,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExistsContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2520; + this.state = 2490; this.match(TrinoSqlParser.KW_EXISTS); - this.state = 2521; + this.state = 2491; this.match(TrinoSqlParser.T__0); - this.state = 2522; + this.state = 2492; this.query(); - this.state = 2523; + this.state = 2493; this.match(TrinoSqlParser.T__1); } break; @@ -10146,37 +10262,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SimpleCaseContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2525; + this.state = 2495; this.match(TrinoSqlParser.KW_CASE); - this.state = 2526; + this.state = 2496; (localContext as SimpleCaseContext)._operand = this.expression(); - this.state = 2528; + this.state = 2498; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); do { { { - this.state = 2527; + this.state = 2497; this.whenClause(); } } - this.state = 2530; + this.state = 2500; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } while (_la === 301); - this.state = 2534; + this.state = 2504; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 85) { { - this.state = 2532; + this.state = 2502; this.match(TrinoSqlParser.KW_ELSE); - this.state = 2533; + this.state = 2503; (localContext as SimpleCaseContext)._elseExpression = this.expression(); } } - this.state = 2536; + this.state = 2506; this.match(TrinoSqlParser.KW_END); } break; @@ -10185,35 +10301,35 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SearchedCaseContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2538; + this.state = 2508; this.match(TrinoSqlParser.KW_CASE); - this.state = 2540; + this.state = 2510; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); do { { { - this.state = 2539; + this.state = 2509; this.whenClause(); } } - this.state = 2542; + this.state = 2512; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } while (_la === 301); - this.state = 2546; + this.state = 2516; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 85) { { - this.state = 2544; + this.state = 2514; this.match(TrinoSqlParser.KW_ELSE); - this.state = 2545; + this.state = 2515; (localContext as SearchedCaseContext)._elseExpression = this.expression(); } } - this.state = 2548; + this.state = 2518; this.match(TrinoSqlParser.KW_END); } break; @@ -10222,17 +10338,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CastContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2550; + this.state = 2520; this.match(TrinoSqlParser.KW_CAST); - this.state = 2551; + this.state = 2521; this.match(TrinoSqlParser.T__0); - this.state = 2552; + this.state = 2522; this.expression(); - this.state = 2553; + this.state = 2523; this.match(TrinoSqlParser.KW_AS); - this.state = 2554; + this.state = 2524; this.type_(0); - this.state = 2555; + this.state = 2525; this.match(TrinoSqlParser.T__1); } break; @@ -10241,17 +10357,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CastContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2557; + this.state = 2527; this.match(TrinoSqlParser.KW_TRY_CAST); - this.state = 2558; + this.state = 2528; this.match(TrinoSqlParser.T__0); - this.state = 2559; + this.state = 2529; this.expression(); - this.state = 2560; + this.state = 2530; this.match(TrinoSqlParser.KW_AS); - this.state = 2561; + this.state = 2531; this.type_(0); - this.state = 2562; + this.state = 2532; this.match(TrinoSqlParser.T__1); } break; @@ -10260,37 +10376,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ArrayConstructorContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2564; + this.state = 2534; this.match(TrinoSqlParser.KW_ARRAY); - this.state = 2565; + this.state = 2535; this.match(TrinoSqlParser.T__7); - this.state = 2574; + this.state = 2544; 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 = 2566; + this.state = 2536; this.expression(); - this.state = 2571; + this.state = 2541; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2567; + this.state = 2537; this.match(TrinoSqlParser.T__2); - this.state = 2568; + this.state = 2538; this.expression(); } } - this.state = 2573; + this.state = 2543; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2576; + this.state = 2546; this.match(TrinoSqlParser.T__8); } break; @@ -10299,7 +10415,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ColumnReferenceContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2577; + this.state = 2547; this.columnName(); } break; @@ -10308,7 +10424,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentDateContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2578; + this.state = 2548; (localContext as CurrentDateContext)._name = this.match(TrinoSqlParser.KW_CURRENT_DATE); } break; @@ -10317,18 +10433,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentTimeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2579; + this.state = 2549; (localContext as CurrentTimeContext)._name = this.match(TrinoSqlParser.KW_CURRENT_TIME); - this.state = 2583; + this.state = 2553; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 325, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 327, this.context) ) { case 1: { - this.state = 2580; + this.state = 2550; this.match(TrinoSqlParser.T__0); - this.state = 2581; + this.state = 2551; (localContext as CurrentTimeContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 2582; + this.state = 2552; this.match(TrinoSqlParser.T__1); } break; @@ -10340,18 +10456,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentTimestampContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2585; + this.state = 2555; (localContext as CurrentTimestampContext)._name = this.match(TrinoSqlParser.KW_CURRENT_TIMESTAMP); - this.state = 2589; + this.state = 2559; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 326, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 328, this.context) ) { case 1: { - this.state = 2586; + this.state = 2556; this.match(TrinoSqlParser.T__0); - this.state = 2587; + this.state = 2557; (localContext as CurrentTimestampContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 2588; + this.state = 2558; this.match(TrinoSqlParser.T__1); } break; @@ -10363,18 +10479,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LocalTimeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2591; + this.state = 2561; (localContext as LocalTimeContext)._name = this.match(TrinoSqlParser.KW_LOCALTIME); - this.state = 2595; + this.state = 2565; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 327, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 329, this.context) ) { case 1: { - this.state = 2592; + this.state = 2562; this.match(TrinoSqlParser.T__0); - this.state = 2593; + this.state = 2563; (localContext as LocalTimeContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 2594; + this.state = 2564; this.match(TrinoSqlParser.T__1); } break; @@ -10386,18 +10502,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LocalTimestampContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2597; + this.state = 2567; (localContext as LocalTimestampContext)._name = this.match(TrinoSqlParser.KW_LOCALTIMESTAMP); - this.state = 2601; + this.state = 2571; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 328, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 330, this.context) ) { case 1: { - this.state = 2598; + this.state = 2568; this.match(TrinoSqlParser.T__0); - this.state = 2599; + this.state = 2569; (localContext as LocalTimestampContext)._precision = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 2600; + this.state = 2570; this.match(TrinoSqlParser.T__1); } break; @@ -10409,7 +10525,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentUserContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2603; + this.state = 2573; (localContext as CurrentUserContext)._name = this.match(TrinoSqlParser.KW_CURRENT_USER); } break; @@ -10418,7 +10534,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentCatalogContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2604; + this.state = 2574; (localContext as CurrentCatalogContext)._name = this.match(TrinoSqlParser.KW_CURRENT_CATALOG); } break; @@ -10427,7 +10543,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentSchemaContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2605; + this.state = 2575; (localContext as CurrentSchemaContext)._name = this.match(TrinoSqlParser.KW_CURRENT_SCHEMA); } break; @@ -10436,7 +10552,7 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CurrentPathContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2606; + this.state = 2576; (localContext as CurrentPathContext)._name = this.match(TrinoSqlParser.KW_CURRENT_PATH); } break; @@ -10445,43 +10561,50 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TrimContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2607; + this.state = 2577; this.match(TrinoSqlParser.KW_TRIM); - this.state = 2608; + this.state = 2578; this.match(TrinoSqlParser.T__0); - this.state = 2616; + this.state = 2586; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 331, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 333, this.context) ) { case 1: { - this.state = 2610; + this.state = 2580; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 329, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 331, this.context) ) { case 1: { - this.state = 2609; - this.trimsSpecification(); + this.state = 2579; + _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 = 2613; + this.state = 2583; 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 = 2612; + this.state = 2582; (localContext as TrimContext)._trimChar = this.valueExpression(0); } } - this.state = 2615; + this.state = 2585; this.match(TrinoSqlParser.KW_FROM); } break; } - this.state = 2618; + this.state = 2588; (localContext as TrimContext)._trimSource = this.valueExpression(0); - this.state = 2619; + this.state = 2589; this.match(TrinoSqlParser.T__1); } break; @@ -10490,17 +10613,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TrimContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2621; + this.state = 2591; this.match(TrinoSqlParser.KW_TRIM); - this.state = 2622; + this.state = 2592; this.match(TrinoSqlParser.T__0); - this.state = 2623; + this.state = 2593; (localContext as TrimContext)._trimSource = this.valueExpression(0); - this.state = 2624; + this.state = 2594; this.match(TrinoSqlParser.T__2); - this.state = 2625; + this.state = 2595; (localContext as TrimContext)._trimChar = this.valueExpression(0); - this.state = 2626; + this.state = 2596; this.match(TrinoSqlParser.T__1); } break; @@ -10509,29 +10632,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new SubstringContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2628; + this.state = 2598; this.match(TrinoSqlParser.KW_SUBSTRING); - this.state = 2629; + this.state = 2599; this.match(TrinoSqlParser.T__0); - this.state = 2630; + this.state = 2600; this.valueExpression(0); - this.state = 2631; + this.state = 2601; this.match(TrinoSqlParser.KW_FROM); - this.state = 2632; + this.state = 2602; this.valueExpression(0); - this.state = 2635; + this.state = 2605; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 104) { { - this.state = 2633; + this.state = 2603; this.match(TrinoSqlParser.KW_FOR); - this.state = 2634; + this.state = 2604; this.valueExpression(0); } } - this.state = 2637; + this.state = 2607; this.match(TrinoSqlParser.T__1); } break; @@ -10540,25 +10663,32 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new NormalizeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2639; + this.state = 2609; this.match(TrinoSqlParser.KW_NORMALIZE); - this.state = 2640; + this.state = 2610; this.match(TrinoSqlParser.T__0); - this.state = 2641; + this.state = 2611; this.valueExpression(0); - this.state = 2644; + this.state = 2614; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 3) { { - this.state = 2642; + this.state = 2612; this.match(TrinoSqlParser.T__2); - this.state = 2643; - this.normalForm(); + this.state = 2613; + _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 = 2646; + this.state = 2616; this.match(TrinoSqlParser.T__1); } break; @@ -10567,17 +10697,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ExtractContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2648; + this.state = 2618; this.match(TrinoSqlParser.KW_EXTRACT); - this.state = 2649; + this.state = 2619; this.match(TrinoSqlParser.T__0); - this.state = 2650; + this.state = 2620; this.identifier(); - this.state = 2651; + this.state = 2621; this.match(TrinoSqlParser.KW_FROM); - this.state = 2652; + this.state = 2622; this.valueExpression(0); - this.state = 2653; + this.state = 2623; this.match(TrinoSqlParser.T__1); } break; @@ -10586,29 +10716,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new CoalesceContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2655; + this.state = 2625; this.match(TrinoSqlParser.KW_COALESCE); - this.state = 2656; + this.state = 2626; this.match(TrinoSqlParser.T__0); - this.state = 2657; + this.state = 2627; this.expression(); - this.state = 2662; + this.state = 2632; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2658; + this.state = 2628; this.match(TrinoSqlParser.T__2); - this.state = 2659; + this.state = 2629; this.expression(); } } - this.state = 2664; + this.state = 2634; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2665; + this.state = 2635; this.match(TrinoSqlParser.T__1); } break; @@ -10617,11 +10747,11 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new ParenthesizedExpressionContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2667; + this.state = 2637; this.match(TrinoSqlParser.T__0); - this.state = 2668; + this.state = 2638; this.expression(); - this.state = 2669; + this.state = 2639; this.match(TrinoSqlParser.T__1); } break; @@ -10630,37 +10760,37 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new GroupingOperationContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2671; + this.state = 2641; this.match(TrinoSqlParser.KW_GROUPING); - this.state = 2672; + this.state = 2642; this.match(TrinoSqlParser.T__0); - this.state = 2681; + this.state = 2651; 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 = 2673; + this.state = 2643; this.qualifiedName(); - this.state = 2678; + this.state = 2648; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2674; + this.state = 2644; this.match(TrinoSqlParser.T__2); - this.state = 2675; + this.state = 2645; this.qualifiedName(); } } - this.state = 2680; + this.state = 2650; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 2683; + this.state = 2653; this.match(TrinoSqlParser.T__1); } break; @@ -10669,27 +10799,34 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonExistsContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2684; + this.state = 2654; this.match(TrinoSqlParser.KW_JSON_EXISTS); - this.state = 2685; + this.state = 2655; this.match(TrinoSqlParser.T__0); - this.state = 2686; + this.state = 2656; this.jsonPathInvocation(); - this.state = 2691; + this.state = 2660; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 90 || _la === 98 || _la === 274 || _la === 284) { { - this.state = 2687; - this.jsonExistsErrorBehavior(); - this.state = 2688; + this.state = 2657; + _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 = 2658; this.match(TrinoSqlParser.KW_ON); - this.state = 2689; + this.state = 2659; this.match(TrinoSqlParser.KW_ERROR); } } - this.state = 2693; + this.state = 2662; this.match(TrinoSqlParser.T__1); } break; @@ -10698,53 +10835,53 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonValueContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2695; + this.state = 2664; this.match(TrinoSqlParser.KW_JSON_VALUE); - this.state = 2696; + this.state = 2665; this.match(TrinoSqlParser.T__0); - this.state = 2697; + this.state = 2666; this.jsonPathInvocation(); - this.state = 2700; + this.state = 2669; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 232) { { - this.state = 2698; + this.state = 2667; this.match(TrinoSqlParser.KW_RETURNING); - this.state = 2699; + this.state = 2668; this.type_(0); } } - this.state = 2706; + this.state = 2675; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 339, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 341, this.context) ) { case 1: { - this.state = 2702; + this.state = 2671; (localContext as JsonValueContext)._emptyBehavior = this.jsonValueBehavior(); - this.state = 2703; + this.state = 2672; this.match(TrinoSqlParser.KW_ON); - this.state = 2704; + this.state = 2673; this.match(TrinoSqlParser.KW_EMPTY); } break; } - this.state = 2712; + this.state = 2681; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 71 || _la === 90 || _la === 184) { { - this.state = 2708; + this.state = 2677; (localContext as JsonValueContext)._errorBehavior = this.jsonValueBehavior(); - this.state = 2709; + this.state = 2678; this.match(TrinoSqlParser.KW_ON); - this.state = 2710; + this.state = 2679; this.match(TrinoSqlParser.KW_ERROR); } } - this.state = 2714; + this.state = 2683; this.match(TrinoSqlParser.T__1); } break; @@ -10753,29 +10890,29 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonQueryContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2716; + this.state = 2685; this.match(TrinoSqlParser.KW_JSON_QUERY); - this.state = 2717; + this.state = 2686; this.match(TrinoSqlParser.T__0); - this.state = 2718; + this.state = 2687; this.jsonPathInvocation(); - this.state = 2725; + this.state = 2694; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 232) { { - this.state = 2719; + this.state = 2688; this.match(TrinoSqlParser.KW_RETURNING); - this.state = 2720; + this.state = 2689; this.type_(0); - this.state = 2723; + this.state = 2692; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 105) { { - this.state = 2721; + this.state = 2690; this.match(TrinoSqlParser.KW_FORMAT); - this.state = 2722; + this.state = 2691; this.jsonRepresentation(); } } @@ -10783,24 +10920,24 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2730; + this.state = 2699; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 305 || _la === 307) { { - this.state = 2727; + this.state = 2696; this.jsonQueryWrapperBehavior(); - this.state = 2728; + this.state = 2697; this.match(TrinoSqlParser.KW_WRAPPER); } } - this.state = 2739; + this.state = 2708; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 145 || _la === 190) { { - this.state = 2732; + this.state = 2701; _la = this.tokenStream.LA(1); if(!(_la === 145 || _la === 190)) { this.errorHandler.recoverInline(this); @@ -10809,18 +10946,18 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2733; + this.state = 2702; this.match(TrinoSqlParser.KW_QUOTES); - this.state = 2737; + this.state = 2706; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 191) { { - this.state = 2734; + this.state = 2703; this.match(TrinoSqlParser.KW_ON); - this.state = 2735; + this.state = 2704; this.match(TrinoSqlParser.KW_SCALAR); - this.state = 2736; + this.state = 2705; this.match(TrinoSqlParser.KW_TEXT_STRING); } } @@ -10828,35 +10965,35 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2745; + this.state = 2714; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 346, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 348, this.context) ) { case 1: { - this.state = 2741; + this.state = 2710; (localContext as JsonQueryContext)._emptyBehavior = this.jsonQueryBehavior(); - this.state = 2742; + this.state = 2711; this.match(TrinoSqlParser.KW_ON); - this.state = 2743; + this.state = 2712; this.match(TrinoSqlParser.KW_EMPTY); } break; } - this.state = 2751; + this.state = 2720; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 86 || _la === 90 || _la === 184) { { - this.state = 2747; + this.state = 2716; (localContext as JsonQueryContext)._errorBehavior = this.jsonQueryBehavior(); - this.state = 2748; + this.state = 2717; this.match(TrinoSqlParser.KW_ON); - this.state = 2749; + this.state = 2718; this.match(TrinoSqlParser.KW_ERROR); } } - this.state = 2753; + this.state = 2722; this.match(TrinoSqlParser.T__1); } break; @@ -10865,53 +11002,53 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonObjectContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2755; + this.state = 2724; this.match(TrinoSqlParser.KW_JSON_OBJECT); - this.state = 2756; + this.state = 2725; this.match(TrinoSqlParser.T__0); - this.state = 2785; + this.state = 2754; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 353, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 355, this.context) ) { case 1: { - this.state = 2757; + this.state = 2726; this.jsonObjectMember(); - this.state = 2762; + this.state = 2731; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2758; + this.state = 2727; this.match(TrinoSqlParser.T__2); - this.state = 2759; + this.state = 2728; this.jsonObjectMember(); } } - this.state = 2764; + this.state = 2733; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2771; + this.state = 2740; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_NULL: { - this.state = 2765; + this.state = 2734; this.match(TrinoSqlParser.KW_NULL); - this.state = 2766; + this.state = 2735; this.match(TrinoSqlParser.KW_ON); - this.state = 2767; + this.state = 2736; this.match(TrinoSqlParser.KW_NULL); } break; case TrinoSqlParser.KW_ABSENT: { - this.state = 2768; + this.state = 2737; this.match(TrinoSqlParser.KW_ABSENT); - this.state = 2769; + this.state = 2738; this.match(TrinoSqlParser.KW_ON); - this.state = 2770; + this.state = 2739; this.match(TrinoSqlParser.KW_NULL); } break; @@ -10923,21 +11060,21 @@ export class TrinoSqlParser extends SQLParserBase { default: break; } - this.state = 2783; + this.state = 2752; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_WITH: { - this.state = 2773; + this.state = 2742; this.match(TrinoSqlParser.KW_WITH); - this.state = 2774; + this.state = 2743; this.match(TrinoSqlParser.KW_UNIQUE); - this.state = 2776; + this.state = 2745; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 147) { { - this.state = 2775; + this.state = 2744; this.match(TrinoSqlParser.KW_KEYS); } } @@ -10946,16 +11083,16 @@ export class TrinoSqlParser extends SQLParserBase { break; case TrinoSqlParser.KW_WITHOUT: { - this.state = 2778; + this.state = 2747; this.match(TrinoSqlParser.KW_WITHOUT); - this.state = 2779; + this.state = 2748; this.match(TrinoSqlParser.KW_UNIQUE); - this.state = 2781; + this.state = 2750; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 147) { { - this.state = 2780; + this.state = 2749; this.match(TrinoSqlParser.KW_KEYS); } } @@ -10971,23 +11108,23 @@ export class TrinoSqlParser extends SQLParserBase { } break; } - this.state = 2793; + this.state = 2762; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 232) { { - this.state = 2787; + this.state = 2756; this.match(TrinoSqlParser.KW_RETURNING); - this.state = 2788; + this.state = 2757; this.type_(0); - this.state = 2791; + this.state = 2760; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 105) { { - this.state = 2789; + this.state = 2758; this.match(TrinoSqlParser.KW_FORMAT); - this.state = 2790; + this.state = 2759; this.jsonRepresentation(); } } @@ -10995,7 +11132,7 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2795; + this.state = 2764; this.match(TrinoSqlParser.T__1); } break; @@ -11004,53 +11141,53 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new JsonArrayContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2796; + this.state = 2765; this.match(TrinoSqlParser.KW_JSON_ARRAY); - this.state = 2797; + this.state = 2766; this.match(TrinoSqlParser.T__0); - this.state = 2814; + this.state = 2783; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 358, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 360, this.context) ) { case 1: { - this.state = 2798; + this.state = 2767; this.jsonValueExpression(); - this.state = 2803; + this.state = 2772; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2799; + this.state = 2768; this.match(TrinoSqlParser.T__2); - this.state = 2800; + this.state = 2769; this.jsonValueExpression(); } } - this.state = 2805; + this.state = 2774; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2812; + this.state = 2781; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_NULL: { - this.state = 2806; + this.state = 2775; this.match(TrinoSqlParser.KW_NULL); - this.state = 2807; + this.state = 2776; this.match(TrinoSqlParser.KW_ON); - this.state = 2808; + this.state = 2777; this.match(TrinoSqlParser.KW_NULL); } break; case TrinoSqlParser.KW_ABSENT: { - this.state = 2809; + this.state = 2778; this.match(TrinoSqlParser.KW_ABSENT); - this.state = 2810; + this.state = 2779; this.match(TrinoSqlParser.KW_ON); - this.state = 2811; + this.state = 2780; this.match(TrinoSqlParser.KW_NULL); } break; @@ -11063,23 +11200,23 @@ export class TrinoSqlParser extends SQLParserBase { } break; } - this.state = 2822; + this.state = 2791; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 232) { { - this.state = 2816; + this.state = 2785; this.match(TrinoSqlParser.KW_RETURNING); - this.state = 2817; + this.state = 2786; this.type_(0); - this.state = 2820; + this.state = 2789; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 105) { { - this.state = 2818; + this.state = 2787; this.match(TrinoSqlParser.KW_FORMAT); - this.state = 2819; + this.state = 2788; this.jsonRepresentation(); } } @@ -11087,15 +11224,15 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2824; + this.state = 2793; this.match(TrinoSqlParser.T__1); } break; } this.context!.stop = this.tokenStream.LT(-1); - this.state = 2837; + this.state = 2806; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 363, 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) { @@ -11103,23 +11240,23 @@ export class TrinoSqlParser extends SQLParserBase { } previousContext = localContext; { - this.state = 2835; + this.state = 2804; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 362, 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 = 2827; + this.state = 2796; if (!(this.precpred(this.context, 25))) { throw this.createFailedPredicateException("this.precpred(this.context, 25)"); } - this.state = 2828; + this.state = 2797; this.match(TrinoSqlParser.T__7); - this.state = 2829; + this.state = 2798; (localContext as SubscriptContext)._index = this.valueExpression(0); - this.state = 2830; + this.state = 2799; this.match(TrinoSqlParser.T__8); } break; @@ -11128,22 +11265,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 = 2832; + this.state = 2801; if (!(this.precpred(this.context, 23))) { throw this.createFailedPredicateException("this.precpred(this.context, 23)"); } - this.state = 2833; + this.state = 2802; this.match(TrinoSqlParser.T__3); - this.state = 2834; + this.state = 2803; (localContext as DereferenceContext)._fieldName = this.identifier(); } break; } } } - this.state = 2839; + this.state = 2808; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 363, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 365, this.context); } } } @@ -11163,51 +11300,51 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonPathInvocation(): JsonPathInvocationContext { let localContext = new JsonPathInvocationContext(this.context, this.state); - this.enterRule(localContext, 168, TrinoSqlParser.RULE_jsonPathInvocation); + this.enterRule(localContext, 154, TrinoSqlParser.RULE_jsonPathInvocation); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2840; + this.state = 2809; this.jsonValueExpression(); - this.state = 2841; + this.state = 2810; this.match(TrinoSqlParser.T__2); - this.state = 2842; + this.state = 2811; localContext._path = this.string_(); - this.state = 2845; + this.state = 2814; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 28) { { - this.state = 2843; + this.state = 2812; this.match(TrinoSqlParser.KW_AS); - this.state = 2844; + this.state = 2813; localContext._pathName = this.identifier(); } } - this.state = 2856; + this.state = 2825; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 204) { { - this.state = 2847; + this.state = 2816; this.match(TrinoSqlParser.KW_PASSING); - this.state = 2848; + this.state = 2817; this.jsonArgument(); - this.state = 2853; + this.state = 2822; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2849; + this.state = 2818; this.match(TrinoSqlParser.T__2); - this.state = 2850; + this.state = 2819; this.jsonArgument(); } } - this.state = 2855; + this.state = 2824; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -11232,21 +11369,21 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonValueExpression(): JsonValueExpressionContext { let localContext = new JsonValueExpressionContext(this.context, this.state); - this.enterRule(localContext, 170, TrinoSqlParser.RULE_jsonValueExpression); + this.enterRule(localContext, 156, TrinoSqlParser.RULE_jsonValueExpression); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2858; + this.state = 2827; this.expression(); - this.state = 2861; + this.state = 2830; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 105) { { - this.state = 2859; + this.state = 2828; this.match(TrinoSqlParser.KW_FORMAT); - this.state = 2860; + this.state = 2829; this.jsonRepresentation(); } } @@ -11269,21 +11406,21 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonRepresentation(): JsonRepresentationContext { let localContext = new JsonRepresentationContext(this.context, this.state); - this.enterRule(localContext, 172, TrinoSqlParser.RULE_jsonRepresentation); + this.enterRule(localContext, 158, TrinoSqlParser.RULE_jsonRepresentation); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2863; + this.state = 2832; this.match(TrinoSqlParser.KW_JSON); - this.state = 2866; + this.state = 2835; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 88) { { - this.state = 2864; + this.state = 2833; this.match(TrinoSqlParser.KW_ENCODING); - this.state = 2865; + this.state = 2834; _la = this.tokenStream.LA(1); if(!(((((_la - 292)) & ~0x1F) === 0 && ((1 << (_la - 292)) & 7) !== 0))) { this.errorHandler.recoverInline(this); @@ -11313,15 +11450,15 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonArgument(): JsonArgumentContext { let localContext = new JsonArgumentContext(this.context, this.state); - this.enterRule(localContext, 174, TrinoSqlParser.RULE_jsonArgument); + this.enterRule(localContext, 160, TrinoSqlParser.RULE_jsonArgument); try { this.enterOuterAlt(localContext, 1); { - this.state = 2868; + this.state = 2837; this.jsonValueExpression(); - this.state = 2869; + this.state = 2838; this.match(TrinoSqlParser.KW_AS); - this.state = 2870; + this.state = 2839; this.identifier(); } } @@ -11339,65 +11476,33 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public jsonExistsErrorBehavior(): JsonExistsErrorBehaviorContext { - let localContext = new JsonExistsErrorBehaviorContext(this.context, this.state); - this.enterRule(localContext, 176, TrinoSqlParser.RULE_jsonExistsErrorBehavior); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2872; - _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, 178, TrinoSqlParser.RULE_jsonValueBehavior); + this.enterRule(localContext, 162, TrinoSqlParser.RULE_jsonValueBehavior); try { - this.state = 2878; + this.state = 2845; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ERROR: this.enterOuterAlt(localContext, 1); { - this.state = 2874; + this.state = 2841; this.match(TrinoSqlParser.KW_ERROR); } break; case TrinoSqlParser.KW_NULL: this.enterOuterAlt(localContext, 2); { - this.state = 2875; + this.state = 2842; this.match(TrinoSqlParser.KW_NULL); } break; case TrinoSqlParser.KW_DEFAULT: this.enterOuterAlt(localContext, 3); { - this.state = 2876; + this.state = 2843; this.match(TrinoSqlParser.KW_DEFAULT); - this.state = 2877; + this.state = 2844; this.expression(); } break; @@ -11421,23 +11526,23 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonQueryWrapperBehavior(): JsonQueryWrapperBehaviorContext { let localContext = new JsonQueryWrapperBehaviorContext(this.context, this.state); - this.enterRule(localContext, 180, TrinoSqlParser.RULE_jsonQueryWrapperBehavior); + this.enterRule(localContext, 164, TrinoSqlParser.RULE_jsonQueryWrapperBehavior); let _la: number; try { - this.state = 2891; + this.state = 2858; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_WITHOUT: this.enterOuterAlt(localContext, 1); { - this.state = 2880; + this.state = 2847; this.match(TrinoSqlParser.KW_WITHOUT); - this.state = 2882; + this.state = 2849; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 27) { { - this.state = 2881; + this.state = 2848; this.match(TrinoSqlParser.KW_ARRAY); } } @@ -11447,14 +11552,14 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_WITH: this.enterOuterAlt(localContext, 2); { - this.state = 2884; + this.state = 2851; this.match(TrinoSqlParser.KW_WITH); - this.state = 2886; + this.state = 2853; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 50 || _la === 281) { { - this.state = 2885; + this.state = 2852; _la = this.tokenStream.LA(1); if(!(_la === 50 || _la === 281)) { this.errorHandler.recoverInline(this); @@ -11466,12 +11571,12 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2889; + this.state = 2856; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 27) { { - this.state = 2888; + this.state = 2855; this.match(TrinoSqlParser.KW_ARRAY); } } @@ -11498,40 +11603,40 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonQueryBehavior(): JsonQueryBehaviorContext { let localContext = new JsonQueryBehaviorContext(this.context, this.state); - this.enterRule(localContext, 182, TrinoSqlParser.RULE_jsonQueryBehavior); + this.enterRule(localContext, 166, TrinoSqlParser.RULE_jsonQueryBehavior); try { - this.state = 2899; + this.state = 2866; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 374, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 376, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 2893; + this.state = 2860; this.match(TrinoSqlParser.KW_ERROR); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 2894; + this.state = 2861; this.match(TrinoSqlParser.KW_NULL); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 2895; + this.state = 2862; this.match(TrinoSqlParser.KW_EMPTY); - this.state = 2896; + this.state = 2863; this.match(TrinoSqlParser.KW_ARRAY); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 2897; + this.state = 2864; this.match(TrinoSqlParser.KW_EMPTY); - this.state = 2898; + this.state = 2865; this.match(TrinoSqlParser.KW_OBJECT); } break; @@ -11553,40 +11658,40 @@ export class TrinoSqlParser extends SQLParserBase { } public jsonObjectMember(): JsonObjectMemberContext { let localContext = new JsonObjectMemberContext(this.context, this.state); - this.enterRule(localContext, 184, TrinoSqlParser.RULE_jsonObjectMember); + this.enterRule(localContext, 168, TrinoSqlParser.RULE_jsonObjectMember); try { - this.state = 2912; + this.state = 2879; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 376, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 378, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 2902; + this.state = 2869; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 375, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 377, this.context) ) { case 1: { - this.state = 2901; + this.state = 2868; this.match(TrinoSqlParser.KW_KEY); } break; } - this.state = 2904; + this.state = 2871; this.expression(); - this.state = 2905; + this.state = 2872; this.match(TrinoSqlParser.KW_VALUE); - this.state = 2906; + this.state = 2873; this.jsonValueExpression(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 2908; + this.state = 2875; this.expression(); - this.state = 2909; + this.state = 2876; this.match(TrinoSqlParser.T__9); - this.state = 2910; + this.state = 2877; this.jsonValueExpression(); } break; @@ -11608,12 +11713,12 @@ export class TrinoSqlParser extends SQLParserBase { } public processingMode(): ProcessingModeContext { let localContext = new ProcessingModeContext(this.context, this.state); - this.enterRule(localContext, 186, TrinoSqlParser.RULE_processingMode); + this.enterRule(localContext, 170, TrinoSqlParser.RULE_processingMode); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2914; + this.state = 2881; _la = this.tokenStream.LA(1); if(!(_la === 101 || _la === 242)) { this.errorHandler.recoverInline(this); @@ -11638,61 +11743,18 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public nullTreatment(): NullTreatmentContext { - let localContext = new NullTreatmentContext(this.context, this.state); - this.enterRule(localContext, 188, TrinoSqlParser.RULE_nullTreatment); - try { - this.state = 2920; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_IGNORE: - this.enterOuterAlt(localContext, 1); - { - this.state = 2916; - this.match(TrinoSqlParser.KW_IGNORE); - this.state = 2917; - this.match(TrinoSqlParser.KW_NULLS); - } - break; - case TrinoSqlParser.KW_RESPECT: - this.enterOuterAlt(localContext, 2); - { - this.state = 2918; - this.match(TrinoSqlParser.KW_RESPECT); - this.state = 2919; - 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, 190, TrinoSqlParser.RULE_string); + this.enterRule(localContext, 172, TrinoSqlParser.RULE_string); try { - this.state = 2928; + this.state = 2889; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.STRING: localContext = new BasicStringLiteralContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 2922; + this.state = 2883; this.match(TrinoSqlParser.STRING); } break; @@ -11700,16 +11762,16 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new UnicodeStringLiteralContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 2923; + this.state = 2884; this.match(TrinoSqlParser.UNICODE_STRING); - this.state = 2926; + this.state = 2887; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 378, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 379, this.context) ) { case 1: { - this.state = 2924; + this.state = 2885; this.match(TrinoSqlParser.KW_UESCAPE); - this.state = 2925; + this.state = 2886; this.match(TrinoSqlParser.STRING); } break; @@ -11734,61 +11796,14 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public timeZoneSpecifier(): TimeZoneSpecifierContext { - let localContext = new TimeZoneSpecifierContext(this.context, this.state); - this.enterRule(localContext, 192, TrinoSqlParser.RULE_timeZoneSpecifier); - try { - this.state = 2936; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 380, this.context) ) { - case 1: - localContext = new TimeZoneIntervalContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 2930; - this.match(TrinoSqlParser.KW_TIME); - this.state = 2931; - this.match(TrinoSqlParser.KW_ZONE); - this.state = 2932; - this.interval(); - } - break; - case 2: - localContext = new TimeZoneStringContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 2933; - this.match(TrinoSqlParser.KW_TIME); - this.state = 2934; - this.match(TrinoSqlParser.KW_ZONE); - this.state = 2935; - 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, 194, TrinoSqlParser.RULE_comparisonOperator); + this.enterRule(localContext, 174, TrinoSqlParser.RULE_comparisonOperator); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2938; + this.state = 2891; _la = this.tokenStream.LA(1); if(!(((((_la - 313)) & ~0x1F) === 0 && ((1 << (_la - 313)) & 63) !== 0))) { this.errorHandler.recoverInline(this); @@ -11815,12 +11830,12 @@ export class TrinoSqlParser extends SQLParserBase { } public comparisonQuantifier(): ComparisonQuantifierContext { let localContext = new ComparisonQuantifierContext(this.context, this.state); - this.enterRule(localContext, 196, TrinoSqlParser.RULE_comparisonQuantifier); + this.enterRule(localContext, 176, TrinoSqlParser.RULE_comparisonQuantifier); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2940; + this.state = 2893; _la = this.tokenStream.LA(1); if(!(_la === 22 || _la === 26 || _la === 255)) { this.errorHandler.recoverInline(this); @@ -11845,53 +11860,21 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public booleanValue(): BooleanValueContext { - let localContext = new BooleanValueContext(this.context, this.state); - this.enterRule(localContext, 198, TrinoSqlParser.RULE_booleanValue); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2942; - _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, 200, TrinoSqlParser.RULE_interval); + this.enterRule(localContext, 178, TrinoSqlParser.RULE_interval); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2944; + this.state = 2895; this.match(TrinoSqlParser.KW_INTERVAL); - this.state = 2946; + this.state = 2897; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 319 || _la === 320) { { - this.state = 2945; + this.state = 2896; localContext._sign = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); if(!(_la === 319 || _la === 320)) { @@ -11904,18 +11887,18 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 2948; + this.state = 2899; this.string_(); - this.state = 2949; + this.state = 2900; localContext._from_ = this.intervalField(); - this.state = 2952; + this.state = 2903; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 382, this.context) ) { case 1: { - this.state = 2950; + this.state = 2901; this.match(TrinoSqlParser.KW_TO); - this.state = 2951; + this.state = 2902; localContext._to = this.intervalField(); } break; @@ -11938,12 +11921,12 @@ export class TrinoSqlParser extends SQLParserBase { } public intervalField(): IntervalFieldContext { let localContext = new IntervalFieldContext(this.context, this.state); - this.enterRule(localContext, 202, TrinoSqlParser.RULE_intervalField); + this.enterRule(localContext, 180, TrinoSqlParser.RULE_intervalField); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2954; + this.state = 2905; _la = this.tokenStream.LA(1); if(!(_la === 68 || _la === 119 || _la === 171 || _la === 172 || _la === 246 || _la === 311)) { this.errorHandler.recoverInline(this); @@ -11968,38 +11951,6 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public normalForm(): NormalFormContext { - let localContext = new NormalFormContext(this.context, this.state); - this.enterRule(localContext, 204, TrinoSqlParser.RULE_normalForm); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2956; - _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; @@ -12012,14 +11963,14 @@ export class TrinoSqlParser extends SQLParserBase { let parentState = this.state; let localContext = new TypeContext(this.context, parentState); let previousContext = localContext; - let _startState = 206; - this.enterRecursionRule(localContext, 206, TrinoSqlParser.RULE_type, _p); + let _startState = 182; + this.enterRecursionRule(localContext, 182, TrinoSqlParser.RULE_type, _p); let _la: number; try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 3029; + this.state = 2978; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 391, this.context) ) { case 1: @@ -12028,29 +11979,29 @@ export class TrinoSqlParser extends SQLParserBase { this.context = localContext; previousContext = localContext; - this.state = 2959; + this.state = 2908; this.match(TrinoSqlParser.KW_ROW); - this.state = 2960; + this.state = 2909; this.match(TrinoSqlParser.T__0); - this.state = 2961; + this.state = 2910; this.rowField(); - this.state = 2966; + this.state = 2915; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 2962; + this.state = 2911; this.match(TrinoSqlParser.T__2); - this.state = 2963; + this.state = 2912; this.rowField(); } } - this.state = 2968; + this.state = 2917; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2969; + this.state = 2918; this.match(TrinoSqlParser.T__1); } break; @@ -12059,18 +12010,18 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new IntervalTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2971; + this.state = 2920; this.match(TrinoSqlParser.KW_INTERVAL); - this.state = 2972; + this.state = 2921; (localContext as IntervalTypeContext)._from_ = this.intervalField(); - this.state = 2975; + this.state = 2924; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 384, this.context) ) { case 1: { - this.state = 2973; + this.state = 2922; this.match(TrinoSqlParser.KW_TO); - this.state = 2974; + this.state = 2923; (localContext as IntervalTypeContext)._to = this.intervalField(); } break; @@ -12082,28 +12033,28 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DateTimeTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2977; + this.state = 2926; (localContext as DateTimeTypeContext)._base = this.match(TrinoSqlParser.KW_TIMESTAMP); - this.state = 2982; + this.state = 2931; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 385, this.context) ) { case 1: { - this.state = 2978; + this.state = 2927; this.match(TrinoSqlParser.T__0); - this.state = 2979; + this.state = 2928; (localContext as DateTimeTypeContext)._precision = this.typeParameter(); - this.state = 2980; + this.state = 2929; this.match(TrinoSqlParser.T__1); } break; } - this.state = 2987; + this.state = 2936; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 386, this.context) ) { case 1: { - this.state = 2984; + this.state = 2933; _la = this.tokenStream.LA(1); if(!(_la === 305 || _la === 307)) { this.errorHandler.recoverInline(this); @@ -12112,9 +12063,9 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2985; + this.state = 2934; this.match(TrinoSqlParser.KW_TIME); - this.state = 2986; + this.state = 2935; this.match(TrinoSqlParser.KW_ZONE); } break; @@ -12126,28 +12077,28 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new TimeTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2989; + this.state = 2938; (localContext as TimeTypeContext)._base = this.match(TrinoSqlParser.KW_TIME); - this.state = 2994; + this.state = 2943; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 387, this.context) ) { case 1: { - this.state = 2990; + this.state = 2939; this.match(TrinoSqlParser.T__0); - this.state = 2991; + this.state = 2940; (localContext as TimeTypeContext)._precision = this.typeParameter(); - this.state = 2992; + this.state = 2941; this.match(TrinoSqlParser.T__1); } break; } - this.state = 2999; + this.state = 2948; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 388, this.context) ) { case 1: { - this.state = 2996; + this.state = 2945; _la = this.tokenStream.LA(1); if(!(_la === 305 || _la === 307)) { this.errorHandler.recoverInline(this); @@ -12156,9 +12107,9 @@ export class TrinoSqlParser extends SQLParserBase { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 2997; + this.state = 2946; this.match(TrinoSqlParser.KW_TIME); - this.state = 2998; + this.state = 2947; this.match(TrinoSqlParser.KW_ZONE); } break; @@ -12170,9 +12121,9 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new DoublePrecisionTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 3001; + this.state = 2950; this.match(TrinoSqlParser.KW_DOUBLE); - this.state = 3002; + this.state = 2951; this.match(TrinoSqlParser.KW_PRECISION); } break; @@ -12181,13 +12132,13 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LegacyArrayTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 3003; + this.state = 2952; this.match(TrinoSqlParser.KW_ARRAY); - this.state = 3004; + this.state = 2953; this.match(TrinoSqlParser.LT); - this.state = 3005; + this.state = 2954; this.type_(0); - this.state = 3006; + this.state = 2955; this.match(TrinoSqlParser.GT); } break; @@ -12196,17 +12147,17 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new LegacyMapTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 3008; + this.state = 2957; this.match(TrinoSqlParser.KW_MAP); - this.state = 3009; + this.state = 2958; this.match(TrinoSqlParser.LT); - this.state = 3010; + this.state = 2959; (localContext as LegacyMapTypeContext)._keyType = this.type_(0); - this.state = 3011; + this.state = 2960; this.match(TrinoSqlParser.T__2); - this.state = 3012; + this.state = 2961; (localContext as LegacyMapTypeContext)._valueType = this.type_(0); - this.state = 3013; + this.state = 2962; this.match(TrinoSqlParser.GT); } break; @@ -12215,34 +12166,34 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new GenericTypeContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 3015; + this.state = 2964; this.identifier(); - this.state = 3027; + this.state = 2976; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 390, this.context) ) { case 1: { - this.state = 3016; + this.state = 2965; this.match(TrinoSqlParser.T__0); - this.state = 3017; + this.state = 2966; this.typeParameter(); - this.state = 3022; + this.state = 2971; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3018; + this.state = 2967; this.match(TrinoSqlParser.T__2); - this.state = 3019; + this.state = 2968; this.typeParameter(); } } - this.state = 3024; + this.state = 2973; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 3025; + this.state = 2974; this.match(TrinoSqlParser.T__1); } break; @@ -12251,7 +12202,7 @@ export class TrinoSqlParser extends SQLParserBase { break; } this.context!.stop = this.tokenStream.LT(-1); - this.state = 3040; + this.state = 2989; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 393, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { @@ -12264,22 +12215,22 @@ export class TrinoSqlParser extends SQLParserBase { { localContext = new ArrayTypeContext(new TypeContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_type); - this.state = 3031; + this.state = 2980; if (!(this.precpred(this.context, 2))) { throw this.createFailedPredicateException("this.precpred(this.context, 2)"); } - this.state = 3032; + this.state = 2981; this.match(TrinoSqlParser.KW_ARRAY); - this.state = 3036; + this.state = 2985; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 392, this.context) ) { case 1: { - this.state = 3033; + this.state = 2982; this.match(TrinoSqlParser.T__7); - this.state = 3034; + this.state = 2983; this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 3035; + this.state = 2984; this.match(TrinoSqlParser.T__8); } break; @@ -12287,7 +12238,7 @@ export class TrinoSqlParser extends SQLParserBase { } } } - this.state = 3042; + this.state = 2991; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 393, this.context); } @@ -12309,24 +12260,24 @@ export class TrinoSqlParser extends SQLParserBase { } public rowField(): RowFieldContext { let localContext = new RowFieldContext(this.context, this.state); - this.enterRule(localContext, 208, TrinoSqlParser.RULE_rowField); + this.enterRule(localContext, 184, TrinoSqlParser.RULE_rowField); try { - this.state = 3047; + this.state = 2996; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 394, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3043; + this.state = 2992; this.type_(0); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3044; + this.state = 2993; this.identifier(); - this.state = 3045; + this.state = 2994; this.type_(0); } break; @@ -12348,15 +12299,15 @@ export class TrinoSqlParser extends SQLParserBase { } public typeParameter(): TypeParameterContext { let localContext = new TypeParameterContext(this.context, this.state); - this.enterRule(localContext, 210, TrinoSqlParser.RULE_typeParameter); + this.enterRule(localContext, 186, TrinoSqlParser.RULE_typeParameter); try { - this.state = 3051; + this.state = 3000; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.INTEGER_VALUE: this.enterOuterAlt(localContext, 1); { - this.state = 3049; + this.state = 2998; this.match(TrinoSqlParser.INTEGER_VALUE); } break; @@ -12580,7 +12531,7 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.BACKQUOTED_IDENTIFIER: this.enterOuterAlt(localContext, 2); { - this.state = 3050; + this.state = 2999; this.type_(0); } break; @@ -12604,17 +12555,17 @@ export class TrinoSqlParser extends SQLParserBase { } public whenClause(): WhenClauseContext { let localContext = new WhenClauseContext(this.context, this.state); - this.enterRule(localContext, 212, TrinoSqlParser.RULE_whenClause); + this.enterRule(localContext, 188, TrinoSqlParser.RULE_whenClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 3053; + this.state = 3002; this.match(TrinoSqlParser.KW_WHEN); - this.state = 3054; + this.state = 3003; localContext._condition = this.expression(); - this.state = 3055; + this.state = 3004; this.match(TrinoSqlParser.KW_THEN); - this.state = 3056; + this.state = 3005; localContext._result = this.expression(); } } @@ -12634,17 +12585,17 @@ export class TrinoSqlParser extends SQLParserBase { } public filter(): FilterContext { let localContext = new FilterContext(this.context, this.state); - this.enterRule(localContext, 214, TrinoSqlParser.RULE_filter); + this.enterRule(localContext, 190, TrinoSqlParser.RULE_filter); try { this.enterOuterAlt(localContext, 1); { - this.state = 3058; + this.state = 3007; this.match(TrinoSqlParser.KW_FILTER); - this.state = 3059; + this.state = 3008; this.match(TrinoSqlParser.T__0); - this.state = 3060; + this.state = 3009; this.whereClause(); - this.state = 3061; + this.state = 3010; this.match(TrinoSqlParser.T__1); } } @@ -12664,65 +12615,65 @@ export class TrinoSqlParser extends SQLParserBase { } public mergeCase(): MergeCaseContext { let localContext = new MergeCaseContext(this.context, this.state); - this.enterRule(localContext, 216, TrinoSqlParser.RULE_mergeCase); + this.enterRule(localContext, 192, TrinoSqlParser.RULE_mergeCase); let _la: number; try { - this.state = 3127; + this.state = 3076; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 403, this.context) ) { case 1: localContext = new MergeUpdateContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3063; + this.state = 3012; this.match(TrinoSqlParser.KW_WHEN); - this.state = 3064; + this.state = 3013; this.match(TrinoSqlParser.KW_MATCHED); - this.state = 3067; + this.state = 3016; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 25) { { - this.state = 3065; + this.state = 3014; this.match(TrinoSqlParser.KW_AND); - this.state = 3066; + this.state = 3015; (localContext as MergeUpdateContext)._condition = this.expression(); } } - this.state = 3069; + this.state = 3018; this.match(TrinoSqlParser.KW_THEN); - this.state = 3070; + this.state = 3019; this.match(TrinoSqlParser.KW_UPDATE); - this.state = 3071; + this.state = 3020; this.match(TrinoSqlParser.KW_SET); - this.state = 3072; + this.state = 3021; (localContext as MergeUpdateContext)._identifier = this.identifier(); (localContext as MergeUpdateContext)._targets.push((localContext as MergeUpdateContext)._identifier); - this.state = 3073; + this.state = 3022; this.match(TrinoSqlParser.EQ); - this.state = 3074; + this.state = 3023; (localContext as MergeUpdateContext)._expression = this.expression(); (localContext as MergeUpdateContext)._values.push((localContext as MergeUpdateContext)._expression); - this.state = 3082; + this.state = 3031; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3075; + this.state = 3024; this.match(TrinoSqlParser.T__2); - this.state = 3076; + this.state = 3025; (localContext as MergeUpdateContext)._identifier = this.identifier(); (localContext as MergeUpdateContext)._targets.push((localContext as MergeUpdateContext)._identifier); - this.state = 3077; + this.state = 3026; this.match(TrinoSqlParser.EQ); - this.state = 3078; + this.state = 3027; (localContext as MergeUpdateContext)._expression = this.expression(); (localContext as MergeUpdateContext)._values.push((localContext as MergeUpdateContext)._expression); } } - this.state = 3084; + this.state = 3033; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -12732,25 +12683,25 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new MergeDeleteContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3085; + this.state = 3034; this.match(TrinoSqlParser.KW_WHEN); - this.state = 3086; + this.state = 3035; this.match(TrinoSqlParser.KW_MATCHED); - this.state = 3089; + this.state = 3038; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 25) { { - this.state = 3087; + this.state = 3036; this.match(TrinoSqlParser.KW_AND); - this.state = 3088; + this.state = 3037; (localContext as MergeDeleteContext)._condition = this.expression(); } } - this.state = 3091; + this.state = 3040; this.match(TrinoSqlParser.KW_THEN); - this.state = 3092; + this.state = 3041; this.match(TrinoSqlParser.KW_DELETE); } break; @@ -12758,85 +12709,85 @@ export class TrinoSqlParser extends SQLParserBase { localContext = new MergeInsertContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3093; + this.state = 3042; this.match(TrinoSqlParser.KW_WHEN); - this.state = 3094; + this.state = 3043; this.match(TrinoSqlParser.KW_NOT); - this.state = 3095; + this.state = 3044; this.match(TrinoSqlParser.KW_MATCHED); - this.state = 3098; + this.state = 3047; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 25) { { - this.state = 3096; + this.state = 3045; this.match(TrinoSqlParser.KW_AND); - this.state = 3097; + this.state = 3046; (localContext as MergeInsertContext)._condition = this.expression(); } } - this.state = 3100; + this.state = 3049; this.match(TrinoSqlParser.KW_THEN); - this.state = 3101; + this.state = 3050; this.match(TrinoSqlParser.KW_INSERT); - this.state = 3113; + this.state = 3062; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 1) { { - this.state = 3102; + this.state = 3051; this.match(TrinoSqlParser.T__0); - this.state = 3103; + this.state = 3052; (localContext as MergeInsertContext)._identifier = this.identifier(); (localContext as MergeInsertContext)._targets.push((localContext as MergeInsertContext)._identifier); - this.state = 3108; + this.state = 3057; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3104; + this.state = 3053; this.match(TrinoSqlParser.T__2); - this.state = 3105; + this.state = 3054; (localContext as MergeInsertContext)._identifier = this.identifier(); (localContext as MergeInsertContext)._targets.push((localContext as MergeInsertContext)._identifier); } } - this.state = 3110; + this.state = 3059; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 3111; + this.state = 3060; this.match(TrinoSqlParser.T__1); } } - this.state = 3115; + this.state = 3064; this.match(TrinoSqlParser.KW_VALUES); - this.state = 3116; + this.state = 3065; this.match(TrinoSqlParser.T__0); - this.state = 3117; + this.state = 3066; (localContext as MergeInsertContext)._expression = this.expression(); (localContext as MergeInsertContext)._values.push((localContext as MergeInsertContext)._expression); - this.state = 3122; + this.state = 3071; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3118; + this.state = 3067; this.match(TrinoSqlParser.T__2); - this.state = 3119; + this.state = 3068; (localContext as MergeInsertContext)._expression = this.expression(); (localContext as MergeInsertContext)._values.push((localContext as MergeInsertContext)._expression); } } - this.state = 3124; + this.state = 3073; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 3125; + this.state = 3074; this.match(TrinoSqlParser.T__1); } break; @@ -12858,13 +12809,13 @@ export class TrinoSqlParser extends SQLParserBase { } public over(): OverContext { let localContext = new OverContext(this.context, this.state); - this.enterRule(localContext, 218, TrinoSqlParser.RULE_over); + this.enterRule(localContext, 194, TrinoSqlParser.RULE_over); try { this.enterOuterAlt(localContext, 1); { - this.state = 3129; + this.state = 3078; this.match(TrinoSqlParser.KW_OVER); - this.state = 3135; + this.state = 3084; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case TrinoSqlParser.KW_ABSENT: @@ -13086,17 +13037,17 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.QUOTED_IDENTIFIER: case TrinoSqlParser.BACKQUOTED_IDENTIFIER: { - this.state = 3130; + this.state = 3079; localContext._windowName = this.identifier(); } break; case TrinoSqlParser.T__0: { - this.state = 3131; + this.state = 3080; this.match(TrinoSqlParser.T__0); - this.state = 3132; + this.state = 3081; this.windowSpecification(); - this.state = 3133; + this.state = 3082; this.match(TrinoSqlParser.T__1); } break; @@ -13121,61 +13072,61 @@ export class TrinoSqlParser extends SQLParserBase { } public windowFrame(): WindowFrameContext { let localContext = new WindowFrameContext(this.context, this.state); - this.enterRule(localContext, 220, TrinoSqlParser.RULE_windowFrame); + this.enterRule(localContext, 196, TrinoSqlParser.RULE_windowFrame); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 3146; + this.state = 3095; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 169) { { - this.state = 3137; + this.state = 3086; this.match(TrinoSqlParser.KW_MEASURES); - this.state = 3138; + this.state = 3087; this.measureDefinition(); - this.state = 3143; + this.state = 3092; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3139; + this.state = 3088; this.match(TrinoSqlParser.T__2); - this.state = 3140; + this.state = 3089; this.measureDefinition(); } } - this.state = 3145; + this.state = 3094; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 3148; + this.state = 3097; this.frameExtent(); - this.state = 3152; + this.state = 3101; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 21) { { - this.state = 3149; + this.state = 3098; this.match(TrinoSqlParser.KW_AFTER); - this.state = 3150; + this.state = 3099; this.match(TrinoSqlParser.KW_MATCH); - this.state = 3151; + this.state = 3100; this.skipTo(); } } - this.state = 3155; + this.state = 3104; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 125 || _la === 248) { { - this.state = 3154; + this.state = 3103; _la = this.tokenStream.LA(1); if(!(_la === 125 || _la === 248)) { this.errorHandler.recoverInline(this); @@ -13187,72 +13138,72 @@ export class TrinoSqlParser extends SQLParserBase { } } - this.state = 3162; + this.state = 3111; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 207) { { - this.state = 3157; + this.state = 3106; this.match(TrinoSqlParser.KW_PATTERN); - this.state = 3158; + this.state = 3107; this.match(TrinoSqlParser.T__0); - this.state = 3159; + this.state = 3108; this.rowPattern(0); - this.state = 3160; + this.state = 3109; this.match(TrinoSqlParser.T__1); } } - this.state = 3173; + this.state = 3122; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 258) { { - this.state = 3164; + this.state = 3113; this.match(TrinoSqlParser.KW_SUBSET); - this.state = 3165; + this.state = 3114; this.subsetDefinition(); - this.state = 3170; + this.state = 3119; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3166; + this.state = 3115; this.match(TrinoSqlParser.T__2); - this.state = 3167; + this.state = 3116; this.subsetDefinition(); } } - this.state = 3172; + this.state = 3121; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 3184; + this.state = 3133; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 72) { { - this.state = 3175; + this.state = 3124; this.match(TrinoSqlParser.KW_DEFINE); - this.state = 3176; + this.state = 3125; this.variableDefinition(); - this.state = 3181; + this.state = 3130; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3177; + this.state = 3126; this.match(TrinoSqlParser.T__2); - this.state = 3178; + this.state = 3127; this.variableDefinition(); } } - this.state = 3183; + this.state = 3132; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -13277,889 +13228,298 @@ export class TrinoSqlParser extends SQLParserBase { } public frameExtent(): FrameExtentContext { let localContext = new FrameExtentContext(this.context, this.state); - this.enterRule(localContext, 222, TrinoSqlParser.RULE_frameExtent); + this.enterRule(localContext, 198, TrinoSqlParser.RULE_frameExtent); + let _la: number; try { - this.state = 3210; + this.enterOuterAlt(localContext, 1); + { + this.state = 3135; + localContext._frameType = this.tokenStream.LT(1); + _la = this.tokenStream.LA(1); + if(!(_la === 117 || _la === 220 || _la === 241)) { + localContext._frameType = this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 3142; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 414, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); - { - this.state = 3186; - localContext._frameType = this.match(TrinoSqlParser.KW_RANGE); - this.state = 3187; - localContext._start = this.frameBound(); - } - break; - case 2: - this.enterOuterAlt(localContext, 2); - { - this.state = 3188; - localContext._frameType = this.match(TrinoSqlParser.KW_ROWS); - this.state = 3189; - localContext._start = this.frameBound(); - } - break; - case 3: - this.enterOuterAlt(localContext, 3); - { - this.state = 3190; - localContext._frameType = this.match(TrinoSqlParser.KW_GROUPS); - this.state = 3191; - localContext._start = this.frameBound(); - } - break; - case 4: - this.enterOuterAlt(localContext, 4); - { - this.state = 3192; - localContext._frameType = this.match(TrinoSqlParser.KW_RANGE); - this.state = 3193; - this.match(TrinoSqlParser.KW_BETWEEN); - this.state = 3194; - localContext._start = this.frameBound(); - this.state = 3195; - this.match(TrinoSqlParser.KW_AND); - this.state = 3196; - localContext._end = this.frameBound(); - } - break; - case 5: - this.enterOuterAlt(localContext, 5); - { - this.state = 3198; - localContext._frameType = this.match(TrinoSqlParser.KW_ROWS); - this.state = 3199; - this.match(TrinoSqlParser.KW_BETWEEN); - this.state = 3200; - localContext._start = this.frameBound(); - this.state = 3201; - this.match(TrinoSqlParser.KW_AND); - this.state = 3202; - localContext._end = this.frameBound(); - } - break; - case 6: - this.enterOuterAlt(localContext, 6); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_BETWEEN: { - this.state = 3204; - localContext._frameType = this.match(TrinoSqlParser.KW_GROUPS); - this.state = 3205; + this.state = 3136; this.match(TrinoSqlParser.KW_BETWEEN); - this.state = 3206; + this.state = 3137; localContext._start = this.frameBound(); - this.state = 3207; + this.state = 3138; this.match(TrinoSqlParser.KW_AND); - this.state = 3208; + this.state = 3139; 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, 224, TrinoSqlParser.RULE_frameBound); - let _la: number; - try { - this.state = 3221; - 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 = 3212; - this.match(TrinoSqlParser.KW_UNBOUNDED); - this.state = 3213; - (localContext as UnboundedFrameContext)._boundType = this.match(TrinoSqlParser.KW_PRECEDING); - } - break; - case 2: - localContext = new UnboundedFrameContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3214; - this.match(TrinoSqlParser.KW_UNBOUNDED); - this.state = 3215; - (localContext as UnboundedFrameContext)._boundType = this.match(TrinoSqlParser.KW_FOLLOWING); - } - break; - case 3: - localContext = new CurrentRowBoundContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 3216; - this.match(TrinoSqlParser.KW_CURRENT); - this.state = 3217; - this.match(TrinoSqlParser.KW_ROW); - } - break; - case 4: - localContext = new BoundedFrameContext(localContext); - this.enterOuterAlt(localContext, 4); - { - this.state = 3218; - this.expression(); - this.state = 3219; - (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 = 226; - this.enterRecursionRule(localContext, 226, TrinoSqlParser.RULE_rowPattern, _p); - try { - let alternative: number; - this.enterOuterAlt(localContext, 1); - { - { - localContext = new QuantifiedPrimaryContext(localContext); - this.context = localContext; - previousContext = localContext; - - this.state = 3224; - this.patternPrimary(); - this.state = 3226; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 416, this.context) ) { - case 1: - { - this.state = 3225; - this.patternQuantifier(); - } - break; - } - } - this.context!.stop = this.tokenStream.LT(-1); - this.state = 3235; - this.errorHandler.sync(this); - 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 = 3233; - 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 = 3228; - if (!(this.precpred(this.context, 2))) { - throw this.createFailedPredicateException("this.precpred(this.context, 2)"); - } - this.state = 3229; - this.rowPattern(3); - } - break; - case 2: - { - localContext = new PatternAlternationContext(new RowPatternContext(parentContext, parentState)); - this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_rowPattern); - this.state = 3230; - if (!(this.precpred(this.context, 1))) { - throw this.createFailedPredicateException("this.precpred(this.context, 1)"); - } - this.state = 3231; - this.match(TrinoSqlParser.T__10); - this.state = 3232; - this.rowPattern(2); - } - break; - } - } - } - this.state = 3237; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 418, this.context); - } - } - } - 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.unrollRecursionContexts(parentContext); - } - return localContext; - } - public patternPrimary(): PatternPrimaryContext { - let localContext = new PatternPrimaryContext(this.context, this.state); - this.enterRule(localContext, 228, TrinoSqlParser.RULE_patternPrimary); - let _la: number; - try { - this.state = 3263; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 420, this.context) ) { - case 1: - localContext = new PatternVariableContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3238; - this.identifier(); - } - break; - case 2: - localContext = new EmptyPatternContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3239; - this.match(TrinoSqlParser.T__0); - this.state = 3240; - this.match(TrinoSqlParser.T__1); - } - break; - case 3: - localContext = new PatternPermutationContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 3241; - this.match(TrinoSqlParser.KW_PERMUTE); - this.state = 3242; - this.match(TrinoSqlParser.T__0); - this.state = 3243; - this.rowPattern(0); - this.state = 3248; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 3244; - this.match(TrinoSqlParser.T__2); - this.state = 3245; - this.rowPattern(0); - } - } - this.state = 3250; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - this.state = 3251; - this.match(TrinoSqlParser.T__1); - } - break; - case 4: - localContext = new GroupedPatternContext(localContext); - this.enterOuterAlt(localContext, 4); - { - this.state = 3253; - this.match(TrinoSqlParser.T__0); - this.state = 3254; - this.rowPattern(0); - this.state = 3255; - this.match(TrinoSqlParser.T__1); - } - break; - case 5: - localContext = new PartitionStartAnchorContext(localContext); - this.enterOuterAlt(localContext, 5); - { - this.state = 3257; - this.match(TrinoSqlParser.T__11); - } - break; - case 6: - localContext = new PartitionEndAnchorContext(localContext); - this.enterOuterAlt(localContext, 6); - { - this.state = 3258; - this.match(TrinoSqlParser.T__12); - } - break; - case 7: - localContext = new ExcludedPatternContext(localContext); - this.enterOuterAlt(localContext, 7); - { - this.state = 3259; - this.match(TrinoSqlParser.T__13); - this.state = 3260; - this.rowPattern(0); - this.state = 3261; - 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, 230, TrinoSqlParser.RULE_patternQuantifier); - let _la: number; - try { - this.state = 3295; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 428, this.context) ) { - case 1: - localContext = new ZeroOrMoreQuantifierContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3265; - this.match(TrinoSqlParser.ASTERISK); - this.state = 3267; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 421, this.context) ) { - case 1: - { - this.state = 3266; - (localContext as ZeroOrMoreQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); - } - break; - } - } - break; - case 2: - localContext = new OneOrMoreQuantifierContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3269; - this.match(TrinoSqlParser.PLUS); - this.state = 3271; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 422, this.context) ) { - case 1: - { - this.state = 3270; - (localContext as OneOrMoreQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); - } - break; - } - } - break; - case 3: - localContext = new ZeroOrOneQuantifierContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 3273; - this.match(TrinoSqlParser.QUESTION_MARK); - this.state = 3275; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 423, this.context) ) { - case 1: - { - this.state = 3274; - (localContext as ZeroOrOneQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); - } - break; - } - } - break; - case 4: - localContext = new RangeQuantifierContext(localContext); - this.enterOuterAlt(localContext, 4); - { - this.state = 3277; - this.match(TrinoSqlParser.T__15); - this.state = 3278; - (localContext as RangeQuantifierContext)._exactly = this.match(TrinoSqlParser.INTEGER_VALUE); - this.state = 3279; - this.match(TrinoSqlParser.T__16); - this.state = 3281; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 424, this.context) ) { - case 1: - { - this.state = 3280; - (localContext as RangeQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); - } - break; - } - } - break; - case 5: - localContext = new RangeQuantifierContext(localContext); - this.enterOuterAlt(localContext, 5); - { - this.state = 3283; - this.match(TrinoSqlParser.T__15); - this.state = 3285; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 330) { - { - this.state = 3284; - (localContext as RangeQuantifierContext)._atLeast = this.match(TrinoSqlParser.INTEGER_VALUE); - } - } - - this.state = 3287; - this.match(TrinoSqlParser.T__2); - this.state = 3289; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 330) { - { - this.state = 3288; - (localContext as RangeQuantifierContext)._atMost = this.match(TrinoSqlParser.INTEGER_VALUE); - } - } - - this.state = 3291; - this.match(TrinoSqlParser.T__16); - this.state = 3293; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 427, this.context) ) { - case 1: - { - this.state = 3292; - (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, 232, TrinoSqlParser.RULE_updateAssignment); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3297; - this.identifier(); - this.state = 3298; - this.match(TrinoSqlParser.EQ); - this.state = 3299; - 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, 234, TrinoSqlParser.RULE_explainOption); - let _la: number; - try { - this.state = 3305; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_FORMAT: - localContext = new ExplainFormatContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3301; - this.match(TrinoSqlParser.KW_FORMAT); - this.state = 3302; - (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 = 3303; - this.match(TrinoSqlParser.KW_TYPE); - this.state = 3304; - (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, 236, TrinoSqlParser.RULE_transactionMode); - let _la: number; - try { - this.state = 3312; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_ISOLATION: - localContext = new IsolationLevelContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3307; - this.match(TrinoSqlParser.KW_ISOLATION); - this.state = 3308; - this.match(TrinoSqlParser.KW_LEVEL); - this.state = 3309; - this.levelOfIsolation(); - } - break; - case TrinoSqlParser.KW_READ: - localContext = new TransactionAccessModeContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3310; - this.match(TrinoSqlParser.KW_READ); - this.state = 3311; - (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, 238, TrinoSqlParser.RULE_levelOfIsolation); - try { - this.state = 3321; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 431, this.context) ) { - case 1: - localContext = new ReadUncommittedContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3314; - this.match(TrinoSqlParser.KW_READ); - this.state = 3315; - this.match(TrinoSqlParser.KW_UNCOMMITTED); - } - break; - case 2: - localContext = new ReadCommittedContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3316; - this.match(TrinoSqlParser.KW_READ); - this.state = 3317; - this.match(TrinoSqlParser.KW_COMMITTED); - } - break; - case 3: - localContext = new RepeatableReadContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 3318; - this.match(TrinoSqlParser.KW_REPEATABLE); - this.state = 3319; - this.match(TrinoSqlParser.KW_READ); - } - break; - case 4: - localContext = new SerializableContext(localContext); - this.enterOuterAlt(localContext, 4); - { - this.state = 3320; - 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, 240, TrinoSqlParser.RULE_callArgument); - try { - this.state = 3328; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 432, this.context) ) { - case 1: - localContext = new PositionalArgumentContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3323; - this.expression(); - } - break; - case 2: - localContext = new NamedArgumentContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3324; - this.identifier(); - this.state = 3325; - this.match(TrinoSqlParser.T__5); - this.state = 3326; - 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, 242, TrinoSqlParser.RULE_pathElement); - try { - this.state = 3335; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 433, this.context) ) { - case 1: - localContext = new QualifiedArgumentContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3330; - this.identifier(); - this.state = 3331; - this.match(TrinoSqlParser.T__3); - this.state = 3332; - this.identifier(); - } - break; - case 2: - localContext = new UnqualifiedArgumentContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3334; - 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, 244, TrinoSqlParser.RULE_pathSpecification); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3337; - this.pathElement(); - this.state = 3342; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 3338; - this.match(TrinoSqlParser.T__2); - this.state = 3339; - this.pathElement(); - } - } - this.state = 3344; - 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, 246, TrinoSqlParser.RULE_functionSpecification); - try { - let alternative: number; - this.enterOuterAlt(localContext, 1); - { - this.state = 3345; - this.match(TrinoSqlParser.KW_FUNCTION); - this.state = 3346; - this.functionDeclaration(); - this.state = 3347; - this.returnsClause(); - this.state = 3351; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 435, this.context); - while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { - if (alternative === 1) { - { - { - this.state = 3348; - this.routineCharacteristic(); - } - } + 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 = 3141; + localContext._start = this.frameBound(); } - this.state = 3353; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 435, this.context); + break; + default: + throw new antlr.NoViableAltException(this); } - this.state = 3354; - this.controlStatement(); } } catch (re) { @@ -14176,135 +13536,63 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public functionDeclaration(): FunctionDeclarationContext { - let localContext = new FunctionDeclarationContext(this.context, this.state); - this.enterRule(localContext, 248, TrinoSqlParser.RULE_functionDeclaration); + public frameBound(): FrameBoundContext { + let localContext = new FrameBoundContext(this.context, this.state); + this.enterRule(localContext, 200, TrinoSqlParser.RULE_frameBound); let _la: number; try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3356; - this.functionNameCreate(); - this.state = 3357; - this.match(TrinoSqlParser.T__0); - this.state = 3366; + this.state = 3153; 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)) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 415, this.context) ) { + case 1: + localContext = new UnboundedFrameContext(localContext); + this.enterOuterAlt(localContext, 1); { - this.state = 3358; - this.parameterDeclaration(); - 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.parameterDeclaration(); - } - } - this.state = 3365; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); + this.state = 3144; + this.match(TrinoSqlParser.KW_UNBOUNDED); + this.state = 3145; + (localContext as UnboundedFrameContext)._boundType = this.match(TrinoSqlParser.KW_PRECEDING); } + break; + case 2: + localContext = new UnboundedFrameContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3146; + this.match(TrinoSqlParser.KW_UNBOUNDED); + this.state = 3147; + (localContext as UnboundedFrameContext)._boundType = this.match(TrinoSqlParser.KW_FOLLOWING); } - } - - this.state = 3368; - 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, 250, TrinoSqlParser.RULE_functionSignature); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3370; - this.functionName(); - this.state = 3371; - this.match(TrinoSqlParser.T__0); - this.state = 3380; - 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)) { + break; + case 3: + localContext = new CurrentRowBoundContext(localContext); + this.enterOuterAlt(localContext, 3); { - this.state = 3372; - this.parameterDeclaration(); - this.state = 3377; - this.errorHandler.sync(this); + this.state = 3148; + this.match(TrinoSqlParser.KW_CURRENT); + this.state = 3149; + this.match(TrinoSqlParser.KW_ROW); + } + break; + case 4: + localContext = new BoundedFrameContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 3150; + this.expression(); + this.state = 3151; + (localContext as BoundedFrameContext)._boundType = this.tokenStream.LT(1); _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 3373; - this.match(TrinoSqlParser.T__2); - this.state = 3374; - this.parameterDeclaration(); - } - } - this.state = 3379; - this.errorHandler.sync(this); - _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(); } - } - - this.state = 3382; - 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, 252, TrinoSqlParser.RULE_parameterDeclaration); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3385; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 440, this.context) ) { - case 1: - { - this.state = 3384; - this.identifier(); } break; } - this.state = 3387; - this.type_(0); - } } catch (re) { if (re instanceof antlr.RecognitionException) { @@ -14320,128 +13608,89 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public returnsClause(): ReturnsClauseContext { - let localContext = new ReturnsClauseContext(this.context, this.state); - this.enterRule(localContext, 254, TrinoSqlParser.RULE_returnsClause); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3389; - this.match(TrinoSqlParser.KW_RETURNS); - this.state = 3390; - 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(); + + public rowPattern(): RowPatternContext; + public rowPattern(_p: number): RowPatternContext; + public rowPattern(_p?: number): RowPatternContext { + if (_p === undefined) { + _p = 0; } - return localContext; - } - public routineCharacteristic(): RoutineCharacteristicContext { - let localContext = new RoutineCharacteristicContext(this.context, this.state); - this.enterRule(localContext, 256, TrinoSqlParser.RULE_routineCharacteristic); - let _la: number; - try { - this.state = 3411; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.KW_LANGUAGE: - localContext = new LanguageCharacteristicContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3392; - this.match(TrinoSqlParser.KW_LANGUAGE); - this.state = 3393; - this.identifier(); - } - break; - case TrinoSqlParser.KW_DETERMINISTIC: - case TrinoSqlParser.KW_NOT: - localContext = new DeterministicCharacteristicContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3395; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 183) { - { - this.state = 3394; - this.match(TrinoSqlParser.KW_NOT); - } - } - this.state = 3397; - this.match(TrinoSqlParser.KW_DETERMINISTIC); - } - break; - case TrinoSqlParser.KW_RETURNS: - localContext = new ReturnsNullOnNullInputCharacteristicContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 3398; - this.match(TrinoSqlParser.KW_RETURNS); - this.state = 3399; - this.match(TrinoSqlParser.KW_NULL); - this.state = 3400; - this.match(TrinoSqlParser.KW_ON); - this.state = 3401; - this.match(TrinoSqlParser.KW_NULL); - this.state = 3402; - this.match(TrinoSqlParser.KW_INPUT); - } - break; - case TrinoSqlParser.KW_CALLED: - localContext = new CalledOnNullInputCharacteristicContext(localContext); - this.enterOuterAlt(localContext, 4); - { - this.state = 3403; - this.match(TrinoSqlParser.KW_CALLED); - this.state = 3404; - this.match(TrinoSqlParser.KW_ON); - this.state = 3405; - this.match(TrinoSqlParser.KW_NULL); - this.state = 3406; - this.match(TrinoSqlParser.KW_INPUT); - } - break; - case TrinoSqlParser.KW_SECURITY: - localContext = new SecurityCharacteristicContext(localContext); - this.enterOuterAlt(localContext, 5); + let parentContext = this.context; + let parentState = this.state; + let localContext = new RowPatternContext(this.context, parentState); + let previousContext = localContext; + let _startState = 202; + this.enterRecursionRule(localContext, 202, TrinoSqlParser.RULE_rowPattern, _p); + try { + let alternative: number; + this.enterOuterAlt(localContext, 1); + { + { + localContext = new QuantifiedPrimaryContext(localContext); + this.context = localContext; + previousContext = localContext; + + this.state = 3156; + this.patternPrimary(); + this.state = 3158; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 416, this.context) ) { + case 1: { - this.state = 3407; - this.match(TrinoSqlParser.KW_SECURITY); - this.state = 3408; - _la = this.tokenStream.LA(1); - if(!(_la === 73 || _la === 132)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } + this.state = 3157; + this.patternQuantifier(); } break; - case TrinoSqlParser.KW_COMMENT: - localContext = new CommentCharacteristicContext(localContext); - this.enterOuterAlt(localContext, 6); - { - this.state = 3409; - this.match(TrinoSqlParser.KW_COMMENT); - this.state = 3410; - this.string_(); + } + } + this.context!.stop = this.tokenStream.LT(-1); + this.state = 3167; + this.errorHandler.sync(this); + 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 = 3165; + 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 = 3160; + if (!(this.precpred(this.context, 2))) { + throw this.createFailedPredicateException("this.precpred(this.context, 2)"); + } + this.state = 3161; + this.rowPattern(3); + } + break; + case 2: + { + localContext = new PatternAlternationContext(new RowPatternContext(parentContext, parentState)); + this.pushNewRecursionContext(localContext, _startState, TrinoSqlParser.RULE_rowPattern); + this.state = 3162; + if (!(this.precpred(this.context, 1))) { + throw this.createFailedPredicateException("this.precpred(this.context, 1)"); + } + this.state = 3163; + this.match(TrinoSqlParser.T__10); + this.state = 3164; + this.rowPattern(2); + } + break; + } + } } - break; - default: - throw new antlr.NoViableAltException(this); + this.state = 3169; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 418, this.context); + } } } catch (re) { @@ -14454,301 +13703,246 @@ export class TrinoSqlParser extends SQLParserBase { } } finally { - this.exitRule(); + this.unrollRecursionContexts(parentContext); } return localContext; } - public controlStatement(): ControlStatementContext { - let localContext = new ControlStatementContext(this.context, this.state); - this.enterRule(localContext, 258, TrinoSqlParser.RULE_controlStatement); + public patternPrimary(): PatternPrimaryContext { + let localContext = new PatternPrimaryContext(this.context, this.state); + this.enterRule(localContext, 204, TrinoSqlParser.RULE_patternPrimary); let _la: number; try { - let alternative: number; - this.state = 3512; + this.state = 3195; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 454, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 420, this.context) ) { case 1: - localContext = new ReturnStatementContext(localContext); + localContext = new PatternVariableContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3413; - this.match(TrinoSqlParser.KW_RETURN); - this.state = 3414; - this.valueExpression(0); + this.state = 3170; + this.identifier(); } break; case 2: - localContext = new AssignmentStatementContext(localContext); + localContext = new EmptyPatternContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3415; - this.match(TrinoSqlParser.KW_SET); - this.state = 3416; - this.identifier(); - this.state = 3417; - this.match(TrinoSqlParser.EQ); - this.state = 3418; - this.expression(); + this.state = 3171; + this.match(TrinoSqlParser.T__0); + this.state = 3172; + this.match(TrinoSqlParser.T__1); } break; case 3: - localContext = new SimpleCaseStatementContext(localContext); + localContext = new PatternPermutationContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3420; - this.match(TrinoSqlParser.KW_CASE); - this.state = 3421; - this.expression(); - this.state = 3423; + this.state = 3173; + this.match(TrinoSqlParser.KW_PERMUTE); + this.state = 3174; + this.match(TrinoSqlParser.T__0); + this.state = 3175; + this.rowPattern(0); + this.state = 3180; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - do { + while (_la === 3) { { { - this.state = 3422; - this.caseStatementWhenClause(); + this.state = 3176; + this.match(TrinoSqlParser.T__2); + this.state = 3177; + this.rowPattern(0); } } - this.state = 3425; + this.state = 3182; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - } while (_la === 301); - this.state = 3428; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 85) { - { - this.state = 3427; - this.elseClause(); - } } - - this.state = 3430; - this.match(TrinoSqlParser.KW_END); - this.state = 3431; - this.match(TrinoSqlParser.KW_CASE); + this.state = 3183; + this.match(TrinoSqlParser.T__1); } break; case 4: - localContext = new SearchedCaseStatementContext(localContext); + localContext = new GroupedPatternContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 3433; - this.match(TrinoSqlParser.KW_CASE); - this.state = 3435; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - do { - { - { - this.state = 3434; - this.caseStatementWhenClause(); - } - } - this.state = 3437; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } while (_la === 301); - this.state = 3440; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 85) { - { - this.state = 3439; - this.elseClause(); - } - } - - this.state = 3442; - this.match(TrinoSqlParser.KW_END); - this.state = 3443; - this.match(TrinoSqlParser.KW_CASE); + this.state = 3185; + this.match(TrinoSqlParser.T__0); + this.state = 3186; + this.rowPattern(0); + this.state = 3187; + this.match(TrinoSqlParser.T__1); } break; case 5: - localContext = new IfStatementContext(localContext); + localContext = new PartitionStartAnchorContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 3445; - this.match(TrinoSqlParser.KW_IF); - this.state = 3446; - this.expression(); - this.state = 3447; - this.match(TrinoSqlParser.KW_THEN); - this.state = 3448; - this.sqlStatementList(); - this.state = 3452; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 87) { - { - { - this.state = 3449; - this.elseIfClause(); - } - } - this.state = 3454; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - this.state = 3456; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 85) { - { - this.state = 3455; - this.elseClause(); - } - } - - this.state = 3458; - this.match(TrinoSqlParser.KW_END); - this.state = 3459; - this.match(TrinoSqlParser.KW_IF); + this.state = 3189; + this.match(TrinoSqlParser.T__11); } break; case 6: - localContext = new IterateStatementContext(localContext); + localContext = new PartitionEndAnchorContext(localContext); this.enterOuterAlt(localContext, 6); { - this.state = 3461; - this.match(TrinoSqlParser.KW_ITERATE); - this.state = 3462; - this.identifier(); + this.state = 3190; + this.match(TrinoSqlParser.T__12); } break; case 7: - localContext = new LeaveStatementContext(localContext); + localContext = new ExcludedPatternContext(localContext); this.enterOuterAlt(localContext, 7); { - this.state = 3463; - this.match(TrinoSqlParser.KW_LEAVE); - this.state = 3464; - this.identifier(); + this.state = 3191; + this.match(TrinoSqlParser.T__13); + this.state = 3192; + this.rowPattern(0); + this.state = 3193; + this.match(TrinoSqlParser.T__14); } break; - case 8: - localContext = new CompoundStatementContext(localContext); - this.enterOuterAlt(localContext, 8); + } + } + 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, 206, TrinoSqlParser.RULE_patternQuantifier); + let _la: number; + try { + this.state = 3227; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 428, this.context) ) { + case 1: + localContext = new ZeroOrMoreQuantifierContext(localContext); + this.enterOuterAlt(localContext, 1); { - this.state = 3465; - this.match(TrinoSqlParser.KW_BEGIN); - this.state = 3471; + this.state = 3197; + this.match(TrinoSqlParser.ASTERISK); + this.state = 3199; 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 = 3466; - this.variableDeclaration(); - this.state = 3467; - this.match(TrinoSqlParser.SEMICOLON); - } - } + switch (this.interpreter.adaptivePredict(this.tokenStream, 421, this.context) ) { + case 1: + { + this.state = 3198; + (localContext as ZeroOrMoreQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); } - this.state = 3473; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 449, this.context); + break; } - this.state = 3475; + } + break; + case 2: + localContext = new OneOrMoreQuantifierContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3201; + this.match(TrinoSqlParser.PLUS); + this.state = 3203; 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)) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 422, this.context) ) { + case 1: { - this.state = 3474; - this.sqlStatementList(); + this.state = 3202; + (localContext as OneOrMoreQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); } + break; } - - this.state = 3477; - this.match(TrinoSqlParser.KW_END); } break; - case 9: - localContext = new LoopStatementContext(localContext); - this.enterOuterAlt(localContext, 9); + case 3: + localContext = new ZeroOrOneQuantifierContext(localContext); + this.enterOuterAlt(localContext, 3); { - this.state = 3481; + this.state = 3205; + this.match(TrinoSqlParser.QUESTION_MARK); + this.state = 3207; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 451, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 423, this.context) ) { case 1: { - this.state = 3478; - (localContext as LoopStatementContext)._label = this.identifier(); - this.state = 3479; - this.match(TrinoSqlParser.T__9); + this.state = 3206; + (localContext as ZeroOrOneQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); } break; } - this.state = 3483; - this.match(TrinoSqlParser.KW_LOOP); - this.state = 3484; - this.sqlStatementList(); - this.state = 3485; - this.match(TrinoSqlParser.KW_END); - this.state = 3486; - this.match(TrinoSqlParser.KW_LOOP); } break; - case 10: - localContext = new WhileStatementContext(localContext); - this.enterOuterAlt(localContext, 10); + case 4: + localContext = new RangeQuantifierContext(localContext); + this.enterOuterAlt(localContext, 4); { - this.state = 3491; + this.state = 3209; + this.match(TrinoSqlParser.T__15); + this.state = 3210; + (localContext as RangeQuantifierContext)._exactly = this.match(TrinoSqlParser.INTEGER_VALUE); + this.state = 3211; + this.match(TrinoSqlParser.T__16); + this.state = 3213; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 452, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 424, this.context) ) { case 1: { - this.state = 3488; - (localContext as WhileStatementContext)._label = this.identifier(); - this.state = 3489; - this.match(TrinoSqlParser.T__9); + this.state = 3212; + (localContext as RangeQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); } break; } - this.state = 3493; - this.match(TrinoSqlParser.KW_WHILE); - this.state = 3494; - this.expression(); - this.state = 3495; - this.match(TrinoSqlParser.KW_DO); - this.state = 3496; - this.sqlStatementList(); - this.state = 3497; - this.match(TrinoSqlParser.KW_END); - this.state = 3498; - this.match(TrinoSqlParser.KW_WHILE); } break; - case 11: - localContext = new RepeatStatementContext(localContext); - this.enterOuterAlt(localContext, 11); + case 5: + localContext = new RangeQuantifierContext(localContext); + this.enterOuterAlt(localContext, 5); { - this.state = 3503; + this.state = 3215; + this.match(TrinoSqlParser.T__15); + this.state = 3217; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 453, this.context) ) { + _la = this.tokenStream.LA(1); + if (_la === 330) { + { + this.state = 3216; + (localContext as RangeQuantifierContext)._atLeast = this.match(TrinoSqlParser.INTEGER_VALUE); + } + } + + this.state = 3219; + this.match(TrinoSqlParser.T__2); + this.state = 3221; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 330) { + { + this.state = 3220; + (localContext as RangeQuantifierContext)._atMost = this.match(TrinoSqlParser.INTEGER_VALUE); + } + } + + this.state = 3223; + this.match(TrinoSqlParser.T__16); + this.state = 3225; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 427, this.context) ) { case 1: { - this.state = 3500; - (localContext as RepeatStatementContext)._label = this.identifier(); - this.state = 3501; - this.match(TrinoSqlParser.T__9); + this.state = 3224; + (localContext as RangeQuantifierContext)._reluctant = this.match(TrinoSqlParser.QUESTION_MARK); } break; } - this.state = 3505; - this.match(TrinoSqlParser.KW_REPEAT); - this.state = 3506; - this.sqlStatementList(); - this.state = 3507; - this.match(TrinoSqlParser.KW_UNTIL); - this.state = 3508; - this.expression(); - this.state = 3509; - this.match(TrinoSqlParser.KW_END); - this.state = 3510; - this.match(TrinoSqlParser.KW_REPEAT); } break; } @@ -14767,20 +13961,18 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public caseStatementWhenClause(): CaseStatementWhenClauseContext { - let localContext = new CaseStatementWhenClauseContext(this.context, this.state); - this.enterRule(localContext, 260, TrinoSqlParser.RULE_caseStatementWhenClause); + public updateAssignment(): UpdateAssignmentContext { + let localContext = new UpdateAssignmentContext(this.context, this.state); + this.enterRule(localContext, 208, TrinoSqlParser.RULE_updateAssignment); try { this.enterOuterAlt(localContext, 1); { - this.state = 3514; - this.match(TrinoSqlParser.KW_WHEN); - this.state = 3515; + this.state = 3229; + this.identifier(); + this.state = 3230; + this.match(TrinoSqlParser.EQ); + this.state = 3231; this.expression(); - this.state = 3516; - this.match(TrinoSqlParser.KW_THEN); - this.state = 3517; - this.sqlStatementList(); } } catch (re) { @@ -14797,20 +13989,183 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public elseIfClause(): ElseIfClauseContext { - let localContext = new ElseIfClauseContext(this.context, this.state); - this.enterRule(localContext, 262, TrinoSqlParser.RULE_elseIfClause); + public explainOption(): ExplainOptionContext { + let localContext = new ExplainOptionContext(this.context, this.state); + this.enterRule(localContext, 210, TrinoSqlParser.RULE_explainOption); + let _la: number; try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3519; - this.match(TrinoSqlParser.KW_ELSEIF); - this.state = 3520; - this.expression(); - this.state = 3521; - this.match(TrinoSqlParser.KW_THEN); - this.state = 3522; - this.sqlStatementList(); + this.state = 3237; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_FORMAT: + localContext = new ExplainFormatContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3233; + this.match(TrinoSqlParser.KW_FORMAT); + this.state = 3234; + (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 = 3235; + this.match(TrinoSqlParser.KW_TYPE); + this.state = 3236; + (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, 212, TrinoSqlParser.RULE_transactionMode); + let _la: number; + try { + this.state = 3252; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_ISOLATION: + localContext = new IsolationLevelContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3239; + this.match(TrinoSqlParser.KW_ISOLATION); + this.state = 3240; + this.match(TrinoSqlParser.KW_LEVEL); + this.state = 3248; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 430, this.context) ) { + case 1: + { + this.state = 3241; + this.match(TrinoSqlParser.KW_READ); + this.state = 3242; + this.match(TrinoSqlParser.KW_UNCOMMITTED); + } + break; + case 2: + { + this.state = 3243; + this.match(TrinoSqlParser.KW_READ); + this.state = 3244; + this.match(TrinoSqlParser.KW_COMMITTED); + } + break; + case 3: + { + this.state = 3245; + this.match(TrinoSqlParser.KW_REPEATABLE); + this.state = 3246; + this.match(TrinoSqlParser.KW_READ); + } + break; + case 4: + { + this.state = 3247; + this.match(TrinoSqlParser.KW_SERIALIZABLE); + } + break; + } + } + break; + case TrinoSqlParser.KW_READ: + localContext = new TransactionAccessModeContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3250; + this.match(TrinoSqlParser.KW_READ); + this.state = 3251; + (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 callArgument(): CallArgumentContext { + let localContext = new CallArgumentContext(this.context, this.state); + this.enterRule(localContext, 214, TrinoSqlParser.RULE_callArgument); + try { + this.state = 3259; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 432, this.context) ) { + case 1: + localContext = new PositionalArgumentContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3254; + this.expression(); + } + break; + case 2: + localContext = new NamedArgumentContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3255; + this.identifier(); + this.state = 3256; + this.match(TrinoSqlParser.T__5); + this.state = 3257; + this.expression(); + } + break; } } catch (re) { @@ -14827,16 +14182,33 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public elseClause(): ElseClauseContext { - let localContext = new ElseClauseContext(this.context, this.state); - this.enterRule(localContext, 264, TrinoSqlParser.RULE_elseClause); + public pathElement(): PathElementContext { + let localContext = new PathElementContext(this.context, this.state); + this.enterRule(localContext, 216, TrinoSqlParser.RULE_pathElement); try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3524; - this.match(TrinoSqlParser.KW_ELSE); - this.state = 3525; - this.sqlStatementList(); + this.state = 3266; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 433, this.context) ) { + case 1: + localContext = new QualifiedArgumentContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3261; + this.identifier(); + this.state = 3262; + this.match(TrinoSqlParser.T__3); + this.state = 3263; + this.identifier(); + } + break; + case 2: + localContext = new UnqualifiedArgumentContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3265; + this.identifier(); + } + break; } } catch (re) { @@ -14853,47 +14225,31 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public variableDeclaration(): VariableDeclarationContext { - let localContext = new VariableDeclarationContext(this.context, this.state); - this.enterRule(localContext, 266, TrinoSqlParser.RULE_variableDeclaration); + public pathSpecification(): PathSpecificationContext { + let localContext = new PathSpecificationContext(this.context, this.state); + this.enterRule(localContext, 218, TrinoSqlParser.RULE_pathSpecification); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 3527; - this.match(TrinoSqlParser.KW_DECLARE); - this.state = 3528; - this.identifier(); - this.state = 3533; + this.state = 3268; + this.pathElement(); + this.state = 3273; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 3) { { { - this.state = 3529; + this.state = 3269; this.match(TrinoSqlParser.T__2); - this.state = 3530; - this.identifier(); + this.state = 3270; + this.pathElement(); } } - this.state = 3535; + this.state = 3275; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 3536; - this.type_(0); - this.state = 3539; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 71) { - { - this.state = 3537; - this.match(TrinoSqlParser.KW_DEFAULT); - this.state = 3538; - this.valueExpression(0); - } - } - } } catch (re) { @@ -14910,35 +14266,70 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public sqlStatementList(): SqlStatementListContext { - let localContext = new SqlStatementListContext(this.context, this.state); - this.enterRule(localContext, 268, TrinoSqlParser.RULE_sqlStatementList); + public functionSpecification(): FunctionSpecificationContext { + let localContext = new FunctionSpecificationContext(this.context, this.state); + this.enterRule(localContext, 220, TrinoSqlParser.RULE_functionSpecification); + let _la: number; try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 3544; + this.state = 3276; + this.match(TrinoSqlParser.KW_FUNCTION); + this.state = 3277; + this.functionNameCreate(); + this.state = 3278; + this.match(TrinoSqlParser.T__0); + this.state = 3287; this.errorHandler.sync(this); - alternative = 1; - do { - switch (alternative) { - case 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 = 3279; + this.parameterDeclaration(); + this.state = 3284; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { { { - this.state = 3541; - this.controlStatement(); - this.state = 3542; - this.match(TrinoSqlParser.SEMICOLON); + this.state = 3280; + this.match(TrinoSqlParser.T__2); + this.state = 3281; + this.parameterDeclaration(); + } + } + this.state = 3286; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + } + } + + this.state = 3289; + this.match(TrinoSqlParser.T__1); + this.state = 3290; + this.match(TrinoSqlParser.KW_RETURNS); + this.state = 3291; + this.type_(0); + this.state = 3295; + 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 = 3292; + this.routineCharacteristic(); } } - break; - default: - throw new antlr.NoViableAltException(this); } - this.state = 3546; + this.state = 3297; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 457, this.context); - } while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 437, this.context); + } + this.state = 3298; + this.controlStatement(); } } catch (re) { @@ -14955,56 +14346,25 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public privilege(): PrivilegeContext { - let localContext = new PrivilegeContext(this.context, this.state); - this.enterRule(localContext, 270, TrinoSqlParser.RULE_privilege); + public parameterDeclaration(): ParameterDeclarationContext { + let localContext = new ParameterDeclarationContext(this.context, this.state); + this.enterRule(localContext, 222, TrinoSqlParser.RULE_parameterDeclaration); try { - this.state = 3554; + this.enterOuterAlt(localContext, 1); + { + this.state = 3301; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 458, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 438, this.context) ) { case 1: - this.enterOuterAlt(localContext, 1); - { - this.state = 3548; - this.match(TrinoSqlParser.KW_CREATE); - } - break; - case 2: - this.enterOuterAlt(localContext, 2); - { - this.state = 3549; - this.match(TrinoSqlParser.KW_SELECT); - } - break; - case 3: - this.enterOuterAlt(localContext, 3); - { - this.state = 3550; - this.match(TrinoSqlParser.KW_DELETE); - } - break; - case 4: - this.enterOuterAlt(localContext, 4); - { - this.state = 3551; - this.match(TrinoSqlParser.KW_INSERT); - } - break; - case 5: - this.enterOuterAlt(localContext, 5); - { - this.state = 3552; - this.match(TrinoSqlParser.KW_UPDATE); - } - break; - case 6: - this.enterOuterAlt(localContext, 6); { - this.state = 3553; + this.state = 3300; this.identifier(); } break; } + this.state = 3303; + this.type_(0); + } } catch (re) { if (re instanceof antlr.RecognitionException) { @@ -15020,68 +14380,102 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public entityKind(): EntityKindContext { - let localContext = new EntityKindContext(this.context, this.state); - this.enterRule(localContext, 272, TrinoSqlParser.RULE_entityKind); + public routineCharacteristic(): RoutineCharacteristicContext { + let localContext = new RoutineCharacteristicContext(this.context, this.state); + this.enterRule(localContext, 224, TrinoSqlParser.RULE_routineCharacteristic); + let _la: number; try { - this.state = 3559; + this.state = 3324; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 459, this.context) ) { - case 1: + switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.KW_LANGUAGE: + localContext = new LanguageCharacteristicContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3556; - this.match(TrinoSqlParser.KW_TABLE); + this.state = 3305; + this.match(TrinoSqlParser.KW_LANGUAGE); + this.state = 3306; + this.identifier(); } break; - case 2: + case TrinoSqlParser.KW_DETERMINISTIC: + case TrinoSqlParser.KW_NOT: + localContext = new DeterministicCharacteristicContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3557; - this.match(TrinoSqlParser.KW_SCHEMA); + this.state = 3308; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 183) { + { + this.state = 3307; + this.match(TrinoSqlParser.KW_NOT); + } + } + + this.state = 3310; + this.match(TrinoSqlParser.KW_DETERMINISTIC); } break; - case 3: + case TrinoSqlParser.KW_RETURNS: + localContext = new ReturnsNullOnNullInputCharacteristicContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3558; - this.identifier(); + this.state = 3311; + this.match(TrinoSqlParser.KW_RETURNS); + this.state = 3312; + this.match(TrinoSqlParser.KW_NULL); + this.state = 3313; + this.match(TrinoSqlParser.KW_ON); + this.state = 3314; + this.match(TrinoSqlParser.KW_NULL); + this.state = 3315; + this.match(TrinoSqlParser.KW_INPUT); } 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 grantObject(): GrantObjectContext { - let localContext = new GrantObjectContext(this.context, this.state); - this.enterRule(localContext, 274, TrinoSqlParser.RULE_grantObject); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3562; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 460, this.context) ) { - case 1: + case TrinoSqlParser.KW_CALLED: + localContext = new CalledOnNullInputCharacteristicContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 3316; + this.match(TrinoSqlParser.KW_CALLED); + this.state = 3317; + this.match(TrinoSqlParser.KW_ON); + this.state = 3318; + this.match(TrinoSqlParser.KW_NULL); + this.state = 3319; + this.match(TrinoSqlParser.KW_INPUT); + } + break; + case TrinoSqlParser.KW_SECURITY: + localContext = new SecurityCharacteristicContext(localContext); + this.enterOuterAlt(localContext, 5); + { + this.state = 3320; + this.match(TrinoSqlParser.KW_SECURITY); + this.state = 3321; + _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 = 3561; - this.entityKind(); + this.state = 3322; + this.match(TrinoSqlParser.KW_COMMENT); + this.state = 3323; + this.string_(); } break; - } - this.state = 3564; - this.qualifiedName(); + default: + throw new antlr.NoViableAltException(this); } } catch (re) { @@ -15098,137 +14492,335 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public tableOrViewName(): TableOrViewNameContext { - let localContext = new TableOrViewNameContext(this.context, this.state); - this.enterRule(localContext, 276, TrinoSqlParser.RULE_tableOrViewName); + public controlStatement(): ControlStatementContext { + let localContext = new ControlStatementContext(this.context, this.state); + this.enterRule(localContext, 226, TrinoSqlParser.RULE_controlStatement); + let _la: number; try { - this.state = 3568; + let alternative: number; + this.state = 3442; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 461, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 454, this.context) ) { case 1: + localContext = new ReturnStatementContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3566; - this.tableRef(); + this.state = 3326; + this.match(TrinoSqlParser.KW_RETURN); + this.state = 3327; + this.valueExpression(0); } break; case 2: + localContext = new AssignmentStatementContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3567; - this.viewRef(); + this.state = 3328; + this.match(TrinoSqlParser.KW_SET); + this.state = 3329; + this.identifier(); + this.state = 3330; + this.match(TrinoSqlParser.EQ); + this.state = 3331; + 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 tableRef(): TableRefContext { - let localContext = new TableRefContext(this.context, this.state); - this.enterRule(localContext, 278, TrinoSqlParser.RULE_tableRef); - try { - this.state = 3581; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 462, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); + case 3: + localContext = new SimpleCaseStatementContext(localContext); + this.enterOuterAlt(localContext, 3); { - this.state = 3570; - localContext._table = this.identifier(); + this.state = 3333; + this.match(TrinoSqlParser.KW_CASE); + this.state = 3334; + this.expression(); + this.state = 3336; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + do { + { + { + this.state = 3335; + this.caseStatementWhenClause(); + } + } + this.state = 3338; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } while (_la === 301); + this.state = 3341; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 85) { + { + this.state = 3340; + this.elseClause(); + } + } + + this.state = 3343; + this.match(TrinoSqlParser.KW_END); + this.state = 3344; + this.match(TrinoSqlParser.KW_CASE); } break; - case 2: - this.enterOuterAlt(localContext, 2); + case 4: + localContext = new SearchedCaseStatementContext(localContext); + this.enterOuterAlt(localContext, 4); { - this.state = 3571; - localContext._schema = this.identifier(); - this.state = 3572; - this.match(TrinoSqlParser.T__3); - this.state = 3573; - localContext._table = this.identifier(); + this.state = 3346; + this.match(TrinoSqlParser.KW_CASE); + this.state = 3348; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + do { + { + { + this.state = 3347; + this.caseStatementWhenClause(); + } + } + this.state = 3350; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } while (_la === 301); + this.state = 3353; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 85) { + { + this.state = 3352; + this.elseClause(); + } + } + + this.state = 3355; + this.match(TrinoSqlParser.KW_END); + this.state = 3356; + this.match(TrinoSqlParser.KW_CASE); } break; - case 3: - this.enterOuterAlt(localContext, 3); + case 5: + localContext = new IfStatementContext(localContext); + this.enterOuterAlt(localContext, 5); { - this.state = 3575; - localContext._catalog = this.identifier(); - this.state = 3576; - this.match(TrinoSqlParser.T__3); - this.state = 3577; - localContext._schema = this.identifier(); - this.state = 3578; - this.match(TrinoSqlParser.T__3); - this.state = 3579; - localContext._table = this.identifier(); + this.state = 3358; + this.match(TrinoSqlParser.KW_IF); + this.state = 3359; + this.expression(); + this.state = 3360; + this.match(TrinoSqlParser.KW_THEN); + this.state = 3361; + this.sqlStatementList(); + this.state = 3369; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 87) { + { + { + this.state = 3362; + this.match(TrinoSqlParser.KW_ELSEIF); + this.state = 3363; + this.expression(); + this.state = 3364; + this.match(TrinoSqlParser.KW_THEN); + this.state = 3365; + this.sqlStatementList(); + } + } + this.state = 3371; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 3373; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 85) { + { + this.state = 3372; + this.elseClause(); + } + } + + this.state = 3375; + this.match(TrinoSqlParser.KW_END); + this.state = 3376; + this.match(TrinoSqlParser.KW_IF); } 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 tableNameCreate(): TableNameCreateContext { - let localContext = new TableNameCreateContext(this.context, this.state); - this.enterRule(localContext, 280, TrinoSqlParser.RULE_tableNameCreate); - try { - this.state = 3594; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 463, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); + case 6: + localContext = new IterateStatementContext(localContext); + this.enterOuterAlt(localContext, 6); { - this.state = 3583; - localContext._table = this.identifier(); + this.state = 3378; + this.match(TrinoSqlParser.KW_ITERATE); + this.state = 3379; + this.identifier(); + } + break; + case 7: + localContext = new LeaveStatementContext(localContext); + this.enterOuterAlt(localContext, 7); + { + this.state = 3380; + this.match(TrinoSqlParser.KW_LEAVE); + this.state = 3381; + this.identifier(); + } + break; + case 8: + localContext = new CompoundStatementContext(localContext); + this.enterOuterAlt(localContext, 8); + { + this.state = 3382; + this.match(TrinoSqlParser.KW_BEGIN); + this.state = 3401; + 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 = 3383; + this.match(TrinoSqlParser.KW_DECLARE); + this.state = 3384; + this.identifier(); + this.state = 3389; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 3) { + { + { + this.state = 3385; + this.match(TrinoSqlParser.T__2); + this.state = 3386; + this.identifier(); + } + } + this.state = 3391; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 3392; + this.type_(0); + this.state = 3395; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 71) { + { + this.state = 3393; + this.match(TrinoSqlParser.KW_DEFAULT); + this.state = 3394; + this.valueExpression(0); + } + } + + this.state = 3397; + this.match(TrinoSqlParser.SEMICOLON); + } + } + } + this.state = 3403; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 449, this.context); + } + this.state = 3405; + 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 = 3404; + this.sqlStatementList(); + } + } + + this.state = 3407; + this.match(TrinoSqlParser.KW_END); + } + break; + case 9: + localContext = new LoopStatementContext(localContext); + this.enterOuterAlt(localContext, 9); + { + this.state = 3411; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 451, this.context) ) { + case 1: + { + this.state = 3408; + (localContext as LoopStatementContext)._label = this.identifier(); + this.state = 3409; + this.match(TrinoSqlParser.T__9); + } + break; + } + this.state = 3413; + this.match(TrinoSqlParser.KW_LOOP); + this.state = 3414; + this.sqlStatementList(); + this.state = 3415; + this.match(TrinoSqlParser.KW_END); + this.state = 3416; + this.match(TrinoSqlParser.KW_LOOP); } break; - case 2: - this.enterOuterAlt(localContext, 2); + case 10: + localContext = new WhileStatementContext(localContext); + this.enterOuterAlt(localContext, 10); { - this.state = 3584; - localContext._schema = this.identifier(); - this.state = 3585; - this.match(TrinoSqlParser.T__3); - this.state = 3586; - localContext._table = this.identifier(); + this.state = 3421; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 452, this.context) ) { + case 1: + { + this.state = 3418; + (localContext as WhileStatementContext)._label = this.identifier(); + this.state = 3419; + this.match(TrinoSqlParser.T__9); + } + break; + } + this.state = 3423; + this.match(TrinoSqlParser.KW_WHILE); + this.state = 3424; + this.expression(); + this.state = 3425; + this.match(TrinoSqlParser.KW_DO); + this.state = 3426; + this.sqlStatementList(); + this.state = 3427; + this.match(TrinoSqlParser.KW_END); + this.state = 3428; + this.match(TrinoSqlParser.KW_WHILE); } break; - case 3: - this.enterOuterAlt(localContext, 3); + case 11: + localContext = new RepeatStatementContext(localContext); + this.enterOuterAlt(localContext, 11); { - this.state = 3588; - localContext._catalog = this.identifier(); - this.state = 3589; - this.match(TrinoSqlParser.T__3); - this.state = 3590; - localContext._schema = this.identifier(); - this.state = 3591; - this.match(TrinoSqlParser.T__3); - this.state = 3592; - localContext._table = this.identifier(); + this.state = 3433; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 453, this.context) ) { + case 1: + { + this.state = 3430; + (localContext as RepeatStatementContext)._label = this.identifier(); + this.state = 3431; + this.match(TrinoSqlParser.T__9); + } + break; + } + this.state = 3435; + this.match(TrinoSqlParser.KW_REPEAT); + this.state = 3436; + this.sqlStatementList(); + this.state = 3437; + this.match(TrinoSqlParser.KW_UNTIL); + this.state = 3438; + this.expression(); + this.state = 3439; + this.match(TrinoSqlParser.KW_END); + this.state = 3440; + this.match(TrinoSqlParser.KW_REPEAT); } break; } @@ -15247,46 +14839,20 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public viewRef(): ViewRefContext { - let localContext = new ViewRefContext(this.context, this.state); - this.enterRule(localContext, 282, TrinoSqlParser.RULE_viewRef); + public caseStatementWhenClause(): CaseStatementWhenClauseContext { + let localContext = new CaseStatementWhenClauseContext(this.context, this.state); + this.enterRule(localContext, 228, TrinoSqlParser.RULE_caseStatementWhenClause); try { - this.state = 3607; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 464, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); - { - this.state = 3596; - localContext._view = this.identifier(); - } - break; - case 2: - this.enterOuterAlt(localContext, 2); - { - this.state = 3597; - localContext._schema = this.identifier(); - this.state = 3598; - this.match(TrinoSqlParser.T__3); - this.state = 3599; - localContext._view = this.identifier(); - } - break; - case 3: - this.enterOuterAlt(localContext, 3); - { - this.state = 3601; - localContext._catalog = this.identifier(); - this.state = 3602; - this.match(TrinoSqlParser.T__3); - this.state = 3603; - localContext._schema = this.identifier(); - this.state = 3604; - this.match(TrinoSqlParser.T__3); - this.state = 3605; - localContext._view = this.identifier(); - } - break; + this.enterOuterAlt(localContext, 1); + { + this.state = 3444; + this.match(TrinoSqlParser.KW_WHEN); + this.state = 3445; + this.expression(); + this.state = 3446; + this.match(TrinoSqlParser.KW_THEN); + this.state = 3447; + this.sqlStatementList(); } } catch (re) { @@ -15303,46 +14869,16 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public viewNameCreate(): ViewNameCreateContext { - let localContext = new ViewNameCreateContext(this.context, this.state); - this.enterRule(localContext, 284, TrinoSqlParser.RULE_viewNameCreate); + public elseClause(): ElseClauseContext { + let localContext = new ElseClauseContext(this.context, this.state); + this.enterRule(localContext, 230, TrinoSqlParser.RULE_elseClause); try { - this.state = 3620; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 465, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); - { - this.state = 3609; - localContext._view = this.identifier(); - } - break; - case 2: - this.enterOuterAlt(localContext, 2); - { - this.state = 3610; - localContext._schema = this.identifier(); - this.state = 3611; - this.match(TrinoSqlParser.T__3); - this.state = 3612; - localContext._view = this.identifier(); - } - break; - case 3: - this.enterOuterAlt(localContext, 3); - { - this.state = 3614; - localContext._catalog = this.identifier(); - this.state = 3615; - this.match(TrinoSqlParser.T__3); - this.state = 3616; - localContext._schema = this.identifier(); - this.state = 3617; - this.match(TrinoSqlParser.T__3); - this.state = 3618; - localContext._view = this.identifier(); - } - break; + this.enterOuterAlt(localContext, 1); + { + this.state = 3449; + this.match(TrinoSqlParser.KW_ELSE); + this.state = 3450; + this.sqlStatementList(); } } catch (re) { @@ -15359,31 +14895,35 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public schemaRef(): SchemaRefContext { - let localContext = new SchemaRefContext(this.context, this.state); - this.enterRule(localContext, 286, TrinoSqlParser.RULE_schemaRef); + public sqlStatementList(): SqlStatementListContext { + let localContext = new SqlStatementListContext(this.context, this.state); + this.enterRule(localContext, 232, TrinoSqlParser.RULE_sqlStatementList); try { - this.state = 3627; + let alternative: number; + this.enterOuterAlt(localContext, 1); + { + this.state = 3455; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 466, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); - { - this.state = 3622; - localContext._schema = this.identifier(); - } - break; - case 2: - this.enterOuterAlt(localContext, 2); - { - this.state = 3623; - localContext._catalog = this.identifier(); - this.state = 3624; - this.match(TrinoSqlParser.T__3); - this.state = 3625; - localContext._schema = this.identifier(); + alternative = 1; + do { + switch (alternative) { + case 1: + { + { + this.state = 3452; + this.controlStatement(); + this.state = 3453; + this.match(TrinoSqlParser.SEMICOLON); + } + } + break; + default: + throw new antlr.NoViableAltException(this); } - break; + this.state = 3457; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 455, this.context); + } while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER); } } catch (re) { @@ -15400,29 +14940,53 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public schemaNameCreate(): SchemaNameCreateContext { - let localContext = new SchemaNameCreateContext(this.context, this.state); - this.enterRule(localContext, 288, TrinoSqlParser.RULE_schemaNameCreate); + public privilege(): PrivilegeContext { + let localContext = new PrivilegeContext(this.context, this.state); + this.enterRule(localContext, 234, TrinoSqlParser.RULE_privilege); try { - this.state = 3634; + this.state = 3465; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 467, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 456, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3629; - localContext._schema = this.identifier(); + this.state = 3459; + this.match(TrinoSqlParser.KW_CREATE); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3630; - localContext._catalog = this.identifier(); - this.state = 3631; - this.match(TrinoSqlParser.T__3); - this.state = 3632; - localContext._schema = this.identifier(); + this.state = 3460; + this.match(TrinoSqlParser.KW_SELECT); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 3461; + this.match(TrinoSqlParser.KW_DELETE); + } + break; + case 4: + this.enterOuterAlt(localContext, 4); + { + this.state = 3462; + this.match(TrinoSqlParser.KW_INSERT); + } + break; + case 5: + this.enterOuterAlt(localContext, 5); + { + this.state = 3463; + this.match(TrinoSqlParser.KW_UPDATE); + } + break; + case 6: + this.enterOuterAlt(localContext, 6); + { + this.state = 3464; + this.identifier(); } break; } @@ -15441,61 +15005,35 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public catalogRef(): CatalogRefContext { - let localContext = new CatalogRefContext(this.context, this.state); - this.enterRule(localContext, 290, TrinoSqlParser.RULE_catalogRef); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3636; - 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, 292, TrinoSqlParser.RULE_catalogNameCreate); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3638; - 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, 294, TrinoSqlParser.RULE_functionName); + public grantObject(): GrantObjectContext { + let localContext = new GrantObjectContext(this.context, this.state); + this.enterRule(localContext, 236, TrinoSqlParser.RULE_grantObject); try { this.enterOuterAlt(localContext, 1); { - this.state = 3640; + this.state = 3470; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 457, this.context) ) { + case 1: + { + this.state = 3467; + this.match(TrinoSqlParser.KW_TABLE); + } + break; + case 2: + { + this.state = 3468; + this.match(TrinoSqlParser.KW_SCHEMA); + } + break; + case 3: + { + this.state = 3469; + this.identifier(); + } + break; + } + this.state = 3472; this.qualifiedName(); } } @@ -15513,14 +15051,27 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public functionNameCreate(): FunctionNameCreateContext { - let localContext = new FunctionNameCreateContext(this.context, this.state); - this.enterRule(localContext, 296, TrinoSqlParser.RULE_functionNameCreate); + public tableOrViewName(): TableOrViewNameContext { + let localContext = new TableOrViewNameContext(this.context, this.state); + this.enterRule(localContext, 238, TrinoSqlParser.RULE_tableOrViewName); try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3642; - this.qualifiedName(); + this.state = 3476; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 458, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3474; + this.tableRef(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3475; + this.viewRef(); + } + break; } } catch (re) { @@ -15537,27 +15088,44 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public columnRef(): ColumnRefContext { - let localContext = new ColumnRefContext(this.context, this.state); - this.enterRule(localContext, 298, TrinoSqlParser.RULE_columnRef); + public tableRef(): TableRefContext { + let localContext = new TableRefContext(this.context, this.state); + this.enterRule(localContext, 240, TrinoSqlParser.RULE_tableRef); try { - this.state = 3646; + this.state = 3489; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 468, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 459, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 3644; - this.qualifiedName(); + this.state = 3478; + localContext._table = this.identifier(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 3645; - if (!(this.shouldMatchEmpty())) { - throw this.createFailedPredicateException("this.shouldMatchEmpty()"); + this.state = 3479; + localContext._schema = this.identifier(); + this.state = 3480; + this.match(TrinoSqlParser.T__3); + this.state = 3481; + localContext._table = 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._table = this.identifier(); } break; } @@ -15576,13 +15144,46 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public emptyColumn(): EmptyColumnContext { - let localContext = new EmptyColumnContext(this.context, this.state); - this.enterRule(localContext, 300, TrinoSqlParser.RULE_emptyColumn); + public tableNameCreate(): TableNameCreateContext { + let localContext = new TableNameCreateContext(this.context, this.state); + this.enterRule(localContext, 242, TrinoSqlParser.RULE_tableNameCreate); try { - this.enterOuterAlt(localContext, 1); - // tslint:disable-next-line:no-empty - { + this.state = 3502; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 460, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3491; + localContext._table = this.identifier(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3492; + localContext._schema = this.identifier(); + this.state = 3493; + this.match(TrinoSqlParser.T__3); + this.state = 3494; + localContext._table = this.identifier(); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + 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._table = this.identifier(); + } + break; } } catch (re) { @@ -15599,14 +15200,46 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public columnName(): ColumnNameContext { - let localContext = new ColumnNameContext(this.context, this.state); - this.enterRule(localContext, 302, TrinoSqlParser.RULE_columnName); + public viewRef(): ViewRefContext { + let localContext = new ViewRefContext(this.context, this.state); + this.enterRule(localContext, 244, TrinoSqlParser.RULE_viewRef); try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3650; - this.qualifiedName(); + this.state = 3515; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 461, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3504; + localContext._view = this.identifier(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3505; + localContext._schema = this.identifier(); + this.state = 3506; + this.match(TrinoSqlParser.T__3); + this.state = 3507; + localContext._view = this.identifier(); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 3509; + localContext._catalog = this.identifier(); + this.state = 3510; + this.match(TrinoSqlParser.T__3); + this.state = 3511; + localContext._schema = this.identifier(); + this.state = 3512; + this.match(TrinoSqlParser.T__3); + this.state = 3513; + localContext._view = this.identifier(); + } + break; } } catch (re) { @@ -15623,14 +15256,46 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public columnNameCreate(): ColumnNameCreateContext { - let localContext = new ColumnNameCreateContext(this.context, this.state); - this.enterRule(localContext, 304, TrinoSqlParser.RULE_columnNameCreate); + public viewNameCreate(): ViewNameCreateContext { + let localContext = new ViewNameCreateContext(this.context, this.state); + this.enterRule(localContext, 246, TrinoSqlParser.RULE_viewNameCreate); try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3652; - this.identifier(); + this.state = 3528; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 462, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3517; + localContext._view = this.identifier(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3518; + localContext._schema = this.identifier(); + this.state = 3519; + this.match(TrinoSqlParser.T__3); + this.state = 3520; + localContext._view = this.identifier(); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 3522; + localContext._catalog = this.identifier(); + this.state = 3523; + this.match(TrinoSqlParser.T__3); + this.state = 3524; + localContext._schema = this.identifier(); + this.state = 3525; + this.match(TrinoSqlParser.T__3); + this.state = 3526; + localContext._view = this.identifier(); + } + break; } } catch (re) { @@ -15647,33 +15312,31 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public qualifiedName(): QualifiedNameContext { - let localContext = new QualifiedNameContext(this.context, this.state); - this.enterRule(localContext, 306, TrinoSqlParser.RULE_qualifiedName); + public schemaRef(): SchemaRefContext { + let localContext = new SchemaRefContext(this.context, this.state); + this.enterRule(localContext, 248, TrinoSqlParser.RULE_schemaRef); try { - let alternative: number; - this.enterOuterAlt(localContext, 1); - { - this.state = 3654; - this.identifier(); - this.state = 3659; + this.state = 3535; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 469, this.context); - while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { - if (alternative === 1) { - { - { - this.state = 3655; - this.match(TrinoSqlParser.T__3); - this.state = 3656; - this.identifier(); - } - } + switch (this.interpreter.adaptivePredict(this.tokenStream, 463, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3530; + localContext._schema = this.identifier(); } - this.state = 3661; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 469, this.context); - } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3531; + localContext._catalog = this.identifier(); + this.state = 3532; + this.match(TrinoSqlParser.T__3); + this.state = 3533; + localContext._schema = this.identifier(); + } + break; } } catch (re) { @@ -15690,22 +15353,31 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public queryPeriod(): QueryPeriodContext { - let localContext = new QueryPeriodContext(this.context, this.state); - this.enterRule(localContext, 308, TrinoSqlParser.RULE_queryPeriod); + public schemaNameCreate(): SchemaNameCreateContext { + let localContext = new SchemaNameCreateContext(this.context, this.state); + this.enterRule(localContext, 250, TrinoSqlParser.RULE_schemaNameCreate); try { - this.enterOuterAlt(localContext, 1); - { - this.state = 3662; - this.match(TrinoSqlParser.KW_FOR); - this.state = 3663; - this.rangeType(); - this.state = 3664; - this.match(TrinoSqlParser.KW_AS); - this.state = 3665; - this.match(TrinoSqlParser.KW_OF); - this.state = 3666; - localContext._end = this.valueExpression(0); + this.state = 3542; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 464, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3537; + localContext._schema = this.identifier(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 3538; + localContext._catalog = this.identifier(); + this.state = 3539; + this.match(TrinoSqlParser.T__3); + this.state = 3540; + localContext._schema = this.identifier(); + } + break; } } catch (re) { @@ -15722,22 +15394,14 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public rangeType(): RangeTypeContext { - let localContext = new RangeTypeContext(this.context, this.state); - this.enterRule(localContext, 310, TrinoSqlParser.RULE_rangeType); - let _la: number; + public catalogRef(): CatalogRefContext { + let localContext = new CatalogRefContext(this.context, this.state); + this.enterRule(localContext, 252, TrinoSqlParser.RULE_catalogRef); try { this.enterOuterAlt(localContext, 1); { - this.state = 3668; - _la = this.tokenStream.LA(1); - if(!(_la === 269 || _la === 299)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } + this.state = 3544; + localContext._catalog = this.identifier(); } } catch (re) { @@ -15754,256 +15418,14 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public grantor(): GrantorContext { - let localContext = new GrantorContext(this.context, this.state); - this.enterRule(localContext, 312, TrinoSqlParser.RULE_grantor); - try { - this.state = 3673; - 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); - this.enterOuterAlt(localContext, 1); - { - this.state = 3670; - this.principal(); - } - break; - case TrinoSqlParser.KW_CURRENT_USER: - localContext = new CurrentUserGrantorContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3671; - this.match(TrinoSqlParser.KW_CURRENT_USER); - } - break; - case TrinoSqlParser.KW_CURRENT_ROLE: - localContext = new CurrentRoleGrantorContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 3672; - this.match(TrinoSqlParser.KW_CURRENT_ROLE); - } - break; - default: - throw new antlr.NoViableAltException(this); + public catalogNameCreate(): CatalogNameCreateContext { + let localContext = new CatalogNameCreateContext(this.context, this.state); + this.enterRule(localContext, 254, TrinoSqlParser.RULE_catalogNameCreate); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3546; + localContext._catalog = this.identifier(); } } catch (re) { @@ -16020,39 +15442,75 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public principal(): PrincipalContext { - let localContext = new PrincipalContext(this.context, this.state); - this.enterRule(localContext, 314, TrinoSqlParser.RULE_principal); + public functionName(): FunctionNameContext { + let localContext = new FunctionNameContext(this.context, this.state); + this.enterRule(localContext, 256, TrinoSqlParser.RULE_functionName); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3548; + 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 functionNameCreate(): FunctionNameCreateContext { + let localContext = new FunctionNameCreateContext(this.context, this.state); + this.enterRule(localContext, 258, TrinoSqlParser.RULE_functionNameCreate); try { - this.state = 3680; + this.enterOuterAlt(localContext, 1); + { + this.state = 3550; + 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, 260, TrinoSqlParser.RULE_columnRef); + try { + this.state = 3554; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 471, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 465, this.context) ) { case 1: - localContext = new UnspecifiedPrincipalContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 3675; - this.identifier(); + this.state = 3552; + this.qualifiedName(); } break; case 2: - localContext = new UserPrincipalContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3676; - this.match(TrinoSqlParser.KW_USER); - this.state = 3677; - this.identifier(); + this.state = 3553; + if (!(this.shouldMatchEmpty())) { + throw this.createFailedPredicateException("this.shouldMatchEmpty()"); } - break; - case 3: - localContext = new RolePrincipalContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 3678; - this.match(TrinoSqlParser.KW_ROLE); - this.state = 3679; - this.identifier(); } break; } @@ -16071,31 +15529,37 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public roles(): RolesContext { - let localContext = new RolesContext(this.context, this.state); - this.enterRule(localContext, 316, TrinoSqlParser.RULE_roles); - let _la: number; + public emptyColumn(): EmptyColumnContext { + let localContext = new EmptyColumnContext(this.context, this.state); + this.enterRule(localContext, 262, TrinoSqlParser.RULE_emptyColumn); try { this.enterOuterAlt(localContext, 1); + // tslint:disable-next-line:no-empty { - this.state = 3682; - this.identifier(); - this.state = 3687; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 3) { - { - { - this.state = 3683; - this.match(TrinoSqlParser.T__2); - this.state = 3684; - this.identifier(); - } - } - this.state = 3689; - 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 columnName(): ColumnNameContext { + let localContext = new ColumnNameContext(this.context, this.state); + this.enterRule(localContext, 264, TrinoSqlParser.RULE_columnName); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3558; + this.qualifiedName(); } } catch (re) { @@ -16112,62 +15576,57 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public privilegeOrRole(): PrivilegeOrRoleContext { - let localContext = new PrivilegeOrRoleContext(this.context, this.state); - this.enterRule(localContext, 318, TrinoSqlParser.RULE_privilegeOrRole); + public columnNameCreate(): ColumnNameCreateContext { + let localContext = new ColumnNameCreateContext(this.context, this.state); + this.enterRule(localContext, 266, TrinoSqlParser.RULE_columnNameCreate); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 3560; + 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, 268, TrinoSqlParser.RULE_qualifiedName); try { - this.state = 3697; + let alternative: number; + this.enterOuterAlt(localContext, 1); + { + this.state = 3562; + this.identifier(); + this.state = 3567; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 473, this.context) ) { - case 1: - this.enterOuterAlt(localContext, 1); - { - this.state = 3690; - this.match(TrinoSqlParser.KW_CREATE); - } - break; - case 2: - this.enterOuterAlt(localContext, 2); - { - this.state = 3691; - this.match(TrinoSqlParser.KW_SELECT); - } - break; - case 3: - this.enterOuterAlt(localContext, 3); - { - this.state = 3692; - this.match(TrinoSqlParser.KW_DELETE); - } - break; - case 4: - this.enterOuterAlt(localContext, 4); - { - this.state = 3693; - this.match(TrinoSqlParser.KW_INSERT); - } - break; - case 5: - this.enterOuterAlt(localContext, 5); - { - this.state = 3694; - this.match(TrinoSqlParser.KW_UPDATE); - } - break; - case 6: - this.enterOuterAlt(localContext, 6); - { - this.state = 3695; - this.match(TrinoSqlParser.KW_EXECUTE); - } - break; - case 7: - this.enterOuterAlt(localContext, 7); - { - this.state = 3696; - this.identifier(); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 466, this.context); + while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { + if (alternative === 1) { + { + { + this.state = 3563; + this.match(TrinoSqlParser.T__3); + this.state = 3564; + this.identifier(); + } + } } - break; + this.state = 3569; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 466, this.context); + } } } catch (re) { @@ -16184,29 +15643,13 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public identifier(): IdentifierContext { - let localContext = new IdentifierContext(this.context, this.state); - this.enterRule(localContext, 320, TrinoSqlParser.RULE_identifier); + public grantor(): GrantorContext { + let localContext = new GrantorContext(this.context, this.state); + this.enterRule(localContext, 270, TrinoSqlParser.RULE_grantor); try { - this.state = 3704; + this.state = 3573; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { - case TrinoSqlParser.IDENTIFIER: - localContext = new UnquotedIdentifierContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 3699; - this.match(TrinoSqlParser.IDENTIFIER); - } - break; - case TrinoSqlParser.QUOTED_IDENTIFIER: - localContext = new QuotedIdentifierContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 3700; - this.match(TrinoSqlParser.QUOTED_IDENTIFIER); - } - break; case TrinoSqlParser.KW_ABSENT: case TrinoSqlParser.KW_ADD: case TrinoSqlParser.KW_ADMIN: @@ -16421,31 +15864,86 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_WRITE: case TrinoSqlParser.KW_YEAR: case TrinoSqlParser.KW_ZONE: - localContext = new UnquotedIdentifierContext(localContext); + 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 = 3570; + this.principal(); + } + break; + case TrinoSqlParser.KW_CURRENT_USER: + localContext = new CurrentUserGrantorContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3571; + this.match(TrinoSqlParser.KW_CURRENT_USER); + } + break; + case TrinoSqlParser.KW_CURRENT_ROLE: + localContext = new CurrentRoleGrantorContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3701; - this.nonReserved(); + this.state = 3572; + this.match(TrinoSqlParser.KW_CURRENT_ROLE); + } + 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 principal(): PrincipalContext { + let localContext = new PrincipalContext(this.context, this.state); + this.enterRule(localContext, 272, TrinoSqlParser.RULE_principal); + try { + this.state = 3580; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 468, this.context) ) { + case 1: + localContext = new UnspecifiedPrincipalContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3575; + this.identifier(); } break; - case TrinoSqlParser.BACKQUOTED_IDENTIFIER: - localContext = new BackQuotedIdentifierContext(localContext); - this.enterOuterAlt(localContext, 4); + case 2: + localContext = new UserPrincipalContext(localContext); + this.enterOuterAlt(localContext, 2); { - this.state = 3702; - this.match(TrinoSqlParser.BACKQUOTED_IDENTIFIER); + this.state = 3576; + this.match(TrinoSqlParser.KW_USER); + this.state = 3577; + this.identifier(); } break; - case TrinoSqlParser.DIGIT_IDENTIFIER: - localContext = new DigitIdentifierContext(localContext); - this.enterOuterAlt(localContext, 5); + case 3: + localContext = new RolePrincipalContext(localContext); + this.enterOuterAlt(localContext, 3); { - this.state = 3703; - this.match(TrinoSqlParser.DIGIT_IDENTIFIER); + this.state = 3578; + this.match(TrinoSqlParser.KW_ROLE); + this.state = 3579; + this.identifier(); } break; - default: - throw new antlr.NoViableAltException(this); } } catch (re) { @@ -16462,66 +15960,101 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public number_(): NumberContext { - let localContext = new NumberContext(this.context, this.state); - this.enterRule(localContext, 322, TrinoSqlParser.RULE_number); + public roles(): RolesContext { + let localContext = new RolesContext(this.context, this.state); + this.enterRule(localContext, 274, TrinoSqlParser.RULE_roles); let _la: number; try { - this.state = 3718; + this.enterOuterAlt(localContext, 1); + { + this.state = 3582; + this.identifier(); + this.state = 3587; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 478, this.context) ) { - case 1: - localContext = new DecimalLiteralContext(localContext); - this.enterOuterAlt(localContext, 1); + _la = this.tokenStream.LA(1); + while (_la === 3) { { - this.state = 3707; + { + this.state = 3583; + this.match(TrinoSqlParser.T__2); + this.state = 3584; + this.identifier(); + } + } + this.state = 3589; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 320) { - { - this.state = 3706; - this.match(TrinoSqlParser.MINUS); - } - } - - this.state = 3709; - this.match(TrinoSqlParser.DECIMAL_VALUE); + } + } + } + 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, 276, TrinoSqlParser.RULE_privilegeOrRole); + try { + this.state = 3597; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 470, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 3590; + this.match(TrinoSqlParser.KW_CREATE); } break; case 2: - localContext = new DoubleLiteralContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 3711; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 320) { - { - this.state = 3710; - this.match(TrinoSqlParser.MINUS); - } - } - - this.state = 3713; - this.match(TrinoSqlParser.DOUBLE_VALUE); + this.state = 3591; + this.match(TrinoSqlParser.KW_SELECT); } break; case 3: - localContext = new IntegerLiteralContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 3715; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 320) { - { - this.state = 3714; - this.match(TrinoSqlParser.MINUS); - } + this.state = 3592; + this.match(TrinoSqlParser.KW_DELETE); } - - this.state = 3717; - this.match(TrinoSqlParser.INTEGER_VALUE); + break; + case 4: + this.enterOuterAlt(localContext, 4); + { + this.state = 3593; + this.match(TrinoSqlParser.KW_INSERT); + } + break; + case 5: + this.enterOuterAlt(localContext, 5); + { + this.state = 3594; + this.match(TrinoSqlParser.KW_UPDATE); + } + break; + case 6: + this.enterOuterAlt(localContext, 6); + { + this.state = 3595; + this.match(TrinoSqlParser.KW_EXECUTE); + } + break; + case 7: + this.enterOuterAlt(localContext, 7); + { + this.state = 3596; + this.identifier(); } break; } @@ -16540,13 +16073,29 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } - public authorizationUser(): AuthorizationUserContext { - let localContext = new AuthorizationUserContext(this.context, this.state); - this.enterRule(localContext, 324, TrinoSqlParser.RULE_authorizationUser); + public identifier(): IdentifierContext { + let localContext = new IdentifierContext(this.context, this.state); + this.enterRule(localContext, 278, TrinoSqlParser.RULE_identifier); try { - this.state = 3722; + this.state = 3604; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { + case TrinoSqlParser.IDENTIFIER: + localContext = new UnquotedIdentifierContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 3599; + this.match(TrinoSqlParser.IDENTIFIER); + } + break; + case TrinoSqlParser.QUOTED_IDENTIFIER: + localContext = new QuotedIdentifierContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3600; + this.match(TrinoSqlParser.QUOTED_IDENTIFIER); + } + break; case TrinoSqlParser.KW_ABSENT: case TrinoSqlParser.KW_ADD: case TrinoSqlParser.KW_ADMIN: @@ -16761,24 +16310,27 @@ export class TrinoSqlParser extends SQLParserBase { case TrinoSqlParser.KW_WRITE: case TrinoSqlParser.KW_YEAR: case TrinoSqlParser.KW_ZONE: - case TrinoSqlParser.IDENTIFIER: - case TrinoSqlParser.DIGIT_IDENTIFIER: - case TrinoSqlParser.QUOTED_IDENTIFIER: + localContext = new UnquotedIdentifierContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3601; + this.nonReserved(); + } + break; case TrinoSqlParser.BACKQUOTED_IDENTIFIER: - localContext = new IdentifierUserContext(localContext); - this.enterOuterAlt(localContext, 1); + localContext = new BackQuotedIdentifierContext(localContext); + this.enterOuterAlt(localContext, 4); { - this.state = 3720; - this.identifier(); + this.state = 3602; + this.match(TrinoSqlParser.BACKQUOTED_IDENTIFIER); } break; - case TrinoSqlParser.STRING: - case TrinoSqlParser.UNICODE_STRING: - localContext = new StringUserContext(localContext); - this.enterOuterAlt(localContext, 2); + case TrinoSqlParser.DIGIT_IDENTIFIER: + localContext = new DigitIdentifierContext(localContext); + this.enterOuterAlt(localContext, 5); { - this.state = 3721; - this.string_(); + this.state = 3603; + this.match(TrinoSqlParser.DIGIT_IDENTIFIER); } break; default: @@ -16799,14 +16351,92 @@ export class TrinoSqlParser extends SQLParserBase { } return localContext; } + public number_(): NumberContext { + let localContext = new NumberContext(this.context, this.state); + this.enterRule(localContext, 280, TrinoSqlParser.RULE_number); + let _la: number; + try { + this.state = 3618; + 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 = 3607; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 320) { + { + this.state = 3606; + this.match(TrinoSqlParser.MINUS); + } + } + + this.state = 3609; + this.match(TrinoSqlParser.DECIMAL_VALUE); + } + break; + case 2: + localContext = new DoubleLiteralContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 3611; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 320) { + { + this.state = 3610; + this.match(TrinoSqlParser.MINUS); + } + } + + this.state = 3613; + this.match(TrinoSqlParser.DOUBLE_VALUE); + } + break; + case 3: + localContext = new IntegerLiteralContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 3615; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 320) { + { + this.state = 3614; + this.match(TrinoSqlParser.MINUS); + } + } + + this.state = 3617; + this.match(TrinoSqlParser.INTEGER_VALUE); + } + 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 nonReserved(): NonReservedContext { let localContext = new NonReservedContext(this.context, this.state); - this.enterRule(localContext, 326, TrinoSqlParser.RULE_nonReserved); + this.enterRule(localContext, 282, TrinoSqlParser.RULE_nonReserved); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 3724; + this.state = 3620; _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); @@ -16834,25 +16464,25 @@ export class TrinoSqlParser extends SQLParserBase { public override sempred(localContext: antlr.RuleContext | null, ruleIndex: number, predIndex: number): boolean { switch (ruleIndex) { - case 23: + case 20: return this.queryTerm_sempred(localContext as QueryTermContext, predIndex); - case 44: + case 41: return this.relation_sempred(localContext as RelationContext, predIndex); - case 46: + case 43: return this.joinCriteria_sempred(localContext as JoinCriteriaContext, predIndex); - case 48: + case 45: return this.joinColumnReference_sempred(localContext as JoinColumnReferenceContext, predIndex); - case 80: + case 73: return this.booleanExpression_sempred(localContext as BooleanExpressionContext, predIndex); - case 82: + case 75: return this.valueExpression_sempred(localContext as ValueExpressionContext, predIndex); - case 83: + case 76: return this.primaryExpression_sempred(localContext as PrimaryExpressionContext, predIndex); - case 103: + case 91: return this.type_sempred(localContext as TypeContext, predIndex); - case 113: + case 101: return this.rowPattern_sempred(localContext as RowPatternContext, predIndex); - case 149: + case 130: return this.columnRef_sempred(localContext as ColumnRefContext, predIndex); } return true; @@ -16943,7 +16573,7 @@ export class TrinoSqlParser extends SQLParserBase { } public static readonly _serializedATN: number[] = [ - 4,1,342,3727,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,342,3623,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, @@ -16965,317 +16595,303 @@ export class TrinoSqlParser extends SQLParserBase { 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,2,161,7,161,2,162,7,162,2,163,7,163,1,0, - 5,0,330,8,0,10,0,12,0,333,9,0,1,0,1,0,1,1,1,1,1,2,1,2,3,2,341,8, - 2,1,3,1,3,3,3,345,8,3,1,4,1,4,3,4,349,8,4,1,5,1,5,3,5,353,8,5,1, - 6,1,6,3,6,357,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,370,8,8,1,8,1,8,1,8,1,8,1,8,3,8,377,8,8,1,8,1,8,3,8,381,8,8,1, - 8,1,8,3,8,385,8,8,1,8,1,8,1,8,1,8,3,8,391,8,8,1,8,1,8,3,8,395,8, - 8,1,8,1,8,1,8,1,8,1,8,3,8,402,8,8,1,8,1,8,1,8,3,8,407,8,8,1,8,1, - 8,3,8,411,8,8,1,8,1,8,1,8,1,8,3,8,417,8,8,1,8,1,8,3,8,421,8,8,1, + 2,137,7,137,2,138,7,138,2,139,7,139,2,140,7,140,2,141,7,141,1,0, + 5,0,286,8,0,10,0,12,0,289,9,0,1,0,1,0,1,1,1,1,1,2,1,2,3,2,297,8, + 2,1,3,1,3,3,3,301,8,3,1,4,1,4,3,4,305,8,4,1,5,1,5,3,5,309,8,5,1, + 6,1,6,3,6,313,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,326,8,8,1,8,1,8,1,8,1,8,1,8,3,8,333,8,8,1,8,1,8,3,8,337,8,8,1, + 8,1,8,3,8,341,8,8,1,8,1,8,1,8,1,8,3,8,347,8,8,1,8,1,8,3,8,351,8, + 8,1,8,1,8,1,8,1,8,1,8,3,8,358,8,8,1,8,1,8,1,8,3,8,363,8,8,1,8,1, + 8,3,8,367,8,8,1,8,1,8,1,8,1,8,3,8,373,8,8,1,8,1,8,3,8,377,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,440,8,8,1,8,1,8,1,8,1,8,3,8,446,8,8,1,8,1,8,3,8,450,8,8,1, - 8,1,8,3,8,454,8,8,1,8,1,8,3,8,458,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3, - 8,466,8,8,1,8,1,8,3,8,470,8,8,1,8,3,8,473,8,8,1,8,1,8,1,8,3,8,478, - 8,8,1,8,1,8,1,8,1,8,3,8,484,8,8,1,8,1,8,1,8,1,8,1,8,5,8,491,8,8, - 10,8,12,8,494,9,8,1,8,1,8,1,8,3,8,499,8,8,1,8,1,8,3,8,503,8,8,1, - 8,1,8,1,8,1,8,3,8,509,8,8,1,8,1,8,1,8,1,8,1,8,3,8,516,8,8,1,8,1, - 8,1,8,1,8,1,8,1,8,3,8,524,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, - 8,1,8,3,8,536,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,545,8,8,1,8,1, - 8,1,8,1,8,1,8,1,8,1,8,3,8,554,8,8,1,8,1,8,1,8,1,8,3,8,560,8,8,1, - 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,571,8,8,1,8,1,8,1,8,1,8,1, - 8,1,8,3,8,579,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,587,8,8,1,8,1,8,1, - 8,1,8,1,8,3,8,594,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,604,8, - 8,1,8,1,8,1,8,1,8,1,8,3,8,611,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,619, - 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,634, + 8,3,8,396,8,8,1,8,1,8,1,8,1,8,3,8,402,8,8,1,8,1,8,3,8,406,8,8,1, + 8,1,8,3,8,410,8,8,1,8,1,8,3,8,414,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3, + 8,422,8,8,1,8,1,8,3,8,426,8,8,1,8,3,8,429,8,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,1,8,1,8,1,8,5,8,447,8,8, + 10,8,12,8,450,9,8,1,8,1,8,1,8,3,8,455,8,8,1,8,1,8,3,8,459,8,8,1, + 8,1,8,1,8,1,8,3,8,465,8,8,1,8,1,8,1,8,1,8,1,8,3,8,472,8,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,1,8,1, + 8,1,8,3,8,492,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,501,8,8,1,8,1, + 8,1,8,1,8,1,8,1,8,1,8,3,8,510,8,8,1,8,1,8,1,8,1,8,3,8,516,8,8,1, + 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,527,8,8,1,8,1,8,1,8,1,8,1, + 8,1,8,3,8,535,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,543,8,8,1,8,1,8,1, + 8,1,8,1,8,3,8,550,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,560,8, + 8,1,8,1,8,1,8,1,8,1,8,3,8,567,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,575, + 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,590, 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,667,8,8,10,8,12,8,670,9,8,3,8,672,8,8,1,8,3,8,675,8,8,1,8,3, - 8,678,8,8,1,8,1,8,1,8,1,8,3,8,684,8,8,1,8,1,8,1,8,3,8,689,8,8,1, - 8,1,8,1,8,1,8,1,8,3,8,696,8,8,1,8,1,8,1,8,1,8,3,8,702,8,8,1,8,1, - 8,3,8,706,8,8,1,8,1,8,3,8,710,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,718, - 8,8,1,8,1,8,1,8,1,8,3,8,724,8,8,1,8,1,8,3,8,728,8,8,1,8,1,8,3,8, - 732,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,746, - 8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,754,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,773,8,8,1,8,1,8, + 5,8,623,8,8,10,8,12,8,626,9,8,3,8,628,8,8,1,8,3,8,631,8,8,1,8,3, + 8,634,8,8,1,8,1,8,1,8,1,8,3,8,640,8,8,1,8,1,8,1,8,3,8,645,8,8,1, + 8,1,8,1,8,1,8,1,8,3,8,652,8,8,1,8,1,8,1,8,1,8,3,8,658,8,8,1,8,1, + 8,3,8,662,8,8,1,8,1,8,3,8,666,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,674, + 8,8,1,8,1,8,1,8,1,8,3,8,680,8,8,1,8,1,8,3,8,684,8,8,1,8,1,8,3,8, + 688,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,702, + 8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,710,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,729,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,796,8,8,10,8,12,8,799,9,8,3,8,801,8,8,1,8,1,8,1, - 8,1,8,1,8,3,8,808,8,8,1,8,1,8,1,8,1,8,1,8,3,8,815,8,8,1,8,1,8,1, - 8,1,8,1,8,1,8,1,8,3,8,824,8,8,1,8,1,8,3,8,828,8,8,1,8,1,8,1,8,1, - 8,1,8,3,8,835,8,8,1,8,1,8,1,8,1,8,5,8,841,8,8,10,8,12,8,844,9,8, - 1,8,1,8,1,8,1,8,5,8,850,8,8,10,8,12,8,853,9,8,1,8,1,8,1,8,3,8,858, - 8,8,1,8,1,8,1,8,3,8,863,8,8,1,8,1,8,3,8,867,8,8,1,8,1,8,1,8,1,8, - 5,8,873,8,8,10,8,12,8,876,9,8,1,8,1,8,3,8,880,8,8,1,8,1,8,1,8,1, - 8,1,8,1,8,1,8,3,8,889,8,8,1,8,1,8,1,8,1,8,3,8,895,8,8,1,8,1,8,1, - 8,5,8,900,8,8,10,8,12,8,903,9,8,1,8,1,8,1,8,1,8,5,8,909,8,8,10,8, - 12,8,912,9,8,1,8,1,8,1,8,3,8,917,8,8,1,8,1,8,3,8,921,8,8,1,8,1,8, - 1,8,1,8,3,8,927,8,8,1,8,1,8,1,8,5,8,932,8,8,10,8,12,8,935,9,8,1, - 8,1,8,3,8,939,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,950,8, - 8,10,8,12,8,953,9,8,1,8,1,8,3,8,957,8,8,1,8,1,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,3,8,969,8,8,1,8,1,8,3,8,973,8,8,1,8,1,8,1,8,1,8, - 3,8,979,8,8,1,8,1,8,1,8,1,8,1,8,5,8,986,8,8,10,8,12,8,989,9,8,1, - 8,1,8,3,8,993,8,8,1,8,1,8,1,8,1,8,3,8,999,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,1027,8,8,1,8,1,8,1,8,1,8,3,8,1033,8,8, - 3,8,1035,8,8,1,8,1,8,1,8,1,8,3,8,1041,8,8,1,8,1,8,1,8,1,8,3,8,1047, - 8,8,3,8,1049,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1057,8,8,3,8,1059,8, - 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1069,8,8,3,8,1071,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,1086,8,8,1,8, - 1,8,1,8,3,8,1091,8,8,1,8,1,8,1,8,1,8,1,8,3,8,1098,8,8,1,8,1,8,1, - 8,1,8,1,8,1,8,1,8,1,8,3,8,1108,8,8,1,8,1,8,1,8,1,8,3,8,1114,8,8, - 3,8,1116,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1124,8,8,3,8,1126,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,1149,8,8,10,8,12,8,1152,9,8,3,8,1154,8,8,1, - 8,1,8,3,8,1158,8,8,1,8,1,8,3,8,1162,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,1178,8,8,10,8,12,8,1181,9,8, - 3,8,1183,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,1192,8,8,10,8,12,8, - 1195,9,8,3,8,1197,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,1213,8,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,1221,8,8, - 10,8,12,8,1224,9,8,1,8,3,8,1227,8,8,1,8,1,8,1,8,1,8,3,8,1233,8,8, - 1,8,3,8,1236,8,8,1,8,1,8,1,8,1,8,1,8,4,8,1243,8,8,11,8,12,8,1244, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1257,8,8,1,9,3,9,1260, - 8,9,1,9,1,9,1,10,1,10,1,10,1,10,5,10,1268,8,10,10,10,12,10,1271, - 9,10,1,11,3,11,1274,8,11,1,11,1,11,1,12,1,12,3,12,1280,8,12,1,12, - 1,12,1,12,5,12,1285,8,12,10,12,12,12,1288,9,12,1,13,1,13,3,13,1292, - 8,13,1,14,1,14,1,14,1,14,3,14,1298,8,14,1,14,1,14,3,14,1302,8,14, - 1,14,1,14,3,14,1306,8,14,1,15,1,15,1,15,1,15,3,15,1312,8,15,1,16, - 1,16,1,16,1,16,1,17,1,17,1,17,5,17,1321,8,17,10,17,12,17,1324,9, - 17,1,18,1,18,1,18,1,18,1,19,1,19,3,19,1332,8,19,1,20,1,20,1,20,1, - 20,1,20,1,20,5,20,1340,8,20,10,20,12,20,1343,9,20,3,20,1345,8,20, - 1,20,1,20,1,20,3,20,1350,8,20,3,20,1352,8,20,1,20,1,20,1,20,1,20, - 1,20,3,20,1359,8,20,1,20,1,20,1,20,1,20,3,20,1365,8,20,3,20,1367, - 8,20,1,21,1,21,3,21,1371,8,21,1,22,1,22,1,23,1,23,1,23,1,23,1,23, - 1,23,3,23,1381,8,23,1,23,1,23,1,23,1,23,3,23,1387,8,23,1,23,5,23, - 1390,8,23,10,23,12,23,1393,9,23,1,24,1,24,1,24,1,24,1,24,1,24,1, - 24,5,24,1402,8,24,10,24,12,24,1405,9,24,1,24,1,24,1,24,1,24,3,24, - 1411,8,24,1,25,1,25,3,25,1415,8,25,1,25,3,25,1418,8,25,1,25,1,25, - 3,25,1422,8,25,1,26,1,26,3,26,1426,8,26,1,26,1,26,1,26,1,26,1,26, - 5,26,1433,8,26,10,26,12,26,1436,9,26,3,26,1438,8,26,1,26,3,26,1441, - 8,26,1,26,1,26,1,26,3,26,1446,8,26,1,26,3,26,1449,8,26,1,26,1,26, - 1,26,1,26,5,26,1455,8,26,10,26,12,26,1458,9,26,3,26,1460,8,26,1, - 27,1,27,1,27,1,28,1,28,1,28,1,29,1,29,1,29,5,29,1471,8,29,10,29, - 12,29,1474,9,29,1,30,3,30,1477,8,30,1,30,1,30,1,30,5,30,1482,8,30, - 10,30,12,30,1485,9,30,1,31,1,31,1,31,5,31,1490,8,31,10,31,12,31, - 1493,9,31,1,32,1,32,1,32,1,32,1,32,1,32,5,32,1501,8,32,10,32,12, - 32,1504,9,32,3,32,1506,8,32,1,32,1,32,1,32,1,32,1,32,1,32,5,32,1514, - 8,32,10,32,12,32,1517,9,32,3,32,1519,8,32,1,32,1,32,1,32,1,32,1, - 32,1,32,1,32,5,32,1528,8,32,10,32,12,32,1531,9,32,1,32,1,32,3,32, - 1535,8,32,1,33,1,33,1,33,1,33,5,33,1541,8,33,10,33,12,33,1544,9, - 33,3,33,1546,8,33,1,33,1,33,3,33,1550,8,33,1,34,1,34,3,34,1554,8, - 34,1,35,1,35,1,35,1,35,1,35,1,35,1,36,3,36,1563,8,36,1,36,1,36,1, - 36,3,36,1568,8,36,1,36,1,36,1,36,1,36,1,36,5,36,1575,8,36,10,36, - 12,36,1578,9,36,3,36,1580,8,36,1,36,3,36,1583,8,36,1,37,1,37,3,37, - 1587,8,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,39,1,39,3,39,1598, - 8,39,1,39,3,39,1601,8,39,1,39,3,39,1604,8,39,1,39,1,39,1,39,3,39, - 1609,8,39,1,39,3,39,1612,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,1641,8,44,5,44,1643,8,44, - 10,44,12,44,1646,9,44,1,45,3,45,1649,8,45,1,45,1,45,3,45,1653,8, - 45,1,45,1,45,3,45,1657,8,45,1,45,1,45,3,45,1661,8,45,3,45,1663,8, - 45,1,46,1,46,1,46,1,46,3,46,1669,8,46,1,46,1,46,1,46,1,46,1,46,5, - 46,1676,8,46,10,46,12,46,1679,9,46,1,46,1,46,3,46,1683,8,46,1,47, - 1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,3,48,1695,8,48,1,49, - 1,49,1,49,1,49,1,49,1,49,1,49,3,49,1704,8,49,1,50,1,50,1,51,1,51, - 1,52,1,52,1,52,3,52,1713,8,52,1,52,3,52,1716,8,52,1,53,1,53,1,53, - 1,53,3,53,1722,8,53,1,54,1,54,1,54,1,54,1,54,1,54,3,54,1730,8,54, - 1,54,1,54,1,54,1,54,1,54,5,54,1737,8,54,10,54,12,54,1740,9,54,3, - 54,1742,8,54,1,54,1,54,1,54,1,54,5,54,1748,8,54,10,54,12,54,1751, - 9,54,3,54,1753,8,54,1,54,3,54,1756,8,54,1,54,1,54,1,54,3,54,1761, - 8,54,1,54,3,54,1764,8,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54, - 5,54,1774,8,54,10,54,12,54,1777,9,54,3,54,1779,8,54,1,54,1,54,1, - 54,1,54,5,54,1785,8,54,10,54,12,54,1788,9,54,1,54,1,54,3,54,1792, - 8,54,1,54,1,54,3,54,1796,8,54,3,54,1798,8,54,3,54,1800,8,54,1,55, - 1,55,1,55,1,55,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,1,56,3,56, - 1815,8,56,3,56,1817,8,56,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57, - 1,57,3,57,1828,8,57,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58, - 1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,3,58,1849,8,58, - 1,59,1,59,1,59,1,59,1,59,1,59,5,59,1857,8,59,10,59,12,59,1860,9, - 59,1,59,1,59,1,60,1,60,1,60,1,60,1,61,1,61,3,61,1870,8,61,1,61,1, - 61,3,61,1874,8,61,3,61,1876,8,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,1,63,1,63,5,63,1893, - 8,63,10,63,12,63,1896,9,63,1,63,1,63,1,64,1,64,1,64,1,64,5,64,1904, - 8,64,10,64,12,64,1907,9,64,1,64,1,64,1,65,1,65,3,65,1913,8,65,1, - 65,1,65,1,65,1,65,1,65,3,65,1920,8,65,1,66,1,66,1,66,1,66,1,66,1, - 66,1,66,1,66,1,66,5,66,1931,8,66,10,66,12,66,1934,9,66,1,66,1,66, - 1,66,3,66,1939,8,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66, - 1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,5,66,1959,8,66,10,66, - 12,66,1962,9,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66, - 1,66,1,66,3,66,1976,8,66,1,66,1,66,1,66,3,66,1981,8,66,1,66,1,66, - 3,66,1985,8,66,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,3,67,1995, - 8,67,1,67,1,67,1,67,1,67,3,67,2001,8,67,1,67,1,67,1,67,1,67,3,67, - 2007,8,67,1,67,1,67,1,67,1,67,1,67,1,67,3,67,2015,8,67,1,67,1,67, - 1,67,3,67,2020,8,67,1,67,1,67,1,67,1,67,1,67,3,67,2027,8,67,3,67, - 2029,8,67,1,67,1,67,1,67,1,67,3,67,2035,8,67,1,67,1,67,1,67,1,67, - 3,67,2041,8,67,1,67,1,67,3,67,2045,8,67,1,67,1,67,1,67,3,67,2050, - 8,67,1,67,1,67,1,67,1,67,1,67,5,67,2057,8,67,10,67,12,67,2060,9, - 67,1,67,1,67,3,67,2064,8,67,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1, - 68,1,68,1,68,5,68,2076,8,68,10,68,12,68,2079,9,68,1,68,1,68,1,68, - 1,68,1,68,5,68,2086,8,68,10,68,12,68,2089,9,68,3,68,2091,8,68,1, - 69,1,69,1,70,1,70,1,70,1,70,1,70,3,70,2100,8,70,1,71,1,71,1,71,3, - 71,2105,8,71,1,71,1,71,1,71,3,71,2110,8,71,3,71,2112,8,71,1,72,1, - 72,1,72,1,72,1,72,5,72,2119,8,72,10,72,12,72,2122,9,72,3,72,2124, - 8,72,1,72,1,72,1,72,1,72,5,72,2130,8,72,10,72,12,72,2133,9,72,3, - 72,2135,8,72,1,72,1,72,1,73,1,73,1,73,3,73,2142,8,73,1,73,1,73,1, - 73,3,73,2147,8,73,1,74,1,74,1,74,1,74,1,74,3,74,2154,8,74,1,74,1, - 74,3,74,2158,8,74,3,74,2160,8,74,1,74,1,74,1,74,1,74,1,74,1,74,3, - 74,2168,8,74,1,74,1,74,1,74,1,74,1,74,1,74,5,74,2176,8,74,10,74, - 12,74,2179,9,74,1,74,1,74,1,74,3,74,2184,8,74,3,74,2186,8,74,1,75, - 1,75,1,75,1,75,1,75,3,75,2193,8,75,1,75,1,75,3,75,2197,8,75,3,75, - 2199,8,75,1,75,1,75,1,75,1,75,1,75,3,75,2206,8,75,1,75,1,75,3,75, - 2210,8,75,3,75,2212,8,75,3,75,2214,8,75,1,76,1,76,1,76,1,76,1,76, - 5,76,2221,8,76,10,76,12,76,2224,9,76,1,76,1,76,1,76,1,76,1,76,1, - 76,1,76,1,76,3,76,2234,8,76,1,77,1,77,3,77,2238,8,77,1,78,1,78,1, - 78,1,78,1,78,1,78,5,78,2246,8,78,10,78,12,78,2249,9,78,1,78,1,78, - 1,79,1,79,1,80,1,80,1,80,3,80,2258,8,80,1,80,1,80,3,80,2262,8,80, - 1,80,1,80,1,80,1,80,1,80,1,80,5,80,2270,8,80,10,80,12,80,2273,9, - 80,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,3,81,2285,8, - 81,1,81,1,81,1,81,1,81,1,81,1,81,3,81,2293,8,81,1,81,1,81,1,81,1, - 81,1,81,5,81,2300,8,81,10,81,12,81,2303,9,81,1,81,1,81,1,81,3,81, - 2308,8,81,1,81,1,81,1,81,1,81,1,81,1,81,3,81,2316,8,81,1,81,1,81, - 1,81,1,81,3,81,2322,8,81,1,81,1,81,3,81,2326,8,81,1,81,1,81,1,81, - 3,81,2331,8,81,1,81,1,81,1,81,3,81,2336,8,81,1,82,1,82,1,82,1,82, - 3,82,2342,8,82,1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,82, - 1,82,1,82,5,82,2356,8,82,10,82,12,82,2359,9,82,1,83,1,83,1,83,1, - 83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1, - 83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,4,83,2386,8,83,11,83, - 12,83,2387,1,83,1,83,1,83,1,83,1,83,1,83,1,83,5,83,2397,8,83,10, - 83,12,83,2400,9,83,1,83,1,83,1,83,1,83,1,83,3,83,2407,8,83,1,83, - 1,83,1,83,3,83,2412,8,83,1,83,1,83,1,83,3,83,2417,8,83,1,83,1,83, - 1,83,1,83,1,83,1,83,1,83,1,83,1,83,5,83,2428,8,83,10,83,12,83,2431, - 9,83,1,83,1,83,1,83,3,83,2436,8,83,1,83,3,83,2439,8,83,1,83,1,83, - 1,83,1,83,1,83,3,83,2446,8,83,1,83,1,83,1,83,3,83,2451,8,83,1,83, - 3,83,2454,8,83,1,83,3,83,2457,8,83,1,83,1,83,1,83,3,83,2462,8,83, - 1,83,1,83,1,83,5,83,2467,8,83,10,83,12,83,2470,9,83,3,83,2472,8, - 83,1,83,1,83,1,83,1,83,1,83,5,83,2479,8,83,10,83,12,83,2482,9,83, - 3,83,2484,8,83,1,83,1,83,3,83,2488,8,83,1,83,3,83,2491,8,83,1,83, - 3,83,2494,8,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83, - 1,83,5,83,2507,8,83,10,83,12,83,2510,9,83,3,83,2512,8,83,1,83,1, - 83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1, - 83,4,83,2529,8,83,11,83,12,83,2530,1,83,1,83,3,83,2535,8,83,1,83, - 1,83,1,83,1,83,4,83,2541,8,83,11,83,12,83,2542,1,83,1,83,3,83,2547, - 8,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83, - 1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,5,83,2570,8,83,10,83, - 12,83,2573,9,83,3,83,2575,8,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83, - 3,83,2584,8,83,1,83,1,83,1,83,1,83,3,83,2590,8,83,1,83,1,83,1,83, - 1,83,3,83,2596,8,83,1,83,1,83,1,83,1,83,3,83,2602,8,83,1,83,1,83, - 1,83,1,83,1,83,1,83,1,83,3,83,2611,8,83,1,83,3,83,2614,8,83,1,83, - 3,83,2617,8,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83, - 1,83,1,83,1,83,1,83,1,83,1,83,1,83,3,83,2636,8,83,1,83,1,83,1,83, - 1,83,1,83,1,83,1,83,3,83,2645,8,83,1,83,1,83,1,83,1,83,1,83,1,83, - 1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,5,83,2661,8,83,10,83,12, - 83,2664,9,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1, - 83,5,83,2677,8,83,10,83,12,83,2680,9,83,3,83,2682,8,83,1,83,1,83, - 1,83,1,83,1,83,1,83,1,83,1,83,3,83,2692,8,83,1,83,1,83,1,83,1,83, - 1,83,1,83,1,83,3,83,2701,8,83,1,83,1,83,1,83,1,83,3,83,2707,8,83, - 1,83,1,83,1,83,1,83,3,83,2713,8,83,1,83,1,83,1,83,1,83,1,83,1,83, - 1,83,1,83,1,83,3,83,2724,8,83,3,83,2726,8,83,1,83,1,83,1,83,3,83, - 2731,8,83,1,83,1,83,1,83,1,83,1,83,3,83,2738,8,83,3,83,2740,8,83, - 1,83,1,83,1,83,1,83,3,83,2746,8,83,1,83,1,83,1,83,1,83,3,83,2752, - 8,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,5,83,2761,8,83,10,83,12, - 83,2764,9,83,1,83,1,83,1,83,1,83,1,83,1,83,3,83,2772,8,83,1,83,1, - 83,1,83,3,83,2777,8,83,1,83,1,83,1,83,3,83,2782,8,83,3,83,2784,8, - 83,3,83,2786,8,83,1,83,1,83,1,83,1,83,3,83,2792,8,83,3,83,2794,8, - 83,1,83,1,83,1,83,1,83,1,83,1,83,5,83,2802,8,83,10,83,12,83,2805, - 9,83,1,83,1,83,1,83,1,83,1,83,1,83,3,83,2813,8,83,3,83,2815,8,83, - 1,83,1,83,1,83,1,83,3,83,2821,8,83,3,83,2823,8,83,1,83,3,83,2826, - 8,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,5,83,2836,8,83,10,83, - 12,83,2839,9,83,1,84,1,84,1,84,1,84,1,84,3,84,2846,8,84,1,84,1,84, - 1,84,1,84,5,84,2852,8,84,10,84,12,84,2855,9,84,3,84,2857,8,84,1, - 85,1,85,1,85,3,85,2862,8,85,1,86,1,86,1,86,3,86,2867,8,86,1,87,1, - 87,1,87,1,87,1,88,1,88,1,89,1,89,1,89,1,89,3,89,2879,8,89,1,90,1, - 90,3,90,2883,8,90,1,90,1,90,3,90,2887,8,90,1,90,3,90,2890,8,90,3, - 90,2892,8,90,1,91,1,91,1,91,1,91,1,91,1,91,3,91,2900,8,91,1,92,3, - 92,2903,8,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,92,3,92,2913,8, - 92,1,93,1,93,1,94,1,94,1,94,1,94,3,94,2921,8,94,1,95,1,95,1,95,1, - 95,3,95,2927,8,95,3,95,2929,8,95,1,96,1,96,1,96,1,96,1,96,1,96,3, - 96,2937,8,96,1,97,1,97,1,98,1,98,1,99,1,99,1,100,1,100,3,100,2947, - 8,100,1,100,1,100,1,100,1,100,3,100,2953,8,100,1,101,1,101,1,102, - 1,102,1,103,1,103,1,103,1,103,1,103,1,103,5,103,2965,8,103,10,103, - 12,103,2968,9,103,1,103,1,103,1,103,1,103,1,103,1,103,3,103,2976, - 8,103,1,103,1,103,1,103,1,103,1,103,3,103,2983,8,103,1,103,1,103, - 1,103,3,103,2988,8,103,1,103,1,103,1,103,1,103,1,103,3,103,2995, - 8,103,1,103,1,103,1,103,3,103,3000,8,103,1,103,1,103,1,103,1,103, - 1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,103, - 1,103,1,103,1,103,1,103,5,103,3021,8,103,10,103,12,103,3024,9,103, - 1,103,1,103,3,103,3028,8,103,3,103,3030,8,103,1,103,1,103,1,103, - 1,103,1,103,3,103,3037,8,103,5,103,3039,8,103,10,103,12,103,3042, - 9,103,1,104,1,104,1,104,1,104,3,104,3048,8,104,1,105,1,105,3,105, - 3052,8,105,1,106,1,106,1,106,1,106,1,106,1,107,1,107,1,107,1,107, - 1,107,1,108,1,108,1,108,1,108,3,108,3068,8,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,3081,8,108, - 10,108,12,108,3084,9,108,1,108,1,108,1,108,1,108,3,108,3090,8,108, - 1,108,1,108,1,108,1,108,1,108,1,108,1,108,3,108,3099,8,108,1,108, - 1,108,1,108,1,108,1,108,1,108,5,108,3107,8,108,10,108,12,108,3110, - 9,108,1,108,1,108,3,108,3114,8,108,1,108,1,108,1,108,1,108,1,108, - 5,108,3121,8,108,10,108,12,108,3124,9,108,1,108,1,108,3,108,3128, - 8,108,1,109,1,109,1,109,1,109,1,109,1,109,3,109,3136,8,109,1,110, - 1,110,1,110,1,110,5,110,3142,8,110,10,110,12,110,3145,9,110,3,110, - 3147,8,110,1,110,1,110,1,110,1,110,3,110,3153,8,110,1,110,3,110, - 3156,8,110,1,110,1,110,1,110,1,110,1,110,3,110,3163,8,110,1,110, - 1,110,1,110,1,110,5,110,3169,8,110,10,110,12,110,3172,9,110,3,110, - 3174,8,110,1,110,1,110,1,110,1,110,5,110,3180,8,110,10,110,12,110, - 3183,9,110,3,110,3185,8,110,1,111,1,111,1,111,1,111,1,111,1,111, - 1,111,1,111,1,111,1,111,1,111,1,111,1,111,1,111,1,111,1,111,1,111, - 1,111,1,111,1,111,1,111,1,111,1,111,1,111,3,111,3211,8,111,1,112, - 1,112,1,112,1,112,1,112,1,112,1,112,1,112,1,112,3,112,3222,8,112, - 1,113,1,113,1,113,3,113,3227,8,113,1,113,1,113,1,113,1,113,1,113, - 5,113,3234,8,113,10,113,12,113,3237,9,113,1,114,1,114,1,114,1,114, - 1,114,1,114,1,114,1,114,5,114,3247,8,114,10,114,12,114,3250,9,114, - 1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114,1,114, - 1,114,3,114,3264,8,114,1,115,1,115,3,115,3268,8,115,1,115,1,115, - 3,115,3272,8,115,1,115,1,115,3,115,3276,8,115,1,115,1,115,1,115, - 1,115,3,115,3282,8,115,1,115,1,115,3,115,3286,8,115,1,115,1,115, - 3,115,3290,8,115,1,115,1,115,3,115,3294,8,115,3,115,3296,8,115,1, - 116,1,116,1,116,1,116,1,117,1,117,1,117,1,117,3,117,3306,8,117,1, - 118,1,118,1,118,1,118,1,118,3,118,3313,8,118,1,119,1,119,1,119,1, - 119,1,119,1,119,1,119,3,119,3322,8,119,1,120,1,120,1,120,1,120,1, - 120,3,120,3329,8,120,1,121,1,121,1,121,1,121,1,121,3,121,3336,8, - 121,1,122,1,122,1,122,5,122,3341,8,122,10,122,12,122,3344,9,122, - 1,123,1,123,1,123,1,123,5,123,3350,8,123,10,123,12,123,3353,9,123, - 1,123,1,123,1,124,1,124,1,124,1,124,1,124,5,124,3362,8,124,10,124, - 12,124,3365,9,124,3,124,3367,8,124,1,124,1,124,1,125,1,125,1,125, - 1,125,1,125,5,125,3376,8,125,10,125,12,125,3379,9,125,3,125,3381, - 8,125,1,125,1,125,1,126,3,126,3386,8,126,1,126,1,126,1,127,1,127, - 1,127,1,128,1,128,1,128,3,128,3396,8,128,1,128,1,128,1,128,1,128, - 1,128,1,128,1,128,1,128,1,128,1,128,1,128,1,128,1,128,1,128,3,128, - 3412,8,128,1,129,1,129,1,129,1,129,1,129,1,129,1,129,1,129,1,129, - 1,129,4,129,3424,8,129,11,129,12,129,3425,1,129,3,129,3429,8,129, - 1,129,1,129,1,129,1,129,1,129,4,129,3436,8,129,11,129,12,129,3437, - 1,129,3,129,3441,8,129,1,129,1,129,1,129,1,129,1,129,1,129,1,129, - 1,129,5,129,3451,8,129,10,129,12,129,3454,9,129,1,129,3,129,3457, - 8,129,1,129,1,129,1,129,1,129,1,129,1,129,1,129,1,129,1,129,1,129, - 1,129,5,129,3470,8,129,10,129,12,129,3473,9,129,1,129,3,129,3476, - 8,129,1,129,1,129,1,129,1,129,3,129,3482,8,129,1,129,1,129,1,129, - 1,129,1,129,1,129,1,129,1,129,3,129,3492,8,129,1,129,1,129,1,129, - 1,129,1,129,1,129,1,129,1,129,1,129,1,129,3,129,3504,8,129,1,129, - 1,129,1,129,1,129,1,129,1,129,1,129,3,129,3513,8,129,1,130,1,130, - 1,130,1,130,1,130,1,131,1,131,1,131,1,131,1,131,1,132,1,132,1,132, - 1,133,1,133,1,133,1,133,5,133,3532,8,133,10,133,12,133,3535,9,133, - 1,133,1,133,1,133,3,133,3540,8,133,1,134,1,134,1,134,4,134,3545, - 8,134,11,134,12,134,3546,1,135,1,135,1,135,1,135,1,135,1,135,3,135, - 3555,8,135,1,136,1,136,1,136,3,136,3560,8,136,1,137,3,137,3563,8, - 137,1,137,1,137,1,138,1,138,3,138,3569,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,3582,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,3595,8,140,1,141,1,141,1,141,1,141,1,141,1,141,1,141,1,141, - 1,141,1,141,1,141,3,141,3608,8,141,1,142,1,142,1,142,1,142,1,142, - 1,142,1,142,1,142,1,142,1,142,1,142,3,142,3621,8,142,1,143,1,143, - 1,143,1,143,1,143,3,143,3628,8,143,1,144,1,144,1,144,1,144,1,144, - 3,144,3635,8,144,1,145,1,145,1,146,1,146,1,147,1,147,1,148,1,148, - 1,149,1,149,3,149,3647,8,149,1,150,1,150,1,151,1,151,1,152,1,152, - 1,153,1,153,1,153,5,153,3658,8,153,10,153,12,153,3661,9,153,1,154, - 1,154,1,154,1,154,1,154,1,154,1,155,1,155,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, - 1,158,1,158,5,158,3686,8,158,10,158,12,158,3689,9,158,1,159,1,159, - 1,159,1,159,1,159,1,159,1,159,3,159,3698,8,159,1,160,1,160,1,160, - 1,160,1,160,3,160,3705,8,160,1,161,3,161,3708,8,161,1,161,1,161, - 3,161,3712,8,161,1,161,1,161,3,161,3716,8,161,1,161,3,161,3719,8, - 161,1,162,1,162,3,162,3723,8,162,1,163,1,163,1,163,0,7,46,88,160, - 164,166,206,226,164,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32, + 1,8,1,8,1,8,5,8,752,8,8,10,8,12,8,755,9,8,3,8,757,8,8,1,8,1,8,1, + 8,1,8,1,8,3,8,764,8,8,1,8,1,8,1,8,1,8,1,8,3,8,771,8,8,1,8,1,8,1, + 8,1,8,1,8,5,8,778,8,8,10,8,12,8,781,9,8,3,8,783,8,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,3,8,793,8,8,1,8,1,8,3,8,797,8,8,1,8,1,8,1,8, + 1,8,1,8,3,8,804,8,8,1,8,1,8,1,8,1,8,5,8,810,8,8,10,8,12,8,813,9, + 8,1,8,1,8,1,8,1,8,5,8,819,8,8,10,8,12,8,822,9,8,1,8,1,8,1,8,3,8, + 827,8,8,1,8,1,8,1,8,3,8,832,8,8,1,8,1,8,3,8,836,8,8,1,8,1,8,1,8, + 1,8,5,8,842,8,8,10,8,12,8,845,9,8,1,8,1,8,3,8,849,8,8,1,8,1,8,1, + 8,1,8,1,8,1,8,1,8,3,8,858,8,8,1,8,1,8,1,8,1,8,3,8,864,8,8,1,8,1, + 8,1,8,5,8,869,8,8,10,8,12,8,872,9,8,1,8,1,8,1,8,1,8,5,8,878,8,8, + 10,8,12,8,881,9,8,1,8,1,8,1,8,3,8,886,8,8,1,8,1,8,3,8,890,8,8,1, + 8,1,8,1,8,1,8,3,8,896,8,8,1,8,1,8,1,8,5,8,901,8,8,10,8,12,8,904, + 9,8,1,8,1,8,3,8,908,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8, + 919,8,8,10,8,12,8,922,9,8,1,8,1,8,3,8,926,8,8,1,8,1,8,1,8,1,8,1, + 8,1,8,1,8,1,8,1,8,1,8,3,8,938,8,8,1,8,1,8,3,8,942,8,8,1,8,1,8,1, + 8,1,8,3,8,948,8,8,1,8,1,8,1,8,1,8,1,8,5,8,955,8,8,10,8,12,8,958, + 9,8,1,8,1,8,3,8,962,8,8,1,8,1,8,1,8,1,8,3,8,968,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,996,8,8,1,8,1,8,1,8,1,8,3,8,1002, + 8,8,3,8,1004,8,8,1,8,1,8,1,8,1,8,3,8,1010,8,8,1,8,1,8,1,8,1,8,3, + 8,1016,8,8,3,8,1018,8,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,3,8,1038,8,8,3,8,1040,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,1055,8, + 8,1,8,1,8,1,8,3,8,1060,8,8,1,8,1,8,1,8,1,8,1,8,3,8,1067,8,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1077,8,8,1,8,1,8,1,8,1,8,3,8,1083, + 8,8,3,8,1085,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1093,8,8,3,8,1095,8, + 8,1,8,1,8,1,8,1,8,1,8,3,8,1102,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,1121,8,8,10,8,12,8,1124, + 9,8,3,8,1126,8,8,1,8,1,8,3,8,1130,8,8,1,8,1,8,3,8,1134,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,1150,8,8,10, + 8,12,8,1153,9,8,3,8,1155,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5,8,1164, + 8,8,10,8,12,8,1167,9,8,3,8,1169,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,1185,8,8,1,8,1,8,1,8,1,8,1,8,1,8, + 5,8,1193,8,8,10,8,12,8,1196,9,8,1,8,3,8,1199,8,8,1,8,1,8,1,8,1,8, + 3,8,1205,8,8,1,8,3,8,1208,8,8,1,8,1,8,1,8,1,8,1,8,4,8,1215,8,8,11, + 8,12,8,1216,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,1229,8,8, + 1,9,3,9,1232,8,9,1,9,1,9,1,10,1,10,1,10,1,10,5,10,1240,8,10,10,10, + 12,10,1243,9,10,1,11,3,11,1246,8,11,1,11,1,11,1,12,1,12,3,12,1252, + 8,12,1,12,1,12,1,12,5,12,1257,8,12,10,12,12,12,1260,9,12,1,13,1, + 13,3,13,1264,8,13,1,14,1,14,1,14,1,14,3,14,1270,8,14,1,14,1,14,3, + 14,1274,8,14,1,14,1,14,3,14,1278,8,14,1,15,1,15,1,15,1,15,3,15,1284, + 8,15,1,16,1,16,1,16,1,16,1,17,1,17,1,17,5,17,1293,8,17,10,17,12, + 17,1296,9,17,1,18,1,18,1,18,1,18,3,18,1302,8,18,1,19,1,19,1,19,1, + 19,1,19,1,19,5,19,1310,8,19,10,19,12,19,1313,9,19,3,19,1315,8,19, + 1,19,1,19,1,19,3,19,1320,8,19,3,19,1322,8,19,1,19,1,19,1,19,1,19, + 1,19,3,19,1329,8,19,1,19,1,19,1,19,1,19,3,19,1335,8,19,3,19,1337, + 8,19,1,20,1,20,1,20,1,20,1,20,1,20,3,20,1345,8,20,1,20,1,20,1,20, + 1,20,3,20,1351,8,20,1,20,5,20,1354,8,20,10,20,12,20,1357,9,20,1, + 21,1,21,1,21,1,21,1,21,1,21,1,21,5,21,1366,8,21,10,21,12,21,1369, + 9,21,1,21,1,21,1,21,1,21,3,21,1375,8,21,1,22,1,22,3,22,1379,8,22, + 1,22,3,22,1382,8,22,1,22,1,22,3,22,1386,8,22,1,23,1,23,3,23,1390, + 8,23,1,23,1,23,1,23,1,23,1,23,5,23,1397,8,23,10,23,12,23,1400,9, + 23,3,23,1402,8,23,1,23,3,23,1405,8,23,1,23,1,23,1,23,3,23,1410,8, + 23,1,23,3,23,1413,8,23,1,23,1,23,1,23,1,23,5,23,1419,8,23,10,23, + 12,23,1422,9,23,3,23,1424,8,23,1,24,1,24,1,24,1,25,1,25,1,25,1,26, + 1,26,1,26,5,26,1435,8,26,10,26,12,26,1438,9,26,1,27,3,27,1441,8, + 27,1,27,1,27,1,27,5,27,1446,8,27,10,27,12,27,1449,9,27,1,28,1,28, + 1,28,5,28,1454,8,28,10,28,12,28,1457,9,28,1,29,1,29,1,29,1,29,1, + 29,1,29,5,29,1465,8,29,10,29,12,29,1468,9,29,3,29,1470,8,29,1,29, + 1,29,1,29,1,29,1,29,1,29,5,29,1478,8,29,10,29,12,29,1481,9,29,3, + 29,1483,8,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,5,29,1492,8,29,10, + 29,12,29,1495,9,29,1,29,1,29,3,29,1499,8,29,1,30,1,30,1,30,1,30, + 5,30,1505,8,30,10,30,12,30,1508,9,30,3,30,1510,8,30,1,30,1,30,3, + 30,1514,8,30,1,31,1,31,3,31,1518,8,31,1,32,1,32,1,32,1,32,1,32,1, + 32,1,33,3,33,1527,8,33,1,33,1,33,1,33,3,33,1532,8,33,1,33,1,33,1, + 33,1,33,1,33,5,33,1539,8,33,10,33,12,33,1542,9,33,3,33,1544,8,33, + 1,33,3,33,1547,8,33,1,34,1,34,3,34,1551,8,34,1,34,1,34,1,34,1,34, + 1,34,1,35,1,35,1,36,1,36,3,36,1562,8,36,1,36,3,36,1565,8,36,1,36, + 3,36,1568,8,36,1,36,1,36,1,36,3,36,1573,8,36,1,36,3,36,1576,8,36, + 1,37,1,37,1,38,1,38,1,38,1,38,1,39,1,39,1,40,1,40,1,41,1,41,1,41, + 1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41, + 1,41,3,41,1605,8,41,5,41,1607,8,41,10,41,12,41,1610,9,41,1,42,3, + 42,1613,8,42,1,42,1,42,3,42,1617,8,42,1,42,1,42,3,42,1621,8,42,1, + 42,1,42,3,42,1625,8,42,3,42,1627,8,42,1,43,1,43,1,43,1,43,3,43,1633, + 8,43,1,43,1,43,1,43,1,43,1,43,5,43,1640,8,43,10,43,12,43,1643,9, + 43,1,43,1,43,3,43,1647,8,43,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1, + 45,1,45,1,45,3,45,1659,8,45,1,46,1,46,1,46,1,46,1,46,1,46,1,46,3, + 46,1668,8,46,1,47,1,47,1,47,3,47,1673,8,47,1,47,1,47,1,47,1,47,3, + 47,1679,8,47,3,47,1681,8,47,1,48,1,48,1,48,1,48,1,48,1,48,3,48,1689, + 8,48,1,48,1,48,1,48,1,48,1,48,5,48,1696,8,48,10,48,12,48,1699,9, + 48,3,48,1701,8,48,1,48,1,48,1,48,1,48,5,48,1707,8,48,10,48,12,48, + 1710,9,48,3,48,1712,8,48,1,48,3,48,1715,8,48,1,48,1,48,1,48,3,48, + 1720,8,48,1,48,3,48,1723,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48, + 1,48,5,48,1733,8,48,10,48,12,48,1736,9,48,3,48,1738,8,48,1,48,1, + 48,1,48,1,48,5,48,1744,8,48,10,48,12,48,1747,9,48,1,48,1,48,3,48, + 1751,8,48,1,48,1,48,3,48,1755,8,48,3,48,1757,8,48,3,48,1759,8,48, + 1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50, + 1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,1782,8,50,3,50,1784, + 8,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51, + 1,51,1,51,1,51,1,51,1,51,1,51,1,51,3,51,1805,8,51,1,52,1,52,1,52, + 1,52,1,52,1,52,5,52,1813,8,52,10,52,12,52,1816,9,52,1,52,1,52,1, + 53,1,53,1,53,1,53,1,54,1,54,3,54,1826,8,54,1,54,1,54,3,54,1830,8, + 54,3,54,1832,8,54,1,55,1,55,1,55,1,55,5,55,1838,8,55,10,55,12,55, + 1841,9,55,1,55,1,55,1,56,1,56,1,56,1,56,5,56,1849,8,56,10,56,12, + 56,1852,9,56,1,56,1,56,1,57,1,57,1,57,1,57,5,57,1860,8,57,10,57, + 12,57,1863,9,57,1,57,1,57,1,58,1,58,1,58,1,58,1,58,1,58,3,58,1873, + 8,58,1,58,1,58,1,58,1,58,1,58,3,58,1880,8,58,1,59,1,59,1,59,1,59, + 1,59,1,59,1,59,1,59,1,59,5,59,1891,8,59,10,59,12,59,1894,9,59,1, + 59,1,59,1,59,3,59,1899,8,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1, + 59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,5,59,1919,8, + 59,10,59,12,59,1922,9,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59, + 1,59,1,59,1,59,1,59,3,59,1936,8,59,1,59,1,59,1,59,3,59,1941,8,59, + 1,59,1,59,3,59,1945,8,59,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60, + 3,60,1955,8,60,1,60,1,60,1,60,1,60,3,60,1961,8,60,1,60,1,60,1,60, + 1,60,3,60,1967,8,60,1,60,1,60,1,60,1,60,1,60,1,60,3,60,1975,8,60, + 1,60,1,60,1,60,3,60,1980,8,60,1,60,1,60,1,60,1,60,1,60,3,60,1987, + 8,60,3,60,1989,8,60,1,60,1,60,1,60,1,60,3,60,1995,8,60,1,60,1,60, + 1,60,1,60,3,60,2001,8,60,1,60,1,60,3,60,2005,8,60,1,60,1,60,1,60, + 3,60,2010,8,60,1,60,1,60,1,60,1,60,1,60,5,60,2017,8,60,10,60,12, + 60,2020,9,60,1,60,1,60,3,60,2024,8,60,1,61,1,61,1,61,1,61,1,61,1, + 61,1,61,1,61,1,61,1,61,5,61,2036,8,61,10,61,12,61,2039,9,61,1,61, + 1,61,1,61,1,61,1,61,5,61,2046,8,61,10,61,12,61,2049,9,61,3,61,2051, + 8,61,1,62,1,62,1,63,1,63,1,63,1,63,1,63,3,63,2060,8,63,1,64,1,64, + 1,64,3,64,2065,8,64,1,64,1,64,1,64,3,64,2070,8,64,3,64,2072,8,64, + 1,65,1,65,1,65,1,65,1,65,5,65,2079,8,65,10,65,12,65,2082,9,65,3, + 65,2084,8,65,1,65,1,65,1,65,1,65,5,65,2090,8,65,10,65,12,65,2093, + 9,65,3,65,2095,8,65,1,65,1,65,1,66,1,66,1,66,3,66,2102,8,66,1,66, + 1,66,1,66,3,66,2107,8,66,1,67,1,67,1,67,1,67,1,67,3,67,2114,8,67, + 1,67,1,67,3,67,2118,8,67,3,67,2120,8,67,1,67,1,67,1,67,1,67,1,67, + 1,67,3,67,2128,8,67,1,67,1,67,1,67,1,67,1,67,1,67,5,67,2136,8,67, + 10,67,12,67,2139,9,67,1,67,1,67,1,67,3,67,2144,8,67,3,67,2146,8, + 67,1,68,1,68,1,68,1,68,1,68,3,68,2153,8,68,1,68,1,68,3,68,2157,8, + 68,3,68,2159,8,68,1,68,1,68,1,68,1,68,1,68,3,68,2166,8,68,1,68,1, + 68,3,68,2170,8,68,3,68,2172,8,68,3,68,2174,8,68,1,69,1,69,1,69,1, + 69,1,69,5,69,2181,8,69,10,69,12,69,2184,9,69,1,69,1,69,1,69,1,69, + 1,69,1,69,1,69,1,69,3,69,2194,8,69,1,70,1,70,3,70,2198,8,70,1,71, + 1,71,1,71,1,71,1,71,1,71,5,71,2206,8,71,10,71,12,71,2209,9,71,1, + 71,1,71,1,72,1,72,1,73,1,73,1,73,3,73,2218,8,73,1,73,1,73,3,73,2222, + 8,73,1,73,1,73,1,73,1,73,1,73,1,73,5,73,2230,8,73,10,73,12,73,2233, + 9,73,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,3,74,2245, + 8,74,1,74,1,74,1,74,1,74,1,74,1,74,3,74,2253,8,74,1,74,1,74,1,74, + 1,74,1,74,5,74,2260,8,74,10,74,12,74,2263,9,74,1,74,1,74,1,74,3, + 74,2268,8,74,1,74,1,74,1,74,1,74,1,74,1,74,3,74,2276,8,74,1,74,1, + 74,1,74,1,74,3,74,2282,8,74,1,74,1,74,3,74,2286,8,74,1,74,1,74,1, + 74,3,74,2291,8,74,1,74,1,74,1,74,3,74,2296,8,74,1,75,1,75,1,75,1, + 75,3,75,2302,8,75,1,75,1,75,1,75,1,75,1,75,1,75,1,75,1,75,1,75,1, + 75,1,75,1,75,1,75,1,75,1,75,1,75,1,75,3,75,2321,8,75,5,75,2323,8, + 75,10,75,12,75,2326,9,75,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76, + 1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76, + 1,76,1,76,1,76,1,76,4,76,2353,8,76,11,76,12,76,2354,1,76,1,76,1, + 76,1,76,1,76,1,76,1,76,5,76,2364,8,76,10,76,12,76,2367,9,76,1,76, + 1,76,1,76,1,76,1,76,3,76,2374,8,76,1,76,1,76,1,76,3,76,2379,8,76, + 1,76,1,76,1,76,3,76,2384,8,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76, + 1,76,1,76,5,76,2395,8,76,10,76,12,76,2398,9,76,1,76,1,76,1,76,3, + 76,2403,8,76,1,76,3,76,2406,8,76,1,76,1,76,1,76,1,76,1,76,3,76,2413, + 8,76,1,76,1,76,1,76,3,76,2418,8,76,1,76,3,76,2421,8,76,1,76,3,76, + 2424,8,76,1,76,1,76,1,76,3,76,2429,8,76,1,76,1,76,1,76,5,76,2434, + 8,76,10,76,12,76,2437,9,76,3,76,2439,8,76,1,76,1,76,1,76,1,76,1, + 76,5,76,2446,8,76,10,76,12,76,2449,9,76,3,76,2451,8,76,1,76,1,76, + 3,76,2455,8,76,1,76,1,76,1,76,1,76,3,76,2461,8,76,1,76,3,76,2464, + 8,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,5,76, + 2477,8,76,10,76,12,76,2480,9,76,3,76,2482,8,76,1,76,1,76,1,76,1, + 76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,4,76,2499, + 8,76,11,76,12,76,2500,1,76,1,76,3,76,2505,8,76,1,76,1,76,1,76,1, + 76,4,76,2511,8,76,11,76,12,76,2512,1,76,1,76,3,76,2517,8,76,1,76, + 1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76, + 1,76,1,76,1,76,1,76,1,76,1,76,1,76,5,76,2540,8,76,10,76,12,76,2543, + 9,76,3,76,2545,8,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,3,76,2554, + 8,76,1,76,1,76,1,76,1,76,3,76,2560,8,76,1,76,1,76,1,76,1,76,3,76, + 2566,8,76,1,76,1,76,1,76,1,76,3,76,2572,8,76,1,76,1,76,1,76,1,76, + 1,76,1,76,1,76,3,76,2581,8,76,1,76,3,76,2584,8,76,1,76,3,76,2587, + 8,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76, + 1,76,1,76,1,76,1,76,1,76,3,76,2606,8,76,1,76,1,76,1,76,1,76,1,76, + 1,76,1,76,3,76,2615,8,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76, + 1,76,1,76,1,76,1,76,1,76,1,76,5,76,2631,8,76,10,76,12,76,2634,9, + 76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,5,76,2647, + 8,76,10,76,12,76,2650,9,76,3,76,2652,8,76,1,76,1,76,1,76,1,76,1, + 76,1,76,1,76,3,76,2661,8,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,3, + 76,2670,8,76,1,76,1,76,1,76,1,76,3,76,2676,8,76,1,76,1,76,1,76,1, + 76,3,76,2682,8,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,3, + 76,2693,8,76,3,76,2695,8,76,1,76,1,76,1,76,3,76,2700,8,76,1,76,1, + 76,1,76,1,76,1,76,3,76,2707,8,76,3,76,2709,8,76,1,76,1,76,1,76,1, + 76,3,76,2715,8,76,1,76,1,76,1,76,1,76,3,76,2721,8,76,1,76,1,76,1, + 76,1,76,1,76,1,76,1,76,5,76,2730,8,76,10,76,12,76,2733,9,76,1,76, + 1,76,1,76,1,76,1,76,1,76,3,76,2741,8,76,1,76,1,76,1,76,3,76,2746, + 8,76,1,76,1,76,1,76,3,76,2751,8,76,3,76,2753,8,76,3,76,2755,8,76, + 1,76,1,76,1,76,1,76,3,76,2761,8,76,3,76,2763,8,76,1,76,1,76,1,76, + 1,76,1,76,1,76,5,76,2771,8,76,10,76,12,76,2774,9,76,1,76,1,76,1, + 76,1,76,1,76,1,76,3,76,2782,8,76,3,76,2784,8,76,1,76,1,76,1,76,1, + 76,3,76,2790,8,76,3,76,2792,8,76,1,76,3,76,2795,8,76,1,76,1,76,1, + 76,1,76,1,76,1,76,1,76,1,76,5,76,2805,8,76,10,76,12,76,2808,9,76, + 1,77,1,77,1,77,1,77,1,77,3,77,2815,8,77,1,77,1,77,1,77,1,77,5,77, + 2821,8,77,10,77,12,77,2824,9,77,3,77,2826,8,77,1,78,1,78,1,78,3, + 78,2831,8,78,1,79,1,79,1,79,3,79,2836,8,79,1,80,1,80,1,80,1,80,1, + 81,1,81,1,81,1,81,3,81,2846,8,81,1,82,1,82,3,82,2850,8,82,1,82,1, + 82,3,82,2854,8,82,1,82,3,82,2857,8,82,3,82,2859,8,82,1,83,1,83,1, + 83,1,83,1,83,1,83,3,83,2867,8,83,1,84,3,84,2870,8,84,1,84,1,84,1, + 84,1,84,1,84,1,84,1,84,1,84,3,84,2880,8,84,1,85,1,85,1,86,1,86,1, + 86,1,86,3,86,2888,8,86,3,86,2890,8,86,1,87,1,87,1,88,1,88,1,89,1, + 89,3,89,2898,8,89,1,89,1,89,1,89,1,89,3,89,2904,8,89,1,90,1,90,1, + 91,1,91,1,91,1,91,1,91,1,91,5,91,2914,8,91,10,91,12,91,2917,9,91, + 1,91,1,91,1,91,1,91,1,91,1,91,3,91,2925,8,91,1,91,1,91,1,91,1,91, + 1,91,3,91,2932,8,91,1,91,1,91,1,91,3,91,2937,8,91,1,91,1,91,1,91, + 1,91,1,91,3,91,2944,8,91,1,91,1,91,1,91,3,91,2949,8,91,1,91,1,91, + 1,91,1,91,1,91,1,91,1,91,1,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,2970,8,91,10,91,12,91,2973,9,91,1,91,1, + 91,3,91,2977,8,91,3,91,2979,8,91,1,91,1,91,1,91,1,91,1,91,3,91,2986, + 8,91,5,91,2988,8,91,10,91,12,91,2991,9,91,1,92,1,92,1,92,1,92,3, + 92,2997,8,92,1,93,1,93,3,93,3001,8,93,1,94,1,94,1,94,1,94,1,94,1, + 95,1,95,1,95,1,95,1,95,1,96,1,96,1,96,1,96,3,96,3017,8,96,1,96,1, + 96,1,96,1,96,1,96,1,96,1,96,1,96,1,96,1,96,1,96,5,96,3030,8,96,10, + 96,12,96,3033,9,96,1,96,1,96,1,96,1,96,3,96,3039,8,96,1,96,1,96, + 1,96,1,96,1,96,1,96,1,96,3,96,3048,8,96,1,96,1,96,1,96,1,96,1,96, + 1,96,5,96,3056,8,96,10,96,12,96,3059,9,96,1,96,1,96,3,96,3063,8, + 96,1,96,1,96,1,96,1,96,1,96,5,96,3070,8,96,10,96,12,96,3073,9,96, + 1,96,1,96,3,96,3077,8,96,1,97,1,97,1,97,1,97,1,97,1,97,3,97,3085, + 8,97,1,98,1,98,1,98,1,98,5,98,3091,8,98,10,98,12,98,3094,9,98,3, + 98,3096,8,98,1,98,1,98,1,98,1,98,3,98,3102,8,98,1,98,3,98,3105,8, + 98,1,98,1,98,1,98,1,98,1,98,3,98,3112,8,98,1,98,1,98,1,98,1,98,5, + 98,3118,8,98,10,98,12,98,3121,9,98,3,98,3123,8,98,1,98,1,98,1,98, + 1,98,5,98,3129,8,98,10,98,12,98,3132,9,98,3,98,3134,8,98,1,99,1, + 99,1,99,1,99,1,99,1,99,1,99,3,99,3143,8,99,1,100,1,100,1,100,1,100, + 1,100,1,100,1,100,1,100,1,100,3,100,3154,8,100,1,101,1,101,1,101, + 3,101,3159,8,101,1,101,1,101,1,101,1,101,1,101,5,101,3166,8,101, + 10,101,12,101,3169,9,101,1,102,1,102,1,102,1,102,1,102,1,102,1,102, + 1,102,5,102,3179,8,102,10,102,12,102,3182,9,102,1,102,1,102,1,102, + 1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,102,3,102,3196, + 8,102,1,103,1,103,3,103,3200,8,103,1,103,1,103,3,103,3204,8,103, + 1,103,1,103,3,103,3208,8,103,1,103,1,103,1,103,1,103,3,103,3214, + 8,103,1,103,1,103,3,103,3218,8,103,1,103,1,103,3,103,3222,8,103, + 1,103,1,103,3,103,3226,8,103,3,103,3228,8,103,1,104,1,104,1,104, + 1,104,1,105,1,105,1,105,1,105,3,105,3238,8,105,1,106,1,106,1,106, + 1,106,1,106,1,106,1,106,1,106,1,106,3,106,3249,8,106,1,106,1,106, + 3,106,3253,8,106,1,107,1,107,1,107,1,107,1,107,3,107,3260,8,107, + 1,108,1,108,1,108,1,108,1,108,3,108,3267,8,108,1,109,1,109,1,109, + 5,109,3272,8,109,10,109,12,109,3275,9,109,1,110,1,110,1,110,1,110, + 1,110,1,110,5,110,3283,8,110,10,110,12,110,3286,9,110,3,110,3288, + 8,110,1,110,1,110,1,110,1,110,5,110,3294,8,110,10,110,12,110,3297, + 9,110,1,110,1,110,1,111,3,111,3302,8,111,1,111,1,111,1,112,1,112, + 1,112,3,112,3309,8,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,1,112,1,112,3,112,3325,8,112,1,113, + 1,113,1,113,1,113,1,113,1,113,1,113,1,113,1,113,1,113,4,113,3337, + 8,113,11,113,12,113,3338,1,113,3,113,3342,8,113,1,113,1,113,1,113, + 1,113,1,113,4,113,3349,8,113,11,113,12,113,3350,1,113,3,113,3354, + 8,113,1,113,1,113,1,113,1,113,1,113,1,113,1,113,1,113,1,113,1,113, + 1,113,1,113,5,113,3368,8,113,10,113,12,113,3371,9,113,1,113,3,113, + 3374,8,113,1,113,1,113,1,113,1,113,1,113,1,113,1,113,1,113,1,113, + 1,113,1,113,1,113,5,113,3388,8,113,10,113,12,113,3391,9,113,1,113, + 1,113,1,113,3,113,3396,8,113,1,113,1,113,5,113,3400,8,113,10,113, + 12,113,3403,9,113,1,113,3,113,3406,8,113,1,113,1,113,1,113,1,113, + 3,113,3412,8,113,1,113,1,113,1,113,1,113,1,113,1,113,1,113,1,113, + 3,113,3422,8,113,1,113,1,113,1,113,1,113,1,113,1,113,1,113,1,113, + 1,113,1,113,3,113,3434,8,113,1,113,1,113,1,113,1,113,1,113,1,113, + 1,113,3,113,3443,8,113,1,114,1,114,1,114,1,114,1,114,1,115,1,115, + 1,115,1,116,1,116,1,116,4,116,3456,8,116,11,116,12,116,3457,1,117, + 1,117,1,117,1,117,1,117,1,117,3,117,3466,8,117,1,118,1,118,1,118, + 3,118,3471,8,118,1,118,1,118,1,119,1,119,3,119,3477,8,119,1,120, + 1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,3,120, + 3490,8,120,1,121,1,121,1,121,1,121,1,121,1,121,1,121,1,121,1,121, + 1,121,1,121,3,121,3503,8,121,1,122,1,122,1,122,1,122,1,122,1,122, + 1,122,1,122,1,122,1,122,1,122,3,122,3516,8,122,1,123,1,123,1,123, + 1,123,1,123,1,123,1,123,1,123,1,123,1,123,1,123,3,123,3529,8,123, + 1,124,1,124,1,124,1,124,1,124,3,124,3536,8,124,1,125,1,125,1,125, + 1,125,1,125,3,125,3543,8,125,1,126,1,126,1,127,1,127,1,128,1,128, + 1,129,1,129,1,130,1,130,3,130,3555,8,130,1,131,1,131,1,132,1,132, + 1,133,1,133,1,134,1,134,1,134,5,134,3566,8,134,10,134,12,134,3569, + 9,134,1,135,1,135,1,135,3,135,3574,8,135,1,136,1,136,1,136,1,136, + 1,136,3,136,3581,8,136,1,137,1,137,1,137,5,137,3586,8,137,10,137, + 12,137,3589,9,137,1,138,1,138,1,138,1,138,1,138,1,138,1,138,3,138, + 3598,8,138,1,139,1,139,1,139,1,139,1,139,3,139,3605,8,139,1,140, + 3,140,3608,8,140,1,140,1,140,3,140,3612,8,140,1,140,1,140,3,140, + 3616,8,140,1,140,3,140,3619,8,140,1,141,1,141,1,141,0,7,40,82,146, + 150,152,182,202,142,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, @@ -17283,1265 +16899,1238 @@ export class TrinoSqlParser extends SQLParserBase { 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,322,324,326,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, + 276,278,280,282,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,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,4267,0,331,1,0,0,0,2,336,1,0,0,0, - 4,338,1,0,0,0,6,342,1,0,0,0,8,346,1,0,0,0,10,350,1,0,0,0,12,354, - 1,0,0,0,14,358,1,0,0,0,16,1256,1,0,0,0,18,1259,1,0,0,0,20,1263,1, - 0,0,0,22,1273,1,0,0,0,24,1277,1,0,0,0,26,1291,1,0,0,0,28,1293,1, - 0,0,0,30,1307,1,0,0,0,32,1313,1,0,0,0,34,1317,1,0,0,0,36,1325,1, - 0,0,0,38,1331,1,0,0,0,40,1333,1,0,0,0,42,1370,1,0,0,0,44,1372,1, - 0,0,0,46,1374,1,0,0,0,48,1410,1,0,0,0,50,1414,1,0,0,0,52,1423,1, - 0,0,0,54,1461,1,0,0,0,56,1464,1,0,0,0,58,1467,1,0,0,0,60,1476,1, - 0,0,0,62,1486,1,0,0,0,64,1534,1,0,0,0,66,1549,1,0,0,0,68,1553,1, - 0,0,0,70,1555,1,0,0,0,72,1562,1,0,0,0,74,1584,1,0,0,0,76,1593,1, - 0,0,0,78,1611,1,0,0,0,80,1613,1,0,0,0,82,1615,1,0,0,0,84,1619,1, - 0,0,0,86,1621,1,0,0,0,88,1623,1,0,0,0,90,1662,1,0,0,0,92,1682,1, - 0,0,0,94,1684,1,0,0,0,96,1694,1,0,0,0,98,1696,1,0,0,0,100,1705,1, - 0,0,0,102,1707,1,0,0,0,104,1715,1,0,0,0,106,1721,1,0,0,0,108,1723, - 1,0,0,0,110,1801,1,0,0,0,112,1816,1,0,0,0,114,1827,1,0,0,0,116,1848, - 1,0,0,0,118,1850,1,0,0,0,120,1863,1,0,0,0,122,1867,1,0,0,0,124,1877, - 1,0,0,0,126,1888,1,0,0,0,128,1899,1,0,0,0,130,1919,1,0,0,0,132,1984, - 1,0,0,0,134,2063,1,0,0,0,136,2090,1,0,0,0,138,2092,1,0,0,0,140,2099, - 1,0,0,0,142,2111,1,0,0,0,144,2113,1,0,0,0,146,2141,1,0,0,0,148,2148, - 1,0,0,0,150,2213,1,0,0,0,152,2233,1,0,0,0,154,2235,1,0,0,0,156,2239, - 1,0,0,0,158,2252,1,0,0,0,160,2261,1,0,0,0,162,2335,1,0,0,0,164,2341, - 1,0,0,0,166,2825,1,0,0,0,168,2840,1,0,0,0,170,2858,1,0,0,0,172,2863, - 1,0,0,0,174,2868,1,0,0,0,176,2872,1,0,0,0,178,2878,1,0,0,0,180,2891, - 1,0,0,0,182,2899,1,0,0,0,184,2912,1,0,0,0,186,2914,1,0,0,0,188,2920, - 1,0,0,0,190,2928,1,0,0,0,192,2936,1,0,0,0,194,2938,1,0,0,0,196,2940, - 1,0,0,0,198,2942,1,0,0,0,200,2944,1,0,0,0,202,2954,1,0,0,0,204,2956, - 1,0,0,0,206,3029,1,0,0,0,208,3047,1,0,0,0,210,3051,1,0,0,0,212,3053, - 1,0,0,0,214,3058,1,0,0,0,216,3127,1,0,0,0,218,3129,1,0,0,0,220,3146, - 1,0,0,0,222,3210,1,0,0,0,224,3221,1,0,0,0,226,3223,1,0,0,0,228,3263, - 1,0,0,0,230,3295,1,0,0,0,232,3297,1,0,0,0,234,3305,1,0,0,0,236,3312, - 1,0,0,0,238,3321,1,0,0,0,240,3328,1,0,0,0,242,3335,1,0,0,0,244,3337, - 1,0,0,0,246,3345,1,0,0,0,248,3356,1,0,0,0,250,3370,1,0,0,0,252,3385, - 1,0,0,0,254,3389,1,0,0,0,256,3411,1,0,0,0,258,3512,1,0,0,0,260,3514, - 1,0,0,0,262,3519,1,0,0,0,264,3524,1,0,0,0,266,3527,1,0,0,0,268,3544, - 1,0,0,0,270,3554,1,0,0,0,272,3559,1,0,0,0,274,3562,1,0,0,0,276,3568, - 1,0,0,0,278,3581,1,0,0,0,280,3594,1,0,0,0,282,3607,1,0,0,0,284,3620, - 1,0,0,0,286,3627,1,0,0,0,288,3634,1,0,0,0,290,3636,1,0,0,0,292,3638, - 1,0,0,0,294,3640,1,0,0,0,296,3642,1,0,0,0,298,3646,1,0,0,0,300,3648, - 1,0,0,0,302,3650,1,0,0,0,304,3652,1,0,0,0,306,3654,1,0,0,0,308,3662, - 1,0,0,0,310,3668,1,0,0,0,312,3673,1,0,0,0,314,3680,1,0,0,0,316,3682, - 1,0,0,0,318,3697,1,0,0,0,320,3704,1,0,0,0,322,3718,1,0,0,0,324,3722, - 1,0,0,0,326,3724,1,0,0,0,328,330,3,2,1,0,329,328,1,0,0,0,330,333, - 1,0,0,0,331,329,1,0,0,0,331,332,1,0,0,0,332,334,1,0,0,0,333,331, - 1,0,0,0,334,335,5,0,0,1,335,1,1,0,0,0,336,337,3,4,2,0,337,3,1,0, - 0,0,338,340,3,16,8,0,339,341,5,326,0,0,340,339,1,0,0,0,340,341,1, - 0,0,0,341,5,1,0,0,0,342,344,3,158,79,0,343,345,5,326,0,0,344,343, - 1,0,0,0,344,345,1,0,0,0,345,7,1,0,0,0,346,348,3,244,122,0,347,349, - 5,326,0,0,348,347,1,0,0,0,348,349,1,0,0,0,349,9,1,0,0,0,350,352, - 3,206,103,0,351,353,5,326,0,0,352,351,1,0,0,0,352,353,1,0,0,0,353, - 11,1,0,0,0,354,356,3,226,113,0,355,357,5,326,0,0,356,355,1,0,0,0, - 356,357,1,0,0,0,357,13,1,0,0,0,358,359,3,246,123,0,359,360,5,0,0, - 1,360,15,1,0,0,0,361,1257,3,18,9,0,362,363,5,289,0,0,363,1257,3, - 286,143,0,364,365,5,54,0,0,365,369,5,42,0,0,366,367,5,120,0,0,367, - 368,5,183,0,0,368,370,5,95,0,0,369,366,1,0,0,0,369,370,1,0,0,0,370, - 371,1,0,0,0,371,372,3,292,146,0,372,373,5,291,0,0,373,376,3,320, - 160,0,374,375,5,47,0,0,375,377,3,190,95,0,376,374,1,0,0,0,376,377, - 1,0,0,0,377,380,1,0,0,0,378,379,5,31,0,0,379,381,3,314,157,0,380, - 378,1,0,0,0,380,381,1,0,0,0,381,384,1,0,0,0,382,383,5,305,0,0,383, - 385,3,32,16,0,384,382,1,0,0,0,384,385,1,0,0,0,385,1257,1,0,0,0,386, - 387,5,84,0,0,387,390,5,42,0,0,388,389,5,120,0,0,389,391,5,95,0,0, - 390,388,1,0,0,0,390,391,1,0,0,0,391,392,1,0,0,0,392,394,3,290,145, - 0,393,395,7,0,0,0,394,393,1,0,0,0,394,395,1,0,0,0,395,1257,1,0,0, - 0,396,397,5,54,0,0,397,401,5,244,0,0,398,399,5,120,0,0,399,400,5, - 183,0,0,400,402,5,95,0,0,401,398,1,0,0,0,401,402,1,0,0,0,402,403, - 1,0,0,0,403,406,3,288,144,0,404,405,5,31,0,0,405,407,3,314,157,0, - 406,404,1,0,0,0,406,407,1,0,0,0,407,410,1,0,0,0,408,409,5,305,0, - 0,409,411,3,32,16,0,410,408,1,0,0,0,410,411,1,0,0,0,411,1257,1,0, - 0,0,412,413,5,84,0,0,413,416,5,244,0,0,414,415,5,120,0,0,415,417, - 5,95,0,0,416,414,1,0,0,0,416,417,1,0,0,0,417,418,1,0,0,0,418,420, - 3,286,143,0,419,421,7,0,0,0,420,419,1,0,0,0,420,421,1,0,0,0,421, - 1257,1,0,0,0,422,423,5,23,0,0,423,424,5,244,0,0,424,425,3,286,143, - 0,425,426,5,224,0,0,426,427,5,270,0,0,427,428,3,288,144,0,428,1257, - 1,0,0,0,429,430,5,23,0,0,430,431,5,244,0,0,431,432,3,286,143,0,432, - 433,5,252,0,0,433,434,5,31,0,0,434,435,3,314,157,0,435,1257,1,0, - 0,0,436,439,5,54,0,0,437,438,5,195,0,0,438,440,5,227,0,0,439,437, - 1,0,0,0,439,440,1,0,0,0,440,441,1,0,0,0,441,445,5,261,0,0,442,443, - 5,120,0,0,443,444,5,183,0,0,444,446,5,95,0,0,445,442,1,0,0,0,445, - 446,1,0,0,0,446,447,1,0,0,0,447,449,3,280,140,0,448,450,3,124,62, - 0,449,448,1,0,0,0,449,450,1,0,0,0,450,453,1,0,0,0,451,452,5,47,0, - 0,452,454,3,190,95,0,453,451,1,0,0,0,453,454,1,0,0,0,454,457,1,0, - 0,0,455,456,5,305,0,0,456,458,3,32,16,0,457,455,1,0,0,0,457,458, - 1,0,0,0,458,459,1,0,0,0,459,465,5,28,0,0,460,466,3,18,9,0,461,462, - 5,1,0,0,462,463,3,18,9,0,463,464,5,2,0,0,464,466,1,0,0,0,465,460, - 1,0,0,0,465,461,1,0,0,0,466,472,1,0,0,0,467,469,5,305,0,0,468,470, - 5,180,0,0,469,468,1,0,0,0,469,470,1,0,0,0,470,471,1,0,0,0,471,473, - 5,66,0,0,472,467,1,0,0,0,472,473,1,0,0,0,473,1257,1,0,0,0,474,477, - 5,54,0,0,475,476,5,195,0,0,476,478,5,227,0,0,477,475,1,0,0,0,477, - 478,1,0,0,0,478,479,1,0,0,0,479,483,5,261,0,0,480,481,5,120,0,0, - 481,482,5,183,0,0,482,484,5,95,0,0,483,480,1,0,0,0,483,484,1,0,0, - 0,484,485,1,0,0,0,485,486,3,280,140,0,486,487,5,1,0,0,487,492,3, - 26,13,0,488,489,5,3,0,0,489,491,3,26,13,0,490,488,1,0,0,0,491,494, - 1,0,0,0,492,490,1,0,0,0,492,493,1,0,0,0,493,495,1,0,0,0,494,492, - 1,0,0,0,495,498,5,2,0,0,496,497,5,47,0,0,497,499,3,190,95,0,498, - 496,1,0,0,0,498,499,1,0,0,0,499,502,1,0,0,0,500,501,5,305,0,0,501, - 503,3,32,16,0,502,500,1,0,0,0,502,503,1,0,0,0,503,1257,1,0,0,0,504, - 505,5,84,0,0,505,508,5,261,0,0,506,507,5,120,0,0,507,509,5,95,0, - 0,508,506,1,0,0,0,508,509,1,0,0,0,509,510,1,0,0,0,510,1257,3,278, - 139,0,511,512,5,128,0,0,512,513,5,131,0,0,513,515,3,278,139,0,514, - 516,3,126,63,0,515,514,1,0,0,0,515,516,1,0,0,0,516,517,1,0,0,0,517, - 518,3,18,9,0,518,1257,1,0,0,0,519,520,5,74,0,0,520,521,5,106,0,0, - 521,523,3,278,139,0,522,524,3,54,27,0,523,522,1,0,0,0,523,524,1, - 0,0,0,524,1257,1,0,0,0,525,526,5,275,0,0,526,527,5,261,0,0,527,1257, - 3,278,139,0,528,529,5,47,0,0,529,530,5,191,0,0,530,531,5,261,0,0, - 531,532,3,278,139,0,532,535,5,134,0,0,533,536,3,190,95,0,534,536, - 5,184,0,0,535,533,1,0,0,0,535,534,1,0,0,0,536,1257,1,0,0,0,537,538, - 5,47,0,0,538,539,5,191,0,0,539,540,5,300,0,0,540,541,3,282,141,0, - 541,544,5,134,0,0,542,545,3,190,95,0,543,545,5,184,0,0,544,542,1, - 0,0,0,544,543,1,0,0,0,545,1257,1,0,0,0,546,547,5,47,0,0,547,548, - 5,191,0,0,548,549,5,45,0,0,549,550,3,298,149,0,550,553,5,134,0,0, - 551,554,3,190,95,0,552,554,5,184,0,0,553,551,1,0,0,0,553,552,1,0, - 0,0,554,1257,1,0,0,0,555,556,5,23,0,0,556,559,5,261,0,0,557,558, + 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, + 4180,0,287,1,0,0,0,2,292,1,0,0,0,4,294,1,0,0,0,6,298,1,0,0,0,8,302, + 1,0,0,0,10,306,1,0,0,0,12,310,1,0,0,0,14,314,1,0,0,0,16,1228,1,0, + 0,0,18,1231,1,0,0,0,20,1235,1,0,0,0,22,1245,1,0,0,0,24,1249,1,0, + 0,0,26,1263,1,0,0,0,28,1265,1,0,0,0,30,1279,1,0,0,0,32,1285,1,0, + 0,0,34,1289,1,0,0,0,36,1297,1,0,0,0,38,1303,1,0,0,0,40,1338,1,0, + 0,0,42,1374,1,0,0,0,44,1378,1,0,0,0,46,1387,1,0,0,0,48,1425,1,0, + 0,0,50,1428,1,0,0,0,52,1431,1,0,0,0,54,1440,1,0,0,0,56,1450,1,0, + 0,0,58,1498,1,0,0,0,60,1513,1,0,0,0,62,1517,1,0,0,0,64,1519,1,0, + 0,0,66,1526,1,0,0,0,68,1548,1,0,0,0,70,1557,1,0,0,0,72,1575,1,0, + 0,0,74,1577,1,0,0,0,76,1579,1,0,0,0,78,1583,1,0,0,0,80,1585,1,0, + 0,0,82,1587,1,0,0,0,84,1626,1,0,0,0,86,1646,1,0,0,0,88,1648,1,0, + 0,0,90,1658,1,0,0,0,92,1660,1,0,0,0,94,1680,1,0,0,0,96,1682,1,0, + 0,0,98,1760,1,0,0,0,100,1783,1,0,0,0,102,1804,1,0,0,0,104,1806,1, + 0,0,0,106,1819,1,0,0,0,108,1823,1,0,0,0,110,1833,1,0,0,0,112,1844, + 1,0,0,0,114,1855,1,0,0,0,116,1879,1,0,0,0,118,1944,1,0,0,0,120,2023, + 1,0,0,0,122,2050,1,0,0,0,124,2052,1,0,0,0,126,2059,1,0,0,0,128,2071, + 1,0,0,0,130,2073,1,0,0,0,132,2101,1,0,0,0,134,2108,1,0,0,0,136,2173, + 1,0,0,0,138,2193,1,0,0,0,140,2195,1,0,0,0,142,2199,1,0,0,0,144,2212, + 1,0,0,0,146,2221,1,0,0,0,148,2295,1,0,0,0,150,2301,1,0,0,0,152,2794, + 1,0,0,0,154,2809,1,0,0,0,156,2827,1,0,0,0,158,2832,1,0,0,0,160,2837, + 1,0,0,0,162,2845,1,0,0,0,164,2858,1,0,0,0,166,2866,1,0,0,0,168,2879, + 1,0,0,0,170,2881,1,0,0,0,172,2889,1,0,0,0,174,2891,1,0,0,0,176,2893, + 1,0,0,0,178,2895,1,0,0,0,180,2905,1,0,0,0,182,2978,1,0,0,0,184,2996, + 1,0,0,0,186,3000,1,0,0,0,188,3002,1,0,0,0,190,3007,1,0,0,0,192,3076, + 1,0,0,0,194,3078,1,0,0,0,196,3095,1,0,0,0,198,3135,1,0,0,0,200,3153, + 1,0,0,0,202,3155,1,0,0,0,204,3195,1,0,0,0,206,3227,1,0,0,0,208,3229, + 1,0,0,0,210,3237,1,0,0,0,212,3252,1,0,0,0,214,3259,1,0,0,0,216,3266, + 1,0,0,0,218,3268,1,0,0,0,220,3276,1,0,0,0,222,3301,1,0,0,0,224,3324, + 1,0,0,0,226,3442,1,0,0,0,228,3444,1,0,0,0,230,3449,1,0,0,0,232,3455, + 1,0,0,0,234,3465,1,0,0,0,236,3470,1,0,0,0,238,3476,1,0,0,0,240,3489, + 1,0,0,0,242,3502,1,0,0,0,244,3515,1,0,0,0,246,3528,1,0,0,0,248,3535, + 1,0,0,0,250,3542,1,0,0,0,252,3544,1,0,0,0,254,3546,1,0,0,0,256,3548, + 1,0,0,0,258,3550,1,0,0,0,260,3554,1,0,0,0,262,3556,1,0,0,0,264,3558, + 1,0,0,0,266,3560,1,0,0,0,268,3562,1,0,0,0,270,3573,1,0,0,0,272,3580, + 1,0,0,0,274,3582,1,0,0,0,276,3597,1,0,0,0,278,3604,1,0,0,0,280,3618, + 1,0,0,0,282,3620,1,0,0,0,284,286,3,2,1,0,285,284,1,0,0,0,286,289, + 1,0,0,0,287,285,1,0,0,0,287,288,1,0,0,0,288,290,1,0,0,0,289,287, + 1,0,0,0,290,291,5,0,0,1,291,1,1,0,0,0,292,293,3,4,2,0,293,3,1,0, + 0,0,294,296,3,16,8,0,295,297,5,326,0,0,296,295,1,0,0,0,296,297,1, + 0,0,0,297,5,1,0,0,0,298,300,3,144,72,0,299,301,5,326,0,0,300,299, + 1,0,0,0,300,301,1,0,0,0,301,7,1,0,0,0,302,304,3,218,109,0,303,305, + 5,326,0,0,304,303,1,0,0,0,304,305,1,0,0,0,305,9,1,0,0,0,306,308, + 3,182,91,0,307,309,5,326,0,0,308,307,1,0,0,0,308,309,1,0,0,0,309, + 11,1,0,0,0,310,312,3,202,101,0,311,313,5,326,0,0,312,311,1,0,0,0, + 312,313,1,0,0,0,313,13,1,0,0,0,314,315,3,220,110,0,315,316,5,0,0, + 1,316,15,1,0,0,0,317,1229,3,18,9,0,318,319,5,289,0,0,319,1229,3, + 248,124,0,320,321,5,54,0,0,321,325,5,42,0,0,322,323,5,120,0,0,323, + 324,5,183,0,0,324,326,5,95,0,0,325,322,1,0,0,0,325,326,1,0,0,0,326, + 327,1,0,0,0,327,328,3,254,127,0,328,329,5,291,0,0,329,332,3,278, + 139,0,330,331,5,47,0,0,331,333,3,172,86,0,332,330,1,0,0,0,332,333, + 1,0,0,0,333,336,1,0,0,0,334,335,5,31,0,0,335,337,3,272,136,0,336, + 334,1,0,0,0,336,337,1,0,0,0,337,340,1,0,0,0,338,339,5,305,0,0,339, + 341,3,32,16,0,340,338,1,0,0,0,340,341,1,0,0,0,341,1229,1,0,0,0,342, + 343,5,84,0,0,343,346,5,42,0,0,344,345,5,120,0,0,345,347,5,95,0,0, + 346,344,1,0,0,0,346,347,1,0,0,0,347,348,1,0,0,0,348,350,3,252,126, + 0,349,351,7,0,0,0,350,349,1,0,0,0,350,351,1,0,0,0,351,1229,1,0,0, + 0,352,353,5,54,0,0,353,357,5,244,0,0,354,355,5,120,0,0,355,356,5, + 183,0,0,356,358,5,95,0,0,357,354,1,0,0,0,357,358,1,0,0,0,358,359, + 1,0,0,0,359,362,3,250,125,0,360,361,5,31,0,0,361,363,3,272,136,0, + 362,360,1,0,0,0,362,363,1,0,0,0,363,366,1,0,0,0,364,365,5,305,0, + 0,365,367,3,32,16,0,366,364,1,0,0,0,366,367,1,0,0,0,367,1229,1,0, + 0,0,368,369,5,84,0,0,369,372,5,244,0,0,370,371,5,120,0,0,371,373, + 5,95,0,0,372,370,1,0,0,0,372,373,1,0,0,0,373,374,1,0,0,0,374,376, + 3,248,124,0,375,377,7,0,0,0,376,375,1,0,0,0,376,377,1,0,0,0,377, + 1229,1,0,0,0,378,379,5,23,0,0,379,380,5,244,0,0,380,381,3,248,124, + 0,381,382,5,224,0,0,382,383,5,270,0,0,383,384,3,250,125,0,384,1229, + 1,0,0,0,385,386,5,23,0,0,386,387,5,244,0,0,387,388,3,248,124,0,388, + 389,5,252,0,0,389,390,5,31,0,0,390,391,3,272,136,0,391,1229,1,0, + 0,0,392,395,5,54,0,0,393,394,5,195,0,0,394,396,5,227,0,0,395,393, + 1,0,0,0,395,396,1,0,0,0,396,397,1,0,0,0,397,401,5,261,0,0,398,399, + 5,120,0,0,399,400,5,183,0,0,400,402,5,95,0,0,401,398,1,0,0,0,401, + 402,1,0,0,0,402,403,1,0,0,0,403,405,3,242,121,0,404,406,3,110,55, + 0,405,404,1,0,0,0,405,406,1,0,0,0,406,409,1,0,0,0,407,408,5,47,0, + 0,408,410,3,172,86,0,409,407,1,0,0,0,409,410,1,0,0,0,410,413,1,0, + 0,0,411,412,5,305,0,0,412,414,3,32,16,0,413,411,1,0,0,0,413,414, + 1,0,0,0,414,415,1,0,0,0,415,421,5,28,0,0,416,422,3,18,9,0,417,418, + 5,1,0,0,418,419,3,18,9,0,419,420,5,2,0,0,420,422,1,0,0,0,421,416, + 1,0,0,0,421,417,1,0,0,0,422,428,1,0,0,0,423,425,5,305,0,0,424,426, + 5,180,0,0,425,424,1,0,0,0,425,426,1,0,0,0,426,427,1,0,0,0,427,429, + 5,66,0,0,428,423,1,0,0,0,428,429,1,0,0,0,429,1229,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,442,3,242,121,0,442,443,5,1,0,0,443,448,3, + 26,13,0,444,445,5,3,0,0,445,447,3,26,13,0,446,444,1,0,0,0,447,450, + 1,0,0,0,448,446,1,0,0,0,448,449,1,0,0,0,449,451,1,0,0,0,450,448, + 1,0,0,0,451,454,5,2,0,0,452,453,5,47,0,0,453,455,3,172,86,0,454, + 452,1,0,0,0,454,455,1,0,0,0,455,458,1,0,0,0,456,457,5,305,0,0,457, + 459,3,32,16,0,458,456,1,0,0,0,458,459,1,0,0,0,459,1229,1,0,0,0,460, + 461,5,84,0,0,461,464,5,261,0,0,462,463,5,120,0,0,463,465,5,95,0, + 0,464,462,1,0,0,0,464,465,1,0,0,0,465,466,1,0,0,0,466,1229,3,240, + 120,0,467,468,5,128,0,0,468,469,5,131,0,0,469,471,3,240,120,0,470, + 472,3,112,56,0,471,470,1,0,0,0,471,472,1,0,0,0,472,473,1,0,0,0,473, + 474,3,18,9,0,474,1229,1,0,0,0,475,476,5,74,0,0,476,477,5,106,0,0, + 477,479,3,240,120,0,478,480,3,48,24,0,479,478,1,0,0,0,479,480,1, + 0,0,0,480,1229,1,0,0,0,481,482,5,275,0,0,482,483,5,261,0,0,483,1229, + 3,240,120,0,484,485,5,47,0,0,485,486,5,191,0,0,486,487,5,261,0,0, + 487,488,3,240,120,0,488,491,5,134,0,0,489,492,3,172,86,0,490,492, + 5,184,0,0,491,489,1,0,0,0,491,490,1,0,0,0,492,1229,1,0,0,0,493,494, + 5,47,0,0,494,495,5,191,0,0,495,496,5,300,0,0,496,497,3,244,122,0, + 497,500,5,134,0,0,498,501,3,172,86,0,499,501,5,184,0,0,500,498,1, + 0,0,0,500,499,1,0,0,0,501,1229,1,0,0,0,502,503,5,47,0,0,503,504, + 5,191,0,0,504,505,5,45,0,0,505,506,3,260,130,0,506,509,5,134,0,0, + 507,510,3,172,86,0,508,510,5,184,0,0,509,507,1,0,0,0,509,508,1,0, + 0,0,510,1229,1,0,0,0,511,512,5,23,0,0,512,515,5,261,0,0,513,514, + 5,120,0,0,514,516,5,95,0,0,515,513,1,0,0,0,515,516,1,0,0,0,516,517, + 1,0,0,0,517,518,3,240,120,0,518,519,5,224,0,0,519,520,5,270,0,0, + 520,521,3,242,121,0,521,1229,1,0,0,0,522,523,5,23,0,0,523,526,5, + 261,0,0,524,525,5,120,0,0,525,527,5,95,0,0,526,524,1,0,0,0,526,527, + 1,0,0,0,527,528,1,0,0,0,528,529,3,240,120,0,529,530,5,19,0,0,530, + 534,5,45,0,0,531,532,5,120,0,0,532,533,5,183,0,0,533,535,5,95,0, + 0,534,531,1,0,0,0,534,535,1,0,0,0,535,536,1,0,0,0,536,537,3,28,14, + 0,537,1229,1,0,0,0,538,539,5,23,0,0,539,542,5,261,0,0,540,541,5, + 120,0,0,541,543,5,95,0,0,542,540,1,0,0,0,542,543,1,0,0,0,543,544, + 1,0,0,0,544,545,3,240,120,0,545,546,5,224,0,0,546,549,5,45,0,0,547, + 548,5,120,0,0,548,550,5,95,0,0,549,547,1,0,0,0,549,550,1,0,0,0,550, + 551,1,0,0,0,551,552,3,260,130,0,552,553,5,270,0,0,553,554,3,266, + 133,0,554,1229,1,0,0,0,555,556,5,23,0,0,556,559,5,261,0,0,557,558, 5,120,0,0,558,560,5,95,0,0,559,557,1,0,0,0,559,560,1,0,0,0,560,561, - 1,0,0,0,561,562,3,278,139,0,562,563,5,224,0,0,563,564,5,270,0,0, - 564,565,3,280,140,0,565,1257,1,0,0,0,566,567,5,23,0,0,567,570,5, - 261,0,0,568,569,5,120,0,0,569,571,5,95,0,0,570,568,1,0,0,0,570,571, - 1,0,0,0,571,572,1,0,0,0,572,573,3,278,139,0,573,574,5,19,0,0,574, - 578,5,45,0,0,575,576,5,120,0,0,576,577,5,183,0,0,577,579,5,95,0, - 0,578,575,1,0,0,0,578,579,1,0,0,0,579,580,1,0,0,0,580,581,3,28,14, - 0,581,1257,1,0,0,0,582,583,5,23,0,0,583,586,5,261,0,0,584,585,5, - 120,0,0,585,587,5,95,0,0,586,584,1,0,0,0,586,587,1,0,0,0,587,588, - 1,0,0,0,588,589,3,278,139,0,589,590,5,224,0,0,590,593,5,45,0,0,591, - 592,5,120,0,0,592,594,5,95,0,0,593,591,1,0,0,0,593,594,1,0,0,0,594, - 595,1,0,0,0,595,596,3,298,149,0,596,597,5,270,0,0,597,598,3,304, - 152,0,598,1257,1,0,0,0,599,600,5,23,0,0,600,603,5,261,0,0,601,602, - 5,120,0,0,602,604,5,95,0,0,603,601,1,0,0,0,603,604,1,0,0,0,604,605, - 1,0,0,0,605,606,3,278,139,0,606,607,5,84,0,0,607,610,5,45,0,0,608, - 609,5,120,0,0,609,611,5,95,0,0,610,608,1,0,0,0,610,611,1,0,0,0,611, - 612,1,0,0,0,612,613,3,298,149,0,613,1257,1,0,0,0,614,615,5,23,0, - 0,615,618,5,261,0,0,616,617,5,120,0,0,617,619,5,95,0,0,618,616,1, - 0,0,0,618,619,1,0,0,0,619,620,1,0,0,0,620,621,3,278,139,0,621,622, - 5,23,0,0,622,623,5,45,0,0,623,624,3,298,149,0,624,625,5,252,0,0, - 625,626,5,66,0,0,626,627,5,277,0,0,627,628,3,206,103,0,628,1257, - 1,0,0,0,629,630,5,23,0,0,630,633,5,261,0,0,631,632,5,120,0,0,632, - 634,5,95,0,0,633,631,1,0,0,0,633,634,1,0,0,0,634,635,1,0,0,0,635, - 636,3,278,139,0,636,637,5,23,0,0,637,638,5,45,0,0,638,639,3,298, - 149,0,639,640,5,84,0,0,640,641,5,183,0,0,641,642,5,184,0,0,642,1257, - 1,0,0,0,643,644,5,23,0,0,644,645,5,261,0,0,645,646,3,278,139,0,646, - 647,5,252,0,0,647,648,5,31,0,0,648,649,3,314,157,0,649,1257,1,0, - 0,0,650,651,5,23,0,0,651,652,5,261,0,0,652,653,3,278,139,0,653,654, - 5,252,0,0,654,655,5,217,0,0,655,656,3,34,17,0,656,1257,1,0,0,0,657, - 658,5,23,0,0,658,659,5,261,0,0,659,660,3,278,139,0,660,661,5,94, - 0,0,661,674,3,294,147,0,662,671,5,1,0,0,663,668,3,240,120,0,664, - 665,5,3,0,0,665,667,3,240,120,0,666,664,1,0,0,0,667,670,1,0,0,0, - 668,666,1,0,0,0,668,669,1,0,0,0,669,672,1,0,0,0,670,668,1,0,0,0, - 671,663,1,0,0,0,671,672,1,0,0,0,672,673,1,0,0,0,673,675,5,2,0,0, - 674,662,1,0,0,0,674,675,1,0,0,0,675,677,1,0,0,0,676,678,3,54,27, - 0,677,676,1,0,0,0,677,678,1,0,0,0,678,1257,1,0,0,0,679,680,5,24, - 0,0,680,683,3,278,139,0,681,682,5,305,0,0,682,684,3,32,16,0,683, - 681,1,0,0,0,683,684,1,0,0,0,684,1257,1,0,0,0,685,688,5,54,0,0,686, - 687,5,195,0,0,687,689,5,227,0,0,688,686,1,0,0,0,688,689,1,0,0,0, - 689,690,1,0,0,0,690,691,5,168,0,0,691,695,5,300,0,0,692,693,5,120, - 0,0,693,694,5,183,0,0,694,696,5,95,0,0,695,692,1,0,0,0,695,696,1, - 0,0,0,696,697,1,0,0,0,697,701,3,284,142,0,698,699,5,110,0,0,699, - 700,5,209,0,0,700,702,3,200,100,0,701,698,1,0,0,0,701,702,1,0,0, - 0,702,705,1,0,0,0,703,704,5,47,0,0,704,706,3,190,95,0,705,703,1, - 0,0,0,705,706,1,0,0,0,706,709,1,0,0,0,707,708,5,305,0,0,708,710, - 3,32,16,0,709,707,1,0,0,0,709,710,1,0,0,0,710,711,1,0,0,0,711,712, - 5,28,0,0,712,713,3,18,9,0,713,1257,1,0,0,0,714,717,5,54,0,0,715, - 716,5,195,0,0,716,718,5,227,0,0,717,715,1,0,0,0,717,718,1,0,0,0, - 718,719,1,0,0,0,719,720,5,300,0,0,720,723,3,284,142,0,721,722,5, - 47,0,0,722,724,3,190,95,0,723,721,1,0,0,0,723,724,1,0,0,0,724,727, - 1,0,0,0,725,726,5,247,0,0,726,728,7,1,0,0,727,725,1,0,0,0,727,728, - 1,0,0,0,728,731,1,0,0,0,729,730,5,305,0,0,730,732,3,32,16,0,731, - 729,1,0,0,0,731,732,1,0,0,0,732,733,1,0,0,0,733,734,5,28,0,0,734, - 735,3,18,9,0,735,1257,1,0,0,0,736,737,5,223,0,0,737,738,5,168,0, - 0,738,739,5,300,0,0,739,1257,3,282,141,0,740,741,5,84,0,0,741,742, - 5,168,0,0,742,745,5,300,0,0,743,744,5,120,0,0,744,746,5,95,0,0,745, - 743,1,0,0,0,745,746,1,0,0,0,746,747,1,0,0,0,747,1257,3,282,141,0, - 748,749,5,23,0,0,749,750,5,168,0,0,750,753,5,300,0,0,751,752,5,120, - 0,0,752,754,5,95,0,0,753,751,1,0,0,0,753,754,1,0,0,0,754,755,1,0, - 0,0,755,756,3,282,141,0,756,757,5,224,0,0,757,758,5,270,0,0,758, - 759,3,284,142,0,759,1257,1,0,0,0,760,761,5,23,0,0,761,762,5,168, - 0,0,762,763,5,300,0,0,763,764,3,282,141,0,764,765,5,252,0,0,765, - 766,5,217,0,0,766,767,3,34,17,0,767,1257,1,0,0,0,768,769,5,84,0, - 0,769,772,5,300,0,0,770,771,5,120,0,0,771,773,5,95,0,0,772,770,1, - 0,0,0,772,773,1,0,0,0,773,774,1,0,0,0,774,1257,3,282,141,0,775,776, - 5,23,0,0,776,777,5,300,0,0,777,778,3,282,141,0,778,779,5,224,0,0, - 779,780,5,270,0,0,780,781,3,284,142,0,781,1257,1,0,0,0,782,783,5, - 23,0,0,783,784,5,300,0,0,784,785,3,282,141,0,785,786,5,252,0,0,786, - 787,5,31,0,0,787,788,3,314,157,0,788,1257,1,0,0,0,789,790,5,37,0, - 0,790,791,3,294,147,0,791,800,5,1,0,0,792,797,3,240,120,0,793,794, - 5,3,0,0,794,796,3,240,120,0,795,793,1,0,0,0,796,799,1,0,0,0,797, - 795,1,0,0,0,797,798,1,0,0,0,798,801,1,0,0,0,799,797,1,0,0,0,800, - 792,1,0,0,0,800,801,1,0,0,0,801,802,1,0,0,0,802,803,5,2,0,0,803, - 1257,1,0,0,0,804,807,5,54,0,0,805,806,5,195,0,0,806,808,5,227,0, - 0,807,805,1,0,0,0,807,808,1,0,0,0,808,809,1,0,0,0,809,1257,3,246, - 123,0,810,811,5,84,0,0,811,814,5,108,0,0,812,813,5,120,0,0,813,815, - 5,95,0,0,814,812,1,0,0,0,814,815,1,0,0,0,815,816,1,0,0,0,816,1257, - 3,250,125,0,817,818,5,54,0,0,818,819,5,236,0,0,819,823,3,320,160, - 0,820,821,5,305,0,0,821,822,5,20,0,0,822,824,3,312,156,0,823,820, - 1,0,0,0,823,824,1,0,0,0,824,827,1,0,0,0,825,826,5,123,0,0,826,828, - 3,290,145,0,827,825,1,0,0,0,827,828,1,0,0,0,828,1257,1,0,0,0,829, - 830,5,84,0,0,830,831,5,236,0,0,831,834,3,320,160,0,832,833,5,123, - 0,0,833,835,3,290,145,0,834,832,1,0,0,0,834,835,1,0,0,0,835,1257, - 1,0,0,0,836,837,5,111,0,0,837,842,3,318,159,0,838,839,5,3,0,0,839, - 841,3,318,159,0,840,838,1,0,0,0,841,844,1,0,0,0,842,840,1,0,0,0, - 842,843,1,0,0,0,843,845,1,0,0,0,844,842,1,0,0,0,845,846,5,270,0, - 0,846,851,3,314,157,0,847,848,5,3,0,0,848,850,3,314,157,0,849,847, - 1,0,0,0,850,853,1,0,0,0,851,849,1,0,0,0,851,852,1,0,0,0,852,857, - 1,0,0,0,853,851,1,0,0,0,854,855,5,305,0,0,855,856,5,20,0,0,856,858, - 5,194,0,0,857,854,1,0,0,0,857,858,1,0,0,0,858,862,1,0,0,0,859,860, - 5,112,0,0,860,861,5,36,0,0,861,863,3,312,156,0,862,859,1,0,0,0,862, - 863,1,0,0,0,863,866,1,0,0,0,864,865,5,123,0,0,865,867,3,290,145, - 0,866,864,1,0,0,0,866,867,1,0,0,0,867,1257,1,0,0,0,868,879,5,111, - 0,0,869,874,3,318,159,0,870,871,5,3,0,0,871,873,3,318,159,0,872, - 870,1,0,0,0,873,876,1,0,0,0,874,872,1,0,0,0,874,875,1,0,0,0,875, - 880,1,0,0,0,876,874,1,0,0,0,877,878,5,22,0,0,878,880,5,216,0,0,879, - 869,1,0,0,0,879,877,1,0,0,0,880,881,1,0,0,0,881,882,5,191,0,0,882, - 883,3,274,137,0,883,884,5,270,0,0,884,888,3,314,157,0,885,886,5, - 305,0,0,886,887,5,111,0,0,887,889,5,194,0,0,888,885,1,0,0,0,888, - 889,1,0,0,0,889,1257,1,0,0,0,890,894,5,234,0,0,891,892,5,20,0,0, - 892,893,5,194,0,0,893,895,5,104,0,0,894,891,1,0,0,0,894,895,1,0, - 0,0,895,896,1,0,0,0,896,901,3,318,159,0,897,898,5,3,0,0,898,900, - 3,318,159,0,899,897,1,0,0,0,900,903,1,0,0,0,901,899,1,0,0,0,901, - 902,1,0,0,0,902,904,1,0,0,0,903,901,1,0,0,0,904,905,5,106,0,0,905, - 910,3,314,157,0,906,907,5,3,0,0,907,909,3,314,157,0,908,906,1,0, - 0,0,909,912,1,0,0,0,910,908,1,0,0,0,910,911,1,0,0,0,911,916,1,0, - 0,0,912,910,1,0,0,0,913,914,5,112,0,0,914,915,5,36,0,0,915,917,3, - 312,156,0,916,913,1,0,0,0,916,917,1,0,0,0,917,920,1,0,0,0,918,919, - 5,123,0,0,919,921,3,290,145,0,920,918,1,0,0,0,920,921,1,0,0,0,921, - 1257,1,0,0,0,922,926,5,234,0,0,923,924,5,111,0,0,924,925,5,194,0, - 0,925,927,5,104,0,0,926,923,1,0,0,0,926,927,1,0,0,0,927,938,1,0, - 0,0,928,933,3,318,159,0,929,930,5,3,0,0,930,932,3,318,159,0,931, - 929,1,0,0,0,932,935,1,0,0,0,933,931,1,0,0,0,933,934,1,0,0,0,934, - 939,1,0,0,0,935,933,1,0,0,0,936,937,5,22,0,0,937,939,5,216,0,0,938, - 928,1,0,0,0,938,936,1,0,0,0,939,940,1,0,0,0,940,941,5,191,0,0,941, - 942,3,274,137,0,942,943,5,106,0,0,943,944,3,314,157,0,944,1257,1, - 0,0,0,945,956,5,75,0,0,946,951,3,270,135,0,947,948,5,3,0,0,948,950, - 3,270,135,0,949,947,1,0,0,0,950,953,1,0,0,0,951,949,1,0,0,0,951, - 952,1,0,0,0,952,957,1,0,0,0,953,951,1,0,0,0,954,955,5,22,0,0,955, - 957,5,216,0,0,956,946,1,0,0,0,956,954,1,0,0,0,957,958,1,0,0,0,958, - 959,5,191,0,0,959,960,3,274,137,0,960,961,5,270,0,0,961,962,3,314, - 157,0,962,1257,1,0,0,0,963,964,5,252,0,0,964,968,5,236,0,0,965,969, - 5,22,0,0,966,969,5,181,0,0,967,969,3,320,160,0,968,965,1,0,0,0,968, - 966,1,0,0,0,968,967,1,0,0,0,969,972,1,0,0,0,970,971,5,123,0,0,971, - 973,3,290,145,0,972,970,1,0,0,0,972,973,1,0,0,0,973,1257,1,0,0,0, - 974,975,5,254,0,0,975,978,5,113,0,0,976,977,5,191,0,0,977,979,3, - 274,137,0,978,976,1,0,0,0,978,979,1,0,0,0,979,1257,1,0,0,0,980,992, - 5,96,0,0,981,982,5,1,0,0,982,987,3,234,117,0,983,984,5,3,0,0,984, - 986,3,234,117,0,985,983,1,0,0,0,986,989,1,0,0,0,987,985,1,0,0,0, - 987,988,1,0,0,0,988,990,1,0,0,0,989,987,1,0,0,0,990,991,5,2,0,0, - 991,993,1,0,0,0,992,981,1,0,0,0,992,993,1,0,0,0,993,994,1,0,0,0, - 994,1257,3,16,8,0,995,996,5,96,0,0,996,998,5,24,0,0,997,999,5,298, - 0,0,998,997,1,0,0,0,998,999,1,0,0,0,999,1000,1,0,0,0,1000,1257,3, - 16,8,0,1001,1002,5,254,0,0,1002,1003,5,54,0,0,1003,1004,5,261,0, - 0,1004,1257,3,278,139,0,1005,1006,5,254,0,0,1006,1007,5,54,0,0,1007, - 1008,5,244,0,0,1008,1257,3,286,143,0,1009,1010,5,254,0,0,1010,1011, - 5,54,0,0,1011,1012,5,300,0,0,1012,1257,3,282,141,0,1013,1014,5,254, - 0,0,1014,1015,5,54,0,0,1015,1016,5,168,0,0,1016,1017,5,300,0,0,1017, - 1257,3,282,141,0,1018,1019,5,254,0,0,1019,1020,5,54,0,0,1020,1021, - 5,108,0,0,1021,1257,3,294,147,0,1022,1023,5,254,0,0,1023,1026,5, - 262,0,0,1024,1025,7,2,0,0,1025,1027,3,286,143,0,1026,1024,1,0,0, - 0,1026,1027,1,0,0,0,1027,1034,1,0,0,0,1028,1029,5,155,0,0,1029,1032, - 3,190,95,0,1030,1031,5,91,0,0,1031,1033,3,190,95,0,1032,1030,1,0, - 0,0,1032,1033,1,0,0,0,1033,1035,1,0,0,0,1034,1028,1,0,0,0,1034,1035, - 1,0,0,0,1035,1257,1,0,0,0,1036,1037,5,254,0,0,1037,1040,5,245,0, - 0,1038,1039,7,2,0,0,1039,1041,3,290,145,0,1040,1038,1,0,0,0,1040, - 1041,1,0,0,0,1041,1048,1,0,0,0,1042,1043,5,155,0,0,1043,1046,3,190, - 95,0,1044,1045,5,91,0,0,1045,1047,3,190,95,0,1046,1044,1,0,0,0,1046, - 1047,1,0,0,0,1047,1049,1,0,0,0,1048,1042,1,0,0,0,1048,1049,1,0,0, - 0,1049,1257,1,0,0,0,1050,1051,5,254,0,0,1051,1058,5,43,0,0,1052, - 1053,5,155,0,0,1053,1056,3,190,95,0,1054,1055,5,91,0,0,1055,1057, - 3,190,95,0,1056,1054,1,0,0,0,1056,1057,1,0,0,0,1057,1059,1,0,0,0, - 1058,1052,1,0,0,0,1058,1059,1,0,0,0,1059,1257,1,0,0,0,1060,1061, - 5,254,0,0,1061,1062,5,46,0,0,1062,1063,7,2,0,0,1063,1070,3,276,138, - 0,1064,1065,5,155,0,0,1065,1068,3,190,95,0,1066,1067,5,91,0,0,1067, - 1069,3,190,95,0,1068,1066,1,0,0,0,1068,1069,1,0,0,0,1069,1071,1, - 0,0,0,1070,1064,1,0,0,0,1070,1071,1,0,0,0,1071,1257,1,0,0,0,1072, - 1073,5,254,0,0,1073,1074,5,257,0,0,1074,1075,5,104,0,0,1075,1257, - 3,276,138,0,1076,1077,5,254,0,0,1077,1078,5,257,0,0,1078,1079,5, - 104,0,0,1079,1080,5,1,0,0,1080,1081,3,18,9,0,1081,1082,5,2,0,0,1082, - 1257,1,0,0,0,1083,1085,5,254,0,0,1084,1086,5,57,0,0,1085,1084,1, - 0,0,0,1085,1086,1,0,0,0,1086,1087,1,0,0,0,1087,1090,5,237,0,0,1088, - 1089,7,2,0,0,1089,1091,3,290,145,0,1090,1088,1,0,0,0,1090,1091,1, - 0,0,0,1091,1257,1,0,0,0,1092,1093,5,254,0,0,1093,1094,5,236,0,0, - 1094,1097,5,113,0,0,1095,1096,7,2,0,0,1096,1098,3,290,145,0,1097, - 1095,1,0,0,0,1097,1098,1,0,0,0,1098,1257,1,0,0,0,1099,1100,5,77, - 0,0,1100,1257,3,276,138,0,1101,1102,5,76,0,0,1102,1257,3,276,138, - 0,1103,1104,5,254,0,0,1104,1107,5,109,0,0,1105,1106,7,2,0,0,1106, - 1108,3,286,143,0,1107,1105,1,0,0,0,1107,1108,1,0,0,0,1108,1115,1, - 0,0,0,1109,1110,5,155,0,0,1110,1113,3,190,95,0,1111,1112,5,91,0, - 0,1112,1114,3,190,95,0,1113,1111,1,0,0,0,1113,1114,1,0,0,0,1114, - 1116,1,0,0,0,1115,1109,1,0,0,0,1115,1116,1,0,0,0,1116,1257,1,0,0, - 0,1117,1118,5,254,0,0,1118,1125,5,251,0,0,1119,1120,5,155,0,0,1120, - 1123,3,190,95,0,1121,1122,5,91,0,0,1122,1124,3,190,95,0,1123,1121, - 1,0,0,0,1123,1124,1,0,0,0,1124,1126,1,0,0,0,1125,1119,1,0,0,0,1125, - 1126,1,0,0,0,1126,1257,1,0,0,0,1127,1128,5,252,0,0,1128,1129,5,251, - 0,0,1129,1130,5,31,0,0,1130,1257,3,324,162,0,1131,1132,5,228,0,0, - 1132,1133,5,251,0,0,1133,1257,5,31,0,0,1134,1135,5,252,0,0,1135, - 1136,5,251,0,0,1136,1137,3,306,153,0,1137,1138,5,313,0,0,1138,1139, - 3,158,79,0,1139,1257,1,0,0,0,1140,1141,5,228,0,0,1141,1142,5,251, - 0,0,1142,1257,3,306,153,0,1143,1144,5,256,0,0,1144,1153,5,272,0, - 0,1145,1150,3,236,118,0,1146,1147,5,3,0,0,1147,1149,3,236,118,0, - 1148,1146,1,0,0,0,1149,1152,1,0,0,0,1150,1148,1,0,0,0,1150,1151, - 1,0,0,0,1151,1154,1,0,0,0,1152,1150,1,0,0,0,1153,1145,1,0,0,0,1153, - 1154,1,0,0,0,1154,1257,1,0,0,0,1155,1157,5,48,0,0,1156,1158,5,308, - 0,0,1157,1156,1,0,0,0,1157,1158,1,0,0,0,1158,1257,1,0,0,0,1159,1161, - 5,238,0,0,1160,1162,5,308,0,0,1161,1160,1,0,0,0,1161,1162,1,0,0, - 0,1162,1257,1,0,0,0,1163,1164,5,215,0,0,1164,1165,3,320,160,0,1165, - 1166,5,106,0,0,1166,1167,3,16,8,0,1167,1257,1,0,0,0,1168,1169,5, - 69,0,0,1169,1170,5,215,0,0,1170,1257,3,320,160,0,1171,1172,5,94, - 0,0,1172,1182,3,320,160,0,1173,1174,5,291,0,0,1174,1179,3,158,79, - 0,1175,1176,5,3,0,0,1176,1178,3,158,79,0,1177,1175,1,0,0,0,1178, - 1181,1,0,0,0,1179,1177,1,0,0,0,1179,1180,1,0,0,0,1180,1183,1,0,0, - 0,1181,1179,1,0,0,0,1182,1173,1,0,0,0,1182,1183,1,0,0,0,1183,1257, - 1,0,0,0,1184,1185,5,94,0,0,1185,1186,5,122,0,0,1186,1196,3,190,95, - 0,1187,1188,5,291,0,0,1188,1193,3,158,79,0,1189,1190,5,3,0,0,1190, - 1192,3,158,79,0,1191,1189,1,0,0,0,1192,1195,1,0,0,0,1193,1191,1, - 0,0,0,1193,1194,1,0,0,0,1194,1197,1,0,0,0,1195,1193,1,0,0,0,1196, - 1187,1,0,0,0,1196,1197,1,0,0,0,1197,1257,1,0,0,0,1198,1199,5,77, - 0,0,1199,1200,5,127,0,0,1200,1257,3,320,160,0,1201,1202,5,77,0,0, - 1202,1203,5,199,0,0,1203,1257,3,320,160,0,1204,1205,5,252,0,0,1205, - 1206,5,206,0,0,1206,1257,3,244,122,0,1207,1208,5,252,0,0,1208,1209, - 5,268,0,0,1209,1212,5,312,0,0,1210,1213,5,158,0,0,1211,1213,3,158, - 79,0,1212,1210,1,0,0,0,1212,1211,1,0,0,0,1213,1257,1,0,0,0,1214, - 1215,5,288,0,0,1215,1216,3,278,139,0,1216,1217,5,252,0,0,1217,1222, - 3,232,116,0,1218,1219,5,3,0,0,1219,1221,3,232,116,0,1220,1218,1, - 0,0,0,1221,1224,1,0,0,0,1222,1220,1,0,0,0,1222,1223,1,0,0,0,1223, - 1226,1,0,0,0,1224,1222,1,0,0,0,1225,1227,3,54,27,0,1226,1225,1,0, - 0,0,1226,1227,1,0,0,0,1227,1257,1,0,0,0,1228,1229,5,170,0,0,1229, - 1230,5,131,0,0,1230,1235,3,278,139,0,1231,1233,5,28,0,0,1232,1231, - 1,0,0,0,1232,1233,1,0,0,0,1233,1234,1,0,0,0,1234,1236,3,320,160, - 0,1235,1232,1,0,0,0,1235,1236,1,0,0,0,1236,1237,1,0,0,0,1237,1238, - 5,291,0,0,1238,1239,3,88,44,0,1239,1240,5,191,0,0,1240,1242,3,158, - 79,0,1241,1243,3,216,108,0,1242,1241,1,0,0,0,1243,1244,1,0,0,0,1244, - 1242,1,0,0,0,1244,1245,1,0,0,0,1245,1257,1,0,0,0,1246,1247,5,254, - 0,0,1247,1248,5,47,0,0,1248,1249,5,191,0,0,1249,1250,5,261,0,0,1250, - 1257,3,278,139,0,1251,1252,5,254,0,0,1252,1253,5,47,0,0,1253,1254, - 5,191,0,0,1254,1255,5,45,0,0,1255,1257,3,298,149,0,1256,361,1,0, - 0,0,1256,362,1,0,0,0,1256,364,1,0,0,0,1256,386,1,0,0,0,1256,396, - 1,0,0,0,1256,412,1,0,0,0,1256,422,1,0,0,0,1256,429,1,0,0,0,1256, - 436,1,0,0,0,1256,474,1,0,0,0,1256,504,1,0,0,0,1256,511,1,0,0,0,1256, - 519,1,0,0,0,1256,525,1,0,0,0,1256,528,1,0,0,0,1256,537,1,0,0,0,1256, - 546,1,0,0,0,1256,555,1,0,0,0,1256,566,1,0,0,0,1256,582,1,0,0,0,1256, - 599,1,0,0,0,1256,614,1,0,0,0,1256,629,1,0,0,0,1256,643,1,0,0,0,1256, - 650,1,0,0,0,1256,657,1,0,0,0,1256,679,1,0,0,0,1256,685,1,0,0,0,1256, - 714,1,0,0,0,1256,736,1,0,0,0,1256,740,1,0,0,0,1256,748,1,0,0,0,1256, - 760,1,0,0,0,1256,768,1,0,0,0,1256,775,1,0,0,0,1256,782,1,0,0,0,1256, - 789,1,0,0,0,1256,804,1,0,0,0,1256,810,1,0,0,0,1256,817,1,0,0,0,1256, - 829,1,0,0,0,1256,836,1,0,0,0,1256,868,1,0,0,0,1256,890,1,0,0,0,1256, - 922,1,0,0,0,1256,945,1,0,0,0,1256,963,1,0,0,0,1256,974,1,0,0,0,1256, - 980,1,0,0,0,1256,995,1,0,0,0,1256,1001,1,0,0,0,1256,1005,1,0,0,0, - 1256,1009,1,0,0,0,1256,1013,1,0,0,0,1256,1018,1,0,0,0,1256,1022, - 1,0,0,0,1256,1036,1,0,0,0,1256,1050,1,0,0,0,1256,1060,1,0,0,0,1256, - 1072,1,0,0,0,1256,1076,1,0,0,0,1256,1083,1,0,0,0,1256,1092,1,0,0, - 0,1256,1099,1,0,0,0,1256,1101,1,0,0,0,1256,1103,1,0,0,0,1256,1117, - 1,0,0,0,1256,1127,1,0,0,0,1256,1131,1,0,0,0,1256,1134,1,0,0,0,1256, - 1140,1,0,0,0,1256,1143,1,0,0,0,1256,1155,1,0,0,0,1256,1159,1,0,0, - 0,1256,1163,1,0,0,0,1256,1168,1,0,0,0,1256,1171,1,0,0,0,1256,1184, - 1,0,0,0,1256,1198,1,0,0,0,1256,1201,1,0,0,0,1256,1204,1,0,0,0,1256, - 1207,1,0,0,0,1256,1214,1,0,0,0,1256,1228,1,0,0,0,1256,1246,1,0,0, - 0,1256,1251,1,0,0,0,1257,17,1,0,0,0,1258,1260,3,20,10,0,1259,1258, - 1,0,0,0,1259,1260,1,0,0,0,1260,1261,1,0,0,0,1261,1262,3,22,11,0, - 1262,19,1,0,0,0,1263,1264,5,305,0,0,1264,1269,3,246,123,0,1265,1266, - 5,3,0,0,1266,1268,3,246,123,0,1267,1265,1,0,0,0,1268,1271,1,0,0, - 0,1269,1267,1,0,0,0,1269,1270,1,0,0,0,1270,21,1,0,0,0,1271,1269, - 1,0,0,0,1272,1274,3,24,12,0,1273,1272,1,0,0,0,1273,1274,1,0,0,0, - 1274,1275,1,0,0,0,1275,1276,3,40,20,0,1276,23,1,0,0,0,1277,1279, - 5,305,0,0,1278,1280,5,222,0,0,1279,1278,1,0,0,0,1279,1280,1,0,0, - 0,1280,1281,1,0,0,0,1281,1286,3,74,37,0,1282,1283,5,3,0,0,1283,1285, - 3,74,37,0,1284,1282,1,0,0,0,1285,1288,1,0,0,0,1286,1284,1,0,0,0, - 1286,1287,1,0,0,0,1287,25,1,0,0,0,1288,1286,1,0,0,0,1289,1292,3, - 28,14,0,1290,1292,3,30,15,0,1291,1289,1,0,0,0,1291,1290,1,0,0,0, - 1292,27,1,0,0,0,1293,1294,3,304,152,0,1294,1297,3,206,103,0,1295, - 1296,5,183,0,0,1296,1298,5,184,0,0,1297,1295,1,0,0,0,1297,1298,1, - 0,0,0,1298,1301,1,0,0,0,1299,1300,5,47,0,0,1300,1302,3,190,95,0, - 1301,1299,1,0,0,0,1301,1302,1,0,0,0,1302,1305,1,0,0,0,1303,1304, - 5,305,0,0,1304,1306,3,32,16,0,1305,1303,1,0,0,0,1305,1306,1,0,0, - 0,1306,29,1,0,0,0,1307,1308,5,155,0,0,1308,1311,3,278,139,0,1309, - 1310,7,3,0,0,1310,1312,5,217,0,0,1311,1309,1,0,0,0,1311,1312,1,0, - 0,0,1312,31,1,0,0,0,1313,1314,5,1,0,0,1314,1315,3,34,17,0,1315,1316, - 5,2,0,0,1316,33,1,0,0,0,1317,1322,3,36,18,0,1318,1319,5,3,0,0,1319, - 1321,3,36,18,0,1320,1318,1,0,0,0,1321,1324,1,0,0,0,1322,1320,1,0, - 0,0,1322,1323,1,0,0,0,1323,35,1,0,0,0,1324,1322,1,0,0,0,1325,1326, - 3,320,160,0,1326,1327,5,313,0,0,1327,1328,3,38,19,0,1328,37,1,0, - 0,0,1329,1332,5,71,0,0,1330,1332,3,158,79,0,1331,1329,1,0,0,0,1331, - 1330,1,0,0,0,1332,39,1,0,0,0,1333,1344,3,46,23,0,1334,1335,5,196, - 0,0,1335,1336,5,36,0,0,1336,1341,3,50,25,0,1337,1338,5,3,0,0,1338, - 1340,3,50,25,0,1339,1337,1,0,0,0,1340,1343,1,0,0,0,1341,1339,1,0, - 0,0,1341,1342,1,0,0,0,1342,1345,1,0,0,0,1343,1341,1,0,0,0,1344,1334, - 1,0,0,0,1344,1345,1,0,0,0,1345,1351,1,0,0,0,1346,1347,5,189,0,0, - 1347,1349,3,44,22,0,1348,1350,7,4,0,0,1349,1348,1,0,0,0,1349,1350, - 1,0,0,0,1350,1352,1,0,0,0,1351,1346,1,0,0,0,1351,1352,1,0,0,0,1352, - 1366,1,0,0,0,1353,1354,5,156,0,0,1354,1367,3,42,21,0,1355,1356,5, - 99,0,0,1356,1358,7,5,0,0,1357,1359,3,44,22,0,1358,1357,1,0,0,0,1358, - 1359,1,0,0,0,1359,1360,1,0,0,0,1360,1364,7,4,0,0,1361,1365,5,193, - 0,0,1362,1363,5,305,0,0,1363,1365,5,267,0,0,1364,1361,1,0,0,0,1364, - 1362,1,0,0,0,1365,1367,1,0,0,0,1366,1353,1,0,0,0,1366,1355,1,0,0, - 0,1366,1367,1,0,0,0,1367,41,1,0,0,0,1368,1371,5,22,0,0,1369,1371, - 3,44,22,0,1370,1368,1,0,0,0,1370,1369,1,0,0,0,1371,43,1,0,0,0,1372, - 1373,7,6,0,0,1373,45,1,0,0,0,1374,1375,6,23,-1,0,1375,1376,3,48, - 24,0,1376,1391,1,0,0,0,1377,1378,10,2,0,0,1378,1380,5,129,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,1390,3,46,23,3,1383,1384,10,1,0,0,1384,1386,7,7,0,0,1385, - 1387,3,76,38,0,1386,1385,1,0,0,0,1386,1387,1,0,0,0,1387,1388,1,0, - 0,0,1388,1390,3,46,23,2,1389,1377,1,0,0,0,1389,1383,1,0,0,0,1390, - 1393,1,0,0,0,1391,1389,1,0,0,0,1391,1392,1,0,0,0,1392,47,1,0,0,0, - 1393,1391,1,0,0,0,1394,1411,3,52,26,0,1395,1396,5,261,0,0,1396,1411, - 3,278,139,0,1397,1398,5,297,0,0,1398,1403,3,158,79,0,1399,1400,5, - 3,0,0,1400,1402,3,158,79,0,1401,1399,1,0,0,0,1402,1405,1,0,0,0,1403, - 1401,1,0,0,0,1403,1404,1,0,0,0,1404,1411,1,0,0,0,1405,1403,1,0,0, - 0,1406,1407,5,1,0,0,1407,1408,3,40,20,0,1408,1409,5,2,0,0,1409,1411, - 1,0,0,0,1410,1394,1,0,0,0,1410,1395,1,0,0,0,1410,1397,1,0,0,0,1410, - 1406,1,0,0,0,1411,49,1,0,0,0,1412,1415,3,298,149,0,1413,1415,3,158, - 79,0,1414,1412,1,0,0,0,1414,1413,1,0,0,0,1415,1417,1,0,0,0,1416, - 1418,7,8,0,0,1417,1416,1,0,0,0,1417,1418,1,0,0,0,1418,1421,1,0,0, - 0,1419,1420,5,186,0,0,1420,1422,7,9,0,0,1421,1419,1,0,0,0,1421,1422, - 1,0,0,0,1422,51,1,0,0,0,1423,1425,5,249,0,0,1424,1426,3,76,38,0, - 1425,1424,1,0,0,0,1425,1426,1,0,0,0,1426,1427,1,0,0,0,1427,1437, - 3,58,29,0,1428,1429,5,106,0,0,1429,1434,3,88,44,0,1430,1431,5,3, - 0,0,1431,1433,3,88,44,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,1438,1,0,0,0,1436,1434,1,0,0, - 0,1437,1428,1,0,0,0,1437,1438,1,0,0,0,1438,1440,1,0,0,0,1439,1441, - 3,54,27,0,1440,1439,1,0,0,0,1440,1441,1,0,0,0,1441,1445,1,0,0,0, - 1442,1443,5,115,0,0,1443,1444,5,36,0,0,1444,1446,3,60,30,0,1445, - 1442,1,0,0,0,1445,1446,1,0,0,0,1446,1448,1,0,0,0,1447,1449,3,56, - 28,0,1448,1447,1,0,0,0,1448,1449,1,0,0,0,1449,1459,1,0,0,0,1450, - 1451,5,304,0,0,1451,1456,3,70,35,0,1452,1453,5,3,0,0,1453,1455,3, - 70,35,0,1454,1452,1,0,0,0,1455,1458,1,0,0,0,1456,1454,1,0,0,0,1456, - 1457,1,0,0,0,1457,1460,1,0,0,0,1458,1456,1,0,0,0,1459,1450,1,0,0, - 0,1459,1460,1,0,0,0,1460,53,1,0,0,0,1461,1462,5,302,0,0,1462,1463, - 3,160,80,0,1463,55,1,0,0,0,1464,1465,5,118,0,0,1465,1466,3,160,80, - 0,1466,57,1,0,0,0,1467,1472,3,78,39,0,1468,1469,5,3,0,0,1469,1471, - 3,78,39,0,1470,1468,1,0,0,0,1471,1474,1,0,0,0,1472,1470,1,0,0,0, - 1472,1473,1,0,0,0,1473,59,1,0,0,0,1474,1472,1,0,0,0,1475,1477,3, - 76,38,0,1476,1475,1,0,0,0,1476,1477,1,0,0,0,1477,1478,1,0,0,0,1478, - 1483,3,64,32,0,1479,1480,5,3,0,0,1480,1482,3,64,32,0,1481,1479,1, - 0,0,0,1482,1485,1,0,0,0,1483,1481,1,0,0,0,1483,1484,1,0,0,0,1484, - 61,1,0,0,0,1485,1483,1,0,0,0,1486,1491,3,158,79,0,1487,1488,5,3, - 0,0,1488,1490,3,158,79,0,1489,1487,1,0,0,0,1490,1493,1,0,0,0,1491, - 1489,1,0,0,0,1491,1492,1,0,0,0,1492,63,1,0,0,0,1493,1491,1,0,0,0, - 1494,1535,3,66,33,0,1495,1496,5,239,0,0,1496,1505,5,1,0,0,1497,1502, - 3,66,33,0,1498,1499,5,3,0,0,1499,1501,3,66,33,0,1500,1498,1,0,0, - 0,1501,1504,1,0,0,0,1502,1500,1,0,0,0,1502,1503,1,0,0,0,1503,1506, - 1,0,0,0,1504,1502,1,0,0,0,1505,1497,1,0,0,0,1505,1506,1,0,0,0,1506, - 1507,1,0,0,0,1507,1535,5,2,0,0,1508,1509,5,56,0,0,1509,1518,5,1, - 0,0,1510,1515,3,66,33,0,1511,1512,5,3,0,0,1512,1514,3,66,33,0,1513, - 1511,1,0,0,0,1514,1517,1,0,0,0,1515,1513,1,0,0,0,1515,1516,1,0,0, - 0,1516,1519,1,0,0,0,1517,1515,1,0,0,0,1518,1510,1,0,0,0,1518,1519, - 1,0,0,0,1519,1520,1,0,0,0,1520,1535,5,2,0,0,1521,1522,5,116,0,0, - 1522,1523,5,253,0,0,1523,1524,5,1,0,0,1524,1529,3,66,33,0,1525,1526, - 5,3,0,0,1526,1528,3,66,33,0,1527,1525,1,0,0,0,1528,1531,1,0,0,0, - 1529,1527,1,0,0,0,1529,1530,1,0,0,0,1530,1532,1,0,0,0,1531,1529, - 1,0,0,0,1532,1533,5,2,0,0,1533,1535,1,0,0,0,1534,1494,1,0,0,0,1534, - 1495,1,0,0,0,1534,1508,1,0,0,0,1534,1521,1,0,0,0,1535,65,1,0,0,0, - 1536,1545,5,1,0,0,1537,1542,3,68,34,0,1538,1539,5,3,0,0,1539,1541, - 3,68,34,0,1540,1538,1,0,0,0,1541,1544,1,0,0,0,1542,1540,1,0,0,0, - 1542,1543,1,0,0,0,1543,1546,1,0,0,0,1544,1542,1,0,0,0,1545,1537, - 1,0,0,0,1545,1546,1,0,0,0,1546,1547,1,0,0,0,1547,1550,5,2,0,0,1548, - 1550,3,68,34,0,1549,1536,1,0,0,0,1549,1548,1,0,0,0,1550,67,1,0,0, - 0,1551,1554,3,298,149,0,1552,1554,3,158,79,0,1553,1551,1,0,0,0,1553, - 1552,1,0,0,0,1554,69,1,0,0,0,1555,1556,3,320,160,0,1556,1557,5,28, - 0,0,1557,1558,5,1,0,0,1558,1559,3,72,36,0,1559,1560,5,2,0,0,1560, - 71,1,0,0,0,1561,1563,3,320,160,0,1562,1561,1,0,0,0,1562,1563,1,0, - 0,0,1563,1567,1,0,0,0,1564,1565,5,202,0,0,1565,1566,5,36,0,0,1566, - 1568,3,62,31,0,1567,1564,1,0,0,0,1567,1568,1,0,0,0,1568,1579,1,0, - 0,0,1569,1570,5,196,0,0,1570,1571,5,36,0,0,1571,1576,3,50,25,0,1572, - 1573,5,3,0,0,1573,1575,3,50,25,0,1574,1572,1,0,0,0,1575,1578,1,0, - 0,0,1576,1574,1,0,0,0,1576,1577,1,0,0,0,1577,1580,1,0,0,0,1578,1576, - 1,0,0,0,1579,1569,1,0,0,0,1579,1580,1,0,0,0,1580,1582,1,0,0,0,1581, - 1583,3,220,110,0,1582,1581,1,0,0,0,1582,1583,1,0,0,0,1583,73,1,0, - 0,0,1584,1586,3,320,160,0,1585,1587,3,128,64,0,1586,1585,1,0,0,0, - 1586,1587,1,0,0,0,1587,1588,1,0,0,0,1588,1589,5,28,0,0,1589,1590, - 5,1,0,0,1590,1591,3,22,11,0,1591,1592,5,2,0,0,1592,75,1,0,0,0,1593, - 1594,7,10,0,0,1594,77,1,0,0,0,1595,1598,3,84,42,0,1596,1598,3,86, - 43,0,1597,1595,1,0,0,0,1597,1596,1,0,0,0,1598,1603,1,0,0,0,1599, - 1601,5,28,0,0,1600,1599,1,0,0,0,1600,1601,1,0,0,0,1601,1602,1,0, - 0,0,1602,1604,3,320,160,0,1603,1600,1,0,0,0,1603,1604,1,0,0,0,1604, - 1612,1,0,0,0,1605,1608,3,82,41,0,1606,1607,5,28,0,0,1607,1609,3, - 128,64,0,1608,1606,1,0,0,0,1608,1609,1,0,0,0,1609,1612,1,0,0,0,1610, - 1612,3,80,40,0,1611,1597,1,0,0,0,1611,1605,1,0,0,0,1611,1610,1,0, - 0,0,1612,79,1,0,0,0,1613,1614,5,321,0,0,1614,81,1,0,0,0,1615,1616, - 3,166,83,0,1616,1617,5,4,0,0,1617,1618,5,321,0,0,1618,83,1,0,0,0, - 1619,1620,3,298,149,0,1620,85,1,0,0,0,1621,1622,3,158,79,0,1622, - 87,1,0,0,0,1623,1624,6,44,-1,0,1624,1625,3,98,49,0,1625,1644,1,0, - 0,0,1626,1640,10,2,0,0,1627,1628,5,55,0,0,1628,1629,5,137,0,0,1629, - 1641,3,98,49,0,1630,1631,3,90,45,0,1631,1632,5,137,0,0,1632,1633, - 3,88,44,0,1633,1634,3,92,46,0,1634,1641,1,0,0,0,1635,1636,5,173, - 0,0,1636,1637,3,90,45,0,1637,1638,5,137,0,0,1638,1639,3,98,49,0, - 1639,1641,1,0,0,0,1640,1627,1,0,0,0,1640,1630,1,0,0,0,1640,1635, - 1,0,0,0,1641,1643,1,0,0,0,1642,1626,1,0,0,0,1643,1646,1,0,0,0,1644, - 1642,1,0,0,0,1644,1645,1,0,0,0,1645,89,1,0,0,0,1646,1644,1,0,0,0, - 1647,1649,5,126,0,0,1648,1647,1,0,0,0,1648,1649,1,0,0,0,1649,1663, - 1,0,0,0,1650,1652,5,153,0,0,1651,1653,5,198,0,0,1652,1651,1,0,0, - 0,1652,1653,1,0,0,0,1653,1663,1,0,0,0,1654,1656,5,235,0,0,1655,1657, - 5,198,0,0,1656,1655,1,0,0,0,1656,1657,1,0,0,0,1657,1663,1,0,0,0, - 1658,1660,5,107,0,0,1659,1661,5,198,0,0,1660,1659,1,0,0,0,1660,1661, - 1,0,0,0,1661,1663,1,0,0,0,1662,1648,1,0,0,0,1662,1650,1,0,0,0,1662, - 1654,1,0,0,0,1662,1658,1,0,0,0,1663,91,1,0,0,0,1664,1668,5,191,0, - 0,1665,1669,3,94,47,0,1666,1667,4,46,3,0,1667,1669,3,160,80,0,1668, - 1665,1,0,0,0,1668,1666,1,0,0,0,1669,1683,1,0,0,0,1670,1671,5,291, - 0,0,1671,1672,5,1,0,0,1672,1677,3,320,160,0,1673,1674,5,3,0,0,1674, - 1676,3,320,160,0,1675,1673,1,0,0,0,1676,1679,1,0,0,0,1677,1675,1, - 0,0,0,1677,1678,1,0,0,0,1678,1680,1,0,0,0,1679,1677,1,0,0,0,1680, - 1681,5,2,0,0,1681,1683,1,0,0,0,1682,1664,1,0,0,0,1682,1670,1,0,0, - 0,1683,93,1,0,0,0,1684,1685,3,96,48,0,1685,1686,5,313,0,0,1686,1687, - 3,96,48,0,1687,95,1,0,0,0,1688,1689,3,320,160,0,1689,1690,5,342, - 0,0,1690,1691,4,48,4,0,1691,1692,3,300,150,0,1692,1695,1,0,0,0,1693, - 1695,3,302,151,0,1694,1688,1,0,0,0,1694,1693,1,0,0,0,1695,97,1,0, - 0,0,1696,1703,3,108,54,0,1697,1698,5,263,0,0,1698,1699,3,100,50, - 0,1699,1700,5,1,0,0,1700,1701,3,158,79,0,1701,1702,5,2,0,0,1702, - 1704,1,0,0,0,1703,1697,1,0,0,0,1703,1704,1,0,0,0,1704,99,1,0,0,0, - 1705,1706,7,11,0,0,1706,101,1,0,0,0,1707,1708,7,12,0,0,1708,103, - 1,0,0,0,1709,1716,5,90,0,0,1710,1712,5,275,0,0,1711,1713,3,190,95, - 0,1712,1711,1,0,0,0,1712,1713,1,0,0,0,1713,1714,1,0,0,0,1714,1716, - 3,106,53,0,1715,1709,1,0,0,0,1715,1710,1,0,0,0,1716,105,1,0,0,0, - 1717,1718,5,305,0,0,1718,1722,5,52,0,0,1719,1720,5,307,0,0,1720, - 1722,5,52,0,0,1721,1717,1,0,0,0,1721,1719,1,0,0,0,1722,107,1,0,0, - 0,1723,1799,3,122,61,0,1724,1725,5,167,0,0,1725,1729,5,1,0,0,1726, - 1727,5,202,0,0,1727,1728,5,36,0,0,1728,1730,3,62,31,0,1729,1726, - 1,0,0,0,1729,1730,1,0,0,0,1730,1741,1,0,0,0,1731,1732,5,196,0,0, - 1732,1733,5,36,0,0,1733,1738,3,50,25,0,1734,1735,5,3,0,0,1735,1737, - 3,50,25,0,1736,1734,1,0,0,0,1737,1740,1,0,0,0,1738,1736,1,0,0,0, - 1738,1739,1,0,0,0,1739,1742,1,0,0,0,1740,1738,1,0,0,0,1741,1731, - 1,0,0,0,1741,1742,1,0,0,0,1742,1752,1,0,0,0,1743,1744,5,169,0,0, - 1744,1749,3,110,55,0,1745,1746,5,3,0,0,1746,1748,3,110,55,0,1747, - 1745,1,0,0,0,1748,1751,1,0,0,0,1749,1747,1,0,0,0,1749,1750,1,0,0, - 0,1750,1753,1,0,0,0,1751,1749,1,0,0,0,1752,1743,1,0,0,0,1752,1753, - 1,0,0,0,1753,1755,1,0,0,0,1754,1756,3,112,56,0,1755,1754,1,0,0,0, - 1755,1756,1,0,0,0,1756,1760,1,0,0,0,1757,1758,5,21,0,0,1758,1759, - 5,164,0,0,1759,1761,3,116,58,0,1760,1757,1,0,0,0,1760,1761,1,0,0, - 0,1761,1763,1,0,0,0,1762,1764,7,13,0,0,1763,1762,1,0,0,0,1763,1764, - 1,0,0,0,1764,1765,1,0,0,0,1765,1766,5,207,0,0,1766,1767,5,1,0,0, - 1767,1768,3,226,113,0,1768,1778,5,2,0,0,1769,1770,5,258,0,0,1770, - 1775,3,118,59,0,1771,1772,5,3,0,0,1772,1774,3,118,59,0,1773,1771, - 1,0,0,0,1774,1777,1,0,0,0,1775,1773,1,0,0,0,1775,1776,1,0,0,0,1776, - 1779,1,0,0,0,1777,1775,1,0,0,0,1778,1769,1,0,0,0,1778,1779,1,0,0, - 0,1779,1780,1,0,0,0,1780,1781,5,72,0,0,1781,1786,3,120,60,0,1782, - 1783,5,3,0,0,1783,1785,3,120,60,0,1784,1782,1,0,0,0,1785,1788,1, - 0,0,0,1786,1784,1,0,0,0,1786,1787,1,0,0,0,1787,1789,1,0,0,0,1788, - 1786,1,0,0,0,1789,1797,5,2,0,0,1790,1792,5,28,0,0,1791,1790,1,0, - 0,0,1791,1792,1,0,0,0,1792,1793,1,0,0,0,1793,1795,3,320,160,0,1794, - 1796,3,128,64,0,1795,1794,1,0,0,0,1795,1796,1,0,0,0,1796,1798,1, - 0,0,0,1797,1791,1,0,0,0,1797,1798,1,0,0,0,1798,1800,1,0,0,0,1799, - 1724,1,0,0,0,1799,1800,1,0,0,0,1800,109,1,0,0,0,1801,1802,3,158, - 79,0,1802,1803,5,28,0,0,1803,1804,3,320,160,0,1804,111,1,0,0,0,1805, - 1806,5,192,0,0,1806,1807,5,240,0,0,1807,1808,5,208,0,0,1808,1817, - 5,164,0,0,1809,1810,5,22,0,0,1810,1811,5,241,0,0,1811,1812,5,208, - 0,0,1812,1814,5,164,0,0,1813,1815,3,114,57,0,1814,1813,1,0,0,0,1814, - 1815,1,0,0,0,1815,1817,1,0,0,0,1816,1805,1,0,0,0,1816,1809,1,0,0, - 0,1817,113,1,0,0,0,1818,1819,5,254,0,0,1819,1820,5,86,0,0,1820,1828, - 5,166,0,0,1821,1822,5,190,0,0,1822,1823,5,86,0,0,1823,1828,5,166, - 0,0,1824,1825,5,305,0,0,1825,1826,5,285,0,0,1826,1828,5,241,0,0, - 1827,1818,1,0,0,0,1827,1821,1,0,0,0,1827,1824,1,0,0,0,1828,115,1, - 0,0,0,1829,1830,5,5,0,0,1830,1831,5,270,0,0,1831,1832,5,175,0,0, - 1832,1849,5,240,0,0,1833,1834,5,5,0,0,1834,1835,5,205,0,0,1835,1836, - 5,149,0,0,1836,1849,5,240,0,0,1837,1838,5,5,0,0,1838,1839,5,270, - 0,0,1839,1840,5,102,0,0,1840,1849,3,320,160,0,1841,1842,5,5,0,0, - 1842,1843,5,270,0,0,1843,1844,5,149,0,0,1844,1849,3,320,160,0,1845, - 1846,5,5,0,0,1846,1847,5,270,0,0,1847,1849,3,320,160,0,1848,1829, - 1,0,0,0,1848,1833,1,0,0,0,1848,1837,1,0,0,0,1848,1841,1,0,0,0,1848, - 1845,1,0,0,0,1849,117,1,0,0,0,1850,1851,3,320,160,0,1851,1852,5, - 313,0,0,1852,1853,5,1,0,0,1853,1858,3,320,160,0,1854,1855,5,3,0, - 0,1855,1857,3,320,160,0,1856,1854,1,0,0,0,1857,1860,1,0,0,0,1858, - 1856,1,0,0,0,1858,1859,1,0,0,0,1859,1861,1,0,0,0,1860,1858,1,0,0, - 0,1861,1862,5,2,0,0,1862,119,1,0,0,0,1863,1864,3,320,160,0,1864, - 1865,5,28,0,0,1865,1866,3,158,79,0,1866,121,1,0,0,0,1867,1875,3, - 130,65,0,1868,1870,5,28,0,0,1869,1868,1,0,0,0,1869,1870,1,0,0,0, - 1870,1871,1,0,0,0,1871,1873,3,320,160,0,1872,1874,3,128,64,0,1873, - 1872,1,0,0,0,1873,1874,1,0,0,0,1874,1876,1,0,0,0,1875,1869,1,0,0, - 0,1875,1876,1,0,0,0,1876,123,1,0,0,0,1877,1878,5,1,0,0,1878,1883, - 3,304,152,0,1879,1880,5,3,0,0,1880,1882,3,304,152,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,1889,5,1,0,0,1889,1894,3,298,149,0,1890,1891,5,3,0,0,1891, - 1893,3,298,149,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, - 1898,5,2,0,0,1898,127,1,0,0,0,1899,1900,5,1,0,0,1900,1905,3,320, - 160,0,1901,1902,5,3,0,0,1902,1904,3,320,160,0,1903,1901,1,0,0,0, - 1904,1907,1,0,0,0,1905,1903,1,0,0,0,1905,1906,1,0,0,0,1906,1908, - 1,0,0,0,1907,1905,1,0,0,0,1908,1909,5,2,0,0,1909,129,1,0,0,0,1910, - 1912,3,276,138,0,1911,1913,3,308,154,0,1912,1911,1,0,0,0,1912,1913, - 1,0,0,0,1913,1920,1,0,0,0,1914,1920,3,132,66,0,1915,1916,5,1,0,0, - 1916,1917,3,88,44,0,1917,1918,5,2,0,0,1918,1920,1,0,0,0,1919,1910, - 1,0,0,0,1919,1914,1,0,0,0,1919,1915,1,0,0,0,1920,131,1,0,0,0,1921, - 1922,5,1,0,0,1922,1923,3,22,11,0,1923,1924,5,2,0,0,1924,1985,1,0, - 0,0,1925,1926,5,286,0,0,1926,1927,5,1,0,0,1927,1932,3,158,79,0,1928, - 1929,5,3,0,0,1929,1931,3,158,79,0,1930,1928,1,0,0,0,1931,1934,1, - 0,0,0,1932,1930,1,0,0,0,1932,1933,1,0,0,0,1933,1935,1,0,0,0,1934, - 1932,1,0,0,0,1935,1938,5,2,0,0,1936,1937,5,305,0,0,1937,1939,5,197, - 0,0,1938,1936,1,0,0,0,1938,1939,1,0,0,0,1939,1985,1,0,0,0,1940,1941, - 5,150,0,0,1941,1942,5,1,0,0,1942,1943,3,22,11,0,1943,1944,5,2,0, - 0,1944,1985,1,0,0,0,1945,1946,5,261,0,0,1946,1947,5,1,0,0,1947,1948, - 3,144,72,0,1948,1949,5,2,0,0,1949,1985,1,0,0,0,1950,1951,5,143,0, - 0,1951,1952,5,1,0,0,1952,1953,3,168,84,0,1953,1954,5,46,0,0,1954, - 1955,5,1,0,0,1955,1960,3,134,67,0,1956,1957,5,3,0,0,1957,1959,3, - 134,67,0,1958,1956,1,0,0,0,1959,1962,1,0,0,0,1960,1958,1,0,0,0,1960, - 1961,1,0,0,0,1961,1963,1,0,0,0,1962,1960,1,0,0,0,1963,1975,5,2,0, - 0,1964,1965,5,211,0,0,1965,1966,5,1,0,0,1966,1967,3,136,68,0,1967, - 1968,5,2,0,0,1968,1976,1,0,0,0,1969,1970,5,211,0,0,1970,1971,5,71, - 0,0,1971,1972,5,1,0,0,1972,1973,3,142,71,0,1973,1974,5,2,0,0,1974, - 1976,1,0,0,0,1975,1964,1,0,0,0,1975,1969,1,0,0,0,1975,1976,1,0,0, - 0,1976,1980,1,0,0,0,1977,1978,7,14,0,0,1978,1979,5,191,0,0,1979, - 1981,5,90,0,0,1980,1977,1,0,0,0,1980,1981,1,0,0,0,1981,1982,1,0, - 0,0,1982,1983,5,2,0,0,1983,1985,1,0,0,0,1984,1921,1,0,0,0,1984,1925, - 1,0,0,0,1984,1940,1,0,0,0,1984,1945,1,0,0,0,1984,1950,1,0,0,0,1985, - 133,1,0,0,0,1986,1987,3,320,160,0,1987,1988,5,104,0,0,1988,1989, - 5,197,0,0,1989,2064,1,0,0,0,1990,1991,3,320,160,0,1991,1994,3,206, - 103,0,1992,1993,5,206,0,0,1993,1995,3,190,95,0,1994,1992,1,0,0,0, - 1994,1995,1,0,0,0,1995,2000,1,0,0,0,1996,1997,3,178,89,0,1997,1998, - 5,191,0,0,1998,1999,5,86,0,0,1999,2001,1,0,0,0,2000,1996,1,0,0,0, - 2000,2001,1,0,0,0,2001,2006,1,0,0,0,2002,2003,3,178,89,0,2003,2004, - 5,191,0,0,2004,2005,5,90,0,0,2005,2007,1,0,0,0,2006,2002,1,0,0,0, - 2006,2007,1,0,0,0,2007,2064,1,0,0,0,2008,2009,3,320,160,0,2009,2010, - 3,206,103,0,2010,2011,5,105,0,0,2011,2014,3,172,86,0,2012,2013,5, - 206,0,0,2013,2015,3,190,95,0,2014,2012,1,0,0,0,2014,2015,1,0,0,0, - 2015,2019,1,0,0,0,2016,2017,3,180,90,0,2017,2018,5,309,0,0,2018, - 2020,1,0,0,0,2019,2016,1,0,0,0,2019,2020,1,0,0,0,2020,2028,1,0,0, - 0,2021,2022,7,15,0,0,2022,2026,5,219,0,0,2023,2024,5,191,0,0,2024, - 2025,5,243,0,0,2025,2027,5,265,0,0,2026,2023,1,0,0,0,2026,2027,1, - 0,0,0,2027,2029,1,0,0,0,2028,2021,1,0,0,0,2028,2029,1,0,0,0,2029, - 2034,1,0,0,0,2030,2031,3,182,91,0,2031,2032,5,191,0,0,2032,2033, - 5,86,0,0,2033,2035,1,0,0,0,2034,2030,1,0,0,0,2034,2035,1,0,0,0,2035, - 2040,1,0,0,0,2036,2037,3,182,91,0,2037,2038,5,191,0,0,2038,2039, - 5,90,0,0,2039,2041,1,0,0,0,2040,2036,1,0,0,0,2040,2041,1,0,0,0,2041, - 2064,1,0,0,0,2042,2044,5,174,0,0,2043,2045,5,206,0,0,2044,2043,1, - 0,0,0,2044,2045,1,0,0,0,2045,2046,1,0,0,0,2046,2049,3,190,95,0,2047, - 2048,5,28,0,0,2048,2050,3,320,160,0,2049,2047,1,0,0,0,2049,2050, - 1,0,0,0,2050,2051,1,0,0,0,2051,2052,5,46,0,0,2052,2053,5,1,0,0,2053, - 2058,3,134,67,0,2054,2055,5,3,0,0,2055,2057,3,134,67,0,2056,2054, - 1,0,0,0,2057,2060,1,0,0,0,2058,2056,1,0,0,0,2058,2059,1,0,0,0,2059, - 2061,1,0,0,0,2060,2058,1,0,0,0,2061,2062,5,2,0,0,2062,2064,1,0,0, - 0,2063,1986,1,0,0,0,2063,1990,1,0,0,0,2063,2008,1,0,0,0,2063,2042, - 1,0,0,0,2064,135,1,0,0,0,2065,2091,3,138,69,0,2066,2067,3,138,69, - 0,2067,2068,7,16,0,0,2068,2069,3,140,70,0,2069,2091,1,0,0,0,2070, - 2071,3,140,70,0,2071,2072,5,282,0,0,2072,2077,3,140,70,0,2073,2074, - 5,282,0,0,2074,2076,3,140,70,0,2075,2073,1,0,0,0,2076,2079,1,0,0, - 0,2077,2075,1,0,0,0,2077,2078,1,0,0,0,2078,2091,1,0,0,0,2079,2077, - 1,0,0,0,2080,2081,3,140,70,0,2081,2082,5,55,0,0,2082,2087,3,140, - 70,0,2083,2084,5,55,0,0,2084,2086,3,140,70,0,2085,2083,1,0,0,0,2086, - 2089,1,0,0,0,2087,2085,1,0,0,0,2087,2088,1,0,0,0,2088,2091,1,0,0, - 0,2089,2087,1,0,0,0,2090,2065,1,0,0,0,2090,2066,1,0,0,0,2090,2070, - 1,0,0,0,2090,2080,1,0,0,0,2091,137,1,0,0,0,2092,2093,3,320,160,0, - 2093,139,1,0,0,0,2094,2100,3,138,69,0,2095,2096,5,1,0,0,2096,2097, - 3,136,68,0,2097,2098,5,2,0,0,2098,2100,1,0,0,0,2099,2094,1,0,0,0, - 2099,2095,1,0,0,0,2100,141,1,0,0,0,2101,2104,7,16,0,0,2102,2103, - 5,3,0,0,2103,2105,7,17,0,0,2104,2102,1,0,0,0,2104,2105,1,0,0,0,2105, - 2112,1,0,0,0,2106,2109,7,17,0,0,2107,2108,5,3,0,0,2108,2110,7,16, - 0,0,2109,2107,1,0,0,0,2109,2110,1,0,0,0,2110,2112,1,0,0,0,2111,2101, - 1,0,0,0,2111,2106,1,0,0,0,2112,143,1,0,0,0,2113,2114,3,294,147,0, - 2114,2123,5,1,0,0,2115,2120,3,146,73,0,2116,2117,5,3,0,0,2117,2119, - 3,146,73,0,2118,2116,1,0,0,0,2119,2122,1,0,0,0,2120,2118,1,0,0,0, - 2120,2121,1,0,0,0,2121,2124,1,0,0,0,2122,2120,1,0,0,0,2123,2115, - 1,0,0,0,2123,2124,1,0,0,0,2124,2134,1,0,0,0,2125,2126,5,53,0,0,2126, - 2131,3,156,78,0,2127,2128,5,3,0,0,2128,2130,3,156,78,0,2129,2127, - 1,0,0,0,2130,2133,1,0,0,0,2131,2129,1,0,0,0,2131,2132,1,0,0,0,2132, - 2135,1,0,0,0,2133,2131,1,0,0,0,2134,2125,1,0,0,0,2134,2135,1,0,0, - 0,2135,2136,1,0,0,0,2136,2137,5,2,0,0,2137,145,1,0,0,0,2138,2139, - 3,320,160,0,2139,2140,5,6,0,0,2140,2142,1,0,0,0,2141,2138,1,0,0, - 0,2141,2142,1,0,0,0,2142,2146,1,0,0,0,2143,2147,3,148,74,0,2144, - 2147,3,152,76,0,2145,2147,3,158,79,0,2146,2143,1,0,0,0,2146,2144, - 1,0,0,0,2146,2145,1,0,0,0,2147,147,1,0,0,0,2148,2159,3,150,75,0, - 2149,2150,5,202,0,0,2150,2157,5,36,0,0,2151,2153,5,1,0,0,2152,2154, - 3,62,31,0,2153,2152,1,0,0,0,2153,2154,1,0,0,0,2154,2155,1,0,0,0, - 2155,2158,5,2,0,0,2156,2158,3,158,79,0,2157,2151,1,0,0,0,2157,2156, - 1,0,0,0,2158,2160,1,0,0,0,2159,2149,1,0,0,0,2159,2160,1,0,0,0,2160, - 2167,1,0,0,0,2161,2162,5,218,0,0,2162,2163,5,301,0,0,2163,2168,5, - 86,0,0,2164,2165,5,145,0,0,2165,2166,5,301,0,0,2166,2168,5,86,0, - 0,2167,2161,1,0,0,0,2167,2164,1,0,0,0,2167,2168,1,0,0,0,2168,2185, - 1,0,0,0,2169,2170,5,196,0,0,2170,2183,5,36,0,0,2171,2172,5,1,0,0, - 2172,2177,3,50,25,0,2173,2174,5,3,0,0,2174,2176,3,50,25,0,2175,2173, - 1,0,0,0,2176,2179,1,0,0,0,2177,2175,1,0,0,0,2177,2178,1,0,0,0,2178, - 2180,1,0,0,0,2179,2177,1,0,0,0,2180,2181,5,2,0,0,2181,2184,1,0,0, - 0,2182,2184,3,50,25,0,2183,2171,1,0,0,0,2183,2182,1,0,0,0,2184,2186, - 1,0,0,0,2185,2169,1,0,0,0,2185,2186,1,0,0,0,2186,149,1,0,0,0,2187, - 2188,5,261,0,0,2188,2189,5,1,0,0,2189,2190,3,278,139,0,2190,2198, - 5,2,0,0,2191,2193,5,28,0,0,2192,2191,1,0,0,0,2192,2193,1,0,0,0,2193, - 2194,1,0,0,0,2194,2196,3,320,160,0,2195,2197,3,128,64,0,2196,2195, - 1,0,0,0,2196,2197,1,0,0,0,2197,2199,1,0,0,0,2198,2192,1,0,0,0,2198, - 2199,1,0,0,0,2199,2214,1,0,0,0,2200,2201,5,261,0,0,2201,2202,5,1, - 0,0,2202,2203,3,22,11,0,2203,2211,5,2,0,0,2204,2206,5,28,0,0,2205, - 2204,1,0,0,0,2205,2206,1,0,0,0,2206,2207,1,0,0,0,2207,2209,3,320, - 160,0,2208,2210,3,128,64,0,2209,2208,1,0,0,0,2209,2210,1,0,0,0,2210, - 2212,1,0,0,0,2211,2205,1,0,0,0,2211,2212,1,0,0,0,2212,2214,1,0,0, - 0,2213,2187,1,0,0,0,2213,2200,1,0,0,0,2214,151,1,0,0,0,2215,2216, - 5,78,0,0,2216,2217,5,1,0,0,2217,2222,3,154,77,0,2218,2219,5,3,0, - 0,2219,2221,3,154,77,0,2220,2218,1,0,0,0,2221,2224,1,0,0,0,2222, - 2220,1,0,0,0,2222,2223,1,0,0,0,2223,2225,1,0,0,0,2224,2222,1,0,0, - 0,2225,2226,5,2,0,0,2226,2234,1,0,0,0,2227,2228,5,41,0,0,2228,2229, - 5,1,0,0,2229,2230,5,184,0,0,2230,2231,5,28,0,0,2231,2232,5,78,0, - 0,2232,2234,5,2,0,0,2233,2215,1,0,0,0,2233,2227,1,0,0,0,2234,153, - 1,0,0,0,2235,2237,3,320,160,0,2236,2238,3,206,103,0,2237,2236,1, - 0,0,0,2237,2238,1,0,0,0,2238,155,1,0,0,0,2239,2240,5,1,0,0,2240, - 2241,3,306,153,0,2241,2242,5,3,0,0,2242,2247,3,306,153,0,2243,2244, - 5,3,0,0,2244,2246,3,306,153,0,2245,2243,1,0,0,0,2246,2249,1,0,0, - 0,2247,2245,1,0,0,0,2247,2248,1,0,0,0,2248,2250,1,0,0,0,2249,2247, - 1,0,0,0,2250,2251,5,2,0,0,2251,157,1,0,0,0,2252,2253,3,160,80,0, - 2253,159,1,0,0,0,2254,2255,6,80,-1,0,2255,2257,3,164,82,0,2256,2258, - 3,162,81,0,2257,2256,1,0,0,0,2257,2258,1,0,0,0,2258,2262,1,0,0,0, - 2259,2260,5,183,0,0,2260,2262,3,160,80,3,2261,2254,1,0,0,0,2261, - 2259,1,0,0,0,2262,2271,1,0,0,0,2263,2264,10,2,0,0,2264,2265,5,25, - 0,0,2265,2270,3,160,80,3,2266,2267,10,1,0,0,2267,2268,5,195,0,0, - 2268,2270,3,160,80,2,2269,2263,1,0,0,0,2269,2266,1,0,0,0,2270,2273, - 1,0,0,0,2271,2269,1,0,0,0,2271,2272,1,0,0,0,2272,161,1,0,0,0,2273, - 2271,1,0,0,0,2274,2275,3,194,97,0,2275,2276,3,164,82,0,2276,2336, - 1,0,0,0,2277,2278,3,194,97,0,2278,2279,3,196,98,0,2279,2280,5,1, - 0,0,2280,2281,3,22,11,0,2281,2282,5,2,0,0,2282,2336,1,0,0,0,2283, - 2285,5,183,0,0,2284,2283,1,0,0,0,2284,2285,1,0,0,0,2285,2286,1,0, - 0,0,2286,2287,5,34,0,0,2287,2288,3,164,82,0,2288,2289,5,25,0,0,2289, - 2290,3,164,82,0,2290,2336,1,0,0,0,2291,2293,5,183,0,0,2292,2291, - 1,0,0,0,2292,2293,1,0,0,0,2293,2294,1,0,0,0,2294,2295,5,123,0,0, - 2295,2296,5,1,0,0,2296,2301,3,158,79,0,2297,2298,5,3,0,0,2298,2300, - 3,158,79,0,2299,2297,1,0,0,0,2300,2303,1,0,0,0,2301,2299,1,0,0,0, - 2301,2302,1,0,0,0,2302,2304,1,0,0,0,2303,2301,1,0,0,0,2304,2305, - 5,2,0,0,2305,2336,1,0,0,0,2306,2308,5,183,0,0,2307,2306,1,0,0,0, - 2307,2308,1,0,0,0,2308,2309,1,0,0,0,2309,2310,5,123,0,0,2310,2311, - 5,1,0,0,2311,2312,3,22,11,0,2312,2313,5,2,0,0,2313,2336,1,0,0,0, - 2314,2316,5,183,0,0,2315,2314,1,0,0,0,2315,2316,1,0,0,0,2316,2317, - 1,0,0,0,2317,2318,5,155,0,0,2318,2321,3,164,82,0,2319,2320,5,91, - 0,0,2320,2322,3,164,82,0,2321,2319,1,0,0,0,2321,2322,1,0,0,0,2322, - 2336,1,0,0,0,2323,2325,5,134,0,0,2324,2326,5,183,0,0,2325,2324,1, - 0,0,0,2325,2326,1,0,0,0,2326,2327,1,0,0,0,2327,2336,5,184,0,0,2328, - 2330,5,134,0,0,2329,2331,5,183,0,0,2330,2329,1,0,0,0,2330,2331,1, - 0,0,0,2331,2332,1,0,0,0,2332,2333,5,80,0,0,2333,2334,5,106,0,0,2334, - 2336,3,164,82,0,2335,2274,1,0,0,0,2335,2277,1,0,0,0,2335,2284,1, - 0,0,0,2335,2292,1,0,0,0,2335,2307,1,0,0,0,2335,2315,1,0,0,0,2335, - 2323,1,0,0,0,2335,2328,1,0,0,0,2336,163,1,0,0,0,2337,2338,6,82,-1, - 0,2338,2342,3,166,83,0,2339,2340,7,18,0,0,2340,2342,3,164,82,4,2341, - 2337,1,0,0,0,2341,2339,1,0,0,0,2342,2357,1,0,0,0,2343,2344,10,3, - 0,0,2344,2345,7,19,0,0,2345,2356,3,164,82,4,2346,2347,10,2,0,0,2347, - 2348,7,18,0,0,2348,2356,3,164,82,3,2349,2350,10,1,0,0,2350,2351, - 5,324,0,0,2351,2356,3,164,82,2,2352,2353,10,5,0,0,2353,2354,5,30, - 0,0,2354,2356,3,192,96,0,2355,2343,1,0,0,0,2355,2346,1,0,0,0,2355, - 2349,1,0,0,0,2355,2352,1,0,0,0,2356,2359,1,0,0,0,2357,2355,1,0,0, - 0,2357,2358,1,0,0,0,2358,165,1,0,0,0,2359,2357,1,0,0,0,2360,2361, - 6,83,-1,0,2361,2826,5,184,0,0,2362,2826,3,200,100,0,2363,2364,3, - 320,160,0,2364,2365,3,190,95,0,2365,2826,1,0,0,0,2366,2367,5,83, - 0,0,2367,2368,5,214,0,0,2368,2826,3,190,95,0,2369,2826,3,322,161, - 0,2370,2826,3,198,99,0,2371,2826,3,190,95,0,2372,2826,5,329,0,0, - 2373,2826,5,325,0,0,2374,2375,5,212,0,0,2375,2376,5,1,0,0,2376,2377, - 3,164,82,0,2377,2378,5,123,0,0,2378,2379,3,164,82,0,2379,2380,5, - 2,0,0,2380,2826,1,0,0,0,2381,2382,5,1,0,0,2382,2385,3,158,79,0,2383, - 2384,5,3,0,0,2384,2386,3,158,79,0,2385,2383,1,0,0,0,2386,2387,1, - 0,0,0,2387,2385,1,0,0,0,2387,2388,1,0,0,0,2388,2389,1,0,0,0,2389, - 2390,5,2,0,0,2390,2826,1,0,0,0,2391,2392,5,240,0,0,2392,2393,5,1, - 0,0,2393,2398,3,158,79,0,2394,2395,5,3,0,0,2395,2397,3,158,79,0, - 2396,2394,1,0,0,0,2397,2400,1,0,0,0,2398,2396,1,0,0,0,2398,2399, - 1,0,0,0,2399,2401,1,0,0,0,2400,2398,1,0,0,0,2401,2402,5,2,0,0,2402, - 2826,1,0,0,0,2403,2404,5,157,0,0,2404,2406,5,1,0,0,2405,2407,3,76, - 38,0,2406,2405,1,0,0,0,2406,2407,1,0,0,0,2407,2408,1,0,0,0,2408, - 2411,3,158,79,0,2409,2410,5,3,0,0,2410,2412,3,190,95,0,2411,2409, - 1,0,0,0,2411,2412,1,0,0,0,2412,2416,1,0,0,0,2413,2414,5,191,0,0, - 2414,2415,5,201,0,0,2415,2417,3,104,52,0,2416,2413,1,0,0,0,2416, - 2417,1,0,0,0,2417,2418,1,0,0,0,2418,2419,5,2,0,0,2419,2420,5,306, - 0,0,2420,2421,5,115,0,0,2421,2422,5,1,0,0,2422,2423,5,196,0,0,2423, - 2424,5,36,0,0,2424,2429,3,50,25,0,2425,2426,5,3,0,0,2426,2428,3, - 50,25,0,2427,2425,1,0,0,0,2428,2431,1,0,0,0,2429,2427,1,0,0,0,2429, - 2430,1,0,0,0,2430,2432,1,0,0,0,2431,2429,1,0,0,0,2432,2433,5,2,0, - 0,2433,2435,1,0,0,0,2434,2436,3,214,107,0,2435,2434,1,0,0,0,2435, - 2436,1,0,0,0,2436,2826,1,0,0,0,2437,2439,3,186,93,0,2438,2437,1, - 0,0,0,2438,2439,1,0,0,0,2439,2440,1,0,0,0,2440,2441,3,294,147,0, - 2441,2445,5,1,0,0,2442,2443,3,320,160,0,2443,2444,5,4,0,0,2444,2446, - 1,0,0,0,2445,2442,1,0,0,0,2445,2446,1,0,0,0,2446,2447,1,0,0,0,2447, - 2448,5,321,0,0,2448,2450,5,2,0,0,2449,2451,3,214,107,0,2450,2449, - 1,0,0,0,2450,2451,1,0,0,0,2451,2453,1,0,0,0,2452,2454,3,218,109, - 0,2453,2452,1,0,0,0,2453,2454,1,0,0,0,2454,2826,1,0,0,0,2455,2457, - 3,186,93,0,2456,2455,1,0,0,0,2456,2457,1,0,0,0,2457,2458,1,0,0,0, - 2458,2459,3,294,147,0,2459,2471,5,1,0,0,2460,2462,3,76,38,0,2461, - 2460,1,0,0,0,2461,2462,1,0,0,0,2462,2463,1,0,0,0,2463,2468,3,158, - 79,0,2464,2465,5,3,0,0,2465,2467,3,158,79,0,2466,2464,1,0,0,0,2467, - 2470,1,0,0,0,2468,2466,1,0,0,0,2468,2469,1,0,0,0,2469,2472,1,0,0, - 0,2470,2468,1,0,0,0,2471,2461,1,0,0,0,2471,2472,1,0,0,0,2472,2483, - 1,0,0,0,2473,2474,5,196,0,0,2474,2475,5,36,0,0,2475,2480,3,50,25, - 0,2476,2477,5,3,0,0,2477,2479,3,50,25,0,2478,2476,1,0,0,0,2479,2482, - 1,0,0,0,2480,2478,1,0,0,0,2480,2481,1,0,0,0,2481,2484,1,0,0,0,2482, - 2480,1,0,0,0,2483,2473,1,0,0,0,2483,2484,1,0,0,0,2484,2485,1,0,0, - 0,2485,2487,5,2,0,0,2486,2488,3,214,107,0,2487,2486,1,0,0,0,2487, - 2488,1,0,0,0,2488,2493,1,0,0,0,2489,2491,3,188,94,0,2490,2489,1, - 0,0,0,2490,2491,1,0,0,0,2491,2492,1,0,0,0,2492,2494,3,218,109,0, - 2493,2490,1,0,0,0,2493,2494,1,0,0,0,2494,2826,1,0,0,0,2495,2496, - 3,320,160,0,2496,2497,3,218,109,0,2497,2826,1,0,0,0,2498,2499,3, - 320,160,0,2499,2500,5,7,0,0,2500,2501,3,158,79,0,2501,2826,1,0,0, - 0,2502,2511,5,1,0,0,2503,2508,3,320,160,0,2504,2505,5,3,0,0,2505, - 2507,3,320,160,0,2506,2504,1,0,0,0,2507,2510,1,0,0,0,2508,2506,1, - 0,0,0,2508,2509,1,0,0,0,2509,2512,1,0,0,0,2510,2508,1,0,0,0,2511, - 2503,1,0,0,0,2511,2512,1,0,0,0,2512,2513,1,0,0,0,2513,2514,5,2,0, - 0,2514,2515,5,7,0,0,2515,2826,3,158,79,0,2516,2517,5,1,0,0,2517, - 2518,3,22,11,0,2518,2519,5,2,0,0,2519,2826,1,0,0,0,2520,2521,5,95, - 0,0,2521,2522,5,1,0,0,2522,2523,3,22,11,0,2523,2524,5,2,0,0,2524, - 2826,1,0,0,0,2525,2526,5,40,0,0,2526,2528,3,158,79,0,2527,2529,3, - 212,106,0,2528,2527,1,0,0,0,2529,2530,1,0,0,0,2530,2528,1,0,0,0, - 2530,2531,1,0,0,0,2531,2534,1,0,0,0,2532,2533,5,85,0,0,2533,2535, - 3,158,79,0,2534,2532,1,0,0,0,2534,2535,1,0,0,0,2535,2536,1,0,0,0, - 2536,2537,5,89,0,0,2537,2826,1,0,0,0,2538,2540,5,40,0,0,2539,2541, - 3,212,106,0,2540,2539,1,0,0,0,2541,2542,1,0,0,0,2542,2540,1,0,0, - 0,2542,2543,1,0,0,0,2543,2546,1,0,0,0,2544,2545,5,85,0,0,2545,2547, - 3,158,79,0,2546,2544,1,0,0,0,2546,2547,1,0,0,0,2547,2548,1,0,0,0, - 2548,2549,5,89,0,0,2549,2826,1,0,0,0,2550,2551,5,41,0,0,2551,2552, - 5,1,0,0,2552,2553,3,158,79,0,2553,2554,5,28,0,0,2554,2555,3,206, - 103,0,2555,2556,5,2,0,0,2556,2826,1,0,0,0,2557,2558,5,276,0,0,2558, - 2559,5,1,0,0,2559,2560,3,158,79,0,2560,2561,5,28,0,0,2561,2562,3, - 206,103,0,2562,2563,5,2,0,0,2563,2826,1,0,0,0,2564,2565,5,27,0,0, - 2565,2574,5,8,0,0,2566,2571,3,158,79,0,2567,2568,5,3,0,0,2568,2570, - 3,158,79,0,2569,2567,1,0,0,0,2570,2573,1,0,0,0,2571,2569,1,0,0,0, - 2571,2572,1,0,0,0,2572,2575,1,0,0,0,2573,2571,1,0,0,0,2574,2566, - 1,0,0,0,2574,2575,1,0,0,0,2575,2576,1,0,0,0,2576,2826,5,9,0,0,2577, - 2826,3,302,151,0,2578,2826,5,59,0,0,2579,2583,5,63,0,0,2580,2581, - 5,1,0,0,2581,2582,5,330,0,0,2582,2584,5,2,0,0,2583,2580,1,0,0,0, - 2583,2584,1,0,0,0,2584,2826,1,0,0,0,2585,2589,5,64,0,0,2586,2587, - 5,1,0,0,2587,2588,5,330,0,0,2588,2590,5,2,0,0,2589,2586,1,0,0,0, - 2589,2590,1,0,0,0,2590,2826,1,0,0,0,2591,2595,5,159,0,0,2592,2593, - 5,1,0,0,2593,2594,5,330,0,0,2594,2596,5,2,0,0,2595,2592,1,0,0,0, - 2595,2596,1,0,0,0,2596,2826,1,0,0,0,2597,2601,5,160,0,0,2598,2599, - 5,1,0,0,2599,2600,5,330,0,0,2600,2602,5,2,0,0,2601,2598,1,0,0,0, - 2601,2602,1,0,0,0,2602,2826,1,0,0,0,2603,2826,5,65,0,0,2604,2826, - 5,58,0,0,2605,2826,5,62,0,0,2606,2826,5,60,0,0,2607,2608,5,273,0, - 0,2608,2616,5,1,0,0,2609,2611,3,102,51,0,2610,2609,1,0,0,0,2610, - 2611,1,0,0,0,2611,2613,1,0,0,0,2612,2614,3,164,82,0,2613,2612,1, - 0,0,0,2613,2614,1,0,0,0,2614,2615,1,0,0,0,2615,2617,5,106,0,0,2616, - 2610,1,0,0,0,2616,2617,1,0,0,0,2617,2618,1,0,0,0,2618,2619,3,164, - 82,0,2619,2620,5,2,0,0,2620,2826,1,0,0,0,2621,2622,5,273,0,0,2622, - 2623,5,1,0,0,2623,2624,3,164,82,0,2624,2625,5,3,0,0,2625,2626,3, - 164,82,0,2626,2627,5,2,0,0,2627,2826,1,0,0,0,2628,2629,5,259,0,0, - 2629,2630,5,1,0,0,2630,2631,3,164,82,0,2631,2632,5,106,0,0,2632, - 2635,3,164,82,0,2633,2634,5,104,0,0,2634,2636,3,164,82,0,2635,2633, - 1,0,0,0,2635,2636,1,0,0,0,2636,2637,1,0,0,0,2637,2638,5,2,0,0,2638, - 2826,1,0,0,0,2639,2640,5,182,0,0,2640,2641,5,1,0,0,2641,2644,3,164, - 82,0,2642,2643,5,3,0,0,2643,2645,3,204,102,0,2644,2642,1,0,0,0,2644, - 2645,1,0,0,0,2645,2646,1,0,0,0,2646,2647,5,2,0,0,2647,2826,1,0,0, - 0,2648,2649,5,97,0,0,2649,2650,5,1,0,0,2650,2651,3,320,160,0,2651, - 2652,5,106,0,0,2652,2653,3,164,82,0,2653,2654,5,2,0,0,2654,2826, - 1,0,0,0,2655,2656,5,44,0,0,2656,2657,5,1,0,0,2657,2662,3,158,79, - 0,2658,2659,5,3,0,0,2659,2661,3,158,79,0,2660,2658,1,0,0,0,2661, - 2664,1,0,0,0,2662,2660,1,0,0,0,2662,2663,1,0,0,0,2663,2665,1,0,0, - 0,2664,2662,1,0,0,0,2665,2666,5,2,0,0,2666,2826,1,0,0,0,2667,2668, - 5,1,0,0,2668,2669,3,158,79,0,2669,2670,5,2,0,0,2670,2826,1,0,0,0, - 2671,2672,5,116,0,0,2672,2681,5,1,0,0,2673,2678,3,306,153,0,2674, - 2675,5,3,0,0,2675,2677,3,306,153,0,2676,2674,1,0,0,0,2677,2680,1, - 0,0,0,2678,2676,1,0,0,0,2678,2679,1,0,0,0,2679,2682,1,0,0,0,2680, - 2678,1,0,0,0,2681,2673,1,0,0,0,2681,2682,1,0,0,0,2682,2683,1,0,0, - 0,2683,2826,5,2,0,0,2684,2685,5,140,0,0,2685,2686,5,1,0,0,2686,2691, - 3,168,84,0,2687,2688,3,176,88,0,2688,2689,5,191,0,0,2689,2690,5, - 90,0,0,2690,2692,1,0,0,0,2691,2687,1,0,0,0,2691,2692,1,0,0,0,2692, - 2693,1,0,0,0,2693,2694,5,2,0,0,2694,2826,1,0,0,0,2695,2696,5,144, - 0,0,2696,2697,5,1,0,0,2697,2700,3,168,84,0,2698,2699,5,232,0,0,2699, - 2701,3,206,103,0,2700,2698,1,0,0,0,2700,2701,1,0,0,0,2701,2706,1, - 0,0,0,2702,2703,3,178,89,0,2703,2704,5,191,0,0,2704,2705,5,86,0, - 0,2705,2707,1,0,0,0,2706,2702,1,0,0,0,2706,2707,1,0,0,0,2707,2712, - 1,0,0,0,2708,2709,3,178,89,0,2709,2710,5,191,0,0,2710,2711,5,90, - 0,0,2711,2713,1,0,0,0,2712,2708,1,0,0,0,2712,2713,1,0,0,0,2713,2714, - 1,0,0,0,2714,2715,5,2,0,0,2715,2826,1,0,0,0,2716,2717,5,142,0,0, - 2717,2718,5,1,0,0,2718,2725,3,168,84,0,2719,2720,5,232,0,0,2720, - 2723,3,206,103,0,2721,2722,5,105,0,0,2722,2724,3,172,86,0,2723,2721, - 1,0,0,0,2723,2724,1,0,0,0,2724,2726,1,0,0,0,2725,2719,1,0,0,0,2725, - 2726,1,0,0,0,2726,2730,1,0,0,0,2727,2728,3,180,90,0,2728,2729,5, - 309,0,0,2729,2731,1,0,0,0,2730,2727,1,0,0,0,2730,2731,1,0,0,0,2731, - 2739,1,0,0,0,2732,2733,7,15,0,0,2733,2737,5,219,0,0,2734,2735,5, - 191,0,0,2735,2736,5,243,0,0,2736,2738,5,265,0,0,2737,2734,1,0,0, - 0,2737,2738,1,0,0,0,2738,2740,1,0,0,0,2739,2732,1,0,0,0,2739,2740, - 1,0,0,0,2740,2745,1,0,0,0,2741,2742,3,182,91,0,2742,2743,5,191,0, - 0,2743,2744,5,86,0,0,2744,2746,1,0,0,0,2745,2741,1,0,0,0,2745,2746, - 1,0,0,0,2746,2751,1,0,0,0,2747,2748,3,182,91,0,2748,2749,5,191,0, - 0,2749,2750,5,90,0,0,2750,2752,1,0,0,0,2751,2747,1,0,0,0,2751,2752, - 1,0,0,0,2752,2753,1,0,0,0,2753,2754,5,2,0,0,2754,2826,1,0,0,0,2755, - 2756,5,141,0,0,2756,2785,5,1,0,0,2757,2762,3,184,92,0,2758,2759, - 5,3,0,0,2759,2761,3,184,92,0,2760,2758,1,0,0,0,2761,2764,1,0,0,0, - 2762,2760,1,0,0,0,2762,2763,1,0,0,0,2763,2771,1,0,0,0,2764,2762, - 1,0,0,0,2765,2766,5,184,0,0,2766,2767,5,191,0,0,2767,2772,5,184, - 0,0,2768,2769,5,18,0,0,2769,2770,5,191,0,0,2770,2772,5,184,0,0,2771, - 2765,1,0,0,0,2771,2768,1,0,0,0,2771,2772,1,0,0,0,2772,2783,1,0,0, - 0,2773,2774,5,305,0,0,2774,2776,5,283,0,0,2775,2777,5,147,0,0,2776, - 2775,1,0,0,0,2776,2777,1,0,0,0,2777,2784,1,0,0,0,2778,2779,5,307, - 0,0,2779,2781,5,283,0,0,2780,2782,5,147,0,0,2781,2780,1,0,0,0,2781, - 2782,1,0,0,0,2782,2784,1,0,0,0,2783,2773,1,0,0,0,2783,2778,1,0,0, - 0,2783,2784,1,0,0,0,2784,2786,1,0,0,0,2785,2757,1,0,0,0,2785,2786, - 1,0,0,0,2786,2793,1,0,0,0,2787,2788,5,232,0,0,2788,2791,3,206,103, - 0,2789,2790,5,105,0,0,2790,2792,3,172,86,0,2791,2789,1,0,0,0,2791, - 2792,1,0,0,0,2792,2794,1,0,0,0,2793,2787,1,0,0,0,2793,2794,1,0,0, - 0,2794,2795,1,0,0,0,2795,2826,5,2,0,0,2796,2797,5,139,0,0,2797,2814, - 5,1,0,0,2798,2803,3,170,85,0,2799,2800,5,3,0,0,2800,2802,3,170,85, - 0,2801,2799,1,0,0,0,2802,2805,1,0,0,0,2803,2801,1,0,0,0,2803,2804, - 1,0,0,0,2804,2812,1,0,0,0,2805,2803,1,0,0,0,2806,2807,5,184,0,0, - 2807,2808,5,191,0,0,2808,2813,5,184,0,0,2809,2810,5,18,0,0,2810, - 2811,5,191,0,0,2811,2813,5,184,0,0,2812,2806,1,0,0,0,2812,2809,1, - 0,0,0,2812,2813,1,0,0,0,2813,2815,1,0,0,0,2814,2798,1,0,0,0,2814, - 2815,1,0,0,0,2815,2822,1,0,0,0,2816,2817,5,232,0,0,2817,2820,3,206, - 103,0,2818,2819,5,105,0,0,2819,2821,3,172,86,0,2820,2818,1,0,0,0, - 2820,2821,1,0,0,0,2821,2823,1,0,0,0,2822,2816,1,0,0,0,2822,2823, - 1,0,0,0,2823,2824,1,0,0,0,2824,2826,5,2,0,0,2825,2360,1,0,0,0,2825, - 2362,1,0,0,0,2825,2363,1,0,0,0,2825,2366,1,0,0,0,2825,2369,1,0,0, - 0,2825,2370,1,0,0,0,2825,2371,1,0,0,0,2825,2372,1,0,0,0,2825,2373, - 1,0,0,0,2825,2374,1,0,0,0,2825,2381,1,0,0,0,2825,2391,1,0,0,0,2825, - 2403,1,0,0,0,2825,2438,1,0,0,0,2825,2456,1,0,0,0,2825,2495,1,0,0, - 0,2825,2498,1,0,0,0,2825,2502,1,0,0,0,2825,2516,1,0,0,0,2825,2520, - 1,0,0,0,2825,2525,1,0,0,0,2825,2538,1,0,0,0,2825,2550,1,0,0,0,2825, - 2557,1,0,0,0,2825,2564,1,0,0,0,2825,2577,1,0,0,0,2825,2578,1,0,0, - 0,2825,2579,1,0,0,0,2825,2585,1,0,0,0,2825,2591,1,0,0,0,2825,2597, - 1,0,0,0,2825,2603,1,0,0,0,2825,2604,1,0,0,0,2825,2605,1,0,0,0,2825, - 2606,1,0,0,0,2825,2607,1,0,0,0,2825,2621,1,0,0,0,2825,2628,1,0,0, - 0,2825,2639,1,0,0,0,2825,2648,1,0,0,0,2825,2655,1,0,0,0,2825,2667, - 1,0,0,0,2825,2671,1,0,0,0,2825,2684,1,0,0,0,2825,2695,1,0,0,0,2825, - 2716,1,0,0,0,2825,2755,1,0,0,0,2825,2796,1,0,0,0,2826,2837,1,0,0, - 0,2827,2828,10,25,0,0,2828,2829,5,8,0,0,2829,2830,3,164,82,0,2830, - 2831,5,9,0,0,2831,2836,1,0,0,0,2832,2833,10,23,0,0,2833,2834,5,4, - 0,0,2834,2836,3,320,160,0,2835,2827,1,0,0,0,2835,2832,1,0,0,0,2836, - 2839,1,0,0,0,2837,2835,1,0,0,0,2837,2838,1,0,0,0,2838,167,1,0,0, - 0,2839,2837,1,0,0,0,2840,2841,3,170,85,0,2841,2842,5,3,0,0,2842, - 2845,3,190,95,0,2843,2844,5,28,0,0,2844,2846,3,320,160,0,2845,2843, - 1,0,0,0,2845,2846,1,0,0,0,2846,2856,1,0,0,0,2847,2848,5,204,0,0, - 2848,2853,3,174,87,0,2849,2850,5,3,0,0,2850,2852,3,174,87,0,2851, - 2849,1,0,0,0,2852,2855,1,0,0,0,2853,2851,1,0,0,0,2853,2854,1,0,0, - 0,2854,2857,1,0,0,0,2855,2853,1,0,0,0,2856,2847,1,0,0,0,2856,2857, - 1,0,0,0,2857,169,1,0,0,0,2858,2861,3,158,79,0,2859,2860,5,105,0, - 0,2860,2862,3,172,86,0,2861,2859,1,0,0,0,2861,2862,1,0,0,0,2862, - 171,1,0,0,0,2863,2866,5,138,0,0,2864,2865,5,88,0,0,2865,2867,7,20, - 0,0,2866,2864,1,0,0,0,2866,2867,1,0,0,0,2867,173,1,0,0,0,2868,2869, - 3,170,85,0,2869,2870,5,28,0,0,2870,2871,3,320,160,0,2871,175,1,0, - 0,0,2872,2873,7,21,0,0,2873,177,1,0,0,0,2874,2879,5,90,0,0,2875, - 2879,5,184,0,0,2876,2877,5,71,0,0,2877,2879,3,158,79,0,2878,2874, - 1,0,0,0,2878,2875,1,0,0,0,2878,2876,1,0,0,0,2879,179,1,0,0,0,2880, - 2882,5,307,0,0,2881,2883,5,27,0,0,2882,2881,1,0,0,0,2882,2883,1, - 0,0,0,2883,2892,1,0,0,0,2884,2886,5,305,0,0,2885,2887,7,22,0,0,2886, - 2885,1,0,0,0,2886,2887,1,0,0,0,2887,2889,1,0,0,0,2888,2890,5,27, - 0,0,2889,2888,1,0,0,0,2889,2890,1,0,0,0,2890,2892,1,0,0,0,2891,2880, - 1,0,0,0,2891,2884,1,0,0,0,2892,181,1,0,0,0,2893,2900,5,90,0,0,2894, - 2900,5,184,0,0,2895,2896,5,86,0,0,2896,2900,5,27,0,0,2897,2898,5, - 86,0,0,2898,2900,5,187,0,0,2899,2893,1,0,0,0,2899,2894,1,0,0,0,2899, - 2895,1,0,0,0,2899,2897,1,0,0,0,2900,183,1,0,0,0,2901,2903,5,146, - 0,0,2902,2901,1,0,0,0,2902,2903,1,0,0,0,2903,2904,1,0,0,0,2904,2905, - 3,158,79,0,2905,2906,5,296,0,0,2906,2907,3,170,85,0,2907,2913,1, - 0,0,0,2908,2909,3,158,79,0,2909,2910,5,10,0,0,2910,2911,3,170,85, - 0,2911,2913,1,0,0,0,2912,2902,1,0,0,0,2912,2908,1,0,0,0,2913,185, - 1,0,0,0,2914,2915,7,23,0,0,2915,187,1,0,0,0,2916,2917,5,121,0,0, - 2917,2921,5,186,0,0,2918,2919,5,229,0,0,2919,2921,5,186,0,0,2920, - 2916,1,0,0,0,2920,2918,1,0,0,0,2921,189,1,0,0,0,2922,2929,5,327, - 0,0,2923,2926,5,328,0,0,2924,2925,5,278,0,0,2925,2927,5,327,0,0, - 2926,2924,1,0,0,0,2926,2927,1,0,0,0,2927,2929,1,0,0,0,2928,2922, - 1,0,0,0,2928,2923,1,0,0,0,2929,191,1,0,0,0,2930,2931,5,268,0,0,2931, - 2932,5,312,0,0,2932,2937,3,200,100,0,2933,2934,5,268,0,0,2934,2935, - 5,312,0,0,2935,2937,3,190,95,0,2936,2930,1,0,0,0,2936,2933,1,0,0, - 0,2937,193,1,0,0,0,2938,2939,7,24,0,0,2939,195,1,0,0,0,2940,2941, - 7,25,0,0,2941,197,1,0,0,0,2942,2943,7,26,0,0,2943,199,1,0,0,0,2944, - 2946,5,130,0,0,2945,2947,7,18,0,0,2946,2945,1,0,0,0,2946,2947,1, - 0,0,0,2947,2948,1,0,0,0,2948,2949,3,190,95,0,2949,2952,3,202,101, - 0,2950,2951,5,270,0,0,2951,2953,3,202,101,0,2952,2950,1,0,0,0,2952, - 2953,1,0,0,0,2953,201,1,0,0,0,2954,2955,7,27,0,0,2955,203,1,0,0, - 0,2956,2957,7,28,0,0,2957,205,1,0,0,0,2958,2959,6,103,-1,0,2959, - 2960,5,240,0,0,2960,2961,5,1,0,0,2961,2966,3,208,104,0,2962,2963, - 5,3,0,0,2963,2965,3,208,104,0,2964,2962,1,0,0,0,2965,2968,1,0,0, - 0,2966,2964,1,0,0,0,2966,2967,1,0,0,0,2967,2969,1,0,0,0,2968,2966, - 1,0,0,0,2969,2970,5,2,0,0,2970,3030,1,0,0,0,2971,2972,5,130,0,0, - 2972,2975,3,202,101,0,2973,2974,5,270,0,0,2974,2976,3,202,101,0, - 2975,2973,1,0,0,0,2975,2976,1,0,0,0,2976,3030,1,0,0,0,2977,2982, - 5,269,0,0,2978,2979,5,1,0,0,2979,2980,3,210,105,0,2980,2981,5,2, - 0,0,2981,2983,1,0,0,0,2982,2978,1,0,0,0,2982,2983,1,0,0,0,2983,2987, - 1,0,0,0,2984,2985,7,29,0,0,2985,2986,5,268,0,0,2986,2988,5,312,0, - 0,2987,2984,1,0,0,0,2987,2988,1,0,0,0,2988,3030,1,0,0,0,2989,2994, - 5,268,0,0,2990,2991,5,1,0,0,2991,2992,3,210,105,0,2992,2993,5,2, - 0,0,2993,2995,1,0,0,0,2994,2990,1,0,0,0,2994,2995,1,0,0,0,2995,2999, - 1,0,0,0,2996,2997,7,29,0,0,2997,2998,5,268,0,0,2998,3000,5,312,0, - 0,2999,2996,1,0,0,0,2999,3000,1,0,0,0,3000,3030,1,0,0,0,3001,3002, - 5,83,0,0,3002,3030,5,214,0,0,3003,3004,5,27,0,0,3004,3005,5,315, - 0,0,3005,3006,3,206,103,0,3006,3007,5,317,0,0,3007,3030,1,0,0,0, - 3008,3009,5,163,0,0,3009,3010,5,315,0,0,3010,3011,3,206,103,0,3011, - 3012,5,3,0,0,3012,3013,3,206,103,0,3013,3014,5,317,0,0,3014,3030, - 1,0,0,0,3015,3027,3,320,160,0,3016,3017,5,1,0,0,3017,3022,3,210, - 105,0,3018,3019,5,3,0,0,3019,3021,3,210,105,0,3020,3018,1,0,0,0, - 3021,3024,1,0,0,0,3022,3020,1,0,0,0,3022,3023,1,0,0,0,3023,3025, - 1,0,0,0,3024,3022,1,0,0,0,3025,3026,5,2,0,0,3026,3028,1,0,0,0,3027, - 3016,1,0,0,0,3027,3028,1,0,0,0,3028,3030,1,0,0,0,3029,2958,1,0,0, - 0,3029,2971,1,0,0,0,3029,2977,1,0,0,0,3029,2989,1,0,0,0,3029,3001, - 1,0,0,0,3029,3003,1,0,0,0,3029,3008,1,0,0,0,3029,3015,1,0,0,0,3030, - 3040,1,0,0,0,3031,3032,10,2,0,0,3032,3036,5,27,0,0,3033,3034,5,8, - 0,0,3034,3035,5,330,0,0,3035,3037,5,9,0,0,3036,3033,1,0,0,0,3036, - 3037,1,0,0,0,3037,3039,1,0,0,0,3038,3031,1,0,0,0,3039,3042,1,0,0, - 0,3040,3038,1,0,0,0,3040,3041,1,0,0,0,3041,207,1,0,0,0,3042,3040, - 1,0,0,0,3043,3048,3,206,103,0,3044,3045,3,320,160,0,3045,3046,3, - 206,103,0,3046,3048,1,0,0,0,3047,3043,1,0,0,0,3047,3044,1,0,0,0, - 3048,209,1,0,0,0,3049,3052,5,330,0,0,3050,3052,3,206,103,0,3051, - 3049,1,0,0,0,3051,3050,1,0,0,0,3052,211,1,0,0,0,3053,3054,5,301, - 0,0,3054,3055,3,158,79,0,3055,3056,5,266,0,0,3056,3057,3,158,79, - 0,3057,213,1,0,0,0,3058,3059,5,100,0,0,3059,3060,5,1,0,0,3060,3061, - 3,54,27,0,3061,3062,5,2,0,0,3062,215,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,158,79,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,3071,5,288,0,0,3071,3072,5,252,0,0,3072,3073,3,320,160, - 0,3073,3074,5,313,0,0,3074,3082,3,158,79,0,3075,3076,5,3,0,0,3076, - 3077,3,320,160,0,3077,3078,5,313,0,0,3078,3079,3,158,79,0,3079,3081, - 1,0,0,0,3080,3075,1,0,0,0,3081,3084,1,0,0,0,3082,3080,1,0,0,0,3082, - 3083,1,0,0,0,3083,3128,1,0,0,0,3084,3082,1,0,0,0,3085,3086,5,301, - 0,0,3086,3089,5,165,0,0,3087,3088,5,25,0,0,3088,3090,3,158,79,0, - 3089,3087,1,0,0,0,3089,3090,1,0,0,0,3090,3091,1,0,0,0,3091,3092, - 5,266,0,0,3092,3128,5,74,0,0,3093,3094,5,301,0,0,3094,3095,5,183, - 0,0,3095,3098,5,165,0,0,3096,3097,5,25,0,0,3097,3099,3,158,79,0, - 3098,3096,1,0,0,0,3098,3099,1,0,0,0,3099,3100,1,0,0,0,3100,3101, - 5,266,0,0,3101,3113,5,128,0,0,3102,3103,5,1,0,0,3103,3108,3,320, - 160,0,3104,3105,5,3,0,0,3105,3107,3,320,160,0,3106,3104,1,0,0,0, - 3107,3110,1,0,0,0,3108,3106,1,0,0,0,3108,3109,1,0,0,0,3109,3111, - 1,0,0,0,3110,3108,1,0,0,0,3111,3112,5,2,0,0,3112,3114,1,0,0,0,3113, - 3102,1,0,0,0,3113,3114,1,0,0,0,3114,3115,1,0,0,0,3115,3116,5,297, - 0,0,3116,3117,5,1,0,0,3117,3122,3,158,79,0,3118,3119,5,3,0,0,3119, - 3121,3,158,79,0,3120,3118,1,0,0,0,3121,3124,1,0,0,0,3122,3120,1, - 0,0,0,3122,3123,1,0,0,0,3123,3125,1,0,0,0,3124,3122,1,0,0,0,3125, - 3126,5,2,0,0,3126,3128,1,0,0,0,3127,3063,1,0,0,0,3127,3085,1,0,0, - 0,3127,3093,1,0,0,0,3128,217,1,0,0,0,3129,3135,5,200,0,0,3130,3136, - 3,320,160,0,3131,3132,5,1,0,0,3132,3133,3,72,36,0,3133,3134,5,2, - 0,0,3134,3136,1,0,0,0,3135,3130,1,0,0,0,3135,3131,1,0,0,0,3136,219, - 1,0,0,0,3137,3138,5,169,0,0,3138,3143,3,110,55,0,3139,3140,5,3,0, - 0,3140,3142,3,110,55,0,3141,3139,1,0,0,0,3142,3145,1,0,0,0,3143, - 3141,1,0,0,0,3143,3144,1,0,0,0,3144,3147,1,0,0,0,3145,3143,1,0,0, - 0,3146,3137,1,0,0,0,3146,3147,1,0,0,0,3147,3148,1,0,0,0,3148,3152, - 3,222,111,0,3149,3150,5,21,0,0,3150,3151,5,164,0,0,3151,3153,3,116, - 58,0,3152,3149,1,0,0,0,3152,3153,1,0,0,0,3153,3155,1,0,0,0,3154, - 3156,7,13,0,0,3155,3154,1,0,0,0,3155,3156,1,0,0,0,3156,3162,1,0, - 0,0,3157,3158,5,207,0,0,3158,3159,5,1,0,0,3159,3160,3,226,113,0, - 3160,3161,5,2,0,0,3161,3163,1,0,0,0,3162,3157,1,0,0,0,3162,3163, - 1,0,0,0,3163,3173,1,0,0,0,3164,3165,5,258,0,0,3165,3170,3,118,59, - 0,3166,3167,5,3,0,0,3167,3169,3,118,59,0,3168,3166,1,0,0,0,3169, - 3172,1,0,0,0,3170,3168,1,0,0,0,3170,3171,1,0,0,0,3171,3174,1,0,0, - 0,3172,3170,1,0,0,0,3173,3164,1,0,0,0,3173,3174,1,0,0,0,3174,3184, - 1,0,0,0,3175,3176,5,72,0,0,3176,3181,3,120,60,0,3177,3178,5,3,0, - 0,3178,3180,3,120,60,0,3179,3177,1,0,0,0,3180,3183,1,0,0,0,3181, - 3179,1,0,0,0,3181,3182,1,0,0,0,3182,3185,1,0,0,0,3183,3181,1,0,0, - 0,3184,3175,1,0,0,0,3184,3185,1,0,0,0,3185,221,1,0,0,0,3186,3187, - 5,220,0,0,3187,3211,3,224,112,0,3188,3189,5,241,0,0,3189,3211,3, - 224,112,0,3190,3191,5,117,0,0,3191,3211,3,224,112,0,3192,3193,5, - 220,0,0,3193,3194,5,34,0,0,3194,3195,3,224,112,0,3195,3196,5,25, - 0,0,3196,3197,3,224,112,0,3197,3211,1,0,0,0,3198,3199,5,241,0,0, - 3199,3200,5,34,0,0,3200,3201,3,224,112,0,3201,3202,5,25,0,0,3202, - 3203,3,224,112,0,3203,3211,1,0,0,0,3204,3205,5,117,0,0,3205,3206, - 5,34,0,0,3206,3207,3,224,112,0,3207,3208,5,25,0,0,3208,3209,3,224, - 112,0,3209,3211,1,0,0,0,3210,3186,1,0,0,0,3210,3188,1,0,0,0,3210, - 3190,1,0,0,0,3210,3192,1,0,0,0,3210,3198,1,0,0,0,3210,3204,1,0,0, - 0,3211,223,1,0,0,0,3212,3213,5,279,0,0,3213,3222,5,213,0,0,3214, - 3215,5,279,0,0,3215,3222,5,103,0,0,3216,3217,5,57,0,0,3217,3222, - 5,240,0,0,3218,3219,3,158,79,0,3219,3220,7,30,0,0,3220,3222,1,0, - 0,0,3221,3212,1,0,0,0,3221,3214,1,0,0,0,3221,3216,1,0,0,0,3221,3218, - 1,0,0,0,3222,225,1,0,0,0,3223,3224,6,113,-1,0,3224,3226,3,228,114, - 0,3225,3227,3,230,115,0,3226,3225,1,0,0,0,3226,3227,1,0,0,0,3227, - 3235,1,0,0,0,3228,3229,10,2,0,0,3229,3234,3,226,113,3,3230,3231, - 10,1,0,0,3231,3232,5,11,0,0,3232,3234,3,226,113,2,3233,3228,1,0, - 0,0,3233,3230,1,0,0,0,3234,3237,1,0,0,0,3235,3233,1,0,0,0,3235,3236, - 1,0,0,0,3236,227,1,0,0,0,3237,3235,1,0,0,0,3238,3264,3,320,160,0, - 3239,3240,5,1,0,0,3240,3264,5,2,0,0,3241,3242,5,210,0,0,3242,3243, - 5,1,0,0,3243,3248,3,226,113,0,3244,3245,5,3,0,0,3245,3247,3,226, - 113,0,3246,3244,1,0,0,0,3247,3250,1,0,0,0,3248,3246,1,0,0,0,3248, - 3249,1,0,0,0,3249,3251,1,0,0,0,3250,3248,1,0,0,0,3251,3252,5,2,0, - 0,3252,3264,1,0,0,0,3253,3254,5,1,0,0,3254,3255,3,226,113,0,3255, - 3256,5,2,0,0,3256,3264,1,0,0,0,3257,3264,5,12,0,0,3258,3264,5,13, - 0,0,3259,3260,5,14,0,0,3260,3261,3,226,113,0,3261,3262,5,15,0,0, - 3262,3264,1,0,0,0,3263,3238,1,0,0,0,3263,3239,1,0,0,0,3263,3241, - 1,0,0,0,3263,3253,1,0,0,0,3263,3257,1,0,0,0,3263,3258,1,0,0,0,3263, - 3259,1,0,0,0,3264,229,1,0,0,0,3265,3267,5,321,0,0,3266,3268,5,325, - 0,0,3267,3266,1,0,0,0,3267,3268,1,0,0,0,3268,3296,1,0,0,0,3269,3271, - 5,319,0,0,3270,3272,5,325,0,0,3271,3270,1,0,0,0,3271,3272,1,0,0, - 0,3272,3296,1,0,0,0,3273,3275,5,325,0,0,3274,3276,5,325,0,0,3275, - 3274,1,0,0,0,3275,3276,1,0,0,0,3276,3296,1,0,0,0,3277,3278,5,16, - 0,0,3278,3279,5,330,0,0,3279,3281,5,17,0,0,3280,3282,5,325,0,0,3281, - 3280,1,0,0,0,3281,3282,1,0,0,0,3282,3296,1,0,0,0,3283,3285,5,16, - 0,0,3284,3286,5,330,0,0,3285,3284,1,0,0,0,3285,3286,1,0,0,0,3286, - 3287,1,0,0,0,3287,3289,5,3,0,0,3288,3290,5,330,0,0,3289,3288,1,0, - 0,0,3289,3290,1,0,0,0,3290,3291,1,0,0,0,3291,3293,5,17,0,0,3292, - 3294,5,325,0,0,3293,3292,1,0,0,0,3293,3294,1,0,0,0,3294,3296,1,0, - 0,0,3295,3265,1,0,0,0,3295,3269,1,0,0,0,3295,3273,1,0,0,0,3295,3277, - 1,0,0,0,3295,3283,1,0,0,0,3296,231,1,0,0,0,3297,3298,3,320,160,0, - 3298,3299,5,313,0,0,3299,3300,3,158,79,0,3300,233,1,0,0,0,3301,3302, - 5,105,0,0,3302,3306,7,31,0,0,3303,3304,5,277,0,0,3304,3306,7,32, - 0,0,3305,3301,1,0,0,0,3305,3303,1,0,0,0,3306,235,1,0,0,0,3307,3308, - 5,135,0,0,3308,3309,5,154,0,0,3309,3313,3,238,119,0,3310,3311,5, - 221,0,0,3311,3313,7,33,0,0,3312,3307,1,0,0,0,3312,3310,1,0,0,0,3313, - 237,1,0,0,0,3314,3315,5,221,0,0,3315,3322,5,280,0,0,3316,3317,5, - 221,0,0,3317,3322,5,49,0,0,3318,3319,5,226,0,0,3319,3322,5,221,0, - 0,3320,3322,5,250,0,0,3321,3314,1,0,0,0,3321,3316,1,0,0,0,3321,3318, - 1,0,0,0,3321,3320,1,0,0,0,3322,239,1,0,0,0,3323,3329,3,158,79,0, - 3324,3325,3,320,160,0,3325,3326,5,6,0,0,3326,3327,3,158,79,0,3327, - 3329,1,0,0,0,3328,3323,1,0,0,0,3328,3324,1,0,0,0,3329,241,1,0,0, - 0,3330,3331,3,320,160,0,3331,3332,5,4,0,0,3332,3333,3,320,160,0, - 3333,3336,1,0,0,0,3334,3336,3,320,160,0,3335,3330,1,0,0,0,3335,3334, - 1,0,0,0,3336,243,1,0,0,0,3337,3342,3,242,121,0,3338,3339,5,3,0,0, - 3339,3341,3,242,121,0,3340,3338,1,0,0,0,3341,3344,1,0,0,0,3342,3340, - 1,0,0,0,3342,3343,1,0,0,0,3343,245,1,0,0,0,3344,3342,1,0,0,0,3345, - 3346,5,108,0,0,3346,3347,3,248,124,0,3347,3351,3,254,127,0,3348, - 3350,3,256,128,0,3349,3348,1,0,0,0,3350,3353,1,0,0,0,3351,3349,1, - 0,0,0,3351,3352,1,0,0,0,3352,3354,1,0,0,0,3353,3351,1,0,0,0,3354, - 3355,3,258,129,0,3355,247,1,0,0,0,3356,3357,3,296,148,0,3357,3366, - 5,1,0,0,3358,3363,3,252,126,0,3359,3360,5,3,0,0,3360,3362,3,252, - 126,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,3367,1,0,0,0,3365,3363,1,0,0,0,3366,3358,1,0,0, - 0,3366,3367,1,0,0,0,3367,3368,1,0,0,0,3368,3369,5,2,0,0,3369,249, - 1,0,0,0,3370,3371,3,294,147,0,3371,3380,5,1,0,0,3372,3377,3,252, - 126,0,3373,3374,5,3,0,0,3374,3376,3,252,126,0,3375,3373,1,0,0,0, - 3376,3379,1,0,0,0,3377,3375,1,0,0,0,3377,3378,1,0,0,0,3378,3381, - 1,0,0,0,3379,3377,1,0,0,0,3380,3372,1,0,0,0,3380,3381,1,0,0,0,3381, - 3382,1,0,0,0,3382,3383,5,2,0,0,3383,251,1,0,0,0,3384,3386,3,320, - 160,0,3385,3384,1,0,0,0,3385,3386,1,0,0,0,3386,3387,1,0,0,0,3387, - 3388,3,206,103,0,3388,253,1,0,0,0,3389,3390,5,233,0,0,3390,3391, - 3,206,103,0,3391,255,1,0,0,0,3392,3393,5,148,0,0,3393,3412,3,320, - 160,0,3394,3396,5,183,0,0,3395,3394,1,0,0,0,3395,3396,1,0,0,0,3396, - 3397,1,0,0,0,3397,3412,5,79,0,0,3398,3399,5,233,0,0,3399,3400,5, - 184,0,0,3400,3401,5,191,0,0,3401,3402,5,184,0,0,3402,3412,5,127, - 0,0,3403,3404,5,38,0,0,3404,3405,5,191,0,0,3405,3406,5,184,0,0,3406, - 3412,5,127,0,0,3407,3408,5,247,0,0,3408,3412,7,1,0,0,3409,3410,5, - 47,0,0,3410,3412,3,190,95,0,3411,3392,1,0,0,0,3411,3395,1,0,0,0, - 3411,3398,1,0,0,0,3411,3403,1,0,0,0,3411,3407,1,0,0,0,3411,3409, - 1,0,0,0,3412,257,1,0,0,0,3413,3414,5,231,0,0,3414,3513,3,164,82, - 0,3415,3416,5,252,0,0,3416,3417,3,320,160,0,3417,3418,5,313,0,0, - 3418,3419,3,158,79,0,3419,3513,1,0,0,0,3420,3421,5,40,0,0,3421,3423, - 3,158,79,0,3422,3424,3,260,130,0,3423,3422,1,0,0,0,3424,3425,1,0, - 0,0,3425,3423,1,0,0,0,3425,3426,1,0,0,0,3426,3428,1,0,0,0,3427,3429, - 3,264,132,0,3428,3427,1,0,0,0,3428,3429,1,0,0,0,3429,3430,1,0,0, - 0,3430,3431,5,89,0,0,3431,3432,5,40,0,0,3432,3513,1,0,0,0,3433,3435, - 5,40,0,0,3434,3436,3,260,130,0,3435,3434,1,0,0,0,3436,3437,1,0,0, - 0,3437,3435,1,0,0,0,3437,3438,1,0,0,0,3438,3440,1,0,0,0,3439,3441, - 3,264,132,0,3440,3439,1,0,0,0,3440,3441,1,0,0,0,3441,3442,1,0,0, - 0,3442,3443,5,89,0,0,3443,3444,5,40,0,0,3444,3513,1,0,0,0,3445,3446, - 5,120,0,0,3446,3447,3,158,79,0,3447,3448,5,266,0,0,3448,3452,3,268, - 134,0,3449,3451,3,262,131,0,3450,3449,1,0,0,0,3451,3454,1,0,0,0, - 3452,3450,1,0,0,0,3452,3453,1,0,0,0,3453,3456,1,0,0,0,3454,3452, - 1,0,0,0,3455,3457,3,264,132,0,3456,3455,1,0,0,0,3456,3457,1,0,0, - 0,3457,3458,1,0,0,0,3458,3459,5,89,0,0,3459,3460,5,120,0,0,3460, - 3513,1,0,0,0,3461,3462,5,136,0,0,3462,3513,3,320,160,0,3463,3464, - 5,152,0,0,3464,3513,3,320,160,0,3465,3471,5,32,0,0,3466,3467,3,266, - 133,0,3467,3468,5,326,0,0,3468,3470,1,0,0,0,3469,3466,1,0,0,0,3470, - 3473,1,0,0,0,3471,3469,1,0,0,0,3471,3472,1,0,0,0,3472,3475,1,0,0, - 0,3473,3471,1,0,0,0,3474,3476,3,268,134,0,3475,3474,1,0,0,0,3475, - 3476,1,0,0,0,3476,3477,1,0,0,0,3477,3513,5,89,0,0,3478,3479,3,320, - 160,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,162,0,0,3484,3485,3,268, - 134,0,3485,3486,5,89,0,0,3486,3487,5,162,0,0,3487,3513,1,0,0,0,3488, - 3489,3,320,160,0,3489,3490,5,10,0,0,3490,3492,1,0,0,0,3491,3488, - 1,0,0,0,3491,3492,1,0,0,0,3492,3493,1,0,0,0,3493,3494,5,303,0,0, - 3494,3495,3,158,79,0,3495,3496,5,82,0,0,3496,3497,3,268,134,0,3497, - 3498,5,89,0,0,3498,3499,5,303,0,0,3499,3513,1,0,0,0,3500,3501,3, - 320,160,0,3501,3502,5,10,0,0,3502,3504,1,0,0,0,3503,3500,1,0,0,0, - 3503,3504,1,0,0,0,3504,3505,1,0,0,0,3505,3506,5,225,0,0,3506,3507, - 3,268,134,0,3507,3508,5,287,0,0,3508,3509,3,158,79,0,3509,3510,5, - 89,0,0,3510,3511,5,225,0,0,3511,3513,1,0,0,0,3512,3413,1,0,0,0,3512, - 3415,1,0,0,0,3512,3420,1,0,0,0,3512,3433,1,0,0,0,3512,3445,1,0,0, - 0,3512,3461,1,0,0,0,3512,3463,1,0,0,0,3512,3465,1,0,0,0,3512,3481, - 1,0,0,0,3512,3491,1,0,0,0,3512,3503,1,0,0,0,3513,259,1,0,0,0,3514, - 3515,5,301,0,0,3515,3516,3,158,79,0,3516,3517,5,266,0,0,3517,3518, - 3,268,134,0,3518,261,1,0,0,0,3519,3520,5,87,0,0,3520,3521,3,158, - 79,0,3521,3522,5,266,0,0,3522,3523,3,268,134,0,3523,263,1,0,0,0, - 3524,3525,5,85,0,0,3525,3526,3,268,134,0,3526,265,1,0,0,0,3527,3528, - 5,70,0,0,3528,3533,3,320,160,0,3529,3530,5,3,0,0,3530,3532,3,320, - 160,0,3531,3529,1,0,0,0,3532,3535,1,0,0,0,3533,3531,1,0,0,0,3533, - 3534,1,0,0,0,3534,3536,1,0,0,0,3535,3533,1,0,0,0,3536,3539,3,206, - 103,0,3537,3538,5,71,0,0,3538,3540,3,164,82,0,3539,3537,1,0,0,0, - 3539,3540,1,0,0,0,3540,267,1,0,0,0,3541,3542,3,258,129,0,3542,3543, - 5,326,0,0,3543,3545,1,0,0,0,3544,3541,1,0,0,0,3545,3546,1,0,0,0, - 3546,3544,1,0,0,0,3546,3547,1,0,0,0,3547,269,1,0,0,0,3548,3555,5, - 54,0,0,3549,3555,5,249,0,0,3550,3555,5,74,0,0,3551,3555,5,128,0, - 0,3552,3555,5,288,0,0,3553,3555,3,320,160,0,3554,3548,1,0,0,0,3554, - 3549,1,0,0,0,3554,3550,1,0,0,0,3554,3551,1,0,0,0,3554,3552,1,0,0, - 0,3554,3553,1,0,0,0,3555,271,1,0,0,0,3556,3560,5,261,0,0,3557,3560, - 5,244,0,0,3558,3560,3,320,160,0,3559,3556,1,0,0,0,3559,3557,1,0, - 0,0,3559,3558,1,0,0,0,3560,273,1,0,0,0,3561,3563,3,272,136,0,3562, - 3561,1,0,0,0,3562,3563,1,0,0,0,3563,3564,1,0,0,0,3564,3565,3,306, - 153,0,3565,275,1,0,0,0,3566,3569,3,278,139,0,3567,3569,3,282,141, - 0,3568,3566,1,0,0,0,3568,3567,1,0,0,0,3569,277,1,0,0,0,3570,3582, - 3,320,160,0,3571,3572,3,320,160,0,3572,3573,5,4,0,0,3573,3574,3, - 320,160,0,3574,3582,1,0,0,0,3575,3576,3,320,160,0,3576,3577,5,4, - 0,0,3577,3578,3,320,160,0,3578,3579,5,4,0,0,3579,3580,3,320,160, - 0,3580,3582,1,0,0,0,3581,3570,1,0,0,0,3581,3571,1,0,0,0,3581,3575, - 1,0,0,0,3582,279,1,0,0,0,3583,3595,3,320,160,0,3584,3585,3,320,160, - 0,3585,3586,5,4,0,0,3586,3587,3,320,160,0,3587,3595,1,0,0,0,3588, - 3589,3,320,160,0,3589,3590,5,4,0,0,3590,3591,3,320,160,0,3591,3592, - 5,4,0,0,3592,3593,3,320,160,0,3593,3595,1,0,0,0,3594,3583,1,0,0, - 0,3594,3584,1,0,0,0,3594,3588,1,0,0,0,3595,281,1,0,0,0,3596,3608, - 3,320,160,0,3597,3598,3,320,160,0,3598,3599,5,4,0,0,3599,3600,3, - 320,160,0,3600,3608,1,0,0,0,3601,3602,3,320,160,0,3602,3603,5,4, - 0,0,3603,3604,3,320,160,0,3604,3605,5,4,0,0,3605,3606,3,320,160, - 0,3606,3608,1,0,0,0,3607,3596,1,0,0,0,3607,3597,1,0,0,0,3607,3601, - 1,0,0,0,3608,283,1,0,0,0,3609,3621,3,320,160,0,3610,3611,3,320,160, - 0,3611,3612,5,4,0,0,3612,3613,3,320,160,0,3613,3621,1,0,0,0,3614, - 3615,3,320,160,0,3615,3616,5,4,0,0,3616,3617,3,320,160,0,3617,3618, - 5,4,0,0,3618,3619,3,320,160,0,3619,3621,1,0,0,0,3620,3609,1,0,0, - 0,3620,3610,1,0,0,0,3620,3614,1,0,0,0,3621,285,1,0,0,0,3622,3628, - 3,320,160,0,3623,3624,3,320,160,0,3624,3625,5,4,0,0,3625,3626,3, - 320,160,0,3626,3628,1,0,0,0,3627,3622,1,0,0,0,3627,3623,1,0,0,0, - 3628,287,1,0,0,0,3629,3635,3,320,160,0,3630,3631,3,320,160,0,3631, - 3632,5,4,0,0,3632,3633,3,320,160,0,3633,3635,1,0,0,0,3634,3629,1, - 0,0,0,3634,3630,1,0,0,0,3635,289,1,0,0,0,3636,3637,3,320,160,0,3637, - 291,1,0,0,0,3638,3639,3,320,160,0,3639,293,1,0,0,0,3640,3641,3,306, - 153,0,3641,295,1,0,0,0,3642,3643,3,306,153,0,3643,297,1,0,0,0,3644, - 3647,3,306,153,0,3645,3647,4,149,16,0,3646,3644,1,0,0,0,3646,3645, - 1,0,0,0,3647,299,1,0,0,0,3648,3649,1,0,0,0,3649,301,1,0,0,0,3650, - 3651,3,306,153,0,3651,303,1,0,0,0,3652,3653,3,320,160,0,3653,305, - 1,0,0,0,3654,3659,3,320,160,0,3655,3656,5,4,0,0,3656,3658,3,320, - 160,0,3657,3655,1,0,0,0,3658,3661,1,0,0,0,3659,3657,1,0,0,0,3659, - 3660,1,0,0,0,3660,307,1,0,0,0,3661,3659,1,0,0,0,3662,3663,5,104, - 0,0,3663,3664,3,310,155,0,3664,3665,5,28,0,0,3665,3666,5,188,0,0, - 3666,3667,3,164,82,0,3667,309,1,0,0,0,3668,3669,7,34,0,0,3669,311, - 1,0,0,0,3670,3674,3,314,157,0,3671,3674,5,65,0,0,3672,3674,5,61, - 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,3,320,160,0,3676,3677,5,290,0,0,3677,3681,3,320, - 160,0,3678,3679,5,236,0,0,3679,3681,3,320,160,0,3680,3675,1,0,0, - 0,3680,3676,1,0,0,0,3680,3678,1,0,0,0,3681,315,1,0,0,0,3682,3687, - 3,320,160,0,3683,3684,5,3,0,0,3684,3686,3,320,160,0,3685,3683,1, - 0,0,0,3686,3689,1,0,0,0,3687,3685,1,0,0,0,3687,3688,1,0,0,0,3688, - 317,1,0,0,0,3689,3687,1,0,0,0,3690,3698,5,54,0,0,3691,3698,5,249, - 0,0,3692,3698,5,74,0,0,3693,3698,5,128,0,0,3694,3698,5,288,0,0,3695, - 3698,5,94,0,0,3696,3698,3,320,160,0,3697,3690,1,0,0,0,3697,3691, - 1,0,0,0,3697,3692,1,0,0,0,3697,3693,1,0,0,0,3697,3694,1,0,0,0,3697, - 3695,1,0,0,0,3697,3696,1,0,0,0,3698,319,1,0,0,0,3699,3705,5,333, - 0,0,3700,3705,5,335,0,0,3701,3705,3,326,163,0,3702,3705,5,336,0, - 0,3703,3705,5,334,0,0,3704,3699,1,0,0,0,3704,3700,1,0,0,0,3704,3701, - 1,0,0,0,3704,3702,1,0,0,0,3704,3703,1,0,0,0,3705,321,1,0,0,0,3706, - 3708,5,320,0,0,3707,3706,1,0,0,0,3707,3708,1,0,0,0,3708,3709,1,0, - 0,0,3709,3719,5,331,0,0,3710,3712,5,320,0,0,3711,3710,1,0,0,0,3711, - 3712,1,0,0,0,3712,3713,1,0,0,0,3713,3719,5,332,0,0,3714,3716,5,320, - 0,0,3715,3714,1,0,0,0,3715,3716,1,0,0,0,3716,3717,1,0,0,0,3717,3719, - 5,330,0,0,3718,3707,1,0,0,0,3718,3711,1,0,0,0,3718,3715,1,0,0,0, - 3719,323,1,0,0,0,3720,3723,3,320,160,0,3721,3723,3,190,95,0,3722, - 3720,1,0,0,0,3722,3721,1,0,0,0,3723,325,1,0,0,0,3724,3725,7,35,0, - 0,3725,327,1,0,0,0,480,331,340,344,348,352,356,369,376,380,384,390, - 394,401,406,410,416,420,439,445,449,453,457,465,469,472,477,483, - 492,498,502,508,515,523,535,544,553,559,570,578,586,593,603,610, - 618,633,668,671,674,677,683,688,695,701,705,709,717,723,727,731, - 745,753,772,797,800,807,814,823,827,834,842,851,857,862,866,874, - 879,888,894,901,910,916,920,926,933,938,951,956,968,972,978,987, - 992,998,1026,1032,1034,1040,1046,1048,1056,1058,1068,1070,1085,1090, - 1097,1107,1113,1115,1123,1125,1150,1153,1157,1161,1179,1182,1193, - 1196,1212,1222,1226,1232,1235,1244,1256,1259,1269,1273,1279,1286, - 1291,1297,1301,1305,1311,1322,1331,1341,1344,1349,1351,1358,1364, - 1366,1370,1380,1386,1389,1391,1403,1410,1414,1417,1421,1425,1434, - 1437,1440,1445,1448,1456,1459,1472,1476,1483,1491,1502,1505,1515, - 1518,1529,1534,1542,1545,1549,1553,1562,1567,1576,1579,1582,1586, - 1597,1600,1603,1608,1611,1640,1644,1648,1652,1656,1660,1662,1668, - 1677,1682,1694,1703,1712,1715,1721,1729,1738,1741,1749,1752,1755, - 1760,1763,1775,1778,1786,1791,1795,1797,1799,1814,1816,1827,1848, - 1858,1869,1873,1875,1883,1894,1905,1912,1919,1932,1938,1960,1975, - 1980,1984,1994,2000,2006,2014,2019,2026,2028,2034,2040,2044,2049, - 2058,2063,2077,2087,2090,2099,2104,2109,2111,2120,2123,2131,2134, - 2141,2146,2153,2157,2159,2167,2177,2183,2185,2192,2196,2198,2205, - 2209,2211,2213,2222,2233,2237,2247,2257,2261,2269,2271,2284,2292, - 2301,2307,2315,2321,2325,2330,2335,2341,2355,2357,2387,2398,2406, - 2411,2416,2429,2435,2438,2445,2450,2453,2456,2461,2468,2471,2480, - 2483,2487,2490,2493,2508,2511,2530,2534,2542,2546,2571,2574,2583, - 2589,2595,2601,2610,2613,2616,2635,2644,2662,2678,2681,2691,2700, - 2706,2712,2723,2725,2730,2737,2739,2745,2751,2762,2771,2776,2781, - 2783,2785,2791,2793,2803,2812,2814,2820,2822,2825,2835,2837,2845, - 2853,2856,2861,2866,2878,2882,2886,2889,2891,2899,2902,2912,2920, - 2926,2928,2936,2946,2952,2966,2975,2982,2987,2994,2999,3022,3027, - 3029,3036,3040,3047,3051,3067,3082,3089,3098,3108,3113,3122,3127, - 3135,3143,3146,3152,3155,3162,3170,3173,3181,3184,3210,3221,3226, - 3233,3235,3248,3263,3267,3271,3275,3281,3285,3289,3293,3295,3305, - 3312,3321,3328,3335,3342,3351,3363,3366,3377,3380,3385,3395,3411, - 3425,3428,3437,3440,3452,3456,3471,3475,3481,3491,3503,3512,3533, - 3539,3546,3554,3559,3562,3568,3581,3594,3607,3620,3627,3634,3646, - 3659,3673,3680,3687,3697,3704,3707,3711,3715,3718,3722 + 1,0,0,0,561,562,3,240,120,0,562,563,5,84,0,0,563,566,5,45,0,0,564, + 565,5,120,0,0,565,567,5,95,0,0,566,564,1,0,0,0,566,567,1,0,0,0,567, + 568,1,0,0,0,568,569,3,260,130,0,569,1229,1,0,0,0,570,571,5,23,0, + 0,571,574,5,261,0,0,572,573,5,120,0,0,573,575,5,95,0,0,574,572,1, + 0,0,0,574,575,1,0,0,0,575,576,1,0,0,0,576,577,3,240,120,0,577,578, + 5,23,0,0,578,579,5,45,0,0,579,580,3,260,130,0,580,581,5,252,0,0, + 581,582,5,66,0,0,582,583,5,277,0,0,583,584,3,182,91,0,584,1229,1, + 0,0,0,585,586,5,23,0,0,586,589,5,261,0,0,587,588,5,120,0,0,588,590, + 5,95,0,0,589,587,1,0,0,0,589,590,1,0,0,0,590,591,1,0,0,0,591,592, + 3,240,120,0,592,593,5,23,0,0,593,594,5,45,0,0,594,595,3,260,130, + 0,595,596,5,84,0,0,596,597,5,183,0,0,597,598,5,184,0,0,598,1229, + 1,0,0,0,599,600,5,23,0,0,600,601,5,261,0,0,601,602,3,240,120,0,602, + 603,5,252,0,0,603,604,5,31,0,0,604,605,3,272,136,0,605,1229,1,0, + 0,0,606,607,5,23,0,0,607,608,5,261,0,0,608,609,3,240,120,0,609,610, + 5,252,0,0,610,611,5,217,0,0,611,612,3,34,17,0,612,1229,1,0,0,0,613, + 614,5,23,0,0,614,615,5,261,0,0,615,616,3,240,120,0,616,617,5,94, + 0,0,617,630,3,256,128,0,618,627,5,1,0,0,619,624,3,214,107,0,620, + 621,5,3,0,0,621,623,3,214,107,0,622,620,1,0,0,0,623,626,1,0,0,0, + 624,622,1,0,0,0,624,625,1,0,0,0,625,628,1,0,0,0,626,624,1,0,0,0, + 627,619,1,0,0,0,627,628,1,0,0,0,628,629,1,0,0,0,629,631,5,2,0,0, + 630,618,1,0,0,0,630,631,1,0,0,0,631,633,1,0,0,0,632,634,3,48,24, + 0,633,632,1,0,0,0,633,634,1,0,0,0,634,1229,1,0,0,0,635,636,5,24, + 0,0,636,639,3,240,120,0,637,638,5,305,0,0,638,640,3,32,16,0,639, + 637,1,0,0,0,639,640,1,0,0,0,640,1229,1,0,0,0,641,644,5,54,0,0,642, + 643,5,195,0,0,643,645,5,227,0,0,644,642,1,0,0,0,644,645,1,0,0,0, + 645,646,1,0,0,0,646,647,5,168,0,0,647,651,5,300,0,0,648,649,5,120, + 0,0,649,650,5,183,0,0,650,652,5,95,0,0,651,648,1,0,0,0,651,652,1, + 0,0,0,652,653,1,0,0,0,653,657,3,246,123,0,654,655,5,110,0,0,655, + 656,5,209,0,0,656,658,3,178,89,0,657,654,1,0,0,0,657,658,1,0,0,0, + 658,661,1,0,0,0,659,660,5,47,0,0,660,662,3,172,86,0,661,659,1,0, + 0,0,661,662,1,0,0,0,662,665,1,0,0,0,663,664,5,305,0,0,664,666,3, + 32,16,0,665,663,1,0,0,0,665,666,1,0,0,0,666,667,1,0,0,0,667,668, + 5,28,0,0,668,669,3,18,9,0,669,1229,1,0,0,0,670,673,5,54,0,0,671, + 672,5,195,0,0,672,674,5,227,0,0,673,671,1,0,0,0,673,674,1,0,0,0, + 674,675,1,0,0,0,675,676,5,300,0,0,676,679,3,246,123,0,677,678,5, + 47,0,0,678,680,3,172,86,0,679,677,1,0,0,0,679,680,1,0,0,0,680,683, + 1,0,0,0,681,682,5,247,0,0,682,684,7,1,0,0,683,681,1,0,0,0,683,684, + 1,0,0,0,684,687,1,0,0,0,685,686,5,305,0,0,686,688,3,32,16,0,687, + 685,1,0,0,0,687,688,1,0,0,0,688,689,1,0,0,0,689,690,5,28,0,0,690, + 691,3,18,9,0,691,1229,1,0,0,0,692,693,5,223,0,0,693,694,5,168,0, + 0,694,695,5,300,0,0,695,1229,3,244,122,0,696,697,5,84,0,0,697,698, + 5,168,0,0,698,701,5,300,0,0,699,700,5,120,0,0,700,702,5,95,0,0,701, + 699,1,0,0,0,701,702,1,0,0,0,702,703,1,0,0,0,703,1229,3,244,122,0, + 704,705,5,23,0,0,705,706,5,168,0,0,706,709,5,300,0,0,707,708,5,120, + 0,0,708,710,5,95,0,0,709,707,1,0,0,0,709,710,1,0,0,0,710,711,1,0, + 0,0,711,712,3,244,122,0,712,713,5,224,0,0,713,714,5,270,0,0,714, + 715,3,246,123,0,715,1229,1,0,0,0,716,717,5,23,0,0,717,718,5,168, + 0,0,718,719,5,300,0,0,719,720,3,244,122,0,720,721,5,252,0,0,721, + 722,5,217,0,0,722,723,3,34,17,0,723,1229,1,0,0,0,724,725,5,84,0, + 0,725,728,5,300,0,0,726,727,5,120,0,0,727,729,5,95,0,0,728,726,1, + 0,0,0,728,729,1,0,0,0,729,730,1,0,0,0,730,1229,3,244,122,0,731,732, + 5,23,0,0,732,733,5,300,0,0,733,734,3,244,122,0,734,735,5,224,0,0, + 735,736,5,270,0,0,736,737,3,246,123,0,737,1229,1,0,0,0,738,739,5, + 23,0,0,739,740,5,300,0,0,740,741,3,244,122,0,741,742,5,252,0,0,742, + 743,5,31,0,0,743,744,3,272,136,0,744,1229,1,0,0,0,745,746,5,37,0, + 0,746,747,3,256,128,0,747,756,5,1,0,0,748,753,3,214,107,0,749,750, + 5,3,0,0,750,752,3,214,107,0,751,749,1,0,0,0,752,755,1,0,0,0,753, + 751,1,0,0,0,753,754,1,0,0,0,754,757,1,0,0,0,755,753,1,0,0,0,756, + 748,1,0,0,0,756,757,1,0,0,0,757,758,1,0,0,0,758,759,5,2,0,0,759, + 1229,1,0,0,0,760,763,5,54,0,0,761,762,5,195,0,0,762,764,5,227,0, + 0,763,761,1,0,0,0,763,764,1,0,0,0,764,765,1,0,0,0,765,1229,3,220, + 110,0,766,767,5,84,0,0,767,770,5,108,0,0,768,769,5,120,0,0,769,771, + 5,95,0,0,770,768,1,0,0,0,770,771,1,0,0,0,771,772,1,0,0,0,772,773, + 3,256,128,0,773,782,5,1,0,0,774,779,3,222,111,0,775,776,5,3,0,0, + 776,778,3,222,111,0,777,775,1,0,0,0,778,781,1,0,0,0,779,777,1,0, + 0,0,779,780,1,0,0,0,780,783,1,0,0,0,781,779,1,0,0,0,782,774,1,0, + 0,0,782,783,1,0,0,0,783,784,1,0,0,0,784,785,5,2,0,0,785,1229,1,0, + 0,0,786,787,5,54,0,0,787,788,5,236,0,0,788,792,3,278,139,0,789,790, + 5,305,0,0,790,791,5,20,0,0,791,793,3,270,135,0,792,789,1,0,0,0,792, + 793,1,0,0,0,793,796,1,0,0,0,794,795,5,123,0,0,795,797,3,252,126, + 0,796,794,1,0,0,0,796,797,1,0,0,0,797,1229,1,0,0,0,798,799,5,84, + 0,0,799,800,5,236,0,0,800,803,3,278,139,0,801,802,5,123,0,0,802, + 804,3,252,126,0,803,801,1,0,0,0,803,804,1,0,0,0,804,1229,1,0,0,0, + 805,806,5,111,0,0,806,811,3,276,138,0,807,808,5,3,0,0,808,810,3, + 276,138,0,809,807,1,0,0,0,810,813,1,0,0,0,811,809,1,0,0,0,811,812, + 1,0,0,0,812,814,1,0,0,0,813,811,1,0,0,0,814,815,5,270,0,0,815,820, + 3,272,136,0,816,817,5,3,0,0,817,819,3,272,136,0,818,816,1,0,0,0, + 819,822,1,0,0,0,820,818,1,0,0,0,820,821,1,0,0,0,821,826,1,0,0,0, + 822,820,1,0,0,0,823,824,5,305,0,0,824,825,5,20,0,0,825,827,5,194, + 0,0,826,823,1,0,0,0,826,827,1,0,0,0,827,831,1,0,0,0,828,829,5,112, + 0,0,829,830,5,36,0,0,830,832,3,270,135,0,831,828,1,0,0,0,831,832, + 1,0,0,0,832,835,1,0,0,0,833,834,5,123,0,0,834,836,3,252,126,0,835, + 833,1,0,0,0,835,836,1,0,0,0,836,1229,1,0,0,0,837,848,5,111,0,0,838, + 843,3,276,138,0,839,840,5,3,0,0,840,842,3,276,138,0,841,839,1,0, + 0,0,842,845,1,0,0,0,843,841,1,0,0,0,843,844,1,0,0,0,844,849,1,0, + 0,0,845,843,1,0,0,0,846,847,5,22,0,0,847,849,5,216,0,0,848,838,1, + 0,0,0,848,846,1,0,0,0,849,850,1,0,0,0,850,851,5,191,0,0,851,852, + 3,236,118,0,852,853,5,270,0,0,853,857,3,272,136,0,854,855,5,305, + 0,0,855,856,5,111,0,0,856,858,5,194,0,0,857,854,1,0,0,0,857,858, + 1,0,0,0,858,1229,1,0,0,0,859,863,5,234,0,0,860,861,5,20,0,0,861, + 862,5,194,0,0,862,864,5,104,0,0,863,860,1,0,0,0,863,864,1,0,0,0, + 864,865,1,0,0,0,865,870,3,276,138,0,866,867,5,3,0,0,867,869,3,276, + 138,0,868,866,1,0,0,0,869,872,1,0,0,0,870,868,1,0,0,0,870,871,1, + 0,0,0,871,873,1,0,0,0,872,870,1,0,0,0,873,874,5,106,0,0,874,879, + 3,272,136,0,875,876,5,3,0,0,876,878,3,272,136,0,877,875,1,0,0,0, + 878,881,1,0,0,0,879,877,1,0,0,0,879,880,1,0,0,0,880,885,1,0,0,0, + 881,879,1,0,0,0,882,883,5,112,0,0,883,884,5,36,0,0,884,886,3,270, + 135,0,885,882,1,0,0,0,885,886,1,0,0,0,886,889,1,0,0,0,887,888,5, + 123,0,0,888,890,3,252,126,0,889,887,1,0,0,0,889,890,1,0,0,0,890, + 1229,1,0,0,0,891,895,5,234,0,0,892,893,5,111,0,0,893,894,5,194,0, + 0,894,896,5,104,0,0,895,892,1,0,0,0,895,896,1,0,0,0,896,907,1,0, + 0,0,897,902,3,276,138,0,898,899,5,3,0,0,899,901,3,276,138,0,900, + 898,1,0,0,0,901,904,1,0,0,0,902,900,1,0,0,0,902,903,1,0,0,0,903, + 908,1,0,0,0,904,902,1,0,0,0,905,906,5,22,0,0,906,908,5,216,0,0,907, + 897,1,0,0,0,907,905,1,0,0,0,908,909,1,0,0,0,909,910,5,191,0,0,910, + 911,3,236,118,0,911,912,5,106,0,0,912,913,3,272,136,0,913,1229,1, + 0,0,0,914,925,5,75,0,0,915,920,3,234,117,0,916,917,5,3,0,0,917,919, + 3,234,117,0,918,916,1,0,0,0,919,922,1,0,0,0,920,918,1,0,0,0,920, + 921,1,0,0,0,921,926,1,0,0,0,922,920,1,0,0,0,923,924,5,22,0,0,924, + 926,5,216,0,0,925,915,1,0,0,0,925,923,1,0,0,0,926,927,1,0,0,0,927, + 928,5,191,0,0,928,929,3,236,118,0,929,930,5,270,0,0,930,931,3,272, + 136,0,931,1229,1,0,0,0,932,933,5,252,0,0,933,937,5,236,0,0,934,938, + 5,22,0,0,935,938,5,181,0,0,936,938,3,278,139,0,937,934,1,0,0,0,937, + 935,1,0,0,0,937,936,1,0,0,0,938,941,1,0,0,0,939,940,5,123,0,0,940, + 942,3,252,126,0,941,939,1,0,0,0,941,942,1,0,0,0,942,1229,1,0,0,0, + 943,944,5,254,0,0,944,947,5,113,0,0,945,946,5,191,0,0,946,948,3, + 236,118,0,947,945,1,0,0,0,947,948,1,0,0,0,948,1229,1,0,0,0,949,961, + 5,96,0,0,950,951,5,1,0,0,951,956,3,210,105,0,952,953,5,3,0,0,953, + 955,3,210,105,0,954,952,1,0,0,0,955,958,1,0,0,0,956,954,1,0,0,0, + 956,957,1,0,0,0,957,959,1,0,0,0,958,956,1,0,0,0,959,960,5,2,0,0, + 960,962,1,0,0,0,961,950,1,0,0,0,961,962,1,0,0,0,962,963,1,0,0,0, + 963,1229,3,16,8,0,964,965,5,96,0,0,965,967,5,24,0,0,966,968,5,298, + 0,0,967,966,1,0,0,0,967,968,1,0,0,0,968,969,1,0,0,0,969,1229,3,16, + 8,0,970,971,5,254,0,0,971,972,5,54,0,0,972,973,5,261,0,0,973,1229, + 3,240,120,0,974,975,5,254,0,0,975,976,5,54,0,0,976,977,5,244,0,0, + 977,1229,3,248,124,0,978,979,5,254,0,0,979,980,5,54,0,0,980,981, + 5,300,0,0,981,1229,3,244,122,0,982,983,5,254,0,0,983,984,5,54,0, + 0,984,985,5,168,0,0,985,986,5,300,0,0,986,1229,3,244,122,0,987,988, + 5,254,0,0,988,989,5,54,0,0,989,990,5,108,0,0,990,1229,3,256,128, + 0,991,992,5,254,0,0,992,995,5,262,0,0,993,994,7,2,0,0,994,996,3, + 248,124,0,995,993,1,0,0,0,995,996,1,0,0,0,996,1003,1,0,0,0,997,998, + 5,155,0,0,998,1001,3,172,86,0,999,1000,5,91,0,0,1000,1002,3,172, + 86,0,1001,999,1,0,0,0,1001,1002,1,0,0,0,1002,1004,1,0,0,0,1003,997, + 1,0,0,0,1003,1004,1,0,0,0,1004,1229,1,0,0,0,1005,1006,5,254,0,0, + 1006,1009,5,245,0,0,1007,1008,7,2,0,0,1008,1010,3,252,126,0,1009, + 1007,1,0,0,0,1009,1010,1,0,0,0,1010,1017,1,0,0,0,1011,1012,5,155, + 0,0,1012,1015,3,172,86,0,1013,1014,5,91,0,0,1014,1016,3,172,86,0, + 1015,1013,1,0,0,0,1015,1016,1,0,0,0,1016,1018,1,0,0,0,1017,1011, + 1,0,0,0,1017,1018,1,0,0,0,1018,1229,1,0,0,0,1019,1020,5,254,0,0, + 1020,1027,5,43,0,0,1021,1022,5,155,0,0,1022,1025,3,172,86,0,1023, + 1024,5,91,0,0,1024,1026,3,172,86,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, + 1229,1,0,0,0,1029,1030,5,254,0,0,1030,1031,5,46,0,0,1031,1032,7, + 2,0,0,1032,1039,3,238,119,0,1033,1034,5,155,0,0,1034,1037,3,172, + 86,0,1035,1036,5,91,0,0,1036,1038,3,172,86,0,1037,1035,1,0,0,0,1037, + 1038,1,0,0,0,1038,1040,1,0,0,0,1039,1033,1,0,0,0,1039,1040,1,0,0, + 0,1040,1229,1,0,0,0,1041,1042,5,254,0,0,1042,1043,5,257,0,0,1043, + 1044,5,104,0,0,1044,1229,3,238,119,0,1045,1046,5,254,0,0,1046,1047, + 5,257,0,0,1047,1048,5,104,0,0,1048,1049,5,1,0,0,1049,1050,3,18,9, + 0,1050,1051,5,2,0,0,1051,1229,1,0,0,0,1052,1054,5,254,0,0,1053,1055, + 5,57,0,0,1054,1053,1,0,0,0,1054,1055,1,0,0,0,1055,1056,1,0,0,0,1056, + 1059,5,237,0,0,1057,1058,7,2,0,0,1058,1060,3,252,126,0,1059,1057, + 1,0,0,0,1059,1060,1,0,0,0,1060,1229,1,0,0,0,1061,1062,5,254,0,0, + 1062,1063,5,236,0,0,1063,1066,5,113,0,0,1064,1065,7,2,0,0,1065,1067, + 3,252,126,0,1066,1064,1,0,0,0,1066,1067,1,0,0,0,1067,1229,1,0,0, + 0,1068,1069,5,77,0,0,1069,1229,3,238,119,0,1070,1071,5,76,0,0,1071, + 1229,3,238,119,0,1072,1073,5,254,0,0,1073,1076,5,109,0,0,1074,1075, + 7,2,0,0,1075,1077,3,248,124,0,1076,1074,1,0,0,0,1076,1077,1,0,0, + 0,1077,1084,1,0,0,0,1078,1079,5,155,0,0,1079,1082,3,172,86,0,1080, + 1081,5,91,0,0,1081,1083,3,172,86,0,1082,1080,1,0,0,0,1082,1083,1, + 0,0,0,1083,1085,1,0,0,0,1084,1078,1,0,0,0,1084,1085,1,0,0,0,1085, + 1229,1,0,0,0,1086,1087,5,254,0,0,1087,1094,5,251,0,0,1088,1089,5, + 155,0,0,1089,1092,3,172,86,0,1090,1091,5,91,0,0,1091,1093,3,172, + 86,0,1092,1090,1,0,0,0,1092,1093,1,0,0,0,1093,1095,1,0,0,0,1094, + 1088,1,0,0,0,1094,1095,1,0,0,0,1095,1229,1,0,0,0,1096,1097,5,252, + 0,0,1097,1098,5,251,0,0,1098,1101,5,31,0,0,1099,1102,3,278,139,0, + 1100,1102,3,172,86,0,1101,1099,1,0,0,0,1101,1100,1,0,0,0,1102,1229, + 1,0,0,0,1103,1104,5,228,0,0,1104,1105,5,251,0,0,1105,1229,5,31,0, + 0,1106,1107,5,252,0,0,1107,1108,5,251,0,0,1108,1109,3,268,134,0, + 1109,1110,5,313,0,0,1110,1111,3,144,72,0,1111,1229,1,0,0,0,1112, + 1113,5,228,0,0,1113,1114,5,251,0,0,1114,1229,3,268,134,0,1115,1116, + 5,256,0,0,1116,1125,5,272,0,0,1117,1122,3,212,106,0,1118,1119,5, + 3,0,0,1119,1121,3,212,106,0,1120,1118,1,0,0,0,1121,1124,1,0,0,0, + 1122,1120,1,0,0,0,1122,1123,1,0,0,0,1123,1126,1,0,0,0,1124,1122, + 1,0,0,0,1125,1117,1,0,0,0,1125,1126,1,0,0,0,1126,1229,1,0,0,0,1127, + 1129,5,48,0,0,1128,1130,5,308,0,0,1129,1128,1,0,0,0,1129,1130,1, + 0,0,0,1130,1229,1,0,0,0,1131,1133,5,238,0,0,1132,1134,5,308,0,0, + 1133,1132,1,0,0,0,1133,1134,1,0,0,0,1134,1229,1,0,0,0,1135,1136, + 5,215,0,0,1136,1137,3,278,139,0,1137,1138,5,106,0,0,1138,1139,3, + 16,8,0,1139,1229,1,0,0,0,1140,1141,5,69,0,0,1141,1142,5,215,0,0, + 1142,1229,3,278,139,0,1143,1144,5,94,0,0,1144,1154,3,278,139,0,1145, + 1146,5,291,0,0,1146,1151,3,144,72,0,1147,1148,5,3,0,0,1148,1150, + 3,144,72,0,1149,1147,1,0,0,0,1150,1153,1,0,0,0,1151,1149,1,0,0,0, + 1151,1152,1,0,0,0,1152,1155,1,0,0,0,1153,1151,1,0,0,0,1154,1145, + 1,0,0,0,1154,1155,1,0,0,0,1155,1229,1,0,0,0,1156,1157,5,94,0,0,1157, + 1158,5,122,0,0,1158,1168,3,172,86,0,1159,1160,5,291,0,0,1160,1165, + 3,144,72,0,1161,1162,5,3,0,0,1162,1164,3,144,72,0,1163,1161,1,0, + 0,0,1164,1167,1,0,0,0,1165,1163,1,0,0,0,1165,1166,1,0,0,0,1166,1169, + 1,0,0,0,1167,1165,1,0,0,0,1168,1159,1,0,0,0,1168,1169,1,0,0,0,1169, + 1229,1,0,0,0,1170,1171,5,77,0,0,1171,1172,5,127,0,0,1172,1229,3, + 278,139,0,1173,1174,5,77,0,0,1174,1175,5,199,0,0,1175,1229,3,278, + 139,0,1176,1177,5,252,0,0,1177,1178,5,206,0,0,1178,1229,3,218,109, + 0,1179,1180,5,252,0,0,1180,1181,5,268,0,0,1181,1184,5,312,0,0,1182, + 1185,5,158,0,0,1183,1185,3,144,72,0,1184,1182,1,0,0,0,1184,1183, + 1,0,0,0,1185,1229,1,0,0,0,1186,1187,5,288,0,0,1187,1188,3,240,120, + 0,1188,1189,5,252,0,0,1189,1194,3,208,104,0,1190,1191,5,3,0,0,1191, + 1193,3,208,104,0,1192,1190,1,0,0,0,1193,1196,1,0,0,0,1194,1192,1, + 0,0,0,1194,1195,1,0,0,0,1195,1198,1,0,0,0,1196,1194,1,0,0,0,1197, + 1199,3,48,24,0,1198,1197,1,0,0,0,1198,1199,1,0,0,0,1199,1229,1,0, + 0,0,1200,1201,5,170,0,0,1201,1202,5,131,0,0,1202,1207,3,240,120, + 0,1203,1205,5,28,0,0,1204,1203,1,0,0,0,1204,1205,1,0,0,0,1205,1206, + 1,0,0,0,1206,1208,3,278,139,0,1207,1204,1,0,0,0,1207,1208,1,0,0, + 0,1208,1209,1,0,0,0,1209,1210,5,291,0,0,1210,1211,3,82,41,0,1211, + 1212,5,191,0,0,1212,1214,3,144,72,0,1213,1215,3,192,96,0,1214,1213, + 1,0,0,0,1215,1216,1,0,0,0,1216,1214,1,0,0,0,1216,1217,1,0,0,0,1217, + 1229,1,0,0,0,1218,1219,5,254,0,0,1219,1220,5,47,0,0,1220,1221,5, + 191,0,0,1221,1222,5,261,0,0,1222,1229,3,240,120,0,1223,1224,5,254, + 0,0,1224,1225,5,47,0,0,1225,1226,5,191,0,0,1226,1227,5,45,0,0,1227, + 1229,3,260,130,0,1228,317,1,0,0,0,1228,318,1,0,0,0,1228,320,1,0, + 0,0,1228,342,1,0,0,0,1228,352,1,0,0,0,1228,368,1,0,0,0,1228,378, + 1,0,0,0,1228,385,1,0,0,0,1228,392,1,0,0,0,1228,430,1,0,0,0,1228, + 460,1,0,0,0,1228,467,1,0,0,0,1228,475,1,0,0,0,1228,481,1,0,0,0,1228, + 484,1,0,0,0,1228,493,1,0,0,0,1228,502,1,0,0,0,1228,511,1,0,0,0,1228, + 522,1,0,0,0,1228,538,1,0,0,0,1228,555,1,0,0,0,1228,570,1,0,0,0,1228, + 585,1,0,0,0,1228,599,1,0,0,0,1228,606,1,0,0,0,1228,613,1,0,0,0,1228, + 635,1,0,0,0,1228,641,1,0,0,0,1228,670,1,0,0,0,1228,692,1,0,0,0,1228, + 696,1,0,0,0,1228,704,1,0,0,0,1228,716,1,0,0,0,1228,724,1,0,0,0,1228, + 731,1,0,0,0,1228,738,1,0,0,0,1228,745,1,0,0,0,1228,760,1,0,0,0,1228, + 766,1,0,0,0,1228,786,1,0,0,0,1228,798,1,0,0,0,1228,805,1,0,0,0,1228, + 837,1,0,0,0,1228,859,1,0,0,0,1228,891,1,0,0,0,1228,914,1,0,0,0,1228, + 932,1,0,0,0,1228,943,1,0,0,0,1228,949,1,0,0,0,1228,964,1,0,0,0,1228, + 970,1,0,0,0,1228,974,1,0,0,0,1228,978,1,0,0,0,1228,982,1,0,0,0,1228, + 987,1,0,0,0,1228,991,1,0,0,0,1228,1005,1,0,0,0,1228,1019,1,0,0,0, + 1228,1029,1,0,0,0,1228,1041,1,0,0,0,1228,1045,1,0,0,0,1228,1052, + 1,0,0,0,1228,1061,1,0,0,0,1228,1068,1,0,0,0,1228,1070,1,0,0,0,1228, + 1072,1,0,0,0,1228,1086,1,0,0,0,1228,1096,1,0,0,0,1228,1103,1,0,0, + 0,1228,1106,1,0,0,0,1228,1112,1,0,0,0,1228,1115,1,0,0,0,1228,1127, + 1,0,0,0,1228,1131,1,0,0,0,1228,1135,1,0,0,0,1228,1140,1,0,0,0,1228, + 1143,1,0,0,0,1228,1156,1,0,0,0,1228,1170,1,0,0,0,1228,1173,1,0,0, + 0,1228,1176,1,0,0,0,1228,1179,1,0,0,0,1228,1186,1,0,0,0,1228,1200, + 1,0,0,0,1228,1218,1,0,0,0,1228,1223,1,0,0,0,1229,17,1,0,0,0,1230, + 1232,3,20,10,0,1231,1230,1,0,0,0,1231,1232,1,0,0,0,1232,1233,1,0, + 0,0,1233,1234,3,22,11,0,1234,19,1,0,0,0,1235,1236,5,305,0,0,1236, + 1241,3,220,110,0,1237,1238,5,3,0,0,1238,1240,3,220,110,0,1239,1237, + 1,0,0,0,1240,1243,1,0,0,0,1241,1239,1,0,0,0,1241,1242,1,0,0,0,1242, + 21,1,0,0,0,1243,1241,1,0,0,0,1244,1246,3,24,12,0,1245,1244,1,0,0, + 0,1245,1246,1,0,0,0,1246,1247,1,0,0,0,1247,1248,3,38,19,0,1248,23, + 1,0,0,0,1249,1251,5,305,0,0,1250,1252,5,222,0,0,1251,1250,1,0,0, + 0,1251,1252,1,0,0,0,1252,1253,1,0,0,0,1253,1258,3,68,34,0,1254,1255, + 5,3,0,0,1255,1257,3,68,34,0,1256,1254,1,0,0,0,1257,1260,1,0,0,0, + 1258,1256,1,0,0,0,1258,1259,1,0,0,0,1259,25,1,0,0,0,1260,1258,1, + 0,0,0,1261,1264,3,28,14,0,1262,1264,3,30,15,0,1263,1261,1,0,0,0, + 1263,1262,1,0,0,0,1264,27,1,0,0,0,1265,1266,3,266,133,0,1266,1269, + 3,182,91,0,1267,1268,5,183,0,0,1268,1270,5,184,0,0,1269,1267,1,0, + 0,0,1269,1270,1,0,0,0,1270,1273,1,0,0,0,1271,1272,5,47,0,0,1272, + 1274,3,172,86,0,1273,1271,1,0,0,0,1273,1274,1,0,0,0,1274,1277,1, + 0,0,0,1275,1276,5,305,0,0,1276,1278,3,32,16,0,1277,1275,1,0,0,0, + 1277,1278,1,0,0,0,1278,29,1,0,0,0,1279,1280,5,155,0,0,1280,1283, + 3,240,120,0,1281,1282,7,3,0,0,1282,1284,5,217,0,0,1283,1281,1,0, + 0,0,1283,1284,1,0,0,0,1284,31,1,0,0,0,1285,1286,5,1,0,0,1286,1287, + 3,34,17,0,1287,1288,5,2,0,0,1288,33,1,0,0,0,1289,1294,3,36,18,0, + 1290,1291,5,3,0,0,1291,1293,3,36,18,0,1292,1290,1,0,0,0,1293,1296, + 1,0,0,0,1294,1292,1,0,0,0,1294,1295,1,0,0,0,1295,35,1,0,0,0,1296, + 1294,1,0,0,0,1297,1298,3,278,139,0,1298,1301,5,313,0,0,1299,1302, + 5,71,0,0,1300,1302,3,144,72,0,1301,1299,1,0,0,0,1301,1300,1,0,0, + 0,1302,37,1,0,0,0,1303,1314,3,40,20,0,1304,1305,5,196,0,0,1305,1306, + 5,36,0,0,1306,1311,3,44,22,0,1307,1308,5,3,0,0,1308,1310,3,44,22, + 0,1309,1307,1,0,0,0,1310,1313,1,0,0,0,1311,1309,1,0,0,0,1311,1312, + 1,0,0,0,1312,1315,1,0,0,0,1313,1311,1,0,0,0,1314,1304,1,0,0,0,1314, + 1315,1,0,0,0,1315,1321,1,0,0,0,1316,1317,5,189,0,0,1317,1319,7,4, + 0,0,1318,1320,7,5,0,0,1319,1318,1,0,0,0,1319,1320,1,0,0,0,1320,1322, + 1,0,0,0,1321,1316,1,0,0,0,1321,1322,1,0,0,0,1322,1336,1,0,0,0,1323, + 1324,5,156,0,0,1324,1337,7,6,0,0,1325,1326,5,99,0,0,1326,1328,7, + 7,0,0,1327,1329,7,4,0,0,1328,1327,1,0,0,0,1328,1329,1,0,0,0,1329, + 1330,1,0,0,0,1330,1334,7,5,0,0,1331,1335,5,193,0,0,1332,1333,5,305, + 0,0,1333,1335,5,267,0,0,1334,1331,1,0,0,0,1334,1332,1,0,0,0,1335, + 1337,1,0,0,0,1336,1323,1,0,0,0,1336,1325,1,0,0,0,1336,1337,1,0,0, + 0,1337,39,1,0,0,0,1338,1339,6,20,-1,0,1339,1340,3,42,21,0,1340,1355, + 1,0,0,0,1341,1342,10,2,0,0,1342,1344,5,129,0,0,1343,1345,3,70,35, + 0,1344,1343,1,0,0,0,1344,1345,1,0,0,0,1345,1346,1,0,0,0,1346,1354, + 3,40,20,3,1347,1348,10,1,0,0,1348,1350,7,8,0,0,1349,1351,3,70,35, + 0,1350,1349,1,0,0,0,1350,1351,1,0,0,0,1351,1352,1,0,0,0,1352,1354, + 3,40,20,2,1353,1341,1,0,0,0,1353,1347,1,0,0,0,1354,1357,1,0,0,0, + 1355,1353,1,0,0,0,1355,1356,1,0,0,0,1356,41,1,0,0,0,1357,1355,1, + 0,0,0,1358,1375,3,46,23,0,1359,1360,5,261,0,0,1360,1375,3,240,120, + 0,1361,1362,5,297,0,0,1362,1367,3,144,72,0,1363,1364,5,3,0,0,1364, + 1366,3,144,72,0,1365,1363,1,0,0,0,1366,1369,1,0,0,0,1367,1365,1, + 0,0,0,1367,1368,1,0,0,0,1368,1375,1,0,0,0,1369,1367,1,0,0,0,1370, + 1371,5,1,0,0,1371,1372,3,38,19,0,1372,1373,5,2,0,0,1373,1375,1,0, + 0,0,1374,1358,1,0,0,0,1374,1359,1,0,0,0,1374,1361,1,0,0,0,1374,1370, + 1,0,0,0,1375,43,1,0,0,0,1376,1379,3,260,130,0,1377,1379,3,144,72, + 0,1378,1376,1,0,0,0,1378,1377,1,0,0,0,1379,1381,1,0,0,0,1380,1382, + 7,9,0,0,1381,1380,1,0,0,0,1381,1382,1,0,0,0,1382,1385,1,0,0,0,1383, + 1384,5,186,0,0,1384,1386,7,10,0,0,1385,1383,1,0,0,0,1385,1386,1, + 0,0,0,1386,45,1,0,0,0,1387,1389,5,249,0,0,1388,1390,3,70,35,0,1389, + 1388,1,0,0,0,1389,1390,1,0,0,0,1390,1391,1,0,0,0,1391,1401,3,52, + 26,0,1392,1393,5,106,0,0,1393,1398,3,82,41,0,1394,1395,5,3,0,0,1395, + 1397,3,82,41,0,1396,1394,1,0,0,0,1397,1400,1,0,0,0,1398,1396,1,0, + 0,0,1398,1399,1,0,0,0,1399,1402,1,0,0,0,1400,1398,1,0,0,0,1401,1392, + 1,0,0,0,1401,1402,1,0,0,0,1402,1404,1,0,0,0,1403,1405,3,48,24,0, + 1404,1403,1,0,0,0,1404,1405,1,0,0,0,1405,1409,1,0,0,0,1406,1407, + 5,115,0,0,1407,1408,5,36,0,0,1408,1410,3,54,27,0,1409,1406,1,0,0, + 0,1409,1410,1,0,0,0,1410,1412,1,0,0,0,1411,1413,3,50,25,0,1412,1411, + 1,0,0,0,1412,1413,1,0,0,0,1413,1423,1,0,0,0,1414,1415,5,304,0,0, + 1415,1420,3,64,32,0,1416,1417,5,3,0,0,1417,1419,3,64,32,0,1418,1416, + 1,0,0,0,1419,1422,1,0,0,0,1420,1418,1,0,0,0,1420,1421,1,0,0,0,1421, + 1424,1,0,0,0,1422,1420,1,0,0,0,1423,1414,1,0,0,0,1423,1424,1,0,0, + 0,1424,47,1,0,0,0,1425,1426,5,302,0,0,1426,1427,3,146,73,0,1427, + 49,1,0,0,0,1428,1429,5,118,0,0,1429,1430,3,146,73,0,1430,51,1,0, + 0,0,1431,1436,3,72,36,0,1432,1433,5,3,0,0,1433,1435,3,72,36,0,1434, + 1432,1,0,0,0,1435,1438,1,0,0,0,1436,1434,1,0,0,0,1436,1437,1,0,0, + 0,1437,53,1,0,0,0,1438,1436,1,0,0,0,1439,1441,3,70,35,0,1440,1439, + 1,0,0,0,1440,1441,1,0,0,0,1441,1442,1,0,0,0,1442,1447,3,58,29,0, + 1443,1444,5,3,0,0,1444,1446,3,58,29,0,1445,1443,1,0,0,0,1446,1449, + 1,0,0,0,1447,1445,1,0,0,0,1447,1448,1,0,0,0,1448,55,1,0,0,0,1449, + 1447,1,0,0,0,1450,1455,3,144,72,0,1451,1452,5,3,0,0,1452,1454,3, + 144,72,0,1453,1451,1,0,0,0,1454,1457,1,0,0,0,1455,1453,1,0,0,0,1455, + 1456,1,0,0,0,1456,57,1,0,0,0,1457,1455,1,0,0,0,1458,1499,3,60,30, + 0,1459,1460,5,239,0,0,1460,1469,5,1,0,0,1461,1466,3,60,30,0,1462, + 1463,5,3,0,0,1463,1465,3,60,30,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, + 1499,5,2,0,0,1472,1473,5,56,0,0,1473,1482,5,1,0,0,1474,1479,3,60, + 30,0,1475,1476,5,3,0,0,1476,1478,3,60,30,0,1477,1475,1,0,0,0,1478, + 1481,1,0,0,0,1479,1477,1,0,0,0,1479,1480,1,0,0,0,1480,1483,1,0,0, + 0,1481,1479,1,0,0,0,1482,1474,1,0,0,0,1482,1483,1,0,0,0,1483,1484, + 1,0,0,0,1484,1499,5,2,0,0,1485,1486,5,116,0,0,1486,1487,5,253,0, + 0,1487,1488,5,1,0,0,1488,1493,3,60,30,0,1489,1490,5,3,0,0,1490,1492, + 3,60,30,0,1491,1489,1,0,0,0,1492,1495,1,0,0,0,1493,1491,1,0,0,0, + 1493,1494,1,0,0,0,1494,1496,1,0,0,0,1495,1493,1,0,0,0,1496,1497, + 5,2,0,0,1497,1499,1,0,0,0,1498,1458,1,0,0,0,1498,1459,1,0,0,0,1498, + 1472,1,0,0,0,1498,1485,1,0,0,0,1499,59,1,0,0,0,1500,1509,5,1,0,0, + 1501,1506,3,62,31,0,1502,1503,5,3,0,0,1503,1505,3,62,31,0,1504,1502, + 1,0,0,0,1505,1508,1,0,0,0,1506,1504,1,0,0,0,1506,1507,1,0,0,0,1507, + 1510,1,0,0,0,1508,1506,1,0,0,0,1509,1501,1,0,0,0,1509,1510,1,0,0, + 0,1510,1511,1,0,0,0,1511,1514,5,2,0,0,1512,1514,3,62,31,0,1513,1500, + 1,0,0,0,1513,1512,1,0,0,0,1514,61,1,0,0,0,1515,1518,3,260,130,0, + 1516,1518,3,144,72,0,1517,1515,1,0,0,0,1517,1516,1,0,0,0,1518,63, + 1,0,0,0,1519,1520,3,278,139,0,1520,1521,5,28,0,0,1521,1522,5,1,0, + 0,1522,1523,3,66,33,0,1523,1524,5,2,0,0,1524,65,1,0,0,0,1525,1527, + 3,278,139,0,1526,1525,1,0,0,0,1526,1527,1,0,0,0,1527,1531,1,0,0, + 0,1528,1529,5,202,0,0,1529,1530,5,36,0,0,1530,1532,3,56,28,0,1531, + 1528,1,0,0,0,1531,1532,1,0,0,0,1532,1543,1,0,0,0,1533,1534,5,196, + 0,0,1534,1535,5,36,0,0,1535,1540,3,44,22,0,1536,1537,5,3,0,0,1537, + 1539,3,44,22,0,1538,1536,1,0,0,0,1539,1542,1,0,0,0,1540,1538,1,0, + 0,0,1540,1541,1,0,0,0,1541,1544,1,0,0,0,1542,1540,1,0,0,0,1543,1533, + 1,0,0,0,1543,1544,1,0,0,0,1544,1546,1,0,0,0,1545,1547,3,196,98,0, + 1546,1545,1,0,0,0,1546,1547,1,0,0,0,1547,67,1,0,0,0,1548,1550,3, + 278,139,0,1549,1551,3,114,57,0,1550,1549,1,0,0,0,1550,1551,1,0,0, + 0,1551,1552,1,0,0,0,1552,1553,5,28,0,0,1553,1554,5,1,0,0,1554,1555, + 3,22,11,0,1555,1556,5,2,0,0,1556,69,1,0,0,0,1557,1558,7,11,0,0,1558, + 71,1,0,0,0,1559,1562,3,78,39,0,1560,1562,3,80,40,0,1561,1559,1,0, + 0,0,1561,1560,1,0,0,0,1562,1567,1,0,0,0,1563,1565,5,28,0,0,1564, + 1563,1,0,0,0,1564,1565,1,0,0,0,1565,1566,1,0,0,0,1566,1568,3,278, + 139,0,1567,1564,1,0,0,0,1567,1568,1,0,0,0,1568,1576,1,0,0,0,1569, + 1572,3,76,38,0,1570,1571,5,28,0,0,1571,1573,3,114,57,0,1572,1570, + 1,0,0,0,1572,1573,1,0,0,0,1573,1576,1,0,0,0,1574,1576,3,74,37,0, + 1575,1561,1,0,0,0,1575,1569,1,0,0,0,1575,1574,1,0,0,0,1576,73,1, + 0,0,0,1577,1578,5,321,0,0,1578,75,1,0,0,0,1579,1580,3,152,76,0,1580, + 1581,5,4,0,0,1581,1582,5,321,0,0,1582,77,1,0,0,0,1583,1584,3,260, + 130,0,1584,79,1,0,0,0,1585,1586,3,144,72,0,1586,81,1,0,0,0,1587, + 1588,6,41,-1,0,1588,1589,3,92,46,0,1589,1608,1,0,0,0,1590,1604,10, + 2,0,0,1591,1592,5,55,0,0,1592,1593,5,137,0,0,1593,1605,3,92,46,0, + 1594,1595,3,84,42,0,1595,1596,5,137,0,0,1596,1597,3,82,41,0,1597, + 1598,3,86,43,0,1598,1605,1,0,0,0,1599,1600,5,173,0,0,1600,1601,3, + 84,42,0,1601,1602,5,137,0,0,1602,1603,3,92,46,0,1603,1605,1,0,0, + 0,1604,1591,1,0,0,0,1604,1594,1,0,0,0,1604,1599,1,0,0,0,1605,1607, + 1,0,0,0,1606,1590,1,0,0,0,1607,1610,1,0,0,0,1608,1606,1,0,0,0,1608, + 1609,1,0,0,0,1609,83,1,0,0,0,1610,1608,1,0,0,0,1611,1613,5,126,0, + 0,1612,1611,1,0,0,0,1612,1613,1,0,0,0,1613,1627,1,0,0,0,1614,1616, + 5,153,0,0,1615,1617,5,198,0,0,1616,1615,1,0,0,0,1616,1617,1,0,0, + 0,1617,1627,1,0,0,0,1618,1620,5,235,0,0,1619,1621,5,198,0,0,1620, + 1619,1,0,0,0,1620,1621,1,0,0,0,1621,1627,1,0,0,0,1622,1624,5,107, + 0,0,1623,1625,5,198,0,0,1624,1623,1,0,0,0,1624,1625,1,0,0,0,1625, + 1627,1,0,0,0,1626,1612,1,0,0,0,1626,1614,1,0,0,0,1626,1618,1,0,0, + 0,1626,1622,1,0,0,0,1627,85,1,0,0,0,1628,1632,5,191,0,0,1629,1633, + 3,88,44,0,1630,1631,4,43,3,0,1631,1633,3,146,73,0,1632,1629,1,0, + 0,0,1632,1630,1,0,0,0,1633,1647,1,0,0,0,1634,1635,5,291,0,0,1635, + 1636,5,1,0,0,1636,1641,3,278,139,0,1637,1638,5,3,0,0,1638,1640,3, + 278,139,0,1639,1637,1,0,0,0,1640,1643,1,0,0,0,1641,1639,1,0,0,0, + 1641,1642,1,0,0,0,1642,1644,1,0,0,0,1643,1641,1,0,0,0,1644,1645, + 5,2,0,0,1645,1647,1,0,0,0,1646,1628,1,0,0,0,1646,1634,1,0,0,0,1647, + 87,1,0,0,0,1648,1649,3,90,45,0,1649,1650,5,313,0,0,1650,1651,3,90, + 45,0,1651,89,1,0,0,0,1652,1653,3,278,139,0,1653,1654,5,342,0,0,1654, + 1655,4,45,4,0,1655,1656,3,262,131,0,1656,1659,1,0,0,0,1657,1659, + 3,264,132,0,1658,1652,1,0,0,0,1658,1657,1,0,0,0,1659,91,1,0,0,0, + 1660,1667,3,96,48,0,1661,1662,5,263,0,0,1662,1663,7,12,0,0,1663, + 1664,5,1,0,0,1664,1665,3,144,72,0,1665,1666,5,2,0,0,1666,1668,1, + 0,0,0,1667,1661,1,0,0,0,1667,1668,1,0,0,0,1668,93,1,0,0,0,1669,1681, + 5,90,0,0,1670,1672,5,275,0,0,1671,1673,3,172,86,0,1672,1671,1,0, + 0,0,1672,1673,1,0,0,0,1673,1678,1,0,0,0,1674,1675,5,305,0,0,1675, + 1679,5,52,0,0,1676,1677,5,307,0,0,1677,1679,5,52,0,0,1678,1674,1, + 0,0,0,1678,1676,1,0,0,0,1679,1681,1,0,0,0,1680,1669,1,0,0,0,1680, + 1670,1,0,0,0,1681,95,1,0,0,0,1682,1758,3,108,54,0,1683,1684,5,167, + 0,0,1684,1688,5,1,0,0,1685,1686,5,202,0,0,1686,1687,5,36,0,0,1687, + 1689,3,56,28,0,1688,1685,1,0,0,0,1688,1689,1,0,0,0,1689,1700,1,0, + 0,0,1690,1691,5,196,0,0,1691,1692,5,36,0,0,1692,1697,3,44,22,0,1693, + 1694,5,3,0,0,1694,1696,3,44,22,0,1695,1693,1,0,0,0,1696,1699,1,0, + 0,0,1697,1695,1,0,0,0,1697,1698,1,0,0,0,1698,1701,1,0,0,0,1699,1697, + 1,0,0,0,1700,1690,1,0,0,0,1700,1701,1,0,0,0,1701,1711,1,0,0,0,1702, + 1703,5,169,0,0,1703,1708,3,98,49,0,1704,1705,5,3,0,0,1705,1707,3, + 98,49,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,1714,1,0,0,0,1713,1715,3,100,50,0,1714, + 1713,1,0,0,0,1714,1715,1,0,0,0,1715,1719,1,0,0,0,1716,1717,5,21, + 0,0,1717,1718,5,164,0,0,1718,1720,3,102,51,0,1719,1716,1,0,0,0,1719, + 1720,1,0,0,0,1720,1722,1,0,0,0,1721,1723,7,13,0,0,1722,1721,1,0, + 0,0,1722,1723,1,0,0,0,1723,1724,1,0,0,0,1724,1725,5,207,0,0,1725, + 1726,5,1,0,0,1726,1727,3,202,101,0,1727,1737,5,2,0,0,1728,1729,5, + 258,0,0,1729,1734,3,104,52,0,1730,1731,5,3,0,0,1731,1733,3,104,52, + 0,1732,1730,1,0,0,0,1733,1736,1,0,0,0,1734,1732,1,0,0,0,1734,1735, + 1,0,0,0,1735,1738,1,0,0,0,1736,1734,1,0,0,0,1737,1728,1,0,0,0,1737, + 1738,1,0,0,0,1738,1739,1,0,0,0,1739,1740,5,72,0,0,1740,1745,3,106, + 53,0,1741,1742,5,3,0,0,1742,1744,3,106,53,0,1743,1741,1,0,0,0,1744, + 1747,1,0,0,0,1745,1743,1,0,0,0,1745,1746,1,0,0,0,1746,1748,1,0,0, + 0,1747,1745,1,0,0,0,1748,1756,5,2,0,0,1749,1751,5,28,0,0,1750,1749, + 1,0,0,0,1750,1751,1,0,0,0,1751,1752,1,0,0,0,1752,1754,3,278,139, + 0,1753,1755,3,114,57,0,1754,1753,1,0,0,0,1754,1755,1,0,0,0,1755, + 1757,1,0,0,0,1756,1750,1,0,0,0,1756,1757,1,0,0,0,1757,1759,1,0,0, + 0,1758,1683,1,0,0,0,1758,1759,1,0,0,0,1759,97,1,0,0,0,1760,1761, + 3,144,72,0,1761,1762,5,28,0,0,1762,1763,3,278,139,0,1763,99,1,0, + 0,0,1764,1765,5,192,0,0,1765,1766,5,240,0,0,1766,1767,5,208,0,0, + 1767,1784,5,164,0,0,1768,1769,5,22,0,0,1769,1770,5,241,0,0,1770, + 1771,5,208,0,0,1771,1781,5,164,0,0,1772,1773,5,254,0,0,1773,1774, + 5,86,0,0,1774,1782,5,166,0,0,1775,1776,5,190,0,0,1776,1777,5,86, + 0,0,1777,1782,5,166,0,0,1778,1779,5,305,0,0,1779,1780,5,285,0,0, + 1780,1782,5,241,0,0,1781,1772,1,0,0,0,1781,1775,1,0,0,0,1781,1778, + 1,0,0,0,1781,1782,1,0,0,0,1782,1784,1,0,0,0,1783,1764,1,0,0,0,1783, + 1768,1,0,0,0,1784,101,1,0,0,0,1785,1786,5,5,0,0,1786,1787,5,270, + 0,0,1787,1788,5,175,0,0,1788,1805,5,240,0,0,1789,1790,5,5,0,0,1790, + 1791,5,205,0,0,1791,1792,5,149,0,0,1792,1805,5,240,0,0,1793,1794, + 5,5,0,0,1794,1795,5,270,0,0,1795,1796,5,102,0,0,1796,1805,3,278, + 139,0,1797,1798,5,5,0,0,1798,1799,5,270,0,0,1799,1800,5,149,0,0, + 1800,1805,3,278,139,0,1801,1802,5,5,0,0,1802,1803,5,270,0,0,1803, + 1805,3,278,139,0,1804,1785,1,0,0,0,1804,1789,1,0,0,0,1804,1793,1, + 0,0,0,1804,1797,1,0,0,0,1804,1801,1,0,0,0,1805,103,1,0,0,0,1806, + 1807,3,278,139,0,1807,1808,5,313,0,0,1808,1809,5,1,0,0,1809,1814, + 3,278,139,0,1810,1811,5,3,0,0,1811,1813,3,278,139,0,1812,1810,1, + 0,0,0,1813,1816,1,0,0,0,1814,1812,1,0,0,0,1814,1815,1,0,0,0,1815, + 1817,1,0,0,0,1816,1814,1,0,0,0,1817,1818,5,2,0,0,1818,105,1,0,0, + 0,1819,1820,3,278,139,0,1820,1821,5,28,0,0,1821,1822,3,144,72,0, + 1822,107,1,0,0,0,1823,1831,3,116,58,0,1824,1826,5,28,0,0,1825,1824, + 1,0,0,0,1825,1826,1,0,0,0,1826,1827,1,0,0,0,1827,1829,3,278,139, + 0,1828,1830,3,114,57,0,1829,1828,1,0,0,0,1829,1830,1,0,0,0,1830, + 1832,1,0,0,0,1831,1825,1,0,0,0,1831,1832,1,0,0,0,1832,109,1,0,0, + 0,1833,1834,5,1,0,0,1834,1839,3,266,133,0,1835,1836,5,3,0,0,1836, + 1838,3,266,133,0,1837,1835,1,0,0,0,1838,1841,1,0,0,0,1839,1837,1, + 0,0,0,1839,1840,1,0,0,0,1840,1842,1,0,0,0,1841,1839,1,0,0,0,1842, + 1843,5,2,0,0,1843,111,1,0,0,0,1844,1845,5,1,0,0,1845,1850,3,260, + 130,0,1846,1847,5,3,0,0,1847,1849,3,260,130,0,1848,1846,1,0,0,0, + 1849,1852,1,0,0,0,1850,1848,1,0,0,0,1850,1851,1,0,0,0,1851,1853, + 1,0,0,0,1852,1850,1,0,0,0,1853,1854,5,2,0,0,1854,113,1,0,0,0,1855, + 1856,5,1,0,0,1856,1861,3,278,139,0,1857,1858,5,3,0,0,1858,1860,3, + 278,139,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,115,1,0,0,0,1866,1872,3,238,119,0,1867,1868,5,104,0, + 0,1868,1869,7,14,0,0,1869,1870,5,28,0,0,1870,1871,5,188,0,0,1871, + 1873,3,150,75,0,1872,1867,1,0,0,0,1872,1873,1,0,0,0,1873,1880,1, + 0,0,0,1874,1880,3,118,59,0,1875,1876,5,1,0,0,1876,1877,3,82,41,0, + 1877,1878,5,2,0,0,1878,1880,1,0,0,0,1879,1866,1,0,0,0,1879,1874, + 1,0,0,0,1879,1875,1,0,0,0,1880,117,1,0,0,0,1881,1882,5,1,0,0,1882, + 1883,3,22,11,0,1883,1884,5,2,0,0,1884,1945,1,0,0,0,1885,1886,5,286, + 0,0,1886,1887,5,1,0,0,1887,1892,3,144,72,0,1888,1889,5,3,0,0,1889, + 1891,3,144,72,0,1890,1888,1,0,0,0,1891,1894,1,0,0,0,1892,1890,1, + 0,0,0,1892,1893,1,0,0,0,1893,1895,1,0,0,0,1894,1892,1,0,0,0,1895, + 1898,5,2,0,0,1896,1897,5,305,0,0,1897,1899,5,197,0,0,1898,1896,1, + 0,0,0,1898,1899,1,0,0,0,1899,1945,1,0,0,0,1900,1901,5,150,0,0,1901, + 1902,5,1,0,0,1902,1903,3,22,11,0,1903,1904,5,2,0,0,1904,1945,1,0, + 0,0,1905,1906,5,261,0,0,1906,1907,5,1,0,0,1907,1908,3,130,65,0,1908, + 1909,5,2,0,0,1909,1945,1,0,0,0,1910,1911,5,143,0,0,1911,1912,5,1, + 0,0,1912,1913,3,154,77,0,1913,1914,5,46,0,0,1914,1915,5,1,0,0,1915, + 1920,3,120,60,0,1916,1917,5,3,0,0,1917,1919,3,120,60,0,1918,1916, + 1,0,0,0,1919,1922,1,0,0,0,1920,1918,1,0,0,0,1920,1921,1,0,0,0,1921, + 1923,1,0,0,0,1922,1920,1,0,0,0,1923,1935,5,2,0,0,1924,1925,5,211, + 0,0,1925,1926,5,1,0,0,1926,1927,3,122,61,0,1927,1928,5,2,0,0,1928, + 1936,1,0,0,0,1929,1930,5,211,0,0,1930,1931,5,71,0,0,1931,1932,5, + 1,0,0,1932,1933,3,128,64,0,1933,1934,5,2,0,0,1934,1936,1,0,0,0,1935, + 1924,1,0,0,0,1935,1929,1,0,0,0,1935,1936,1,0,0,0,1936,1940,1,0,0, + 0,1937,1938,7,15,0,0,1938,1939,5,191,0,0,1939,1941,5,90,0,0,1940, + 1937,1,0,0,0,1940,1941,1,0,0,0,1941,1942,1,0,0,0,1942,1943,5,2,0, + 0,1943,1945,1,0,0,0,1944,1881,1,0,0,0,1944,1885,1,0,0,0,1944,1900, + 1,0,0,0,1944,1905,1,0,0,0,1944,1910,1,0,0,0,1945,119,1,0,0,0,1946, + 1947,3,278,139,0,1947,1948,5,104,0,0,1948,1949,5,197,0,0,1949,2024, + 1,0,0,0,1950,1951,3,278,139,0,1951,1954,3,182,91,0,1952,1953,5,206, + 0,0,1953,1955,3,172,86,0,1954,1952,1,0,0,0,1954,1955,1,0,0,0,1955, + 1960,1,0,0,0,1956,1957,3,162,81,0,1957,1958,5,191,0,0,1958,1959, + 5,86,0,0,1959,1961,1,0,0,0,1960,1956,1,0,0,0,1960,1961,1,0,0,0,1961, + 1966,1,0,0,0,1962,1963,3,162,81,0,1963,1964,5,191,0,0,1964,1965, + 5,90,0,0,1965,1967,1,0,0,0,1966,1962,1,0,0,0,1966,1967,1,0,0,0,1967, + 2024,1,0,0,0,1968,1969,3,278,139,0,1969,1970,3,182,91,0,1970,1971, + 5,105,0,0,1971,1974,3,158,79,0,1972,1973,5,206,0,0,1973,1975,3,172, + 86,0,1974,1972,1,0,0,0,1974,1975,1,0,0,0,1975,1979,1,0,0,0,1976, + 1977,3,164,82,0,1977,1978,5,309,0,0,1978,1980,1,0,0,0,1979,1976, + 1,0,0,0,1979,1980,1,0,0,0,1980,1988,1,0,0,0,1981,1982,7,16,0,0,1982, + 1986,5,219,0,0,1983,1984,5,191,0,0,1984,1985,5,243,0,0,1985,1987, + 5,265,0,0,1986,1983,1,0,0,0,1986,1987,1,0,0,0,1987,1989,1,0,0,0, + 1988,1981,1,0,0,0,1988,1989,1,0,0,0,1989,1994,1,0,0,0,1990,1991, + 3,166,83,0,1991,1992,5,191,0,0,1992,1993,5,86,0,0,1993,1995,1,0, + 0,0,1994,1990,1,0,0,0,1994,1995,1,0,0,0,1995,2000,1,0,0,0,1996,1997, + 3,166,83,0,1997,1998,5,191,0,0,1998,1999,5,90,0,0,1999,2001,1,0, + 0,0,2000,1996,1,0,0,0,2000,2001,1,0,0,0,2001,2024,1,0,0,0,2002,2004, + 5,174,0,0,2003,2005,5,206,0,0,2004,2003,1,0,0,0,2004,2005,1,0,0, + 0,2005,2006,1,0,0,0,2006,2009,3,172,86,0,2007,2008,5,28,0,0,2008, + 2010,3,278,139,0,2009,2007,1,0,0,0,2009,2010,1,0,0,0,2010,2011,1, + 0,0,0,2011,2012,5,46,0,0,2012,2013,5,1,0,0,2013,2018,3,120,60,0, + 2014,2015,5,3,0,0,2015,2017,3,120,60,0,2016,2014,1,0,0,0,2017,2020, + 1,0,0,0,2018,2016,1,0,0,0,2018,2019,1,0,0,0,2019,2021,1,0,0,0,2020, + 2018,1,0,0,0,2021,2022,5,2,0,0,2022,2024,1,0,0,0,2023,1946,1,0,0, + 0,2023,1950,1,0,0,0,2023,1968,1,0,0,0,2023,2002,1,0,0,0,2024,121, + 1,0,0,0,2025,2051,3,124,62,0,2026,2027,3,124,62,0,2027,2028,7,17, + 0,0,2028,2029,3,126,63,0,2029,2051,1,0,0,0,2030,2031,3,126,63,0, + 2031,2032,5,282,0,0,2032,2037,3,126,63,0,2033,2034,5,282,0,0,2034, + 2036,3,126,63,0,2035,2033,1,0,0,0,2036,2039,1,0,0,0,2037,2035,1, + 0,0,0,2037,2038,1,0,0,0,2038,2051,1,0,0,0,2039,2037,1,0,0,0,2040, + 2041,3,126,63,0,2041,2042,5,55,0,0,2042,2047,3,126,63,0,2043,2044, + 5,55,0,0,2044,2046,3,126,63,0,2045,2043,1,0,0,0,2046,2049,1,0,0, + 0,2047,2045,1,0,0,0,2047,2048,1,0,0,0,2048,2051,1,0,0,0,2049,2047, + 1,0,0,0,2050,2025,1,0,0,0,2050,2026,1,0,0,0,2050,2030,1,0,0,0,2050, + 2040,1,0,0,0,2051,123,1,0,0,0,2052,2053,3,278,139,0,2053,125,1,0, + 0,0,2054,2060,3,124,62,0,2055,2056,5,1,0,0,2056,2057,3,122,61,0, + 2057,2058,5,2,0,0,2058,2060,1,0,0,0,2059,2054,1,0,0,0,2059,2055, + 1,0,0,0,2060,127,1,0,0,0,2061,2064,7,17,0,0,2062,2063,5,3,0,0,2063, + 2065,7,18,0,0,2064,2062,1,0,0,0,2064,2065,1,0,0,0,2065,2072,1,0, + 0,0,2066,2069,7,18,0,0,2067,2068,5,3,0,0,2068,2070,7,17,0,0,2069, + 2067,1,0,0,0,2069,2070,1,0,0,0,2070,2072,1,0,0,0,2071,2061,1,0,0, + 0,2071,2066,1,0,0,0,2072,129,1,0,0,0,2073,2074,3,256,128,0,2074, + 2083,5,1,0,0,2075,2080,3,132,66,0,2076,2077,5,3,0,0,2077,2079,3, + 132,66,0,2078,2076,1,0,0,0,2079,2082,1,0,0,0,2080,2078,1,0,0,0,2080, + 2081,1,0,0,0,2081,2084,1,0,0,0,2082,2080,1,0,0,0,2083,2075,1,0,0, + 0,2083,2084,1,0,0,0,2084,2094,1,0,0,0,2085,2086,5,53,0,0,2086,2091, + 3,142,71,0,2087,2088,5,3,0,0,2088,2090,3,142,71,0,2089,2087,1,0, + 0,0,2090,2093,1,0,0,0,2091,2089,1,0,0,0,2091,2092,1,0,0,0,2092,2095, + 1,0,0,0,2093,2091,1,0,0,0,2094,2085,1,0,0,0,2094,2095,1,0,0,0,2095, + 2096,1,0,0,0,2096,2097,5,2,0,0,2097,131,1,0,0,0,2098,2099,3,278, + 139,0,2099,2100,5,6,0,0,2100,2102,1,0,0,0,2101,2098,1,0,0,0,2101, + 2102,1,0,0,0,2102,2106,1,0,0,0,2103,2107,3,134,67,0,2104,2107,3, + 138,69,0,2105,2107,3,144,72,0,2106,2103,1,0,0,0,2106,2104,1,0,0, + 0,2106,2105,1,0,0,0,2107,133,1,0,0,0,2108,2119,3,136,68,0,2109,2110, + 5,202,0,0,2110,2117,5,36,0,0,2111,2113,5,1,0,0,2112,2114,3,56,28, + 0,2113,2112,1,0,0,0,2113,2114,1,0,0,0,2114,2115,1,0,0,0,2115,2118, + 5,2,0,0,2116,2118,3,144,72,0,2117,2111,1,0,0,0,2117,2116,1,0,0,0, + 2118,2120,1,0,0,0,2119,2109,1,0,0,0,2119,2120,1,0,0,0,2120,2127, + 1,0,0,0,2121,2122,5,218,0,0,2122,2123,5,301,0,0,2123,2128,5,86,0, + 0,2124,2125,5,145,0,0,2125,2126,5,301,0,0,2126,2128,5,86,0,0,2127, + 2121,1,0,0,0,2127,2124,1,0,0,0,2127,2128,1,0,0,0,2128,2145,1,0,0, + 0,2129,2130,5,196,0,0,2130,2143,5,36,0,0,2131,2132,5,1,0,0,2132, + 2137,3,44,22,0,2133,2134,5,3,0,0,2134,2136,3,44,22,0,2135,2133,1, + 0,0,0,2136,2139,1,0,0,0,2137,2135,1,0,0,0,2137,2138,1,0,0,0,2138, + 2140,1,0,0,0,2139,2137,1,0,0,0,2140,2141,5,2,0,0,2141,2144,1,0,0, + 0,2142,2144,3,44,22,0,2143,2131,1,0,0,0,2143,2142,1,0,0,0,2144,2146, + 1,0,0,0,2145,2129,1,0,0,0,2145,2146,1,0,0,0,2146,135,1,0,0,0,2147, + 2148,5,261,0,0,2148,2149,5,1,0,0,2149,2150,3,240,120,0,2150,2158, + 5,2,0,0,2151,2153,5,28,0,0,2152,2151,1,0,0,0,2152,2153,1,0,0,0,2153, + 2154,1,0,0,0,2154,2156,3,278,139,0,2155,2157,3,114,57,0,2156,2155, + 1,0,0,0,2156,2157,1,0,0,0,2157,2159,1,0,0,0,2158,2152,1,0,0,0,2158, + 2159,1,0,0,0,2159,2174,1,0,0,0,2160,2161,5,261,0,0,2161,2162,5,1, + 0,0,2162,2163,3,22,11,0,2163,2171,5,2,0,0,2164,2166,5,28,0,0,2165, + 2164,1,0,0,0,2165,2166,1,0,0,0,2166,2167,1,0,0,0,2167,2169,3,278, + 139,0,2168,2170,3,114,57,0,2169,2168,1,0,0,0,2169,2170,1,0,0,0,2170, + 2172,1,0,0,0,2171,2165,1,0,0,0,2171,2172,1,0,0,0,2172,2174,1,0,0, + 0,2173,2147,1,0,0,0,2173,2160,1,0,0,0,2174,137,1,0,0,0,2175,2176, + 5,78,0,0,2176,2177,5,1,0,0,2177,2182,3,140,70,0,2178,2179,5,3,0, + 0,2179,2181,3,140,70,0,2180,2178,1,0,0,0,2181,2184,1,0,0,0,2182, + 2180,1,0,0,0,2182,2183,1,0,0,0,2183,2185,1,0,0,0,2184,2182,1,0,0, + 0,2185,2186,5,2,0,0,2186,2194,1,0,0,0,2187,2188,5,41,0,0,2188,2189, + 5,1,0,0,2189,2190,5,184,0,0,2190,2191,5,28,0,0,2191,2192,5,78,0, + 0,2192,2194,5,2,0,0,2193,2175,1,0,0,0,2193,2187,1,0,0,0,2194,139, + 1,0,0,0,2195,2197,3,278,139,0,2196,2198,3,182,91,0,2197,2196,1,0, + 0,0,2197,2198,1,0,0,0,2198,141,1,0,0,0,2199,2200,5,1,0,0,2200,2201, + 3,268,134,0,2201,2202,5,3,0,0,2202,2207,3,268,134,0,2203,2204,5, + 3,0,0,2204,2206,3,268,134,0,2205,2203,1,0,0,0,2206,2209,1,0,0,0, + 2207,2205,1,0,0,0,2207,2208,1,0,0,0,2208,2210,1,0,0,0,2209,2207, + 1,0,0,0,2210,2211,5,2,0,0,2211,143,1,0,0,0,2212,2213,3,146,73,0, + 2213,145,1,0,0,0,2214,2215,6,73,-1,0,2215,2217,3,150,75,0,2216,2218, + 3,148,74,0,2217,2216,1,0,0,0,2217,2218,1,0,0,0,2218,2222,1,0,0,0, + 2219,2220,5,183,0,0,2220,2222,3,146,73,3,2221,2214,1,0,0,0,2221, + 2219,1,0,0,0,2222,2231,1,0,0,0,2223,2224,10,2,0,0,2224,2225,5,25, + 0,0,2225,2230,3,146,73,3,2226,2227,10,1,0,0,2227,2228,5,195,0,0, + 2228,2230,3,146,73,2,2229,2223,1,0,0,0,2229,2226,1,0,0,0,2230,2233, + 1,0,0,0,2231,2229,1,0,0,0,2231,2232,1,0,0,0,2232,147,1,0,0,0,2233, + 2231,1,0,0,0,2234,2235,3,174,87,0,2235,2236,3,150,75,0,2236,2296, + 1,0,0,0,2237,2238,3,174,87,0,2238,2239,3,176,88,0,2239,2240,5,1, + 0,0,2240,2241,3,22,11,0,2241,2242,5,2,0,0,2242,2296,1,0,0,0,2243, + 2245,5,183,0,0,2244,2243,1,0,0,0,2244,2245,1,0,0,0,2245,2246,1,0, + 0,0,2246,2247,5,34,0,0,2247,2248,3,150,75,0,2248,2249,5,25,0,0,2249, + 2250,3,150,75,0,2250,2296,1,0,0,0,2251,2253,5,183,0,0,2252,2251, + 1,0,0,0,2252,2253,1,0,0,0,2253,2254,1,0,0,0,2254,2255,5,123,0,0, + 2255,2256,5,1,0,0,2256,2261,3,144,72,0,2257,2258,5,3,0,0,2258,2260, + 3,144,72,0,2259,2257,1,0,0,0,2260,2263,1,0,0,0,2261,2259,1,0,0,0, + 2261,2262,1,0,0,0,2262,2264,1,0,0,0,2263,2261,1,0,0,0,2264,2265, + 5,2,0,0,2265,2296,1,0,0,0,2266,2268,5,183,0,0,2267,2266,1,0,0,0, + 2267,2268,1,0,0,0,2268,2269,1,0,0,0,2269,2270,5,123,0,0,2270,2271, + 5,1,0,0,2271,2272,3,22,11,0,2272,2273,5,2,0,0,2273,2296,1,0,0,0, + 2274,2276,5,183,0,0,2275,2274,1,0,0,0,2275,2276,1,0,0,0,2276,2277, + 1,0,0,0,2277,2278,5,155,0,0,2278,2281,3,150,75,0,2279,2280,5,91, + 0,0,2280,2282,3,150,75,0,2281,2279,1,0,0,0,2281,2282,1,0,0,0,2282, + 2296,1,0,0,0,2283,2285,5,134,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,2296,5,184,0,0,2288, + 2290,5,134,0,0,2289,2291,5,183,0,0,2290,2289,1,0,0,0,2290,2291,1, + 0,0,0,2291,2292,1,0,0,0,2292,2293,5,80,0,0,2293,2294,5,106,0,0,2294, + 2296,3,150,75,0,2295,2234,1,0,0,0,2295,2237,1,0,0,0,2295,2244,1, + 0,0,0,2295,2252,1,0,0,0,2295,2267,1,0,0,0,2295,2275,1,0,0,0,2295, + 2283,1,0,0,0,2295,2288,1,0,0,0,2296,149,1,0,0,0,2297,2298,6,75,-1, + 0,2298,2302,3,152,76,0,2299,2300,7,19,0,0,2300,2302,3,150,75,4,2301, + 2297,1,0,0,0,2301,2299,1,0,0,0,2302,2324,1,0,0,0,2303,2304,10,3, + 0,0,2304,2305,7,20,0,0,2305,2323,3,150,75,4,2306,2307,10,2,0,0,2307, + 2308,7,19,0,0,2308,2323,3,150,75,3,2309,2310,10,1,0,0,2310,2311, + 5,324,0,0,2311,2323,3,150,75,2,2312,2313,10,5,0,0,2313,2320,5,30, + 0,0,2314,2315,5,268,0,0,2315,2316,5,312,0,0,2316,2321,3,178,89,0, + 2317,2318,5,268,0,0,2318,2319,5,312,0,0,2319,2321,3,172,86,0,2320, + 2314,1,0,0,0,2320,2317,1,0,0,0,2321,2323,1,0,0,0,2322,2303,1,0,0, + 0,2322,2306,1,0,0,0,2322,2309,1,0,0,0,2322,2312,1,0,0,0,2323,2326, + 1,0,0,0,2324,2322,1,0,0,0,2324,2325,1,0,0,0,2325,151,1,0,0,0,2326, + 2324,1,0,0,0,2327,2328,6,76,-1,0,2328,2795,5,184,0,0,2329,2795,3, + 178,89,0,2330,2331,3,278,139,0,2331,2332,3,172,86,0,2332,2795,1, + 0,0,0,2333,2334,5,83,0,0,2334,2335,5,214,0,0,2335,2795,3,172,86, + 0,2336,2795,3,280,140,0,2337,2795,7,21,0,0,2338,2795,3,172,86,0, + 2339,2795,5,329,0,0,2340,2795,5,325,0,0,2341,2342,5,212,0,0,2342, + 2343,5,1,0,0,2343,2344,3,150,75,0,2344,2345,5,123,0,0,2345,2346, + 3,150,75,0,2346,2347,5,2,0,0,2347,2795,1,0,0,0,2348,2349,5,1,0,0, + 2349,2352,3,144,72,0,2350,2351,5,3,0,0,2351,2353,3,144,72,0,2352, + 2350,1,0,0,0,2353,2354,1,0,0,0,2354,2352,1,0,0,0,2354,2355,1,0,0, + 0,2355,2356,1,0,0,0,2356,2357,5,2,0,0,2357,2795,1,0,0,0,2358,2359, + 5,240,0,0,2359,2360,5,1,0,0,2360,2365,3,144,72,0,2361,2362,5,3,0, + 0,2362,2364,3,144,72,0,2363,2361,1,0,0,0,2364,2367,1,0,0,0,2365, + 2363,1,0,0,0,2365,2366,1,0,0,0,2366,2368,1,0,0,0,2367,2365,1,0,0, + 0,2368,2369,5,2,0,0,2369,2795,1,0,0,0,2370,2371,5,157,0,0,2371,2373, + 5,1,0,0,2372,2374,3,70,35,0,2373,2372,1,0,0,0,2373,2374,1,0,0,0, + 2374,2375,1,0,0,0,2375,2378,3,144,72,0,2376,2377,5,3,0,0,2377,2379, + 3,172,86,0,2378,2376,1,0,0,0,2378,2379,1,0,0,0,2379,2383,1,0,0,0, + 2380,2381,5,191,0,0,2381,2382,5,201,0,0,2382,2384,3,94,47,0,2383, + 2380,1,0,0,0,2383,2384,1,0,0,0,2384,2385,1,0,0,0,2385,2386,5,2,0, + 0,2386,2387,5,306,0,0,2387,2388,5,115,0,0,2388,2389,5,1,0,0,2389, + 2390,5,196,0,0,2390,2391,5,36,0,0,2391,2396,3,44,22,0,2392,2393, + 5,3,0,0,2393,2395,3,44,22,0,2394,2392,1,0,0,0,2395,2398,1,0,0,0, + 2396,2394,1,0,0,0,2396,2397,1,0,0,0,2397,2399,1,0,0,0,2398,2396, + 1,0,0,0,2399,2400,5,2,0,0,2400,2402,1,0,0,0,2401,2403,3,190,95,0, + 2402,2401,1,0,0,0,2402,2403,1,0,0,0,2403,2795,1,0,0,0,2404,2406, + 3,170,85,0,2405,2404,1,0,0,0,2405,2406,1,0,0,0,2406,2407,1,0,0,0, + 2407,2408,3,256,128,0,2408,2412,5,1,0,0,2409,2410,3,278,139,0,2410, + 2411,5,4,0,0,2411,2413,1,0,0,0,2412,2409,1,0,0,0,2412,2413,1,0,0, + 0,2413,2414,1,0,0,0,2414,2415,5,321,0,0,2415,2417,5,2,0,0,2416,2418, + 3,190,95,0,2417,2416,1,0,0,0,2417,2418,1,0,0,0,2418,2420,1,0,0,0, + 2419,2421,3,194,97,0,2420,2419,1,0,0,0,2420,2421,1,0,0,0,2421,2795, + 1,0,0,0,2422,2424,3,170,85,0,2423,2422,1,0,0,0,2423,2424,1,0,0,0, + 2424,2425,1,0,0,0,2425,2426,3,256,128,0,2426,2438,5,1,0,0,2427,2429, + 3,70,35,0,2428,2427,1,0,0,0,2428,2429,1,0,0,0,2429,2430,1,0,0,0, + 2430,2435,3,144,72,0,2431,2432,5,3,0,0,2432,2434,3,144,72,0,2433, + 2431,1,0,0,0,2434,2437,1,0,0,0,2435,2433,1,0,0,0,2435,2436,1,0,0, + 0,2436,2439,1,0,0,0,2437,2435,1,0,0,0,2438,2428,1,0,0,0,2438,2439, + 1,0,0,0,2439,2450,1,0,0,0,2440,2441,5,196,0,0,2441,2442,5,36,0,0, + 2442,2447,3,44,22,0,2443,2444,5,3,0,0,2444,2446,3,44,22,0,2445,2443, + 1,0,0,0,2446,2449,1,0,0,0,2447,2445,1,0,0,0,2447,2448,1,0,0,0,2448, + 2451,1,0,0,0,2449,2447,1,0,0,0,2450,2440,1,0,0,0,2450,2451,1,0,0, + 0,2451,2452,1,0,0,0,2452,2454,5,2,0,0,2453,2455,3,190,95,0,2454, + 2453,1,0,0,0,2454,2455,1,0,0,0,2455,2463,1,0,0,0,2456,2457,5,121, + 0,0,2457,2461,5,186,0,0,2458,2459,5,229,0,0,2459,2461,5,186,0,0, + 2460,2456,1,0,0,0,2460,2458,1,0,0,0,2460,2461,1,0,0,0,2461,2462, + 1,0,0,0,2462,2464,3,194,97,0,2463,2460,1,0,0,0,2463,2464,1,0,0,0, + 2464,2795,1,0,0,0,2465,2466,3,278,139,0,2466,2467,3,194,97,0,2467, + 2795,1,0,0,0,2468,2469,3,278,139,0,2469,2470,5,7,0,0,2470,2471,3, + 144,72,0,2471,2795,1,0,0,0,2472,2481,5,1,0,0,2473,2478,3,278,139, + 0,2474,2475,5,3,0,0,2475,2477,3,278,139,0,2476,2474,1,0,0,0,2477, + 2480,1,0,0,0,2478,2476,1,0,0,0,2478,2479,1,0,0,0,2479,2482,1,0,0, + 0,2480,2478,1,0,0,0,2481,2473,1,0,0,0,2481,2482,1,0,0,0,2482,2483, + 1,0,0,0,2483,2484,5,2,0,0,2484,2485,5,7,0,0,2485,2795,3,144,72,0, + 2486,2487,5,1,0,0,2487,2488,3,22,11,0,2488,2489,5,2,0,0,2489,2795, + 1,0,0,0,2490,2491,5,95,0,0,2491,2492,5,1,0,0,2492,2493,3,22,11,0, + 2493,2494,5,2,0,0,2494,2795,1,0,0,0,2495,2496,5,40,0,0,2496,2498, + 3,144,72,0,2497,2499,3,188,94,0,2498,2497,1,0,0,0,2499,2500,1,0, + 0,0,2500,2498,1,0,0,0,2500,2501,1,0,0,0,2501,2504,1,0,0,0,2502,2503, + 5,85,0,0,2503,2505,3,144,72,0,2504,2502,1,0,0,0,2504,2505,1,0,0, + 0,2505,2506,1,0,0,0,2506,2507,5,89,0,0,2507,2795,1,0,0,0,2508,2510, + 5,40,0,0,2509,2511,3,188,94,0,2510,2509,1,0,0,0,2511,2512,1,0,0, + 0,2512,2510,1,0,0,0,2512,2513,1,0,0,0,2513,2516,1,0,0,0,2514,2515, + 5,85,0,0,2515,2517,3,144,72,0,2516,2514,1,0,0,0,2516,2517,1,0,0, + 0,2517,2518,1,0,0,0,2518,2519,5,89,0,0,2519,2795,1,0,0,0,2520,2521, + 5,41,0,0,2521,2522,5,1,0,0,2522,2523,3,144,72,0,2523,2524,5,28,0, + 0,2524,2525,3,182,91,0,2525,2526,5,2,0,0,2526,2795,1,0,0,0,2527, + 2528,5,276,0,0,2528,2529,5,1,0,0,2529,2530,3,144,72,0,2530,2531, + 5,28,0,0,2531,2532,3,182,91,0,2532,2533,5,2,0,0,2533,2795,1,0,0, + 0,2534,2535,5,27,0,0,2535,2544,5,8,0,0,2536,2541,3,144,72,0,2537, + 2538,5,3,0,0,2538,2540,3,144,72,0,2539,2537,1,0,0,0,2540,2543,1, + 0,0,0,2541,2539,1,0,0,0,2541,2542,1,0,0,0,2542,2545,1,0,0,0,2543, + 2541,1,0,0,0,2544,2536,1,0,0,0,2544,2545,1,0,0,0,2545,2546,1,0,0, + 0,2546,2795,5,9,0,0,2547,2795,3,264,132,0,2548,2795,5,59,0,0,2549, + 2553,5,63,0,0,2550,2551,5,1,0,0,2551,2552,5,330,0,0,2552,2554,5, + 2,0,0,2553,2550,1,0,0,0,2553,2554,1,0,0,0,2554,2795,1,0,0,0,2555, + 2559,5,64,0,0,2556,2557,5,1,0,0,2557,2558,5,330,0,0,2558,2560,5, + 2,0,0,2559,2556,1,0,0,0,2559,2560,1,0,0,0,2560,2795,1,0,0,0,2561, + 2565,5,159,0,0,2562,2563,5,1,0,0,2563,2564,5,330,0,0,2564,2566,5, + 2,0,0,2565,2562,1,0,0,0,2565,2566,1,0,0,0,2566,2795,1,0,0,0,2567, + 2571,5,160,0,0,2568,2569,5,1,0,0,2569,2570,5,330,0,0,2570,2572,5, + 2,0,0,2571,2568,1,0,0,0,2571,2572,1,0,0,0,2572,2795,1,0,0,0,2573, + 2795,5,65,0,0,2574,2795,5,58,0,0,2575,2795,5,62,0,0,2576,2795,5, + 60,0,0,2577,2578,5,273,0,0,2578,2586,5,1,0,0,2579,2581,7,22,0,0, + 2580,2579,1,0,0,0,2580,2581,1,0,0,0,2581,2583,1,0,0,0,2582,2584, + 3,150,75,0,2583,2582,1,0,0,0,2583,2584,1,0,0,0,2584,2585,1,0,0,0, + 2585,2587,5,106,0,0,2586,2580,1,0,0,0,2586,2587,1,0,0,0,2587,2588, + 1,0,0,0,2588,2589,3,150,75,0,2589,2590,5,2,0,0,2590,2795,1,0,0,0, + 2591,2592,5,273,0,0,2592,2593,5,1,0,0,2593,2594,3,150,75,0,2594, + 2595,5,3,0,0,2595,2596,3,150,75,0,2596,2597,5,2,0,0,2597,2795,1, + 0,0,0,2598,2599,5,259,0,0,2599,2600,5,1,0,0,2600,2601,3,150,75,0, + 2601,2602,5,106,0,0,2602,2605,3,150,75,0,2603,2604,5,104,0,0,2604, + 2606,3,150,75,0,2605,2603,1,0,0,0,2605,2606,1,0,0,0,2606,2607,1, + 0,0,0,2607,2608,5,2,0,0,2608,2795,1,0,0,0,2609,2610,5,182,0,0,2610, + 2611,5,1,0,0,2611,2614,3,150,75,0,2612,2613,5,3,0,0,2613,2615,7, + 23,0,0,2614,2612,1,0,0,0,2614,2615,1,0,0,0,2615,2616,1,0,0,0,2616, + 2617,5,2,0,0,2617,2795,1,0,0,0,2618,2619,5,97,0,0,2619,2620,5,1, + 0,0,2620,2621,3,278,139,0,2621,2622,5,106,0,0,2622,2623,3,150,75, + 0,2623,2624,5,2,0,0,2624,2795,1,0,0,0,2625,2626,5,44,0,0,2626,2627, + 5,1,0,0,2627,2632,3,144,72,0,2628,2629,5,3,0,0,2629,2631,3,144,72, + 0,2630,2628,1,0,0,0,2631,2634,1,0,0,0,2632,2630,1,0,0,0,2632,2633, + 1,0,0,0,2633,2635,1,0,0,0,2634,2632,1,0,0,0,2635,2636,5,2,0,0,2636, + 2795,1,0,0,0,2637,2638,5,1,0,0,2638,2639,3,144,72,0,2639,2640,5, + 2,0,0,2640,2795,1,0,0,0,2641,2642,5,116,0,0,2642,2651,5,1,0,0,2643, + 2648,3,268,134,0,2644,2645,5,3,0,0,2645,2647,3,268,134,0,2646,2644, + 1,0,0,0,2647,2650,1,0,0,0,2648,2646,1,0,0,0,2648,2649,1,0,0,0,2649, + 2652,1,0,0,0,2650,2648,1,0,0,0,2651,2643,1,0,0,0,2651,2652,1,0,0, + 0,2652,2653,1,0,0,0,2653,2795,5,2,0,0,2654,2655,5,140,0,0,2655,2656, + 5,1,0,0,2656,2660,3,154,77,0,2657,2658,7,24,0,0,2658,2659,5,191, + 0,0,2659,2661,5,90,0,0,2660,2657,1,0,0,0,2660,2661,1,0,0,0,2661, + 2662,1,0,0,0,2662,2663,5,2,0,0,2663,2795,1,0,0,0,2664,2665,5,144, + 0,0,2665,2666,5,1,0,0,2666,2669,3,154,77,0,2667,2668,5,232,0,0,2668, + 2670,3,182,91,0,2669,2667,1,0,0,0,2669,2670,1,0,0,0,2670,2675,1, + 0,0,0,2671,2672,3,162,81,0,2672,2673,5,191,0,0,2673,2674,5,86,0, + 0,2674,2676,1,0,0,0,2675,2671,1,0,0,0,2675,2676,1,0,0,0,2676,2681, + 1,0,0,0,2677,2678,3,162,81,0,2678,2679,5,191,0,0,2679,2680,5,90, + 0,0,2680,2682,1,0,0,0,2681,2677,1,0,0,0,2681,2682,1,0,0,0,2682,2683, + 1,0,0,0,2683,2684,5,2,0,0,2684,2795,1,0,0,0,2685,2686,5,142,0,0, + 2686,2687,5,1,0,0,2687,2694,3,154,77,0,2688,2689,5,232,0,0,2689, + 2692,3,182,91,0,2690,2691,5,105,0,0,2691,2693,3,158,79,0,2692,2690, + 1,0,0,0,2692,2693,1,0,0,0,2693,2695,1,0,0,0,2694,2688,1,0,0,0,2694, + 2695,1,0,0,0,2695,2699,1,0,0,0,2696,2697,3,164,82,0,2697,2698,5, + 309,0,0,2698,2700,1,0,0,0,2699,2696,1,0,0,0,2699,2700,1,0,0,0,2700, + 2708,1,0,0,0,2701,2702,7,16,0,0,2702,2706,5,219,0,0,2703,2704,5, + 191,0,0,2704,2705,5,243,0,0,2705,2707,5,265,0,0,2706,2703,1,0,0, + 0,2706,2707,1,0,0,0,2707,2709,1,0,0,0,2708,2701,1,0,0,0,2708,2709, + 1,0,0,0,2709,2714,1,0,0,0,2710,2711,3,166,83,0,2711,2712,5,191,0, + 0,2712,2713,5,86,0,0,2713,2715,1,0,0,0,2714,2710,1,0,0,0,2714,2715, + 1,0,0,0,2715,2720,1,0,0,0,2716,2717,3,166,83,0,2717,2718,5,191,0, + 0,2718,2719,5,90,0,0,2719,2721,1,0,0,0,2720,2716,1,0,0,0,2720,2721, + 1,0,0,0,2721,2722,1,0,0,0,2722,2723,5,2,0,0,2723,2795,1,0,0,0,2724, + 2725,5,141,0,0,2725,2754,5,1,0,0,2726,2731,3,168,84,0,2727,2728, + 5,3,0,0,2728,2730,3,168,84,0,2729,2727,1,0,0,0,2730,2733,1,0,0,0, + 2731,2729,1,0,0,0,2731,2732,1,0,0,0,2732,2740,1,0,0,0,2733,2731, + 1,0,0,0,2734,2735,5,184,0,0,2735,2736,5,191,0,0,2736,2741,5,184, + 0,0,2737,2738,5,18,0,0,2738,2739,5,191,0,0,2739,2741,5,184,0,0,2740, + 2734,1,0,0,0,2740,2737,1,0,0,0,2740,2741,1,0,0,0,2741,2752,1,0,0, + 0,2742,2743,5,305,0,0,2743,2745,5,283,0,0,2744,2746,5,147,0,0,2745, + 2744,1,0,0,0,2745,2746,1,0,0,0,2746,2753,1,0,0,0,2747,2748,5,307, + 0,0,2748,2750,5,283,0,0,2749,2751,5,147,0,0,2750,2749,1,0,0,0,2750, + 2751,1,0,0,0,2751,2753,1,0,0,0,2752,2742,1,0,0,0,2752,2747,1,0,0, + 0,2752,2753,1,0,0,0,2753,2755,1,0,0,0,2754,2726,1,0,0,0,2754,2755, + 1,0,0,0,2755,2762,1,0,0,0,2756,2757,5,232,0,0,2757,2760,3,182,91, + 0,2758,2759,5,105,0,0,2759,2761,3,158,79,0,2760,2758,1,0,0,0,2760, + 2761,1,0,0,0,2761,2763,1,0,0,0,2762,2756,1,0,0,0,2762,2763,1,0,0, + 0,2763,2764,1,0,0,0,2764,2795,5,2,0,0,2765,2766,5,139,0,0,2766,2783, + 5,1,0,0,2767,2772,3,156,78,0,2768,2769,5,3,0,0,2769,2771,3,156,78, + 0,2770,2768,1,0,0,0,2771,2774,1,0,0,0,2772,2770,1,0,0,0,2772,2773, + 1,0,0,0,2773,2781,1,0,0,0,2774,2772,1,0,0,0,2775,2776,5,184,0,0, + 2776,2777,5,191,0,0,2777,2782,5,184,0,0,2778,2779,5,18,0,0,2779, + 2780,5,191,0,0,2780,2782,5,184,0,0,2781,2775,1,0,0,0,2781,2778,1, + 0,0,0,2781,2782,1,0,0,0,2782,2784,1,0,0,0,2783,2767,1,0,0,0,2783, + 2784,1,0,0,0,2784,2791,1,0,0,0,2785,2786,5,232,0,0,2786,2789,3,182, + 91,0,2787,2788,5,105,0,0,2788,2790,3,158,79,0,2789,2787,1,0,0,0, + 2789,2790,1,0,0,0,2790,2792,1,0,0,0,2791,2785,1,0,0,0,2791,2792, + 1,0,0,0,2792,2793,1,0,0,0,2793,2795,5,2,0,0,2794,2327,1,0,0,0,2794, + 2329,1,0,0,0,2794,2330,1,0,0,0,2794,2333,1,0,0,0,2794,2336,1,0,0, + 0,2794,2337,1,0,0,0,2794,2338,1,0,0,0,2794,2339,1,0,0,0,2794,2340, + 1,0,0,0,2794,2341,1,0,0,0,2794,2348,1,0,0,0,2794,2358,1,0,0,0,2794, + 2370,1,0,0,0,2794,2405,1,0,0,0,2794,2423,1,0,0,0,2794,2465,1,0,0, + 0,2794,2468,1,0,0,0,2794,2472,1,0,0,0,2794,2486,1,0,0,0,2794,2490, + 1,0,0,0,2794,2495,1,0,0,0,2794,2508,1,0,0,0,2794,2520,1,0,0,0,2794, + 2527,1,0,0,0,2794,2534,1,0,0,0,2794,2547,1,0,0,0,2794,2548,1,0,0, + 0,2794,2549,1,0,0,0,2794,2555,1,0,0,0,2794,2561,1,0,0,0,2794,2567, + 1,0,0,0,2794,2573,1,0,0,0,2794,2574,1,0,0,0,2794,2575,1,0,0,0,2794, + 2576,1,0,0,0,2794,2577,1,0,0,0,2794,2591,1,0,0,0,2794,2598,1,0,0, + 0,2794,2609,1,0,0,0,2794,2618,1,0,0,0,2794,2625,1,0,0,0,2794,2637, + 1,0,0,0,2794,2641,1,0,0,0,2794,2654,1,0,0,0,2794,2664,1,0,0,0,2794, + 2685,1,0,0,0,2794,2724,1,0,0,0,2794,2765,1,0,0,0,2795,2806,1,0,0, + 0,2796,2797,10,25,0,0,2797,2798,5,8,0,0,2798,2799,3,150,75,0,2799, + 2800,5,9,0,0,2800,2805,1,0,0,0,2801,2802,10,23,0,0,2802,2803,5,4, + 0,0,2803,2805,3,278,139,0,2804,2796,1,0,0,0,2804,2801,1,0,0,0,2805, + 2808,1,0,0,0,2806,2804,1,0,0,0,2806,2807,1,0,0,0,2807,153,1,0,0, + 0,2808,2806,1,0,0,0,2809,2810,3,156,78,0,2810,2811,5,3,0,0,2811, + 2814,3,172,86,0,2812,2813,5,28,0,0,2813,2815,3,278,139,0,2814,2812, + 1,0,0,0,2814,2815,1,0,0,0,2815,2825,1,0,0,0,2816,2817,5,204,0,0, + 2817,2822,3,160,80,0,2818,2819,5,3,0,0,2819,2821,3,160,80,0,2820, + 2818,1,0,0,0,2821,2824,1,0,0,0,2822,2820,1,0,0,0,2822,2823,1,0,0, + 0,2823,2826,1,0,0,0,2824,2822,1,0,0,0,2825,2816,1,0,0,0,2825,2826, + 1,0,0,0,2826,155,1,0,0,0,2827,2830,3,144,72,0,2828,2829,5,105,0, + 0,2829,2831,3,158,79,0,2830,2828,1,0,0,0,2830,2831,1,0,0,0,2831, + 157,1,0,0,0,2832,2835,5,138,0,0,2833,2834,5,88,0,0,2834,2836,7,25, + 0,0,2835,2833,1,0,0,0,2835,2836,1,0,0,0,2836,159,1,0,0,0,2837,2838, + 3,156,78,0,2838,2839,5,28,0,0,2839,2840,3,278,139,0,2840,161,1,0, + 0,0,2841,2846,5,90,0,0,2842,2846,5,184,0,0,2843,2844,5,71,0,0,2844, + 2846,3,144,72,0,2845,2841,1,0,0,0,2845,2842,1,0,0,0,2845,2843,1, + 0,0,0,2846,163,1,0,0,0,2847,2849,5,307,0,0,2848,2850,5,27,0,0,2849, + 2848,1,0,0,0,2849,2850,1,0,0,0,2850,2859,1,0,0,0,2851,2853,5,305, + 0,0,2852,2854,7,26,0,0,2853,2852,1,0,0,0,2853,2854,1,0,0,0,2854, + 2856,1,0,0,0,2855,2857,5,27,0,0,2856,2855,1,0,0,0,2856,2857,1,0, + 0,0,2857,2859,1,0,0,0,2858,2847,1,0,0,0,2858,2851,1,0,0,0,2859,165, + 1,0,0,0,2860,2867,5,90,0,0,2861,2867,5,184,0,0,2862,2863,5,86,0, + 0,2863,2867,5,27,0,0,2864,2865,5,86,0,0,2865,2867,5,187,0,0,2866, + 2860,1,0,0,0,2866,2861,1,0,0,0,2866,2862,1,0,0,0,2866,2864,1,0,0, + 0,2867,167,1,0,0,0,2868,2870,5,146,0,0,2869,2868,1,0,0,0,2869,2870, + 1,0,0,0,2870,2871,1,0,0,0,2871,2872,3,144,72,0,2872,2873,5,296,0, + 0,2873,2874,3,156,78,0,2874,2880,1,0,0,0,2875,2876,3,144,72,0,2876, + 2877,5,10,0,0,2877,2878,3,156,78,0,2878,2880,1,0,0,0,2879,2869,1, + 0,0,0,2879,2875,1,0,0,0,2880,169,1,0,0,0,2881,2882,7,27,0,0,2882, + 171,1,0,0,0,2883,2890,5,327,0,0,2884,2887,5,328,0,0,2885,2886,5, + 278,0,0,2886,2888,5,327,0,0,2887,2885,1,0,0,0,2887,2888,1,0,0,0, + 2888,2890,1,0,0,0,2889,2883,1,0,0,0,2889,2884,1,0,0,0,2890,173,1, + 0,0,0,2891,2892,7,28,0,0,2892,175,1,0,0,0,2893,2894,7,29,0,0,2894, + 177,1,0,0,0,2895,2897,5,130,0,0,2896,2898,7,19,0,0,2897,2896,1,0, + 0,0,2897,2898,1,0,0,0,2898,2899,1,0,0,0,2899,2900,3,172,86,0,2900, + 2903,3,180,90,0,2901,2902,5,270,0,0,2902,2904,3,180,90,0,2903,2901, + 1,0,0,0,2903,2904,1,0,0,0,2904,179,1,0,0,0,2905,2906,7,30,0,0,2906, + 181,1,0,0,0,2907,2908,6,91,-1,0,2908,2909,5,240,0,0,2909,2910,5, + 1,0,0,2910,2915,3,184,92,0,2911,2912,5,3,0,0,2912,2914,3,184,92, + 0,2913,2911,1,0,0,0,2914,2917,1,0,0,0,2915,2913,1,0,0,0,2915,2916, + 1,0,0,0,2916,2918,1,0,0,0,2917,2915,1,0,0,0,2918,2919,5,2,0,0,2919, + 2979,1,0,0,0,2920,2921,5,130,0,0,2921,2924,3,180,90,0,2922,2923, + 5,270,0,0,2923,2925,3,180,90,0,2924,2922,1,0,0,0,2924,2925,1,0,0, + 0,2925,2979,1,0,0,0,2926,2931,5,269,0,0,2927,2928,5,1,0,0,2928,2929, + 3,186,93,0,2929,2930,5,2,0,0,2930,2932,1,0,0,0,2931,2927,1,0,0,0, + 2931,2932,1,0,0,0,2932,2936,1,0,0,0,2933,2934,7,31,0,0,2934,2935, + 5,268,0,0,2935,2937,5,312,0,0,2936,2933,1,0,0,0,2936,2937,1,0,0, + 0,2937,2979,1,0,0,0,2938,2943,5,268,0,0,2939,2940,5,1,0,0,2940,2941, + 3,186,93,0,2941,2942,5,2,0,0,2942,2944,1,0,0,0,2943,2939,1,0,0,0, + 2943,2944,1,0,0,0,2944,2948,1,0,0,0,2945,2946,7,31,0,0,2946,2947, + 5,268,0,0,2947,2949,5,312,0,0,2948,2945,1,0,0,0,2948,2949,1,0,0, + 0,2949,2979,1,0,0,0,2950,2951,5,83,0,0,2951,2979,5,214,0,0,2952, + 2953,5,27,0,0,2953,2954,5,315,0,0,2954,2955,3,182,91,0,2955,2956, + 5,317,0,0,2956,2979,1,0,0,0,2957,2958,5,163,0,0,2958,2959,5,315, + 0,0,2959,2960,3,182,91,0,2960,2961,5,3,0,0,2961,2962,3,182,91,0, + 2962,2963,5,317,0,0,2963,2979,1,0,0,0,2964,2976,3,278,139,0,2965, + 2966,5,1,0,0,2966,2971,3,186,93,0,2967,2968,5,3,0,0,2968,2970,3, + 186,93,0,2969,2967,1,0,0,0,2970,2973,1,0,0,0,2971,2969,1,0,0,0,2971, + 2972,1,0,0,0,2972,2974,1,0,0,0,2973,2971,1,0,0,0,2974,2975,5,2,0, + 0,2975,2977,1,0,0,0,2976,2965,1,0,0,0,2976,2977,1,0,0,0,2977,2979, + 1,0,0,0,2978,2907,1,0,0,0,2978,2920,1,0,0,0,2978,2926,1,0,0,0,2978, + 2938,1,0,0,0,2978,2950,1,0,0,0,2978,2952,1,0,0,0,2978,2957,1,0,0, + 0,2978,2964,1,0,0,0,2979,2989,1,0,0,0,2980,2981,10,2,0,0,2981,2985, + 5,27,0,0,2982,2983,5,8,0,0,2983,2984,5,330,0,0,2984,2986,5,9,0,0, + 2985,2982,1,0,0,0,2985,2986,1,0,0,0,2986,2988,1,0,0,0,2987,2980, + 1,0,0,0,2988,2991,1,0,0,0,2989,2987,1,0,0,0,2989,2990,1,0,0,0,2990, + 183,1,0,0,0,2991,2989,1,0,0,0,2992,2997,3,182,91,0,2993,2994,3,278, + 139,0,2994,2995,3,182,91,0,2995,2997,1,0,0,0,2996,2992,1,0,0,0,2996, + 2993,1,0,0,0,2997,185,1,0,0,0,2998,3001,5,330,0,0,2999,3001,3,182, + 91,0,3000,2998,1,0,0,0,3000,2999,1,0,0,0,3001,187,1,0,0,0,3002,3003, + 5,301,0,0,3003,3004,3,144,72,0,3004,3005,5,266,0,0,3005,3006,3,144, + 72,0,3006,189,1,0,0,0,3007,3008,5,100,0,0,3008,3009,5,1,0,0,3009, + 3010,3,48,24,0,3010,3011,5,2,0,0,3011,191,1,0,0,0,3012,3013,5,301, + 0,0,3013,3016,5,165,0,0,3014,3015,5,25,0,0,3015,3017,3,144,72,0, + 3016,3014,1,0,0,0,3016,3017,1,0,0,0,3017,3018,1,0,0,0,3018,3019, + 5,266,0,0,3019,3020,5,288,0,0,3020,3021,5,252,0,0,3021,3022,3,278, + 139,0,3022,3023,5,313,0,0,3023,3031,3,144,72,0,3024,3025,5,3,0,0, + 3025,3026,3,278,139,0,3026,3027,5,313,0,0,3027,3028,3,144,72,0,3028, + 3030,1,0,0,0,3029,3024,1,0,0,0,3030,3033,1,0,0,0,3031,3029,1,0,0, + 0,3031,3032,1,0,0,0,3032,3077,1,0,0,0,3033,3031,1,0,0,0,3034,3035, + 5,301,0,0,3035,3038,5,165,0,0,3036,3037,5,25,0,0,3037,3039,3,144, + 72,0,3038,3036,1,0,0,0,3038,3039,1,0,0,0,3039,3040,1,0,0,0,3040, + 3041,5,266,0,0,3041,3077,5,74,0,0,3042,3043,5,301,0,0,3043,3044, + 5,183,0,0,3044,3047,5,165,0,0,3045,3046,5,25,0,0,3046,3048,3,144, + 72,0,3047,3045,1,0,0,0,3047,3048,1,0,0,0,3048,3049,1,0,0,0,3049, + 3050,5,266,0,0,3050,3062,5,128,0,0,3051,3052,5,1,0,0,3052,3057,3, + 278,139,0,3053,3054,5,3,0,0,3054,3056,3,278,139,0,3055,3053,1,0, + 0,0,3056,3059,1,0,0,0,3057,3055,1,0,0,0,3057,3058,1,0,0,0,3058,3060, + 1,0,0,0,3059,3057,1,0,0,0,3060,3061,5,2,0,0,3061,3063,1,0,0,0,3062, + 3051,1,0,0,0,3062,3063,1,0,0,0,3063,3064,1,0,0,0,3064,3065,5,297, + 0,0,3065,3066,5,1,0,0,3066,3071,3,144,72,0,3067,3068,5,3,0,0,3068, + 3070,3,144,72,0,3069,3067,1,0,0,0,3070,3073,1,0,0,0,3071,3069,1, + 0,0,0,3071,3072,1,0,0,0,3072,3074,1,0,0,0,3073,3071,1,0,0,0,3074, + 3075,5,2,0,0,3075,3077,1,0,0,0,3076,3012,1,0,0,0,3076,3034,1,0,0, + 0,3076,3042,1,0,0,0,3077,193,1,0,0,0,3078,3084,5,200,0,0,3079,3085, + 3,278,139,0,3080,3081,5,1,0,0,3081,3082,3,66,33,0,3082,3083,5,2, + 0,0,3083,3085,1,0,0,0,3084,3079,1,0,0,0,3084,3080,1,0,0,0,3085,195, + 1,0,0,0,3086,3087,5,169,0,0,3087,3092,3,98,49,0,3088,3089,5,3,0, + 0,3089,3091,3,98,49,0,3090,3088,1,0,0,0,3091,3094,1,0,0,0,3092,3090, + 1,0,0,0,3092,3093,1,0,0,0,3093,3096,1,0,0,0,3094,3092,1,0,0,0,3095, + 3086,1,0,0,0,3095,3096,1,0,0,0,3096,3097,1,0,0,0,3097,3101,3,198, + 99,0,3098,3099,5,21,0,0,3099,3100,5,164,0,0,3100,3102,3,102,51,0, + 3101,3098,1,0,0,0,3101,3102,1,0,0,0,3102,3104,1,0,0,0,3103,3105, + 7,13,0,0,3104,3103,1,0,0,0,3104,3105,1,0,0,0,3105,3111,1,0,0,0,3106, + 3107,5,207,0,0,3107,3108,5,1,0,0,3108,3109,3,202,101,0,3109,3110, + 5,2,0,0,3110,3112,1,0,0,0,3111,3106,1,0,0,0,3111,3112,1,0,0,0,3112, + 3122,1,0,0,0,3113,3114,5,258,0,0,3114,3119,3,104,52,0,3115,3116, + 5,3,0,0,3116,3118,3,104,52,0,3117,3115,1,0,0,0,3118,3121,1,0,0,0, + 3119,3117,1,0,0,0,3119,3120,1,0,0,0,3120,3123,1,0,0,0,3121,3119, + 1,0,0,0,3122,3113,1,0,0,0,3122,3123,1,0,0,0,3123,3133,1,0,0,0,3124, + 3125,5,72,0,0,3125,3130,3,106,53,0,3126,3127,5,3,0,0,3127,3129,3, + 106,53,0,3128,3126,1,0,0,0,3129,3132,1,0,0,0,3130,3128,1,0,0,0,3130, + 3131,1,0,0,0,3131,3134,1,0,0,0,3132,3130,1,0,0,0,3133,3124,1,0,0, + 0,3133,3134,1,0,0,0,3134,197,1,0,0,0,3135,3142,7,32,0,0,3136,3137, + 5,34,0,0,3137,3138,3,200,100,0,3138,3139,5,25,0,0,3139,3140,3,200, + 100,0,3140,3143,1,0,0,0,3141,3143,3,200,100,0,3142,3136,1,0,0,0, + 3142,3141,1,0,0,0,3143,199,1,0,0,0,3144,3145,5,279,0,0,3145,3154, + 5,213,0,0,3146,3147,5,279,0,0,3147,3154,5,103,0,0,3148,3149,5,57, + 0,0,3149,3154,5,240,0,0,3150,3151,3,144,72,0,3151,3152,7,33,0,0, + 3152,3154,1,0,0,0,3153,3144,1,0,0,0,3153,3146,1,0,0,0,3153,3148, + 1,0,0,0,3153,3150,1,0,0,0,3154,201,1,0,0,0,3155,3156,6,101,-1,0, + 3156,3158,3,204,102,0,3157,3159,3,206,103,0,3158,3157,1,0,0,0,3158, + 3159,1,0,0,0,3159,3167,1,0,0,0,3160,3161,10,2,0,0,3161,3166,3,202, + 101,3,3162,3163,10,1,0,0,3163,3164,5,11,0,0,3164,3166,3,202,101, + 2,3165,3160,1,0,0,0,3165,3162,1,0,0,0,3166,3169,1,0,0,0,3167,3165, + 1,0,0,0,3167,3168,1,0,0,0,3168,203,1,0,0,0,3169,3167,1,0,0,0,3170, + 3196,3,278,139,0,3171,3172,5,1,0,0,3172,3196,5,2,0,0,3173,3174,5, + 210,0,0,3174,3175,5,1,0,0,3175,3180,3,202,101,0,3176,3177,5,3,0, + 0,3177,3179,3,202,101,0,3178,3176,1,0,0,0,3179,3182,1,0,0,0,3180, + 3178,1,0,0,0,3180,3181,1,0,0,0,3181,3183,1,0,0,0,3182,3180,1,0,0, + 0,3183,3184,5,2,0,0,3184,3196,1,0,0,0,3185,3186,5,1,0,0,3186,3187, + 3,202,101,0,3187,3188,5,2,0,0,3188,3196,1,0,0,0,3189,3196,5,12,0, + 0,3190,3196,5,13,0,0,3191,3192,5,14,0,0,3192,3193,3,202,101,0,3193, + 3194,5,15,0,0,3194,3196,1,0,0,0,3195,3170,1,0,0,0,3195,3171,1,0, + 0,0,3195,3173,1,0,0,0,3195,3185,1,0,0,0,3195,3189,1,0,0,0,3195,3190, + 1,0,0,0,3195,3191,1,0,0,0,3196,205,1,0,0,0,3197,3199,5,321,0,0,3198, + 3200,5,325,0,0,3199,3198,1,0,0,0,3199,3200,1,0,0,0,3200,3228,1,0, + 0,0,3201,3203,5,319,0,0,3202,3204,5,325,0,0,3203,3202,1,0,0,0,3203, + 3204,1,0,0,0,3204,3228,1,0,0,0,3205,3207,5,325,0,0,3206,3208,5,325, + 0,0,3207,3206,1,0,0,0,3207,3208,1,0,0,0,3208,3228,1,0,0,0,3209,3210, + 5,16,0,0,3210,3211,5,330,0,0,3211,3213,5,17,0,0,3212,3214,5,325, + 0,0,3213,3212,1,0,0,0,3213,3214,1,0,0,0,3214,3228,1,0,0,0,3215,3217, + 5,16,0,0,3216,3218,5,330,0,0,3217,3216,1,0,0,0,3217,3218,1,0,0,0, + 3218,3219,1,0,0,0,3219,3221,5,3,0,0,3220,3222,5,330,0,0,3221,3220, + 1,0,0,0,3221,3222,1,0,0,0,3222,3223,1,0,0,0,3223,3225,5,17,0,0,3224, + 3226,5,325,0,0,3225,3224,1,0,0,0,3225,3226,1,0,0,0,3226,3228,1,0, + 0,0,3227,3197,1,0,0,0,3227,3201,1,0,0,0,3227,3205,1,0,0,0,3227,3209, + 1,0,0,0,3227,3215,1,0,0,0,3228,207,1,0,0,0,3229,3230,3,278,139,0, + 3230,3231,5,313,0,0,3231,3232,3,144,72,0,3232,209,1,0,0,0,3233,3234, + 5,105,0,0,3234,3238,7,34,0,0,3235,3236,5,277,0,0,3236,3238,7,35, + 0,0,3237,3233,1,0,0,0,3237,3235,1,0,0,0,3238,211,1,0,0,0,3239,3240, + 5,135,0,0,3240,3248,5,154,0,0,3241,3242,5,221,0,0,3242,3249,5,280, + 0,0,3243,3244,5,221,0,0,3244,3249,5,49,0,0,3245,3246,5,226,0,0,3246, + 3249,5,221,0,0,3247,3249,5,250,0,0,3248,3241,1,0,0,0,3248,3243,1, + 0,0,0,3248,3245,1,0,0,0,3248,3247,1,0,0,0,3249,3253,1,0,0,0,3250, + 3251,5,221,0,0,3251,3253,7,36,0,0,3252,3239,1,0,0,0,3252,3250,1, + 0,0,0,3253,213,1,0,0,0,3254,3260,3,144,72,0,3255,3256,3,278,139, + 0,3256,3257,5,6,0,0,3257,3258,3,144,72,0,3258,3260,1,0,0,0,3259, + 3254,1,0,0,0,3259,3255,1,0,0,0,3260,215,1,0,0,0,3261,3262,3,278, + 139,0,3262,3263,5,4,0,0,3263,3264,3,278,139,0,3264,3267,1,0,0,0, + 3265,3267,3,278,139,0,3266,3261,1,0,0,0,3266,3265,1,0,0,0,3267,217, + 1,0,0,0,3268,3273,3,216,108,0,3269,3270,5,3,0,0,3270,3272,3,216, + 108,0,3271,3269,1,0,0,0,3272,3275,1,0,0,0,3273,3271,1,0,0,0,3273, + 3274,1,0,0,0,3274,219,1,0,0,0,3275,3273,1,0,0,0,3276,3277,5,108, + 0,0,3277,3278,3,258,129,0,3278,3287,5,1,0,0,3279,3284,3,222,111, + 0,3280,3281,5,3,0,0,3281,3283,3,222,111,0,3282,3280,1,0,0,0,3283, + 3286,1,0,0,0,3284,3282,1,0,0,0,3284,3285,1,0,0,0,3285,3288,1,0,0, + 0,3286,3284,1,0,0,0,3287,3279,1,0,0,0,3287,3288,1,0,0,0,3288,3289, + 1,0,0,0,3289,3290,5,2,0,0,3290,3291,5,233,0,0,3291,3295,3,182,91, + 0,3292,3294,3,224,112,0,3293,3292,1,0,0,0,3294,3297,1,0,0,0,3295, + 3293,1,0,0,0,3295,3296,1,0,0,0,3296,3298,1,0,0,0,3297,3295,1,0,0, + 0,3298,3299,3,226,113,0,3299,221,1,0,0,0,3300,3302,3,278,139,0,3301, + 3300,1,0,0,0,3301,3302,1,0,0,0,3302,3303,1,0,0,0,3303,3304,3,182, + 91,0,3304,223,1,0,0,0,3305,3306,5,148,0,0,3306,3325,3,278,139,0, + 3307,3309,5,183,0,0,3308,3307,1,0,0,0,3308,3309,1,0,0,0,3309,3310, + 1,0,0,0,3310,3325,5,79,0,0,3311,3312,5,233,0,0,3312,3313,5,184,0, + 0,3313,3314,5,191,0,0,3314,3315,5,184,0,0,3315,3325,5,127,0,0,3316, + 3317,5,38,0,0,3317,3318,5,191,0,0,3318,3319,5,184,0,0,3319,3325, + 5,127,0,0,3320,3321,5,247,0,0,3321,3325,7,1,0,0,3322,3323,5,47,0, + 0,3323,3325,3,172,86,0,3324,3305,1,0,0,0,3324,3308,1,0,0,0,3324, + 3311,1,0,0,0,3324,3316,1,0,0,0,3324,3320,1,0,0,0,3324,3322,1,0,0, + 0,3325,225,1,0,0,0,3326,3327,5,231,0,0,3327,3443,3,150,75,0,3328, + 3329,5,252,0,0,3329,3330,3,278,139,0,3330,3331,5,313,0,0,3331,3332, + 3,144,72,0,3332,3443,1,0,0,0,3333,3334,5,40,0,0,3334,3336,3,144, + 72,0,3335,3337,3,228,114,0,3336,3335,1,0,0,0,3337,3338,1,0,0,0,3338, + 3336,1,0,0,0,3338,3339,1,0,0,0,3339,3341,1,0,0,0,3340,3342,3,230, + 115,0,3341,3340,1,0,0,0,3341,3342,1,0,0,0,3342,3343,1,0,0,0,3343, + 3344,5,89,0,0,3344,3345,5,40,0,0,3345,3443,1,0,0,0,3346,3348,5,40, + 0,0,3347,3349,3,228,114,0,3348,3347,1,0,0,0,3349,3350,1,0,0,0,3350, + 3348,1,0,0,0,3350,3351,1,0,0,0,3351,3353,1,0,0,0,3352,3354,3,230, + 115,0,3353,3352,1,0,0,0,3353,3354,1,0,0,0,3354,3355,1,0,0,0,3355, + 3356,5,89,0,0,3356,3357,5,40,0,0,3357,3443,1,0,0,0,3358,3359,5,120, + 0,0,3359,3360,3,144,72,0,3360,3361,5,266,0,0,3361,3369,3,232,116, + 0,3362,3363,5,87,0,0,3363,3364,3,144,72,0,3364,3365,5,266,0,0,3365, + 3366,3,232,116,0,3366,3368,1,0,0,0,3367,3362,1,0,0,0,3368,3371,1, + 0,0,0,3369,3367,1,0,0,0,3369,3370,1,0,0,0,3370,3373,1,0,0,0,3371, + 3369,1,0,0,0,3372,3374,3,230,115,0,3373,3372,1,0,0,0,3373,3374,1, + 0,0,0,3374,3375,1,0,0,0,3375,3376,5,89,0,0,3376,3377,5,120,0,0,3377, + 3443,1,0,0,0,3378,3379,5,136,0,0,3379,3443,3,278,139,0,3380,3381, + 5,152,0,0,3381,3443,3,278,139,0,3382,3401,5,32,0,0,3383,3384,5,70, + 0,0,3384,3389,3,278,139,0,3385,3386,5,3,0,0,3386,3388,3,278,139, + 0,3387,3385,1,0,0,0,3388,3391,1,0,0,0,3389,3387,1,0,0,0,3389,3390, + 1,0,0,0,3390,3392,1,0,0,0,3391,3389,1,0,0,0,3392,3395,3,182,91,0, + 3393,3394,5,71,0,0,3394,3396,3,150,75,0,3395,3393,1,0,0,0,3395,3396, + 1,0,0,0,3396,3397,1,0,0,0,3397,3398,5,326,0,0,3398,3400,1,0,0,0, + 3399,3383,1,0,0,0,3400,3403,1,0,0,0,3401,3399,1,0,0,0,3401,3402, + 1,0,0,0,3402,3405,1,0,0,0,3403,3401,1,0,0,0,3404,3406,3,232,116, + 0,3405,3404,1,0,0,0,3405,3406,1,0,0,0,3406,3407,1,0,0,0,3407,3443, + 5,89,0,0,3408,3409,3,278,139,0,3409,3410,5,10,0,0,3410,3412,1,0, + 0,0,3411,3408,1,0,0,0,3411,3412,1,0,0,0,3412,3413,1,0,0,0,3413,3414, + 5,162,0,0,3414,3415,3,232,116,0,3415,3416,5,89,0,0,3416,3417,5,162, + 0,0,3417,3443,1,0,0,0,3418,3419,3,278,139,0,3419,3420,5,10,0,0,3420, + 3422,1,0,0,0,3421,3418,1,0,0,0,3421,3422,1,0,0,0,3422,3423,1,0,0, + 0,3423,3424,5,303,0,0,3424,3425,3,144,72,0,3425,3426,5,82,0,0,3426, + 3427,3,232,116,0,3427,3428,5,89,0,0,3428,3429,5,303,0,0,3429,3443, + 1,0,0,0,3430,3431,3,278,139,0,3431,3432,5,10,0,0,3432,3434,1,0,0, + 0,3433,3430,1,0,0,0,3433,3434,1,0,0,0,3434,3435,1,0,0,0,3435,3436, + 5,225,0,0,3436,3437,3,232,116,0,3437,3438,5,287,0,0,3438,3439,3, + 144,72,0,3439,3440,5,89,0,0,3440,3441,5,225,0,0,3441,3443,1,0,0, + 0,3442,3326,1,0,0,0,3442,3328,1,0,0,0,3442,3333,1,0,0,0,3442,3346, + 1,0,0,0,3442,3358,1,0,0,0,3442,3378,1,0,0,0,3442,3380,1,0,0,0,3442, + 3382,1,0,0,0,3442,3411,1,0,0,0,3442,3421,1,0,0,0,3442,3433,1,0,0, + 0,3443,227,1,0,0,0,3444,3445,5,301,0,0,3445,3446,3,144,72,0,3446, + 3447,5,266,0,0,3447,3448,3,232,116,0,3448,229,1,0,0,0,3449,3450, + 5,85,0,0,3450,3451,3,232,116,0,3451,231,1,0,0,0,3452,3453,3,226, + 113,0,3453,3454,5,326,0,0,3454,3456,1,0,0,0,3455,3452,1,0,0,0,3456, + 3457,1,0,0,0,3457,3455,1,0,0,0,3457,3458,1,0,0,0,3458,233,1,0,0, + 0,3459,3466,5,54,0,0,3460,3466,5,249,0,0,3461,3466,5,74,0,0,3462, + 3466,5,128,0,0,3463,3466,5,288,0,0,3464,3466,3,278,139,0,3465,3459, + 1,0,0,0,3465,3460,1,0,0,0,3465,3461,1,0,0,0,3465,3462,1,0,0,0,3465, + 3463,1,0,0,0,3465,3464,1,0,0,0,3466,235,1,0,0,0,3467,3471,5,261, + 0,0,3468,3471,5,244,0,0,3469,3471,3,278,139,0,3470,3467,1,0,0,0, + 3470,3468,1,0,0,0,3470,3469,1,0,0,0,3470,3471,1,0,0,0,3471,3472, + 1,0,0,0,3472,3473,3,268,134,0,3473,237,1,0,0,0,3474,3477,3,240,120, + 0,3475,3477,3,244,122,0,3476,3474,1,0,0,0,3476,3475,1,0,0,0,3477, + 239,1,0,0,0,3478,3490,3,278,139,0,3479,3480,3,278,139,0,3480,3481, + 5,4,0,0,3481,3482,3,278,139,0,3482,3490,1,0,0,0,3483,3484,3,278, + 139,0,3484,3485,5,4,0,0,3485,3486,3,278,139,0,3486,3487,5,4,0,0, + 3487,3488,3,278,139,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,241,1,0,0,0,3491,3503,3,278,139,0, + 3492,3493,3,278,139,0,3493,3494,5,4,0,0,3494,3495,3,278,139,0,3495, + 3503,1,0,0,0,3496,3497,3,278,139,0,3497,3498,5,4,0,0,3498,3499,3, + 278,139,0,3499,3500,5,4,0,0,3500,3501,3,278,139,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,243, + 1,0,0,0,3504,3516,3,278,139,0,3505,3506,3,278,139,0,3506,3507,5, + 4,0,0,3507,3508,3,278,139,0,3508,3516,1,0,0,0,3509,3510,3,278,139, + 0,3510,3511,5,4,0,0,3511,3512,3,278,139,0,3512,3513,5,4,0,0,3513, + 3514,3,278,139,0,3514,3516,1,0,0,0,3515,3504,1,0,0,0,3515,3505,1, + 0,0,0,3515,3509,1,0,0,0,3516,245,1,0,0,0,3517,3529,3,278,139,0,3518, + 3519,3,278,139,0,3519,3520,5,4,0,0,3520,3521,3,278,139,0,3521,3529, + 1,0,0,0,3522,3523,3,278,139,0,3523,3524,5,4,0,0,3524,3525,3,278, + 139,0,3525,3526,5,4,0,0,3526,3527,3,278,139,0,3527,3529,1,0,0,0, + 3528,3517,1,0,0,0,3528,3518,1,0,0,0,3528,3522,1,0,0,0,3529,247,1, + 0,0,0,3530,3536,3,278,139,0,3531,3532,3,278,139,0,3532,3533,5,4, + 0,0,3533,3534,3,278,139,0,3534,3536,1,0,0,0,3535,3530,1,0,0,0,3535, + 3531,1,0,0,0,3536,249,1,0,0,0,3537,3543,3,278,139,0,3538,3539,3, + 278,139,0,3539,3540,5,4,0,0,3540,3541,3,278,139,0,3541,3543,1,0, + 0,0,3542,3537,1,0,0,0,3542,3538,1,0,0,0,3543,251,1,0,0,0,3544,3545, + 3,278,139,0,3545,253,1,0,0,0,3546,3547,3,278,139,0,3547,255,1,0, + 0,0,3548,3549,3,268,134,0,3549,257,1,0,0,0,3550,3551,3,268,134,0, + 3551,259,1,0,0,0,3552,3555,3,268,134,0,3553,3555,4,130,16,0,3554, + 3552,1,0,0,0,3554,3553,1,0,0,0,3555,261,1,0,0,0,3556,3557,1,0,0, + 0,3557,263,1,0,0,0,3558,3559,3,268,134,0,3559,265,1,0,0,0,3560,3561, + 3,278,139,0,3561,267,1,0,0,0,3562,3567,3,278,139,0,3563,3564,5,4, + 0,0,3564,3566,3,278,139,0,3565,3563,1,0,0,0,3566,3569,1,0,0,0,3567, + 3565,1,0,0,0,3567,3568,1,0,0,0,3568,269,1,0,0,0,3569,3567,1,0,0, + 0,3570,3574,3,272,136,0,3571,3574,5,65,0,0,3572,3574,5,61,0,0,3573, + 3570,1,0,0,0,3573,3571,1,0,0,0,3573,3572,1,0,0,0,3574,271,1,0,0, + 0,3575,3581,3,278,139,0,3576,3577,5,290,0,0,3577,3581,3,278,139, + 0,3578,3579,5,236,0,0,3579,3581,3,278,139,0,3580,3575,1,0,0,0,3580, + 3576,1,0,0,0,3580,3578,1,0,0,0,3581,273,1,0,0,0,3582,3587,3,278, + 139,0,3583,3584,5,3,0,0,3584,3586,3,278,139,0,3585,3583,1,0,0,0, + 3586,3589,1,0,0,0,3587,3585,1,0,0,0,3587,3588,1,0,0,0,3588,275,1, + 0,0,0,3589,3587,1,0,0,0,3590,3598,5,54,0,0,3591,3598,5,249,0,0,3592, + 3598,5,74,0,0,3593,3598,5,128,0,0,3594,3598,5,288,0,0,3595,3598, + 5,94,0,0,3596,3598,3,278,139,0,3597,3590,1,0,0,0,3597,3591,1,0,0, + 0,3597,3592,1,0,0,0,3597,3593,1,0,0,0,3597,3594,1,0,0,0,3597,3595, + 1,0,0,0,3597,3596,1,0,0,0,3598,277,1,0,0,0,3599,3605,5,333,0,0,3600, + 3605,5,335,0,0,3601,3605,3,282,141,0,3602,3605,5,336,0,0,3603,3605, + 5,334,0,0,3604,3599,1,0,0,0,3604,3600,1,0,0,0,3604,3601,1,0,0,0, + 3604,3602,1,0,0,0,3604,3603,1,0,0,0,3605,279,1,0,0,0,3606,3608,5, + 320,0,0,3607,3606,1,0,0,0,3607,3608,1,0,0,0,3608,3609,1,0,0,0,3609, + 3619,5,331,0,0,3610,3612,5,320,0,0,3611,3610,1,0,0,0,3611,3612,1, + 0,0,0,3612,3613,1,0,0,0,3613,3619,5,332,0,0,3614,3616,5,320,0,0, + 3615,3614,1,0,0,0,3615,3616,1,0,0,0,3616,3617,1,0,0,0,3617,3619, + 5,330,0,0,3618,3607,1,0,0,0,3618,3611,1,0,0,0,3618,3615,1,0,0,0, + 3619,281,1,0,0,0,3620,3621,7,37,0,0,3621,283,1,0,0,0,476,287,296, + 300,304,308,312,325,332,336,340,346,350,357,362,366,372,376,395, + 401,405,409,413,421,425,428,433,439,448,454,458,464,471,479,491, + 500,509,515,526,534,542,549,559,566,574,589,624,627,630,633,639, + 644,651,657,661,665,673,679,683,687,701,709,728,753,756,763,770, + 779,782,792,796,803,811,820,826,831,835,843,848,857,863,870,879, + 885,889,895,902,907,920,925,937,941,947,956,961,967,995,1001,1003, + 1009,1015,1017,1025,1027,1037,1039,1054,1059,1066,1076,1082,1084, + 1092,1094,1101,1122,1125,1129,1133,1151,1154,1165,1168,1184,1194, + 1198,1204,1207,1216,1228,1231,1241,1245,1251,1258,1263,1269,1273, + 1277,1283,1294,1301,1311,1314,1319,1321,1328,1334,1336,1344,1350, + 1353,1355,1367,1374,1378,1381,1385,1389,1398,1401,1404,1409,1412, + 1420,1423,1436,1440,1447,1455,1466,1469,1479,1482,1493,1498,1506, + 1509,1513,1517,1526,1531,1540,1543,1546,1550,1561,1564,1567,1572, + 1575,1604,1608,1612,1616,1620,1624,1626,1632,1641,1646,1658,1667, + 1672,1678,1680,1688,1697,1700,1708,1711,1714,1719,1722,1734,1737, + 1745,1750,1754,1756,1758,1781,1783,1804,1814,1825,1829,1831,1839, + 1850,1861,1872,1879,1892,1898,1920,1935,1940,1944,1954,1960,1966, + 1974,1979,1986,1988,1994,2000,2004,2009,2018,2023,2037,2047,2050, + 2059,2064,2069,2071,2080,2083,2091,2094,2101,2106,2113,2117,2119, + 2127,2137,2143,2145,2152,2156,2158,2165,2169,2171,2173,2182,2193, + 2197,2207,2217,2221,2229,2231,2244,2252,2261,2267,2275,2281,2285, + 2290,2295,2301,2320,2322,2324,2354,2365,2373,2378,2383,2396,2402, + 2405,2412,2417,2420,2423,2428,2435,2438,2447,2450,2454,2460,2463, + 2478,2481,2500,2504,2512,2516,2541,2544,2553,2559,2565,2571,2580, + 2583,2586,2605,2614,2632,2648,2651,2660,2669,2675,2681,2692,2694, + 2699,2706,2708,2714,2720,2731,2740,2745,2750,2752,2754,2760,2762, + 2772,2781,2783,2789,2791,2794,2804,2806,2814,2822,2825,2830,2835, + 2845,2849,2853,2856,2858,2866,2869,2879,2887,2889,2897,2903,2915, + 2924,2931,2936,2943,2948,2971,2976,2978,2985,2989,2996,3000,3016, + 3031,3038,3047,3057,3062,3071,3076,3084,3092,3095,3101,3104,3111, + 3119,3122,3130,3133,3142,3153,3158,3165,3167,3180,3195,3199,3203, + 3207,3213,3217,3221,3225,3227,3237,3248,3252,3259,3266,3273,3284, + 3287,3295,3301,3308,3324,3338,3341,3350,3353,3369,3373,3389,3395, + 3401,3405,3411,3421,3433,3442,3457,3465,3470,3476,3489,3502,3515, + 3528,3535,3542,3554,3567,3573,3580,3587,3597,3604,3607,3611,3615, + 3618 ]; private static __ATN: antlr.ATN; @@ -20285,8 +19874,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) { @@ -21291,8 +20883,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); @@ -21300,6 +20892,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); @@ -22978,8 +22579,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; @@ -23004,75 +22608,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); } @@ -23097,14 +22636,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); @@ -23112,9 +22660,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); } @@ -23139,6 +22684,9 @@ export class QueryNoWithContext extends antlr.ParserRuleContext { return this.getToken(TrinoSqlParser.KW_ROWS, i); } } + public KW_ALL(): antlr.TerminalNode | null { + return this.getToken(TrinoSqlParser.KW_ALL, 0); + } public KW_ONLY(): antlr.TerminalNode | null { return this.getToken(TrinoSqlParser.KW_ONLY, 0); } @@ -23171,72 +22719,6 @@ export class QueryNoWithContext extends antlr.ParserRuleContext { } -export class LimitRowCountContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - 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 INTEGER_VALUE(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.INTEGER_VALUE, 0); - } - public QUESTION_MARK(): antlr.TerminalNode | null { - return this.getToken(TrinoSqlParser.QUESTION_MARK, 0); - } - public override get ruleIndex(): number { - return TrinoSqlParser.RULE_rowCount; - } - public override enterRule(listener: TrinoSqlListener): void { - if(listener.enterRowCount) { - listener.enterRowCount(this); - } - } - public override exitRule(listener: TrinoSqlListener): void { - if(listener.exitRowCount) { - listener.exitRowCount(this); - } - } - public override accept(visitor: TrinoSqlVisitor): Result | null { - if (visitor.visitRowCount) { - return visitor.visitRowCount(this); - } else { - return visitor.visitChildren(this); - } - } -} - - export class QueryTermContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -24588,8 +24070,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); @@ -24617,75 +24102,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); @@ -24696,8 +24112,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); @@ -24725,42 +24147,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); @@ -24937,46 +24323,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); @@ -24996,25 +24358,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); } @@ -25360,6 +24719,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); @@ -25367,8 +24727,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) { @@ -27111,8 +26486,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) { @@ -27461,8 +26845,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) { @@ -27519,8 +26909,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) { @@ -27771,8 +27170,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) { @@ -28035,14 +27437,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) { @@ -28529,8 +27943,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) { @@ -28951,45 +28371,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); @@ -29185,42 +28566,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); @@ -29292,83 +28637,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); @@ -29432,50 +28700,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); } @@ -29582,45 +28817,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); @@ -30444,15 +29640,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); } @@ -30465,6 +29652,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; } @@ -31221,8 +30417,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) { @@ -31244,132 +30452,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); @@ -31552,15 +30634,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 { @@ -31593,84 +30687,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); @@ -31695,41 +30711,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); } @@ -32177,14 +31160,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; @@ -32198,6 +31199,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); @@ -32330,26 +31349,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); @@ -32460,45 +31497,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); @@ -32532,54 +31530,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); @@ -32670,10 +31620,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); } @@ -32683,39 +31636,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; } @@ -33279,82 +32199,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); @@ -33847,71 +32691,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 2f62aba0..399254ce 100644 --- a/src/lib/trino/TrinoSqlVisitor.ts +++ b/src/lib/trino/TrinoSqlVisitor.ts @@ -110,11 +110,7 @@ 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"; @@ -150,14 +146,10 @@ import { JoinCriteriaContext } from "./TrinoSqlParser.js"; import { JoinColumnEqualityContext } from "./TrinoSqlParser.js"; import { JoinColumnReferenceContext } 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"; @@ -258,23 +250,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"; @@ -316,20 +302,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"; @@ -348,12 +327,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"; @@ -371,8 +347,6 @@ import { EmptyColumnContext } 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"; @@ -388,8 +362,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"; @@ -1098,38 +1070,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`. @@ -1352,30 +1298,12 @@ export class TrinoSqlVisitor extends AbstractParseTreeVisitor { * @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 @@ -1394,12 +1322,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 @@ -2079,12 +2001,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 @@ -2115,12 +2031,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`. @@ -2135,20 +2045,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 @@ -2161,12 +2057,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 @@ -2179,12 +2069,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`. @@ -2464,34 +2348,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`. @@ -2532,30 +2388,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`. @@ -2681,24 +2519,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 @@ -2711,12 +2537,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 @@ -2819,18 +2639,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`. @@ -2934,20 +2742,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 86b4c81c..10d9b62d 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 e0ae00aa..65b054cc 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 124b0797..4a84581b 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 47cce390..7a055cb7 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;