diff --git a/.eslintrc b/.eslintrc index d24469c42..13f0434cb 100644 --- a/.eslintrc +++ b/.eslintrc @@ -12,12 +12,12 @@ "consistent-return": "off", "no-negated-condition": "off", "@typescript-eslint/explicit-function-return-type": "error", - "@typescript-eslint/array-type": ["error", { "default": "array" }], + "@typescript-eslint/array-type": ["error", {"default": "array"}], "object-shorthand": "error", "no-implicit-globals": "off", "camelcase": "off", "complexity": "off", - "filenames/match-regex": [2, "^[a-z-\\.]+$", true], + "filenames/match-regex": [2, "^[a-z-0-9\\.]+$", true], "padding-line-between-statements": [ "error", {"blankLine": "always", "prev": "function", "next": "*"}, @@ -25,29 +25,32 @@ {"blankLine": "always", "prev": "export", "next": "*"}, {"blankLine": "always", "prev": "*", "next": "export"} ], - "import/no-restricted-paths": ["error", { - "zones": [ - { - "target": "./src/autocomplete/databases/clickhouse/**/*", - "from": "./src/autocomplete/databases/!(clickhouse)/**/*" - }, - { - "target": "./src/autocomplete/databases/mysql/**/*", - "from": "./src/autocomplete/databases/!(mysql)/**/*" - }, - { - "target": "./src/autocomplete/databases/postgresql/**/*", - "from": "./src/autocomplete/databases/!(postgresql)/**/*" - }, - { - "target": "./src/autocomplete/databases/yql/**/*", - "from": "./src/autocomplete/databases/!(yql)/**/*" - }, - { - "target": "./src/autocomplete/databases/redis/**/*", - "from": "./src/autocomplete/databases/!(redis)/**/*" - } - ] - }] + "import/no-restricted-paths": [ + "error", + { + "zones": [ + { + "target": "./src/autocomplete/databases/clickhouse/**/*", + "from": "./src/autocomplete/databases/!(clickhouse)/**/*" + }, + { + "target": "./src/autocomplete/databases/mysql/**/*", + "from": "./src/autocomplete/databases/!(mysql)/**/*" + }, + { + "target": "./src/autocomplete/databases/postgresql/**/*", + "from": "./src/autocomplete/databases/!(postgresql)/**/*" + }, + { + "target": "./src/autocomplete/databases/yql/**/*", + "from": "./src/autocomplete/databases/!(yql)/**/*" + }, + { + "target": "./src/autocomplete/databases/redis/**/*", + "from": "./src/autocomplete/databases/!(redis)/**/*" + } + ] + } + ] } } diff --git a/src/autocomplete/databases/clickhouse/generated/ClickHouseLexer.interp b/src/autocomplete/databases/clickhouse/generated/ClickHouseLexer.interp index c3b2ede94..5e427adfb 100644 --- a/src/autocomplete/databases/clickhouse/generated/ClickHouseLexer.interp +++ b/src/autocomplete/databases/clickhouse/generated/ClickHouseLexer.interp @@ -194,6 +194,58 @@ null null null null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null 'false' 'true' null @@ -432,6 +484,58 @@ WHERE WINDOW WITH YEAR +GRANT +USER +FETCH +REFRESH +POLICY +QUOTA +ROLE +PROFILE +ARBITRARY +COLUMNS +CURRENT_USER +ACCESS +SHOW_USERS +SHOW_ROLES +SHOW_ROW_POLICIES +SHOW_QUOTAS +SHOW_SETTINGS_PROFILES +SHUTDOWN +CACHE +DNS +MARK +PART +UNCOMPRESSED +CONFIG +EMBEDDED +FUNCTIONS +MOVES +REPLICATION +QUEUES +RESTART +DICTGET +DICTGETHIERARCHY +DICTHAS +DICTISIN +MANAGEMENT +ADMIN +INTROSPECTION +ADDRESSTOLINE +ADDRESSTOSYMBOL +DEMANGLE +SOURCES +FILE +URL +REMOTE +MYSQL +ODBC +JDBC +HDFS +S3 +SETTING +OPTION +NONE JSON_FALSE JSON_TRUE IDENTIFIER @@ -669,6 +773,58 @@ WHERE WINDOW WITH YEAR +GRANT +USER +FETCH +REFRESH +POLICY +QUOTA +ROLE +PROFILE +ARBITRARY +COLUMNS +CURRENT_USER +ACCESS +SHOW_USERS +SHOW_ROLES +SHOW_ROW_POLICIES +SHOW_QUOTAS +SHOW_SETTINGS_PROFILES +SHUTDOWN +CACHE +DNS +MARK +PART +UNCOMPRESSED +CONFIG +EMBEDDED +FUNCTIONS +MOVES +REPLICATION +QUEUES +RESTART +DICTGET +DICTGETHIERARCHY +DICTHAS +DICTISIN +MANAGEMENT +ADMIN +INTROSPECTION +ADDRESSTOLINE +ADDRESSTOSYMBOL +DEMANGLE +SOURCES +FILE +URL +REMOTE +MYSQL +ODBC +JDBC +HDFS +S3 +SETTING +OPTION +NONE JSON_FALSE JSON_TRUE IDENTIFIER @@ -749,4 +905,4 @@ mode names: DEFAULT_MODE atn: -[4, 0, 235, 2168, 6, -1, 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, 2, 164, 7, 164, 2, 165, 7, 165, 2, 166, 7, 166, 2, 167, 7, 167, 2, 168, 7, 168, 2, 169, 7, 169, 2, 170, 7, 170, 2, 171, 7, 171, 2, 172, 7, 172, 2, 173, 7, 173, 2, 174, 7, 174, 2, 175, 7, 175, 2, 176, 7, 176, 2, 177, 7, 177, 2, 178, 7, 178, 2, 179, 7, 179, 2, 180, 7, 180, 2, 181, 7, 181, 2, 182, 7, 182, 2, 183, 7, 183, 2, 184, 7, 184, 2, 185, 7, 185, 2, 186, 7, 186, 2, 187, 7, 187, 2, 188, 7, 188, 2, 189, 7, 189, 2, 190, 7, 190, 2, 191, 7, 191, 2, 192, 7, 192, 2, 193, 7, 193, 2, 194, 7, 194, 2, 195, 7, 195, 2, 196, 7, 196, 2, 197, 7, 197, 2, 198, 7, 198, 2, 199, 7, 199, 2, 200, 7, 200, 2, 201, 7, 201, 2, 202, 7, 202, 2, 203, 7, 203, 2, 204, 7, 204, 2, 205, 7, 205, 2, 206, 7, 206, 2, 207, 7, 207, 2, 208, 7, 208, 2, 209, 7, 209, 2, 210, 7, 210, 2, 211, 7, 211, 2, 212, 7, 212, 2, 213, 7, 213, 2, 214, 7, 214, 2, 215, 7, 215, 2, 216, 7, 216, 2, 217, 7, 217, 2, 218, 7, 218, 2, 219, 7, 219, 2, 220, 7, 220, 2, 221, 7, 221, 2, 222, 7, 222, 2, 223, 7, 223, 2, 224, 7, 224, 2, 225, 7, 225, 2, 226, 7, 226, 2, 227, 7, 227, 2, 228, 7, 228, 2, 229, 7, 229, 2, 230, 7, 230, 2, 231, 7, 231, 2, 232, 7, 232, 2, 233, 7, 233, 2, 234, 7, 234, 2, 235, 7, 235, 2, 236, 7, 236, 2, 237, 7, 237, 2, 238, 7, 238, 2, 239, 7, 239, 2, 240, 7, 240, 2, 241, 7, 241, 2, 242, 7, 242, 2, 243, 7, 243, 2, 244, 7, 244, 2, 245, 7, 245, 2, 246, 7, 246, 2, 247, 7, 247, 2, 248, 7, 248, 2, 249, 7, 249, 2, 250, 7, 250, 2, 251, 7, 251, 2, 252, 7, 252, 2, 253, 7, 253, 2, 254, 7, 254, 2, 255, 7, 255, 2, 256, 7, 256, 2, 257, 7, 257, 2, 258, 7, 258, 2, 259, 7, 259, 2, 260, 7, 260, 2, 261, 7, 261, 2, 262, 7, 262, 2, 263, 7, 263, 2, 264, 7, 264, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 3, 10, 594, 8, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 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, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 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, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 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, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 1101, 8, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 87, 1, 87, 1, 87, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 90, 1, 90, 1, 90, 1, 90, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 94, 1, 94, 1, 94, 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, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 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, 104, 1, 104, 1, 104, 1, 104, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 106, 1, 106, 1, 106, 1, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 112, 1, 112, 1, 112, 1, 112, 1, 113, 1, 113, 1, 113, 1, 114, 1, 114, 1, 114, 1, 114, 1, 115, 1, 115, 1, 115, 1, 115, 1, 115, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 118, 1, 118, 1, 118, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 120, 1, 120, 1, 120, 1, 121, 1, 121, 1, 121, 1, 121, 1, 121, 1, 121, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 124, 1, 124, 1, 124, 1, 124, 1, 124, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 134, 1, 134, 1, 134, 1, 134, 1, 134, 1, 134, 1, 135, 1, 135, 1, 135, 1, 135, 1, 135, 1, 135, 1, 136, 1, 136, 1, 136, 1, 136, 1, 136, 1, 136, 1, 136, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 143, 1, 143, 1, 143, 1, 143, 1, 143, 1, 143, 1, 143, 1, 144, 1, 144, 1, 144, 1, 144, 1, 145, 1, 145, 1, 145, 1, 145, 1, 145, 1, 146, 1, 146, 1, 146, 1, 146, 1, 146, 1, 146, 1, 146, 1, 147, 1, 147, 1, 147, 1, 147, 1, 147, 1, 147, 1, 147, 1, 148, 1, 148, 1, 148, 1, 148, 1, 148, 1, 148, 1, 148, 1, 149, 1, 149, 1, 149, 1, 149, 1, 149, 1, 150, 1, 150, 1, 150, 1, 150, 1, 150, 1, 150, 1, 151, 1, 151, 1, 151, 1, 151, 1, 152, 1, 152, 1, 152, 1, 152, 1, 152, 1, 152, 1, 152, 1, 152, 1, 152, 1, 153, 1, 153, 1, 153, 1, 153, 1, 153, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 155, 1, 155, 1, 155, 1, 155, 1, 155, 1, 155, 1, 156, 1, 156, 1, 156, 1, 156, 1, 156, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 159, 1, 159, 1, 159, 1, 159, 1, 159, 1, 159, 1, 159, 1, 160, 1, 160, 1, 160, 1, 160, 1, 160, 1, 160, 1, 160, 1, 161, 1, 161, 1, 161, 1, 161, 1, 161, 1, 161, 1, 162, 1, 162, 1, 162, 1, 162, 1, 162, 1, 162, 1, 162, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 164, 1, 164, 1, 164, 1, 164, 1, 164, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 167, 1, 167, 1, 167, 1, 167, 1, 167, 1, 167, 1, 167, 1, 167, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 169, 1, 169, 1, 169, 1, 170, 1, 170, 1, 170, 1, 170, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 173, 1, 173, 1, 173, 1, 173, 1, 173, 1, 174, 1, 174, 1, 174, 1, 174, 1, 174, 1, 175, 1, 175, 1, 175, 1, 175, 1, 175, 1, 175, 1, 175, 1, 175, 1, 175, 1, 176, 1, 176, 1, 176, 1, 176, 1, 177, 1, 177, 1, 177, 1, 177, 1, 177, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 179, 1, 179, 1, 179, 1, 179, 1, 179, 1, 179, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 181, 1, 181, 1, 181, 1, 181, 1, 182, 1, 182, 1, 182, 1, 182, 1, 182, 1, 182, 1, 183, 1, 183, 1, 183, 1, 183, 1, 183, 1, 184, 1, 184, 1, 184, 1, 184, 1, 184, 1, 184, 1, 184, 1, 185, 1, 185, 1, 185, 1, 185, 1, 185, 1, 186, 1, 186, 1, 186, 1, 186, 1, 186, 1, 186, 1, 186, 1, 187, 1, 187, 1, 187, 1, 187, 1, 187, 1, 187, 1, 188, 1, 188, 1, 188, 1, 188, 1, 188, 1, 189, 1, 189, 1, 189, 1, 189, 1, 189, 1, 190, 1, 190, 1, 190, 1, 190, 1, 190, 1, 190, 1, 191, 1, 191, 1, 191, 1, 191, 1, 191, 1, 191, 1, 191, 1, 192, 1, 192, 1, 192, 1, 192, 1, 192, 1, 193, 1, 193, 1, 193, 1, 193, 1, 193, 1, 193, 1, 193, 1, 193, 1, 193, 1, 193, 3, 193, 1840, 8, 193, 1, 194, 1, 194, 1, 194, 1, 194, 1, 194, 1, 194, 1, 195, 1, 195, 1, 195, 1, 195, 1, 195, 1, 196, 1, 196, 3, 196, 1855, 8, 196, 1, 196, 1, 196, 1, 196, 5, 196, 1860, 8, 196, 10, 196, 12, 196, 1863, 9, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 5, 196, 1873, 8, 196, 10, 196, 12, 196, 1876, 9, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 5, 196, 1888, 8, 196, 10, 196, 12, 196, 1891, 9, 196, 1, 196, 1, 196, 3, 196, 1895, 8, 196, 1, 197, 1, 197, 1, 197, 5, 197, 1900, 8, 197, 10, 197, 12, 197, 1903, 9, 197, 1, 197, 1, 197, 3, 197, 1907, 8, 197, 1, 197, 1, 197, 3, 197, 1911, 8, 197, 1, 197, 4, 197, 1914, 8, 197, 11, 197, 12, 197, 1915, 1, 197, 1, 197, 1, 197, 3, 197, 1921, 8, 197, 1, 197, 1, 197, 3, 197, 1925, 8, 197, 1, 197, 4, 197, 1928, 8, 197, 11, 197, 12, 197, 1929, 1, 197, 1, 197, 1, 197, 5, 197, 1935, 8, 197, 10, 197, 12, 197, 1938, 9, 197, 1, 197, 1, 197, 1, 197, 3, 197, 1943, 8, 197, 1, 197, 4, 197, 1946, 8, 197, 11, 197, 12, 197, 1947, 1, 197, 1, 197, 1, 197, 1, 197, 1, 197, 3, 197, 1955, 8, 197, 1, 197, 4, 197, 1958, 8, 197, 11, 197, 12, 197, 1959, 1, 197, 1, 197, 1, 197, 1, 197, 3, 197, 1966, 8, 197, 1, 197, 4, 197, 1969, 8, 197, 11, 197, 12, 197, 1970, 3, 197, 1973, 8, 197, 1, 198, 1, 198, 4, 198, 1977, 8, 198, 11, 198, 12, 198, 1978, 1, 199, 4, 199, 1982, 8, 199, 11, 199, 12, 199, 1983, 1, 200, 1, 200, 1, 200, 4, 200, 1989, 8, 200, 11, 200, 12, 200, 1990, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 5, 201, 2001, 8, 201, 10, 201, 12, 201, 2004, 9, 201, 1, 201, 1, 201, 1, 202, 1, 202, 1, 203, 1, 203, 1, 204, 1, 204, 1, 205, 1, 205, 1, 206, 1, 206, 1, 207, 1, 207, 1, 208, 1, 208, 1, 209, 1, 209, 1, 210, 1, 210, 1, 211, 1, 211, 1, 212, 1, 212, 1, 213, 1, 213, 1, 214, 1, 214, 1, 215, 1, 215, 1, 216, 1, 216, 1, 217, 1, 217, 1, 218, 1, 218, 1, 219, 1, 219, 1, 220, 1, 220, 1, 221, 1, 221, 1, 222, 1, 222, 1, 223, 1, 223, 1, 224, 1, 224, 1, 225, 1, 225, 1, 226, 1, 226, 1, 227, 1, 227, 1, 228, 1, 228, 1, 229, 1, 229, 1, 230, 1, 230, 1, 231, 1, 231, 1, 232, 1, 232, 1, 232, 1, 233, 1, 233, 1, 234, 1, 234, 1, 235, 1, 235, 1, 236, 1, 236, 1, 237, 1, 237, 1, 238, 1, 238, 1, 238, 1, 239, 1, 239, 1, 240, 1, 240, 1, 241, 1, 241, 1, 241, 1, 242, 1, 242, 1, 243, 1, 243, 1, 243, 1, 244, 1, 244, 1, 245, 1, 245, 1, 246, 1, 246, 1, 247, 1, 247, 1, 247, 1, 248, 1, 248, 1, 249, 1, 249, 1, 250, 1, 250, 1, 250, 1, 250, 3, 250, 2113, 8, 250, 1, 251, 1, 251, 1, 252, 1, 252, 1, 253, 1, 253, 1, 254, 1, 254, 1, 255, 1, 255, 1, 256, 1, 256, 1, 257, 1, 257, 1, 258, 1, 258, 1, 259, 1, 259, 1, 260, 1, 260, 1, 261, 1, 261, 1, 262, 1, 262, 1, 262, 1, 262, 5, 262, 2141, 8, 262, 10, 262, 12, 262, 2144, 9, 262, 1, 262, 1, 262, 1, 262, 1, 262, 1, 262, 1, 263, 1, 263, 1, 263, 1, 263, 5, 263, 2155, 8, 263, 10, 263, 12, 263, 2158, 9, 263, 1, 263, 3, 263, 2161, 8, 263, 1, 263, 1, 263, 1, 264, 1, 264, 1, 264, 1, 264, 1, 2142, 0, 265, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 61, 31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 36, 73, 37, 75, 38, 77, 39, 79, 40, 81, 41, 83, 42, 85, 43, 87, 44, 89, 45, 91, 46, 93, 47, 95, 48, 97, 49, 99, 50, 101, 51, 103, 52, 105, 53, 107, 54, 109, 55, 111, 56, 113, 57, 115, 58, 117, 59, 119, 60, 121, 61, 123, 62, 125, 63, 127, 64, 129, 65, 131, 66, 133, 67, 135, 68, 137, 69, 139, 70, 141, 71, 143, 72, 145, 73, 147, 74, 149, 75, 151, 76, 153, 77, 155, 78, 157, 79, 159, 80, 161, 81, 163, 82, 165, 83, 167, 84, 169, 85, 171, 86, 173, 87, 175, 88, 177, 89, 179, 90, 181, 91, 183, 92, 185, 93, 187, 94, 189, 95, 191, 96, 193, 97, 195, 98, 197, 99, 199, 100, 201, 101, 203, 102, 205, 103, 207, 104, 209, 105, 211, 106, 213, 107, 215, 108, 217, 109, 219, 110, 221, 111, 223, 112, 225, 113, 227, 114, 229, 115, 231, 116, 233, 117, 235, 118, 237, 119, 239, 120, 241, 121, 243, 122, 245, 123, 247, 124, 249, 125, 251, 126, 253, 127, 255, 128, 257, 129, 259, 130, 261, 131, 263, 132, 265, 133, 267, 134, 269, 135, 271, 136, 273, 137, 275, 138, 277, 139, 279, 140, 281, 141, 283, 142, 285, 143, 287, 144, 289, 145, 291, 146, 293, 147, 295, 148, 297, 149, 299, 150, 301, 151, 303, 152, 305, 153, 307, 154, 309, 155, 311, 156, 313, 157, 315, 158, 317, 159, 319, 160, 321, 161, 323, 162, 325, 163, 327, 164, 329, 165, 331, 166, 333, 167, 335, 168, 337, 169, 339, 170, 341, 171, 343, 172, 345, 173, 347, 174, 349, 175, 351, 176, 353, 177, 355, 178, 357, 179, 359, 180, 361, 181, 363, 182, 365, 183, 367, 184, 369, 185, 371, 186, 373, 187, 375, 188, 377, 189, 379, 190, 381, 191, 383, 192, 385, 193, 387, 194, 389, 195, 391, 196, 393, 197, 395, 198, 397, 199, 399, 200, 401, 201, 403, 202, 405, 0, 407, 0, 409, 0, 411, 0, 413, 0, 415, 0, 417, 0, 419, 0, 421, 0, 423, 0, 425, 0, 427, 0, 429, 0, 431, 0, 433, 0, 435, 0, 437, 0, 439, 0, 441, 0, 443, 0, 445, 0, 447, 0, 449, 0, 451, 0, 453, 0, 455, 0, 457, 0, 459, 0, 461, 0, 463, 0, 465, 203, 467, 204, 469, 205, 471, 206, 473, 207, 475, 208, 477, 209, 479, 210, 481, 211, 483, 212, 485, 213, 487, 214, 489, 215, 491, 216, 493, 217, 495, 218, 497, 219, 499, 220, 501, 221, 503, 222, 505, 223, 507, 224, 509, 225, 511, 226, 513, 227, 515, 228, 517, 229, 519, 230, 521, 231, 523, 232, 525, 233, 527, 234, 529, 235, 1, 0, 36, 2, 0, 92, 92, 96, 96, 2, 0, 34, 34, 92, 92, 2, 0, 39, 39, 92, 92, 2, 0, 65, 65, 97, 97, 2, 0, 66, 66, 98, 98, 2, 0, 67, 67, 99, 99, 2, 0, 68, 68, 100, 100, 2, 0, 69, 69, 101, 101, 2, 0, 70, 70, 102, 102, 2, 0, 71, 71, 103, 103, 2, 0, 72, 72, 104, 104, 2, 0, 73, 73, 105, 105, 2, 0, 74, 74, 106, 106, 2, 0, 75, 75, 107, 107, 2, 0, 76, 76, 108, 108, 2, 0, 77, 77, 109, 109, 2, 0, 78, 78, 110, 110, 2, 0, 79, 79, 111, 111, 2, 0, 80, 80, 112, 112, 2, 0, 81, 81, 113, 113, 2, 0, 82, 82, 114, 114, 2, 0, 83, 83, 115, 115, 2, 0, 84, 84, 116, 116, 2, 0, 85, 85, 117, 117, 2, 0, 86, 86, 118, 118, 2, 0, 87, 87, 119, 119, 2, 0, 88, 88, 120, 120, 2, 0, 89, 89, 121, 121, 2, 0, 90, 90, 122, 122, 2, 0, 65, 90, 97, 122, 1, 0, 48, 55, 1, 0, 48, 57, 3, 0, 48, 57, 65, 70, 97, 102, 2, 0, 10, 10, 13, 13, 2, 1, 10, 10, 13, 13, 2, 0, 9, 13, 32, 32, 2184, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1, 0, 0, 0, 0, 101, 1, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 105, 1, 0, 0, 0, 0, 107, 1, 0, 0, 0, 0, 109, 1, 0, 0, 0, 0, 111, 1, 0, 0, 0, 0, 113, 1, 0, 0, 0, 0, 115, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0, 0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 0, 143, 1, 0, 0, 0, 0, 145, 1, 0, 0, 0, 0, 147, 1, 0, 0, 0, 0, 149, 1, 0, 0, 0, 0, 151, 1, 0, 0, 0, 0, 153, 1, 0, 0, 0, 0, 155, 1, 0, 0, 0, 0, 157, 1, 0, 0, 0, 0, 159, 1, 0, 0, 0, 0, 161, 1, 0, 0, 0, 0, 163, 1, 0, 0, 0, 0, 165, 1, 0, 0, 0, 0, 167, 1, 0, 0, 0, 0, 169, 1, 0, 0, 0, 0, 171, 1, 0, 0, 0, 0, 173, 1, 0, 0, 0, 0, 175, 1, 0, 0, 0, 0, 177, 1, 0, 0, 0, 0, 179, 1, 0, 0, 0, 0, 181, 1, 0, 0, 0, 0, 183, 1, 0, 0, 0, 0, 185, 1, 0, 0, 0, 0, 187, 1, 0, 0, 0, 0, 189, 1, 0, 0, 0, 0, 191, 1, 0, 0, 0, 0, 193, 1, 0, 0, 0, 0, 195, 1, 0, 0, 0, 0, 197, 1, 0, 0, 0, 0, 199, 1, 0, 0, 0, 0, 201, 1, 0, 0, 0, 0, 203, 1, 0, 0, 0, 0, 205, 1, 0, 0, 0, 0, 207, 1, 0, 0, 0, 0, 209, 1, 0, 0, 0, 0, 211, 1, 0, 0, 0, 0, 213, 1, 0, 0, 0, 0, 215, 1, 0, 0, 0, 0, 217, 1, 0, 0, 0, 0, 219, 1, 0, 0, 0, 0, 221, 1, 0, 0, 0, 0, 223, 1, 0, 0, 0, 0, 225, 1, 0, 0, 0, 0, 227, 1, 0, 0, 0, 0, 229, 1, 0, 0, 0, 0, 231, 1, 0, 0, 0, 0, 233, 1, 0, 0, 0, 0, 235, 1, 0, 0, 0, 0, 237, 1, 0, 0, 0, 0, 239, 1, 0, 0, 0, 0, 241, 1, 0, 0, 0, 0, 243, 1, 0, 0, 0, 0, 245, 1, 0, 0, 0, 0, 247, 1, 0, 0, 0, 0, 249, 1, 0, 0, 0, 0, 251, 1, 0, 0, 0, 0, 253, 1, 0, 0, 0, 0, 255, 1, 0, 0, 0, 0, 257, 1, 0, 0, 0, 0, 259, 1, 0, 0, 0, 0, 261, 1, 0, 0, 0, 0, 263, 1, 0, 0, 0, 0, 265, 1, 0, 0, 0, 0, 267, 1, 0, 0, 0, 0, 269, 1, 0, 0, 0, 0, 271, 1, 0, 0, 0, 0, 273, 1, 0, 0, 0, 0, 275, 1, 0, 0, 0, 0, 277, 1, 0, 0, 0, 0, 279, 1, 0, 0, 0, 0, 281, 1, 0, 0, 0, 0, 283, 1, 0, 0, 0, 0, 285, 1, 0, 0, 0, 0, 287, 1, 0, 0, 0, 0, 289, 1, 0, 0, 0, 0, 291, 1, 0, 0, 0, 0, 293, 1, 0, 0, 0, 0, 295, 1, 0, 0, 0, 0, 297, 1, 0, 0, 0, 0, 299, 1, 0, 0, 0, 0, 301, 1, 0, 0, 0, 0, 303, 1, 0, 0, 0, 0, 305, 1, 0, 0, 0, 0, 307, 1, 0, 0, 0, 0, 309, 1, 0, 0, 0, 0, 311, 1, 0, 0, 0, 0, 313, 1, 0, 0, 0, 0, 315, 1, 0, 0, 0, 0, 317, 1, 0, 0, 0, 0, 319, 1, 0, 0, 0, 0, 321, 1, 0, 0, 0, 0, 323, 1, 0, 0, 0, 0, 325, 1, 0, 0, 0, 0, 327, 1, 0, 0, 0, 0, 329, 1, 0, 0, 0, 0, 331, 1, 0, 0, 0, 0, 333, 1, 0, 0, 0, 0, 335, 1, 0, 0, 0, 0, 337, 1, 0, 0, 0, 0, 339, 1, 0, 0, 0, 0, 341, 1, 0, 0, 0, 0, 343, 1, 0, 0, 0, 0, 345, 1, 0, 0, 0, 0, 347, 1, 0, 0, 0, 0, 349, 1, 0, 0, 0, 0, 351, 1, 0, 0, 0, 0, 353, 1, 0, 0, 0, 0, 355, 1, 0, 0, 0, 0, 357, 1, 0, 0, 0, 0, 359, 1, 0, 0, 0, 0, 361, 1, 0, 0, 0, 0, 363, 1, 0, 0, 0, 0, 365, 1, 0, 0, 0, 0, 367, 1, 0, 0, 0, 0, 369, 1, 0, 0, 0, 0, 371, 1, 0, 0, 0, 0, 373, 1, 0, 0, 0, 0, 375, 1, 0, 0, 0, 0, 377, 1, 0, 0, 0, 0, 379, 1, 0, 0, 0, 0, 381, 1, 0, 0, 0, 0, 383, 1, 0, 0, 0, 0, 385, 1, 0, 0, 0, 0, 387, 1, 0, 0, 0, 0, 389, 1, 0, 0, 0, 0, 391, 1, 0, 0, 0, 0, 393, 1, 0, 0, 0, 0, 395, 1, 0, 0, 0, 0, 397, 1, 0, 0, 0, 0, 399, 1, 0, 0, 0, 0, 401, 1, 0, 0, 0, 0, 403, 1, 0, 0, 0, 0, 465, 1, 0, 0, 0, 0, 467, 1, 0, 0, 0, 0, 469, 1, 0, 0, 0, 0, 471, 1, 0, 0, 0, 0, 473, 1, 0, 0, 0, 0, 475, 1, 0, 0, 0, 0, 477, 1, 0, 0, 0, 0, 479, 1, 0, 0, 0, 0, 481, 1, 0, 0, 0, 0, 483, 1, 0, 0, 0, 0, 485, 1, 0, 0, 0, 0, 487, 1, 0, 0, 0, 0, 489, 1, 0, 0, 0, 0, 491, 1, 0, 0, 0, 0, 493, 1, 0, 0, 0, 0, 495, 1, 0, 0, 0, 0, 497, 1, 0, 0, 0, 0, 499, 1, 0, 0, 0, 0, 501, 1, 0, 0, 0, 0, 503, 1, 0, 0, 0, 0, 505, 1, 0, 0, 0, 0, 507, 1, 0, 0, 0, 0, 509, 1, 0, 0, 0, 0, 511, 1, 0, 0, 0, 0, 513, 1, 0, 0, 0, 0, 515, 1, 0, 0, 0, 0, 517, 1, 0, 0, 0, 0, 519, 1, 0, 0, 0, 0, 521, 1, 0, 0, 0, 0, 523, 1, 0, 0, 0, 0, 525, 1, 0, 0, 0, 0, 527, 1, 0, 0, 0, 0, 529, 1, 0, 0, 0, 1, 531, 1, 0, 0, 0, 3, 535, 1, 0, 0, 0, 5, 541, 1, 0, 0, 0, 7, 547, 1, 0, 0, 0, 9, 551, 1, 0, 0, 0, 11, 557, 1, 0, 0, 0, 13, 561, 1, 0, 0, 0, 15, 566, 1, 0, 0, 0, 17, 570, 1, 0, 0, 0, 19, 576, 1, 0, 0, 0, 21, 593, 1, 0, 0, 0, 23, 595, 1, 0, 0, 0, 25, 600, 1, 0, 0, 0, 27, 604, 1, 0, 0, 0, 29, 610, 1, 0, 0, 0, 31, 617, 1, 0, 0, 0, 33, 625, 1, 0, 0, 0, 35, 630, 1, 0, 0, 0, 37, 633, 1, 0, 0, 0, 39, 638, 1, 0, 0, 0, 41, 643, 1, 0, 0, 0, 43, 649, 1, 0, 0, 0, 45, 655, 1, 0, 0, 0, 47, 663, 1, 0, 0, 0, 49, 669, 1, 0, 0, 0, 51, 677, 1, 0, 0, 0, 53, 684, 1, 0, 0, 0, 55, 692, 1, 0, 0, 0, 57, 703, 1, 0, 0, 0, 59, 710, 1, 0, 0, 0, 61, 716, 1, 0, 0, 0, 63, 721, 1, 0, 0, 0, 65, 729, 1, 0, 0, 0, 67, 738, 1, 0, 0, 0, 69, 748, 1, 0, 0, 0, 71, 753, 1, 0, 0, 0, 73, 757, 1, 0, 0, 0, 75, 769, 1, 0, 0, 0, 77, 777, 1, 0, 0, 0, 79, 783, 1, 0, 0, 0, 81, 790, 1, 0, 0, 0, 83, 795, 1, 0, 0, 0, 85, 806, 1, 0, 0, 0, 87, 815, 1, 0, 0, 0, 89, 822, 1, 0, 0, 0, 91, 835, 1, 0, 0, 0, 93, 846, 1, 0, 0, 0, 95, 851, 1, 0, 0, 0, 97, 860, 1, 0, 0, 0, 99, 872, 1, 0, 0, 0, 101, 877, 1, 0, 0, 0, 103, 882, 1, 0, 0, 0, 105, 886, 1, 0, 0, 0, 107, 893, 1, 0, 0, 0, 109, 902, 1, 0, 0, 0, 111, 909, 1, 0, 0, 0, 113, 916, 1, 0, 0, 0, 115, 924, 1, 0, 0, 0, 117, 935, 1, 0, 0, 0, 119, 943, 1, 0, 0, 0, 121, 951, 1, 0, 0, 0, 123, 957, 1, 0, 0, 0, 125, 963, 1, 0, 0, 0, 127, 969, 1, 0, 0, 0, 129, 979, 1, 0, 0, 0, 131, 983, 1, 0, 0, 0, 133, 990, 1, 0, 0, 0, 135, 997, 1, 0, 0, 0, 137, 1002, 1, 0, 0, 0, 139, 1007, 1, 0, 0, 0, 141, 1016, 1, 0, 0, 0, 143, 1023, 1, 0, 0, 0, 145, 1035, 1, 0, 0, 0, 147, 1041, 1, 0, 0, 0, 149, 1048, 1, 0, 0, 0, 151, 1061, 1, 0, 0, 0, 153, 1066, 1, 0, 0, 0, 155, 1069, 1, 0, 0, 0, 157, 1072, 1, 0, 0, 0, 159, 1078, 1, 0, 0, 0, 161, 1081, 1, 0, 0, 0, 163, 1100, 1, 0, 0, 0, 165, 1102, 1, 0, 0, 0, 167, 1112, 1, 0, 0, 0, 169, 1118, 1, 0, 0, 0, 171, 1125, 1, 0, 0, 0, 173, 1134, 1, 0, 0, 0, 175, 1139, 1, 0, 0, 0, 177, 1142, 1, 0, 0, 0, 179, 1155, 1, 0, 0, 0, 181, 1160, 1, 0, 0, 0, 183, 1164, 1, 0, 0, 0, 185, 1169, 1, 0, 0, 0, 187, 1174, 1, 0, 0, 0, 189, 1181, 1, 0, 0, 0, 191, 1189, 1, 0, 0, 0, 193, 1194, 1, 0, 0, 0, 195, 1203, 1, 0, 0, 0, 197, 1208, 1, 0, 0, 0, 199, 1214, 1, 0, 0, 0, 201, 1219, 1, 0, 0, 0, 203, 1225, 1, 0, 0, 0, 205, 1230, 1, 0, 0, 0, 207, 1242, 1, 0, 0, 0, 209, 1255, 1, 0, 0, 0, 211, 1259, 1, 0, 0, 0, 213, 1266, 1, 0, 0, 0, 215, 1270, 1, 0, 0, 0, 217, 1277, 1, 0, 0, 0, 219, 1284, 1, 0, 0, 0, 221, 1290, 1, 0, 0, 0, 223, 1295, 1, 0, 0, 0, 225, 1304, 1, 0, 0, 0, 227, 1308, 1, 0, 0, 0, 229, 1311, 1, 0, 0, 0, 231, 1315, 1, 0, 0, 0, 233, 1320, 1, 0, 0, 0, 235, 1326, 1, 0, 0, 0, 237, 1333, 1, 0, 0, 0, 239, 1336, 1, 0, 0, 0, 241, 1345, 1, 0, 0, 0, 243, 1348, 1, 0, 0, 0, 245, 1354, 1, 0, 0, 0, 247, 1360, 1, 0, 0, 0, 249, 1368, 1, 0, 0, 0, 251, 1373, 1, 0, 0, 0, 253, 1383, 1, 0, 0, 0, 255, 1392, 1, 0, 0, 0, 257, 1397, 1, 0, 0, 0, 259, 1406, 1, 0, 0, 0, 261, 1416, 1, 0, 0, 0, 263, 1425, 1, 0, 0, 0, 265, 1433, 1, 0, 0, 0, 267, 1444, 1, 0, 0, 0, 269, 1452, 1, 0, 0, 0, 271, 1458, 1, 0, 0, 0, 273, 1464, 1, 0, 0, 0, 275, 1471, 1, 0, 0, 0, 277, 1478, 1, 0, 0, 0, 279, 1485, 1, 0, 0, 0, 281, 1493, 1, 0, 0, 0, 283, 1501, 1, 0, 0, 0, 285, 1512, 1, 0, 0, 0, 287, 1518, 1, 0, 0, 0, 289, 1525, 1, 0, 0, 0, 291, 1529, 1, 0, 0, 0, 293, 1534, 1, 0, 0, 0, 295, 1541, 1, 0, 0, 0, 297, 1548, 1, 0, 0, 0, 299, 1555, 1, 0, 0, 0, 301, 1560, 1, 0, 0, 0, 303, 1566, 1, 0, 0, 0, 305, 1570, 1, 0, 0, 0, 307, 1579, 1, 0, 0, 0, 309, 1584, 1, 0, 0, 0, 311, 1591, 1, 0, 0, 0, 313, 1597, 1, 0, 0, 0, 315, 1602, 1, 0, 0, 0, 317, 1612, 1, 0, 0, 0, 319, 1617, 1, 0, 0, 0, 321, 1624, 1, 0, 0, 0, 323, 1631, 1, 0, 0, 0, 325, 1637, 1, 0, 0, 0, 327, 1644, 1, 0, 0, 0, 329, 1654, 1, 0, 0, 0, 331, 1659, 1, 0, 0, 0, 333, 1664, 1, 0, 0, 0, 335, 1669, 1, 0, 0, 0, 337, 1677, 1, 0, 0, 0, 339, 1687, 1, 0, 0, 0, 341, 1690, 1, 0, 0, 0, 343, 1694, 1, 0, 0, 0, 345, 1701, 1, 0, 0, 0, 347, 1710, 1, 0, 0, 0, 349, 1715, 1, 0, 0, 0, 351, 1720, 1, 0, 0, 0, 353, 1729, 1, 0, 0, 0, 355, 1733, 1, 0, 0, 0, 357, 1738, 1, 0, 0, 0, 359, 1748, 1, 0, 0, 0, 361, 1754, 1, 0, 0, 0, 363, 1761, 1, 0, 0, 0, 365, 1765, 1, 0, 0, 0, 367, 1771, 1, 0, 0, 0, 369, 1776, 1, 0, 0, 0, 371, 1783, 1, 0, 0, 0, 373, 1788, 1, 0, 0, 0, 375, 1795, 1, 0, 0, 0, 377, 1801, 1, 0, 0, 0, 379, 1806, 1, 0, 0, 0, 381, 1811, 1, 0, 0, 0, 383, 1817, 1, 0, 0, 0, 385, 1824, 1, 0, 0, 0, 387, 1839, 1, 0, 0, 0, 389, 1841, 1, 0, 0, 0, 391, 1847, 1, 0, 0, 0, 393, 1894, 1, 0, 0, 0, 395, 1972, 1, 0, 0, 0, 397, 1974, 1, 0, 0, 0, 399, 1981, 1, 0, 0, 0, 401, 1985, 1, 0, 0, 0, 403, 1992, 1, 0, 0, 0, 405, 2007, 1, 0, 0, 0, 407, 2009, 1, 0, 0, 0, 409, 2011, 1, 0, 0, 0, 411, 2013, 1, 0, 0, 0, 413, 2015, 1, 0, 0, 0, 415, 2017, 1, 0, 0, 0, 417, 2019, 1, 0, 0, 0, 419, 2021, 1, 0, 0, 0, 421, 2023, 1, 0, 0, 0, 423, 2025, 1, 0, 0, 0, 425, 2027, 1, 0, 0, 0, 427, 2029, 1, 0, 0, 0, 429, 2031, 1, 0, 0, 0, 431, 2033, 1, 0, 0, 0, 433, 2035, 1, 0, 0, 0, 435, 2037, 1, 0, 0, 0, 437, 2039, 1, 0, 0, 0, 439, 2041, 1, 0, 0, 0, 441, 2043, 1, 0, 0, 0, 443, 2045, 1, 0, 0, 0, 445, 2047, 1, 0, 0, 0, 447, 2049, 1, 0, 0, 0, 449, 2051, 1, 0, 0, 0, 451, 2053, 1, 0, 0, 0, 453, 2055, 1, 0, 0, 0, 455, 2057, 1, 0, 0, 0, 457, 2059, 1, 0, 0, 0, 459, 2061, 1, 0, 0, 0, 461, 2063, 1, 0, 0, 0, 463, 2065, 1, 0, 0, 0, 465, 2067, 1, 0, 0, 0, 467, 2070, 1, 0, 0, 0, 469, 2072, 1, 0, 0, 0, 471, 2074, 1, 0, 0, 0, 473, 2076, 1, 0, 0, 0, 475, 2078, 1, 0, 0, 0, 477, 2080, 1, 0, 0, 0, 479, 2083, 1, 0, 0, 0, 481, 2085, 1, 0, 0, 0, 483, 2087, 1, 0, 0, 0, 485, 2090, 1, 0, 0, 0, 487, 2092, 1, 0, 0, 0, 489, 2095, 1, 0, 0, 0, 491, 2097, 1, 0, 0, 0, 493, 2099, 1, 0, 0, 0, 495, 2101, 1, 0, 0, 0, 497, 2104, 1, 0, 0, 0, 499, 2106, 1, 0, 0, 0, 501, 2112, 1, 0, 0, 0, 503, 2114, 1, 0, 0, 0, 505, 2116, 1, 0, 0, 0, 507, 2118, 1, 0, 0, 0, 509, 2120, 1, 0, 0, 0, 511, 2122, 1, 0, 0, 0, 513, 2124, 1, 0, 0, 0, 515, 2126, 1, 0, 0, 0, 517, 2128, 1, 0, 0, 0, 519, 2130, 1, 0, 0, 0, 521, 2132, 1, 0, 0, 0, 523, 2134, 1, 0, 0, 0, 525, 2136, 1, 0, 0, 0, 527, 2150, 1, 0, 0, 0, 529, 2164, 1, 0, 0, 0, 531, 532, 3, 405, 202, 0, 532, 533, 3, 411, 205, 0, 533, 534, 3, 411, 205, 0, 534, 2, 1, 0, 0, 0, 535, 536, 3, 405, 202, 0, 536, 537, 3, 415, 207, 0, 537, 538, 3, 443, 221, 0, 538, 539, 3, 413, 206, 0, 539, 540, 3, 439, 219, 0, 540, 4, 1, 0, 0, 0, 541, 542, 3, 405, 202, 0, 542, 543, 3, 427, 213, 0, 543, 544, 3, 421, 210, 0, 544, 545, 3, 405, 202, 0, 545, 546, 3, 441, 220, 0, 546, 6, 1, 0, 0, 0, 547, 548, 3, 405, 202, 0, 548, 549, 3, 427, 213, 0, 549, 550, 3, 427, 213, 0, 550, 8, 1, 0, 0, 0, 551, 552, 3, 405, 202, 0, 552, 553, 3, 427, 213, 0, 553, 554, 3, 443, 221, 0, 554, 555, 3, 413, 206, 0, 555, 556, 3, 439, 219, 0, 556, 10, 1, 0, 0, 0, 557, 558, 3, 405, 202, 0, 558, 559, 3, 431, 215, 0, 559, 560, 3, 411, 205, 0, 560, 12, 1, 0, 0, 0, 561, 562, 3, 405, 202, 0, 562, 563, 3, 431, 215, 0, 563, 564, 3, 443, 221, 0, 564, 565, 3, 421, 210, 0, 565, 14, 1, 0, 0, 0, 566, 567, 3, 405, 202, 0, 567, 568, 3, 431, 215, 0, 568, 569, 3, 453, 226, 0, 569, 16, 1, 0, 0, 0, 570, 571, 3, 405, 202, 0, 571, 572, 3, 439, 219, 0, 572, 573, 3, 439, 219, 0, 573, 574, 3, 405, 202, 0, 574, 575, 3, 453, 226, 0, 575, 18, 1, 0, 0, 0, 576, 577, 3, 405, 202, 0, 577, 578, 3, 441, 220, 0, 578, 20, 1, 0, 0, 0, 579, 580, 3, 405, 202, 0, 580, 581, 3, 441, 220, 0, 581, 582, 3, 409, 204, 0, 582, 594, 1, 0, 0, 0, 583, 584, 3, 405, 202, 0, 584, 585, 3, 441, 220, 0, 585, 586, 3, 409, 204, 0, 586, 587, 3, 413, 206, 0, 587, 588, 3, 431, 215, 0, 588, 589, 3, 411, 205, 0, 589, 590, 3, 421, 210, 0, 590, 591, 3, 431, 215, 0, 591, 592, 3, 417, 208, 0, 592, 594, 1, 0, 0, 0, 593, 579, 1, 0, 0, 0, 593, 583, 1, 0, 0, 0, 594, 22, 1, 0, 0, 0, 595, 596, 3, 405, 202, 0, 596, 597, 3, 441, 220, 0, 597, 598, 3, 433, 216, 0, 598, 599, 3, 415, 207, 0, 599, 24, 1, 0, 0, 0, 600, 601, 3, 405, 202, 0, 601, 602, 3, 441, 220, 0, 602, 603, 3, 443, 221, 0, 603, 26, 1, 0, 0, 0, 604, 605, 3, 405, 202, 0, 605, 606, 3, 441, 220, 0, 606, 607, 3, 453, 226, 0, 607, 608, 3, 431, 215, 0, 608, 609, 3, 409, 204, 0, 609, 28, 1, 0, 0, 0, 610, 611, 3, 405, 202, 0, 611, 612, 3, 443, 221, 0, 612, 613, 3, 443, 221, 0, 613, 614, 3, 405, 202, 0, 614, 615, 3, 409, 204, 0, 615, 616, 3, 419, 209, 0, 616, 30, 1, 0, 0, 0, 617, 618, 3, 407, 203, 0, 618, 619, 3, 413, 206, 0, 619, 620, 3, 443, 221, 0, 620, 621, 3, 449, 224, 0, 621, 622, 3, 413, 206, 0, 622, 623, 3, 413, 206, 0, 623, 624, 3, 431, 215, 0, 624, 32, 1, 0, 0, 0, 625, 626, 3, 407, 203, 0, 626, 627, 3, 433, 216, 0, 627, 628, 3, 443, 221, 0, 628, 629, 3, 419, 209, 0, 629, 34, 1, 0, 0, 0, 630, 631, 3, 407, 203, 0, 631, 632, 3, 453, 226, 0, 632, 36, 1, 0, 0, 0, 633, 634, 3, 409, 204, 0, 634, 635, 3, 405, 202, 0, 635, 636, 3, 441, 220, 0, 636, 637, 3, 413, 206, 0, 637, 38, 1, 0, 0, 0, 638, 639, 3, 409, 204, 0, 639, 640, 3, 405, 202, 0, 640, 641, 3, 441, 220, 0, 641, 642, 3, 443, 221, 0, 642, 40, 1, 0, 0, 0, 643, 644, 3, 409, 204, 0, 644, 645, 3, 419, 209, 0, 645, 646, 3, 413, 206, 0, 646, 647, 3, 409, 204, 0, 647, 648, 3, 425, 212, 0, 648, 42, 1, 0, 0, 0, 649, 650, 3, 409, 204, 0, 650, 651, 3, 427, 213, 0, 651, 652, 3, 413, 206, 0, 652, 653, 3, 405, 202, 0, 653, 654, 3, 439, 219, 0, 654, 44, 1, 0, 0, 0, 655, 656, 3, 409, 204, 0, 656, 657, 3, 427, 213, 0, 657, 658, 3, 445, 222, 0, 658, 659, 3, 441, 220, 0, 659, 660, 3, 443, 221, 0, 660, 661, 3, 413, 206, 0, 661, 662, 3, 439, 219, 0, 662, 46, 1, 0, 0, 0, 663, 664, 3, 409, 204, 0, 664, 665, 3, 433, 216, 0, 665, 666, 3, 411, 205, 0, 666, 667, 3, 413, 206, 0, 667, 668, 3, 409, 204, 0, 668, 48, 1, 0, 0, 0, 669, 670, 3, 409, 204, 0, 670, 671, 3, 433, 216, 0, 671, 672, 3, 427, 213, 0, 672, 673, 3, 427, 213, 0, 673, 674, 3, 405, 202, 0, 674, 675, 3, 443, 221, 0, 675, 676, 3, 413, 206, 0, 676, 50, 1, 0, 0, 0, 677, 678, 3, 409, 204, 0, 678, 679, 3, 433, 216, 0, 679, 680, 3, 427, 213, 0, 680, 681, 3, 445, 222, 0, 681, 682, 3, 429, 214, 0, 682, 683, 3, 431, 215, 0, 683, 52, 1, 0, 0, 0, 684, 685, 3, 409, 204, 0, 685, 686, 3, 433, 216, 0, 686, 687, 3, 429, 214, 0, 687, 688, 3, 429, 214, 0, 688, 689, 3, 413, 206, 0, 689, 690, 3, 431, 215, 0, 690, 691, 3, 443, 221, 0, 691, 54, 1, 0, 0, 0, 692, 693, 3, 409, 204, 0, 693, 694, 3, 433, 216, 0, 694, 695, 3, 431, 215, 0, 695, 696, 3, 441, 220, 0, 696, 697, 3, 443, 221, 0, 697, 698, 3, 439, 219, 0, 698, 699, 3, 405, 202, 0, 699, 700, 3, 421, 210, 0, 700, 701, 3, 431, 215, 0, 701, 702, 3, 443, 221, 0, 702, 56, 1, 0, 0, 0, 703, 704, 3, 409, 204, 0, 704, 705, 3, 439, 219, 0, 705, 706, 3, 413, 206, 0, 706, 707, 3, 405, 202, 0, 707, 708, 3, 443, 221, 0, 708, 709, 3, 413, 206, 0, 709, 58, 1, 0, 0, 0, 710, 711, 3, 409, 204, 0, 711, 712, 3, 439, 219, 0, 712, 713, 3, 433, 216, 0, 713, 714, 3, 441, 220, 0, 714, 715, 3, 441, 220, 0, 715, 60, 1, 0, 0, 0, 716, 717, 3, 409, 204, 0, 717, 718, 3, 445, 222, 0, 718, 719, 3, 407, 203, 0, 719, 720, 3, 413, 206, 0, 720, 62, 1, 0, 0, 0, 721, 722, 3, 409, 204, 0, 722, 723, 3, 445, 222, 0, 723, 724, 3, 439, 219, 0, 724, 725, 3, 439, 219, 0, 725, 726, 3, 413, 206, 0, 726, 727, 3, 431, 215, 0, 727, 728, 3, 443, 221, 0, 728, 64, 1, 0, 0, 0, 729, 730, 3, 411, 205, 0, 730, 731, 3, 405, 202, 0, 731, 732, 3, 443, 221, 0, 732, 733, 3, 405, 202, 0, 733, 734, 3, 407, 203, 0, 734, 735, 3, 405, 202, 0, 735, 736, 3, 441, 220, 0, 736, 737, 3, 413, 206, 0, 737, 66, 1, 0, 0, 0, 738, 739, 3, 411, 205, 0, 739, 740, 3, 405, 202, 0, 740, 741, 3, 443, 221, 0, 741, 742, 3, 405, 202, 0, 742, 743, 3, 407, 203, 0, 743, 744, 3, 405, 202, 0, 744, 745, 3, 441, 220, 0, 745, 746, 3, 413, 206, 0, 746, 747, 3, 441, 220, 0, 747, 68, 1, 0, 0, 0, 748, 749, 3, 411, 205, 0, 749, 750, 3, 405, 202, 0, 750, 751, 3, 443, 221, 0, 751, 752, 3, 413, 206, 0, 752, 70, 1, 0, 0, 0, 753, 754, 3, 411, 205, 0, 754, 755, 3, 405, 202, 0, 755, 756, 3, 453, 226, 0, 756, 72, 1, 0, 0, 0, 757, 758, 3, 411, 205, 0, 758, 759, 3, 413, 206, 0, 759, 760, 3, 411, 205, 0, 760, 761, 3, 445, 222, 0, 761, 762, 3, 435, 217, 0, 762, 763, 3, 427, 213, 0, 763, 764, 3, 421, 210, 0, 764, 765, 3, 409, 204, 0, 765, 766, 3, 405, 202, 0, 766, 767, 3, 443, 221, 0, 767, 768, 3, 413, 206, 0, 768, 74, 1, 0, 0, 0, 769, 770, 3, 411, 205, 0, 770, 771, 3, 413, 206, 0, 771, 772, 3, 415, 207, 0, 772, 773, 3, 405, 202, 0, 773, 774, 3, 445, 222, 0, 774, 775, 3, 427, 213, 0, 775, 776, 3, 443, 221, 0, 776, 76, 1, 0, 0, 0, 777, 778, 3, 411, 205, 0, 778, 779, 3, 413, 206, 0, 779, 780, 3, 427, 213, 0, 780, 781, 3, 405, 202, 0, 781, 782, 3, 453, 226, 0, 782, 78, 1, 0, 0, 0, 783, 784, 3, 411, 205, 0, 784, 785, 3, 413, 206, 0, 785, 786, 3, 427, 213, 0, 786, 787, 3, 413, 206, 0, 787, 788, 3, 443, 221, 0, 788, 789, 3, 413, 206, 0, 789, 80, 1, 0, 0, 0, 790, 791, 3, 411, 205, 0, 791, 792, 3, 413, 206, 0, 792, 793, 3, 441, 220, 0, 793, 794, 3, 409, 204, 0, 794, 82, 1, 0, 0, 0, 795, 796, 3, 411, 205, 0, 796, 797, 3, 413, 206, 0, 797, 798, 3, 441, 220, 0, 798, 799, 3, 409, 204, 0, 799, 800, 3, 413, 206, 0, 800, 801, 3, 431, 215, 0, 801, 802, 3, 411, 205, 0, 802, 803, 3, 421, 210, 0, 803, 804, 3, 431, 215, 0, 804, 805, 3, 417, 208, 0, 805, 84, 1, 0, 0, 0, 806, 807, 3, 411, 205, 0, 807, 808, 3, 413, 206, 0, 808, 809, 3, 441, 220, 0, 809, 810, 3, 409, 204, 0, 810, 811, 3, 439, 219, 0, 811, 812, 3, 421, 210, 0, 812, 813, 3, 407, 203, 0, 813, 814, 3, 413, 206, 0, 814, 86, 1, 0, 0, 0, 815, 816, 3, 411, 205, 0, 816, 817, 3, 413, 206, 0, 817, 818, 3, 443, 221, 0, 818, 819, 3, 405, 202, 0, 819, 820, 3, 409, 204, 0, 820, 821, 3, 419, 209, 0, 821, 88, 1, 0, 0, 0, 822, 823, 3, 411, 205, 0, 823, 824, 3, 421, 210, 0, 824, 825, 3, 409, 204, 0, 825, 826, 3, 443, 221, 0, 826, 827, 3, 421, 210, 0, 827, 828, 3, 433, 216, 0, 828, 829, 3, 431, 215, 0, 829, 830, 3, 405, 202, 0, 830, 831, 3, 439, 219, 0, 831, 832, 3, 421, 210, 0, 832, 833, 3, 413, 206, 0, 833, 834, 3, 441, 220, 0, 834, 90, 1, 0, 0, 0, 835, 836, 3, 411, 205, 0, 836, 837, 3, 421, 210, 0, 837, 838, 3, 409, 204, 0, 838, 839, 3, 443, 221, 0, 839, 840, 3, 421, 210, 0, 840, 841, 3, 433, 216, 0, 841, 842, 3, 431, 215, 0, 842, 843, 3, 405, 202, 0, 843, 844, 3, 439, 219, 0, 844, 845, 3, 453, 226, 0, 845, 92, 1, 0, 0, 0, 846, 847, 3, 411, 205, 0, 847, 848, 3, 421, 210, 0, 848, 849, 3, 441, 220, 0, 849, 850, 3, 425, 212, 0, 850, 94, 1, 0, 0, 0, 851, 852, 3, 411, 205, 0, 852, 853, 3, 421, 210, 0, 853, 854, 3, 441, 220, 0, 854, 855, 3, 443, 221, 0, 855, 856, 3, 421, 210, 0, 856, 857, 3, 431, 215, 0, 857, 858, 3, 409, 204, 0, 858, 859, 3, 443, 221, 0, 859, 96, 1, 0, 0, 0, 860, 861, 3, 411, 205, 0, 861, 862, 3, 421, 210, 0, 862, 863, 3, 441, 220, 0, 863, 864, 3, 443, 221, 0, 864, 865, 3, 439, 219, 0, 865, 866, 3, 421, 210, 0, 866, 867, 3, 407, 203, 0, 867, 868, 3, 445, 222, 0, 868, 869, 3, 443, 221, 0, 869, 870, 3, 413, 206, 0, 870, 871, 3, 411, 205, 0, 871, 98, 1, 0, 0, 0, 872, 873, 3, 411, 205, 0, 873, 874, 3, 439, 219, 0, 874, 875, 3, 433, 216, 0, 875, 876, 3, 435, 217, 0, 876, 100, 1, 0, 0, 0, 877, 878, 3, 413, 206, 0, 878, 879, 3, 427, 213, 0, 879, 880, 3, 441, 220, 0, 880, 881, 3, 413, 206, 0, 881, 102, 1, 0, 0, 0, 882, 883, 3, 413, 206, 0, 883, 884, 3, 431, 215, 0, 884, 885, 3, 411, 205, 0, 885, 104, 1, 0, 0, 0, 886, 887, 3, 413, 206, 0, 887, 888, 3, 431, 215, 0, 888, 889, 3, 417, 208, 0, 889, 890, 3, 421, 210, 0, 890, 891, 3, 431, 215, 0, 891, 892, 3, 413, 206, 0, 892, 106, 1, 0, 0, 0, 893, 894, 3, 413, 206, 0, 894, 895, 3, 441, 220, 0, 895, 896, 3, 443, 221, 0, 896, 897, 3, 421, 210, 0, 897, 898, 3, 429, 214, 0, 898, 899, 3, 405, 202, 0, 899, 900, 3, 443, 221, 0, 900, 901, 3, 413, 206, 0, 901, 108, 1, 0, 0, 0, 902, 903, 3, 413, 206, 0, 903, 904, 3, 447, 223, 0, 904, 905, 3, 413, 206, 0, 905, 906, 3, 431, 215, 0, 906, 907, 3, 443, 221, 0, 907, 908, 3, 441, 220, 0, 908, 110, 1, 0, 0, 0, 909, 910, 3, 413, 206, 0, 910, 911, 3, 451, 225, 0, 911, 912, 3, 421, 210, 0, 912, 913, 3, 441, 220, 0, 913, 914, 3, 443, 221, 0, 914, 915, 3, 441, 220, 0, 915, 112, 1, 0, 0, 0, 916, 917, 3, 413, 206, 0, 917, 918, 3, 451, 225, 0, 918, 919, 3, 435, 217, 0, 919, 920, 3, 427, 213, 0, 920, 921, 3, 405, 202, 0, 921, 922, 3, 421, 210, 0, 922, 923, 3, 431, 215, 0, 923, 114, 1, 0, 0, 0, 924, 925, 3, 413, 206, 0, 925, 926, 3, 451, 225, 0, 926, 927, 3, 435, 217, 0, 927, 928, 3, 439, 219, 0, 928, 929, 3, 413, 206, 0, 929, 930, 3, 441, 220, 0, 930, 931, 3, 441, 220, 0, 931, 932, 3, 421, 210, 0, 932, 933, 3, 433, 216, 0, 933, 934, 3, 431, 215, 0, 934, 116, 1, 0, 0, 0, 935, 936, 3, 413, 206, 0, 936, 937, 3, 451, 225, 0, 937, 938, 3, 443, 221, 0, 938, 939, 3, 439, 219, 0, 939, 940, 3, 405, 202, 0, 940, 941, 3, 409, 204, 0, 941, 942, 3, 443, 221, 0, 942, 118, 1, 0, 0, 0, 943, 944, 3, 415, 207, 0, 944, 945, 3, 413, 206, 0, 945, 946, 3, 443, 221, 0, 946, 947, 3, 409, 204, 0, 947, 948, 3, 419, 209, 0, 948, 949, 3, 413, 206, 0, 949, 950, 3, 441, 220, 0, 950, 120, 1, 0, 0, 0, 951, 952, 3, 415, 207, 0, 952, 953, 3, 421, 210, 0, 953, 954, 3, 431, 215, 0, 954, 955, 3, 405, 202, 0, 955, 956, 3, 427, 213, 0, 956, 122, 1, 0, 0, 0, 957, 958, 3, 415, 207, 0, 958, 959, 3, 421, 210, 0, 959, 960, 3, 439, 219, 0, 960, 961, 3, 441, 220, 0, 961, 962, 3, 443, 221, 0, 962, 124, 1, 0, 0, 0, 963, 964, 3, 415, 207, 0, 964, 965, 3, 427, 213, 0, 965, 966, 3, 445, 222, 0, 966, 967, 3, 441, 220, 0, 967, 968, 3, 419, 209, 0, 968, 126, 1, 0, 0, 0, 969, 970, 3, 415, 207, 0, 970, 971, 3, 433, 216, 0, 971, 972, 3, 427, 213, 0, 972, 973, 3, 427, 213, 0, 973, 974, 3, 433, 216, 0, 974, 975, 3, 449, 224, 0, 975, 976, 3, 421, 210, 0, 976, 977, 3, 431, 215, 0, 977, 978, 3, 417, 208, 0, 978, 128, 1, 0, 0, 0, 979, 980, 3, 415, 207, 0, 980, 981, 3, 433, 216, 0, 981, 982, 3, 439, 219, 0, 982, 130, 1, 0, 0, 0, 983, 984, 3, 415, 207, 0, 984, 985, 3, 433, 216, 0, 985, 986, 3, 439, 219, 0, 986, 987, 3, 429, 214, 0, 987, 988, 3, 405, 202, 0, 988, 989, 3, 443, 221, 0, 989, 132, 1, 0, 0, 0, 990, 991, 3, 415, 207, 0, 991, 992, 3, 439, 219, 0, 992, 993, 3, 413, 206, 0, 993, 994, 3, 413, 206, 0, 994, 995, 3, 455, 227, 0, 995, 996, 3, 413, 206, 0, 996, 134, 1, 0, 0, 0, 997, 998, 3, 415, 207, 0, 998, 999, 3, 439, 219, 0, 999, 1000, 3, 433, 216, 0, 1000, 1001, 3, 429, 214, 0, 1001, 136, 1, 0, 0, 0, 1002, 1003, 3, 415, 207, 0, 1003, 1004, 3, 445, 222, 0, 1004, 1005, 3, 427, 213, 0, 1005, 1006, 3, 427, 213, 0, 1006, 138, 1, 0, 0, 0, 1007, 1008, 3, 415, 207, 0, 1008, 1009, 3, 445, 222, 0, 1009, 1010, 3, 431, 215, 0, 1010, 1011, 3, 409, 204, 0, 1011, 1012, 3, 443, 221, 0, 1012, 1013, 3, 421, 210, 0, 1013, 1014, 3, 433, 216, 0, 1014, 1015, 3, 431, 215, 0, 1015, 140, 1, 0, 0, 0, 1016, 1017, 3, 417, 208, 0, 1017, 1018, 3, 427, 213, 0, 1018, 1019, 3, 433, 216, 0, 1019, 1020, 3, 407, 203, 0, 1020, 1021, 3, 405, 202, 0, 1021, 1022, 3, 427, 213, 0, 1022, 142, 1, 0, 0, 0, 1023, 1024, 3, 417, 208, 0, 1024, 1025, 3, 439, 219, 0, 1025, 1026, 3, 405, 202, 0, 1026, 1027, 3, 431, 215, 0, 1027, 1028, 3, 445, 222, 0, 1028, 1029, 3, 427, 213, 0, 1029, 1030, 3, 405, 202, 0, 1030, 1031, 3, 439, 219, 0, 1031, 1032, 3, 421, 210, 0, 1032, 1033, 3, 443, 221, 0, 1033, 1034, 3, 453, 226, 0, 1034, 144, 1, 0, 0, 0, 1035, 1036, 3, 417, 208, 0, 1036, 1037, 3, 439, 219, 0, 1037, 1038, 3, 433, 216, 0, 1038, 1039, 3, 445, 222, 0, 1039, 1040, 3, 435, 217, 0, 1040, 146, 1, 0, 0, 0, 1041, 1042, 3, 419, 209, 0, 1042, 1043, 3, 405, 202, 0, 1043, 1044, 3, 447, 223, 0, 1044, 1045, 3, 421, 210, 0, 1045, 1046, 3, 431, 215, 0, 1046, 1047, 3, 417, 208, 0, 1047, 148, 1, 0, 0, 0, 1048, 1049, 3, 419, 209, 0, 1049, 1050, 3, 421, 210, 0, 1050, 1051, 3, 413, 206, 0, 1051, 1052, 3, 439, 219, 0, 1052, 1053, 3, 405, 202, 0, 1053, 1054, 3, 439, 219, 0, 1054, 1055, 3, 409, 204, 0, 1055, 1056, 3, 419, 209, 0, 1056, 1057, 3, 421, 210, 0, 1057, 1058, 3, 409, 204, 0, 1058, 1059, 3, 405, 202, 0, 1059, 1060, 3, 427, 213, 0, 1060, 150, 1, 0, 0, 0, 1061, 1062, 3, 419, 209, 0, 1062, 1063, 3, 433, 216, 0, 1063, 1064, 3, 445, 222, 0, 1064, 1065, 3, 439, 219, 0, 1065, 152, 1, 0, 0, 0, 1066, 1067, 3, 421, 210, 0, 1067, 1068, 3, 411, 205, 0, 1068, 154, 1, 0, 0, 0, 1069, 1070, 3, 421, 210, 0, 1070, 1071, 3, 415, 207, 0, 1071, 156, 1, 0, 0, 0, 1072, 1073, 3, 421, 210, 0, 1073, 1074, 3, 427, 213, 0, 1074, 1075, 3, 421, 210, 0, 1075, 1076, 3, 425, 212, 0, 1076, 1077, 3, 413, 206, 0, 1077, 158, 1, 0, 0, 0, 1078, 1079, 3, 421, 210, 0, 1079, 1080, 3, 431, 215, 0, 1080, 160, 1, 0, 0, 0, 1081, 1082, 3, 421, 210, 0, 1082, 1083, 3, 431, 215, 0, 1083, 1084, 3, 411, 205, 0, 1084, 1085, 3, 413, 206, 0, 1085, 1086, 3, 451, 225, 0, 1086, 162, 1, 0, 0, 0, 1087, 1088, 3, 421, 210, 0, 1088, 1089, 3, 431, 215, 0, 1089, 1090, 3, 415, 207, 0, 1090, 1101, 1, 0, 0, 0, 1091, 1092, 3, 421, 210, 0, 1092, 1093, 3, 431, 215, 0, 1093, 1094, 3, 415, 207, 0, 1094, 1095, 3, 421, 210, 0, 1095, 1096, 3, 431, 215, 0, 1096, 1097, 3, 421, 210, 0, 1097, 1098, 3, 443, 221, 0, 1098, 1099, 3, 453, 226, 0, 1099, 1101, 1, 0, 0, 0, 1100, 1087, 1, 0, 0, 0, 1100, 1091, 1, 0, 0, 0, 1101, 164, 1, 0, 0, 0, 1102, 1103, 3, 421, 210, 0, 1103, 1104, 3, 431, 215, 0, 1104, 1105, 3, 423, 211, 0, 1105, 1106, 3, 413, 206, 0, 1106, 1107, 3, 409, 204, 0, 1107, 1108, 3, 443, 221, 0, 1108, 1109, 3, 421, 210, 0, 1109, 1110, 3, 447, 223, 0, 1110, 1111, 3, 413, 206, 0, 1111, 166, 1, 0, 0, 0, 1112, 1113, 3, 421, 210, 0, 1113, 1114, 3, 431, 215, 0, 1114, 1115, 3, 431, 215, 0, 1115, 1116, 3, 413, 206, 0, 1116, 1117, 3, 439, 219, 0, 1117, 168, 1, 0, 0, 0, 1118, 1119, 3, 421, 210, 0, 1119, 1120, 3, 431, 215, 0, 1120, 1121, 3, 441, 220, 0, 1121, 1122, 3, 413, 206, 0, 1122, 1123, 3, 439, 219, 0, 1123, 1124, 3, 443, 221, 0, 1124, 170, 1, 0, 0, 0, 1125, 1126, 3, 421, 210, 0, 1126, 1127, 3, 431, 215, 0, 1127, 1128, 3, 443, 221, 0, 1128, 1129, 3, 413, 206, 0, 1129, 1130, 3, 439, 219, 0, 1130, 1131, 3, 447, 223, 0, 1131, 1132, 3, 405, 202, 0, 1132, 1133, 3, 427, 213, 0, 1133, 172, 1, 0, 0, 0, 1134, 1135, 3, 421, 210, 0, 1135, 1136, 3, 431, 215, 0, 1136, 1137, 3, 443, 221, 0, 1137, 1138, 3, 433, 216, 0, 1138, 174, 1, 0, 0, 0, 1139, 1140, 3, 421, 210, 0, 1140, 1141, 3, 441, 220, 0, 1141, 176, 1, 0, 0, 0, 1142, 1143, 3, 421, 210, 0, 1143, 1144, 3, 441, 220, 0, 1144, 1145, 3, 523, 261, 0, 1145, 1146, 3, 433, 216, 0, 1146, 1147, 3, 407, 203, 0, 1147, 1148, 3, 423, 211, 0, 1148, 1149, 3, 413, 206, 0, 1149, 1150, 3, 409, 204, 0, 1150, 1151, 3, 443, 221, 0, 1151, 1152, 3, 523, 261, 0, 1152, 1153, 3, 421, 210, 0, 1153, 1154, 3, 411, 205, 0, 1154, 178, 1, 0, 0, 0, 1155, 1156, 3, 423, 211, 0, 1156, 1157, 3, 433, 216, 0, 1157, 1158, 3, 421, 210, 0, 1158, 1159, 3, 431, 215, 0, 1159, 180, 1, 0, 0, 0, 1160, 1161, 3, 425, 212, 0, 1161, 1162, 3, 413, 206, 0, 1162, 1163, 3, 453, 226, 0, 1163, 182, 1, 0, 0, 0, 1164, 1165, 3, 425, 212, 0, 1165, 1166, 3, 421, 210, 0, 1166, 1167, 3, 427, 213, 0, 1167, 1168, 3, 427, 213, 0, 1168, 184, 1, 0, 0, 0, 1169, 1170, 3, 427, 213, 0, 1170, 1171, 3, 405, 202, 0, 1171, 1172, 3, 441, 220, 0, 1172, 1173, 3, 443, 221, 0, 1173, 186, 1, 0, 0, 0, 1174, 1175, 3, 427, 213, 0, 1175, 1176, 3, 405, 202, 0, 1176, 1177, 3, 453, 226, 0, 1177, 1178, 3, 433, 216, 0, 1178, 1179, 3, 445, 222, 0, 1179, 1180, 3, 443, 221, 0, 1180, 188, 1, 0, 0, 0, 1181, 1182, 3, 427, 213, 0, 1182, 1183, 3, 413, 206, 0, 1183, 1184, 3, 405, 202, 0, 1184, 1185, 3, 411, 205, 0, 1185, 1186, 3, 421, 210, 0, 1186, 1187, 3, 431, 215, 0, 1187, 1188, 3, 417, 208, 0, 1188, 190, 1, 0, 0, 0, 1189, 1190, 3, 427, 213, 0, 1190, 1191, 3, 413, 206, 0, 1191, 1192, 3, 415, 207, 0, 1192, 1193, 3, 443, 221, 0, 1193, 192, 1, 0, 0, 0, 1194, 1195, 3, 427, 213, 0, 1195, 1196, 3, 421, 210, 0, 1196, 1197, 3, 415, 207, 0, 1197, 1198, 3, 413, 206, 0, 1198, 1199, 3, 443, 221, 0, 1199, 1200, 3, 421, 210, 0, 1200, 1201, 3, 429, 214, 0, 1201, 1202, 3, 413, 206, 0, 1202, 194, 1, 0, 0, 0, 1203, 1204, 3, 427, 213, 0, 1204, 1205, 3, 421, 210, 0, 1205, 1206, 3, 425, 212, 0, 1206, 1207, 3, 413, 206, 0, 1207, 196, 1, 0, 0, 0, 1208, 1209, 3, 427, 213, 0, 1209, 1210, 3, 421, 210, 0, 1210, 1211, 3, 429, 214, 0, 1211, 1212, 3, 421, 210, 0, 1212, 1213, 3, 443, 221, 0, 1213, 198, 1, 0, 0, 0, 1214, 1215, 3, 427, 213, 0, 1215, 1216, 3, 421, 210, 0, 1216, 1217, 3, 447, 223, 0, 1217, 1218, 3, 413, 206, 0, 1218, 200, 1, 0, 0, 0, 1219, 1220, 3, 427, 213, 0, 1220, 1221, 3, 433, 216, 0, 1221, 1222, 3, 409, 204, 0, 1222, 1223, 3, 405, 202, 0, 1223, 1224, 3, 427, 213, 0, 1224, 202, 1, 0, 0, 0, 1225, 1226, 3, 427, 213, 0, 1226, 1227, 3, 433, 216, 0, 1227, 1228, 3, 417, 208, 0, 1228, 1229, 3, 441, 220, 0, 1229, 204, 1, 0, 0, 0, 1230, 1231, 3, 429, 214, 0, 1231, 1232, 3, 405, 202, 0, 1232, 1233, 3, 443, 221, 0, 1233, 1234, 3, 413, 206, 0, 1234, 1235, 3, 439, 219, 0, 1235, 1236, 3, 421, 210, 0, 1236, 1237, 3, 405, 202, 0, 1237, 1238, 3, 427, 213, 0, 1238, 1239, 3, 421, 210, 0, 1239, 1240, 3, 455, 227, 0, 1240, 1241, 3, 413, 206, 0, 1241, 206, 1, 0, 0, 0, 1242, 1243, 3, 429, 214, 0, 1243, 1244, 3, 405, 202, 0, 1244, 1245, 3, 443, 221, 0, 1245, 1246, 3, 413, 206, 0, 1246, 1247, 3, 439, 219, 0, 1247, 1248, 3, 421, 210, 0, 1248, 1249, 3, 405, 202, 0, 1249, 1250, 3, 427, 213, 0, 1250, 1251, 3, 421, 210, 0, 1251, 1252, 3, 455, 227, 0, 1252, 1253, 3, 413, 206, 0, 1253, 1254, 3, 411, 205, 0, 1254, 208, 1, 0, 0, 0, 1255, 1256, 3, 429, 214, 0, 1256, 1257, 3, 405, 202, 0, 1257, 1258, 3, 451, 225, 0, 1258, 210, 1, 0, 0, 0, 1259, 1260, 3, 429, 214, 0, 1260, 1261, 3, 413, 206, 0, 1261, 1262, 3, 439, 219, 0, 1262, 1263, 3, 417, 208, 0, 1263, 1264, 3, 413, 206, 0, 1264, 1265, 3, 441, 220, 0, 1265, 212, 1, 0, 0, 0, 1266, 1267, 3, 429, 214, 0, 1267, 1268, 3, 421, 210, 0, 1268, 1269, 3, 431, 215, 0, 1269, 214, 1, 0, 0, 0, 1270, 1271, 3, 429, 214, 0, 1271, 1272, 3, 421, 210, 0, 1272, 1273, 3, 431, 215, 0, 1273, 1274, 3, 445, 222, 0, 1274, 1275, 3, 443, 221, 0, 1275, 1276, 3, 413, 206, 0, 1276, 216, 1, 0, 0, 0, 1277, 1278, 3, 429, 214, 0, 1278, 1279, 3, 433, 216, 0, 1279, 1280, 3, 411, 205, 0, 1280, 1281, 3, 421, 210, 0, 1281, 1282, 3, 415, 207, 0, 1282, 1283, 3, 453, 226, 0, 1283, 218, 1, 0, 0, 0, 1284, 1285, 3, 429, 214, 0, 1285, 1286, 3, 433, 216, 0, 1286, 1287, 3, 431, 215, 0, 1287, 1288, 3, 443, 221, 0, 1288, 1289, 3, 419, 209, 0, 1289, 220, 1, 0, 0, 0, 1290, 1291, 3, 429, 214, 0, 1291, 1292, 3, 433, 216, 0, 1292, 1293, 3, 447, 223, 0, 1293, 1294, 3, 413, 206, 0, 1294, 222, 1, 0, 0, 0, 1295, 1296, 3, 429, 214, 0, 1296, 1297, 3, 445, 222, 0, 1297, 1298, 3, 443, 221, 0, 1298, 1299, 3, 405, 202, 0, 1299, 1300, 3, 443, 221, 0, 1300, 1301, 3, 421, 210, 0, 1301, 1302, 3, 433, 216, 0, 1302, 1303, 3, 431, 215, 0, 1303, 224, 1, 0, 0, 0, 1304, 1305, 3, 431, 215, 0, 1305, 1306, 3, 405, 202, 0, 1306, 1307, 3, 431, 215, 0, 1307, 226, 1, 0, 0, 0, 1308, 1309, 3, 431, 215, 0, 1309, 1310, 3, 433, 216, 0, 1310, 228, 1, 0, 0, 0, 1311, 1312, 3, 431, 215, 0, 1312, 1313, 3, 433, 216, 0, 1313, 1314, 3, 443, 221, 0, 1314, 230, 1, 0, 0, 0, 1315, 1316, 3, 431, 215, 0, 1316, 1317, 3, 445, 222, 0, 1317, 1318, 3, 427, 213, 0, 1318, 1319, 3, 427, 213, 0, 1319, 232, 1, 0, 0, 0, 1320, 1321, 3, 431, 215, 0, 1321, 1322, 3, 445, 222, 0, 1322, 1323, 3, 427, 213, 0, 1323, 1324, 3, 427, 213, 0, 1324, 1325, 3, 441, 220, 0, 1325, 234, 1, 0, 0, 0, 1326, 1327, 3, 433, 216, 0, 1327, 1328, 3, 415, 207, 0, 1328, 1329, 3, 415, 207, 0, 1329, 1330, 3, 441, 220, 0, 1330, 1331, 3, 413, 206, 0, 1331, 1332, 3, 443, 221, 0, 1332, 236, 1, 0, 0, 0, 1333, 1334, 3, 433, 216, 0, 1334, 1335, 3, 431, 215, 0, 1335, 238, 1, 0, 0, 0, 1336, 1337, 3, 433, 216, 0, 1337, 1338, 3, 435, 217, 0, 1338, 1339, 3, 443, 221, 0, 1339, 1340, 3, 421, 210, 0, 1340, 1341, 3, 429, 214, 0, 1341, 1342, 3, 421, 210, 0, 1342, 1343, 3, 455, 227, 0, 1343, 1344, 3, 413, 206, 0, 1344, 240, 1, 0, 0, 0, 1345, 1346, 3, 433, 216, 0, 1346, 1347, 3, 439, 219, 0, 1347, 242, 1, 0, 0, 0, 1348, 1349, 3, 433, 216, 0, 1349, 1350, 3, 439, 219, 0, 1350, 1351, 3, 411, 205, 0, 1351, 1352, 3, 413, 206, 0, 1352, 1353, 3, 439, 219, 0, 1353, 244, 1, 0, 0, 0, 1354, 1355, 3, 433, 216, 0, 1355, 1356, 3, 445, 222, 0, 1356, 1357, 3, 443, 221, 0, 1357, 1358, 3, 413, 206, 0, 1358, 1359, 3, 439, 219, 0, 1359, 246, 1, 0, 0, 0, 1360, 1361, 3, 433, 216, 0, 1361, 1362, 3, 445, 222, 0, 1362, 1363, 3, 443, 221, 0, 1363, 1364, 3, 415, 207, 0, 1364, 1365, 3, 421, 210, 0, 1365, 1366, 3, 427, 213, 0, 1366, 1367, 3, 413, 206, 0, 1367, 248, 1, 0, 0, 0, 1368, 1369, 3, 433, 216, 0, 1369, 1370, 3, 447, 223, 0, 1370, 1371, 3, 413, 206, 0, 1371, 1372, 3, 439, 219, 0, 1372, 250, 1, 0, 0, 0, 1373, 1374, 3, 435, 217, 0, 1374, 1375, 3, 405, 202, 0, 1375, 1376, 3, 439, 219, 0, 1376, 1377, 3, 443, 221, 0, 1377, 1378, 3, 421, 210, 0, 1378, 1379, 3, 443, 221, 0, 1379, 1380, 3, 421, 210, 0, 1380, 1381, 3, 433, 216, 0, 1381, 1382, 3, 431, 215, 0, 1382, 252, 1, 0, 0, 0, 1383, 1384, 3, 435, 217, 0, 1384, 1385, 3, 421, 210, 0, 1385, 1386, 3, 435, 217, 0, 1386, 1387, 3, 413, 206, 0, 1387, 1388, 3, 427, 213, 0, 1388, 1389, 3, 421, 210, 0, 1389, 1390, 3, 431, 215, 0, 1390, 1391, 3, 413, 206, 0, 1391, 254, 1, 0, 0, 0, 1392, 1393, 3, 435, 217, 0, 1393, 1394, 3, 427, 213, 0, 1394, 1395, 3, 405, 202, 0, 1395, 1396, 3, 431, 215, 0, 1396, 256, 1, 0, 0, 0, 1397, 1398, 3, 435, 217, 0, 1398, 1399, 3, 433, 216, 0, 1399, 1400, 3, 435, 217, 0, 1400, 1401, 3, 445, 222, 0, 1401, 1402, 3, 427, 213, 0, 1402, 1403, 3, 405, 202, 0, 1403, 1404, 3, 443, 221, 0, 1404, 1405, 3, 413, 206, 0, 1405, 258, 1, 0, 0, 0, 1406, 1407, 3, 435, 217, 0, 1407, 1408, 3, 439, 219, 0, 1408, 1409, 3, 413, 206, 0, 1409, 1410, 3, 409, 204, 0, 1410, 1411, 3, 413, 206, 0, 1411, 1412, 3, 411, 205, 0, 1412, 1413, 3, 421, 210, 0, 1413, 1414, 3, 431, 215, 0, 1414, 1415, 3, 417, 208, 0, 1415, 260, 1, 0, 0, 0, 1416, 1417, 3, 435, 217, 0, 1417, 1418, 3, 439, 219, 0, 1418, 1419, 3, 413, 206, 0, 1419, 1420, 3, 449, 224, 0, 1420, 1421, 3, 419, 209, 0, 1421, 1422, 3, 413, 206, 0, 1422, 1423, 3, 439, 219, 0, 1423, 1424, 3, 413, 206, 0, 1424, 262, 1, 0, 0, 0, 1425, 1426, 3, 435, 217, 0, 1426, 1427, 3, 439, 219, 0, 1427, 1428, 3, 421, 210, 0, 1428, 1429, 3, 429, 214, 0, 1429, 1430, 3, 405, 202, 0, 1430, 1431, 3, 439, 219, 0, 1431, 1432, 3, 453, 226, 0, 1432, 264, 1, 0, 0, 0, 1433, 1434, 3, 435, 217, 0, 1434, 1435, 3, 439, 219, 0, 1435, 1436, 3, 433, 216, 0, 1436, 1437, 3, 423, 211, 0, 1437, 1438, 3, 413, 206, 0, 1438, 1439, 3, 409, 204, 0, 1439, 1440, 3, 443, 221, 0, 1440, 1441, 3, 421, 210, 0, 1441, 1442, 3, 433, 216, 0, 1442, 1443, 3, 431, 215, 0, 1443, 266, 1, 0, 0, 0, 1444, 1445, 3, 437, 218, 0, 1445, 1446, 3, 445, 222, 0, 1446, 1447, 3, 405, 202, 0, 1447, 1448, 3, 439, 219, 0, 1448, 1449, 3, 443, 221, 0, 1449, 1450, 3, 413, 206, 0, 1450, 1451, 3, 439, 219, 0, 1451, 268, 1, 0, 0, 0, 1452, 1453, 3, 437, 218, 0, 1453, 1454, 3, 445, 222, 0, 1454, 1455, 3, 413, 206, 0, 1455, 1456, 3, 439, 219, 0, 1456, 1457, 3, 453, 226, 0, 1457, 270, 1, 0, 0, 0, 1458, 1459, 3, 439, 219, 0, 1459, 1460, 3, 405, 202, 0, 1460, 1461, 3, 431, 215, 0, 1461, 1462, 3, 417, 208, 0, 1462, 1463, 3, 413, 206, 0, 1463, 272, 1, 0, 0, 0, 1464, 1465, 3, 439, 219, 0, 1465, 1466, 3, 413, 206, 0, 1466, 1467, 3, 427, 213, 0, 1467, 1468, 3, 433, 216, 0, 1468, 1469, 3, 405, 202, 0, 1469, 1470, 3, 411, 205, 0, 1470, 274, 1, 0, 0, 0, 1471, 1472, 3, 439, 219, 0, 1472, 1473, 3, 413, 206, 0, 1473, 1474, 3, 429, 214, 0, 1474, 1475, 3, 433, 216, 0, 1475, 1476, 3, 447, 223, 0, 1476, 1477, 3, 413, 206, 0, 1477, 276, 1, 0, 0, 0, 1478, 1479, 3, 439, 219, 0, 1479, 1480, 3, 413, 206, 0, 1480, 1481, 3, 431, 215, 0, 1481, 1482, 3, 405, 202, 0, 1482, 1483, 3, 429, 214, 0, 1483, 1484, 3, 413, 206, 0, 1484, 278, 1, 0, 0, 0, 1485, 1486, 3, 439, 219, 0, 1486, 1487, 3, 413, 206, 0, 1487, 1488, 3, 435, 217, 0, 1488, 1489, 3, 427, 213, 0, 1489, 1490, 3, 405, 202, 0, 1490, 1491, 3, 409, 204, 0, 1491, 1492, 3, 413, 206, 0, 1492, 280, 1, 0, 0, 0, 1493, 1494, 3, 439, 219, 0, 1494, 1495, 3, 413, 206, 0, 1495, 1496, 3, 435, 217, 0, 1496, 1497, 3, 427, 213, 0, 1497, 1498, 3, 421, 210, 0, 1498, 1499, 3, 409, 204, 0, 1499, 1500, 3, 405, 202, 0, 1500, 282, 1, 0, 0, 0, 1501, 1502, 3, 439, 219, 0, 1502, 1503, 3, 413, 206, 0, 1503, 1504, 3, 435, 217, 0, 1504, 1505, 3, 427, 213, 0, 1505, 1506, 3, 421, 210, 0, 1506, 1507, 3, 409, 204, 0, 1507, 1508, 3, 405, 202, 0, 1508, 1509, 3, 443, 221, 0, 1509, 1510, 3, 413, 206, 0, 1510, 1511, 3, 411, 205, 0, 1511, 284, 1, 0, 0, 0, 1512, 1513, 3, 439, 219, 0, 1513, 1514, 3, 421, 210, 0, 1514, 1515, 3, 417, 208, 0, 1515, 1516, 3, 419, 209, 0, 1516, 1517, 3, 443, 221, 0, 1517, 286, 1, 0, 0, 0, 1518, 1519, 3, 439, 219, 0, 1519, 1520, 3, 433, 216, 0, 1520, 1521, 3, 427, 213, 0, 1521, 1522, 3, 427, 213, 0, 1522, 1523, 3, 445, 222, 0, 1523, 1524, 3, 435, 217, 0, 1524, 288, 1, 0, 0, 0, 1525, 1526, 3, 439, 219, 0, 1526, 1527, 3, 433, 216, 0, 1527, 1528, 3, 449, 224, 0, 1528, 290, 1, 0, 0, 0, 1529, 1530, 3, 439, 219, 0, 1530, 1531, 3, 433, 216, 0, 1531, 1532, 3, 449, 224, 0, 1532, 1533, 3, 441, 220, 0, 1533, 292, 1, 0, 0, 0, 1534, 1535, 3, 441, 220, 0, 1535, 1536, 3, 405, 202, 0, 1536, 1537, 3, 429, 214, 0, 1537, 1538, 3, 435, 217, 0, 1538, 1539, 3, 427, 213, 0, 1539, 1540, 3, 413, 206, 0, 1540, 294, 1, 0, 0, 0, 1541, 1542, 3, 441, 220, 0, 1542, 1543, 3, 413, 206, 0, 1543, 1544, 3, 409, 204, 0, 1544, 1545, 3, 433, 216, 0, 1545, 1546, 3, 431, 215, 0, 1546, 1547, 3, 411, 205, 0, 1547, 296, 1, 0, 0, 0, 1548, 1549, 3, 441, 220, 0, 1549, 1550, 3, 413, 206, 0, 1550, 1551, 3, 427, 213, 0, 1551, 1552, 3, 413, 206, 0, 1552, 1553, 3, 409, 204, 0, 1553, 1554, 3, 443, 221, 0, 1554, 298, 1, 0, 0, 0, 1555, 1556, 3, 441, 220, 0, 1556, 1557, 3, 413, 206, 0, 1557, 1558, 3, 429, 214, 0, 1558, 1559, 3, 421, 210, 0, 1559, 300, 1, 0, 0, 0, 1560, 1561, 3, 441, 220, 0, 1561, 1562, 3, 413, 206, 0, 1562, 1563, 3, 431, 215, 0, 1563, 1564, 3, 411, 205, 0, 1564, 1565, 3, 441, 220, 0, 1565, 302, 1, 0, 0, 0, 1566, 1567, 3, 441, 220, 0, 1567, 1568, 3, 413, 206, 0, 1568, 1569, 3, 443, 221, 0, 1569, 304, 1, 0, 0, 0, 1570, 1571, 3, 441, 220, 0, 1571, 1572, 3, 413, 206, 0, 1572, 1573, 3, 443, 221, 0, 1573, 1574, 3, 443, 221, 0, 1574, 1575, 3, 421, 210, 0, 1575, 1576, 3, 431, 215, 0, 1576, 1577, 3, 417, 208, 0, 1577, 1578, 3, 441, 220, 0, 1578, 306, 1, 0, 0, 0, 1579, 1580, 3, 441, 220, 0, 1580, 1581, 3, 419, 209, 0, 1581, 1582, 3, 433, 216, 0, 1582, 1583, 3, 449, 224, 0, 1583, 308, 1, 0, 0, 0, 1584, 1585, 3, 441, 220, 0, 1585, 1586, 3, 433, 216, 0, 1586, 1587, 3, 445, 222, 0, 1587, 1588, 3, 439, 219, 0, 1588, 1589, 3, 409, 204, 0, 1589, 1590, 3, 413, 206, 0, 1590, 310, 1, 0, 0, 0, 1591, 1592, 3, 441, 220, 0, 1592, 1593, 3, 443, 221, 0, 1593, 1594, 3, 405, 202, 0, 1594, 1595, 3, 439, 219, 0, 1595, 1596, 3, 443, 221, 0, 1596, 312, 1, 0, 0, 0, 1597, 1598, 3, 441, 220, 0, 1598, 1599, 3, 443, 221, 0, 1599, 1600, 3, 433, 216, 0, 1600, 1601, 3, 435, 217, 0, 1601, 314, 1, 0, 0, 0, 1602, 1603, 3, 441, 220, 0, 1603, 1604, 3, 445, 222, 0, 1604, 1605, 3, 407, 203, 0, 1605, 1606, 3, 441, 220, 0, 1606, 1607, 3, 443, 221, 0, 1607, 1608, 3, 439, 219, 0, 1608, 1609, 3, 421, 210, 0, 1609, 1610, 3, 431, 215, 0, 1610, 1611, 3, 417, 208, 0, 1611, 316, 1, 0, 0, 0, 1612, 1613, 3, 441, 220, 0, 1613, 1614, 3, 453, 226, 0, 1614, 1615, 3, 431, 215, 0, 1615, 1616, 3, 409, 204, 0, 1616, 318, 1, 0, 0, 0, 1617, 1618, 3, 441, 220, 0, 1618, 1619, 3, 453, 226, 0, 1619, 1620, 3, 431, 215, 0, 1620, 1621, 3, 443, 221, 0, 1621, 1622, 3, 405, 202, 0, 1622, 1623, 3, 451, 225, 0, 1623, 320, 1, 0, 0, 0, 1624, 1625, 3, 441, 220, 0, 1625, 1626, 3, 453, 226, 0, 1626, 1627, 3, 441, 220, 0, 1627, 1628, 3, 443, 221, 0, 1628, 1629, 3, 413, 206, 0, 1629, 1630, 3, 429, 214, 0, 1630, 322, 1, 0, 0, 0, 1631, 1632, 3, 443, 221, 0, 1632, 1633, 3, 405, 202, 0, 1633, 1634, 3, 407, 203, 0, 1634, 1635, 3, 427, 213, 0, 1635, 1636, 3, 413, 206, 0, 1636, 324, 1, 0, 0, 0, 1637, 1638, 3, 443, 221, 0, 1638, 1639, 3, 405, 202, 0, 1639, 1640, 3, 407, 203, 0, 1640, 1641, 3, 427, 213, 0, 1641, 1642, 3, 413, 206, 0, 1642, 1643, 3, 441, 220, 0, 1643, 326, 1, 0, 0, 0, 1644, 1645, 3, 443, 221, 0, 1645, 1646, 3, 413, 206, 0, 1646, 1647, 3, 429, 214, 0, 1647, 1648, 3, 435, 217, 0, 1648, 1649, 3, 433, 216, 0, 1649, 1650, 3, 439, 219, 0, 1650, 1651, 3, 405, 202, 0, 1651, 1652, 3, 439, 219, 0, 1652, 1653, 3, 453, 226, 0, 1653, 328, 1, 0, 0, 0, 1654, 1655, 3, 443, 221, 0, 1655, 1656, 3, 413, 206, 0, 1656, 1657, 3, 441, 220, 0, 1657, 1658, 3, 443, 221, 0, 1658, 330, 1, 0, 0, 0, 1659, 1660, 3, 443, 221, 0, 1660, 1661, 3, 419, 209, 0, 1661, 1662, 3, 413, 206, 0, 1662, 1663, 3, 431, 215, 0, 1663, 332, 1, 0, 0, 0, 1664, 1665, 3, 443, 221, 0, 1665, 1666, 3, 421, 210, 0, 1666, 1667, 3, 413, 206, 0, 1667, 1668, 3, 441, 220, 0, 1668, 334, 1, 0, 0, 0, 1669, 1670, 3, 443, 221, 0, 1670, 1671, 3, 421, 210, 0, 1671, 1672, 3, 429, 214, 0, 1672, 1673, 3, 413, 206, 0, 1673, 1674, 3, 433, 216, 0, 1674, 1675, 3, 445, 222, 0, 1675, 1676, 3, 443, 221, 0, 1676, 336, 1, 0, 0, 0, 1677, 1678, 3, 443, 221, 0, 1678, 1679, 3, 421, 210, 0, 1679, 1680, 3, 429, 214, 0, 1680, 1681, 3, 413, 206, 0, 1681, 1682, 3, 441, 220, 0, 1682, 1683, 3, 443, 221, 0, 1683, 1684, 3, 405, 202, 0, 1684, 1685, 3, 429, 214, 0, 1685, 1686, 3, 435, 217, 0, 1686, 338, 1, 0, 0, 0, 1687, 1688, 3, 443, 221, 0, 1688, 1689, 3, 433, 216, 0, 1689, 340, 1, 0, 0, 0, 1690, 1691, 3, 443, 221, 0, 1691, 1692, 3, 433, 216, 0, 1692, 1693, 3, 435, 217, 0, 1693, 342, 1, 0, 0, 0, 1694, 1695, 3, 443, 221, 0, 1695, 1696, 3, 433, 216, 0, 1696, 1697, 3, 443, 221, 0, 1697, 1698, 3, 405, 202, 0, 1698, 1699, 3, 427, 213, 0, 1699, 1700, 3, 441, 220, 0, 1700, 344, 1, 0, 0, 0, 1701, 1702, 3, 443, 221, 0, 1702, 1703, 3, 439, 219, 0, 1703, 1704, 3, 405, 202, 0, 1704, 1705, 3, 421, 210, 0, 1705, 1706, 3, 427, 213, 0, 1706, 1707, 3, 421, 210, 0, 1707, 1708, 3, 431, 215, 0, 1708, 1709, 3, 417, 208, 0, 1709, 346, 1, 0, 0, 0, 1710, 1711, 3, 443, 221, 0, 1711, 1712, 3, 439, 219, 0, 1712, 1713, 3, 421, 210, 0, 1713, 1714, 3, 429, 214, 0, 1714, 348, 1, 0, 0, 0, 1715, 1716, 3, 443, 221, 0, 1716, 1717, 3, 439, 219, 0, 1717, 1718, 3, 413, 206, 0, 1718, 1719, 3, 413, 206, 0, 1719, 350, 1, 0, 0, 0, 1720, 1721, 3, 443, 221, 0, 1721, 1722, 3, 439, 219, 0, 1722, 1723, 3, 445, 222, 0, 1723, 1724, 3, 431, 215, 0, 1724, 1725, 3, 409, 204, 0, 1725, 1726, 3, 405, 202, 0, 1726, 1727, 3, 443, 221, 0, 1727, 1728, 3, 413, 206, 0, 1728, 352, 1, 0, 0, 0, 1729, 1730, 3, 443, 221, 0, 1730, 1731, 3, 443, 221, 0, 1731, 1732, 3, 427, 213, 0, 1732, 354, 1, 0, 0, 0, 1733, 1734, 3, 443, 221, 0, 1734, 1735, 3, 453, 226, 0, 1735, 1736, 3, 435, 217, 0, 1736, 1737, 3, 413, 206, 0, 1737, 356, 1, 0, 0, 0, 1738, 1739, 3, 445, 222, 0, 1739, 1740, 3, 431, 215, 0, 1740, 1741, 3, 407, 203, 0, 1741, 1742, 3, 433, 216, 0, 1742, 1743, 3, 445, 222, 0, 1743, 1744, 3, 431, 215, 0, 1744, 1745, 3, 411, 205, 0, 1745, 1746, 3, 413, 206, 0, 1746, 1747, 3, 411, 205, 0, 1747, 358, 1, 0, 0, 0, 1748, 1749, 3, 445, 222, 0, 1749, 1750, 3, 431, 215, 0, 1750, 1751, 3, 421, 210, 0, 1751, 1752, 3, 433, 216, 0, 1752, 1753, 3, 431, 215, 0, 1753, 360, 1, 0, 0, 0, 1754, 1755, 3, 445, 222, 0, 1755, 1756, 3, 435, 217, 0, 1756, 1757, 3, 411, 205, 0, 1757, 1758, 3, 405, 202, 0, 1758, 1759, 3, 443, 221, 0, 1759, 1760, 3, 413, 206, 0, 1760, 362, 1, 0, 0, 0, 1761, 1762, 3, 445, 222, 0, 1762, 1763, 3, 441, 220, 0, 1763, 1764, 3, 413, 206, 0, 1764, 364, 1, 0, 0, 0, 1765, 1766, 3, 445, 222, 0, 1766, 1767, 3, 441, 220, 0, 1767, 1768, 3, 421, 210, 0, 1768, 1769, 3, 431, 215, 0, 1769, 1770, 3, 417, 208, 0, 1770, 366, 1, 0, 0, 0, 1771, 1772, 3, 445, 222, 0, 1772, 1773, 3, 445, 222, 0, 1773, 1774, 3, 421, 210, 0, 1774, 1775, 3, 411, 205, 0, 1775, 368, 1, 0, 0, 0, 1776, 1777, 3, 447, 223, 0, 1777, 1778, 3, 405, 202, 0, 1778, 1779, 3, 427, 213, 0, 1779, 1780, 3, 445, 222, 0, 1780, 1781, 3, 413, 206, 0, 1781, 1782, 3, 441, 220, 0, 1782, 370, 1, 0, 0, 0, 1783, 1784, 3, 447, 223, 0, 1784, 1785, 3, 421, 210, 0, 1785, 1786, 3, 413, 206, 0, 1786, 1787, 3, 449, 224, 0, 1787, 372, 1, 0, 0, 0, 1788, 1789, 3, 447, 223, 0, 1789, 1790, 3, 433, 216, 0, 1790, 1791, 3, 427, 213, 0, 1791, 1792, 3, 445, 222, 0, 1792, 1793, 3, 429, 214, 0, 1793, 1794, 3, 413, 206, 0, 1794, 374, 1, 0, 0, 0, 1795, 1796, 3, 449, 224, 0, 1796, 1797, 3, 405, 202, 0, 1797, 1798, 3, 443, 221, 0, 1798, 1799, 3, 409, 204, 0, 1799, 1800, 3, 419, 209, 0, 1800, 376, 1, 0, 0, 0, 1801, 1802, 3, 449, 224, 0, 1802, 1803, 3, 413, 206, 0, 1803, 1804, 3, 413, 206, 0, 1804, 1805, 3, 425, 212, 0, 1805, 378, 1, 0, 0, 0, 1806, 1807, 3, 449, 224, 0, 1807, 1808, 3, 419, 209, 0, 1808, 1809, 3, 413, 206, 0, 1809, 1810, 3, 431, 215, 0, 1810, 380, 1, 0, 0, 0, 1811, 1812, 3, 449, 224, 0, 1812, 1813, 3, 419, 209, 0, 1813, 1814, 3, 413, 206, 0, 1814, 1815, 3, 439, 219, 0, 1815, 1816, 3, 413, 206, 0, 1816, 382, 1, 0, 0, 0, 1817, 1818, 3, 449, 224, 0, 1818, 1819, 3, 421, 210, 0, 1819, 1820, 3, 431, 215, 0, 1820, 1821, 3, 411, 205, 0, 1821, 1822, 3, 433, 216, 0, 1822, 1823, 3, 449, 224, 0, 1823, 384, 1, 0, 0, 0, 1824, 1825, 3, 449, 224, 0, 1825, 1826, 3, 421, 210, 0, 1826, 1827, 3, 443, 221, 0, 1827, 1828, 3, 419, 209, 0, 1828, 386, 1, 0, 0, 0, 1829, 1830, 3, 453, 226, 0, 1830, 1831, 3, 413, 206, 0, 1831, 1832, 3, 405, 202, 0, 1832, 1833, 3, 439, 219, 0, 1833, 1840, 1, 0, 0, 0, 1834, 1835, 3, 453, 226, 0, 1835, 1836, 3, 453, 226, 0, 1836, 1837, 3, 453, 226, 0, 1837, 1838, 3, 453, 226, 0, 1838, 1840, 1, 0, 0, 0, 1839, 1829, 1, 0, 0, 0, 1839, 1834, 1, 0, 0, 0, 1840, 388, 1, 0, 0, 0, 1841, 1842, 5, 102, 0, 0, 1842, 1843, 5, 97, 0, 0, 1843, 1844, 5, 108, 0, 0, 1844, 1845, 5, 115, 0, 0, 1845, 1846, 5, 101, 0, 0, 1846, 390, 1, 0, 0, 0, 1847, 1848, 5, 116, 0, 0, 1848, 1849, 5, 114, 0, 0, 1849, 1850, 5, 117, 0, 0, 1850, 1851, 5, 101, 0, 0, 1851, 392, 1, 0, 0, 0, 1852, 1855, 3, 457, 228, 0, 1853, 1855, 3, 523, 261, 0, 1854, 1852, 1, 0, 0, 0, 1854, 1853, 1, 0, 0, 0, 1855, 1861, 1, 0, 0, 0, 1856, 1860, 3, 457, 228, 0, 1857, 1860, 3, 523, 261, 0, 1858, 1860, 3, 461, 230, 0, 1859, 1856, 1, 0, 0, 0, 1859, 1857, 1, 0, 0, 0, 1859, 1858, 1, 0, 0, 0, 1860, 1863, 1, 0, 0, 0, 1861, 1859, 1, 0, 0, 0, 1861, 1862, 1, 0, 0, 0, 1862, 1895, 1, 0, 0, 0, 1863, 1861, 1, 0, 0, 0, 1864, 1874, 3, 469, 234, 0, 1865, 1873, 8, 0, 0, 0, 1866, 1867, 3, 471, 235, 0, 1867, 1868, 9, 0, 0, 0, 1868, 1873, 1, 0, 0, 0, 1869, 1870, 3, 469, 234, 0, 1870, 1871, 3, 469, 234, 0, 1871, 1873, 1, 0, 0, 0, 1872, 1865, 1, 0, 0, 0, 1872, 1866, 1, 0, 0, 0, 1872, 1869, 1, 0, 0, 0, 1873, 1876, 1, 0, 0, 0, 1874, 1872, 1, 0, 0, 0, 1874, 1875, 1, 0, 0, 0, 1875, 1877, 1, 0, 0, 0, 1876, 1874, 1, 0, 0, 0, 1877, 1878, 3, 469, 234, 0, 1878, 1895, 1, 0, 0, 0, 1879, 1889, 3, 509, 254, 0, 1880, 1888, 8, 1, 0, 0, 1881, 1882, 3, 471, 235, 0, 1882, 1883, 9, 0, 0, 0, 1883, 1888, 1, 0, 0, 0, 1884, 1885, 3, 509, 254, 0, 1885, 1886, 3, 509, 254, 0, 1886, 1888, 1, 0, 0, 0, 1887, 1880, 1, 0, 0, 0, 1887, 1881, 1, 0, 0, 0, 1887, 1884, 1, 0, 0, 0, 1888, 1891, 1, 0, 0, 0, 1889, 1887, 1, 0, 0, 0, 1889, 1890, 1, 0, 0, 0, 1890, 1892, 1, 0, 0, 0, 1891, 1889, 1, 0, 0, 0, 1892, 1893, 3, 509, 254, 0, 1893, 1895, 1, 0, 0, 0, 1894, 1854, 1, 0, 0, 0, 1894, 1864, 1, 0, 0, 0, 1894, 1879, 1, 0, 0, 0, 1895, 394, 1, 0, 0, 0, 1896, 1897, 3, 401, 200, 0, 1897, 1901, 3, 481, 240, 0, 1898, 1900, 3, 463, 231, 0, 1899, 1898, 1, 0, 0, 0, 1900, 1903, 1, 0, 0, 0, 1901, 1899, 1, 0, 0, 0, 1901, 1902, 1, 0, 0, 0, 1902, 1906, 1, 0, 0, 0, 1903, 1901, 1, 0, 0, 0, 1904, 1907, 3, 435, 217, 0, 1905, 1907, 3, 413, 206, 0, 1906, 1904, 1, 0, 0, 0, 1906, 1905, 1, 0, 0, 0, 1907, 1910, 1, 0, 0, 0, 1908, 1911, 3, 505, 252, 0, 1909, 1911, 3, 479, 239, 0, 1910, 1908, 1, 0, 0, 0, 1910, 1909, 1, 0, 0, 0, 1910, 1911, 1, 0, 0, 0, 1911, 1913, 1, 0, 0, 0, 1912, 1914, 3, 461, 230, 0, 1913, 1912, 1, 0, 0, 0, 1914, 1915, 1, 0, 0, 0, 1915, 1913, 1, 0, 0, 0, 1915, 1916, 1, 0, 0, 0, 1916, 1973, 1, 0, 0, 0, 1917, 1920, 3, 401, 200, 0, 1918, 1921, 3, 435, 217, 0, 1919, 1921, 3, 413, 206, 0, 1920, 1918, 1, 0, 0, 0, 1920, 1919, 1, 0, 0, 0, 1921, 1924, 1, 0, 0, 0, 1922, 1925, 3, 505, 252, 0, 1923, 1925, 3, 479, 239, 0, 1924, 1922, 1, 0, 0, 0, 1924, 1923, 1, 0, 0, 0, 1924, 1925, 1, 0, 0, 0, 1925, 1927, 1, 0, 0, 0, 1926, 1928, 3, 461, 230, 0, 1927, 1926, 1, 0, 0, 0, 1928, 1929, 1, 0, 0, 0, 1929, 1927, 1, 0, 0, 0, 1929, 1930, 1, 0, 0, 0, 1930, 1973, 1, 0, 0, 0, 1931, 1932, 3, 399, 199, 0, 1932, 1936, 3, 481, 240, 0, 1933, 1935, 3, 461, 230, 0, 1934, 1933, 1, 0, 0, 0, 1935, 1938, 1, 0, 0, 0, 1936, 1934, 1, 0, 0, 0, 1936, 1937, 1, 0, 0, 0, 1937, 1939, 1, 0, 0, 0, 1938, 1936, 1, 0, 0, 0, 1939, 1942, 3, 413, 206, 0, 1940, 1943, 3, 505, 252, 0, 1941, 1943, 3, 479, 239, 0, 1942, 1940, 1, 0, 0, 0, 1942, 1941, 1, 0, 0, 0, 1942, 1943, 1, 0, 0, 0, 1943, 1945, 1, 0, 0, 0, 1944, 1946, 3, 461, 230, 0, 1945, 1944, 1, 0, 0, 0, 1946, 1947, 1, 0, 0, 0, 1947, 1945, 1, 0, 0, 0, 1947, 1948, 1, 0, 0, 0, 1948, 1973, 1, 0, 0, 0, 1949, 1950, 3, 481, 240, 0, 1950, 1951, 3, 399, 199, 0, 1951, 1954, 3, 413, 206, 0, 1952, 1955, 3, 505, 252, 0, 1953, 1955, 3, 479, 239, 0, 1954, 1952, 1, 0, 0, 0, 1954, 1953, 1, 0, 0, 0, 1954, 1955, 1, 0, 0, 0, 1955, 1957, 1, 0, 0, 0, 1956, 1958, 3, 461, 230, 0, 1957, 1956, 1, 0, 0, 0, 1958, 1959, 1, 0, 0, 0, 1959, 1957, 1, 0, 0, 0, 1959, 1960, 1, 0, 0, 0, 1960, 1973, 1, 0, 0, 0, 1961, 1962, 3, 399, 199, 0, 1962, 1965, 3, 413, 206, 0, 1963, 1966, 3, 505, 252, 0, 1964, 1966, 3, 479, 239, 0, 1965, 1963, 1, 0, 0, 0, 1965, 1964, 1, 0, 0, 0, 1965, 1966, 1, 0, 0, 0, 1966, 1968, 1, 0, 0, 0, 1967, 1969, 3, 461, 230, 0, 1968, 1967, 1, 0, 0, 0, 1969, 1970, 1, 0, 0, 0, 1970, 1968, 1, 0, 0, 0, 1970, 1971, 1, 0, 0, 0, 1971, 1973, 1, 0, 0, 0, 1972, 1896, 1, 0, 0, 0, 1972, 1917, 1, 0, 0, 0, 1972, 1931, 1, 0, 0, 0, 1972, 1949, 1, 0, 0, 0, 1972, 1961, 1, 0, 0, 0, 1973, 396, 1, 0, 0, 0, 1974, 1976, 5, 48, 0, 0, 1975, 1977, 3, 459, 229, 0, 1976, 1975, 1, 0, 0, 0, 1977, 1978, 1, 0, 0, 0, 1978, 1976, 1, 0, 0, 0, 1978, 1979, 1, 0, 0, 0, 1979, 398, 1, 0, 0, 0, 1980, 1982, 3, 461, 230, 0, 1981, 1980, 1, 0, 0, 0, 1982, 1983, 1, 0, 0, 0, 1983, 1981, 1, 0, 0, 0, 1983, 1984, 1, 0, 0, 0, 1984, 400, 1, 0, 0, 0, 1985, 1986, 5, 48, 0, 0, 1986, 1988, 3, 451, 225, 0, 1987, 1989, 3, 463, 231, 0, 1988, 1987, 1, 0, 0, 0, 1989, 1990, 1, 0, 0, 0, 1990, 1988, 1, 0, 0, 0, 1990, 1991, 1, 0, 0, 0, 1991, 402, 1, 0, 0, 0, 1992, 2002, 3, 511, 255, 0, 1993, 2001, 8, 2, 0, 0, 1994, 1995, 3, 471, 235, 0, 1995, 1996, 9, 0, 0, 0, 1996, 2001, 1, 0, 0, 0, 1997, 1998, 3, 511, 255, 0, 1998, 1999, 3, 511, 255, 0, 1999, 2001, 1, 0, 0, 0, 2000, 1993, 1, 0, 0, 0, 2000, 1994, 1, 0, 0, 0, 2000, 1997, 1, 0, 0, 0, 2001, 2004, 1, 0, 0, 0, 2002, 2000, 1, 0, 0, 0, 2002, 2003, 1, 0, 0, 0, 2003, 2005, 1, 0, 0, 0, 2004, 2002, 1, 0, 0, 0, 2005, 2006, 3, 511, 255, 0, 2006, 404, 1, 0, 0, 0, 2007, 2008, 7, 3, 0, 0, 2008, 406, 1, 0, 0, 0, 2009, 2010, 7, 4, 0, 0, 2010, 408, 1, 0, 0, 0, 2011, 2012, 7, 5, 0, 0, 2012, 410, 1, 0, 0, 0, 2013, 2014, 7, 6, 0, 0, 2014, 412, 1, 0, 0, 0, 2015, 2016, 7, 7, 0, 0, 2016, 414, 1, 0, 0, 0, 2017, 2018, 7, 8, 0, 0, 2018, 416, 1, 0, 0, 0, 2019, 2020, 7, 9, 0, 0, 2020, 418, 1, 0, 0, 0, 2021, 2022, 7, 10, 0, 0, 2022, 420, 1, 0, 0, 0, 2023, 2024, 7, 11, 0, 0, 2024, 422, 1, 0, 0, 0, 2025, 2026, 7, 12, 0, 0, 2026, 424, 1, 0, 0, 0, 2027, 2028, 7, 13, 0, 0, 2028, 426, 1, 0, 0, 0, 2029, 2030, 7, 14, 0, 0, 2030, 428, 1, 0, 0, 0, 2031, 2032, 7, 15, 0, 0, 2032, 430, 1, 0, 0, 0, 2033, 2034, 7, 16, 0, 0, 2034, 432, 1, 0, 0, 0, 2035, 2036, 7, 17, 0, 0, 2036, 434, 1, 0, 0, 0, 2037, 2038, 7, 18, 0, 0, 2038, 436, 1, 0, 0, 0, 2039, 2040, 7, 19, 0, 0, 2040, 438, 1, 0, 0, 0, 2041, 2042, 7, 20, 0, 0, 2042, 440, 1, 0, 0, 0, 2043, 2044, 7, 21, 0, 0, 2044, 442, 1, 0, 0, 0, 2045, 2046, 7, 22, 0, 0, 2046, 444, 1, 0, 0, 0, 2047, 2048, 7, 23, 0, 0, 2048, 446, 1, 0, 0, 0, 2049, 2050, 7, 24, 0, 0, 2050, 448, 1, 0, 0, 0, 2051, 2052, 7, 25, 0, 0, 2052, 450, 1, 0, 0, 0, 2053, 2054, 7, 26, 0, 0, 2054, 452, 1, 0, 0, 0, 2055, 2056, 7, 27, 0, 0, 2056, 454, 1, 0, 0, 0, 2057, 2058, 7, 28, 0, 0, 2058, 456, 1, 0, 0, 0, 2059, 2060, 7, 29, 0, 0, 2060, 458, 1, 0, 0, 0, 2061, 2062, 7, 30, 0, 0, 2062, 460, 1, 0, 0, 0, 2063, 2064, 7, 31, 0, 0, 2064, 462, 1, 0, 0, 0, 2065, 2066, 7, 32, 0, 0, 2066, 464, 1, 0, 0, 0, 2067, 2068, 5, 45, 0, 0, 2068, 2069, 5, 62, 0, 0, 2069, 466, 1, 0, 0, 0, 2070, 2071, 5, 42, 0, 0, 2071, 468, 1, 0, 0, 0, 2072, 2073, 5, 96, 0, 0, 2073, 470, 1, 0, 0, 0, 2074, 2075, 5, 92, 0, 0, 2075, 472, 1, 0, 0, 0, 2076, 2077, 5, 58, 0, 0, 2077, 474, 1, 0, 0, 0, 2078, 2079, 5, 44, 0, 0, 2079, 476, 1, 0, 0, 0, 2080, 2081, 5, 124, 0, 0, 2081, 2082, 5, 124, 0, 0, 2082, 478, 1, 0, 0, 0, 2083, 2084, 5, 45, 0, 0, 2084, 480, 1, 0, 0, 0, 2085, 2086, 5, 46, 0, 0, 2086, 482, 1, 0, 0, 0, 2087, 2088, 5, 61, 0, 0, 2088, 2089, 5, 61, 0, 0, 2089, 484, 1, 0, 0, 0, 2090, 2091, 5, 61, 0, 0, 2091, 486, 1, 0, 0, 0, 2092, 2093, 5, 62, 0, 0, 2093, 2094, 5, 61, 0, 0, 2094, 488, 1, 0, 0, 0, 2095, 2096, 5, 62, 0, 0, 2096, 490, 1, 0, 0, 0, 2097, 2098, 5, 123, 0, 0, 2098, 492, 1, 0, 0, 0, 2099, 2100, 5, 91, 0, 0, 2100, 494, 1, 0, 0, 0, 2101, 2102, 5, 60, 0, 0, 2102, 2103, 5, 61, 0, 0, 2103, 496, 1, 0, 0, 0, 2104, 2105, 5, 40, 0, 0, 2105, 498, 1, 0, 0, 0, 2106, 2107, 5, 60, 0, 0, 2107, 500, 1, 0, 0, 0, 2108, 2109, 5, 33, 0, 0, 2109, 2113, 5, 61, 0, 0, 2110, 2111, 5, 60, 0, 0, 2111, 2113, 5, 62, 0, 0, 2112, 2108, 1, 0, 0, 0, 2112, 2110, 1, 0, 0, 0, 2113, 502, 1, 0, 0, 0, 2114, 2115, 5, 37, 0, 0, 2115, 504, 1, 0, 0, 0, 2116, 2117, 5, 43, 0, 0, 2117, 506, 1, 0, 0, 0, 2118, 2119, 5, 63, 0, 0, 2119, 508, 1, 0, 0, 0, 2120, 2121, 5, 34, 0, 0, 2121, 510, 1, 0, 0, 0, 2122, 2123, 5, 39, 0, 0, 2123, 512, 1, 0, 0, 0, 2124, 2125, 5, 125, 0, 0, 2125, 514, 1, 0, 0, 0, 2126, 2127, 5, 93, 0, 0, 2127, 516, 1, 0, 0, 0, 2128, 2129, 5, 41, 0, 0, 2129, 518, 1, 0, 0, 0, 2130, 2131, 5, 59, 0, 0, 2131, 520, 1, 0, 0, 0, 2132, 2133, 5, 47, 0, 0, 2133, 522, 1, 0, 0, 0, 2134, 2135, 5, 95, 0, 0, 2135, 524, 1, 0, 0, 0, 2136, 2137, 5, 47, 0, 0, 2137, 2138, 5, 42, 0, 0, 2138, 2142, 1, 0, 0, 0, 2139, 2141, 9, 0, 0, 0, 2140, 2139, 1, 0, 0, 0, 2141, 2144, 1, 0, 0, 0, 2142, 2143, 1, 0, 0, 0, 2142, 2140, 1, 0, 0, 0, 2143, 2145, 1, 0, 0, 0, 2144, 2142, 1, 0, 0, 0, 2145, 2146, 5, 42, 0, 0, 2146, 2147, 5, 47, 0, 0, 2147, 2148, 1, 0, 0, 0, 2148, 2149, 6, 262, 0, 0, 2149, 526, 1, 0, 0, 0, 2150, 2151, 5, 45, 0, 0, 2151, 2152, 5, 45, 0, 0, 2152, 2156, 1, 0, 0, 0, 2153, 2155, 8, 33, 0, 0, 2154, 2153, 1, 0, 0, 0, 2155, 2158, 1, 0, 0, 0, 2156, 2154, 1, 0, 0, 0, 2156, 2157, 1, 0, 0, 0, 2157, 2160, 1, 0, 0, 0, 2158, 2156, 1, 0, 0, 0, 2159, 2161, 7, 34, 0, 0, 2160, 2159, 1, 0, 0, 0, 2161, 2162, 1, 0, 0, 0, 2162, 2163, 6, 263, 0, 0, 2163, 528, 1, 0, 0, 0, 2164, 2165, 7, 35, 0, 0, 2165, 2166, 1, 0, 0, 0, 2166, 2167, 6, 264, 1, 0, 2167, 530, 1, 0, 0, 0, 36, 0, 593, 1100, 1839, 1854, 1859, 1861, 1872, 1874, 1887, 1889, 1894, 1901, 1906, 1910, 1915, 1920, 1924, 1929, 1936, 1942, 1947, 1954, 1959, 1965, 1970, 1972, 1978, 1983, 1990, 2000, 2002, 2112, 2142, 2156, 2160, 2, 6, 0, 0, 0, 1, 0] \ No newline at end of file +[4, 0, 287, 2717, 6, -1, 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, 2, 164, 7, 164, 2, 165, 7, 165, 2, 166, 7, 166, 2, 167, 7, 167, 2, 168, 7, 168, 2, 169, 7, 169, 2, 170, 7, 170, 2, 171, 7, 171, 2, 172, 7, 172, 2, 173, 7, 173, 2, 174, 7, 174, 2, 175, 7, 175, 2, 176, 7, 176, 2, 177, 7, 177, 2, 178, 7, 178, 2, 179, 7, 179, 2, 180, 7, 180, 2, 181, 7, 181, 2, 182, 7, 182, 2, 183, 7, 183, 2, 184, 7, 184, 2, 185, 7, 185, 2, 186, 7, 186, 2, 187, 7, 187, 2, 188, 7, 188, 2, 189, 7, 189, 2, 190, 7, 190, 2, 191, 7, 191, 2, 192, 7, 192, 2, 193, 7, 193, 2, 194, 7, 194, 2, 195, 7, 195, 2, 196, 7, 196, 2, 197, 7, 197, 2, 198, 7, 198, 2, 199, 7, 199, 2, 200, 7, 200, 2, 201, 7, 201, 2, 202, 7, 202, 2, 203, 7, 203, 2, 204, 7, 204, 2, 205, 7, 205, 2, 206, 7, 206, 2, 207, 7, 207, 2, 208, 7, 208, 2, 209, 7, 209, 2, 210, 7, 210, 2, 211, 7, 211, 2, 212, 7, 212, 2, 213, 7, 213, 2, 214, 7, 214, 2, 215, 7, 215, 2, 216, 7, 216, 2, 217, 7, 217, 2, 218, 7, 218, 2, 219, 7, 219, 2, 220, 7, 220, 2, 221, 7, 221, 2, 222, 7, 222, 2, 223, 7, 223, 2, 224, 7, 224, 2, 225, 7, 225, 2, 226, 7, 226, 2, 227, 7, 227, 2, 228, 7, 228, 2, 229, 7, 229, 2, 230, 7, 230, 2, 231, 7, 231, 2, 232, 7, 232, 2, 233, 7, 233, 2, 234, 7, 234, 2, 235, 7, 235, 2, 236, 7, 236, 2, 237, 7, 237, 2, 238, 7, 238, 2, 239, 7, 239, 2, 240, 7, 240, 2, 241, 7, 241, 2, 242, 7, 242, 2, 243, 7, 243, 2, 244, 7, 244, 2, 245, 7, 245, 2, 246, 7, 246, 2, 247, 7, 247, 2, 248, 7, 248, 2, 249, 7, 249, 2, 250, 7, 250, 2, 251, 7, 251, 2, 252, 7, 252, 2, 253, 7, 253, 2, 254, 7, 254, 2, 255, 7, 255, 2, 256, 7, 256, 2, 257, 7, 257, 2, 258, 7, 258, 2, 259, 7, 259, 2, 260, 7, 260, 2, 261, 7, 261, 2, 262, 7, 262, 2, 263, 7, 263, 2, 264, 7, 264, 2, 265, 7, 265, 2, 266, 7, 266, 2, 267, 7, 267, 2, 268, 7, 268, 2, 269, 7, 269, 2, 270, 7, 270, 2, 271, 7, 271, 2, 272, 7, 272, 2, 273, 7, 273, 2, 274, 7, 274, 2, 275, 7, 275, 2, 276, 7, 276, 2, 277, 7, 277, 2, 278, 7, 278, 2, 279, 7, 279, 2, 280, 7, 280, 2, 281, 7, 281, 2, 282, 7, 282, 2, 283, 7, 283, 2, 284, 7, 284, 2, 285, 7, 285, 2, 286, 7, 286, 2, 287, 7, 287, 2, 288, 7, 288, 2, 289, 7, 289, 2, 290, 7, 290, 2, 291, 7, 291, 2, 292, 7, 292, 2, 293, 7, 293, 2, 294, 7, 294, 2, 295, 7, 295, 2, 296, 7, 296, 2, 297, 7, 297, 2, 298, 7, 298, 2, 299, 7, 299, 2, 300, 7, 300, 2, 301, 7, 301, 2, 302, 7, 302, 2, 303, 7, 303, 2, 304, 7, 304, 2, 305, 7, 305, 2, 306, 7, 306, 2, 307, 7, 307, 2, 308, 7, 308, 2, 309, 7, 309, 2, 310, 7, 310, 2, 311, 7, 311, 2, 312, 7, 312, 2, 313, 7, 313, 2, 314, 7, 314, 2, 315, 7, 315, 2, 316, 7, 316, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 3, 10, 698, 8, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 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, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 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, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 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, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 1205, 8, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 87, 1, 87, 1, 87, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 90, 1, 90, 1, 90, 1, 90, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 94, 1, 94, 1, 94, 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, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 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, 104, 1, 104, 1, 104, 1, 104, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 106, 1, 106, 1, 106, 1, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 111, 1, 112, 1, 112, 1, 112, 1, 112, 1, 113, 1, 113, 1, 113, 1, 114, 1, 114, 1, 114, 1, 114, 1, 115, 1, 115, 1, 115, 1, 115, 1, 115, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 118, 1, 118, 1, 118, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 120, 1, 120, 1, 120, 1, 121, 1, 121, 1, 121, 1, 121, 1, 121, 1, 121, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 122, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 124, 1, 124, 1, 124, 1, 124, 1, 124, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 128, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 133, 1, 134, 1, 134, 1, 134, 1, 134, 1, 134, 1, 134, 1, 135, 1, 135, 1, 135, 1, 135, 1, 135, 1, 135, 1, 136, 1, 136, 1, 136, 1, 136, 1, 136, 1, 136, 1, 136, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 137, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 143, 1, 143, 1, 143, 1, 143, 1, 143, 1, 143, 1, 143, 1, 144, 1, 144, 1, 144, 1, 144, 1, 145, 1, 145, 1, 145, 1, 145, 1, 145, 1, 146, 1, 146, 1, 146, 1, 146, 1, 146, 1, 146, 1, 146, 1, 147, 1, 147, 1, 147, 1, 147, 1, 147, 1, 147, 1, 147, 1, 148, 1, 148, 1, 148, 1, 148, 1, 148, 1, 148, 1, 148, 1, 149, 1, 149, 1, 149, 1, 149, 1, 149, 1, 150, 1, 150, 1, 150, 1, 150, 1, 150, 1, 150, 1, 151, 1, 151, 1, 151, 1, 151, 1, 152, 1, 152, 1, 152, 1, 152, 1, 152, 1, 152, 1, 152, 1, 152, 1, 152, 1, 153, 1, 153, 1, 153, 1, 153, 1, 153, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 154, 1, 155, 1, 155, 1, 155, 1, 155, 1, 155, 1, 155, 1, 156, 1, 156, 1, 156, 1, 156, 1, 156, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 157, 1, 158, 1, 158, 1, 158, 1, 158, 1, 158, 1, 159, 1, 159, 1, 159, 1, 159, 1, 159, 1, 159, 1, 159, 1, 160, 1, 160, 1, 160, 1, 160, 1, 160, 1, 160, 1, 160, 1, 161, 1, 161, 1, 161, 1, 161, 1, 161, 1, 161, 1, 162, 1, 162, 1, 162, 1, 162, 1, 162, 1, 162, 1, 162, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 163, 1, 164, 1, 164, 1, 164, 1, 164, 1, 164, 1, 165, 1, 165, 1, 165, 1, 165, 1, 165, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 167, 1, 167, 1, 167, 1, 167, 1, 167, 1, 167, 1, 167, 1, 167, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 168, 1, 169, 1, 169, 1, 169, 1, 170, 1, 170, 1, 170, 1, 170, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 171, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 172, 1, 173, 1, 173, 1, 173, 1, 173, 1, 173, 1, 174, 1, 174, 1, 174, 1, 174, 1, 174, 1, 175, 1, 175, 1, 175, 1, 175, 1, 175, 1, 175, 1, 175, 1, 175, 1, 175, 1, 176, 1, 176, 1, 176, 1, 176, 1, 177, 1, 177, 1, 177, 1, 177, 1, 177, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 179, 1, 179, 1, 179, 1, 179, 1, 179, 1, 179, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 1, 181, 1, 181, 1, 181, 1, 181, 1, 182, 1, 182, 1, 182, 1, 182, 1, 182, 1, 182, 1, 183, 1, 183, 1, 183, 1, 183, 1, 183, 1, 184, 1, 184, 1, 184, 1, 184, 1, 184, 1, 184, 1, 184, 1, 185, 1, 185, 1, 185, 1, 185, 1, 185, 1, 186, 1, 186, 1, 186, 1, 186, 1, 186, 1, 186, 1, 186, 1, 187, 1, 187, 1, 187, 1, 187, 1, 187, 1, 187, 1, 188, 1, 188, 1, 188, 1, 188, 1, 188, 1, 189, 1, 189, 1, 189, 1, 189, 1, 189, 1, 190, 1, 190, 1, 190, 1, 190, 1, 190, 1, 190, 1, 191, 1, 191, 1, 191, 1, 191, 1, 191, 1, 191, 1, 191, 1, 192, 1, 192, 1, 192, 1, 192, 1, 192, 1, 193, 1, 193, 1, 193, 1, 193, 1, 193, 1, 193, 1, 193, 1, 193, 1, 193, 1, 193, 3, 193, 1944, 8, 193, 1, 194, 1, 194, 1, 194, 1, 194, 1, 194, 1, 194, 1, 195, 1, 195, 1, 195, 1, 195, 1, 195, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 196, 1, 197, 1, 197, 1, 197, 1, 197, 1, 197, 1, 197, 1, 197, 1, 197, 1, 198, 1, 198, 1, 198, 1, 198, 1, 198, 1, 198, 1, 198, 1, 199, 1, 199, 1, 199, 1, 199, 1, 199, 1, 199, 1, 200, 1, 200, 1, 200, 1, 200, 1, 200, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 202, 1, 202, 1, 202, 1, 202, 1, 202, 1, 202, 1, 202, 1, 202, 1, 202, 1, 202, 1, 203, 1, 203, 1, 203, 1, 203, 1, 203, 1, 203, 1, 203, 1, 203, 1, 204, 1, 204, 1, 204, 1, 204, 1, 204, 1, 204, 1, 204, 1, 204, 1, 204, 1, 204, 1, 204, 1, 204, 1, 204, 1, 205, 1, 205, 1, 205, 1, 205, 1, 205, 1, 205, 1, 205, 1, 206, 1, 206, 1, 206, 1, 206, 1, 206, 1, 206, 1, 206, 1, 206, 1, 206, 1, 206, 1, 206, 1, 207, 1, 207, 1, 207, 1, 207, 1, 207, 1, 207, 1, 207, 1, 207, 1, 207, 1, 207, 1, 207, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 210, 1, 211, 1, 211, 1, 211, 1, 211, 1, 211, 1, 211, 1, 211, 1, 211, 1, 211, 1, 212, 1, 212, 1, 212, 1, 212, 1, 212, 1, 212, 1, 213, 1, 213, 1, 213, 1, 213, 1, 214, 1, 214, 1, 214, 1, 214, 1, 214, 1, 215, 1, 215, 1, 215, 1, 215, 1, 215, 1, 216, 1, 216, 1, 216, 1, 216, 1, 216, 1, 216, 1, 216, 1, 216, 1, 216, 1, 216, 1, 216, 1, 216, 1, 216, 1, 217, 1, 217, 1, 217, 1, 217, 1, 217, 1, 217, 1, 217, 1, 218, 1, 218, 1, 218, 1, 218, 1, 218, 1, 218, 1, 218, 1, 218, 1, 218, 1, 219, 1, 219, 1, 219, 1, 219, 1, 219, 1, 219, 1, 219, 1, 219, 1, 219, 1, 219, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 222, 1, 222, 1, 222, 1, 222, 1, 222, 1, 222, 1, 222, 1, 223, 1, 223, 1, 223, 1, 223, 1, 223, 1, 223, 1, 223, 1, 223, 1, 224, 1, 224, 1, 224, 1, 224, 1, 224, 1, 224, 1, 224, 1, 224, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 226, 1, 226, 1, 226, 1, 226, 1, 226, 1, 226, 1, 226, 1, 226, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 228, 1, 228, 1, 228, 1, 228, 1, 228, 1, 228, 1, 228, 1, 228, 1, 228, 1, 228, 1, 228, 1, 229, 1, 229, 1, 229, 1, 229, 1, 229, 1, 229, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 233, 1, 233, 1, 233, 1, 233, 1, 233, 1, 233, 1, 233, 1, 233, 1, 233, 1, 234, 1, 234, 1, 234, 1, 234, 1, 234, 1, 234, 1, 234, 1, 234, 1, 235, 1, 235, 1, 235, 1, 235, 1, 235, 1, 236, 1, 236, 1, 236, 1, 236, 1, 237, 1, 237, 1, 237, 1, 237, 1, 237, 1, 237, 1, 237, 1, 238, 1, 238, 1, 238, 1, 238, 1, 238, 1, 238, 1, 239, 1, 239, 1, 239, 1, 239, 1, 239, 1, 240, 1, 240, 1, 240, 1, 240, 1, 240, 1, 241, 1, 241, 1, 241, 1, 241, 1, 241, 1, 242, 1, 242, 1, 242, 1, 243, 1, 243, 1, 243, 1, 243, 1, 243, 1, 243, 1, 243, 1, 243, 1, 244, 1, 244, 1, 244, 1, 244, 1, 244, 1, 244, 1, 244, 1, 245, 1, 245, 1, 245, 1, 245, 1, 245, 1, 246, 1, 246, 1, 246, 1, 246, 1, 246, 1, 246, 1, 247, 1, 247, 1, 247, 1, 247, 1, 247, 1, 248, 1, 248, 3, 248, 2404, 8, 248, 1, 248, 1, 248, 1, 248, 5, 248, 2409, 8, 248, 10, 248, 12, 248, 2412, 9, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 5, 248, 2422, 8, 248, 10, 248, 12, 248, 2425, 9, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 1, 248, 5, 248, 2437, 8, 248, 10, 248, 12, 248, 2440, 9, 248, 1, 248, 1, 248, 3, 248, 2444, 8, 248, 1, 249, 1, 249, 1, 249, 5, 249, 2449, 8, 249, 10, 249, 12, 249, 2452, 9, 249, 1, 249, 1, 249, 3, 249, 2456, 8, 249, 1, 249, 1, 249, 3, 249, 2460, 8, 249, 1, 249, 4, 249, 2463, 8, 249, 11, 249, 12, 249, 2464, 1, 249, 1, 249, 1, 249, 3, 249, 2470, 8, 249, 1, 249, 1, 249, 3, 249, 2474, 8, 249, 1, 249, 4, 249, 2477, 8, 249, 11, 249, 12, 249, 2478, 1, 249, 1, 249, 1, 249, 5, 249, 2484, 8, 249, 10, 249, 12, 249, 2487, 9, 249, 1, 249, 1, 249, 1, 249, 3, 249, 2492, 8, 249, 1, 249, 4, 249, 2495, 8, 249, 11, 249, 12, 249, 2496, 1, 249, 1, 249, 1, 249, 1, 249, 1, 249, 3, 249, 2504, 8, 249, 1, 249, 4, 249, 2507, 8, 249, 11, 249, 12, 249, 2508, 1, 249, 1, 249, 1, 249, 1, 249, 3, 249, 2515, 8, 249, 1, 249, 4, 249, 2518, 8, 249, 11, 249, 12, 249, 2519, 3, 249, 2522, 8, 249, 1, 250, 1, 250, 4, 250, 2526, 8, 250, 11, 250, 12, 250, 2527, 1, 251, 4, 251, 2531, 8, 251, 11, 251, 12, 251, 2532, 1, 252, 1, 252, 1, 252, 4, 252, 2538, 8, 252, 11, 252, 12, 252, 2539, 1, 253, 1, 253, 1, 253, 1, 253, 1, 253, 1, 253, 1, 253, 1, 253, 5, 253, 2550, 8, 253, 10, 253, 12, 253, 2553, 9, 253, 1, 253, 1, 253, 1, 254, 1, 254, 1, 255, 1, 255, 1, 256, 1, 256, 1, 257, 1, 257, 1, 258, 1, 258, 1, 259, 1, 259, 1, 260, 1, 260, 1, 261, 1, 261, 1, 262, 1, 262, 1, 263, 1, 263, 1, 264, 1, 264, 1, 265, 1, 265, 1, 266, 1, 266, 1, 267, 1, 267, 1, 268, 1, 268, 1, 269, 1, 269, 1, 270, 1, 270, 1, 271, 1, 271, 1, 272, 1, 272, 1, 273, 1, 273, 1, 274, 1, 274, 1, 275, 1, 275, 1, 276, 1, 276, 1, 277, 1, 277, 1, 278, 1, 278, 1, 279, 1, 279, 1, 280, 1, 280, 1, 281, 1, 281, 1, 282, 1, 282, 1, 283, 1, 283, 1, 284, 1, 284, 1, 284, 1, 285, 1, 285, 1, 286, 1, 286, 1, 287, 1, 287, 1, 288, 1, 288, 1, 289, 1, 289, 1, 290, 1, 290, 1, 290, 1, 291, 1, 291, 1, 292, 1, 292, 1, 293, 1, 293, 1, 293, 1, 294, 1, 294, 1, 295, 1, 295, 1, 295, 1, 296, 1, 296, 1, 297, 1, 297, 1, 298, 1, 298, 1, 299, 1, 299, 1, 299, 1, 300, 1, 300, 1, 301, 1, 301, 1, 302, 1, 302, 1, 302, 1, 302, 3, 302, 2662, 8, 302, 1, 303, 1, 303, 1, 304, 1, 304, 1, 305, 1, 305, 1, 306, 1, 306, 1, 307, 1, 307, 1, 308, 1, 308, 1, 309, 1, 309, 1, 310, 1, 310, 1, 311, 1, 311, 1, 312, 1, 312, 1, 313, 1, 313, 1, 314, 1, 314, 1, 314, 1, 314, 5, 314, 2690, 8, 314, 10, 314, 12, 314, 2693, 9, 314, 1, 314, 1, 314, 1, 314, 1, 314, 1, 314, 1, 315, 1, 315, 1, 315, 1, 315, 5, 315, 2704, 8, 315, 10, 315, 12, 315, 2707, 9, 315, 1, 315, 3, 315, 2710, 8, 315, 1, 315, 1, 315, 1, 316, 1, 316, 1, 316, 1, 316, 1, 2691, 0, 317, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 61, 31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 36, 73, 37, 75, 38, 77, 39, 79, 40, 81, 41, 83, 42, 85, 43, 87, 44, 89, 45, 91, 46, 93, 47, 95, 48, 97, 49, 99, 50, 101, 51, 103, 52, 105, 53, 107, 54, 109, 55, 111, 56, 113, 57, 115, 58, 117, 59, 119, 60, 121, 61, 123, 62, 125, 63, 127, 64, 129, 65, 131, 66, 133, 67, 135, 68, 137, 69, 139, 70, 141, 71, 143, 72, 145, 73, 147, 74, 149, 75, 151, 76, 153, 77, 155, 78, 157, 79, 159, 80, 161, 81, 163, 82, 165, 83, 167, 84, 169, 85, 171, 86, 173, 87, 175, 88, 177, 89, 179, 90, 181, 91, 183, 92, 185, 93, 187, 94, 189, 95, 191, 96, 193, 97, 195, 98, 197, 99, 199, 100, 201, 101, 203, 102, 205, 103, 207, 104, 209, 105, 211, 106, 213, 107, 215, 108, 217, 109, 219, 110, 221, 111, 223, 112, 225, 113, 227, 114, 229, 115, 231, 116, 233, 117, 235, 118, 237, 119, 239, 120, 241, 121, 243, 122, 245, 123, 247, 124, 249, 125, 251, 126, 253, 127, 255, 128, 257, 129, 259, 130, 261, 131, 263, 132, 265, 133, 267, 134, 269, 135, 271, 136, 273, 137, 275, 138, 277, 139, 279, 140, 281, 141, 283, 142, 285, 143, 287, 144, 289, 145, 291, 146, 293, 147, 295, 148, 297, 149, 299, 150, 301, 151, 303, 152, 305, 153, 307, 154, 309, 155, 311, 156, 313, 157, 315, 158, 317, 159, 319, 160, 321, 161, 323, 162, 325, 163, 327, 164, 329, 165, 331, 166, 333, 167, 335, 168, 337, 169, 339, 170, 341, 171, 343, 172, 345, 173, 347, 174, 349, 175, 351, 176, 353, 177, 355, 178, 357, 179, 359, 180, 361, 181, 363, 182, 365, 183, 367, 184, 369, 185, 371, 186, 373, 187, 375, 188, 377, 189, 379, 190, 381, 191, 383, 192, 385, 193, 387, 194, 389, 195, 391, 196, 393, 197, 395, 198, 397, 199, 399, 200, 401, 201, 403, 202, 405, 203, 407, 204, 409, 205, 411, 206, 413, 207, 415, 208, 417, 209, 419, 210, 421, 211, 423, 212, 425, 213, 427, 214, 429, 215, 431, 216, 433, 217, 435, 218, 437, 219, 439, 220, 441, 221, 443, 222, 445, 223, 447, 224, 449, 225, 451, 226, 453, 227, 455, 228, 457, 229, 459, 230, 461, 231, 463, 232, 465, 233, 467, 234, 469, 235, 471, 236, 473, 237, 475, 238, 477, 239, 479, 240, 481, 241, 483, 242, 485, 243, 487, 244, 489, 245, 491, 246, 493, 247, 495, 248, 497, 249, 499, 250, 501, 251, 503, 252, 505, 253, 507, 254, 509, 0, 511, 0, 513, 0, 515, 0, 517, 0, 519, 0, 521, 0, 523, 0, 525, 0, 527, 0, 529, 0, 531, 0, 533, 0, 535, 0, 537, 0, 539, 0, 541, 0, 543, 0, 545, 0, 547, 0, 549, 0, 551, 0, 553, 0, 555, 0, 557, 0, 559, 0, 561, 0, 563, 0, 565, 0, 567, 0, 569, 255, 571, 256, 573, 257, 575, 258, 577, 259, 579, 260, 581, 261, 583, 262, 585, 263, 587, 264, 589, 265, 591, 266, 593, 267, 595, 268, 597, 269, 599, 270, 601, 271, 603, 272, 605, 273, 607, 274, 609, 275, 611, 276, 613, 277, 615, 278, 617, 279, 619, 280, 621, 281, 623, 282, 625, 283, 627, 284, 629, 285, 631, 286, 633, 287, 1, 0, 36, 2, 0, 92, 92, 96, 96, 2, 0, 34, 34, 92, 92, 2, 0, 39, 39, 92, 92, 2, 0, 65, 65, 97, 97, 2, 0, 66, 66, 98, 98, 2, 0, 67, 67, 99, 99, 2, 0, 68, 68, 100, 100, 2, 0, 69, 69, 101, 101, 2, 0, 70, 70, 102, 102, 2, 0, 71, 71, 103, 103, 2, 0, 72, 72, 104, 104, 2, 0, 73, 73, 105, 105, 2, 0, 74, 74, 106, 106, 2, 0, 75, 75, 107, 107, 2, 0, 76, 76, 108, 108, 2, 0, 77, 77, 109, 109, 2, 0, 78, 78, 110, 110, 2, 0, 79, 79, 111, 111, 2, 0, 80, 80, 112, 112, 2, 0, 81, 81, 113, 113, 2, 0, 82, 82, 114, 114, 2, 0, 83, 83, 115, 115, 2, 0, 84, 84, 116, 116, 2, 0, 85, 85, 117, 117, 2, 0, 86, 86, 118, 118, 2, 0, 87, 87, 119, 119, 2, 0, 88, 88, 120, 120, 2, 0, 89, 89, 121, 121, 2, 0, 90, 90, 122, 122, 2, 0, 65, 90, 97, 122, 1, 0, 48, 55, 1, 0, 48, 57, 3, 0, 48, 57, 65, 70, 97, 102, 2, 0, 10, 10, 13, 13, 2, 1, 10, 10, 13, 13, 2, 0, 9, 13, 32, 32, 2733, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1, 0, 0, 0, 0, 101, 1, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 105, 1, 0, 0, 0, 0, 107, 1, 0, 0, 0, 0, 109, 1, 0, 0, 0, 0, 111, 1, 0, 0, 0, 0, 113, 1, 0, 0, 0, 0, 115, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0, 0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 0, 143, 1, 0, 0, 0, 0, 145, 1, 0, 0, 0, 0, 147, 1, 0, 0, 0, 0, 149, 1, 0, 0, 0, 0, 151, 1, 0, 0, 0, 0, 153, 1, 0, 0, 0, 0, 155, 1, 0, 0, 0, 0, 157, 1, 0, 0, 0, 0, 159, 1, 0, 0, 0, 0, 161, 1, 0, 0, 0, 0, 163, 1, 0, 0, 0, 0, 165, 1, 0, 0, 0, 0, 167, 1, 0, 0, 0, 0, 169, 1, 0, 0, 0, 0, 171, 1, 0, 0, 0, 0, 173, 1, 0, 0, 0, 0, 175, 1, 0, 0, 0, 0, 177, 1, 0, 0, 0, 0, 179, 1, 0, 0, 0, 0, 181, 1, 0, 0, 0, 0, 183, 1, 0, 0, 0, 0, 185, 1, 0, 0, 0, 0, 187, 1, 0, 0, 0, 0, 189, 1, 0, 0, 0, 0, 191, 1, 0, 0, 0, 0, 193, 1, 0, 0, 0, 0, 195, 1, 0, 0, 0, 0, 197, 1, 0, 0, 0, 0, 199, 1, 0, 0, 0, 0, 201, 1, 0, 0, 0, 0, 203, 1, 0, 0, 0, 0, 205, 1, 0, 0, 0, 0, 207, 1, 0, 0, 0, 0, 209, 1, 0, 0, 0, 0, 211, 1, 0, 0, 0, 0, 213, 1, 0, 0, 0, 0, 215, 1, 0, 0, 0, 0, 217, 1, 0, 0, 0, 0, 219, 1, 0, 0, 0, 0, 221, 1, 0, 0, 0, 0, 223, 1, 0, 0, 0, 0, 225, 1, 0, 0, 0, 0, 227, 1, 0, 0, 0, 0, 229, 1, 0, 0, 0, 0, 231, 1, 0, 0, 0, 0, 233, 1, 0, 0, 0, 0, 235, 1, 0, 0, 0, 0, 237, 1, 0, 0, 0, 0, 239, 1, 0, 0, 0, 0, 241, 1, 0, 0, 0, 0, 243, 1, 0, 0, 0, 0, 245, 1, 0, 0, 0, 0, 247, 1, 0, 0, 0, 0, 249, 1, 0, 0, 0, 0, 251, 1, 0, 0, 0, 0, 253, 1, 0, 0, 0, 0, 255, 1, 0, 0, 0, 0, 257, 1, 0, 0, 0, 0, 259, 1, 0, 0, 0, 0, 261, 1, 0, 0, 0, 0, 263, 1, 0, 0, 0, 0, 265, 1, 0, 0, 0, 0, 267, 1, 0, 0, 0, 0, 269, 1, 0, 0, 0, 0, 271, 1, 0, 0, 0, 0, 273, 1, 0, 0, 0, 0, 275, 1, 0, 0, 0, 0, 277, 1, 0, 0, 0, 0, 279, 1, 0, 0, 0, 0, 281, 1, 0, 0, 0, 0, 283, 1, 0, 0, 0, 0, 285, 1, 0, 0, 0, 0, 287, 1, 0, 0, 0, 0, 289, 1, 0, 0, 0, 0, 291, 1, 0, 0, 0, 0, 293, 1, 0, 0, 0, 0, 295, 1, 0, 0, 0, 0, 297, 1, 0, 0, 0, 0, 299, 1, 0, 0, 0, 0, 301, 1, 0, 0, 0, 0, 303, 1, 0, 0, 0, 0, 305, 1, 0, 0, 0, 0, 307, 1, 0, 0, 0, 0, 309, 1, 0, 0, 0, 0, 311, 1, 0, 0, 0, 0, 313, 1, 0, 0, 0, 0, 315, 1, 0, 0, 0, 0, 317, 1, 0, 0, 0, 0, 319, 1, 0, 0, 0, 0, 321, 1, 0, 0, 0, 0, 323, 1, 0, 0, 0, 0, 325, 1, 0, 0, 0, 0, 327, 1, 0, 0, 0, 0, 329, 1, 0, 0, 0, 0, 331, 1, 0, 0, 0, 0, 333, 1, 0, 0, 0, 0, 335, 1, 0, 0, 0, 0, 337, 1, 0, 0, 0, 0, 339, 1, 0, 0, 0, 0, 341, 1, 0, 0, 0, 0, 343, 1, 0, 0, 0, 0, 345, 1, 0, 0, 0, 0, 347, 1, 0, 0, 0, 0, 349, 1, 0, 0, 0, 0, 351, 1, 0, 0, 0, 0, 353, 1, 0, 0, 0, 0, 355, 1, 0, 0, 0, 0, 357, 1, 0, 0, 0, 0, 359, 1, 0, 0, 0, 0, 361, 1, 0, 0, 0, 0, 363, 1, 0, 0, 0, 0, 365, 1, 0, 0, 0, 0, 367, 1, 0, 0, 0, 0, 369, 1, 0, 0, 0, 0, 371, 1, 0, 0, 0, 0, 373, 1, 0, 0, 0, 0, 375, 1, 0, 0, 0, 0, 377, 1, 0, 0, 0, 0, 379, 1, 0, 0, 0, 0, 381, 1, 0, 0, 0, 0, 383, 1, 0, 0, 0, 0, 385, 1, 0, 0, 0, 0, 387, 1, 0, 0, 0, 0, 389, 1, 0, 0, 0, 0, 391, 1, 0, 0, 0, 0, 393, 1, 0, 0, 0, 0, 395, 1, 0, 0, 0, 0, 397, 1, 0, 0, 0, 0, 399, 1, 0, 0, 0, 0, 401, 1, 0, 0, 0, 0, 403, 1, 0, 0, 0, 0, 405, 1, 0, 0, 0, 0, 407, 1, 0, 0, 0, 0, 409, 1, 0, 0, 0, 0, 411, 1, 0, 0, 0, 0, 413, 1, 0, 0, 0, 0, 415, 1, 0, 0, 0, 0, 417, 1, 0, 0, 0, 0, 419, 1, 0, 0, 0, 0, 421, 1, 0, 0, 0, 0, 423, 1, 0, 0, 0, 0, 425, 1, 0, 0, 0, 0, 427, 1, 0, 0, 0, 0, 429, 1, 0, 0, 0, 0, 431, 1, 0, 0, 0, 0, 433, 1, 0, 0, 0, 0, 435, 1, 0, 0, 0, 0, 437, 1, 0, 0, 0, 0, 439, 1, 0, 0, 0, 0, 441, 1, 0, 0, 0, 0, 443, 1, 0, 0, 0, 0, 445, 1, 0, 0, 0, 0, 447, 1, 0, 0, 0, 0, 449, 1, 0, 0, 0, 0, 451, 1, 0, 0, 0, 0, 453, 1, 0, 0, 0, 0, 455, 1, 0, 0, 0, 0, 457, 1, 0, 0, 0, 0, 459, 1, 0, 0, 0, 0, 461, 1, 0, 0, 0, 0, 463, 1, 0, 0, 0, 0, 465, 1, 0, 0, 0, 0, 467, 1, 0, 0, 0, 0, 469, 1, 0, 0, 0, 0, 471, 1, 0, 0, 0, 0, 473, 1, 0, 0, 0, 0, 475, 1, 0, 0, 0, 0, 477, 1, 0, 0, 0, 0, 479, 1, 0, 0, 0, 0, 481, 1, 0, 0, 0, 0, 483, 1, 0, 0, 0, 0, 485, 1, 0, 0, 0, 0, 487, 1, 0, 0, 0, 0, 489, 1, 0, 0, 0, 0, 491, 1, 0, 0, 0, 0, 493, 1, 0, 0, 0, 0, 495, 1, 0, 0, 0, 0, 497, 1, 0, 0, 0, 0, 499, 1, 0, 0, 0, 0, 501, 1, 0, 0, 0, 0, 503, 1, 0, 0, 0, 0, 505, 1, 0, 0, 0, 0, 507, 1, 0, 0, 0, 0, 569, 1, 0, 0, 0, 0, 571, 1, 0, 0, 0, 0, 573, 1, 0, 0, 0, 0, 575, 1, 0, 0, 0, 0, 577, 1, 0, 0, 0, 0, 579, 1, 0, 0, 0, 0, 581, 1, 0, 0, 0, 0, 583, 1, 0, 0, 0, 0, 585, 1, 0, 0, 0, 0, 587, 1, 0, 0, 0, 0, 589, 1, 0, 0, 0, 0, 591, 1, 0, 0, 0, 0, 593, 1, 0, 0, 0, 0, 595, 1, 0, 0, 0, 0, 597, 1, 0, 0, 0, 0, 599, 1, 0, 0, 0, 0, 601, 1, 0, 0, 0, 0, 603, 1, 0, 0, 0, 0, 605, 1, 0, 0, 0, 0, 607, 1, 0, 0, 0, 0, 609, 1, 0, 0, 0, 0, 611, 1, 0, 0, 0, 0, 613, 1, 0, 0, 0, 0, 615, 1, 0, 0, 0, 0, 617, 1, 0, 0, 0, 0, 619, 1, 0, 0, 0, 0, 621, 1, 0, 0, 0, 0, 623, 1, 0, 0, 0, 0, 625, 1, 0, 0, 0, 0, 627, 1, 0, 0, 0, 0, 629, 1, 0, 0, 0, 0, 631, 1, 0, 0, 0, 0, 633, 1, 0, 0, 0, 1, 635, 1, 0, 0, 0, 3, 639, 1, 0, 0, 0, 5, 645, 1, 0, 0, 0, 7, 651, 1, 0, 0, 0, 9, 655, 1, 0, 0, 0, 11, 661, 1, 0, 0, 0, 13, 665, 1, 0, 0, 0, 15, 670, 1, 0, 0, 0, 17, 674, 1, 0, 0, 0, 19, 680, 1, 0, 0, 0, 21, 697, 1, 0, 0, 0, 23, 699, 1, 0, 0, 0, 25, 704, 1, 0, 0, 0, 27, 708, 1, 0, 0, 0, 29, 714, 1, 0, 0, 0, 31, 721, 1, 0, 0, 0, 33, 729, 1, 0, 0, 0, 35, 734, 1, 0, 0, 0, 37, 737, 1, 0, 0, 0, 39, 742, 1, 0, 0, 0, 41, 747, 1, 0, 0, 0, 43, 753, 1, 0, 0, 0, 45, 759, 1, 0, 0, 0, 47, 767, 1, 0, 0, 0, 49, 773, 1, 0, 0, 0, 51, 781, 1, 0, 0, 0, 53, 788, 1, 0, 0, 0, 55, 796, 1, 0, 0, 0, 57, 807, 1, 0, 0, 0, 59, 814, 1, 0, 0, 0, 61, 820, 1, 0, 0, 0, 63, 825, 1, 0, 0, 0, 65, 833, 1, 0, 0, 0, 67, 842, 1, 0, 0, 0, 69, 852, 1, 0, 0, 0, 71, 857, 1, 0, 0, 0, 73, 861, 1, 0, 0, 0, 75, 873, 1, 0, 0, 0, 77, 881, 1, 0, 0, 0, 79, 887, 1, 0, 0, 0, 81, 894, 1, 0, 0, 0, 83, 899, 1, 0, 0, 0, 85, 910, 1, 0, 0, 0, 87, 919, 1, 0, 0, 0, 89, 926, 1, 0, 0, 0, 91, 939, 1, 0, 0, 0, 93, 950, 1, 0, 0, 0, 95, 955, 1, 0, 0, 0, 97, 964, 1, 0, 0, 0, 99, 976, 1, 0, 0, 0, 101, 981, 1, 0, 0, 0, 103, 986, 1, 0, 0, 0, 105, 990, 1, 0, 0, 0, 107, 997, 1, 0, 0, 0, 109, 1006, 1, 0, 0, 0, 111, 1013, 1, 0, 0, 0, 113, 1020, 1, 0, 0, 0, 115, 1028, 1, 0, 0, 0, 117, 1039, 1, 0, 0, 0, 119, 1047, 1, 0, 0, 0, 121, 1055, 1, 0, 0, 0, 123, 1061, 1, 0, 0, 0, 125, 1067, 1, 0, 0, 0, 127, 1073, 1, 0, 0, 0, 129, 1083, 1, 0, 0, 0, 131, 1087, 1, 0, 0, 0, 133, 1094, 1, 0, 0, 0, 135, 1101, 1, 0, 0, 0, 137, 1106, 1, 0, 0, 0, 139, 1111, 1, 0, 0, 0, 141, 1120, 1, 0, 0, 0, 143, 1127, 1, 0, 0, 0, 145, 1139, 1, 0, 0, 0, 147, 1145, 1, 0, 0, 0, 149, 1152, 1, 0, 0, 0, 151, 1165, 1, 0, 0, 0, 153, 1170, 1, 0, 0, 0, 155, 1173, 1, 0, 0, 0, 157, 1176, 1, 0, 0, 0, 159, 1182, 1, 0, 0, 0, 161, 1185, 1, 0, 0, 0, 163, 1204, 1, 0, 0, 0, 165, 1206, 1, 0, 0, 0, 167, 1216, 1, 0, 0, 0, 169, 1222, 1, 0, 0, 0, 171, 1229, 1, 0, 0, 0, 173, 1238, 1, 0, 0, 0, 175, 1243, 1, 0, 0, 0, 177, 1246, 1, 0, 0, 0, 179, 1259, 1, 0, 0, 0, 181, 1264, 1, 0, 0, 0, 183, 1268, 1, 0, 0, 0, 185, 1273, 1, 0, 0, 0, 187, 1278, 1, 0, 0, 0, 189, 1285, 1, 0, 0, 0, 191, 1293, 1, 0, 0, 0, 193, 1298, 1, 0, 0, 0, 195, 1307, 1, 0, 0, 0, 197, 1312, 1, 0, 0, 0, 199, 1318, 1, 0, 0, 0, 201, 1323, 1, 0, 0, 0, 203, 1329, 1, 0, 0, 0, 205, 1334, 1, 0, 0, 0, 207, 1346, 1, 0, 0, 0, 209, 1359, 1, 0, 0, 0, 211, 1363, 1, 0, 0, 0, 213, 1370, 1, 0, 0, 0, 215, 1374, 1, 0, 0, 0, 217, 1381, 1, 0, 0, 0, 219, 1388, 1, 0, 0, 0, 221, 1394, 1, 0, 0, 0, 223, 1399, 1, 0, 0, 0, 225, 1408, 1, 0, 0, 0, 227, 1412, 1, 0, 0, 0, 229, 1415, 1, 0, 0, 0, 231, 1419, 1, 0, 0, 0, 233, 1424, 1, 0, 0, 0, 235, 1430, 1, 0, 0, 0, 237, 1437, 1, 0, 0, 0, 239, 1440, 1, 0, 0, 0, 241, 1449, 1, 0, 0, 0, 243, 1452, 1, 0, 0, 0, 245, 1458, 1, 0, 0, 0, 247, 1464, 1, 0, 0, 0, 249, 1472, 1, 0, 0, 0, 251, 1477, 1, 0, 0, 0, 253, 1487, 1, 0, 0, 0, 255, 1496, 1, 0, 0, 0, 257, 1501, 1, 0, 0, 0, 259, 1510, 1, 0, 0, 0, 261, 1520, 1, 0, 0, 0, 263, 1529, 1, 0, 0, 0, 265, 1537, 1, 0, 0, 0, 267, 1548, 1, 0, 0, 0, 269, 1556, 1, 0, 0, 0, 271, 1562, 1, 0, 0, 0, 273, 1568, 1, 0, 0, 0, 275, 1575, 1, 0, 0, 0, 277, 1582, 1, 0, 0, 0, 279, 1589, 1, 0, 0, 0, 281, 1597, 1, 0, 0, 0, 283, 1605, 1, 0, 0, 0, 285, 1616, 1, 0, 0, 0, 287, 1622, 1, 0, 0, 0, 289, 1629, 1, 0, 0, 0, 291, 1633, 1, 0, 0, 0, 293, 1638, 1, 0, 0, 0, 295, 1645, 1, 0, 0, 0, 297, 1652, 1, 0, 0, 0, 299, 1659, 1, 0, 0, 0, 301, 1664, 1, 0, 0, 0, 303, 1670, 1, 0, 0, 0, 305, 1674, 1, 0, 0, 0, 307, 1683, 1, 0, 0, 0, 309, 1688, 1, 0, 0, 0, 311, 1695, 1, 0, 0, 0, 313, 1701, 1, 0, 0, 0, 315, 1706, 1, 0, 0, 0, 317, 1716, 1, 0, 0, 0, 319, 1721, 1, 0, 0, 0, 321, 1728, 1, 0, 0, 0, 323, 1735, 1, 0, 0, 0, 325, 1741, 1, 0, 0, 0, 327, 1748, 1, 0, 0, 0, 329, 1758, 1, 0, 0, 0, 331, 1763, 1, 0, 0, 0, 333, 1768, 1, 0, 0, 0, 335, 1773, 1, 0, 0, 0, 337, 1781, 1, 0, 0, 0, 339, 1791, 1, 0, 0, 0, 341, 1794, 1, 0, 0, 0, 343, 1798, 1, 0, 0, 0, 345, 1805, 1, 0, 0, 0, 347, 1814, 1, 0, 0, 0, 349, 1819, 1, 0, 0, 0, 351, 1824, 1, 0, 0, 0, 353, 1833, 1, 0, 0, 0, 355, 1837, 1, 0, 0, 0, 357, 1842, 1, 0, 0, 0, 359, 1852, 1, 0, 0, 0, 361, 1858, 1, 0, 0, 0, 363, 1865, 1, 0, 0, 0, 365, 1869, 1, 0, 0, 0, 367, 1875, 1, 0, 0, 0, 369, 1880, 1, 0, 0, 0, 371, 1887, 1, 0, 0, 0, 373, 1892, 1, 0, 0, 0, 375, 1899, 1, 0, 0, 0, 377, 1905, 1, 0, 0, 0, 379, 1910, 1, 0, 0, 0, 381, 1915, 1, 0, 0, 0, 383, 1921, 1, 0, 0, 0, 385, 1928, 1, 0, 0, 0, 387, 1943, 1, 0, 0, 0, 389, 1945, 1, 0, 0, 0, 391, 1951, 1, 0, 0, 0, 393, 1956, 1, 0, 0, 0, 395, 1962, 1, 0, 0, 0, 397, 1970, 1, 0, 0, 0, 399, 1977, 1, 0, 0, 0, 401, 1983, 1, 0, 0, 0, 403, 1988, 1, 0, 0, 0, 405, 1996, 1, 0, 0, 0, 407, 2006, 1, 0, 0, 0, 409, 2014, 1, 0, 0, 0, 411, 2027, 1, 0, 0, 0, 413, 2034, 1, 0, 0, 0, 415, 2045, 1, 0, 0, 0, 417, 2056, 1, 0, 0, 0, 419, 2074, 1, 0, 0, 0, 421, 2086, 1, 0, 0, 0, 423, 2109, 1, 0, 0, 0, 425, 2118, 1, 0, 0, 0, 427, 2124, 1, 0, 0, 0, 429, 2128, 1, 0, 0, 0, 431, 2133, 1, 0, 0, 0, 433, 2138, 1, 0, 0, 0, 435, 2151, 1, 0, 0, 0, 437, 2158, 1, 0, 0, 0, 439, 2167, 1, 0, 0, 0, 441, 2177, 1, 0, 0, 0, 443, 2183, 1, 0, 0, 0, 445, 2195, 1, 0, 0, 0, 447, 2202, 1, 0, 0, 0, 449, 2210, 1, 0, 0, 0, 451, 2218, 1, 0, 0, 0, 453, 2235, 1, 0, 0, 0, 455, 2243, 1, 0, 0, 0, 457, 2252, 1, 0, 0, 0, 459, 2263, 1, 0, 0, 0, 461, 2269, 1, 0, 0, 0, 463, 2283, 1, 0, 0, 0, 465, 2297, 1, 0, 0, 0, 467, 2313, 1, 0, 0, 0, 469, 2322, 1, 0, 0, 0, 471, 2330, 1, 0, 0, 0, 473, 2335, 1, 0, 0, 0, 475, 2339, 1, 0, 0, 0, 477, 2346, 1, 0, 0, 0, 479, 2352, 1, 0, 0, 0, 481, 2357, 1, 0, 0, 0, 483, 2362, 1, 0, 0, 0, 485, 2367, 1, 0, 0, 0, 487, 2370, 1, 0, 0, 0, 489, 2378, 1, 0, 0, 0, 491, 2385, 1, 0, 0, 0, 493, 2390, 1, 0, 0, 0, 495, 2396, 1, 0, 0, 0, 497, 2443, 1, 0, 0, 0, 499, 2521, 1, 0, 0, 0, 501, 2523, 1, 0, 0, 0, 503, 2530, 1, 0, 0, 0, 505, 2534, 1, 0, 0, 0, 507, 2541, 1, 0, 0, 0, 509, 2556, 1, 0, 0, 0, 511, 2558, 1, 0, 0, 0, 513, 2560, 1, 0, 0, 0, 515, 2562, 1, 0, 0, 0, 517, 2564, 1, 0, 0, 0, 519, 2566, 1, 0, 0, 0, 521, 2568, 1, 0, 0, 0, 523, 2570, 1, 0, 0, 0, 525, 2572, 1, 0, 0, 0, 527, 2574, 1, 0, 0, 0, 529, 2576, 1, 0, 0, 0, 531, 2578, 1, 0, 0, 0, 533, 2580, 1, 0, 0, 0, 535, 2582, 1, 0, 0, 0, 537, 2584, 1, 0, 0, 0, 539, 2586, 1, 0, 0, 0, 541, 2588, 1, 0, 0, 0, 543, 2590, 1, 0, 0, 0, 545, 2592, 1, 0, 0, 0, 547, 2594, 1, 0, 0, 0, 549, 2596, 1, 0, 0, 0, 551, 2598, 1, 0, 0, 0, 553, 2600, 1, 0, 0, 0, 555, 2602, 1, 0, 0, 0, 557, 2604, 1, 0, 0, 0, 559, 2606, 1, 0, 0, 0, 561, 2608, 1, 0, 0, 0, 563, 2610, 1, 0, 0, 0, 565, 2612, 1, 0, 0, 0, 567, 2614, 1, 0, 0, 0, 569, 2616, 1, 0, 0, 0, 571, 2619, 1, 0, 0, 0, 573, 2621, 1, 0, 0, 0, 575, 2623, 1, 0, 0, 0, 577, 2625, 1, 0, 0, 0, 579, 2627, 1, 0, 0, 0, 581, 2629, 1, 0, 0, 0, 583, 2632, 1, 0, 0, 0, 585, 2634, 1, 0, 0, 0, 587, 2636, 1, 0, 0, 0, 589, 2639, 1, 0, 0, 0, 591, 2641, 1, 0, 0, 0, 593, 2644, 1, 0, 0, 0, 595, 2646, 1, 0, 0, 0, 597, 2648, 1, 0, 0, 0, 599, 2650, 1, 0, 0, 0, 601, 2653, 1, 0, 0, 0, 603, 2655, 1, 0, 0, 0, 605, 2661, 1, 0, 0, 0, 607, 2663, 1, 0, 0, 0, 609, 2665, 1, 0, 0, 0, 611, 2667, 1, 0, 0, 0, 613, 2669, 1, 0, 0, 0, 615, 2671, 1, 0, 0, 0, 617, 2673, 1, 0, 0, 0, 619, 2675, 1, 0, 0, 0, 621, 2677, 1, 0, 0, 0, 623, 2679, 1, 0, 0, 0, 625, 2681, 1, 0, 0, 0, 627, 2683, 1, 0, 0, 0, 629, 2685, 1, 0, 0, 0, 631, 2699, 1, 0, 0, 0, 633, 2713, 1, 0, 0, 0, 635, 636, 3, 509, 254, 0, 636, 637, 3, 515, 257, 0, 637, 638, 3, 515, 257, 0, 638, 2, 1, 0, 0, 0, 639, 640, 3, 509, 254, 0, 640, 641, 3, 519, 259, 0, 641, 642, 3, 547, 273, 0, 642, 643, 3, 517, 258, 0, 643, 644, 3, 543, 271, 0, 644, 4, 1, 0, 0, 0, 645, 646, 3, 509, 254, 0, 646, 647, 3, 531, 265, 0, 647, 648, 3, 525, 262, 0, 648, 649, 3, 509, 254, 0, 649, 650, 3, 545, 272, 0, 650, 6, 1, 0, 0, 0, 651, 652, 3, 509, 254, 0, 652, 653, 3, 531, 265, 0, 653, 654, 3, 531, 265, 0, 654, 8, 1, 0, 0, 0, 655, 656, 3, 509, 254, 0, 656, 657, 3, 531, 265, 0, 657, 658, 3, 547, 273, 0, 658, 659, 3, 517, 258, 0, 659, 660, 3, 543, 271, 0, 660, 10, 1, 0, 0, 0, 661, 662, 3, 509, 254, 0, 662, 663, 3, 535, 267, 0, 663, 664, 3, 515, 257, 0, 664, 12, 1, 0, 0, 0, 665, 666, 3, 509, 254, 0, 666, 667, 3, 535, 267, 0, 667, 668, 3, 547, 273, 0, 668, 669, 3, 525, 262, 0, 669, 14, 1, 0, 0, 0, 670, 671, 3, 509, 254, 0, 671, 672, 3, 535, 267, 0, 672, 673, 3, 557, 278, 0, 673, 16, 1, 0, 0, 0, 674, 675, 3, 509, 254, 0, 675, 676, 3, 543, 271, 0, 676, 677, 3, 543, 271, 0, 677, 678, 3, 509, 254, 0, 678, 679, 3, 557, 278, 0, 679, 18, 1, 0, 0, 0, 680, 681, 3, 509, 254, 0, 681, 682, 3, 545, 272, 0, 682, 20, 1, 0, 0, 0, 683, 684, 3, 509, 254, 0, 684, 685, 3, 545, 272, 0, 685, 686, 3, 513, 256, 0, 686, 698, 1, 0, 0, 0, 687, 688, 3, 509, 254, 0, 688, 689, 3, 545, 272, 0, 689, 690, 3, 513, 256, 0, 690, 691, 3, 517, 258, 0, 691, 692, 3, 535, 267, 0, 692, 693, 3, 515, 257, 0, 693, 694, 3, 525, 262, 0, 694, 695, 3, 535, 267, 0, 695, 696, 3, 521, 260, 0, 696, 698, 1, 0, 0, 0, 697, 683, 1, 0, 0, 0, 697, 687, 1, 0, 0, 0, 698, 22, 1, 0, 0, 0, 699, 700, 3, 509, 254, 0, 700, 701, 3, 545, 272, 0, 701, 702, 3, 537, 268, 0, 702, 703, 3, 519, 259, 0, 703, 24, 1, 0, 0, 0, 704, 705, 3, 509, 254, 0, 705, 706, 3, 545, 272, 0, 706, 707, 3, 547, 273, 0, 707, 26, 1, 0, 0, 0, 708, 709, 3, 509, 254, 0, 709, 710, 3, 545, 272, 0, 710, 711, 3, 557, 278, 0, 711, 712, 3, 535, 267, 0, 712, 713, 3, 513, 256, 0, 713, 28, 1, 0, 0, 0, 714, 715, 3, 509, 254, 0, 715, 716, 3, 547, 273, 0, 716, 717, 3, 547, 273, 0, 717, 718, 3, 509, 254, 0, 718, 719, 3, 513, 256, 0, 719, 720, 3, 523, 261, 0, 720, 30, 1, 0, 0, 0, 721, 722, 3, 511, 255, 0, 722, 723, 3, 517, 258, 0, 723, 724, 3, 547, 273, 0, 724, 725, 3, 553, 276, 0, 725, 726, 3, 517, 258, 0, 726, 727, 3, 517, 258, 0, 727, 728, 3, 535, 267, 0, 728, 32, 1, 0, 0, 0, 729, 730, 3, 511, 255, 0, 730, 731, 3, 537, 268, 0, 731, 732, 3, 547, 273, 0, 732, 733, 3, 523, 261, 0, 733, 34, 1, 0, 0, 0, 734, 735, 3, 511, 255, 0, 735, 736, 3, 557, 278, 0, 736, 36, 1, 0, 0, 0, 737, 738, 3, 513, 256, 0, 738, 739, 3, 509, 254, 0, 739, 740, 3, 545, 272, 0, 740, 741, 3, 517, 258, 0, 741, 38, 1, 0, 0, 0, 742, 743, 3, 513, 256, 0, 743, 744, 3, 509, 254, 0, 744, 745, 3, 545, 272, 0, 745, 746, 3, 547, 273, 0, 746, 40, 1, 0, 0, 0, 747, 748, 3, 513, 256, 0, 748, 749, 3, 523, 261, 0, 749, 750, 3, 517, 258, 0, 750, 751, 3, 513, 256, 0, 751, 752, 3, 529, 264, 0, 752, 42, 1, 0, 0, 0, 753, 754, 3, 513, 256, 0, 754, 755, 3, 531, 265, 0, 755, 756, 3, 517, 258, 0, 756, 757, 3, 509, 254, 0, 757, 758, 3, 543, 271, 0, 758, 44, 1, 0, 0, 0, 759, 760, 3, 513, 256, 0, 760, 761, 3, 531, 265, 0, 761, 762, 3, 549, 274, 0, 762, 763, 3, 545, 272, 0, 763, 764, 3, 547, 273, 0, 764, 765, 3, 517, 258, 0, 765, 766, 3, 543, 271, 0, 766, 46, 1, 0, 0, 0, 767, 768, 3, 513, 256, 0, 768, 769, 3, 537, 268, 0, 769, 770, 3, 515, 257, 0, 770, 771, 3, 517, 258, 0, 771, 772, 3, 513, 256, 0, 772, 48, 1, 0, 0, 0, 773, 774, 3, 513, 256, 0, 774, 775, 3, 537, 268, 0, 775, 776, 3, 531, 265, 0, 776, 777, 3, 531, 265, 0, 777, 778, 3, 509, 254, 0, 778, 779, 3, 547, 273, 0, 779, 780, 3, 517, 258, 0, 780, 50, 1, 0, 0, 0, 781, 782, 3, 513, 256, 0, 782, 783, 3, 537, 268, 0, 783, 784, 3, 531, 265, 0, 784, 785, 3, 549, 274, 0, 785, 786, 3, 533, 266, 0, 786, 787, 3, 535, 267, 0, 787, 52, 1, 0, 0, 0, 788, 789, 3, 513, 256, 0, 789, 790, 3, 537, 268, 0, 790, 791, 3, 533, 266, 0, 791, 792, 3, 533, 266, 0, 792, 793, 3, 517, 258, 0, 793, 794, 3, 535, 267, 0, 794, 795, 3, 547, 273, 0, 795, 54, 1, 0, 0, 0, 796, 797, 3, 513, 256, 0, 797, 798, 3, 537, 268, 0, 798, 799, 3, 535, 267, 0, 799, 800, 3, 545, 272, 0, 800, 801, 3, 547, 273, 0, 801, 802, 3, 543, 271, 0, 802, 803, 3, 509, 254, 0, 803, 804, 3, 525, 262, 0, 804, 805, 3, 535, 267, 0, 805, 806, 3, 547, 273, 0, 806, 56, 1, 0, 0, 0, 807, 808, 3, 513, 256, 0, 808, 809, 3, 543, 271, 0, 809, 810, 3, 517, 258, 0, 810, 811, 3, 509, 254, 0, 811, 812, 3, 547, 273, 0, 812, 813, 3, 517, 258, 0, 813, 58, 1, 0, 0, 0, 814, 815, 3, 513, 256, 0, 815, 816, 3, 543, 271, 0, 816, 817, 3, 537, 268, 0, 817, 818, 3, 545, 272, 0, 818, 819, 3, 545, 272, 0, 819, 60, 1, 0, 0, 0, 820, 821, 3, 513, 256, 0, 821, 822, 3, 549, 274, 0, 822, 823, 3, 511, 255, 0, 823, 824, 3, 517, 258, 0, 824, 62, 1, 0, 0, 0, 825, 826, 3, 513, 256, 0, 826, 827, 3, 549, 274, 0, 827, 828, 3, 543, 271, 0, 828, 829, 3, 543, 271, 0, 829, 830, 3, 517, 258, 0, 830, 831, 3, 535, 267, 0, 831, 832, 3, 547, 273, 0, 832, 64, 1, 0, 0, 0, 833, 834, 3, 515, 257, 0, 834, 835, 3, 509, 254, 0, 835, 836, 3, 547, 273, 0, 836, 837, 3, 509, 254, 0, 837, 838, 3, 511, 255, 0, 838, 839, 3, 509, 254, 0, 839, 840, 3, 545, 272, 0, 840, 841, 3, 517, 258, 0, 841, 66, 1, 0, 0, 0, 842, 843, 3, 515, 257, 0, 843, 844, 3, 509, 254, 0, 844, 845, 3, 547, 273, 0, 845, 846, 3, 509, 254, 0, 846, 847, 3, 511, 255, 0, 847, 848, 3, 509, 254, 0, 848, 849, 3, 545, 272, 0, 849, 850, 3, 517, 258, 0, 850, 851, 3, 545, 272, 0, 851, 68, 1, 0, 0, 0, 852, 853, 3, 515, 257, 0, 853, 854, 3, 509, 254, 0, 854, 855, 3, 547, 273, 0, 855, 856, 3, 517, 258, 0, 856, 70, 1, 0, 0, 0, 857, 858, 3, 515, 257, 0, 858, 859, 3, 509, 254, 0, 859, 860, 3, 557, 278, 0, 860, 72, 1, 0, 0, 0, 861, 862, 3, 515, 257, 0, 862, 863, 3, 517, 258, 0, 863, 864, 3, 515, 257, 0, 864, 865, 3, 549, 274, 0, 865, 866, 3, 539, 269, 0, 866, 867, 3, 531, 265, 0, 867, 868, 3, 525, 262, 0, 868, 869, 3, 513, 256, 0, 869, 870, 3, 509, 254, 0, 870, 871, 3, 547, 273, 0, 871, 872, 3, 517, 258, 0, 872, 74, 1, 0, 0, 0, 873, 874, 3, 515, 257, 0, 874, 875, 3, 517, 258, 0, 875, 876, 3, 519, 259, 0, 876, 877, 3, 509, 254, 0, 877, 878, 3, 549, 274, 0, 878, 879, 3, 531, 265, 0, 879, 880, 3, 547, 273, 0, 880, 76, 1, 0, 0, 0, 881, 882, 3, 515, 257, 0, 882, 883, 3, 517, 258, 0, 883, 884, 3, 531, 265, 0, 884, 885, 3, 509, 254, 0, 885, 886, 3, 557, 278, 0, 886, 78, 1, 0, 0, 0, 887, 888, 3, 515, 257, 0, 888, 889, 3, 517, 258, 0, 889, 890, 3, 531, 265, 0, 890, 891, 3, 517, 258, 0, 891, 892, 3, 547, 273, 0, 892, 893, 3, 517, 258, 0, 893, 80, 1, 0, 0, 0, 894, 895, 3, 515, 257, 0, 895, 896, 3, 517, 258, 0, 896, 897, 3, 545, 272, 0, 897, 898, 3, 513, 256, 0, 898, 82, 1, 0, 0, 0, 899, 900, 3, 515, 257, 0, 900, 901, 3, 517, 258, 0, 901, 902, 3, 545, 272, 0, 902, 903, 3, 513, 256, 0, 903, 904, 3, 517, 258, 0, 904, 905, 3, 535, 267, 0, 905, 906, 3, 515, 257, 0, 906, 907, 3, 525, 262, 0, 907, 908, 3, 535, 267, 0, 908, 909, 3, 521, 260, 0, 909, 84, 1, 0, 0, 0, 910, 911, 3, 515, 257, 0, 911, 912, 3, 517, 258, 0, 912, 913, 3, 545, 272, 0, 913, 914, 3, 513, 256, 0, 914, 915, 3, 543, 271, 0, 915, 916, 3, 525, 262, 0, 916, 917, 3, 511, 255, 0, 917, 918, 3, 517, 258, 0, 918, 86, 1, 0, 0, 0, 919, 920, 3, 515, 257, 0, 920, 921, 3, 517, 258, 0, 921, 922, 3, 547, 273, 0, 922, 923, 3, 509, 254, 0, 923, 924, 3, 513, 256, 0, 924, 925, 3, 523, 261, 0, 925, 88, 1, 0, 0, 0, 926, 927, 3, 515, 257, 0, 927, 928, 3, 525, 262, 0, 928, 929, 3, 513, 256, 0, 929, 930, 3, 547, 273, 0, 930, 931, 3, 525, 262, 0, 931, 932, 3, 537, 268, 0, 932, 933, 3, 535, 267, 0, 933, 934, 3, 509, 254, 0, 934, 935, 3, 543, 271, 0, 935, 936, 3, 525, 262, 0, 936, 937, 3, 517, 258, 0, 937, 938, 3, 545, 272, 0, 938, 90, 1, 0, 0, 0, 939, 940, 3, 515, 257, 0, 940, 941, 3, 525, 262, 0, 941, 942, 3, 513, 256, 0, 942, 943, 3, 547, 273, 0, 943, 944, 3, 525, 262, 0, 944, 945, 3, 537, 268, 0, 945, 946, 3, 535, 267, 0, 946, 947, 3, 509, 254, 0, 947, 948, 3, 543, 271, 0, 948, 949, 3, 557, 278, 0, 949, 92, 1, 0, 0, 0, 950, 951, 3, 515, 257, 0, 951, 952, 3, 525, 262, 0, 952, 953, 3, 545, 272, 0, 953, 954, 3, 529, 264, 0, 954, 94, 1, 0, 0, 0, 955, 956, 3, 515, 257, 0, 956, 957, 3, 525, 262, 0, 957, 958, 3, 545, 272, 0, 958, 959, 3, 547, 273, 0, 959, 960, 3, 525, 262, 0, 960, 961, 3, 535, 267, 0, 961, 962, 3, 513, 256, 0, 962, 963, 3, 547, 273, 0, 963, 96, 1, 0, 0, 0, 964, 965, 3, 515, 257, 0, 965, 966, 3, 525, 262, 0, 966, 967, 3, 545, 272, 0, 967, 968, 3, 547, 273, 0, 968, 969, 3, 543, 271, 0, 969, 970, 3, 525, 262, 0, 970, 971, 3, 511, 255, 0, 971, 972, 3, 549, 274, 0, 972, 973, 3, 547, 273, 0, 973, 974, 3, 517, 258, 0, 974, 975, 3, 515, 257, 0, 975, 98, 1, 0, 0, 0, 976, 977, 3, 515, 257, 0, 977, 978, 3, 543, 271, 0, 978, 979, 3, 537, 268, 0, 979, 980, 3, 539, 269, 0, 980, 100, 1, 0, 0, 0, 981, 982, 3, 517, 258, 0, 982, 983, 3, 531, 265, 0, 983, 984, 3, 545, 272, 0, 984, 985, 3, 517, 258, 0, 985, 102, 1, 0, 0, 0, 986, 987, 3, 517, 258, 0, 987, 988, 3, 535, 267, 0, 988, 989, 3, 515, 257, 0, 989, 104, 1, 0, 0, 0, 990, 991, 3, 517, 258, 0, 991, 992, 3, 535, 267, 0, 992, 993, 3, 521, 260, 0, 993, 994, 3, 525, 262, 0, 994, 995, 3, 535, 267, 0, 995, 996, 3, 517, 258, 0, 996, 106, 1, 0, 0, 0, 997, 998, 3, 517, 258, 0, 998, 999, 3, 545, 272, 0, 999, 1000, 3, 547, 273, 0, 1000, 1001, 3, 525, 262, 0, 1001, 1002, 3, 533, 266, 0, 1002, 1003, 3, 509, 254, 0, 1003, 1004, 3, 547, 273, 0, 1004, 1005, 3, 517, 258, 0, 1005, 108, 1, 0, 0, 0, 1006, 1007, 3, 517, 258, 0, 1007, 1008, 3, 551, 275, 0, 1008, 1009, 3, 517, 258, 0, 1009, 1010, 3, 535, 267, 0, 1010, 1011, 3, 547, 273, 0, 1011, 1012, 3, 545, 272, 0, 1012, 110, 1, 0, 0, 0, 1013, 1014, 3, 517, 258, 0, 1014, 1015, 3, 555, 277, 0, 1015, 1016, 3, 525, 262, 0, 1016, 1017, 3, 545, 272, 0, 1017, 1018, 3, 547, 273, 0, 1018, 1019, 3, 545, 272, 0, 1019, 112, 1, 0, 0, 0, 1020, 1021, 3, 517, 258, 0, 1021, 1022, 3, 555, 277, 0, 1022, 1023, 3, 539, 269, 0, 1023, 1024, 3, 531, 265, 0, 1024, 1025, 3, 509, 254, 0, 1025, 1026, 3, 525, 262, 0, 1026, 1027, 3, 535, 267, 0, 1027, 114, 1, 0, 0, 0, 1028, 1029, 3, 517, 258, 0, 1029, 1030, 3, 555, 277, 0, 1030, 1031, 3, 539, 269, 0, 1031, 1032, 3, 543, 271, 0, 1032, 1033, 3, 517, 258, 0, 1033, 1034, 3, 545, 272, 0, 1034, 1035, 3, 545, 272, 0, 1035, 1036, 3, 525, 262, 0, 1036, 1037, 3, 537, 268, 0, 1037, 1038, 3, 535, 267, 0, 1038, 116, 1, 0, 0, 0, 1039, 1040, 3, 517, 258, 0, 1040, 1041, 3, 555, 277, 0, 1041, 1042, 3, 547, 273, 0, 1042, 1043, 3, 543, 271, 0, 1043, 1044, 3, 509, 254, 0, 1044, 1045, 3, 513, 256, 0, 1045, 1046, 3, 547, 273, 0, 1046, 118, 1, 0, 0, 0, 1047, 1048, 3, 519, 259, 0, 1048, 1049, 3, 517, 258, 0, 1049, 1050, 3, 547, 273, 0, 1050, 1051, 3, 513, 256, 0, 1051, 1052, 3, 523, 261, 0, 1052, 1053, 3, 517, 258, 0, 1053, 1054, 3, 545, 272, 0, 1054, 120, 1, 0, 0, 0, 1055, 1056, 3, 519, 259, 0, 1056, 1057, 3, 525, 262, 0, 1057, 1058, 3, 535, 267, 0, 1058, 1059, 3, 509, 254, 0, 1059, 1060, 3, 531, 265, 0, 1060, 122, 1, 0, 0, 0, 1061, 1062, 3, 519, 259, 0, 1062, 1063, 3, 525, 262, 0, 1063, 1064, 3, 543, 271, 0, 1064, 1065, 3, 545, 272, 0, 1065, 1066, 3, 547, 273, 0, 1066, 124, 1, 0, 0, 0, 1067, 1068, 3, 519, 259, 0, 1068, 1069, 3, 531, 265, 0, 1069, 1070, 3, 549, 274, 0, 1070, 1071, 3, 545, 272, 0, 1071, 1072, 3, 523, 261, 0, 1072, 126, 1, 0, 0, 0, 1073, 1074, 3, 519, 259, 0, 1074, 1075, 3, 537, 268, 0, 1075, 1076, 3, 531, 265, 0, 1076, 1077, 3, 531, 265, 0, 1077, 1078, 3, 537, 268, 0, 1078, 1079, 3, 553, 276, 0, 1079, 1080, 3, 525, 262, 0, 1080, 1081, 3, 535, 267, 0, 1081, 1082, 3, 521, 260, 0, 1082, 128, 1, 0, 0, 0, 1083, 1084, 3, 519, 259, 0, 1084, 1085, 3, 537, 268, 0, 1085, 1086, 3, 543, 271, 0, 1086, 130, 1, 0, 0, 0, 1087, 1088, 3, 519, 259, 0, 1088, 1089, 3, 537, 268, 0, 1089, 1090, 3, 543, 271, 0, 1090, 1091, 3, 533, 266, 0, 1091, 1092, 3, 509, 254, 0, 1092, 1093, 3, 547, 273, 0, 1093, 132, 1, 0, 0, 0, 1094, 1095, 3, 519, 259, 0, 1095, 1096, 3, 543, 271, 0, 1096, 1097, 3, 517, 258, 0, 1097, 1098, 3, 517, 258, 0, 1098, 1099, 3, 559, 279, 0, 1099, 1100, 3, 517, 258, 0, 1100, 134, 1, 0, 0, 0, 1101, 1102, 3, 519, 259, 0, 1102, 1103, 3, 543, 271, 0, 1103, 1104, 3, 537, 268, 0, 1104, 1105, 3, 533, 266, 0, 1105, 136, 1, 0, 0, 0, 1106, 1107, 3, 519, 259, 0, 1107, 1108, 3, 549, 274, 0, 1108, 1109, 3, 531, 265, 0, 1109, 1110, 3, 531, 265, 0, 1110, 138, 1, 0, 0, 0, 1111, 1112, 3, 519, 259, 0, 1112, 1113, 3, 549, 274, 0, 1113, 1114, 3, 535, 267, 0, 1114, 1115, 3, 513, 256, 0, 1115, 1116, 3, 547, 273, 0, 1116, 1117, 3, 525, 262, 0, 1117, 1118, 3, 537, 268, 0, 1118, 1119, 3, 535, 267, 0, 1119, 140, 1, 0, 0, 0, 1120, 1121, 3, 521, 260, 0, 1121, 1122, 3, 531, 265, 0, 1122, 1123, 3, 537, 268, 0, 1123, 1124, 3, 511, 255, 0, 1124, 1125, 3, 509, 254, 0, 1125, 1126, 3, 531, 265, 0, 1126, 142, 1, 0, 0, 0, 1127, 1128, 3, 521, 260, 0, 1128, 1129, 3, 543, 271, 0, 1129, 1130, 3, 509, 254, 0, 1130, 1131, 3, 535, 267, 0, 1131, 1132, 3, 549, 274, 0, 1132, 1133, 3, 531, 265, 0, 1133, 1134, 3, 509, 254, 0, 1134, 1135, 3, 543, 271, 0, 1135, 1136, 3, 525, 262, 0, 1136, 1137, 3, 547, 273, 0, 1137, 1138, 3, 557, 278, 0, 1138, 144, 1, 0, 0, 0, 1139, 1140, 3, 521, 260, 0, 1140, 1141, 3, 543, 271, 0, 1141, 1142, 3, 537, 268, 0, 1142, 1143, 3, 549, 274, 0, 1143, 1144, 3, 539, 269, 0, 1144, 146, 1, 0, 0, 0, 1145, 1146, 3, 523, 261, 0, 1146, 1147, 3, 509, 254, 0, 1147, 1148, 3, 551, 275, 0, 1148, 1149, 3, 525, 262, 0, 1149, 1150, 3, 535, 267, 0, 1150, 1151, 3, 521, 260, 0, 1151, 148, 1, 0, 0, 0, 1152, 1153, 3, 523, 261, 0, 1153, 1154, 3, 525, 262, 0, 1154, 1155, 3, 517, 258, 0, 1155, 1156, 3, 543, 271, 0, 1156, 1157, 3, 509, 254, 0, 1157, 1158, 3, 543, 271, 0, 1158, 1159, 3, 513, 256, 0, 1159, 1160, 3, 523, 261, 0, 1160, 1161, 3, 525, 262, 0, 1161, 1162, 3, 513, 256, 0, 1162, 1163, 3, 509, 254, 0, 1163, 1164, 3, 531, 265, 0, 1164, 150, 1, 0, 0, 0, 1165, 1166, 3, 523, 261, 0, 1166, 1167, 3, 537, 268, 0, 1167, 1168, 3, 549, 274, 0, 1168, 1169, 3, 543, 271, 0, 1169, 152, 1, 0, 0, 0, 1170, 1171, 3, 525, 262, 0, 1171, 1172, 3, 515, 257, 0, 1172, 154, 1, 0, 0, 0, 1173, 1174, 3, 525, 262, 0, 1174, 1175, 3, 519, 259, 0, 1175, 156, 1, 0, 0, 0, 1176, 1177, 3, 525, 262, 0, 1177, 1178, 3, 531, 265, 0, 1178, 1179, 3, 525, 262, 0, 1179, 1180, 3, 529, 264, 0, 1180, 1181, 3, 517, 258, 0, 1181, 158, 1, 0, 0, 0, 1182, 1183, 3, 525, 262, 0, 1183, 1184, 3, 535, 267, 0, 1184, 160, 1, 0, 0, 0, 1185, 1186, 3, 525, 262, 0, 1186, 1187, 3, 535, 267, 0, 1187, 1188, 3, 515, 257, 0, 1188, 1189, 3, 517, 258, 0, 1189, 1190, 3, 555, 277, 0, 1190, 162, 1, 0, 0, 0, 1191, 1192, 3, 525, 262, 0, 1192, 1193, 3, 535, 267, 0, 1193, 1194, 3, 519, 259, 0, 1194, 1205, 1, 0, 0, 0, 1195, 1196, 3, 525, 262, 0, 1196, 1197, 3, 535, 267, 0, 1197, 1198, 3, 519, 259, 0, 1198, 1199, 3, 525, 262, 0, 1199, 1200, 3, 535, 267, 0, 1200, 1201, 3, 525, 262, 0, 1201, 1202, 3, 547, 273, 0, 1202, 1203, 3, 557, 278, 0, 1203, 1205, 1, 0, 0, 0, 1204, 1191, 1, 0, 0, 0, 1204, 1195, 1, 0, 0, 0, 1205, 164, 1, 0, 0, 0, 1206, 1207, 3, 525, 262, 0, 1207, 1208, 3, 535, 267, 0, 1208, 1209, 3, 527, 263, 0, 1209, 1210, 3, 517, 258, 0, 1210, 1211, 3, 513, 256, 0, 1211, 1212, 3, 547, 273, 0, 1212, 1213, 3, 525, 262, 0, 1213, 1214, 3, 551, 275, 0, 1214, 1215, 3, 517, 258, 0, 1215, 166, 1, 0, 0, 0, 1216, 1217, 3, 525, 262, 0, 1217, 1218, 3, 535, 267, 0, 1218, 1219, 3, 535, 267, 0, 1219, 1220, 3, 517, 258, 0, 1220, 1221, 3, 543, 271, 0, 1221, 168, 1, 0, 0, 0, 1222, 1223, 3, 525, 262, 0, 1223, 1224, 3, 535, 267, 0, 1224, 1225, 3, 545, 272, 0, 1225, 1226, 3, 517, 258, 0, 1226, 1227, 3, 543, 271, 0, 1227, 1228, 3, 547, 273, 0, 1228, 170, 1, 0, 0, 0, 1229, 1230, 3, 525, 262, 0, 1230, 1231, 3, 535, 267, 0, 1231, 1232, 3, 547, 273, 0, 1232, 1233, 3, 517, 258, 0, 1233, 1234, 3, 543, 271, 0, 1234, 1235, 3, 551, 275, 0, 1235, 1236, 3, 509, 254, 0, 1236, 1237, 3, 531, 265, 0, 1237, 172, 1, 0, 0, 0, 1238, 1239, 3, 525, 262, 0, 1239, 1240, 3, 535, 267, 0, 1240, 1241, 3, 547, 273, 0, 1241, 1242, 3, 537, 268, 0, 1242, 174, 1, 0, 0, 0, 1243, 1244, 3, 525, 262, 0, 1244, 1245, 3, 545, 272, 0, 1245, 176, 1, 0, 0, 0, 1246, 1247, 3, 525, 262, 0, 1247, 1248, 3, 545, 272, 0, 1248, 1249, 3, 627, 313, 0, 1249, 1250, 3, 537, 268, 0, 1250, 1251, 3, 511, 255, 0, 1251, 1252, 3, 527, 263, 0, 1252, 1253, 3, 517, 258, 0, 1253, 1254, 3, 513, 256, 0, 1254, 1255, 3, 547, 273, 0, 1255, 1256, 3, 627, 313, 0, 1256, 1257, 3, 525, 262, 0, 1257, 1258, 3, 515, 257, 0, 1258, 178, 1, 0, 0, 0, 1259, 1260, 3, 527, 263, 0, 1260, 1261, 3, 537, 268, 0, 1261, 1262, 3, 525, 262, 0, 1262, 1263, 3, 535, 267, 0, 1263, 180, 1, 0, 0, 0, 1264, 1265, 3, 529, 264, 0, 1265, 1266, 3, 517, 258, 0, 1266, 1267, 3, 557, 278, 0, 1267, 182, 1, 0, 0, 0, 1268, 1269, 3, 529, 264, 0, 1269, 1270, 3, 525, 262, 0, 1270, 1271, 3, 531, 265, 0, 1271, 1272, 3, 531, 265, 0, 1272, 184, 1, 0, 0, 0, 1273, 1274, 3, 531, 265, 0, 1274, 1275, 3, 509, 254, 0, 1275, 1276, 3, 545, 272, 0, 1276, 1277, 3, 547, 273, 0, 1277, 186, 1, 0, 0, 0, 1278, 1279, 3, 531, 265, 0, 1279, 1280, 3, 509, 254, 0, 1280, 1281, 3, 557, 278, 0, 1281, 1282, 3, 537, 268, 0, 1282, 1283, 3, 549, 274, 0, 1283, 1284, 3, 547, 273, 0, 1284, 188, 1, 0, 0, 0, 1285, 1286, 3, 531, 265, 0, 1286, 1287, 3, 517, 258, 0, 1287, 1288, 3, 509, 254, 0, 1288, 1289, 3, 515, 257, 0, 1289, 1290, 3, 525, 262, 0, 1290, 1291, 3, 535, 267, 0, 1291, 1292, 3, 521, 260, 0, 1292, 190, 1, 0, 0, 0, 1293, 1294, 3, 531, 265, 0, 1294, 1295, 3, 517, 258, 0, 1295, 1296, 3, 519, 259, 0, 1296, 1297, 3, 547, 273, 0, 1297, 192, 1, 0, 0, 0, 1298, 1299, 3, 531, 265, 0, 1299, 1300, 3, 525, 262, 0, 1300, 1301, 3, 519, 259, 0, 1301, 1302, 3, 517, 258, 0, 1302, 1303, 3, 547, 273, 0, 1303, 1304, 3, 525, 262, 0, 1304, 1305, 3, 533, 266, 0, 1305, 1306, 3, 517, 258, 0, 1306, 194, 1, 0, 0, 0, 1307, 1308, 3, 531, 265, 0, 1308, 1309, 3, 525, 262, 0, 1309, 1310, 3, 529, 264, 0, 1310, 1311, 3, 517, 258, 0, 1311, 196, 1, 0, 0, 0, 1312, 1313, 3, 531, 265, 0, 1313, 1314, 3, 525, 262, 0, 1314, 1315, 3, 533, 266, 0, 1315, 1316, 3, 525, 262, 0, 1316, 1317, 3, 547, 273, 0, 1317, 198, 1, 0, 0, 0, 1318, 1319, 3, 531, 265, 0, 1319, 1320, 3, 525, 262, 0, 1320, 1321, 3, 551, 275, 0, 1321, 1322, 3, 517, 258, 0, 1322, 200, 1, 0, 0, 0, 1323, 1324, 3, 531, 265, 0, 1324, 1325, 3, 537, 268, 0, 1325, 1326, 3, 513, 256, 0, 1326, 1327, 3, 509, 254, 0, 1327, 1328, 3, 531, 265, 0, 1328, 202, 1, 0, 0, 0, 1329, 1330, 3, 531, 265, 0, 1330, 1331, 3, 537, 268, 0, 1331, 1332, 3, 521, 260, 0, 1332, 1333, 3, 545, 272, 0, 1333, 204, 1, 0, 0, 0, 1334, 1335, 3, 533, 266, 0, 1335, 1336, 3, 509, 254, 0, 1336, 1337, 3, 547, 273, 0, 1337, 1338, 3, 517, 258, 0, 1338, 1339, 3, 543, 271, 0, 1339, 1340, 3, 525, 262, 0, 1340, 1341, 3, 509, 254, 0, 1341, 1342, 3, 531, 265, 0, 1342, 1343, 3, 525, 262, 0, 1343, 1344, 3, 559, 279, 0, 1344, 1345, 3, 517, 258, 0, 1345, 206, 1, 0, 0, 0, 1346, 1347, 3, 533, 266, 0, 1347, 1348, 3, 509, 254, 0, 1348, 1349, 3, 547, 273, 0, 1349, 1350, 3, 517, 258, 0, 1350, 1351, 3, 543, 271, 0, 1351, 1352, 3, 525, 262, 0, 1352, 1353, 3, 509, 254, 0, 1353, 1354, 3, 531, 265, 0, 1354, 1355, 3, 525, 262, 0, 1355, 1356, 3, 559, 279, 0, 1356, 1357, 3, 517, 258, 0, 1357, 1358, 3, 515, 257, 0, 1358, 208, 1, 0, 0, 0, 1359, 1360, 3, 533, 266, 0, 1360, 1361, 3, 509, 254, 0, 1361, 1362, 3, 555, 277, 0, 1362, 210, 1, 0, 0, 0, 1363, 1364, 3, 533, 266, 0, 1364, 1365, 3, 517, 258, 0, 1365, 1366, 3, 543, 271, 0, 1366, 1367, 3, 521, 260, 0, 1367, 1368, 3, 517, 258, 0, 1368, 1369, 3, 545, 272, 0, 1369, 212, 1, 0, 0, 0, 1370, 1371, 3, 533, 266, 0, 1371, 1372, 3, 525, 262, 0, 1372, 1373, 3, 535, 267, 0, 1373, 214, 1, 0, 0, 0, 1374, 1375, 3, 533, 266, 0, 1375, 1376, 3, 525, 262, 0, 1376, 1377, 3, 535, 267, 0, 1377, 1378, 3, 549, 274, 0, 1378, 1379, 3, 547, 273, 0, 1379, 1380, 3, 517, 258, 0, 1380, 216, 1, 0, 0, 0, 1381, 1382, 3, 533, 266, 0, 1382, 1383, 3, 537, 268, 0, 1383, 1384, 3, 515, 257, 0, 1384, 1385, 3, 525, 262, 0, 1385, 1386, 3, 519, 259, 0, 1386, 1387, 3, 557, 278, 0, 1387, 218, 1, 0, 0, 0, 1388, 1389, 3, 533, 266, 0, 1389, 1390, 3, 537, 268, 0, 1390, 1391, 3, 535, 267, 0, 1391, 1392, 3, 547, 273, 0, 1392, 1393, 3, 523, 261, 0, 1393, 220, 1, 0, 0, 0, 1394, 1395, 3, 533, 266, 0, 1395, 1396, 3, 537, 268, 0, 1396, 1397, 3, 551, 275, 0, 1397, 1398, 3, 517, 258, 0, 1398, 222, 1, 0, 0, 0, 1399, 1400, 3, 533, 266, 0, 1400, 1401, 3, 549, 274, 0, 1401, 1402, 3, 547, 273, 0, 1402, 1403, 3, 509, 254, 0, 1403, 1404, 3, 547, 273, 0, 1404, 1405, 3, 525, 262, 0, 1405, 1406, 3, 537, 268, 0, 1406, 1407, 3, 535, 267, 0, 1407, 224, 1, 0, 0, 0, 1408, 1409, 3, 535, 267, 0, 1409, 1410, 3, 509, 254, 0, 1410, 1411, 3, 535, 267, 0, 1411, 226, 1, 0, 0, 0, 1412, 1413, 3, 535, 267, 0, 1413, 1414, 3, 537, 268, 0, 1414, 228, 1, 0, 0, 0, 1415, 1416, 3, 535, 267, 0, 1416, 1417, 3, 537, 268, 0, 1417, 1418, 3, 547, 273, 0, 1418, 230, 1, 0, 0, 0, 1419, 1420, 3, 535, 267, 0, 1420, 1421, 3, 549, 274, 0, 1421, 1422, 3, 531, 265, 0, 1422, 1423, 3, 531, 265, 0, 1423, 232, 1, 0, 0, 0, 1424, 1425, 3, 535, 267, 0, 1425, 1426, 3, 549, 274, 0, 1426, 1427, 3, 531, 265, 0, 1427, 1428, 3, 531, 265, 0, 1428, 1429, 3, 545, 272, 0, 1429, 234, 1, 0, 0, 0, 1430, 1431, 3, 537, 268, 0, 1431, 1432, 3, 519, 259, 0, 1432, 1433, 3, 519, 259, 0, 1433, 1434, 3, 545, 272, 0, 1434, 1435, 3, 517, 258, 0, 1435, 1436, 3, 547, 273, 0, 1436, 236, 1, 0, 0, 0, 1437, 1438, 3, 537, 268, 0, 1438, 1439, 3, 535, 267, 0, 1439, 238, 1, 0, 0, 0, 1440, 1441, 3, 537, 268, 0, 1441, 1442, 3, 539, 269, 0, 1442, 1443, 3, 547, 273, 0, 1443, 1444, 3, 525, 262, 0, 1444, 1445, 3, 533, 266, 0, 1445, 1446, 3, 525, 262, 0, 1446, 1447, 3, 559, 279, 0, 1447, 1448, 3, 517, 258, 0, 1448, 240, 1, 0, 0, 0, 1449, 1450, 3, 537, 268, 0, 1450, 1451, 3, 543, 271, 0, 1451, 242, 1, 0, 0, 0, 1452, 1453, 3, 537, 268, 0, 1453, 1454, 3, 543, 271, 0, 1454, 1455, 3, 515, 257, 0, 1455, 1456, 3, 517, 258, 0, 1456, 1457, 3, 543, 271, 0, 1457, 244, 1, 0, 0, 0, 1458, 1459, 3, 537, 268, 0, 1459, 1460, 3, 549, 274, 0, 1460, 1461, 3, 547, 273, 0, 1461, 1462, 3, 517, 258, 0, 1462, 1463, 3, 543, 271, 0, 1463, 246, 1, 0, 0, 0, 1464, 1465, 3, 537, 268, 0, 1465, 1466, 3, 549, 274, 0, 1466, 1467, 3, 547, 273, 0, 1467, 1468, 3, 519, 259, 0, 1468, 1469, 3, 525, 262, 0, 1469, 1470, 3, 531, 265, 0, 1470, 1471, 3, 517, 258, 0, 1471, 248, 1, 0, 0, 0, 1472, 1473, 3, 537, 268, 0, 1473, 1474, 3, 551, 275, 0, 1474, 1475, 3, 517, 258, 0, 1475, 1476, 3, 543, 271, 0, 1476, 250, 1, 0, 0, 0, 1477, 1478, 3, 539, 269, 0, 1478, 1479, 3, 509, 254, 0, 1479, 1480, 3, 543, 271, 0, 1480, 1481, 3, 547, 273, 0, 1481, 1482, 3, 525, 262, 0, 1482, 1483, 3, 547, 273, 0, 1483, 1484, 3, 525, 262, 0, 1484, 1485, 3, 537, 268, 0, 1485, 1486, 3, 535, 267, 0, 1486, 252, 1, 0, 0, 0, 1487, 1488, 3, 539, 269, 0, 1488, 1489, 3, 525, 262, 0, 1489, 1490, 3, 539, 269, 0, 1490, 1491, 3, 517, 258, 0, 1491, 1492, 3, 531, 265, 0, 1492, 1493, 3, 525, 262, 0, 1493, 1494, 3, 535, 267, 0, 1494, 1495, 3, 517, 258, 0, 1495, 254, 1, 0, 0, 0, 1496, 1497, 3, 539, 269, 0, 1497, 1498, 3, 531, 265, 0, 1498, 1499, 3, 509, 254, 0, 1499, 1500, 3, 535, 267, 0, 1500, 256, 1, 0, 0, 0, 1501, 1502, 3, 539, 269, 0, 1502, 1503, 3, 537, 268, 0, 1503, 1504, 3, 539, 269, 0, 1504, 1505, 3, 549, 274, 0, 1505, 1506, 3, 531, 265, 0, 1506, 1507, 3, 509, 254, 0, 1507, 1508, 3, 547, 273, 0, 1508, 1509, 3, 517, 258, 0, 1509, 258, 1, 0, 0, 0, 1510, 1511, 3, 539, 269, 0, 1511, 1512, 3, 543, 271, 0, 1512, 1513, 3, 517, 258, 0, 1513, 1514, 3, 513, 256, 0, 1514, 1515, 3, 517, 258, 0, 1515, 1516, 3, 515, 257, 0, 1516, 1517, 3, 525, 262, 0, 1517, 1518, 3, 535, 267, 0, 1518, 1519, 3, 521, 260, 0, 1519, 260, 1, 0, 0, 0, 1520, 1521, 3, 539, 269, 0, 1521, 1522, 3, 543, 271, 0, 1522, 1523, 3, 517, 258, 0, 1523, 1524, 3, 553, 276, 0, 1524, 1525, 3, 523, 261, 0, 1525, 1526, 3, 517, 258, 0, 1526, 1527, 3, 543, 271, 0, 1527, 1528, 3, 517, 258, 0, 1528, 262, 1, 0, 0, 0, 1529, 1530, 3, 539, 269, 0, 1530, 1531, 3, 543, 271, 0, 1531, 1532, 3, 525, 262, 0, 1532, 1533, 3, 533, 266, 0, 1533, 1534, 3, 509, 254, 0, 1534, 1535, 3, 543, 271, 0, 1535, 1536, 3, 557, 278, 0, 1536, 264, 1, 0, 0, 0, 1537, 1538, 3, 539, 269, 0, 1538, 1539, 3, 543, 271, 0, 1539, 1540, 3, 537, 268, 0, 1540, 1541, 3, 527, 263, 0, 1541, 1542, 3, 517, 258, 0, 1542, 1543, 3, 513, 256, 0, 1543, 1544, 3, 547, 273, 0, 1544, 1545, 3, 525, 262, 0, 1545, 1546, 3, 537, 268, 0, 1546, 1547, 3, 535, 267, 0, 1547, 266, 1, 0, 0, 0, 1548, 1549, 3, 541, 270, 0, 1549, 1550, 3, 549, 274, 0, 1550, 1551, 3, 509, 254, 0, 1551, 1552, 3, 543, 271, 0, 1552, 1553, 3, 547, 273, 0, 1553, 1554, 3, 517, 258, 0, 1554, 1555, 3, 543, 271, 0, 1555, 268, 1, 0, 0, 0, 1556, 1557, 3, 541, 270, 0, 1557, 1558, 3, 549, 274, 0, 1558, 1559, 3, 517, 258, 0, 1559, 1560, 3, 543, 271, 0, 1560, 1561, 3, 557, 278, 0, 1561, 270, 1, 0, 0, 0, 1562, 1563, 3, 543, 271, 0, 1563, 1564, 3, 509, 254, 0, 1564, 1565, 3, 535, 267, 0, 1565, 1566, 3, 521, 260, 0, 1566, 1567, 3, 517, 258, 0, 1567, 272, 1, 0, 0, 0, 1568, 1569, 3, 543, 271, 0, 1569, 1570, 3, 517, 258, 0, 1570, 1571, 3, 531, 265, 0, 1571, 1572, 3, 537, 268, 0, 1572, 1573, 3, 509, 254, 0, 1573, 1574, 3, 515, 257, 0, 1574, 274, 1, 0, 0, 0, 1575, 1576, 3, 543, 271, 0, 1576, 1577, 3, 517, 258, 0, 1577, 1578, 3, 533, 266, 0, 1578, 1579, 3, 537, 268, 0, 1579, 1580, 3, 551, 275, 0, 1580, 1581, 3, 517, 258, 0, 1581, 276, 1, 0, 0, 0, 1582, 1583, 3, 543, 271, 0, 1583, 1584, 3, 517, 258, 0, 1584, 1585, 3, 535, 267, 0, 1585, 1586, 3, 509, 254, 0, 1586, 1587, 3, 533, 266, 0, 1587, 1588, 3, 517, 258, 0, 1588, 278, 1, 0, 0, 0, 1589, 1590, 3, 543, 271, 0, 1590, 1591, 3, 517, 258, 0, 1591, 1592, 3, 539, 269, 0, 1592, 1593, 3, 531, 265, 0, 1593, 1594, 3, 509, 254, 0, 1594, 1595, 3, 513, 256, 0, 1595, 1596, 3, 517, 258, 0, 1596, 280, 1, 0, 0, 0, 1597, 1598, 3, 543, 271, 0, 1598, 1599, 3, 517, 258, 0, 1599, 1600, 3, 539, 269, 0, 1600, 1601, 3, 531, 265, 0, 1601, 1602, 3, 525, 262, 0, 1602, 1603, 3, 513, 256, 0, 1603, 1604, 3, 509, 254, 0, 1604, 282, 1, 0, 0, 0, 1605, 1606, 3, 543, 271, 0, 1606, 1607, 3, 517, 258, 0, 1607, 1608, 3, 539, 269, 0, 1608, 1609, 3, 531, 265, 0, 1609, 1610, 3, 525, 262, 0, 1610, 1611, 3, 513, 256, 0, 1611, 1612, 3, 509, 254, 0, 1612, 1613, 3, 547, 273, 0, 1613, 1614, 3, 517, 258, 0, 1614, 1615, 3, 515, 257, 0, 1615, 284, 1, 0, 0, 0, 1616, 1617, 3, 543, 271, 0, 1617, 1618, 3, 525, 262, 0, 1618, 1619, 3, 521, 260, 0, 1619, 1620, 3, 523, 261, 0, 1620, 1621, 3, 547, 273, 0, 1621, 286, 1, 0, 0, 0, 1622, 1623, 3, 543, 271, 0, 1623, 1624, 3, 537, 268, 0, 1624, 1625, 3, 531, 265, 0, 1625, 1626, 3, 531, 265, 0, 1626, 1627, 3, 549, 274, 0, 1627, 1628, 3, 539, 269, 0, 1628, 288, 1, 0, 0, 0, 1629, 1630, 3, 543, 271, 0, 1630, 1631, 3, 537, 268, 0, 1631, 1632, 3, 553, 276, 0, 1632, 290, 1, 0, 0, 0, 1633, 1634, 3, 543, 271, 0, 1634, 1635, 3, 537, 268, 0, 1635, 1636, 3, 553, 276, 0, 1636, 1637, 3, 545, 272, 0, 1637, 292, 1, 0, 0, 0, 1638, 1639, 3, 545, 272, 0, 1639, 1640, 3, 509, 254, 0, 1640, 1641, 3, 533, 266, 0, 1641, 1642, 3, 539, 269, 0, 1642, 1643, 3, 531, 265, 0, 1643, 1644, 3, 517, 258, 0, 1644, 294, 1, 0, 0, 0, 1645, 1646, 3, 545, 272, 0, 1646, 1647, 3, 517, 258, 0, 1647, 1648, 3, 513, 256, 0, 1648, 1649, 3, 537, 268, 0, 1649, 1650, 3, 535, 267, 0, 1650, 1651, 3, 515, 257, 0, 1651, 296, 1, 0, 0, 0, 1652, 1653, 3, 545, 272, 0, 1653, 1654, 3, 517, 258, 0, 1654, 1655, 3, 531, 265, 0, 1655, 1656, 3, 517, 258, 0, 1656, 1657, 3, 513, 256, 0, 1657, 1658, 3, 547, 273, 0, 1658, 298, 1, 0, 0, 0, 1659, 1660, 3, 545, 272, 0, 1660, 1661, 3, 517, 258, 0, 1661, 1662, 3, 533, 266, 0, 1662, 1663, 3, 525, 262, 0, 1663, 300, 1, 0, 0, 0, 1664, 1665, 3, 545, 272, 0, 1665, 1666, 3, 517, 258, 0, 1666, 1667, 3, 535, 267, 0, 1667, 1668, 3, 515, 257, 0, 1668, 1669, 3, 545, 272, 0, 1669, 302, 1, 0, 0, 0, 1670, 1671, 3, 545, 272, 0, 1671, 1672, 3, 517, 258, 0, 1672, 1673, 3, 547, 273, 0, 1673, 304, 1, 0, 0, 0, 1674, 1675, 3, 545, 272, 0, 1675, 1676, 3, 517, 258, 0, 1676, 1677, 3, 547, 273, 0, 1677, 1678, 3, 547, 273, 0, 1678, 1679, 3, 525, 262, 0, 1679, 1680, 3, 535, 267, 0, 1680, 1681, 3, 521, 260, 0, 1681, 1682, 3, 545, 272, 0, 1682, 306, 1, 0, 0, 0, 1683, 1684, 3, 545, 272, 0, 1684, 1685, 3, 523, 261, 0, 1685, 1686, 3, 537, 268, 0, 1686, 1687, 3, 553, 276, 0, 1687, 308, 1, 0, 0, 0, 1688, 1689, 3, 545, 272, 0, 1689, 1690, 3, 537, 268, 0, 1690, 1691, 3, 549, 274, 0, 1691, 1692, 3, 543, 271, 0, 1692, 1693, 3, 513, 256, 0, 1693, 1694, 3, 517, 258, 0, 1694, 310, 1, 0, 0, 0, 1695, 1696, 3, 545, 272, 0, 1696, 1697, 3, 547, 273, 0, 1697, 1698, 3, 509, 254, 0, 1698, 1699, 3, 543, 271, 0, 1699, 1700, 3, 547, 273, 0, 1700, 312, 1, 0, 0, 0, 1701, 1702, 3, 545, 272, 0, 1702, 1703, 3, 547, 273, 0, 1703, 1704, 3, 537, 268, 0, 1704, 1705, 3, 539, 269, 0, 1705, 314, 1, 0, 0, 0, 1706, 1707, 3, 545, 272, 0, 1707, 1708, 3, 549, 274, 0, 1708, 1709, 3, 511, 255, 0, 1709, 1710, 3, 545, 272, 0, 1710, 1711, 3, 547, 273, 0, 1711, 1712, 3, 543, 271, 0, 1712, 1713, 3, 525, 262, 0, 1713, 1714, 3, 535, 267, 0, 1714, 1715, 3, 521, 260, 0, 1715, 316, 1, 0, 0, 0, 1716, 1717, 3, 545, 272, 0, 1717, 1718, 3, 557, 278, 0, 1718, 1719, 3, 535, 267, 0, 1719, 1720, 3, 513, 256, 0, 1720, 318, 1, 0, 0, 0, 1721, 1722, 3, 545, 272, 0, 1722, 1723, 3, 557, 278, 0, 1723, 1724, 3, 535, 267, 0, 1724, 1725, 3, 547, 273, 0, 1725, 1726, 3, 509, 254, 0, 1726, 1727, 3, 555, 277, 0, 1727, 320, 1, 0, 0, 0, 1728, 1729, 3, 545, 272, 0, 1729, 1730, 3, 557, 278, 0, 1730, 1731, 3, 545, 272, 0, 1731, 1732, 3, 547, 273, 0, 1732, 1733, 3, 517, 258, 0, 1733, 1734, 3, 533, 266, 0, 1734, 322, 1, 0, 0, 0, 1735, 1736, 3, 547, 273, 0, 1736, 1737, 3, 509, 254, 0, 1737, 1738, 3, 511, 255, 0, 1738, 1739, 3, 531, 265, 0, 1739, 1740, 3, 517, 258, 0, 1740, 324, 1, 0, 0, 0, 1741, 1742, 3, 547, 273, 0, 1742, 1743, 3, 509, 254, 0, 1743, 1744, 3, 511, 255, 0, 1744, 1745, 3, 531, 265, 0, 1745, 1746, 3, 517, 258, 0, 1746, 1747, 3, 545, 272, 0, 1747, 326, 1, 0, 0, 0, 1748, 1749, 3, 547, 273, 0, 1749, 1750, 3, 517, 258, 0, 1750, 1751, 3, 533, 266, 0, 1751, 1752, 3, 539, 269, 0, 1752, 1753, 3, 537, 268, 0, 1753, 1754, 3, 543, 271, 0, 1754, 1755, 3, 509, 254, 0, 1755, 1756, 3, 543, 271, 0, 1756, 1757, 3, 557, 278, 0, 1757, 328, 1, 0, 0, 0, 1758, 1759, 3, 547, 273, 0, 1759, 1760, 3, 517, 258, 0, 1760, 1761, 3, 545, 272, 0, 1761, 1762, 3, 547, 273, 0, 1762, 330, 1, 0, 0, 0, 1763, 1764, 3, 547, 273, 0, 1764, 1765, 3, 523, 261, 0, 1765, 1766, 3, 517, 258, 0, 1766, 1767, 3, 535, 267, 0, 1767, 332, 1, 0, 0, 0, 1768, 1769, 3, 547, 273, 0, 1769, 1770, 3, 525, 262, 0, 1770, 1771, 3, 517, 258, 0, 1771, 1772, 3, 545, 272, 0, 1772, 334, 1, 0, 0, 0, 1773, 1774, 3, 547, 273, 0, 1774, 1775, 3, 525, 262, 0, 1775, 1776, 3, 533, 266, 0, 1776, 1777, 3, 517, 258, 0, 1777, 1778, 3, 537, 268, 0, 1778, 1779, 3, 549, 274, 0, 1779, 1780, 3, 547, 273, 0, 1780, 336, 1, 0, 0, 0, 1781, 1782, 3, 547, 273, 0, 1782, 1783, 3, 525, 262, 0, 1783, 1784, 3, 533, 266, 0, 1784, 1785, 3, 517, 258, 0, 1785, 1786, 3, 545, 272, 0, 1786, 1787, 3, 547, 273, 0, 1787, 1788, 3, 509, 254, 0, 1788, 1789, 3, 533, 266, 0, 1789, 1790, 3, 539, 269, 0, 1790, 338, 1, 0, 0, 0, 1791, 1792, 3, 547, 273, 0, 1792, 1793, 3, 537, 268, 0, 1793, 340, 1, 0, 0, 0, 1794, 1795, 3, 547, 273, 0, 1795, 1796, 3, 537, 268, 0, 1796, 1797, 3, 539, 269, 0, 1797, 342, 1, 0, 0, 0, 1798, 1799, 3, 547, 273, 0, 1799, 1800, 3, 537, 268, 0, 1800, 1801, 3, 547, 273, 0, 1801, 1802, 3, 509, 254, 0, 1802, 1803, 3, 531, 265, 0, 1803, 1804, 3, 545, 272, 0, 1804, 344, 1, 0, 0, 0, 1805, 1806, 3, 547, 273, 0, 1806, 1807, 3, 543, 271, 0, 1807, 1808, 3, 509, 254, 0, 1808, 1809, 3, 525, 262, 0, 1809, 1810, 3, 531, 265, 0, 1810, 1811, 3, 525, 262, 0, 1811, 1812, 3, 535, 267, 0, 1812, 1813, 3, 521, 260, 0, 1813, 346, 1, 0, 0, 0, 1814, 1815, 3, 547, 273, 0, 1815, 1816, 3, 543, 271, 0, 1816, 1817, 3, 525, 262, 0, 1817, 1818, 3, 533, 266, 0, 1818, 348, 1, 0, 0, 0, 1819, 1820, 3, 547, 273, 0, 1820, 1821, 3, 543, 271, 0, 1821, 1822, 3, 517, 258, 0, 1822, 1823, 3, 517, 258, 0, 1823, 350, 1, 0, 0, 0, 1824, 1825, 3, 547, 273, 0, 1825, 1826, 3, 543, 271, 0, 1826, 1827, 3, 549, 274, 0, 1827, 1828, 3, 535, 267, 0, 1828, 1829, 3, 513, 256, 0, 1829, 1830, 3, 509, 254, 0, 1830, 1831, 3, 547, 273, 0, 1831, 1832, 3, 517, 258, 0, 1832, 352, 1, 0, 0, 0, 1833, 1834, 3, 547, 273, 0, 1834, 1835, 3, 547, 273, 0, 1835, 1836, 3, 531, 265, 0, 1836, 354, 1, 0, 0, 0, 1837, 1838, 3, 547, 273, 0, 1838, 1839, 3, 557, 278, 0, 1839, 1840, 3, 539, 269, 0, 1840, 1841, 3, 517, 258, 0, 1841, 356, 1, 0, 0, 0, 1842, 1843, 3, 549, 274, 0, 1843, 1844, 3, 535, 267, 0, 1844, 1845, 3, 511, 255, 0, 1845, 1846, 3, 537, 268, 0, 1846, 1847, 3, 549, 274, 0, 1847, 1848, 3, 535, 267, 0, 1848, 1849, 3, 515, 257, 0, 1849, 1850, 3, 517, 258, 0, 1850, 1851, 3, 515, 257, 0, 1851, 358, 1, 0, 0, 0, 1852, 1853, 3, 549, 274, 0, 1853, 1854, 3, 535, 267, 0, 1854, 1855, 3, 525, 262, 0, 1855, 1856, 3, 537, 268, 0, 1856, 1857, 3, 535, 267, 0, 1857, 360, 1, 0, 0, 0, 1858, 1859, 3, 549, 274, 0, 1859, 1860, 3, 539, 269, 0, 1860, 1861, 3, 515, 257, 0, 1861, 1862, 3, 509, 254, 0, 1862, 1863, 3, 547, 273, 0, 1863, 1864, 3, 517, 258, 0, 1864, 362, 1, 0, 0, 0, 1865, 1866, 3, 549, 274, 0, 1866, 1867, 3, 545, 272, 0, 1867, 1868, 3, 517, 258, 0, 1868, 364, 1, 0, 0, 0, 1869, 1870, 3, 549, 274, 0, 1870, 1871, 3, 545, 272, 0, 1871, 1872, 3, 525, 262, 0, 1872, 1873, 3, 535, 267, 0, 1873, 1874, 3, 521, 260, 0, 1874, 366, 1, 0, 0, 0, 1875, 1876, 3, 549, 274, 0, 1876, 1877, 3, 549, 274, 0, 1877, 1878, 3, 525, 262, 0, 1878, 1879, 3, 515, 257, 0, 1879, 368, 1, 0, 0, 0, 1880, 1881, 3, 551, 275, 0, 1881, 1882, 3, 509, 254, 0, 1882, 1883, 3, 531, 265, 0, 1883, 1884, 3, 549, 274, 0, 1884, 1885, 3, 517, 258, 0, 1885, 1886, 3, 545, 272, 0, 1886, 370, 1, 0, 0, 0, 1887, 1888, 3, 551, 275, 0, 1888, 1889, 3, 525, 262, 0, 1889, 1890, 3, 517, 258, 0, 1890, 1891, 3, 553, 276, 0, 1891, 372, 1, 0, 0, 0, 1892, 1893, 3, 551, 275, 0, 1893, 1894, 3, 537, 268, 0, 1894, 1895, 3, 531, 265, 0, 1895, 1896, 3, 549, 274, 0, 1896, 1897, 3, 533, 266, 0, 1897, 1898, 3, 517, 258, 0, 1898, 374, 1, 0, 0, 0, 1899, 1900, 3, 553, 276, 0, 1900, 1901, 3, 509, 254, 0, 1901, 1902, 3, 547, 273, 0, 1902, 1903, 3, 513, 256, 0, 1903, 1904, 3, 523, 261, 0, 1904, 376, 1, 0, 0, 0, 1905, 1906, 3, 553, 276, 0, 1906, 1907, 3, 517, 258, 0, 1907, 1908, 3, 517, 258, 0, 1908, 1909, 3, 529, 264, 0, 1909, 378, 1, 0, 0, 0, 1910, 1911, 3, 553, 276, 0, 1911, 1912, 3, 523, 261, 0, 1912, 1913, 3, 517, 258, 0, 1913, 1914, 3, 535, 267, 0, 1914, 380, 1, 0, 0, 0, 1915, 1916, 3, 553, 276, 0, 1916, 1917, 3, 523, 261, 0, 1917, 1918, 3, 517, 258, 0, 1918, 1919, 3, 543, 271, 0, 1919, 1920, 3, 517, 258, 0, 1920, 382, 1, 0, 0, 0, 1921, 1922, 3, 553, 276, 0, 1922, 1923, 3, 525, 262, 0, 1923, 1924, 3, 535, 267, 0, 1924, 1925, 3, 515, 257, 0, 1925, 1926, 3, 537, 268, 0, 1926, 1927, 3, 553, 276, 0, 1927, 384, 1, 0, 0, 0, 1928, 1929, 3, 553, 276, 0, 1929, 1930, 3, 525, 262, 0, 1930, 1931, 3, 547, 273, 0, 1931, 1932, 3, 523, 261, 0, 1932, 386, 1, 0, 0, 0, 1933, 1934, 3, 557, 278, 0, 1934, 1935, 3, 517, 258, 0, 1935, 1936, 3, 509, 254, 0, 1936, 1937, 3, 543, 271, 0, 1937, 1944, 1, 0, 0, 0, 1938, 1939, 3, 557, 278, 0, 1939, 1940, 3, 557, 278, 0, 1940, 1941, 3, 557, 278, 0, 1941, 1942, 3, 557, 278, 0, 1942, 1944, 1, 0, 0, 0, 1943, 1933, 1, 0, 0, 0, 1943, 1938, 1, 0, 0, 0, 1944, 388, 1, 0, 0, 0, 1945, 1946, 3, 521, 260, 0, 1946, 1947, 3, 543, 271, 0, 1947, 1948, 3, 509, 254, 0, 1948, 1949, 3, 535, 267, 0, 1949, 1950, 3, 547, 273, 0, 1950, 390, 1, 0, 0, 0, 1951, 1952, 3, 549, 274, 0, 1952, 1953, 3, 545, 272, 0, 1953, 1954, 3, 517, 258, 0, 1954, 1955, 3, 543, 271, 0, 1955, 392, 1, 0, 0, 0, 1956, 1957, 3, 519, 259, 0, 1957, 1958, 3, 517, 258, 0, 1958, 1959, 3, 547, 273, 0, 1959, 1960, 3, 513, 256, 0, 1960, 1961, 3, 523, 261, 0, 1961, 394, 1, 0, 0, 0, 1962, 1963, 3, 543, 271, 0, 1963, 1964, 3, 517, 258, 0, 1964, 1965, 3, 519, 259, 0, 1965, 1966, 3, 543, 271, 0, 1966, 1967, 3, 517, 258, 0, 1967, 1968, 3, 545, 272, 0, 1968, 1969, 3, 523, 261, 0, 1969, 396, 1, 0, 0, 0, 1970, 1971, 3, 539, 269, 0, 1971, 1972, 3, 537, 268, 0, 1972, 1973, 3, 531, 265, 0, 1973, 1974, 3, 525, 262, 0, 1974, 1975, 3, 513, 256, 0, 1975, 1976, 3, 557, 278, 0, 1976, 398, 1, 0, 0, 0, 1977, 1978, 3, 541, 270, 0, 1978, 1979, 3, 549, 274, 0, 1979, 1980, 3, 537, 268, 0, 1980, 1981, 3, 547, 273, 0, 1981, 1982, 3, 509, 254, 0, 1982, 400, 1, 0, 0, 0, 1983, 1984, 3, 543, 271, 0, 1984, 1985, 3, 537, 268, 0, 1985, 1986, 3, 531, 265, 0, 1986, 1987, 3, 517, 258, 0, 1987, 402, 1, 0, 0, 0, 1988, 1989, 3, 539, 269, 0, 1989, 1990, 3, 543, 271, 0, 1990, 1991, 3, 537, 268, 0, 1991, 1992, 3, 519, 259, 0, 1992, 1993, 3, 525, 262, 0, 1993, 1994, 3, 531, 265, 0, 1994, 1995, 3, 517, 258, 0, 1995, 404, 1, 0, 0, 0, 1996, 1997, 3, 509, 254, 0, 1997, 1998, 3, 543, 271, 0, 1998, 1999, 3, 511, 255, 0, 1999, 2000, 3, 525, 262, 0, 2000, 2001, 3, 547, 273, 0, 2001, 2002, 3, 543, 271, 0, 2002, 2003, 3, 509, 254, 0, 2003, 2004, 3, 543, 271, 0, 2004, 2005, 3, 557, 278, 0, 2005, 406, 1, 0, 0, 0, 2006, 2007, 3, 513, 256, 0, 2007, 2008, 3, 537, 268, 0, 2008, 2009, 3, 531, 265, 0, 2009, 2010, 3, 549, 274, 0, 2010, 2011, 3, 533, 266, 0, 2011, 2012, 3, 535, 267, 0, 2012, 2013, 3, 545, 272, 0, 2013, 408, 1, 0, 0, 0, 2014, 2015, 3, 513, 256, 0, 2015, 2016, 3, 549, 274, 0, 2016, 2017, 3, 543, 271, 0, 2017, 2018, 3, 543, 271, 0, 2018, 2019, 3, 517, 258, 0, 2019, 2020, 3, 535, 267, 0, 2020, 2021, 3, 547, 273, 0, 2021, 2022, 3, 627, 313, 0, 2022, 2023, 3, 549, 274, 0, 2023, 2024, 3, 545, 272, 0, 2024, 2025, 3, 517, 258, 0, 2025, 2026, 3, 543, 271, 0, 2026, 410, 1, 0, 0, 0, 2027, 2028, 3, 509, 254, 0, 2028, 2029, 3, 513, 256, 0, 2029, 2030, 3, 513, 256, 0, 2030, 2031, 3, 517, 258, 0, 2031, 2032, 3, 545, 272, 0, 2032, 2033, 3, 545, 272, 0, 2033, 412, 1, 0, 0, 0, 2034, 2035, 3, 545, 272, 0, 2035, 2036, 3, 523, 261, 0, 2036, 2037, 3, 537, 268, 0, 2037, 2038, 3, 553, 276, 0, 2038, 2039, 3, 627, 313, 0, 2039, 2040, 3, 549, 274, 0, 2040, 2041, 3, 545, 272, 0, 2041, 2042, 3, 517, 258, 0, 2042, 2043, 3, 543, 271, 0, 2043, 2044, 3, 545, 272, 0, 2044, 414, 1, 0, 0, 0, 2045, 2046, 3, 545, 272, 0, 2046, 2047, 3, 523, 261, 0, 2047, 2048, 3, 537, 268, 0, 2048, 2049, 3, 553, 276, 0, 2049, 2050, 3, 627, 313, 0, 2050, 2051, 3, 543, 271, 0, 2051, 2052, 3, 537, 268, 0, 2052, 2053, 3, 531, 265, 0, 2053, 2054, 3, 517, 258, 0, 2054, 2055, 3, 545, 272, 0, 2055, 416, 1, 0, 0, 0, 2056, 2057, 3, 545, 272, 0, 2057, 2058, 3, 523, 261, 0, 2058, 2059, 3, 537, 268, 0, 2059, 2060, 3, 553, 276, 0, 2060, 2061, 3, 627, 313, 0, 2061, 2062, 3, 543, 271, 0, 2062, 2063, 3, 537, 268, 0, 2063, 2064, 3, 553, 276, 0, 2064, 2065, 3, 627, 313, 0, 2065, 2066, 3, 539, 269, 0, 2066, 2067, 3, 537, 268, 0, 2067, 2068, 3, 531, 265, 0, 2068, 2069, 3, 525, 262, 0, 2069, 2070, 3, 513, 256, 0, 2070, 2071, 3, 525, 262, 0, 2071, 2072, 3, 517, 258, 0, 2072, 2073, 3, 545, 272, 0, 2073, 418, 1, 0, 0, 0, 2074, 2075, 3, 545, 272, 0, 2075, 2076, 3, 523, 261, 0, 2076, 2077, 3, 537, 268, 0, 2077, 2078, 3, 553, 276, 0, 2078, 2079, 3, 627, 313, 0, 2079, 2080, 3, 541, 270, 0, 2080, 2081, 3, 549, 274, 0, 2081, 2082, 3, 537, 268, 0, 2082, 2083, 3, 547, 273, 0, 2083, 2084, 3, 509, 254, 0, 2084, 2085, 3, 545, 272, 0, 2085, 420, 1, 0, 0, 0, 2086, 2087, 3, 545, 272, 0, 2087, 2088, 3, 523, 261, 0, 2088, 2089, 3, 537, 268, 0, 2089, 2090, 3, 553, 276, 0, 2090, 2091, 3, 627, 313, 0, 2091, 2092, 3, 545, 272, 0, 2092, 2093, 3, 517, 258, 0, 2093, 2094, 3, 547, 273, 0, 2094, 2095, 3, 547, 273, 0, 2095, 2096, 3, 525, 262, 0, 2096, 2097, 3, 535, 267, 0, 2097, 2098, 3, 521, 260, 0, 2098, 2099, 3, 545, 272, 0, 2099, 2100, 3, 627, 313, 0, 2100, 2101, 3, 539, 269, 0, 2101, 2102, 3, 543, 271, 0, 2102, 2103, 3, 537, 268, 0, 2103, 2104, 3, 519, 259, 0, 2104, 2105, 3, 525, 262, 0, 2105, 2106, 3, 531, 265, 0, 2106, 2107, 3, 517, 258, 0, 2107, 2108, 3, 545, 272, 0, 2108, 422, 1, 0, 0, 0, 2109, 2110, 3, 545, 272, 0, 2110, 2111, 3, 523, 261, 0, 2111, 2112, 3, 549, 274, 0, 2112, 2113, 3, 547, 273, 0, 2113, 2114, 3, 515, 257, 0, 2114, 2115, 3, 537, 268, 0, 2115, 2116, 3, 553, 276, 0, 2116, 2117, 3, 535, 267, 0, 2117, 424, 1, 0, 0, 0, 2118, 2119, 3, 513, 256, 0, 2119, 2120, 3, 509, 254, 0, 2120, 2121, 3, 513, 256, 0, 2121, 2122, 3, 523, 261, 0, 2122, 2123, 3, 517, 258, 0, 2123, 426, 1, 0, 0, 0, 2124, 2125, 3, 515, 257, 0, 2125, 2126, 3, 535, 267, 0, 2126, 2127, 3, 545, 272, 0, 2127, 428, 1, 0, 0, 0, 2128, 2129, 3, 533, 266, 0, 2129, 2130, 3, 509, 254, 0, 2130, 2131, 3, 543, 271, 0, 2131, 2132, 3, 529, 264, 0, 2132, 430, 1, 0, 0, 0, 2133, 2134, 3, 539, 269, 0, 2134, 2135, 3, 509, 254, 0, 2135, 2136, 3, 543, 271, 0, 2136, 2137, 3, 547, 273, 0, 2137, 432, 1, 0, 0, 0, 2138, 2139, 3, 549, 274, 0, 2139, 2140, 3, 535, 267, 0, 2140, 2141, 3, 513, 256, 0, 2141, 2142, 3, 537, 268, 0, 2142, 2143, 3, 533, 266, 0, 2143, 2144, 3, 539, 269, 0, 2144, 2145, 3, 543, 271, 0, 2145, 2146, 3, 517, 258, 0, 2146, 2147, 3, 545, 272, 0, 2147, 2148, 3, 545, 272, 0, 2148, 2149, 3, 517, 258, 0, 2149, 2150, 3, 515, 257, 0, 2150, 434, 1, 0, 0, 0, 2151, 2152, 3, 513, 256, 0, 2152, 2153, 3, 537, 268, 0, 2153, 2154, 3, 535, 267, 0, 2154, 2155, 3, 519, 259, 0, 2155, 2156, 3, 525, 262, 0, 2156, 2157, 3, 521, 260, 0, 2157, 436, 1, 0, 0, 0, 2158, 2159, 3, 517, 258, 0, 2159, 2160, 3, 533, 266, 0, 2160, 2161, 3, 511, 255, 0, 2161, 2162, 3, 517, 258, 0, 2162, 2163, 3, 515, 257, 0, 2163, 2164, 3, 515, 257, 0, 2164, 2165, 3, 517, 258, 0, 2165, 2166, 3, 515, 257, 0, 2166, 438, 1, 0, 0, 0, 2167, 2168, 3, 519, 259, 0, 2168, 2169, 3, 549, 274, 0, 2169, 2170, 3, 535, 267, 0, 2170, 2171, 3, 513, 256, 0, 2171, 2172, 3, 547, 273, 0, 2172, 2173, 3, 525, 262, 0, 2173, 2174, 3, 537, 268, 0, 2174, 2175, 3, 535, 267, 0, 2175, 2176, 3, 545, 272, 0, 2176, 440, 1, 0, 0, 0, 2177, 2178, 3, 533, 266, 0, 2178, 2179, 3, 537, 268, 0, 2179, 2180, 3, 551, 275, 0, 2180, 2181, 3, 517, 258, 0, 2181, 2182, 3, 545, 272, 0, 2182, 442, 1, 0, 0, 0, 2183, 2184, 3, 543, 271, 0, 2184, 2185, 3, 517, 258, 0, 2185, 2186, 3, 539, 269, 0, 2186, 2187, 3, 531, 265, 0, 2187, 2188, 3, 525, 262, 0, 2188, 2189, 3, 513, 256, 0, 2189, 2190, 3, 509, 254, 0, 2190, 2191, 3, 547, 273, 0, 2191, 2192, 3, 525, 262, 0, 2192, 2193, 3, 537, 268, 0, 2193, 2194, 3, 535, 267, 0, 2194, 444, 1, 0, 0, 0, 2195, 2196, 3, 541, 270, 0, 2196, 2197, 3, 549, 274, 0, 2197, 2198, 3, 517, 258, 0, 2198, 2199, 3, 549, 274, 0, 2199, 2200, 3, 517, 258, 0, 2200, 2201, 3, 545, 272, 0, 2201, 446, 1, 0, 0, 0, 2202, 2203, 3, 543, 271, 0, 2203, 2204, 3, 517, 258, 0, 2204, 2205, 3, 545, 272, 0, 2205, 2206, 3, 547, 273, 0, 2206, 2207, 3, 509, 254, 0, 2207, 2208, 3, 543, 271, 0, 2208, 2209, 3, 547, 273, 0, 2209, 448, 1, 0, 0, 0, 2210, 2211, 3, 515, 257, 0, 2211, 2212, 3, 525, 262, 0, 2212, 2213, 3, 513, 256, 0, 2213, 2214, 3, 547, 273, 0, 2214, 2215, 3, 521, 260, 0, 2215, 2216, 3, 517, 258, 0, 2216, 2217, 3, 547, 273, 0, 2217, 450, 1, 0, 0, 0, 2218, 2219, 3, 515, 257, 0, 2219, 2220, 3, 525, 262, 0, 2220, 2221, 3, 513, 256, 0, 2221, 2222, 3, 547, 273, 0, 2222, 2223, 3, 521, 260, 0, 2223, 2224, 3, 517, 258, 0, 2224, 2225, 3, 547, 273, 0, 2225, 2226, 3, 523, 261, 0, 2226, 2227, 3, 525, 262, 0, 2227, 2228, 3, 517, 258, 0, 2228, 2229, 3, 543, 271, 0, 2229, 2230, 3, 509, 254, 0, 2230, 2231, 3, 543, 271, 0, 2231, 2232, 3, 513, 256, 0, 2232, 2233, 3, 523, 261, 0, 2233, 2234, 3, 557, 278, 0, 2234, 452, 1, 0, 0, 0, 2235, 2236, 3, 515, 257, 0, 2236, 2237, 3, 525, 262, 0, 2237, 2238, 3, 513, 256, 0, 2238, 2239, 3, 547, 273, 0, 2239, 2240, 3, 523, 261, 0, 2240, 2241, 3, 509, 254, 0, 2241, 2242, 3, 545, 272, 0, 2242, 454, 1, 0, 0, 0, 2243, 2244, 3, 515, 257, 0, 2244, 2245, 3, 525, 262, 0, 2245, 2246, 3, 513, 256, 0, 2246, 2247, 3, 547, 273, 0, 2247, 2248, 3, 525, 262, 0, 2248, 2249, 3, 545, 272, 0, 2249, 2250, 3, 525, 262, 0, 2250, 2251, 3, 535, 267, 0, 2251, 456, 1, 0, 0, 0, 2252, 2253, 3, 533, 266, 0, 2253, 2254, 3, 509, 254, 0, 2254, 2255, 3, 535, 267, 0, 2255, 2256, 3, 509, 254, 0, 2256, 2257, 3, 521, 260, 0, 2257, 2258, 3, 517, 258, 0, 2258, 2259, 3, 533, 266, 0, 2259, 2260, 3, 517, 258, 0, 2260, 2261, 3, 535, 267, 0, 2261, 2262, 3, 547, 273, 0, 2262, 458, 1, 0, 0, 0, 2263, 2264, 3, 509, 254, 0, 2264, 2265, 3, 515, 257, 0, 2265, 2266, 3, 533, 266, 0, 2266, 2267, 3, 525, 262, 0, 2267, 2268, 3, 535, 267, 0, 2268, 460, 1, 0, 0, 0, 2269, 2270, 3, 525, 262, 0, 2270, 2271, 3, 535, 267, 0, 2271, 2272, 3, 547, 273, 0, 2272, 2273, 3, 543, 271, 0, 2273, 2274, 3, 537, 268, 0, 2274, 2275, 3, 545, 272, 0, 2275, 2276, 3, 539, 269, 0, 2276, 2277, 3, 517, 258, 0, 2277, 2278, 3, 513, 256, 0, 2278, 2279, 3, 547, 273, 0, 2279, 2280, 3, 525, 262, 0, 2280, 2281, 3, 537, 268, 0, 2281, 2282, 3, 535, 267, 0, 2282, 462, 1, 0, 0, 0, 2283, 2284, 3, 509, 254, 0, 2284, 2285, 3, 515, 257, 0, 2285, 2286, 3, 515, 257, 0, 2286, 2287, 3, 543, 271, 0, 2287, 2288, 3, 517, 258, 0, 2288, 2289, 3, 545, 272, 0, 2289, 2290, 3, 545, 272, 0, 2290, 2291, 3, 547, 273, 0, 2291, 2292, 3, 537, 268, 0, 2292, 2293, 3, 531, 265, 0, 2293, 2294, 3, 525, 262, 0, 2294, 2295, 3, 535, 267, 0, 2295, 2296, 3, 517, 258, 0, 2296, 464, 1, 0, 0, 0, 2297, 2298, 3, 509, 254, 0, 2298, 2299, 3, 515, 257, 0, 2299, 2300, 3, 515, 257, 0, 2300, 2301, 3, 543, 271, 0, 2301, 2302, 3, 517, 258, 0, 2302, 2303, 3, 545, 272, 0, 2303, 2304, 3, 545, 272, 0, 2304, 2305, 3, 547, 273, 0, 2305, 2306, 3, 537, 268, 0, 2306, 2307, 3, 545, 272, 0, 2307, 2308, 3, 557, 278, 0, 2308, 2309, 3, 533, 266, 0, 2309, 2310, 3, 511, 255, 0, 2310, 2311, 3, 537, 268, 0, 2311, 2312, 3, 531, 265, 0, 2312, 466, 1, 0, 0, 0, 2313, 2314, 3, 515, 257, 0, 2314, 2315, 3, 517, 258, 0, 2315, 2316, 3, 533, 266, 0, 2316, 2317, 3, 509, 254, 0, 2317, 2318, 3, 535, 267, 0, 2318, 2319, 3, 521, 260, 0, 2319, 2320, 3, 531, 265, 0, 2320, 2321, 3, 517, 258, 0, 2321, 468, 1, 0, 0, 0, 2322, 2323, 3, 545, 272, 0, 2323, 2324, 3, 537, 268, 0, 2324, 2325, 3, 549, 274, 0, 2325, 2326, 3, 543, 271, 0, 2326, 2327, 3, 513, 256, 0, 2327, 2328, 3, 517, 258, 0, 2328, 2329, 3, 545, 272, 0, 2329, 470, 1, 0, 0, 0, 2330, 2331, 3, 519, 259, 0, 2331, 2332, 3, 525, 262, 0, 2332, 2333, 3, 531, 265, 0, 2333, 2334, 3, 517, 258, 0, 2334, 472, 1, 0, 0, 0, 2335, 2336, 3, 549, 274, 0, 2336, 2337, 3, 543, 271, 0, 2337, 2338, 3, 531, 265, 0, 2338, 474, 1, 0, 0, 0, 2339, 2340, 3, 543, 271, 0, 2340, 2341, 3, 517, 258, 0, 2341, 2342, 3, 533, 266, 0, 2342, 2343, 3, 537, 268, 0, 2343, 2344, 3, 547, 273, 0, 2344, 2345, 3, 517, 258, 0, 2345, 476, 1, 0, 0, 0, 2346, 2347, 3, 533, 266, 0, 2347, 2348, 3, 557, 278, 0, 2348, 2349, 3, 545, 272, 0, 2349, 2350, 3, 541, 270, 0, 2350, 2351, 3, 531, 265, 0, 2351, 478, 1, 0, 0, 0, 2352, 2353, 3, 537, 268, 0, 2353, 2354, 3, 515, 257, 0, 2354, 2355, 3, 511, 255, 0, 2355, 2356, 3, 513, 256, 0, 2356, 480, 1, 0, 0, 0, 2357, 2358, 3, 527, 263, 0, 2358, 2359, 3, 515, 257, 0, 2359, 2360, 3, 511, 255, 0, 2360, 2361, 3, 513, 256, 0, 2361, 482, 1, 0, 0, 0, 2362, 2363, 3, 523, 261, 0, 2363, 2364, 3, 515, 257, 0, 2364, 2365, 3, 519, 259, 0, 2365, 2366, 3, 545, 272, 0, 2366, 484, 1, 0, 0, 0, 2367, 2368, 3, 545, 272, 0, 2368, 2369, 5, 51, 0, 0, 2369, 486, 1, 0, 0, 0, 2370, 2371, 3, 545, 272, 0, 2371, 2372, 3, 517, 258, 0, 2372, 2373, 3, 547, 273, 0, 2373, 2374, 3, 547, 273, 0, 2374, 2375, 3, 525, 262, 0, 2375, 2376, 3, 535, 267, 0, 2376, 2377, 3, 521, 260, 0, 2377, 488, 1, 0, 0, 0, 2378, 2379, 3, 537, 268, 0, 2379, 2380, 3, 539, 269, 0, 2380, 2381, 3, 547, 273, 0, 2381, 2382, 3, 525, 262, 0, 2382, 2383, 3, 537, 268, 0, 2383, 2384, 3, 535, 267, 0, 2384, 490, 1, 0, 0, 0, 2385, 2386, 3, 535, 267, 0, 2386, 2387, 3, 537, 268, 0, 2387, 2388, 3, 535, 267, 0, 2388, 2389, 3, 517, 258, 0, 2389, 492, 1, 0, 0, 0, 2390, 2391, 5, 102, 0, 0, 2391, 2392, 5, 97, 0, 0, 2392, 2393, 5, 108, 0, 0, 2393, 2394, 5, 115, 0, 0, 2394, 2395, 5, 101, 0, 0, 2395, 494, 1, 0, 0, 0, 2396, 2397, 5, 116, 0, 0, 2397, 2398, 5, 114, 0, 0, 2398, 2399, 5, 117, 0, 0, 2399, 2400, 5, 101, 0, 0, 2400, 496, 1, 0, 0, 0, 2401, 2404, 3, 561, 280, 0, 2402, 2404, 3, 627, 313, 0, 2403, 2401, 1, 0, 0, 0, 2403, 2402, 1, 0, 0, 0, 2404, 2410, 1, 0, 0, 0, 2405, 2409, 3, 561, 280, 0, 2406, 2409, 3, 627, 313, 0, 2407, 2409, 3, 565, 282, 0, 2408, 2405, 1, 0, 0, 0, 2408, 2406, 1, 0, 0, 0, 2408, 2407, 1, 0, 0, 0, 2409, 2412, 1, 0, 0, 0, 2410, 2408, 1, 0, 0, 0, 2410, 2411, 1, 0, 0, 0, 2411, 2444, 1, 0, 0, 0, 2412, 2410, 1, 0, 0, 0, 2413, 2423, 3, 573, 286, 0, 2414, 2422, 8, 0, 0, 0, 2415, 2416, 3, 575, 287, 0, 2416, 2417, 9, 0, 0, 0, 2417, 2422, 1, 0, 0, 0, 2418, 2419, 3, 573, 286, 0, 2419, 2420, 3, 573, 286, 0, 2420, 2422, 1, 0, 0, 0, 2421, 2414, 1, 0, 0, 0, 2421, 2415, 1, 0, 0, 0, 2421, 2418, 1, 0, 0, 0, 2422, 2425, 1, 0, 0, 0, 2423, 2421, 1, 0, 0, 0, 2423, 2424, 1, 0, 0, 0, 2424, 2426, 1, 0, 0, 0, 2425, 2423, 1, 0, 0, 0, 2426, 2427, 3, 573, 286, 0, 2427, 2444, 1, 0, 0, 0, 2428, 2438, 3, 613, 306, 0, 2429, 2437, 8, 1, 0, 0, 2430, 2431, 3, 575, 287, 0, 2431, 2432, 9, 0, 0, 0, 2432, 2437, 1, 0, 0, 0, 2433, 2434, 3, 613, 306, 0, 2434, 2435, 3, 613, 306, 0, 2435, 2437, 1, 0, 0, 0, 2436, 2429, 1, 0, 0, 0, 2436, 2430, 1, 0, 0, 0, 2436, 2433, 1, 0, 0, 0, 2437, 2440, 1, 0, 0, 0, 2438, 2436, 1, 0, 0, 0, 2438, 2439, 1, 0, 0, 0, 2439, 2441, 1, 0, 0, 0, 2440, 2438, 1, 0, 0, 0, 2441, 2442, 3, 613, 306, 0, 2442, 2444, 1, 0, 0, 0, 2443, 2403, 1, 0, 0, 0, 2443, 2413, 1, 0, 0, 0, 2443, 2428, 1, 0, 0, 0, 2444, 498, 1, 0, 0, 0, 2445, 2446, 3, 505, 252, 0, 2446, 2450, 3, 585, 292, 0, 2447, 2449, 3, 567, 283, 0, 2448, 2447, 1, 0, 0, 0, 2449, 2452, 1, 0, 0, 0, 2450, 2448, 1, 0, 0, 0, 2450, 2451, 1, 0, 0, 0, 2451, 2455, 1, 0, 0, 0, 2452, 2450, 1, 0, 0, 0, 2453, 2456, 3, 539, 269, 0, 2454, 2456, 3, 517, 258, 0, 2455, 2453, 1, 0, 0, 0, 2455, 2454, 1, 0, 0, 0, 2456, 2459, 1, 0, 0, 0, 2457, 2460, 3, 609, 304, 0, 2458, 2460, 3, 583, 291, 0, 2459, 2457, 1, 0, 0, 0, 2459, 2458, 1, 0, 0, 0, 2459, 2460, 1, 0, 0, 0, 2460, 2462, 1, 0, 0, 0, 2461, 2463, 3, 565, 282, 0, 2462, 2461, 1, 0, 0, 0, 2463, 2464, 1, 0, 0, 0, 2464, 2462, 1, 0, 0, 0, 2464, 2465, 1, 0, 0, 0, 2465, 2522, 1, 0, 0, 0, 2466, 2469, 3, 505, 252, 0, 2467, 2470, 3, 539, 269, 0, 2468, 2470, 3, 517, 258, 0, 2469, 2467, 1, 0, 0, 0, 2469, 2468, 1, 0, 0, 0, 2470, 2473, 1, 0, 0, 0, 2471, 2474, 3, 609, 304, 0, 2472, 2474, 3, 583, 291, 0, 2473, 2471, 1, 0, 0, 0, 2473, 2472, 1, 0, 0, 0, 2473, 2474, 1, 0, 0, 0, 2474, 2476, 1, 0, 0, 0, 2475, 2477, 3, 565, 282, 0, 2476, 2475, 1, 0, 0, 0, 2477, 2478, 1, 0, 0, 0, 2478, 2476, 1, 0, 0, 0, 2478, 2479, 1, 0, 0, 0, 2479, 2522, 1, 0, 0, 0, 2480, 2481, 3, 503, 251, 0, 2481, 2485, 3, 585, 292, 0, 2482, 2484, 3, 565, 282, 0, 2483, 2482, 1, 0, 0, 0, 2484, 2487, 1, 0, 0, 0, 2485, 2483, 1, 0, 0, 0, 2485, 2486, 1, 0, 0, 0, 2486, 2488, 1, 0, 0, 0, 2487, 2485, 1, 0, 0, 0, 2488, 2491, 3, 517, 258, 0, 2489, 2492, 3, 609, 304, 0, 2490, 2492, 3, 583, 291, 0, 2491, 2489, 1, 0, 0, 0, 2491, 2490, 1, 0, 0, 0, 2491, 2492, 1, 0, 0, 0, 2492, 2494, 1, 0, 0, 0, 2493, 2495, 3, 565, 282, 0, 2494, 2493, 1, 0, 0, 0, 2495, 2496, 1, 0, 0, 0, 2496, 2494, 1, 0, 0, 0, 2496, 2497, 1, 0, 0, 0, 2497, 2522, 1, 0, 0, 0, 2498, 2499, 3, 585, 292, 0, 2499, 2500, 3, 503, 251, 0, 2500, 2503, 3, 517, 258, 0, 2501, 2504, 3, 609, 304, 0, 2502, 2504, 3, 583, 291, 0, 2503, 2501, 1, 0, 0, 0, 2503, 2502, 1, 0, 0, 0, 2503, 2504, 1, 0, 0, 0, 2504, 2506, 1, 0, 0, 0, 2505, 2507, 3, 565, 282, 0, 2506, 2505, 1, 0, 0, 0, 2507, 2508, 1, 0, 0, 0, 2508, 2506, 1, 0, 0, 0, 2508, 2509, 1, 0, 0, 0, 2509, 2522, 1, 0, 0, 0, 2510, 2511, 3, 503, 251, 0, 2511, 2514, 3, 517, 258, 0, 2512, 2515, 3, 609, 304, 0, 2513, 2515, 3, 583, 291, 0, 2514, 2512, 1, 0, 0, 0, 2514, 2513, 1, 0, 0, 0, 2514, 2515, 1, 0, 0, 0, 2515, 2517, 1, 0, 0, 0, 2516, 2518, 3, 565, 282, 0, 2517, 2516, 1, 0, 0, 0, 2518, 2519, 1, 0, 0, 0, 2519, 2517, 1, 0, 0, 0, 2519, 2520, 1, 0, 0, 0, 2520, 2522, 1, 0, 0, 0, 2521, 2445, 1, 0, 0, 0, 2521, 2466, 1, 0, 0, 0, 2521, 2480, 1, 0, 0, 0, 2521, 2498, 1, 0, 0, 0, 2521, 2510, 1, 0, 0, 0, 2522, 500, 1, 0, 0, 0, 2523, 2525, 5, 48, 0, 0, 2524, 2526, 3, 563, 281, 0, 2525, 2524, 1, 0, 0, 0, 2526, 2527, 1, 0, 0, 0, 2527, 2525, 1, 0, 0, 0, 2527, 2528, 1, 0, 0, 0, 2528, 502, 1, 0, 0, 0, 2529, 2531, 3, 565, 282, 0, 2530, 2529, 1, 0, 0, 0, 2531, 2532, 1, 0, 0, 0, 2532, 2530, 1, 0, 0, 0, 2532, 2533, 1, 0, 0, 0, 2533, 504, 1, 0, 0, 0, 2534, 2535, 5, 48, 0, 0, 2535, 2537, 3, 555, 277, 0, 2536, 2538, 3, 567, 283, 0, 2537, 2536, 1, 0, 0, 0, 2538, 2539, 1, 0, 0, 0, 2539, 2537, 1, 0, 0, 0, 2539, 2540, 1, 0, 0, 0, 2540, 506, 1, 0, 0, 0, 2541, 2551, 3, 615, 307, 0, 2542, 2550, 8, 2, 0, 0, 2543, 2544, 3, 575, 287, 0, 2544, 2545, 9, 0, 0, 0, 2545, 2550, 1, 0, 0, 0, 2546, 2547, 3, 615, 307, 0, 2547, 2548, 3, 615, 307, 0, 2548, 2550, 1, 0, 0, 0, 2549, 2542, 1, 0, 0, 0, 2549, 2543, 1, 0, 0, 0, 2549, 2546, 1, 0, 0, 0, 2550, 2553, 1, 0, 0, 0, 2551, 2549, 1, 0, 0, 0, 2551, 2552, 1, 0, 0, 0, 2552, 2554, 1, 0, 0, 0, 2553, 2551, 1, 0, 0, 0, 2554, 2555, 3, 615, 307, 0, 2555, 508, 1, 0, 0, 0, 2556, 2557, 7, 3, 0, 0, 2557, 510, 1, 0, 0, 0, 2558, 2559, 7, 4, 0, 0, 2559, 512, 1, 0, 0, 0, 2560, 2561, 7, 5, 0, 0, 2561, 514, 1, 0, 0, 0, 2562, 2563, 7, 6, 0, 0, 2563, 516, 1, 0, 0, 0, 2564, 2565, 7, 7, 0, 0, 2565, 518, 1, 0, 0, 0, 2566, 2567, 7, 8, 0, 0, 2567, 520, 1, 0, 0, 0, 2568, 2569, 7, 9, 0, 0, 2569, 522, 1, 0, 0, 0, 2570, 2571, 7, 10, 0, 0, 2571, 524, 1, 0, 0, 0, 2572, 2573, 7, 11, 0, 0, 2573, 526, 1, 0, 0, 0, 2574, 2575, 7, 12, 0, 0, 2575, 528, 1, 0, 0, 0, 2576, 2577, 7, 13, 0, 0, 2577, 530, 1, 0, 0, 0, 2578, 2579, 7, 14, 0, 0, 2579, 532, 1, 0, 0, 0, 2580, 2581, 7, 15, 0, 0, 2581, 534, 1, 0, 0, 0, 2582, 2583, 7, 16, 0, 0, 2583, 536, 1, 0, 0, 0, 2584, 2585, 7, 17, 0, 0, 2585, 538, 1, 0, 0, 0, 2586, 2587, 7, 18, 0, 0, 2587, 540, 1, 0, 0, 0, 2588, 2589, 7, 19, 0, 0, 2589, 542, 1, 0, 0, 0, 2590, 2591, 7, 20, 0, 0, 2591, 544, 1, 0, 0, 0, 2592, 2593, 7, 21, 0, 0, 2593, 546, 1, 0, 0, 0, 2594, 2595, 7, 22, 0, 0, 2595, 548, 1, 0, 0, 0, 2596, 2597, 7, 23, 0, 0, 2597, 550, 1, 0, 0, 0, 2598, 2599, 7, 24, 0, 0, 2599, 552, 1, 0, 0, 0, 2600, 2601, 7, 25, 0, 0, 2601, 554, 1, 0, 0, 0, 2602, 2603, 7, 26, 0, 0, 2603, 556, 1, 0, 0, 0, 2604, 2605, 7, 27, 0, 0, 2605, 558, 1, 0, 0, 0, 2606, 2607, 7, 28, 0, 0, 2607, 560, 1, 0, 0, 0, 2608, 2609, 7, 29, 0, 0, 2609, 562, 1, 0, 0, 0, 2610, 2611, 7, 30, 0, 0, 2611, 564, 1, 0, 0, 0, 2612, 2613, 7, 31, 0, 0, 2613, 566, 1, 0, 0, 0, 2614, 2615, 7, 32, 0, 0, 2615, 568, 1, 0, 0, 0, 2616, 2617, 5, 45, 0, 0, 2617, 2618, 5, 62, 0, 0, 2618, 570, 1, 0, 0, 0, 2619, 2620, 5, 42, 0, 0, 2620, 572, 1, 0, 0, 0, 2621, 2622, 5, 96, 0, 0, 2622, 574, 1, 0, 0, 0, 2623, 2624, 5, 92, 0, 0, 2624, 576, 1, 0, 0, 0, 2625, 2626, 5, 58, 0, 0, 2626, 578, 1, 0, 0, 0, 2627, 2628, 5, 44, 0, 0, 2628, 580, 1, 0, 0, 0, 2629, 2630, 5, 124, 0, 0, 2630, 2631, 5, 124, 0, 0, 2631, 582, 1, 0, 0, 0, 2632, 2633, 5, 45, 0, 0, 2633, 584, 1, 0, 0, 0, 2634, 2635, 5, 46, 0, 0, 2635, 586, 1, 0, 0, 0, 2636, 2637, 5, 61, 0, 0, 2637, 2638, 5, 61, 0, 0, 2638, 588, 1, 0, 0, 0, 2639, 2640, 5, 61, 0, 0, 2640, 590, 1, 0, 0, 0, 2641, 2642, 5, 62, 0, 0, 2642, 2643, 5, 61, 0, 0, 2643, 592, 1, 0, 0, 0, 2644, 2645, 5, 62, 0, 0, 2645, 594, 1, 0, 0, 0, 2646, 2647, 5, 123, 0, 0, 2647, 596, 1, 0, 0, 0, 2648, 2649, 5, 91, 0, 0, 2649, 598, 1, 0, 0, 0, 2650, 2651, 5, 60, 0, 0, 2651, 2652, 5, 61, 0, 0, 2652, 600, 1, 0, 0, 0, 2653, 2654, 5, 40, 0, 0, 2654, 602, 1, 0, 0, 0, 2655, 2656, 5, 60, 0, 0, 2656, 604, 1, 0, 0, 0, 2657, 2658, 5, 33, 0, 0, 2658, 2662, 5, 61, 0, 0, 2659, 2660, 5, 60, 0, 0, 2660, 2662, 5, 62, 0, 0, 2661, 2657, 1, 0, 0, 0, 2661, 2659, 1, 0, 0, 0, 2662, 606, 1, 0, 0, 0, 2663, 2664, 5, 37, 0, 0, 2664, 608, 1, 0, 0, 0, 2665, 2666, 5, 43, 0, 0, 2666, 610, 1, 0, 0, 0, 2667, 2668, 5, 63, 0, 0, 2668, 612, 1, 0, 0, 0, 2669, 2670, 5, 34, 0, 0, 2670, 614, 1, 0, 0, 0, 2671, 2672, 5, 39, 0, 0, 2672, 616, 1, 0, 0, 0, 2673, 2674, 5, 125, 0, 0, 2674, 618, 1, 0, 0, 0, 2675, 2676, 5, 93, 0, 0, 2676, 620, 1, 0, 0, 0, 2677, 2678, 5, 41, 0, 0, 2678, 622, 1, 0, 0, 0, 2679, 2680, 5, 59, 0, 0, 2680, 624, 1, 0, 0, 0, 2681, 2682, 5, 47, 0, 0, 2682, 626, 1, 0, 0, 0, 2683, 2684, 5, 95, 0, 0, 2684, 628, 1, 0, 0, 0, 2685, 2686, 5, 47, 0, 0, 2686, 2687, 5, 42, 0, 0, 2687, 2691, 1, 0, 0, 0, 2688, 2690, 9, 0, 0, 0, 2689, 2688, 1, 0, 0, 0, 2690, 2693, 1, 0, 0, 0, 2691, 2692, 1, 0, 0, 0, 2691, 2689, 1, 0, 0, 0, 2692, 2694, 1, 0, 0, 0, 2693, 2691, 1, 0, 0, 0, 2694, 2695, 5, 42, 0, 0, 2695, 2696, 5, 47, 0, 0, 2696, 2697, 1, 0, 0, 0, 2697, 2698, 6, 314, 0, 0, 2698, 630, 1, 0, 0, 0, 2699, 2700, 5, 45, 0, 0, 2700, 2701, 5, 45, 0, 0, 2701, 2705, 1, 0, 0, 0, 2702, 2704, 8, 33, 0, 0, 2703, 2702, 1, 0, 0, 0, 2704, 2707, 1, 0, 0, 0, 2705, 2703, 1, 0, 0, 0, 2705, 2706, 1, 0, 0, 0, 2706, 2709, 1, 0, 0, 0, 2707, 2705, 1, 0, 0, 0, 2708, 2710, 7, 34, 0, 0, 2709, 2708, 1, 0, 0, 0, 2710, 2711, 1, 0, 0, 0, 2711, 2712, 6, 315, 0, 0, 2712, 632, 1, 0, 0, 0, 2713, 2714, 7, 35, 0, 0, 2714, 2715, 1, 0, 0, 0, 2715, 2716, 6, 316, 1, 0, 2716, 634, 1, 0, 0, 0, 36, 0, 697, 1204, 1943, 2403, 2408, 2410, 2421, 2423, 2436, 2438, 2443, 2450, 2455, 2459, 2464, 2469, 2473, 2478, 2485, 2491, 2496, 2503, 2508, 2514, 2519, 2521, 2527, 2532, 2539, 2549, 2551, 2661, 2691, 2705, 2709, 2, 6, 0, 0, 0, 1, 0] \ No newline at end of file diff --git a/src/autocomplete/databases/clickhouse/generated/ClickHouseLexer.tokens b/src/autocomplete/databases/clickhouse/generated/ClickHouseLexer.tokens index 93d84f14c..be4b0a44f 100644 --- a/src/autocomplete/databases/clickhouse/generated/ClickHouseLexer.tokens +++ b/src/autocomplete/databases/clickhouse/generated/ClickHouseLexer.tokens @@ -192,75 +192,127 @@ WHERE=191 WINDOW=192 WITH=193 YEAR=194 -JSON_FALSE=195 -JSON_TRUE=196 -IDENTIFIER=197 -FLOATING_LITERAL=198 -OCTAL_LITERAL=199 -DECIMAL_LITERAL=200 -HEXADECIMAL_LITERAL=201 -STRING_LITERAL=202 -ARROW=203 -ASTERISK=204 -BACKQUOTE=205 -BACKSLASH=206 -COLON=207 -COMMA=208 -CONCAT=209 -DASH=210 -DOT=211 -EQ_DOUBLE=212 -EQ_SINGLE=213 -GE=214 -GT=215 -LBRACE=216 -LBRACKET=217 -LE=218 -LPAREN=219 -LT=220 -NOT_EQ=221 -PERCENT=222 -PLUS=223 -QUESTIONMARK=224 -QUOTE_DOUBLE=225 -QUOTE_SINGLE=226 -RBRACE=227 -RBRACKET=228 -RPAREN=229 -SEMICOLON=230 -SLASH=231 -UNDERSCORE=232 -MULTI_LINE_COMMENT=233 -SINGLE_LINE_COMMENT=234 -WHITESPACE=235 -'false'=195 -'true'=196 -'->'=203 -'*'=204 -'`'=205 -'\\'=206 -':'=207 -','=208 -'||'=209 -'-'=210 -'.'=211 -'=='=212 -'='=213 -'>='=214 -'>'=215 -'{'=216 -'['=217 -'<='=218 -'('=219 -'<'=220 -'%'=222 -'+'=223 -'?'=224 -'"'=225 -'\''=226 -'}'=227 -']'=228 -')'=229 -';'=230 -'/'=231 -'_'=232 +GRANT=195 +USER=196 +FETCH=197 +REFRESH=198 +POLICY=199 +QUOTA=200 +ROLE=201 +PROFILE=202 +ARBITRARY=203 +COLUMNS=204 +CURRENT_USER=205 +ACCESS=206 +SHOW_USERS=207 +SHOW_ROLES=208 +SHOW_ROW_POLICIES=209 +SHOW_QUOTAS=210 +SHOW_SETTINGS_PROFILES=211 +SHUTDOWN=212 +CACHE=213 +DNS=214 +MARK=215 +PART=216 +UNCOMPRESSED=217 +CONFIG=218 +EMBEDDED=219 +FUNCTIONS=220 +MOVES=221 +REPLICATION=222 +QUEUES=223 +RESTART=224 +DICTGET=225 +DICTGETHIERARCHY=226 +DICTHAS=227 +DICTISIN=228 +MANAGEMENT=229 +ADMIN=230 +INTROSPECTION=231 +ADDRESSTOLINE=232 +ADDRESSTOSYMBOL=233 +DEMANGLE=234 +SOURCES=235 +FILE=236 +URL=237 +REMOTE=238 +MYSQL=239 +ODBC=240 +JDBC=241 +HDFS=242 +S3=243 +SETTING=244 +OPTION=245 +NONE=246 +JSON_FALSE=247 +JSON_TRUE=248 +IDENTIFIER=249 +FLOATING_LITERAL=250 +OCTAL_LITERAL=251 +DECIMAL_LITERAL=252 +HEXADECIMAL_LITERAL=253 +STRING_LITERAL=254 +ARROW=255 +ASTERISK=256 +BACKQUOTE=257 +BACKSLASH=258 +COLON=259 +COMMA=260 +CONCAT=261 +DASH=262 +DOT=263 +EQ_DOUBLE=264 +EQ_SINGLE=265 +GE=266 +GT=267 +LBRACE=268 +LBRACKET=269 +LE=270 +LPAREN=271 +LT=272 +NOT_EQ=273 +PERCENT=274 +PLUS=275 +QUESTIONMARK=276 +QUOTE_DOUBLE=277 +QUOTE_SINGLE=278 +RBRACE=279 +RBRACKET=280 +RPAREN=281 +SEMICOLON=282 +SLASH=283 +UNDERSCORE=284 +MULTI_LINE_COMMENT=285 +SINGLE_LINE_COMMENT=286 +WHITESPACE=287 +'false'=247 +'true'=248 +'->'=255 +'*'=256 +'`'=257 +'\\'=258 +':'=259 +','=260 +'||'=261 +'-'=262 +'.'=263 +'=='=264 +'='=265 +'>='=266 +'>'=267 +'{'=268 +'['=269 +'<='=270 +'('=271 +'<'=272 +'%'=274 +'+'=275 +'?'=276 +'"'=277 +'\''=278 +'}'=279 +']'=280 +')'=281 +';'=282 +'/'=283 +'_'=284 diff --git a/src/autocomplete/databases/clickhouse/generated/ClickHouseLexer.ts b/src/autocomplete/databases/clickhouse/generated/ClickHouseLexer.ts index e926e30b9..a026ba6b1 100644 --- a/src/autocomplete/databases/clickhouse/generated/ClickHouseLexer.ts +++ b/src/autocomplete/databases/clickhouse/generated/ClickHouseLexer.ts @@ -208,47 +208,99 @@ export class ClickHouseLexer extends antlr.Lexer { public static readonly WINDOW = 192; public static readonly WITH = 193; public static readonly YEAR = 194; - public static readonly JSON_FALSE = 195; - public static readonly JSON_TRUE = 196; - public static readonly IDENTIFIER = 197; - public static readonly FLOATING_LITERAL = 198; - public static readonly OCTAL_LITERAL = 199; - public static readonly DECIMAL_LITERAL = 200; - public static readonly HEXADECIMAL_LITERAL = 201; - public static readonly STRING_LITERAL = 202; - public static readonly ARROW = 203; - public static readonly ASTERISK = 204; - public static readonly BACKQUOTE = 205; - public static readonly BACKSLASH = 206; - public static readonly COLON = 207; - public static readonly COMMA = 208; - public static readonly CONCAT = 209; - public static readonly DASH = 210; - public static readonly DOT = 211; - public static readonly EQ_DOUBLE = 212; - public static readonly EQ_SINGLE = 213; - public static readonly GE = 214; - public static readonly GT = 215; - public static readonly LBRACE = 216; - public static readonly LBRACKET = 217; - public static readonly LE = 218; - public static readonly LPAREN = 219; - public static readonly LT = 220; - public static readonly NOT_EQ = 221; - public static readonly PERCENT = 222; - public static readonly PLUS = 223; - public static readonly QUESTIONMARK = 224; - public static readonly QUOTE_DOUBLE = 225; - public static readonly QUOTE_SINGLE = 226; - public static readonly RBRACE = 227; - public static readonly RBRACKET = 228; - public static readonly RPAREN = 229; - public static readonly SEMICOLON = 230; - public static readonly SLASH = 231; - public static readonly UNDERSCORE = 232; - public static readonly MULTI_LINE_COMMENT = 233; - public static readonly SINGLE_LINE_COMMENT = 234; - public static readonly WHITESPACE = 235; + public static readonly GRANT = 195; + public static readonly USER = 196; + public static readonly FETCH = 197; + public static readonly REFRESH = 198; + public static readonly POLICY = 199; + public static readonly QUOTA = 200; + public static readonly ROLE = 201; + public static readonly PROFILE = 202; + public static readonly ARBITRARY = 203; + public static readonly COLUMNS = 204; + public static readonly CURRENT_USER = 205; + public static readonly ACCESS = 206; + public static readonly SHOW_USERS = 207; + public static readonly SHOW_ROLES = 208; + public static readonly SHOW_ROW_POLICIES = 209; + public static readonly SHOW_QUOTAS = 210; + public static readonly SHOW_SETTINGS_PROFILES = 211; + public static readonly SHUTDOWN = 212; + public static readonly CACHE = 213; + public static readonly DNS = 214; + public static readonly MARK = 215; + public static readonly PART = 216; + public static readonly UNCOMPRESSED = 217; + public static readonly CONFIG = 218; + public static readonly EMBEDDED = 219; + public static readonly FUNCTIONS = 220; + public static readonly MOVES = 221; + public static readonly REPLICATION = 222; + public static readonly QUEUES = 223; + public static readonly RESTART = 224; + public static readonly DICTGET = 225; + public static readonly DICTGETHIERARCHY = 226; + public static readonly DICTHAS = 227; + public static readonly DICTISIN = 228; + public static readonly MANAGEMENT = 229; + public static readonly ADMIN = 230; + public static readonly INTROSPECTION = 231; + public static readonly ADDRESSTOLINE = 232; + public static readonly ADDRESSTOSYMBOL = 233; + public static readonly DEMANGLE = 234; + public static readonly SOURCES = 235; + public static readonly FILE = 236; + public static readonly URL = 237; + public static readonly REMOTE = 238; + public static readonly MYSQL = 239; + public static readonly ODBC = 240; + public static readonly JDBC = 241; + public static readonly HDFS = 242; + public static readonly S3 = 243; + public static readonly SETTING = 244; + public static readonly OPTION = 245; + public static readonly NONE = 246; + public static readonly JSON_FALSE = 247; + public static readonly JSON_TRUE = 248; + public static readonly IDENTIFIER = 249; + public static readonly FLOATING_LITERAL = 250; + public static readonly OCTAL_LITERAL = 251; + public static readonly DECIMAL_LITERAL = 252; + public static readonly HEXADECIMAL_LITERAL = 253; + public static readonly STRING_LITERAL = 254; + public static readonly ARROW = 255; + public static readonly ASTERISK = 256; + public static readonly BACKQUOTE = 257; + public static readonly BACKSLASH = 258; + public static readonly COLON = 259; + public static readonly COMMA = 260; + public static readonly CONCAT = 261; + public static readonly DASH = 262; + public static readonly DOT = 263; + public static readonly EQ_DOUBLE = 264; + public static readonly EQ_SINGLE = 265; + public static readonly GE = 266; + public static readonly GT = 267; + public static readonly LBRACE = 268; + public static readonly LBRACKET = 269; + public static readonly LE = 270; + public static readonly LPAREN = 271; + public static readonly LT = 272; + public static readonly NOT_EQ = 273; + public static readonly PERCENT = 274; + public static readonly PLUS = 275; + public static readonly QUESTIONMARK = 276; + public static readonly QUOTE_DOUBLE = 277; + public static readonly QUOTE_SINGLE = 278; + public static readonly RBRACE = 279; + public static readonly RBRACKET = 280; + public static readonly RPAREN = 281; + public static readonly SEMICOLON = 282; + public static readonly SLASH = 283; + public static readonly UNDERSCORE = 284; + public static readonly MULTI_LINE_COMMENT = 285; + public static readonly SINGLE_LINE_COMMENT = 286; + public static readonly WHITESPACE = 287; public static readonly channelNames = [ "DEFAULT_TOKEN_CHANNEL", "HIDDEN" @@ -272,11 +324,16 @@ export class ClickHouseLexer extends antlr.Lexer { null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, - null, null, null, null, null, null, null, null, "'false'", "'true'", - null, null, null, null, null, null, "'->'", "'*'", "'`'", "'\'", - "':'", "','", "'||'", "'-'", "'.'", "'=='", "'='", "'>='", "'>'", - "'{'", "'['", "'<='", "'('", "'<'", null, "'%'", "'+'", "'?'", "'\"'", - "'''", "'}'", "']'", "')'", "';'", "'/'", "'_'" + null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, "'false'", "'true'", null, null, null, + null, null, null, "'->'", "'*'", "'`'", "'\'", "':'", "','", "'||'", + "'-'", "'.'", "'=='", "'='", "'>='", "'>'", "'{'", "'['", "'<='", + "'('", "'<'", null, "'%'", "'+'", "'?'", "'\"'", "'''", "'}'", "']'", + "')'", "';'", "'/'", "'_'" ]; public static readonly symbolicNames = [ @@ -307,14 +364,23 @@ export class ClickHouseLexer extends antlr.Lexer { "TIMESTAMP", "TO", "TOP", "TOTALS", "TRAILING", "TRIM", "TREE", "TRUNCATE", "TTL", "TYPE", "UNBOUNDED", "UNION", "UPDATE", "USE", "USING", "UUID", "VALUES", "VIEW", "VOLUME", "WATCH", "WEEK", "WHEN", - "WHERE", "WINDOW", "WITH", "YEAR", "JSON_FALSE", "JSON_TRUE", "IDENTIFIER", - "FLOATING_LITERAL", "OCTAL_LITERAL", "DECIMAL_LITERAL", "HEXADECIMAL_LITERAL", - "STRING_LITERAL", "ARROW", "ASTERISK", "BACKQUOTE", "BACKSLASH", - "COLON", "COMMA", "CONCAT", "DASH", "DOT", "EQ_DOUBLE", "EQ_SINGLE", - "GE", "GT", "LBRACE", "LBRACKET", "LE", "LPAREN", "LT", "NOT_EQ", - "PERCENT", "PLUS", "QUESTIONMARK", "QUOTE_DOUBLE", "QUOTE_SINGLE", - "RBRACE", "RBRACKET", "RPAREN", "SEMICOLON", "SLASH", "UNDERSCORE", - "MULTI_LINE_COMMENT", "SINGLE_LINE_COMMENT", "WHITESPACE" + "WHERE", "WINDOW", "WITH", "YEAR", "GRANT", "USER", "FETCH", "REFRESH", + "POLICY", "QUOTA", "ROLE", "PROFILE", "ARBITRARY", "COLUMNS", "CURRENT_USER", + "ACCESS", "SHOW_USERS", "SHOW_ROLES", "SHOW_ROW_POLICIES", "SHOW_QUOTAS", + "SHOW_SETTINGS_PROFILES", "SHUTDOWN", "CACHE", "DNS", "MARK", "PART", + "UNCOMPRESSED", "CONFIG", "EMBEDDED", "FUNCTIONS", "MOVES", "REPLICATION", + "QUEUES", "RESTART", "DICTGET", "DICTGETHIERARCHY", "DICTHAS", "DICTISIN", + "MANAGEMENT", "ADMIN", "INTROSPECTION", "ADDRESSTOLINE", "ADDRESSTOSYMBOL", + "DEMANGLE", "SOURCES", "FILE", "URL", "REMOTE", "MYSQL", "ODBC", + "JDBC", "HDFS", "S3", "SETTING", "OPTION", "NONE", "JSON_FALSE", + "JSON_TRUE", "IDENTIFIER", "FLOATING_LITERAL", "OCTAL_LITERAL", + "DECIMAL_LITERAL", "HEXADECIMAL_LITERAL", "STRING_LITERAL", "ARROW", + "ASTERISK", "BACKQUOTE", "BACKSLASH", "COLON", "COMMA", "CONCAT", + "DASH", "DOT", "EQ_DOUBLE", "EQ_SINGLE", "GE", "GT", "LBRACE", "LBRACKET", + "LE", "LPAREN", "LT", "NOT_EQ", "PERCENT", "PLUS", "QUESTIONMARK", + "QUOTE_DOUBLE", "QUOTE_SINGLE", "RBRACE", "RBRACKET", "RPAREN", + "SEMICOLON", "SLASH", "UNDERSCORE", "MULTI_LINE_COMMENT", "SINGLE_LINE_COMMENT", + "WHITESPACE" ]; public static readonly modeNames = [ @@ -349,17 +415,25 @@ export class ClickHouseLexer extends antlr.Lexer { "TIMESTAMP", "TO", "TOP", "TOTALS", "TRAILING", "TRIM", "TREE", "TRUNCATE", "TTL", "TYPE", "UNBOUNDED", "UNION", "UPDATE", "USE", "USING", "UUID", "VALUES", "VIEW", "VOLUME", "WATCH", "WEEK", "WHEN", - "WHERE", "WINDOW", "WITH", "YEAR", "JSON_FALSE", "JSON_TRUE", "IDENTIFIER", - "FLOATING_LITERAL", "OCTAL_LITERAL", "DECIMAL_LITERAL", "HEXADECIMAL_LITERAL", - "STRING_LITERAL", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", - "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", - "X", "Y", "Z", "LETTER", "OCT_DIGIT", "DEC_DIGIT", "HEX_DIGIT", - "ARROW", "ASTERISK", "BACKQUOTE", "BACKSLASH", "COLON", "COMMA", - "CONCAT", "DASH", "DOT", "EQ_DOUBLE", "EQ_SINGLE", "GE", "GT", "LBRACE", - "LBRACKET", "LE", "LPAREN", "LT", "NOT_EQ", "PERCENT", "PLUS", "QUESTIONMARK", - "QUOTE_DOUBLE", "QUOTE_SINGLE", "RBRACE", "RBRACKET", "RPAREN", - "SEMICOLON", "SLASH", "UNDERSCORE", "MULTI_LINE_COMMENT", "SINGLE_LINE_COMMENT", - "WHITESPACE", + "WHERE", "WINDOW", "WITH", "YEAR", "GRANT", "USER", "FETCH", "REFRESH", + "POLICY", "QUOTA", "ROLE", "PROFILE", "ARBITRARY", "COLUMNS", "CURRENT_USER", + "ACCESS", "SHOW_USERS", "SHOW_ROLES", "SHOW_ROW_POLICIES", "SHOW_QUOTAS", + "SHOW_SETTINGS_PROFILES", "SHUTDOWN", "CACHE", "DNS", "MARK", "PART", + "UNCOMPRESSED", "CONFIG", "EMBEDDED", "FUNCTIONS", "MOVES", "REPLICATION", + "QUEUES", "RESTART", "DICTGET", "DICTGETHIERARCHY", "DICTHAS", "DICTISIN", + "MANAGEMENT", "ADMIN", "INTROSPECTION", "ADDRESSTOLINE", "ADDRESSTOSYMBOL", + "DEMANGLE", "SOURCES", "FILE", "URL", "REMOTE", "MYSQL", "ODBC", + "JDBC", "HDFS", "S3", "SETTING", "OPTION", "NONE", "JSON_FALSE", + "JSON_TRUE", "IDENTIFIER", "FLOATING_LITERAL", "OCTAL_LITERAL", + "DECIMAL_LITERAL", "HEXADECIMAL_LITERAL", "STRING_LITERAL", "A", + "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", + "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "LETTER", + "OCT_DIGIT", "DEC_DIGIT", "HEX_DIGIT", "ARROW", "ASTERISK", "BACKQUOTE", + "BACKSLASH", "COLON", "COMMA", "CONCAT", "DASH", "DOT", "EQ_DOUBLE", + "EQ_SINGLE", "GE", "GT", "LBRACE", "LBRACKET", "LE", "LPAREN", "LT", + "NOT_EQ", "PERCENT", "PLUS", "QUESTIONMARK", "QUOTE_DOUBLE", "QUOTE_SINGLE", + "RBRACE", "RBRACKET", "RPAREN", "SEMICOLON", "SLASH", "UNDERSCORE", + "MULTI_LINE_COMMENT", "SINGLE_LINE_COMMENT", "WHITESPACE", ]; @@ -381,7 +455,7 @@ export class ClickHouseLexer extends antlr.Lexer { public get modeNames(): string[] { return ClickHouseLexer.modeNames; } public static readonly _serializedATN: number[] = [ - 4,0,235,2168,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7, + 4,0,287,2717,6,-1,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, @@ -426,823 +500,1051 @@ export class ClickHouseLexer extends antlr.Lexer { 7,246,2,247,7,247,2,248,7,248,2,249,7,249,2,250,7,250,2,251,7,251, 2,252,7,252,2,253,7,253,2,254,7,254,2,255,7,255,2,256,7,256,2,257, 7,257,2,258,7,258,2,259,7,259,2,260,7,260,2,261,7,261,2,262,7,262, - 2,263,7,263,2,264,7,264,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1, - 1,2,1,2,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4, - 1,5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,7,1,8,1,8,1,8, - 1,8,1,8,1,8,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10, - 1,10,1,10,1,10,1,10,1,10,1,10,3,10,594,8,10,1,11,1,11,1,11,1,11, - 1,11,1,12,1,12,1,12,1,12,1,13,1,13,1,13,1,13,1,13,1,13,1,14,1,14, - 1,14,1,14,1,14,1,14,1,14,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15, - 1,16,1,16,1,16,1,16,1,16,1,17,1,17,1,17,1,18,1,18,1,18,1,18,1,18, - 1,19,1,19,1,19,1,19,1,19,1,20,1,20,1,20,1,20,1,20,1,20,1,21,1,21, - 1,21,1,21,1,21,1,21,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,23, - 1,23,1,23,1,23,1,23,1,23,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24, - 1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,26,1,26,1,26,1,26,1,26,1,26, - 1,26,1,26,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27, - 1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,29,1,29,1,29,1,29,1,29,1,29, - 1,30,1,30,1,30,1,30,1,30,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31, - 1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,1,33,1,33,1,33,1,33, - 1,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,1,34,1,34,1,34,1,35,1,35, - 1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36, - 1,36,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38, - 1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,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,42, - 1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,43, - 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,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45, - 1,46,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47, - 1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48, - 1,49,1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,51,1,51,1,51, - 1,51,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,53,1,53,1,53,1,53,1,53, - 1,53,1,53,1,53,1,53,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,55,1,55, - 1,55,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,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,58,1,58, - 1,58,1,58,1,58,1,58,1,58,1,58,1,59,1,59,1,59,1,59,1,59,1,59,1,59, - 1,59,1,60,1,60,1,60,1,60,1,60,1,60,1,61,1,61,1,61,1,61,1,61,1,61, - 1,62,1,62,1,62,1,62,1,62,1,62,1,63,1,63,1,63,1,63,1,63,1,63,1,63, - 1,63,1,63,1,63,1,64,1,64,1,64,1,64,1,65,1,65,1,65,1,65,1,65,1,65, - 1,65,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,67,1,67,1,67,1,67,1,67, - 1,68,1,68,1,68,1,68,1,68,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69, - 1,69,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,71,1,71,1,71,1,71,1,71, - 1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,72,1,72,1,72,1,72,1,72,1,72, - 1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,74,1,74,1,74,1,74,1,74,1,74, - 1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,75,1,75,1,75,1,75,1,75,1,76, - 1,76,1,76,1,77,1,77,1,77,1,78,1,78,1,78,1,78,1,78,1,78,1,79,1,79, - 1,79,1,80,1,80,1,80,1,80,1,80,1,80,1,81,1,81,1,81,1,81,1,81,1,81, - 1,81,1,81,1,81,1,81,1,81,1,81,1,81,3,81,1101,8,81,1,82,1,82,1,82, - 1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,83,1,83,1,83,1,83,1,83,1,83, - 1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,85,1,85,1,85,1,85,1,85,1,85, - 1,85,1,85,1,85,1,86,1,86,1,86,1,86,1,86,1,87,1,87,1,87,1,88,1,88, - 1,88,1,88,1,88,1,88,1,88,1,88,1,88,1,88,1,88,1,88,1,88,1,89,1,89, - 1,89,1,89,1,89,1,90,1,90,1,90,1,90,1,91,1,91,1,91,1,91,1,91,1,92, - 1,92,1,92,1,92,1,92,1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,94,1,94, - 1,94,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,1,96,1,96,1,96,1,96,1,96,1,97,1,97,1,97,1,97,1,97,1,98, - 1,98,1,98,1,98,1,98,1,98,1,99,1,99,1,99,1,99,1,99,1,100,1,100,1, - 100,1,100,1,100,1,100,1,101,1,101,1,101,1,101,1,101,1,102,1,102, - 1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,102,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,104,1,104,1,104,1,104,1,105,1,105,1,105,1,105,1,105,1,105, - 1,105,1,106,1,106,1,106,1,106,1,107,1,107,1,107,1,107,1,107,1,107, - 1,107,1,108,1,108,1,108,1,108,1,108,1,108,1,108,1,109,1,109,1,109, - 1,109,1,109,1,109,1,110,1,110,1,110,1,110,1,110,1,111,1,111,1,111, - 1,111,1,111,1,111,1,111,1,111,1,111,1,112,1,112,1,112,1,112,1,113, - 1,113,1,113,1,114,1,114,1,114,1,114,1,115,1,115,1,115,1,115,1,115, - 1,116,1,116,1,116,1,116,1,116,1,116,1,117,1,117,1,117,1,117,1,117, - 1,117,1,117,1,118,1,118,1,118,1,119,1,119,1,119,1,119,1,119,1,119, - 1,119,1,119,1,119,1,120,1,120,1,120,1,121,1,121,1,121,1,121,1,121, - 1,121,1,122,1,122,1,122,1,122,1,122,1,122,1,123,1,123,1,123,1,123, - 1,123,1,123,1,123,1,123,1,124,1,124,1,124,1,124,1,124,1,125,1,125, - 1,125,1,125,1,125,1,125,1,125,1,125,1,125,1,125,1,126,1,126,1,126, - 1,126,1,126,1,126,1,126,1,126,1,126,1,127,1,127,1,127,1,127,1,127, - 1,128,1,128,1,128,1,128,1,128,1,128,1,128,1,128,1,128,1,129,1,129, - 1,129,1,129,1,129,1,129,1,129,1,129,1,129,1,129,1,130,1,130,1,130, - 1,130,1,130,1,130,1,130,1,130,1,130,1,131,1,131,1,131,1,131,1,131, - 1,131,1,131,1,131,1,132,1,132,1,132,1,132,1,132,1,132,1,132,1,132, - 1,132,1,132,1,132,1,133,1,133,1,133,1,133,1,133,1,133,1,133,1,133, - 1,134,1,134,1,134,1,134,1,134,1,134,1,135,1,135,1,135,1,135,1,135, - 1,135,1,136,1,136,1,136,1,136,1,136,1,136,1,136,1,137,1,137,1,137, - 1,137,1,137,1,137,1,137,1,138,1,138,1,138,1,138,1,138,1,138,1,138, - 1,139,1,139,1,139,1,139,1,139,1,139,1,139,1,139,1,140,1,140,1,140, - 1,140,1,140,1,140,1,140,1,140,1,141,1,141,1,141,1,141,1,141,1,141, - 1,141,1,141,1,141,1,141,1,141,1,142,1,142,1,142,1,142,1,142,1,142, - 1,143,1,143,1,143,1,143,1,143,1,143,1,143,1,144,1,144,1,144,1,144, - 1,145,1,145,1,145,1,145,1,145,1,146,1,146,1,146,1,146,1,146,1,146, - 1,146,1,147,1,147,1,147,1,147,1,147,1,147,1,147,1,148,1,148,1,148, - 1,148,1,148,1,148,1,148,1,149,1,149,1,149,1,149,1,149,1,150,1,150, - 1,150,1,150,1,150,1,150,1,151,1,151,1,151,1,151,1,152,1,152,1,152, - 1,152,1,152,1,152,1,152,1,152,1,152,1,153,1,153,1,153,1,153,1,153, - 1,154,1,154,1,154,1,154,1,154,1,154,1,154,1,155,1,155,1,155,1,155, - 1,155,1,155,1,156,1,156,1,156,1,156,1,156,1,157,1,157,1,157,1,157, - 1,157,1,157,1,157,1,157,1,157,1,157,1,158,1,158,1,158,1,158,1,158, - 1,159,1,159,1,159,1,159,1,159,1,159,1,159,1,160,1,160,1,160,1,160, - 1,160,1,160,1,160,1,161,1,161,1,161,1,161,1,161,1,161,1,162,1,162, - 1,162,1,162,1,162,1,162,1,162,1,163,1,163,1,163,1,163,1,163,1,163, - 1,163,1,163,1,163,1,163,1,164,1,164,1,164,1,164,1,164,1,165,1,165, - 1,165,1,165,1,165,1,166,1,166,1,166,1,166,1,166,1,167,1,167,1,167, - 1,167,1,167,1,167,1,167,1,167,1,168,1,168,1,168,1,168,1,168,1,168, - 1,168,1,168,1,168,1,168,1,169,1,169,1,169,1,170,1,170,1,170,1,170, - 1,171,1,171,1,171,1,171,1,171,1,171,1,171,1,172,1,172,1,172,1,172, - 1,172,1,172,1,172,1,172,1,172,1,173,1,173,1,173,1,173,1,173,1,174, - 1,174,1,174,1,174,1,174,1,175,1,175,1,175,1,175,1,175,1,175,1,175, - 1,175,1,175,1,176,1,176,1,176,1,176,1,177,1,177,1,177,1,177,1,177, - 1,178,1,178,1,178,1,178,1,178,1,178,1,178,1,178,1,178,1,178,1,179, - 1,179,1,179,1,179,1,179,1,179,1,180,1,180,1,180,1,180,1,180,1,180, - 1,180,1,181,1,181,1,181,1,181,1,182,1,182,1,182,1,182,1,182,1,182, - 1,183,1,183,1,183,1,183,1,183,1,184,1,184,1,184,1,184,1,184,1,184, - 1,184,1,185,1,185,1,185,1,185,1,185,1,186,1,186,1,186,1,186,1,186, - 1,186,1,186,1,187,1,187,1,187,1,187,1,187,1,187,1,188,1,188,1,188, - 1,188,1,188,1,189,1,189,1,189,1,189,1,189,1,190,1,190,1,190,1,190, - 1,190,1,190,1,191,1,191,1,191,1,191,1,191,1,191,1,191,1,192,1,192, - 1,192,1,192,1,192,1,193,1,193,1,193,1,193,1,193,1,193,1,193,1,193, - 1,193,1,193,3,193,1840,8,193,1,194,1,194,1,194,1,194,1,194,1,194, - 1,195,1,195,1,195,1,195,1,195,1,196,1,196,3,196,1855,8,196,1,196, - 1,196,1,196,5,196,1860,8,196,10,196,12,196,1863,9,196,1,196,1,196, - 1,196,1,196,1,196,1,196,1,196,1,196,5,196,1873,8,196,10,196,12,196, - 1876,9,196,1,196,1,196,1,196,1,196,1,196,1,196,1,196,1,196,1,196, - 1,196,5,196,1888,8,196,10,196,12,196,1891,9,196,1,196,1,196,3,196, - 1895,8,196,1,197,1,197,1,197,5,197,1900,8,197,10,197,12,197,1903, - 9,197,1,197,1,197,3,197,1907,8,197,1,197,1,197,3,197,1911,8,197, - 1,197,4,197,1914,8,197,11,197,12,197,1915,1,197,1,197,1,197,3,197, - 1921,8,197,1,197,1,197,3,197,1925,8,197,1,197,4,197,1928,8,197,11, - 197,12,197,1929,1,197,1,197,1,197,5,197,1935,8,197,10,197,12,197, - 1938,9,197,1,197,1,197,1,197,3,197,1943,8,197,1,197,4,197,1946,8, - 197,11,197,12,197,1947,1,197,1,197,1,197,1,197,1,197,3,197,1955, - 8,197,1,197,4,197,1958,8,197,11,197,12,197,1959,1,197,1,197,1,197, - 1,197,3,197,1966,8,197,1,197,4,197,1969,8,197,11,197,12,197,1970, - 3,197,1973,8,197,1,198,1,198,4,198,1977,8,198,11,198,12,198,1978, - 1,199,4,199,1982,8,199,11,199,12,199,1983,1,200,1,200,1,200,4,200, - 1989,8,200,11,200,12,200,1990,1,201,1,201,1,201,1,201,1,201,1,201, - 1,201,1,201,5,201,2001,8,201,10,201,12,201,2004,9,201,1,201,1,201, - 1,202,1,202,1,203,1,203,1,204,1,204,1,205,1,205,1,206,1,206,1,207, - 1,207,1,208,1,208,1,209,1,209,1,210,1,210,1,211,1,211,1,212,1,212, - 1,213,1,213,1,214,1,214,1,215,1,215,1,216,1,216,1,217,1,217,1,218, - 1,218,1,219,1,219,1,220,1,220,1,221,1,221,1,222,1,222,1,223,1,223, - 1,224,1,224,1,225,1,225,1,226,1,226,1,227,1,227,1,228,1,228,1,229, - 1,229,1,230,1,230,1,231,1,231,1,232,1,232,1,232,1,233,1,233,1,234, - 1,234,1,235,1,235,1,236,1,236,1,237,1,237,1,238,1,238,1,238,1,239, - 1,239,1,240,1,240,1,241,1,241,1,241,1,242,1,242,1,243,1,243,1,243, - 1,244,1,244,1,245,1,245,1,246,1,246,1,247,1,247,1,247,1,248,1,248, - 1,249,1,249,1,250,1,250,1,250,1,250,3,250,2113,8,250,1,251,1,251, - 1,252,1,252,1,253,1,253,1,254,1,254,1,255,1,255,1,256,1,256,1,257, - 1,257,1,258,1,258,1,259,1,259,1,260,1,260,1,261,1,261,1,262,1,262, - 1,262,1,262,5,262,2141,8,262,10,262,12,262,2144,9,262,1,262,1,262, - 1,262,1,262,1,262,1,263,1,263,1,263,1,263,5,263,2155,8,263,10,263, - 12,263,2158,9,263,1,263,3,263,2161,8,263,1,263,1,263,1,264,1,264, - 1,264,1,264,1,2142,0,265,1,1,3,2,5,3,7,4,9,5,11,6,13,7,15,8,17,9, - 19,10,21,11,23,12,25,13,27,14,29,15,31,16,33,17,35,18,37,19,39,20, - 41,21,43,22,45,23,47,24,49,25,51,26,53,27,55,28,57,29,59,30,61,31, - 63,32,65,33,67,34,69,35,71,36,73,37,75,38,77,39,79,40,81,41,83,42, - 85,43,87,44,89,45,91,46,93,47,95,48,97,49,99,50,101,51,103,52,105, - 53,107,54,109,55,111,56,113,57,115,58,117,59,119,60,121,61,123,62, - 125,63,127,64,129,65,131,66,133,67,135,68,137,69,139,70,141,71,143, - 72,145,73,147,74,149,75,151,76,153,77,155,78,157,79,159,80,161,81, - 163,82,165,83,167,84,169,85,171,86,173,87,175,88,177,89,179,90,181, - 91,183,92,185,93,187,94,189,95,191,96,193,97,195,98,197,99,199,100, - 201,101,203,102,205,103,207,104,209,105,211,106,213,107,215,108, - 217,109,219,110,221,111,223,112,225,113,227,114,229,115,231,116, - 233,117,235,118,237,119,239,120,241,121,243,122,245,123,247,124, - 249,125,251,126,253,127,255,128,257,129,259,130,261,131,263,132, - 265,133,267,134,269,135,271,136,273,137,275,138,277,139,279,140, - 281,141,283,142,285,143,287,144,289,145,291,146,293,147,295,148, - 297,149,299,150,301,151,303,152,305,153,307,154,309,155,311,156, - 313,157,315,158,317,159,319,160,321,161,323,162,325,163,327,164, - 329,165,331,166,333,167,335,168,337,169,339,170,341,171,343,172, - 345,173,347,174,349,175,351,176,353,177,355,178,357,179,359,180, - 361,181,363,182,365,183,367,184,369,185,371,186,373,187,375,188, - 377,189,379,190,381,191,383,192,385,193,387,194,389,195,391,196, - 393,197,395,198,397,199,399,200,401,201,403,202,405,0,407,0,409, - 0,411,0,413,0,415,0,417,0,419,0,421,0,423,0,425,0,427,0,429,0,431, - 0,433,0,435,0,437,0,439,0,441,0,443,0,445,0,447,0,449,0,451,0,453, - 0,455,0,457,0,459,0,461,0,463,0,465,203,467,204,469,205,471,206, - 473,207,475,208,477,209,479,210,481,211,483,212,485,213,487,214, - 489,215,491,216,493,217,495,218,497,219,499,220,501,221,503,222, - 505,223,507,224,509,225,511,226,513,227,515,228,517,229,519,230, - 521,231,523,232,525,233,527,234,529,235,1,0,36,2,0,92,92,96,96,2, - 0,34,34,92,92,2,0,39,39,92,92,2,0,65,65,97,97,2,0,66,66,98,98,2, - 0,67,67,99,99,2,0,68,68,100,100,2,0,69,69,101,101,2,0,70,70,102, - 102,2,0,71,71,103,103,2,0,72,72,104,104,2,0,73,73,105,105,2,0,74, - 74,106,106,2,0,75,75,107,107,2,0,76,76,108,108,2,0,77,77,109,109, - 2,0,78,78,110,110,2,0,79,79,111,111,2,0,80,80,112,112,2,0,81,81, - 113,113,2,0,82,82,114,114,2,0,83,83,115,115,2,0,84,84,116,116,2, - 0,85,85,117,117,2,0,86,86,118,118,2,0,87,87,119,119,2,0,88,88,120, - 120,2,0,89,89,121,121,2,0,90,90,122,122,2,0,65,90,97,122,1,0,48, - 55,1,0,48,57,3,0,48,57,65,70,97,102,2,0,10,10,13,13,2,1,10,10,13, - 13,2,0,9,13,32,32,2184,0,1,1,0,0,0,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1, - 0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1, - 0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,23,1,0,0,0,0,25,1,0,0,0,0,27,1, - 0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1, - 0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1, - 0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1, - 0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1, - 0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1, - 0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1, - 0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1, - 0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107, - 1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0, - 0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1, - 0,0,0,0,127,1,0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133,1,0,0,0,0, - 135,1,0,0,0,0,137,1,0,0,0,0,139,1,0,0,0,0,141,1,0,0,0,0,143,1,0, - 0,0,0,145,1,0,0,0,0,147,1,0,0,0,0,149,1,0,0,0,0,151,1,0,0,0,0,153, - 1,0,0,0,0,155,1,0,0,0,0,157,1,0,0,0,0,159,1,0,0,0,0,161,1,0,0,0, - 0,163,1,0,0,0,0,165,1,0,0,0,0,167,1,0,0,0,0,169,1,0,0,0,0,171,1, - 0,0,0,0,173,1,0,0,0,0,175,1,0,0,0,0,177,1,0,0,0,0,179,1,0,0,0,0, - 181,1,0,0,0,0,183,1,0,0,0,0,185,1,0,0,0,0,187,1,0,0,0,0,189,1,0, - 0,0,0,191,1,0,0,0,0,193,1,0,0,0,0,195,1,0,0,0,0,197,1,0,0,0,0,199, - 1,0,0,0,0,201,1,0,0,0,0,203,1,0,0,0,0,205,1,0,0,0,0,207,1,0,0,0, - 0,209,1,0,0,0,0,211,1,0,0,0,0,213,1,0,0,0,0,215,1,0,0,0,0,217,1, - 0,0,0,0,219,1,0,0,0,0,221,1,0,0,0,0,223,1,0,0,0,0,225,1,0,0,0,0, - 227,1,0,0,0,0,229,1,0,0,0,0,231,1,0,0,0,0,233,1,0,0,0,0,235,1,0, - 0,0,0,237,1,0,0,0,0,239,1,0,0,0,0,241,1,0,0,0,0,243,1,0,0,0,0,245, - 1,0,0,0,0,247,1,0,0,0,0,249,1,0,0,0,0,251,1,0,0,0,0,253,1,0,0,0, - 0,255,1,0,0,0,0,257,1,0,0,0,0,259,1,0,0,0,0,261,1,0,0,0,0,263,1, - 0,0,0,0,265,1,0,0,0,0,267,1,0,0,0,0,269,1,0,0,0,0,271,1,0,0,0,0, - 273,1,0,0,0,0,275,1,0,0,0,0,277,1,0,0,0,0,279,1,0,0,0,0,281,1,0, - 0,0,0,283,1,0,0,0,0,285,1,0,0,0,0,287,1,0,0,0,0,289,1,0,0,0,0,291, - 1,0,0,0,0,293,1,0,0,0,0,295,1,0,0,0,0,297,1,0,0,0,0,299,1,0,0,0, - 0,301,1,0,0,0,0,303,1,0,0,0,0,305,1,0,0,0,0,307,1,0,0,0,0,309,1, - 0,0,0,0,311,1,0,0,0,0,313,1,0,0,0,0,315,1,0,0,0,0,317,1,0,0,0,0, - 319,1,0,0,0,0,321,1,0,0,0,0,323,1,0,0,0,0,325,1,0,0,0,0,327,1,0, - 0,0,0,329,1,0,0,0,0,331,1,0,0,0,0,333,1,0,0,0,0,335,1,0,0,0,0,337, - 1,0,0,0,0,339,1,0,0,0,0,341,1,0,0,0,0,343,1,0,0,0,0,345,1,0,0,0, - 0,347,1,0,0,0,0,349,1,0,0,0,0,351,1,0,0,0,0,353,1,0,0,0,0,355,1, - 0,0,0,0,357,1,0,0,0,0,359,1,0,0,0,0,361,1,0,0,0,0,363,1,0,0,0,0, - 365,1,0,0,0,0,367,1,0,0,0,0,369,1,0,0,0,0,371,1,0,0,0,0,373,1,0, - 0,0,0,375,1,0,0,0,0,377,1,0,0,0,0,379,1,0,0,0,0,381,1,0,0,0,0,383, - 1,0,0,0,0,385,1,0,0,0,0,387,1,0,0,0,0,389,1,0,0,0,0,391,1,0,0,0, - 0,393,1,0,0,0,0,395,1,0,0,0,0,397,1,0,0,0,0,399,1,0,0,0,0,401,1, - 0,0,0,0,403,1,0,0,0,0,465,1,0,0,0,0,467,1,0,0,0,0,469,1,0,0,0,0, - 471,1,0,0,0,0,473,1,0,0,0,0,475,1,0,0,0,0,477,1,0,0,0,0,479,1,0, - 0,0,0,481,1,0,0,0,0,483,1,0,0,0,0,485,1,0,0,0,0,487,1,0,0,0,0,489, - 1,0,0,0,0,491,1,0,0,0,0,493,1,0,0,0,0,495,1,0,0,0,0,497,1,0,0,0, - 0,499,1,0,0,0,0,501,1,0,0,0,0,503,1,0,0,0,0,505,1,0,0,0,0,507,1, - 0,0,0,0,509,1,0,0,0,0,511,1,0,0,0,0,513,1,0,0,0,0,515,1,0,0,0,0, - 517,1,0,0,0,0,519,1,0,0,0,0,521,1,0,0,0,0,523,1,0,0,0,0,525,1,0, - 0,0,0,527,1,0,0,0,0,529,1,0,0,0,1,531,1,0,0,0,3,535,1,0,0,0,5,541, - 1,0,0,0,7,547,1,0,0,0,9,551,1,0,0,0,11,557,1,0,0,0,13,561,1,0,0, - 0,15,566,1,0,0,0,17,570,1,0,0,0,19,576,1,0,0,0,21,593,1,0,0,0,23, - 595,1,0,0,0,25,600,1,0,0,0,27,604,1,0,0,0,29,610,1,0,0,0,31,617, - 1,0,0,0,33,625,1,0,0,0,35,630,1,0,0,0,37,633,1,0,0,0,39,638,1,0, - 0,0,41,643,1,0,0,0,43,649,1,0,0,0,45,655,1,0,0,0,47,663,1,0,0,0, - 49,669,1,0,0,0,51,677,1,0,0,0,53,684,1,0,0,0,55,692,1,0,0,0,57,703, - 1,0,0,0,59,710,1,0,0,0,61,716,1,0,0,0,63,721,1,0,0,0,65,729,1,0, - 0,0,67,738,1,0,0,0,69,748,1,0,0,0,71,753,1,0,0,0,73,757,1,0,0,0, - 75,769,1,0,0,0,77,777,1,0,0,0,79,783,1,0,0,0,81,790,1,0,0,0,83,795, - 1,0,0,0,85,806,1,0,0,0,87,815,1,0,0,0,89,822,1,0,0,0,91,835,1,0, - 0,0,93,846,1,0,0,0,95,851,1,0,0,0,97,860,1,0,0,0,99,872,1,0,0,0, - 101,877,1,0,0,0,103,882,1,0,0,0,105,886,1,0,0,0,107,893,1,0,0,0, - 109,902,1,0,0,0,111,909,1,0,0,0,113,916,1,0,0,0,115,924,1,0,0,0, - 117,935,1,0,0,0,119,943,1,0,0,0,121,951,1,0,0,0,123,957,1,0,0,0, - 125,963,1,0,0,0,127,969,1,0,0,0,129,979,1,0,0,0,131,983,1,0,0,0, - 133,990,1,0,0,0,135,997,1,0,0,0,137,1002,1,0,0,0,139,1007,1,0,0, - 0,141,1016,1,0,0,0,143,1023,1,0,0,0,145,1035,1,0,0,0,147,1041,1, - 0,0,0,149,1048,1,0,0,0,151,1061,1,0,0,0,153,1066,1,0,0,0,155,1069, - 1,0,0,0,157,1072,1,0,0,0,159,1078,1,0,0,0,161,1081,1,0,0,0,163,1100, - 1,0,0,0,165,1102,1,0,0,0,167,1112,1,0,0,0,169,1118,1,0,0,0,171,1125, - 1,0,0,0,173,1134,1,0,0,0,175,1139,1,0,0,0,177,1142,1,0,0,0,179,1155, - 1,0,0,0,181,1160,1,0,0,0,183,1164,1,0,0,0,185,1169,1,0,0,0,187,1174, - 1,0,0,0,189,1181,1,0,0,0,191,1189,1,0,0,0,193,1194,1,0,0,0,195,1203, - 1,0,0,0,197,1208,1,0,0,0,199,1214,1,0,0,0,201,1219,1,0,0,0,203,1225, - 1,0,0,0,205,1230,1,0,0,0,207,1242,1,0,0,0,209,1255,1,0,0,0,211,1259, - 1,0,0,0,213,1266,1,0,0,0,215,1270,1,0,0,0,217,1277,1,0,0,0,219,1284, - 1,0,0,0,221,1290,1,0,0,0,223,1295,1,0,0,0,225,1304,1,0,0,0,227,1308, - 1,0,0,0,229,1311,1,0,0,0,231,1315,1,0,0,0,233,1320,1,0,0,0,235,1326, - 1,0,0,0,237,1333,1,0,0,0,239,1336,1,0,0,0,241,1345,1,0,0,0,243,1348, - 1,0,0,0,245,1354,1,0,0,0,247,1360,1,0,0,0,249,1368,1,0,0,0,251,1373, - 1,0,0,0,253,1383,1,0,0,0,255,1392,1,0,0,0,257,1397,1,0,0,0,259,1406, - 1,0,0,0,261,1416,1,0,0,0,263,1425,1,0,0,0,265,1433,1,0,0,0,267,1444, - 1,0,0,0,269,1452,1,0,0,0,271,1458,1,0,0,0,273,1464,1,0,0,0,275,1471, - 1,0,0,0,277,1478,1,0,0,0,279,1485,1,0,0,0,281,1493,1,0,0,0,283,1501, - 1,0,0,0,285,1512,1,0,0,0,287,1518,1,0,0,0,289,1525,1,0,0,0,291,1529, - 1,0,0,0,293,1534,1,0,0,0,295,1541,1,0,0,0,297,1548,1,0,0,0,299,1555, - 1,0,0,0,301,1560,1,0,0,0,303,1566,1,0,0,0,305,1570,1,0,0,0,307,1579, - 1,0,0,0,309,1584,1,0,0,0,311,1591,1,0,0,0,313,1597,1,0,0,0,315,1602, - 1,0,0,0,317,1612,1,0,0,0,319,1617,1,0,0,0,321,1624,1,0,0,0,323,1631, - 1,0,0,0,325,1637,1,0,0,0,327,1644,1,0,0,0,329,1654,1,0,0,0,331,1659, - 1,0,0,0,333,1664,1,0,0,0,335,1669,1,0,0,0,337,1677,1,0,0,0,339,1687, - 1,0,0,0,341,1690,1,0,0,0,343,1694,1,0,0,0,345,1701,1,0,0,0,347,1710, - 1,0,0,0,349,1715,1,0,0,0,351,1720,1,0,0,0,353,1729,1,0,0,0,355,1733, - 1,0,0,0,357,1738,1,0,0,0,359,1748,1,0,0,0,361,1754,1,0,0,0,363,1761, - 1,0,0,0,365,1765,1,0,0,0,367,1771,1,0,0,0,369,1776,1,0,0,0,371,1783, - 1,0,0,0,373,1788,1,0,0,0,375,1795,1,0,0,0,377,1801,1,0,0,0,379,1806, - 1,0,0,0,381,1811,1,0,0,0,383,1817,1,0,0,0,385,1824,1,0,0,0,387,1839, - 1,0,0,0,389,1841,1,0,0,0,391,1847,1,0,0,0,393,1894,1,0,0,0,395,1972, - 1,0,0,0,397,1974,1,0,0,0,399,1981,1,0,0,0,401,1985,1,0,0,0,403,1992, - 1,0,0,0,405,2007,1,0,0,0,407,2009,1,0,0,0,409,2011,1,0,0,0,411,2013, - 1,0,0,0,413,2015,1,0,0,0,415,2017,1,0,0,0,417,2019,1,0,0,0,419,2021, - 1,0,0,0,421,2023,1,0,0,0,423,2025,1,0,0,0,425,2027,1,0,0,0,427,2029, - 1,0,0,0,429,2031,1,0,0,0,431,2033,1,0,0,0,433,2035,1,0,0,0,435,2037, - 1,0,0,0,437,2039,1,0,0,0,439,2041,1,0,0,0,441,2043,1,0,0,0,443,2045, - 1,0,0,0,445,2047,1,0,0,0,447,2049,1,0,0,0,449,2051,1,0,0,0,451,2053, - 1,0,0,0,453,2055,1,0,0,0,455,2057,1,0,0,0,457,2059,1,0,0,0,459,2061, - 1,0,0,0,461,2063,1,0,0,0,463,2065,1,0,0,0,465,2067,1,0,0,0,467,2070, - 1,0,0,0,469,2072,1,0,0,0,471,2074,1,0,0,0,473,2076,1,0,0,0,475,2078, - 1,0,0,0,477,2080,1,0,0,0,479,2083,1,0,0,0,481,2085,1,0,0,0,483,2087, - 1,0,0,0,485,2090,1,0,0,0,487,2092,1,0,0,0,489,2095,1,0,0,0,491,2097, - 1,0,0,0,493,2099,1,0,0,0,495,2101,1,0,0,0,497,2104,1,0,0,0,499,2106, - 1,0,0,0,501,2112,1,0,0,0,503,2114,1,0,0,0,505,2116,1,0,0,0,507,2118, - 1,0,0,0,509,2120,1,0,0,0,511,2122,1,0,0,0,513,2124,1,0,0,0,515,2126, - 1,0,0,0,517,2128,1,0,0,0,519,2130,1,0,0,0,521,2132,1,0,0,0,523,2134, - 1,0,0,0,525,2136,1,0,0,0,527,2150,1,0,0,0,529,2164,1,0,0,0,531,532, - 3,405,202,0,532,533,3,411,205,0,533,534,3,411,205,0,534,2,1,0,0, - 0,535,536,3,405,202,0,536,537,3,415,207,0,537,538,3,443,221,0,538, - 539,3,413,206,0,539,540,3,439,219,0,540,4,1,0,0,0,541,542,3,405, - 202,0,542,543,3,427,213,0,543,544,3,421,210,0,544,545,3,405,202, - 0,545,546,3,441,220,0,546,6,1,0,0,0,547,548,3,405,202,0,548,549, - 3,427,213,0,549,550,3,427,213,0,550,8,1,0,0,0,551,552,3,405,202, - 0,552,553,3,427,213,0,553,554,3,443,221,0,554,555,3,413,206,0,555, - 556,3,439,219,0,556,10,1,0,0,0,557,558,3,405,202,0,558,559,3,431, - 215,0,559,560,3,411,205,0,560,12,1,0,0,0,561,562,3,405,202,0,562, - 563,3,431,215,0,563,564,3,443,221,0,564,565,3,421,210,0,565,14,1, - 0,0,0,566,567,3,405,202,0,567,568,3,431,215,0,568,569,3,453,226, - 0,569,16,1,0,0,0,570,571,3,405,202,0,571,572,3,439,219,0,572,573, - 3,439,219,0,573,574,3,405,202,0,574,575,3,453,226,0,575,18,1,0,0, - 0,576,577,3,405,202,0,577,578,3,441,220,0,578,20,1,0,0,0,579,580, - 3,405,202,0,580,581,3,441,220,0,581,582,3,409,204,0,582,594,1,0, - 0,0,583,584,3,405,202,0,584,585,3,441,220,0,585,586,3,409,204,0, - 586,587,3,413,206,0,587,588,3,431,215,0,588,589,3,411,205,0,589, - 590,3,421,210,0,590,591,3,431,215,0,591,592,3,417,208,0,592,594, - 1,0,0,0,593,579,1,0,0,0,593,583,1,0,0,0,594,22,1,0,0,0,595,596,3, - 405,202,0,596,597,3,441,220,0,597,598,3,433,216,0,598,599,3,415, - 207,0,599,24,1,0,0,0,600,601,3,405,202,0,601,602,3,441,220,0,602, - 603,3,443,221,0,603,26,1,0,0,0,604,605,3,405,202,0,605,606,3,441, - 220,0,606,607,3,453,226,0,607,608,3,431,215,0,608,609,3,409,204, - 0,609,28,1,0,0,0,610,611,3,405,202,0,611,612,3,443,221,0,612,613, - 3,443,221,0,613,614,3,405,202,0,614,615,3,409,204,0,615,616,3,419, - 209,0,616,30,1,0,0,0,617,618,3,407,203,0,618,619,3,413,206,0,619, - 620,3,443,221,0,620,621,3,449,224,0,621,622,3,413,206,0,622,623, - 3,413,206,0,623,624,3,431,215,0,624,32,1,0,0,0,625,626,3,407,203, - 0,626,627,3,433,216,0,627,628,3,443,221,0,628,629,3,419,209,0,629, - 34,1,0,0,0,630,631,3,407,203,0,631,632,3,453,226,0,632,36,1,0,0, - 0,633,634,3,409,204,0,634,635,3,405,202,0,635,636,3,441,220,0,636, - 637,3,413,206,0,637,38,1,0,0,0,638,639,3,409,204,0,639,640,3,405, - 202,0,640,641,3,441,220,0,641,642,3,443,221,0,642,40,1,0,0,0,643, - 644,3,409,204,0,644,645,3,419,209,0,645,646,3,413,206,0,646,647, - 3,409,204,0,647,648,3,425,212,0,648,42,1,0,0,0,649,650,3,409,204, - 0,650,651,3,427,213,0,651,652,3,413,206,0,652,653,3,405,202,0,653, - 654,3,439,219,0,654,44,1,0,0,0,655,656,3,409,204,0,656,657,3,427, - 213,0,657,658,3,445,222,0,658,659,3,441,220,0,659,660,3,443,221, - 0,660,661,3,413,206,0,661,662,3,439,219,0,662,46,1,0,0,0,663,664, - 3,409,204,0,664,665,3,433,216,0,665,666,3,411,205,0,666,667,3,413, - 206,0,667,668,3,409,204,0,668,48,1,0,0,0,669,670,3,409,204,0,670, - 671,3,433,216,0,671,672,3,427,213,0,672,673,3,427,213,0,673,674, - 3,405,202,0,674,675,3,443,221,0,675,676,3,413,206,0,676,50,1,0,0, - 0,677,678,3,409,204,0,678,679,3,433,216,0,679,680,3,427,213,0,680, - 681,3,445,222,0,681,682,3,429,214,0,682,683,3,431,215,0,683,52,1, - 0,0,0,684,685,3,409,204,0,685,686,3,433,216,0,686,687,3,429,214, - 0,687,688,3,429,214,0,688,689,3,413,206,0,689,690,3,431,215,0,690, - 691,3,443,221,0,691,54,1,0,0,0,692,693,3,409,204,0,693,694,3,433, - 216,0,694,695,3,431,215,0,695,696,3,441,220,0,696,697,3,443,221, - 0,697,698,3,439,219,0,698,699,3,405,202,0,699,700,3,421,210,0,700, - 701,3,431,215,0,701,702,3,443,221,0,702,56,1,0,0,0,703,704,3,409, - 204,0,704,705,3,439,219,0,705,706,3,413,206,0,706,707,3,405,202, - 0,707,708,3,443,221,0,708,709,3,413,206,0,709,58,1,0,0,0,710,711, - 3,409,204,0,711,712,3,439,219,0,712,713,3,433,216,0,713,714,3,441, - 220,0,714,715,3,441,220,0,715,60,1,0,0,0,716,717,3,409,204,0,717, - 718,3,445,222,0,718,719,3,407,203,0,719,720,3,413,206,0,720,62,1, - 0,0,0,721,722,3,409,204,0,722,723,3,445,222,0,723,724,3,439,219, - 0,724,725,3,439,219,0,725,726,3,413,206,0,726,727,3,431,215,0,727, - 728,3,443,221,0,728,64,1,0,0,0,729,730,3,411,205,0,730,731,3,405, - 202,0,731,732,3,443,221,0,732,733,3,405,202,0,733,734,3,407,203, - 0,734,735,3,405,202,0,735,736,3,441,220,0,736,737,3,413,206,0,737, - 66,1,0,0,0,738,739,3,411,205,0,739,740,3,405,202,0,740,741,3,443, - 221,0,741,742,3,405,202,0,742,743,3,407,203,0,743,744,3,405,202, - 0,744,745,3,441,220,0,745,746,3,413,206,0,746,747,3,441,220,0,747, - 68,1,0,0,0,748,749,3,411,205,0,749,750,3,405,202,0,750,751,3,443, - 221,0,751,752,3,413,206,0,752,70,1,0,0,0,753,754,3,411,205,0,754, - 755,3,405,202,0,755,756,3,453,226,0,756,72,1,0,0,0,757,758,3,411, - 205,0,758,759,3,413,206,0,759,760,3,411,205,0,760,761,3,445,222, - 0,761,762,3,435,217,0,762,763,3,427,213,0,763,764,3,421,210,0,764, - 765,3,409,204,0,765,766,3,405,202,0,766,767,3,443,221,0,767,768, - 3,413,206,0,768,74,1,0,0,0,769,770,3,411,205,0,770,771,3,413,206, - 0,771,772,3,415,207,0,772,773,3,405,202,0,773,774,3,445,222,0,774, - 775,3,427,213,0,775,776,3,443,221,0,776,76,1,0,0,0,777,778,3,411, - 205,0,778,779,3,413,206,0,779,780,3,427,213,0,780,781,3,405,202, - 0,781,782,3,453,226,0,782,78,1,0,0,0,783,784,3,411,205,0,784,785, - 3,413,206,0,785,786,3,427,213,0,786,787,3,413,206,0,787,788,3,443, - 221,0,788,789,3,413,206,0,789,80,1,0,0,0,790,791,3,411,205,0,791, - 792,3,413,206,0,792,793,3,441,220,0,793,794,3,409,204,0,794,82,1, - 0,0,0,795,796,3,411,205,0,796,797,3,413,206,0,797,798,3,441,220, - 0,798,799,3,409,204,0,799,800,3,413,206,0,800,801,3,431,215,0,801, - 802,3,411,205,0,802,803,3,421,210,0,803,804,3,431,215,0,804,805, - 3,417,208,0,805,84,1,0,0,0,806,807,3,411,205,0,807,808,3,413,206, - 0,808,809,3,441,220,0,809,810,3,409,204,0,810,811,3,439,219,0,811, - 812,3,421,210,0,812,813,3,407,203,0,813,814,3,413,206,0,814,86,1, - 0,0,0,815,816,3,411,205,0,816,817,3,413,206,0,817,818,3,443,221, - 0,818,819,3,405,202,0,819,820,3,409,204,0,820,821,3,419,209,0,821, - 88,1,0,0,0,822,823,3,411,205,0,823,824,3,421,210,0,824,825,3,409, - 204,0,825,826,3,443,221,0,826,827,3,421,210,0,827,828,3,433,216, - 0,828,829,3,431,215,0,829,830,3,405,202,0,830,831,3,439,219,0,831, - 832,3,421,210,0,832,833,3,413,206,0,833,834,3,441,220,0,834,90,1, - 0,0,0,835,836,3,411,205,0,836,837,3,421,210,0,837,838,3,409,204, - 0,838,839,3,443,221,0,839,840,3,421,210,0,840,841,3,433,216,0,841, - 842,3,431,215,0,842,843,3,405,202,0,843,844,3,439,219,0,844,845, - 3,453,226,0,845,92,1,0,0,0,846,847,3,411,205,0,847,848,3,421,210, - 0,848,849,3,441,220,0,849,850,3,425,212,0,850,94,1,0,0,0,851,852, - 3,411,205,0,852,853,3,421,210,0,853,854,3,441,220,0,854,855,3,443, - 221,0,855,856,3,421,210,0,856,857,3,431,215,0,857,858,3,409,204, - 0,858,859,3,443,221,0,859,96,1,0,0,0,860,861,3,411,205,0,861,862, - 3,421,210,0,862,863,3,441,220,0,863,864,3,443,221,0,864,865,3,439, - 219,0,865,866,3,421,210,0,866,867,3,407,203,0,867,868,3,445,222, - 0,868,869,3,443,221,0,869,870,3,413,206,0,870,871,3,411,205,0,871, - 98,1,0,0,0,872,873,3,411,205,0,873,874,3,439,219,0,874,875,3,433, - 216,0,875,876,3,435,217,0,876,100,1,0,0,0,877,878,3,413,206,0,878, - 879,3,427,213,0,879,880,3,441,220,0,880,881,3,413,206,0,881,102, - 1,0,0,0,882,883,3,413,206,0,883,884,3,431,215,0,884,885,3,411,205, - 0,885,104,1,0,0,0,886,887,3,413,206,0,887,888,3,431,215,0,888,889, - 3,417,208,0,889,890,3,421,210,0,890,891,3,431,215,0,891,892,3,413, - 206,0,892,106,1,0,0,0,893,894,3,413,206,0,894,895,3,441,220,0,895, - 896,3,443,221,0,896,897,3,421,210,0,897,898,3,429,214,0,898,899, - 3,405,202,0,899,900,3,443,221,0,900,901,3,413,206,0,901,108,1,0, - 0,0,902,903,3,413,206,0,903,904,3,447,223,0,904,905,3,413,206,0, - 905,906,3,431,215,0,906,907,3,443,221,0,907,908,3,441,220,0,908, - 110,1,0,0,0,909,910,3,413,206,0,910,911,3,451,225,0,911,912,3,421, - 210,0,912,913,3,441,220,0,913,914,3,443,221,0,914,915,3,441,220, - 0,915,112,1,0,0,0,916,917,3,413,206,0,917,918,3,451,225,0,918,919, - 3,435,217,0,919,920,3,427,213,0,920,921,3,405,202,0,921,922,3,421, - 210,0,922,923,3,431,215,0,923,114,1,0,0,0,924,925,3,413,206,0,925, - 926,3,451,225,0,926,927,3,435,217,0,927,928,3,439,219,0,928,929, - 3,413,206,0,929,930,3,441,220,0,930,931,3,441,220,0,931,932,3,421, - 210,0,932,933,3,433,216,0,933,934,3,431,215,0,934,116,1,0,0,0,935, - 936,3,413,206,0,936,937,3,451,225,0,937,938,3,443,221,0,938,939, - 3,439,219,0,939,940,3,405,202,0,940,941,3,409,204,0,941,942,3,443, - 221,0,942,118,1,0,0,0,943,944,3,415,207,0,944,945,3,413,206,0,945, - 946,3,443,221,0,946,947,3,409,204,0,947,948,3,419,209,0,948,949, - 3,413,206,0,949,950,3,441,220,0,950,120,1,0,0,0,951,952,3,415,207, - 0,952,953,3,421,210,0,953,954,3,431,215,0,954,955,3,405,202,0,955, - 956,3,427,213,0,956,122,1,0,0,0,957,958,3,415,207,0,958,959,3,421, - 210,0,959,960,3,439,219,0,960,961,3,441,220,0,961,962,3,443,221, - 0,962,124,1,0,0,0,963,964,3,415,207,0,964,965,3,427,213,0,965,966, - 3,445,222,0,966,967,3,441,220,0,967,968,3,419,209,0,968,126,1,0, - 0,0,969,970,3,415,207,0,970,971,3,433,216,0,971,972,3,427,213,0, - 972,973,3,427,213,0,973,974,3,433,216,0,974,975,3,449,224,0,975, - 976,3,421,210,0,976,977,3,431,215,0,977,978,3,417,208,0,978,128, - 1,0,0,0,979,980,3,415,207,0,980,981,3,433,216,0,981,982,3,439,219, - 0,982,130,1,0,0,0,983,984,3,415,207,0,984,985,3,433,216,0,985,986, - 3,439,219,0,986,987,3,429,214,0,987,988,3,405,202,0,988,989,3,443, - 221,0,989,132,1,0,0,0,990,991,3,415,207,0,991,992,3,439,219,0,992, - 993,3,413,206,0,993,994,3,413,206,0,994,995,3,455,227,0,995,996, - 3,413,206,0,996,134,1,0,0,0,997,998,3,415,207,0,998,999,3,439,219, - 0,999,1000,3,433,216,0,1000,1001,3,429,214,0,1001,136,1,0,0,0,1002, - 1003,3,415,207,0,1003,1004,3,445,222,0,1004,1005,3,427,213,0,1005, - 1006,3,427,213,0,1006,138,1,0,0,0,1007,1008,3,415,207,0,1008,1009, - 3,445,222,0,1009,1010,3,431,215,0,1010,1011,3,409,204,0,1011,1012, - 3,443,221,0,1012,1013,3,421,210,0,1013,1014,3,433,216,0,1014,1015, - 3,431,215,0,1015,140,1,0,0,0,1016,1017,3,417,208,0,1017,1018,3,427, - 213,0,1018,1019,3,433,216,0,1019,1020,3,407,203,0,1020,1021,3,405, - 202,0,1021,1022,3,427,213,0,1022,142,1,0,0,0,1023,1024,3,417,208, - 0,1024,1025,3,439,219,0,1025,1026,3,405,202,0,1026,1027,3,431,215, - 0,1027,1028,3,445,222,0,1028,1029,3,427,213,0,1029,1030,3,405,202, - 0,1030,1031,3,439,219,0,1031,1032,3,421,210,0,1032,1033,3,443,221, - 0,1033,1034,3,453,226,0,1034,144,1,0,0,0,1035,1036,3,417,208,0,1036, - 1037,3,439,219,0,1037,1038,3,433,216,0,1038,1039,3,445,222,0,1039, - 1040,3,435,217,0,1040,146,1,0,0,0,1041,1042,3,419,209,0,1042,1043, - 3,405,202,0,1043,1044,3,447,223,0,1044,1045,3,421,210,0,1045,1046, - 3,431,215,0,1046,1047,3,417,208,0,1047,148,1,0,0,0,1048,1049,3,419, - 209,0,1049,1050,3,421,210,0,1050,1051,3,413,206,0,1051,1052,3,439, - 219,0,1052,1053,3,405,202,0,1053,1054,3,439,219,0,1054,1055,3,409, - 204,0,1055,1056,3,419,209,0,1056,1057,3,421,210,0,1057,1058,3,409, - 204,0,1058,1059,3,405,202,0,1059,1060,3,427,213,0,1060,150,1,0,0, - 0,1061,1062,3,419,209,0,1062,1063,3,433,216,0,1063,1064,3,445,222, - 0,1064,1065,3,439,219,0,1065,152,1,0,0,0,1066,1067,3,421,210,0,1067, - 1068,3,411,205,0,1068,154,1,0,0,0,1069,1070,3,421,210,0,1070,1071, - 3,415,207,0,1071,156,1,0,0,0,1072,1073,3,421,210,0,1073,1074,3,427, - 213,0,1074,1075,3,421,210,0,1075,1076,3,425,212,0,1076,1077,3,413, - 206,0,1077,158,1,0,0,0,1078,1079,3,421,210,0,1079,1080,3,431,215, - 0,1080,160,1,0,0,0,1081,1082,3,421,210,0,1082,1083,3,431,215,0,1083, - 1084,3,411,205,0,1084,1085,3,413,206,0,1085,1086,3,451,225,0,1086, - 162,1,0,0,0,1087,1088,3,421,210,0,1088,1089,3,431,215,0,1089,1090, - 3,415,207,0,1090,1101,1,0,0,0,1091,1092,3,421,210,0,1092,1093,3, - 431,215,0,1093,1094,3,415,207,0,1094,1095,3,421,210,0,1095,1096, - 3,431,215,0,1096,1097,3,421,210,0,1097,1098,3,443,221,0,1098,1099, - 3,453,226,0,1099,1101,1,0,0,0,1100,1087,1,0,0,0,1100,1091,1,0,0, - 0,1101,164,1,0,0,0,1102,1103,3,421,210,0,1103,1104,3,431,215,0,1104, - 1105,3,423,211,0,1105,1106,3,413,206,0,1106,1107,3,409,204,0,1107, - 1108,3,443,221,0,1108,1109,3,421,210,0,1109,1110,3,447,223,0,1110, - 1111,3,413,206,0,1111,166,1,0,0,0,1112,1113,3,421,210,0,1113,1114, - 3,431,215,0,1114,1115,3,431,215,0,1115,1116,3,413,206,0,1116,1117, - 3,439,219,0,1117,168,1,0,0,0,1118,1119,3,421,210,0,1119,1120,3,431, - 215,0,1120,1121,3,441,220,0,1121,1122,3,413,206,0,1122,1123,3,439, - 219,0,1123,1124,3,443,221,0,1124,170,1,0,0,0,1125,1126,3,421,210, - 0,1126,1127,3,431,215,0,1127,1128,3,443,221,0,1128,1129,3,413,206, - 0,1129,1130,3,439,219,0,1130,1131,3,447,223,0,1131,1132,3,405,202, - 0,1132,1133,3,427,213,0,1133,172,1,0,0,0,1134,1135,3,421,210,0,1135, - 1136,3,431,215,0,1136,1137,3,443,221,0,1137,1138,3,433,216,0,1138, - 174,1,0,0,0,1139,1140,3,421,210,0,1140,1141,3,441,220,0,1141,176, - 1,0,0,0,1142,1143,3,421,210,0,1143,1144,3,441,220,0,1144,1145,3, - 523,261,0,1145,1146,3,433,216,0,1146,1147,3,407,203,0,1147,1148, - 3,423,211,0,1148,1149,3,413,206,0,1149,1150,3,409,204,0,1150,1151, - 3,443,221,0,1151,1152,3,523,261,0,1152,1153,3,421,210,0,1153,1154, - 3,411,205,0,1154,178,1,0,0,0,1155,1156,3,423,211,0,1156,1157,3,433, - 216,0,1157,1158,3,421,210,0,1158,1159,3,431,215,0,1159,180,1,0,0, - 0,1160,1161,3,425,212,0,1161,1162,3,413,206,0,1162,1163,3,453,226, - 0,1163,182,1,0,0,0,1164,1165,3,425,212,0,1165,1166,3,421,210,0,1166, - 1167,3,427,213,0,1167,1168,3,427,213,0,1168,184,1,0,0,0,1169,1170, - 3,427,213,0,1170,1171,3,405,202,0,1171,1172,3,441,220,0,1172,1173, - 3,443,221,0,1173,186,1,0,0,0,1174,1175,3,427,213,0,1175,1176,3,405, - 202,0,1176,1177,3,453,226,0,1177,1178,3,433,216,0,1178,1179,3,445, - 222,0,1179,1180,3,443,221,0,1180,188,1,0,0,0,1181,1182,3,427,213, - 0,1182,1183,3,413,206,0,1183,1184,3,405,202,0,1184,1185,3,411,205, - 0,1185,1186,3,421,210,0,1186,1187,3,431,215,0,1187,1188,3,417,208, - 0,1188,190,1,0,0,0,1189,1190,3,427,213,0,1190,1191,3,413,206,0,1191, - 1192,3,415,207,0,1192,1193,3,443,221,0,1193,192,1,0,0,0,1194,1195, - 3,427,213,0,1195,1196,3,421,210,0,1196,1197,3,415,207,0,1197,1198, - 3,413,206,0,1198,1199,3,443,221,0,1199,1200,3,421,210,0,1200,1201, - 3,429,214,0,1201,1202,3,413,206,0,1202,194,1,0,0,0,1203,1204,3,427, - 213,0,1204,1205,3,421,210,0,1205,1206,3,425,212,0,1206,1207,3,413, - 206,0,1207,196,1,0,0,0,1208,1209,3,427,213,0,1209,1210,3,421,210, - 0,1210,1211,3,429,214,0,1211,1212,3,421,210,0,1212,1213,3,443,221, - 0,1213,198,1,0,0,0,1214,1215,3,427,213,0,1215,1216,3,421,210,0,1216, - 1217,3,447,223,0,1217,1218,3,413,206,0,1218,200,1,0,0,0,1219,1220, - 3,427,213,0,1220,1221,3,433,216,0,1221,1222,3,409,204,0,1222,1223, - 3,405,202,0,1223,1224,3,427,213,0,1224,202,1,0,0,0,1225,1226,3,427, - 213,0,1226,1227,3,433,216,0,1227,1228,3,417,208,0,1228,1229,3,441, - 220,0,1229,204,1,0,0,0,1230,1231,3,429,214,0,1231,1232,3,405,202, - 0,1232,1233,3,443,221,0,1233,1234,3,413,206,0,1234,1235,3,439,219, - 0,1235,1236,3,421,210,0,1236,1237,3,405,202,0,1237,1238,3,427,213, - 0,1238,1239,3,421,210,0,1239,1240,3,455,227,0,1240,1241,3,413,206, - 0,1241,206,1,0,0,0,1242,1243,3,429,214,0,1243,1244,3,405,202,0,1244, - 1245,3,443,221,0,1245,1246,3,413,206,0,1246,1247,3,439,219,0,1247, - 1248,3,421,210,0,1248,1249,3,405,202,0,1249,1250,3,427,213,0,1250, - 1251,3,421,210,0,1251,1252,3,455,227,0,1252,1253,3,413,206,0,1253, - 1254,3,411,205,0,1254,208,1,0,0,0,1255,1256,3,429,214,0,1256,1257, - 3,405,202,0,1257,1258,3,451,225,0,1258,210,1,0,0,0,1259,1260,3,429, - 214,0,1260,1261,3,413,206,0,1261,1262,3,439,219,0,1262,1263,3,417, - 208,0,1263,1264,3,413,206,0,1264,1265,3,441,220,0,1265,212,1,0,0, - 0,1266,1267,3,429,214,0,1267,1268,3,421,210,0,1268,1269,3,431,215, - 0,1269,214,1,0,0,0,1270,1271,3,429,214,0,1271,1272,3,421,210,0,1272, - 1273,3,431,215,0,1273,1274,3,445,222,0,1274,1275,3,443,221,0,1275, - 1276,3,413,206,0,1276,216,1,0,0,0,1277,1278,3,429,214,0,1278,1279, - 3,433,216,0,1279,1280,3,411,205,0,1280,1281,3,421,210,0,1281,1282, - 3,415,207,0,1282,1283,3,453,226,0,1283,218,1,0,0,0,1284,1285,3,429, - 214,0,1285,1286,3,433,216,0,1286,1287,3,431,215,0,1287,1288,3,443, - 221,0,1288,1289,3,419,209,0,1289,220,1,0,0,0,1290,1291,3,429,214, - 0,1291,1292,3,433,216,0,1292,1293,3,447,223,0,1293,1294,3,413,206, - 0,1294,222,1,0,0,0,1295,1296,3,429,214,0,1296,1297,3,445,222,0,1297, - 1298,3,443,221,0,1298,1299,3,405,202,0,1299,1300,3,443,221,0,1300, - 1301,3,421,210,0,1301,1302,3,433,216,0,1302,1303,3,431,215,0,1303, - 224,1,0,0,0,1304,1305,3,431,215,0,1305,1306,3,405,202,0,1306,1307, - 3,431,215,0,1307,226,1,0,0,0,1308,1309,3,431,215,0,1309,1310,3,433, - 216,0,1310,228,1,0,0,0,1311,1312,3,431,215,0,1312,1313,3,433,216, - 0,1313,1314,3,443,221,0,1314,230,1,0,0,0,1315,1316,3,431,215,0,1316, - 1317,3,445,222,0,1317,1318,3,427,213,0,1318,1319,3,427,213,0,1319, - 232,1,0,0,0,1320,1321,3,431,215,0,1321,1322,3,445,222,0,1322,1323, - 3,427,213,0,1323,1324,3,427,213,0,1324,1325,3,441,220,0,1325,234, - 1,0,0,0,1326,1327,3,433,216,0,1327,1328,3,415,207,0,1328,1329,3, - 415,207,0,1329,1330,3,441,220,0,1330,1331,3,413,206,0,1331,1332, - 3,443,221,0,1332,236,1,0,0,0,1333,1334,3,433,216,0,1334,1335,3,431, - 215,0,1335,238,1,0,0,0,1336,1337,3,433,216,0,1337,1338,3,435,217, - 0,1338,1339,3,443,221,0,1339,1340,3,421,210,0,1340,1341,3,429,214, - 0,1341,1342,3,421,210,0,1342,1343,3,455,227,0,1343,1344,3,413,206, - 0,1344,240,1,0,0,0,1345,1346,3,433,216,0,1346,1347,3,439,219,0,1347, - 242,1,0,0,0,1348,1349,3,433,216,0,1349,1350,3,439,219,0,1350,1351, - 3,411,205,0,1351,1352,3,413,206,0,1352,1353,3,439,219,0,1353,244, - 1,0,0,0,1354,1355,3,433,216,0,1355,1356,3,445,222,0,1356,1357,3, - 443,221,0,1357,1358,3,413,206,0,1358,1359,3,439,219,0,1359,246,1, - 0,0,0,1360,1361,3,433,216,0,1361,1362,3,445,222,0,1362,1363,3,443, - 221,0,1363,1364,3,415,207,0,1364,1365,3,421,210,0,1365,1366,3,427, - 213,0,1366,1367,3,413,206,0,1367,248,1,0,0,0,1368,1369,3,433,216, - 0,1369,1370,3,447,223,0,1370,1371,3,413,206,0,1371,1372,3,439,219, - 0,1372,250,1,0,0,0,1373,1374,3,435,217,0,1374,1375,3,405,202,0,1375, - 1376,3,439,219,0,1376,1377,3,443,221,0,1377,1378,3,421,210,0,1378, - 1379,3,443,221,0,1379,1380,3,421,210,0,1380,1381,3,433,216,0,1381, - 1382,3,431,215,0,1382,252,1,0,0,0,1383,1384,3,435,217,0,1384,1385, - 3,421,210,0,1385,1386,3,435,217,0,1386,1387,3,413,206,0,1387,1388, - 3,427,213,0,1388,1389,3,421,210,0,1389,1390,3,431,215,0,1390,1391, - 3,413,206,0,1391,254,1,0,0,0,1392,1393,3,435,217,0,1393,1394,3,427, - 213,0,1394,1395,3,405,202,0,1395,1396,3,431,215,0,1396,256,1,0,0, - 0,1397,1398,3,435,217,0,1398,1399,3,433,216,0,1399,1400,3,435,217, - 0,1400,1401,3,445,222,0,1401,1402,3,427,213,0,1402,1403,3,405,202, - 0,1403,1404,3,443,221,0,1404,1405,3,413,206,0,1405,258,1,0,0,0,1406, - 1407,3,435,217,0,1407,1408,3,439,219,0,1408,1409,3,413,206,0,1409, - 1410,3,409,204,0,1410,1411,3,413,206,0,1411,1412,3,411,205,0,1412, - 1413,3,421,210,0,1413,1414,3,431,215,0,1414,1415,3,417,208,0,1415, - 260,1,0,0,0,1416,1417,3,435,217,0,1417,1418,3,439,219,0,1418,1419, - 3,413,206,0,1419,1420,3,449,224,0,1420,1421,3,419,209,0,1421,1422, - 3,413,206,0,1422,1423,3,439,219,0,1423,1424,3,413,206,0,1424,262, - 1,0,0,0,1425,1426,3,435,217,0,1426,1427,3,439,219,0,1427,1428,3, - 421,210,0,1428,1429,3,429,214,0,1429,1430,3,405,202,0,1430,1431, - 3,439,219,0,1431,1432,3,453,226,0,1432,264,1,0,0,0,1433,1434,3,435, - 217,0,1434,1435,3,439,219,0,1435,1436,3,433,216,0,1436,1437,3,423, - 211,0,1437,1438,3,413,206,0,1438,1439,3,409,204,0,1439,1440,3,443, - 221,0,1440,1441,3,421,210,0,1441,1442,3,433,216,0,1442,1443,3,431, - 215,0,1443,266,1,0,0,0,1444,1445,3,437,218,0,1445,1446,3,445,222, - 0,1446,1447,3,405,202,0,1447,1448,3,439,219,0,1448,1449,3,443,221, - 0,1449,1450,3,413,206,0,1450,1451,3,439,219,0,1451,268,1,0,0,0,1452, - 1453,3,437,218,0,1453,1454,3,445,222,0,1454,1455,3,413,206,0,1455, - 1456,3,439,219,0,1456,1457,3,453,226,0,1457,270,1,0,0,0,1458,1459, - 3,439,219,0,1459,1460,3,405,202,0,1460,1461,3,431,215,0,1461,1462, - 3,417,208,0,1462,1463,3,413,206,0,1463,272,1,0,0,0,1464,1465,3,439, - 219,0,1465,1466,3,413,206,0,1466,1467,3,427,213,0,1467,1468,3,433, - 216,0,1468,1469,3,405,202,0,1469,1470,3,411,205,0,1470,274,1,0,0, - 0,1471,1472,3,439,219,0,1472,1473,3,413,206,0,1473,1474,3,429,214, - 0,1474,1475,3,433,216,0,1475,1476,3,447,223,0,1476,1477,3,413,206, - 0,1477,276,1,0,0,0,1478,1479,3,439,219,0,1479,1480,3,413,206,0,1480, - 1481,3,431,215,0,1481,1482,3,405,202,0,1482,1483,3,429,214,0,1483, - 1484,3,413,206,0,1484,278,1,0,0,0,1485,1486,3,439,219,0,1486,1487, - 3,413,206,0,1487,1488,3,435,217,0,1488,1489,3,427,213,0,1489,1490, - 3,405,202,0,1490,1491,3,409,204,0,1491,1492,3,413,206,0,1492,280, - 1,0,0,0,1493,1494,3,439,219,0,1494,1495,3,413,206,0,1495,1496,3, - 435,217,0,1496,1497,3,427,213,0,1497,1498,3,421,210,0,1498,1499, - 3,409,204,0,1499,1500,3,405,202,0,1500,282,1,0,0,0,1501,1502,3,439, - 219,0,1502,1503,3,413,206,0,1503,1504,3,435,217,0,1504,1505,3,427, - 213,0,1505,1506,3,421,210,0,1506,1507,3,409,204,0,1507,1508,3,405, - 202,0,1508,1509,3,443,221,0,1509,1510,3,413,206,0,1510,1511,3,411, - 205,0,1511,284,1,0,0,0,1512,1513,3,439,219,0,1513,1514,3,421,210, - 0,1514,1515,3,417,208,0,1515,1516,3,419,209,0,1516,1517,3,443,221, - 0,1517,286,1,0,0,0,1518,1519,3,439,219,0,1519,1520,3,433,216,0,1520, - 1521,3,427,213,0,1521,1522,3,427,213,0,1522,1523,3,445,222,0,1523, - 1524,3,435,217,0,1524,288,1,0,0,0,1525,1526,3,439,219,0,1526,1527, - 3,433,216,0,1527,1528,3,449,224,0,1528,290,1,0,0,0,1529,1530,3,439, - 219,0,1530,1531,3,433,216,0,1531,1532,3,449,224,0,1532,1533,3,441, - 220,0,1533,292,1,0,0,0,1534,1535,3,441,220,0,1535,1536,3,405,202, - 0,1536,1537,3,429,214,0,1537,1538,3,435,217,0,1538,1539,3,427,213, - 0,1539,1540,3,413,206,0,1540,294,1,0,0,0,1541,1542,3,441,220,0,1542, - 1543,3,413,206,0,1543,1544,3,409,204,0,1544,1545,3,433,216,0,1545, - 1546,3,431,215,0,1546,1547,3,411,205,0,1547,296,1,0,0,0,1548,1549, - 3,441,220,0,1549,1550,3,413,206,0,1550,1551,3,427,213,0,1551,1552, - 3,413,206,0,1552,1553,3,409,204,0,1553,1554,3,443,221,0,1554,298, - 1,0,0,0,1555,1556,3,441,220,0,1556,1557,3,413,206,0,1557,1558,3, - 429,214,0,1558,1559,3,421,210,0,1559,300,1,0,0,0,1560,1561,3,441, - 220,0,1561,1562,3,413,206,0,1562,1563,3,431,215,0,1563,1564,3,411, - 205,0,1564,1565,3,441,220,0,1565,302,1,0,0,0,1566,1567,3,441,220, - 0,1567,1568,3,413,206,0,1568,1569,3,443,221,0,1569,304,1,0,0,0,1570, - 1571,3,441,220,0,1571,1572,3,413,206,0,1572,1573,3,443,221,0,1573, - 1574,3,443,221,0,1574,1575,3,421,210,0,1575,1576,3,431,215,0,1576, - 1577,3,417,208,0,1577,1578,3,441,220,0,1578,306,1,0,0,0,1579,1580, - 3,441,220,0,1580,1581,3,419,209,0,1581,1582,3,433,216,0,1582,1583, - 3,449,224,0,1583,308,1,0,0,0,1584,1585,3,441,220,0,1585,1586,3,433, - 216,0,1586,1587,3,445,222,0,1587,1588,3,439,219,0,1588,1589,3,409, - 204,0,1589,1590,3,413,206,0,1590,310,1,0,0,0,1591,1592,3,441,220, - 0,1592,1593,3,443,221,0,1593,1594,3,405,202,0,1594,1595,3,439,219, - 0,1595,1596,3,443,221,0,1596,312,1,0,0,0,1597,1598,3,441,220,0,1598, - 1599,3,443,221,0,1599,1600,3,433,216,0,1600,1601,3,435,217,0,1601, - 314,1,0,0,0,1602,1603,3,441,220,0,1603,1604,3,445,222,0,1604,1605, - 3,407,203,0,1605,1606,3,441,220,0,1606,1607,3,443,221,0,1607,1608, - 3,439,219,0,1608,1609,3,421,210,0,1609,1610,3,431,215,0,1610,1611, - 3,417,208,0,1611,316,1,0,0,0,1612,1613,3,441,220,0,1613,1614,3,453, - 226,0,1614,1615,3,431,215,0,1615,1616,3,409,204,0,1616,318,1,0,0, - 0,1617,1618,3,441,220,0,1618,1619,3,453,226,0,1619,1620,3,431,215, - 0,1620,1621,3,443,221,0,1621,1622,3,405,202,0,1622,1623,3,451,225, - 0,1623,320,1,0,0,0,1624,1625,3,441,220,0,1625,1626,3,453,226,0,1626, - 1627,3,441,220,0,1627,1628,3,443,221,0,1628,1629,3,413,206,0,1629, - 1630,3,429,214,0,1630,322,1,0,0,0,1631,1632,3,443,221,0,1632,1633, - 3,405,202,0,1633,1634,3,407,203,0,1634,1635,3,427,213,0,1635,1636, - 3,413,206,0,1636,324,1,0,0,0,1637,1638,3,443,221,0,1638,1639,3,405, - 202,0,1639,1640,3,407,203,0,1640,1641,3,427,213,0,1641,1642,3,413, - 206,0,1642,1643,3,441,220,0,1643,326,1,0,0,0,1644,1645,3,443,221, - 0,1645,1646,3,413,206,0,1646,1647,3,429,214,0,1647,1648,3,435,217, - 0,1648,1649,3,433,216,0,1649,1650,3,439,219,0,1650,1651,3,405,202, - 0,1651,1652,3,439,219,0,1652,1653,3,453,226,0,1653,328,1,0,0,0,1654, - 1655,3,443,221,0,1655,1656,3,413,206,0,1656,1657,3,441,220,0,1657, - 1658,3,443,221,0,1658,330,1,0,0,0,1659,1660,3,443,221,0,1660,1661, - 3,419,209,0,1661,1662,3,413,206,0,1662,1663,3,431,215,0,1663,332, - 1,0,0,0,1664,1665,3,443,221,0,1665,1666,3,421,210,0,1666,1667,3, - 413,206,0,1667,1668,3,441,220,0,1668,334,1,0,0,0,1669,1670,3,443, - 221,0,1670,1671,3,421,210,0,1671,1672,3,429,214,0,1672,1673,3,413, - 206,0,1673,1674,3,433,216,0,1674,1675,3,445,222,0,1675,1676,3,443, - 221,0,1676,336,1,0,0,0,1677,1678,3,443,221,0,1678,1679,3,421,210, - 0,1679,1680,3,429,214,0,1680,1681,3,413,206,0,1681,1682,3,441,220, - 0,1682,1683,3,443,221,0,1683,1684,3,405,202,0,1684,1685,3,429,214, - 0,1685,1686,3,435,217,0,1686,338,1,0,0,0,1687,1688,3,443,221,0,1688, - 1689,3,433,216,0,1689,340,1,0,0,0,1690,1691,3,443,221,0,1691,1692, - 3,433,216,0,1692,1693,3,435,217,0,1693,342,1,0,0,0,1694,1695,3,443, - 221,0,1695,1696,3,433,216,0,1696,1697,3,443,221,0,1697,1698,3,405, - 202,0,1698,1699,3,427,213,0,1699,1700,3,441,220,0,1700,344,1,0,0, - 0,1701,1702,3,443,221,0,1702,1703,3,439,219,0,1703,1704,3,405,202, - 0,1704,1705,3,421,210,0,1705,1706,3,427,213,0,1706,1707,3,421,210, - 0,1707,1708,3,431,215,0,1708,1709,3,417,208,0,1709,346,1,0,0,0,1710, - 1711,3,443,221,0,1711,1712,3,439,219,0,1712,1713,3,421,210,0,1713, - 1714,3,429,214,0,1714,348,1,0,0,0,1715,1716,3,443,221,0,1716,1717, - 3,439,219,0,1717,1718,3,413,206,0,1718,1719,3,413,206,0,1719,350, - 1,0,0,0,1720,1721,3,443,221,0,1721,1722,3,439,219,0,1722,1723,3, - 445,222,0,1723,1724,3,431,215,0,1724,1725,3,409,204,0,1725,1726, - 3,405,202,0,1726,1727,3,443,221,0,1727,1728,3,413,206,0,1728,352, - 1,0,0,0,1729,1730,3,443,221,0,1730,1731,3,443,221,0,1731,1732,3, - 427,213,0,1732,354,1,0,0,0,1733,1734,3,443,221,0,1734,1735,3,453, - 226,0,1735,1736,3,435,217,0,1736,1737,3,413,206,0,1737,356,1,0,0, - 0,1738,1739,3,445,222,0,1739,1740,3,431,215,0,1740,1741,3,407,203, - 0,1741,1742,3,433,216,0,1742,1743,3,445,222,0,1743,1744,3,431,215, - 0,1744,1745,3,411,205,0,1745,1746,3,413,206,0,1746,1747,3,411,205, - 0,1747,358,1,0,0,0,1748,1749,3,445,222,0,1749,1750,3,431,215,0,1750, - 1751,3,421,210,0,1751,1752,3,433,216,0,1752,1753,3,431,215,0,1753, - 360,1,0,0,0,1754,1755,3,445,222,0,1755,1756,3,435,217,0,1756,1757, - 3,411,205,0,1757,1758,3,405,202,0,1758,1759,3,443,221,0,1759,1760, - 3,413,206,0,1760,362,1,0,0,0,1761,1762,3,445,222,0,1762,1763,3,441, - 220,0,1763,1764,3,413,206,0,1764,364,1,0,0,0,1765,1766,3,445,222, - 0,1766,1767,3,441,220,0,1767,1768,3,421,210,0,1768,1769,3,431,215, - 0,1769,1770,3,417,208,0,1770,366,1,0,0,0,1771,1772,3,445,222,0,1772, - 1773,3,445,222,0,1773,1774,3,421,210,0,1774,1775,3,411,205,0,1775, - 368,1,0,0,0,1776,1777,3,447,223,0,1777,1778,3,405,202,0,1778,1779, - 3,427,213,0,1779,1780,3,445,222,0,1780,1781,3,413,206,0,1781,1782, - 3,441,220,0,1782,370,1,0,0,0,1783,1784,3,447,223,0,1784,1785,3,421, - 210,0,1785,1786,3,413,206,0,1786,1787,3,449,224,0,1787,372,1,0,0, - 0,1788,1789,3,447,223,0,1789,1790,3,433,216,0,1790,1791,3,427,213, - 0,1791,1792,3,445,222,0,1792,1793,3,429,214,0,1793,1794,3,413,206, - 0,1794,374,1,0,0,0,1795,1796,3,449,224,0,1796,1797,3,405,202,0,1797, - 1798,3,443,221,0,1798,1799,3,409,204,0,1799,1800,3,419,209,0,1800, - 376,1,0,0,0,1801,1802,3,449,224,0,1802,1803,3,413,206,0,1803,1804, - 3,413,206,0,1804,1805,3,425,212,0,1805,378,1,0,0,0,1806,1807,3,449, - 224,0,1807,1808,3,419,209,0,1808,1809,3,413,206,0,1809,1810,3,431, - 215,0,1810,380,1,0,0,0,1811,1812,3,449,224,0,1812,1813,3,419,209, - 0,1813,1814,3,413,206,0,1814,1815,3,439,219,0,1815,1816,3,413,206, - 0,1816,382,1,0,0,0,1817,1818,3,449,224,0,1818,1819,3,421,210,0,1819, - 1820,3,431,215,0,1820,1821,3,411,205,0,1821,1822,3,433,216,0,1822, - 1823,3,449,224,0,1823,384,1,0,0,0,1824,1825,3,449,224,0,1825,1826, - 3,421,210,0,1826,1827,3,443,221,0,1827,1828,3,419,209,0,1828,386, - 1,0,0,0,1829,1830,3,453,226,0,1830,1831,3,413,206,0,1831,1832,3, - 405,202,0,1832,1833,3,439,219,0,1833,1840,1,0,0,0,1834,1835,3,453, - 226,0,1835,1836,3,453,226,0,1836,1837,3,453,226,0,1837,1838,3,453, - 226,0,1838,1840,1,0,0,0,1839,1829,1,0,0,0,1839,1834,1,0,0,0,1840, - 388,1,0,0,0,1841,1842,5,102,0,0,1842,1843,5,97,0,0,1843,1844,5,108, - 0,0,1844,1845,5,115,0,0,1845,1846,5,101,0,0,1846,390,1,0,0,0,1847, - 1848,5,116,0,0,1848,1849,5,114,0,0,1849,1850,5,117,0,0,1850,1851, - 5,101,0,0,1851,392,1,0,0,0,1852,1855,3,457,228,0,1853,1855,3,523, - 261,0,1854,1852,1,0,0,0,1854,1853,1,0,0,0,1855,1861,1,0,0,0,1856, - 1860,3,457,228,0,1857,1860,3,523,261,0,1858,1860,3,461,230,0,1859, - 1856,1,0,0,0,1859,1857,1,0,0,0,1859,1858,1,0,0,0,1860,1863,1,0,0, - 0,1861,1859,1,0,0,0,1861,1862,1,0,0,0,1862,1895,1,0,0,0,1863,1861, - 1,0,0,0,1864,1874,3,469,234,0,1865,1873,8,0,0,0,1866,1867,3,471, - 235,0,1867,1868,9,0,0,0,1868,1873,1,0,0,0,1869,1870,3,469,234,0, - 1870,1871,3,469,234,0,1871,1873,1,0,0,0,1872,1865,1,0,0,0,1872,1866, - 1,0,0,0,1872,1869,1,0,0,0,1873,1876,1,0,0,0,1874,1872,1,0,0,0,1874, - 1875,1,0,0,0,1875,1877,1,0,0,0,1876,1874,1,0,0,0,1877,1878,3,469, - 234,0,1878,1895,1,0,0,0,1879,1889,3,509,254,0,1880,1888,8,1,0,0, - 1881,1882,3,471,235,0,1882,1883,9,0,0,0,1883,1888,1,0,0,0,1884,1885, - 3,509,254,0,1885,1886,3,509,254,0,1886,1888,1,0,0,0,1887,1880,1, - 0,0,0,1887,1881,1,0,0,0,1887,1884,1,0,0,0,1888,1891,1,0,0,0,1889, - 1887,1,0,0,0,1889,1890,1,0,0,0,1890,1892,1,0,0,0,1891,1889,1,0,0, - 0,1892,1893,3,509,254,0,1893,1895,1,0,0,0,1894,1854,1,0,0,0,1894, - 1864,1,0,0,0,1894,1879,1,0,0,0,1895,394,1,0,0,0,1896,1897,3,401, - 200,0,1897,1901,3,481,240,0,1898,1900,3,463,231,0,1899,1898,1,0, - 0,0,1900,1903,1,0,0,0,1901,1899,1,0,0,0,1901,1902,1,0,0,0,1902,1906, - 1,0,0,0,1903,1901,1,0,0,0,1904,1907,3,435,217,0,1905,1907,3,413, - 206,0,1906,1904,1,0,0,0,1906,1905,1,0,0,0,1907,1910,1,0,0,0,1908, - 1911,3,505,252,0,1909,1911,3,479,239,0,1910,1908,1,0,0,0,1910,1909, - 1,0,0,0,1910,1911,1,0,0,0,1911,1913,1,0,0,0,1912,1914,3,461,230, - 0,1913,1912,1,0,0,0,1914,1915,1,0,0,0,1915,1913,1,0,0,0,1915,1916, - 1,0,0,0,1916,1973,1,0,0,0,1917,1920,3,401,200,0,1918,1921,3,435, - 217,0,1919,1921,3,413,206,0,1920,1918,1,0,0,0,1920,1919,1,0,0,0, - 1921,1924,1,0,0,0,1922,1925,3,505,252,0,1923,1925,3,479,239,0,1924, - 1922,1,0,0,0,1924,1923,1,0,0,0,1924,1925,1,0,0,0,1925,1927,1,0,0, - 0,1926,1928,3,461,230,0,1927,1926,1,0,0,0,1928,1929,1,0,0,0,1929, - 1927,1,0,0,0,1929,1930,1,0,0,0,1930,1973,1,0,0,0,1931,1932,3,399, - 199,0,1932,1936,3,481,240,0,1933,1935,3,461,230,0,1934,1933,1,0, - 0,0,1935,1938,1,0,0,0,1936,1934,1,0,0,0,1936,1937,1,0,0,0,1937,1939, - 1,0,0,0,1938,1936,1,0,0,0,1939,1942,3,413,206,0,1940,1943,3,505, - 252,0,1941,1943,3,479,239,0,1942,1940,1,0,0,0,1942,1941,1,0,0,0, - 1942,1943,1,0,0,0,1943,1945,1,0,0,0,1944,1946,3,461,230,0,1945,1944, - 1,0,0,0,1946,1947,1,0,0,0,1947,1945,1,0,0,0,1947,1948,1,0,0,0,1948, - 1973,1,0,0,0,1949,1950,3,481,240,0,1950,1951,3,399,199,0,1951,1954, - 3,413,206,0,1952,1955,3,505,252,0,1953,1955,3,479,239,0,1954,1952, - 1,0,0,0,1954,1953,1,0,0,0,1954,1955,1,0,0,0,1955,1957,1,0,0,0,1956, - 1958,3,461,230,0,1957,1956,1,0,0,0,1958,1959,1,0,0,0,1959,1957,1, - 0,0,0,1959,1960,1,0,0,0,1960,1973,1,0,0,0,1961,1962,3,399,199,0, - 1962,1965,3,413,206,0,1963,1966,3,505,252,0,1964,1966,3,479,239, - 0,1965,1963,1,0,0,0,1965,1964,1,0,0,0,1965,1966,1,0,0,0,1966,1968, - 1,0,0,0,1967,1969,3,461,230,0,1968,1967,1,0,0,0,1969,1970,1,0,0, - 0,1970,1968,1,0,0,0,1970,1971,1,0,0,0,1971,1973,1,0,0,0,1972,1896, - 1,0,0,0,1972,1917,1,0,0,0,1972,1931,1,0,0,0,1972,1949,1,0,0,0,1972, - 1961,1,0,0,0,1973,396,1,0,0,0,1974,1976,5,48,0,0,1975,1977,3,459, - 229,0,1976,1975,1,0,0,0,1977,1978,1,0,0,0,1978,1976,1,0,0,0,1978, - 1979,1,0,0,0,1979,398,1,0,0,0,1980,1982,3,461,230,0,1981,1980,1, - 0,0,0,1982,1983,1,0,0,0,1983,1981,1,0,0,0,1983,1984,1,0,0,0,1984, - 400,1,0,0,0,1985,1986,5,48,0,0,1986,1988,3,451,225,0,1987,1989,3, - 463,231,0,1988,1987,1,0,0,0,1989,1990,1,0,0,0,1990,1988,1,0,0,0, - 1990,1991,1,0,0,0,1991,402,1,0,0,0,1992,2002,3,511,255,0,1993,2001, - 8,2,0,0,1994,1995,3,471,235,0,1995,1996,9,0,0,0,1996,2001,1,0,0, - 0,1997,1998,3,511,255,0,1998,1999,3,511,255,0,1999,2001,1,0,0,0, - 2000,1993,1,0,0,0,2000,1994,1,0,0,0,2000,1997,1,0,0,0,2001,2004, - 1,0,0,0,2002,2000,1,0,0,0,2002,2003,1,0,0,0,2003,2005,1,0,0,0,2004, - 2002,1,0,0,0,2005,2006,3,511,255,0,2006,404,1,0,0,0,2007,2008,7, - 3,0,0,2008,406,1,0,0,0,2009,2010,7,4,0,0,2010,408,1,0,0,0,2011,2012, - 7,5,0,0,2012,410,1,0,0,0,2013,2014,7,6,0,0,2014,412,1,0,0,0,2015, - 2016,7,7,0,0,2016,414,1,0,0,0,2017,2018,7,8,0,0,2018,416,1,0,0,0, - 2019,2020,7,9,0,0,2020,418,1,0,0,0,2021,2022,7,10,0,0,2022,420,1, - 0,0,0,2023,2024,7,11,0,0,2024,422,1,0,0,0,2025,2026,7,12,0,0,2026, - 424,1,0,0,0,2027,2028,7,13,0,0,2028,426,1,0,0,0,2029,2030,7,14,0, - 0,2030,428,1,0,0,0,2031,2032,7,15,0,0,2032,430,1,0,0,0,2033,2034, - 7,16,0,0,2034,432,1,0,0,0,2035,2036,7,17,0,0,2036,434,1,0,0,0,2037, - 2038,7,18,0,0,2038,436,1,0,0,0,2039,2040,7,19,0,0,2040,438,1,0,0, - 0,2041,2042,7,20,0,0,2042,440,1,0,0,0,2043,2044,7,21,0,0,2044,442, - 1,0,0,0,2045,2046,7,22,0,0,2046,444,1,0,0,0,2047,2048,7,23,0,0,2048, - 446,1,0,0,0,2049,2050,7,24,0,0,2050,448,1,0,0,0,2051,2052,7,25,0, - 0,2052,450,1,0,0,0,2053,2054,7,26,0,0,2054,452,1,0,0,0,2055,2056, - 7,27,0,0,2056,454,1,0,0,0,2057,2058,7,28,0,0,2058,456,1,0,0,0,2059, - 2060,7,29,0,0,2060,458,1,0,0,0,2061,2062,7,30,0,0,2062,460,1,0,0, - 0,2063,2064,7,31,0,0,2064,462,1,0,0,0,2065,2066,7,32,0,0,2066,464, - 1,0,0,0,2067,2068,5,45,0,0,2068,2069,5,62,0,0,2069,466,1,0,0,0,2070, - 2071,5,42,0,0,2071,468,1,0,0,0,2072,2073,5,96,0,0,2073,470,1,0,0, - 0,2074,2075,5,92,0,0,2075,472,1,0,0,0,2076,2077,5,58,0,0,2077,474, - 1,0,0,0,2078,2079,5,44,0,0,2079,476,1,0,0,0,2080,2081,5,124,0,0, - 2081,2082,5,124,0,0,2082,478,1,0,0,0,2083,2084,5,45,0,0,2084,480, - 1,0,0,0,2085,2086,5,46,0,0,2086,482,1,0,0,0,2087,2088,5,61,0,0,2088, - 2089,5,61,0,0,2089,484,1,0,0,0,2090,2091,5,61,0,0,2091,486,1,0,0, - 0,2092,2093,5,62,0,0,2093,2094,5,61,0,0,2094,488,1,0,0,0,2095,2096, - 5,62,0,0,2096,490,1,0,0,0,2097,2098,5,123,0,0,2098,492,1,0,0,0,2099, - 2100,5,91,0,0,2100,494,1,0,0,0,2101,2102,5,60,0,0,2102,2103,5,61, - 0,0,2103,496,1,0,0,0,2104,2105,5,40,0,0,2105,498,1,0,0,0,2106,2107, - 5,60,0,0,2107,500,1,0,0,0,2108,2109,5,33,0,0,2109,2113,5,61,0,0, - 2110,2111,5,60,0,0,2111,2113,5,62,0,0,2112,2108,1,0,0,0,2112,2110, - 1,0,0,0,2113,502,1,0,0,0,2114,2115,5,37,0,0,2115,504,1,0,0,0,2116, - 2117,5,43,0,0,2117,506,1,0,0,0,2118,2119,5,63,0,0,2119,508,1,0,0, - 0,2120,2121,5,34,0,0,2121,510,1,0,0,0,2122,2123,5,39,0,0,2123,512, - 1,0,0,0,2124,2125,5,125,0,0,2125,514,1,0,0,0,2126,2127,5,93,0,0, - 2127,516,1,0,0,0,2128,2129,5,41,0,0,2129,518,1,0,0,0,2130,2131,5, - 59,0,0,2131,520,1,0,0,0,2132,2133,5,47,0,0,2133,522,1,0,0,0,2134, - 2135,5,95,0,0,2135,524,1,0,0,0,2136,2137,5,47,0,0,2137,2138,5,42, - 0,0,2138,2142,1,0,0,0,2139,2141,9,0,0,0,2140,2139,1,0,0,0,2141,2144, - 1,0,0,0,2142,2143,1,0,0,0,2142,2140,1,0,0,0,2143,2145,1,0,0,0,2144, - 2142,1,0,0,0,2145,2146,5,42,0,0,2146,2147,5,47,0,0,2147,2148,1,0, - 0,0,2148,2149,6,262,0,0,2149,526,1,0,0,0,2150,2151,5,45,0,0,2151, - 2152,5,45,0,0,2152,2156,1,0,0,0,2153,2155,8,33,0,0,2154,2153,1,0, - 0,0,2155,2158,1,0,0,0,2156,2154,1,0,0,0,2156,2157,1,0,0,0,2157,2160, - 1,0,0,0,2158,2156,1,0,0,0,2159,2161,7,34,0,0,2160,2159,1,0,0,0,2161, - 2162,1,0,0,0,2162,2163,6,263,0,0,2163,528,1,0,0,0,2164,2165,7,35, - 0,0,2165,2166,1,0,0,0,2166,2167,6,264,1,0,2167,530,1,0,0,0,36,0, - 593,1100,1839,1854,1859,1861,1872,1874,1887,1889,1894,1901,1906, - 1910,1915,1920,1924,1929,1936,1942,1947,1954,1959,1965,1970,1972, - 1978,1983,1990,2000,2002,2112,2142,2156,2160,2,6,0,0,0,1,0 + 2,263,7,263,2,264,7,264,2,265,7,265,2,266,7,266,2,267,7,267,2,268, + 7,268,2,269,7,269,2,270,7,270,2,271,7,271,2,272,7,272,2,273,7,273, + 2,274,7,274,2,275,7,275,2,276,7,276,2,277,7,277,2,278,7,278,2,279, + 7,279,2,280,7,280,2,281,7,281,2,282,7,282,2,283,7,283,2,284,7,284, + 2,285,7,285,2,286,7,286,2,287,7,287,2,288,7,288,2,289,7,289,2,290, + 7,290,2,291,7,291,2,292,7,292,2,293,7,293,2,294,7,294,2,295,7,295, + 2,296,7,296,2,297,7,297,2,298,7,298,2,299,7,299,2,300,7,300,2,301, + 7,301,2,302,7,302,2,303,7,303,2,304,7,304,2,305,7,305,2,306,7,306, + 2,307,7,307,2,308,7,308,2,309,7,309,2,310,7,310,2,311,7,311,2,312, + 7,312,2,313,7,313,2,314,7,314,2,315,7,315,2,316,7,316,1,0,1,0,1, + 0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1,2,1,3,1,3,1, + 3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,1, + 6,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,8,1,8,1,8,1,9,1,9,1,9,1,10,1,10, + 1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,3,10, + 698,8,10,1,11,1,11,1,11,1,11,1,11,1,12,1,12,1,12,1,12,1,13,1,13, + 1,13,1,13,1,13,1,13,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,15,1,15, + 1,15,1,15,1,15,1,15,1,15,1,15,1,16,1,16,1,16,1,16,1,16,1,17,1,17, + 1,17,1,18,1,18,1,18,1,18,1,18,1,19,1,19,1,19,1,19,1,19,1,20,1,20, + 1,20,1,20,1,20,1,20,1,21,1,21,1,21,1,21,1,21,1,21,1,22,1,22,1,22, + 1,22,1,22,1,22,1,22,1,22,1,23,1,23,1,23,1,23,1,23,1,23,1,24,1,24, + 1,24,1,24,1,24,1,24,1,24,1,24,1,25,1,25,1,25,1,25,1,25,1,25,1,25, + 1,26,1,26,1,26,1,26,1,26,1,26,1,26,1,26,1,27,1,27,1,27,1,27,1,27, + 1,27,1,27,1,27,1,27,1,27,1,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28, + 1,29,1,29,1,29,1,29,1,29,1,29,1,30,1,30,1,30,1,30,1,30,1,31,1,31, + 1,31,1,31,1,31,1,31,1,31,1,31,1,32,1,32,1,32,1,32,1,32,1,32,1,32, + 1,32,1,32,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,34, + 1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36, + 1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,37,1,37,1,37,1,37,1,37,1,37, + 1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39, + 1,39,1,39,1,40,1,40,1,40,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,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42, + 1,42,1,43,1,43,1,43,1,43,1,43,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,45,1,45,1,45,1,45,1,45, + 1,45,1,45,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,46,1,47,1,47, + 1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48, + 1,48,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,49,1,49,1,50,1,50, + 1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,52, + 1,52,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,54,1,54,1,54, + 1,54,1,54,1,54,1,54,1,55,1,55,1,55,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,57,1,57,1,57,1,57,1,57,1,57,1,57, + 1,57,1,57,1,57,1,57,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,59, + 1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,60,1,60,1,60,1,60,1,60,1,60, + 1,61,1,61,1,61,1,61,1,61,1,61,1,62,1,62,1,62,1,62,1,62,1,62,1,63, + 1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,64,1,64,1,64,1,64, + 1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,66,1,66,1,66,1,66,1,66,1,66, + 1,66,1,67,1,67,1,67,1,67,1,67,1,68,1,68,1,68,1,68,1,68,1,69,1,69, + 1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,70,1,70,1,70,1,70,1,70,1,70, + 1,70,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71, + 1,72,1,72,1,72,1,72,1,72,1,72,1,73,1,73,1,73,1,73,1,73,1,73,1,73, + 1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74, + 1,75,1,75,1,75,1,75,1,75,1,76,1,76,1,76,1,77,1,77,1,77,1,78,1,78, + 1,78,1,78,1,78,1,78,1,79,1,79,1,79,1,80,1,80,1,80,1,80,1,80,1,80, + 1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81, + 3,81,1205,8,81,1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,82, + 1,83,1,83,1,83,1,83,1,83,1,83,1,84,1,84,1,84,1,84,1,84,1,84,1,84, + 1,85,1,85,1,85,1,85,1,85,1,85,1,85,1,85,1,85,1,86,1,86,1,86,1,86, + 1,86,1,87,1,87,1,87,1,88,1,88,1,88,1,88,1,88,1,88,1,88,1,88,1,88, + 1,88,1,88,1,88,1,88,1,89,1,89,1,89,1,89,1,89,1,90,1,90,1,90,1,90, + 1,91,1,91,1,91,1,91,1,91,1,92,1,92,1,92,1,92,1,92,1,93,1,93,1,93, + 1,93,1,93,1,93,1,93,1,94,1,94,1,94,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,1,96,1,96,1,96,1,96,1,96, + 1,97,1,97,1,97,1,97,1,97,1,98,1,98,1,98,1,98,1,98,1,98,1,99,1,99, + 1,99,1,99,1,99,1,100,1,100,1,100,1,100,1,100,1,100,1,101,1,101,1, + 101,1,101,1,101,1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,102, + 1,102,1,102,1,102,1,102,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,104,1,104,1,104,1,104,1,105, + 1,105,1,105,1,105,1,105,1,105,1,105,1,106,1,106,1,106,1,106,1,107, + 1,107,1,107,1,107,1,107,1,107,1,107,1,108,1,108,1,108,1,108,1,108, + 1,108,1,108,1,109,1,109,1,109,1,109,1,109,1,109,1,110,1,110,1,110, + 1,110,1,110,1,111,1,111,1,111,1,111,1,111,1,111,1,111,1,111,1,111, + 1,112,1,112,1,112,1,112,1,113,1,113,1,113,1,114,1,114,1,114,1,114, + 1,115,1,115,1,115,1,115,1,115,1,116,1,116,1,116,1,116,1,116,1,116, + 1,117,1,117,1,117,1,117,1,117,1,117,1,117,1,118,1,118,1,118,1,119, + 1,119,1,119,1,119,1,119,1,119,1,119,1,119,1,119,1,120,1,120,1,120, + 1,121,1,121,1,121,1,121,1,121,1,121,1,122,1,122,1,122,1,122,1,122, + 1,122,1,123,1,123,1,123,1,123,1,123,1,123,1,123,1,123,1,124,1,124, + 1,124,1,124,1,124,1,125,1,125,1,125,1,125,1,125,1,125,1,125,1,125, + 1,125,1,125,1,126,1,126,1,126,1,126,1,126,1,126,1,126,1,126,1,126, + 1,127,1,127,1,127,1,127,1,127,1,128,1,128,1,128,1,128,1,128,1,128, + 1,128,1,128,1,128,1,129,1,129,1,129,1,129,1,129,1,129,1,129,1,129, + 1,129,1,129,1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130,1,130, + 1,131,1,131,1,131,1,131,1,131,1,131,1,131,1,131,1,132,1,132,1,132, + 1,132,1,132,1,132,1,132,1,132,1,132,1,132,1,132,1,133,1,133,1,133, + 1,133,1,133,1,133,1,133,1,133,1,134,1,134,1,134,1,134,1,134,1,134, + 1,135,1,135,1,135,1,135,1,135,1,135,1,136,1,136,1,136,1,136,1,136, + 1,136,1,136,1,137,1,137,1,137,1,137,1,137,1,137,1,137,1,138,1,138, + 1,138,1,138,1,138,1,138,1,138,1,139,1,139,1,139,1,139,1,139,1,139, + 1,139,1,139,1,140,1,140,1,140,1,140,1,140,1,140,1,140,1,140,1,141, + 1,141,1,141,1,141,1,141,1,141,1,141,1,141,1,141,1,141,1,141,1,142, + 1,142,1,142,1,142,1,142,1,142,1,143,1,143,1,143,1,143,1,143,1,143, + 1,143,1,144,1,144,1,144,1,144,1,145,1,145,1,145,1,145,1,145,1,146, + 1,146,1,146,1,146,1,146,1,146,1,146,1,147,1,147,1,147,1,147,1,147, + 1,147,1,147,1,148,1,148,1,148,1,148,1,148,1,148,1,148,1,149,1,149, + 1,149,1,149,1,149,1,150,1,150,1,150,1,150,1,150,1,150,1,151,1,151, + 1,151,1,151,1,152,1,152,1,152,1,152,1,152,1,152,1,152,1,152,1,152, + 1,153,1,153,1,153,1,153,1,153,1,154,1,154,1,154,1,154,1,154,1,154, + 1,154,1,155,1,155,1,155,1,155,1,155,1,155,1,156,1,156,1,156,1,156, + 1,156,1,157,1,157,1,157,1,157,1,157,1,157,1,157,1,157,1,157,1,157, + 1,158,1,158,1,158,1,158,1,158,1,159,1,159,1,159,1,159,1,159,1,159, + 1,159,1,160,1,160,1,160,1,160,1,160,1,160,1,160,1,161,1,161,1,161, + 1,161,1,161,1,161,1,162,1,162,1,162,1,162,1,162,1,162,1,162,1,163, + 1,163,1,163,1,163,1,163,1,163,1,163,1,163,1,163,1,163,1,164,1,164, + 1,164,1,164,1,164,1,165,1,165,1,165,1,165,1,165,1,166,1,166,1,166, + 1,166,1,166,1,167,1,167,1,167,1,167,1,167,1,167,1,167,1,167,1,168, + 1,168,1,168,1,168,1,168,1,168,1,168,1,168,1,168,1,168,1,169,1,169, + 1,169,1,170,1,170,1,170,1,170,1,171,1,171,1,171,1,171,1,171,1,171, + 1,171,1,172,1,172,1,172,1,172,1,172,1,172,1,172,1,172,1,172,1,173, + 1,173,1,173,1,173,1,173,1,174,1,174,1,174,1,174,1,174,1,175,1,175, + 1,175,1,175,1,175,1,175,1,175,1,175,1,175,1,176,1,176,1,176,1,176, + 1,177,1,177,1,177,1,177,1,177,1,178,1,178,1,178,1,178,1,178,1,178, + 1,178,1,178,1,178,1,178,1,179,1,179,1,179,1,179,1,179,1,179,1,180, + 1,180,1,180,1,180,1,180,1,180,1,180,1,181,1,181,1,181,1,181,1,182, + 1,182,1,182,1,182,1,182,1,182,1,183,1,183,1,183,1,183,1,183,1,184, + 1,184,1,184,1,184,1,184,1,184,1,184,1,185,1,185,1,185,1,185,1,185, + 1,186,1,186,1,186,1,186,1,186,1,186,1,186,1,187,1,187,1,187,1,187, + 1,187,1,187,1,188,1,188,1,188,1,188,1,188,1,189,1,189,1,189,1,189, + 1,189,1,190,1,190,1,190,1,190,1,190,1,190,1,191,1,191,1,191,1,191, + 1,191,1,191,1,191,1,192,1,192,1,192,1,192,1,192,1,193,1,193,1,193, + 1,193,1,193,1,193,1,193,1,193,1,193,1,193,3,193,1944,8,193,1,194, + 1,194,1,194,1,194,1,194,1,194,1,195,1,195,1,195,1,195,1,195,1,196, + 1,196,1,196,1,196,1,196,1,196,1,197,1,197,1,197,1,197,1,197,1,197, + 1,197,1,197,1,198,1,198,1,198,1,198,1,198,1,198,1,198,1,199,1,199, + 1,199,1,199,1,199,1,199,1,200,1,200,1,200,1,200,1,200,1,201,1,201, + 1,201,1,201,1,201,1,201,1,201,1,201,1,202,1,202,1,202,1,202,1,202, + 1,202,1,202,1,202,1,202,1,202,1,203,1,203,1,203,1,203,1,203,1,203, + 1,203,1,203,1,204,1,204,1,204,1,204,1,204,1,204,1,204,1,204,1,204, + 1,204,1,204,1,204,1,204,1,205,1,205,1,205,1,205,1,205,1,205,1,205, + 1,206,1,206,1,206,1,206,1,206,1,206,1,206,1,206,1,206,1,206,1,206, + 1,207,1,207,1,207,1,207,1,207,1,207,1,207,1,207,1,207,1,207,1,207, + 1,208,1,208,1,208,1,208,1,208,1,208,1,208,1,208,1,208,1,208,1,208, + 1,208,1,208,1,208,1,208,1,208,1,208,1,208,1,209,1,209,1,209,1,209, + 1,209,1,209,1,209,1,209,1,209,1,209,1,209,1,209,1,210,1,210,1,210, + 1,210,1,210,1,210,1,210,1,210,1,210,1,210,1,210,1,210,1,210,1,210, + 1,210,1,210,1,210,1,210,1,210,1,210,1,210,1,210,1,210,1,211,1,211, + 1,211,1,211,1,211,1,211,1,211,1,211,1,211,1,212,1,212,1,212,1,212, + 1,212,1,212,1,213,1,213,1,213,1,213,1,214,1,214,1,214,1,214,1,214, + 1,215,1,215,1,215,1,215,1,215,1,216,1,216,1,216,1,216,1,216,1,216, + 1,216,1,216,1,216,1,216,1,216,1,216,1,216,1,217,1,217,1,217,1,217, + 1,217,1,217,1,217,1,218,1,218,1,218,1,218,1,218,1,218,1,218,1,218, + 1,218,1,219,1,219,1,219,1,219,1,219,1,219,1,219,1,219,1,219,1,219, + 1,220,1,220,1,220,1,220,1,220,1,220,1,221,1,221,1,221,1,221,1,221, + 1,221,1,221,1,221,1,221,1,221,1,221,1,221,1,222,1,222,1,222,1,222, + 1,222,1,222,1,222,1,223,1,223,1,223,1,223,1,223,1,223,1,223,1,223, + 1,224,1,224,1,224,1,224,1,224,1,224,1,224,1,224,1,225,1,225,1,225, + 1,225,1,225,1,225,1,225,1,225,1,225,1,225,1,225,1,225,1,225,1,225, + 1,225,1,225,1,225,1,226,1,226,1,226,1,226,1,226,1,226,1,226,1,226, + 1,227,1,227,1,227,1,227,1,227,1,227,1,227,1,227,1,227,1,228,1,228, + 1,228,1,228,1,228,1,228,1,228,1,228,1,228,1,228,1,228,1,229,1,229, + 1,229,1,229,1,229,1,229,1,230,1,230,1,230,1,230,1,230,1,230,1,230, + 1,230,1,230,1,230,1,230,1,230,1,230,1,230,1,231,1,231,1,231,1,231, + 1,231,1,231,1,231,1,231,1,231,1,231,1,231,1,231,1,231,1,231,1,232, + 1,232,1,232,1,232,1,232,1,232,1,232,1,232,1,232,1,232,1,232,1,232, + 1,232,1,232,1,232,1,232,1,233,1,233,1,233,1,233,1,233,1,233,1,233, + 1,233,1,233,1,234,1,234,1,234,1,234,1,234,1,234,1,234,1,234,1,235, + 1,235,1,235,1,235,1,235,1,236,1,236,1,236,1,236,1,237,1,237,1,237, + 1,237,1,237,1,237,1,237,1,238,1,238,1,238,1,238,1,238,1,238,1,239, + 1,239,1,239,1,239,1,239,1,240,1,240,1,240,1,240,1,240,1,241,1,241, + 1,241,1,241,1,241,1,242,1,242,1,242,1,243,1,243,1,243,1,243,1,243, + 1,243,1,243,1,243,1,244,1,244,1,244,1,244,1,244,1,244,1,244,1,245, + 1,245,1,245,1,245,1,245,1,246,1,246,1,246,1,246,1,246,1,246,1,247, + 1,247,1,247,1,247,1,247,1,248,1,248,3,248,2404,8,248,1,248,1,248, + 1,248,5,248,2409,8,248,10,248,12,248,2412,9,248,1,248,1,248,1,248, + 1,248,1,248,1,248,1,248,1,248,5,248,2422,8,248,10,248,12,248,2425, + 9,248,1,248,1,248,1,248,1,248,1,248,1,248,1,248,1,248,1,248,1,248, + 5,248,2437,8,248,10,248,12,248,2440,9,248,1,248,1,248,3,248,2444, + 8,248,1,249,1,249,1,249,5,249,2449,8,249,10,249,12,249,2452,9,249, + 1,249,1,249,3,249,2456,8,249,1,249,1,249,3,249,2460,8,249,1,249, + 4,249,2463,8,249,11,249,12,249,2464,1,249,1,249,1,249,3,249,2470, + 8,249,1,249,1,249,3,249,2474,8,249,1,249,4,249,2477,8,249,11,249, + 12,249,2478,1,249,1,249,1,249,5,249,2484,8,249,10,249,12,249,2487, + 9,249,1,249,1,249,1,249,3,249,2492,8,249,1,249,4,249,2495,8,249, + 11,249,12,249,2496,1,249,1,249,1,249,1,249,1,249,3,249,2504,8,249, + 1,249,4,249,2507,8,249,11,249,12,249,2508,1,249,1,249,1,249,1,249, + 3,249,2515,8,249,1,249,4,249,2518,8,249,11,249,12,249,2519,3,249, + 2522,8,249,1,250,1,250,4,250,2526,8,250,11,250,12,250,2527,1,251, + 4,251,2531,8,251,11,251,12,251,2532,1,252,1,252,1,252,4,252,2538, + 8,252,11,252,12,252,2539,1,253,1,253,1,253,1,253,1,253,1,253,1,253, + 1,253,5,253,2550,8,253,10,253,12,253,2553,9,253,1,253,1,253,1,254, + 1,254,1,255,1,255,1,256,1,256,1,257,1,257,1,258,1,258,1,259,1,259, + 1,260,1,260,1,261,1,261,1,262,1,262,1,263,1,263,1,264,1,264,1,265, + 1,265,1,266,1,266,1,267,1,267,1,268,1,268,1,269,1,269,1,270,1,270, + 1,271,1,271,1,272,1,272,1,273,1,273,1,274,1,274,1,275,1,275,1,276, + 1,276,1,277,1,277,1,278,1,278,1,279,1,279,1,280,1,280,1,281,1,281, + 1,282,1,282,1,283,1,283,1,284,1,284,1,284,1,285,1,285,1,286,1,286, + 1,287,1,287,1,288,1,288,1,289,1,289,1,290,1,290,1,290,1,291,1,291, + 1,292,1,292,1,293,1,293,1,293,1,294,1,294,1,295,1,295,1,295,1,296, + 1,296,1,297,1,297,1,298,1,298,1,299,1,299,1,299,1,300,1,300,1,301, + 1,301,1,302,1,302,1,302,1,302,3,302,2662,8,302,1,303,1,303,1,304, + 1,304,1,305,1,305,1,306,1,306,1,307,1,307,1,308,1,308,1,309,1,309, + 1,310,1,310,1,311,1,311,1,312,1,312,1,313,1,313,1,314,1,314,1,314, + 1,314,5,314,2690,8,314,10,314,12,314,2693,9,314,1,314,1,314,1,314, + 1,314,1,314,1,315,1,315,1,315,1,315,5,315,2704,8,315,10,315,12,315, + 2707,9,315,1,315,3,315,2710,8,315,1,315,1,315,1,316,1,316,1,316, + 1,316,1,2691,0,317,1,1,3,2,5,3,7,4,9,5,11,6,13,7,15,8,17,9,19,10, + 21,11,23,12,25,13,27,14,29,15,31,16,33,17,35,18,37,19,39,20,41,21, + 43,22,45,23,47,24,49,25,51,26,53,27,55,28,57,29,59,30,61,31,63,32, + 65,33,67,34,69,35,71,36,73,37,75,38,77,39,79,40,81,41,83,42,85,43, + 87,44,89,45,91,46,93,47,95,48,97,49,99,50,101,51,103,52,105,53,107, + 54,109,55,111,56,113,57,115,58,117,59,119,60,121,61,123,62,125,63, + 127,64,129,65,131,66,133,67,135,68,137,69,139,70,141,71,143,72,145, + 73,147,74,149,75,151,76,153,77,155,78,157,79,159,80,161,81,163,82, + 165,83,167,84,169,85,171,86,173,87,175,88,177,89,179,90,181,91,183, + 92,185,93,187,94,189,95,191,96,193,97,195,98,197,99,199,100,201, + 101,203,102,205,103,207,104,209,105,211,106,213,107,215,108,217, + 109,219,110,221,111,223,112,225,113,227,114,229,115,231,116,233, + 117,235,118,237,119,239,120,241,121,243,122,245,123,247,124,249, + 125,251,126,253,127,255,128,257,129,259,130,261,131,263,132,265, + 133,267,134,269,135,271,136,273,137,275,138,277,139,279,140,281, + 141,283,142,285,143,287,144,289,145,291,146,293,147,295,148,297, + 149,299,150,301,151,303,152,305,153,307,154,309,155,311,156,313, + 157,315,158,317,159,319,160,321,161,323,162,325,163,327,164,329, + 165,331,166,333,167,335,168,337,169,339,170,341,171,343,172,345, + 173,347,174,349,175,351,176,353,177,355,178,357,179,359,180,361, + 181,363,182,365,183,367,184,369,185,371,186,373,187,375,188,377, + 189,379,190,381,191,383,192,385,193,387,194,389,195,391,196,393, + 197,395,198,397,199,399,200,401,201,403,202,405,203,407,204,409, + 205,411,206,413,207,415,208,417,209,419,210,421,211,423,212,425, + 213,427,214,429,215,431,216,433,217,435,218,437,219,439,220,441, + 221,443,222,445,223,447,224,449,225,451,226,453,227,455,228,457, + 229,459,230,461,231,463,232,465,233,467,234,469,235,471,236,473, + 237,475,238,477,239,479,240,481,241,483,242,485,243,487,244,489, + 245,491,246,493,247,495,248,497,249,499,250,501,251,503,252,505, + 253,507,254,509,0,511,0,513,0,515,0,517,0,519,0,521,0,523,0,525, + 0,527,0,529,0,531,0,533,0,535,0,537,0,539,0,541,0,543,0,545,0,547, + 0,549,0,551,0,553,0,555,0,557,0,559,0,561,0,563,0,565,0,567,0,569, + 255,571,256,573,257,575,258,577,259,579,260,581,261,583,262,585, + 263,587,264,589,265,591,266,593,267,595,268,597,269,599,270,601, + 271,603,272,605,273,607,274,609,275,611,276,613,277,615,278,617, + 279,619,280,621,281,623,282,625,283,627,284,629,285,631,286,633, + 287,1,0,36,2,0,92,92,96,96,2,0,34,34,92,92,2,0,39,39,92,92,2,0,65, + 65,97,97,2,0,66,66,98,98,2,0,67,67,99,99,2,0,68,68,100,100,2,0,69, + 69,101,101,2,0,70,70,102,102,2,0,71,71,103,103,2,0,72,72,104,104, + 2,0,73,73,105,105,2,0,74,74,106,106,2,0,75,75,107,107,2,0,76,76, + 108,108,2,0,77,77,109,109,2,0,78,78,110,110,2,0,79,79,111,111,2, + 0,80,80,112,112,2,0,81,81,113,113,2,0,82,82,114,114,2,0,83,83,115, + 115,2,0,84,84,116,116,2,0,85,85,117,117,2,0,86,86,118,118,2,0,87, + 87,119,119,2,0,88,88,120,120,2,0,89,89,121,121,2,0,90,90,122,122, + 2,0,65,90,97,122,1,0,48,55,1,0,48,57,3,0,48,57,65,70,97,102,2,0, + 10,10,13,13,2,1,10,10,13,13,2,0,9,13,32,32,2733,0,1,1,0,0,0,0,3, + 1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1, + 0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,23,1, + 0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1, + 0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1, + 0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1, + 0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1, + 0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1, + 0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1, + 0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1, + 0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103, + 1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0, + 0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1, + 0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,0,127,1,0,0,0,0,129,1,0,0,0,0, + 131,1,0,0,0,0,133,1,0,0,0,0,135,1,0,0,0,0,137,1,0,0,0,0,139,1,0, + 0,0,0,141,1,0,0,0,0,143,1,0,0,0,0,145,1,0,0,0,0,147,1,0,0,0,0,149, + 1,0,0,0,0,151,1,0,0,0,0,153,1,0,0,0,0,155,1,0,0,0,0,157,1,0,0,0, + 0,159,1,0,0,0,0,161,1,0,0,0,0,163,1,0,0,0,0,165,1,0,0,0,0,167,1, + 0,0,0,0,169,1,0,0,0,0,171,1,0,0,0,0,173,1,0,0,0,0,175,1,0,0,0,0, + 177,1,0,0,0,0,179,1,0,0,0,0,181,1,0,0,0,0,183,1,0,0,0,0,185,1,0, + 0,0,0,187,1,0,0,0,0,189,1,0,0,0,0,191,1,0,0,0,0,193,1,0,0,0,0,195, + 1,0,0,0,0,197,1,0,0,0,0,199,1,0,0,0,0,201,1,0,0,0,0,203,1,0,0,0, + 0,205,1,0,0,0,0,207,1,0,0,0,0,209,1,0,0,0,0,211,1,0,0,0,0,213,1, + 0,0,0,0,215,1,0,0,0,0,217,1,0,0,0,0,219,1,0,0,0,0,221,1,0,0,0,0, + 223,1,0,0,0,0,225,1,0,0,0,0,227,1,0,0,0,0,229,1,0,0,0,0,231,1,0, + 0,0,0,233,1,0,0,0,0,235,1,0,0,0,0,237,1,0,0,0,0,239,1,0,0,0,0,241, + 1,0,0,0,0,243,1,0,0,0,0,245,1,0,0,0,0,247,1,0,0,0,0,249,1,0,0,0, + 0,251,1,0,0,0,0,253,1,0,0,0,0,255,1,0,0,0,0,257,1,0,0,0,0,259,1, + 0,0,0,0,261,1,0,0,0,0,263,1,0,0,0,0,265,1,0,0,0,0,267,1,0,0,0,0, + 269,1,0,0,0,0,271,1,0,0,0,0,273,1,0,0,0,0,275,1,0,0,0,0,277,1,0, + 0,0,0,279,1,0,0,0,0,281,1,0,0,0,0,283,1,0,0,0,0,285,1,0,0,0,0,287, + 1,0,0,0,0,289,1,0,0,0,0,291,1,0,0,0,0,293,1,0,0,0,0,295,1,0,0,0, + 0,297,1,0,0,0,0,299,1,0,0,0,0,301,1,0,0,0,0,303,1,0,0,0,0,305,1, + 0,0,0,0,307,1,0,0,0,0,309,1,0,0,0,0,311,1,0,0,0,0,313,1,0,0,0,0, + 315,1,0,0,0,0,317,1,0,0,0,0,319,1,0,0,0,0,321,1,0,0,0,0,323,1,0, + 0,0,0,325,1,0,0,0,0,327,1,0,0,0,0,329,1,0,0,0,0,331,1,0,0,0,0,333, + 1,0,0,0,0,335,1,0,0,0,0,337,1,0,0,0,0,339,1,0,0,0,0,341,1,0,0,0, + 0,343,1,0,0,0,0,345,1,0,0,0,0,347,1,0,0,0,0,349,1,0,0,0,0,351,1, + 0,0,0,0,353,1,0,0,0,0,355,1,0,0,0,0,357,1,0,0,0,0,359,1,0,0,0,0, + 361,1,0,0,0,0,363,1,0,0,0,0,365,1,0,0,0,0,367,1,0,0,0,0,369,1,0, + 0,0,0,371,1,0,0,0,0,373,1,0,0,0,0,375,1,0,0,0,0,377,1,0,0,0,0,379, + 1,0,0,0,0,381,1,0,0,0,0,383,1,0,0,0,0,385,1,0,0,0,0,387,1,0,0,0, + 0,389,1,0,0,0,0,391,1,0,0,0,0,393,1,0,0,0,0,395,1,0,0,0,0,397,1, + 0,0,0,0,399,1,0,0,0,0,401,1,0,0,0,0,403,1,0,0,0,0,405,1,0,0,0,0, + 407,1,0,0,0,0,409,1,0,0,0,0,411,1,0,0,0,0,413,1,0,0,0,0,415,1,0, + 0,0,0,417,1,0,0,0,0,419,1,0,0,0,0,421,1,0,0,0,0,423,1,0,0,0,0,425, + 1,0,0,0,0,427,1,0,0,0,0,429,1,0,0,0,0,431,1,0,0,0,0,433,1,0,0,0, + 0,435,1,0,0,0,0,437,1,0,0,0,0,439,1,0,0,0,0,441,1,0,0,0,0,443,1, + 0,0,0,0,445,1,0,0,0,0,447,1,0,0,0,0,449,1,0,0,0,0,451,1,0,0,0,0, + 453,1,0,0,0,0,455,1,0,0,0,0,457,1,0,0,0,0,459,1,0,0,0,0,461,1,0, + 0,0,0,463,1,0,0,0,0,465,1,0,0,0,0,467,1,0,0,0,0,469,1,0,0,0,0,471, + 1,0,0,0,0,473,1,0,0,0,0,475,1,0,0,0,0,477,1,0,0,0,0,479,1,0,0,0, + 0,481,1,0,0,0,0,483,1,0,0,0,0,485,1,0,0,0,0,487,1,0,0,0,0,489,1, + 0,0,0,0,491,1,0,0,0,0,493,1,0,0,0,0,495,1,0,0,0,0,497,1,0,0,0,0, + 499,1,0,0,0,0,501,1,0,0,0,0,503,1,0,0,0,0,505,1,0,0,0,0,507,1,0, + 0,0,0,569,1,0,0,0,0,571,1,0,0,0,0,573,1,0,0,0,0,575,1,0,0,0,0,577, + 1,0,0,0,0,579,1,0,0,0,0,581,1,0,0,0,0,583,1,0,0,0,0,585,1,0,0,0, + 0,587,1,0,0,0,0,589,1,0,0,0,0,591,1,0,0,0,0,593,1,0,0,0,0,595,1, + 0,0,0,0,597,1,0,0,0,0,599,1,0,0,0,0,601,1,0,0,0,0,603,1,0,0,0,0, + 605,1,0,0,0,0,607,1,0,0,0,0,609,1,0,0,0,0,611,1,0,0,0,0,613,1,0, + 0,0,0,615,1,0,0,0,0,617,1,0,0,0,0,619,1,0,0,0,0,621,1,0,0,0,0,623, + 1,0,0,0,0,625,1,0,0,0,0,627,1,0,0,0,0,629,1,0,0,0,0,631,1,0,0,0, + 0,633,1,0,0,0,1,635,1,0,0,0,3,639,1,0,0,0,5,645,1,0,0,0,7,651,1, + 0,0,0,9,655,1,0,0,0,11,661,1,0,0,0,13,665,1,0,0,0,15,670,1,0,0,0, + 17,674,1,0,0,0,19,680,1,0,0,0,21,697,1,0,0,0,23,699,1,0,0,0,25,704, + 1,0,0,0,27,708,1,0,0,0,29,714,1,0,0,0,31,721,1,0,0,0,33,729,1,0, + 0,0,35,734,1,0,0,0,37,737,1,0,0,0,39,742,1,0,0,0,41,747,1,0,0,0, + 43,753,1,0,0,0,45,759,1,0,0,0,47,767,1,0,0,0,49,773,1,0,0,0,51,781, + 1,0,0,0,53,788,1,0,0,0,55,796,1,0,0,0,57,807,1,0,0,0,59,814,1,0, + 0,0,61,820,1,0,0,0,63,825,1,0,0,0,65,833,1,0,0,0,67,842,1,0,0,0, + 69,852,1,0,0,0,71,857,1,0,0,0,73,861,1,0,0,0,75,873,1,0,0,0,77,881, + 1,0,0,0,79,887,1,0,0,0,81,894,1,0,0,0,83,899,1,0,0,0,85,910,1,0, + 0,0,87,919,1,0,0,0,89,926,1,0,0,0,91,939,1,0,0,0,93,950,1,0,0,0, + 95,955,1,0,0,0,97,964,1,0,0,0,99,976,1,0,0,0,101,981,1,0,0,0,103, + 986,1,0,0,0,105,990,1,0,0,0,107,997,1,0,0,0,109,1006,1,0,0,0,111, + 1013,1,0,0,0,113,1020,1,0,0,0,115,1028,1,0,0,0,117,1039,1,0,0,0, + 119,1047,1,0,0,0,121,1055,1,0,0,0,123,1061,1,0,0,0,125,1067,1,0, + 0,0,127,1073,1,0,0,0,129,1083,1,0,0,0,131,1087,1,0,0,0,133,1094, + 1,0,0,0,135,1101,1,0,0,0,137,1106,1,0,0,0,139,1111,1,0,0,0,141,1120, + 1,0,0,0,143,1127,1,0,0,0,145,1139,1,0,0,0,147,1145,1,0,0,0,149,1152, + 1,0,0,0,151,1165,1,0,0,0,153,1170,1,0,0,0,155,1173,1,0,0,0,157,1176, + 1,0,0,0,159,1182,1,0,0,0,161,1185,1,0,0,0,163,1204,1,0,0,0,165,1206, + 1,0,0,0,167,1216,1,0,0,0,169,1222,1,0,0,0,171,1229,1,0,0,0,173,1238, + 1,0,0,0,175,1243,1,0,0,0,177,1246,1,0,0,0,179,1259,1,0,0,0,181,1264, + 1,0,0,0,183,1268,1,0,0,0,185,1273,1,0,0,0,187,1278,1,0,0,0,189,1285, + 1,0,0,0,191,1293,1,0,0,0,193,1298,1,0,0,0,195,1307,1,0,0,0,197,1312, + 1,0,0,0,199,1318,1,0,0,0,201,1323,1,0,0,0,203,1329,1,0,0,0,205,1334, + 1,0,0,0,207,1346,1,0,0,0,209,1359,1,0,0,0,211,1363,1,0,0,0,213,1370, + 1,0,0,0,215,1374,1,0,0,0,217,1381,1,0,0,0,219,1388,1,0,0,0,221,1394, + 1,0,0,0,223,1399,1,0,0,0,225,1408,1,0,0,0,227,1412,1,0,0,0,229,1415, + 1,0,0,0,231,1419,1,0,0,0,233,1424,1,0,0,0,235,1430,1,0,0,0,237,1437, + 1,0,0,0,239,1440,1,0,0,0,241,1449,1,0,0,0,243,1452,1,0,0,0,245,1458, + 1,0,0,0,247,1464,1,0,0,0,249,1472,1,0,0,0,251,1477,1,0,0,0,253,1487, + 1,0,0,0,255,1496,1,0,0,0,257,1501,1,0,0,0,259,1510,1,0,0,0,261,1520, + 1,0,0,0,263,1529,1,0,0,0,265,1537,1,0,0,0,267,1548,1,0,0,0,269,1556, + 1,0,0,0,271,1562,1,0,0,0,273,1568,1,0,0,0,275,1575,1,0,0,0,277,1582, + 1,0,0,0,279,1589,1,0,0,0,281,1597,1,0,0,0,283,1605,1,0,0,0,285,1616, + 1,0,0,0,287,1622,1,0,0,0,289,1629,1,0,0,0,291,1633,1,0,0,0,293,1638, + 1,0,0,0,295,1645,1,0,0,0,297,1652,1,0,0,0,299,1659,1,0,0,0,301,1664, + 1,0,0,0,303,1670,1,0,0,0,305,1674,1,0,0,0,307,1683,1,0,0,0,309,1688, + 1,0,0,0,311,1695,1,0,0,0,313,1701,1,0,0,0,315,1706,1,0,0,0,317,1716, + 1,0,0,0,319,1721,1,0,0,0,321,1728,1,0,0,0,323,1735,1,0,0,0,325,1741, + 1,0,0,0,327,1748,1,0,0,0,329,1758,1,0,0,0,331,1763,1,0,0,0,333,1768, + 1,0,0,0,335,1773,1,0,0,0,337,1781,1,0,0,0,339,1791,1,0,0,0,341,1794, + 1,0,0,0,343,1798,1,0,0,0,345,1805,1,0,0,0,347,1814,1,0,0,0,349,1819, + 1,0,0,0,351,1824,1,0,0,0,353,1833,1,0,0,0,355,1837,1,0,0,0,357,1842, + 1,0,0,0,359,1852,1,0,0,0,361,1858,1,0,0,0,363,1865,1,0,0,0,365,1869, + 1,0,0,0,367,1875,1,0,0,0,369,1880,1,0,0,0,371,1887,1,0,0,0,373,1892, + 1,0,0,0,375,1899,1,0,0,0,377,1905,1,0,0,0,379,1910,1,0,0,0,381,1915, + 1,0,0,0,383,1921,1,0,0,0,385,1928,1,0,0,0,387,1943,1,0,0,0,389,1945, + 1,0,0,0,391,1951,1,0,0,0,393,1956,1,0,0,0,395,1962,1,0,0,0,397,1970, + 1,0,0,0,399,1977,1,0,0,0,401,1983,1,0,0,0,403,1988,1,0,0,0,405,1996, + 1,0,0,0,407,2006,1,0,0,0,409,2014,1,0,0,0,411,2027,1,0,0,0,413,2034, + 1,0,0,0,415,2045,1,0,0,0,417,2056,1,0,0,0,419,2074,1,0,0,0,421,2086, + 1,0,0,0,423,2109,1,0,0,0,425,2118,1,0,0,0,427,2124,1,0,0,0,429,2128, + 1,0,0,0,431,2133,1,0,0,0,433,2138,1,0,0,0,435,2151,1,0,0,0,437,2158, + 1,0,0,0,439,2167,1,0,0,0,441,2177,1,0,0,0,443,2183,1,0,0,0,445,2195, + 1,0,0,0,447,2202,1,0,0,0,449,2210,1,0,0,0,451,2218,1,0,0,0,453,2235, + 1,0,0,0,455,2243,1,0,0,0,457,2252,1,0,0,0,459,2263,1,0,0,0,461,2269, + 1,0,0,0,463,2283,1,0,0,0,465,2297,1,0,0,0,467,2313,1,0,0,0,469,2322, + 1,0,0,0,471,2330,1,0,0,0,473,2335,1,0,0,0,475,2339,1,0,0,0,477,2346, + 1,0,0,0,479,2352,1,0,0,0,481,2357,1,0,0,0,483,2362,1,0,0,0,485,2367, + 1,0,0,0,487,2370,1,0,0,0,489,2378,1,0,0,0,491,2385,1,0,0,0,493,2390, + 1,0,0,0,495,2396,1,0,0,0,497,2443,1,0,0,0,499,2521,1,0,0,0,501,2523, + 1,0,0,0,503,2530,1,0,0,0,505,2534,1,0,0,0,507,2541,1,0,0,0,509,2556, + 1,0,0,0,511,2558,1,0,0,0,513,2560,1,0,0,0,515,2562,1,0,0,0,517,2564, + 1,0,0,0,519,2566,1,0,0,0,521,2568,1,0,0,0,523,2570,1,0,0,0,525,2572, + 1,0,0,0,527,2574,1,0,0,0,529,2576,1,0,0,0,531,2578,1,0,0,0,533,2580, + 1,0,0,0,535,2582,1,0,0,0,537,2584,1,0,0,0,539,2586,1,0,0,0,541,2588, + 1,0,0,0,543,2590,1,0,0,0,545,2592,1,0,0,0,547,2594,1,0,0,0,549,2596, + 1,0,0,0,551,2598,1,0,0,0,553,2600,1,0,0,0,555,2602,1,0,0,0,557,2604, + 1,0,0,0,559,2606,1,0,0,0,561,2608,1,0,0,0,563,2610,1,0,0,0,565,2612, + 1,0,0,0,567,2614,1,0,0,0,569,2616,1,0,0,0,571,2619,1,0,0,0,573,2621, + 1,0,0,0,575,2623,1,0,0,0,577,2625,1,0,0,0,579,2627,1,0,0,0,581,2629, + 1,0,0,0,583,2632,1,0,0,0,585,2634,1,0,0,0,587,2636,1,0,0,0,589,2639, + 1,0,0,0,591,2641,1,0,0,0,593,2644,1,0,0,0,595,2646,1,0,0,0,597,2648, + 1,0,0,0,599,2650,1,0,0,0,601,2653,1,0,0,0,603,2655,1,0,0,0,605,2661, + 1,0,0,0,607,2663,1,0,0,0,609,2665,1,0,0,0,611,2667,1,0,0,0,613,2669, + 1,0,0,0,615,2671,1,0,0,0,617,2673,1,0,0,0,619,2675,1,0,0,0,621,2677, + 1,0,0,0,623,2679,1,0,0,0,625,2681,1,0,0,0,627,2683,1,0,0,0,629,2685, + 1,0,0,0,631,2699,1,0,0,0,633,2713,1,0,0,0,635,636,3,509,254,0,636, + 637,3,515,257,0,637,638,3,515,257,0,638,2,1,0,0,0,639,640,3,509, + 254,0,640,641,3,519,259,0,641,642,3,547,273,0,642,643,3,517,258, + 0,643,644,3,543,271,0,644,4,1,0,0,0,645,646,3,509,254,0,646,647, + 3,531,265,0,647,648,3,525,262,0,648,649,3,509,254,0,649,650,3,545, + 272,0,650,6,1,0,0,0,651,652,3,509,254,0,652,653,3,531,265,0,653, + 654,3,531,265,0,654,8,1,0,0,0,655,656,3,509,254,0,656,657,3,531, + 265,0,657,658,3,547,273,0,658,659,3,517,258,0,659,660,3,543,271, + 0,660,10,1,0,0,0,661,662,3,509,254,0,662,663,3,535,267,0,663,664, + 3,515,257,0,664,12,1,0,0,0,665,666,3,509,254,0,666,667,3,535,267, + 0,667,668,3,547,273,0,668,669,3,525,262,0,669,14,1,0,0,0,670,671, + 3,509,254,0,671,672,3,535,267,0,672,673,3,557,278,0,673,16,1,0,0, + 0,674,675,3,509,254,0,675,676,3,543,271,0,676,677,3,543,271,0,677, + 678,3,509,254,0,678,679,3,557,278,0,679,18,1,0,0,0,680,681,3,509, + 254,0,681,682,3,545,272,0,682,20,1,0,0,0,683,684,3,509,254,0,684, + 685,3,545,272,0,685,686,3,513,256,0,686,698,1,0,0,0,687,688,3,509, + 254,0,688,689,3,545,272,0,689,690,3,513,256,0,690,691,3,517,258, + 0,691,692,3,535,267,0,692,693,3,515,257,0,693,694,3,525,262,0,694, + 695,3,535,267,0,695,696,3,521,260,0,696,698,1,0,0,0,697,683,1,0, + 0,0,697,687,1,0,0,0,698,22,1,0,0,0,699,700,3,509,254,0,700,701,3, + 545,272,0,701,702,3,537,268,0,702,703,3,519,259,0,703,24,1,0,0,0, + 704,705,3,509,254,0,705,706,3,545,272,0,706,707,3,547,273,0,707, + 26,1,0,0,0,708,709,3,509,254,0,709,710,3,545,272,0,710,711,3,557, + 278,0,711,712,3,535,267,0,712,713,3,513,256,0,713,28,1,0,0,0,714, + 715,3,509,254,0,715,716,3,547,273,0,716,717,3,547,273,0,717,718, + 3,509,254,0,718,719,3,513,256,0,719,720,3,523,261,0,720,30,1,0,0, + 0,721,722,3,511,255,0,722,723,3,517,258,0,723,724,3,547,273,0,724, + 725,3,553,276,0,725,726,3,517,258,0,726,727,3,517,258,0,727,728, + 3,535,267,0,728,32,1,0,0,0,729,730,3,511,255,0,730,731,3,537,268, + 0,731,732,3,547,273,0,732,733,3,523,261,0,733,34,1,0,0,0,734,735, + 3,511,255,0,735,736,3,557,278,0,736,36,1,0,0,0,737,738,3,513,256, + 0,738,739,3,509,254,0,739,740,3,545,272,0,740,741,3,517,258,0,741, + 38,1,0,0,0,742,743,3,513,256,0,743,744,3,509,254,0,744,745,3,545, + 272,0,745,746,3,547,273,0,746,40,1,0,0,0,747,748,3,513,256,0,748, + 749,3,523,261,0,749,750,3,517,258,0,750,751,3,513,256,0,751,752, + 3,529,264,0,752,42,1,0,0,0,753,754,3,513,256,0,754,755,3,531,265, + 0,755,756,3,517,258,0,756,757,3,509,254,0,757,758,3,543,271,0,758, + 44,1,0,0,0,759,760,3,513,256,0,760,761,3,531,265,0,761,762,3,549, + 274,0,762,763,3,545,272,0,763,764,3,547,273,0,764,765,3,517,258, + 0,765,766,3,543,271,0,766,46,1,0,0,0,767,768,3,513,256,0,768,769, + 3,537,268,0,769,770,3,515,257,0,770,771,3,517,258,0,771,772,3,513, + 256,0,772,48,1,0,0,0,773,774,3,513,256,0,774,775,3,537,268,0,775, + 776,3,531,265,0,776,777,3,531,265,0,777,778,3,509,254,0,778,779, + 3,547,273,0,779,780,3,517,258,0,780,50,1,0,0,0,781,782,3,513,256, + 0,782,783,3,537,268,0,783,784,3,531,265,0,784,785,3,549,274,0,785, + 786,3,533,266,0,786,787,3,535,267,0,787,52,1,0,0,0,788,789,3,513, + 256,0,789,790,3,537,268,0,790,791,3,533,266,0,791,792,3,533,266, + 0,792,793,3,517,258,0,793,794,3,535,267,0,794,795,3,547,273,0,795, + 54,1,0,0,0,796,797,3,513,256,0,797,798,3,537,268,0,798,799,3,535, + 267,0,799,800,3,545,272,0,800,801,3,547,273,0,801,802,3,543,271, + 0,802,803,3,509,254,0,803,804,3,525,262,0,804,805,3,535,267,0,805, + 806,3,547,273,0,806,56,1,0,0,0,807,808,3,513,256,0,808,809,3,543, + 271,0,809,810,3,517,258,0,810,811,3,509,254,0,811,812,3,547,273, + 0,812,813,3,517,258,0,813,58,1,0,0,0,814,815,3,513,256,0,815,816, + 3,543,271,0,816,817,3,537,268,0,817,818,3,545,272,0,818,819,3,545, + 272,0,819,60,1,0,0,0,820,821,3,513,256,0,821,822,3,549,274,0,822, + 823,3,511,255,0,823,824,3,517,258,0,824,62,1,0,0,0,825,826,3,513, + 256,0,826,827,3,549,274,0,827,828,3,543,271,0,828,829,3,543,271, + 0,829,830,3,517,258,0,830,831,3,535,267,0,831,832,3,547,273,0,832, + 64,1,0,0,0,833,834,3,515,257,0,834,835,3,509,254,0,835,836,3,547, + 273,0,836,837,3,509,254,0,837,838,3,511,255,0,838,839,3,509,254, + 0,839,840,3,545,272,0,840,841,3,517,258,0,841,66,1,0,0,0,842,843, + 3,515,257,0,843,844,3,509,254,0,844,845,3,547,273,0,845,846,3,509, + 254,0,846,847,3,511,255,0,847,848,3,509,254,0,848,849,3,545,272, + 0,849,850,3,517,258,0,850,851,3,545,272,0,851,68,1,0,0,0,852,853, + 3,515,257,0,853,854,3,509,254,0,854,855,3,547,273,0,855,856,3,517, + 258,0,856,70,1,0,0,0,857,858,3,515,257,0,858,859,3,509,254,0,859, + 860,3,557,278,0,860,72,1,0,0,0,861,862,3,515,257,0,862,863,3,517, + 258,0,863,864,3,515,257,0,864,865,3,549,274,0,865,866,3,539,269, + 0,866,867,3,531,265,0,867,868,3,525,262,0,868,869,3,513,256,0,869, + 870,3,509,254,0,870,871,3,547,273,0,871,872,3,517,258,0,872,74,1, + 0,0,0,873,874,3,515,257,0,874,875,3,517,258,0,875,876,3,519,259, + 0,876,877,3,509,254,0,877,878,3,549,274,0,878,879,3,531,265,0,879, + 880,3,547,273,0,880,76,1,0,0,0,881,882,3,515,257,0,882,883,3,517, + 258,0,883,884,3,531,265,0,884,885,3,509,254,0,885,886,3,557,278, + 0,886,78,1,0,0,0,887,888,3,515,257,0,888,889,3,517,258,0,889,890, + 3,531,265,0,890,891,3,517,258,0,891,892,3,547,273,0,892,893,3,517, + 258,0,893,80,1,0,0,0,894,895,3,515,257,0,895,896,3,517,258,0,896, + 897,3,545,272,0,897,898,3,513,256,0,898,82,1,0,0,0,899,900,3,515, + 257,0,900,901,3,517,258,0,901,902,3,545,272,0,902,903,3,513,256, + 0,903,904,3,517,258,0,904,905,3,535,267,0,905,906,3,515,257,0,906, + 907,3,525,262,0,907,908,3,535,267,0,908,909,3,521,260,0,909,84,1, + 0,0,0,910,911,3,515,257,0,911,912,3,517,258,0,912,913,3,545,272, + 0,913,914,3,513,256,0,914,915,3,543,271,0,915,916,3,525,262,0,916, + 917,3,511,255,0,917,918,3,517,258,0,918,86,1,0,0,0,919,920,3,515, + 257,0,920,921,3,517,258,0,921,922,3,547,273,0,922,923,3,509,254, + 0,923,924,3,513,256,0,924,925,3,523,261,0,925,88,1,0,0,0,926,927, + 3,515,257,0,927,928,3,525,262,0,928,929,3,513,256,0,929,930,3,547, + 273,0,930,931,3,525,262,0,931,932,3,537,268,0,932,933,3,535,267, + 0,933,934,3,509,254,0,934,935,3,543,271,0,935,936,3,525,262,0,936, + 937,3,517,258,0,937,938,3,545,272,0,938,90,1,0,0,0,939,940,3,515, + 257,0,940,941,3,525,262,0,941,942,3,513,256,0,942,943,3,547,273, + 0,943,944,3,525,262,0,944,945,3,537,268,0,945,946,3,535,267,0,946, + 947,3,509,254,0,947,948,3,543,271,0,948,949,3,557,278,0,949,92,1, + 0,0,0,950,951,3,515,257,0,951,952,3,525,262,0,952,953,3,545,272, + 0,953,954,3,529,264,0,954,94,1,0,0,0,955,956,3,515,257,0,956,957, + 3,525,262,0,957,958,3,545,272,0,958,959,3,547,273,0,959,960,3,525, + 262,0,960,961,3,535,267,0,961,962,3,513,256,0,962,963,3,547,273, + 0,963,96,1,0,0,0,964,965,3,515,257,0,965,966,3,525,262,0,966,967, + 3,545,272,0,967,968,3,547,273,0,968,969,3,543,271,0,969,970,3,525, + 262,0,970,971,3,511,255,0,971,972,3,549,274,0,972,973,3,547,273, + 0,973,974,3,517,258,0,974,975,3,515,257,0,975,98,1,0,0,0,976,977, + 3,515,257,0,977,978,3,543,271,0,978,979,3,537,268,0,979,980,3,539, + 269,0,980,100,1,0,0,0,981,982,3,517,258,0,982,983,3,531,265,0,983, + 984,3,545,272,0,984,985,3,517,258,0,985,102,1,0,0,0,986,987,3,517, + 258,0,987,988,3,535,267,0,988,989,3,515,257,0,989,104,1,0,0,0,990, + 991,3,517,258,0,991,992,3,535,267,0,992,993,3,521,260,0,993,994, + 3,525,262,0,994,995,3,535,267,0,995,996,3,517,258,0,996,106,1,0, + 0,0,997,998,3,517,258,0,998,999,3,545,272,0,999,1000,3,547,273,0, + 1000,1001,3,525,262,0,1001,1002,3,533,266,0,1002,1003,3,509,254, + 0,1003,1004,3,547,273,0,1004,1005,3,517,258,0,1005,108,1,0,0,0,1006, + 1007,3,517,258,0,1007,1008,3,551,275,0,1008,1009,3,517,258,0,1009, + 1010,3,535,267,0,1010,1011,3,547,273,0,1011,1012,3,545,272,0,1012, + 110,1,0,0,0,1013,1014,3,517,258,0,1014,1015,3,555,277,0,1015,1016, + 3,525,262,0,1016,1017,3,545,272,0,1017,1018,3,547,273,0,1018,1019, + 3,545,272,0,1019,112,1,0,0,0,1020,1021,3,517,258,0,1021,1022,3,555, + 277,0,1022,1023,3,539,269,0,1023,1024,3,531,265,0,1024,1025,3,509, + 254,0,1025,1026,3,525,262,0,1026,1027,3,535,267,0,1027,114,1,0,0, + 0,1028,1029,3,517,258,0,1029,1030,3,555,277,0,1030,1031,3,539,269, + 0,1031,1032,3,543,271,0,1032,1033,3,517,258,0,1033,1034,3,545,272, + 0,1034,1035,3,545,272,0,1035,1036,3,525,262,0,1036,1037,3,537,268, + 0,1037,1038,3,535,267,0,1038,116,1,0,0,0,1039,1040,3,517,258,0,1040, + 1041,3,555,277,0,1041,1042,3,547,273,0,1042,1043,3,543,271,0,1043, + 1044,3,509,254,0,1044,1045,3,513,256,0,1045,1046,3,547,273,0,1046, + 118,1,0,0,0,1047,1048,3,519,259,0,1048,1049,3,517,258,0,1049,1050, + 3,547,273,0,1050,1051,3,513,256,0,1051,1052,3,523,261,0,1052,1053, + 3,517,258,0,1053,1054,3,545,272,0,1054,120,1,0,0,0,1055,1056,3,519, + 259,0,1056,1057,3,525,262,0,1057,1058,3,535,267,0,1058,1059,3,509, + 254,0,1059,1060,3,531,265,0,1060,122,1,0,0,0,1061,1062,3,519,259, + 0,1062,1063,3,525,262,0,1063,1064,3,543,271,0,1064,1065,3,545,272, + 0,1065,1066,3,547,273,0,1066,124,1,0,0,0,1067,1068,3,519,259,0,1068, + 1069,3,531,265,0,1069,1070,3,549,274,0,1070,1071,3,545,272,0,1071, + 1072,3,523,261,0,1072,126,1,0,0,0,1073,1074,3,519,259,0,1074,1075, + 3,537,268,0,1075,1076,3,531,265,0,1076,1077,3,531,265,0,1077,1078, + 3,537,268,0,1078,1079,3,553,276,0,1079,1080,3,525,262,0,1080,1081, + 3,535,267,0,1081,1082,3,521,260,0,1082,128,1,0,0,0,1083,1084,3,519, + 259,0,1084,1085,3,537,268,0,1085,1086,3,543,271,0,1086,130,1,0,0, + 0,1087,1088,3,519,259,0,1088,1089,3,537,268,0,1089,1090,3,543,271, + 0,1090,1091,3,533,266,0,1091,1092,3,509,254,0,1092,1093,3,547,273, + 0,1093,132,1,0,0,0,1094,1095,3,519,259,0,1095,1096,3,543,271,0,1096, + 1097,3,517,258,0,1097,1098,3,517,258,0,1098,1099,3,559,279,0,1099, + 1100,3,517,258,0,1100,134,1,0,0,0,1101,1102,3,519,259,0,1102,1103, + 3,543,271,0,1103,1104,3,537,268,0,1104,1105,3,533,266,0,1105,136, + 1,0,0,0,1106,1107,3,519,259,0,1107,1108,3,549,274,0,1108,1109,3, + 531,265,0,1109,1110,3,531,265,0,1110,138,1,0,0,0,1111,1112,3,519, + 259,0,1112,1113,3,549,274,0,1113,1114,3,535,267,0,1114,1115,3,513, + 256,0,1115,1116,3,547,273,0,1116,1117,3,525,262,0,1117,1118,3,537, + 268,0,1118,1119,3,535,267,0,1119,140,1,0,0,0,1120,1121,3,521,260, + 0,1121,1122,3,531,265,0,1122,1123,3,537,268,0,1123,1124,3,511,255, + 0,1124,1125,3,509,254,0,1125,1126,3,531,265,0,1126,142,1,0,0,0,1127, + 1128,3,521,260,0,1128,1129,3,543,271,0,1129,1130,3,509,254,0,1130, + 1131,3,535,267,0,1131,1132,3,549,274,0,1132,1133,3,531,265,0,1133, + 1134,3,509,254,0,1134,1135,3,543,271,0,1135,1136,3,525,262,0,1136, + 1137,3,547,273,0,1137,1138,3,557,278,0,1138,144,1,0,0,0,1139,1140, + 3,521,260,0,1140,1141,3,543,271,0,1141,1142,3,537,268,0,1142,1143, + 3,549,274,0,1143,1144,3,539,269,0,1144,146,1,0,0,0,1145,1146,3,523, + 261,0,1146,1147,3,509,254,0,1147,1148,3,551,275,0,1148,1149,3,525, + 262,0,1149,1150,3,535,267,0,1150,1151,3,521,260,0,1151,148,1,0,0, + 0,1152,1153,3,523,261,0,1153,1154,3,525,262,0,1154,1155,3,517,258, + 0,1155,1156,3,543,271,0,1156,1157,3,509,254,0,1157,1158,3,543,271, + 0,1158,1159,3,513,256,0,1159,1160,3,523,261,0,1160,1161,3,525,262, + 0,1161,1162,3,513,256,0,1162,1163,3,509,254,0,1163,1164,3,531,265, + 0,1164,150,1,0,0,0,1165,1166,3,523,261,0,1166,1167,3,537,268,0,1167, + 1168,3,549,274,0,1168,1169,3,543,271,0,1169,152,1,0,0,0,1170,1171, + 3,525,262,0,1171,1172,3,515,257,0,1172,154,1,0,0,0,1173,1174,3,525, + 262,0,1174,1175,3,519,259,0,1175,156,1,0,0,0,1176,1177,3,525,262, + 0,1177,1178,3,531,265,0,1178,1179,3,525,262,0,1179,1180,3,529,264, + 0,1180,1181,3,517,258,0,1181,158,1,0,0,0,1182,1183,3,525,262,0,1183, + 1184,3,535,267,0,1184,160,1,0,0,0,1185,1186,3,525,262,0,1186,1187, + 3,535,267,0,1187,1188,3,515,257,0,1188,1189,3,517,258,0,1189,1190, + 3,555,277,0,1190,162,1,0,0,0,1191,1192,3,525,262,0,1192,1193,3,535, + 267,0,1193,1194,3,519,259,0,1194,1205,1,0,0,0,1195,1196,3,525,262, + 0,1196,1197,3,535,267,0,1197,1198,3,519,259,0,1198,1199,3,525,262, + 0,1199,1200,3,535,267,0,1200,1201,3,525,262,0,1201,1202,3,547,273, + 0,1202,1203,3,557,278,0,1203,1205,1,0,0,0,1204,1191,1,0,0,0,1204, + 1195,1,0,0,0,1205,164,1,0,0,0,1206,1207,3,525,262,0,1207,1208,3, + 535,267,0,1208,1209,3,527,263,0,1209,1210,3,517,258,0,1210,1211, + 3,513,256,0,1211,1212,3,547,273,0,1212,1213,3,525,262,0,1213,1214, + 3,551,275,0,1214,1215,3,517,258,0,1215,166,1,0,0,0,1216,1217,3,525, + 262,0,1217,1218,3,535,267,0,1218,1219,3,535,267,0,1219,1220,3,517, + 258,0,1220,1221,3,543,271,0,1221,168,1,0,0,0,1222,1223,3,525,262, + 0,1223,1224,3,535,267,0,1224,1225,3,545,272,0,1225,1226,3,517,258, + 0,1226,1227,3,543,271,0,1227,1228,3,547,273,0,1228,170,1,0,0,0,1229, + 1230,3,525,262,0,1230,1231,3,535,267,0,1231,1232,3,547,273,0,1232, + 1233,3,517,258,0,1233,1234,3,543,271,0,1234,1235,3,551,275,0,1235, + 1236,3,509,254,0,1236,1237,3,531,265,0,1237,172,1,0,0,0,1238,1239, + 3,525,262,0,1239,1240,3,535,267,0,1240,1241,3,547,273,0,1241,1242, + 3,537,268,0,1242,174,1,0,0,0,1243,1244,3,525,262,0,1244,1245,3,545, + 272,0,1245,176,1,0,0,0,1246,1247,3,525,262,0,1247,1248,3,545,272, + 0,1248,1249,3,627,313,0,1249,1250,3,537,268,0,1250,1251,3,511,255, + 0,1251,1252,3,527,263,0,1252,1253,3,517,258,0,1253,1254,3,513,256, + 0,1254,1255,3,547,273,0,1255,1256,3,627,313,0,1256,1257,3,525,262, + 0,1257,1258,3,515,257,0,1258,178,1,0,0,0,1259,1260,3,527,263,0,1260, + 1261,3,537,268,0,1261,1262,3,525,262,0,1262,1263,3,535,267,0,1263, + 180,1,0,0,0,1264,1265,3,529,264,0,1265,1266,3,517,258,0,1266,1267, + 3,557,278,0,1267,182,1,0,0,0,1268,1269,3,529,264,0,1269,1270,3,525, + 262,0,1270,1271,3,531,265,0,1271,1272,3,531,265,0,1272,184,1,0,0, + 0,1273,1274,3,531,265,0,1274,1275,3,509,254,0,1275,1276,3,545,272, + 0,1276,1277,3,547,273,0,1277,186,1,0,0,0,1278,1279,3,531,265,0,1279, + 1280,3,509,254,0,1280,1281,3,557,278,0,1281,1282,3,537,268,0,1282, + 1283,3,549,274,0,1283,1284,3,547,273,0,1284,188,1,0,0,0,1285,1286, + 3,531,265,0,1286,1287,3,517,258,0,1287,1288,3,509,254,0,1288,1289, + 3,515,257,0,1289,1290,3,525,262,0,1290,1291,3,535,267,0,1291,1292, + 3,521,260,0,1292,190,1,0,0,0,1293,1294,3,531,265,0,1294,1295,3,517, + 258,0,1295,1296,3,519,259,0,1296,1297,3,547,273,0,1297,192,1,0,0, + 0,1298,1299,3,531,265,0,1299,1300,3,525,262,0,1300,1301,3,519,259, + 0,1301,1302,3,517,258,0,1302,1303,3,547,273,0,1303,1304,3,525,262, + 0,1304,1305,3,533,266,0,1305,1306,3,517,258,0,1306,194,1,0,0,0,1307, + 1308,3,531,265,0,1308,1309,3,525,262,0,1309,1310,3,529,264,0,1310, + 1311,3,517,258,0,1311,196,1,0,0,0,1312,1313,3,531,265,0,1313,1314, + 3,525,262,0,1314,1315,3,533,266,0,1315,1316,3,525,262,0,1316,1317, + 3,547,273,0,1317,198,1,0,0,0,1318,1319,3,531,265,0,1319,1320,3,525, + 262,0,1320,1321,3,551,275,0,1321,1322,3,517,258,0,1322,200,1,0,0, + 0,1323,1324,3,531,265,0,1324,1325,3,537,268,0,1325,1326,3,513,256, + 0,1326,1327,3,509,254,0,1327,1328,3,531,265,0,1328,202,1,0,0,0,1329, + 1330,3,531,265,0,1330,1331,3,537,268,0,1331,1332,3,521,260,0,1332, + 1333,3,545,272,0,1333,204,1,0,0,0,1334,1335,3,533,266,0,1335,1336, + 3,509,254,0,1336,1337,3,547,273,0,1337,1338,3,517,258,0,1338,1339, + 3,543,271,0,1339,1340,3,525,262,0,1340,1341,3,509,254,0,1341,1342, + 3,531,265,0,1342,1343,3,525,262,0,1343,1344,3,559,279,0,1344,1345, + 3,517,258,0,1345,206,1,0,0,0,1346,1347,3,533,266,0,1347,1348,3,509, + 254,0,1348,1349,3,547,273,0,1349,1350,3,517,258,0,1350,1351,3,543, + 271,0,1351,1352,3,525,262,0,1352,1353,3,509,254,0,1353,1354,3,531, + 265,0,1354,1355,3,525,262,0,1355,1356,3,559,279,0,1356,1357,3,517, + 258,0,1357,1358,3,515,257,0,1358,208,1,0,0,0,1359,1360,3,533,266, + 0,1360,1361,3,509,254,0,1361,1362,3,555,277,0,1362,210,1,0,0,0,1363, + 1364,3,533,266,0,1364,1365,3,517,258,0,1365,1366,3,543,271,0,1366, + 1367,3,521,260,0,1367,1368,3,517,258,0,1368,1369,3,545,272,0,1369, + 212,1,0,0,0,1370,1371,3,533,266,0,1371,1372,3,525,262,0,1372,1373, + 3,535,267,0,1373,214,1,0,0,0,1374,1375,3,533,266,0,1375,1376,3,525, + 262,0,1376,1377,3,535,267,0,1377,1378,3,549,274,0,1378,1379,3,547, + 273,0,1379,1380,3,517,258,0,1380,216,1,0,0,0,1381,1382,3,533,266, + 0,1382,1383,3,537,268,0,1383,1384,3,515,257,0,1384,1385,3,525,262, + 0,1385,1386,3,519,259,0,1386,1387,3,557,278,0,1387,218,1,0,0,0,1388, + 1389,3,533,266,0,1389,1390,3,537,268,0,1390,1391,3,535,267,0,1391, + 1392,3,547,273,0,1392,1393,3,523,261,0,1393,220,1,0,0,0,1394,1395, + 3,533,266,0,1395,1396,3,537,268,0,1396,1397,3,551,275,0,1397,1398, + 3,517,258,0,1398,222,1,0,0,0,1399,1400,3,533,266,0,1400,1401,3,549, + 274,0,1401,1402,3,547,273,0,1402,1403,3,509,254,0,1403,1404,3,547, + 273,0,1404,1405,3,525,262,0,1405,1406,3,537,268,0,1406,1407,3,535, + 267,0,1407,224,1,0,0,0,1408,1409,3,535,267,0,1409,1410,3,509,254, + 0,1410,1411,3,535,267,0,1411,226,1,0,0,0,1412,1413,3,535,267,0,1413, + 1414,3,537,268,0,1414,228,1,0,0,0,1415,1416,3,535,267,0,1416,1417, + 3,537,268,0,1417,1418,3,547,273,0,1418,230,1,0,0,0,1419,1420,3,535, + 267,0,1420,1421,3,549,274,0,1421,1422,3,531,265,0,1422,1423,3,531, + 265,0,1423,232,1,0,0,0,1424,1425,3,535,267,0,1425,1426,3,549,274, + 0,1426,1427,3,531,265,0,1427,1428,3,531,265,0,1428,1429,3,545,272, + 0,1429,234,1,0,0,0,1430,1431,3,537,268,0,1431,1432,3,519,259,0,1432, + 1433,3,519,259,0,1433,1434,3,545,272,0,1434,1435,3,517,258,0,1435, + 1436,3,547,273,0,1436,236,1,0,0,0,1437,1438,3,537,268,0,1438,1439, + 3,535,267,0,1439,238,1,0,0,0,1440,1441,3,537,268,0,1441,1442,3,539, + 269,0,1442,1443,3,547,273,0,1443,1444,3,525,262,0,1444,1445,3,533, + 266,0,1445,1446,3,525,262,0,1446,1447,3,559,279,0,1447,1448,3,517, + 258,0,1448,240,1,0,0,0,1449,1450,3,537,268,0,1450,1451,3,543,271, + 0,1451,242,1,0,0,0,1452,1453,3,537,268,0,1453,1454,3,543,271,0,1454, + 1455,3,515,257,0,1455,1456,3,517,258,0,1456,1457,3,543,271,0,1457, + 244,1,0,0,0,1458,1459,3,537,268,0,1459,1460,3,549,274,0,1460,1461, + 3,547,273,0,1461,1462,3,517,258,0,1462,1463,3,543,271,0,1463,246, + 1,0,0,0,1464,1465,3,537,268,0,1465,1466,3,549,274,0,1466,1467,3, + 547,273,0,1467,1468,3,519,259,0,1468,1469,3,525,262,0,1469,1470, + 3,531,265,0,1470,1471,3,517,258,0,1471,248,1,0,0,0,1472,1473,3,537, + 268,0,1473,1474,3,551,275,0,1474,1475,3,517,258,0,1475,1476,3,543, + 271,0,1476,250,1,0,0,0,1477,1478,3,539,269,0,1478,1479,3,509,254, + 0,1479,1480,3,543,271,0,1480,1481,3,547,273,0,1481,1482,3,525,262, + 0,1482,1483,3,547,273,0,1483,1484,3,525,262,0,1484,1485,3,537,268, + 0,1485,1486,3,535,267,0,1486,252,1,0,0,0,1487,1488,3,539,269,0,1488, + 1489,3,525,262,0,1489,1490,3,539,269,0,1490,1491,3,517,258,0,1491, + 1492,3,531,265,0,1492,1493,3,525,262,0,1493,1494,3,535,267,0,1494, + 1495,3,517,258,0,1495,254,1,0,0,0,1496,1497,3,539,269,0,1497,1498, + 3,531,265,0,1498,1499,3,509,254,0,1499,1500,3,535,267,0,1500,256, + 1,0,0,0,1501,1502,3,539,269,0,1502,1503,3,537,268,0,1503,1504,3, + 539,269,0,1504,1505,3,549,274,0,1505,1506,3,531,265,0,1506,1507, + 3,509,254,0,1507,1508,3,547,273,0,1508,1509,3,517,258,0,1509,258, + 1,0,0,0,1510,1511,3,539,269,0,1511,1512,3,543,271,0,1512,1513,3, + 517,258,0,1513,1514,3,513,256,0,1514,1515,3,517,258,0,1515,1516, + 3,515,257,0,1516,1517,3,525,262,0,1517,1518,3,535,267,0,1518,1519, + 3,521,260,0,1519,260,1,0,0,0,1520,1521,3,539,269,0,1521,1522,3,543, + 271,0,1522,1523,3,517,258,0,1523,1524,3,553,276,0,1524,1525,3,523, + 261,0,1525,1526,3,517,258,0,1526,1527,3,543,271,0,1527,1528,3,517, + 258,0,1528,262,1,0,0,0,1529,1530,3,539,269,0,1530,1531,3,543,271, + 0,1531,1532,3,525,262,0,1532,1533,3,533,266,0,1533,1534,3,509,254, + 0,1534,1535,3,543,271,0,1535,1536,3,557,278,0,1536,264,1,0,0,0,1537, + 1538,3,539,269,0,1538,1539,3,543,271,0,1539,1540,3,537,268,0,1540, + 1541,3,527,263,0,1541,1542,3,517,258,0,1542,1543,3,513,256,0,1543, + 1544,3,547,273,0,1544,1545,3,525,262,0,1545,1546,3,537,268,0,1546, + 1547,3,535,267,0,1547,266,1,0,0,0,1548,1549,3,541,270,0,1549,1550, + 3,549,274,0,1550,1551,3,509,254,0,1551,1552,3,543,271,0,1552,1553, + 3,547,273,0,1553,1554,3,517,258,0,1554,1555,3,543,271,0,1555,268, + 1,0,0,0,1556,1557,3,541,270,0,1557,1558,3,549,274,0,1558,1559,3, + 517,258,0,1559,1560,3,543,271,0,1560,1561,3,557,278,0,1561,270,1, + 0,0,0,1562,1563,3,543,271,0,1563,1564,3,509,254,0,1564,1565,3,535, + 267,0,1565,1566,3,521,260,0,1566,1567,3,517,258,0,1567,272,1,0,0, + 0,1568,1569,3,543,271,0,1569,1570,3,517,258,0,1570,1571,3,531,265, + 0,1571,1572,3,537,268,0,1572,1573,3,509,254,0,1573,1574,3,515,257, + 0,1574,274,1,0,0,0,1575,1576,3,543,271,0,1576,1577,3,517,258,0,1577, + 1578,3,533,266,0,1578,1579,3,537,268,0,1579,1580,3,551,275,0,1580, + 1581,3,517,258,0,1581,276,1,0,0,0,1582,1583,3,543,271,0,1583,1584, + 3,517,258,0,1584,1585,3,535,267,0,1585,1586,3,509,254,0,1586,1587, + 3,533,266,0,1587,1588,3,517,258,0,1588,278,1,0,0,0,1589,1590,3,543, + 271,0,1590,1591,3,517,258,0,1591,1592,3,539,269,0,1592,1593,3,531, + 265,0,1593,1594,3,509,254,0,1594,1595,3,513,256,0,1595,1596,3,517, + 258,0,1596,280,1,0,0,0,1597,1598,3,543,271,0,1598,1599,3,517,258, + 0,1599,1600,3,539,269,0,1600,1601,3,531,265,0,1601,1602,3,525,262, + 0,1602,1603,3,513,256,0,1603,1604,3,509,254,0,1604,282,1,0,0,0,1605, + 1606,3,543,271,0,1606,1607,3,517,258,0,1607,1608,3,539,269,0,1608, + 1609,3,531,265,0,1609,1610,3,525,262,0,1610,1611,3,513,256,0,1611, + 1612,3,509,254,0,1612,1613,3,547,273,0,1613,1614,3,517,258,0,1614, + 1615,3,515,257,0,1615,284,1,0,0,0,1616,1617,3,543,271,0,1617,1618, + 3,525,262,0,1618,1619,3,521,260,0,1619,1620,3,523,261,0,1620,1621, + 3,547,273,0,1621,286,1,0,0,0,1622,1623,3,543,271,0,1623,1624,3,537, + 268,0,1624,1625,3,531,265,0,1625,1626,3,531,265,0,1626,1627,3,549, + 274,0,1627,1628,3,539,269,0,1628,288,1,0,0,0,1629,1630,3,543,271, + 0,1630,1631,3,537,268,0,1631,1632,3,553,276,0,1632,290,1,0,0,0,1633, + 1634,3,543,271,0,1634,1635,3,537,268,0,1635,1636,3,553,276,0,1636, + 1637,3,545,272,0,1637,292,1,0,0,0,1638,1639,3,545,272,0,1639,1640, + 3,509,254,0,1640,1641,3,533,266,0,1641,1642,3,539,269,0,1642,1643, + 3,531,265,0,1643,1644,3,517,258,0,1644,294,1,0,0,0,1645,1646,3,545, + 272,0,1646,1647,3,517,258,0,1647,1648,3,513,256,0,1648,1649,3,537, + 268,0,1649,1650,3,535,267,0,1650,1651,3,515,257,0,1651,296,1,0,0, + 0,1652,1653,3,545,272,0,1653,1654,3,517,258,0,1654,1655,3,531,265, + 0,1655,1656,3,517,258,0,1656,1657,3,513,256,0,1657,1658,3,547,273, + 0,1658,298,1,0,0,0,1659,1660,3,545,272,0,1660,1661,3,517,258,0,1661, + 1662,3,533,266,0,1662,1663,3,525,262,0,1663,300,1,0,0,0,1664,1665, + 3,545,272,0,1665,1666,3,517,258,0,1666,1667,3,535,267,0,1667,1668, + 3,515,257,0,1668,1669,3,545,272,0,1669,302,1,0,0,0,1670,1671,3,545, + 272,0,1671,1672,3,517,258,0,1672,1673,3,547,273,0,1673,304,1,0,0, + 0,1674,1675,3,545,272,0,1675,1676,3,517,258,0,1676,1677,3,547,273, + 0,1677,1678,3,547,273,0,1678,1679,3,525,262,0,1679,1680,3,535,267, + 0,1680,1681,3,521,260,0,1681,1682,3,545,272,0,1682,306,1,0,0,0,1683, + 1684,3,545,272,0,1684,1685,3,523,261,0,1685,1686,3,537,268,0,1686, + 1687,3,553,276,0,1687,308,1,0,0,0,1688,1689,3,545,272,0,1689,1690, + 3,537,268,0,1690,1691,3,549,274,0,1691,1692,3,543,271,0,1692,1693, + 3,513,256,0,1693,1694,3,517,258,0,1694,310,1,0,0,0,1695,1696,3,545, + 272,0,1696,1697,3,547,273,0,1697,1698,3,509,254,0,1698,1699,3,543, + 271,0,1699,1700,3,547,273,0,1700,312,1,0,0,0,1701,1702,3,545,272, + 0,1702,1703,3,547,273,0,1703,1704,3,537,268,0,1704,1705,3,539,269, + 0,1705,314,1,0,0,0,1706,1707,3,545,272,0,1707,1708,3,549,274,0,1708, + 1709,3,511,255,0,1709,1710,3,545,272,0,1710,1711,3,547,273,0,1711, + 1712,3,543,271,0,1712,1713,3,525,262,0,1713,1714,3,535,267,0,1714, + 1715,3,521,260,0,1715,316,1,0,0,0,1716,1717,3,545,272,0,1717,1718, + 3,557,278,0,1718,1719,3,535,267,0,1719,1720,3,513,256,0,1720,318, + 1,0,0,0,1721,1722,3,545,272,0,1722,1723,3,557,278,0,1723,1724,3, + 535,267,0,1724,1725,3,547,273,0,1725,1726,3,509,254,0,1726,1727, + 3,555,277,0,1727,320,1,0,0,0,1728,1729,3,545,272,0,1729,1730,3,557, + 278,0,1730,1731,3,545,272,0,1731,1732,3,547,273,0,1732,1733,3,517, + 258,0,1733,1734,3,533,266,0,1734,322,1,0,0,0,1735,1736,3,547,273, + 0,1736,1737,3,509,254,0,1737,1738,3,511,255,0,1738,1739,3,531,265, + 0,1739,1740,3,517,258,0,1740,324,1,0,0,0,1741,1742,3,547,273,0,1742, + 1743,3,509,254,0,1743,1744,3,511,255,0,1744,1745,3,531,265,0,1745, + 1746,3,517,258,0,1746,1747,3,545,272,0,1747,326,1,0,0,0,1748,1749, + 3,547,273,0,1749,1750,3,517,258,0,1750,1751,3,533,266,0,1751,1752, + 3,539,269,0,1752,1753,3,537,268,0,1753,1754,3,543,271,0,1754,1755, + 3,509,254,0,1755,1756,3,543,271,0,1756,1757,3,557,278,0,1757,328, + 1,0,0,0,1758,1759,3,547,273,0,1759,1760,3,517,258,0,1760,1761,3, + 545,272,0,1761,1762,3,547,273,0,1762,330,1,0,0,0,1763,1764,3,547, + 273,0,1764,1765,3,523,261,0,1765,1766,3,517,258,0,1766,1767,3,535, + 267,0,1767,332,1,0,0,0,1768,1769,3,547,273,0,1769,1770,3,525,262, + 0,1770,1771,3,517,258,0,1771,1772,3,545,272,0,1772,334,1,0,0,0,1773, + 1774,3,547,273,0,1774,1775,3,525,262,0,1775,1776,3,533,266,0,1776, + 1777,3,517,258,0,1777,1778,3,537,268,0,1778,1779,3,549,274,0,1779, + 1780,3,547,273,0,1780,336,1,0,0,0,1781,1782,3,547,273,0,1782,1783, + 3,525,262,0,1783,1784,3,533,266,0,1784,1785,3,517,258,0,1785,1786, + 3,545,272,0,1786,1787,3,547,273,0,1787,1788,3,509,254,0,1788,1789, + 3,533,266,0,1789,1790,3,539,269,0,1790,338,1,0,0,0,1791,1792,3,547, + 273,0,1792,1793,3,537,268,0,1793,340,1,0,0,0,1794,1795,3,547,273, + 0,1795,1796,3,537,268,0,1796,1797,3,539,269,0,1797,342,1,0,0,0,1798, + 1799,3,547,273,0,1799,1800,3,537,268,0,1800,1801,3,547,273,0,1801, + 1802,3,509,254,0,1802,1803,3,531,265,0,1803,1804,3,545,272,0,1804, + 344,1,0,0,0,1805,1806,3,547,273,0,1806,1807,3,543,271,0,1807,1808, + 3,509,254,0,1808,1809,3,525,262,0,1809,1810,3,531,265,0,1810,1811, + 3,525,262,0,1811,1812,3,535,267,0,1812,1813,3,521,260,0,1813,346, + 1,0,0,0,1814,1815,3,547,273,0,1815,1816,3,543,271,0,1816,1817,3, + 525,262,0,1817,1818,3,533,266,0,1818,348,1,0,0,0,1819,1820,3,547, + 273,0,1820,1821,3,543,271,0,1821,1822,3,517,258,0,1822,1823,3,517, + 258,0,1823,350,1,0,0,0,1824,1825,3,547,273,0,1825,1826,3,543,271, + 0,1826,1827,3,549,274,0,1827,1828,3,535,267,0,1828,1829,3,513,256, + 0,1829,1830,3,509,254,0,1830,1831,3,547,273,0,1831,1832,3,517,258, + 0,1832,352,1,0,0,0,1833,1834,3,547,273,0,1834,1835,3,547,273,0,1835, + 1836,3,531,265,0,1836,354,1,0,0,0,1837,1838,3,547,273,0,1838,1839, + 3,557,278,0,1839,1840,3,539,269,0,1840,1841,3,517,258,0,1841,356, + 1,0,0,0,1842,1843,3,549,274,0,1843,1844,3,535,267,0,1844,1845,3, + 511,255,0,1845,1846,3,537,268,0,1846,1847,3,549,274,0,1847,1848, + 3,535,267,0,1848,1849,3,515,257,0,1849,1850,3,517,258,0,1850,1851, + 3,515,257,0,1851,358,1,0,0,0,1852,1853,3,549,274,0,1853,1854,3,535, + 267,0,1854,1855,3,525,262,0,1855,1856,3,537,268,0,1856,1857,3,535, + 267,0,1857,360,1,0,0,0,1858,1859,3,549,274,0,1859,1860,3,539,269, + 0,1860,1861,3,515,257,0,1861,1862,3,509,254,0,1862,1863,3,547,273, + 0,1863,1864,3,517,258,0,1864,362,1,0,0,0,1865,1866,3,549,274,0,1866, + 1867,3,545,272,0,1867,1868,3,517,258,0,1868,364,1,0,0,0,1869,1870, + 3,549,274,0,1870,1871,3,545,272,0,1871,1872,3,525,262,0,1872,1873, + 3,535,267,0,1873,1874,3,521,260,0,1874,366,1,0,0,0,1875,1876,3,549, + 274,0,1876,1877,3,549,274,0,1877,1878,3,525,262,0,1878,1879,3,515, + 257,0,1879,368,1,0,0,0,1880,1881,3,551,275,0,1881,1882,3,509,254, + 0,1882,1883,3,531,265,0,1883,1884,3,549,274,0,1884,1885,3,517,258, + 0,1885,1886,3,545,272,0,1886,370,1,0,0,0,1887,1888,3,551,275,0,1888, + 1889,3,525,262,0,1889,1890,3,517,258,0,1890,1891,3,553,276,0,1891, + 372,1,0,0,0,1892,1893,3,551,275,0,1893,1894,3,537,268,0,1894,1895, + 3,531,265,0,1895,1896,3,549,274,0,1896,1897,3,533,266,0,1897,1898, + 3,517,258,0,1898,374,1,0,0,0,1899,1900,3,553,276,0,1900,1901,3,509, + 254,0,1901,1902,3,547,273,0,1902,1903,3,513,256,0,1903,1904,3,523, + 261,0,1904,376,1,0,0,0,1905,1906,3,553,276,0,1906,1907,3,517,258, + 0,1907,1908,3,517,258,0,1908,1909,3,529,264,0,1909,378,1,0,0,0,1910, + 1911,3,553,276,0,1911,1912,3,523,261,0,1912,1913,3,517,258,0,1913, + 1914,3,535,267,0,1914,380,1,0,0,0,1915,1916,3,553,276,0,1916,1917, + 3,523,261,0,1917,1918,3,517,258,0,1918,1919,3,543,271,0,1919,1920, + 3,517,258,0,1920,382,1,0,0,0,1921,1922,3,553,276,0,1922,1923,3,525, + 262,0,1923,1924,3,535,267,0,1924,1925,3,515,257,0,1925,1926,3,537, + 268,0,1926,1927,3,553,276,0,1927,384,1,0,0,0,1928,1929,3,553,276, + 0,1929,1930,3,525,262,0,1930,1931,3,547,273,0,1931,1932,3,523,261, + 0,1932,386,1,0,0,0,1933,1934,3,557,278,0,1934,1935,3,517,258,0,1935, + 1936,3,509,254,0,1936,1937,3,543,271,0,1937,1944,1,0,0,0,1938,1939, + 3,557,278,0,1939,1940,3,557,278,0,1940,1941,3,557,278,0,1941,1942, + 3,557,278,0,1942,1944,1,0,0,0,1943,1933,1,0,0,0,1943,1938,1,0,0, + 0,1944,388,1,0,0,0,1945,1946,3,521,260,0,1946,1947,3,543,271,0,1947, + 1948,3,509,254,0,1948,1949,3,535,267,0,1949,1950,3,547,273,0,1950, + 390,1,0,0,0,1951,1952,3,549,274,0,1952,1953,3,545,272,0,1953,1954, + 3,517,258,0,1954,1955,3,543,271,0,1955,392,1,0,0,0,1956,1957,3,519, + 259,0,1957,1958,3,517,258,0,1958,1959,3,547,273,0,1959,1960,3,513, + 256,0,1960,1961,3,523,261,0,1961,394,1,0,0,0,1962,1963,3,543,271, + 0,1963,1964,3,517,258,0,1964,1965,3,519,259,0,1965,1966,3,543,271, + 0,1966,1967,3,517,258,0,1967,1968,3,545,272,0,1968,1969,3,523,261, + 0,1969,396,1,0,0,0,1970,1971,3,539,269,0,1971,1972,3,537,268,0,1972, + 1973,3,531,265,0,1973,1974,3,525,262,0,1974,1975,3,513,256,0,1975, + 1976,3,557,278,0,1976,398,1,0,0,0,1977,1978,3,541,270,0,1978,1979, + 3,549,274,0,1979,1980,3,537,268,0,1980,1981,3,547,273,0,1981,1982, + 3,509,254,0,1982,400,1,0,0,0,1983,1984,3,543,271,0,1984,1985,3,537, + 268,0,1985,1986,3,531,265,0,1986,1987,3,517,258,0,1987,402,1,0,0, + 0,1988,1989,3,539,269,0,1989,1990,3,543,271,0,1990,1991,3,537,268, + 0,1991,1992,3,519,259,0,1992,1993,3,525,262,0,1993,1994,3,531,265, + 0,1994,1995,3,517,258,0,1995,404,1,0,0,0,1996,1997,3,509,254,0,1997, + 1998,3,543,271,0,1998,1999,3,511,255,0,1999,2000,3,525,262,0,2000, + 2001,3,547,273,0,2001,2002,3,543,271,0,2002,2003,3,509,254,0,2003, + 2004,3,543,271,0,2004,2005,3,557,278,0,2005,406,1,0,0,0,2006,2007, + 3,513,256,0,2007,2008,3,537,268,0,2008,2009,3,531,265,0,2009,2010, + 3,549,274,0,2010,2011,3,533,266,0,2011,2012,3,535,267,0,2012,2013, + 3,545,272,0,2013,408,1,0,0,0,2014,2015,3,513,256,0,2015,2016,3,549, + 274,0,2016,2017,3,543,271,0,2017,2018,3,543,271,0,2018,2019,3,517, + 258,0,2019,2020,3,535,267,0,2020,2021,3,547,273,0,2021,2022,3,627, + 313,0,2022,2023,3,549,274,0,2023,2024,3,545,272,0,2024,2025,3,517, + 258,0,2025,2026,3,543,271,0,2026,410,1,0,0,0,2027,2028,3,509,254, + 0,2028,2029,3,513,256,0,2029,2030,3,513,256,0,2030,2031,3,517,258, + 0,2031,2032,3,545,272,0,2032,2033,3,545,272,0,2033,412,1,0,0,0,2034, + 2035,3,545,272,0,2035,2036,3,523,261,0,2036,2037,3,537,268,0,2037, + 2038,3,553,276,0,2038,2039,3,627,313,0,2039,2040,3,549,274,0,2040, + 2041,3,545,272,0,2041,2042,3,517,258,0,2042,2043,3,543,271,0,2043, + 2044,3,545,272,0,2044,414,1,0,0,0,2045,2046,3,545,272,0,2046,2047, + 3,523,261,0,2047,2048,3,537,268,0,2048,2049,3,553,276,0,2049,2050, + 3,627,313,0,2050,2051,3,543,271,0,2051,2052,3,537,268,0,2052,2053, + 3,531,265,0,2053,2054,3,517,258,0,2054,2055,3,545,272,0,2055,416, + 1,0,0,0,2056,2057,3,545,272,0,2057,2058,3,523,261,0,2058,2059,3, + 537,268,0,2059,2060,3,553,276,0,2060,2061,3,627,313,0,2061,2062, + 3,543,271,0,2062,2063,3,537,268,0,2063,2064,3,553,276,0,2064,2065, + 3,627,313,0,2065,2066,3,539,269,0,2066,2067,3,537,268,0,2067,2068, + 3,531,265,0,2068,2069,3,525,262,0,2069,2070,3,513,256,0,2070,2071, + 3,525,262,0,2071,2072,3,517,258,0,2072,2073,3,545,272,0,2073,418, + 1,0,0,0,2074,2075,3,545,272,0,2075,2076,3,523,261,0,2076,2077,3, + 537,268,0,2077,2078,3,553,276,0,2078,2079,3,627,313,0,2079,2080, + 3,541,270,0,2080,2081,3,549,274,0,2081,2082,3,537,268,0,2082,2083, + 3,547,273,0,2083,2084,3,509,254,0,2084,2085,3,545,272,0,2085,420, + 1,0,0,0,2086,2087,3,545,272,0,2087,2088,3,523,261,0,2088,2089,3, + 537,268,0,2089,2090,3,553,276,0,2090,2091,3,627,313,0,2091,2092, + 3,545,272,0,2092,2093,3,517,258,0,2093,2094,3,547,273,0,2094,2095, + 3,547,273,0,2095,2096,3,525,262,0,2096,2097,3,535,267,0,2097,2098, + 3,521,260,0,2098,2099,3,545,272,0,2099,2100,3,627,313,0,2100,2101, + 3,539,269,0,2101,2102,3,543,271,0,2102,2103,3,537,268,0,2103,2104, + 3,519,259,0,2104,2105,3,525,262,0,2105,2106,3,531,265,0,2106,2107, + 3,517,258,0,2107,2108,3,545,272,0,2108,422,1,0,0,0,2109,2110,3,545, + 272,0,2110,2111,3,523,261,0,2111,2112,3,549,274,0,2112,2113,3,547, + 273,0,2113,2114,3,515,257,0,2114,2115,3,537,268,0,2115,2116,3,553, + 276,0,2116,2117,3,535,267,0,2117,424,1,0,0,0,2118,2119,3,513,256, + 0,2119,2120,3,509,254,0,2120,2121,3,513,256,0,2121,2122,3,523,261, + 0,2122,2123,3,517,258,0,2123,426,1,0,0,0,2124,2125,3,515,257,0,2125, + 2126,3,535,267,0,2126,2127,3,545,272,0,2127,428,1,0,0,0,2128,2129, + 3,533,266,0,2129,2130,3,509,254,0,2130,2131,3,543,271,0,2131,2132, + 3,529,264,0,2132,430,1,0,0,0,2133,2134,3,539,269,0,2134,2135,3,509, + 254,0,2135,2136,3,543,271,0,2136,2137,3,547,273,0,2137,432,1,0,0, + 0,2138,2139,3,549,274,0,2139,2140,3,535,267,0,2140,2141,3,513,256, + 0,2141,2142,3,537,268,0,2142,2143,3,533,266,0,2143,2144,3,539,269, + 0,2144,2145,3,543,271,0,2145,2146,3,517,258,0,2146,2147,3,545,272, + 0,2147,2148,3,545,272,0,2148,2149,3,517,258,0,2149,2150,3,515,257, + 0,2150,434,1,0,0,0,2151,2152,3,513,256,0,2152,2153,3,537,268,0,2153, + 2154,3,535,267,0,2154,2155,3,519,259,0,2155,2156,3,525,262,0,2156, + 2157,3,521,260,0,2157,436,1,0,0,0,2158,2159,3,517,258,0,2159,2160, + 3,533,266,0,2160,2161,3,511,255,0,2161,2162,3,517,258,0,2162,2163, + 3,515,257,0,2163,2164,3,515,257,0,2164,2165,3,517,258,0,2165,2166, + 3,515,257,0,2166,438,1,0,0,0,2167,2168,3,519,259,0,2168,2169,3,549, + 274,0,2169,2170,3,535,267,0,2170,2171,3,513,256,0,2171,2172,3,547, + 273,0,2172,2173,3,525,262,0,2173,2174,3,537,268,0,2174,2175,3,535, + 267,0,2175,2176,3,545,272,0,2176,440,1,0,0,0,2177,2178,3,533,266, + 0,2178,2179,3,537,268,0,2179,2180,3,551,275,0,2180,2181,3,517,258, + 0,2181,2182,3,545,272,0,2182,442,1,0,0,0,2183,2184,3,543,271,0,2184, + 2185,3,517,258,0,2185,2186,3,539,269,0,2186,2187,3,531,265,0,2187, + 2188,3,525,262,0,2188,2189,3,513,256,0,2189,2190,3,509,254,0,2190, + 2191,3,547,273,0,2191,2192,3,525,262,0,2192,2193,3,537,268,0,2193, + 2194,3,535,267,0,2194,444,1,0,0,0,2195,2196,3,541,270,0,2196,2197, + 3,549,274,0,2197,2198,3,517,258,0,2198,2199,3,549,274,0,2199,2200, + 3,517,258,0,2200,2201,3,545,272,0,2201,446,1,0,0,0,2202,2203,3,543, + 271,0,2203,2204,3,517,258,0,2204,2205,3,545,272,0,2205,2206,3,547, + 273,0,2206,2207,3,509,254,0,2207,2208,3,543,271,0,2208,2209,3,547, + 273,0,2209,448,1,0,0,0,2210,2211,3,515,257,0,2211,2212,3,525,262, + 0,2212,2213,3,513,256,0,2213,2214,3,547,273,0,2214,2215,3,521,260, + 0,2215,2216,3,517,258,0,2216,2217,3,547,273,0,2217,450,1,0,0,0,2218, + 2219,3,515,257,0,2219,2220,3,525,262,0,2220,2221,3,513,256,0,2221, + 2222,3,547,273,0,2222,2223,3,521,260,0,2223,2224,3,517,258,0,2224, + 2225,3,547,273,0,2225,2226,3,523,261,0,2226,2227,3,525,262,0,2227, + 2228,3,517,258,0,2228,2229,3,543,271,0,2229,2230,3,509,254,0,2230, + 2231,3,543,271,0,2231,2232,3,513,256,0,2232,2233,3,523,261,0,2233, + 2234,3,557,278,0,2234,452,1,0,0,0,2235,2236,3,515,257,0,2236,2237, + 3,525,262,0,2237,2238,3,513,256,0,2238,2239,3,547,273,0,2239,2240, + 3,523,261,0,2240,2241,3,509,254,0,2241,2242,3,545,272,0,2242,454, + 1,0,0,0,2243,2244,3,515,257,0,2244,2245,3,525,262,0,2245,2246,3, + 513,256,0,2246,2247,3,547,273,0,2247,2248,3,525,262,0,2248,2249, + 3,545,272,0,2249,2250,3,525,262,0,2250,2251,3,535,267,0,2251,456, + 1,0,0,0,2252,2253,3,533,266,0,2253,2254,3,509,254,0,2254,2255,3, + 535,267,0,2255,2256,3,509,254,0,2256,2257,3,521,260,0,2257,2258, + 3,517,258,0,2258,2259,3,533,266,0,2259,2260,3,517,258,0,2260,2261, + 3,535,267,0,2261,2262,3,547,273,0,2262,458,1,0,0,0,2263,2264,3,509, + 254,0,2264,2265,3,515,257,0,2265,2266,3,533,266,0,2266,2267,3,525, + 262,0,2267,2268,3,535,267,0,2268,460,1,0,0,0,2269,2270,3,525,262, + 0,2270,2271,3,535,267,0,2271,2272,3,547,273,0,2272,2273,3,543,271, + 0,2273,2274,3,537,268,0,2274,2275,3,545,272,0,2275,2276,3,539,269, + 0,2276,2277,3,517,258,0,2277,2278,3,513,256,0,2278,2279,3,547,273, + 0,2279,2280,3,525,262,0,2280,2281,3,537,268,0,2281,2282,3,535,267, + 0,2282,462,1,0,0,0,2283,2284,3,509,254,0,2284,2285,3,515,257,0,2285, + 2286,3,515,257,0,2286,2287,3,543,271,0,2287,2288,3,517,258,0,2288, + 2289,3,545,272,0,2289,2290,3,545,272,0,2290,2291,3,547,273,0,2291, + 2292,3,537,268,0,2292,2293,3,531,265,0,2293,2294,3,525,262,0,2294, + 2295,3,535,267,0,2295,2296,3,517,258,0,2296,464,1,0,0,0,2297,2298, + 3,509,254,0,2298,2299,3,515,257,0,2299,2300,3,515,257,0,2300,2301, + 3,543,271,0,2301,2302,3,517,258,0,2302,2303,3,545,272,0,2303,2304, + 3,545,272,0,2304,2305,3,547,273,0,2305,2306,3,537,268,0,2306,2307, + 3,545,272,0,2307,2308,3,557,278,0,2308,2309,3,533,266,0,2309,2310, + 3,511,255,0,2310,2311,3,537,268,0,2311,2312,3,531,265,0,2312,466, + 1,0,0,0,2313,2314,3,515,257,0,2314,2315,3,517,258,0,2315,2316,3, + 533,266,0,2316,2317,3,509,254,0,2317,2318,3,535,267,0,2318,2319, + 3,521,260,0,2319,2320,3,531,265,0,2320,2321,3,517,258,0,2321,468, + 1,0,0,0,2322,2323,3,545,272,0,2323,2324,3,537,268,0,2324,2325,3, + 549,274,0,2325,2326,3,543,271,0,2326,2327,3,513,256,0,2327,2328, + 3,517,258,0,2328,2329,3,545,272,0,2329,470,1,0,0,0,2330,2331,3,519, + 259,0,2331,2332,3,525,262,0,2332,2333,3,531,265,0,2333,2334,3,517, + 258,0,2334,472,1,0,0,0,2335,2336,3,549,274,0,2336,2337,3,543,271, + 0,2337,2338,3,531,265,0,2338,474,1,0,0,0,2339,2340,3,543,271,0,2340, + 2341,3,517,258,0,2341,2342,3,533,266,0,2342,2343,3,537,268,0,2343, + 2344,3,547,273,0,2344,2345,3,517,258,0,2345,476,1,0,0,0,2346,2347, + 3,533,266,0,2347,2348,3,557,278,0,2348,2349,3,545,272,0,2349,2350, + 3,541,270,0,2350,2351,3,531,265,0,2351,478,1,0,0,0,2352,2353,3,537, + 268,0,2353,2354,3,515,257,0,2354,2355,3,511,255,0,2355,2356,3,513, + 256,0,2356,480,1,0,0,0,2357,2358,3,527,263,0,2358,2359,3,515,257, + 0,2359,2360,3,511,255,0,2360,2361,3,513,256,0,2361,482,1,0,0,0,2362, + 2363,3,523,261,0,2363,2364,3,515,257,0,2364,2365,3,519,259,0,2365, + 2366,3,545,272,0,2366,484,1,0,0,0,2367,2368,3,545,272,0,2368,2369, + 5,51,0,0,2369,486,1,0,0,0,2370,2371,3,545,272,0,2371,2372,3,517, + 258,0,2372,2373,3,547,273,0,2373,2374,3,547,273,0,2374,2375,3,525, + 262,0,2375,2376,3,535,267,0,2376,2377,3,521,260,0,2377,488,1,0,0, + 0,2378,2379,3,537,268,0,2379,2380,3,539,269,0,2380,2381,3,547,273, + 0,2381,2382,3,525,262,0,2382,2383,3,537,268,0,2383,2384,3,535,267, + 0,2384,490,1,0,0,0,2385,2386,3,535,267,0,2386,2387,3,537,268,0,2387, + 2388,3,535,267,0,2388,2389,3,517,258,0,2389,492,1,0,0,0,2390,2391, + 5,102,0,0,2391,2392,5,97,0,0,2392,2393,5,108,0,0,2393,2394,5,115, + 0,0,2394,2395,5,101,0,0,2395,494,1,0,0,0,2396,2397,5,116,0,0,2397, + 2398,5,114,0,0,2398,2399,5,117,0,0,2399,2400,5,101,0,0,2400,496, + 1,0,0,0,2401,2404,3,561,280,0,2402,2404,3,627,313,0,2403,2401,1, + 0,0,0,2403,2402,1,0,0,0,2404,2410,1,0,0,0,2405,2409,3,561,280,0, + 2406,2409,3,627,313,0,2407,2409,3,565,282,0,2408,2405,1,0,0,0,2408, + 2406,1,0,0,0,2408,2407,1,0,0,0,2409,2412,1,0,0,0,2410,2408,1,0,0, + 0,2410,2411,1,0,0,0,2411,2444,1,0,0,0,2412,2410,1,0,0,0,2413,2423, + 3,573,286,0,2414,2422,8,0,0,0,2415,2416,3,575,287,0,2416,2417,9, + 0,0,0,2417,2422,1,0,0,0,2418,2419,3,573,286,0,2419,2420,3,573,286, + 0,2420,2422,1,0,0,0,2421,2414,1,0,0,0,2421,2415,1,0,0,0,2421,2418, + 1,0,0,0,2422,2425,1,0,0,0,2423,2421,1,0,0,0,2423,2424,1,0,0,0,2424, + 2426,1,0,0,0,2425,2423,1,0,0,0,2426,2427,3,573,286,0,2427,2444,1, + 0,0,0,2428,2438,3,613,306,0,2429,2437,8,1,0,0,2430,2431,3,575,287, + 0,2431,2432,9,0,0,0,2432,2437,1,0,0,0,2433,2434,3,613,306,0,2434, + 2435,3,613,306,0,2435,2437,1,0,0,0,2436,2429,1,0,0,0,2436,2430,1, + 0,0,0,2436,2433,1,0,0,0,2437,2440,1,0,0,0,2438,2436,1,0,0,0,2438, + 2439,1,0,0,0,2439,2441,1,0,0,0,2440,2438,1,0,0,0,2441,2442,3,613, + 306,0,2442,2444,1,0,0,0,2443,2403,1,0,0,0,2443,2413,1,0,0,0,2443, + 2428,1,0,0,0,2444,498,1,0,0,0,2445,2446,3,505,252,0,2446,2450,3, + 585,292,0,2447,2449,3,567,283,0,2448,2447,1,0,0,0,2449,2452,1,0, + 0,0,2450,2448,1,0,0,0,2450,2451,1,0,0,0,2451,2455,1,0,0,0,2452,2450, + 1,0,0,0,2453,2456,3,539,269,0,2454,2456,3,517,258,0,2455,2453,1, + 0,0,0,2455,2454,1,0,0,0,2456,2459,1,0,0,0,2457,2460,3,609,304,0, + 2458,2460,3,583,291,0,2459,2457,1,0,0,0,2459,2458,1,0,0,0,2459,2460, + 1,0,0,0,2460,2462,1,0,0,0,2461,2463,3,565,282,0,2462,2461,1,0,0, + 0,2463,2464,1,0,0,0,2464,2462,1,0,0,0,2464,2465,1,0,0,0,2465,2522, + 1,0,0,0,2466,2469,3,505,252,0,2467,2470,3,539,269,0,2468,2470,3, + 517,258,0,2469,2467,1,0,0,0,2469,2468,1,0,0,0,2470,2473,1,0,0,0, + 2471,2474,3,609,304,0,2472,2474,3,583,291,0,2473,2471,1,0,0,0,2473, + 2472,1,0,0,0,2473,2474,1,0,0,0,2474,2476,1,0,0,0,2475,2477,3,565, + 282,0,2476,2475,1,0,0,0,2477,2478,1,0,0,0,2478,2476,1,0,0,0,2478, + 2479,1,0,0,0,2479,2522,1,0,0,0,2480,2481,3,503,251,0,2481,2485,3, + 585,292,0,2482,2484,3,565,282,0,2483,2482,1,0,0,0,2484,2487,1,0, + 0,0,2485,2483,1,0,0,0,2485,2486,1,0,0,0,2486,2488,1,0,0,0,2487,2485, + 1,0,0,0,2488,2491,3,517,258,0,2489,2492,3,609,304,0,2490,2492,3, + 583,291,0,2491,2489,1,0,0,0,2491,2490,1,0,0,0,2491,2492,1,0,0,0, + 2492,2494,1,0,0,0,2493,2495,3,565,282,0,2494,2493,1,0,0,0,2495,2496, + 1,0,0,0,2496,2494,1,0,0,0,2496,2497,1,0,0,0,2497,2522,1,0,0,0,2498, + 2499,3,585,292,0,2499,2500,3,503,251,0,2500,2503,3,517,258,0,2501, + 2504,3,609,304,0,2502,2504,3,583,291,0,2503,2501,1,0,0,0,2503,2502, + 1,0,0,0,2503,2504,1,0,0,0,2504,2506,1,0,0,0,2505,2507,3,565,282, + 0,2506,2505,1,0,0,0,2507,2508,1,0,0,0,2508,2506,1,0,0,0,2508,2509, + 1,0,0,0,2509,2522,1,0,0,0,2510,2511,3,503,251,0,2511,2514,3,517, + 258,0,2512,2515,3,609,304,0,2513,2515,3,583,291,0,2514,2512,1,0, + 0,0,2514,2513,1,0,0,0,2514,2515,1,0,0,0,2515,2517,1,0,0,0,2516,2518, + 3,565,282,0,2517,2516,1,0,0,0,2518,2519,1,0,0,0,2519,2517,1,0,0, + 0,2519,2520,1,0,0,0,2520,2522,1,0,0,0,2521,2445,1,0,0,0,2521,2466, + 1,0,0,0,2521,2480,1,0,0,0,2521,2498,1,0,0,0,2521,2510,1,0,0,0,2522, + 500,1,0,0,0,2523,2525,5,48,0,0,2524,2526,3,563,281,0,2525,2524,1, + 0,0,0,2526,2527,1,0,0,0,2527,2525,1,0,0,0,2527,2528,1,0,0,0,2528, + 502,1,0,0,0,2529,2531,3,565,282,0,2530,2529,1,0,0,0,2531,2532,1, + 0,0,0,2532,2530,1,0,0,0,2532,2533,1,0,0,0,2533,504,1,0,0,0,2534, + 2535,5,48,0,0,2535,2537,3,555,277,0,2536,2538,3,567,283,0,2537,2536, + 1,0,0,0,2538,2539,1,0,0,0,2539,2537,1,0,0,0,2539,2540,1,0,0,0,2540, + 506,1,0,0,0,2541,2551,3,615,307,0,2542,2550,8,2,0,0,2543,2544,3, + 575,287,0,2544,2545,9,0,0,0,2545,2550,1,0,0,0,2546,2547,3,615,307, + 0,2547,2548,3,615,307,0,2548,2550,1,0,0,0,2549,2542,1,0,0,0,2549, + 2543,1,0,0,0,2549,2546,1,0,0,0,2550,2553,1,0,0,0,2551,2549,1,0,0, + 0,2551,2552,1,0,0,0,2552,2554,1,0,0,0,2553,2551,1,0,0,0,2554,2555, + 3,615,307,0,2555,508,1,0,0,0,2556,2557,7,3,0,0,2557,510,1,0,0,0, + 2558,2559,7,4,0,0,2559,512,1,0,0,0,2560,2561,7,5,0,0,2561,514,1, + 0,0,0,2562,2563,7,6,0,0,2563,516,1,0,0,0,2564,2565,7,7,0,0,2565, + 518,1,0,0,0,2566,2567,7,8,0,0,2567,520,1,0,0,0,2568,2569,7,9,0,0, + 2569,522,1,0,0,0,2570,2571,7,10,0,0,2571,524,1,0,0,0,2572,2573,7, + 11,0,0,2573,526,1,0,0,0,2574,2575,7,12,0,0,2575,528,1,0,0,0,2576, + 2577,7,13,0,0,2577,530,1,0,0,0,2578,2579,7,14,0,0,2579,532,1,0,0, + 0,2580,2581,7,15,0,0,2581,534,1,0,0,0,2582,2583,7,16,0,0,2583,536, + 1,0,0,0,2584,2585,7,17,0,0,2585,538,1,0,0,0,2586,2587,7,18,0,0,2587, + 540,1,0,0,0,2588,2589,7,19,0,0,2589,542,1,0,0,0,2590,2591,7,20,0, + 0,2591,544,1,0,0,0,2592,2593,7,21,0,0,2593,546,1,0,0,0,2594,2595, + 7,22,0,0,2595,548,1,0,0,0,2596,2597,7,23,0,0,2597,550,1,0,0,0,2598, + 2599,7,24,0,0,2599,552,1,0,0,0,2600,2601,7,25,0,0,2601,554,1,0,0, + 0,2602,2603,7,26,0,0,2603,556,1,0,0,0,2604,2605,7,27,0,0,2605,558, + 1,0,0,0,2606,2607,7,28,0,0,2607,560,1,0,0,0,2608,2609,7,29,0,0,2609, + 562,1,0,0,0,2610,2611,7,30,0,0,2611,564,1,0,0,0,2612,2613,7,31,0, + 0,2613,566,1,0,0,0,2614,2615,7,32,0,0,2615,568,1,0,0,0,2616,2617, + 5,45,0,0,2617,2618,5,62,0,0,2618,570,1,0,0,0,2619,2620,5,42,0,0, + 2620,572,1,0,0,0,2621,2622,5,96,0,0,2622,574,1,0,0,0,2623,2624,5, + 92,0,0,2624,576,1,0,0,0,2625,2626,5,58,0,0,2626,578,1,0,0,0,2627, + 2628,5,44,0,0,2628,580,1,0,0,0,2629,2630,5,124,0,0,2630,2631,5,124, + 0,0,2631,582,1,0,0,0,2632,2633,5,45,0,0,2633,584,1,0,0,0,2634,2635, + 5,46,0,0,2635,586,1,0,0,0,2636,2637,5,61,0,0,2637,2638,5,61,0,0, + 2638,588,1,0,0,0,2639,2640,5,61,0,0,2640,590,1,0,0,0,2641,2642,5, + 62,0,0,2642,2643,5,61,0,0,2643,592,1,0,0,0,2644,2645,5,62,0,0,2645, + 594,1,0,0,0,2646,2647,5,123,0,0,2647,596,1,0,0,0,2648,2649,5,91, + 0,0,2649,598,1,0,0,0,2650,2651,5,60,0,0,2651,2652,5,61,0,0,2652, + 600,1,0,0,0,2653,2654,5,40,0,0,2654,602,1,0,0,0,2655,2656,5,60,0, + 0,2656,604,1,0,0,0,2657,2658,5,33,0,0,2658,2662,5,61,0,0,2659,2660, + 5,60,0,0,2660,2662,5,62,0,0,2661,2657,1,0,0,0,2661,2659,1,0,0,0, + 2662,606,1,0,0,0,2663,2664,5,37,0,0,2664,608,1,0,0,0,2665,2666,5, + 43,0,0,2666,610,1,0,0,0,2667,2668,5,63,0,0,2668,612,1,0,0,0,2669, + 2670,5,34,0,0,2670,614,1,0,0,0,2671,2672,5,39,0,0,2672,616,1,0,0, + 0,2673,2674,5,125,0,0,2674,618,1,0,0,0,2675,2676,5,93,0,0,2676,620, + 1,0,0,0,2677,2678,5,41,0,0,2678,622,1,0,0,0,2679,2680,5,59,0,0,2680, + 624,1,0,0,0,2681,2682,5,47,0,0,2682,626,1,0,0,0,2683,2684,5,95,0, + 0,2684,628,1,0,0,0,2685,2686,5,47,0,0,2686,2687,5,42,0,0,2687,2691, + 1,0,0,0,2688,2690,9,0,0,0,2689,2688,1,0,0,0,2690,2693,1,0,0,0,2691, + 2692,1,0,0,0,2691,2689,1,0,0,0,2692,2694,1,0,0,0,2693,2691,1,0,0, + 0,2694,2695,5,42,0,0,2695,2696,5,47,0,0,2696,2697,1,0,0,0,2697,2698, + 6,314,0,0,2698,630,1,0,0,0,2699,2700,5,45,0,0,2700,2701,5,45,0,0, + 2701,2705,1,0,0,0,2702,2704,8,33,0,0,2703,2702,1,0,0,0,2704,2707, + 1,0,0,0,2705,2703,1,0,0,0,2705,2706,1,0,0,0,2706,2709,1,0,0,0,2707, + 2705,1,0,0,0,2708,2710,7,34,0,0,2709,2708,1,0,0,0,2710,2711,1,0, + 0,0,2711,2712,6,315,0,0,2712,632,1,0,0,0,2713,2714,7,35,0,0,2714, + 2715,1,0,0,0,2715,2716,6,316,1,0,2716,634,1,0,0,0,36,0,697,1204, + 1943,2403,2408,2410,2421,2423,2436,2438,2443,2450,2455,2459,2464, + 2469,2473,2478,2485,2491,2496,2503,2508,2514,2519,2521,2527,2532, + 2539,2549,2551,2661,2691,2705,2709,2,6,0,0,0,1,0 ]; private static __ATN: antlr.ATN; diff --git a/src/autocomplete/databases/clickhouse/generated/ClickHouseParser.interp b/src/autocomplete/databases/clickhouse/generated/ClickHouseParser.interp index 72ac694aa..ed5f162e7 100644 --- a/src/autocomplete/databases/clickhouse/generated/ClickHouseParser.interp +++ b/src/autocomplete/databases/clickhouse/generated/ClickHouseParser.interp @@ -194,6 +194,58 @@ null null null null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null +null 'false' 'true' null @@ -432,6 +484,58 @@ WHERE WINDOW WITH YEAR +GRANT +USER +FETCH +REFRESH +POLICY +QUOTA +ROLE +PROFILE +ARBITRARY +COLUMNS +CURRENT_USER +ACCESS +SHOW_USERS +SHOW_ROLES +SHOW_ROW_POLICIES +SHOW_QUOTAS +SHOW_SETTINGS_PROFILES +SHUTDOWN +CACHE +DNS +MARK +PART +UNCOMPRESSED +CONFIG +EMBEDDED +FUNCTIONS +MOVES +REPLICATION +QUEUES +RESTART +DICTGET +DICTGETHIERARCHY +DICTHAS +DICTISIN +MANAGEMENT +ADMIN +INTROSPECTION +ADDRESSTOLINE +ADDRESSTOSYMBOL +DEMANGLE +SOURCES +FILE +URL +REMOTE +MYSQL +ODBC +JDBC +HDFS +S3 +SETTING +OPTION +NONE JSON_FALSE JSON_TRUE IDENTIFIER @@ -531,6 +635,19 @@ describeStatement dropStatement existsStatement explainStatement +grantStatement +userExpressionList +userIdentifier +selectPrivilege +insertPrivilege +createPrivilege +dropPrivilege +showPrivilege +introspectionPrivilege +sourcePrivilege +dictPrivilege +alterPrivilege +privilege insertStatement columnsClause dataClause @@ -606,4 +723,4 @@ enumValue atn: -[4, 1, 235, 2137, 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, 1, 0, 3, 0, 258, 8, 0, 1, 0, 1, 0, 1, 1, 1, 1, 3, 1, 264, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 270, 8, 1, 1, 2, 1, 2, 1, 2, 1, 2, 3, 2, 276, 8, 2, 1, 2, 1, 2, 3, 2, 280, 8, 2, 1, 2, 3, 2, 283, 8, 2, 1, 2, 3, 2, 286, 8, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 3, 3, 308, 8, 3, 1, 3, 3, 3, 311, 8, 3, 1, 4, 1, 4, 1, 4, 1, 4, 5, 4, 317, 8, 4, 10, 4, 12, 4, 320, 9, 4, 1, 5, 1, 5, 3, 5, 324, 8, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 5, 6, 335, 8, 6, 10, 6, 12, 6, 338, 9, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 3, 7, 346, 8, 7, 1, 7, 1, 7, 1, 7, 5, 7, 351, 8, 7, 10, 7, 12, 7, 354, 9, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 361, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 366, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 373, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 378, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 385, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 390, 8, 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, 1, 8, 3, 8, 407, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 413, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 418, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 424, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 429, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 435, 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, 449, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 456, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 463, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 470, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 476, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 481, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 487, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 492, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 498, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 507, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 517, 8, 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, 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, 547, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 555, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 570, 8, 8, 1, 9, 1, 9, 1, 9, 5, 9, 575, 8, 9, 10, 9, 12, 9, 578, 9, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 3, 12, 591, 8, 12, 1, 13, 1, 13, 1, 13, 1, 13, 3, 13, 597, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 603, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 609, 8, 15, 1, 15, 3, 15, 612, 8, 15, 1, 16, 1, 16, 1, 16, 1, 16, 3, 16, 618, 8, 16, 1, 16, 3, 16, 621, 8, 16, 1, 16, 3, 16, 624, 8, 16, 1, 16, 1, 16, 1, 16, 1, 16, 3, 16, 630, 8, 16, 1, 16, 1, 16, 3, 16, 634, 8, 16, 1, 16, 3, 16, 637, 8, 16, 1, 16, 3, 16, 640, 8, 16, 1, 16, 3, 16, 643, 8, 16, 1, 16, 3, 16, 646, 8, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 3, 17, 653, 8, 17, 1, 17, 1, 17, 3, 17, 657, 8, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 665, 8, 18, 1, 18, 3, 18, 668, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 674, 8, 18, 1, 18, 1, 18, 3, 18, 678, 8, 18, 1, 18, 3, 18, 681, 8, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 3, 19, 692, 8, 19, 1, 19, 1, 19, 3, 19, 696, 8, 19, 1, 19, 3, 19, 699, 8, 19, 1, 19, 1, 19, 1, 19, 3, 19, 704, 8, 19, 3, 19, 706, 8, 19, 1, 19, 3, 19, 709, 8, 19, 1, 19, 3, 19, 712, 8, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 722, 8, 20, 1, 20, 1, 20, 3, 20, 726, 8, 20, 1, 20, 3, 20, 729, 8, 20, 1, 20, 3, 20, 732, 8, 20, 1, 20, 1, 20, 1, 20, 3, 20, 737, 8, 20, 3, 20, 739, 8, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 3, 21, 746, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 752, 8, 21, 1, 21, 1, 21, 3, 21, 756, 8, 21, 1, 21, 3, 21, 759, 8, 21, 1, 21, 3, 21, 762, 8, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 772, 8, 22, 1, 23, 1, 23, 1, 23, 1, 23, 5, 23, 778, 8, 23, 10, 23, 12, 23, 781, 9, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 5, 24, 806, 8, 24, 10, 24, 12, 24, 809, 9, 24, 1, 25, 3, 25, 812, 8, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 5, 25, 834, 8, 25, 10, 25, 12, 25, 837, 9, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 847, 8, 27, 1, 27, 3, 27, 850, 8, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 5, 28, 857, 8, 28, 10, 28, 12, 28, 860, 9, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 3, 29, 876, 8, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 5, 30, 885, 8, 30, 10, 30, 12, 30, 888, 9, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 905, 8, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 3, 33, 918, 8, 33, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 933, 8, 37, 10, 37, 12, 37, 936, 9, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 944, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 5, 38, 971, 8, 38, 10, 38, 12, 38, 974, 9, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 5, 42, 992, 8, 42, 10, 42, 12, 42, 995, 9, 42, 1, 43, 1, 43, 3, 43, 999, 8, 43, 1, 43, 1, 43, 1, 43, 3, 43, 1004, 8, 43, 1, 43, 3, 43, 1007, 8, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 1019, 8, 44, 1, 45, 1, 45, 1, 45, 3, 45, 1024, 8, 45, 1, 45, 1, 45, 3, 45, 1028, 8, 45, 1, 45, 3, 45, 1031, 8, 45, 1, 45, 1, 45, 3, 45, 1035, 8, 45, 1, 45, 1, 45, 3, 45, 1039, 8, 45, 1, 45, 1, 45, 1, 45, 3, 45, 1044, 8, 45, 1, 45, 3, 45, 1047, 8, 45, 1, 45, 1, 45, 3, 45, 1051, 8, 45, 3, 45, 1053, 8, 45, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 5, 49, 1073, 8, 49, 10, 49, 12, 49, 1076, 9, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 3, 50, 1083, 8, 50, 1, 50, 3, 50, 1086, 8, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 1096, 8, 51, 1, 52, 1, 52, 3, 52, 1100, 8, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1108, 8, 53, 1, 53, 1, 53, 3, 53, 1112, 8, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1117, 8, 53, 1, 53, 1, 53, 3, 53, 1121, 8, 53, 1, 53, 1, 53, 3, 53, 1125, 8, 53, 1, 53, 1, 53, 3, 53, 1129, 8, 53, 1, 53, 1, 53, 3, 53, 1133, 8, 53, 3, 53, 1135, 8, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 3, 54, 1143, 8, 54, 1, 54, 1, 54, 3, 54, 1147, 8, 54, 1, 54, 3, 54, 1150, 8, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1173, 8, 55, 1, 56, 1, 56, 1, 56, 3, 56, 1178, 8, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1183, 8, 56, 1, 56, 3, 56, 1186, 8, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 1194, 8, 57, 10, 57, 12, 57, 1197, 9, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 1206, 8, 58, 1, 58, 1, 58, 3, 58, 1210, 8, 58, 1, 59, 1, 59, 1, 59, 3, 59, 1215, 8, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 1221, 8, 59, 1, 59, 5, 59, 1224, 8, 59, 10, 59, 12, 59, 1227, 9, 59, 1, 60, 1, 60, 1, 60, 3, 60, 1232, 8, 60, 1, 60, 1, 60, 3, 60, 1236, 8, 60, 1, 61, 1, 61, 1, 61, 1, 61, 3, 61, 1242, 8, 61, 1, 61, 3, 61, 1245, 8, 61, 1, 61, 3, 61, 1248, 8, 61, 1, 61, 3, 61, 1251, 8, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 5, 62, 1263, 8, 62, 10, 62, 12, 62, 1266, 9, 62, 1, 62, 3, 62, 1269, 8, 62, 1, 63, 1, 63, 3, 63, 1273, 8, 63, 1, 63, 1, 63, 1, 63, 3, 63, 1278, 8, 63, 1, 63, 3, 63, 1281, 8, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 5, 64, 1289, 8, 64, 10, 64, 12, 64, 1292, 9, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 1299, 8, 65, 1, 66, 3, 66, 1302, 8, 66, 1, 66, 1, 66, 3, 66, 1306, 8, 66, 1, 66, 3, 66, 1309, 8, 66, 1, 66, 1, 66, 3, 66, 1313, 8, 66, 1, 66, 3, 66, 1316, 8, 66, 1, 66, 3, 66, 1319, 8, 66, 1, 66, 3, 66, 1322, 8, 66, 1, 66, 3, 66, 1325, 8, 66, 1, 66, 3, 66, 1328, 8, 66, 1, 66, 1, 66, 3, 66, 1332, 8, 66, 1, 66, 1, 66, 3, 66, 1336, 8, 66, 1, 66, 3, 66, 1339, 8, 66, 1, 66, 3, 66, 1342, 8, 66, 1, 66, 3, 66, 1345, 8, 66, 1, 66, 3, 66, 1348, 8, 66, 1, 66, 3, 66, 1351, 8, 66, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 1360, 8, 68, 1, 69, 1, 69, 1, 69, 1, 70, 3, 70, 1366, 8, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 3, 74, 1393, 8, 74, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 3, 79, 1415, 8, 79, 1, 80, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 3, 81, 1423, 8, 81, 1, 81, 3, 81, 1426, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 1432, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 1440, 8, 81, 1, 81, 3, 81, 1443, 8, 81, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 1449, 8, 81, 10, 81, 12, 81, 1452, 9, 81, 1, 82, 3, 82, 1455, 8, 82, 1, 82, 1, 82, 1, 82, 3, 82, 1460, 8, 82, 1, 82, 3, 82, 1463, 8, 82, 1, 82, 3, 82, 1466, 8, 82, 1, 82, 1, 82, 3, 82, 1470, 8, 82, 1, 82, 1, 82, 3, 82, 1474, 8, 82, 1, 82, 3, 82, 1477, 8, 82, 3, 82, 1479, 8, 82, 1, 82, 3, 82, 1482, 8, 82, 1, 82, 1, 82, 3, 82, 1486, 8, 82, 1, 82, 1, 82, 3, 82, 1490, 8, 82, 1, 82, 3, 82, 1493, 8, 82, 3, 82, 1495, 8, 82, 3, 82, 1497, 8, 82, 1, 83, 3, 83, 1500, 8, 83, 1, 83, 1, 83, 1, 83, 3, 83, 1505, 8, 83, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 3, 84, 1516, 8, 84, 1, 85, 1, 85, 1, 85, 1, 85, 3, 85, 1522, 8, 85, 1, 86, 1, 86, 1, 86, 3, 86, 1527, 8, 86, 1, 87, 1, 87, 1, 87, 5, 87, 1532, 8, 87, 10, 87, 12, 87, 1535, 9, 87, 1, 88, 1, 88, 3, 88, 1539, 8, 88, 1, 88, 1, 88, 3, 88, 1543, 8, 88, 1, 88, 1, 88, 3, 88, 1547, 8, 88, 1, 89, 1, 89, 1, 89, 3, 89, 1552, 8, 89, 1, 90, 1, 90, 1, 90, 5, 90, 1557, 8, 90, 10, 90, 12, 90, 1560, 9, 90, 1, 91, 1, 91, 1, 91, 1, 91, 1, 92, 3, 92, 1567, 8, 92, 1, 92, 3, 92, 1570, 8, 92, 1, 92, 3, 92, 1573, 8, 92, 1, 93, 1, 93, 1, 93, 1, 93, 1, 94, 1, 94, 1, 94, 1, 94, 1, 95, 1, 95, 1, 95, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 3, 96, 1592, 8, 96, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 3, 97, 1606, 8, 97, 1, 98, 1, 98, 1, 98, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 3, 99, 1622, 8, 99, 1, 99, 3, 99, 1625, 8, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 3, 99, 1634, 8, 99, 1, 99, 1, 99, 3, 99, 1638, 8, 99, 1, 99, 1, 99, 1, 99, 3, 99, 1643, 8, 99, 1, 99, 1, 99, 1, 99, 3, 99, 1648, 8, 99, 1, 99, 3, 99, 1651, 8, 99, 3, 99, 1653, 8, 99, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 3, 100, 1675, 8, 100, 1, 100, 3, 100, 1678, 8, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 3, 100, 1689, 8, 100, 1, 101, 1, 101, 3, 101, 1693, 8, 101, 1, 101, 3, 101, 1696, 8, 101, 1, 101, 1, 101, 3, 101, 1700, 8, 101, 1, 101, 1, 101, 3, 101, 1704, 8, 101, 1, 102, 1, 102, 1, 102, 1, 103, 1, 103, 1, 103, 3, 103, 1712, 8, 103, 1, 103, 1, 103, 3, 103, 1716, 8, 103, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 5, 104, 1727, 8, 104, 10, 104, 12, 104, 1730, 9, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 5, 104, 1739, 8, 104, 10, 104, 12, 104, 1742, 9, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 5, 104, 1751, 8, 104, 10, 104, 12, 104, 1754, 9, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 3, 104, 1761, 8, 104, 1, 104, 1, 104, 3, 104, 1765, 8, 104, 1, 105, 1, 105, 1, 105, 5, 105, 1770, 8, 105, 10, 105, 12, 105, 1773, 9, 105, 1, 106, 1, 106, 1, 106, 3, 106, 1778, 8, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 3, 106, 1786, 8, 106, 1, 107, 1, 107, 1, 107, 3, 107, 1791, 8, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 4, 107, 1798, 8, 107, 11, 107, 12, 107, 1799, 1, 107, 1, 107, 3, 107, 1804, 8, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 3, 107, 1835, 8, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 3, 107, 1852, 8, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 3, 107, 1864, 8, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 3, 107, 1874, 8, 107, 1, 107, 3, 107, 1877, 8, 107, 1, 107, 1, 107, 3, 107, 1881, 8, 107, 1, 107, 3, 107, 1884, 8, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 3, 107, 1896, 8, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 3, 107, 1913, 8, 107, 1, 107, 1, 107, 3, 107, 1917, 8, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 3, 107, 1934, 8, 107, 1, 107, 3, 107, 1937, 8, 107, 1, 107, 1, 107, 3, 107, 1941, 8, 107, 1, 107, 3, 107, 1944, 8, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 3, 107, 1955, 8, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 3, 107, 1979, 8, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 3, 107, 1986, 8, 107, 5, 107, 1988, 8, 107, 10, 107, 12, 107, 1991, 9, 107, 1, 108, 1, 108, 1, 108, 5, 108, 1996, 8, 108, 10, 108, 12, 108, 1999, 9, 108, 1, 109, 1, 109, 3, 109, 2003, 8, 109, 1, 110, 1, 110, 1, 110, 1, 110, 5, 110, 2009, 8, 110, 10, 110, 12, 110, 2012, 9, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 5, 110, 2019, 8, 110, 10, 110, 12, 110, 2022, 9, 110, 3, 110, 2024, 8, 110, 1, 110, 1, 110, 1, 110, 1, 111, 1, 111, 1, 111, 3, 111, 2032, 8, 111, 1, 111, 1, 111, 1, 111, 3, 111, 2037, 8, 111, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 3, 112, 2046, 8, 112, 1, 112, 1, 112, 1, 112, 1, 112, 3, 112, 2052, 8, 112, 5, 112, 2054, 8, 112, 10, 112, 12, 112, 2057, 9, 112, 1, 113, 1, 113, 1, 113, 3, 113, 2062, 8, 113, 1, 113, 1, 113, 1, 114, 1, 114, 1, 114, 3, 114, 2069, 8, 114, 1, 114, 1, 114, 1, 115, 1, 115, 1, 115, 5, 115, 2076, 8, 115, 10, 115, 12, 115, 2079, 9, 115, 1, 116, 1, 116, 1, 116, 3, 116, 2084, 8, 116, 1, 117, 1, 117, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 1, 118, 3, 118, 2094, 8, 118, 3, 118, 2096, 8, 118, 1, 119, 3, 119, 2099, 8, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 3, 119, 2107, 8, 119, 1, 120, 1, 120, 1, 120, 3, 120, 2112, 8, 120, 1, 121, 1, 121, 1, 122, 1, 122, 1, 123, 1, 123, 1, 124, 1, 124, 3, 124, 2122, 8, 124, 1, 125, 1, 125, 1, 125, 3, 125, 2127, 8, 125, 1, 126, 1, 126, 3, 126, 2131, 8, 126, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 0, 3, 162, 214, 224, 128, 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, 0, 28, 6, 0, 3, 3, 24, 24, 27, 27, 38, 38, 104, 104, 177, 177, 2, 0, 15, 15, 29, 29, 3, 0, 3, 3, 38, 38, 104, 104, 2, 0, 41, 41, 43, 43, 2, 0, 44, 44, 50, 50, 3, 0, 14, 14, 159, 159, 165, 165, 2, 0, 31, 31, 144, 144, 2, 0, 84, 84, 96, 96, 2, 0, 71, 71, 101, 101, 3, 0, 4, 4, 8, 8, 12, 12, 4, 0, 4, 4, 7, 8, 12, 12, 150, 150, 2, 0, 96, 96, 143, 143, 2, 0, 4, 4, 8, 8, 2, 0, 118, 118, 208, 208, 2, 0, 11, 11, 41, 42, 2, 0, 62, 62, 93, 93, 2, 0, 136, 136, 146, 146, 2, 0, 68, 68, 80, 80, 1, 0, 156, 157, 3, 0, 17, 17, 95, 95, 173, 173, 3, 0, 204, 204, 222, 222, 231, 231, 2, 0, 209, 210, 223, 223, 2, 0, 79, 79, 98, 98, 1, 0, 199, 200, 2, 0, 210, 210, 223, 223, 8, 0, 36, 36, 76, 76, 108, 108, 110, 110, 134, 134, 148, 148, 189, 189, 194, 194, 15, 0, 2, 35, 37, 53, 55, 75, 77, 81, 83, 107, 109, 109, 111, 112, 114, 115, 117, 126, 129, 132, 136, 147, 149, 174, 176, 188, 190, 193, 195, 196, 4, 0, 35, 35, 62, 62, 77, 77, 91, 91, 2428, 0, 257, 1, 0, 0, 0, 2, 269, 1, 0, 0, 0, 4, 285, 1, 0, 0, 0, 6, 310, 1, 0, 0, 0, 8, 312, 1, 0, 0, 0, 10, 321, 1, 0, 0, 0, 12, 330, 1, 0, 0, 0, 14, 341, 1, 0, 0, 0, 16, 569, 1, 0, 0, 0, 18, 571, 1, 0, 0, 0, 20, 579, 1, 0, 0, 0, 22, 583, 1, 0, 0, 0, 24, 590, 1, 0, 0, 0, 26, 592, 1, 0, 0, 0, 28, 598, 1, 0, 0, 0, 30, 604, 1, 0, 0, 0, 32, 620, 1, 0, 0, 0, 34, 647, 1, 0, 0, 0, 36, 667, 1, 0, 0, 0, 38, 685, 1, 0, 0, 0, 40, 715, 1, 0, 0, 0, 42, 742, 1, 0, 0, 0, 44, 771, 1, 0, 0, 0, 46, 773, 1, 0, 0, 0, 48, 784, 1, 0, 0, 0, 50, 811, 1, 0, 0, 0, 52, 838, 1, 0, 0, 0, 54, 842, 1, 0, 0, 0, 56, 851, 1, 0, 0, 0, 58, 864, 1, 0, 0, 0, 60, 879, 1, 0, 0, 0, 62, 892, 1, 0, 0, 0, 64, 908, 1, 0, 0, 0, 66, 913, 1, 0, 0, 0, 68, 919, 1, 0, 0, 0, 70, 922, 1, 0, 0, 0, 72, 925, 1, 0, 0, 0, 74, 943, 1, 0, 0, 0, 76, 945, 1, 0, 0, 0, 78, 975, 1, 0, 0, 0, 80, 979, 1, 0, 0, 0, 82, 983, 1, 0, 0, 0, 84, 987, 1, 0, 0, 0, 86, 996, 1, 0, 0, 0, 88, 1018, 1, 0, 0, 0, 90, 1052, 1, 0, 0, 0, 92, 1054, 1, 0, 0, 0, 94, 1057, 1, 0, 0, 0, 96, 1064, 1, 0, 0, 0, 98, 1067, 1, 0, 0, 0, 100, 1079, 1, 0, 0, 0, 102, 1087, 1, 0, 0, 0, 104, 1097, 1, 0, 0, 0, 106, 1134, 1, 0, 0, 0, 108, 1149, 1, 0, 0, 0, 110, 1172, 1, 0, 0, 0, 112, 1174, 1, 0, 0, 0, 114, 1189, 1, 0, 0, 0, 116, 1209, 1, 0, 0, 0, 118, 1211, 1, 0, 0, 0, 120, 1228, 1, 0, 0, 0, 122, 1237, 1, 0, 0, 0, 124, 1252, 1, 0, 0, 0, 126, 1270, 1, 0, 0, 0, 128, 1284, 1, 0, 0, 0, 130, 1298, 1, 0, 0, 0, 132, 1301, 1, 0, 0, 0, 134, 1352, 1, 0, 0, 0, 136, 1355, 1, 0, 0, 0, 138, 1361, 1, 0, 0, 0, 140, 1365, 1, 0, 0, 0, 142, 1371, 1, 0, 0, 0, 144, 1378, 1, 0, 0, 0, 146, 1381, 1, 0, 0, 0, 148, 1384, 1, 0, 0, 0, 150, 1394, 1, 0, 0, 0, 152, 1397, 1, 0, 0, 0, 154, 1401, 1, 0, 0, 0, 156, 1405, 1, 0, 0, 0, 158, 1410, 1, 0, 0, 0, 160, 1416, 1, 0, 0, 0, 162, 1431, 1, 0, 0, 0, 164, 1496, 1, 0, 0, 0, 166, 1504, 1, 0, 0, 0, 168, 1515, 1, 0, 0, 0, 170, 1517, 1, 0, 0, 0, 172, 1523, 1, 0, 0, 0, 174, 1528, 1, 0, 0, 0, 176, 1536, 1, 0, 0, 0, 178, 1548, 1, 0, 0, 0, 180, 1553, 1, 0, 0, 0, 182, 1561, 1, 0, 0, 0, 184, 1566, 1, 0, 0, 0, 186, 1574, 1, 0, 0, 0, 188, 1578, 1, 0, 0, 0, 190, 1582, 1, 0, 0, 0, 192, 1591, 1, 0, 0, 0, 194, 1605, 1, 0, 0, 0, 196, 1607, 1, 0, 0, 0, 198, 1652, 1, 0, 0, 0, 200, 1688, 1, 0, 0, 0, 202, 1690, 1, 0, 0, 0, 204, 1705, 1, 0, 0, 0, 206, 1708, 1, 0, 0, 0, 208, 1764, 1, 0, 0, 0, 210, 1766, 1, 0, 0, 0, 212, 1785, 1, 0, 0, 0, 214, 1916, 1, 0, 0, 0, 216, 1992, 1, 0, 0, 0, 218, 2002, 1, 0, 0, 0, 220, 2023, 1, 0, 0, 0, 222, 2031, 1, 0, 0, 0, 224, 2045, 1, 0, 0, 0, 226, 2058, 1, 0, 0, 0, 228, 2068, 1, 0, 0, 0, 230, 2072, 1, 0, 0, 0, 232, 2083, 1, 0, 0, 0, 234, 2085, 1, 0, 0, 0, 236, 2095, 1, 0, 0, 0, 238, 2098, 1, 0, 0, 0, 240, 2111, 1, 0, 0, 0, 242, 2113, 1, 0, 0, 0, 244, 2115, 1, 0, 0, 0, 246, 2117, 1, 0, 0, 0, 248, 2121, 1, 0, 0, 0, 250, 2126, 1, 0, 0, 0, 252, 2130, 1, 0, 0, 0, 254, 2132, 1, 0, 0, 0, 256, 258, 3, 2, 1, 0, 257, 256, 1, 0, 0, 0, 257, 258, 1, 0, 0, 0, 258, 259, 1, 0, 0, 0, 259, 260, 5, 0, 0, 1, 260, 1, 1, 0, 0, 0, 261, 263, 3, 4, 2, 0, 262, 264, 5, 230, 0, 0, 263, 262, 1, 0, 0, 0, 263, 264, 1, 0, 0, 0, 264, 270, 1, 0, 0, 0, 265, 266, 3, 4, 2, 0, 266, 267, 5, 230, 0, 0, 267, 268, 3, 2, 1, 0, 268, 270, 1, 0, 0, 0, 269, 261, 1, 0, 0, 0, 269, 265, 1, 0, 0, 0, 270, 3, 1, 0, 0, 0, 271, 275, 3, 6, 3, 0, 272, 273, 5, 87, 0, 0, 273, 274, 5, 124, 0, 0, 274, 276, 5, 202, 0, 0, 275, 272, 1, 0, 0, 0, 275, 276, 1, 0, 0, 0, 276, 279, 1, 0, 0, 0, 277, 278, 5, 66, 0, 0, 278, 280, 3, 252, 126, 0, 279, 277, 1, 0, 0, 0, 279, 280, 1, 0, 0, 0, 280, 282, 1, 0, 0, 0, 281, 283, 5, 230, 0, 0, 282, 281, 1, 0, 0, 0, 282, 283, 1, 0, 0, 0, 283, 286, 1, 0, 0, 0, 284, 286, 3, 112, 56, 0, 285, 271, 1, 0, 0, 0, 285, 284, 1, 0, 0, 0, 286, 5, 1, 0, 0, 0, 287, 311, 3, 14, 7, 0, 288, 311, 3, 26, 13, 0, 289, 311, 3, 28, 14, 0, 290, 311, 3, 44, 22, 0, 291, 311, 3, 104, 52, 0, 292, 311, 3, 30, 15, 0, 293, 311, 3, 106, 53, 0, 294, 311, 3, 108, 54, 0, 295, 311, 3, 110, 55, 0, 296, 311, 3, 120, 60, 0, 297, 311, 3, 122, 61, 0, 298, 311, 3, 124, 62, 0, 299, 311, 3, 128, 64, 0, 300, 311, 3, 196, 98, 0, 301, 311, 3, 198, 99, 0, 302, 311, 3, 200, 100, 0, 303, 311, 3, 202, 101, 0, 304, 311, 3, 204, 102, 0, 305, 311, 3, 206, 103, 0, 306, 308, 3, 8, 4, 0, 307, 306, 1, 0, 0, 0, 307, 308, 1, 0, 0, 0, 308, 309, 1, 0, 0, 0, 309, 311, 3, 132, 66, 0, 310, 287, 1, 0, 0, 0, 310, 288, 1, 0, 0, 0, 310, 289, 1, 0, 0, 0, 310, 290, 1, 0, 0, 0, 310, 291, 1, 0, 0, 0, 310, 292, 1, 0, 0, 0, 310, 293, 1, 0, 0, 0, 310, 294, 1, 0, 0, 0, 310, 295, 1, 0, 0, 0, 310, 296, 1, 0, 0, 0, 310, 297, 1, 0, 0, 0, 310, 298, 1, 0, 0, 0, 310, 299, 1, 0, 0, 0, 310, 300, 1, 0, 0, 0, 310, 301, 1, 0, 0, 0, 310, 302, 1, 0, 0, 0, 310, 303, 1, 0, 0, 0, 310, 304, 1, 0, 0, 0, 310, 305, 1, 0, 0, 0, 310, 307, 1, 0, 0, 0, 311, 7, 1, 0, 0, 0, 312, 313, 5, 193, 0, 0, 313, 318, 3, 10, 5, 0, 314, 315, 5, 208, 0, 0, 315, 317, 3, 10, 5, 0, 316, 314, 1, 0, 0, 0, 317, 320, 1, 0, 0, 0, 318, 316, 1, 0, 0, 0, 318, 319, 1, 0, 0, 0, 319, 9, 1, 0, 0, 0, 320, 318, 1, 0, 0, 0, 321, 323, 3, 250, 125, 0, 322, 324, 3, 12, 6, 0, 323, 322, 1, 0, 0, 0, 323, 324, 1, 0, 0, 0, 324, 325, 1, 0, 0, 0, 325, 326, 5, 10, 0, 0, 326, 327, 5, 219, 0, 0, 327, 328, 3, 6, 3, 0, 328, 329, 5, 229, 0, 0, 329, 11, 1, 0, 0, 0, 330, 331, 5, 219, 0, 0, 331, 336, 3, 250, 125, 0, 332, 333, 5, 208, 0, 0, 333, 335, 3, 250, 125, 0, 334, 332, 1, 0, 0, 0, 335, 338, 1, 0, 0, 0, 336, 334, 1, 0, 0, 0, 336, 337, 1, 0, 0, 0, 337, 339, 1, 0, 0, 0, 338, 336, 1, 0, 0, 0, 339, 340, 5, 229, 0, 0, 340, 13, 1, 0, 0, 0, 341, 342, 5, 5, 0, 0, 342, 343, 5, 162, 0, 0, 343, 345, 3, 228, 114, 0, 344, 346, 3, 66, 33, 0, 345, 344, 1, 0, 0, 0, 345, 346, 1, 0, 0, 0, 346, 347, 1, 0, 0, 0, 347, 352, 3, 16, 8, 0, 348, 349, 5, 208, 0, 0, 349, 351, 3, 16, 8, 0, 350, 348, 1, 0, 0, 0, 351, 354, 1, 0, 0, 0, 352, 350, 1, 0, 0, 0, 352, 353, 1, 0, 0, 0, 353, 15, 1, 0, 0, 0, 354, 352, 1, 0, 0, 0, 355, 356, 5, 1, 0, 0, 356, 360, 5, 26, 0, 0, 357, 358, 5, 78, 0, 0, 358, 359, 5, 115, 0, 0, 359, 361, 5, 56, 0, 0, 360, 357, 1, 0, 0, 0, 360, 361, 1, 0, 0, 0, 361, 362, 1, 0, 0, 0, 362, 365, 3, 90, 45, 0, 363, 364, 5, 2, 0, 0, 364, 366, 3, 222, 111, 0, 365, 363, 1, 0, 0, 0, 365, 366, 1, 0, 0, 0, 366, 570, 1, 0, 0, 0, 367, 368, 5, 1, 0, 0, 368, 372, 5, 81, 0, 0, 369, 370, 5, 78, 0, 0, 370, 371, 5, 115, 0, 0, 371, 373, 5, 56, 0, 0, 372, 369, 1, 0, 0, 0, 372, 373, 1, 0, 0, 0, 373, 374, 1, 0, 0, 0, 374, 377, 3, 94, 47, 0, 375, 376, 5, 2, 0, 0, 376, 378, 3, 222, 111, 0, 377, 375, 1, 0, 0, 0, 377, 378, 1, 0, 0, 0, 378, 570, 1, 0, 0, 0, 379, 380, 5, 1, 0, 0, 380, 384, 5, 133, 0, 0, 381, 382, 5, 78, 0, 0, 382, 383, 5, 115, 0, 0, 383, 385, 5, 56, 0, 0, 384, 381, 1, 0, 0, 0, 384, 385, 1, 0, 0, 0, 385, 386, 1, 0, 0, 0, 386, 389, 3, 96, 48, 0, 387, 388, 5, 2, 0, 0, 388, 390, 3, 222, 111, 0, 389, 387, 1, 0, 0, 0, 389, 390, 1, 0, 0, 0, 390, 570, 1, 0, 0, 0, 391, 392, 5, 15, 0, 0, 392, 395, 3, 24, 12, 0, 393, 394, 5, 68, 0, 0, 394, 396, 3, 228, 114, 0, 395, 393, 1, 0, 0, 0, 395, 396, 1, 0, 0, 0, 396, 570, 1, 0, 0, 0, 397, 398, 5, 22, 0, 0, 398, 401, 5, 26, 0, 0, 399, 400, 5, 78, 0, 0, 400, 402, 5, 56, 0, 0, 401, 399, 1, 0, 0, 0, 401, 402, 1, 0, 0, 0, 402, 403, 1, 0, 0, 0, 403, 406, 3, 222, 111, 0, 404, 405, 5, 80, 0, 0, 405, 407, 3, 24, 12, 0, 406, 404, 1, 0, 0, 0, 406, 407, 1, 0, 0, 0, 407, 570, 1, 0, 0, 0, 408, 409, 5, 22, 0, 0, 409, 412, 5, 81, 0, 0, 410, 411, 5, 78, 0, 0, 411, 413, 5, 56, 0, 0, 412, 410, 1, 0, 0, 0, 412, 413, 1, 0, 0, 0, 413, 414, 1, 0, 0, 0, 414, 417, 3, 222, 111, 0, 415, 416, 5, 80, 0, 0, 416, 418, 3, 24, 12, 0, 417, 415, 1, 0, 0, 0, 417, 418, 1, 0, 0, 0, 418, 570, 1, 0, 0, 0, 419, 420, 5, 22, 0, 0, 420, 423, 5, 133, 0, 0, 421, 422, 5, 78, 0, 0, 422, 424, 5, 56, 0, 0, 423, 421, 1, 0, 0, 0, 423, 424, 1, 0, 0, 0, 424, 425, 1, 0, 0, 0, 425, 428, 3, 222, 111, 0, 426, 427, 5, 80, 0, 0, 427, 429, 3, 24, 12, 0, 428, 426, 1, 0, 0, 0, 428, 429, 1, 0, 0, 0, 429, 570, 1, 0, 0, 0, 430, 431, 5, 27, 0, 0, 431, 434, 5, 26, 0, 0, 432, 433, 5, 78, 0, 0, 433, 435, 5, 56, 0, 0, 434, 432, 1, 0, 0, 0, 434, 435, 1, 0, 0, 0, 435, 436, 1, 0, 0, 0, 436, 437, 3, 222, 111, 0, 437, 438, 5, 202, 0, 0, 438, 570, 1, 0, 0, 0, 439, 440, 5, 40, 0, 0, 440, 441, 5, 191, 0, 0, 441, 570, 3, 214, 107, 0, 442, 443, 5, 44, 0, 0, 443, 570, 3, 24, 12, 0, 444, 445, 5, 50, 0, 0, 445, 448, 5, 26, 0, 0, 446, 447, 5, 78, 0, 0, 447, 449, 5, 56, 0, 0, 448, 446, 1, 0, 0, 0, 448, 449, 1, 0, 0, 0, 449, 450, 1, 0, 0, 0, 450, 570, 3, 222, 111, 0, 451, 452, 5, 50, 0, 0, 452, 455, 5, 81, 0, 0, 453, 454, 5, 78, 0, 0, 454, 456, 5, 56, 0, 0, 455, 453, 1, 0, 0, 0, 455, 456, 1, 0, 0, 0, 456, 457, 1, 0, 0, 0, 457, 570, 3, 222, 111, 0, 458, 459, 5, 50, 0, 0, 459, 462, 5, 133, 0, 0, 460, 461, 5, 78, 0, 0, 461, 463, 5, 56, 0, 0, 462, 460, 1, 0, 0, 0, 462, 463, 1, 0, 0, 0, 463, 464, 1, 0, 0, 0, 464, 570, 3, 222, 111, 0, 465, 466, 5, 50, 0, 0, 466, 570, 3, 24, 12, 0, 467, 469, 5, 67, 0, 0, 468, 470, 3, 24, 12, 0, 469, 468, 1, 0, 0, 0, 469, 470, 1, 0, 0, 0, 470, 570, 1, 0, 0, 0, 471, 472, 5, 103, 0, 0, 472, 475, 5, 81, 0, 0, 473, 474, 5, 78, 0, 0, 474, 476, 5, 56, 0, 0, 475, 473, 1, 0, 0, 0, 475, 476, 1, 0, 0, 0, 476, 477, 1, 0, 0, 0, 477, 480, 3, 222, 111, 0, 478, 479, 5, 80, 0, 0, 479, 481, 3, 24, 12, 0, 480, 478, 1, 0, 0, 0, 480, 481, 1, 0, 0, 0, 481, 570, 1, 0, 0, 0, 482, 483, 5, 103, 0, 0, 483, 486, 5, 133, 0, 0, 484, 485, 5, 78, 0, 0, 485, 487, 5, 56, 0, 0, 486, 484, 1, 0, 0, 0, 486, 487, 1, 0, 0, 0, 487, 488, 1, 0, 0, 0, 488, 491, 3, 222, 111, 0, 489, 490, 5, 80, 0, 0, 490, 492, 3, 24, 12, 0, 491, 489, 1, 0, 0, 0, 491, 492, 1, 0, 0, 0, 492, 570, 1, 0, 0, 0, 493, 494, 5, 109, 0, 0, 494, 497, 5, 26, 0, 0, 495, 496, 5, 78, 0, 0, 496, 498, 5, 56, 0, 0, 497, 495, 1, 0, 0, 0, 497, 498, 1, 0, 0, 0, 498, 499, 1, 0, 0, 0, 499, 500, 3, 222, 111, 0, 500, 501, 3, 98, 49, 0, 501, 570, 1, 0, 0, 0, 502, 503, 5, 109, 0, 0, 503, 506, 5, 26, 0, 0, 504, 505, 5, 78, 0, 0, 505, 507, 5, 56, 0, 0, 506, 504, 1, 0, 0, 0, 506, 507, 1, 0, 0, 0, 507, 508, 1, 0, 0, 0, 508, 509, 3, 222, 111, 0, 509, 510, 5, 27, 0, 0, 510, 511, 5, 202, 0, 0, 511, 570, 1, 0, 0, 0, 512, 513, 5, 109, 0, 0, 513, 516, 5, 26, 0, 0, 514, 515, 5, 78, 0, 0, 515, 517, 5, 56, 0, 0, 516, 514, 1, 0, 0, 0, 516, 517, 1, 0, 0, 0, 517, 518, 1, 0, 0, 0, 518, 519, 3, 222, 111, 0, 519, 520, 5, 138, 0, 0, 520, 521, 3, 22, 11, 0, 521, 570, 1, 0, 0, 0, 522, 523, 5, 109, 0, 0, 523, 526, 5, 26, 0, 0, 524, 525, 5, 78, 0, 0, 525, 527, 5, 56, 0, 0, 526, 524, 1, 0, 0, 0, 526, 527, 1, 0, 0, 0, 527, 528, 1, 0, 0, 0, 528, 570, 3, 90, 45, 0, 529, 530, 5, 109, 0, 0, 530, 531, 5, 122, 0, 0, 531, 532, 5, 18, 0, 0, 532, 570, 3, 214, 107, 0, 533, 534, 5, 109, 0, 0, 534, 570, 3, 84, 42, 0, 535, 536, 5, 111, 0, 0, 536, 546, 3, 24, 12, 0, 537, 538, 5, 170, 0, 0, 538, 539, 5, 47, 0, 0, 539, 547, 5, 202, 0, 0, 540, 541, 5, 170, 0, 0, 541, 542, 5, 187, 0, 0, 542, 547, 5, 202, 0, 0, 543, 544, 5, 170, 0, 0, 544, 545, 5, 162, 0, 0, 545, 547, 3, 228, 114, 0, 546, 537, 1, 0, 0, 0, 546, 540, 1, 0, 0, 0, 546, 543, 1, 0, 0, 0, 547, 570, 1, 0, 0, 0, 548, 549, 5, 138, 0, 0, 549, 570, 5, 177, 0, 0, 550, 551, 5, 139, 0, 0, 551, 554, 5, 26, 0, 0, 552, 553, 5, 78, 0, 0, 553, 555, 5, 56, 0, 0, 554, 552, 1, 0, 0, 0, 554, 555, 1, 0, 0, 0, 555, 556, 1, 0, 0, 0, 556, 557, 3, 222, 111, 0, 557, 558, 5, 170, 0, 0, 558, 559, 3, 222, 111, 0, 559, 570, 1, 0, 0, 0, 560, 561, 5, 140, 0, 0, 561, 562, 3, 24, 12, 0, 562, 563, 5, 68, 0, 0, 563, 564, 3, 228, 114, 0, 564, 570, 1, 0, 0, 0, 565, 566, 5, 181, 0, 0, 566, 567, 3, 18, 9, 0, 567, 568, 3, 146, 73, 0, 568, 570, 1, 0, 0, 0, 569, 355, 1, 0, 0, 0, 569, 367, 1, 0, 0, 0, 569, 379, 1, 0, 0, 0, 569, 391, 1, 0, 0, 0, 569, 397, 1, 0, 0, 0, 569, 408, 1, 0, 0, 0, 569, 419, 1, 0, 0, 0, 569, 430, 1, 0, 0, 0, 569, 439, 1, 0, 0, 0, 569, 442, 1, 0, 0, 0, 569, 444, 1, 0, 0, 0, 569, 451, 1, 0, 0, 0, 569, 458, 1, 0, 0, 0, 569, 465, 1, 0, 0, 0, 569, 467, 1, 0, 0, 0, 569, 471, 1, 0, 0, 0, 569, 482, 1, 0, 0, 0, 569, 493, 1, 0, 0, 0, 569, 502, 1, 0, 0, 0, 569, 512, 1, 0, 0, 0, 569, 522, 1, 0, 0, 0, 569, 529, 1, 0, 0, 0, 569, 533, 1, 0, 0, 0, 569, 535, 1, 0, 0, 0, 569, 548, 1, 0, 0, 0, 569, 550, 1, 0, 0, 0, 569, 560, 1, 0, 0, 0, 569, 565, 1, 0, 0, 0, 570, 17, 1, 0, 0, 0, 571, 576, 3, 20, 10, 0, 572, 573, 5, 208, 0, 0, 573, 575, 3, 20, 10, 0, 574, 572, 1, 0, 0, 0, 575, 578, 1, 0, 0, 0, 576, 574, 1, 0, 0, 0, 576, 577, 1, 0, 0, 0, 577, 19, 1, 0, 0, 0, 578, 576, 1, 0, 0, 0, 579, 580, 3, 222, 111, 0, 580, 581, 5, 213, 0, 0, 581, 582, 3, 214, 107, 0, 582, 21, 1, 0, 0, 0, 583, 584, 7, 0, 0, 0, 584, 23, 1, 0, 0, 0, 585, 586, 5, 126, 0, 0, 586, 591, 3, 214, 107, 0, 587, 588, 5, 126, 0, 0, 588, 589, 5, 77, 0, 0, 589, 591, 5, 202, 0, 0, 590, 585, 1, 0, 0, 0, 590, 587, 1, 0, 0, 0, 591, 25, 1, 0, 0, 0, 592, 593, 5, 15, 0, 0, 593, 594, 5, 46, 0, 0, 594, 596, 3, 228, 114, 0, 595, 597, 3, 66, 33, 0, 596, 595, 1, 0, 0, 0, 596, 597, 1, 0, 0, 0, 597, 27, 1, 0, 0, 0, 598, 599, 5, 21, 0, 0, 599, 600, 5, 162, 0, 0, 600, 602, 3, 228, 114, 0, 601, 603, 3, 24, 12, 0, 602, 601, 1, 0, 0, 0, 602, 603, 1, 0, 0, 0, 603, 29, 1, 0, 0, 0, 604, 605, 5, 40, 0, 0, 605, 606, 5, 68, 0, 0, 606, 608, 3, 228, 114, 0, 607, 609, 3, 66, 33, 0, 608, 607, 1, 0, 0, 0, 608, 609, 1, 0, 0, 0, 609, 611, 1, 0, 0, 0, 610, 612, 3, 146, 73, 0, 611, 610, 1, 0, 0, 0, 611, 612, 1, 0, 0, 0, 612, 31, 1, 0, 0, 0, 613, 621, 5, 15, 0, 0, 614, 617, 5, 29, 0, 0, 615, 616, 5, 121, 0, 0, 616, 618, 5, 140, 0, 0, 617, 615, 1, 0, 0, 0, 617, 618, 1, 0, 0, 0, 618, 621, 1, 0, 0, 0, 619, 621, 5, 140, 0, 0, 620, 613, 1, 0, 0, 0, 620, 614, 1, 0, 0, 0, 620, 619, 1, 0, 0, 0, 621, 623, 1, 0, 0, 0, 622, 624, 5, 164, 0, 0, 623, 622, 1, 0, 0, 0, 623, 624, 1, 0, 0, 0, 624, 625, 1, 0, 0, 0, 625, 629, 5, 162, 0, 0, 626, 627, 5, 78, 0, 0, 627, 628, 5, 115, 0, 0, 628, 630, 5, 56, 0, 0, 629, 626, 1, 0, 0, 0, 629, 630, 1, 0, 0, 0, 630, 631, 1, 0, 0, 0, 631, 633, 3, 228, 114, 0, 632, 634, 3, 68, 34, 0, 633, 632, 1, 0, 0, 0, 633, 634, 1, 0, 0, 0, 634, 636, 1, 0, 0, 0, 635, 637, 3, 66, 33, 0, 636, 635, 1, 0, 0, 0, 636, 637, 1, 0, 0, 0, 637, 639, 1, 0, 0, 0, 638, 640, 3, 74, 37, 0, 639, 638, 1, 0, 0, 0, 639, 640, 1, 0, 0, 0, 640, 642, 1, 0, 0, 0, 641, 643, 3, 76, 38, 0, 642, 641, 1, 0, 0, 0, 642, 643, 1, 0, 0, 0, 643, 645, 1, 0, 0, 0, 644, 646, 3, 72, 36, 0, 645, 644, 1, 0, 0, 0, 645, 646, 1, 0, 0, 0, 646, 33, 1, 0, 0, 0, 647, 648, 7, 1, 0, 0, 648, 652, 5, 33, 0, 0, 649, 650, 5, 78, 0, 0, 650, 651, 5, 115, 0, 0, 651, 653, 5, 56, 0, 0, 652, 649, 1, 0, 0, 0, 652, 653, 1, 0, 0, 0, 653, 654, 1, 0, 0, 0, 654, 656, 3, 250, 125, 0, 655, 657, 3, 66, 33, 0, 656, 655, 1, 0, 0, 0, 656, 657, 1, 0, 0, 0, 657, 658, 1, 0, 0, 0, 658, 659, 3, 86, 43, 0, 659, 35, 1, 0, 0, 0, 660, 668, 5, 15, 0, 0, 661, 664, 5, 29, 0, 0, 662, 663, 5, 121, 0, 0, 663, 665, 5, 140, 0, 0, 664, 662, 1, 0, 0, 0, 664, 665, 1, 0, 0, 0, 665, 668, 1, 0, 0, 0, 666, 668, 5, 140, 0, 0, 667, 660, 1, 0, 0, 0, 667, 661, 1, 0, 0, 0, 667, 666, 1, 0, 0, 0, 668, 669, 1, 0, 0, 0, 669, 673, 5, 46, 0, 0, 670, 671, 5, 78, 0, 0, 671, 672, 5, 115, 0, 0, 672, 674, 5, 56, 0, 0, 673, 670, 1, 0, 0, 0, 673, 674, 1, 0, 0, 0, 674, 675, 1, 0, 0, 0, 675, 677, 3, 228, 114, 0, 676, 678, 3, 68, 34, 0, 677, 676, 1, 0, 0, 0, 677, 678, 1, 0, 0, 0, 678, 680, 1, 0, 0, 0, 679, 681, 3, 66, 33, 0, 680, 679, 1, 0, 0, 0, 680, 681, 1, 0, 0, 0, 681, 682, 1, 0, 0, 0, 682, 683, 3, 46, 23, 0, 683, 684, 3, 50, 25, 0, 684, 37, 1, 0, 0, 0, 685, 686, 7, 1, 0, 0, 686, 687, 5, 100, 0, 0, 687, 691, 5, 186, 0, 0, 688, 689, 5, 78, 0, 0, 689, 690, 5, 115, 0, 0, 690, 692, 5, 56, 0, 0, 691, 688, 1, 0, 0, 0, 691, 692, 1, 0, 0, 0, 692, 693, 1, 0, 0, 0, 693, 695, 3, 228, 114, 0, 694, 696, 3, 68, 34, 0, 695, 694, 1, 0, 0, 0, 695, 696, 1, 0, 0, 0, 696, 698, 1, 0, 0, 0, 697, 699, 3, 66, 33, 0, 698, 697, 1, 0, 0, 0, 698, 699, 1, 0, 0, 0, 699, 705, 1, 0, 0, 0, 700, 701, 5, 193, 0, 0, 701, 703, 5, 168, 0, 0, 702, 704, 5, 200, 0, 0, 703, 702, 1, 0, 0, 0, 703, 704, 1, 0, 0, 0, 704, 706, 1, 0, 0, 0, 705, 700, 1, 0, 0, 0, 705, 706, 1, 0, 0, 0, 706, 708, 1, 0, 0, 0, 707, 709, 3, 70, 35, 0, 708, 707, 1, 0, 0, 0, 708, 709, 1, 0, 0, 0, 709, 711, 1, 0, 0, 0, 710, 712, 3, 74, 37, 0, 711, 710, 1, 0, 0, 0, 711, 712, 1, 0, 0, 0, 712, 713, 1, 0, 0, 0, 713, 714, 3, 72, 36, 0, 714, 39, 1, 0, 0, 0, 715, 716, 7, 1, 0, 0, 716, 717, 5, 104, 0, 0, 717, 721, 5, 186, 0, 0, 718, 719, 5, 78, 0, 0, 719, 720, 5, 115, 0, 0, 720, 722, 5, 56, 0, 0, 721, 718, 1, 0, 0, 0, 721, 722, 1, 0, 0, 0, 722, 723, 1, 0, 0, 0, 723, 725, 3, 228, 114, 0, 724, 726, 3, 68, 34, 0, 725, 724, 1, 0, 0, 0, 725, 726, 1, 0, 0, 0, 726, 728, 1, 0, 0, 0, 727, 729, 3, 66, 33, 0, 728, 727, 1, 0, 0, 0, 728, 729, 1, 0, 0, 0, 729, 731, 1, 0, 0, 0, 730, 732, 3, 74, 37, 0, 731, 730, 1, 0, 0, 0, 731, 732, 1, 0, 0, 0, 732, 738, 1, 0, 0, 0, 733, 739, 3, 70, 35, 0, 734, 736, 3, 76, 38, 0, 735, 737, 5, 129, 0, 0, 736, 735, 1, 0, 0, 0, 736, 737, 1, 0, 0, 0, 737, 739, 1, 0, 0, 0, 738, 733, 1, 0, 0, 0, 738, 734, 1, 0, 0, 0, 739, 740, 1, 0, 0, 0, 740, 741, 3, 72, 36, 0, 741, 41, 1, 0, 0, 0, 742, 745, 7, 1, 0, 0, 743, 744, 5, 121, 0, 0, 744, 746, 5, 140, 0, 0, 745, 743, 1, 0, 0, 0, 745, 746, 1, 0, 0, 0, 746, 747, 1, 0, 0, 0, 747, 751, 5, 186, 0, 0, 748, 749, 5, 78, 0, 0, 749, 750, 5, 115, 0, 0, 750, 752, 5, 56, 0, 0, 751, 748, 1, 0, 0, 0, 751, 752, 1, 0, 0, 0, 752, 753, 1, 0, 0, 0, 753, 755, 3, 228, 114, 0, 754, 756, 3, 68, 34, 0, 755, 754, 1, 0, 0, 0, 755, 756, 1, 0, 0, 0, 756, 758, 1, 0, 0, 0, 757, 759, 3, 66, 33, 0, 758, 757, 1, 0, 0, 0, 758, 759, 1, 0, 0, 0, 759, 761, 1, 0, 0, 0, 760, 762, 3, 74, 37, 0, 761, 760, 1, 0, 0, 0, 761, 762, 1, 0, 0, 0, 762, 763, 1, 0, 0, 0, 763, 764, 3, 72, 36, 0, 764, 43, 1, 0, 0, 0, 765, 772, 3, 34, 17, 0, 766, 772, 3, 36, 18, 0, 767, 772, 3, 38, 19, 0, 768, 772, 3, 40, 20, 0, 769, 772, 3, 32, 16, 0, 770, 772, 3, 42, 21, 0, 771, 765, 1, 0, 0, 0, 771, 766, 1, 0, 0, 0, 771, 767, 1, 0, 0, 0, 771, 768, 1, 0, 0, 0, 771, 769, 1, 0, 0, 0, 771, 770, 1, 0, 0, 0, 772, 45, 1, 0, 0, 0, 773, 774, 5, 219, 0, 0, 774, 779, 3, 48, 24, 0, 775, 776, 5, 208, 0, 0, 776, 778, 3, 48, 24, 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, 782, 1, 0, 0, 0, 781, 779, 1, 0, 0, 0, 782, 783, 5, 229, 0, 0, 783, 47, 1, 0, 0, 0, 784, 785, 3, 250, 125, 0, 785, 807, 3, 208, 104, 0, 786, 787, 4, 24, 0, 1, 787, 788, 5, 38, 0, 0, 788, 789, 3, 240, 120, 0, 789, 790, 6, 24, -1, 0, 790, 806, 1, 0, 0, 0, 791, 792, 4, 24, 1, 1, 792, 793, 5, 58, 0, 0, 793, 794, 3, 214, 107, 0, 794, 795, 6, 24, -1, 0, 795, 806, 1, 0, 0, 0, 796, 797, 4, 24, 2, 1, 797, 798, 5, 75, 0, 0, 798, 806, 6, 24, -1, 0, 799, 800, 4, 24, 3, 1, 800, 801, 5, 83, 0, 0, 801, 806, 6, 24, -1, 0, 802, 803, 4, 24, 4, 1, 803, 804, 5, 89, 0, 0, 804, 806, 6, 24, -1, 0, 805, 786, 1, 0, 0, 0, 805, 791, 1, 0, 0, 0, 805, 796, 1, 0, 0, 0, 805, 799, 1, 0, 0, 0, 805, 802, 1, 0, 0, 0, 806, 809, 1, 0, 0, 0, 807, 805, 1, 0, 0, 0, 807, 808, 1, 0, 0, 0, 808, 49, 1, 0, 0, 0, 809, 807, 1, 0, 0, 0, 810, 812, 3, 52, 26, 0, 811, 810, 1, 0, 0, 0, 811, 812, 1, 0, 0, 0, 812, 835, 1, 0, 0, 0, 813, 814, 4, 25, 5, 1, 814, 815, 3, 56, 28, 0, 815, 816, 6, 25, -1, 0, 816, 834, 1, 0, 0, 0, 817, 818, 4, 25, 6, 1, 818, 819, 3, 58, 29, 0, 819, 820, 6, 25, -1, 0, 820, 834, 1, 0, 0, 0, 821, 822, 4, 25, 7, 1, 822, 823, 3, 60, 30, 0, 823, 824, 6, 25, -1, 0, 824, 834, 1, 0, 0, 0, 825, 826, 4, 25, 8, 1, 826, 827, 3, 62, 31, 0, 827, 828, 6, 25, -1, 0, 828, 834, 1, 0, 0, 0, 829, 830, 4, 25, 9, 1, 830, 831, 3, 64, 32, 0, 831, 832, 6, 25, -1, 0, 832, 834, 1, 0, 0, 0, 833, 813, 1, 0, 0, 0, 833, 817, 1, 0, 0, 0, 833, 821, 1, 0, 0, 0, 833, 825, 1, 0, 0, 0, 833, 829, 1, 0, 0, 0, 834, 837, 1, 0, 0, 0, 835, 833, 1, 0, 0, 0, 835, 836, 1, 0, 0, 0, 836, 51, 1, 0, 0, 0, 837, 835, 1, 0, 0, 0, 838, 839, 5, 132, 0, 0, 839, 840, 5, 91, 0, 0, 840, 841, 3, 210, 105, 0, 841, 53, 1, 0, 0, 0, 842, 849, 3, 250, 125, 0, 843, 846, 3, 250, 125, 0, 844, 845, 5, 219, 0, 0, 845, 847, 5, 229, 0, 0, 846, 844, 1, 0, 0, 0, 846, 847, 1, 0, 0, 0, 847, 850, 1, 0, 0, 0, 848, 850, 3, 240, 120, 0, 849, 843, 1, 0, 0, 0, 849, 848, 1, 0, 0, 0, 850, 55, 1, 0, 0, 0, 851, 852, 5, 155, 0, 0, 852, 853, 5, 219, 0, 0, 853, 854, 3, 250, 125, 0, 854, 858, 5, 219, 0, 0, 855, 857, 3, 54, 27, 0, 856, 855, 1, 0, 0, 0, 857, 860, 1, 0, 0, 0, 858, 856, 1, 0, 0, 0, 858, 859, 1, 0, 0, 0, 859, 861, 1, 0, 0, 0, 860, 858, 1, 0, 0, 0, 861, 862, 5, 229, 0, 0, 862, 863, 5, 229, 0, 0, 863, 57, 1, 0, 0, 0, 864, 865, 5, 97, 0, 0, 865, 875, 5, 219, 0, 0, 866, 876, 5, 200, 0, 0, 867, 868, 5, 107, 0, 0, 868, 869, 5, 200, 0, 0, 869, 870, 5, 105, 0, 0, 870, 876, 5, 200, 0, 0, 871, 872, 5, 105, 0, 0, 872, 873, 5, 200, 0, 0, 873, 874, 5, 107, 0, 0, 874, 876, 5, 200, 0, 0, 875, 866, 1, 0, 0, 0, 875, 867, 1, 0, 0, 0, 875, 871, 1, 0, 0, 0, 876, 877, 1, 0, 0, 0, 877, 878, 5, 229, 0, 0, 878, 59, 1, 0, 0, 0, 879, 880, 5, 94, 0, 0, 880, 881, 5, 219, 0, 0, 881, 882, 3, 250, 125, 0, 882, 886, 5, 219, 0, 0, 883, 885, 3, 54, 27, 0, 884, 883, 1, 0, 0, 0, 885, 888, 1, 0, 0, 0, 886, 884, 1, 0, 0, 0, 886, 887, 1, 0, 0, 0, 887, 889, 1, 0, 0, 0, 888, 886, 1, 0, 0, 0, 889, 890, 5, 229, 0, 0, 890, 891, 5, 229, 0, 0, 891, 61, 1, 0, 0, 0, 892, 893, 5, 136, 0, 0, 893, 904, 5, 219, 0, 0, 894, 895, 5, 107, 0, 0, 895, 896, 3, 250, 125, 0, 896, 897, 5, 105, 0, 0, 897, 898, 3, 250, 125, 0, 898, 905, 1, 0, 0, 0, 899, 900, 5, 105, 0, 0, 900, 901, 3, 250, 125, 0, 901, 902, 5, 107, 0, 0, 902, 903, 3, 250, 125, 0, 903, 905, 1, 0, 0, 0, 904, 894, 1, 0, 0, 0, 904, 899, 1, 0, 0, 0, 905, 906, 1, 0, 0, 0, 906, 907, 5, 229, 0, 0, 907, 63, 1, 0, 0, 0, 908, 909, 5, 153, 0, 0, 909, 910, 5, 219, 0, 0, 910, 911, 3, 180, 90, 0, 911, 912, 5, 229, 0, 0, 912, 65, 1, 0, 0, 0, 913, 914, 5, 119, 0, 0, 914, 917, 5, 23, 0, 0, 915, 918, 3, 250, 125, 0, 916, 918, 5, 202, 0, 0, 917, 915, 1, 0, 0, 0, 917, 916, 1, 0, 0, 0, 918, 67, 1, 0, 0, 0, 919, 920, 5, 184, 0, 0, 920, 921, 5, 202, 0, 0, 921, 69, 1, 0, 0, 0, 922, 923, 5, 170, 0, 0, 923, 924, 3, 228, 114, 0, 924, 71, 1, 0, 0, 0, 925, 926, 5, 10, 0, 0, 926, 927, 3, 128, 64, 0, 927, 73, 1, 0, 0, 0, 928, 929, 5, 219, 0, 0, 929, 934, 3, 88, 44, 0, 930, 931, 5, 208, 0, 0, 931, 933, 3, 88, 44, 0, 932, 930, 1, 0, 0, 0, 933, 936, 1, 0, 0, 0, 934, 932, 1, 0, 0, 0, 934, 935, 1, 0, 0, 0, 935, 937, 1, 0, 0, 0, 936, 934, 1, 0, 0, 0, 937, 938, 5, 229, 0, 0, 938, 944, 1, 0, 0, 0, 939, 940, 5, 10, 0, 0, 940, 944, 3, 228, 114, 0, 941, 942, 5, 10, 0, 0, 942, 944, 3, 226, 113, 0, 943, 928, 1, 0, 0, 0, 943, 939, 1, 0, 0, 0, 943, 941, 1, 0, 0, 0, 944, 75, 1, 0, 0, 0, 945, 972, 3, 86, 43, 0, 946, 947, 4, 38, 10, 1, 947, 948, 3, 152, 76, 0, 948, 949, 6, 38, -1, 0, 949, 971, 1, 0, 0, 0, 950, 951, 4, 38, 11, 1, 951, 952, 3, 78, 39, 0, 952, 953, 6, 38, -1, 0, 953, 971, 1, 0, 0, 0, 954, 955, 4, 38, 12, 1, 955, 956, 3, 80, 40, 0, 956, 957, 6, 38, -1, 0, 957, 971, 1, 0, 0, 0, 958, 959, 4, 38, 13, 1, 959, 960, 3, 82, 41, 0, 960, 961, 6, 38, -1, 0, 961, 971, 1, 0, 0, 0, 962, 963, 4, 38, 14, 1, 963, 964, 3, 84, 42, 0, 964, 965, 6, 38, -1, 0, 965, 971, 1, 0, 0, 0, 966, 967, 4, 38, 15, 1, 967, 968, 3, 160, 80, 0, 968, 969, 6, 38, -1, 0, 969, 971, 1, 0, 0, 0, 970, 946, 1, 0, 0, 0, 970, 950, 1, 0, 0, 0, 970, 954, 1, 0, 0, 0, 970, 958, 1, 0, 0, 0, 970, 962, 1, 0, 0, 0, 970, 966, 1, 0, 0, 0, 971, 974, 1, 0, 0, 0, 972, 970, 1, 0, 0, 0, 972, 973, 1, 0, 0, 0, 973, 77, 1, 0, 0, 0, 974, 972, 1, 0, 0, 0, 975, 976, 5, 126, 0, 0, 976, 977, 5, 18, 0, 0, 977, 978, 3, 214, 107, 0, 978, 79, 1, 0, 0, 0, 979, 980, 5, 132, 0, 0, 980, 981, 5, 91, 0, 0, 981, 982, 3, 214, 107, 0, 982, 81, 1, 0, 0, 0, 983, 984, 5, 147, 0, 0, 984, 985, 5, 18, 0, 0, 985, 986, 3, 214, 107, 0, 986, 83, 1, 0, 0, 0, 987, 988, 5, 177, 0, 0, 988, 993, 3, 102, 51, 0, 989, 990, 5, 208, 0, 0, 990, 992, 3, 102, 51, 0, 991, 989, 1, 0, 0, 0, 992, 995, 1, 0, 0, 0, 993, 991, 1, 0, 0, 0, 993, 994, 1, 0, 0, 0, 994, 85, 1, 0, 0, 0, 995, 993, 1, 0, 0, 0, 996, 998, 5, 53, 0, 0, 997, 999, 5, 213, 0, 0, 998, 997, 1, 0, 0, 0, 998, 999, 1, 0, 0, 0, 999, 1000, 1, 0, 0, 0, 1000, 1006, 3, 252, 126, 0, 1001, 1003, 5, 219, 0, 0, 1002, 1004, 3, 210, 105, 0, 1003, 1002, 1, 0, 0, 0, 1003, 1004, 1, 0, 0, 0, 1004, 1005, 1, 0, 0, 0, 1005, 1007, 5, 229, 0, 0, 1006, 1001, 1, 0, 0, 0, 1006, 1007, 1, 0, 0, 0, 1007, 87, 1, 0, 0, 0, 1008, 1019, 3, 90, 45, 0, 1009, 1010, 5, 28, 0, 0, 1010, 1011, 3, 250, 125, 0, 1011, 1012, 5, 21, 0, 0, 1012, 1013, 3, 214, 107, 0, 1013, 1019, 1, 0, 0, 0, 1014, 1015, 5, 81, 0, 0, 1015, 1019, 3, 94, 47, 0, 1016, 1017, 5, 133, 0, 0, 1017, 1019, 3, 96, 48, 0, 1018, 1008, 1, 0, 0, 0, 1018, 1009, 1, 0, 0, 0, 1018, 1014, 1, 0, 0, 0, 1018, 1016, 1, 0, 0, 0, 1019, 89, 1, 0, 0, 0, 1020, 1021, 3, 222, 111, 0, 1021, 1023, 3, 208, 104, 0, 1022, 1024, 3, 92, 46, 0, 1023, 1022, 1, 0, 0, 0, 1023, 1024, 1, 0, 0, 0, 1024, 1027, 1, 0, 0, 0, 1025, 1026, 5, 27, 0, 0, 1026, 1028, 5, 202, 0, 0, 1027, 1025, 1, 0, 0, 0, 1027, 1028, 1, 0, 0, 0, 1028, 1030, 1, 0, 0, 0, 1029, 1031, 3, 98, 49, 0, 1030, 1029, 1, 0, 0, 0, 1030, 1031, 1, 0, 0, 0, 1031, 1034, 1, 0, 0, 0, 1032, 1033, 5, 177, 0, 0, 1033, 1035, 3, 214, 107, 0, 1034, 1032, 1, 0, 0, 0, 1034, 1035, 1, 0, 0, 0, 1035, 1053, 1, 0, 0, 0, 1036, 1038, 3, 222, 111, 0, 1037, 1039, 3, 208, 104, 0, 1038, 1037, 1, 0, 0, 0, 1038, 1039, 1, 0, 0, 0, 1039, 1040, 1, 0, 0, 0, 1040, 1043, 3, 92, 46, 0, 1041, 1042, 5, 27, 0, 0, 1042, 1044, 5, 202, 0, 0, 1043, 1041, 1, 0, 0, 0, 1043, 1044, 1, 0, 0, 0, 1044, 1046, 1, 0, 0, 0, 1045, 1047, 3, 98, 49, 0, 1046, 1045, 1, 0, 0, 0, 1046, 1047, 1, 0, 0, 0, 1047, 1050, 1, 0, 0, 0, 1048, 1049, 5, 177, 0, 0, 1049, 1051, 3, 214, 107, 0, 1050, 1048, 1, 0, 0, 0, 1050, 1051, 1, 0, 0, 0, 1051, 1053, 1, 0, 0, 0, 1052, 1020, 1, 0, 0, 0, 1052, 1036, 1, 0, 0, 0, 1053, 91, 1, 0, 0, 0, 1054, 1055, 7, 2, 0, 0, 1055, 1056, 3, 214, 107, 0, 1056, 93, 1, 0, 0, 0, 1057, 1058, 3, 222, 111, 0, 1058, 1059, 3, 214, 107, 0, 1059, 1060, 5, 178, 0, 0, 1060, 1061, 3, 208, 104, 0, 1061, 1062, 5, 72, 0, 0, 1062, 1063, 5, 200, 0, 0, 1063, 95, 1, 0, 0, 0, 1064, 1065, 3, 222, 111, 0, 1065, 1066, 3, 126, 63, 0, 1066, 97, 1, 0, 0, 0, 1067, 1068, 5, 24, 0, 0, 1068, 1069, 5, 219, 0, 0, 1069, 1074, 3, 100, 50, 0, 1070, 1071, 5, 208, 0, 0, 1071, 1073, 3, 100, 50, 0, 1072, 1070, 1, 0, 0, 0, 1073, 1076, 1, 0, 0, 0, 1074, 1072, 1, 0, 0, 0, 1074, 1075, 1, 0, 0, 0, 1075, 1077, 1, 0, 0, 0, 1076, 1074, 1, 0, 0, 0, 1077, 1078, 5, 229, 0, 0, 1078, 99, 1, 0, 0, 0, 1079, 1085, 3, 250, 125, 0, 1080, 1082, 5, 219, 0, 0, 1081, 1083, 3, 210, 105, 0, 1082, 1081, 1, 0, 0, 0, 1082, 1083, 1, 0, 0, 0, 1083, 1084, 1, 0, 0, 0, 1084, 1086, 5, 229, 0, 0, 1085, 1080, 1, 0, 0, 0, 1085, 1086, 1, 0, 0, 0, 1086, 101, 1, 0, 0, 0, 1087, 1095, 3, 214, 107, 0, 1088, 1096, 5, 40, 0, 0, 1089, 1090, 5, 170, 0, 0, 1090, 1091, 5, 47, 0, 0, 1091, 1096, 5, 202, 0, 0, 1092, 1093, 5, 170, 0, 0, 1093, 1094, 5, 187, 0, 0, 1094, 1096, 5, 202, 0, 0, 1095, 1088, 1, 0, 0, 0, 1095, 1089, 1, 0, 0, 0, 1095, 1092, 1, 0, 0, 0, 1095, 1096, 1, 0, 0, 0, 1096, 103, 1, 0, 0, 0, 1097, 1099, 7, 3, 0, 0, 1098, 1100, 5, 162, 0, 0, 1099, 1098, 1, 0, 0, 0, 1099, 1100, 1, 0, 0, 0, 1100, 1101, 1, 0, 0, 0, 1101, 1102, 3, 224, 112, 0, 1102, 105, 1, 0, 0, 0, 1103, 1104, 7, 4, 0, 0, 1104, 1107, 5, 33, 0, 0, 1105, 1106, 5, 78, 0, 0, 1106, 1108, 5, 56, 0, 0, 1107, 1105, 1, 0, 0, 0, 1107, 1108, 1, 0, 0, 0, 1108, 1109, 1, 0, 0, 0, 1109, 1111, 3, 234, 117, 0, 1110, 1112, 3, 66, 33, 0, 1111, 1110, 1, 0, 0, 0, 1111, 1112, 1, 0, 0, 0, 1112, 1135, 1, 0, 0, 0, 1113, 1120, 7, 4, 0, 0, 1114, 1121, 5, 46, 0, 0, 1115, 1117, 5, 164, 0, 0, 1116, 1115, 1, 0, 0, 0, 1116, 1117, 1, 0, 0, 0, 1117, 1118, 1, 0, 0, 0, 1118, 1121, 5, 162, 0, 0, 1119, 1121, 5, 186, 0, 0, 1120, 1114, 1, 0, 0, 0, 1120, 1116, 1, 0, 0, 0, 1120, 1119, 1, 0, 0, 0, 1121, 1124, 1, 0, 0, 0, 1122, 1123, 5, 78, 0, 0, 1123, 1125, 5, 56, 0, 0, 1124, 1122, 1, 0, 0, 0, 1124, 1125, 1, 0, 0, 0, 1125, 1126, 1, 0, 0, 0, 1126, 1128, 3, 228, 114, 0, 1127, 1129, 3, 66, 33, 0, 1128, 1127, 1, 0, 0, 0, 1128, 1129, 1, 0, 0, 0, 1129, 1132, 1, 0, 0, 0, 1130, 1131, 5, 114, 0, 0, 1131, 1133, 5, 39, 0, 0, 1132, 1130, 1, 0, 0, 0, 1132, 1133, 1, 0, 0, 0, 1133, 1135, 1, 0, 0, 0, 1134, 1103, 1, 0, 0, 0, 1134, 1113, 1, 0, 0, 0, 1135, 107, 1, 0, 0, 0, 1136, 1137, 5, 56, 0, 0, 1137, 1138, 5, 33, 0, 0, 1138, 1150, 3, 234, 117, 0, 1139, 1146, 5, 56, 0, 0, 1140, 1147, 5, 46, 0, 0, 1141, 1143, 5, 164, 0, 0, 1142, 1141, 1, 0, 0, 0, 1142, 1143, 1, 0, 0, 0, 1143, 1144, 1, 0, 0, 0, 1144, 1147, 5, 162, 0, 0, 1145, 1147, 5, 186, 0, 0, 1146, 1140, 1, 0, 0, 0, 1146, 1142, 1, 0, 0, 0, 1146, 1145, 1, 0, 0, 0, 1146, 1147, 1, 0, 0, 0, 1147, 1148, 1, 0, 0, 0, 1148, 1150, 3, 228, 114, 0, 1149, 1136, 1, 0, 0, 0, 1149, 1139, 1, 0, 0, 0, 1150, 109, 1, 0, 0, 0, 1151, 1152, 5, 57, 0, 0, 1152, 1173, 3, 6, 3, 0, 1153, 1154, 5, 57, 0, 0, 1154, 1155, 5, 13, 0, 0, 1155, 1173, 3, 6, 3, 0, 1156, 1157, 5, 57, 0, 0, 1157, 1158, 5, 160, 0, 0, 1158, 1173, 3, 6, 3, 0, 1159, 1160, 5, 57, 0, 0, 1160, 1161, 5, 127, 0, 0, 1161, 1173, 3, 6, 3, 0, 1162, 1163, 5, 57, 0, 0, 1163, 1164, 5, 128, 0, 0, 1164, 1173, 3, 6, 3, 0, 1165, 1166, 5, 57, 0, 0, 1166, 1167, 5, 135, 0, 0, 1167, 1168, 5, 175, 0, 0, 1168, 1173, 3, 6, 3, 0, 1169, 1170, 5, 57, 0, 0, 1170, 1171, 5, 54, 0, 0, 1171, 1173, 3, 6, 3, 0, 1172, 1151, 1, 0, 0, 0, 1172, 1153, 1, 0, 0, 0, 1172, 1156, 1, 0, 0, 0, 1172, 1159, 1, 0, 0, 0, 1172, 1162, 1, 0, 0, 0, 1172, 1165, 1, 0, 0, 0, 1172, 1169, 1, 0, 0, 0, 1173, 111, 1, 0, 0, 0, 1174, 1175, 5, 85, 0, 0, 1175, 1177, 5, 87, 0, 0, 1176, 1178, 5, 162, 0, 0, 1177, 1176, 1, 0, 0, 0, 1177, 1178, 1, 0, 0, 0, 1178, 1182, 1, 0, 0, 0, 1179, 1183, 3, 228, 114, 0, 1180, 1181, 5, 70, 0, 0, 1181, 1183, 3, 226, 113, 0, 1182, 1179, 1, 0, 0, 0, 1182, 1180, 1, 0, 0, 0, 1183, 1185, 1, 0, 0, 0, 1184, 1186, 3, 114, 57, 0, 1185, 1184, 1, 0, 0, 0, 1185, 1186, 1, 0, 0, 0, 1186, 1187, 1, 0, 0, 0, 1187, 1188, 3, 116, 58, 0, 1188, 113, 1, 0, 0, 0, 1189, 1190, 5, 219, 0, 0, 1190, 1195, 3, 222, 111, 0, 1191, 1192, 5, 208, 0, 0, 1192, 1194, 3, 222, 111, 0, 1193, 1191, 1, 0, 0, 0, 1194, 1197, 1, 0, 0, 0, 1195, 1193, 1, 0, 0, 0, 1195, 1196, 1, 0, 0, 0, 1196, 1198, 1, 0, 0, 0, 1197, 1195, 1, 0, 0, 0, 1198, 1199, 5, 229, 0, 0, 1199, 115, 1, 0, 0, 0, 1200, 1201, 5, 66, 0, 0, 1201, 1210, 3, 250, 125, 0, 1202, 1210, 3, 118, 59, 0, 1203, 1205, 3, 128, 64, 0, 1204, 1206, 5, 230, 0, 0, 1205, 1204, 1, 0, 0, 0, 1205, 1206, 1, 0, 0, 0, 1206, 1207, 1, 0, 0, 0, 1207, 1208, 5, 0, 0, 1, 1208, 1210, 1, 0, 0, 0, 1209, 1200, 1, 0, 0, 0, 1209, 1202, 1, 0, 0, 0, 1209, 1203, 1, 0, 0, 0, 1210, 117, 1, 0, 0, 0, 1211, 1212, 5, 185, 0, 0, 1212, 1214, 5, 219, 0, 0, 1213, 1215, 3, 240, 120, 0, 1214, 1213, 1, 0, 0, 0, 1214, 1215, 1, 0, 0, 0, 1215, 1216, 1, 0, 0, 0, 1216, 1225, 5, 229, 0, 0, 1217, 1218, 5, 208, 0, 0, 1218, 1220, 5, 219, 0, 0, 1219, 1221, 3, 240, 120, 0, 1220, 1219, 1, 0, 0, 0, 1220, 1221, 1, 0, 0, 0, 1221, 1222, 1, 0, 0, 0, 1222, 1224, 5, 229, 0, 0, 1223, 1217, 1, 0, 0, 0, 1224, 1227, 1, 0, 0, 0, 1225, 1223, 1, 0, 0, 0, 1225, 1226, 1, 0, 0, 0, 1226, 119, 1, 0, 0, 0, 1227, 1225, 1, 0, 0, 0, 1228, 1229, 5, 92, 0, 0, 1229, 1231, 5, 112, 0, 0, 1230, 1232, 3, 66, 33, 0, 1231, 1230, 1, 0, 0, 0, 1231, 1232, 1, 0, 0, 0, 1232, 1233, 1, 0, 0, 0, 1233, 1235, 3, 146, 73, 0, 1234, 1236, 7, 5, 0, 0, 1235, 1234, 1, 0, 0, 0, 1235, 1236, 1, 0, 0, 0, 1236, 121, 1, 0, 0, 0, 1237, 1238, 5, 120, 0, 0, 1238, 1239, 5, 162, 0, 0, 1239, 1241, 3, 228, 114, 0, 1240, 1242, 3, 66, 33, 0, 1241, 1240, 1, 0, 0, 0, 1241, 1242, 1, 0, 0, 0, 1242, 1244, 1, 0, 0, 0, 1243, 1245, 3, 24, 12, 0, 1244, 1243, 1, 0, 0, 0, 1244, 1245, 1, 0, 0, 0, 1245, 1247, 1, 0, 0, 0, 1246, 1248, 5, 61, 0, 0, 1247, 1246, 1, 0, 0, 0, 1247, 1248, 1, 0, 0, 0, 1248, 1250, 1, 0, 0, 0, 1249, 1251, 5, 37, 0, 0, 1250, 1249, 1, 0, 0, 0, 1250, 1251, 1, 0, 0, 0, 1251, 123, 1, 0, 0, 0, 1252, 1253, 5, 139, 0, 0, 1253, 1254, 5, 162, 0, 0, 1254, 1255, 3, 228, 114, 0, 1255, 1256, 5, 170, 0, 0, 1256, 1264, 3, 228, 114, 0, 1257, 1258, 5, 208, 0, 0, 1258, 1259, 3, 228, 114, 0, 1259, 1260, 5, 170, 0, 0, 1260, 1261, 3, 228, 114, 0, 1261, 1263, 1, 0, 0, 0, 1262, 1257, 1, 0, 0, 0, 1263, 1266, 1, 0, 0, 0, 1264, 1262, 1, 0, 0, 0, 1264, 1265, 1, 0, 0, 0, 1265, 1268, 1, 0, 0, 0, 1266, 1264, 1, 0, 0, 0, 1267, 1269, 3, 66, 33, 0, 1268, 1267, 1, 0, 0, 0, 1268, 1269, 1, 0, 0, 0, 1269, 125, 1, 0, 0, 0, 1270, 1272, 5, 219, 0, 0, 1271, 1273, 3, 134, 67, 0, 1272, 1271, 1, 0, 0, 0, 1272, 1273, 1, 0, 0, 0, 1273, 1274, 1, 0, 0, 0, 1274, 1275, 5, 149, 0, 0, 1275, 1277, 3, 210, 105, 0, 1276, 1278, 3, 148, 74, 0, 1277, 1276, 1, 0, 0, 0, 1277, 1278, 1, 0, 0, 0, 1278, 1280, 1, 0, 0, 0, 1279, 1281, 3, 154, 77, 0, 1280, 1279, 1, 0, 0, 0, 1280, 1281, 1, 0, 0, 0, 1281, 1282, 1, 0, 0, 0, 1282, 1283, 5, 229, 0, 0, 1283, 127, 1, 0, 0, 0, 1284, 1290, 3, 130, 65, 0, 1285, 1286, 5, 180, 0, 0, 1286, 1287, 5, 4, 0, 0, 1287, 1289, 3, 130, 65, 0, 1288, 1285, 1, 0, 0, 0, 1289, 1292, 1, 0, 0, 0, 1290, 1288, 1, 0, 0, 0, 1290, 1291, 1, 0, 0, 0, 1291, 129, 1, 0, 0, 0, 1292, 1290, 1, 0, 0, 0, 1293, 1299, 3, 132, 66, 0, 1294, 1295, 5, 219, 0, 0, 1295, 1296, 3, 128, 64, 0, 1296, 1297, 5, 229, 0, 0, 1297, 1299, 1, 0, 0, 0, 1298, 1293, 1, 0, 0, 0, 1298, 1294, 1, 0, 0, 0, 1299, 131, 1, 0, 0, 0, 1300, 1302, 3, 134, 67, 0, 1301, 1300, 1, 0, 0, 0, 1301, 1302, 1, 0, 0, 0, 1302, 1303, 1, 0, 0, 0, 1303, 1305, 5, 149, 0, 0, 1304, 1306, 5, 48, 0, 0, 1305, 1304, 1, 0, 0, 0, 1305, 1306, 1, 0, 0, 0, 1306, 1308, 1, 0, 0, 0, 1307, 1309, 3, 136, 68, 0, 1308, 1307, 1, 0, 0, 0, 1308, 1309, 1, 0, 0, 0, 1309, 1310, 1, 0, 0, 0, 1310, 1312, 3, 210, 105, 0, 1311, 1313, 3, 138, 69, 0, 1312, 1311, 1, 0, 0, 0, 1312, 1313, 1, 0, 0, 0, 1313, 1315, 1, 0, 0, 0, 1314, 1316, 3, 140, 70, 0, 1315, 1314, 1, 0, 0, 0, 1315, 1316, 1, 0, 0, 0, 1316, 1318, 1, 0, 0, 0, 1317, 1319, 3, 142, 71, 0, 1318, 1317, 1, 0, 0, 0, 1318, 1319, 1, 0, 0, 0, 1319, 1321, 1, 0, 0, 0, 1320, 1322, 3, 144, 72, 0, 1321, 1320, 1, 0, 0, 0, 1321, 1322, 1, 0, 0, 0, 1322, 1324, 1, 0, 0, 0, 1323, 1325, 3, 146, 73, 0, 1324, 1323, 1, 0, 0, 0, 1324, 1325, 1, 0, 0, 0, 1325, 1327, 1, 0, 0, 0, 1326, 1328, 3, 148, 74, 0, 1327, 1326, 1, 0, 0, 0, 1327, 1328, 1, 0, 0, 0, 1328, 1331, 1, 0, 0, 0, 1329, 1330, 5, 193, 0, 0, 1330, 1332, 7, 6, 0, 0, 1331, 1329, 1, 0, 0, 0, 1331, 1332, 1, 0, 0, 0, 1332, 1335, 1, 0, 0, 0, 1333, 1334, 5, 193, 0, 0, 1334, 1336, 5, 172, 0, 0, 1335, 1333, 1, 0, 0, 0, 1335, 1336, 1, 0, 0, 0, 1336, 1338, 1, 0, 0, 0, 1337, 1339, 3, 150, 75, 0, 1338, 1337, 1, 0, 0, 0, 1338, 1339, 1, 0, 0, 0, 1339, 1341, 1, 0, 0, 0, 1340, 1342, 3, 152, 76, 0, 1341, 1340, 1, 0, 0, 0, 1341, 1342, 1, 0, 0, 0, 1342, 1344, 1, 0, 0, 0, 1343, 1345, 3, 156, 78, 0, 1344, 1343, 1, 0, 0, 0, 1344, 1345, 1, 0, 0, 0, 1345, 1347, 1, 0, 0, 0, 1346, 1348, 3, 158, 79, 0, 1347, 1346, 1, 0, 0, 0, 1347, 1348, 1, 0, 0, 0, 1348, 1350, 1, 0, 0, 0, 1349, 1351, 3, 160, 80, 0, 1350, 1349, 1, 0, 0, 0, 1350, 1351, 1, 0, 0, 0, 1351, 133, 1, 0, 0, 0, 1352, 1353, 5, 193, 0, 0, 1353, 1354, 3, 210, 105, 0, 1354, 135, 1, 0, 0, 0, 1355, 1356, 5, 171, 0, 0, 1356, 1359, 5, 200, 0, 0, 1357, 1358, 5, 193, 0, 0, 1358, 1360, 5, 167, 0, 0, 1359, 1357, 1, 0, 0, 0, 1359, 1360, 1, 0, 0, 0, 1360, 137, 1, 0, 0, 0, 1361, 1362, 5, 68, 0, 0, 1362, 1363, 3, 162, 81, 0, 1363, 139, 1, 0, 0, 0, 1364, 1366, 7, 7, 0, 0, 1365, 1364, 1, 0, 0, 0, 1365, 1366, 1, 0, 0, 0, 1366, 1367, 1, 0, 0, 0, 1367, 1368, 5, 9, 0, 0, 1368, 1369, 5, 90, 0, 0, 1369, 1370, 3, 210, 105, 0, 1370, 141, 1, 0, 0, 0, 1371, 1372, 5, 192, 0, 0, 1372, 1373, 3, 250, 125, 0, 1373, 1374, 5, 10, 0, 0, 1374, 1375, 5, 219, 0, 0, 1375, 1376, 3, 184, 92, 0, 1376, 1377, 5, 229, 0, 0, 1377, 143, 1, 0, 0, 0, 1378, 1379, 5, 131, 0, 0, 1379, 1380, 3, 214, 107, 0, 1380, 145, 1, 0, 0, 0, 1381, 1382, 5, 191, 0, 0, 1382, 1383, 3, 214, 107, 0, 1383, 147, 1, 0, 0, 0, 1384, 1385, 5, 73, 0, 0, 1385, 1392, 5, 18, 0, 0, 1386, 1387, 7, 6, 0, 0, 1387, 1388, 5, 219, 0, 0, 1388, 1389, 3, 210, 105, 0, 1389, 1390, 5, 229, 0, 0, 1390, 1393, 1, 0, 0, 0, 1391, 1393, 3, 210, 105, 0, 1392, 1386, 1, 0, 0, 0, 1392, 1391, 1, 0, 0, 0, 1393, 149, 1, 0, 0, 0, 1394, 1395, 5, 74, 0, 0, 1395, 1396, 3, 214, 107, 0, 1396, 151, 1, 0, 0, 0, 1397, 1398, 5, 122, 0, 0, 1398, 1399, 5, 18, 0, 0, 1399, 1400, 3, 174, 87, 0, 1400, 153, 1, 0, 0, 0, 1401, 1402, 5, 122, 0, 0, 1402, 1403, 5, 18, 0, 0, 1403, 1404, 3, 210, 105, 0, 1404, 155, 1, 0, 0, 0, 1405, 1406, 5, 99, 0, 0, 1406, 1407, 3, 172, 86, 0, 1407, 1408, 5, 18, 0, 0, 1408, 1409, 3, 210, 105, 0, 1409, 157, 1, 0, 0, 0, 1410, 1411, 5, 99, 0, 0, 1411, 1414, 3, 172, 86, 0, 1412, 1413, 5, 193, 0, 0, 1413, 1415, 5, 167, 0, 0, 1414, 1412, 1, 0, 0, 0, 1414, 1415, 1, 0, 0, 0, 1415, 159, 1, 0, 0, 0, 1416, 1417, 5, 153, 0, 0, 1417, 1418, 3, 180, 90, 0, 1418, 161, 1, 0, 0, 0, 1419, 1420, 6, 81, -1, 0, 1420, 1422, 3, 224, 112, 0, 1421, 1423, 5, 61, 0, 0, 1422, 1421, 1, 0, 0, 0, 1422, 1423, 1, 0, 0, 0, 1423, 1425, 1, 0, 0, 0, 1424, 1426, 3, 170, 85, 0, 1425, 1424, 1, 0, 0, 0, 1425, 1426, 1, 0, 0, 0, 1426, 1432, 1, 0, 0, 0, 1427, 1428, 5, 219, 0, 0, 1428, 1429, 3, 162, 81, 0, 1429, 1430, 5, 229, 0, 0, 1430, 1432, 1, 0, 0, 0, 1431, 1419, 1, 0, 0, 0, 1431, 1427, 1, 0, 0, 0, 1432, 1450, 1, 0, 0, 0, 1433, 1434, 10, 3, 0, 0, 1434, 1435, 3, 166, 83, 0, 1435, 1436, 3, 162, 81, 4, 1436, 1449, 1, 0, 0, 0, 1437, 1439, 10, 4, 0, 0, 1438, 1440, 7, 8, 0, 0, 1439, 1438, 1, 0, 0, 0, 1439, 1440, 1, 0, 0, 0, 1440, 1442, 1, 0, 0, 0, 1441, 1443, 3, 164, 82, 0, 1442, 1441, 1, 0, 0, 0, 1442, 1443, 1, 0, 0, 0, 1443, 1444, 1, 0, 0, 0, 1444, 1445, 5, 90, 0, 0, 1445, 1446, 3, 162, 81, 0, 1446, 1447, 3, 168, 84, 0, 1447, 1449, 1, 0, 0, 0, 1448, 1433, 1, 0, 0, 0, 1448, 1437, 1, 0, 0, 0, 1449, 1452, 1, 0, 0, 0, 1450, 1448, 1, 0, 0, 0, 1450, 1451, 1, 0, 0, 0, 1451, 163, 1, 0, 0, 0, 1452, 1450, 1, 0, 0, 0, 1453, 1455, 7, 9, 0, 0, 1454, 1453, 1, 0, 0, 0, 1454, 1455, 1, 0, 0, 0, 1455, 1456, 1, 0, 0, 0, 1456, 1463, 5, 84, 0, 0, 1457, 1459, 5, 84, 0, 0, 1458, 1460, 7, 9, 0, 0, 1459, 1458, 1, 0, 0, 0, 1459, 1460, 1, 0, 0, 0, 1460, 1463, 1, 0, 0, 0, 1461, 1463, 7, 9, 0, 0, 1462, 1454, 1, 0, 0, 0, 1462, 1457, 1, 0, 0, 0, 1462, 1461, 1, 0, 0, 0, 1463, 1497, 1, 0, 0, 0, 1464, 1466, 7, 10, 0, 0, 1465, 1464, 1, 0, 0, 0, 1465, 1466, 1, 0, 0, 0, 1466, 1467, 1, 0, 0, 0, 1467, 1469, 7, 11, 0, 0, 1468, 1470, 5, 123, 0, 0, 1469, 1468, 1, 0, 0, 0, 1469, 1470, 1, 0, 0, 0, 1470, 1479, 1, 0, 0, 0, 1471, 1473, 7, 11, 0, 0, 1472, 1474, 5, 123, 0, 0, 1473, 1472, 1, 0, 0, 0, 1473, 1474, 1, 0, 0, 0, 1474, 1476, 1, 0, 0, 0, 1475, 1477, 7, 10, 0, 0, 1476, 1475, 1, 0, 0, 0, 1476, 1477, 1, 0, 0, 0, 1477, 1479, 1, 0, 0, 0, 1478, 1465, 1, 0, 0, 0, 1478, 1471, 1, 0, 0, 0, 1479, 1497, 1, 0, 0, 0, 1480, 1482, 7, 12, 0, 0, 1481, 1480, 1, 0, 0, 0, 1481, 1482, 1, 0, 0, 0, 1482, 1483, 1, 0, 0, 0, 1483, 1485, 5, 69, 0, 0, 1484, 1486, 5, 123, 0, 0, 1485, 1484, 1, 0, 0, 0, 1485, 1486, 1, 0, 0, 0, 1486, 1495, 1, 0, 0, 0, 1487, 1489, 5, 69, 0, 0, 1488, 1490, 5, 123, 0, 0, 1489, 1488, 1, 0, 0, 0, 1489, 1490, 1, 0, 0, 0, 1490, 1492, 1, 0, 0, 0, 1491, 1493, 7, 12, 0, 0, 1492, 1491, 1, 0, 0, 0, 1492, 1493, 1, 0, 0, 0, 1493, 1495, 1, 0, 0, 0, 1494, 1481, 1, 0, 0, 0, 1494, 1487, 1, 0, 0, 0, 1495, 1497, 1, 0, 0, 0, 1496, 1462, 1, 0, 0, 0, 1496, 1478, 1, 0, 0, 0, 1496, 1494, 1, 0, 0, 0, 1497, 165, 1, 0, 0, 0, 1498, 1500, 7, 8, 0, 0, 1499, 1498, 1, 0, 0, 0, 1499, 1500, 1, 0, 0, 0, 1500, 1501, 1, 0, 0, 0, 1501, 1502, 5, 30, 0, 0, 1502, 1505, 5, 90, 0, 0, 1503, 1505, 5, 208, 0, 0, 1504, 1499, 1, 0, 0, 0, 1504, 1503, 1, 0, 0, 0, 1505, 167, 1, 0, 0, 0, 1506, 1507, 5, 119, 0, 0, 1507, 1516, 3, 210, 105, 0, 1508, 1509, 5, 183, 0, 0, 1509, 1510, 5, 219, 0, 0, 1510, 1511, 3, 210, 105, 0, 1511, 1512, 5, 229, 0, 0, 1512, 1516, 1, 0, 0, 0, 1513, 1514, 5, 183, 0, 0, 1514, 1516, 3, 210, 105, 0, 1515, 1506, 1, 0, 0, 0, 1515, 1508, 1, 0, 0, 0, 1515, 1513, 1, 0, 0, 0, 1516, 169, 1, 0, 0, 0, 1517, 1518, 5, 147, 0, 0, 1518, 1521, 3, 178, 89, 0, 1519, 1520, 5, 118, 0, 0, 1520, 1522, 3, 178, 89, 0, 1521, 1519, 1, 0, 0, 0, 1521, 1522, 1, 0, 0, 0, 1522, 171, 1, 0, 0, 0, 1523, 1526, 3, 214, 107, 0, 1524, 1525, 7, 13, 0, 0, 1525, 1527, 3, 214, 107, 0, 1526, 1524, 1, 0, 0, 0, 1526, 1527, 1, 0, 0, 0, 1527, 173, 1, 0, 0, 0, 1528, 1533, 3, 176, 88, 0, 1529, 1530, 5, 208, 0, 0, 1530, 1532, 3, 176, 88, 0, 1531, 1529, 1, 0, 0, 0, 1532, 1535, 1, 0, 0, 0, 1533, 1531, 1, 0, 0, 0, 1533, 1534, 1, 0, 0, 0, 1534, 175, 1, 0, 0, 0, 1535, 1533, 1, 0, 0, 0, 1536, 1538, 3, 214, 107, 0, 1537, 1539, 7, 14, 0, 0, 1538, 1537, 1, 0, 0, 0, 1538, 1539, 1, 0, 0, 0, 1539, 1542, 1, 0, 0, 0, 1540, 1541, 5, 117, 0, 0, 1541, 1543, 7, 15, 0, 0, 1542, 1540, 1, 0, 0, 0, 1542, 1543, 1, 0, 0, 0, 1543, 1546, 1, 0, 0, 0, 1544, 1545, 5, 25, 0, 0, 1545, 1547, 5, 202, 0, 0, 1546, 1544, 1, 0, 0, 0, 1546, 1547, 1, 0, 0, 0, 1547, 177, 1, 0, 0, 0, 1548, 1551, 3, 238, 119, 0, 1549, 1550, 5, 231, 0, 0, 1550, 1552, 3, 238, 119, 0, 1551, 1549, 1, 0, 0, 0, 1551, 1552, 1, 0, 0, 0, 1552, 179, 1, 0, 0, 0, 1553, 1558, 3, 182, 91, 0, 1554, 1555, 5, 208, 0, 0, 1555, 1557, 3, 182, 91, 0, 1556, 1554, 1, 0, 0, 0, 1557, 1560, 1, 0, 0, 0, 1558, 1556, 1, 0, 0, 0, 1558, 1559, 1, 0, 0, 0, 1559, 181, 1, 0, 0, 0, 1560, 1558, 1, 0, 0, 0, 1561, 1562, 3, 250, 125, 0, 1562, 1563, 5, 213, 0, 0, 1563, 1564, 3, 240, 120, 0, 1564, 183, 1, 0, 0, 0, 1565, 1567, 3, 186, 93, 0, 1566, 1565, 1, 0, 0, 0, 1566, 1567, 1, 0, 0, 0, 1567, 1569, 1, 0, 0, 0, 1568, 1570, 3, 188, 94, 0, 1569, 1568, 1, 0, 0, 0, 1569, 1570, 1, 0, 0, 0, 1570, 1572, 1, 0, 0, 0, 1571, 1573, 3, 190, 95, 0, 1572, 1571, 1, 0, 0, 0, 1572, 1573, 1, 0, 0, 0, 1573, 185, 1, 0, 0, 0, 1574, 1575, 5, 126, 0, 0, 1575, 1576, 5, 18, 0, 0, 1576, 1577, 3, 210, 105, 0, 1577, 187, 1, 0, 0, 0, 1578, 1579, 5, 122, 0, 0, 1579, 1580, 5, 18, 0, 0, 1580, 1581, 3, 174, 87, 0, 1581, 189, 1, 0, 0, 0, 1582, 1583, 7, 16, 0, 0, 1583, 1584, 3, 192, 96, 0, 1584, 191, 1, 0, 0, 0, 1585, 1592, 3, 194, 97, 0, 1586, 1587, 5, 16, 0, 0, 1587, 1588, 3, 194, 97, 0, 1588, 1589, 5, 6, 0, 0, 1589, 1590, 3, 194, 97, 0, 1590, 1592, 1, 0, 0, 0, 1591, 1585, 1, 0, 0, 0, 1591, 1586, 1, 0, 0, 0, 1592, 193, 1, 0, 0, 0, 1593, 1594, 5, 32, 0, 0, 1594, 1606, 5, 145, 0, 0, 1595, 1596, 5, 179, 0, 0, 1596, 1606, 5, 130, 0, 0, 1597, 1598, 5, 179, 0, 0, 1598, 1606, 5, 64, 0, 0, 1599, 1600, 3, 238, 119, 0, 1600, 1601, 5, 130, 0, 0, 1601, 1606, 1, 0, 0, 0, 1602, 1603, 3, 238, 119, 0, 1603, 1604, 5, 64, 0, 0, 1604, 1606, 1, 0, 0, 0, 1605, 1593, 1, 0, 0, 0, 1605, 1595, 1, 0, 0, 0, 1605, 1597, 1, 0, 0, 0, 1605, 1599, 1, 0, 0, 0, 1605, 1602, 1, 0, 0, 0, 1606, 195, 1, 0, 0, 0, 1607, 1608, 5, 152, 0, 0, 1608, 1609, 3, 180, 90, 0, 1609, 197, 1, 0, 0, 0, 1610, 1611, 5, 154, 0, 0, 1611, 1612, 5, 29, 0, 0, 1612, 1613, 5, 33, 0, 0, 1613, 1653, 3, 234, 117, 0, 1614, 1615, 5, 154, 0, 0, 1615, 1616, 5, 29, 0, 0, 1616, 1617, 5, 46, 0, 0, 1617, 1653, 3, 228, 114, 0, 1618, 1619, 5, 154, 0, 0, 1619, 1621, 5, 29, 0, 0, 1620, 1622, 5, 164, 0, 0, 1621, 1620, 1, 0, 0, 0, 1621, 1622, 1, 0, 0, 0, 1622, 1624, 1, 0, 0, 0, 1623, 1625, 5, 162, 0, 0, 1624, 1623, 1, 0, 0, 0, 1624, 1625, 1, 0, 0, 0, 1625, 1626, 1, 0, 0, 0, 1626, 1653, 3, 228, 114, 0, 1627, 1628, 5, 154, 0, 0, 1628, 1653, 5, 34, 0, 0, 1629, 1630, 5, 154, 0, 0, 1630, 1633, 5, 45, 0, 0, 1631, 1632, 5, 68, 0, 0, 1632, 1634, 3, 234, 117, 0, 1633, 1631, 1, 0, 0, 0, 1633, 1634, 1, 0, 0, 0, 1634, 1653, 1, 0, 0, 0, 1635, 1637, 5, 154, 0, 0, 1636, 1638, 5, 164, 0, 0, 1637, 1636, 1, 0, 0, 0, 1637, 1638, 1, 0, 0, 0, 1638, 1639, 1, 0, 0, 0, 1639, 1642, 5, 163, 0, 0, 1640, 1641, 7, 17, 0, 0, 1641, 1643, 3, 234, 117, 0, 1642, 1640, 1, 0, 0, 0, 1642, 1643, 1, 0, 0, 0, 1643, 1647, 1, 0, 0, 0, 1644, 1645, 5, 98, 0, 0, 1645, 1648, 5, 202, 0, 0, 1646, 1648, 3, 146, 73, 0, 1647, 1644, 1, 0, 0, 0, 1647, 1646, 1, 0, 0, 0, 1647, 1648, 1, 0, 0, 0, 1648, 1650, 1, 0, 0, 0, 1649, 1651, 3, 158, 79, 0, 1650, 1649, 1, 0, 0, 0, 1650, 1651, 1, 0, 0, 0, 1651, 1653, 1, 0, 0, 0, 1652, 1610, 1, 0, 0, 0, 1652, 1614, 1, 0, 0, 0, 1652, 1618, 1, 0, 0, 0, 1652, 1627, 1, 0, 0, 0, 1652, 1629, 1, 0, 0, 0, 1652, 1635, 1, 0, 0, 0, 1653, 199, 1, 0, 0, 0, 1654, 1655, 5, 161, 0, 0, 1655, 1656, 5, 63, 0, 0, 1656, 1657, 5, 49, 0, 0, 1657, 1689, 3, 228, 114, 0, 1658, 1659, 5, 161, 0, 0, 1659, 1660, 5, 63, 0, 0, 1660, 1689, 5, 102, 0, 0, 1661, 1662, 5, 161, 0, 0, 1662, 1663, 5, 137, 0, 0, 1663, 1689, 5, 45, 0, 0, 1664, 1665, 5, 161, 0, 0, 1665, 1666, 5, 137, 0, 0, 1666, 1667, 5, 46, 0, 0, 1667, 1689, 3, 228, 114, 0, 1668, 1669, 5, 161, 0, 0, 1669, 1677, 7, 18, 0, 0, 1670, 1671, 5, 49, 0, 0, 1671, 1678, 5, 151, 0, 0, 1672, 1678, 5, 60, 0, 0, 1673, 1675, 5, 177, 0, 0, 1674, 1673, 1, 0, 0, 0, 1674, 1675, 1, 0, 0, 0, 1675, 1676, 1, 0, 0, 0, 1676, 1678, 5, 106, 0, 0, 1677, 1670, 1, 0, 0, 0, 1677, 1672, 1, 0, 0, 0, 1677, 1674, 1, 0, 0, 0, 1678, 1679, 1, 0, 0, 0, 1679, 1689, 3, 228, 114, 0, 1680, 1681, 5, 161, 0, 0, 1681, 1682, 7, 18, 0, 0, 1682, 1683, 5, 142, 0, 0, 1683, 1689, 5, 151, 0, 0, 1684, 1685, 5, 161, 0, 0, 1685, 1686, 5, 159, 0, 0, 1686, 1687, 5, 141, 0, 0, 1687, 1689, 3, 228, 114, 0, 1688, 1654, 1, 0, 0, 0, 1688, 1658, 1, 0, 0, 0, 1688, 1661, 1, 0, 0, 0, 1688, 1664, 1, 0, 0, 0, 1688, 1668, 1, 0, 0, 0, 1688, 1680, 1, 0, 0, 0, 1688, 1684, 1, 0, 0, 0, 1689, 201, 1, 0, 0, 0, 1690, 1692, 5, 176, 0, 0, 1691, 1693, 5, 164, 0, 0, 1692, 1691, 1, 0, 0, 0, 1692, 1693, 1, 0, 0, 0, 1693, 1695, 1, 0, 0, 0, 1694, 1696, 5, 162, 0, 0, 1695, 1694, 1, 0, 0, 0, 1695, 1696, 1, 0, 0, 0, 1696, 1699, 1, 0, 0, 0, 1697, 1698, 5, 78, 0, 0, 1698, 1700, 5, 56, 0, 0, 1699, 1697, 1, 0, 0, 0, 1699, 1700, 1, 0, 0, 0, 1700, 1701, 1, 0, 0, 0, 1701, 1703, 3, 228, 114, 0, 1702, 1704, 3, 66, 33, 0, 1703, 1702, 1, 0, 0, 0, 1703, 1704, 1, 0, 0, 0, 1704, 203, 1, 0, 0, 0, 1705, 1706, 5, 182, 0, 0, 1706, 1707, 3, 234, 117, 0, 1707, 205, 1, 0, 0, 0, 1708, 1709, 5, 188, 0, 0, 1709, 1711, 3, 228, 114, 0, 1710, 1712, 5, 55, 0, 0, 1711, 1710, 1, 0, 0, 0, 1711, 1712, 1, 0, 0, 0, 1712, 1715, 1, 0, 0, 0, 1713, 1714, 5, 99, 0, 0, 1714, 1716, 5, 200, 0, 0, 1715, 1713, 1, 0, 0, 0, 1715, 1716, 1, 0, 0, 0, 1716, 207, 1, 0, 0, 0, 1717, 1765, 3, 250, 125, 0, 1718, 1719, 3, 250, 125, 0, 1719, 1720, 5, 219, 0, 0, 1720, 1721, 3, 250, 125, 0, 1721, 1728, 3, 208, 104, 0, 1722, 1723, 5, 208, 0, 0, 1723, 1724, 3, 250, 125, 0, 1724, 1725, 3, 208, 104, 0, 1725, 1727, 1, 0, 0, 0, 1726, 1722, 1, 0, 0, 0, 1727, 1730, 1, 0, 0, 0, 1728, 1726, 1, 0, 0, 0, 1728, 1729, 1, 0, 0, 0, 1729, 1731, 1, 0, 0, 0, 1730, 1728, 1, 0, 0, 0, 1731, 1732, 5, 229, 0, 0, 1732, 1765, 1, 0, 0, 0, 1733, 1734, 3, 250, 125, 0, 1734, 1735, 5, 219, 0, 0, 1735, 1740, 3, 254, 127, 0, 1736, 1737, 5, 208, 0, 0, 1737, 1739, 3, 254, 127, 0, 1738, 1736, 1, 0, 0, 0, 1739, 1742, 1, 0, 0, 0, 1740, 1738, 1, 0, 0, 0, 1740, 1741, 1, 0, 0, 0, 1741, 1743, 1, 0, 0, 0, 1742, 1740, 1, 0, 0, 0, 1743, 1744, 5, 229, 0, 0, 1744, 1765, 1, 0, 0, 0, 1745, 1746, 3, 250, 125, 0, 1746, 1747, 5, 219, 0, 0, 1747, 1752, 3, 208, 104, 0, 1748, 1749, 5, 208, 0, 0, 1749, 1751, 3, 208, 104, 0, 1750, 1748, 1, 0, 0, 0, 1751, 1754, 1, 0, 0, 0, 1752, 1750, 1, 0, 0, 0, 1752, 1753, 1, 0, 0, 0, 1753, 1755, 1, 0, 0, 0, 1754, 1752, 1, 0, 0, 0, 1755, 1756, 5, 229, 0, 0, 1756, 1765, 1, 0, 0, 0, 1757, 1758, 3, 250, 125, 0, 1758, 1760, 5, 219, 0, 0, 1759, 1761, 3, 210, 105, 0, 1760, 1759, 1, 0, 0, 0, 1760, 1761, 1, 0, 0, 0, 1761, 1762, 1, 0, 0, 0, 1762, 1763, 5, 229, 0, 0, 1763, 1765, 1, 0, 0, 0, 1764, 1717, 1, 0, 0, 0, 1764, 1718, 1, 0, 0, 0, 1764, 1733, 1, 0, 0, 0, 1764, 1745, 1, 0, 0, 0, 1764, 1757, 1, 0, 0, 0, 1765, 209, 1, 0, 0, 0, 1766, 1771, 3, 212, 106, 0, 1767, 1768, 5, 208, 0, 0, 1768, 1770, 3, 212, 106, 0, 1769, 1767, 1, 0, 0, 0, 1770, 1773, 1, 0, 0, 0, 1771, 1769, 1, 0, 0, 0, 1771, 1772, 1, 0, 0, 0, 1772, 211, 1, 0, 0, 0, 1773, 1771, 1, 0, 0, 0, 1774, 1775, 3, 228, 114, 0, 1775, 1776, 5, 211, 0, 0, 1776, 1778, 1, 0, 0, 0, 1777, 1774, 1, 0, 0, 0, 1777, 1778, 1, 0, 0, 0, 1778, 1779, 1, 0, 0, 0, 1779, 1786, 5, 204, 0, 0, 1780, 1781, 5, 219, 0, 0, 1781, 1782, 3, 128, 64, 0, 1782, 1783, 5, 229, 0, 0, 1783, 1786, 1, 0, 0, 0, 1784, 1786, 3, 214, 107, 0, 1785, 1777, 1, 0, 0, 0, 1785, 1780, 1, 0, 0, 0, 1785, 1784, 1, 0, 0, 0, 1786, 213, 1, 0, 0, 0, 1787, 1788, 6, 107, -1, 0, 1788, 1790, 5, 19, 0, 0, 1789, 1791, 3, 214, 107, 0, 1790, 1789, 1, 0, 0, 0, 1790, 1791, 1, 0, 0, 0, 1791, 1797, 1, 0, 0, 0, 1792, 1793, 5, 190, 0, 0, 1793, 1794, 3, 214, 107, 0, 1794, 1795, 5, 166, 0, 0, 1795, 1796, 3, 214, 107, 0, 1796, 1798, 1, 0, 0, 0, 1797, 1792, 1, 0, 0, 0, 1798, 1799, 1, 0, 0, 0, 1799, 1797, 1, 0, 0, 0, 1799, 1800, 1, 0, 0, 0, 1800, 1803, 1, 0, 0, 0, 1801, 1802, 5, 51, 0, 0, 1802, 1804, 3, 214, 107, 0, 1803, 1801, 1, 0, 0, 0, 1803, 1804, 1, 0, 0, 0, 1804, 1805, 1, 0, 0, 0, 1805, 1806, 5, 52, 0, 0, 1806, 1917, 1, 0, 0, 0, 1807, 1808, 5, 20, 0, 0, 1808, 1809, 5, 219, 0, 0, 1809, 1810, 3, 214, 107, 0, 1810, 1811, 5, 10, 0, 0, 1811, 1812, 3, 208, 104, 0, 1812, 1813, 5, 229, 0, 0, 1813, 1917, 1, 0, 0, 0, 1814, 1815, 5, 35, 0, 0, 1815, 1917, 5, 202, 0, 0, 1816, 1817, 5, 59, 0, 0, 1817, 1818, 5, 219, 0, 0, 1818, 1819, 3, 242, 121, 0, 1819, 1820, 5, 68, 0, 0, 1820, 1821, 3, 214, 107, 0, 1821, 1822, 5, 229, 0, 0, 1822, 1917, 1, 0, 0, 0, 1823, 1824, 5, 86, 0, 0, 1824, 1825, 3, 214, 107, 0, 1825, 1826, 3, 242, 121, 0, 1826, 1917, 1, 0, 0, 0, 1827, 1828, 5, 158, 0, 0, 1828, 1829, 5, 219, 0, 0, 1829, 1830, 3, 214, 107, 0, 1830, 1831, 5, 68, 0, 0, 1831, 1834, 3, 214, 107, 0, 1832, 1833, 5, 65, 0, 0, 1833, 1835, 3, 214, 107, 0, 1834, 1832, 1, 0, 0, 0, 1834, 1835, 1, 0, 0, 0, 1835, 1836, 1, 0, 0, 0, 1836, 1837, 5, 229, 0, 0, 1837, 1917, 1, 0, 0, 0, 1838, 1839, 5, 169, 0, 0, 1839, 1917, 5, 202, 0, 0, 1840, 1841, 5, 174, 0, 0, 1841, 1842, 5, 219, 0, 0, 1842, 1843, 7, 19, 0, 0, 1843, 1844, 5, 202, 0, 0, 1844, 1845, 5, 68, 0, 0, 1845, 1846, 3, 214, 107, 0, 1846, 1847, 5, 229, 0, 0, 1847, 1917, 1, 0, 0, 0, 1848, 1849, 3, 250, 125, 0, 1849, 1851, 5, 219, 0, 0, 1850, 1852, 3, 210, 105, 0, 1851, 1850, 1, 0, 0, 0, 1851, 1852, 1, 0, 0, 0, 1852, 1853, 1, 0, 0, 0, 1853, 1854, 5, 229, 0, 0, 1854, 1855, 1, 0, 0, 0, 1855, 1856, 5, 125, 0, 0, 1856, 1857, 5, 219, 0, 0, 1857, 1858, 3, 184, 92, 0, 1858, 1859, 5, 229, 0, 0, 1859, 1917, 1, 0, 0, 0, 1860, 1861, 3, 250, 125, 0, 1861, 1863, 5, 219, 0, 0, 1862, 1864, 3, 210, 105, 0, 1863, 1862, 1, 0, 0, 0, 1863, 1864, 1, 0, 0, 0, 1864, 1865, 1, 0, 0, 0, 1865, 1866, 5, 229, 0, 0, 1866, 1867, 1, 0, 0, 0, 1867, 1868, 5, 125, 0, 0, 1868, 1869, 3, 250, 125, 0, 1869, 1917, 1, 0, 0, 0, 1870, 1876, 3, 250, 125, 0, 1871, 1873, 5, 219, 0, 0, 1872, 1874, 3, 210, 105, 0, 1873, 1872, 1, 0, 0, 0, 1873, 1874, 1, 0, 0, 0, 1874, 1875, 1, 0, 0, 0, 1875, 1877, 5, 229, 0, 0, 1876, 1871, 1, 0, 0, 0, 1876, 1877, 1, 0, 0, 0, 1877, 1878, 1, 0, 0, 0, 1878, 1880, 5, 219, 0, 0, 1879, 1881, 5, 48, 0, 0, 1880, 1879, 1, 0, 0, 0, 1880, 1881, 1, 0, 0, 0, 1881, 1883, 1, 0, 0, 0, 1882, 1884, 3, 216, 108, 0, 1883, 1882, 1, 0, 0, 0, 1883, 1884, 1, 0, 0, 0, 1884, 1885, 1, 0, 0, 0, 1885, 1886, 5, 229, 0, 0, 1886, 1917, 1, 0, 0, 0, 1887, 1917, 3, 240, 120, 0, 1888, 1889, 5, 210, 0, 0, 1889, 1917, 3, 214, 107, 17, 1890, 1891, 5, 115, 0, 0, 1891, 1917, 3, 214, 107, 12, 1892, 1893, 3, 228, 114, 0, 1893, 1894, 5, 211, 0, 0, 1894, 1896, 1, 0, 0, 0, 1895, 1892, 1, 0, 0, 0, 1895, 1896, 1, 0, 0, 0, 1896, 1897, 1, 0, 0, 0, 1897, 1917, 5, 204, 0, 0, 1898, 1899, 5, 219, 0, 0, 1899, 1900, 3, 128, 64, 0, 1900, 1901, 5, 229, 0, 0, 1901, 1917, 1, 0, 0, 0, 1902, 1903, 5, 219, 0, 0, 1903, 1904, 3, 214, 107, 0, 1904, 1905, 5, 229, 0, 0, 1905, 1917, 1, 0, 0, 0, 1906, 1907, 5, 219, 0, 0, 1907, 1908, 3, 210, 105, 0, 1908, 1909, 5, 229, 0, 0, 1909, 1917, 1, 0, 0, 0, 1910, 1912, 5, 217, 0, 0, 1911, 1913, 3, 210, 105, 0, 1912, 1911, 1, 0, 0, 0, 1912, 1913, 1, 0, 0, 0, 1913, 1914, 1, 0, 0, 0, 1914, 1917, 5, 228, 0, 0, 1915, 1917, 3, 222, 111, 0, 1916, 1787, 1, 0, 0, 0, 1916, 1807, 1, 0, 0, 0, 1916, 1814, 1, 0, 0, 0, 1916, 1816, 1, 0, 0, 0, 1916, 1823, 1, 0, 0, 0, 1916, 1827, 1, 0, 0, 0, 1916, 1838, 1, 0, 0, 0, 1916, 1840, 1, 0, 0, 0, 1916, 1848, 1, 0, 0, 0, 1916, 1860, 1, 0, 0, 0, 1916, 1870, 1, 0, 0, 0, 1916, 1887, 1, 0, 0, 0, 1916, 1888, 1, 0, 0, 0, 1916, 1890, 1, 0, 0, 0, 1916, 1895, 1, 0, 0, 0, 1916, 1898, 1, 0, 0, 0, 1916, 1902, 1, 0, 0, 0, 1916, 1906, 1, 0, 0, 0, 1916, 1910, 1, 0, 0, 0, 1916, 1915, 1, 0, 0, 0, 1917, 1989, 1, 0, 0, 0, 1918, 1919, 10, 16, 0, 0, 1919, 1920, 7, 20, 0, 0, 1920, 1988, 3, 214, 107, 17, 1921, 1922, 10, 15, 0, 0, 1922, 1923, 7, 21, 0, 0, 1923, 1988, 3, 214, 107, 16, 1924, 1943, 10, 14, 0, 0, 1925, 1944, 5, 212, 0, 0, 1926, 1944, 5, 213, 0, 0, 1927, 1944, 5, 221, 0, 0, 1928, 1944, 5, 218, 0, 0, 1929, 1944, 5, 214, 0, 0, 1930, 1944, 5, 220, 0, 0, 1931, 1944, 5, 215, 0, 0, 1932, 1934, 5, 71, 0, 0, 1933, 1932, 1, 0, 0, 0, 1933, 1934, 1, 0, 0, 0, 1934, 1936, 1, 0, 0, 0, 1935, 1937, 5, 115, 0, 0, 1936, 1935, 1, 0, 0, 0, 1936, 1937, 1, 0, 0, 0, 1937, 1938, 1, 0, 0, 0, 1938, 1944, 5, 80, 0, 0, 1939, 1941, 5, 115, 0, 0, 1940, 1939, 1, 0, 0, 0, 1940, 1941, 1, 0, 0, 0, 1941, 1942, 1, 0, 0, 0, 1942, 1944, 7, 22, 0, 0, 1943, 1925, 1, 0, 0, 0, 1943, 1926, 1, 0, 0, 0, 1943, 1927, 1, 0, 0, 0, 1943, 1928, 1, 0, 0, 0, 1943, 1929, 1, 0, 0, 0, 1943, 1930, 1, 0, 0, 0, 1943, 1931, 1, 0, 0, 0, 1943, 1933, 1, 0, 0, 0, 1943, 1940, 1, 0, 0, 0, 1944, 1945, 1, 0, 0, 0, 1945, 1988, 3, 214, 107, 15, 1946, 1947, 10, 11, 0, 0, 1947, 1948, 5, 6, 0, 0, 1948, 1988, 3, 214, 107, 12, 1949, 1950, 10, 10, 0, 0, 1950, 1951, 5, 121, 0, 0, 1951, 1988, 3, 214, 107, 11, 1952, 1954, 10, 9, 0, 0, 1953, 1955, 5, 115, 0, 0, 1954, 1953, 1, 0, 0, 0, 1954, 1955, 1, 0, 0, 0, 1955, 1956, 1, 0, 0, 0, 1956, 1957, 5, 16, 0, 0, 1957, 1958, 3, 214, 107, 0, 1958, 1959, 5, 6, 0, 0, 1959, 1960, 3, 214, 107, 10, 1960, 1988, 1, 0, 0, 0, 1961, 1962, 10, 8, 0, 0, 1962, 1963, 5, 224, 0, 0, 1963, 1964, 3, 214, 107, 0, 1964, 1965, 5, 207, 0, 0, 1965, 1966, 3, 214, 107, 8, 1966, 1988, 1, 0, 0, 0, 1967, 1968, 10, 19, 0, 0, 1968, 1969, 5, 217, 0, 0, 1969, 1970, 3, 214, 107, 0, 1970, 1971, 5, 228, 0, 0, 1971, 1988, 1, 0, 0, 0, 1972, 1973, 10, 18, 0, 0, 1973, 1974, 5, 211, 0, 0, 1974, 1988, 5, 200, 0, 0, 1975, 1976, 10, 13, 0, 0, 1976, 1978, 5, 88, 0, 0, 1977, 1979, 5, 115, 0, 0, 1978, 1977, 1, 0, 0, 0, 1978, 1979, 1, 0, 0, 0, 1979, 1980, 1, 0, 0, 0, 1980, 1988, 5, 116, 0, 0, 1981, 1985, 10, 7, 0, 0, 1982, 1986, 3, 248, 124, 0, 1983, 1984, 5, 10, 0, 0, 1984, 1986, 3, 250, 125, 0, 1985, 1982, 1, 0, 0, 0, 1985, 1983, 1, 0, 0, 0, 1986, 1988, 1, 0, 0, 0, 1987, 1918, 1, 0, 0, 0, 1987, 1921, 1, 0, 0, 0, 1987, 1924, 1, 0, 0, 0, 1987, 1946, 1, 0, 0, 0, 1987, 1949, 1, 0, 0, 0, 1987, 1952, 1, 0, 0, 0, 1987, 1961, 1, 0, 0, 0, 1987, 1967, 1, 0, 0, 0, 1987, 1972, 1, 0, 0, 0, 1987, 1975, 1, 0, 0, 0, 1987, 1981, 1, 0, 0, 0, 1988, 1991, 1, 0, 0, 0, 1989, 1987, 1, 0, 0, 0, 1989, 1990, 1, 0, 0, 0, 1990, 215, 1, 0, 0, 0, 1991, 1989, 1, 0, 0, 0, 1992, 1997, 3, 218, 109, 0, 1993, 1994, 5, 208, 0, 0, 1994, 1996, 3, 218, 109, 0, 1995, 1993, 1, 0, 0, 0, 1996, 1999, 1, 0, 0, 0, 1997, 1995, 1, 0, 0, 0, 1997, 1998, 1, 0, 0, 0, 1998, 217, 1, 0, 0, 0, 1999, 1997, 1, 0, 0, 0, 2000, 2003, 3, 220, 110, 0, 2001, 2003, 3, 214, 107, 0, 2002, 2000, 1, 0, 0, 0, 2002, 2001, 1, 0, 0, 0, 2003, 219, 1, 0, 0, 0, 2004, 2005, 5, 219, 0, 0, 2005, 2010, 3, 250, 125, 0, 2006, 2007, 5, 208, 0, 0, 2007, 2009, 3, 250, 125, 0, 2008, 2006, 1, 0, 0, 0, 2009, 2012, 1, 0, 0, 0, 2010, 2008, 1, 0, 0, 0, 2010, 2011, 1, 0, 0, 0, 2011, 2013, 1, 0, 0, 0, 2012, 2010, 1, 0, 0, 0, 2013, 2014, 5, 229, 0, 0, 2014, 2024, 1, 0, 0, 0, 2015, 2020, 3, 250, 125, 0, 2016, 2017, 5, 208, 0, 0, 2017, 2019, 3, 250, 125, 0, 2018, 2016, 1, 0, 0, 0, 2019, 2022, 1, 0, 0, 0, 2020, 2018, 1, 0, 0, 0, 2020, 2021, 1, 0, 0, 0, 2021, 2024, 1, 0, 0, 0, 2022, 2020, 1, 0, 0, 0, 2023, 2004, 1, 0, 0, 0, 2023, 2015, 1, 0, 0, 0, 2024, 2025, 1, 0, 0, 0, 2025, 2026, 5, 203, 0, 0, 2026, 2027, 3, 214, 107, 0, 2027, 221, 1, 0, 0, 0, 2028, 2029, 3, 228, 114, 0, 2029, 2030, 5, 211, 0, 0, 2030, 2032, 1, 0, 0, 0, 2031, 2028, 1, 0, 0, 0, 2031, 2032, 1, 0, 0, 0, 2032, 2033, 1, 0, 0, 0, 2033, 2036, 3, 250, 125, 0, 2034, 2035, 5, 211, 0, 0, 2035, 2037, 3, 250, 125, 0, 2036, 2034, 1, 0, 0, 0, 2036, 2037, 1, 0, 0, 0, 2037, 223, 1, 0, 0, 0, 2038, 2039, 6, 112, -1, 0, 2039, 2046, 3, 228, 114, 0, 2040, 2046, 3, 226, 113, 0, 2041, 2042, 5, 219, 0, 0, 2042, 2043, 3, 128, 64, 0, 2043, 2044, 5, 229, 0, 0, 2044, 2046, 1, 0, 0, 0, 2045, 2038, 1, 0, 0, 0, 2045, 2040, 1, 0, 0, 0, 2045, 2041, 1, 0, 0, 0, 2046, 2055, 1, 0, 0, 0, 2047, 2051, 10, 1, 0, 0, 2048, 2052, 3, 248, 124, 0, 2049, 2050, 5, 10, 0, 0, 2050, 2052, 3, 250, 125, 0, 2051, 2048, 1, 0, 0, 0, 2051, 2049, 1, 0, 0, 0, 2052, 2054, 1, 0, 0, 0, 2053, 2047, 1, 0, 0, 0, 2054, 2057, 1, 0, 0, 0, 2055, 2053, 1, 0, 0, 0, 2055, 2056, 1, 0, 0, 0, 2056, 225, 1, 0, 0, 0, 2057, 2055, 1, 0, 0, 0, 2058, 2059, 3, 250, 125, 0, 2059, 2061, 5, 219, 0, 0, 2060, 2062, 3, 230, 115, 0, 2061, 2060, 1, 0, 0, 0, 2061, 2062, 1, 0, 0, 0, 2062, 2063, 1, 0, 0, 0, 2063, 2064, 5, 229, 0, 0, 2064, 227, 1, 0, 0, 0, 2065, 2066, 3, 234, 117, 0, 2066, 2067, 5, 211, 0, 0, 2067, 2069, 1, 0, 0, 0, 2068, 2065, 1, 0, 0, 0, 2068, 2069, 1, 0, 0, 0, 2069, 2070, 1, 0, 0, 0, 2070, 2071, 3, 250, 125, 0, 2071, 229, 1, 0, 0, 0, 2072, 2077, 3, 232, 116, 0, 2073, 2074, 5, 208, 0, 0, 2074, 2076, 3, 232, 116, 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, 231, 1, 0, 0, 0, 2079, 2077, 1, 0, 0, 0, 2080, 2084, 3, 222, 111, 0, 2081, 2084, 3, 226, 113, 0, 2082, 2084, 3, 240, 120, 0, 2083, 2080, 1, 0, 0, 0, 2083, 2081, 1, 0, 0, 0, 2083, 2082, 1, 0, 0, 0, 2084, 233, 1, 0, 0, 0, 2085, 2086, 3, 250, 125, 0, 2086, 235, 1, 0, 0, 0, 2087, 2096, 5, 198, 0, 0, 2088, 2089, 5, 211, 0, 0, 2089, 2096, 7, 23, 0, 0, 2090, 2091, 5, 200, 0, 0, 2091, 2093, 5, 211, 0, 0, 2092, 2094, 7, 23, 0, 0, 2093, 2092, 1, 0, 0, 0, 2093, 2094, 1, 0, 0, 0, 2094, 2096, 1, 0, 0, 0, 2095, 2087, 1, 0, 0, 0, 2095, 2088, 1, 0, 0, 0, 2095, 2090, 1, 0, 0, 0, 2096, 237, 1, 0, 0, 0, 2097, 2099, 7, 24, 0, 0, 2098, 2097, 1, 0, 0, 0, 2098, 2099, 1, 0, 0, 0, 2099, 2106, 1, 0, 0, 0, 2100, 2107, 3, 236, 118, 0, 2101, 2107, 5, 199, 0, 0, 2102, 2107, 5, 200, 0, 0, 2103, 2107, 5, 201, 0, 0, 2104, 2107, 5, 82, 0, 0, 2105, 2107, 5, 113, 0, 0, 2106, 2100, 1, 0, 0, 0, 2106, 2101, 1, 0, 0, 0, 2106, 2102, 1, 0, 0, 0, 2106, 2103, 1, 0, 0, 0, 2106, 2104, 1, 0, 0, 0, 2106, 2105, 1, 0, 0, 0, 2107, 239, 1, 0, 0, 0, 2108, 2112, 3, 238, 119, 0, 2109, 2112, 5, 202, 0, 0, 2110, 2112, 5, 116, 0, 0, 2111, 2108, 1, 0, 0, 0, 2111, 2109, 1, 0, 0, 0, 2111, 2110, 1, 0, 0, 0, 2112, 241, 1, 0, 0, 0, 2113, 2114, 7, 25, 0, 0, 2114, 243, 1, 0, 0, 0, 2115, 2116, 7, 26, 0, 0, 2116, 245, 1, 0, 0, 0, 2117, 2118, 7, 27, 0, 0, 2118, 247, 1, 0, 0, 0, 2119, 2122, 5, 197, 0, 0, 2120, 2122, 3, 246, 123, 0, 2121, 2119, 1, 0, 0, 0, 2121, 2120, 1, 0, 0, 0, 2122, 249, 1, 0, 0, 0, 2123, 2127, 5, 197, 0, 0, 2124, 2127, 3, 242, 121, 0, 2125, 2127, 3, 244, 122, 0, 2126, 2123, 1, 0, 0, 0, 2126, 2124, 1, 0, 0, 0, 2126, 2125, 1, 0, 0, 0, 2127, 251, 1, 0, 0, 0, 2128, 2131, 3, 250, 125, 0, 2129, 2131, 5, 116, 0, 0, 2130, 2128, 1, 0, 0, 0, 2130, 2129, 1, 0, 0, 0, 2131, 253, 1, 0, 0, 0, 2132, 2133, 5, 202, 0, 0, 2133, 2134, 5, 213, 0, 0, 2134, 2135, 3, 238, 119, 0, 2135, 255, 1, 0, 0, 0, 280, 257, 263, 269, 275, 279, 282, 285, 307, 310, 318, 323, 336, 345, 352, 360, 365, 372, 377, 384, 389, 395, 401, 406, 412, 417, 423, 428, 434, 448, 455, 462, 469, 475, 480, 486, 491, 497, 506, 516, 526, 546, 554, 569, 576, 590, 596, 602, 608, 611, 617, 620, 623, 629, 633, 636, 639, 642, 645, 652, 656, 664, 667, 673, 677, 680, 691, 695, 698, 703, 705, 708, 711, 721, 725, 728, 731, 736, 738, 745, 751, 755, 758, 761, 771, 779, 805, 807, 811, 833, 835, 846, 849, 858, 875, 886, 904, 917, 934, 943, 970, 972, 993, 998, 1003, 1006, 1018, 1023, 1027, 1030, 1034, 1038, 1043, 1046, 1050, 1052, 1074, 1082, 1085, 1095, 1099, 1107, 1111, 1116, 1120, 1124, 1128, 1132, 1134, 1142, 1146, 1149, 1172, 1177, 1182, 1185, 1195, 1205, 1209, 1214, 1220, 1225, 1231, 1235, 1241, 1244, 1247, 1250, 1264, 1268, 1272, 1277, 1280, 1290, 1298, 1301, 1305, 1308, 1312, 1315, 1318, 1321, 1324, 1327, 1331, 1335, 1338, 1341, 1344, 1347, 1350, 1359, 1365, 1392, 1414, 1422, 1425, 1431, 1439, 1442, 1448, 1450, 1454, 1459, 1462, 1465, 1469, 1473, 1476, 1478, 1481, 1485, 1489, 1492, 1494, 1496, 1499, 1504, 1515, 1521, 1526, 1533, 1538, 1542, 1546, 1551, 1558, 1566, 1569, 1572, 1591, 1605, 1621, 1624, 1633, 1637, 1642, 1647, 1650, 1652, 1674, 1677, 1688, 1692, 1695, 1699, 1703, 1711, 1715, 1728, 1740, 1752, 1760, 1764, 1771, 1777, 1785, 1790, 1799, 1803, 1834, 1851, 1863, 1873, 1876, 1880, 1883, 1895, 1912, 1916, 1933, 1936, 1940, 1943, 1954, 1978, 1985, 1987, 1989, 1997, 2002, 2010, 2020, 2023, 2031, 2036, 2045, 2051, 2055, 2061, 2068, 2077, 2083, 2093, 2095, 2098, 2106, 2111, 2121, 2126, 2130] \ No newline at end of file +[4, 1, 287, 2366, 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, 1, 0, 3, 0, 284, 8, 0, 1, 0, 1, 0, 1, 1, 1, 1, 3, 1, 290, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 296, 8, 1, 1, 2, 1, 2, 1, 2, 1, 2, 3, 2, 302, 8, 2, 1, 2, 1, 2, 3, 2, 306, 8, 2, 1, 2, 3, 2, 309, 8, 2, 1, 2, 1, 2, 3, 2, 313, 8, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 3, 3, 335, 8, 3, 1, 3, 3, 3, 338, 8, 3, 1, 4, 1, 4, 1, 4, 1, 4, 5, 4, 344, 8, 4, 10, 4, 12, 4, 347, 9, 4, 1, 5, 1, 5, 3, 5, 351, 8, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 5, 6, 362, 8, 6, 10, 6, 12, 6, 365, 9, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 3, 7, 373, 8, 7, 1, 7, 1, 7, 1, 7, 5, 7, 378, 8, 7, 10, 7, 12, 7, 381, 9, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 388, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 393, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 400, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 405, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 412, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 417, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 423, 8, 8, 1, 8, 1, 8, 1, 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, 3, 8, 445, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 451, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 456, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 462, 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, 476, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 483, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 490, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 497, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 503, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 508, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 514, 8, 8, 1, 8, 1, 8, 1, 8, 3, 8, 519, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 525, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 534, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 544, 8, 8, 1, 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, 1, 8, 1, 8, 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, 574, 8, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 582, 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, 597, 8, 8, 1, 9, 1, 9, 1, 9, 5, 9, 602, 8, 9, 10, 9, 12, 9, 605, 9, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 3, 12, 618, 8, 12, 1, 13, 1, 13, 1, 13, 1, 13, 3, 13, 624, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 630, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 636, 8, 15, 1, 15, 3, 15, 639, 8, 15, 1, 16, 1, 16, 1, 16, 1, 16, 3, 16, 645, 8, 16, 1, 16, 3, 16, 648, 8, 16, 1, 16, 3, 16, 651, 8, 16, 1, 16, 1, 16, 1, 16, 1, 16, 3, 16, 657, 8, 16, 1, 16, 1, 16, 3, 16, 661, 8, 16, 1, 16, 3, 16, 664, 8, 16, 1, 16, 3, 16, 667, 8, 16, 1, 16, 3, 16, 670, 8, 16, 1, 16, 3, 16, 673, 8, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 3, 17, 680, 8, 17, 1, 17, 1, 17, 3, 17, 684, 8, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 692, 8, 18, 1, 18, 3, 18, 695, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 701, 8, 18, 1, 18, 1, 18, 3, 18, 705, 8, 18, 1, 18, 3, 18, 708, 8, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 3, 19, 719, 8, 19, 1, 19, 1, 19, 3, 19, 723, 8, 19, 1, 19, 3, 19, 726, 8, 19, 1, 19, 1, 19, 1, 19, 3, 19, 731, 8, 19, 3, 19, 733, 8, 19, 1, 19, 3, 19, 736, 8, 19, 1, 19, 3, 19, 739, 8, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 749, 8, 20, 1, 20, 1, 20, 3, 20, 753, 8, 20, 1, 20, 3, 20, 756, 8, 20, 1, 20, 3, 20, 759, 8, 20, 1, 20, 1, 20, 1, 20, 3, 20, 764, 8, 20, 3, 20, 766, 8, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 3, 21, 773, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 779, 8, 21, 1, 21, 1, 21, 3, 21, 783, 8, 21, 1, 21, 3, 21, 786, 8, 21, 1, 21, 3, 21, 789, 8, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 799, 8, 22, 1, 23, 1, 23, 1, 23, 1, 23, 5, 23, 805, 8, 23, 10, 23, 12, 23, 808, 9, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 5, 24, 833, 8, 24, 10, 24, 12, 24, 836, 9, 24, 1, 25, 3, 25, 839, 8, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 5, 25, 861, 8, 25, 10, 25, 12, 25, 864, 9, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 874, 8, 27, 1, 27, 3, 27, 877, 8, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 5, 28, 884, 8, 28, 10, 28, 12, 28, 887, 9, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 3, 29, 903, 8, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 5, 30, 912, 8, 30, 10, 30, 12, 30, 915, 9, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 932, 8, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 3, 33, 945, 8, 33, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 960, 8, 37, 10, 37, 12, 37, 963, 9, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 971, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 5, 38, 998, 8, 38, 10, 38, 12, 38, 1001, 9, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 5, 42, 1019, 8, 42, 10, 42, 12, 42, 1022, 9, 42, 1, 43, 1, 43, 3, 43, 1026, 8, 43, 1, 43, 1, 43, 1, 43, 3, 43, 1031, 8, 43, 1, 43, 3, 43, 1034, 8, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 1046, 8, 44, 1, 45, 1, 45, 1, 45, 3, 45, 1051, 8, 45, 1, 45, 1, 45, 3, 45, 1055, 8, 45, 1, 45, 3, 45, 1058, 8, 45, 1, 45, 1, 45, 3, 45, 1062, 8, 45, 1, 45, 1, 45, 3, 45, 1066, 8, 45, 1, 45, 1, 45, 1, 45, 3, 45, 1071, 8, 45, 1, 45, 3, 45, 1074, 8, 45, 1, 45, 1, 45, 3, 45, 1078, 8, 45, 3, 45, 1080, 8, 45, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 5, 49, 1100, 8, 49, 10, 49, 12, 49, 1103, 9, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 3, 50, 1110, 8, 50, 1, 50, 3, 50, 1113, 8, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 1123, 8, 51, 1, 52, 1, 52, 3, 52, 1127, 8, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1135, 8, 53, 1, 53, 1, 53, 3, 53, 1139, 8, 53, 1, 53, 1, 53, 1, 53, 3, 53, 1144, 8, 53, 1, 53, 1, 53, 3, 53, 1148, 8, 53, 1, 53, 1, 53, 3, 53, 1152, 8, 53, 1, 53, 1, 53, 3, 53, 1156, 8, 53, 1, 53, 1, 53, 3, 53, 1160, 8, 53, 3, 53, 1162, 8, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 3, 54, 1170, 8, 54, 1, 54, 1, 54, 3, 54, 1174, 8, 54, 1, 54, 3, 54, 1177, 8, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 3, 55, 1200, 8, 55, 1, 56, 1, 56, 3, 56, 1204, 8, 56, 1, 56, 1, 56, 1, 56, 5, 56, 1209, 8, 56, 10, 56, 12, 56, 1212, 9, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1219, 8, 56, 1, 56, 1, 56, 3, 56, 1223, 8, 56, 3, 56, 1225, 8, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1232, 8, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1237, 8, 56, 1, 57, 1, 57, 1, 57, 5, 57, 1242, 8, 57, 10, 57, 12, 57, 1245, 9, 57, 1, 58, 1, 58, 3, 58, 1249, 8, 58, 1, 59, 1, 59, 3, 59, 1253, 8, 59, 1, 60, 1, 60, 3, 60, 1257, 8, 60, 1, 61, 1, 61, 3, 61, 1261, 8, 61, 1, 61, 1, 61, 1, 61, 1, 61, 3, 61, 1267, 8, 61, 1, 61, 3, 61, 1270, 8, 61, 1, 62, 1, 62, 3, 62, 1274, 8, 62, 1, 63, 1, 63, 3, 63, 1278, 8, 63, 1, 64, 1, 64, 3, 64, 1282, 8, 64, 1, 64, 1, 64, 1, 64, 3, 64, 1287, 8, 64, 1, 65, 1, 65, 1, 66, 1, 66, 1, 67, 1, 67, 3, 67, 1295, 8, 67, 1, 67, 3, 67, 1298, 8, 67, 1, 67, 1, 67, 3, 67, 1302, 8, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 1308, 8, 67, 1, 67, 1, 67, 3, 67, 1312, 8, 67, 1, 67, 1, 67, 1, 67, 3, 67, 1317, 8, 67, 1, 67, 1, 67, 3, 67, 1321, 8, 67, 1, 67, 1, 67, 3, 67, 1325, 8, 67, 1, 67, 1, 67, 1, 67, 3, 67, 1330, 8, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 1338, 8, 67, 1, 67, 3, 67, 1341, 8, 67, 1, 67, 1, 67, 1, 67, 3, 67, 1346, 8, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 1357, 8, 67, 1, 67, 1, 67, 3, 67, 1361, 8, 67, 1, 67, 1, 67, 1, 67, 3, 67, 1366, 8, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 1373, 8, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 1385, 8, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 1402, 8, 68, 1, 69, 1, 69, 1, 69, 3, 69, 1407, 8, 69, 1, 69, 1, 69, 1, 69, 3, 69, 1412, 8, 69, 1, 69, 3, 69, 1415, 8, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 70, 5, 70, 1423, 8, 70, 10, 70, 12, 70, 1426, 9, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 1435, 8, 71, 1, 71, 1, 71, 3, 71, 1439, 8, 71, 1, 72, 1, 72, 1, 72, 3, 72, 1444, 8, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 1450, 8, 72, 1, 72, 5, 72, 1453, 8, 72, 10, 72, 12, 72, 1456, 9, 72, 1, 73, 1, 73, 1, 73, 3, 73, 1461, 8, 73, 1, 73, 1, 73, 3, 73, 1465, 8, 73, 1, 74, 1, 74, 1, 74, 1, 74, 3, 74, 1471, 8, 74, 1, 74, 3, 74, 1474, 8, 74, 1, 74, 3, 74, 1477, 8, 74, 1, 74, 3, 74, 1480, 8, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 5, 75, 1492, 8, 75, 10, 75, 12, 75, 1495, 9, 75, 1, 75, 3, 75, 1498, 8, 75, 1, 76, 1, 76, 3, 76, 1502, 8, 76, 1, 76, 1, 76, 1, 76, 3, 76, 1507, 8, 76, 1, 76, 3, 76, 1510, 8, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 5, 77, 1518, 8, 77, 10, 77, 12, 77, 1521, 9, 77, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 3, 78, 1528, 8, 78, 1, 79, 3, 79, 1531, 8, 79, 1, 79, 1, 79, 3, 79, 1535, 8, 79, 1, 79, 3, 79, 1538, 8, 79, 1, 79, 1, 79, 3, 79, 1542, 8, 79, 1, 79, 3, 79, 1545, 8, 79, 1, 79, 3, 79, 1548, 8, 79, 1, 79, 3, 79, 1551, 8, 79, 1, 79, 3, 79, 1554, 8, 79, 1, 79, 3, 79, 1557, 8, 79, 1, 79, 1, 79, 3, 79, 1561, 8, 79, 1, 79, 1, 79, 3, 79, 1565, 8, 79, 1, 79, 3, 79, 1568, 8, 79, 1, 79, 3, 79, 1571, 8, 79, 1, 79, 3, 79, 1574, 8, 79, 1, 79, 3, 79, 1577, 8, 79, 1, 79, 3, 79, 1580, 8, 79, 1, 80, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 3, 81, 1589, 8, 81, 1, 82, 1, 82, 1, 82, 1, 83, 3, 83, 1595, 8, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 86, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 3, 87, 1622, 8, 87, 1, 88, 1, 88, 1, 88, 1, 89, 1, 89, 1, 89, 1, 89, 1, 90, 1, 90, 1, 90, 1, 90, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 1, 92, 3, 92, 1644, 8, 92, 1, 93, 1, 93, 1, 93, 1, 94, 1, 94, 1, 94, 3, 94, 1652, 8, 94, 1, 94, 3, 94, 1655, 8, 94, 1, 94, 1, 94, 1, 94, 1, 94, 3, 94, 1661, 8, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 3, 94, 1669, 8, 94, 1, 94, 3, 94, 1672, 8, 94, 1, 94, 1, 94, 1, 94, 1, 94, 5, 94, 1678, 8, 94, 10, 94, 12, 94, 1681, 9, 94, 1, 95, 3, 95, 1684, 8, 95, 1, 95, 1, 95, 1, 95, 3, 95, 1689, 8, 95, 1, 95, 3, 95, 1692, 8, 95, 1, 95, 3, 95, 1695, 8, 95, 1, 95, 1, 95, 3, 95, 1699, 8, 95, 1, 95, 1, 95, 3, 95, 1703, 8, 95, 1, 95, 3, 95, 1706, 8, 95, 3, 95, 1708, 8, 95, 1, 95, 3, 95, 1711, 8, 95, 1, 95, 1, 95, 3, 95, 1715, 8, 95, 1, 95, 1, 95, 3, 95, 1719, 8, 95, 1, 95, 3, 95, 1722, 8, 95, 3, 95, 1724, 8, 95, 3, 95, 1726, 8, 95, 1, 96, 3, 96, 1729, 8, 96, 1, 96, 1, 96, 1, 96, 3, 96, 1734, 8, 96, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 3, 97, 1745, 8, 97, 1, 98, 1, 98, 1, 98, 1, 98, 3, 98, 1751, 8, 98, 1, 99, 1, 99, 1, 99, 3, 99, 1756, 8, 99, 1, 100, 1, 100, 1, 100, 5, 100, 1761, 8, 100, 10, 100, 12, 100, 1764, 9, 100, 1, 101, 1, 101, 3, 101, 1768, 8, 101, 1, 101, 1, 101, 3, 101, 1772, 8, 101, 1, 101, 1, 101, 3, 101, 1776, 8, 101, 1, 102, 1, 102, 1, 102, 3, 102, 1781, 8, 102, 1, 103, 1, 103, 1, 103, 5, 103, 1786, 8, 103, 10, 103, 12, 103, 1789, 9, 103, 1, 104, 1, 104, 1, 104, 1, 104, 1, 105, 3, 105, 1796, 8, 105, 1, 105, 3, 105, 1799, 8, 105, 1, 105, 3, 105, 1802, 8, 105, 1, 106, 1, 106, 1, 106, 1, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 108, 1, 108, 1, 108, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 1, 109, 3, 109, 1821, 8, 109, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 1, 110, 3, 110, 1835, 8, 110, 1, 111, 1, 111, 1, 111, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 3, 112, 1851, 8, 112, 1, 112, 3, 112, 1854, 8, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 3, 112, 1863, 8, 112, 1, 112, 1, 112, 3, 112, 1867, 8, 112, 1, 112, 1, 112, 1, 112, 3, 112, 1872, 8, 112, 1, 112, 1, 112, 1, 112, 3, 112, 1877, 8, 112, 1, 112, 3, 112, 1880, 8, 112, 3, 112, 1882, 8, 112, 1, 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, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 3, 113, 1904, 8, 113, 1, 113, 3, 113, 1907, 8, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 1, 113, 3, 113, 1918, 8, 113, 1, 114, 1, 114, 3, 114, 1922, 8, 114, 1, 114, 3, 114, 1925, 8, 114, 1, 114, 1, 114, 3, 114, 1929, 8, 114, 1, 114, 1, 114, 3, 114, 1933, 8, 114, 1, 115, 1, 115, 1, 115, 1, 116, 1, 116, 1, 116, 3, 116, 1941, 8, 116, 1, 116, 1, 116, 3, 116, 1945, 8, 116, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 5, 117, 1956, 8, 117, 10, 117, 12, 117, 1959, 9, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 5, 117, 1968, 8, 117, 10, 117, 12, 117, 1971, 9, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 5, 117, 1980, 8, 117, 10, 117, 12, 117, 1983, 9, 117, 1, 117, 1, 117, 1, 117, 1, 117, 1, 117, 3, 117, 1990, 8, 117, 1, 117, 1, 117, 3, 117, 1994, 8, 117, 1, 118, 1, 118, 1, 118, 5, 118, 1999, 8, 118, 10, 118, 12, 118, 2002, 9, 118, 1, 119, 1, 119, 1, 119, 3, 119, 2007, 8, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 1, 119, 3, 119, 2015, 8, 119, 1, 120, 1, 120, 1, 120, 3, 120, 2020, 8, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 4, 120, 2027, 8, 120, 11, 120, 12, 120, 2028, 1, 120, 1, 120, 3, 120, 2033, 8, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 3, 120, 2064, 8, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 3, 120, 2081, 8, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 3, 120, 2093, 8, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 3, 120, 2103, 8, 120, 1, 120, 3, 120, 2106, 8, 120, 1, 120, 1, 120, 3, 120, 2110, 8, 120, 1, 120, 3, 120, 2113, 8, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 3, 120, 2125, 8, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 3, 120, 2142, 8, 120, 1, 120, 1, 120, 3, 120, 2146, 8, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 3, 120, 2163, 8, 120, 1, 120, 3, 120, 2166, 8, 120, 1, 120, 1, 120, 3, 120, 2170, 8, 120, 1, 120, 3, 120, 2173, 8, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 3, 120, 2184, 8, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 3, 120, 2208, 8, 120, 1, 120, 1, 120, 1, 120, 1, 120, 1, 120, 3, 120, 2215, 8, 120, 5, 120, 2217, 8, 120, 10, 120, 12, 120, 2220, 9, 120, 1, 121, 1, 121, 1, 121, 5, 121, 2225, 8, 121, 10, 121, 12, 121, 2228, 9, 121, 1, 122, 1, 122, 3, 122, 2232, 8, 122, 1, 123, 1, 123, 1, 123, 1, 123, 5, 123, 2238, 8, 123, 10, 123, 12, 123, 2241, 9, 123, 1, 123, 1, 123, 1, 123, 1, 123, 1, 123, 5, 123, 2248, 8, 123, 10, 123, 12, 123, 2251, 9, 123, 3, 123, 2253, 8, 123, 1, 123, 1, 123, 1, 123, 1, 124, 1, 124, 1, 124, 3, 124, 2261, 8, 124, 1, 124, 1, 124, 1, 124, 3, 124, 2266, 8, 124, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 3, 125, 2275, 8, 125, 1, 125, 1, 125, 1, 125, 1, 125, 3, 125, 2281, 8, 125, 5, 125, 2283, 8, 125, 10, 125, 12, 125, 2286, 9, 125, 1, 126, 1, 126, 1, 126, 3, 126, 2291, 8, 126, 1, 126, 1, 126, 1, 127, 1, 127, 1, 127, 3, 127, 2298, 8, 127, 1, 127, 1, 127, 1, 128, 1, 128, 1, 128, 5, 128, 2305, 8, 128, 10, 128, 12, 128, 2308, 9, 128, 1, 129, 1, 129, 1, 129, 3, 129, 2313, 8, 129, 1, 130, 1, 130, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 1, 131, 3, 131, 2323, 8, 131, 3, 131, 2325, 8, 131, 1, 132, 3, 132, 2328, 8, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 1, 132, 3, 132, 2336, 8, 132, 1, 133, 1, 133, 1, 133, 3, 133, 2341, 8, 133, 1, 134, 1, 134, 1, 135, 1, 135, 1, 136, 1, 136, 1, 137, 1, 137, 3, 137, 2351, 8, 137, 1, 138, 1, 138, 1, 138, 3, 138, 2356, 8, 138, 1, 139, 1, 139, 3, 139, 2360, 8, 139, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 0, 3, 188, 240, 250, 141, 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, 0, 42, 6, 0, 3, 3, 24, 24, 27, 27, 38, 38, 104, 104, 177, 177, 2, 0, 15, 15, 29, 29, 3, 0, 3, 3, 38, 38, 104, 104, 2, 0, 41, 41, 43, 43, 2, 0, 44, 44, 50, 50, 5, 0, 33, 33, 46, 46, 70, 70, 162, 162, 186, 186, 4, 0, 33, 33, 46, 46, 162, 162, 186, 186, 4, 0, 34, 34, 45, 45, 163, 163, 204, 204, 1, 0, 235, 243, 1, 0, 225, 228, 2, 0, 40, 40, 181, 181, 6, 0, 1, 1, 22, 22, 27, 27, 50, 50, 109, 109, 139, 139, 4, 0, 1, 1, 22, 22, 50, 50, 103, 103, 2, 0, 122, 122, 147, 147, 2, 0, 1, 1, 50, 50, 2, 0, 103, 103, 109, 109, 2, 0, 111, 111, 197, 197, 2, 0, 126, 126, 216, 216, 2, 0, 162, 162, 186, 186, 3, 0, 14, 14, 159, 159, 165, 165, 2, 0, 31, 31, 144, 144, 2, 0, 84, 84, 96, 96, 2, 0, 71, 71, 101, 101, 3, 0, 4, 4, 8, 8, 12, 12, 4, 0, 4, 4, 7, 8, 12, 12, 150, 150, 2, 0, 96, 96, 143, 143, 2, 0, 4, 4, 8, 8, 2, 0, 118, 118, 260, 260, 2, 0, 11, 11, 41, 42, 2, 0, 62, 62, 93, 93, 2, 0, 136, 136, 146, 146, 2, 0, 68, 68, 80, 80, 1, 0, 156, 157, 3, 0, 17, 17, 95, 95, 173, 173, 3, 0, 256, 256, 274, 274, 283, 283, 2, 0, 261, 262, 275, 275, 2, 0, 79, 79, 98, 98, 1, 0, 251, 252, 2, 0, 262, 262, 275, 275, 8, 0, 36, 36, 76, 76, 108, 108, 110, 110, 134, 134, 148, 148, 189, 189, 194, 194, 15, 0, 2, 35, 37, 53, 55, 75, 77, 81, 83, 107, 109, 109, 111, 112, 114, 115, 117, 126, 129, 132, 136, 147, 149, 174, 176, 188, 190, 193, 195, 248, 4, 0, 35, 35, 62, 62, 77, 77, 91, 91, 2716, 0, 283, 1, 0, 0, 0, 2, 295, 1, 0, 0, 0, 4, 312, 1, 0, 0, 0, 6, 337, 1, 0, 0, 0, 8, 339, 1, 0, 0, 0, 10, 348, 1, 0, 0, 0, 12, 357, 1, 0, 0, 0, 14, 368, 1, 0, 0, 0, 16, 596, 1, 0, 0, 0, 18, 598, 1, 0, 0, 0, 20, 606, 1, 0, 0, 0, 22, 610, 1, 0, 0, 0, 24, 617, 1, 0, 0, 0, 26, 619, 1, 0, 0, 0, 28, 625, 1, 0, 0, 0, 30, 631, 1, 0, 0, 0, 32, 647, 1, 0, 0, 0, 34, 674, 1, 0, 0, 0, 36, 694, 1, 0, 0, 0, 38, 712, 1, 0, 0, 0, 40, 742, 1, 0, 0, 0, 42, 769, 1, 0, 0, 0, 44, 798, 1, 0, 0, 0, 46, 800, 1, 0, 0, 0, 48, 811, 1, 0, 0, 0, 50, 838, 1, 0, 0, 0, 52, 865, 1, 0, 0, 0, 54, 869, 1, 0, 0, 0, 56, 878, 1, 0, 0, 0, 58, 891, 1, 0, 0, 0, 60, 906, 1, 0, 0, 0, 62, 919, 1, 0, 0, 0, 64, 935, 1, 0, 0, 0, 66, 940, 1, 0, 0, 0, 68, 946, 1, 0, 0, 0, 70, 949, 1, 0, 0, 0, 72, 952, 1, 0, 0, 0, 74, 970, 1, 0, 0, 0, 76, 972, 1, 0, 0, 0, 78, 1002, 1, 0, 0, 0, 80, 1006, 1, 0, 0, 0, 82, 1010, 1, 0, 0, 0, 84, 1014, 1, 0, 0, 0, 86, 1023, 1, 0, 0, 0, 88, 1045, 1, 0, 0, 0, 90, 1079, 1, 0, 0, 0, 92, 1081, 1, 0, 0, 0, 94, 1084, 1, 0, 0, 0, 96, 1091, 1, 0, 0, 0, 98, 1094, 1, 0, 0, 0, 100, 1106, 1, 0, 0, 0, 102, 1114, 1, 0, 0, 0, 104, 1124, 1, 0, 0, 0, 106, 1161, 1, 0, 0, 0, 108, 1176, 1, 0, 0, 0, 110, 1199, 1, 0, 0, 0, 112, 1201, 1, 0, 0, 0, 114, 1238, 1, 0, 0, 0, 116, 1248, 1, 0, 0, 0, 118, 1250, 1, 0, 0, 0, 120, 1254, 1, 0, 0, 0, 122, 1269, 1, 0, 0, 0, 124, 1271, 1, 0, 0, 0, 126, 1275, 1, 0, 0, 0, 128, 1286, 1, 0, 0, 0, 130, 1288, 1, 0, 0, 0, 132, 1290, 1, 0, 0, 0, 134, 1384, 1, 0, 0, 0, 136, 1401, 1, 0, 0, 0, 138, 1403, 1, 0, 0, 0, 140, 1418, 1, 0, 0, 0, 142, 1438, 1, 0, 0, 0, 144, 1440, 1, 0, 0, 0, 146, 1457, 1, 0, 0, 0, 148, 1466, 1, 0, 0, 0, 150, 1481, 1, 0, 0, 0, 152, 1499, 1, 0, 0, 0, 154, 1513, 1, 0, 0, 0, 156, 1527, 1, 0, 0, 0, 158, 1530, 1, 0, 0, 0, 160, 1581, 1, 0, 0, 0, 162, 1584, 1, 0, 0, 0, 164, 1590, 1, 0, 0, 0, 166, 1594, 1, 0, 0, 0, 168, 1600, 1, 0, 0, 0, 170, 1607, 1, 0, 0, 0, 172, 1610, 1, 0, 0, 0, 174, 1613, 1, 0, 0, 0, 176, 1623, 1, 0, 0, 0, 178, 1626, 1, 0, 0, 0, 180, 1630, 1, 0, 0, 0, 182, 1634, 1, 0, 0, 0, 184, 1639, 1, 0, 0, 0, 186, 1645, 1, 0, 0, 0, 188, 1660, 1, 0, 0, 0, 190, 1725, 1, 0, 0, 0, 192, 1733, 1, 0, 0, 0, 194, 1744, 1, 0, 0, 0, 196, 1746, 1, 0, 0, 0, 198, 1752, 1, 0, 0, 0, 200, 1757, 1, 0, 0, 0, 202, 1765, 1, 0, 0, 0, 204, 1777, 1, 0, 0, 0, 206, 1782, 1, 0, 0, 0, 208, 1790, 1, 0, 0, 0, 210, 1795, 1, 0, 0, 0, 212, 1803, 1, 0, 0, 0, 214, 1807, 1, 0, 0, 0, 216, 1811, 1, 0, 0, 0, 218, 1820, 1, 0, 0, 0, 220, 1834, 1, 0, 0, 0, 222, 1836, 1, 0, 0, 0, 224, 1881, 1, 0, 0, 0, 226, 1917, 1, 0, 0, 0, 228, 1919, 1, 0, 0, 0, 230, 1934, 1, 0, 0, 0, 232, 1937, 1, 0, 0, 0, 234, 1993, 1, 0, 0, 0, 236, 1995, 1, 0, 0, 0, 238, 2014, 1, 0, 0, 0, 240, 2145, 1, 0, 0, 0, 242, 2221, 1, 0, 0, 0, 244, 2231, 1, 0, 0, 0, 246, 2252, 1, 0, 0, 0, 248, 2260, 1, 0, 0, 0, 250, 2274, 1, 0, 0, 0, 252, 2287, 1, 0, 0, 0, 254, 2297, 1, 0, 0, 0, 256, 2301, 1, 0, 0, 0, 258, 2312, 1, 0, 0, 0, 260, 2314, 1, 0, 0, 0, 262, 2324, 1, 0, 0, 0, 264, 2327, 1, 0, 0, 0, 266, 2340, 1, 0, 0, 0, 268, 2342, 1, 0, 0, 0, 270, 2344, 1, 0, 0, 0, 272, 2346, 1, 0, 0, 0, 274, 2350, 1, 0, 0, 0, 276, 2355, 1, 0, 0, 0, 278, 2359, 1, 0, 0, 0, 280, 2361, 1, 0, 0, 0, 282, 284, 3, 2, 1, 0, 283, 282, 1, 0, 0, 0, 283, 284, 1, 0, 0, 0, 284, 285, 1, 0, 0, 0, 285, 286, 5, 0, 0, 1, 286, 1, 1, 0, 0, 0, 287, 289, 3, 4, 2, 0, 288, 290, 5, 282, 0, 0, 289, 288, 1, 0, 0, 0, 289, 290, 1, 0, 0, 0, 290, 296, 1, 0, 0, 0, 291, 292, 3, 4, 2, 0, 292, 293, 5, 282, 0, 0, 293, 294, 3, 2, 1, 0, 294, 296, 1, 0, 0, 0, 295, 287, 1, 0, 0, 0, 295, 291, 1, 0, 0, 0, 296, 3, 1, 0, 0, 0, 297, 301, 3, 6, 3, 0, 298, 299, 5, 87, 0, 0, 299, 300, 5, 124, 0, 0, 300, 302, 5, 254, 0, 0, 301, 298, 1, 0, 0, 0, 301, 302, 1, 0, 0, 0, 302, 305, 1, 0, 0, 0, 303, 304, 5, 66, 0, 0, 304, 306, 3, 278, 139, 0, 305, 303, 1, 0, 0, 0, 305, 306, 1, 0, 0, 0, 306, 308, 1, 0, 0, 0, 307, 309, 5, 282, 0, 0, 308, 307, 1, 0, 0, 0, 308, 309, 1, 0, 0, 0, 309, 313, 1, 0, 0, 0, 310, 313, 3, 138, 69, 0, 311, 313, 3, 112, 56, 0, 312, 297, 1, 0, 0, 0, 312, 310, 1, 0, 0, 0, 312, 311, 1, 0, 0, 0, 313, 5, 1, 0, 0, 0, 314, 338, 3, 14, 7, 0, 315, 338, 3, 26, 13, 0, 316, 338, 3, 28, 14, 0, 317, 338, 3, 44, 22, 0, 318, 338, 3, 104, 52, 0, 319, 338, 3, 30, 15, 0, 320, 338, 3, 106, 53, 0, 321, 338, 3, 108, 54, 0, 322, 338, 3, 110, 55, 0, 323, 338, 3, 146, 73, 0, 324, 338, 3, 148, 74, 0, 325, 338, 3, 150, 75, 0, 326, 338, 3, 154, 77, 0, 327, 338, 3, 222, 111, 0, 328, 338, 3, 224, 112, 0, 329, 338, 3, 226, 113, 0, 330, 338, 3, 228, 114, 0, 331, 338, 3, 230, 115, 0, 332, 338, 3, 232, 116, 0, 333, 335, 3, 8, 4, 0, 334, 333, 1, 0, 0, 0, 334, 335, 1, 0, 0, 0, 335, 336, 1, 0, 0, 0, 336, 338, 3, 158, 79, 0, 337, 314, 1, 0, 0, 0, 337, 315, 1, 0, 0, 0, 337, 316, 1, 0, 0, 0, 337, 317, 1, 0, 0, 0, 337, 318, 1, 0, 0, 0, 337, 319, 1, 0, 0, 0, 337, 320, 1, 0, 0, 0, 337, 321, 1, 0, 0, 0, 337, 322, 1, 0, 0, 0, 337, 323, 1, 0, 0, 0, 337, 324, 1, 0, 0, 0, 337, 325, 1, 0, 0, 0, 337, 326, 1, 0, 0, 0, 337, 327, 1, 0, 0, 0, 337, 328, 1, 0, 0, 0, 337, 329, 1, 0, 0, 0, 337, 330, 1, 0, 0, 0, 337, 331, 1, 0, 0, 0, 337, 332, 1, 0, 0, 0, 337, 334, 1, 0, 0, 0, 338, 7, 1, 0, 0, 0, 339, 340, 5, 193, 0, 0, 340, 345, 3, 10, 5, 0, 341, 342, 5, 260, 0, 0, 342, 344, 3, 10, 5, 0, 343, 341, 1, 0, 0, 0, 344, 347, 1, 0, 0, 0, 345, 343, 1, 0, 0, 0, 345, 346, 1, 0, 0, 0, 346, 9, 1, 0, 0, 0, 347, 345, 1, 0, 0, 0, 348, 350, 3, 276, 138, 0, 349, 351, 3, 12, 6, 0, 350, 349, 1, 0, 0, 0, 350, 351, 1, 0, 0, 0, 351, 352, 1, 0, 0, 0, 352, 353, 5, 10, 0, 0, 353, 354, 5, 271, 0, 0, 354, 355, 3, 6, 3, 0, 355, 356, 5, 281, 0, 0, 356, 11, 1, 0, 0, 0, 357, 358, 5, 271, 0, 0, 358, 363, 3, 276, 138, 0, 359, 360, 5, 260, 0, 0, 360, 362, 3, 276, 138, 0, 361, 359, 1, 0, 0, 0, 362, 365, 1, 0, 0, 0, 363, 361, 1, 0, 0, 0, 363, 364, 1, 0, 0, 0, 364, 366, 1, 0, 0, 0, 365, 363, 1, 0, 0, 0, 366, 367, 5, 281, 0, 0, 367, 13, 1, 0, 0, 0, 368, 369, 5, 5, 0, 0, 369, 370, 5, 162, 0, 0, 370, 372, 3, 254, 127, 0, 371, 373, 3, 66, 33, 0, 372, 371, 1, 0, 0, 0, 372, 373, 1, 0, 0, 0, 373, 374, 1, 0, 0, 0, 374, 379, 3, 16, 8, 0, 375, 376, 5, 260, 0, 0, 376, 378, 3, 16, 8, 0, 377, 375, 1, 0, 0, 0, 378, 381, 1, 0, 0, 0, 379, 377, 1, 0, 0, 0, 379, 380, 1, 0, 0, 0, 380, 15, 1, 0, 0, 0, 381, 379, 1, 0, 0, 0, 382, 383, 5, 1, 0, 0, 383, 387, 5, 26, 0, 0, 384, 385, 5, 78, 0, 0, 385, 386, 5, 115, 0, 0, 386, 388, 5, 56, 0, 0, 387, 384, 1, 0, 0, 0, 387, 388, 1, 0, 0, 0, 388, 389, 1, 0, 0, 0, 389, 392, 3, 90, 45, 0, 390, 391, 5, 2, 0, 0, 391, 393, 3, 248, 124, 0, 392, 390, 1, 0, 0, 0, 392, 393, 1, 0, 0, 0, 393, 597, 1, 0, 0, 0, 394, 395, 5, 1, 0, 0, 395, 399, 5, 81, 0, 0, 396, 397, 5, 78, 0, 0, 397, 398, 5, 115, 0, 0, 398, 400, 5, 56, 0, 0, 399, 396, 1, 0, 0, 0, 399, 400, 1, 0, 0, 0, 400, 401, 1, 0, 0, 0, 401, 404, 3, 94, 47, 0, 402, 403, 5, 2, 0, 0, 403, 405, 3, 248, 124, 0, 404, 402, 1, 0, 0, 0, 404, 405, 1, 0, 0, 0, 405, 597, 1, 0, 0, 0, 406, 407, 5, 1, 0, 0, 407, 411, 5, 133, 0, 0, 408, 409, 5, 78, 0, 0, 409, 410, 5, 115, 0, 0, 410, 412, 5, 56, 0, 0, 411, 408, 1, 0, 0, 0, 411, 412, 1, 0, 0, 0, 412, 413, 1, 0, 0, 0, 413, 416, 3, 96, 48, 0, 414, 415, 5, 2, 0, 0, 415, 417, 3, 248, 124, 0, 416, 414, 1, 0, 0, 0, 416, 417, 1, 0, 0, 0, 417, 597, 1, 0, 0, 0, 418, 419, 5, 15, 0, 0, 419, 422, 3, 24, 12, 0, 420, 421, 5, 68, 0, 0, 421, 423, 3, 254, 127, 0, 422, 420, 1, 0, 0, 0, 422, 423, 1, 0, 0, 0, 423, 597, 1, 0, 0, 0, 424, 425, 5, 22, 0, 0, 425, 428, 5, 26, 0, 0, 426, 427, 5, 78, 0, 0, 427, 429, 5, 56, 0, 0, 428, 426, 1, 0, 0, 0, 428, 429, 1, 0, 0, 0, 429, 430, 1, 0, 0, 0, 430, 433, 3, 248, 124, 0, 431, 432, 5, 80, 0, 0, 432, 434, 3, 24, 12, 0, 433, 431, 1, 0, 0, 0, 433, 434, 1, 0, 0, 0, 434, 597, 1, 0, 0, 0, 435, 436, 5, 22, 0, 0, 436, 439, 5, 81, 0, 0, 437, 438, 5, 78, 0, 0, 438, 440, 5, 56, 0, 0, 439, 437, 1, 0, 0, 0, 439, 440, 1, 0, 0, 0, 440, 441, 1, 0, 0, 0, 441, 444, 3, 248, 124, 0, 442, 443, 5, 80, 0, 0, 443, 445, 3, 24, 12, 0, 444, 442, 1, 0, 0, 0, 444, 445, 1, 0, 0, 0, 445, 597, 1, 0, 0, 0, 446, 447, 5, 22, 0, 0, 447, 450, 5, 133, 0, 0, 448, 449, 5, 78, 0, 0, 449, 451, 5, 56, 0, 0, 450, 448, 1, 0, 0, 0, 450, 451, 1, 0, 0, 0, 451, 452, 1, 0, 0, 0, 452, 455, 3, 248, 124, 0, 453, 454, 5, 80, 0, 0, 454, 456, 3, 24, 12, 0, 455, 453, 1, 0, 0, 0, 455, 456, 1, 0, 0, 0, 456, 597, 1, 0, 0, 0, 457, 458, 5, 27, 0, 0, 458, 461, 5, 26, 0, 0, 459, 460, 5, 78, 0, 0, 460, 462, 5, 56, 0, 0, 461, 459, 1, 0, 0, 0, 461, 462, 1, 0, 0, 0, 462, 463, 1, 0, 0, 0, 463, 464, 3, 248, 124, 0, 464, 465, 5, 254, 0, 0, 465, 597, 1, 0, 0, 0, 466, 467, 5, 40, 0, 0, 467, 468, 5, 191, 0, 0, 468, 597, 3, 240, 120, 0, 469, 470, 5, 44, 0, 0, 470, 597, 3, 24, 12, 0, 471, 472, 5, 50, 0, 0, 472, 475, 5, 26, 0, 0, 473, 474, 5, 78, 0, 0, 474, 476, 5, 56, 0, 0, 475, 473, 1, 0, 0, 0, 475, 476, 1, 0, 0, 0, 476, 477, 1, 0, 0, 0, 477, 597, 3, 248, 124, 0, 478, 479, 5, 50, 0, 0, 479, 482, 5, 81, 0, 0, 480, 481, 5, 78, 0, 0, 481, 483, 5, 56, 0, 0, 482, 480, 1, 0, 0, 0, 482, 483, 1, 0, 0, 0, 483, 484, 1, 0, 0, 0, 484, 597, 3, 248, 124, 0, 485, 486, 5, 50, 0, 0, 486, 489, 5, 133, 0, 0, 487, 488, 5, 78, 0, 0, 488, 490, 5, 56, 0, 0, 489, 487, 1, 0, 0, 0, 489, 490, 1, 0, 0, 0, 490, 491, 1, 0, 0, 0, 491, 597, 3, 248, 124, 0, 492, 493, 5, 50, 0, 0, 493, 597, 3, 24, 12, 0, 494, 496, 5, 67, 0, 0, 495, 497, 3, 24, 12, 0, 496, 495, 1, 0, 0, 0, 496, 497, 1, 0, 0, 0, 497, 597, 1, 0, 0, 0, 498, 499, 5, 103, 0, 0, 499, 502, 5, 81, 0, 0, 500, 501, 5, 78, 0, 0, 501, 503, 5, 56, 0, 0, 502, 500, 1, 0, 0, 0, 502, 503, 1, 0, 0, 0, 503, 504, 1, 0, 0, 0, 504, 507, 3, 248, 124, 0, 505, 506, 5, 80, 0, 0, 506, 508, 3, 24, 12, 0, 507, 505, 1, 0, 0, 0, 507, 508, 1, 0, 0, 0, 508, 597, 1, 0, 0, 0, 509, 510, 5, 103, 0, 0, 510, 513, 5, 133, 0, 0, 511, 512, 5, 78, 0, 0, 512, 514, 5, 56, 0, 0, 513, 511, 1, 0, 0, 0, 513, 514, 1, 0, 0, 0, 514, 515, 1, 0, 0, 0, 515, 518, 3, 248, 124, 0, 516, 517, 5, 80, 0, 0, 517, 519, 3, 24, 12, 0, 518, 516, 1, 0, 0, 0, 518, 519, 1, 0, 0, 0, 519, 597, 1, 0, 0, 0, 520, 521, 5, 109, 0, 0, 521, 524, 5, 26, 0, 0, 522, 523, 5, 78, 0, 0, 523, 525, 5, 56, 0, 0, 524, 522, 1, 0, 0, 0, 524, 525, 1, 0, 0, 0, 525, 526, 1, 0, 0, 0, 526, 527, 3, 248, 124, 0, 527, 528, 3, 98, 49, 0, 528, 597, 1, 0, 0, 0, 529, 530, 5, 109, 0, 0, 530, 533, 5, 26, 0, 0, 531, 532, 5, 78, 0, 0, 532, 534, 5, 56, 0, 0, 533, 531, 1, 0, 0, 0, 533, 534, 1, 0, 0, 0, 534, 535, 1, 0, 0, 0, 535, 536, 3, 248, 124, 0, 536, 537, 5, 27, 0, 0, 537, 538, 5, 254, 0, 0, 538, 597, 1, 0, 0, 0, 539, 540, 5, 109, 0, 0, 540, 543, 5, 26, 0, 0, 541, 542, 5, 78, 0, 0, 542, 544, 5, 56, 0, 0, 543, 541, 1, 0, 0, 0, 543, 544, 1, 0, 0, 0, 544, 545, 1, 0, 0, 0, 545, 546, 3, 248, 124, 0, 546, 547, 5, 138, 0, 0, 547, 548, 3, 22, 11, 0, 548, 597, 1, 0, 0, 0, 549, 550, 5, 109, 0, 0, 550, 553, 5, 26, 0, 0, 551, 552, 5, 78, 0, 0, 552, 554, 5, 56, 0, 0, 553, 551, 1, 0, 0, 0, 553, 554, 1, 0, 0, 0, 554, 555, 1, 0, 0, 0, 555, 597, 3, 90, 45, 0, 556, 557, 5, 109, 0, 0, 557, 558, 5, 122, 0, 0, 558, 559, 5, 18, 0, 0, 559, 597, 3, 240, 120, 0, 560, 561, 5, 109, 0, 0, 561, 597, 3, 84, 42, 0, 562, 563, 5, 111, 0, 0, 563, 573, 3, 24, 12, 0, 564, 565, 5, 170, 0, 0, 565, 566, 5, 47, 0, 0, 566, 574, 5, 254, 0, 0, 567, 568, 5, 170, 0, 0, 568, 569, 5, 187, 0, 0, 569, 574, 5, 254, 0, 0, 570, 571, 5, 170, 0, 0, 571, 572, 5, 162, 0, 0, 572, 574, 3, 254, 127, 0, 573, 564, 1, 0, 0, 0, 573, 567, 1, 0, 0, 0, 573, 570, 1, 0, 0, 0, 574, 597, 1, 0, 0, 0, 575, 576, 5, 138, 0, 0, 576, 597, 5, 177, 0, 0, 577, 578, 5, 139, 0, 0, 578, 581, 5, 26, 0, 0, 579, 580, 5, 78, 0, 0, 580, 582, 5, 56, 0, 0, 581, 579, 1, 0, 0, 0, 581, 582, 1, 0, 0, 0, 582, 583, 1, 0, 0, 0, 583, 584, 3, 248, 124, 0, 584, 585, 5, 170, 0, 0, 585, 586, 3, 248, 124, 0, 586, 597, 1, 0, 0, 0, 587, 588, 5, 140, 0, 0, 588, 589, 3, 24, 12, 0, 589, 590, 5, 68, 0, 0, 590, 591, 3, 254, 127, 0, 591, 597, 1, 0, 0, 0, 592, 593, 5, 181, 0, 0, 593, 594, 3, 18, 9, 0, 594, 595, 3, 172, 86, 0, 595, 597, 1, 0, 0, 0, 596, 382, 1, 0, 0, 0, 596, 394, 1, 0, 0, 0, 596, 406, 1, 0, 0, 0, 596, 418, 1, 0, 0, 0, 596, 424, 1, 0, 0, 0, 596, 435, 1, 0, 0, 0, 596, 446, 1, 0, 0, 0, 596, 457, 1, 0, 0, 0, 596, 466, 1, 0, 0, 0, 596, 469, 1, 0, 0, 0, 596, 471, 1, 0, 0, 0, 596, 478, 1, 0, 0, 0, 596, 485, 1, 0, 0, 0, 596, 492, 1, 0, 0, 0, 596, 494, 1, 0, 0, 0, 596, 498, 1, 0, 0, 0, 596, 509, 1, 0, 0, 0, 596, 520, 1, 0, 0, 0, 596, 529, 1, 0, 0, 0, 596, 539, 1, 0, 0, 0, 596, 549, 1, 0, 0, 0, 596, 556, 1, 0, 0, 0, 596, 560, 1, 0, 0, 0, 596, 562, 1, 0, 0, 0, 596, 575, 1, 0, 0, 0, 596, 577, 1, 0, 0, 0, 596, 587, 1, 0, 0, 0, 596, 592, 1, 0, 0, 0, 597, 17, 1, 0, 0, 0, 598, 603, 3, 20, 10, 0, 599, 600, 5, 260, 0, 0, 600, 602, 3, 20, 10, 0, 601, 599, 1, 0, 0, 0, 602, 605, 1, 0, 0, 0, 603, 601, 1, 0, 0, 0, 603, 604, 1, 0, 0, 0, 604, 19, 1, 0, 0, 0, 605, 603, 1, 0, 0, 0, 606, 607, 3, 248, 124, 0, 607, 608, 5, 265, 0, 0, 608, 609, 3, 240, 120, 0, 609, 21, 1, 0, 0, 0, 610, 611, 7, 0, 0, 0, 611, 23, 1, 0, 0, 0, 612, 613, 5, 126, 0, 0, 613, 618, 3, 240, 120, 0, 614, 615, 5, 126, 0, 0, 615, 616, 5, 77, 0, 0, 616, 618, 5, 254, 0, 0, 617, 612, 1, 0, 0, 0, 617, 614, 1, 0, 0, 0, 618, 25, 1, 0, 0, 0, 619, 620, 5, 15, 0, 0, 620, 621, 5, 46, 0, 0, 621, 623, 3, 254, 127, 0, 622, 624, 3, 66, 33, 0, 623, 622, 1, 0, 0, 0, 623, 624, 1, 0, 0, 0, 624, 27, 1, 0, 0, 0, 625, 626, 5, 21, 0, 0, 626, 627, 5, 162, 0, 0, 627, 629, 3, 254, 127, 0, 628, 630, 3, 24, 12, 0, 629, 628, 1, 0, 0, 0, 629, 630, 1, 0, 0, 0, 630, 29, 1, 0, 0, 0, 631, 632, 5, 40, 0, 0, 632, 633, 5, 68, 0, 0, 633, 635, 3, 254, 127, 0, 634, 636, 3, 66, 33, 0, 635, 634, 1, 0, 0, 0, 635, 636, 1, 0, 0, 0, 636, 638, 1, 0, 0, 0, 637, 639, 3, 172, 86, 0, 638, 637, 1, 0, 0, 0, 638, 639, 1, 0, 0, 0, 639, 31, 1, 0, 0, 0, 640, 648, 5, 15, 0, 0, 641, 644, 5, 29, 0, 0, 642, 643, 5, 121, 0, 0, 643, 645, 5, 140, 0, 0, 644, 642, 1, 0, 0, 0, 644, 645, 1, 0, 0, 0, 645, 648, 1, 0, 0, 0, 646, 648, 5, 140, 0, 0, 647, 640, 1, 0, 0, 0, 647, 641, 1, 0, 0, 0, 647, 646, 1, 0, 0, 0, 648, 650, 1, 0, 0, 0, 649, 651, 5, 164, 0, 0, 650, 649, 1, 0, 0, 0, 650, 651, 1, 0, 0, 0, 651, 652, 1, 0, 0, 0, 652, 656, 5, 162, 0, 0, 653, 654, 5, 78, 0, 0, 654, 655, 5, 115, 0, 0, 655, 657, 5, 56, 0, 0, 656, 653, 1, 0, 0, 0, 656, 657, 1, 0, 0, 0, 657, 658, 1, 0, 0, 0, 658, 660, 3, 254, 127, 0, 659, 661, 3, 68, 34, 0, 660, 659, 1, 0, 0, 0, 660, 661, 1, 0, 0, 0, 661, 663, 1, 0, 0, 0, 662, 664, 3, 66, 33, 0, 663, 662, 1, 0, 0, 0, 663, 664, 1, 0, 0, 0, 664, 666, 1, 0, 0, 0, 665, 667, 3, 74, 37, 0, 666, 665, 1, 0, 0, 0, 666, 667, 1, 0, 0, 0, 667, 669, 1, 0, 0, 0, 668, 670, 3, 76, 38, 0, 669, 668, 1, 0, 0, 0, 669, 670, 1, 0, 0, 0, 670, 672, 1, 0, 0, 0, 671, 673, 3, 72, 36, 0, 672, 671, 1, 0, 0, 0, 672, 673, 1, 0, 0, 0, 673, 33, 1, 0, 0, 0, 674, 675, 7, 1, 0, 0, 675, 679, 5, 33, 0, 0, 676, 677, 5, 78, 0, 0, 677, 678, 5, 115, 0, 0, 678, 680, 5, 56, 0, 0, 679, 676, 1, 0, 0, 0, 679, 680, 1, 0, 0, 0, 680, 681, 1, 0, 0, 0, 681, 683, 3, 276, 138, 0, 682, 684, 3, 66, 33, 0, 683, 682, 1, 0, 0, 0, 683, 684, 1, 0, 0, 0, 684, 685, 1, 0, 0, 0, 685, 686, 3, 86, 43, 0, 686, 35, 1, 0, 0, 0, 687, 695, 5, 15, 0, 0, 688, 691, 5, 29, 0, 0, 689, 690, 5, 121, 0, 0, 690, 692, 5, 140, 0, 0, 691, 689, 1, 0, 0, 0, 691, 692, 1, 0, 0, 0, 692, 695, 1, 0, 0, 0, 693, 695, 5, 140, 0, 0, 694, 687, 1, 0, 0, 0, 694, 688, 1, 0, 0, 0, 694, 693, 1, 0, 0, 0, 695, 696, 1, 0, 0, 0, 696, 700, 5, 46, 0, 0, 697, 698, 5, 78, 0, 0, 698, 699, 5, 115, 0, 0, 699, 701, 5, 56, 0, 0, 700, 697, 1, 0, 0, 0, 700, 701, 1, 0, 0, 0, 701, 702, 1, 0, 0, 0, 702, 704, 3, 254, 127, 0, 703, 705, 3, 68, 34, 0, 704, 703, 1, 0, 0, 0, 704, 705, 1, 0, 0, 0, 705, 707, 1, 0, 0, 0, 706, 708, 3, 66, 33, 0, 707, 706, 1, 0, 0, 0, 707, 708, 1, 0, 0, 0, 708, 709, 1, 0, 0, 0, 709, 710, 3, 46, 23, 0, 710, 711, 3, 50, 25, 0, 711, 37, 1, 0, 0, 0, 712, 713, 7, 1, 0, 0, 713, 714, 5, 100, 0, 0, 714, 718, 5, 186, 0, 0, 715, 716, 5, 78, 0, 0, 716, 717, 5, 115, 0, 0, 717, 719, 5, 56, 0, 0, 718, 715, 1, 0, 0, 0, 718, 719, 1, 0, 0, 0, 719, 720, 1, 0, 0, 0, 720, 722, 3, 254, 127, 0, 721, 723, 3, 68, 34, 0, 722, 721, 1, 0, 0, 0, 722, 723, 1, 0, 0, 0, 723, 725, 1, 0, 0, 0, 724, 726, 3, 66, 33, 0, 725, 724, 1, 0, 0, 0, 725, 726, 1, 0, 0, 0, 726, 732, 1, 0, 0, 0, 727, 728, 5, 193, 0, 0, 728, 730, 5, 168, 0, 0, 729, 731, 5, 252, 0, 0, 730, 729, 1, 0, 0, 0, 730, 731, 1, 0, 0, 0, 731, 733, 1, 0, 0, 0, 732, 727, 1, 0, 0, 0, 732, 733, 1, 0, 0, 0, 733, 735, 1, 0, 0, 0, 734, 736, 3, 70, 35, 0, 735, 734, 1, 0, 0, 0, 735, 736, 1, 0, 0, 0, 736, 738, 1, 0, 0, 0, 737, 739, 3, 74, 37, 0, 738, 737, 1, 0, 0, 0, 738, 739, 1, 0, 0, 0, 739, 740, 1, 0, 0, 0, 740, 741, 3, 72, 36, 0, 741, 39, 1, 0, 0, 0, 742, 743, 7, 1, 0, 0, 743, 744, 5, 104, 0, 0, 744, 748, 5, 186, 0, 0, 745, 746, 5, 78, 0, 0, 746, 747, 5, 115, 0, 0, 747, 749, 5, 56, 0, 0, 748, 745, 1, 0, 0, 0, 748, 749, 1, 0, 0, 0, 749, 750, 1, 0, 0, 0, 750, 752, 3, 254, 127, 0, 751, 753, 3, 68, 34, 0, 752, 751, 1, 0, 0, 0, 752, 753, 1, 0, 0, 0, 753, 755, 1, 0, 0, 0, 754, 756, 3, 66, 33, 0, 755, 754, 1, 0, 0, 0, 755, 756, 1, 0, 0, 0, 756, 758, 1, 0, 0, 0, 757, 759, 3, 74, 37, 0, 758, 757, 1, 0, 0, 0, 758, 759, 1, 0, 0, 0, 759, 765, 1, 0, 0, 0, 760, 766, 3, 70, 35, 0, 761, 763, 3, 76, 38, 0, 762, 764, 5, 129, 0, 0, 763, 762, 1, 0, 0, 0, 763, 764, 1, 0, 0, 0, 764, 766, 1, 0, 0, 0, 765, 760, 1, 0, 0, 0, 765, 761, 1, 0, 0, 0, 766, 767, 1, 0, 0, 0, 767, 768, 3, 72, 36, 0, 768, 41, 1, 0, 0, 0, 769, 772, 7, 1, 0, 0, 770, 771, 5, 121, 0, 0, 771, 773, 5, 140, 0, 0, 772, 770, 1, 0, 0, 0, 772, 773, 1, 0, 0, 0, 773, 774, 1, 0, 0, 0, 774, 778, 5, 186, 0, 0, 775, 776, 5, 78, 0, 0, 776, 777, 5, 115, 0, 0, 777, 779, 5, 56, 0, 0, 778, 775, 1, 0, 0, 0, 778, 779, 1, 0, 0, 0, 779, 780, 1, 0, 0, 0, 780, 782, 3, 254, 127, 0, 781, 783, 3, 68, 34, 0, 782, 781, 1, 0, 0, 0, 782, 783, 1, 0, 0, 0, 783, 785, 1, 0, 0, 0, 784, 786, 3, 66, 33, 0, 785, 784, 1, 0, 0, 0, 785, 786, 1, 0, 0, 0, 786, 788, 1, 0, 0, 0, 787, 789, 3, 74, 37, 0, 788, 787, 1, 0, 0, 0, 788, 789, 1, 0, 0, 0, 789, 790, 1, 0, 0, 0, 790, 791, 3, 72, 36, 0, 791, 43, 1, 0, 0, 0, 792, 799, 3, 34, 17, 0, 793, 799, 3, 36, 18, 0, 794, 799, 3, 38, 19, 0, 795, 799, 3, 40, 20, 0, 796, 799, 3, 32, 16, 0, 797, 799, 3, 42, 21, 0, 798, 792, 1, 0, 0, 0, 798, 793, 1, 0, 0, 0, 798, 794, 1, 0, 0, 0, 798, 795, 1, 0, 0, 0, 798, 796, 1, 0, 0, 0, 798, 797, 1, 0, 0, 0, 799, 45, 1, 0, 0, 0, 800, 801, 5, 271, 0, 0, 801, 806, 3, 48, 24, 0, 802, 803, 5, 260, 0, 0, 803, 805, 3, 48, 24, 0, 804, 802, 1, 0, 0, 0, 805, 808, 1, 0, 0, 0, 806, 804, 1, 0, 0, 0, 806, 807, 1, 0, 0, 0, 807, 809, 1, 0, 0, 0, 808, 806, 1, 0, 0, 0, 809, 810, 5, 281, 0, 0, 810, 47, 1, 0, 0, 0, 811, 812, 3, 276, 138, 0, 812, 834, 3, 234, 117, 0, 813, 814, 4, 24, 0, 1, 814, 815, 5, 38, 0, 0, 815, 816, 3, 266, 133, 0, 816, 817, 6, 24, -1, 0, 817, 833, 1, 0, 0, 0, 818, 819, 4, 24, 1, 1, 819, 820, 5, 58, 0, 0, 820, 821, 3, 240, 120, 0, 821, 822, 6, 24, -1, 0, 822, 833, 1, 0, 0, 0, 823, 824, 4, 24, 2, 1, 824, 825, 5, 75, 0, 0, 825, 833, 6, 24, -1, 0, 826, 827, 4, 24, 3, 1, 827, 828, 5, 83, 0, 0, 828, 833, 6, 24, -1, 0, 829, 830, 4, 24, 4, 1, 830, 831, 5, 89, 0, 0, 831, 833, 6, 24, -1, 0, 832, 813, 1, 0, 0, 0, 832, 818, 1, 0, 0, 0, 832, 823, 1, 0, 0, 0, 832, 826, 1, 0, 0, 0, 832, 829, 1, 0, 0, 0, 833, 836, 1, 0, 0, 0, 834, 832, 1, 0, 0, 0, 834, 835, 1, 0, 0, 0, 835, 49, 1, 0, 0, 0, 836, 834, 1, 0, 0, 0, 837, 839, 3, 52, 26, 0, 838, 837, 1, 0, 0, 0, 838, 839, 1, 0, 0, 0, 839, 862, 1, 0, 0, 0, 840, 841, 4, 25, 5, 1, 841, 842, 3, 56, 28, 0, 842, 843, 6, 25, -1, 0, 843, 861, 1, 0, 0, 0, 844, 845, 4, 25, 6, 1, 845, 846, 3, 58, 29, 0, 846, 847, 6, 25, -1, 0, 847, 861, 1, 0, 0, 0, 848, 849, 4, 25, 7, 1, 849, 850, 3, 60, 30, 0, 850, 851, 6, 25, -1, 0, 851, 861, 1, 0, 0, 0, 852, 853, 4, 25, 8, 1, 853, 854, 3, 62, 31, 0, 854, 855, 6, 25, -1, 0, 855, 861, 1, 0, 0, 0, 856, 857, 4, 25, 9, 1, 857, 858, 3, 64, 32, 0, 858, 859, 6, 25, -1, 0, 859, 861, 1, 0, 0, 0, 860, 840, 1, 0, 0, 0, 860, 844, 1, 0, 0, 0, 860, 848, 1, 0, 0, 0, 860, 852, 1, 0, 0, 0, 860, 856, 1, 0, 0, 0, 861, 864, 1, 0, 0, 0, 862, 860, 1, 0, 0, 0, 862, 863, 1, 0, 0, 0, 863, 51, 1, 0, 0, 0, 864, 862, 1, 0, 0, 0, 865, 866, 5, 132, 0, 0, 866, 867, 5, 91, 0, 0, 867, 868, 3, 236, 118, 0, 868, 53, 1, 0, 0, 0, 869, 876, 3, 276, 138, 0, 870, 873, 3, 276, 138, 0, 871, 872, 5, 271, 0, 0, 872, 874, 5, 281, 0, 0, 873, 871, 1, 0, 0, 0, 873, 874, 1, 0, 0, 0, 874, 877, 1, 0, 0, 0, 875, 877, 3, 266, 133, 0, 876, 870, 1, 0, 0, 0, 876, 875, 1, 0, 0, 0, 877, 55, 1, 0, 0, 0, 878, 879, 5, 155, 0, 0, 879, 880, 5, 271, 0, 0, 880, 881, 3, 276, 138, 0, 881, 885, 5, 271, 0, 0, 882, 884, 3, 54, 27, 0, 883, 882, 1, 0, 0, 0, 884, 887, 1, 0, 0, 0, 885, 883, 1, 0, 0, 0, 885, 886, 1, 0, 0, 0, 886, 888, 1, 0, 0, 0, 887, 885, 1, 0, 0, 0, 888, 889, 5, 281, 0, 0, 889, 890, 5, 281, 0, 0, 890, 57, 1, 0, 0, 0, 891, 892, 5, 97, 0, 0, 892, 902, 5, 271, 0, 0, 893, 903, 5, 252, 0, 0, 894, 895, 5, 107, 0, 0, 895, 896, 5, 252, 0, 0, 896, 897, 5, 105, 0, 0, 897, 903, 5, 252, 0, 0, 898, 899, 5, 105, 0, 0, 899, 900, 5, 252, 0, 0, 900, 901, 5, 107, 0, 0, 901, 903, 5, 252, 0, 0, 902, 893, 1, 0, 0, 0, 902, 894, 1, 0, 0, 0, 902, 898, 1, 0, 0, 0, 903, 904, 1, 0, 0, 0, 904, 905, 5, 281, 0, 0, 905, 59, 1, 0, 0, 0, 906, 907, 5, 94, 0, 0, 907, 908, 5, 271, 0, 0, 908, 909, 3, 276, 138, 0, 909, 913, 5, 271, 0, 0, 910, 912, 3, 54, 27, 0, 911, 910, 1, 0, 0, 0, 912, 915, 1, 0, 0, 0, 913, 911, 1, 0, 0, 0, 913, 914, 1, 0, 0, 0, 914, 916, 1, 0, 0, 0, 915, 913, 1, 0, 0, 0, 916, 917, 5, 281, 0, 0, 917, 918, 5, 281, 0, 0, 918, 61, 1, 0, 0, 0, 919, 920, 5, 136, 0, 0, 920, 931, 5, 271, 0, 0, 921, 922, 5, 107, 0, 0, 922, 923, 3, 276, 138, 0, 923, 924, 5, 105, 0, 0, 924, 925, 3, 276, 138, 0, 925, 932, 1, 0, 0, 0, 926, 927, 5, 105, 0, 0, 927, 928, 3, 276, 138, 0, 928, 929, 5, 107, 0, 0, 929, 930, 3, 276, 138, 0, 930, 932, 1, 0, 0, 0, 931, 921, 1, 0, 0, 0, 931, 926, 1, 0, 0, 0, 932, 933, 1, 0, 0, 0, 933, 934, 5, 281, 0, 0, 934, 63, 1, 0, 0, 0, 935, 936, 5, 153, 0, 0, 936, 937, 5, 271, 0, 0, 937, 938, 3, 206, 103, 0, 938, 939, 5, 281, 0, 0, 939, 65, 1, 0, 0, 0, 940, 941, 5, 119, 0, 0, 941, 944, 5, 23, 0, 0, 942, 945, 3, 276, 138, 0, 943, 945, 5, 254, 0, 0, 944, 942, 1, 0, 0, 0, 944, 943, 1, 0, 0, 0, 945, 67, 1, 0, 0, 0, 946, 947, 5, 184, 0, 0, 947, 948, 5, 254, 0, 0, 948, 69, 1, 0, 0, 0, 949, 950, 5, 170, 0, 0, 950, 951, 3, 254, 127, 0, 951, 71, 1, 0, 0, 0, 952, 953, 5, 10, 0, 0, 953, 954, 3, 154, 77, 0, 954, 73, 1, 0, 0, 0, 955, 956, 5, 271, 0, 0, 956, 961, 3, 88, 44, 0, 957, 958, 5, 260, 0, 0, 958, 960, 3, 88, 44, 0, 959, 957, 1, 0, 0, 0, 960, 963, 1, 0, 0, 0, 961, 959, 1, 0, 0, 0, 961, 962, 1, 0, 0, 0, 962, 964, 1, 0, 0, 0, 963, 961, 1, 0, 0, 0, 964, 965, 5, 281, 0, 0, 965, 971, 1, 0, 0, 0, 966, 967, 5, 10, 0, 0, 967, 971, 3, 254, 127, 0, 968, 969, 5, 10, 0, 0, 969, 971, 3, 252, 126, 0, 970, 955, 1, 0, 0, 0, 970, 966, 1, 0, 0, 0, 970, 968, 1, 0, 0, 0, 971, 75, 1, 0, 0, 0, 972, 999, 3, 86, 43, 0, 973, 974, 4, 38, 10, 1, 974, 975, 3, 178, 89, 0, 975, 976, 6, 38, -1, 0, 976, 998, 1, 0, 0, 0, 977, 978, 4, 38, 11, 1, 978, 979, 3, 78, 39, 0, 979, 980, 6, 38, -1, 0, 980, 998, 1, 0, 0, 0, 981, 982, 4, 38, 12, 1, 982, 983, 3, 80, 40, 0, 983, 984, 6, 38, -1, 0, 984, 998, 1, 0, 0, 0, 985, 986, 4, 38, 13, 1, 986, 987, 3, 82, 41, 0, 987, 988, 6, 38, -1, 0, 988, 998, 1, 0, 0, 0, 989, 990, 4, 38, 14, 1, 990, 991, 3, 84, 42, 0, 991, 992, 6, 38, -1, 0, 992, 998, 1, 0, 0, 0, 993, 994, 4, 38, 15, 1, 994, 995, 3, 186, 93, 0, 995, 996, 6, 38, -1, 0, 996, 998, 1, 0, 0, 0, 997, 973, 1, 0, 0, 0, 997, 977, 1, 0, 0, 0, 997, 981, 1, 0, 0, 0, 997, 985, 1, 0, 0, 0, 997, 989, 1, 0, 0, 0, 997, 993, 1, 0, 0, 0, 998, 1001, 1, 0, 0, 0, 999, 997, 1, 0, 0, 0, 999, 1000, 1, 0, 0, 0, 1000, 77, 1, 0, 0, 0, 1001, 999, 1, 0, 0, 0, 1002, 1003, 5, 126, 0, 0, 1003, 1004, 5, 18, 0, 0, 1004, 1005, 3, 240, 120, 0, 1005, 79, 1, 0, 0, 0, 1006, 1007, 5, 132, 0, 0, 1007, 1008, 5, 91, 0, 0, 1008, 1009, 3, 240, 120, 0, 1009, 81, 1, 0, 0, 0, 1010, 1011, 5, 147, 0, 0, 1011, 1012, 5, 18, 0, 0, 1012, 1013, 3, 240, 120, 0, 1013, 83, 1, 0, 0, 0, 1014, 1015, 5, 177, 0, 0, 1015, 1020, 3, 102, 51, 0, 1016, 1017, 5, 260, 0, 0, 1017, 1019, 3, 102, 51, 0, 1018, 1016, 1, 0, 0, 0, 1019, 1022, 1, 0, 0, 0, 1020, 1018, 1, 0, 0, 0, 1020, 1021, 1, 0, 0, 0, 1021, 85, 1, 0, 0, 0, 1022, 1020, 1, 0, 0, 0, 1023, 1025, 5, 53, 0, 0, 1024, 1026, 5, 265, 0, 0, 1025, 1024, 1, 0, 0, 0, 1025, 1026, 1, 0, 0, 0, 1026, 1027, 1, 0, 0, 0, 1027, 1033, 3, 278, 139, 0, 1028, 1030, 5, 271, 0, 0, 1029, 1031, 3, 236, 118, 0, 1030, 1029, 1, 0, 0, 0, 1030, 1031, 1, 0, 0, 0, 1031, 1032, 1, 0, 0, 0, 1032, 1034, 5, 281, 0, 0, 1033, 1028, 1, 0, 0, 0, 1033, 1034, 1, 0, 0, 0, 1034, 87, 1, 0, 0, 0, 1035, 1046, 3, 90, 45, 0, 1036, 1037, 5, 28, 0, 0, 1037, 1038, 3, 276, 138, 0, 1038, 1039, 5, 21, 0, 0, 1039, 1040, 3, 240, 120, 0, 1040, 1046, 1, 0, 0, 0, 1041, 1042, 5, 81, 0, 0, 1042, 1046, 3, 94, 47, 0, 1043, 1044, 5, 133, 0, 0, 1044, 1046, 3, 96, 48, 0, 1045, 1035, 1, 0, 0, 0, 1045, 1036, 1, 0, 0, 0, 1045, 1041, 1, 0, 0, 0, 1045, 1043, 1, 0, 0, 0, 1046, 89, 1, 0, 0, 0, 1047, 1048, 3, 248, 124, 0, 1048, 1050, 3, 234, 117, 0, 1049, 1051, 3, 92, 46, 0, 1050, 1049, 1, 0, 0, 0, 1050, 1051, 1, 0, 0, 0, 1051, 1054, 1, 0, 0, 0, 1052, 1053, 5, 27, 0, 0, 1053, 1055, 5, 254, 0, 0, 1054, 1052, 1, 0, 0, 0, 1054, 1055, 1, 0, 0, 0, 1055, 1057, 1, 0, 0, 0, 1056, 1058, 3, 98, 49, 0, 1057, 1056, 1, 0, 0, 0, 1057, 1058, 1, 0, 0, 0, 1058, 1061, 1, 0, 0, 0, 1059, 1060, 5, 177, 0, 0, 1060, 1062, 3, 240, 120, 0, 1061, 1059, 1, 0, 0, 0, 1061, 1062, 1, 0, 0, 0, 1062, 1080, 1, 0, 0, 0, 1063, 1065, 3, 248, 124, 0, 1064, 1066, 3, 234, 117, 0, 1065, 1064, 1, 0, 0, 0, 1065, 1066, 1, 0, 0, 0, 1066, 1067, 1, 0, 0, 0, 1067, 1070, 3, 92, 46, 0, 1068, 1069, 5, 27, 0, 0, 1069, 1071, 5, 254, 0, 0, 1070, 1068, 1, 0, 0, 0, 1070, 1071, 1, 0, 0, 0, 1071, 1073, 1, 0, 0, 0, 1072, 1074, 3, 98, 49, 0, 1073, 1072, 1, 0, 0, 0, 1073, 1074, 1, 0, 0, 0, 1074, 1077, 1, 0, 0, 0, 1075, 1076, 5, 177, 0, 0, 1076, 1078, 3, 240, 120, 0, 1077, 1075, 1, 0, 0, 0, 1077, 1078, 1, 0, 0, 0, 1078, 1080, 1, 0, 0, 0, 1079, 1047, 1, 0, 0, 0, 1079, 1063, 1, 0, 0, 0, 1080, 91, 1, 0, 0, 0, 1081, 1082, 7, 2, 0, 0, 1082, 1083, 3, 240, 120, 0, 1083, 93, 1, 0, 0, 0, 1084, 1085, 3, 248, 124, 0, 1085, 1086, 3, 240, 120, 0, 1086, 1087, 5, 178, 0, 0, 1087, 1088, 3, 234, 117, 0, 1088, 1089, 5, 72, 0, 0, 1089, 1090, 5, 252, 0, 0, 1090, 95, 1, 0, 0, 0, 1091, 1092, 3, 248, 124, 0, 1092, 1093, 3, 152, 76, 0, 1093, 97, 1, 0, 0, 0, 1094, 1095, 5, 24, 0, 0, 1095, 1096, 5, 271, 0, 0, 1096, 1101, 3, 100, 50, 0, 1097, 1098, 5, 260, 0, 0, 1098, 1100, 3, 100, 50, 0, 1099, 1097, 1, 0, 0, 0, 1100, 1103, 1, 0, 0, 0, 1101, 1099, 1, 0, 0, 0, 1101, 1102, 1, 0, 0, 0, 1102, 1104, 1, 0, 0, 0, 1103, 1101, 1, 0, 0, 0, 1104, 1105, 5, 281, 0, 0, 1105, 99, 1, 0, 0, 0, 1106, 1112, 3, 276, 138, 0, 1107, 1109, 5, 271, 0, 0, 1108, 1110, 3, 236, 118, 0, 1109, 1108, 1, 0, 0, 0, 1109, 1110, 1, 0, 0, 0, 1110, 1111, 1, 0, 0, 0, 1111, 1113, 5, 281, 0, 0, 1112, 1107, 1, 0, 0, 0, 1112, 1113, 1, 0, 0, 0, 1113, 101, 1, 0, 0, 0, 1114, 1122, 3, 240, 120, 0, 1115, 1123, 5, 40, 0, 0, 1116, 1117, 5, 170, 0, 0, 1117, 1118, 5, 47, 0, 0, 1118, 1123, 5, 254, 0, 0, 1119, 1120, 5, 170, 0, 0, 1120, 1121, 5, 187, 0, 0, 1121, 1123, 5, 254, 0, 0, 1122, 1115, 1, 0, 0, 0, 1122, 1116, 1, 0, 0, 0, 1122, 1119, 1, 0, 0, 0, 1122, 1123, 1, 0, 0, 0, 1123, 103, 1, 0, 0, 0, 1124, 1126, 7, 3, 0, 0, 1125, 1127, 5, 162, 0, 0, 1126, 1125, 1, 0, 0, 0, 1126, 1127, 1, 0, 0, 0, 1127, 1128, 1, 0, 0, 0, 1128, 1129, 3, 250, 125, 0, 1129, 105, 1, 0, 0, 0, 1130, 1131, 7, 4, 0, 0, 1131, 1134, 5, 33, 0, 0, 1132, 1133, 5, 78, 0, 0, 1133, 1135, 5, 56, 0, 0, 1134, 1132, 1, 0, 0, 0, 1134, 1135, 1, 0, 0, 0, 1135, 1136, 1, 0, 0, 0, 1136, 1138, 3, 260, 130, 0, 1137, 1139, 3, 66, 33, 0, 1138, 1137, 1, 0, 0, 0, 1138, 1139, 1, 0, 0, 0, 1139, 1162, 1, 0, 0, 0, 1140, 1147, 7, 4, 0, 0, 1141, 1148, 5, 46, 0, 0, 1142, 1144, 5, 164, 0, 0, 1143, 1142, 1, 0, 0, 0, 1143, 1144, 1, 0, 0, 0, 1144, 1145, 1, 0, 0, 0, 1145, 1148, 5, 162, 0, 0, 1146, 1148, 5, 186, 0, 0, 1147, 1141, 1, 0, 0, 0, 1147, 1143, 1, 0, 0, 0, 1147, 1146, 1, 0, 0, 0, 1148, 1151, 1, 0, 0, 0, 1149, 1150, 5, 78, 0, 0, 1150, 1152, 5, 56, 0, 0, 1151, 1149, 1, 0, 0, 0, 1151, 1152, 1, 0, 0, 0, 1152, 1153, 1, 0, 0, 0, 1153, 1155, 3, 254, 127, 0, 1154, 1156, 3, 66, 33, 0, 1155, 1154, 1, 0, 0, 0, 1155, 1156, 1, 0, 0, 0, 1156, 1159, 1, 0, 0, 0, 1157, 1158, 5, 114, 0, 0, 1158, 1160, 5, 39, 0, 0, 1159, 1157, 1, 0, 0, 0, 1159, 1160, 1, 0, 0, 0, 1160, 1162, 1, 0, 0, 0, 1161, 1130, 1, 0, 0, 0, 1161, 1140, 1, 0, 0, 0, 1162, 107, 1, 0, 0, 0, 1163, 1164, 5, 56, 0, 0, 1164, 1165, 5, 33, 0, 0, 1165, 1177, 3, 260, 130, 0, 1166, 1173, 5, 56, 0, 0, 1167, 1174, 5, 46, 0, 0, 1168, 1170, 5, 164, 0, 0, 1169, 1168, 1, 0, 0, 0, 1169, 1170, 1, 0, 0, 0, 1170, 1171, 1, 0, 0, 0, 1171, 1174, 5, 162, 0, 0, 1172, 1174, 5, 186, 0, 0, 1173, 1167, 1, 0, 0, 0, 1173, 1169, 1, 0, 0, 0, 1173, 1172, 1, 0, 0, 0, 1173, 1174, 1, 0, 0, 0, 1174, 1175, 1, 0, 0, 0, 1175, 1177, 3, 254, 127, 0, 1176, 1163, 1, 0, 0, 0, 1176, 1166, 1, 0, 0, 0, 1177, 109, 1, 0, 0, 0, 1178, 1179, 5, 57, 0, 0, 1179, 1200, 3, 6, 3, 0, 1180, 1181, 5, 57, 0, 0, 1181, 1182, 5, 13, 0, 0, 1182, 1200, 3, 6, 3, 0, 1183, 1184, 5, 57, 0, 0, 1184, 1185, 5, 160, 0, 0, 1185, 1200, 3, 6, 3, 0, 1186, 1187, 5, 57, 0, 0, 1187, 1188, 5, 127, 0, 0, 1188, 1200, 3, 6, 3, 0, 1189, 1190, 5, 57, 0, 0, 1190, 1191, 5, 128, 0, 0, 1191, 1200, 3, 6, 3, 0, 1192, 1193, 5, 57, 0, 0, 1193, 1194, 5, 135, 0, 0, 1194, 1195, 5, 175, 0, 0, 1195, 1200, 3, 6, 3, 0, 1196, 1197, 5, 57, 0, 0, 1197, 1198, 5, 54, 0, 0, 1198, 1200, 3, 6, 3, 0, 1199, 1178, 1, 0, 0, 0, 1199, 1180, 1, 0, 0, 0, 1199, 1183, 1, 0, 0, 0, 1199, 1186, 1, 0, 0, 0, 1199, 1189, 1, 0, 0, 0, 1199, 1192, 1, 0, 0, 0, 1199, 1196, 1, 0, 0, 0, 1200, 111, 1, 0, 0, 0, 1201, 1203, 5, 195, 0, 0, 1202, 1204, 3, 66, 33, 0, 1203, 1202, 1, 0, 0, 0, 1203, 1204, 1, 0, 0, 0, 1204, 1205, 1, 0, 0, 0, 1205, 1210, 3, 136, 68, 0, 1206, 1207, 5, 260, 0, 0, 1207, 1209, 3, 136, 68, 0, 1208, 1206, 1, 0, 0, 0, 1209, 1212, 1, 0, 0, 0, 1210, 1208, 1, 0, 0, 0, 1210, 1211, 1, 0, 0, 0, 1211, 1213, 1, 0, 0, 0, 1212, 1210, 1, 0, 0, 0, 1213, 1224, 5, 119, 0, 0, 1214, 1225, 3, 260, 130, 0, 1215, 1225, 3, 254, 127, 0, 1216, 1217, 5, 256, 0, 0, 1217, 1219, 5, 263, 0, 0, 1218, 1216, 1, 0, 0, 0, 1218, 1219, 1, 0, 0, 0, 1219, 1222, 1, 0, 0, 0, 1220, 1223, 5, 256, 0, 0, 1221, 1223, 3, 276, 138, 0, 1222, 1220, 1, 0, 0, 0, 1222, 1221, 1, 0, 0, 0, 1223, 1225, 1, 0, 0, 0, 1224, 1214, 1, 0, 0, 0, 1224, 1215, 1, 0, 0, 0, 1224, 1218, 1, 0, 0, 0, 1225, 1226, 1, 0, 0, 0, 1226, 1227, 5, 170, 0, 0, 1227, 1231, 3, 114, 57, 0, 1228, 1229, 5, 193, 0, 0, 1229, 1230, 5, 195, 0, 0, 1230, 1232, 5, 245, 0, 0, 1231, 1228, 1, 0, 0, 0, 1231, 1232, 1, 0, 0, 0, 1232, 1236, 1, 0, 0, 0, 1233, 1234, 5, 193, 0, 0, 1234, 1235, 5, 140, 0, 0, 1235, 1237, 5, 245, 0, 0, 1236, 1233, 1, 0, 0, 0, 1236, 1237, 1, 0, 0, 0, 1237, 113, 1, 0, 0, 0, 1238, 1243, 3, 116, 58, 0, 1239, 1240, 5, 260, 0, 0, 1240, 1242, 3, 116, 58, 0, 1241, 1239, 1, 0, 0, 0, 1242, 1245, 1, 0, 0, 0, 1243, 1241, 1, 0, 0, 0, 1243, 1244, 1, 0, 0, 0, 1244, 115, 1, 0, 0, 0, 1245, 1243, 1, 0, 0, 0, 1246, 1249, 5, 205, 0, 0, 1247, 1249, 3, 276, 138, 0, 1248, 1246, 1, 0, 0, 0, 1248, 1247, 1, 0, 0, 0, 1249, 117, 1, 0, 0, 0, 1250, 1252, 5, 149, 0, 0, 1251, 1253, 3, 140, 70, 0, 1252, 1251, 1, 0, 0, 0, 1252, 1253, 1, 0, 0, 0, 1253, 119, 1, 0, 0, 0, 1254, 1256, 5, 85, 0, 0, 1255, 1257, 3, 140, 70, 0, 1256, 1255, 1, 0, 0, 0, 1256, 1257, 1, 0, 0, 0, 1257, 121, 1, 0, 0, 0, 1258, 1260, 5, 29, 0, 0, 1259, 1261, 7, 5, 0, 0, 1260, 1259, 1, 0, 0, 0, 1260, 1261, 1, 0, 0, 0, 1261, 1270, 1, 0, 0, 0, 1262, 1266, 5, 29, 0, 0, 1263, 1264, 5, 203, 0, 0, 1264, 1267, 5, 164, 0, 0, 1265, 1267, 5, 164, 0, 0, 1266, 1263, 1, 0, 0, 0, 1266, 1265, 1, 0, 0, 0, 1266, 1267, 1, 0, 0, 0, 1267, 1268, 1, 0, 0, 0, 1268, 1270, 5, 162, 0, 0, 1269, 1258, 1, 0, 0, 0, 1269, 1262, 1, 0, 0, 0, 1270, 123, 1, 0, 0, 0, 1271, 1273, 5, 50, 0, 0, 1272, 1274, 7, 6, 0, 0, 1273, 1272, 1, 0, 0, 0, 1273, 1274, 1, 0, 0, 0, 1274, 125, 1, 0, 0, 0, 1275, 1277, 5, 154, 0, 0, 1276, 1278, 7, 7, 0, 0, 1277, 1276, 1, 0, 0, 0, 1277, 1278, 1, 0, 0, 0, 1278, 127, 1, 0, 0, 0, 1279, 1281, 5, 231, 0, 0, 1280, 1282, 5, 220, 0, 0, 1281, 1280, 1, 0, 0, 0, 1281, 1282, 1, 0, 0, 0, 1282, 1287, 1, 0, 0, 0, 1283, 1287, 5, 232, 0, 0, 1284, 1287, 5, 233, 0, 0, 1285, 1287, 5, 234, 0, 0, 1286, 1279, 1, 0, 0, 0, 1286, 1283, 1, 0, 0, 0, 1286, 1284, 1, 0, 0, 0, 1286, 1285, 1, 0, 0, 0, 1287, 129, 1, 0, 0, 0, 1288, 1289, 7, 8, 0, 0, 1289, 131, 1, 0, 0, 0, 1290, 1291, 7, 9, 0, 0, 1291, 133, 1, 0, 0, 0, 1292, 1294, 5, 5, 0, 0, 1293, 1295, 7, 10, 0, 0, 1294, 1293, 1, 0, 0, 0, 1294, 1295, 1, 0, 0, 0, 1295, 1297, 1, 0, 0, 0, 1296, 1298, 3, 140, 70, 0, 1297, 1296, 1, 0, 0, 0, 1297, 1298, 1, 0, 0, 0, 1298, 1385, 1, 0, 0, 0, 1299, 1301, 7, 10, 0, 0, 1300, 1302, 3, 140, 70, 0, 1301, 1300, 1, 0, 0, 0, 1301, 1302, 1, 0, 0, 0, 1302, 1385, 1, 0, 0, 0, 1303, 1304, 5, 5, 0, 0, 1304, 1385, 5, 162, 0, 0, 1305, 1307, 5, 5, 0, 0, 1306, 1308, 7, 11, 0, 0, 1307, 1306, 1, 0, 0, 0, 1307, 1308, 1, 0, 0, 0, 1308, 1309, 1, 0, 0, 0, 1309, 1311, 5, 26, 0, 0, 1310, 1312, 3, 140, 70, 0, 1311, 1310, 1, 0, 0, 0, 1311, 1312, 1, 0, 0, 0, 1312, 1385, 1, 0, 0, 0, 1313, 1314, 7, 11, 0, 0, 1314, 1316, 5, 26, 0, 0, 1315, 1317, 3, 140, 70, 0, 1316, 1315, 1, 0, 0, 0, 1316, 1317, 1, 0, 0, 0, 1317, 1385, 1, 0, 0, 0, 1318, 1320, 5, 5, 0, 0, 1319, 1321, 7, 12, 0, 0, 1320, 1319, 1, 0, 0, 0, 1320, 1321, 1, 0, 0, 0, 1321, 1322, 1, 0, 0, 0, 1322, 1385, 5, 81, 0, 0, 1323, 1325, 7, 12, 0, 0, 1324, 1323, 1, 0, 0, 0, 1324, 1325, 1, 0, 0, 0, 1325, 1326, 1, 0, 0, 0, 1326, 1385, 5, 81, 0, 0, 1327, 1329, 5, 5, 0, 0, 1328, 1330, 5, 109, 0, 0, 1329, 1328, 1, 0, 0, 0, 1329, 1330, 1, 0, 0, 0, 1330, 1331, 1, 0, 0, 0, 1331, 1332, 7, 13, 0, 0, 1332, 1385, 5, 18, 0, 0, 1333, 1334, 5, 109, 0, 0, 1334, 1335, 7, 13, 0, 0, 1335, 1385, 5, 18, 0, 0, 1336, 1338, 5, 5, 0, 0, 1337, 1336, 1, 0, 0, 0, 1337, 1338, 1, 0, 0, 0, 1338, 1340, 1, 0, 0, 0, 1339, 1341, 7, 14, 0, 0, 1340, 1339, 1, 0, 0, 0, 1340, 1341, 1, 0, 0, 0, 1341, 1342, 1, 0, 0, 0, 1342, 1385, 5, 28, 0, 0, 1343, 1345, 5, 5, 0, 0, 1344, 1346, 7, 15, 0, 0, 1345, 1344, 1, 0, 0, 0, 1345, 1346, 1, 0, 0, 0, 1346, 1347, 1, 0, 0, 0, 1347, 1385, 5, 177, 0, 0, 1348, 1349, 7, 15, 0, 0, 1349, 1385, 5, 177, 0, 0, 1350, 1351, 5, 5, 0, 0, 1351, 1385, 5, 153, 0, 0, 1352, 1357, 5, 5, 0, 0, 1353, 1354, 5, 5, 0, 0, 1354, 1357, 5, 109, 0, 0, 1355, 1357, 5, 109, 0, 0, 1356, 1352, 1, 0, 0, 0, 1356, 1353, 1, 0, 0, 0, 1356, 1355, 1, 0, 0, 0, 1357, 1358, 1, 0, 0, 0, 1358, 1385, 5, 244, 0, 0, 1359, 1361, 5, 5, 0, 0, 1360, 1359, 1, 0, 0, 0, 1360, 1361, 1, 0, 0, 0, 1361, 1362, 1, 0, 0, 0, 1362, 1363, 7, 16, 0, 0, 1363, 1385, 7, 17, 0, 0, 1364, 1366, 5, 5, 0, 0, 1365, 1364, 1, 0, 0, 0, 1365, 1366, 1, 0, 0, 0, 1366, 1367, 1, 0, 0, 0, 1367, 1368, 5, 67, 0, 0, 1368, 1385, 5, 126, 0, 0, 1369, 1370, 5, 5, 0, 0, 1370, 1372, 5, 186, 0, 0, 1371, 1373, 5, 198, 0, 0, 1372, 1371, 1, 0, 0, 0, 1372, 1373, 1, 0, 0, 0, 1373, 1385, 1, 0, 0, 0, 1374, 1375, 5, 5, 0, 0, 1375, 1376, 5, 100, 0, 0, 1376, 1377, 5, 186, 0, 0, 1377, 1385, 5, 198, 0, 0, 1378, 1379, 5, 198, 0, 0, 1379, 1385, 5, 186, 0, 0, 1380, 1381, 5, 5, 0, 0, 1381, 1382, 7, 18, 0, 0, 1382, 1383, 5, 109, 0, 0, 1383, 1385, 5, 135, 0, 0, 1384, 1292, 1, 0, 0, 0, 1384, 1299, 1, 0, 0, 0, 1384, 1303, 1, 0, 0, 0, 1384, 1305, 1, 0, 0, 0, 1384, 1313, 1, 0, 0, 0, 1384, 1318, 1, 0, 0, 0, 1384, 1324, 1, 0, 0, 0, 1384, 1327, 1, 0, 0, 0, 1384, 1333, 1, 0, 0, 0, 1384, 1337, 1, 0, 0, 0, 1384, 1343, 1, 0, 0, 0, 1384, 1348, 1, 0, 0, 0, 1384, 1350, 1, 0, 0, 0, 1384, 1356, 1, 0, 0, 0, 1384, 1360, 1, 0, 0, 0, 1384, 1365, 1, 0, 0, 0, 1384, 1369, 1, 0, 0, 0, 1384, 1374, 1, 0, 0, 0, 1384, 1378, 1, 0, 0, 0, 1384, 1380, 1, 0, 0, 0, 1385, 135, 1, 0, 0, 0, 1386, 1402, 3, 118, 59, 0, 1387, 1402, 3, 120, 60, 0, 1388, 1402, 3, 122, 61, 0, 1389, 1402, 3, 124, 62, 0, 1390, 1402, 5, 176, 0, 0, 1391, 1392, 5, 92, 0, 0, 1392, 1402, 5, 135, 0, 0, 1393, 1402, 5, 120, 0, 0, 1394, 1402, 3, 126, 63, 0, 1395, 1402, 3, 128, 64, 0, 1396, 1402, 3, 130, 65, 0, 1397, 1402, 3, 132, 66, 0, 1398, 1402, 3, 134, 67, 0, 1399, 1402, 5, 4, 0, 0, 1400, 1402, 5, 246, 0, 0, 1401, 1386, 1, 0, 0, 0, 1401, 1387, 1, 0, 0, 0, 1401, 1388, 1, 0, 0, 0, 1401, 1389, 1, 0, 0, 0, 1401, 1390, 1, 0, 0, 0, 1401, 1391, 1, 0, 0, 0, 1401, 1393, 1, 0, 0, 0, 1401, 1394, 1, 0, 0, 0, 1401, 1395, 1, 0, 0, 0, 1401, 1396, 1, 0, 0, 0, 1401, 1397, 1, 0, 0, 0, 1401, 1398, 1, 0, 0, 0, 1401, 1399, 1, 0, 0, 0, 1401, 1400, 1, 0, 0, 0, 1402, 137, 1, 0, 0, 0, 1403, 1404, 5, 85, 0, 0, 1404, 1406, 5, 87, 0, 0, 1405, 1407, 5, 162, 0, 0, 1406, 1405, 1, 0, 0, 0, 1406, 1407, 1, 0, 0, 0, 1407, 1411, 1, 0, 0, 0, 1408, 1412, 3, 254, 127, 0, 1409, 1410, 5, 70, 0, 0, 1410, 1412, 3, 252, 126, 0, 1411, 1408, 1, 0, 0, 0, 1411, 1409, 1, 0, 0, 0, 1412, 1414, 1, 0, 0, 0, 1413, 1415, 3, 140, 70, 0, 1414, 1413, 1, 0, 0, 0, 1414, 1415, 1, 0, 0, 0, 1415, 1416, 1, 0, 0, 0, 1416, 1417, 3, 142, 71, 0, 1417, 139, 1, 0, 0, 0, 1418, 1419, 5, 271, 0, 0, 1419, 1424, 3, 248, 124, 0, 1420, 1421, 5, 260, 0, 0, 1421, 1423, 3, 248, 124, 0, 1422, 1420, 1, 0, 0, 0, 1423, 1426, 1, 0, 0, 0, 1424, 1422, 1, 0, 0, 0, 1424, 1425, 1, 0, 0, 0, 1425, 1427, 1, 0, 0, 0, 1426, 1424, 1, 0, 0, 0, 1427, 1428, 5, 281, 0, 0, 1428, 141, 1, 0, 0, 0, 1429, 1430, 5, 66, 0, 0, 1430, 1439, 3, 276, 138, 0, 1431, 1439, 3, 144, 72, 0, 1432, 1434, 3, 154, 77, 0, 1433, 1435, 5, 282, 0, 0, 1434, 1433, 1, 0, 0, 0, 1434, 1435, 1, 0, 0, 0, 1435, 1436, 1, 0, 0, 0, 1436, 1437, 5, 0, 0, 1, 1437, 1439, 1, 0, 0, 0, 1438, 1429, 1, 0, 0, 0, 1438, 1431, 1, 0, 0, 0, 1438, 1432, 1, 0, 0, 0, 1439, 143, 1, 0, 0, 0, 1440, 1441, 5, 185, 0, 0, 1441, 1443, 5, 271, 0, 0, 1442, 1444, 3, 266, 133, 0, 1443, 1442, 1, 0, 0, 0, 1443, 1444, 1, 0, 0, 0, 1444, 1445, 1, 0, 0, 0, 1445, 1454, 5, 281, 0, 0, 1446, 1447, 5, 260, 0, 0, 1447, 1449, 5, 271, 0, 0, 1448, 1450, 3, 266, 133, 0, 1449, 1448, 1, 0, 0, 0, 1449, 1450, 1, 0, 0, 0, 1450, 1451, 1, 0, 0, 0, 1451, 1453, 5, 281, 0, 0, 1452, 1446, 1, 0, 0, 0, 1453, 1456, 1, 0, 0, 0, 1454, 1452, 1, 0, 0, 0, 1454, 1455, 1, 0, 0, 0, 1455, 145, 1, 0, 0, 0, 1456, 1454, 1, 0, 0, 0, 1457, 1458, 5, 92, 0, 0, 1458, 1460, 5, 112, 0, 0, 1459, 1461, 3, 66, 33, 0, 1460, 1459, 1, 0, 0, 0, 1460, 1461, 1, 0, 0, 0, 1461, 1462, 1, 0, 0, 0, 1462, 1464, 3, 172, 86, 0, 1463, 1465, 7, 19, 0, 0, 1464, 1463, 1, 0, 0, 0, 1464, 1465, 1, 0, 0, 0, 1465, 147, 1, 0, 0, 0, 1466, 1467, 5, 120, 0, 0, 1467, 1468, 5, 162, 0, 0, 1468, 1470, 3, 254, 127, 0, 1469, 1471, 3, 66, 33, 0, 1470, 1469, 1, 0, 0, 0, 1470, 1471, 1, 0, 0, 0, 1471, 1473, 1, 0, 0, 0, 1472, 1474, 3, 24, 12, 0, 1473, 1472, 1, 0, 0, 0, 1473, 1474, 1, 0, 0, 0, 1474, 1476, 1, 0, 0, 0, 1475, 1477, 5, 61, 0, 0, 1476, 1475, 1, 0, 0, 0, 1476, 1477, 1, 0, 0, 0, 1477, 1479, 1, 0, 0, 0, 1478, 1480, 5, 37, 0, 0, 1479, 1478, 1, 0, 0, 0, 1479, 1480, 1, 0, 0, 0, 1480, 149, 1, 0, 0, 0, 1481, 1482, 5, 139, 0, 0, 1482, 1483, 5, 162, 0, 0, 1483, 1484, 3, 254, 127, 0, 1484, 1485, 5, 170, 0, 0, 1485, 1493, 3, 254, 127, 0, 1486, 1487, 5, 260, 0, 0, 1487, 1488, 3, 254, 127, 0, 1488, 1489, 5, 170, 0, 0, 1489, 1490, 3, 254, 127, 0, 1490, 1492, 1, 0, 0, 0, 1491, 1486, 1, 0, 0, 0, 1492, 1495, 1, 0, 0, 0, 1493, 1491, 1, 0, 0, 0, 1493, 1494, 1, 0, 0, 0, 1494, 1497, 1, 0, 0, 0, 1495, 1493, 1, 0, 0, 0, 1496, 1498, 3, 66, 33, 0, 1497, 1496, 1, 0, 0, 0, 1497, 1498, 1, 0, 0, 0, 1498, 151, 1, 0, 0, 0, 1499, 1501, 5, 271, 0, 0, 1500, 1502, 3, 160, 80, 0, 1501, 1500, 1, 0, 0, 0, 1501, 1502, 1, 0, 0, 0, 1502, 1503, 1, 0, 0, 0, 1503, 1504, 5, 149, 0, 0, 1504, 1506, 3, 236, 118, 0, 1505, 1507, 3, 174, 87, 0, 1506, 1505, 1, 0, 0, 0, 1506, 1507, 1, 0, 0, 0, 1507, 1509, 1, 0, 0, 0, 1508, 1510, 3, 180, 90, 0, 1509, 1508, 1, 0, 0, 0, 1509, 1510, 1, 0, 0, 0, 1510, 1511, 1, 0, 0, 0, 1511, 1512, 5, 281, 0, 0, 1512, 153, 1, 0, 0, 0, 1513, 1519, 3, 156, 78, 0, 1514, 1515, 5, 180, 0, 0, 1515, 1516, 5, 4, 0, 0, 1516, 1518, 3, 156, 78, 0, 1517, 1514, 1, 0, 0, 0, 1518, 1521, 1, 0, 0, 0, 1519, 1517, 1, 0, 0, 0, 1519, 1520, 1, 0, 0, 0, 1520, 155, 1, 0, 0, 0, 1521, 1519, 1, 0, 0, 0, 1522, 1528, 3, 158, 79, 0, 1523, 1524, 5, 271, 0, 0, 1524, 1525, 3, 154, 77, 0, 1525, 1526, 5, 281, 0, 0, 1526, 1528, 1, 0, 0, 0, 1527, 1522, 1, 0, 0, 0, 1527, 1523, 1, 0, 0, 0, 1528, 157, 1, 0, 0, 0, 1529, 1531, 3, 160, 80, 0, 1530, 1529, 1, 0, 0, 0, 1530, 1531, 1, 0, 0, 0, 1531, 1532, 1, 0, 0, 0, 1532, 1534, 5, 149, 0, 0, 1533, 1535, 5, 48, 0, 0, 1534, 1533, 1, 0, 0, 0, 1534, 1535, 1, 0, 0, 0, 1535, 1537, 1, 0, 0, 0, 1536, 1538, 3, 162, 81, 0, 1537, 1536, 1, 0, 0, 0, 1537, 1538, 1, 0, 0, 0, 1538, 1539, 1, 0, 0, 0, 1539, 1541, 3, 236, 118, 0, 1540, 1542, 3, 164, 82, 0, 1541, 1540, 1, 0, 0, 0, 1541, 1542, 1, 0, 0, 0, 1542, 1544, 1, 0, 0, 0, 1543, 1545, 3, 166, 83, 0, 1544, 1543, 1, 0, 0, 0, 1544, 1545, 1, 0, 0, 0, 1545, 1547, 1, 0, 0, 0, 1546, 1548, 3, 168, 84, 0, 1547, 1546, 1, 0, 0, 0, 1547, 1548, 1, 0, 0, 0, 1548, 1550, 1, 0, 0, 0, 1549, 1551, 3, 170, 85, 0, 1550, 1549, 1, 0, 0, 0, 1550, 1551, 1, 0, 0, 0, 1551, 1553, 1, 0, 0, 0, 1552, 1554, 3, 172, 86, 0, 1553, 1552, 1, 0, 0, 0, 1553, 1554, 1, 0, 0, 0, 1554, 1556, 1, 0, 0, 0, 1555, 1557, 3, 174, 87, 0, 1556, 1555, 1, 0, 0, 0, 1556, 1557, 1, 0, 0, 0, 1557, 1560, 1, 0, 0, 0, 1558, 1559, 5, 193, 0, 0, 1559, 1561, 7, 20, 0, 0, 1560, 1558, 1, 0, 0, 0, 1560, 1561, 1, 0, 0, 0, 1561, 1564, 1, 0, 0, 0, 1562, 1563, 5, 193, 0, 0, 1563, 1565, 5, 172, 0, 0, 1564, 1562, 1, 0, 0, 0, 1564, 1565, 1, 0, 0, 0, 1565, 1567, 1, 0, 0, 0, 1566, 1568, 3, 176, 88, 0, 1567, 1566, 1, 0, 0, 0, 1567, 1568, 1, 0, 0, 0, 1568, 1570, 1, 0, 0, 0, 1569, 1571, 3, 178, 89, 0, 1570, 1569, 1, 0, 0, 0, 1570, 1571, 1, 0, 0, 0, 1571, 1573, 1, 0, 0, 0, 1572, 1574, 3, 182, 91, 0, 1573, 1572, 1, 0, 0, 0, 1573, 1574, 1, 0, 0, 0, 1574, 1576, 1, 0, 0, 0, 1575, 1577, 3, 184, 92, 0, 1576, 1575, 1, 0, 0, 0, 1576, 1577, 1, 0, 0, 0, 1577, 1579, 1, 0, 0, 0, 1578, 1580, 3, 186, 93, 0, 1579, 1578, 1, 0, 0, 0, 1579, 1580, 1, 0, 0, 0, 1580, 159, 1, 0, 0, 0, 1581, 1582, 5, 193, 0, 0, 1582, 1583, 3, 236, 118, 0, 1583, 161, 1, 0, 0, 0, 1584, 1585, 5, 171, 0, 0, 1585, 1588, 5, 252, 0, 0, 1586, 1587, 5, 193, 0, 0, 1587, 1589, 5, 167, 0, 0, 1588, 1586, 1, 0, 0, 0, 1588, 1589, 1, 0, 0, 0, 1589, 163, 1, 0, 0, 0, 1590, 1591, 5, 68, 0, 0, 1591, 1592, 3, 188, 94, 0, 1592, 165, 1, 0, 0, 0, 1593, 1595, 7, 21, 0, 0, 1594, 1593, 1, 0, 0, 0, 1594, 1595, 1, 0, 0, 0, 1595, 1596, 1, 0, 0, 0, 1596, 1597, 5, 9, 0, 0, 1597, 1598, 5, 90, 0, 0, 1598, 1599, 3, 236, 118, 0, 1599, 167, 1, 0, 0, 0, 1600, 1601, 5, 192, 0, 0, 1601, 1602, 3, 276, 138, 0, 1602, 1603, 5, 10, 0, 0, 1603, 1604, 5, 271, 0, 0, 1604, 1605, 3, 210, 105, 0, 1605, 1606, 5, 281, 0, 0, 1606, 169, 1, 0, 0, 0, 1607, 1608, 5, 131, 0, 0, 1608, 1609, 3, 240, 120, 0, 1609, 171, 1, 0, 0, 0, 1610, 1611, 5, 191, 0, 0, 1611, 1612, 3, 240, 120, 0, 1612, 173, 1, 0, 0, 0, 1613, 1614, 5, 73, 0, 0, 1614, 1621, 5, 18, 0, 0, 1615, 1616, 7, 20, 0, 0, 1616, 1617, 5, 271, 0, 0, 1617, 1618, 3, 236, 118, 0, 1618, 1619, 5, 281, 0, 0, 1619, 1622, 1, 0, 0, 0, 1620, 1622, 3, 236, 118, 0, 1621, 1615, 1, 0, 0, 0, 1621, 1620, 1, 0, 0, 0, 1622, 175, 1, 0, 0, 0, 1623, 1624, 5, 74, 0, 0, 1624, 1625, 3, 240, 120, 0, 1625, 177, 1, 0, 0, 0, 1626, 1627, 5, 122, 0, 0, 1627, 1628, 5, 18, 0, 0, 1628, 1629, 3, 200, 100, 0, 1629, 179, 1, 0, 0, 0, 1630, 1631, 5, 122, 0, 0, 1631, 1632, 5, 18, 0, 0, 1632, 1633, 3, 236, 118, 0, 1633, 181, 1, 0, 0, 0, 1634, 1635, 5, 99, 0, 0, 1635, 1636, 3, 198, 99, 0, 1636, 1637, 5, 18, 0, 0, 1637, 1638, 3, 236, 118, 0, 1638, 183, 1, 0, 0, 0, 1639, 1640, 5, 99, 0, 0, 1640, 1643, 3, 198, 99, 0, 1641, 1642, 5, 193, 0, 0, 1642, 1644, 5, 167, 0, 0, 1643, 1641, 1, 0, 0, 0, 1643, 1644, 1, 0, 0, 0, 1644, 185, 1, 0, 0, 0, 1645, 1646, 5, 153, 0, 0, 1646, 1647, 3, 206, 103, 0, 1647, 187, 1, 0, 0, 0, 1648, 1649, 6, 94, -1, 0, 1649, 1651, 3, 250, 125, 0, 1650, 1652, 5, 61, 0, 0, 1651, 1650, 1, 0, 0, 0, 1651, 1652, 1, 0, 0, 0, 1652, 1654, 1, 0, 0, 0, 1653, 1655, 3, 196, 98, 0, 1654, 1653, 1, 0, 0, 0, 1654, 1655, 1, 0, 0, 0, 1655, 1661, 1, 0, 0, 0, 1656, 1657, 5, 271, 0, 0, 1657, 1658, 3, 188, 94, 0, 1658, 1659, 5, 281, 0, 0, 1659, 1661, 1, 0, 0, 0, 1660, 1648, 1, 0, 0, 0, 1660, 1656, 1, 0, 0, 0, 1661, 1679, 1, 0, 0, 0, 1662, 1663, 10, 3, 0, 0, 1663, 1664, 3, 192, 96, 0, 1664, 1665, 3, 188, 94, 4, 1665, 1678, 1, 0, 0, 0, 1666, 1668, 10, 4, 0, 0, 1667, 1669, 7, 22, 0, 0, 1668, 1667, 1, 0, 0, 0, 1668, 1669, 1, 0, 0, 0, 1669, 1671, 1, 0, 0, 0, 1670, 1672, 3, 190, 95, 0, 1671, 1670, 1, 0, 0, 0, 1671, 1672, 1, 0, 0, 0, 1672, 1673, 1, 0, 0, 0, 1673, 1674, 5, 90, 0, 0, 1674, 1675, 3, 188, 94, 0, 1675, 1676, 3, 194, 97, 0, 1676, 1678, 1, 0, 0, 0, 1677, 1662, 1, 0, 0, 0, 1677, 1666, 1, 0, 0, 0, 1678, 1681, 1, 0, 0, 0, 1679, 1677, 1, 0, 0, 0, 1679, 1680, 1, 0, 0, 0, 1680, 189, 1, 0, 0, 0, 1681, 1679, 1, 0, 0, 0, 1682, 1684, 7, 23, 0, 0, 1683, 1682, 1, 0, 0, 0, 1683, 1684, 1, 0, 0, 0, 1684, 1685, 1, 0, 0, 0, 1685, 1692, 5, 84, 0, 0, 1686, 1688, 5, 84, 0, 0, 1687, 1689, 7, 23, 0, 0, 1688, 1687, 1, 0, 0, 0, 1688, 1689, 1, 0, 0, 0, 1689, 1692, 1, 0, 0, 0, 1690, 1692, 7, 23, 0, 0, 1691, 1683, 1, 0, 0, 0, 1691, 1686, 1, 0, 0, 0, 1691, 1690, 1, 0, 0, 0, 1692, 1726, 1, 0, 0, 0, 1693, 1695, 7, 24, 0, 0, 1694, 1693, 1, 0, 0, 0, 1694, 1695, 1, 0, 0, 0, 1695, 1696, 1, 0, 0, 0, 1696, 1698, 7, 25, 0, 0, 1697, 1699, 5, 123, 0, 0, 1698, 1697, 1, 0, 0, 0, 1698, 1699, 1, 0, 0, 0, 1699, 1708, 1, 0, 0, 0, 1700, 1702, 7, 25, 0, 0, 1701, 1703, 5, 123, 0, 0, 1702, 1701, 1, 0, 0, 0, 1702, 1703, 1, 0, 0, 0, 1703, 1705, 1, 0, 0, 0, 1704, 1706, 7, 24, 0, 0, 1705, 1704, 1, 0, 0, 0, 1705, 1706, 1, 0, 0, 0, 1706, 1708, 1, 0, 0, 0, 1707, 1694, 1, 0, 0, 0, 1707, 1700, 1, 0, 0, 0, 1708, 1726, 1, 0, 0, 0, 1709, 1711, 7, 26, 0, 0, 1710, 1709, 1, 0, 0, 0, 1710, 1711, 1, 0, 0, 0, 1711, 1712, 1, 0, 0, 0, 1712, 1714, 5, 69, 0, 0, 1713, 1715, 5, 123, 0, 0, 1714, 1713, 1, 0, 0, 0, 1714, 1715, 1, 0, 0, 0, 1715, 1724, 1, 0, 0, 0, 1716, 1718, 5, 69, 0, 0, 1717, 1719, 5, 123, 0, 0, 1718, 1717, 1, 0, 0, 0, 1718, 1719, 1, 0, 0, 0, 1719, 1721, 1, 0, 0, 0, 1720, 1722, 7, 26, 0, 0, 1721, 1720, 1, 0, 0, 0, 1721, 1722, 1, 0, 0, 0, 1722, 1724, 1, 0, 0, 0, 1723, 1710, 1, 0, 0, 0, 1723, 1716, 1, 0, 0, 0, 1724, 1726, 1, 0, 0, 0, 1725, 1691, 1, 0, 0, 0, 1725, 1707, 1, 0, 0, 0, 1725, 1723, 1, 0, 0, 0, 1726, 191, 1, 0, 0, 0, 1727, 1729, 7, 22, 0, 0, 1728, 1727, 1, 0, 0, 0, 1728, 1729, 1, 0, 0, 0, 1729, 1730, 1, 0, 0, 0, 1730, 1731, 5, 30, 0, 0, 1731, 1734, 5, 90, 0, 0, 1732, 1734, 5, 260, 0, 0, 1733, 1728, 1, 0, 0, 0, 1733, 1732, 1, 0, 0, 0, 1734, 193, 1, 0, 0, 0, 1735, 1736, 5, 119, 0, 0, 1736, 1745, 3, 236, 118, 0, 1737, 1738, 5, 183, 0, 0, 1738, 1739, 5, 271, 0, 0, 1739, 1740, 3, 236, 118, 0, 1740, 1741, 5, 281, 0, 0, 1741, 1745, 1, 0, 0, 0, 1742, 1743, 5, 183, 0, 0, 1743, 1745, 3, 236, 118, 0, 1744, 1735, 1, 0, 0, 0, 1744, 1737, 1, 0, 0, 0, 1744, 1742, 1, 0, 0, 0, 1745, 195, 1, 0, 0, 0, 1746, 1747, 5, 147, 0, 0, 1747, 1750, 3, 204, 102, 0, 1748, 1749, 5, 118, 0, 0, 1749, 1751, 3, 204, 102, 0, 1750, 1748, 1, 0, 0, 0, 1750, 1751, 1, 0, 0, 0, 1751, 197, 1, 0, 0, 0, 1752, 1755, 3, 240, 120, 0, 1753, 1754, 7, 27, 0, 0, 1754, 1756, 3, 240, 120, 0, 1755, 1753, 1, 0, 0, 0, 1755, 1756, 1, 0, 0, 0, 1756, 199, 1, 0, 0, 0, 1757, 1762, 3, 202, 101, 0, 1758, 1759, 5, 260, 0, 0, 1759, 1761, 3, 202, 101, 0, 1760, 1758, 1, 0, 0, 0, 1761, 1764, 1, 0, 0, 0, 1762, 1760, 1, 0, 0, 0, 1762, 1763, 1, 0, 0, 0, 1763, 201, 1, 0, 0, 0, 1764, 1762, 1, 0, 0, 0, 1765, 1767, 3, 240, 120, 0, 1766, 1768, 7, 28, 0, 0, 1767, 1766, 1, 0, 0, 0, 1767, 1768, 1, 0, 0, 0, 1768, 1771, 1, 0, 0, 0, 1769, 1770, 5, 117, 0, 0, 1770, 1772, 7, 29, 0, 0, 1771, 1769, 1, 0, 0, 0, 1771, 1772, 1, 0, 0, 0, 1772, 1775, 1, 0, 0, 0, 1773, 1774, 5, 25, 0, 0, 1774, 1776, 5, 254, 0, 0, 1775, 1773, 1, 0, 0, 0, 1775, 1776, 1, 0, 0, 0, 1776, 203, 1, 0, 0, 0, 1777, 1780, 3, 264, 132, 0, 1778, 1779, 5, 283, 0, 0, 1779, 1781, 3, 264, 132, 0, 1780, 1778, 1, 0, 0, 0, 1780, 1781, 1, 0, 0, 0, 1781, 205, 1, 0, 0, 0, 1782, 1787, 3, 208, 104, 0, 1783, 1784, 5, 260, 0, 0, 1784, 1786, 3, 208, 104, 0, 1785, 1783, 1, 0, 0, 0, 1786, 1789, 1, 0, 0, 0, 1787, 1785, 1, 0, 0, 0, 1787, 1788, 1, 0, 0, 0, 1788, 207, 1, 0, 0, 0, 1789, 1787, 1, 0, 0, 0, 1790, 1791, 3, 276, 138, 0, 1791, 1792, 5, 265, 0, 0, 1792, 1793, 3, 266, 133, 0, 1793, 209, 1, 0, 0, 0, 1794, 1796, 3, 212, 106, 0, 1795, 1794, 1, 0, 0, 0, 1795, 1796, 1, 0, 0, 0, 1796, 1798, 1, 0, 0, 0, 1797, 1799, 3, 214, 107, 0, 1798, 1797, 1, 0, 0, 0, 1798, 1799, 1, 0, 0, 0, 1799, 1801, 1, 0, 0, 0, 1800, 1802, 3, 216, 108, 0, 1801, 1800, 1, 0, 0, 0, 1801, 1802, 1, 0, 0, 0, 1802, 211, 1, 0, 0, 0, 1803, 1804, 5, 126, 0, 0, 1804, 1805, 5, 18, 0, 0, 1805, 1806, 3, 236, 118, 0, 1806, 213, 1, 0, 0, 0, 1807, 1808, 5, 122, 0, 0, 1808, 1809, 5, 18, 0, 0, 1809, 1810, 3, 200, 100, 0, 1810, 215, 1, 0, 0, 0, 1811, 1812, 7, 30, 0, 0, 1812, 1813, 3, 218, 109, 0, 1813, 217, 1, 0, 0, 0, 1814, 1821, 3, 220, 110, 0, 1815, 1816, 5, 16, 0, 0, 1816, 1817, 3, 220, 110, 0, 1817, 1818, 5, 6, 0, 0, 1818, 1819, 3, 220, 110, 0, 1819, 1821, 1, 0, 0, 0, 1820, 1814, 1, 0, 0, 0, 1820, 1815, 1, 0, 0, 0, 1821, 219, 1, 0, 0, 0, 1822, 1823, 5, 32, 0, 0, 1823, 1835, 5, 145, 0, 0, 1824, 1825, 5, 179, 0, 0, 1825, 1835, 5, 130, 0, 0, 1826, 1827, 5, 179, 0, 0, 1827, 1835, 5, 64, 0, 0, 1828, 1829, 3, 264, 132, 0, 1829, 1830, 5, 130, 0, 0, 1830, 1835, 1, 0, 0, 0, 1831, 1832, 3, 264, 132, 0, 1832, 1833, 5, 64, 0, 0, 1833, 1835, 1, 0, 0, 0, 1834, 1822, 1, 0, 0, 0, 1834, 1824, 1, 0, 0, 0, 1834, 1826, 1, 0, 0, 0, 1834, 1828, 1, 0, 0, 0, 1834, 1831, 1, 0, 0, 0, 1835, 221, 1, 0, 0, 0, 1836, 1837, 5, 152, 0, 0, 1837, 1838, 3, 206, 103, 0, 1838, 223, 1, 0, 0, 0, 1839, 1840, 5, 154, 0, 0, 1840, 1841, 5, 29, 0, 0, 1841, 1842, 5, 33, 0, 0, 1842, 1882, 3, 260, 130, 0, 1843, 1844, 5, 154, 0, 0, 1844, 1845, 5, 29, 0, 0, 1845, 1846, 5, 46, 0, 0, 1846, 1882, 3, 254, 127, 0, 1847, 1848, 5, 154, 0, 0, 1848, 1850, 5, 29, 0, 0, 1849, 1851, 5, 164, 0, 0, 1850, 1849, 1, 0, 0, 0, 1850, 1851, 1, 0, 0, 0, 1851, 1853, 1, 0, 0, 0, 1852, 1854, 5, 162, 0, 0, 1853, 1852, 1, 0, 0, 0, 1853, 1854, 1, 0, 0, 0, 1854, 1855, 1, 0, 0, 0, 1855, 1882, 3, 254, 127, 0, 1856, 1857, 5, 154, 0, 0, 1857, 1882, 5, 34, 0, 0, 1858, 1859, 5, 154, 0, 0, 1859, 1862, 5, 45, 0, 0, 1860, 1861, 5, 68, 0, 0, 1861, 1863, 3, 260, 130, 0, 1862, 1860, 1, 0, 0, 0, 1862, 1863, 1, 0, 0, 0, 1863, 1882, 1, 0, 0, 0, 1864, 1866, 5, 154, 0, 0, 1865, 1867, 5, 164, 0, 0, 1866, 1865, 1, 0, 0, 0, 1866, 1867, 1, 0, 0, 0, 1867, 1868, 1, 0, 0, 0, 1868, 1871, 5, 163, 0, 0, 1869, 1870, 7, 31, 0, 0, 1870, 1872, 3, 260, 130, 0, 1871, 1869, 1, 0, 0, 0, 1871, 1872, 1, 0, 0, 0, 1872, 1876, 1, 0, 0, 0, 1873, 1874, 5, 98, 0, 0, 1874, 1877, 5, 254, 0, 0, 1875, 1877, 3, 172, 86, 0, 1876, 1873, 1, 0, 0, 0, 1876, 1875, 1, 0, 0, 0, 1876, 1877, 1, 0, 0, 0, 1877, 1879, 1, 0, 0, 0, 1878, 1880, 3, 184, 92, 0, 1879, 1878, 1, 0, 0, 0, 1879, 1880, 1, 0, 0, 0, 1880, 1882, 1, 0, 0, 0, 1881, 1839, 1, 0, 0, 0, 1881, 1843, 1, 0, 0, 0, 1881, 1847, 1, 0, 0, 0, 1881, 1856, 1, 0, 0, 0, 1881, 1858, 1, 0, 0, 0, 1881, 1864, 1, 0, 0, 0, 1882, 225, 1, 0, 0, 0, 1883, 1884, 5, 161, 0, 0, 1884, 1885, 5, 63, 0, 0, 1885, 1886, 5, 49, 0, 0, 1886, 1918, 3, 254, 127, 0, 1887, 1888, 5, 161, 0, 0, 1888, 1889, 5, 63, 0, 0, 1889, 1918, 5, 102, 0, 0, 1890, 1891, 5, 161, 0, 0, 1891, 1892, 5, 137, 0, 0, 1892, 1918, 5, 45, 0, 0, 1893, 1894, 5, 161, 0, 0, 1894, 1895, 5, 137, 0, 0, 1895, 1896, 5, 46, 0, 0, 1896, 1918, 3, 254, 127, 0, 1897, 1898, 5, 161, 0, 0, 1898, 1906, 7, 32, 0, 0, 1899, 1900, 5, 49, 0, 0, 1900, 1907, 5, 151, 0, 0, 1901, 1907, 5, 60, 0, 0, 1902, 1904, 5, 177, 0, 0, 1903, 1902, 1, 0, 0, 0, 1903, 1904, 1, 0, 0, 0, 1904, 1905, 1, 0, 0, 0, 1905, 1907, 5, 106, 0, 0, 1906, 1899, 1, 0, 0, 0, 1906, 1901, 1, 0, 0, 0, 1906, 1903, 1, 0, 0, 0, 1907, 1908, 1, 0, 0, 0, 1908, 1918, 3, 254, 127, 0, 1909, 1910, 5, 161, 0, 0, 1910, 1911, 7, 32, 0, 0, 1911, 1912, 5, 142, 0, 0, 1912, 1918, 5, 151, 0, 0, 1913, 1914, 5, 161, 0, 0, 1914, 1915, 5, 159, 0, 0, 1915, 1916, 5, 141, 0, 0, 1916, 1918, 3, 254, 127, 0, 1917, 1883, 1, 0, 0, 0, 1917, 1887, 1, 0, 0, 0, 1917, 1890, 1, 0, 0, 0, 1917, 1893, 1, 0, 0, 0, 1917, 1897, 1, 0, 0, 0, 1917, 1909, 1, 0, 0, 0, 1917, 1913, 1, 0, 0, 0, 1918, 227, 1, 0, 0, 0, 1919, 1921, 5, 176, 0, 0, 1920, 1922, 5, 164, 0, 0, 1921, 1920, 1, 0, 0, 0, 1921, 1922, 1, 0, 0, 0, 1922, 1924, 1, 0, 0, 0, 1923, 1925, 5, 162, 0, 0, 1924, 1923, 1, 0, 0, 0, 1924, 1925, 1, 0, 0, 0, 1925, 1928, 1, 0, 0, 0, 1926, 1927, 5, 78, 0, 0, 1927, 1929, 5, 56, 0, 0, 1928, 1926, 1, 0, 0, 0, 1928, 1929, 1, 0, 0, 0, 1929, 1930, 1, 0, 0, 0, 1930, 1932, 3, 254, 127, 0, 1931, 1933, 3, 66, 33, 0, 1932, 1931, 1, 0, 0, 0, 1932, 1933, 1, 0, 0, 0, 1933, 229, 1, 0, 0, 0, 1934, 1935, 5, 182, 0, 0, 1935, 1936, 3, 260, 130, 0, 1936, 231, 1, 0, 0, 0, 1937, 1938, 5, 188, 0, 0, 1938, 1940, 3, 254, 127, 0, 1939, 1941, 5, 55, 0, 0, 1940, 1939, 1, 0, 0, 0, 1940, 1941, 1, 0, 0, 0, 1941, 1944, 1, 0, 0, 0, 1942, 1943, 5, 99, 0, 0, 1943, 1945, 5, 252, 0, 0, 1944, 1942, 1, 0, 0, 0, 1944, 1945, 1, 0, 0, 0, 1945, 233, 1, 0, 0, 0, 1946, 1994, 3, 276, 138, 0, 1947, 1948, 3, 276, 138, 0, 1948, 1949, 5, 271, 0, 0, 1949, 1950, 3, 276, 138, 0, 1950, 1957, 3, 234, 117, 0, 1951, 1952, 5, 260, 0, 0, 1952, 1953, 3, 276, 138, 0, 1953, 1954, 3, 234, 117, 0, 1954, 1956, 1, 0, 0, 0, 1955, 1951, 1, 0, 0, 0, 1956, 1959, 1, 0, 0, 0, 1957, 1955, 1, 0, 0, 0, 1957, 1958, 1, 0, 0, 0, 1958, 1960, 1, 0, 0, 0, 1959, 1957, 1, 0, 0, 0, 1960, 1961, 5, 281, 0, 0, 1961, 1994, 1, 0, 0, 0, 1962, 1963, 3, 276, 138, 0, 1963, 1964, 5, 271, 0, 0, 1964, 1969, 3, 280, 140, 0, 1965, 1966, 5, 260, 0, 0, 1966, 1968, 3, 280, 140, 0, 1967, 1965, 1, 0, 0, 0, 1968, 1971, 1, 0, 0, 0, 1969, 1967, 1, 0, 0, 0, 1969, 1970, 1, 0, 0, 0, 1970, 1972, 1, 0, 0, 0, 1971, 1969, 1, 0, 0, 0, 1972, 1973, 5, 281, 0, 0, 1973, 1994, 1, 0, 0, 0, 1974, 1975, 3, 276, 138, 0, 1975, 1976, 5, 271, 0, 0, 1976, 1981, 3, 234, 117, 0, 1977, 1978, 5, 260, 0, 0, 1978, 1980, 3, 234, 117, 0, 1979, 1977, 1, 0, 0, 0, 1980, 1983, 1, 0, 0, 0, 1981, 1979, 1, 0, 0, 0, 1981, 1982, 1, 0, 0, 0, 1982, 1984, 1, 0, 0, 0, 1983, 1981, 1, 0, 0, 0, 1984, 1985, 5, 281, 0, 0, 1985, 1994, 1, 0, 0, 0, 1986, 1987, 3, 276, 138, 0, 1987, 1989, 5, 271, 0, 0, 1988, 1990, 3, 236, 118, 0, 1989, 1988, 1, 0, 0, 0, 1989, 1990, 1, 0, 0, 0, 1990, 1991, 1, 0, 0, 0, 1991, 1992, 5, 281, 0, 0, 1992, 1994, 1, 0, 0, 0, 1993, 1946, 1, 0, 0, 0, 1993, 1947, 1, 0, 0, 0, 1993, 1962, 1, 0, 0, 0, 1993, 1974, 1, 0, 0, 0, 1993, 1986, 1, 0, 0, 0, 1994, 235, 1, 0, 0, 0, 1995, 2000, 3, 238, 119, 0, 1996, 1997, 5, 260, 0, 0, 1997, 1999, 3, 238, 119, 0, 1998, 1996, 1, 0, 0, 0, 1999, 2002, 1, 0, 0, 0, 2000, 1998, 1, 0, 0, 0, 2000, 2001, 1, 0, 0, 0, 2001, 237, 1, 0, 0, 0, 2002, 2000, 1, 0, 0, 0, 2003, 2004, 3, 254, 127, 0, 2004, 2005, 5, 263, 0, 0, 2005, 2007, 1, 0, 0, 0, 2006, 2003, 1, 0, 0, 0, 2006, 2007, 1, 0, 0, 0, 2007, 2008, 1, 0, 0, 0, 2008, 2015, 5, 256, 0, 0, 2009, 2010, 5, 271, 0, 0, 2010, 2011, 3, 154, 77, 0, 2011, 2012, 5, 281, 0, 0, 2012, 2015, 1, 0, 0, 0, 2013, 2015, 3, 240, 120, 0, 2014, 2006, 1, 0, 0, 0, 2014, 2009, 1, 0, 0, 0, 2014, 2013, 1, 0, 0, 0, 2015, 239, 1, 0, 0, 0, 2016, 2017, 6, 120, -1, 0, 2017, 2019, 5, 19, 0, 0, 2018, 2020, 3, 240, 120, 0, 2019, 2018, 1, 0, 0, 0, 2019, 2020, 1, 0, 0, 0, 2020, 2026, 1, 0, 0, 0, 2021, 2022, 5, 190, 0, 0, 2022, 2023, 3, 240, 120, 0, 2023, 2024, 5, 166, 0, 0, 2024, 2025, 3, 240, 120, 0, 2025, 2027, 1, 0, 0, 0, 2026, 2021, 1, 0, 0, 0, 2027, 2028, 1, 0, 0, 0, 2028, 2026, 1, 0, 0, 0, 2028, 2029, 1, 0, 0, 0, 2029, 2032, 1, 0, 0, 0, 2030, 2031, 5, 51, 0, 0, 2031, 2033, 3, 240, 120, 0, 2032, 2030, 1, 0, 0, 0, 2032, 2033, 1, 0, 0, 0, 2033, 2034, 1, 0, 0, 0, 2034, 2035, 5, 52, 0, 0, 2035, 2146, 1, 0, 0, 0, 2036, 2037, 5, 20, 0, 0, 2037, 2038, 5, 271, 0, 0, 2038, 2039, 3, 240, 120, 0, 2039, 2040, 5, 10, 0, 0, 2040, 2041, 3, 234, 117, 0, 2041, 2042, 5, 281, 0, 0, 2042, 2146, 1, 0, 0, 0, 2043, 2044, 5, 35, 0, 0, 2044, 2146, 5, 254, 0, 0, 2045, 2046, 5, 59, 0, 0, 2046, 2047, 5, 271, 0, 0, 2047, 2048, 3, 268, 134, 0, 2048, 2049, 5, 68, 0, 0, 2049, 2050, 3, 240, 120, 0, 2050, 2051, 5, 281, 0, 0, 2051, 2146, 1, 0, 0, 0, 2052, 2053, 5, 86, 0, 0, 2053, 2054, 3, 240, 120, 0, 2054, 2055, 3, 268, 134, 0, 2055, 2146, 1, 0, 0, 0, 2056, 2057, 5, 158, 0, 0, 2057, 2058, 5, 271, 0, 0, 2058, 2059, 3, 240, 120, 0, 2059, 2060, 5, 68, 0, 0, 2060, 2063, 3, 240, 120, 0, 2061, 2062, 5, 65, 0, 0, 2062, 2064, 3, 240, 120, 0, 2063, 2061, 1, 0, 0, 0, 2063, 2064, 1, 0, 0, 0, 2064, 2065, 1, 0, 0, 0, 2065, 2066, 5, 281, 0, 0, 2066, 2146, 1, 0, 0, 0, 2067, 2068, 5, 169, 0, 0, 2068, 2146, 5, 254, 0, 0, 2069, 2070, 5, 174, 0, 0, 2070, 2071, 5, 271, 0, 0, 2071, 2072, 7, 33, 0, 0, 2072, 2073, 5, 254, 0, 0, 2073, 2074, 5, 68, 0, 0, 2074, 2075, 3, 240, 120, 0, 2075, 2076, 5, 281, 0, 0, 2076, 2146, 1, 0, 0, 0, 2077, 2078, 3, 276, 138, 0, 2078, 2080, 5, 271, 0, 0, 2079, 2081, 3, 236, 118, 0, 2080, 2079, 1, 0, 0, 0, 2080, 2081, 1, 0, 0, 0, 2081, 2082, 1, 0, 0, 0, 2082, 2083, 5, 281, 0, 0, 2083, 2084, 1, 0, 0, 0, 2084, 2085, 5, 125, 0, 0, 2085, 2086, 5, 271, 0, 0, 2086, 2087, 3, 210, 105, 0, 2087, 2088, 5, 281, 0, 0, 2088, 2146, 1, 0, 0, 0, 2089, 2090, 3, 276, 138, 0, 2090, 2092, 5, 271, 0, 0, 2091, 2093, 3, 236, 118, 0, 2092, 2091, 1, 0, 0, 0, 2092, 2093, 1, 0, 0, 0, 2093, 2094, 1, 0, 0, 0, 2094, 2095, 5, 281, 0, 0, 2095, 2096, 1, 0, 0, 0, 2096, 2097, 5, 125, 0, 0, 2097, 2098, 3, 276, 138, 0, 2098, 2146, 1, 0, 0, 0, 2099, 2105, 3, 276, 138, 0, 2100, 2102, 5, 271, 0, 0, 2101, 2103, 3, 236, 118, 0, 2102, 2101, 1, 0, 0, 0, 2102, 2103, 1, 0, 0, 0, 2103, 2104, 1, 0, 0, 0, 2104, 2106, 5, 281, 0, 0, 2105, 2100, 1, 0, 0, 0, 2105, 2106, 1, 0, 0, 0, 2106, 2107, 1, 0, 0, 0, 2107, 2109, 5, 271, 0, 0, 2108, 2110, 5, 48, 0, 0, 2109, 2108, 1, 0, 0, 0, 2109, 2110, 1, 0, 0, 0, 2110, 2112, 1, 0, 0, 0, 2111, 2113, 3, 242, 121, 0, 2112, 2111, 1, 0, 0, 0, 2112, 2113, 1, 0, 0, 0, 2113, 2114, 1, 0, 0, 0, 2114, 2115, 5, 281, 0, 0, 2115, 2146, 1, 0, 0, 0, 2116, 2146, 3, 266, 133, 0, 2117, 2118, 5, 262, 0, 0, 2118, 2146, 3, 240, 120, 17, 2119, 2120, 5, 115, 0, 0, 2120, 2146, 3, 240, 120, 12, 2121, 2122, 3, 254, 127, 0, 2122, 2123, 5, 263, 0, 0, 2123, 2125, 1, 0, 0, 0, 2124, 2121, 1, 0, 0, 0, 2124, 2125, 1, 0, 0, 0, 2125, 2126, 1, 0, 0, 0, 2126, 2146, 5, 256, 0, 0, 2127, 2128, 5, 271, 0, 0, 2128, 2129, 3, 154, 77, 0, 2129, 2130, 5, 281, 0, 0, 2130, 2146, 1, 0, 0, 0, 2131, 2132, 5, 271, 0, 0, 2132, 2133, 3, 240, 120, 0, 2133, 2134, 5, 281, 0, 0, 2134, 2146, 1, 0, 0, 0, 2135, 2136, 5, 271, 0, 0, 2136, 2137, 3, 236, 118, 0, 2137, 2138, 5, 281, 0, 0, 2138, 2146, 1, 0, 0, 0, 2139, 2141, 5, 269, 0, 0, 2140, 2142, 3, 236, 118, 0, 2141, 2140, 1, 0, 0, 0, 2141, 2142, 1, 0, 0, 0, 2142, 2143, 1, 0, 0, 0, 2143, 2146, 5, 280, 0, 0, 2144, 2146, 3, 248, 124, 0, 2145, 2016, 1, 0, 0, 0, 2145, 2036, 1, 0, 0, 0, 2145, 2043, 1, 0, 0, 0, 2145, 2045, 1, 0, 0, 0, 2145, 2052, 1, 0, 0, 0, 2145, 2056, 1, 0, 0, 0, 2145, 2067, 1, 0, 0, 0, 2145, 2069, 1, 0, 0, 0, 2145, 2077, 1, 0, 0, 0, 2145, 2089, 1, 0, 0, 0, 2145, 2099, 1, 0, 0, 0, 2145, 2116, 1, 0, 0, 0, 2145, 2117, 1, 0, 0, 0, 2145, 2119, 1, 0, 0, 0, 2145, 2124, 1, 0, 0, 0, 2145, 2127, 1, 0, 0, 0, 2145, 2131, 1, 0, 0, 0, 2145, 2135, 1, 0, 0, 0, 2145, 2139, 1, 0, 0, 0, 2145, 2144, 1, 0, 0, 0, 2146, 2218, 1, 0, 0, 0, 2147, 2148, 10, 16, 0, 0, 2148, 2149, 7, 34, 0, 0, 2149, 2217, 3, 240, 120, 17, 2150, 2151, 10, 15, 0, 0, 2151, 2152, 7, 35, 0, 0, 2152, 2217, 3, 240, 120, 16, 2153, 2172, 10, 14, 0, 0, 2154, 2173, 5, 264, 0, 0, 2155, 2173, 5, 265, 0, 0, 2156, 2173, 5, 273, 0, 0, 2157, 2173, 5, 270, 0, 0, 2158, 2173, 5, 266, 0, 0, 2159, 2173, 5, 272, 0, 0, 2160, 2173, 5, 267, 0, 0, 2161, 2163, 5, 71, 0, 0, 2162, 2161, 1, 0, 0, 0, 2162, 2163, 1, 0, 0, 0, 2163, 2165, 1, 0, 0, 0, 2164, 2166, 5, 115, 0, 0, 2165, 2164, 1, 0, 0, 0, 2165, 2166, 1, 0, 0, 0, 2166, 2167, 1, 0, 0, 0, 2167, 2173, 5, 80, 0, 0, 2168, 2170, 5, 115, 0, 0, 2169, 2168, 1, 0, 0, 0, 2169, 2170, 1, 0, 0, 0, 2170, 2171, 1, 0, 0, 0, 2171, 2173, 7, 36, 0, 0, 2172, 2154, 1, 0, 0, 0, 2172, 2155, 1, 0, 0, 0, 2172, 2156, 1, 0, 0, 0, 2172, 2157, 1, 0, 0, 0, 2172, 2158, 1, 0, 0, 0, 2172, 2159, 1, 0, 0, 0, 2172, 2160, 1, 0, 0, 0, 2172, 2162, 1, 0, 0, 0, 2172, 2169, 1, 0, 0, 0, 2173, 2174, 1, 0, 0, 0, 2174, 2217, 3, 240, 120, 15, 2175, 2176, 10, 11, 0, 0, 2176, 2177, 5, 6, 0, 0, 2177, 2217, 3, 240, 120, 12, 2178, 2179, 10, 10, 0, 0, 2179, 2180, 5, 121, 0, 0, 2180, 2217, 3, 240, 120, 11, 2181, 2183, 10, 9, 0, 0, 2182, 2184, 5, 115, 0, 0, 2183, 2182, 1, 0, 0, 0, 2183, 2184, 1, 0, 0, 0, 2184, 2185, 1, 0, 0, 0, 2185, 2186, 5, 16, 0, 0, 2186, 2187, 3, 240, 120, 0, 2187, 2188, 5, 6, 0, 0, 2188, 2189, 3, 240, 120, 10, 2189, 2217, 1, 0, 0, 0, 2190, 2191, 10, 8, 0, 0, 2191, 2192, 5, 276, 0, 0, 2192, 2193, 3, 240, 120, 0, 2193, 2194, 5, 259, 0, 0, 2194, 2195, 3, 240, 120, 8, 2195, 2217, 1, 0, 0, 0, 2196, 2197, 10, 19, 0, 0, 2197, 2198, 5, 269, 0, 0, 2198, 2199, 3, 240, 120, 0, 2199, 2200, 5, 280, 0, 0, 2200, 2217, 1, 0, 0, 0, 2201, 2202, 10, 18, 0, 0, 2202, 2203, 5, 263, 0, 0, 2203, 2217, 5, 252, 0, 0, 2204, 2205, 10, 13, 0, 0, 2205, 2207, 5, 88, 0, 0, 2206, 2208, 5, 115, 0, 0, 2207, 2206, 1, 0, 0, 0, 2207, 2208, 1, 0, 0, 0, 2208, 2209, 1, 0, 0, 0, 2209, 2217, 5, 116, 0, 0, 2210, 2214, 10, 7, 0, 0, 2211, 2215, 3, 274, 137, 0, 2212, 2213, 5, 10, 0, 0, 2213, 2215, 3, 276, 138, 0, 2214, 2211, 1, 0, 0, 0, 2214, 2212, 1, 0, 0, 0, 2215, 2217, 1, 0, 0, 0, 2216, 2147, 1, 0, 0, 0, 2216, 2150, 1, 0, 0, 0, 2216, 2153, 1, 0, 0, 0, 2216, 2175, 1, 0, 0, 0, 2216, 2178, 1, 0, 0, 0, 2216, 2181, 1, 0, 0, 0, 2216, 2190, 1, 0, 0, 0, 2216, 2196, 1, 0, 0, 0, 2216, 2201, 1, 0, 0, 0, 2216, 2204, 1, 0, 0, 0, 2216, 2210, 1, 0, 0, 0, 2217, 2220, 1, 0, 0, 0, 2218, 2216, 1, 0, 0, 0, 2218, 2219, 1, 0, 0, 0, 2219, 241, 1, 0, 0, 0, 2220, 2218, 1, 0, 0, 0, 2221, 2226, 3, 244, 122, 0, 2222, 2223, 5, 260, 0, 0, 2223, 2225, 3, 244, 122, 0, 2224, 2222, 1, 0, 0, 0, 2225, 2228, 1, 0, 0, 0, 2226, 2224, 1, 0, 0, 0, 2226, 2227, 1, 0, 0, 0, 2227, 243, 1, 0, 0, 0, 2228, 2226, 1, 0, 0, 0, 2229, 2232, 3, 246, 123, 0, 2230, 2232, 3, 240, 120, 0, 2231, 2229, 1, 0, 0, 0, 2231, 2230, 1, 0, 0, 0, 2232, 245, 1, 0, 0, 0, 2233, 2234, 5, 271, 0, 0, 2234, 2239, 3, 276, 138, 0, 2235, 2236, 5, 260, 0, 0, 2236, 2238, 3, 276, 138, 0, 2237, 2235, 1, 0, 0, 0, 2238, 2241, 1, 0, 0, 0, 2239, 2237, 1, 0, 0, 0, 2239, 2240, 1, 0, 0, 0, 2240, 2242, 1, 0, 0, 0, 2241, 2239, 1, 0, 0, 0, 2242, 2243, 5, 281, 0, 0, 2243, 2253, 1, 0, 0, 0, 2244, 2249, 3, 276, 138, 0, 2245, 2246, 5, 260, 0, 0, 2246, 2248, 3, 276, 138, 0, 2247, 2245, 1, 0, 0, 0, 2248, 2251, 1, 0, 0, 0, 2249, 2247, 1, 0, 0, 0, 2249, 2250, 1, 0, 0, 0, 2250, 2253, 1, 0, 0, 0, 2251, 2249, 1, 0, 0, 0, 2252, 2233, 1, 0, 0, 0, 2252, 2244, 1, 0, 0, 0, 2253, 2254, 1, 0, 0, 0, 2254, 2255, 5, 255, 0, 0, 2255, 2256, 3, 240, 120, 0, 2256, 247, 1, 0, 0, 0, 2257, 2258, 3, 254, 127, 0, 2258, 2259, 5, 263, 0, 0, 2259, 2261, 1, 0, 0, 0, 2260, 2257, 1, 0, 0, 0, 2260, 2261, 1, 0, 0, 0, 2261, 2262, 1, 0, 0, 0, 2262, 2265, 3, 276, 138, 0, 2263, 2264, 5, 263, 0, 0, 2264, 2266, 3, 276, 138, 0, 2265, 2263, 1, 0, 0, 0, 2265, 2266, 1, 0, 0, 0, 2266, 249, 1, 0, 0, 0, 2267, 2268, 6, 125, -1, 0, 2268, 2275, 3, 254, 127, 0, 2269, 2275, 3, 252, 126, 0, 2270, 2271, 5, 271, 0, 0, 2271, 2272, 3, 154, 77, 0, 2272, 2273, 5, 281, 0, 0, 2273, 2275, 1, 0, 0, 0, 2274, 2267, 1, 0, 0, 0, 2274, 2269, 1, 0, 0, 0, 2274, 2270, 1, 0, 0, 0, 2275, 2284, 1, 0, 0, 0, 2276, 2280, 10, 1, 0, 0, 2277, 2281, 3, 274, 137, 0, 2278, 2279, 5, 10, 0, 0, 2279, 2281, 3, 276, 138, 0, 2280, 2277, 1, 0, 0, 0, 2280, 2278, 1, 0, 0, 0, 2281, 2283, 1, 0, 0, 0, 2282, 2276, 1, 0, 0, 0, 2283, 2286, 1, 0, 0, 0, 2284, 2282, 1, 0, 0, 0, 2284, 2285, 1, 0, 0, 0, 2285, 251, 1, 0, 0, 0, 2286, 2284, 1, 0, 0, 0, 2287, 2288, 3, 276, 138, 0, 2288, 2290, 5, 271, 0, 0, 2289, 2291, 3, 256, 128, 0, 2290, 2289, 1, 0, 0, 0, 2290, 2291, 1, 0, 0, 0, 2291, 2292, 1, 0, 0, 0, 2292, 2293, 5, 281, 0, 0, 2293, 253, 1, 0, 0, 0, 2294, 2295, 3, 260, 130, 0, 2295, 2296, 5, 263, 0, 0, 2296, 2298, 1, 0, 0, 0, 2297, 2294, 1, 0, 0, 0, 2297, 2298, 1, 0, 0, 0, 2298, 2299, 1, 0, 0, 0, 2299, 2300, 3, 276, 138, 0, 2300, 255, 1, 0, 0, 0, 2301, 2306, 3, 258, 129, 0, 2302, 2303, 5, 260, 0, 0, 2303, 2305, 3, 258, 129, 0, 2304, 2302, 1, 0, 0, 0, 2305, 2308, 1, 0, 0, 0, 2306, 2304, 1, 0, 0, 0, 2306, 2307, 1, 0, 0, 0, 2307, 257, 1, 0, 0, 0, 2308, 2306, 1, 0, 0, 0, 2309, 2313, 3, 248, 124, 0, 2310, 2313, 3, 252, 126, 0, 2311, 2313, 3, 266, 133, 0, 2312, 2309, 1, 0, 0, 0, 2312, 2310, 1, 0, 0, 0, 2312, 2311, 1, 0, 0, 0, 2313, 259, 1, 0, 0, 0, 2314, 2315, 3, 276, 138, 0, 2315, 261, 1, 0, 0, 0, 2316, 2325, 5, 250, 0, 0, 2317, 2318, 5, 263, 0, 0, 2318, 2325, 7, 37, 0, 0, 2319, 2320, 5, 252, 0, 0, 2320, 2322, 5, 263, 0, 0, 2321, 2323, 7, 37, 0, 0, 2322, 2321, 1, 0, 0, 0, 2322, 2323, 1, 0, 0, 0, 2323, 2325, 1, 0, 0, 0, 2324, 2316, 1, 0, 0, 0, 2324, 2317, 1, 0, 0, 0, 2324, 2319, 1, 0, 0, 0, 2325, 263, 1, 0, 0, 0, 2326, 2328, 7, 38, 0, 0, 2327, 2326, 1, 0, 0, 0, 2327, 2328, 1, 0, 0, 0, 2328, 2335, 1, 0, 0, 0, 2329, 2336, 3, 262, 131, 0, 2330, 2336, 5, 251, 0, 0, 2331, 2336, 5, 252, 0, 0, 2332, 2336, 5, 253, 0, 0, 2333, 2336, 5, 82, 0, 0, 2334, 2336, 5, 113, 0, 0, 2335, 2329, 1, 0, 0, 0, 2335, 2330, 1, 0, 0, 0, 2335, 2331, 1, 0, 0, 0, 2335, 2332, 1, 0, 0, 0, 2335, 2333, 1, 0, 0, 0, 2335, 2334, 1, 0, 0, 0, 2336, 265, 1, 0, 0, 0, 2337, 2341, 3, 264, 132, 0, 2338, 2341, 5, 254, 0, 0, 2339, 2341, 5, 116, 0, 0, 2340, 2337, 1, 0, 0, 0, 2340, 2338, 1, 0, 0, 0, 2340, 2339, 1, 0, 0, 0, 2341, 267, 1, 0, 0, 0, 2342, 2343, 7, 39, 0, 0, 2343, 269, 1, 0, 0, 0, 2344, 2345, 7, 40, 0, 0, 2345, 271, 1, 0, 0, 0, 2346, 2347, 7, 41, 0, 0, 2347, 273, 1, 0, 0, 0, 2348, 2351, 5, 249, 0, 0, 2349, 2351, 3, 272, 136, 0, 2350, 2348, 1, 0, 0, 0, 2350, 2349, 1, 0, 0, 0, 2351, 275, 1, 0, 0, 0, 2352, 2356, 5, 249, 0, 0, 2353, 2356, 3, 268, 134, 0, 2354, 2356, 3, 270, 135, 0, 2355, 2352, 1, 0, 0, 0, 2355, 2353, 1, 0, 0, 0, 2355, 2354, 1, 0, 0, 0, 2356, 277, 1, 0, 0, 0, 2357, 2360, 3, 276, 138, 0, 2358, 2360, 5, 116, 0, 0, 2359, 2357, 1, 0, 0, 0, 2359, 2358, 1, 0, 0, 0, 2360, 279, 1, 0, 0, 0, 2361, 2362, 5, 254, 0, 0, 2362, 2363, 5, 265, 0, 0, 2363, 2364, 3, 264, 132, 0, 2364, 281, 1, 0, 0, 0, 316, 283, 289, 295, 301, 305, 308, 312, 334, 337, 345, 350, 363, 372, 379, 387, 392, 399, 404, 411, 416, 422, 428, 433, 439, 444, 450, 455, 461, 475, 482, 489, 496, 502, 507, 513, 518, 524, 533, 543, 553, 573, 581, 596, 603, 617, 623, 629, 635, 638, 644, 647, 650, 656, 660, 663, 666, 669, 672, 679, 683, 691, 694, 700, 704, 707, 718, 722, 725, 730, 732, 735, 738, 748, 752, 755, 758, 763, 765, 772, 778, 782, 785, 788, 798, 806, 832, 834, 838, 860, 862, 873, 876, 885, 902, 913, 931, 944, 961, 970, 997, 999, 1020, 1025, 1030, 1033, 1045, 1050, 1054, 1057, 1061, 1065, 1070, 1073, 1077, 1079, 1101, 1109, 1112, 1122, 1126, 1134, 1138, 1143, 1147, 1151, 1155, 1159, 1161, 1169, 1173, 1176, 1199, 1203, 1210, 1218, 1222, 1224, 1231, 1236, 1243, 1248, 1252, 1256, 1260, 1266, 1269, 1273, 1277, 1281, 1286, 1294, 1297, 1301, 1307, 1311, 1316, 1320, 1324, 1329, 1337, 1340, 1345, 1356, 1360, 1365, 1372, 1384, 1401, 1406, 1411, 1414, 1424, 1434, 1438, 1443, 1449, 1454, 1460, 1464, 1470, 1473, 1476, 1479, 1493, 1497, 1501, 1506, 1509, 1519, 1527, 1530, 1534, 1537, 1541, 1544, 1547, 1550, 1553, 1556, 1560, 1564, 1567, 1570, 1573, 1576, 1579, 1588, 1594, 1621, 1643, 1651, 1654, 1660, 1668, 1671, 1677, 1679, 1683, 1688, 1691, 1694, 1698, 1702, 1705, 1707, 1710, 1714, 1718, 1721, 1723, 1725, 1728, 1733, 1744, 1750, 1755, 1762, 1767, 1771, 1775, 1780, 1787, 1795, 1798, 1801, 1820, 1834, 1850, 1853, 1862, 1866, 1871, 1876, 1879, 1881, 1903, 1906, 1917, 1921, 1924, 1928, 1932, 1940, 1944, 1957, 1969, 1981, 1989, 1993, 2000, 2006, 2014, 2019, 2028, 2032, 2063, 2080, 2092, 2102, 2105, 2109, 2112, 2124, 2141, 2145, 2162, 2165, 2169, 2172, 2183, 2207, 2214, 2216, 2218, 2226, 2231, 2239, 2249, 2252, 2260, 2265, 2274, 2280, 2284, 2290, 2297, 2306, 2312, 2322, 2324, 2327, 2335, 2340, 2350, 2355, 2359] \ No newline at end of file diff --git a/src/autocomplete/databases/clickhouse/generated/ClickHouseParser.tokens b/src/autocomplete/databases/clickhouse/generated/ClickHouseParser.tokens index 93d84f14c..be4b0a44f 100644 --- a/src/autocomplete/databases/clickhouse/generated/ClickHouseParser.tokens +++ b/src/autocomplete/databases/clickhouse/generated/ClickHouseParser.tokens @@ -192,75 +192,127 @@ WHERE=191 WINDOW=192 WITH=193 YEAR=194 -JSON_FALSE=195 -JSON_TRUE=196 -IDENTIFIER=197 -FLOATING_LITERAL=198 -OCTAL_LITERAL=199 -DECIMAL_LITERAL=200 -HEXADECIMAL_LITERAL=201 -STRING_LITERAL=202 -ARROW=203 -ASTERISK=204 -BACKQUOTE=205 -BACKSLASH=206 -COLON=207 -COMMA=208 -CONCAT=209 -DASH=210 -DOT=211 -EQ_DOUBLE=212 -EQ_SINGLE=213 -GE=214 -GT=215 -LBRACE=216 -LBRACKET=217 -LE=218 -LPAREN=219 -LT=220 -NOT_EQ=221 -PERCENT=222 -PLUS=223 -QUESTIONMARK=224 -QUOTE_DOUBLE=225 -QUOTE_SINGLE=226 -RBRACE=227 -RBRACKET=228 -RPAREN=229 -SEMICOLON=230 -SLASH=231 -UNDERSCORE=232 -MULTI_LINE_COMMENT=233 -SINGLE_LINE_COMMENT=234 -WHITESPACE=235 -'false'=195 -'true'=196 -'->'=203 -'*'=204 -'`'=205 -'\\'=206 -':'=207 -','=208 -'||'=209 -'-'=210 -'.'=211 -'=='=212 -'='=213 -'>='=214 -'>'=215 -'{'=216 -'['=217 -'<='=218 -'('=219 -'<'=220 -'%'=222 -'+'=223 -'?'=224 -'"'=225 -'\''=226 -'}'=227 -']'=228 -')'=229 -';'=230 -'/'=231 -'_'=232 +GRANT=195 +USER=196 +FETCH=197 +REFRESH=198 +POLICY=199 +QUOTA=200 +ROLE=201 +PROFILE=202 +ARBITRARY=203 +COLUMNS=204 +CURRENT_USER=205 +ACCESS=206 +SHOW_USERS=207 +SHOW_ROLES=208 +SHOW_ROW_POLICIES=209 +SHOW_QUOTAS=210 +SHOW_SETTINGS_PROFILES=211 +SHUTDOWN=212 +CACHE=213 +DNS=214 +MARK=215 +PART=216 +UNCOMPRESSED=217 +CONFIG=218 +EMBEDDED=219 +FUNCTIONS=220 +MOVES=221 +REPLICATION=222 +QUEUES=223 +RESTART=224 +DICTGET=225 +DICTGETHIERARCHY=226 +DICTHAS=227 +DICTISIN=228 +MANAGEMENT=229 +ADMIN=230 +INTROSPECTION=231 +ADDRESSTOLINE=232 +ADDRESSTOSYMBOL=233 +DEMANGLE=234 +SOURCES=235 +FILE=236 +URL=237 +REMOTE=238 +MYSQL=239 +ODBC=240 +JDBC=241 +HDFS=242 +S3=243 +SETTING=244 +OPTION=245 +NONE=246 +JSON_FALSE=247 +JSON_TRUE=248 +IDENTIFIER=249 +FLOATING_LITERAL=250 +OCTAL_LITERAL=251 +DECIMAL_LITERAL=252 +HEXADECIMAL_LITERAL=253 +STRING_LITERAL=254 +ARROW=255 +ASTERISK=256 +BACKQUOTE=257 +BACKSLASH=258 +COLON=259 +COMMA=260 +CONCAT=261 +DASH=262 +DOT=263 +EQ_DOUBLE=264 +EQ_SINGLE=265 +GE=266 +GT=267 +LBRACE=268 +LBRACKET=269 +LE=270 +LPAREN=271 +LT=272 +NOT_EQ=273 +PERCENT=274 +PLUS=275 +QUESTIONMARK=276 +QUOTE_DOUBLE=277 +QUOTE_SINGLE=278 +RBRACE=279 +RBRACKET=280 +RPAREN=281 +SEMICOLON=282 +SLASH=283 +UNDERSCORE=284 +MULTI_LINE_COMMENT=285 +SINGLE_LINE_COMMENT=286 +WHITESPACE=287 +'false'=247 +'true'=248 +'->'=255 +'*'=256 +'`'=257 +'\\'=258 +':'=259 +','=260 +'||'=261 +'-'=262 +'.'=263 +'=='=264 +'='=265 +'>='=266 +'>'=267 +'{'=268 +'['=269 +'<='=270 +'('=271 +'<'=272 +'%'=274 +'+'=275 +'?'=276 +'"'=277 +'\''=278 +'}'=279 +']'=280 +')'=281 +';'=282 +'/'=283 +'_'=284 diff --git a/src/autocomplete/databases/clickhouse/generated/ClickHouseParser.ts b/src/autocomplete/databases/clickhouse/generated/ClickHouseParser.ts index 2285d694f..512bf05dc 100644 --- a/src/autocomplete/databases/clickhouse/generated/ClickHouseParser.ts +++ b/src/autocomplete/databases/clickhouse/generated/ClickHouseParser.ts @@ -214,47 +214,99 @@ export class ClickHouseParser extends antlr.Parser { public static readonly WINDOW = 192; public static readonly WITH = 193; public static readonly YEAR = 194; - public static readonly JSON_FALSE = 195; - public static readonly JSON_TRUE = 196; - public static readonly IDENTIFIER = 197; - public static readonly FLOATING_LITERAL = 198; - public static readonly OCTAL_LITERAL = 199; - public static readonly DECIMAL_LITERAL = 200; - public static readonly HEXADECIMAL_LITERAL = 201; - public static readonly STRING_LITERAL = 202; - public static readonly ARROW = 203; - public static readonly ASTERISK = 204; - public static readonly BACKQUOTE = 205; - public static readonly BACKSLASH = 206; - public static readonly COLON = 207; - public static readonly COMMA = 208; - public static readonly CONCAT = 209; - public static readonly DASH = 210; - public static readonly DOT = 211; - public static readonly EQ_DOUBLE = 212; - public static readonly EQ_SINGLE = 213; - public static readonly GE = 214; - public static readonly GT = 215; - public static readonly LBRACE = 216; - public static readonly LBRACKET = 217; - public static readonly LE = 218; - public static readonly LPAREN = 219; - public static readonly LT = 220; - public static readonly NOT_EQ = 221; - public static readonly PERCENT = 222; - public static readonly PLUS = 223; - public static readonly QUESTIONMARK = 224; - public static readonly QUOTE_DOUBLE = 225; - public static readonly QUOTE_SINGLE = 226; - public static readonly RBRACE = 227; - public static readonly RBRACKET = 228; - public static readonly RPAREN = 229; - public static readonly SEMICOLON = 230; - public static readonly SLASH = 231; - public static readonly UNDERSCORE = 232; - public static readonly MULTI_LINE_COMMENT = 233; - public static readonly SINGLE_LINE_COMMENT = 234; - public static readonly WHITESPACE = 235; + public static readonly GRANT = 195; + public static readonly USER = 196; + public static readonly FETCH = 197; + public static readonly REFRESH = 198; + public static readonly POLICY = 199; + public static readonly QUOTA = 200; + public static readonly ROLE = 201; + public static readonly PROFILE = 202; + public static readonly ARBITRARY = 203; + public static readonly COLUMNS = 204; + public static readonly CURRENT_USER = 205; + public static readonly ACCESS = 206; + public static readonly SHOW_USERS = 207; + public static readonly SHOW_ROLES = 208; + public static readonly SHOW_ROW_POLICIES = 209; + public static readonly SHOW_QUOTAS = 210; + public static readonly SHOW_SETTINGS_PROFILES = 211; + public static readonly SHUTDOWN = 212; + public static readonly CACHE = 213; + public static readonly DNS = 214; + public static readonly MARK = 215; + public static readonly PART = 216; + public static readonly UNCOMPRESSED = 217; + public static readonly CONFIG = 218; + public static readonly EMBEDDED = 219; + public static readonly FUNCTIONS = 220; + public static readonly MOVES = 221; + public static readonly REPLICATION = 222; + public static readonly QUEUES = 223; + public static readonly RESTART = 224; + public static readonly DICTGET = 225; + public static readonly DICTGETHIERARCHY = 226; + public static readonly DICTHAS = 227; + public static readonly DICTISIN = 228; + public static readonly MANAGEMENT = 229; + public static readonly ADMIN = 230; + public static readonly INTROSPECTION = 231; + public static readonly ADDRESSTOLINE = 232; + public static readonly ADDRESSTOSYMBOL = 233; + public static readonly DEMANGLE = 234; + public static readonly SOURCES = 235; + public static readonly FILE = 236; + public static readonly URL = 237; + public static readonly REMOTE = 238; + public static readonly MYSQL = 239; + public static readonly ODBC = 240; + public static readonly JDBC = 241; + public static readonly HDFS = 242; + public static readonly S3 = 243; + public static readonly SETTING = 244; + public static readonly OPTION = 245; + public static readonly NONE = 246; + public static readonly JSON_FALSE = 247; + public static readonly JSON_TRUE = 248; + public static readonly IDENTIFIER = 249; + public static readonly FLOATING_LITERAL = 250; + public static readonly OCTAL_LITERAL = 251; + public static readonly DECIMAL_LITERAL = 252; + public static readonly HEXADECIMAL_LITERAL = 253; + public static readonly STRING_LITERAL = 254; + public static readonly ARROW = 255; + public static readonly ASTERISK = 256; + public static readonly BACKQUOTE = 257; + public static readonly BACKSLASH = 258; + public static readonly COLON = 259; + public static readonly COMMA = 260; + public static readonly CONCAT = 261; + public static readonly DASH = 262; + public static readonly DOT = 263; + public static readonly EQ_DOUBLE = 264; + public static readonly EQ_SINGLE = 265; + public static readonly GE = 266; + public static readonly GT = 267; + public static readonly LBRACE = 268; + public static readonly LBRACKET = 269; + public static readonly LE = 270; + public static readonly LPAREN = 271; + public static readonly LT = 272; + public static readonly NOT_EQ = 273; + public static readonly PERCENT = 274; + public static readonly PLUS = 275; + public static readonly QUESTIONMARK = 276; + public static readonly QUOTE_DOUBLE = 277; + public static readonly QUOTE_SINGLE = 278; + public static readonly RBRACE = 279; + public static readonly RBRACKET = 280; + public static readonly RPAREN = 281; + public static readonly SEMICOLON = 282; + public static readonly SLASH = 283; + public static readonly UNDERSCORE = 284; + public static readonly MULTI_LINE_COMMENT = 285; + public static readonly SINGLE_LINE_COMMENT = 286; + public static readonly WHITESPACE = 287; public static readonly RULE_root = 0; public static readonly RULE_statements = 1; public static readonly RULE_statement = 2; @@ -311,78 +363,91 @@ export class ClickHouseParser extends antlr.Parser { public static readonly RULE_dropStatement = 53; public static readonly RULE_existsStatement = 54; public static readonly RULE_explainStatement = 55; - public static readonly RULE_insertStatement = 56; - public static readonly RULE_columnsClause = 57; - public static readonly RULE_dataClause = 58; - public static readonly RULE_valuesStatement = 59; - public static readonly RULE_killStatement = 60; - public static readonly RULE_optimizeStatement = 61; - public static readonly RULE_renameStatement = 62; - public static readonly RULE_projectionSelectStatement = 63; - public static readonly RULE_selectUnionStatement = 64; - public static readonly RULE_selectStatementWithParentheses = 65; - public static readonly RULE_selectStatement = 66; - public static readonly RULE_withClause = 67; - public static readonly RULE_topClause = 68; - public static readonly RULE_fromClause = 69; - public static readonly RULE_arrayJoinClause = 70; - public static readonly RULE_windowClause = 71; - public static readonly RULE_prewhereClause = 72; - public static readonly RULE_whereClause = 73; - public static readonly RULE_groupByClause = 74; - public static readonly RULE_havingClause = 75; - public static readonly RULE_orderByClause = 76; - public static readonly RULE_projectionOrderByClause = 77; - public static readonly RULE_limitByClause = 78; - public static readonly RULE_limitClause = 79; - public static readonly RULE_settingsClause = 80; - public static readonly RULE_joinExpression = 81; - public static readonly RULE_joinOperator = 82; - public static readonly RULE_joinOperatorCross = 83; - public static readonly RULE_joinConstraintClause = 84; - public static readonly RULE_sampleClause = 85; - public static readonly RULE_limitExpression = 86; - public static readonly RULE_orderExpressionList = 87; - public static readonly RULE_orderExpression = 88; - public static readonly RULE_ratioExpression = 89; - public static readonly RULE_settingExpressionList = 90; - public static readonly RULE_settingExpression = 91; - public static readonly RULE_windowExpression = 92; - public static readonly RULE_windowPartitionByClause = 93; - public static readonly RULE_windowOrderByClause = 94; - public static readonly RULE_windowFrameClause = 95; - public static readonly RULE_windowFrameExtend = 96; - public static readonly RULE_windowFrameBound = 97; - public static readonly RULE_setStatement = 98; - public static readonly RULE_showStatement = 99; - public static readonly RULE_systemStatement = 100; - public static readonly RULE_truncateStatement = 101; - public static readonly RULE_useStatement = 102; - public static readonly RULE_watchStatement = 103; - public static readonly RULE_columnTypeExpression = 104; - public static readonly RULE_columnExpressionList = 105; - public static readonly RULE_columnsExpression = 106; - public static readonly RULE_columnExpression = 107; - public static readonly RULE_columnArgumentList = 108; - public static readonly RULE_columnArgumentExpression = 109; - public static readonly RULE_columnLambdaExpression = 110; - public static readonly RULE_columnIdentifier = 111; - public static readonly RULE_tableExpression = 112; - public static readonly RULE_tableFunctionExpression = 113; - public static readonly RULE_tableIdentifier = 114; - public static readonly RULE_tableArgList = 115; - public static readonly RULE_tableArgExpression = 116; - public static readonly RULE_databaseIdentifier = 117; - public static readonly RULE_floatingLiteral = 118; - public static readonly RULE_numberLiteral = 119; - public static readonly RULE_literal = 120; - public static readonly RULE_interval = 121; - public static readonly RULE_keyword = 122; - public static readonly RULE_keywordForAlias = 123; - public static readonly RULE_alias = 124; - public static readonly RULE_identifier = 125; - public static readonly RULE_identifierOrNull = 126; - public static readonly RULE_enumValue = 127; + public static readonly RULE_grantStatement = 56; + public static readonly RULE_userExpressionList = 57; + public static readonly RULE_userIdentifier = 58; + public static readonly RULE_selectPrivilege = 59; + public static readonly RULE_insertPrivilege = 60; + public static readonly RULE_createPrivilege = 61; + public static readonly RULE_dropPrivilege = 62; + public static readonly RULE_showPrivilege = 63; + public static readonly RULE_introspectionPrivilege = 64; + public static readonly RULE_sourcePrivilege = 65; + public static readonly RULE_dictPrivilege = 66; + public static readonly RULE_alterPrivilege = 67; + public static readonly RULE_privilege = 68; + public static readonly RULE_insertStatement = 69; + public static readonly RULE_columnsClause = 70; + public static readonly RULE_dataClause = 71; + public static readonly RULE_valuesStatement = 72; + public static readonly RULE_killStatement = 73; + public static readonly RULE_optimizeStatement = 74; + public static readonly RULE_renameStatement = 75; + public static readonly RULE_projectionSelectStatement = 76; + public static readonly RULE_selectUnionStatement = 77; + public static readonly RULE_selectStatementWithParentheses = 78; + public static readonly RULE_selectStatement = 79; + public static readonly RULE_withClause = 80; + public static readonly RULE_topClause = 81; + public static readonly RULE_fromClause = 82; + public static readonly RULE_arrayJoinClause = 83; + public static readonly RULE_windowClause = 84; + public static readonly RULE_prewhereClause = 85; + public static readonly RULE_whereClause = 86; + public static readonly RULE_groupByClause = 87; + public static readonly RULE_havingClause = 88; + public static readonly RULE_orderByClause = 89; + public static readonly RULE_projectionOrderByClause = 90; + public static readonly RULE_limitByClause = 91; + public static readonly RULE_limitClause = 92; + public static readonly RULE_settingsClause = 93; + public static readonly RULE_joinExpression = 94; + public static readonly RULE_joinOperator = 95; + public static readonly RULE_joinOperatorCross = 96; + public static readonly RULE_joinConstraintClause = 97; + public static readonly RULE_sampleClause = 98; + public static readonly RULE_limitExpression = 99; + public static readonly RULE_orderExpressionList = 100; + public static readonly RULE_orderExpression = 101; + public static readonly RULE_ratioExpression = 102; + public static readonly RULE_settingExpressionList = 103; + public static readonly RULE_settingExpression = 104; + public static readonly RULE_windowExpression = 105; + public static readonly RULE_windowPartitionByClause = 106; + public static readonly RULE_windowOrderByClause = 107; + public static readonly RULE_windowFrameClause = 108; + public static readonly RULE_windowFrameExtend = 109; + public static readonly RULE_windowFrameBound = 110; + public static readonly RULE_setStatement = 111; + public static readonly RULE_showStatement = 112; + public static readonly RULE_systemStatement = 113; + public static readonly RULE_truncateStatement = 114; + public static readonly RULE_useStatement = 115; + public static readonly RULE_watchStatement = 116; + public static readonly RULE_columnTypeExpression = 117; + public static readonly RULE_columnExpressionList = 118; + public static readonly RULE_columnsExpression = 119; + public static readonly RULE_columnExpression = 120; + public static readonly RULE_columnArgumentList = 121; + public static readonly RULE_columnArgumentExpression = 122; + public static readonly RULE_columnLambdaExpression = 123; + public static readonly RULE_columnIdentifier = 124; + public static readonly RULE_tableExpression = 125; + public static readonly RULE_tableFunctionExpression = 126; + public static readonly RULE_tableIdentifier = 127; + public static readonly RULE_tableArgList = 128; + public static readonly RULE_tableArgExpression = 129; + public static readonly RULE_databaseIdentifier = 130; + public static readonly RULE_floatingLiteral = 131; + public static readonly RULE_numberLiteral = 132; + public static readonly RULE_literal = 133; + public static readonly RULE_interval = 134; + public static readonly RULE_keyword = 135; + public static readonly RULE_keywordForAlias = 136; + public static readonly RULE_alias = 137; + public static readonly RULE_identifier = 138; + public static readonly RULE_identifierOrNull = 139; + public static readonly RULE_enumValue = 140; public static readonly literalNames = [ null, null, null, null, null, null, null, null, null, null, null, @@ -402,11 +467,16 @@ export class ClickHouseParser extends antlr.Parser { null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, - null, null, null, null, null, null, null, null, "'false'", "'true'", - null, null, null, null, null, null, "'->'", "'*'", "'`'", "'\'", - "':'", "','", "'||'", "'-'", "'.'", "'=='", "'='", "'>='", "'>'", - "'{'", "'['", "'<='", "'('", "'<'", null, "'%'", "'+'", "'?'", "'\"'", - "'''", "'}'", "']'", "')'", "';'", "'/'", "'_'" + null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, "'false'", "'true'", null, null, null, + null, null, null, "'->'", "'*'", "'`'", "'\'", "':'", "','", "'||'", + "'-'", "'.'", "'=='", "'='", "'>='", "'>'", "'{'", "'['", "'<='", + "'('", "'<'", null, "'%'", "'+'", "'?'", "'\"'", "'''", "'}'", "']'", + "')'", "';'", "'/'", "'_'" ]; public static readonly symbolicNames = [ @@ -437,14 +507,23 @@ export class ClickHouseParser extends antlr.Parser { "TIMESTAMP", "TO", "TOP", "TOTALS", "TRAILING", "TRIM", "TREE", "TRUNCATE", "TTL", "TYPE", "UNBOUNDED", "UNION", "UPDATE", "USE", "USING", "UUID", "VALUES", "VIEW", "VOLUME", "WATCH", "WEEK", "WHEN", - "WHERE", "WINDOW", "WITH", "YEAR", "JSON_FALSE", "JSON_TRUE", "IDENTIFIER", - "FLOATING_LITERAL", "OCTAL_LITERAL", "DECIMAL_LITERAL", "HEXADECIMAL_LITERAL", - "STRING_LITERAL", "ARROW", "ASTERISK", "BACKQUOTE", "BACKSLASH", - "COLON", "COMMA", "CONCAT", "DASH", "DOT", "EQ_DOUBLE", "EQ_SINGLE", - "GE", "GT", "LBRACE", "LBRACKET", "LE", "LPAREN", "LT", "NOT_EQ", - "PERCENT", "PLUS", "QUESTIONMARK", "QUOTE_DOUBLE", "QUOTE_SINGLE", - "RBRACE", "RBRACKET", "RPAREN", "SEMICOLON", "SLASH", "UNDERSCORE", - "MULTI_LINE_COMMENT", "SINGLE_LINE_COMMENT", "WHITESPACE" + "WHERE", "WINDOW", "WITH", "YEAR", "GRANT", "USER", "FETCH", "REFRESH", + "POLICY", "QUOTA", "ROLE", "PROFILE", "ARBITRARY", "COLUMNS", "CURRENT_USER", + "ACCESS", "SHOW_USERS", "SHOW_ROLES", "SHOW_ROW_POLICIES", "SHOW_QUOTAS", + "SHOW_SETTINGS_PROFILES", "SHUTDOWN", "CACHE", "DNS", "MARK", "PART", + "UNCOMPRESSED", "CONFIG", "EMBEDDED", "FUNCTIONS", "MOVES", "REPLICATION", + "QUEUES", "RESTART", "DICTGET", "DICTGETHIERARCHY", "DICTHAS", "DICTISIN", + "MANAGEMENT", "ADMIN", "INTROSPECTION", "ADDRESSTOLINE", "ADDRESSTOSYMBOL", + "DEMANGLE", "SOURCES", "FILE", "URL", "REMOTE", "MYSQL", "ODBC", + "JDBC", "HDFS", "S3", "SETTING", "OPTION", "NONE", "JSON_FALSE", + "JSON_TRUE", "IDENTIFIER", "FLOATING_LITERAL", "OCTAL_LITERAL", + "DECIMAL_LITERAL", "HEXADECIMAL_LITERAL", "STRING_LITERAL", "ARROW", + "ASTERISK", "BACKQUOTE", "BACKSLASH", "COLON", "COMMA", "CONCAT", + "DASH", "DOT", "EQ_DOUBLE", "EQ_SINGLE", "GE", "GT", "LBRACE", "LBRACKET", + "LE", "LPAREN", "LT", "NOT_EQ", "PERCENT", "PLUS", "QUESTIONMARK", + "QUOTE_DOUBLE", "QUOTE_SINGLE", "RBRACE", "RBRACKET", "RPAREN", + "SEMICOLON", "SLASH", "UNDERSCORE", "MULTI_LINE_COMMENT", "SINGLE_LINE_COMMENT", + "WHITESPACE" ]; public static readonly ruleNames = [ "root", "statements", "statement", "notInsertStatement", "commonTableExpressionStatement", @@ -462,16 +541,19 @@ export class ClickHouseParser extends antlr.Parser { "tableElementExpression", "tableColumnDefinition", "tableColumnPropertyExpression", "tableIndexDefinition", "tableProjectionDefinition", "codecExpression", "codecArgExpression", "ttlExpression", "describeStatement", "dropStatement", - "existsStatement", "explainStatement", "insertStatement", "columnsClause", - "dataClause", "valuesStatement", "killStatement", "optimizeStatement", - "renameStatement", "projectionSelectStatement", "selectUnionStatement", - "selectStatementWithParentheses", "selectStatement", "withClause", - "topClause", "fromClause", "arrayJoinClause", "windowClause", "prewhereClause", - "whereClause", "groupByClause", "havingClause", "orderByClause", - "projectionOrderByClause", "limitByClause", "limitClause", "settingsClause", - "joinExpression", "joinOperator", "joinOperatorCross", "joinConstraintClause", - "sampleClause", "limitExpression", "orderExpressionList", "orderExpression", - "ratioExpression", "settingExpressionList", "settingExpression", + "existsStatement", "explainStatement", "grantStatement", "userExpressionList", + "userIdentifier", "selectPrivilege", "insertPrivilege", "createPrivilege", + "dropPrivilege", "showPrivilege", "introspectionPrivilege", "sourcePrivilege", + "dictPrivilege", "alterPrivilege", "privilege", "insertStatement", + "columnsClause", "dataClause", "valuesStatement", "killStatement", + "optimizeStatement", "renameStatement", "projectionSelectStatement", + "selectUnionStatement", "selectStatementWithParentheses", "selectStatement", + "withClause", "topClause", "fromClause", "arrayJoinClause", "windowClause", + "prewhereClause", "whereClause", "groupByClause", "havingClause", + "orderByClause", "projectionOrderByClause", "limitByClause", "limitClause", + "settingsClause", "joinExpression", "joinOperator", "joinOperatorCross", + "joinConstraintClause", "sampleClause", "limitExpression", "orderExpressionList", + "orderExpression", "ratioExpression", "settingExpressionList", "settingExpression", "windowExpression", "windowPartitionByClause", "windowOrderByClause", "windowFrameClause", "windowFrameExtend", "windowFrameBound", "setStatement", "showStatement", "systemStatement", "truncateStatement", "useStatement", @@ -505,17 +587,17 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 257; + this.state = 283; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 539000864) !== 0) || ((((_la - 40)) & ~0x1F) === 0 && ((1 << (_la - 40)) & 197659) !== 0) || _la === 85 || _la === 92 || ((((_la - 120)) & ~0x1F) === 0 && ((1 << (_la - 120)) & 538443777) !== 0) || ((((_la - 152)) & ~0x1F) === 0 && ((1 << (_la - 152)) & 1090519557) !== 0) || ((((_la - 188)) & ~0x1F) === 0 && ((1 << (_la - 188)) & 2147483681) !== 0)) { + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 539000864) !== 0) || ((((_la - 40)) & ~0x1F) === 0 && ((1 << (_la - 40)) & 197659) !== 0) || _la === 85 || _la === 92 || ((((_la - 120)) & ~0x1F) === 0 && ((1 << (_la - 120)) & 538443777) !== 0) || ((((_la - 152)) & ~0x1F) === 0 && ((1 << (_la - 152)) & 1090519557) !== 0) || ((((_la - 188)) & ~0x1F) === 0 && ((1 << (_la - 188)) & 161) !== 0) || _la === 271) { { - this.state = 256; + this.state = 282; this.statements(); } } - this.state = 259; + this.state = 285; this.match(ClickHouseParser.EOF); } } @@ -537,20 +619,20 @@ export class ClickHouseParser extends antlr.Parser { this.enterRule(localContext, 2, ClickHouseParser.RULE_statements); let _la: number; try { - this.state = 269; + this.state = 295; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 2, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 261; + this.state = 287; this.statement(); - this.state = 263; + this.state = 289; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 230) { + if (_la === 282) { { - this.state = 262; + this.state = 288; this.match(ClickHouseParser.SEMICOLON); } } @@ -560,11 +642,11 @@ export class ClickHouseParser extends antlr.Parser { case 2: this.enterOuterAlt(localContext, 2); { - this.state = 265; + this.state = 291; this.statement(); - this.state = 266; + this.state = 292; this.match(ClickHouseParser.SEMICOLON); - this.state = 267; + this.state = 293; this.statements(); } break; @@ -588,7 +670,7 @@ export class ClickHouseParser extends antlr.Parser { this.enterRule(localContext, 4, ClickHouseParser.RULE_statement); let _la: number; try { - this.state = 285; + this.state = 312; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.ALTER: @@ -617,40 +699,40 @@ export class ClickHouseParser extends antlr.Parser { case ClickHouseParser.LPAREN: this.enterOuterAlt(localContext, 1); { - this.state = 271; + this.state = 297; this.notInsertStatement(); - this.state = 275; + this.state = 301; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 87) { { - this.state = 272; + this.state = 298; this.match(ClickHouseParser.INTO); - this.state = 273; + this.state = 299; this.match(ClickHouseParser.OUTFILE); - this.state = 274; + this.state = 300; this.match(ClickHouseParser.STRING_LITERAL); } } - this.state = 279; + this.state = 305; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 66) { { - this.state = 277; + this.state = 303; this.match(ClickHouseParser.FORMAT); - this.state = 278; + this.state = 304; this.identifierOrNull(); } } - this.state = 282; + this.state = 308; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 5, this.context) ) { case 1: { - this.state = 281; + this.state = 307; this.match(ClickHouseParser.SEMICOLON); } break; @@ -660,10 +742,17 @@ export class ClickHouseParser extends antlr.Parser { case ClickHouseParser.INSERT: this.enterOuterAlt(localContext, 2); { - this.state = 284; + this.state = 310; this.insertStatement(); } break; + case ClickHouseParser.GRANT: + this.enterOuterAlt(localContext, 3); + { + this.state = 311; + this.grantStatement(); + } + break; default: throw new antlr.NoViableAltException(this); } @@ -685,156 +774,156 @@ export class ClickHouseParser extends antlr.Parser { let localContext = new NotInsertStatementContext(this.context, this.state); this.enterRule(localContext, 6, ClickHouseParser.RULE_notInsertStatement); try { - this.state = 310; + this.state = 337; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 8, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 287; + this.state = 314; this.alterStatement(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 288; + this.state = 315; this.attachStatement(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 289; + this.state = 316; this.checkStatement(); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 290; + this.state = 317; this.createStatement(); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 291; + this.state = 318; this.describeStatement(); } break; case 6: this.enterOuterAlt(localContext, 6); { - this.state = 292; + this.state = 319; this.deleteStatement(); } break; case 7: this.enterOuterAlt(localContext, 7); { - this.state = 293; + this.state = 320; this.dropStatement(); } break; case 8: this.enterOuterAlt(localContext, 8); { - this.state = 294; + this.state = 321; this.existsStatement(); } break; case 9: this.enterOuterAlt(localContext, 9); { - this.state = 295; + this.state = 322; this.explainStatement(); } break; case 10: this.enterOuterAlt(localContext, 10); { - this.state = 296; + this.state = 323; this.killStatement(); } break; case 11: this.enterOuterAlt(localContext, 11); { - this.state = 297; + this.state = 324; this.optimizeStatement(); } break; case 12: this.enterOuterAlt(localContext, 12); { - this.state = 298; + this.state = 325; this.renameStatement(); } break; case 13: this.enterOuterAlt(localContext, 13); { - this.state = 299; + this.state = 326; this.selectUnionStatement(); } break; case 14: this.enterOuterAlt(localContext, 14); { - this.state = 300; + this.state = 327; this.setStatement(); } break; case 15: this.enterOuterAlt(localContext, 15); { - this.state = 301; + this.state = 328; this.showStatement(); } break; case 16: this.enterOuterAlt(localContext, 16); { - this.state = 302; + this.state = 329; this.systemStatement(); } break; case 17: this.enterOuterAlt(localContext, 17); { - this.state = 303; + this.state = 330; this.truncateStatement(); } break; case 18: this.enterOuterAlt(localContext, 18); { - this.state = 304; + this.state = 331; this.useStatement(); } break; case 19: this.enterOuterAlt(localContext, 19); { - this.state = 305; + this.state = 332; this.watchStatement(); } break; case 20: this.enterOuterAlt(localContext, 20); { - this.state = 307; + this.state = 334; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 7, this.context) ) { case 1: { - this.state = 306; + this.state = 333; this.commonTableExpressionStatement(); } break; } - this.state = 309; + this.state = 336; this.selectStatement(); } break; @@ -860,23 +949,23 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 312; + this.state = 339; this.match(ClickHouseParser.WITH); - this.state = 313; + this.state = 340; this.namedQuery(); - this.state = 318; + this.state = 345; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 208) { + while (_la === 260) { { { - this.state = 314; + this.state = 341; this.match(ClickHouseParser.COMMA); - this.state = 315; + this.state = 342; this.namedQuery(); } } - this.state = 320; + this.state = 347; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -902,25 +991,25 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 321; + this.state = 348; localContext._name = this.identifier(); - this.state = 323; + this.state = 350; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 219) { + if (_la === 271) { { - this.state = 322; + this.state = 349; this.columnAliases(); } } - this.state = 325; + this.state = 352; this.match(ClickHouseParser.AS); - this.state = 326; + this.state = 353; this.match(ClickHouseParser.LPAREN); - this.state = 327; + this.state = 354; this.notInsertStatement(); - this.state = 328; + this.state = 355; this.match(ClickHouseParser.RPAREN); } } @@ -944,27 +1033,27 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 330; + this.state = 357; this.match(ClickHouseParser.LPAREN); - this.state = 331; + this.state = 358; this.identifier(); - this.state = 336; + this.state = 363; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 208) { + while (_la === 260) { { { - this.state = 332; + this.state = 359; this.match(ClickHouseParser.COMMA); - this.state = 333; + this.state = 360; this.identifier(); } } - this.state = 338; + this.state = 365; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 339; + this.state = 366; this.match(ClickHouseParser.RPAREN); } } @@ -989,37 +1078,37 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableStatementContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 341; + this.state = 368; this.match(ClickHouseParser.ALTER); - this.state = 342; + this.state = 369; this.match(ClickHouseParser.TABLE); - this.state = 343; + this.state = 370; this.tableIdentifier(); - this.state = 345; + this.state = 372; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 119) { { - this.state = 344; + this.state = 371; this.clusterClause(); } } - this.state = 347; + this.state = 374; this.alterTableClause(); - this.state = 352; + this.state = 379; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 208) { + while (_la === 260) { { { - this.state = 348; + this.state = 375; this.match(ClickHouseParser.COMMA); - this.state = 349; + this.state = 376; this.alterTableClause(); } } - this.state = 354; + this.state = 381; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -1043,41 +1132,41 @@ export class ClickHouseParser extends antlr.Parser { this.enterRule(localContext, 16, ClickHouseParser.RULE_alterTableClause); let _la: number; try { - this.state = 569; + this.state = 596; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 42, this.context) ) { case 1: localContext = new AlterTableClauseAddColumnContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 355; + this.state = 382; this.match(ClickHouseParser.ADD); - this.state = 356; + this.state = 383; this.match(ClickHouseParser.COLUMN); - this.state = 360; + this.state = 387; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 14, this.context) ) { case 1: { - this.state = 357; + this.state = 384; this.match(ClickHouseParser.IF); - this.state = 358; + this.state = 385; this.match(ClickHouseParser.NOT); - this.state = 359; + this.state = 386; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 362; + this.state = 389; this.tableColumnDefinition(); - this.state = 365; + this.state = 392; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 2) { { - this.state = 363; + this.state = 390; this.match(ClickHouseParser.AFTER); - this.state = 364; + this.state = 391; this.columnIdentifier(); } } @@ -1088,34 +1177,34 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseAddIndexContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 367; + this.state = 394; this.match(ClickHouseParser.ADD); - this.state = 368; + this.state = 395; this.match(ClickHouseParser.INDEX); - this.state = 372; + this.state = 399; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 16, this.context) ) { case 1: { - this.state = 369; + this.state = 396; this.match(ClickHouseParser.IF); - this.state = 370; + this.state = 397; this.match(ClickHouseParser.NOT); - this.state = 371; + this.state = 398; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 374; + this.state = 401; this.tableIndexDefinition(); - this.state = 377; + this.state = 404; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 2) { { - this.state = 375; + this.state = 402; this.match(ClickHouseParser.AFTER); - this.state = 376; + this.state = 403; this.columnIdentifier(); } } @@ -1126,34 +1215,34 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseAddProjectionContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 379; + this.state = 406; this.match(ClickHouseParser.ADD); - this.state = 380; + this.state = 407; this.match(ClickHouseParser.PROJECTION); - this.state = 384; + this.state = 411; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 18, this.context) ) { case 1: { - this.state = 381; + this.state = 408; this.match(ClickHouseParser.IF); - this.state = 382; + this.state = 409; this.match(ClickHouseParser.NOT); - this.state = 383; + this.state = 410; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 386; + this.state = 413; this.tableProjectionDefinition(); - this.state = 389; + this.state = 416; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 2) { { - this.state = 387; + this.state = 414; this.match(ClickHouseParser.AFTER); - this.state = 388; + this.state = 415; this.columnIdentifier(); } } @@ -1164,18 +1253,18 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseAttachContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 391; + this.state = 418; this.match(ClickHouseParser.ATTACH); - this.state = 392; + this.state = 419; this.partitionClause(); - this.state = 395; + this.state = 422; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 68) { { - this.state = 393; + this.state = 420; this.match(ClickHouseParser.FROM); - this.state = 394; + this.state = 421; this.tableIdentifier(); } } @@ -1186,32 +1275,32 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseClearColumnContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 397; + this.state = 424; this.match(ClickHouseParser.CLEAR); - this.state = 398; + this.state = 425; this.match(ClickHouseParser.COLUMN); - this.state = 401; + this.state = 428; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 21, this.context) ) { case 1: { - this.state = 399; + this.state = 426; this.match(ClickHouseParser.IF); - this.state = 400; + this.state = 427; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 403; + this.state = 430; this.columnIdentifier(); - this.state = 406; + this.state = 433; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 80) { { - this.state = 404; + this.state = 431; this.match(ClickHouseParser.IN); - this.state = 405; + this.state = 432; this.partitionClause(); } } @@ -1222,32 +1311,32 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseClearIndexContext(localContext); this.enterOuterAlt(localContext, 6); { - this.state = 408; + this.state = 435; this.match(ClickHouseParser.CLEAR); - this.state = 409; + this.state = 436; this.match(ClickHouseParser.INDEX); - this.state = 412; + this.state = 439; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 23, this.context) ) { case 1: { - this.state = 410; + this.state = 437; this.match(ClickHouseParser.IF); - this.state = 411; + this.state = 438; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 414; + this.state = 441; this.columnIdentifier(); - this.state = 417; + this.state = 444; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 80) { { - this.state = 415; + this.state = 442; this.match(ClickHouseParser.IN); - this.state = 416; + this.state = 443; this.partitionClause(); } } @@ -1258,32 +1347,32 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseClearProjectionContext(localContext); this.enterOuterAlt(localContext, 7); { - this.state = 419; + this.state = 446; this.match(ClickHouseParser.CLEAR); - this.state = 420; + this.state = 447; this.match(ClickHouseParser.PROJECTION); - this.state = 423; + this.state = 450; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 25, this.context) ) { case 1: { - this.state = 421; + this.state = 448; this.match(ClickHouseParser.IF); - this.state = 422; + this.state = 449; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 425; + this.state = 452; this.columnIdentifier(); - this.state = 428; + this.state = 455; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 80) { { - this.state = 426; + this.state = 453; this.match(ClickHouseParser.IN); - this.state = 427; + this.state = 454; this.partitionClause(); } } @@ -1294,25 +1383,25 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseCommentContext(localContext); this.enterOuterAlt(localContext, 8); { - this.state = 430; + this.state = 457; this.match(ClickHouseParser.COMMENT); - this.state = 431; + this.state = 458; this.match(ClickHouseParser.COLUMN); - this.state = 434; + this.state = 461; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 27, this.context) ) { case 1: { - this.state = 432; + this.state = 459; this.match(ClickHouseParser.IF); - this.state = 433; + this.state = 460; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 436; + this.state = 463; this.columnIdentifier(); - this.state = 437; + this.state = 464; this.match(ClickHouseParser.STRING_LITERAL); } break; @@ -1320,11 +1409,11 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseDeleteContext(localContext); this.enterOuterAlt(localContext, 9); { - this.state = 439; + this.state = 466; this.match(ClickHouseParser.DELETE); - this.state = 440; + this.state = 467; this.match(ClickHouseParser.WHERE); - this.state = 441; + this.state = 468; this.columnExpression(0); } break; @@ -1332,9 +1421,9 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseDetachContext(localContext); this.enterOuterAlt(localContext, 10); { - this.state = 442; + this.state = 469; this.match(ClickHouseParser.DETACH); - this.state = 443; + this.state = 470; this.partitionClause(); } break; @@ -1342,23 +1431,23 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseDropColumnContext(localContext); this.enterOuterAlt(localContext, 11); { - this.state = 444; + this.state = 471; this.match(ClickHouseParser.DROP); - this.state = 445; + this.state = 472; this.match(ClickHouseParser.COLUMN); - this.state = 448; + this.state = 475; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 28, this.context) ) { case 1: { - this.state = 446; + this.state = 473; this.match(ClickHouseParser.IF); - this.state = 447; + this.state = 474; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 450; + this.state = 477; this.columnIdentifier(); } break; @@ -1366,23 +1455,23 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseDropIndexContext(localContext); this.enterOuterAlt(localContext, 12); { - this.state = 451; + this.state = 478; this.match(ClickHouseParser.DROP); - this.state = 452; + this.state = 479; this.match(ClickHouseParser.INDEX); - this.state = 455; + this.state = 482; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 29, this.context) ) { case 1: { - this.state = 453; + this.state = 480; this.match(ClickHouseParser.IF); - this.state = 454; + this.state = 481; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 457; + this.state = 484; this.columnIdentifier(); } break; @@ -1390,23 +1479,23 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseDropProjectionContext(localContext); this.enterOuterAlt(localContext, 13); { - this.state = 458; + this.state = 485; this.match(ClickHouseParser.DROP); - this.state = 459; + this.state = 486; this.match(ClickHouseParser.PROJECTION); - this.state = 462; + this.state = 489; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 30, this.context) ) { case 1: { - this.state = 460; + this.state = 487; this.match(ClickHouseParser.IF); - this.state = 461; + this.state = 488; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 464; + this.state = 491; this.columnIdentifier(); } break; @@ -1414,9 +1503,9 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseDropPartitionContext(localContext); this.enterOuterAlt(localContext, 14); { - this.state = 465; + this.state = 492; this.match(ClickHouseParser.DROP); - this.state = 466; + this.state = 493; this.partitionClause(); } break; @@ -1424,14 +1513,14 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseFreezePartitionContext(localContext); this.enterOuterAlt(localContext, 15); { - this.state = 467; + this.state = 494; this.match(ClickHouseParser.FREEZE); - this.state = 469; + this.state = 496; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 126) { { - this.state = 468; + this.state = 495; this.partitionClause(); } } @@ -1442,32 +1531,32 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseMaterializeIndexContext(localContext); this.enterOuterAlt(localContext, 16); { - this.state = 471; + this.state = 498; this.match(ClickHouseParser.MATERIALIZE); - this.state = 472; + this.state = 499; this.match(ClickHouseParser.INDEX); - this.state = 475; + this.state = 502; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 32, this.context) ) { case 1: { - this.state = 473; + this.state = 500; this.match(ClickHouseParser.IF); - this.state = 474; + this.state = 501; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 477; + this.state = 504; this.columnIdentifier(); - this.state = 480; + this.state = 507; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 80) { { - this.state = 478; + this.state = 505; this.match(ClickHouseParser.IN); - this.state = 479; + this.state = 506; this.partitionClause(); } } @@ -1478,32 +1567,32 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseMaterializeProjectionContext(localContext); this.enterOuterAlt(localContext, 17); { - this.state = 482; + this.state = 509; this.match(ClickHouseParser.MATERIALIZE); - this.state = 483; + this.state = 510; this.match(ClickHouseParser.PROJECTION); - this.state = 486; + this.state = 513; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 34, this.context) ) { case 1: { - this.state = 484; + this.state = 511; this.match(ClickHouseParser.IF); - this.state = 485; + this.state = 512; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 488; + this.state = 515; this.columnIdentifier(); - this.state = 491; + this.state = 518; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 80) { { - this.state = 489; + this.state = 516; this.match(ClickHouseParser.IN); - this.state = 490; + this.state = 517; this.partitionClause(); } } @@ -1514,25 +1603,25 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseModifyCodecContext(localContext); this.enterOuterAlt(localContext, 18); { - this.state = 493; + this.state = 520; this.match(ClickHouseParser.MODIFY); - this.state = 494; + this.state = 521; this.match(ClickHouseParser.COLUMN); - this.state = 497; + this.state = 524; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 36, this.context) ) { case 1: { - this.state = 495; + this.state = 522; this.match(ClickHouseParser.IF); - this.state = 496; + this.state = 523; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 499; + this.state = 526; this.columnIdentifier(); - this.state = 500; + this.state = 527; this.codecExpression(); } break; @@ -1540,27 +1629,27 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseModifyCommentContext(localContext); this.enterOuterAlt(localContext, 19); { - this.state = 502; + this.state = 529; this.match(ClickHouseParser.MODIFY); - this.state = 503; + this.state = 530; this.match(ClickHouseParser.COLUMN); - this.state = 506; + this.state = 533; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 37, this.context) ) { case 1: { - this.state = 504; + this.state = 531; this.match(ClickHouseParser.IF); - this.state = 505; + this.state = 532; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 508; + this.state = 535; this.columnIdentifier(); - this.state = 509; + this.state = 536; this.match(ClickHouseParser.COMMENT); - this.state = 510; + this.state = 537; this.match(ClickHouseParser.STRING_LITERAL); } break; @@ -1568,27 +1657,27 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseModifyRemoveContext(localContext); this.enterOuterAlt(localContext, 20); { - this.state = 512; + this.state = 539; this.match(ClickHouseParser.MODIFY); - this.state = 513; + this.state = 540; this.match(ClickHouseParser.COLUMN); - this.state = 516; + this.state = 543; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 38, this.context) ) { case 1: { - this.state = 514; + this.state = 541; this.match(ClickHouseParser.IF); - this.state = 515; + this.state = 542; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 518; + this.state = 545; this.columnIdentifier(); - this.state = 519; + this.state = 546; this.match(ClickHouseParser.REMOVE); - this.state = 520; + this.state = 547; this.tableColumnPropertyType(); } break; @@ -1596,23 +1685,23 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseModifyContext(localContext); this.enterOuterAlt(localContext, 21); { - this.state = 522; + this.state = 549; this.match(ClickHouseParser.MODIFY); - this.state = 523; + this.state = 550; this.match(ClickHouseParser.COLUMN); - this.state = 526; + this.state = 553; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 39, this.context) ) { case 1: { - this.state = 524; + this.state = 551; this.match(ClickHouseParser.IF); - this.state = 525; + this.state = 552; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 528; + this.state = 555; this.tableColumnDefinition(); } break; @@ -1620,13 +1709,13 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseModifyOrderByContext(localContext); this.enterOuterAlt(localContext, 22); { - this.state = 529; + this.state = 556; this.match(ClickHouseParser.MODIFY); - this.state = 530; + this.state = 557; this.match(ClickHouseParser.ORDER); - this.state = 531; + this.state = 558; this.match(ClickHouseParser.BY); - this.state = 532; + this.state = 559; this.columnExpression(0); } break; @@ -1634,9 +1723,9 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseModifyTTLContext(localContext); this.enterOuterAlt(localContext, 23); { - this.state = 533; + this.state = 560; this.match(ClickHouseParser.MODIFY); - this.state = 534; + this.state = 561; this.ttlClause(); } break; @@ -1644,40 +1733,40 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseMovePartitionContext(localContext); this.enterOuterAlt(localContext, 24); { - this.state = 535; + this.state = 562; this.match(ClickHouseParser.MOVE); - this.state = 536; + this.state = 563; this.partitionClause(); - this.state = 546; + this.state = 573; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 40, this.context) ) { case 1: { - this.state = 537; + this.state = 564; this.match(ClickHouseParser.TO); - this.state = 538; + this.state = 565; this.match(ClickHouseParser.DISK); - this.state = 539; + this.state = 566; this.match(ClickHouseParser.STRING_LITERAL); } break; case 2: { - this.state = 540; + this.state = 567; this.match(ClickHouseParser.TO); - this.state = 541; + this.state = 568; this.match(ClickHouseParser.VOLUME); - this.state = 542; + this.state = 569; this.match(ClickHouseParser.STRING_LITERAL); } break; case 3: { - this.state = 543; + this.state = 570; this.match(ClickHouseParser.TO); - this.state = 544; + this.state = 571; this.match(ClickHouseParser.TABLE); - this.state = 545; + this.state = 572; this.tableIdentifier(); } break; @@ -1688,9 +1777,9 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseRemoveTTLContext(localContext); this.enterOuterAlt(localContext, 25); { - this.state = 548; + this.state = 575; this.match(ClickHouseParser.REMOVE); - this.state = 549; + this.state = 576; this.match(ClickHouseParser.TTL); } break; @@ -1698,27 +1787,27 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseRenameContext(localContext); this.enterOuterAlt(localContext, 26); { - this.state = 550; + this.state = 577; this.match(ClickHouseParser.RENAME); - this.state = 551; + this.state = 578; this.match(ClickHouseParser.COLUMN); - this.state = 554; + this.state = 581; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 41, this.context) ) { case 1: { - this.state = 552; + this.state = 579; this.match(ClickHouseParser.IF); - this.state = 553; + this.state = 580; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 556; + this.state = 583; this.columnIdentifier(); - this.state = 557; + this.state = 584; this.match(ClickHouseParser.TO); - this.state = 558; + this.state = 585; this.columnIdentifier(); } break; @@ -1726,13 +1815,13 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseReplaceContext(localContext); this.enterOuterAlt(localContext, 27); { - this.state = 560; + this.state = 587; this.match(ClickHouseParser.REPLACE); - this.state = 561; + this.state = 588; this.partitionClause(); - this.state = 562; + this.state = 589; this.match(ClickHouseParser.FROM); - this.state = 563; + this.state = 590; this.tableIdentifier(); } break; @@ -1740,11 +1829,11 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AlterTableClauseUpdateContext(localContext); this.enterOuterAlt(localContext, 28); { - this.state = 565; + this.state = 592; this.match(ClickHouseParser.UPDATE); - this.state = 566; + this.state = 593; this.assignmentExpressionList(); - this.state = 567; + this.state = 594; this.whereClause(); } break; @@ -1770,21 +1859,21 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 571; + this.state = 598; this.assignmentExpression(); - this.state = 576; + this.state = 603; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 208) { + while (_la === 260) { { { - this.state = 572; + this.state = 599; this.match(ClickHouseParser.COMMA); - this.state = 573; + this.state = 600; this.assignmentExpression(); } } - this.state = 578; + this.state = 605; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -1809,11 +1898,11 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 579; + this.state = 606; this.columnIdentifier(); - this.state = 580; + this.state = 607; this.match(ClickHouseParser.EQ_SINGLE); - this.state = 581; + this.state = 608; this.columnExpression(0); } } @@ -1837,7 +1926,7 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 583; + this.state = 610; _la = this.tokenStream.LA(1); if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 150994952) !== 0) || _la === 38 || _la === 104 || _la === 177)) { this.errorHandler.recoverInline(this); @@ -1865,26 +1954,26 @@ export class ClickHouseParser extends antlr.Parser { let localContext = new PartitionClauseContext(this.context, this.state); this.enterRule(localContext, 24, ClickHouseParser.RULE_partitionClause); try { - this.state = 590; + this.state = 617; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 44, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 585; + this.state = 612; this.match(ClickHouseParser.PARTITION); - this.state = 586; + this.state = 613; this.columnExpression(0); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 587; + this.state = 614; this.match(ClickHouseParser.PARTITION); - this.state = 588; + this.state = 615; this.match(ClickHouseParser.ID); - this.state = 589; + this.state = 616; this.match(ClickHouseParser.STRING_LITERAL); } break; @@ -1911,18 +2000,18 @@ export class ClickHouseParser extends antlr.Parser { localContext = new AttachDictionaryStatementContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 592; + this.state = 619; this.match(ClickHouseParser.ATTACH); - this.state = 593; + this.state = 620; this.match(ClickHouseParser.DICTIONARY); - this.state = 594; + this.state = 621; this.tableIdentifier(); - this.state = 596; + this.state = 623; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 119) { { - this.state = 595; + this.state = 622; this.clusterClause(); } } @@ -1949,18 +2038,18 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 598; + this.state = 625; this.match(ClickHouseParser.CHECK); - this.state = 599; + this.state = 626; this.match(ClickHouseParser.TABLE); - this.state = 600; + this.state = 627; this.tableIdentifier(); - this.state = 602; + this.state = 629; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 126) { { - this.state = 601; + this.state = 628; this.partitionClause(); } } @@ -1987,28 +2076,28 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 604; + this.state = 631; this.match(ClickHouseParser.DELETE); - this.state = 605; + this.state = 632; this.match(ClickHouseParser.FROM); - this.state = 606; + this.state = 633; this.tableIdentifier(); - this.state = 608; + this.state = 635; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 119) { { - this.state = 607; + this.state = 634; this.clusterClause(); } } - this.state = 611; + this.state = 638; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 191) { { - this.state = 610; + this.state = 637; this.whereClause(); } } @@ -2035,27 +2124,27 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 620; + this.state = 647; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.ATTACH: { - this.state = 613; + this.state = 640; this.match(ClickHouseParser.ATTACH); } break; case ClickHouseParser.CREATE: { - this.state = 614; + this.state = 641; this.match(ClickHouseParser.CREATE); - this.state = 617; + this.state = 644; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 121) { { - this.state = 615; + this.state = 642; this.match(ClickHouseParser.OR); - this.state = 616; + this.state = 643; this.match(ClickHouseParser.REPLACE); } } @@ -2064,87 +2153,87 @@ export class ClickHouseParser extends antlr.Parser { break; case ClickHouseParser.REPLACE: { - this.state = 619; + this.state = 646; this.match(ClickHouseParser.REPLACE); } break; default: throw new antlr.NoViableAltException(this); } - this.state = 623; + this.state = 650; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 164) { { - this.state = 622; + this.state = 649; this.match(ClickHouseParser.TEMPORARY); } } - this.state = 625; + this.state = 652; this.match(ClickHouseParser.TABLE); - this.state = 629; + this.state = 656; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 52, this.context) ) { case 1: { - this.state = 626; + this.state = 653; this.match(ClickHouseParser.IF); - this.state = 627; + this.state = 654; this.match(ClickHouseParser.NOT); - this.state = 628; + this.state = 655; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 631; + this.state = 658; this.tableIdentifier(); - this.state = 633; + this.state = 660; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 184) { { - this.state = 632; + this.state = 659; this.uuidClause(); } } - this.state = 636; + this.state = 663; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 119) { { - this.state = 635; + this.state = 662; this.clusterClause(); } } - this.state = 639; + this.state = 666; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 55, this.context) ) { case 1: { - this.state = 638; + this.state = 665; this.tableSchemaClause(); } break; } - this.state = 642; + this.state = 669; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 53) { { - this.state = 641; + this.state = 668; this.engineClause(); } } - this.state = 645; + this.state = 672; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 10) { { - this.state = 644; + this.state = 671; this.subqueryClause(); } } @@ -2171,7 +2260,7 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 647; + this.state = 674; _la = this.tokenStream.LA(1); if(!(_la === 15 || _la === 29)) { this.errorHandler.recoverInline(this); @@ -2180,35 +2269,35 @@ export class ClickHouseParser extends antlr.Parser { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 648; + this.state = 675; this.match(ClickHouseParser.DATABASE); - this.state = 652; + this.state = 679; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 58, this.context) ) { case 1: { - this.state = 649; + this.state = 676; this.match(ClickHouseParser.IF); - this.state = 650; + this.state = 677; this.match(ClickHouseParser.NOT); - this.state = 651; + this.state = 678; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 654; + this.state = 681; this.identifier(); - this.state = 656; + this.state = 683; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 119) { { - this.state = 655; + this.state = 682; this.clusterClause(); } } - this.state = 658; + this.state = 685; this.engineExpression(); } } @@ -2232,27 +2321,27 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 667; + this.state = 694; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.ATTACH: { - this.state = 660; + this.state = 687; this.match(ClickHouseParser.ATTACH); } break; case ClickHouseParser.CREATE: { - this.state = 661; + this.state = 688; this.match(ClickHouseParser.CREATE); - this.state = 664; + this.state = 691; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 121) { { - this.state = 662; + this.state = 689; this.match(ClickHouseParser.OR); - this.state = 663; + this.state = 690; this.match(ClickHouseParser.REPLACE); } } @@ -2261,54 +2350,54 @@ export class ClickHouseParser extends antlr.Parser { break; case ClickHouseParser.REPLACE: { - this.state = 666; + this.state = 693; this.match(ClickHouseParser.REPLACE); } break; default: throw new antlr.NoViableAltException(this); } - this.state = 669; + this.state = 696; this.match(ClickHouseParser.DICTIONARY); - this.state = 673; + this.state = 700; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 62, this.context) ) { case 1: { - this.state = 670; + this.state = 697; this.match(ClickHouseParser.IF); - this.state = 671; + this.state = 698; this.match(ClickHouseParser.NOT); - this.state = 672; + this.state = 699; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 675; + this.state = 702; this.tableIdentifier(); - this.state = 677; + this.state = 704; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 184) { { - this.state = 676; + this.state = 703; this.uuidClause(); } } - this.state = 680; + this.state = 707; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 119) { { - this.state = 679; + this.state = 706; this.clusterClause(); } } - this.state = 682; + this.state = 709; this.dictionarySchemaClause(); - this.state = 683; + this.state = 710; this.dictionaryEngineClause(); } } @@ -2332,7 +2421,7 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 685; + this.state = 712; _la = this.tokenStream.LA(1); if(!(_la === 15 || _la === 29)) { this.errorHandler.recoverInline(this); @@ -2341,61 +2430,61 @@ export class ClickHouseParser extends antlr.Parser { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 686; + this.state = 713; this.match(ClickHouseParser.LIVE); - this.state = 687; + this.state = 714; this.match(ClickHouseParser.VIEW); - this.state = 691; + this.state = 718; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 65, this.context) ) { case 1: { - this.state = 688; + this.state = 715; this.match(ClickHouseParser.IF); - this.state = 689; + this.state = 716; this.match(ClickHouseParser.NOT); - this.state = 690; + this.state = 717; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 693; + this.state = 720; this.tableIdentifier(); - this.state = 695; + this.state = 722; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 184) { { - this.state = 694; + this.state = 721; this.uuidClause(); } } - this.state = 698; + this.state = 725; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 119) { { - this.state = 697; + this.state = 724; this.clusterClause(); } } - this.state = 705; + this.state = 732; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 193) { { - this.state = 700; + this.state = 727; this.match(ClickHouseParser.WITH); - this.state = 701; + this.state = 728; this.match(ClickHouseParser.TIMEOUT); - this.state = 703; + this.state = 730; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 200) { + if (_la === 252) { { - this.state = 702; + this.state = 729; this.match(ClickHouseParser.DECIMAL_LITERAL); } } @@ -2403,27 +2492,27 @@ export class ClickHouseParser extends antlr.Parser { } } - this.state = 708; + this.state = 735; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 170) { { - this.state = 707; + this.state = 734; this.destinationClause(); } } - this.state = 711; + this.state = 738; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 71, this.context) ) { case 1: { - this.state = 710; + this.state = 737; this.tableSchemaClause(); } break; } - this.state = 713; + this.state = 740; this.subqueryClause(); } } @@ -2447,7 +2536,7 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 715; + this.state = 742; _la = this.tokenStream.LA(1); if(!(_la === 15 || _la === 29)) { this.errorHandler.recoverInline(this); @@ -2456,75 +2545,75 @@ export class ClickHouseParser extends antlr.Parser { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 716; + this.state = 743; this.match(ClickHouseParser.MATERIALIZED); - this.state = 717; + this.state = 744; this.match(ClickHouseParser.VIEW); - this.state = 721; + this.state = 748; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 72, this.context) ) { case 1: { - this.state = 718; + this.state = 745; this.match(ClickHouseParser.IF); - this.state = 719; + this.state = 746; this.match(ClickHouseParser.NOT); - this.state = 720; + this.state = 747; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 723; + this.state = 750; this.tableIdentifier(); - this.state = 725; + this.state = 752; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 184) { { - this.state = 724; + this.state = 751; this.uuidClause(); } } - this.state = 728; + this.state = 755; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 119) { { - this.state = 727; + this.state = 754; this.clusterClause(); } } - this.state = 731; + this.state = 758; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 10 || _la === 219) { + if (_la === 10 || _la === 271) { { - this.state = 730; + this.state = 757; this.tableSchemaClause(); } } - this.state = 738; + this.state = 765; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.TO: { - this.state = 733; + this.state = 760; this.destinationClause(); } break; case ClickHouseParser.ENGINE: { - this.state = 734; + this.state = 761; this.engineClause(); - this.state = 736; + this.state = 763; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 129) { { - this.state = 735; + this.state = 762; this.match(ClickHouseParser.POPULATE); } } @@ -2534,7 +2623,7 @@ export class ClickHouseParser extends antlr.Parser { default: throw new antlr.NoViableAltException(this); } - this.state = 740; + this.state = 767; this.subqueryClause(); } } @@ -2558,7 +2647,7 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 742; + this.state = 769; _la = this.tokenStream.LA(1); if(!(_la === 15 || _la === 29)) { this.errorHandler.recoverInline(this); @@ -2567,67 +2656,67 @@ export class ClickHouseParser extends antlr.Parser { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 745; + this.state = 772; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 121) { { - this.state = 743; + this.state = 770; this.match(ClickHouseParser.OR); - this.state = 744; + this.state = 771; this.match(ClickHouseParser.REPLACE); } } - this.state = 747; + this.state = 774; this.match(ClickHouseParser.VIEW); - this.state = 751; + this.state = 778; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 79, this.context) ) { case 1: { - this.state = 748; + this.state = 775; this.match(ClickHouseParser.IF); - this.state = 749; + this.state = 776; this.match(ClickHouseParser.NOT); - this.state = 750; + this.state = 777; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 753; + this.state = 780; this.tableIdentifier(); - this.state = 755; + this.state = 782; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 184) { { - this.state = 754; + this.state = 781; this.uuidClause(); } } - this.state = 758; + this.state = 785; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 119) { { - this.state = 757; + this.state = 784; this.clusterClause(); } } - this.state = 761; + this.state = 788; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 82, this.context) ) { case 1: { - this.state = 760; + this.state = 787; this.tableSchemaClause(); } break; } - this.state = 763; + this.state = 790; this.subqueryClause(); } } @@ -2648,48 +2737,48 @@ export class ClickHouseParser extends antlr.Parser { let localContext = new CreateStatementContext(this.context, this.state); this.enterRule(localContext, 44, ClickHouseParser.RULE_createStatement); try { - this.state = 771; + this.state = 798; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 83, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 765; + this.state = 792; this.createDatabaseStatement(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 766; + this.state = 793; this.createDictionaryStatement(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 767; + this.state = 794; this.createLiveViewStatement(); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 768; + this.state = 795; this.createMaterializedViewStatement(); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 769; + this.state = 796; this.createTableStatement(); } break; case 6: this.enterOuterAlt(localContext, 6); { - this.state = 770; + this.state = 797; this.createViewStatement(); } break; @@ -2715,27 +2804,27 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 773; + this.state = 800; this.match(ClickHouseParser.LPAREN); - this.state = 774; + this.state = 801; this.dictionaryAttributeDefinition(); - this.state = 779; + this.state = 806; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 208) { + while (_la === 260) { { { - this.state = 775; + this.state = 802; this.match(ClickHouseParser.COMMA); - this.state = 776; + this.state = 803; this.dictionaryAttributeDefinition(); } } - this.state = 781; + this.state = 808; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 782; + this.state = 809; this.match(ClickHouseParser.RPAREN); } } @@ -2759,74 +2848,74 @@ export class ClickHouseParser extends antlr.Parser { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 784; + this.state = 811; this.identifier(); - this.state = 785; + this.state = 812; this.columnTypeExpression(); - this.state = 807; + this.state = 834; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 86, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { - this.state = 805; + this.state = 832; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 85, this.context) ) { case 1: { - this.state = 786; + this.state = 813; if (!(!localContext.attrs.has("default"))) { throw this.createFailedPredicateException("!$attrs.has(\"default\")"); } - this.state = 787; + this.state = 814; this.match(ClickHouseParser.DEFAULT); - this.state = 788; + this.state = 815; this.literal(); localContext.attrs.add("default"); } break; case 2: { - this.state = 791; + this.state = 818; if (!(!localContext.attrs.has("expression"))) { throw this.createFailedPredicateException("!$attrs.has(\"expression\")"); } - this.state = 792; + this.state = 819; this.match(ClickHouseParser.EXPRESSION); - this.state = 793; + this.state = 820; this.columnExpression(0); localContext.attrs.add("expression"); } break; case 3: { - this.state = 796; + this.state = 823; if (!(!localContext.attrs.has("hierarchical"))) { throw this.createFailedPredicateException("!$attrs.has(\"hierarchical\")"); } - this.state = 797; + this.state = 824; this.match(ClickHouseParser.HIERARCHICAL); localContext.attrs.add("hierarchical"); } break; case 4: { - this.state = 799; + this.state = 826; if (!(!localContext.attrs.has("injective"))) { throw this.createFailedPredicateException("!$attrs.has(\"injective\")"); } - this.state = 800; + this.state = 827; this.match(ClickHouseParser.INJECTIVE); localContext.attrs.add("injective"); } break; case 5: { - this.state = 802; + this.state = 829; if (!(!localContext.attrs.has("is_object_id"))) { throw this.createFailedPredicateException("!$attrs.has(\"is_object_id\")"); } - this.state = 803; + this.state = 830; this.match(ClickHouseParser.IS_OBJECT_ID); localContext.attrs.add("is_object_id"); } @@ -2834,7 +2923,7 @@ export class ClickHouseParser extends antlr.Parser { } } } - this.state = 809; + this.state = 836; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 86, this.context); } @@ -2860,76 +2949,76 @@ export class ClickHouseParser extends antlr.Parser { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 811; + this.state = 838; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 87, this.context) ) { case 1: { - this.state = 810; + this.state = 837; this.dictionaryPrimaryKeyClause(); } break; } - this.state = 835; + this.state = 862; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 89, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { - this.state = 833; + this.state = 860; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 88, this.context) ) { case 1: { - this.state = 813; + this.state = 840; if (!(!localContext.clauses.has("source"))) { throw this.createFailedPredicateException("!$clauses.has(\"source\")"); } - this.state = 814; + this.state = 841; this.sourceClause(); localContext.clauses.add("source"); } break; case 2: { - this.state = 817; + this.state = 844; if (!(!localContext.clauses.has("lifetime"))) { throw this.createFailedPredicateException("!$clauses.has(\"lifetime\")"); } - this.state = 818; + this.state = 845; this.lifetimeClause(); localContext.clauses.add("lifetime"); } break; case 3: { - this.state = 821; + this.state = 848; if (!(!localContext.clauses.has("layout"))) { throw this.createFailedPredicateException("!$clauses.has(\"layout\")"); } - this.state = 822; + this.state = 849; this.layoutClause(); localContext.clauses.add("layout"); } break; case 4: { - this.state = 825; + this.state = 852; if (!(!localContext.clauses.has("range"))) { throw this.createFailedPredicateException("!$clauses.has(\"range\")"); } - this.state = 826; + this.state = 853; this.rangeClause(); localContext.clauses.add("range"); } break; case 5: { - this.state = 829; + this.state = 856; if (!(!localContext.clauses.has("settings"))) { throw this.createFailedPredicateException("!$clauses.has(\"settings\")"); } - this.state = 830; + this.state = 857; this.dictionarySettingsClause(); localContext.clauses.add("settings"); } @@ -2937,7 +3026,7 @@ export class ClickHouseParser extends antlr.Parser { } } } - this.state = 837; + this.state = 864; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 89, this.context); } @@ -2962,11 +3051,11 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 838; + this.state = 865; this.match(ClickHouseParser.PRIMARY); - this.state = 839; + this.state = 866; this.match(ClickHouseParser.KEY); - this.state = 840; + this.state = 867; this.columnExpressionList(); } } @@ -2990,9 +3079,9 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 842; + this.state = 869; this.identifier(); - this.state = 849; + this.state = 876; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.AFTER: @@ -3179,20 +3268,72 @@ export class ClickHouseParser extends antlr.Parser { case ClickHouseParser.WINDOW: case ClickHouseParser.WITH: case ClickHouseParser.YEAR: + case ClickHouseParser.GRANT: + case ClickHouseParser.USER: + case ClickHouseParser.FETCH: + case ClickHouseParser.REFRESH: + case ClickHouseParser.POLICY: + case ClickHouseParser.QUOTA: + case ClickHouseParser.ROLE: + case ClickHouseParser.PROFILE: + case ClickHouseParser.ARBITRARY: + case ClickHouseParser.COLUMNS: + case ClickHouseParser.CURRENT_USER: + case ClickHouseParser.ACCESS: + case ClickHouseParser.SHOW_USERS: + case ClickHouseParser.SHOW_ROLES: + case ClickHouseParser.SHOW_ROW_POLICIES: + case ClickHouseParser.SHOW_QUOTAS: + case ClickHouseParser.SHOW_SETTINGS_PROFILES: + case ClickHouseParser.SHUTDOWN: + case ClickHouseParser.CACHE: + case ClickHouseParser.DNS: + case ClickHouseParser.MARK: + case ClickHouseParser.PART: + case ClickHouseParser.UNCOMPRESSED: + case ClickHouseParser.CONFIG: + case ClickHouseParser.EMBEDDED: + case ClickHouseParser.FUNCTIONS: + case ClickHouseParser.MOVES: + case ClickHouseParser.REPLICATION: + case ClickHouseParser.QUEUES: + case ClickHouseParser.RESTART: + case ClickHouseParser.DICTGET: + case ClickHouseParser.DICTGETHIERARCHY: + case ClickHouseParser.DICTHAS: + case ClickHouseParser.DICTISIN: + case ClickHouseParser.MANAGEMENT: + case ClickHouseParser.ADMIN: + case ClickHouseParser.INTROSPECTION: + case ClickHouseParser.ADDRESSTOLINE: + case ClickHouseParser.ADDRESSTOSYMBOL: + case ClickHouseParser.DEMANGLE: + case ClickHouseParser.SOURCES: + case ClickHouseParser.FILE: + case ClickHouseParser.URL: + case ClickHouseParser.REMOTE: + case ClickHouseParser.MYSQL: + case ClickHouseParser.ODBC: + case ClickHouseParser.JDBC: + case ClickHouseParser.HDFS: + case ClickHouseParser.S3: + case ClickHouseParser.SETTING: + case ClickHouseParser.OPTION: + case ClickHouseParser.NONE: case ClickHouseParser.JSON_FALSE: case ClickHouseParser.JSON_TRUE: case ClickHouseParser.IDENTIFIER: { - this.state = 843; + this.state = 870; this.identifier(); - this.state = 846; + this.state = 873; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 219) { + if (_la === 271) { { - this.state = 844; + this.state = 871; this.match(ClickHouseParser.LPAREN); - this.state = 845; + this.state = 872; this.match(ClickHouseParser.RPAREN); } } @@ -3211,7 +3352,7 @@ export class ClickHouseParser extends antlr.Parser { case ClickHouseParser.DOT: case ClickHouseParser.PLUS: { - this.state = 848; + this.state = 875; this.literal(); } break; @@ -3240,31 +3381,31 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 851; + this.state = 878; this.match(ClickHouseParser.SOURCE); - this.state = 852; + this.state = 879; this.match(ClickHouseParser.LPAREN); - this.state = 853; + this.state = 880; this.identifier(); - this.state = 854; + this.state = 881; this.match(ClickHouseParser.LPAREN); - this.state = 858; + this.state = 885; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294705151) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2146303999) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 31) !== 0)) { + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294705151) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2146303999) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4294967295) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 33554431) !== 0)) { { { - this.state = 855; + this.state = 882; this.dictionaryArgumentExpression(); } } - this.state = 860; + this.state = 887; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 861; + this.state = 888; this.match(ClickHouseParser.RPAREN); - this.state = 862; + this.state = 889; this.match(ClickHouseParser.RPAREN); } } @@ -3287,47 +3428,47 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 864; + this.state = 891; this.match(ClickHouseParser.LIFETIME); - this.state = 865; + this.state = 892; this.match(ClickHouseParser.LPAREN); - this.state = 875; + this.state = 902; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.DECIMAL_LITERAL: { - this.state = 866; + this.state = 893; this.match(ClickHouseParser.DECIMAL_LITERAL); } break; case ClickHouseParser.MIN: { - this.state = 867; + this.state = 894; this.match(ClickHouseParser.MIN); - this.state = 868; + this.state = 895; this.match(ClickHouseParser.DECIMAL_LITERAL); - this.state = 869; + this.state = 896; this.match(ClickHouseParser.MAX); - this.state = 870; + this.state = 897; this.match(ClickHouseParser.DECIMAL_LITERAL); } break; case ClickHouseParser.MAX: { - this.state = 871; + this.state = 898; this.match(ClickHouseParser.MAX); - this.state = 872; + this.state = 899; this.match(ClickHouseParser.DECIMAL_LITERAL); - this.state = 873; + this.state = 900; this.match(ClickHouseParser.MIN); - this.state = 874; + this.state = 901; this.match(ClickHouseParser.DECIMAL_LITERAL); } break; default: throw new antlr.NoViableAltException(this); } - this.state = 877; + this.state = 904; this.match(ClickHouseParser.RPAREN); } } @@ -3351,31 +3492,31 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 879; + this.state = 906; this.match(ClickHouseParser.LAYOUT); - this.state = 880; + this.state = 907; this.match(ClickHouseParser.LPAREN); - this.state = 881; + this.state = 908; this.identifier(); - this.state = 882; + this.state = 909; this.match(ClickHouseParser.LPAREN); - this.state = 886; + this.state = 913; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294705151) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2146303999) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 31) !== 0)) { + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294705151) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2146303999) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4294967295) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 33554431) !== 0)) { { { - this.state = 883; + this.state = 910; this.dictionaryArgumentExpression(); } } - this.state = 888; + this.state = 915; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 889; + this.state = 916; this.match(ClickHouseParser.RPAREN); - this.state = 890; + this.state = 917; this.match(ClickHouseParser.RPAREN); } } @@ -3398,41 +3539,41 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 892; + this.state = 919; this.match(ClickHouseParser.RANGE); - this.state = 893; + this.state = 920; this.match(ClickHouseParser.LPAREN); - this.state = 904; + this.state = 931; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.MIN: { - this.state = 894; + this.state = 921; this.match(ClickHouseParser.MIN); - this.state = 895; + this.state = 922; this.identifier(); - this.state = 896; + this.state = 923; this.match(ClickHouseParser.MAX); - this.state = 897; + this.state = 924; this.identifier(); } break; case ClickHouseParser.MAX: { - this.state = 899; + this.state = 926; this.match(ClickHouseParser.MAX); - this.state = 900; + this.state = 927; this.identifier(); - this.state = 901; + this.state = 928; this.match(ClickHouseParser.MIN); - this.state = 902; + this.state = 929; this.identifier(); } break; default: throw new antlr.NoViableAltException(this); } - this.state = 906; + this.state = 933; this.match(ClickHouseParser.RPAREN); } } @@ -3455,13 +3596,13 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 908; + this.state = 935; this.match(ClickHouseParser.SETTINGS); - this.state = 909; + this.state = 936; this.match(ClickHouseParser.LPAREN); - this.state = 910; + this.state = 937; this.settingExpressionList(); - this.state = 911; + this.state = 938; this.match(ClickHouseParser.RPAREN); } } @@ -3484,11 +3625,11 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 913; + this.state = 940; this.match(ClickHouseParser.ON); - this.state = 914; + this.state = 941; this.match(ClickHouseParser.CLUSTER); - this.state = 917; + this.state = 944; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.AFTER: @@ -3675,17 +3816,69 @@ export class ClickHouseParser extends antlr.Parser { case ClickHouseParser.WINDOW: case ClickHouseParser.WITH: case ClickHouseParser.YEAR: + case ClickHouseParser.GRANT: + case ClickHouseParser.USER: + case ClickHouseParser.FETCH: + case ClickHouseParser.REFRESH: + case ClickHouseParser.POLICY: + case ClickHouseParser.QUOTA: + case ClickHouseParser.ROLE: + case ClickHouseParser.PROFILE: + case ClickHouseParser.ARBITRARY: + case ClickHouseParser.COLUMNS: + case ClickHouseParser.CURRENT_USER: + case ClickHouseParser.ACCESS: + case ClickHouseParser.SHOW_USERS: + case ClickHouseParser.SHOW_ROLES: + case ClickHouseParser.SHOW_ROW_POLICIES: + case ClickHouseParser.SHOW_QUOTAS: + case ClickHouseParser.SHOW_SETTINGS_PROFILES: + case ClickHouseParser.SHUTDOWN: + case ClickHouseParser.CACHE: + case ClickHouseParser.DNS: + case ClickHouseParser.MARK: + case ClickHouseParser.PART: + case ClickHouseParser.UNCOMPRESSED: + case ClickHouseParser.CONFIG: + case ClickHouseParser.EMBEDDED: + case ClickHouseParser.FUNCTIONS: + case ClickHouseParser.MOVES: + case ClickHouseParser.REPLICATION: + case ClickHouseParser.QUEUES: + case ClickHouseParser.RESTART: + case ClickHouseParser.DICTGET: + case ClickHouseParser.DICTGETHIERARCHY: + case ClickHouseParser.DICTHAS: + case ClickHouseParser.DICTISIN: + case ClickHouseParser.MANAGEMENT: + case ClickHouseParser.ADMIN: + case ClickHouseParser.INTROSPECTION: + case ClickHouseParser.ADDRESSTOLINE: + case ClickHouseParser.ADDRESSTOSYMBOL: + case ClickHouseParser.DEMANGLE: + case ClickHouseParser.SOURCES: + case ClickHouseParser.FILE: + case ClickHouseParser.URL: + case ClickHouseParser.REMOTE: + case ClickHouseParser.MYSQL: + case ClickHouseParser.ODBC: + case ClickHouseParser.JDBC: + case ClickHouseParser.HDFS: + case ClickHouseParser.S3: + case ClickHouseParser.SETTING: + case ClickHouseParser.OPTION: + case ClickHouseParser.NONE: case ClickHouseParser.JSON_FALSE: case ClickHouseParser.JSON_TRUE: case ClickHouseParser.IDENTIFIER: { - this.state = 915; + this.state = 942; this.identifier(); } break; case ClickHouseParser.STRING_LITERAL: { - this.state = 916; + this.state = 943; this.match(ClickHouseParser.STRING_LITERAL); } break; @@ -3713,9 +3906,9 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 919; + this.state = 946; this.match(ClickHouseParser.UUID); - this.state = 920; + this.state = 947; this.match(ClickHouseParser.STRING_LITERAL); } } @@ -3738,9 +3931,9 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 922; + this.state = 949; this.match(ClickHouseParser.TO); - this.state = 923; + this.state = 950; this.tableIdentifier(); } } @@ -3763,9 +3956,9 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 925; + this.state = 952; this.match(ClickHouseParser.AS); - this.state = 926; + this.state = 953; this.selectUnionStatement(); } } @@ -3787,34 +3980,34 @@ export class ClickHouseParser extends antlr.Parser { this.enterRule(localContext, 74, ClickHouseParser.RULE_tableSchemaClause); let _la: number; try { - this.state = 943; + this.state = 970; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 98, this.context) ) { case 1: localContext = new SchemaDescriptionClauseContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 928; + this.state = 955; this.match(ClickHouseParser.LPAREN); - this.state = 929; + this.state = 956; this.tableElementExpression(); - this.state = 934; + this.state = 961; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 208) { + while (_la === 260) { { { - this.state = 930; + this.state = 957; this.match(ClickHouseParser.COMMA); - this.state = 931; + this.state = 958; this.tableElementExpression(); } } - this.state = 936; + this.state = 963; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 937; + this.state = 964; this.match(ClickHouseParser.RPAREN); } break; @@ -3822,9 +4015,9 @@ export class ClickHouseParser extends antlr.Parser { localContext = new SchemaAsTableClauseContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 939; + this.state = 966; this.match(ClickHouseParser.AS); - this.state = 940; + this.state = 967; this.tableIdentifier(); } break; @@ -3832,9 +4025,9 @@ export class ClickHouseParser extends antlr.Parser { localContext = new SchemaAsFunctionClauseContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 941; + this.state = 968; this.match(ClickHouseParser.AS); - this.state = 942; + this.state = 969; this.tableFunctionExpression(); } break; @@ -3860,35 +4053,35 @@ export class ClickHouseParser extends antlr.Parser { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 945; - this.engineExpression(); this.state = 972; + this.engineExpression(); + this.state = 999; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 100, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { - this.state = 970; + this.state = 997; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 99, this.context) ) { case 1: { - this.state = 946; + this.state = 973; if (!(!localContext.clauses.has("orderByClause"))) { throw this.createFailedPredicateException("!$clauses.has(\"orderByClause\")"); } - this.state = 947; + this.state = 974; this.orderByClause(); localContext.clauses.add("orderByClause"); } break; case 2: { - this.state = 950; + this.state = 977; if (!(!localContext.clauses.has("partitionByClause"))) { throw this.createFailedPredicateException("!$clauses.has(\"partitionByClause\")"); } - this.state = 951; + this.state = 978; this.partitionByClause(); localContext.clauses.add("partitionByClause"); @@ -3896,11 +4089,11 @@ export class ClickHouseParser extends antlr.Parser { break; case 3: { - this.state = 954; + this.state = 981; if (!(!localContext.clauses.has("primaryKeyClause"))) { throw this.createFailedPredicateException("!$clauses.has(\"primaryKeyClause\")"); } - this.state = 955; + this.state = 982; this.primaryKeyClause(); localContext.clauses.add("primaryKeyClause"); @@ -3908,33 +4101,33 @@ export class ClickHouseParser extends antlr.Parser { break; case 4: { - this.state = 958; + this.state = 985; if (!(!localContext.clauses.has("sampleByClause"))) { throw this.createFailedPredicateException("!$clauses.has(\"sampleByClause\")"); } - this.state = 959; + this.state = 986; this.sampleByClause(); localContext.clauses.add("sampleByClause"); } break; case 5: { - this.state = 962; + this.state = 989; if (!(!localContext.clauses.has("ttlClause"))) { throw this.createFailedPredicateException("!$clauses.has(\"ttlClause\")"); } - this.state = 963; + this.state = 990; this.ttlClause(); localContext.clauses.add("ttlClause"); } break; case 6: { - this.state = 966; + this.state = 993; if (!(!localContext.clauses.has("settingsClause"))) { throw this.createFailedPredicateException("!$clauses.has(\"settingsClause\")"); } - this.state = 967; + this.state = 994; this.settingsClause(); localContext.clauses.add("settingsClause"); } @@ -3942,7 +4135,7 @@ export class ClickHouseParser extends antlr.Parser { } } } - this.state = 974; + this.state = 1001; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 100, this.context); } @@ -3967,11 +4160,11 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 975; + this.state = 1002; this.match(ClickHouseParser.PARTITION); - this.state = 976; + this.state = 1003; this.match(ClickHouseParser.BY); - this.state = 977; + this.state = 1004; this.columnExpression(0); } } @@ -3994,11 +4187,11 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 979; + this.state = 1006; this.match(ClickHouseParser.PRIMARY); - this.state = 980; + this.state = 1007; this.match(ClickHouseParser.KEY); - this.state = 981; + this.state = 1008; this.columnExpression(0); } } @@ -4021,11 +4214,11 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 983; + this.state = 1010; this.match(ClickHouseParser.SAMPLE); - this.state = 984; + this.state = 1011; this.match(ClickHouseParser.BY); - this.state = 985; + this.state = 1012; this.columnExpression(0); } } @@ -4049,25 +4242,25 @@ export class ClickHouseParser extends antlr.Parser { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 987; + this.state = 1014; this.match(ClickHouseParser.TTL); - this.state = 988; + this.state = 1015; this.ttlExpression(); - this.state = 993; + this.state = 1020; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 101, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 989; + this.state = 1016; this.match(ClickHouseParser.COMMA); - this.state = 990; + this.state = 1017; this.ttlExpression(); } } } - this.state = 995; + this.state = 1022; this.errorHandler.sync(this); alternative = this.interpreter.adaptivePredict(this.tokenStream, 101, this.context); } @@ -4093,38 +4286,38 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 996; + this.state = 1023; this.match(ClickHouseParser.ENGINE); - this.state = 998; + this.state = 1025; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 213) { + if (_la === 265) { { - this.state = 997; + this.state = 1024; this.match(ClickHouseParser.EQ_SINGLE); } } - this.state = 1000; + this.state = 1027; this.identifierOrNull(); - this.state = 1006; + this.state = 1033; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 104, this.context) ) { case 1: { - this.state = 1001; + this.state = 1028; this.match(ClickHouseParser.LPAREN); - this.state = 1003; + this.state = 1030; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 1158024191) !== 0)) { + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4294967295) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 3221225471) !== 0) || ((((_la - 262)) & ~0x1F) === 0 && ((1 << (_la - 262)) & 8835) !== 0)) { { - this.state = 1002; + this.state = 1029; this.columnExpressionList(); } } - this.state = 1005; + this.state = 1032; this.match(ClickHouseParser.RPAREN); } break; @@ -4148,14 +4341,14 @@ export class ClickHouseParser extends antlr.Parser { let localContext = new TableElementExpressionContext(this.context, this.state); this.enterRule(localContext, 88, ClickHouseParser.RULE_tableElementExpression); try { - this.state = 1018; + this.state = 1045; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 105, this.context) ) { case 1: localContext = new TableElementExpressionColumnContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1008; + this.state = 1035; this.tableColumnDefinition(); } break; @@ -4163,13 +4356,13 @@ export class ClickHouseParser extends antlr.Parser { localContext = new TableElementExpressionConstraintContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1009; + this.state = 1036; this.match(ClickHouseParser.CONSTRAINT); - this.state = 1010; + this.state = 1037; this.identifier(); - this.state = 1011; + this.state = 1038; this.match(ClickHouseParser.CHECK); - this.state = 1012; + this.state = 1039; this.columnExpression(0); } break; @@ -4177,9 +4370,9 @@ export class ClickHouseParser extends antlr.Parser { localContext = new TableElementExpressionIndexContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1014; + this.state = 1041; this.match(ClickHouseParser.INDEX); - this.state = 1015; + this.state = 1042; this.tableIndexDefinition(); } break; @@ -4187,9 +4380,9 @@ export class ClickHouseParser extends antlr.Parser { localContext = new TableElementExpressionProjectionContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 1016; + this.state = 1043; this.match(ClickHouseParser.PROJECTION); - this.state = 1017; + this.state = 1044; this.tableProjectionDefinition(); } break; @@ -4213,56 +4406,56 @@ export class ClickHouseParser extends antlr.Parser { this.enterRule(localContext, 90, ClickHouseParser.RULE_tableColumnDefinition); let _la: number; try { - this.state = 1052; + this.state = 1079; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 114, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1020; + this.state = 1047; this.columnIdentifier(); - this.state = 1021; + this.state = 1048; this.columnTypeExpression(); - this.state = 1023; + this.state = 1050; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 3 || _la === 38 || _la === 104) { { - this.state = 1022; + this.state = 1049; this.tableColumnPropertyExpression(); } } - this.state = 1027; + this.state = 1054; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 27) { { - this.state = 1025; + this.state = 1052; this.match(ClickHouseParser.COMMENT); - this.state = 1026; + this.state = 1053; this.match(ClickHouseParser.STRING_LITERAL); } } - this.state = 1030; + this.state = 1057; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 24) { { - this.state = 1029; + this.state = 1056; this.codecExpression(); } } - this.state = 1034; + this.state = 1061; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 177) { { - this.state = 1032; + this.state = 1059; this.match(ClickHouseParser.TTL); - this.state = 1033; + this.state = 1060; this.columnExpression(0); } } @@ -4272,50 +4465,50 @@ export class ClickHouseParser extends antlr.Parser { case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1036; + this.state = 1063; this.columnIdentifier(); - this.state = 1038; + this.state = 1065; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 110, this.context) ) { case 1: { - this.state = 1037; + this.state = 1064; this.columnTypeExpression(); } break; } - this.state = 1040; + this.state = 1067; this.tableColumnPropertyExpression(); - this.state = 1043; + this.state = 1070; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 27) { { - this.state = 1041; + this.state = 1068; this.match(ClickHouseParser.COMMENT); - this.state = 1042; + this.state = 1069; this.match(ClickHouseParser.STRING_LITERAL); } } - this.state = 1046; + this.state = 1073; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 24) { { - this.state = 1045; + this.state = 1072; this.codecExpression(); } } - this.state = 1050; + this.state = 1077; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 177) { { - this.state = 1048; + this.state = 1075; this.match(ClickHouseParser.TTL); - this.state = 1049; + this.state = 1076; this.columnExpression(0); } } @@ -4344,7 +4537,7 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1054; + this.state = 1081; _la = this.tokenStream.LA(1); if(!(_la === 3 || _la === 38 || _la === 104)) { this.errorHandler.recoverInline(this); @@ -4353,7 +4546,7 @@ export class ClickHouseParser extends antlr.Parser { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1055; + this.state = 1082; this.columnExpression(0); } } @@ -4376,17 +4569,17 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1057; + this.state = 1084; this.columnIdentifier(); - this.state = 1058; + this.state = 1085; this.columnExpression(0); - this.state = 1059; + this.state = 1086; this.match(ClickHouseParser.TYPE); - this.state = 1060; + this.state = 1087; this.columnTypeExpression(); - this.state = 1061; + this.state = 1088; this.match(ClickHouseParser.GRANULARITY); - this.state = 1062; + this.state = 1089; this.match(ClickHouseParser.DECIMAL_LITERAL); } } @@ -4409,9 +4602,9 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1064; + this.state = 1091; this.columnIdentifier(); - this.state = 1065; + this.state = 1092; this.projectionSelectStatement(); } } @@ -4435,29 +4628,29 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1067; + this.state = 1094; this.match(ClickHouseParser.CODEC); - this.state = 1068; + this.state = 1095; this.match(ClickHouseParser.LPAREN); - this.state = 1069; + this.state = 1096; this.codecArgExpression(); - this.state = 1074; + this.state = 1101; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 208) { + while (_la === 260) { { { - this.state = 1070; + this.state = 1097; this.match(ClickHouseParser.COMMA); - this.state = 1071; + this.state = 1098; this.codecArgExpression(); } } - this.state = 1076; + this.state = 1103; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1077; + this.state = 1104; this.match(ClickHouseParser.RPAREN); } } @@ -4481,26 +4674,26 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1079; + this.state = 1106; this.identifier(); - this.state = 1085; + this.state = 1112; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 219) { + if (_la === 271) { { - this.state = 1080; + this.state = 1107; this.match(ClickHouseParser.LPAREN); - this.state = 1082; + this.state = 1109; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 1158024191) !== 0)) { + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4294967295) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 3221225471) !== 0) || ((((_la - 262)) & ~0x1F) === 0 && ((1 << (_la - 262)) & 8835) !== 0)) { { - this.state = 1081; + this.state = 1108; this.columnExpressionList(); } } - this.state = 1084; + this.state = 1111; this.match(ClickHouseParser.RPAREN); } } @@ -4526,34 +4719,34 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1087; + this.state = 1114; this.columnExpression(0); - this.state = 1095; + this.state = 1122; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 118, this.context) ) { case 1: { - this.state = 1088; + this.state = 1115; this.match(ClickHouseParser.DELETE); } break; case 2: { - this.state = 1089; + this.state = 1116; this.match(ClickHouseParser.TO); - this.state = 1090; + this.state = 1117; this.match(ClickHouseParser.DISK); - this.state = 1091; + this.state = 1118; this.match(ClickHouseParser.STRING_LITERAL); } break; case 3: { - this.state = 1092; + this.state = 1119; this.match(ClickHouseParser.TO); - this.state = 1093; + this.state = 1120; this.match(ClickHouseParser.VOLUME); - this.state = 1094; + this.state = 1121; this.match(ClickHouseParser.STRING_LITERAL); } break; @@ -4580,7 +4773,7 @@ export class ClickHouseParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1097; + this.state = 1124; _la = this.tokenStream.LA(1); if(!(_la === 41 || _la === 43)) { this.errorHandler.recoverInline(this); @@ -4589,17 +4782,17 @@ export class ClickHouseParser extends antlr.Parser { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1099; + this.state = 1126; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 119, this.context) ) { case 1: { - this.state = 1098; + this.state = 1125; this.match(ClickHouseParser.TABLE); } break; } - this.state = 1101; + this.state = 1128; this.tableExpression(0); } } @@ -4621,14 +4814,14 @@ export class ClickHouseParser extends antlr.Parser { this.enterRule(localContext, 106, ClickHouseParser.RULE_dropStatement); let _la: number; try { - this.state = 1134; + this.state = 1161; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 127, this.context) ) { case 1: localContext = new DropDatabaseStatementContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1103; + this.state = 1130; _la = this.tokenStream.LA(1); if(!(_la === 44 || _la === 50)) { this.errorHandler.recoverInline(this); @@ -4637,28 +4830,28 @@ export class ClickHouseParser extends antlr.Parser { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1104; + this.state = 1131; this.match(ClickHouseParser.DATABASE); - this.state = 1107; + this.state = 1134; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 120, this.context) ) { case 1: { - this.state = 1105; + this.state = 1132; this.match(ClickHouseParser.IF); - this.state = 1106; + this.state = 1133; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 1109; + this.state = 1136; this.databaseIdentifier(); - this.state = 1111; + this.state = 1138; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 119) { { - this.state = 1110; + this.state = 1137; this.clusterClause(); } } @@ -4669,7 +4862,7 @@ export class ClickHouseParser extends antlr.Parser { localContext = new DropTableStatementContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1113; + this.state = 1140; _la = this.tokenStream.LA(1); if(!(_la === 44 || _la === 50)) { this.errorHandler.recoverInline(this); @@ -4678,73 +4871,73 @@ export class ClickHouseParser extends antlr.Parser { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1120; + this.state = 1147; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.DICTIONARY: { - this.state = 1114; + this.state = 1141; this.match(ClickHouseParser.DICTIONARY); } break; case ClickHouseParser.TABLE: case ClickHouseParser.TEMPORARY: { - this.state = 1116; + this.state = 1143; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 164) { { - this.state = 1115; + this.state = 1142; this.match(ClickHouseParser.TEMPORARY); } } - this.state = 1118; + this.state = 1145; this.match(ClickHouseParser.TABLE); } break; case ClickHouseParser.VIEW: { - this.state = 1119; + this.state = 1146; this.match(ClickHouseParser.VIEW); } break; default: throw new antlr.NoViableAltException(this); } - this.state = 1124; + this.state = 1151; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 124, this.context) ) { case 1: { - this.state = 1122; + this.state = 1149; this.match(ClickHouseParser.IF); - this.state = 1123; + this.state = 1150; this.match(ClickHouseParser.EXISTS); } break; } - this.state = 1126; + this.state = 1153; this.tableIdentifier(); - this.state = 1128; + this.state = 1155; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 119) { { - this.state = 1127; + this.state = 1154; this.clusterClause(); } } - this.state = 1132; + this.state = 1159; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 114) { { - this.state = 1130; + this.state = 1157; this.match(ClickHouseParser.NO); - this.state = 1131; + this.state = 1158; this.match(ClickHouseParser.DELAY); } } @@ -4771,18 +4964,18 @@ export class ClickHouseParser extends antlr.Parser { this.enterRule(localContext, 108, ClickHouseParser.RULE_existsStatement); let _la: number; try { - this.state = 1149; + this.state = 1176; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 130, this.context) ) { case 1: localContext = new ExistsDatabaseStatementContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1136; + this.state = 1163; this.match(ClickHouseParser.EXISTS); - this.state = 1137; + this.state = 1164; this.match(ClickHouseParser.DATABASE); - this.state = 1138; + this.state = 1165; this.databaseIdentifier(); } break; @@ -4790,41 +4983,41 @@ export class ClickHouseParser extends antlr.Parser { localContext = new ExistsTableStatementContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1139; + this.state = 1166; this.match(ClickHouseParser.EXISTS); - this.state = 1146; + this.state = 1173; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 129, this.context) ) { case 1: { - this.state = 1140; + this.state = 1167; this.match(ClickHouseParser.DICTIONARY); } break; case 2: { - this.state = 1142; + this.state = 1169; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 164) { { - this.state = 1141; + this.state = 1168; this.match(ClickHouseParser.TEMPORARY); } } - this.state = 1144; + this.state = 1171; this.match(ClickHouseParser.TABLE); } break; case 3: { - this.state = 1145; + this.state = 1172; this.match(ClickHouseParser.VIEW); } break; } - this.state = 1148; + this.state = 1175; this.tableIdentifier(); } break; @@ -4847,16 +5040,16 @@ export class ClickHouseParser extends antlr.Parser { let localContext = new ExplainStatementContext(this.context, this.state); this.enterRule(localContext, 110, ClickHouseParser.RULE_explainStatement); try { - this.state = 1172; + this.state = 1199; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 131, this.context) ) { case 1: localContext = new ExplainDefaultStatementContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1151; + this.state = 1178; this.match(ClickHouseParser.EXPLAIN); - this.state = 1152; + this.state = 1179; this.notInsertStatement(); } break; @@ -4864,11 +5057,11 @@ export class ClickHouseParser extends antlr.Parser { localContext = new ExplainASTStatementContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1153; + this.state = 1180; this.match(ClickHouseParser.EXPLAIN); - this.state = 1154; + this.state = 1181; this.match(ClickHouseParser.AST); - this.state = 1155; + this.state = 1182; this.notInsertStatement(); } break; @@ -4876,11 +5069,11 @@ export class ClickHouseParser extends antlr.Parser { localContext = new ExplainSyntaxStatementContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1156; + this.state = 1183; this.match(ClickHouseParser.EXPLAIN); - this.state = 1157; + this.state = 1184; this.match(ClickHouseParser.SYNTAX); - this.state = 1158; + this.state = 1185; this.notInsertStatement(); } break; @@ -4888,11 +5081,11 @@ export class ClickHouseParser extends antlr.Parser { localContext = new ExplainPipelineStatementContext(localContext); this.enterOuterAlt(localContext, 4); { - this.state = 1159; + this.state = 1186; this.match(ClickHouseParser.EXPLAIN); - this.state = 1160; + this.state = 1187; this.match(ClickHouseParser.PIPELINE); - this.state = 1161; + this.state = 1188; this.notInsertStatement(); } break; @@ -4900,11 +5093,11 @@ export class ClickHouseParser extends antlr.Parser { localContext = new ExplainPlanStatementContext(localContext); this.enterOuterAlt(localContext, 5); { - this.state = 1162; + this.state = 1189; this.match(ClickHouseParser.EXPLAIN); - this.state = 1163; + this.state = 1190; this.match(ClickHouseParser.PLAN); - this.state = 1164; + this.state = 1191; this.notInsertStatement(); } break; @@ -4912,13 +5105,13 @@ export class ClickHouseParser extends antlr.Parser { localContext = new ExplainQueryTreeStatementContext(localContext); this.enterOuterAlt(localContext, 6); { - this.state = 1165; + this.state = 1192; this.match(ClickHouseParser.EXPLAIN); - this.state = 1166; + this.state = 1193; this.match(ClickHouseParser.QUERY); - this.state = 1167; + this.state = 1194; this.match(ClickHouseParser.TREE); - this.state = 1168; + this.state = 1195; this.notInsertStatement(); } break; @@ -4926,11 +5119,11 @@ export class ClickHouseParser extends antlr.Parser { localContext = new ExplainEstimateStatementContext(localContext); this.enterOuterAlt(localContext, 7); { - this.state = 1169; + this.state = 1196; this.match(ClickHouseParser.EXPLAIN); - this.state = 1170; + this.state = 1197; this.match(ClickHouseParser.ESTIMATE); - this.state = 1171; + this.state = 1198; this.notInsertStatement(); } break; @@ -4949,63 +5142,372 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public insertStatement(): InsertStatementContext { - let localContext = new InsertStatementContext(this.context, this.state); - this.enterRule(localContext, 112, ClickHouseParser.RULE_insertStatement); + public grantStatement(): GrantStatementContext { + let localContext = new GrantStatementContext(this.context, this.state); + this.enterRule(localContext, 112, ClickHouseParser.RULE_grantStatement); + let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1174; - this.match(ClickHouseParser.INSERT); - this.state = 1175; - this.match(ClickHouseParser.INTO); - this.state = 1177; + this.state = 1201; + this.match(ClickHouseParser.GRANT); + this.state = 1203; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 132, this.context) ) { - case 1: + _la = this.tokenStream.LA(1); + if (_la === 119) { { - this.state = 1176; - this.match(ClickHouseParser.TABLE); + this.state = 1202; + this.clusterClause(); } - break; } - this.state = 1182; + + this.state = 1205; + this.privilege(); + this.state = 1210; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 260) { + { + { + this.state = 1206; + this.match(ClickHouseParser.COMMA); + this.state = 1207; + this.privilege(); + } + } + this.state = 1212; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 1213; + this.match(ClickHouseParser.ON); + this.state = 1224; 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 = 1179; - this.tableIdentifier(); + this.state = 1214; + this.databaseIdentifier(); } break; case 2: { - this.state = 1180; - this.match(ClickHouseParser.FUNCTION); - this.state = 1181; - this.tableFunctionExpression(); + this.state = 1215; + this.tableIdentifier(); } break; - } - this.state = 1185; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 134, this.context) ) { - case 1: + case 3: { - this.state = 1184; - this.columnsClause(); + this.state = 1218; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 134, this.context) ) { + case 1: + { + this.state = 1216; + this.match(ClickHouseParser.ASTERISK); + this.state = 1217; + this.match(ClickHouseParser.DOT); + } + break; } - break; - } - this.state = 1187; - this.dataClause(); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { + this.state = 1222; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case ClickHouseParser.ASTERISK: + { + this.state = 1220; + this.match(ClickHouseParser.ASTERISK); + } + break; + case ClickHouseParser.AFTER: + case ClickHouseParser.ALIAS: + case ClickHouseParser.ALL: + case ClickHouseParser.ALTER: + case ClickHouseParser.AND: + case ClickHouseParser.ANTI: + case ClickHouseParser.ANY: + case ClickHouseParser.ARRAY: + case ClickHouseParser.AS: + case ClickHouseParser.ASCENDING: + case ClickHouseParser.ASOF: + case ClickHouseParser.AST: + case ClickHouseParser.ASYNC: + case ClickHouseParser.ATTACH: + case ClickHouseParser.BETWEEN: + case ClickHouseParser.BOTH: + case ClickHouseParser.BY: + case ClickHouseParser.CASE: + case ClickHouseParser.CAST: + case ClickHouseParser.CHECK: + case ClickHouseParser.CLEAR: + case ClickHouseParser.CLUSTER: + case ClickHouseParser.CODEC: + case ClickHouseParser.COLLATE: + case ClickHouseParser.COLUMN: + case ClickHouseParser.COMMENT: + case ClickHouseParser.CONSTRAINT: + case ClickHouseParser.CREATE: + case ClickHouseParser.CROSS: + case ClickHouseParser.CUBE: + case ClickHouseParser.CURRENT: + case ClickHouseParser.DATABASE: + case ClickHouseParser.DATABASES: + case ClickHouseParser.DATE: + case ClickHouseParser.DAY: + case ClickHouseParser.DEDUPLICATE: + case ClickHouseParser.DEFAULT: + case ClickHouseParser.DELAY: + case ClickHouseParser.DELETE: + case ClickHouseParser.DESC: + case ClickHouseParser.DESCENDING: + case ClickHouseParser.DESCRIBE: + case ClickHouseParser.DETACH: + case ClickHouseParser.DICTIONARIES: + case ClickHouseParser.DICTIONARY: + case ClickHouseParser.DISK: + case ClickHouseParser.DISTINCT: + case ClickHouseParser.DISTRIBUTED: + case ClickHouseParser.DROP: + case ClickHouseParser.ELSE: + case ClickHouseParser.END: + case ClickHouseParser.ENGINE: + case ClickHouseParser.EVENTS: + case ClickHouseParser.EXISTS: + case ClickHouseParser.EXPLAIN: + case ClickHouseParser.EXPRESSION: + case ClickHouseParser.EXTRACT: + case ClickHouseParser.FETCHES: + case ClickHouseParser.FINAL: + case ClickHouseParser.FIRST: + case ClickHouseParser.FLUSH: + case ClickHouseParser.FOLLOWING: + case ClickHouseParser.FOR: + case ClickHouseParser.FORMAT: + case ClickHouseParser.FREEZE: + case ClickHouseParser.FROM: + case ClickHouseParser.FULL: + case ClickHouseParser.FUNCTION: + case ClickHouseParser.GLOBAL: + case ClickHouseParser.GRANULARITY: + case ClickHouseParser.GROUP: + case ClickHouseParser.HAVING: + case ClickHouseParser.HIERARCHICAL: + case ClickHouseParser.HOUR: + case ClickHouseParser.ID: + case ClickHouseParser.IF: + case ClickHouseParser.ILIKE: + case ClickHouseParser.IN: + case ClickHouseParser.INDEX: + case ClickHouseParser.INJECTIVE: + case ClickHouseParser.INNER: + case ClickHouseParser.INSERT: + case ClickHouseParser.INTERVAL: + case ClickHouseParser.INTO: + case ClickHouseParser.IS: + case ClickHouseParser.IS_OBJECT_ID: + case ClickHouseParser.JOIN: + case ClickHouseParser.KEY: + case ClickHouseParser.KILL: + case ClickHouseParser.LAST: + case ClickHouseParser.LAYOUT: + case ClickHouseParser.LEADING: + case ClickHouseParser.LEFT: + case ClickHouseParser.LIFETIME: + case ClickHouseParser.LIKE: + case ClickHouseParser.LIMIT: + case ClickHouseParser.LIVE: + case ClickHouseParser.LOCAL: + case ClickHouseParser.LOGS: + case ClickHouseParser.MATERIALIZE: + case ClickHouseParser.MATERIALIZED: + case ClickHouseParser.MAX: + case ClickHouseParser.MERGES: + case ClickHouseParser.MIN: + case ClickHouseParser.MINUTE: + case ClickHouseParser.MODIFY: + case ClickHouseParser.MONTH: + case ClickHouseParser.MOVE: + case ClickHouseParser.MUTATION: + case ClickHouseParser.NO: + case ClickHouseParser.NOT: + case ClickHouseParser.NULLS: + case ClickHouseParser.OFFSET: + case ClickHouseParser.ON: + case ClickHouseParser.OPTIMIZE: + case ClickHouseParser.OR: + case ClickHouseParser.ORDER: + case ClickHouseParser.OUTER: + case ClickHouseParser.OUTFILE: + case ClickHouseParser.OVER: + case ClickHouseParser.PARTITION: + case ClickHouseParser.POPULATE: + case ClickHouseParser.PRECEDING: + case ClickHouseParser.PREWHERE: + case ClickHouseParser.PRIMARY: + case ClickHouseParser.QUARTER: + case ClickHouseParser.RANGE: + case ClickHouseParser.RELOAD: + case ClickHouseParser.REMOVE: + case ClickHouseParser.RENAME: + case ClickHouseParser.REPLACE: + case ClickHouseParser.REPLICA: + case ClickHouseParser.REPLICATED: + case ClickHouseParser.RIGHT: + case ClickHouseParser.ROLLUP: + case ClickHouseParser.ROW: + case ClickHouseParser.ROWS: + case ClickHouseParser.SAMPLE: + case ClickHouseParser.SECOND: + case ClickHouseParser.SELECT: + case ClickHouseParser.SEMI: + case ClickHouseParser.SENDS: + case ClickHouseParser.SET: + case ClickHouseParser.SETTINGS: + case ClickHouseParser.SHOW: + case ClickHouseParser.SOURCE: + case ClickHouseParser.START: + case ClickHouseParser.STOP: + case ClickHouseParser.SUBSTRING: + case ClickHouseParser.SYNC: + case ClickHouseParser.SYNTAX: + case ClickHouseParser.SYSTEM: + case ClickHouseParser.TABLE: + case ClickHouseParser.TABLES: + case ClickHouseParser.TEMPORARY: + case ClickHouseParser.TEST: + case ClickHouseParser.THEN: + case ClickHouseParser.TIES: + case ClickHouseParser.TIMEOUT: + case ClickHouseParser.TIMESTAMP: + case ClickHouseParser.TO: + case ClickHouseParser.TOP: + case ClickHouseParser.TOTALS: + case ClickHouseParser.TRAILING: + case ClickHouseParser.TRIM: + case ClickHouseParser.TRUNCATE: + case ClickHouseParser.TTL: + case ClickHouseParser.TYPE: + case ClickHouseParser.UNBOUNDED: + case ClickHouseParser.UNION: + case ClickHouseParser.UPDATE: + case ClickHouseParser.USE: + case ClickHouseParser.USING: + case ClickHouseParser.UUID: + case ClickHouseParser.VALUES: + case ClickHouseParser.VIEW: + case ClickHouseParser.VOLUME: + case ClickHouseParser.WATCH: + case ClickHouseParser.WEEK: + case ClickHouseParser.WHEN: + case ClickHouseParser.WHERE: + case ClickHouseParser.WINDOW: + case ClickHouseParser.WITH: + case ClickHouseParser.YEAR: + case ClickHouseParser.GRANT: + case ClickHouseParser.USER: + case ClickHouseParser.FETCH: + case ClickHouseParser.REFRESH: + case ClickHouseParser.POLICY: + case ClickHouseParser.QUOTA: + case ClickHouseParser.ROLE: + case ClickHouseParser.PROFILE: + case ClickHouseParser.ARBITRARY: + case ClickHouseParser.COLUMNS: + case ClickHouseParser.CURRENT_USER: + case ClickHouseParser.ACCESS: + case ClickHouseParser.SHOW_USERS: + case ClickHouseParser.SHOW_ROLES: + case ClickHouseParser.SHOW_ROW_POLICIES: + case ClickHouseParser.SHOW_QUOTAS: + case ClickHouseParser.SHOW_SETTINGS_PROFILES: + case ClickHouseParser.SHUTDOWN: + case ClickHouseParser.CACHE: + case ClickHouseParser.DNS: + case ClickHouseParser.MARK: + case ClickHouseParser.PART: + case ClickHouseParser.UNCOMPRESSED: + case ClickHouseParser.CONFIG: + case ClickHouseParser.EMBEDDED: + case ClickHouseParser.FUNCTIONS: + case ClickHouseParser.MOVES: + case ClickHouseParser.REPLICATION: + case ClickHouseParser.QUEUES: + case ClickHouseParser.RESTART: + case ClickHouseParser.DICTGET: + case ClickHouseParser.DICTGETHIERARCHY: + case ClickHouseParser.DICTHAS: + case ClickHouseParser.DICTISIN: + case ClickHouseParser.MANAGEMENT: + case ClickHouseParser.ADMIN: + case ClickHouseParser.INTROSPECTION: + case ClickHouseParser.ADDRESSTOLINE: + case ClickHouseParser.ADDRESSTOSYMBOL: + case ClickHouseParser.DEMANGLE: + case ClickHouseParser.SOURCES: + case ClickHouseParser.FILE: + case ClickHouseParser.URL: + case ClickHouseParser.REMOTE: + case ClickHouseParser.MYSQL: + case ClickHouseParser.ODBC: + case ClickHouseParser.JDBC: + case ClickHouseParser.HDFS: + case ClickHouseParser.S3: + case ClickHouseParser.SETTING: + case ClickHouseParser.OPTION: + case ClickHouseParser.NONE: + case ClickHouseParser.JSON_FALSE: + case ClickHouseParser.JSON_TRUE: + case ClickHouseParser.IDENTIFIER: + { + this.state = 1221; + this.identifier(); + } + break; + default: + throw new antlr.NoViableAltException(this); + } + } + break; + } + this.state = 1226; + this.match(ClickHouseParser.TO); + this.state = 1227; + this.userExpressionList(); + this.state = 1231; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 137, this.context) ) { + case 1: + { + this.state = 1228; + this.match(ClickHouseParser.WITH); + this.state = 1229; + this.match(ClickHouseParser.GRANT); + this.state = 1230; + this.match(ClickHouseParser.OPTION); + } + break; + } + this.state = 1236; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 193) { + { + this.state = 1233; + this.match(ClickHouseParser.WITH); + this.state = 1234; + this.match(ClickHouseParser.REPLACE); + this.state = 1235; + this.match(ClickHouseParser.OPTION); + } + } + + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { throw re; } } @@ -5014,35 +5516,31 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public columnsClause(): ColumnsClauseContext { - let localContext = new ColumnsClauseContext(this.context, this.state); - this.enterRule(localContext, 114, ClickHouseParser.RULE_columnsClause); + public userExpressionList(): UserExpressionListContext { + let localContext = new UserExpressionListContext(this.context, this.state); + this.enterRule(localContext, 114, ClickHouseParser.RULE_userExpressionList); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1189; - this.match(ClickHouseParser.LPAREN); - this.state = 1190; - this.columnIdentifier(); - this.state = 1195; + this.state = 1238; + this.userIdentifier(); + this.state = 1243; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 208) { + while (_la === 260) { { { - this.state = 1191; + this.state = 1239; this.match(ClickHouseParser.COMMA); - this.state = 1192; - this.columnIdentifier(); + this.state = 1240; + this.userIdentifier(); } } - this.state = 1197; + this.state = 1245; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1198; - this.match(ClickHouseParser.RPAREN); } } catch (re) { @@ -5058,56 +5556,27 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public dataClause(): DataClauseContext { - let localContext = new DataClauseContext(this.context, this.state); - this.enterRule(localContext, 116, ClickHouseParser.RULE_dataClause); - let _la: number; + public userIdentifier(): UserIdentifierContext { + let localContext = new UserIdentifierContext(this.context, this.state); + this.enterRule(localContext, 116, ClickHouseParser.RULE_userIdentifier); try { - this.state = 1209; + this.state = 1248; this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case ClickHouseParser.FORMAT: - localContext = new DataClauseFormatContext(localContext); + switch (this.interpreter.adaptivePredict(this.tokenStream, 140, this.context) ) { + case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1200; - this.match(ClickHouseParser.FORMAT); - this.state = 1201; - this.identifier(); + this.state = 1246; + this.match(ClickHouseParser.CURRENT_USER); } break; - case ClickHouseParser.VALUES: - localContext = new DataClauseValuesContext(localContext); + case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1202; - this.valuesStatement(); - } - break; - case ClickHouseParser.SELECT: - case ClickHouseParser.WITH: - case ClickHouseParser.LPAREN: - localContext = new DataClauseSelectContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 1203; - this.selectUnionStatement(); - this.state = 1205; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 230) { - { - this.state = 1204; - this.match(ClickHouseParser.SEMICOLON); - } - } - - this.state = 1207; - this.match(ClickHouseParser.EOF); + this.state = 1247; + this.identifier(); } break; - default: - throw new antlr.NoViableAltException(this); } } catch (re) { @@ -5123,57 +5592,25 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public valuesStatement(): ValuesStatementContext { - let localContext = new ValuesStatementContext(this.context, this.state); - this.enterRule(localContext, 118, ClickHouseParser.RULE_valuesStatement); + public selectPrivilege(): SelectPrivilegeContext { + let localContext = new SelectPrivilegeContext(this.context, this.state); + this.enterRule(localContext, 118, ClickHouseParser.RULE_selectPrivilege); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1211; - this.match(ClickHouseParser.VALUES); - this.state = 1212; - this.match(ClickHouseParser.LPAREN); - this.state = 1214; + this.state = 1250; + this.match(ClickHouseParser.SELECT); + this.state = 1252; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 82 || _la === 113 || _la === 116 || ((((_la - 198)) & ~0x1F) === 0 && ((1 << (_la - 198)) & 33566751) !== 0)) { + if (_la === 271) { { - this.state = 1213; - this.literal(); + this.state = 1251; + this.columnsClause(); } } - this.state = 1216; - this.match(ClickHouseParser.RPAREN); - this.state = 1225; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 208) { - { - { - this.state = 1217; - this.match(ClickHouseParser.COMMA); - this.state = 1218; - this.match(ClickHouseParser.LPAREN); - this.state = 1220; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 82 || _la === 113 || _la === 116 || ((((_la - 198)) & ~0x1F) === 0 && ((1 << (_la - 198)) & 33566751) !== 0)) { - { - this.state = 1219; - this.literal(); - } - } - - this.state = 1222; - this.match(ClickHouseParser.RPAREN); - } - } - this.state = 1227; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } } } catch (re) { @@ -5189,47 +5626,103 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public killStatement(): KillStatementContext { - let localContext = new KillStatementContext(this.context, this.state); - this.enterRule(localContext, 120, ClickHouseParser.RULE_killStatement); + public insertPrivilege(): InsertPrivilegeContext { + let localContext = new InsertPrivilegeContext(this.context, this.state); + this.enterRule(localContext, 120, ClickHouseParser.RULE_insertPrivilege); let _la: number; try { - localContext = new KillMutationStatementContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1228; - this.match(ClickHouseParser.KILL); - this.state = 1229; - this.match(ClickHouseParser.MUTATION); - this.state = 1231; + this.state = 1254; + this.match(ClickHouseParser.INSERT); + this.state = 1256; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 119) { + if (_la === 271) { { - this.state = 1230; - this.clusterClause(); + this.state = 1255; + this.columnsClause(); } } - this.state = 1233; - this.whereClause(); - this.state = 1235; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public createPrivilege(): CreatePrivilegeContext { + let localContext = new CreatePrivilegeContext(this.context, this.state); + this.enterRule(localContext, 122, ClickHouseParser.RULE_createPrivilege); + let _la: number; + try { + this.state = 1269; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 14 || _la === 159 || _la === 165) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 145, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); { - this.state = 1234; + this.state = 1258; + this.match(ClickHouseParser.CREATE); + this.state = 1260; + this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if(!(_la === 14 || _la === 159 || _la === 165)) { - this.errorHandler.recoverInline(this); + if (_la === 33 || _la === 46 || _la === 70 || _la === 162 || _la === 186) { + { + this.state = 1259; + _la = this.tokenStream.LA(1); + if(!(_la === 33 || _la === 46 || _la === 70 || _la === 162 || _la === 186)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } } - else { - this.errorHandler.reportMatch(this); - this.consume(); + + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 1262; + this.match(ClickHouseParser.CREATE); + this.state = 1266; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case ClickHouseParser.ARBITRARY: + { + this.state = 1263; + this.match(ClickHouseParser.ARBITRARY); + this.state = 1264; + this.match(ClickHouseParser.TEMPORARY); + } + break; + case ClickHouseParser.TEMPORARY: + { + this.state = 1265; + this.match(ClickHouseParser.TEMPORARY); + } + break; + case ClickHouseParser.TABLE: + break; + default: + break; } + this.state = 1268; + this.match(ClickHouseParser.TABLE); } - } - + break; } } catch (re) { @@ -5245,56 +5738,29 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public optimizeStatement(): OptimizeStatementContext { - let localContext = new OptimizeStatementContext(this.context, this.state); - this.enterRule(localContext, 122, ClickHouseParser.RULE_optimizeStatement); + public dropPrivilege(): DropPrivilegeContext { + let localContext = new DropPrivilegeContext(this.context, this.state); + this.enterRule(localContext, 124, ClickHouseParser.RULE_dropPrivilege); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1237; - this.match(ClickHouseParser.OPTIMIZE); - this.state = 1238; - this.match(ClickHouseParser.TABLE); - this.state = 1239; - this.tableIdentifier(); - this.state = 1241; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 119) { - { - this.state = 1240; - this.clusterClause(); - } - } - - this.state = 1244; + this.state = 1271; + this.match(ClickHouseParser.DROP); + this.state = 1273; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 126) { + if (_la === 33 || _la === 46 || _la === 162 || _la === 186) { { - this.state = 1243; - this.partitionClause(); + this.state = 1272; + _la = this.tokenStream.LA(1); + if(!(_la === 33 || _la === 46 || _la === 162 || _la === 186)) { + this.errorHandler.recoverInline(this); } - } - - this.state = 1247; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 61) { - { - this.state = 1246; - this.match(ClickHouseParser.FINAL); + else { + this.errorHandler.reportMatch(this); + this.consume(); } - } - - this.state = 1250; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 37) { - { - this.state = 1249; - this.match(ClickHouseParser.DEDUPLICATE); } } @@ -5313,50 +5779,29 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public renameStatement(): RenameStatementContext { - let localContext = new RenameStatementContext(this.context, this.state); - this.enterRule(localContext, 124, ClickHouseParser.RULE_renameStatement); + public showPrivilege(): ShowPrivilegeContext { + let localContext = new ShowPrivilegeContext(this.context, this.state); + this.enterRule(localContext, 126, ClickHouseParser.RULE_showPrivilege); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1252; - this.match(ClickHouseParser.RENAME); - this.state = 1253; - this.match(ClickHouseParser.TABLE); - this.state = 1254; - this.tableIdentifier(); - this.state = 1255; - this.match(ClickHouseParser.TO); - this.state = 1256; - this.tableIdentifier(); - this.state = 1264; + this.state = 1275; + this.match(ClickHouseParser.SHOW); + this.state = 1277; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 208) { - { + if (_la === 34 || _la === 45 || _la === 163 || _la === 204) { { - this.state = 1257; - this.match(ClickHouseParser.COMMA); - this.state = 1258; - this.tableIdentifier(); - this.state = 1259; - this.match(ClickHouseParser.TO); - this.state = 1260; - this.tableIdentifier(); + this.state = 1276; + _la = this.tokenStream.LA(1); + if(!(_la === 34 || _la === 45 || _la === 163 || _la === 204)) { + this.errorHandler.recoverInline(this); } + else { + this.errorHandler.reportMatch(this); + this.consume(); } - this.state = 1266; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - this.state = 1268; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 119) { - { - this.state = 1267; - this.clusterClause(); } } @@ -5375,51 +5820,54 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public projectionSelectStatement(): ProjectionSelectStatementContext { - let localContext = new ProjectionSelectStatementContext(this.context, this.state); - this.enterRule(localContext, 126, ClickHouseParser.RULE_projectionSelectStatement); + public introspectionPrivilege(): IntrospectionPrivilegeContext { + let localContext = new IntrospectionPrivilegeContext(this.context, this.state); + this.enterRule(localContext, 128, ClickHouseParser.RULE_introspectionPrivilege); let _la: number; try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1270; - this.match(ClickHouseParser.LPAREN); - this.state = 1272; + this.state = 1286; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 193) { + switch (this.tokenStream.LA(1)) { + case ClickHouseParser.INTROSPECTION: + this.enterOuterAlt(localContext, 1); { - this.state = 1271; - this.withClause(); + this.state = 1279; + this.match(ClickHouseParser.INTROSPECTION); + this.state = 1281; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 220) { + { + this.state = 1280; + this.match(ClickHouseParser.FUNCTIONS); + } } - } - this.state = 1274; - this.match(ClickHouseParser.SELECT); - this.state = 1275; - this.columnExpressionList(); - this.state = 1277; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 73) { + } + break; + case ClickHouseParser.ADDRESSTOLINE: + this.enterOuterAlt(localContext, 2); { - this.state = 1276; - this.groupByClause(); + this.state = 1283; + this.match(ClickHouseParser.ADDRESSTOLINE); } - } - - this.state = 1280; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 122) { + break; + case ClickHouseParser.ADDRESSTOSYMBOL: + this.enterOuterAlt(localContext, 3); { - this.state = 1279; - this.projectionOrderByClause(); + this.state = 1284; + this.match(ClickHouseParser.ADDRESSTOSYMBOL); } - } - - this.state = 1282; - this.match(ClickHouseParser.RPAREN); + break; + case ClickHouseParser.DEMANGLE: + this.enterOuterAlt(localContext, 4); + { + this.state = 1285; + this.match(ClickHouseParser.DEMANGLE); + } + break; + default: + throw new antlr.NoViableAltException(this); } } catch (re) { @@ -5435,32 +5883,21 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public selectUnionStatement(): SelectUnionStatementContext { - let localContext = new SelectUnionStatementContext(this.context, this.state); - this.enterRule(localContext, 128, ClickHouseParser.RULE_selectUnionStatement); + public sourcePrivilege(): SourcePrivilegeContext { + let localContext = new SourcePrivilegeContext(this.context, this.state); + this.enterRule(localContext, 130, ClickHouseParser.RULE_sourcePrivilege); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1284; - this.selectStatementWithParentheses(); - this.state = 1290; - this.errorHandler.sync(this); + this.state = 1288; _la = this.tokenStream.LA(1); - while (_la === 180) { - { - { - this.state = 1285; - this.match(ClickHouseParser.UNION); - this.state = 1286; - this.match(ClickHouseParser.ALL); - this.state = 1287; - this.selectStatementWithParentheses(); - } - } - this.state = 1292; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); + if(!(((((_la - 235)) & ~0x1F) === 0 && ((1 << (_la - 235)) & 511) !== 0))) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); } } } @@ -5477,34 +5914,22 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public selectStatementWithParentheses(): SelectStatementWithParenthesesContext { - let localContext = new SelectStatementWithParenthesesContext(this.context, this.state); - this.enterRule(localContext, 130, ClickHouseParser.RULE_selectStatementWithParentheses); + public dictPrivilege(): DictPrivilegeContext { + let localContext = new DictPrivilegeContext(this.context, this.state); + this.enterRule(localContext, 132, ClickHouseParser.RULE_dictPrivilege); + let _la: number; try { - this.state = 1298; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case ClickHouseParser.SELECT: - case ClickHouseParser.WITH: - this.enterOuterAlt(localContext, 1); - { - this.state = 1293; - this.selectStatement(); - } - break; - case ClickHouseParser.LPAREN: - this.enterOuterAlt(localContext, 2); - { - this.state = 1294; - this.match(ClickHouseParser.LPAREN); - this.state = 1295; - this.selectUnionStatement(); - this.state = 1296; - this.match(ClickHouseParser.RPAREN); - } - break; - default: - throw new antlr.NoViableAltException(this); + this.enterOuterAlt(localContext, 1); + { + this.state = 1290; + _la = this.tokenStream.LA(1); + if(!(((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 15) !== 0))) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } } } catch (re) { @@ -5520,353 +5945,468 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public selectStatement(): SelectStatementContext { - let localContext = new SelectStatementContext(this.context, this.state); - this.enterRule(localContext, 132, ClickHouseParser.RULE_selectStatement); + public alterPrivilege(): AlterPrivilegeContext { + let localContext = new AlterPrivilegeContext(this.context, this.state); + this.enterRule(localContext, 134, ClickHouseParser.RULE_alterPrivilege); let _la: number; try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1301; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 193) { - { - this.state = 1300; - this.withClause(); - } - } - - this.state = 1303; - this.match(ClickHouseParser.SELECT); - this.state = 1305; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 155, this.context) ) { - case 1: - { - this.state = 1304; - this.match(ClickHouseParser.DISTINCT); - } - break; - } - this.state = 1308; + this.state = 1384; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 156, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 166, this.context) ) { case 1: + this.enterOuterAlt(localContext, 1); { - this.state = 1307; - this.topClause(); - } - break; - } - this.state = 1310; - this.columnExpressionList(); - this.state = 1312; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 68) { - { - this.state = 1311; - this.fromClause(); - } - } - - this.state = 1315; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 9 || _la === 84 || _la === 96) { - { - this.state = 1314; - this.arrayJoinClause(); - } - } - - this.state = 1318; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 192) { - { - this.state = 1317; - this.windowClause(); - } - } - - this.state = 1321; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 131) { - { - this.state = 1320; - this.prewhereClause(); + this.state = 1292; + this.match(ClickHouseParser.ALTER); + this.state = 1294; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 40 || _la === 181) { + { + this.state = 1293; + _la = this.tokenStream.LA(1); + if(!(_la === 40 || _la === 181)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } } - } - this.state = 1324; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 191) { - { - this.state = 1323; - this.whereClause(); + this.state = 1297; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 271) { + { + this.state = 1296; + this.columnsClause(); + } } - } - this.state = 1327; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 73) { - { - this.state = 1326; - this.groupByClause(); } - } - - this.state = 1331; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 163, this.context) ) { - case 1: + break; + case 2: + this.enterOuterAlt(localContext, 2); { - this.state = 1329; - this.match(ClickHouseParser.WITH); - this.state = 1330; + this.state = 1299; _la = this.tokenStream.LA(1); - if(!(_la === 31 || _la === 144)) { + if(!(_la === 40 || _la === 181)) { this.errorHandler.recoverInline(this); } else { this.errorHandler.reportMatch(this); this.consume(); } + this.state = 1301; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 271) { + { + this.state = 1300; + this.columnsClause(); + } + } + } break; - } - this.state = 1335; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 193) { + case 3: + this.enterOuterAlt(localContext, 3); { - this.state = 1333; - this.match(ClickHouseParser.WITH); - this.state = 1334; - this.match(ClickHouseParser.TOTALS); + this.state = 1303; + this.match(ClickHouseParser.ALTER); + this.state = 1304; + this.match(ClickHouseParser.TABLE); } - } - - this.state = 1338; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 74) { + break; + case 4: + this.enterOuterAlt(localContext, 4); { - this.state = 1337; - this.havingClause(); + this.state = 1305; + this.match(ClickHouseParser.ALTER); + this.state = 1307; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 138412034) !== 0) || _la === 50 || _la === 109 || _la === 139) { + { + this.state = 1306; + _la = this.tokenStream.LA(1); + if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 138412034) !== 0) || _la === 50 || _la === 109 || _la === 139)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } } - } - this.state = 1341; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 122) { - { - this.state = 1340; - this.orderByClause(); + this.state = 1309; + this.match(ClickHouseParser.COLUMN); + this.state = 1311; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 271) { + { + this.state = 1310; + this.columnsClause(); + } } - } - this.state = 1344; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 167, this.context) ) { - case 1: + } + break; + case 5: + this.enterOuterAlt(localContext, 5); { - this.state = 1343; - this.limitByClause(); + this.state = 1313; + _la = this.tokenStream.LA(1); + if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 138412034) !== 0) || _la === 50 || _la === 109 || _la === 139)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1314; + this.match(ClickHouseParser.COLUMN); + this.state = 1316; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 271) { + { + this.state = 1315; + this.columnsClause(); + } + } + } break; - } - this.state = 1347; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 99) { + case 6: + this.enterOuterAlt(localContext, 6); { - this.state = 1346; - this.limitClause(); + this.state = 1318; + this.match(ClickHouseParser.ALTER); + this.state = 1320; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 1 || _la === 22 || _la === 50 || _la === 103) { + { + this.state = 1319; + _la = this.tokenStream.LA(1); + if(!(_la === 1 || _la === 22 || _la === 50 || _la === 103)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } } - } - this.state = 1350; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 153) { + this.state = 1322; + this.match(ClickHouseParser.INDEX); + } + break; + case 7: + this.enterOuterAlt(localContext, 7); { - this.state = 1349; - this.settingsClause(); + this.state = 1324; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 1 || _la === 22 || _la === 50 || _la === 103) { + { + this.state = 1323; + _la = this.tokenStream.LA(1); + if(!(_la === 1 || _la === 22 || _la === 50 || _la === 103)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } } - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public withClause(): WithClauseContext { - let localContext = new WithClauseContext(this.context, this.state); - this.enterRule(localContext, 134, ClickHouseParser.RULE_withClause); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1352; - this.match(ClickHouseParser.WITH); - this.state = 1353; - this.columnExpressionList(); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public topClause(): TopClauseContext { - let localContext = new TopClauseContext(this.context, this.state); - this.enterRule(localContext, 136, ClickHouseParser.RULE_topClause); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1355; - this.match(ClickHouseParser.TOP); - this.state = 1356; - this.match(ClickHouseParser.DECIMAL_LITERAL); - this.state = 1359; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 170, this.context) ) { - case 1: + this.state = 1326; + this.match(ClickHouseParser.INDEX); + } + break; + case 8: + this.enterOuterAlt(localContext, 8); { - this.state = 1357; - this.match(ClickHouseParser.WITH); - this.state = 1358; - this.match(ClickHouseParser.TIES); + this.state = 1327; + this.match(ClickHouseParser.ALTER); + this.state = 1329; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 109) { + { + this.state = 1328; + this.match(ClickHouseParser.MODIFY); + } + } + + this.state = 1331; + _la = this.tokenStream.LA(1); + if(!(_la === 122 || _la === 147)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1332; + this.match(ClickHouseParser.BY); } break; - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public fromClause(): FromClauseContext { - let localContext = new FromClauseContext(this.context, this.state); - this.enterRule(localContext, 138, ClickHouseParser.RULE_fromClause); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1361; - this.match(ClickHouseParser.FROM); - this.state = 1362; - this.joinExpression(0); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public arrayJoinClause(): ArrayJoinClauseContext { - let localContext = new ArrayJoinClauseContext(this.context, this.state); - this.enterRule(localContext, 140, ClickHouseParser.RULE_arrayJoinClause); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1365; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 84 || _la === 96) { + case 9: + this.enterOuterAlt(localContext, 9); { - this.state = 1364; + this.state = 1333; + this.match(ClickHouseParser.MODIFY); + this.state = 1334; _la = this.tokenStream.LA(1); - if(!(_la === 84 || _la === 96)) { + if(!(_la === 122 || _la === 147)) { this.errorHandler.recoverInline(this); } else { this.errorHandler.reportMatch(this); this.consume(); } + this.state = 1335; + this.match(ClickHouseParser.BY); + } + break; + case 10: + this.enterOuterAlt(localContext, 10); + { + this.state = 1337; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 5) { + { + this.state = 1336; + this.match(ClickHouseParser.ALTER); + } } - } - this.state = 1367; - this.match(ClickHouseParser.ARRAY); - this.state = 1368; - this.match(ClickHouseParser.JOIN); - this.state = 1369; - this.columnExpressionList(); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public windowClause(): WindowClauseContext { - let localContext = new WindowClauseContext(this.context, this.state); - this.enterRule(localContext, 142, ClickHouseParser.RULE_windowClause); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1371; - this.match(ClickHouseParser.WINDOW); - this.state = 1372; - this.identifier(); - this.state = 1373; - this.match(ClickHouseParser.AS); - this.state = 1374; - this.match(ClickHouseParser.LPAREN); - this.state = 1375; - this.windowExpression(); - this.state = 1376; - this.match(ClickHouseParser.RPAREN); + this.state = 1340; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 1 || _la === 50) { + { + this.state = 1339; + _la = this.tokenStream.LA(1); + if(!(_la === 1 || _la === 50)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + } + + this.state = 1342; + this.match(ClickHouseParser.CONSTRAINT); + } + break; + case 11: + this.enterOuterAlt(localContext, 11); + { + this.state = 1343; + this.match(ClickHouseParser.ALTER); + this.state = 1345; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 103 || _la === 109) { + { + this.state = 1344; + _la = this.tokenStream.LA(1); + if(!(_la === 103 || _la === 109)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + } + + this.state = 1347; + this.match(ClickHouseParser.TTL); + } + break; + case 12: + this.enterOuterAlt(localContext, 12); + { + this.state = 1348; + _la = this.tokenStream.LA(1); + if(!(_la === 103 || _la === 109)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1349; + this.match(ClickHouseParser.TTL); + } + break; + case 13: + this.enterOuterAlt(localContext, 13); + { + this.state = 1350; + this.match(ClickHouseParser.ALTER); + this.state = 1351; + this.match(ClickHouseParser.SETTINGS); + } + break; + case 14: + this.enterOuterAlt(localContext, 14); + { + this.state = 1356; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 162, this.context) ) { + case 1: + { + this.state = 1352; + this.match(ClickHouseParser.ALTER); + } + break; + case 2: + { + this.state = 1353; + this.match(ClickHouseParser.ALTER); + this.state = 1354; + this.match(ClickHouseParser.MODIFY); + } + break; + case 3: + { + this.state = 1355; + this.match(ClickHouseParser.MODIFY); + } + break; + } + this.state = 1358; + this.match(ClickHouseParser.SETTING); + } + break; + case 15: + this.enterOuterAlt(localContext, 15); + { + this.state = 1360; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 5) { + { + this.state = 1359; + this.match(ClickHouseParser.ALTER); + } + } + + this.state = 1362; + _la = this.tokenStream.LA(1); + if(!(_la === 111 || _la === 197)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1363; + _la = this.tokenStream.LA(1); + if(!(_la === 126 || _la === 216)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + break; + case 16: + this.enterOuterAlt(localContext, 16); + { + this.state = 1365; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 5) { + { + this.state = 1364; + this.match(ClickHouseParser.ALTER); + } + } + + this.state = 1367; + this.match(ClickHouseParser.FREEZE); + this.state = 1368; + this.match(ClickHouseParser.PARTITION); + } + break; + case 17: + this.enterOuterAlt(localContext, 17); + { + this.state = 1369; + this.match(ClickHouseParser.ALTER); + this.state = 1370; + this.match(ClickHouseParser.VIEW); + this.state = 1372; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 198) { + { + this.state = 1371; + this.match(ClickHouseParser.REFRESH); + } + } + + } + break; + case 18: + this.enterOuterAlt(localContext, 18); + { + this.state = 1374; + this.match(ClickHouseParser.ALTER); + this.state = 1375; + this.match(ClickHouseParser.LIVE); + this.state = 1376; + this.match(ClickHouseParser.VIEW); + this.state = 1377; + this.match(ClickHouseParser.REFRESH); + } + break; + case 19: + this.enterOuterAlt(localContext, 19); + { + this.state = 1378; + this.match(ClickHouseParser.REFRESH); + this.state = 1379; + this.match(ClickHouseParser.VIEW); + } + break; + case 20: + this.enterOuterAlt(localContext, 20); + { + this.state = 1380; + this.match(ClickHouseParser.ALTER); + this.state = 1381; + _la = this.tokenStream.LA(1); + if(!(_la === 162 || _la === 186)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1382; + this.match(ClickHouseParser.MODIFY); + this.state = 1383; + this.match(ClickHouseParser.QUERY); + } + break; } } catch (re) { @@ -5882,16 +6422,113 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public prewhereClause(): PrewhereClauseContext { - let localContext = new PrewhereClauseContext(this.context, this.state); - this.enterRule(localContext, 144, ClickHouseParser.RULE_prewhereClause); + public privilege(): PrivilegeContext { + let localContext = new PrivilegeContext(this.context, this.state); + this.enterRule(localContext, 136, ClickHouseParser.RULE_privilege); try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1378; - this.match(ClickHouseParser.PREWHERE); - this.state = 1379; - this.columnExpression(0); + this.state = 1401; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 167, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 1386; + this.selectPrivilege(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 1387; + this.insertPrivilege(); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 1388; + this.createPrivilege(); + } + break; + case 4: + this.enterOuterAlt(localContext, 4); + { + this.state = 1389; + this.dropPrivilege(); + } + break; + case 5: + this.enterOuterAlt(localContext, 5); + { + this.state = 1390; + this.match(ClickHouseParser.TRUNCATE); + } + break; + case 6: + this.enterOuterAlt(localContext, 6); + { + this.state = 1391; + this.match(ClickHouseParser.KILL); + this.state = 1392; + this.match(ClickHouseParser.QUERY); + } + break; + case 7: + this.enterOuterAlt(localContext, 7); + { + this.state = 1393; + this.match(ClickHouseParser.OPTIMIZE); + } + break; + case 8: + this.enterOuterAlt(localContext, 8); + { + this.state = 1394; + this.showPrivilege(); + } + break; + case 9: + this.enterOuterAlt(localContext, 9); + { + this.state = 1395; + this.introspectionPrivilege(); + } + break; + case 10: + this.enterOuterAlt(localContext, 10); + { + this.state = 1396; + this.sourcePrivilege(); + } + break; + case 11: + this.enterOuterAlt(localContext, 11); + { + this.state = 1397; + this.dictPrivilege(); + } + break; + case 12: + this.enterOuterAlt(localContext, 12); + { + this.state = 1398; + this.alterPrivilege(); + } + break; + case 13: + this.enterOuterAlt(localContext, 13); + { + this.state = 1399; + this.match(ClickHouseParser.ALL); + } + break; + case 14: + this.enterOuterAlt(localContext, 14); + { + this.state = 1400; + this.match(ClickHouseParser.NONE); + } + break; } } catch (re) { @@ -5907,71 +6544,56 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public whereClause(): WhereClauseContext { - let localContext = new WhereClauseContext(this.context, this.state); - this.enterRule(localContext, 146, ClickHouseParser.RULE_whereClause); + public insertStatement(): InsertStatementContext { + let localContext = new InsertStatementContext(this.context, this.state); + this.enterRule(localContext, 138, ClickHouseParser.RULE_insertStatement); try { this.enterOuterAlt(localContext, 1); { - this.state = 1381; - this.match(ClickHouseParser.WHERE); - this.state = 1382; - this.columnExpression(0); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public groupByClause(): GroupByClauseContext { - let localContext = new GroupByClauseContext(this.context, this.state); - this.enterRule(localContext, 148, ClickHouseParser.RULE_groupByClause); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1384; - this.match(ClickHouseParser.GROUP); - this.state = 1385; - this.match(ClickHouseParser.BY); - this.state = 1392; + this.state = 1403; + this.match(ClickHouseParser.INSERT); + this.state = 1404; + this.match(ClickHouseParser.INTO); + this.state = 1406; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 172, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 168, this.context) ) { case 1: { - this.state = 1386; - _la = this.tokenStream.LA(1); - if(!(_la === 31 || _la === 144)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); + this.state = 1405; + this.match(ClickHouseParser.TABLE); } - this.state = 1387; - this.match(ClickHouseParser.LPAREN); - this.state = 1388; - this.columnExpressionList(); - this.state = 1389; - this.match(ClickHouseParser.RPAREN); + break; + } + this.state = 1411; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 169, this.context) ) { + case 1: + { + this.state = 1408; + this.tableIdentifier(); } break; case 2: { - this.state = 1391; - this.columnExpressionList(); + this.state = 1409; + this.match(ClickHouseParser.FUNCTION); + this.state = 1410; + this.tableFunctionExpression(); + } + break; + } + this.state = 1414; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 170, this.context) ) { + case 1: + { + this.state = 1413; + this.columnsClause(); } break; } + this.state = 1416; + this.dataClause(); } } catch (re) { @@ -5987,16 +6609,35 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public havingClause(): HavingClauseContext { - let localContext = new HavingClauseContext(this.context, this.state); - this.enterRule(localContext, 150, ClickHouseParser.RULE_havingClause); + public columnsClause(): ColumnsClauseContext { + let localContext = new ColumnsClauseContext(this.context, this.state); + this.enterRule(localContext, 140, ClickHouseParser.RULE_columnsClause); + let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1394; - this.match(ClickHouseParser.HAVING); - this.state = 1395; - this.columnExpression(0); + this.state = 1418; + this.match(ClickHouseParser.LPAREN); + this.state = 1419; + this.columnIdentifier(); + this.state = 1424; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 260) { + { + { + this.state = 1420; + this.match(ClickHouseParser.COMMA); + this.state = 1421; + this.columnIdentifier(); + } + } + this.state = 1426; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 1427; + this.match(ClickHouseParser.RPAREN); } } catch (re) { @@ -6012,18 +6653,56 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public orderByClause(): OrderByClauseContext { - let localContext = new OrderByClauseContext(this.context, this.state); - this.enterRule(localContext, 152, ClickHouseParser.RULE_orderByClause); + public dataClause(): DataClauseContext { + let localContext = new DataClauseContext(this.context, this.state); + this.enterRule(localContext, 142, ClickHouseParser.RULE_dataClause); + let _la: number; try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1397; - this.match(ClickHouseParser.ORDER); - this.state = 1398; - this.match(ClickHouseParser.BY); - this.state = 1399; - this.orderExpressionList(); + this.state = 1438; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case ClickHouseParser.FORMAT: + localContext = new DataClauseFormatContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 1429; + this.match(ClickHouseParser.FORMAT); + this.state = 1430; + this.identifier(); + } + break; + case ClickHouseParser.VALUES: + localContext = new DataClauseValuesContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 1431; + this.valuesStatement(); + } + break; + case ClickHouseParser.SELECT: + case ClickHouseParser.WITH: + case ClickHouseParser.LPAREN: + localContext = new DataClauseSelectContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 1432; + this.selectUnionStatement(); + this.state = 1434; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 282) { + { + this.state = 1433; + this.match(ClickHouseParser.SEMICOLON); + } + } + + this.state = 1436; + this.match(ClickHouseParser.EOF); + } + break; + default: + throw new antlr.NoViableAltException(this); } } catch (re) { @@ -6039,18 +6718,57 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public projectionOrderByClause(): ProjectionOrderByClauseContext { - let localContext = new ProjectionOrderByClauseContext(this.context, this.state); - this.enterRule(localContext, 154, ClickHouseParser.RULE_projectionOrderByClause); + public valuesStatement(): ValuesStatementContext { + let localContext = new ValuesStatementContext(this.context, this.state); + this.enterRule(localContext, 144, ClickHouseParser.RULE_valuesStatement); + let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1401; - this.match(ClickHouseParser.ORDER); - this.state = 1402; - this.match(ClickHouseParser.BY); - this.state = 1403; - this.columnExpressionList(); + this.state = 1440; + this.match(ClickHouseParser.VALUES); + this.state = 1441; + this.match(ClickHouseParser.LPAREN); + this.state = 1443; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 82 || _la === 113 || _la === 116 || ((((_la - 250)) & ~0x1F) === 0 && ((1 << (_la - 250)) & 33566751) !== 0)) { + { + this.state = 1442; + this.literal(); + } + } + + this.state = 1445; + this.match(ClickHouseParser.RPAREN); + this.state = 1454; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 260) { + { + { + this.state = 1446; + this.match(ClickHouseParser.COMMA); + this.state = 1447; + this.match(ClickHouseParser.LPAREN); + this.state = 1449; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 82 || _la === 113 || _la === 116 || ((((_la - 250)) & ~0x1F) === 0 && ((1 << (_la - 250)) & 33566751) !== 0)) { + { + this.state = 1448; + this.literal(); + } + } + + this.state = 1451; + this.match(ClickHouseParser.RPAREN); + } + } + this.state = 1456; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } } } catch (re) { @@ -6066,20 +6784,47 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public limitByClause(): LimitByClauseContext { - let localContext = new LimitByClauseContext(this.context, this.state); - this.enterRule(localContext, 156, ClickHouseParser.RULE_limitByClause); + public killStatement(): KillStatementContext { + let localContext = new KillStatementContext(this.context, this.state); + this.enterRule(localContext, 146, ClickHouseParser.RULE_killStatement); + let _la: number; try { + localContext = new KillMutationStatementContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1405; - this.match(ClickHouseParser.LIMIT); - this.state = 1406; - this.limitExpression(); - this.state = 1407; - this.match(ClickHouseParser.BY); - this.state = 1408; - this.columnExpressionList(); + this.state = 1457; + this.match(ClickHouseParser.KILL); + this.state = 1458; + this.match(ClickHouseParser.MUTATION); + this.state = 1460; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 119) { + { + this.state = 1459; + this.clusterClause(); + } + } + + this.state = 1462; + this.whereClause(); + this.state = 1464; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 14 || _la === 159 || _la === 165) { + { + this.state = 1463; + _la = this.tokenStream.LA(1); + if(!(_la === 14 || _la === 159 || _la === 165)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + } + } } catch (re) { @@ -6095,26 +6840,56 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public limitClause(): LimitClauseContext { - let localContext = new LimitClauseContext(this.context, this.state); - this.enterRule(localContext, 158, ClickHouseParser.RULE_limitClause); + public optimizeStatement(): OptimizeStatementContext { + let localContext = new OptimizeStatementContext(this.context, this.state); + this.enterRule(localContext, 148, ClickHouseParser.RULE_optimizeStatement); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1410; - this.match(ClickHouseParser.LIMIT); - this.state = 1411; - this.limitExpression(); - this.state = 1414; + this.state = 1466; + this.match(ClickHouseParser.OPTIMIZE); + this.state = 1467; + this.match(ClickHouseParser.TABLE); + this.state = 1468; + this.tableIdentifier(); + this.state = 1470; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 193) { + if (_la === 119) { { - this.state = 1412; - this.match(ClickHouseParser.WITH); - this.state = 1413; - this.match(ClickHouseParser.TIES); + this.state = 1469; + this.clusterClause(); + } + } + + this.state = 1473; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 126) { + { + this.state = 1472; + this.partitionClause(); + } + } + + this.state = 1476; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 61) { + { + this.state = 1475; + this.match(ClickHouseParser.FINAL); + } + } + + this.state = 1479; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 37) { + { + this.state = 1478; + this.match(ClickHouseParser.DEDUPLICATE); } } @@ -6133,17 +6908,54 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public settingsClause(): SettingsClauseContext { - let localContext = new SettingsClauseContext(this.context, this.state); - this.enterRule(localContext, 160, ClickHouseParser.RULE_settingsClause); + public renameStatement(): RenameStatementContext { + let localContext = new RenameStatementContext(this.context, this.state); + this.enterRule(localContext, 150, ClickHouseParser.RULE_renameStatement); + let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1416; - this.match(ClickHouseParser.SETTINGS); - this.state = 1417; - this.settingExpressionList(); - } + this.state = 1481; + this.match(ClickHouseParser.RENAME); + this.state = 1482; + this.match(ClickHouseParser.TABLE); + this.state = 1483; + this.tableIdentifier(); + this.state = 1484; + this.match(ClickHouseParser.TO); + this.state = 1485; + this.tableIdentifier(); + this.state = 1493; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 260) { + { + { + this.state = 1486; + this.match(ClickHouseParser.COMMA); + this.state = 1487; + this.tableIdentifier(); + this.state = 1488; + this.match(ClickHouseParser.TO); + this.state = 1489; + this.tableIdentifier(); + } + } + this.state = 1495; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 1497; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 119) { + { + this.state = 1496; + this.clusterClause(); + } + } + + } } catch (re) { if (re instanceof antlr.RecognitionException) { @@ -6158,149 +6970,92 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - - public joinExpression(): JoinExpressionContext; - public joinExpression(_p: number): JoinExpressionContext; - public joinExpression(_p?: number): JoinExpressionContext { - if (_p === undefined) { - _p = 0; - } - - let parentContext = this.context; - let parentState = this.state; - let localContext = new JoinExpressionContext(this.context, parentState); - let previousContext = localContext; - let _startState = 162; - this.enterRecursionRule(localContext, 162, ClickHouseParser.RULE_joinExpression, _p); + public projectionSelectStatement(): ProjectionSelectStatementContext { + let localContext = new ProjectionSelectStatementContext(this.context, this.state); + this.enterRule(localContext, 152, ClickHouseParser.RULE_projectionSelectStatement); let _la: number; try { - let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 1431; + this.state = 1499; + this.match(ClickHouseParser.LPAREN); + this.state = 1501; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 176, this.context) ) { - case 1: + _la = this.tokenStream.LA(1); + if (_la === 193) { { - localContext = new JoinExpressionTableContext(localContext); - this.context = localContext; - previousContext = localContext; - - this.state = 1420; - this.tableExpression(0); - this.state = 1422; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 174, this.context) ) { - case 1: - { - this.state = 1421; - this.match(ClickHouseParser.FINAL); - } - break; - } - this.state = 1425; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 175, this.context) ) { - case 1: - { - this.state = 1424; - this.sampleClause(); - } - break; - } + this.state = 1500; + this.withClause(); } - break; - case 2: + } + + this.state = 1503; + this.match(ClickHouseParser.SELECT); + this.state = 1504; + this.columnExpressionList(); + this.state = 1506; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 73) { { - localContext = new JoinExpressionParensContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1427; - this.match(ClickHouseParser.LPAREN); - this.state = 1428; - this.joinExpression(0); - this.state = 1429; - this.match(ClickHouseParser.RPAREN); + this.state = 1505; + this.groupByClause(); } - break; } - this.context!.stop = this.tokenStream.LT(-1); - this.state = 1450; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 180, this.context); - while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { - if (alternative === 1) { - if (this.parseListeners != null) { - this.triggerExitRuleEvent(); - } - previousContext = localContext; - { - this.state = 1448; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 179, this.context) ) { - case 1: - { - localContext = new JoinExpressionCrossOpContext(new JoinExpressionContext(parentContext, parentState)); - this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_joinExpression); - this.state = 1433; - if (!(this.precpred(this.context, 3))) { - throw this.createFailedPredicateException("this.precpred(this.context, 3)"); - } - this.state = 1434; - this.joinOperatorCross(); - this.state = 1435; - this.joinExpression(4); - } - break; - case 2: - { - localContext = new JoinExpressionOpContext(new JoinExpressionContext(parentContext, parentState)); - this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_joinExpression); - this.state = 1437; - if (!(this.precpred(this.context, 4))) { - throw this.createFailedPredicateException("this.precpred(this.context, 4)"); - } - this.state = 1439; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 71 || _la === 101) { - { - this.state = 1438; - _la = this.tokenStream.LA(1); - if(!(_la === 71 || _la === 101)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - this.state = 1442; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4496) !== 0) || ((((_la - 69)) & ~0x1F) === 0 && ((1 << (_la - 69)) & 134250497) !== 0) || _la === 143 || _la === 150) { - { - this.state = 1441; - this.joinOperator(); - } - } + this.state = 1509; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 122) { + { + this.state = 1508; + this.projectionOrderByClause(); + } + } - this.state = 1444; - this.match(ClickHouseParser.JOIN); - this.state = 1445; - this.joinExpression(0); - this.state = 1446; - this.joinConstraintClause(); - } - break; - } - } + this.state = 1511; + this.match(ClickHouseParser.RPAREN); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public selectUnionStatement(): SelectUnionStatementContext { + let localContext = new SelectUnionStatementContext(this.context, this.state); + this.enterRule(localContext, 154, ClickHouseParser.RULE_selectUnionStatement); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1513; + this.selectStatementWithParentheses(); + this.state = 1519; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 180) { + { + { + this.state = 1514; + this.match(ClickHouseParser.UNION); + this.state = 1515; + this.match(ClickHouseParser.ALL); + this.state = 1516; + this.selectStatementWithParentheses(); + } } - this.state = 1452; + this.state = 1521; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 180, this.context); + _la = this.tokenStream.LA(1); } } } @@ -6313,253 +7068,38 @@ export class ClickHouseParser extends antlr.Parser { } } finally { - this.unrollRecursionContexts(parentContext); + this.exitRule(); } return localContext; } - public joinOperator(): JoinOperatorContext { - let localContext = new JoinOperatorContext(this.context, this.state); - this.enterRule(localContext, 164, ClickHouseParser.RULE_joinOperator); - let _la: number; + public selectStatementWithParentheses(): SelectStatementWithParenthesesContext { + let localContext = new SelectStatementWithParenthesesContext(this.context, this.state); + this.enterRule(localContext, 156, ClickHouseParser.RULE_selectStatementWithParentheses); try { - this.state = 1496; + this.state = 1527; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 194, this.context) ) { - case 1: - localContext = new JoinOpInnerContext(localContext); + switch (this.tokenStream.LA(1)) { + case ClickHouseParser.SELECT: + case ClickHouseParser.WITH: this.enterOuterAlt(localContext, 1); { - this.state = 1462; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 183, this.context) ) { - case 1: - { - this.state = 1454; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4368) !== 0)) { - { - this.state = 1453; - _la = this.tokenStream.LA(1); - if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 4368) !== 0))) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - - this.state = 1456; - this.match(ClickHouseParser.INNER); - } - break; - case 2: - { - this.state = 1457; - this.match(ClickHouseParser.INNER); - this.state = 1459; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4368) !== 0)) { - { - this.state = 1458; - _la = this.tokenStream.LA(1); - if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 4368) !== 0))) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - - } - break; - case 3: - { - this.state = 1461; - _la = this.tokenStream.LA(1); - if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 4368) !== 0))) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - break; - } + this.state = 1522; + this.selectStatement(); } break; - case 2: - localContext = new JoinOpLeftRightContext(localContext); + case ClickHouseParser.LPAREN: this.enterOuterAlt(localContext, 2); { - this.state = 1478; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 188, this.context) ) { - case 1: - { - this.state = 1465; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4496) !== 0) || _la === 150) { - { - this.state = 1464; - _la = this.tokenStream.LA(1); - if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 4496) !== 0) || _la === 150)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - - this.state = 1467; - _la = this.tokenStream.LA(1); - if(!(_la === 96 || _la === 143)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - this.state = 1469; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 123) { - { - this.state = 1468; - this.match(ClickHouseParser.OUTER); - } - } - - } - break; - case 2: - { - this.state = 1471; - _la = this.tokenStream.LA(1); - if(!(_la === 96 || _la === 143)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - this.state = 1473; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 123) { - { - this.state = 1472; - this.match(ClickHouseParser.OUTER); - } - } - - this.state = 1476; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4496) !== 0) || _la === 150) { - { - this.state = 1475; - _la = this.tokenStream.LA(1); - if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 4496) !== 0) || _la === 150)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - - } - break; - } - } - break; - case 3: - localContext = new JoinOpFullContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 1494; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 193, this.context) ) { - case 1: - { - this.state = 1481; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 4 || _la === 8) { - { - this.state = 1480; - _la = this.tokenStream.LA(1); - if(!(_la === 4 || _la === 8)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - - this.state = 1483; - this.match(ClickHouseParser.FULL); - this.state = 1485; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 123) { - { - this.state = 1484; - this.match(ClickHouseParser.OUTER); - } - } - - } - break; - case 2: - { - this.state = 1487; - this.match(ClickHouseParser.FULL); - this.state = 1489; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 123) { - { - this.state = 1488; - this.match(ClickHouseParser.OUTER); - } - } - - this.state = 1492; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 4 || _la === 8) { - { - this.state = 1491; - _la = this.tokenStream.LA(1); - if(!(_la === 4 || _la === 8)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } - } - - } - break; - } + this.state = 1523; + this.match(ClickHouseParser.LPAREN); + this.state = 1524; + this.selectUnionStatement(); + this.state = 1525; + this.match(ClickHouseParser.RPAREN); } break; + default: + throw new antlr.NoViableAltException(this); } } catch (re) { @@ -6575,258 +7115,117 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public joinOperatorCross(): JoinOperatorCrossContext { - let localContext = new JoinOperatorCrossContext(this.context, this.state); - this.enterRule(localContext, 166, ClickHouseParser.RULE_joinOperatorCross); + public selectStatement(): SelectStatementContext { + let localContext = new SelectStatementContext(this.context, this.state); + this.enterRule(localContext, 158, ClickHouseParser.RULE_selectStatement); let _la: number; try { - this.state = 1504; + this.enterOuterAlt(localContext, 1); + { + this.state = 1530; this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case ClickHouseParser.CROSS: - case ClickHouseParser.GLOBAL: - case ClickHouseParser.LOCAL: - this.enterOuterAlt(localContext, 1); + _la = this.tokenStream.LA(1); + if (_la === 193) { { - this.state = 1499; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 71 || _la === 101) { - { - this.state = 1498; - _la = this.tokenStream.LA(1); - if(!(_la === 71 || _la === 101)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - } + this.state = 1529; + this.withClause(); } + } - this.state = 1501; - this.match(ClickHouseParser.CROSS); - this.state = 1502; - this.match(ClickHouseParser.JOIN); - } - break; - case ClickHouseParser.COMMA: - this.enterOuterAlt(localContext, 2); + this.state = 1532; + this.match(ClickHouseParser.SELECT); + this.state = 1534; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 191, this.context) ) { + case 1: { - this.state = 1503; - this.match(ClickHouseParser.COMMA); + this.state = 1533; + this.match(ClickHouseParser.DISTINCT); } break; - default: - throw new antlr.NoViableAltException(this); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; } - } - finally { - this.exitRule(); - } - return localContext; - } - public joinConstraintClause(): JoinConstraintClauseContext { - let localContext = new JoinConstraintClauseContext(this.context, this.state); - this.enterRule(localContext, 168, ClickHouseParser.RULE_joinConstraintClause); - try { - this.state = 1515; + this.state = 1537; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 197, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 192, this.context) ) { case 1: - this.enterOuterAlt(localContext, 1); { - this.state = 1506; - this.match(ClickHouseParser.ON); - this.state = 1507; - this.columnExpressionList(); + this.state = 1536; + this.topClause(); } break; - case 2: - this.enterOuterAlt(localContext, 2); + } + this.state = 1539; + this.columnExpressionList(); + this.state = 1541; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 68) { { - this.state = 1508; - this.match(ClickHouseParser.USING); - this.state = 1509; - this.match(ClickHouseParser.LPAREN); - this.state = 1510; - this.columnExpressionList(); - this.state = 1511; - this.match(ClickHouseParser.RPAREN); + this.state = 1540; + this.fromClause(); } - break; - case 3: - this.enterOuterAlt(localContext, 3); + } + + this.state = 1544; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 9 || _la === 84 || _la === 96) { { - this.state = 1513; - this.match(ClickHouseParser.USING); - this.state = 1514; - this.columnExpressionList(); + this.state = 1543; + this.arrayJoinClause(); } - break; - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; } - } - finally { - this.exitRule(); - } - return localContext; - } - public sampleClause(): SampleClauseContext { - let localContext = new SampleClauseContext(this.context, this.state); - this.enterRule(localContext, 170, ClickHouseParser.RULE_sampleClause); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1517; - this.match(ClickHouseParser.SAMPLE); - this.state = 1518; - this.ratioExpression(); - this.state = 1521; + + this.state = 1547; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 198, this.context) ) { - case 1: + _la = this.tokenStream.LA(1); + if (_la === 192) { { - this.state = 1519; - this.match(ClickHouseParser.OFFSET); - this.state = 1520; - this.ratioExpression(); + this.state = 1546; + this.windowClause(); } - break; - } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; } - } - finally { - this.exitRule(); - } - return localContext; - } - public limitExpression(): LimitExpressionContext { - let localContext = new LimitExpressionContext(this.context, this.state); - this.enterRule(localContext, 172, ClickHouseParser.RULE_limitExpression); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1523; - this.columnExpression(0); - this.state = 1526; + + this.state = 1550; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 118 || _la === 208) { + if (_la === 131) { { - this.state = 1524; - _la = this.tokenStream.LA(1); - if(!(_la === 118 || _la === 208)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - this.state = 1525; - this.columnExpression(0); + this.state = 1549; + this.prewhereClause(); } } - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public orderExpressionList(): OrderExpressionListContext { - let localContext = new OrderExpressionListContext(this.context, this.state); - this.enterRule(localContext, 174, ClickHouseParser.RULE_orderExpressionList); - try { - let alternative: number; - this.enterOuterAlt(localContext, 1); - { - this.state = 1528; - this.orderExpression(); - this.state = 1533; + this.state = 1553; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 200, this.context); - while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { - if (alternative === 1) { - { - { - this.state = 1529; - this.match(ClickHouseParser.COMMA); - this.state = 1530; - this.orderExpression(); - } - } + _la = this.tokenStream.LA(1); + if (_la === 191) { + { + this.state = 1552; + this.whereClause(); } - this.state = 1535; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 200, this.context); } + + this.state = 1556; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 73) { + { + this.state = 1555; + this.groupByClause(); + } } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } - } - finally { - this.exitRule(); - } - return localContext; - } - public orderExpression(): OrderExpressionContext { - let localContext = new OrderExpressionContext(this.context, this.state); - this.enterRule(localContext, 176, ClickHouseParser.RULE_orderExpression); - let _la: number; - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1536; - this.columnExpression(0); - this.state = 1538; + + this.state = 1560; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 201, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 199, this.context) ) { case 1: { - this.state = 1537; + this.state = 1558; + this.match(ClickHouseParser.WITH); + this.state = 1559; _la = this.tokenStream.LA(1); - if(!(((((_la - 11)) & ~0x1F) === 0 && ((1 << (_la - 11)) & 3221225473) !== 0))) { + if(!(_la === 31 || _la === 144)) { this.errorHandler.recoverInline(this); } else { @@ -6836,37 +7235,68 @@ export class ClickHouseParser extends antlr.Parser { } break; } - this.state = 1542; + this.state = 1564; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 202, this.context) ) { - case 1: + _la = this.tokenStream.LA(1); + if (_la === 193) { { - this.state = 1540; - this.match(ClickHouseParser.NULLS); - this.state = 1541; - _la = this.tokenStream.LA(1); - if(!(_la === 62 || _la === 93)) { - this.errorHandler.recoverInline(this); + this.state = 1562; + this.match(ClickHouseParser.WITH); + this.state = 1563; + this.match(ClickHouseParser.TOTALS); } - else { - this.errorHandler.reportMatch(this); - this.consume(); + } + + this.state = 1567; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 74) { + { + this.state = 1566; + this.havingClause(); } + } + + this.state = 1570; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 122) { + { + this.state = 1569; + this.orderByClause(); } - break; } - this.state = 1546; + + this.state = 1573; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 203, this.context) ) { case 1: { - this.state = 1544; - this.match(ClickHouseParser.COLLATE); - this.state = 1545; - this.match(ClickHouseParser.STRING_LITERAL); + this.state = 1572; + this.limitByClause(); } break; } + this.state = 1576; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 99) { + { + this.state = 1575; + this.limitClause(); + } + } + + this.state = 1579; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 153) { + { + this.state = 1578; + this.settingsClause(); + } + } + } } catch (re) { @@ -6882,26 +7312,16 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public ratioExpression(): RatioExpressionContext { - let localContext = new RatioExpressionContext(this.context, this.state); - this.enterRule(localContext, 178, ClickHouseParser.RULE_ratioExpression); + public withClause(): WithClauseContext { + let localContext = new WithClauseContext(this.context, this.state); + this.enterRule(localContext, 160, ClickHouseParser.RULE_withClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 1548; - this.numberLiteral(); - this.state = 1551; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 204, this.context) ) { - case 1: - { - this.state = 1549; - this.match(ClickHouseParser.SLASH); - this.state = 1550; - this.numberLiteral(); - } - break; - } + this.state = 1581; + this.match(ClickHouseParser.WITH); + this.state = 1582; + this.columnExpressionList(); } } catch (re) { @@ -6917,32 +7337,27 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public settingExpressionList(): SettingExpressionListContext { - let localContext = new SettingExpressionListContext(this.context, this.state); - this.enterRule(localContext, 180, ClickHouseParser.RULE_settingExpressionList); + public topClause(): TopClauseContext { + let localContext = new TopClauseContext(this.context, this.state); + this.enterRule(localContext, 162, ClickHouseParser.RULE_topClause); try { - let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 1553; - this.settingExpression(); - this.state = 1558; + this.state = 1584; + this.match(ClickHouseParser.TOP); + this.state = 1585; + this.match(ClickHouseParser.DECIMAL_LITERAL); + this.state = 1588; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 205, this.context); - while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { - if (alternative === 1) { - { - { - this.state = 1554; - this.match(ClickHouseParser.COMMA); - this.state = 1555; - this.settingExpression(); - } - } + switch (this.interpreter.adaptivePredict(this.tokenStream, 206, this.context) ) { + case 1: + { + this.state = 1586; + this.match(ClickHouseParser.WITH); + this.state = 1587; + this.match(ClickHouseParser.TIES); } - this.state = 1560; - this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 205, this.context); + break; } } } @@ -6959,18 +7374,16 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public settingExpression(): SettingExpressionContext { - let localContext = new SettingExpressionContext(this.context, this.state); - this.enterRule(localContext, 182, ClickHouseParser.RULE_settingExpression); + public fromClause(): FromClauseContext { + let localContext = new FromClauseContext(this.context, this.state); + this.enterRule(localContext, 164, ClickHouseParser.RULE_fromClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 1561; - this.identifier(); - this.state = 1562; - this.match(ClickHouseParser.EQ_SINGLE); - this.state = 1563; - this.literal(); + this.state = 1590; + this.match(ClickHouseParser.FROM); + this.state = 1591; + this.joinExpression(0); } } catch (re) { @@ -6986,43 +7399,36 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public windowExpression(): WindowExpressionContext { - let localContext = new WindowExpressionContext(this.context, this.state); - this.enterRule(localContext, 184, ClickHouseParser.RULE_windowExpression); + public arrayJoinClause(): ArrayJoinClauseContext { + let localContext = new ArrayJoinClauseContext(this.context, this.state); + this.enterRule(localContext, 166, ClickHouseParser.RULE_arrayJoinClause); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1566; + this.state = 1594; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 126) { + if (_la === 84 || _la === 96) { { - this.state = 1565; - this.windowPartitionByClause(); + this.state = 1593; + _la = this.tokenStream.LA(1); + if(!(_la === 84 || _la === 96)) { + this.errorHandler.recoverInline(this); } - } - - this.state = 1569; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 122) { - { - this.state = 1568; - this.windowOrderByClause(); + else { + this.errorHandler.reportMatch(this); + this.consume(); } - } - - this.state = 1572; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 136 || _la === 146) { - { - this.state = 1571; - this.windowFrameClause(); } } + this.state = 1596; + this.match(ClickHouseParser.ARRAY); + this.state = 1597; + this.match(ClickHouseParser.JOIN); + this.state = 1598; + this.columnExpressionList(); } } catch (re) { @@ -7038,23 +7444,29 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public windowPartitionByClause(): WindowPartitionByClauseContext { - let localContext = new WindowPartitionByClauseContext(this.context, this.state); - this.enterRule(localContext, 186, ClickHouseParser.RULE_windowPartitionByClause); + public windowClause(): WindowClauseContext { + let localContext = new WindowClauseContext(this.context, this.state); + this.enterRule(localContext, 168, ClickHouseParser.RULE_windowClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 1574; - this.match(ClickHouseParser.PARTITION); - this.state = 1575; - this.match(ClickHouseParser.BY); - this.state = 1576; - this.columnExpressionList(); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - this.errorHandler.reportError(this, re); + this.state = 1600; + this.match(ClickHouseParser.WINDOW); + this.state = 1601; + this.identifier(); + this.state = 1602; + this.match(ClickHouseParser.AS); + this.state = 1603; + this.match(ClickHouseParser.LPAREN); + this.state = 1604; + this.windowExpression(); + this.state = 1605; + this.match(ClickHouseParser.RPAREN); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); this.errorHandler.recover(this, re); } else { throw re; @@ -7065,18 +7477,16 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public windowOrderByClause(): WindowOrderByClauseContext { - let localContext = new WindowOrderByClauseContext(this.context, this.state); - this.enterRule(localContext, 188, ClickHouseParser.RULE_windowOrderByClause); + public prewhereClause(): PrewhereClauseContext { + let localContext = new PrewhereClauseContext(this.context, this.state); + this.enterRule(localContext, 170, ClickHouseParser.RULE_prewhereClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 1578; - this.match(ClickHouseParser.ORDER); - this.state = 1579; - this.match(ClickHouseParser.BY); - this.state = 1580; - this.orderExpressionList(); + this.state = 1607; + this.match(ClickHouseParser.PREWHERE); + this.state = 1608; + this.columnExpression(0); } } catch (re) { @@ -7092,24 +7502,16 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public windowFrameClause(): WindowFrameClauseContext { - let localContext = new WindowFrameClauseContext(this.context, this.state); - this.enterRule(localContext, 190, ClickHouseParser.RULE_windowFrameClause); - let _la: number; + public whereClause(): WhereClauseContext { + let localContext = new WhereClauseContext(this.context, this.state); + this.enterRule(localContext, 172, ClickHouseParser.RULE_whereClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 1582; - _la = this.tokenStream.LA(1); - if(!(_la === 136 || _la === 146)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - this.state = 1583; - this.windowFrameExtend(); + this.state = 1610; + this.match(ClickHouseParser.WHERE); + this.state = 1611; + this.columnExpression(0); } } catch (re) { @@ -7125,47 +7527,46 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public windowFrameExtend(): WindowFrameExtendContext { - let localContext = new WindowFrameExtendContext(this.context, this.state); - this.enterRule(localContext, 192, ClickHouseParser.RULE_windowFrameExtend); + public groupByClause(): GroupByClauseContext { + let localContext = new GroupByClauseContext(this.context, this.state); + this.enterRule(localContext, 174, ClickHouseParser.RULE_groupByClause); + let _la: number; try { - this.state = 1591; + this.enterOuterAlt(localContext, 1); + { + this.state = 1613; + this.match(ClickHouseParser.GROUP); + this.state = 1614; + this.match(ClickHouseParser.BY); + this.state = 1621; this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case ClickHouseParser.CURRENT: - case ClickHouseParser.INF: - case ClickHouseParser.NAN_SQL: - case ClickHouseParser.UNBOUNDED: - case ClickHouseParser.FLOATING_LITERAL: - case ClickHouseParser.OCTAL_LITERAL: - case ClickHouseParser.DECIMAL_LITERAL: - case ClickHouseParser.HEXADECIMAL_LITERAL: - case ClickHouseParser.DASH: - case ClickHouseParser.DOT: - case ClickHouseParser.PLUS: - localContext = new FrameStartContext(localContext); - this.enterOuterAlt(localContext, 1); + switch (this.interpreter.adaptivePredict(this.tokenStream, 208, this.context) ) { + case 1: { - this.state = 1585; - this.windowFrameBound(); + this.state = 1615; + _la = this.tokenStream.LA(1); + if(!(_la === 31 || _la === 144)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1616; + this.match(ClickHouseParser.LPAREN); + this.state = 1617; + this.columnExpressionList(); + this.state = 1618; + this.match(ClickHouseParser.RPAREN); } break; - case ClickHouseParser.BETWEEN: - localContext = new FrameBetweenContext(localContext); - this.enterOuterAlt(localContext, 2); + case 2: { - this.state = 1586; - this.match(ClickHouseParser.BETWEEN); - this.state = 1587; - this.windowFrameBound(); - this.state = 1588; - this.match(ClickHouseParser.AND); - this.state = 1589; - this.windowFrameBound(); + this.state = 1620; + this.columnExpressionList(); } break; - default: - throw new antlr.NoViableAltException(this); + } } } catch (re) { @@ -7181,56 +7582,137 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public windowFrameBound(): WindowFrameBoundContext { - let localContext = new WindowFrameBoundContext(this.context, this.state); - this.enterRule(localContext, 194, ClickHouseParser.RULE_windowFrameBound); + public havingClause(): HavingClauseContext { + let localContext = new HavingClauseContext(this.context, this.state); + this.enterRule(localContext, 176, ClickHouseParser.RULE_havingClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 1605; + this.state = 1623; + this.match(ClickHouseParser.HAVING); + this.state = 1624; + this.columnExpression(0); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public orderByClause(): OrderByClauseContext { + let localContext = new OrderByClauseContext(this.context, this.state); + this.enterRule(localContext, 178, ClickHouseParser.RULE_orderByClause); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1626; + this.match(ClickHouseParser.ORDER); + this.state = 1627; + this.match(ClickHouseParser.BY); + this.state = 1628; + this.orderExpressionList(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public projectionOrderByClause(): ProjectionOrderByClauseContext { + let localContext = new ProjectionOrderByClauseContext(this.context, this.state); + this.enterRule(localContext, 180, ClickHouseParser.RULE_projectionOrderByClause); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1630; + this.match(ClickHouseParser.ORDER); + this.state = 1631; + this.match(ClickHouseParser.BY); + this.state = 1632; + this.columnExpressionList(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public limitByClause(): LimitByClauseContext { + let localContext = new LimitByClauseContext(this.context, this.state); + this.enterRule(localContext, 182, ClickHouseParser.RULE_limitByClause); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1634; + this.match(ClickHouseParser.LIMIT); + this.state = 1635; + this.limitExpression(); + this.state = 1636; + this.match(ClickHouseParser.BY); + this.state = 1637; + this.columnExpressionList(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public limitClause(): LimitClauseContext { + let localContext = new LimitClauseContext(this.context, this.state); + this.enterRule(localContext, 184, ClickHouseParser.RULE_limitClause); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1639; + this.match(ClickHouseParser.LIMIT); + this.state = 1640; + this.limitExpression(); + this.state = 1643; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 210, this.context) ) { - case 1: - { - this.state = 1593; - this.match(ClickHouseParser.CURRENT); - this.state = 1594; - this.match(ClickHouseParser.ROW); - } - break; - case 2: - { - this.state = 1595; - this.match(ClickHouseParser.UNBOUNDED); - this.state = 1596; - this.match(ClickHouseParser.PRECEDING); - } - break; - case 3: - { - this.state = 1597; - this.match(ClickHouseParser.UNBOUNDED); - this.state = 1598; - this.match(ClickHouseParser.FOLLOWING); - } - break; - case 4: - { - this.state = 1599; - this.numberLiteral(); - this.state = 1600; - this.match(ClickHouseParser.PRECEDING); - } - break; - case 5: + _la = this.tokenStream.LA(1); + if (_la === 193) { { - this.state = 1602; - this.numberLiteral(); - this.state = 1603; - this.match(ClickHouseParser.FOLLOWING); + this.state = 1641; + this.match(ClickHouseParser.WITH); + this.state = 1642; + this.match(ClickHouseParser.TIES); } - break; } + } } catch (re) { @@ -7246,15 +7728,15 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public setStatement(): SetStatementContext { - let localContext = new SetStatementContext(this.context, this.state); - this.enterRule(localContext, 196, ClickHouseParser.RULE_setStatement); + public settingsClause(): SettingsClauseContext { + let localContext = new SettingsClauseContext(this.context, this.state); + this.enterRule(localContext, 186, ClickHouseParser.RULE_settingsClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 1607; - this.match(ClickHouseParser.SET); - this.state = 1608; + this.state = 1645; + this.match(ClickHouseParser.SETTINGS); + this.state = 1646; this.settingExpressionList(); } } @@ -7271,182 +7753,150 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public showStatement(): ShowStatementContext { - let localContext = new ShowStatementContext(this.context, this.state); - this.enterRule(localContext, 198, ClickHouseParser.RULE_showStatement); + + public joinExpression(): JoinExpressionContext; + public joinExpression(_p: number): JoinExpressionContext; + public joinExpression(_p?: number): JoinExpressionContext { + if (_p === undefined) { + _p = 0; + } + + let parentContext = this.context; + let parentState = this.state; + let localContext = new JoinExpressionContext(this.context, parentState); + let previousContext = localContext; + let _startState = 188; + this.enterRecursionRule(localContext, 188, ClickHouseParser.RULE_joinExpression, _p); let _la: number; try { - this.state = 1652; + let alternative: number; + this.enterOuterAlt(localContext, 1); + { + this.state = 1660; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 218, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 212, this.context) ) { case 1: - localContext = new ShowCreateDatabaseStatementContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 1610; - this.match(ClickHouseParser.SHOW); - this.state = 1611; - this.match(ClickHouseParser.CREATE); - this.state = 1612; - this.match(ClickHouseParser.DATABASE); - this.state = 1613; - this.databaseIdentifier(); - } - break; - case 2: - localContext = new ShowCreateDictionaryStatementContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 1614; - this.match(ClickHouseParser.SHOW); - this.state = 1615; - this.match(ClickHouseParser.CREATE); - this.state = 1616; - this.match(ClickHouseParser.DICTIONARY); - this.state = 1617; - this.tableIdentifier(); - } - break; - case 3: - localContext = new ShowCreateTableStatementContext(localContext); - this.enterOuterAlt(localContext, 3); { - this.state = 1618; - this.match(ClickHouseParser.SHOW); - this.state = 1619; - this.match(ClickHouseParser.CREATE); - this.state = 1621; + localContext = new JoinExpressionTableContext(localContext); + this.context = localContext; + previousContext = localContext; + + this.state = 1649; + this.tableExpression(0); + this.state = 1651; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 211, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 210, this.context) ) { case 1: { - this.state = 1620; - this.match(ClickHouseParser.TEMPORARY); + this.state = 1650; + this.match(ClickHouseParser.FINAL); } break; } - this.state = 1624; + this.state = 1654; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 212, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 211, this.context) ) { case 1: { - this.state = 1623; - this.match(ClickHouseParser.TABLE); + this.state = 1653; + this.sampleClause(); } break; } - this.state = 1626; - this.tableIdentifier(); } break; - case 4: - localContext = new ShowDatabasesStatementContext(localContext); - this.enterOuterAlt(localContext, 4); + case 2: { - this.state = 1627; - this.match(ClickHouseParser.SHOW); - this.state = 1628; - this.match(ClickHouseParser.DATABASES); + localContext = new JoinExpressionParensContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 1656; + this.match(ClickHouseParser.LPAREN); + this.state = 1657; + this.joinExpression(0); + this.state = 1658; + this.match(ClickHouseParser.RPAREN); } break; - case 5: - localContext = new ShowDictionariesStatementContext(localContext); - this.enterOuterAlt(localContext, 5); - { - this.state = 1629; - this.match(ClickHouseParser.SHOW); - this.state = 1630; - this.match(ClickHouseParser.DICTIONARIES); - this.state = 1633; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 68) { - { - this.state = 1631; - this.match(ClickHouseParser.FROM); - this.state = 1632; - this.databaseIdentifier(); + } + this.context!.stop = this.tokenStream.LT(-1); + this.state = 1679; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 216, this.context); + while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { + if (alternative === 1) { + if (this.parseListeners != null) { + this.triggerExitRuleEvent(); } - } - - } - break; - case 6: - localContext = new ShowTablesStatementContext(localContext); - this.enterOuterAlt(localContext, 6); - { - this.state = 1635; - this.match(ClickHouseParser.SHOW); - this.state = 1637; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 164) { + previousContext = localContext; { - this.state = 1636; - this.match(ClickHouseParser.TEMPORARY); - } - } + this.state = 1677; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 215, this.context) ) { + case 1: + { + localContext = new JoinExpressionCrossOpContext(new JoinExpressionContext(parentContext, parentState)); + this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_joinExpression); + this.state = 1662; + if (!(this.precpred(this.context, 3))) { + throw this.createFailedPredicateException("this.precpred(this.context, 3)"); + } + this.state = 1663; + this.joinOperatorCross(); + this.state = 1664; + this.joinExpression(4); + } + break; + case 2: + { + localContext = new JoinExpressionOpContext(new JoinExpressionContext(parentContext, parentState)); + this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_joinExpression); + this.state = 1666; + if (!(this.precpred(this.context, 4))) { + throw this.createFailedPredicateException("this.precpred(this.context, 4)"); + } + this.state = 1668; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 71 || _la === 101) { + { + this.state = 1667; + _la = this.tokenStream.LA(1); + if(!(_la === 71 || _la === 101)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + } - this.state = 1639; - this.match(ClickHouseParser.TABLES); - this.state = 1642; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 68 || _la === 80) { - { - this.state = 1640; - _la = this.tokenStream.LA(1); - if(!(_la === 68 || _la === 80)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - this.state = 1641; - this.databaseIdentifier(); - } - } + this.state = 1671; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4496) !== 0) || ((((_la - 69)) & ~0x1F) === 0 && ((1 << (_la - 69)) & 134250497) !== 0) || _la === 143 || _la === 150) { + { + this.state = 1670; + this.joinOperator(); + } + } - this.state = 1647; - this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case ClickHouseParser.LIKE: - { - this.state = 1644; - this.match(ClickHouseParser.LIKE); - this.state = 1645; - this.match(ClickHouseParser.STRING_LITERAL); + this.state = 1673; + this.match(ClickHouseParser.JOIN); + this.state = 1674; + this.joinExpression(0); + this.state = 1675; + this.joinConstraintClause(); + } + break; } - break; - case ClickHouseParser.WHERE: - { - this.state = 1646; - this.whereClause(); } - break; - case ClickHouseParser.EOF: - case ClickHouseParser.FORMAT: - case ClickHouseParser.INTO: - case ClickHouseParser.LIMIT: - case ClickHouseParser.RPAREN: - case ClickHouseParser.SEMICOLON: - break; - default: - break; } - this.state = 1650; + this.state = 1681; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 99) { - { - this.state = 1649; - this.limitClause(); - } - } - - } - break; + alternative = this.interpreter.adaptivePredict(this.tokenStream, 216, this.context); + } } } catch (re) { @@ -7458,152 +7908,251 @@ export class ClickHouseParser extends antlr.Parser { } } finally { - this.exitRule(); + this.unrollRecursionContexts(parentContext); } return localContext; } - public systemStatement(): SystemStatementContext { - let localContext = new SystemStatementContext(this.context, this.state); - this.enterRule(localContext, 200, ClickHouseParser.RULE_systemStatement); + public joinOperator(): JoinOperatorContext { + let localContext = new JoinOperatorContext(this.context, this.state); + this.enterRule(localContext, 190, ClickHouseParser.RULE_joinOperator); let _la: number; try { - this.state = 1688; + this.state = 1725; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 221, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 230, this.context) ) { case 1: + localContext = new JoinOpInnerContext(localContext); this.enterOuterAlt(localContext, 1); { - this.state = 1654; - this.match(ClickHouseParser.SYSTEM); - this.state = 1655; - this.match(ClickHouseParser.FLUSH); - this.state = 1656; - this.match(ClickHouseParser.DISTRIBUTED); - this.state = 1657; - this.tableIdentifier(); + this.state = 1691; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 219, this.context) ) { + case 1: + { + this.state = 1683; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4368) !== 0)) { + { + this.state = 1682; + _la = this.tokenStream.LA(1); + if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 4368) !== 0))) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + } + + this.state = 1685; + this.match(ClickHouseParser.INNER); + } + break; + case 2: + { + this.state = 1686; + this.match(ClickHouseParser.INNER); + this.state = 1688; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4368) !== 0)) { + { + this.state = 1687; + _la = this.tokenStream.LA(1); + if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 4368) !== 0))) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + } + + } + break; + case 3: + { + this.state = 1690; + _la = this.tokenStream.LA(1); + if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 4368) !== 0))) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + break; + } } break; case 2: + localContext = new JoinOpLeftRightContext(localContext); this.enterOuterAlt(localContext, 2); { - this.state = 1658; - this.match(ClickHouseParser.SYSTEM); - this.state = 1659; - this.match(ClickHouseParser.FLUSH); - this.state = 1660; - this.match(ClickHouseParser.LOGS); + this.state = 1707; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 224, this.context) ) { + case 1: + { + this.state = 1694; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4496) !== 0) || _la === 150) { + { + this.state = 1693; + _la = this.tokenStream.LA(1); + if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 4496) !== 0) || _la === 150)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + } + + this.state = 1696; + _la = this.tokenStream.LA(1); + if(!(_la === 96 || _la === 143)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1698; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 123) { + { + this.state = 1697; + this.match(ClickHouseParser.OUTER); + } + } + + } + break; + case 2: + { + this.state = 1700; + _la = this.tokenStream.LA(1); + if(!(_la === 96 || _la === 143)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1702; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 123) { + { + this.state = 1701; + this.match(ClickHouseParser.OUTER); + } + } + + this.state = 1705; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4496) !== 0) || _la === 150) { + { + this.state = 1704; + _la = this.tokenStream.LA(1); + if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 4496) !== 0) || _la === 150)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } + } + + } + break; + } } break; case 3: + localContext = new JoinOpFullContext(localContext); this.enterOuterAlt(localContext, 3); { - this.state = 1661; - this.match(ClickHouseParser.SYSTEM); - this.state = 1662; - this.match(ClickHouseParser.RELOAD); - this.state = 1663; - this.match(ClickHouseParser.DICTIONARIES); - } - break; - case 4: - this.enterOuterAlt(localContext, 4); - { - this.state = 1664; - this.match(ClickHouseParser.SYSTEM); - this.state = 1665; - this.match(ClickHouseParser.RELOAD); - this.state = 1666; - this.match(ClickHouseParser.DICTIONARY); - this.state = 1667; - this.tableIdentifier(); - } - break; - case 5: - this.enterOuterAlt(localContext, 5); - { - this.state = 1668; - this.match(ClickHouseParser.SYSTEM); - this.state = 1669; - _la = this.tokenStream.LA(1); - if(!(_la === 156 || _la === 157)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - this.state = 1677; + this.state = 1723; this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case ClickHouseParser.DISTRIBUTED: + switch (this.interpreter.adaptivePredict(this.tokenStream, 229, this.context) ) { + case 1: { - this.state = 1670; - this.match(ClickHouseParser.DISTRIBUTED); - this.state = 1671; - this.match(ClickHouseParser.SENDS); + this.state = 1710; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 4 || _la === 8) { + { + this.state = 1709; + _la = this.tokenStream.LA(1); + if(!(_la === 4 || _la === 8)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } } - break; - case ClickHouseParser.FETCHES: - { - this.state = 1672; - this.match(ClickHouseParser.FETCHES); + + this.state = 1712; + this.match(ClickHouseParser.FULL); + this.state = 1714; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 123) { + { + this.state = 1713; + this.match(ClickHouseParser.OUTER); + } + } + } break; - case ClickHouseParser.MERGES: - case ClickHouseParser.TTL: + case 2: { - this.state = 1674; + this.state = 1716; + this.match(ClickHouseParser.FULL); + this.state = 1718; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 177) { + if (_la === 123) { { - this.state = 1673; - this.match(ClickHouseParser.TTL); + this.state = 1717; + this.match(ClickHouseParser.OUTER); + } + } + + this.state = 1721; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 4 || _la === 8) { + { + this.state = 1720; + _la = this.tokenStream.LA(1); + if(!(_la === 4 || _la === 8)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } } } - this.state = 1676; - this.match(ClickHouseParser.MERGES); } break; - default: - throw new antlr.NoViableAltException(this); - } - this.state = 1679; - this.tableIdentifier(); - } - break; - case 6: - this.enterOuterAlt(localContext, 6); - { - this.state = 1680; - this.match(ClickHouseParser.SYSTEM); - this.state = 1681; - _la = this.tokenStream.LA(1); - if(!(_la === 156 || _la === 157)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); - } - this.state = 1682; - this.match(ClickHouseParser.REPLICATED); - this.state = 1683; - this.match(ClickHouseParser.SENDS); } - break; - case 7: - this.enterOuterAlt(localContext, 7); - { - this.state = 1684; - this.match(ClickHouseParser.SYSTEM); - this.state = 1685; - this.match(ClickHouseParser.SYNC); - this.state = 1686; - this.match(ClickHouseParser.REPLICA); - this.state = 1687; - this.tableIdentifier(); } break; } @@ -7621,59 +8170,51 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public truncateStatement(): TruncateStatementContext { - let localContext = new TruncateStatementContext(this.context, this.state); - this.enterRule(localContext, 202, ClickHouseParser.RULE_truncateStatement); + public joinOperatorCross(): JoinOperatorCrossContext { + let localContext = new JoinOperatorCrossContext(this.context, this.state); + this.enterRule(localContext, 192, ClickHouseParser.RULE_joinOperatorCross); let _la: number; try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1690; - this.match(ClickHouseParser.TRUNCATE); - this.state = 1692; + this.state = 1733; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 222, this.context) ) { - case 1: + switch (this.tokenStream.LA(1)) { + case ClickHouseParser.CROSS: + case ClickHouseParser.GLOBAL: + case ClickHouseParser.LOCAL: + this.enterOuterAlt(localContext, 1); { - this.state = 1691; - this.match(ClickHouseParser.TEMPORARY); + this.state = 1728; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 71 || _la === 101) { + { + this.state = 1727; + _la = this.tokenStream.LA(1); + if(!(_la === 71 || _la === 101)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + } } - break; - } - this.state = 1695; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 223, this.context) ) { - case 1: - { - this.state = 1694; - this.match(ClickHouseParser.TABLE); + + this.state = 1730; + this.match(ClickHouseParser.CROSS); + this.state = 1731; + this.match(ClickHouseParser.JOIN); } break; - } - this.state = 1699; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 224, this.context) ) { - case 1: + case ClickHouseParser.COMMA: + this.enterOuterAlt(localContext, 2); { - this.state = 1697; - this.match(ClickHouseParser.IF); - this.state = 1698; - this.match(ClickHouseParser.EXISTS); + this.state = 1732; + this.match(ClickHouseParser.COMMA); } break; - } - this.state = 1701; - this.tableIdentifier(); - this.state = 1703; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 119) { - { - this.state = 1702; - this.clusterClause(); - } - } - + default: + throw new antlr.NoViableAltException(this); } } catch (re) { @@ -7689,17 +8230,45 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public useStatement(): UseStatementContext { - let localContext = new UseStatementContext(this.context, this.state); - this.enterRule(localContext, 204, ClickHouseParser.RULE_useStatement); + public joinConstraintClause(): JoinConstraintClauseContext { + let localContext = new JoinConstraintClauseContext(this.context, this.state); + this.enterRule(localContext, 194, ClickHouseParser.RULE_joinConstraintClause); try { - this.enterOuterAlt(localContext, 1); - { - this.state = 1705; - this.match(ClickHouseParser.USE); - this.state = 1706; - this.databaseIdentifier(); - } + this.state = 1744; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 233, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); + { + this.state = 1735; + this.match(ClickHouseParser.ON); + this.state = 1736; + this.columnExpressionList(); + } + break; + case 2: + this.enterOuterAlt(localContext, 2); + { + this.state = 1737; + this.match(ClickHouseParser.USING); + this.state = 1738; + this.match(ClickHouseParser.LPAREN); + this.state = 1739; + this.columnExpressionList(); + this.state = 1740; + this.match(ClickHouseParser.RPAREN); + } + break; + case 3: + this.enterOuterAlt(localContext, 3); + { + this.state = 1742; + this.match(ClickHouseParser.USING); + this.state = 1743; + this.columnExpressionList(); + } + break; + } } catch (re) { if (re instanceof antlr.RecognitionException) { @@ -7714,39 +8283,28 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public watchStatement(): WatchStatementContext { - let localContext = new WatchStatementContext(this.context, this.state); - this.enterRule(localContext, 206, ClickHouseParser.RULE_watchStatement); - let _la: number; + public sampleClause(): SampleClauseContext { + let localContext = new SampleClauseContext(this.context, this.state); + this.enterRule(localContext, 196, ClickHouseParser.RULE_sampleClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 1708; - this.match(ClickHouseParser.WATCH); - this.state = 1709; - this.tableIdentifier(); - this.state = 1711; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 55) { - { - this.state = 1710; - this.match(ClickHouseParser.EVENTS); - } - } - - this.state = 1715; + this.state = 1746; + this.match(ClickHouseParser.SAMPLE); + this.state = 1747; + this.ratioExpression(); + this.state = 1750; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 99) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 234, this.context) ) { + case 1: { - this.state = 1713; - this.match(ClickHouseParser.LIMIT); - this.state = 1714; - this.match(ClickHouseParser.DECIMAL_LITERAL); + this.state = 1748; + this.match(ClickHouseParser.OFFSET); + this.state = 1749; + this.ratioExpression(); } + break; } - } } catch (re) { @@ -7762,138 +8320,34 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public columnTypeExpression(): ColumnTypeExpressionContext { - let localContext = new ColumnTypeExpressionContext(this.context, this.state); - this.enterRule(localContext, 208, ClickHouseParser.RULE_columnTypeExpression); + public limitExpression(): LimitExpressionContext { + let localContext = new LimitExpressionContext(this.context, this.state); + this.enterRule(localContext, 198, ClickHouseParser.RULE_limitExpression); let _la: number; try { - this.state = 1764; + this.enterOuterAlt(localContext, 1); + { + this.state = 1752; + this.columnExpression(0); + this.state = 1755; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 232, this.context) ) { - case 1: - localContext = new ColumnTypeExpressionSimpleContext(localContext); - this.enterOuterAlt(localContext, 1); - { - this.state = 1717; - this.identifier(); - } - break; - case 2: - localContext = new ColumnTypeExpressionNestedContext(localContext); - this.enterOuterAlt(localContext, 2); - { - this.state = 1718; - this.identifier(); - this.state = 1719; - this.match(ClickHouseParser.LPAREN); - this.state = 1720; - this.identifier(); - this.state = 1721; - this.columnTypeExpression(); - this.state = 1728; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 208) { - { - { - this.state = 1722; - this.match(ClickHouseParser.COMMA); - this.state = 1723; - this.identifier(); - this.state = 1724; - this.columnTypeExpression(); - } - } - this.state = 1730; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - this.state = 1731; - this.match(ClickHouseParser.RPAREN); - } - break; - case 3: - localContext = new ColumnTypeExpressionEnumContext(localContext); - this.enterOuterAlt(localContext, 3); - { - this.state = 1733; - this.identifier(); - this.state = 1734; - this.match(ClickHouseParser.LPAREN); - this.state = 1735; - this.enumValue(); - this.state = 1740; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - while (_la === 208) { - { - { - this.state = 1736; - this.match(ClickHouseParser.COMMA); - this.state = 1737; - this.enumValue(); - } - } - this.state = 1742; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } - this.state = 1743; - this.match(ClickHouseParser.RPAREN); - } - break; - case 4: - localContext = new ColumnTypeExpressionComplexContext(localContext); - this.enterOuterAlt(localContext, 4); + _la = this.tokenStream.LA(1); + if (_la === 118 || _la === 260) { { - this.state = 1745; - this.identifier(); - this.state = 1746; - this.match(ClickHouseParser.LPAREN); - this.state = 1747; - this.columnTypeExpression(); - this.state = 1752; - this.errorHandler.sync(this); + this.state = 1753; _la = this.tokenStream.LA(1); - while (_la === 208) { - { - { - this.state = 1748; - this.match(ClickHouseParser.COMMA); - this.state = 1749; - this.columnTypeExpression(); - } - } - this.state = 1754; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); + if(!(_la === 118 || _la === 260)) { + this.errorHandler.recoverInline(this); } - this.state = 1755; - this.match(ClickHouseParser.RPAREN); + else { + this.errorHandler.reportMatch(this); + this.consume(); } - break; - case 5: - localContext = new ColumnTypeExpressionParamContext(localContext); - this.enterOuterAlt(localContext, 5); - { - this.state = 1757; - this.identifier(); - this.state = 1758; - this.match(ClickHouseParser.LPAREN); - this.state = 1760; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 1158024191) !== 0)) { - { - this.state = 1759; - this.columnExpressionList(); - } + this.state = 1754; + this.columnExpression(0); } + } - this.state = 1762; - this.match(ClickHouseParser.RPAREN); - } - break; } } catch (re) { @@ -7909,32 +8363,32 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public columnExpressionList(): ColumnExpressionListContext { - let localContext = new ColumnExpressionListContext(this.context, this.state); - this.enterRule(localContext, 210, ClickHouseParser.RULE_columnExpressionList); + public orderExpressionList(): OrderExpressionListContext { + let localContext = new OrderExpressionListContext(this.context, this.state); + this.enterRule(localContext, 200, ClickHouseParser.RULE_orderExpressionList); try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 1766; - this.columnsExpression(); - this.state = 1771; + this.state = 1757; + this.orderExpression(); + this.state = 1762; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 233, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 236, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { { { - this.state = 1767; + this.state = 1758; this.match(ClickHouseParser.COMMA); - this.state = 1768; - this.columnsExpression(); + this.state = 1759; + this.orderExpression(); } } } - this.state = 1773; + this.state = 1764; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 233, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 236, this.context); } } } @@ -7951,55 +8405,64 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - public columnsExpression(): ColumnsExpressionContext { - let localContext = new ColumnsExpressionContext(this.context, this.state); - this.enterRule(localContext, 212, ClickHouseParser.RULE_columnsExpression); + public orderExpression(): OrderExpressionContext { + let localContext = new OrderExpressionContext(this.context, this.state); + this.enterRule(localContext, 202, ClickHouseParser.RULE_orderExpression); let _la: number; try { - this.state = 1785; + this.enterOuterAlt(localContext, 1); + { + this.state = 1765; + this.columnExpression(0); + this.state = 1767; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 235, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 237, this.context) ) { case 1: - localContext = new ColumnsExpressionAsteriskContext(localContext); - this.enterOuterAlt(localContext, 1); { - this.state = 1777; - this.errorHandler.sync(this); + this.state = 1766; _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294705151) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2146303999) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 31) !== 0)) { - { - this.state = 1774; - this.tableIdentifier(); - this.state = 1775; - this.match(ClickHouseParser.DOT); - } + if(!(((((_la - 11)) & ~0x1F) === 0 && ((1 << (_la - 11)) & 3221225473) !== 0))) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); } - - this.state = 1779; - this.match(ClickHouseParser.ASTERISK); } break; - case 2: - localContext = new ColumnsExpressionSubqueryContext(localContext); - this.enterOuterAlt(localContext, 2); + } + this.state = 1771; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 238, this.context) ) { + case 1: { - this.state = 1780; - this.match(ClickHouseParser.LPAREN); - this.state = 1781; - this.selectUnionStatement(); - this.state = 1782; - this.match(ClickHouseParser.RPAREN); + this.state = 1769; + this.match(ClickHouseParser.NULLS); + this.state = 1770; + _la = this.tokenStream.LA(1); + if(!(_la === 62 || _la === 93)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } } break; - case 3: - localContext = new ColumnsExpressionColumnContext(localContext); - this.enterOuterAlt(localContext, 3); + } + this.state = 1775; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 239, this.context) ) { + case 1: { - this.state = 1784; - this.columnExpression(0); + this.state = 1773; + this.match(ClickHouseParser.COLLATE); + this.state = 1774; + this.match(ClickHouseParser.STRING_LITERAL); } break; } + } } catch (re) { if (re instanceof antlr.RecognitionException) { @@ -8014,485 +8477,1617 @@ export class ClickHouseParser extends antlr.Parser { } return localContext; } - - public columnExpression(): ColumnExpressionContext; - public columnExpression(_p: number): ColumnExpressionContext; - public columnExpression(_p?: number): ColumnExpressionContext { - if (_p === undefined) { - _p = 0; - } - - let parentContext = this.context; - let parentState = this.state; - let localContext = new ColumnExpressionContext(this.context, parentState); - let previousContext = localContext; - let _startState = 214; - this.enterRecursionRule(localContext, 214, ClickHouseParser.RULE_columnExpression, _p); - let _la: number; + public ratioExpression(): RatioExpressionContext { + let localContext = new RatioExpressionContext(this.context, this.state); + this.enterRule(localContext, 204, ClickHouseParser.RULE_ratioExpression); try { - let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 1916; + this.state = 1777; + this.numberLiteral(); + this.state = 1780; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 248, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 240, this.context) ) { case 1: { - localContext = new ColumnExpressionCaseContext(localContext); - this.context = localContext; - previousContext = localContext; - - this.state = 1788; - this.match(ClickHouseParser.CASE); - this.state = 1790; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 236, this.context) ) { - case 1: - { - this.state = 1789; - this.columnExpression(0); - } - break; + this.state = 1778; + this.match(ClickHouseParser.SLASH); + this.state = 1779; + this.numberLiteral(); } - this.state = 1797; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - do { - { + break; + } + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public settingExpressionList(): SettingExpressionListContext { + let localContext = new SettingExpressionListContext(this.context, this.state); + this.enterRule(localContext, 206, ClickHouseParser.RULE_settingExpressionList); + try { + let alternative: number; + this.enterOuterAlt(localContext, 1); + { + this.state = 1782; + this.settingExpression(); + this.state = 1787; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 241, this.context); + while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { + if (alternative === 1) { { - this.state = 1792; - this.match(ClickHouseParser.WHEN); - this.state = 1793; - this.columnExpression(0); - this.state = 1794; - this.match(ClickHouseParser.THEN); - this.state = 1795; - this.columnExpression(0); + { + this.state = 1783; + this.match(ClickHouseParser.COMMA); + this.state = 1784; + this.settingExpression(); } } - this.state = 1799; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - } while (_la === 190); - this.state = 1803; + } + this.state = 1789; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 51) { - { - this.state = 1801; - this.match(ClickHouseParser.ELSE); - this.state = 1802; - this.columnExpression(0); - } + alternative = this.interpreter.adaptivePredict(this.tokenStream, 241, this.context); + } + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public settingExpression(): SettingExpressionContext { + let localContext = new SettingExpressionContext(this.context, this.state); + this.enterRule(localContext, 208, ClickHouseParser.RULE_settingExpression); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1790; + this.identifier(); + this.state = 1791; + this.match(ClickHouseParser.EQ_SINGLE); + this.state = 1792; + this.literal(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public windowExpression(): WindowExpressionContext { + let localContext = new WindowExpressionContext(this.context, this.state); + this.enterRule(localContext, 210, ClickHouseParser.RULE_windowExpression); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1795; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 126) { + { + this.state = 1794; + this.windowPartitionByClause(); } + } - this.state = 1805; - this.match(ClickHouseParser.END); + this.state = 1798; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 122) { + { + this.state = 1797; + this.windowOrderByClause(); } - break; - case 2: + } + + this.state = 1801; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 136 || _la === 146) { { - localContext = new ColumnExpressionCastContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1807; - this.match(ClickHouseParser.CAST); - this.state = 1808; - this.match(ClickHouseParser.LPAREN); - this.state = 1809; - this.columnExpression(0); - this.state = 1810; - this.match(ClickHouseParser.AS); - this.state = 1811; - this.columnTypeExpression(); - this.state = 1812; - this.match(ClickHouseParser.RPAREN); + this.state = 1800; + this.windowFrameClause(); } - break; - case 3: + } + + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public windowPartitionByClause(): WindowPartitionByClauseContext { + let localContext = new WindowPartitionByClauseContext(this.context, this.state); + this.enterRule(localContext, 212, ClickHouseParser.RULE_windowPartitionByClause); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1803; + this.match(ClickHouseParser.PARTITION); + this.state = 1804; + this.match(ClickHouseParser.BY); + this.state = 1805; + this.columnExpressionList(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public windowOrderByClause(): WindowOrderByClauseContext { + let localContext = new WindowOrderByClauseContext(this.context, this.state); + this.enterRule(localContext, 214, ClickHouseParser.RULE_windowOrderByClause); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1807; + this.match(ClickHouseParser.ORDER); + this.state = 1808; + this.match(ClickHouseParser.BY); + this.state = 1809; + this.orderExpressionList(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public windowFrameClause(): WindowFrameClauseContext { + let localContext = new WindowFrameClauseContext(this.context, this.state); + this.enterRule(localContext, 216, ClickHouseParser.RULE_windowFrameClause); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1811; + _la = this.tokenStream.LA(1); + if(!(_la === 136 || _la === 146)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1812; + this.windowFrameExtend(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public windowFrameExtend(): WindowFrameExtendContext { + let localContext = new WindowFrameExtendContext(this.context, this.state); + this.enterRule(localContext, 218, ClickHouseParser.RULE_windowFrameExtend); + try { + this.state = 1820; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case ClickHouseParser.CURRENT: + case ClickHouseParser.INF: + case ClickHouseParser.NAN_SQL: + case ClickHouseParser.UNBOUNDED: + case ClickHouseParser.FLOATING_LITERAL: + case ClickHouseParser.OCTAL_LITERAL: + case ClickHouseParser.DECIMAL_LITERAL: + case ClickHouseParser.HEXADECIMAL_LITERAL: + case ClickHouseParser.DASH: + case ClickHouseParser.DOT: + case ClickHouseParser.PLUS: + localContext = new FrameStartContext(localContext); + this.enterOuterAlt(localContext, 1); { - localContext = new ColumnExpressionDateContext(localContext); - this.context = localContext; - previousContext = localContext; this.state = 1814; - this.match(ClickHouseParser.DATE); - this.state = 1815; - this.match(ClickHouseParser.STRING_LITERAL); + this.windowFrameBound(); } break; - case 4: + case ClickHouseParser.BETWEEN: + localContext = new FrameBetweenContext(localContext); + this.enterOuterAlt(localContext, 2); { - localContext = new ColumnExpressionExtractContext(localContext); - this.context = localContext; - previousContext = localContext; + this.state = 1815; + this.match(ClickHouseParser.BETWEEN); this.state = 1816; - this.match(ClickHouseParser.EXTRACT); + this.windowFrameBound(); this.state = 1817; - this.match(ClickHouseParser.LPAREN); + this.match(ClickHouseParser.AND); this.state = 1818; - this.interval(); - this.state = 1819; - this.match(ClickHouseParser.FROM); - this.state = 1820; - this.columnExpression(0); - this.state = 1821; - this.match(ClickHouseParser.RPAREN); + this.windowFrameBound(); } break; - case 5: + default: + throw new antlr.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public windowFrameBound(): WindowFrameBoundContext { + let localContext = new WindowFrameBoundContext(this.context, this.state); + this.enterRule(localContext, 220, ClickHouseParser.RULE_windowFrameBound); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1834; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 246, this.context) ) { + case 1: { - localContext = new ColumnExpressionIntervalContext(localContext); - this.context = localContext; - previousContext = localContext; + this.state = 1822; + this.match(ClickHouseParser.CURRENT); this.state = 1823; - this.match(ClickHouseParser.INTERVAL); + this.match(ClickHouseParser.ROW); + } + break; + case 2: + { this.state = 1824; - this.columnExpression(0); + this.match(ClickHouseParser.UNBOUNDED); this.state = 1825; - this.interval(); + this.match(ClickHouseParser.PRECEDING); } break; - case 6: + case 3: { - localContext = new ColumnExpressionSubstringContext(localContext); - this.context = localContext; - previousContext = localContext; + this.state = 1826; + this.match(ClickHouseParser.UNBOUNDED); this.state = 1827; - this.match(ClickHouseParser.SUBSTRING); + this.match(ClickHouseParser.FOLLOWING); + } + break; + case 4: + { this.state = 1828; - this.match(ClickHouseParser.LPAREN); + this.numberLiteral(); this.state = 1829; - this.columnExpression(0); - this.state = 1830; - this.match(ClickHouseParser.FROM); - this.state = 1831; - this.columnExpression(0); - this.state = 1834; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 65) { - { - this.state = 1832; - this.match(ClickHouseParser.FOR); - this.state = 1833; - this.columnExpression(0); - } - } - - this.state = 1836; - this.match(ClickHouseParser.RPAREN); + this.match(ClickHouseParser.PRECEDING); } break; - case 7: + case 5: { - localContext = new ColumnExpressionTimestampContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1838; - this.match(ClickHouseParser.TIMESTAMP); - this.state = 1839; - this.match(ClickHouseParser.STRING_LITERAL); + this.state = 1831; + this.numberLiteral(); + this.state = 1832; + this.match(ClickHouseParser.FOLLOWING); } break; - case 8: + } + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public setStatement(): SetStatementContext { + let localContext = new SetStatementContext(this.context, this.state); + this.enterRule(localContext, 222, ClickHouseParser.RULE_setStatement); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1836; + this.match(ClickHouseParser.SET); + this.state = 1837; + this.settingExpressionList(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public showStatement(): ShowStatementContext { + let localContext = new ShowStatementContext(this.context, this.state); + this.enterRule(localContext, 224, ClickHouseParser.RULE_showStatement); + let _la: number; + try { + this.state = 1881; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 254, this.context) ) { + case 1: + localContext = new ShowCreateDatabaseStatementContext(localContext); + this.enterOuterAlt(localContext, 1); { - localContext = new ColumnExpressionTrimContext(localContext); - this.context = localContext; - previousContext = localContext; + this.state = 1839; + this.match(ClickHouseParser.SHOW); this.state = 1840; - this.match(ClickHouseParser.TRIM); + this.match(ClickHouseParser.CREATE); this.state = 1841; - this.match(ClickHouseParser.LPAREN); + this.match(ClickHouseParser.DATABASE); this.state = 1842; - _la = this.tokenStream.LA(1); - if(!(_la === 17 || _la === 95 || _la === 173)) { - this.errorHandler.recoverInline(this); - } - else { - this.errorHandler.reportMatch(this); - this.consume(); + this.databaseIdentifier(); } + break; + case 2: + localContext = new ShowCreateDictionaryStatementContext(localContext); + this.enterOuterAlt(localContext, 2); + { this.state = 1843; - this.match(ClickHouseParser.STRING_LITERAL); + this.match(ClickHouseParser.SHOW); this.state = 1844; - this.match(ClickHouseParser.FROM); + this.match(ClickHouseParser.CREATE); this.state = 1845; - this.columnExpression(0); + this.match(ClickHouseParser.DICTIONARY); this.state = 1846; - this.match(ClickHouseParser.RPAREN); + this.tableIdentifier(); } break; - case 9: + case 3: + localContext = new ShowCreateTableStatementContext(localContext); + this.enterOuterAlt(localContext, 3); { - localContext = new ColumnExpressionWinFunctionContext(localContext); - this.context = localContext; - previousContext = localContext; + this.state = 1847; + this.match(ClickHouseParser.SHOW); this.state = 1848; - this.identifier(); - { - this.state = 1849; - this.match(ClickHouseParser.LPAREN); - this.state = 1851; + this.match(ClickHouseParser.CREATE); + this.state = 1850; this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 1158024191) !== 0)) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 247, this.context) ) { + case 1: { - this.state = 1850; - this.columnExpressionList(); + this.state = 1849; + this.match(ClickHouseParser.TEMPORARY); } + break; } - this.state = 1853; - this.match(ClickHouseParser.RPAREN); + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 248, this.context) ) { + case 1: + { + this.state = 1852; + this.match(ClickHouseParser.TABLE); + } + break; } this.state = 1855; - this.match(ClickHouseParser.OVER); + this.tableIdentifier(); + } + break; + case 4: + localContext = new ShowDatabasesStatementContext(localContext); + this.enterOuterAlt(localContext, 4); + { this.state = 1856; - this.match(ClickHouseParser.LPAREN); + this.match(ClickHouseParser.SHOW); this.state = 1857; - this.windowExpression(); - this.state = 1858; - this.match(ClickHouseParser.RPAREN); + this.match(ClickHouseParser.DATABASES); } break; - case 10: - { - localContext = new ColumnExpressionWinFunctionTargetContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1860; - this.identifier(); + case 5: + localContext = new ShowDictionariesStatementContext(localContext); + this.enterOuterAlt(localContext, 5); { - this.state = 1861; - this.match(ClickHouseParser.LPAREN); - this.state = 1863; + this.state = 1858; + this.match(ClickHouseParser.SHOW); + this.state = 1859; + this.match(ClickHouseParser.DICTIONARIES); + this.state = 1862; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 1158024191) !== 0)) { + if (_la === 68) { { - this.state = 1862; - this.columnExpressionList(); + this.state = 1860; + this.match(ClickHouseParser.FROM); + this.state = 1861; + this.databaseIdentifier(); } } - this.state = 1865; - this.match(ClickHouseParser.RPAREN); - } - this.state = 1867; - this.match(ClickHouseParser.OVER); - this.state = 1868; - this.identifier(); } break; - case 11: + case 6: + localContext = new ShowTablesStatementContext(localContext); + this.enterOuterAlt(localContext, 6); { - localContext = new ColumnExpressionFunctionContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1870; - this.identifier(); - this.state = 1876; + this.state = 1864; + this.match(ClickHouseParser.SHOW); + this.state = 1866; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 243, this.context) ) { - case 1: + _la = this.tokenStream.LA(1); + if (_la === 164) { { - this.state = 1871; - this.match(ClickHouseParser.LPAREN); - this.state = 1873; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 1158024191) !== 0)) { - { - this.state = 1872; - this.columnExpressionList(); - } - } - - this.state = 1875; - this.match(ClickHouseParser.RPAREN); + this.state = 1865; + this.match(ClickHouseParser.TEMPORARY); } - break; } - this.state = 1878; - this.match(ClickHouseParser.LPAREN); - this.state = 1880; + + this.state = 1868; + this.match(ClickHouseParser.TABLES); + this.state = 1871; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 244, this.context) ) { - case 1: + _la = this.tokenStream.LA(1); + if (_la === 68 || _la === 80) { { - this.state = 1879; - this.match(ClickHouseParser.DISTINCT); + this.state = 1869; + _la = this.tokenStream.LA(1); + if(!(_la === 68 || _la === 80)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1870; + this.databaseIdentifier(); } - break; } - this.state = 1883; + + this.state = 1876; + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case ClickHouseParser.LIKE: + { + this.state = 1873; + this.match(ClickHouseParser.LIKE); + this.state = 1874; + this.match(ClickHouseParser.STRING_LITERAL); + } + break; + case ClickHouseParser.WHERE: + { + this.state = 1875; + this.whereClause(); + } + break; + case ClickHouseParser.EOF: + case ClickHouseParser.FORMAT: + case ClickHouseParser.INTO: + case ClickHouseParser.LIMIT: + case ClickHouseParser.RPAREN: + case ClickHouseParser.SEMICOLON: + break; + default: + break; + } + this.state = 1879; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 1158024191) !== 0)) { + if (_la === 99) { { - this.state = 1882; - this.columnArgumentList(); + this.state = 1878; + this.limitClause(); } } - this.state = 1885; - this.match(ClickHouseParser.RPAREN); } break; - case 12: + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public systemStatement(): SystemStatementContext { + let localContext = new SystemStatementContext(this.context, this.state); + this.enterRule(localContext, 226, ClickHouseParser.RULE_systemStatement); + let _la: number; + try { + this.state = 1917; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 257, this.context) ) { + case 1: + this.enterOuterAlt(localContext, 1); { - localContext = new ColumnExpressionLiteralContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1887; - this.literal(); + this.state = 1883; + this.match(ClickHouseParser.SYSTEM); + this.state = 1884; + this.match(ClickHouseParser.FLUSH); + this.state = 1885; + this.match(ClickHouseParser.DISTRIBUTED); + this.state = 1886; + this.tableIdentifier(); } break; - case 13: + case 2: + this.enterOuterAlt(localContext, 2); { - localContext = new ColumnExpressionNegateContext(localContext); - this.context = localContext; - previousContext = localContext; + this.state = 1887; + this.match(ClickHouseParser.SYSTEM); this.state = 1888; - this.match(ClickHouseParser.DASH); + this.match(ClickHouseParser.FLUSH); this.state = 1889; - this.columnExpression(17); + this.match(ClickHouseParser.LOGS); } break; - case 14: + case 3: + this.enterOuterAlt(localContext, 3); { - localContext = new ColumnExpressionNotContext(localContext); - this.context = localContext; - previousContext = localContext; this.state = 1890; - this.match(ClickHouseParser.NOT); + this.match(ClickHouseParser.SYSTEM); this.state = 1891; - this.columnExpression(12); + this.match(ClickHouseParser.RELOAD); + this.state = 1892; + this.match(ClickHouseParser.DICTIONARIES); } break; - case 15: + case 4: + this.enterOuterAlt(localContext, 4); { - localContext = new ColumnExpressionAsteriskContext(localContext); - this.context = localContext; - previousContext = localContext; + this.state = 1893; + this.match(ClickHouseParser.SYSTEM); + this.state = 1894; + this.match(ClickHouseParser.RELOAD); this.state = 1895; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294705151) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2146303999) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 31) !== 0)) { - { - this.state = 1892; - this.tableIdentifier(); - this.state = 1893; - this.match(ClickHouseParser.DOT); - } - } - - this.state = 1897; - this.match(ClickHouseParser.ASTERISK); + this.match(ClickHouseParser.DICTIONARY); + this.state = 1896; + this.tableIdentifier(); } break; - case 16: + case 5: + this.enterOuterAlt(localContext, 5); { - localContext = new ColumnExpressionSubqueryContext(localContext); - this.context = localContext; - previousContext = localContext; + this.state = 1897; + this.match(ClickHouseParser.SYSTEM); this.state = 1898; - this.match(ClickHouseParser.LPAREN); - this.state = 1899; - this.selectUnionStatement(); - this.state = 1900; - this.match(ClickHouseParser.RPAREN); + _la = this.tokenStream.LA(1); + if(!(_la === 156 || _la === 157)) { + this.errorHandler.recoverInline(this); } - break; - case 17: - { - localContext = new ColumnExpressionParensContext(localContext); - this.context = localContext; - previousContext = localContext; - this.state = 1902; - this.match(ClickHouseParser.LPAREN); - this.state = 1903; - this.columnExpression(0); - this.state = 1904; - this.match(ClickHouseParser.RPAREN); + else { + this.errorHandler.reportMatch(this); + this.consume(); } - break; - case 18: - { - localContext = new ColumnExpressionTupleContext(localContext); - this.context = localContext; - previousContext = localContext; this.state = 1906; - this.match(ClickHouseParser.LPAREN); - this.state = 1907; - this.columnExpressionList(); + this.errorHandler.sync(this); + switch (this.tokenStream.LA(1)) { + case ClickHouseParser.DISTRIBUTED: + { + this.state = 1899; + this.match(ClickHouseParser.DISTRIBUTED); + this.state = 1900; + this.match(ClickHouseParser.SENDS); + } + break; + case ClickHouseParser.FETCHES: + { + this.state = 1901; + this.match(ClickHouseParser.FETCHES); + } + break; + case ClickHouseParser.MERGES: + case ClickHouseParser.TTL: + { + this.state = 1903; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 177) { + { + this.state = 1902; + this.match(ClickHouseParser.TTL); + } + } + + this.state = 1905; + this.match(ClickHouseParser.MERGES); + } + break; + default: + throw new antlr.NoViableAltException(this); + } this.state = 1908; - this.match(ClickHouseParser.RPAREN); + this.tableIdentifier(); } break; - case 19: + case 6: + this.enterOuterAlt(localContext, 6); { - localContext = new ColumnExpressionArrayContext(localContext); - this.context = localContext; - previousContext = localContext; + this.state = 1909; + this.match(ClickHouseParser.SYSTEM); this.state = 1910; - this.match(ClickHouseParser.LBRACKET); - this.state = 1912; - this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 1158024191) !== 0)) { - { - this.state = 1911; - this.columnExpressionList(); - } + if(!(_la === 156 || _la === 157)) { + this.errorHandler.recoverInline(this); } - - this.state = 1914; - this.match(ClickHouseParser.RBRACKET); + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 1911; + this.match(ClickHouseParser.REPLICATED); + this.state = 1912; + this.match(ClickHouseParser.SENDS); } break; - case 20: + case 7: + this.enterOuterAlt(localContext, 7); { - localContext = new ColumnExpressionIdentifierContext(localContext); - this.context = localContext; - previousContext = localContext; + this.state = 1913; + this.match(ClickHouseParser.SYSTEM); + this.state = 1914; + this.match(ClickHouseParser.SYNC); this.state = 1915; - this.columnIdentifier(); + this.match(ClickHouseParser.REPLICA); + this.state = 1916; + this.tableIdentifier(); } break; } - this.context!.stop = this.tokenStream.LT(-1); - this.state = 1989; + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public truncateStatement(): TruncateStatementContext { + let localContext = new TruncateStatementContext(this.context, this.state); + this.enterRule(localContext, 228, ClickHouseParser.RULE_truncateStatement); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1919; + this.match(ClickHouseParser.TRUNCATE); + this.state = 1921; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 257, this.context); - while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { - if (alternative === 1) { - if (this.parseListeners != null) { - this.triggerExitRuleEvent(); - } - previousContext = localContext; - { - this.state = 1987; - this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 256, this.context) ) { - case 1: - { - localContext = new ColumnExpressionPrecedence1Context(new ColumnExpressionContext(parentContext, parentState)); - this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_columnExpression); - this.state = 1918; - if (!(this.precpred(this.context, 16))) { - throw this.createFailedPredicateException("this.precpred(this.context, 16)"); - } - this.state = 1919; + switch (this.interpreter.adaptivePredict(this.tokenStream, 258, this.context) ) { + case 1: + { + this.state = 1920; + this.match(ClickHouseParser.TEMPORARY); + } + break; + } + this.state = 1924; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 259, this.context) ) { + case 1: + { + this.state = 1923; + this.match(ClickHouseParser.TABLE); + } + break; + } + this.state = 1928; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 260, this.context) ) { + case 1: + { + this.state = 1926; + this.match(ClickHouseParser.IF); + this.state = 1927; + this.match(ClickHouseParser.EXISTS); + } + break; + } + this.state = 1930; + this.tableIdentifier(); + this.state = 1932; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 119) { + { + this.state = 1931; + this.clusterClause(); + } + } + + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public useStatement(): UseStatementContext { + let localContext = new UseStatementContext(this.context, this.state); + this.enterRule(localContext, 230, ClickHouseParser.RULE_useStatement); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1934; + this.match(ClickHouseParser.USE); + this.state = 1935; + this.databaseIdentifier(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public watchStatement(): WatchStatementContext { + let localContext = new WatchStatementContext(this.context, this.state); + this.enterRule(localContext, 232, ClickHouseParser.RULE_watchStatement); + let _la: number; + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 1937; + this.match(ClickHouseParser.WATCH); + this.state = 1938; + this.tableIdentifier(); + this.state = 1940; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 55) { + { + this.state = 1939; + this.match(ClickHouseParser.EVENTS); + } + } + + this.state = 1944; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 99) { + { + this.state = 1942; + this.match(ClickHouseParser.LIMIT); + this.state = 1943; + this.match(ClickHouseParser.DECIMAL_LITERAL); + } + } + + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public columnTypeExpression(): ColumnTypeExpressionContext { + let localContext = new ColumnTypeExpressionContext(this.context, this.state); + this.enterRule(localContext, 234, ClickHouseParser.RULE_columnTypeExpression); + let _la: number; + try { + this.state = 1993; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 268, this.context) ) { + case 1: + localContext = new ColumnTypeExpressionSimpleContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 1946; + this.identifier(); + } + break; + case 2: + localContext = new ColumnTypeExpressionNestedContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 1947; + this.identifier(); + this.state = 1948; + this.match(ClickHouseParser.LPAREN); + this.state = 1949; + this.identifier(); + this.state = 1950; + this.columnTypeExpression(); + this.state = 1957; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 260) { + { + { + this.state = 1951; + this.match(ClickHouseParser.COMMA); + this.state = 1952; + this.identifier(); + this.state = 1953; + this.columnTypeExpression(); + } + } + this.state = 1959; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 1960; + this.match(ClickHouseParser.RPAREN); + } + break; + case 3: + localContext = new ColumnTypeExpressionEnumContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 1962; + this.identifier(); + this.state = 1963; + this.match(ClickHouseParser.LPAREN); + this.state = 1964; + this.enumValue(); + this.state = 1969; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 260) { + { + { + this.state = 1965; + this.match(ClickHouseParser.COMMA); + this.state = 1966; + this.enumValue(); + } + } + this.state = 1971; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 1972; + this.match(ClickHouseParser.RPAREN); + } + break; + case 4: + localContext = new ColumnTypeExpressionComplexContext(localContext); + this.enterOuterAlt(localContext, 4); + { + this.state = 1974; + this.identifier(); + this.state = 1975; + this.match(ClickHouseParser.LPAREN); + this.state = 1976; + this.columnTypeExpression(); + this.state = 1981; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (_la === 260) { + { + { + this.state = 1977; + this.match(ClickHouseParser.COMMA); + this.state = 1978; + this.columnTypeExpression(); + } + } + this.state = 1983; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } + this.state = 1984; + this.match(ClickHouseParser.RPAREN); + } + break; + case 5: + localContext = new ColumnTypeExpressionParamContext(localContext); + this.enterOuterAlt(localContext, 5); + { + this.state = 1986; + this.identifier(); + this.state = 1987; + this.match(ClickHouseParser.LPAREN); + this.state = 1989; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4294967295) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 3221225471) !== 0) || ((((_la - 262)) & ~0x1F) === 0 && ((1 << (_la - 262)) & 8835) !== 0)) { + { + this.state = 1988; + this.columnExpressionList(); + } + } + + this.state = 1991; + this.match(ClickHouseParser.RPAREN); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public columnExpressionList(): ColumnExpressionListContext { + let localContext = new ColumnExpressionListContext(this.context, this.state); + this.enterRule(localContext, 236, ClickHouseParser.RULE_columnExpressionList); + try { + let alternative: number; + this.enterOuterAlt(localContext, 1); + { + this.state = 1995; + this.columnsExpression(); + this.state = 2000; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 269, this.context); + while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { + if (alternative === 1) { + { + { + this.state = 1996; + this.match(ClickHouseParser.COMMA); + this.state = 1997; + this.columnsExpression(); + } + } + } + this.state = 2002; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 269, this.context); + } + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public columnsExpression(): ColumnsExpressionContext { + let localContext = new ColumnsExpressionContext(this.context, this.state); + this.enterRule(localContext, 238, ClickHouseParser.RULE_columnsExpression); + let _la: number; + try { + this.state = 2014; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 271, this.context) ) { + case 1: + localContext = new ColumnsExpressionAsteriskContext(localContext); + this.enterOuterAlt(localContext, 1); + { + this.state = 2006; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294705151) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2146303999) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4294967295) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 33554431) !== 0)) { + { + this.state = 2003; + this.tableIdentifier(); + this.state = 2004; + this.match(ClickHouseParser.DOT); + } + } + + this.state = 2008; + this.match(ClickHouseParser.ASTERISK); + } + break; + case 2: + localContext = new ColumnsExpressionSubqueryContext(localContext); + this.enterOuterAlt(localContext, 2); + { + this.state = 2009; + this.match(ClickHouseParser.LPAREN); + this.state = 2010; + this.selectUnionStatement(); + this.state = 2011; + this.match(ClickHouseParser.RPAREN); + } + break; + case 3: + localContext = new ColumnsExpressionColumnContext(localContext); + this.enterOuterAlt(localContext, 3); + { + this.state = 2013; + this.columnExpression(0); + } + break; + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + + public columnExpression(): ColumnExpressionContext; + public columnExpression(_p: number): ColumnExpressionContext; + public columnExpression(_p?: number): ColumnExpressionContext { + if (_p === undefined) { + _p = 0; + } + + let parentContext = this.context; + let parentState = this.state; + let localContext = new ColumnExpressionContext(this.context, parentState); + let previousContext = localContext; + let _startState = 240; + this.enterRecursionRule(localContext, 240, ClickHouseParser.RULE_columnExpression, _p); + let _la: number; + try { + let alternative: number; + this.enterOuterAlt(localContext, 1); + { + this.state = 2145; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 284, this.context) ) { + case 1: + { + localContext = new ColumnExpressionCaseContext(localContext); + this.context = localContext; + previousContext = localContext; + + this.state = 2017; + this.match(ClickHouseParser.CASE); + this.state = 2019; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 272, this.context) ) { + case 1: + { + this.state = 2018; + this.columnExpression(0); + } + break; + } + this.state = 2026; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + do { + { + { + this.state = 2021; + this.match(ClickHouseParser.WHEN); + this.state = 2022; + this.columnExpression(0); + this.state = 2023; + this.match(ClickHouseParser.THEN); + this.state = 2024; + this.columnExpression(0); + } + } + this.state = 2028; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + } while (_la === 190); + this.state = 2032; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 51) { + { + this.state = 2030; + this.match(ClickHouseParser.ELSE); + this.state = 2031; + this.columnExpression(0); + } + } + + this.state = 2034; + this.match(ClickHouseParser.END); + } + break; + case 2: + { + localContext = new ColumnExpressionCastContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2036; + this.match(ClickHouseParser.CAST); + this.state = 2037; + this.match(ClickHouseParser.LPAREN); + this.state = 2038; + this.columnExpression(0); + this.state = 2039; + this.match(ClickHouseParser.AS); + this.state = 2040; + this.columnTypeExpression(); + this.state = 2041; + this.match(ClickHouseParser.RPAREN); + } + break; + case 3: + { + localContext = new ColumnExpressionDateContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2043; + this.match(ClickHouseParser.DATE); + this.state = 2044; + this.match(ClickHouseParser.STRING_LITERAL); + } + break; + case 4: + { + localContext = new ColumnExpressionExtractContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2045; + this.match(ClickHouseParser.EXTRACT); + this.state = 2046; + this.match(ClickHouseParser.LPAREN); + this.state = 2047; + this.interval(); + this.state = 2048; + this.match(ClickHouseParser.FROM); + this.state = 2049; + this.columnExpression(0); + this.state = 2050; + this.match(ClickHouseParser.RPAREN); + } + break; + case 5: + { + localContext = new ColumnExpressionIntervalContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2052; + this.match(ClickHouseParser.INTERVAL); + this.state = 2053; + this.columnExpression(0); + this.state = 2054; + this.interval(); + } + break; + case 6: + { + localContext = new ColumnExpressionSubstringContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2056; + this.match(ClickHouseParser.SUBSTRING); + this.state = 2057; + this.match(ClickHouseParser.LPAREN); + this.state = 2058; + this.columnExpression(0); + this.state = 2059; + this.match(ClickHouseParser.FROM); + this.state = 2060; + this.columnExpression(0); + this.state = 2063; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 65) { + { + this.state = 2061; + this.match(ClickHouseParser.FOR); + this.state = 2062; + this.columnExpression(0); + } + } + + this.state = 2065; + this.match(ClickHouseParser.RPAREN); + } + break; + case 7: + { + localContext = new ColumnExpressionTimestampContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2067; + this.match(ClickHouseParser.TIMESTAMP); + this.state = 2068; + this.match(ClickHouseParser.STRING_LITERAL); + } + break; + case 8: + { + localContext = new ColumnExpressionTrimContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2069; + this.match(ClickHouseParser.TRIM); + this.state = 2070; + this.match(ClickHouseParser.LPAREN); + this.state = 2071; + _la = this.tokenStream.LA(1); + if(!(_la === 17 || _la === 95 || _la === 173)) { + this.errorHandler.recoverInline(this); + } + else { + this.errorHandler.reportMatch(this); + this.consume(); + } + this.state = 2072; + this.match(ClickHouseParser.STRING_LITERAL); + this.state = 2073; + this.match(ClickHouseParser.FROM); + this.state = 2074; + this.columnExpression(0); + this.state = 2075; + this.match(ClickHouseParser.RPAREN); + } + break; + case 9: + { + localContext = new ColumnExpressionWinFunctionContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2077; + this.identifier(); + { + this.state = 2078; + this.match(ClickHouseParser.LPAREN); + this.state = 2080; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4294967295) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 3221225471) !== 0) || ((((_la - 262)) & ~0x1F) === 0 && ((1 << (_la - 262)) & 8835) !== 0)) { + { + this.state = 2079; + this.columnExpressionList(); + } + } + + this.state = 2082; + this.match(ClickHouseParser.RPAREN); + } + this.state = 2084; + this.match(ClickHouseParser.OVER); + this.state = 2085; + this.match(ClickHouseParser.LPAREN); + this.state = 2086; + this.windowExpression(); + this.state = 2087; + this.match(ClickHouseParser.RPAREN); + } + break; + case 10: + { + localContext = new ColumnExpressionWinFunctionTargetContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2089; + this.identifier(); + { + this.state = 2090; + this.match(ClickHouseParser.LPAREN); + this.state = 2092; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4294967295) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 3221225471) !== 0) || ((((_la - 262)) & ~0x1F) === 0 && ((1 << (_la - 262)) & 8835) !== 0)) { + { + this.state = 2091; + this.columnExpressionList(); + } + } + + this.state = 2094; + this.match(ClickHouseParser.RPAREN); + } + this.state = 2096; + this.match(ClickHouseParser.OVER); + this.state = 2097; + this.identifier(); + } + break; + case 11: + { + localContext = new ColumnExpressionFunctionContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2099; + this.identifier(); + this.state = 2105; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 279, this.context) ) { + case 1: + { + this.state = 2100; + this.match(ClickHouseParser.LPAREN); + this.state = 2102; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4294967295) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 3221225471) !== 0) || ((((_la - 262)) & ~0x1F) === 0 && ((1 << (_la - 262)) & 8835) !== 0)) { + { + this.state = 2101; + this.columnExpressionList(); + } + } + + this.state = 2104; + this.match(ClickHouseParser.RPAREN); + } + break; + } + this.state = 2107; + this.match(ClickHouseParser.LPAREN); + this.state = 2109; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 280, this.context) ) { + case 1: + { + this.state = 2108; + this.match(ClickHouseParser.DISTINCT); + } + break; + } + this.state = 2112; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4294967295) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 3221225471) !== 0) || ((((_la - 262)) & ~0x1F) === 0 && ((1 << (_la - 262)) & 8835) !== 0)) { + { + this.state = 2111; + this.columnArgumentList(); + } + } + + this.state = 2114; + this.match(ClickHouseParser.RPAREN); + } + break; + case 12: + { + localContext = new ColumnExpressionLiteralContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2116; + this.literal(); + } + break; + case 13: + { + localContext = new ColumnExpressionNegateContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2117; + this.match(ClickHouseParser.DASH); + this.state = 2118; + this.columnExpression(17); + } + break; + case 14: + { + localContext = new ColumnExpressionNotContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2119; + this.match(ClickHouseParser.NOT); + this.state = 2120; + this.columnExpression(12); + } + break; + case 15: + { + localContext = new ColumnExpressionAsteriskContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2124; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294705151) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2146303999) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4294967295) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 33554431) !== 0)) { + { + this.state = 2121; + this.tableIdentifier(); + this.state = 2122; + this.match(ClickHouseParser.DOT); + } + } + + this.state = 2126; + this.match(ClickHouseParser.ASTERISK); + } + break; + case 16: + { + localContext = new ColumnExpressionSubqueryContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2127; + this.match(ClickHouseParser.LPAREN); + this.state = 2128; + this.selectUnionStatement(); + this.state = 2129; + this.match(ClickHouseParser.RPAREN); + } + break; + case 17: + { + localContext = new ColumnExpressionParensContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2131; + this.match(ClickHouseParser.LPAREN); + this.state = 2132; + this.columnExpression(0); + this.state = 2133; + this.match(ClickHouseParser.RPAREN); + } + break; + case 18: + { + localContext = new ColumnExpressionTupleContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2135; + this.match(ClickHouseParser.LPAREN); + this.state = 2136; + this.columnExpressionList(); + this.state = 2137; + this.match(ClickHouseParser.RPAREN); + } + break; + case 19: + { + localContext = new ColumnExpressionArrayContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2139; + this.match(ClickHouseParser.LBRACKET); + this.state = 2141; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4294967295) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 3221225471) !== 0) || ((((_la - 262)) & ~0x1F) === 0 && ((1 << (_la - 262)) & 8835) !== 0)) { + { + this.state = 2140; + this.columnExpressionList(); + } + } + + this.state = 2143; + this.match(ClickHouseParser.RBRACKET); + } + break; + case 20: + { + localContext = new ColumnExpressionIdentifierContext(localContext); + this.context = localContext; + previousContext = localContext; + this.state = 2144; + this.columnIdentifier(); + } + break; + } + this.context!.stop = this.tokenStream.LT(-1); + this.state = 2218; + this.errorHandler.sync(this); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 293, this.context); + while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { + if (alternative === 1) { + if (this.parseListeners != null) { + this.triggerExitRuleEvent(); + } + previousContext = localContext; + { + this.state = 2216; + this.errorHandler.sync(this); + switch (this.interpreter.adaptivePredict(this.tokenStream, 292, this.context) ) { + case 1: + { + localContext = new ColumnExpressionPrecedence1Context(new ColumnExpressionContext(parentContext, parentState)); + this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_columnExpression); + this.state = 2147; + if (!(this.precpred(this.context, 16))) { + throw this.createFailedPredicateException("this.precpred(this.context, 16)"); + } + this.state = 2148; _la = this.tokenStream.LA(1); - if(!(((((_la - 204)) & ~0x1F) === 0 && ((1 << (_la - 204)) & 134479873) !== 0))) { + if(!(((((_la - 256)) & ~0x1F) === 0 && ((1 << (_la - 256)) & 134479873) !== 0))) { this.errorHandler.recoverInline(this); } else { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1920; + this.state = 2149; this.columnExpression(17); } break; @@ -8500,20 +10095,20 @@ export class ClickHouseParser extends antlr.Parser { { localContext = new ColumnExpressionPrecedence2Context(new ColumnExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_columnExpression); - this.state = 1921; + this.state = 2150; if (!(this.precpred(this.context, 15))) { throw this.createFailedPredicateException("this.precpred(this.context, 15)"); } - this.state = 1922; + this.state = 2151; _la = this.tokenStream.LA(1); - if(!(((((_la - 209)) & ~0x1F) === 0 && ((1 << (_la - 209)) & 16387) !== 0))) { + if(!(((((_la - 261)) & ~0x1F) === 0 && ((1 << (_la - 261)) & 16387) !== 0))) { this.errorHandler.recoverInline(this); } else { this.errorHandler.reportMatch(this); this.consume(); } - this.state = 1923; + this.state = 2152; this.columnExpression(16); } break; @@ -8521,94 +10116,94 @@ export class ClickHouseParser extends antlr.Parser { { localContext = new ColumnExpressionPrecedence3Context(new ColumnExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_columnExpression); - this.state = 1924; + this.state = 2153; if (!(this.precpred(this.context, 14))) { throw this.createFailedPredicateException("this.precpred(this.context, 14)"); } - this.state = 1943; + this.state = 2172; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 252, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 288, this.context) ) { case 1: { - this.state = 1925; + this.state = 2154; this.match(ClickHouseParser.EQ_DOUBLE); } break; case 2: { - this.state = 1926; + this.state = 2155; this.match(ClickHouseParser.EQ_SINGLE); } break; case 3: { - this.state = 1927; + this.state = 2156; this.match(ClickHouseParser.NOT_EQ); } break; case 4: { - this.state = 1928; + this.state = 2157; this.match(ClickHouseParser.LE); } break; case 5: { - this.state = 1929; + this.state = 2158; this.match(ClickHouseParser.GE); } break; case 6: { - this.state = 1930; + this.state = 2159; this.match(ClickHouseParser.LT); } break; case 7: { - this.state = 1931; + this.state = 2160; this.match(ClickHouseParser.GT); } break; case 8: { - this.state = 1933; + this.state = 2162; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 71) { { - this.state = 1932; + this.state = 2161; this.match(ClickHouseParser.GLOBAL); } } - this.state = 1936; + this.state = 2165; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 115) { { - this.state = 1935; + this.state = 2164; this.match(ClickHouseParser.NOT); } } - this.state = 1938; + this.state = 2167; this.match(ClickHouseParser.IN); } break; case 9: { - this.state = 1940; + this.state = 2169; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 115) { { - this.state = 1939; + this.state = 2168; this.match(ClickHouseParser.NOT); } } - this.state = 1942; + this.state = 2171; _la = this.tokenStream.LA(1); if(!(_la === 79 || _la === 98)) { this.errorHandler.recoverInline(this); @@ -8620,7 +10215,7 @@ export class ClickHouseParser extends antlr.Parser { } break; } - this.state = 1945; + this.state = 2174; this.columnExpression(15); } break; @@ -8628,13 +10223,13 @@ export class ClickHouseParser extends antlr.Parser { { localContext = new ColumnExpressionAndContext(new ColumnExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_columnExpression); - this.state = 1946; + this.state = 2175; if (!(this.precpred(this.context, 11))) { throw this.createFailedPredicateException("this.precpred(this.context, 11)"); } - this.state = 1947; + this.state = 2176; this.match(ClickHouseParser.AND); - this.state = 1948; + this.state = 2177; this.columnExpression(12); } break; @@ -8642,13 +10237,13 @@ export class ClickHouseParser extends antlr.Parser { { localContext = new ColumnExpressionOrContext(new ColumnExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_columnExpression); - this.state = 1949; + this.state = 2178; if (!(this.precpred(this.context, 10))) { throw this.createFailedPredicateException("this.precpred(this.context, 10)"); } - this.state = 1950; + this.state = 2179; this.match(ClickHouseParser.OR); - this.state = 1951; + this.state = 2180; this.columnExpression(11); } break; @@ -8656,27 +10251,27 @@ export class ClickHouseParser extends antlr.Parser { { localContext = new ColumnExpressionBetweenContext(new ColumnExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_columnExpression); - this.state = 1952; + this.state = 2181; if (!(this.precpred(this.context, 9))) { throw this.createFailedPredicateException("this.precpred(this.context, 9)"); } - this.state = 1954; + this.state = 2183; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 115) { { - this.state = 1953; + this.state = 2182; this.match(ClickHouseParser.NOT); } } - this.state = 1956; + this.state = 2185; this.match(ClickHouseParser.BETWEEN); - this.state = 1957; + this.state = 2186; this.columnExpression(0); - this.state = 1958; + this.state = 2187; this.match(ClickHouseParser.AND); - this.state = 1959; + this.state = 2188; this.columnExpression(10); } break; @@ -8684,17 +10279,17 @@ export class ClickHouseParser extends antlr.Parser { { localContext = new ColumnExpressionTernaryOpContext(new ColumnExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_columnExpression); - this.state = 1961; + this.state = 2190; if (!(this.precpred(this.context, 8))) { throw this.createFailedPredicateException("this.precpred(this.context, 8)"); } - this.state = 1962; + this.state = 2191; this.match(ClickHouseParser.QUESTIONMARK); - this.state = 1963; + this.state = 2192; this.columnExpression(0); - this.state = 1964; + this.state = 2193; this.match(ClickHouseParser.COLON); - this.state = 1965; + this.state = 2194; this.columnExpression(8); } break; @@ -8702,15 +10297,15 @@ export class ClickHouseParser extends antlr.Parser { { localContext = new ColumnExpressionArrayAccessContext(new ColumnExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_columnExpression); - this.state = 1967; + this.state = 2196; if (!(this.precpred(this.context, 19))) { throw this.createFailedPredicateException("this.precpred(this.context, 19)"); } - this.state = 1968; + this.state = 2197; this.match(ClickHouseParser.LBRACKET); - this.state = 1969; + this.state = 2198; this.columnExpression(0); - this.state = 1970; + this.state = 2199; this.match(ClickHouseParser.RBRACKET); } break; @@ -8718,13 +10313,13 @@ export class ClickHouseParser extends antlr.Parser { { localContext = new ColumnExpressionTupleAccessContext(new ColumnExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_columnExpression); - this.state = 1972; + this.state = 2201; if (!(this.precpred(this.context, 18))) { throw this.createFailedPredicateException("this.precpred(this.context, 18)"); } - this.state = 1973; + this.state = 2202; this.match(ClickHouseParser.DOT); - this.state = 1974; + this.state = 2203; this.match(ClickHouseParser.DECIMAL_LITERAL); } break; @@ -8732,23 +10327,23 @@ export class ClickHouseParser extends antlr.Parser { { localContext = new ColumnExpressionIsNullContext(new ColumnExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_columnExpression); - this.state = 1975; + this.state = 2204; if (!(this.precpred(this.context, 13))) { throw this.createFailedPredicateException("this.precpred(this.context, 13)"); } - this.state = 1976; + this.state = 2205; this.match(ClickHouseParser.IS); - this.state = 1978; + this.state = 2207; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 115) { { - this.state = 1977; + this.state = 2206; this.match(ClickHouseParser.NOT); } } - this.state = 1980; + this.state = 2209; this.match(ClickHouseParser.NULL_SQL); } break; @@ -8756,11 +10351,11 @@ export class ClickHouseParser extends antlr.Parser { { localContext = new ColumnExpressionAliasContext(new ColumnExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_columnExpression); - this.state = 1981; + this.state = 2210; if (!(this.precpred(this.context, 7))) { throw this.createFailedPredicateException("this.precpred(this.context, 7)"); } - this.state = 1985; + this.state = 2214; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.DATE: @@ -8769,15 +10364,15 @@ export class ClickHouseParser extends antlr.Parser { case ClickHouseParser.KEY: case ClickHouseParser.IDENTIFIER: { - this.state = 1982; + this.state = 2211; this.alias(); } break; case ClickHouseParser.AS: { - this.state = 1983; + this.state = 2212; this.match(ClickHouseParser.AS); - this.state = 1984; + this.state = 2213; this.identifier(); } break; @@ -8789,9 +10384,9 @@ export class ClickHouseParser extends antlr.Parser { } } } - this.state = 1991; + this.state = 2220; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 257, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 293, this.context); } } } @@ -8810,26 +10405,26 @@ export class ClickHouseParser extends antlr.Parser { } public columnArgumentList(): ColumnArgumentListContext { let localContext = new ColumnArgumentListContext(this.context, this.state); - this.enterRule(localContext, 216, ClickHouseParser.RULE_columnArgumentList); + this.enterRule(localContext, 242, ClickHouseParser.RULE_columnArgumentList); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1992; + this.state = 2221; this.columnArgumentExpression(); - this.state = 1997; + this.state = 2226; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 208) { + while (_la === 260) { { { - this.state = 1993; + this.state = 2222; this.match(ClickHouseParser.COMMA); - this.state = 1994; + this.state = 2223; this.columnArgumentExpression(); } } - this.state = 1999; + this.state = 2228; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -8850,22 +10445,22 @@ export class ClickHouseParser extends antlr.Parser { } public columnArgumentExpression(): ColumnArgumentExpressionContext { let localContext = new ColumnArgumentExpressionContext(this.context, this.state); - this.enterRule(localContext, 218, ClickHouseParser.RULE_columnArgumentExpression); + this.enterRule(localContext, 244, ClickHouseParser.RULE_columnArgumentExpression); try { - this.state = 2002; + this.state = 2231; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 259, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 295, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 2000; + this.state = 2229; this.columnLambdaExpression(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 2001; + this.state = 2230; this.columnExpression(0); } break; @@ -8886,37 +10481,37 @@ export class ClickHouseParser extends antlr.Parser { } public columnLambdaExpression(): ColumnLambdaExpressionContext { let localContext = new ColumnLambdaExpressionContext(this.context, this.state); - this.enterRule(localContext, 220, ClickHouseParser.RULE_columnLambdaExpression); + this.enterRule(localContext, 246, ClickHouseParser.RULE_columnLambdaExpression); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2023; + this.state = 2252; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.LPAREN: { - this.state = 2004; + this.state = 2233; this.match(ClickHouseParser.LPAREN); - this.state = 2005; + this.state = 2234; this.identifier(); - this.state = 2010; + this.state = 2239; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 208) { + while (_la === 260) { { { - this.state = 2006; + this.state = 2235; this.match(ClickHouseParser.COMMA); - this.state = 2007; + this.state = 2236; this.identifier(); } } - this.state = 2012; + this.state = 2241; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 2013; + this.state = 2242; this.match(ClickHouseParser.RPAREN); } break; @@ -9104,25 +10699,77 @@ export class ClickHouseParser extends antlr.Parser { case ClickHouseParser.WINDOW: case ClickHouseParser.WITH: case ClickHouseParser.YEAR: + case ClickHouseParser.GRANT: + case ClickHouseParser.USER: + case ClickHouseParser.FETCH: + case ClickHouseParser.REFRESH: + case ClickHouseParser.POLICY: + case ClickHouseParser.QUOTA: + case ClickHouseParser.ROLE: + case ClickHouseParser.PROFILE: + case ClickHouseParser.ARBITRARY: + case ClickHouseParser.COLUMNS: + case ClickHouseParser.CURRENT_USER: + case ClickHouseParser.ACCESS: + case ClickHouseParser.SHOW_USERS: + case ClickHouseParser.SHOW_ROLES: + case ClickHouseParser.SHOW_ROW_POLICIES: + case ClickHouseParser.SHOW_QUOTAS: + case ClickHouseParser.SHOW_SETTINGS_PROFILES: + case ClickHouseParser.SHUTDOWN: + case ClickHouseParser.CACHE: + case ClickHouseParser.DNS: + case ClickHouseParser.MARK: + case ClickHouseParser.PART: + case ClickHouseParser.UNCOMPRESSED: + case ClickHouseParser.CONFIG: + case ClickHouseParser.EMBEDDED: + case ClickHouseParser.FUNCTIONS: + case ClickHouseParser.MOVES: + case ClickHouseParser.REPLICATION: + case ClickHouseParser.QUEUES: + case ClickHouseParser.RESTART: + case ClickHouseParser.DICTGET: + case ClickHouseParser.DICTGETHIERARCHY: + case ClickHouseParser.DICTHAS: + case ClickHouseParser.DICTISIN: + case ClickHouseParser.MANAGEMENT: + case ClickHouseParser.ADMIN: + case ClickHouseParser.INTROSPECTION: + case ClickHouseParser.ADDRESSTOLINE: + case ClickHouseParser.ADDRESSTOSYMBOL: + case ClickHouseParser.DEMANGLE: + case ClickHouseParser.SOURCES: + case ClickHouseParser.FILE: + case ClickHouseParser.URL: + case ClickHouseParser.REMOTE: + case ClickHouseParser.MYSQL: + case ClickHouseParser.ODBC: + case ClickHouseParser.JDBC: + case ClickHouseParser.HDFS: + case ClickHouseParser.S3: + case ClickHouseParser.SETTING: + case ClickHouseParser.OPTION: + case ClickHouseParser.NONE: case ClickHouseParser.JSON_FALSE: case ClickHouseParser.JSON_TRUE: case ClickHouseParser.IDENTIFIER: { - this.state = 2015; + this.state = 2244; this.identifier(); - this.state = 2020; + this.state = 2249; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 208) { + while (_la === 260) { { { - this.state = 2016; + this.state = 2245; this.match(ClickHouseParser.COMMA); - this.state = 2017; + this.state = 2246; this.identifier(); } } - this.state = 2022; + this.state = 2251; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -9131,9 +10778,9 @@ export class ClickHouseParser extends antlr.Parser { default: throw new antlr.NoViableAltException(this); } - this.state = 2025; + this.state = 2254; this.match(ClickHouseParser.ARROW); - this.state = 2026; + this.state = 2255; this.columnExpression(0); } } @@ -9152,32 +10799,32 @@ export class ClickHouseParser extends antlr.Parser { } public columnIdentifier(): ColumnIdentifierContext { let localContext = new ColumnIdentifierContext(this.context, this.state); - this.enterRule(localContext, 222, ClickHouseParser.RULE_columnIdentifier); + this.enterRule(localContext, 248, ClickHouseParser.RULE_columnIdentifier); try { this.enterOuterAlt(localContext, 1); { - this.state = 2031; + this.state = 2260; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 263, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 299, this.context) ) { case 1: { - this.state = 2028; + this.state = 2257; this.tableIdentifier(); - this.state = 2029; + this.state = 2258; this.match(ClickHouseParser.DOT); } break; } - this.state = 2033; + this.state = 2262; this.identifier(); - this.state = 2036; + this.state = 2265; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 264, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 300, this.context) ) { case 1: { - this.state = 2034; + this.state = 2263; this.match(ClickHouseParser.DOT); - this.state = 2035; + this.state = 2264; this.identifier(); } break; @@ -9209,22 +10856,22 @@ export class ClickHouseParser extends antlr.Parser { let parentState = this.state; let localContext = new TableExpressionContext(this.context, parentState); let previousContext = localContext; - let _startState = 224; - this.enterRecursionRule(localContext, 224, ClickHouseParser.RULE_tableExpression, _p); + let _startState = 250; + this.enterRecursionRule(localContext, 250, ClickHouseParser.RULE_tableExpression, _p); try { let alternative: number; this.enterOuterAlt(localContext, 1); { - this.state = 2045; + this.state = 2274; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 265, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 301, this.context) ) { case 1: { localContext = new TableExpressionIdentifierContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2039; + this.state = 2268; this.tableIdentifier(); } break; @@ -9233,7 +10880,7 @@ export class ClickHouseParser extends antlr.Parser { localContext = new TableExpressionFunctionContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2040; + this.state = 2269; this.tableFunctionExpression(); } break; @@ -9242,19 +10889,19 @@ export class ClickHouseParser extends antlr.Parser { localContext = new TableExpressionSubqueryContext(localContext); this.context = localContext; previousContext = localContext; - this.state = 2041; + this.state = 2270; this.match(ClickHouseParser.LPAREN); - this.state = 2042; + this.state = 2271; this.selectUnionStatement(); - this.state = 2043; + this.state = 2272; this.match(ClickHouseParser.RPAREN); } break; } this.context!.stop = this.tokenStream.LT(-1); - this.state = 2055; + this.state = 2284; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 267, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 303, this.context); while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) { if (alternative === 1) { if (this.parseListeners != null) { @@ -9265,11 +10912,11 @@ export class ClickHouseParser extends antlr.Parser { { localContext = new TableExpressionAliasContext(new TableExpressionContext(parentContext, parentState)); this.pushNewRecursionContext(localContext, _startState, ClickHouseParser.RULE_tableExpression); - this.state = 2047; + this.state = 2276; if (!(this.precpred(this.context, 1))) { throw this.createFailedPredicateException("this.precpred(this.context, 1)"); } - this.state = 2051; + this.state = 2280; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.DATE: @@ -9278,15 +10925,15 @@ export class ClickHouseParser extends antlr.Parser { case ClickHouseParser.KEY: case ClickHouseParser.IDENTIFIER: { - this.state = 2048; + this.state = 2277; this.alias(); } break; case ClickHouseParser.AS: { - this.state = 2049; + this.state = 2278; this.match(ClickHouseParser.AS); - this.state = 2050; + this.state = 2279; this.identifier(); } break; @@ -9296,9 +10943,9 @@ export class ClickHouseParser extends antlr.Parser { } } } - this.state = 2057; + this.state = 2286; this.errorHandler.sync(this); - alternative = this.interpreter.adaptivePredict(this.tokenStream, 267, this.context); + alternative = this.interpreter.adaptivePredict(this.tokenStream, 303, this.context); } } } @@ -9317,26 +10964,26 @@ export class ClickHouseParser extends antlr.Parser { } public tableFunctionExpression(): TableFunctionExpressionContext { let localContext = new TableFunctionExpressionContext(this.context, this.state); - this.enterRule(localContext, 226, ClickHouseParser.RULE_tableFunctionExpression); + this.enterRule(localContext, 252, ClickHouseParser.RULE_tableFunctionExpression); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2058; + this.state = 2287; this.identifier(); - this.state = 2059; + this.state = 2288; this.match(ClickHouseParser.LPAREN); - this.state = 2061; + this.state = 2290; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 1074136063) !== 0)) { + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772991) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294967295) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2147483647) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294967215) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4294950911) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4294967295) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 1073741823) !== 0) || ((((_la - 262)) & ~0x1F) === 0 && ((1 << (_la - 262)) & 8195) !== 0)) { { - this.state = 2060; + this.state = 2289; this.tableArgList(); } } - this.state = 2063; + this.state = 2292; this.match(ClickHouseParser.RPAREN); } } @@ -9355,23 +11002,23 @@ export class ClickHouseParser extends antlr.Parser { } public tableIdentifier(): TableIdentifierContext { let localContext = new TableIdentifierContext(this.context, this.state); - this.enterRule(localContext, 228, ClickHouseParser.RULE_tableIdentifier); + this.enterRule(localContext, 254, ClickHouseParser.RULE_tableIdentifier); try { this.enterOuterAlt(localContext, 1); { - this.state = 2068; + this.state = 2297; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 269, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 305, this.context) ) { case 1: { - this.state = 2065; + this.state = 2294; this.databaseIdentifier(); - this.state = 2066; + this.state = 2295; this.match(ClickHouseParser.DOT); } break; } - this.state = 2070; + this.state = 2299; this.identifier(); } } @@ -9390,26 +11037,26 @@ export class ClickHouseParser extends antlr.Parser { } public tableArgList(): TableArgListContext { let localContext = new TableArgListContext(this.context, this.state); - this.enterRule(localContext, 230, ClickHouseParser.RULE_tableArgList); + this.enterRule(localContext, 256, ClickHouseParser.RULE_tableArgList); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2072; + this.state = 2301; this.tableArgExpression(); - this.state = 2077; + this.state = 2306; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 208) { + while (_la === 260) { { { - this.state = 2073; + this.state = 2302; this.match(ClickHouseParser.COMMA); - this.state = 2074; + this.state = 2303; this.tableArgExpression(); } } - this.state = 2079; + this.state = 2308; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -9430,29 +11077,29 @@ export class ClickHouseParser extends antlr.Parser { } public tableArgExpression(): TableArgExpressionContext { let localContext = new TableArgExpressionContext(this.context, this.state); - this.enterRule(localContext, 232, ClickHouseParser.RULE_tableArgExpression); + this.enterRule(localContext, 258, ClickHouseParser.RULE_tableArgExpression); try { - this.state = 2083; + this.state = 2312; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 271, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 307, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 2080; + this.state = 2309; this.columnIdentifier(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 2081; + this.state = 2310; this.tableFunctionExpression(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 2082; + this.state = 2311; this.literal(); } break; @@ -9473,11 +11120,11 @@ export class ClickHouseParser extends antlr.Parser { } public databaseIdentifier(): DatabaseIdentifierContext { let localContext = new DatabaseIdentifierContext(this.context, this.state); - this.enterRule(localContext, 234, ClickHouseParser.RULE_databaseIdentifier); + this.enterRule(localContext, 260, ClickHouseParser.RULE_databaseIdentifier); try { this.enterOuterAlt(localContext, 1); { - this.state = 2085; + this.state = 2314; this.identifier(); } } @@ -9496,27 +11143,27 @@ export class ClickHouseParser extends antlr.Parser { } public floatingLiteral(): FloatingLiteralContext { let localContext = new FloatingLiteralContext(this.context, this.state); - this.enterRule(localContext, 236, ClickHouseParser.RULE_floatingLiteral); + this.enterRule(localContext, 262, ClickHouseParser.RULE_floatingLiteral); let _la: number; try { - this.state = 2095; + this.state = 2324; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.FLOATING_LITERAL: this.enterOuterAlt(localContext, 1); { - this.state = 2087; + this.state = 2316; this.match(ClickHouseParser.FLOATING_LITERAL); } break; case ClickHouseParser.DOT: this.enterOuterAlt(localContext, 2); { - this.state = 2088; + this.state = 2317; this.match(ClickHouseParser.DOT); - this.state = 2089; + this.state = 2318; _la = this.tokenStream.LA(1); - if(!(_la === 199 || _la === 200)) { + if(!(_la === 251 || _la === 252)) { this.errorHandler.recoverInline(this); } else { @@ -9528,18 +11175,18 @@ export class ClickHouseParser extends antlr.Parser { case ClickHouseParser.DECIMAL_LITERAL: this.enterOuterAlt(localContext, 3); { - this.state = 2090; + this.state = 2319; this.match(ClickHouseParser.DECIMAL_LITERAL); - this.state = 2091; + this.state = 2320; this.match(ClickHouseParser.DOT); - this.state = 2093; + this.state = 2322; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 272, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 308, this.context) ) { case 1: { - this.state = 2092; + this.state = 2321; _la = this.tokenStream.LA(1); - if(!(_la === 199 || _la === 200)) { + if(!(_la === 251 || _la === 252)) { this.errorHandler.recoverInline(this); } else { @@ -9570,19 +11217,19 @@ export class ClickHouseParser extends antlr.Parser { } public numberLiteral(): NumberLiteralContext { let localContext = new NumberLiteralContext(this.context, this.state); - this.enterRule(localContext, 238, ClickHouseParser.RULE_numberLiteral); + this.enterRule(localContext, 264, ClickHouseParser.RULE_numberLiteral); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2098; + this.state = 2327; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 210 || _la === 223) { + if (_la === 262 || _la === 275) { { - this.state = 2097; + this.state = 2326; _la = this.tokenStream.LA(1); - if(!(_la === 210 || _la === 223)) { + if(!(_la === 262 || _la === 275)) { this.errorHandler.recoverInline(this); } else { @@ -9592,42 +11239,42 @@ export class ClickHouseParser extends antlr.Parser { } } - this.state = 2106; + this.state = 2335; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 275, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 311, this.context) ) { case 1: { - this.state = 2100; + this.state = 2329; this.floatingLiteral(); } break; case 2: { - this.state = 2101; + this.state = 2330; this.match(ClickHouseParser.OCTAL_LITERAL); } break; case 3: { - this.state = 2102; + this.state = 2331; this.match(ClickHouseParser.DECIMAL_LITERAL); } break; case 4: { - this.state = 2103; + this.state = 2332; this.match(ClickHouseParser.HEXADECIMAL_LITERAL); } break; case 5: { - this.state = 2104; + this.state = 2333; this.match(ClickHouseParser.INF); } break; case 6: { - this.state = 2105; + this.state = 2334; this.match(ClickHouseParser.NAN_SQL); } break; @@ -9649,9 +11296,9 @@ export class ClickHouseParser extends antlr.Parser { } public literal(): LiteralContext { let localContext = new LiteralContext(this.context, this.state); - this.enterRule(localContext, 240, ClickHouseParser.RULE_literal); + this.enterRule(localContext, 266, ClickHouseParser.RULE_literal); try { - this.state = 2111; + this.state = 2340; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.INF: @@ -9665,21 +11312,21 @@ export class ClickHouseParser extends antlr.Parser { case ClickHouseParser.PLUS: this.enterOuterAlt(localContext, 1); { - this.state = 2108; + this.state = 2337; this.numberLiteral(); } break; case ClickHouseParser.STRING_LITERAL: this.enterOuterAlt(localContext, 2); { - this.state = 2109; + this.state = 2338; this.match(ClickHouseParser.STRING_LITERAL); } break; case ClickHouseParser.NULL_SQL: this.enterOuterAlt(localContext, 3); { - this.state = 2110; + this.state = 2339; this.match(ClickHouseParser.NULL_SQL); } break; @@ -9702,12 +11349,12 @@ export class ClickHouseParser extends antlr.Parser { } public interval(): IntervalContext { let localContext = new IntervalContext(this.context, this.state); - this.enterRule(localContext, 242, ClickHouseParser.RULE_interval); + this.enterRule(localContext, 268, ClickHouseParser.RULE_interval); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2113; + this.state = 2342; _la = this.tokenStream.LA(1); if(!(_la === 36 || _la === 76 || ((((_la - 108)) & ~0x1F) === 0 && ((1 << (_la - 108)) & 67108869) !== 0) || _la === 148 || _la === 189 || _la === 194)) { this.errorHandler.recoverInline(this); @@ -9733,14 +11380,14 @@ export class ClickHouseParser extends antlr.Parser { } public keyword(): KeywordContext { let localContext = new KeywordContext(this.context, this.state); - this.enterRule(localContext, 244, ClickHouseParser.RULE_keyword); + this.enterRule(localContext, 270, ClickHouseParser.RULE_keyword); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2115; + this.state = 2344; _la = this.tokenStream.LA(1); - if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772975) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294701055) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2146283519) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294442895) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4026515455) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 13) !== 0))) { + if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294967292) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 4290772975) !== 0) || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & 4294701055) !== 0) || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 2146283519) !== 0) || ((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 4294442895) !== 0) || ((((_la - 161)) & ~0x1F) === 0 && ((1 << (_la - 161)) & 4026515455) !== 0) || ((((_la - 193)) & ~0x1F) === 0 && ((1 << (_la - 193)) & 4294967293) !== 0) || ((((_la - 225)) & ~0x1F) === 0 && ((1 << (_la - 225)) & 16777215) !== 0))) { this.errorHandler.recoverInline(this); } else { @@ -9764,12 +11411,12 @@ export class ClickHouseParser extends antlr.Parser { } public keywordForAlias(): KeywordForAliasContext { let localContext = new KeywordForAliasContext(this.context, this.state); - this.enterRule(localContext, 246, ClickHouseParser.RULE_keywordForAlias); + this.enterRule(localContext, 272, ClickHouseParser.RULE_keywordForAlias); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 2117; + this.state = 2346; _la = this.tokenStream.LA(1); if(!(_la === 35 || _la === 62 || _la === 77 || _la === 91)) { this.errorHandler.recoverInline(this); @@ -9795,15 +11442,15 @@ export class ClickHouseParser extends antlr.Parser { } public alias(): AliasContext { let localContext = new AliasContext(this.context, this.state); - this.enterRule(localContext, 248, ClickHouseParser.RULE_alias); + this.enterRule(localContext, 274, ClickHouseParser.RULE_alias); try { - this.state = 2121; + this.state = 2350; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.IDENTIFIER: this.enterOuterAlt(localContext, 1); { - this.state = 2119; + this.state = 2348; this.match(ClickHouseParser.IDENTIFIER); } break; @@ -9813,7 +11460,7 @@ export class ClickHouseParser extends antlr.Parser { case ClickHouseParser.KEY: this.enterOuterAlt(localContext, 2); { - this.state = 2120; + this.state = 2349; this.keywordForAlias(); } break; @@ -9836,15 +11483,15 @@ export class ClickHouseParser extends antlr.Parser { } public identifier(): IdentifierContext { let localContext = new IdentifierContext(this.context, this.state); - this.enterRule(localContext, 250, ClickHouseParser.RULE_identifier); + this.enterRule(localContext, 276, ClickHouseParser.RULE_identifier); try { - this.state = 2126; + this.state = 2355; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.IDENTIFIER: this.enterOuterAlt(localContext, 1); { - this.state = 2123; + this.state = 2352; this.match(ClickHouseParser.IDENTIFIER); } break; @@ -9858,7 +11505,7 @@ export class ClickHouseParser extends antlr.Parser { case ClickHouseParser.YEAR: this.enterOuterAlt(localContext, 2); { - this.state = 2124; + this.state = 2353; this.interval(); } break; @@ -10038,11 +11685,63 @@ export class ClickHouseParser extends antlr.Parser { case ClickHouseParser.WHERE: case ClickHouseParser.WINDOW: case ClickHouseParser.WITH: + case ClickHouseParser.GRANT: + case ClickHouseParser.USER: + case ClickHouseParser.FETCH: + case ClickHouseParser.REFRESH: + case ClickHouseParser.POLICY: + case ClickHouseParser.QUOTA: + case ClickHouseParser.ROLE: + case ClickHouseParser.PROFILE: + case ClickHouseParser.ARBITRARY: + case ClickHouseParser.COLUMNS: + case ClickHouseParser.CURRENT_USER: + case ClickHouseParser.ACCESS: + case ClickHouseParser.SHOW_USERS: + case ClickHouseParser.SHOW_ROLES: + case ClickHouseParser.SHOW_ROW_POLICIES: + case ClickHouseParser.SHOW_QUOTAS: + case ClickHouseParser.SHOW_SETTINGS_PROFILES: + case ClickHouseParser.SHUTDOWN: + case ClickHouseParser.CACHE: + case ClickHouseParser.DNS: + case ClickHouseParser.MARK: + case ClickHouseParser.PART: + case ClickHouseParser.UNCOMPRESSED: + case ClickHouseParser.CONFIG: + case ClickHouseParser.EMBEDDED: + case ClickHouseParser.FUNCTIONS: + case ClickHouseParser.MOVES: + case ClickHouseParser.REPLICATION: + case ClickHouseParser.QUEUES: + case ClickHouseParser.RESTART: + case ClickHouseParser.DICTGET: + case ClickHouseParser.DICTGETHIERARCHY: + case ClickHouseParser.DICTHAS: + case ClickHouseParser.DICTISIN: + case ClickHouseParser.MANAGEMENT: + case ClickHouseParser.ADMIN: + case ClickHouseParser.INTROSPECTION: + case ClickHouseParser.ADDRESSTOLINE: + case ClickHouseParser.ADDRESSTOSYMBOL: + case ClickHouseParser.DEMANGLE: + case ClickHouseParser.SOURCES: + case ClickHouseParser.FILE: + case ClickHouseParser.URL: + case ClickHouseParser.REMOTE: + case ClickHouseParser.MYSQL: + case ClickHouseParser.ODBC: + case ClickHouseParser.JDBC: + case ClickHouseParser.HDFS: + case ClickHouseParser.S3: + case ClickHouseParser.SETTING: + case ClickHouseParser.OPTION: + case ClickHouseParser.NONE: case ClickHouseParser.JSON_FALSE: case ClickHouseParser.JSON_TRUE: this.enterOuterAlt(localContext, 3); { - this.state = 2125; + this.state = 2354; this.keyword(); } break; @@ -10065,9 +11764,9 @@ export class ClickHouseParser extends antlr.Parser { } public identifierOrNull(): IdentifierOrNullContext { let localContext = new IdentifierOrNullContext(this.context, this.state); - this.enterRule(localContext, 252, ClickHouseParser.RULE_identifierOrNull); + this.enterRule(localContext, 278, ClickHouseParser.RULE_identifierOrNull); try { - this.state = 2130; + this.state = 2359; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case ClickHouseParser.AFTER: @@ -10254,19 +11953,71 @@ export class ClickHouseParser extends antlr.Parser { case ClickHouseParser.WINDOW: case ClickHouseParser.WITH: case ClickHouseParser.YEAR: + case ClickHouseParser.GRANT: + case ClickHouseParser.USER: + case ClickHouseParser.FETCH: + case ClickHouseParser.REFRESH: + case ClickHouseParser.POLICY: + case ClickHouseParser.QUOTA: + case ClickHouseParser.ROLE: + case ClickHouseParser.PROFILE: + case ClickHouseParser.ARBITRARY: + case ClickHouseParser.COLUMNS: + case ClickHouseParser.CURRENT_USER: + case ClickHouseParser.ACCESS: + case ClickHouseParser.SHOW_USERS: + case ClickHouseParser.SHOW_ROLES: + case ClickHouseParser.SHOW_ROW_POLICIES: + case ClickHouseParser.SHOW_QUOTAS: + case ClickHouseParser.SHOW_SETTINGS_PROFILES: + case ClickHouseParser.SHUTDOWN: + case ClickHouseParser.CACHE: + case ClickHouseParser.DNS: + case ClickHouseParser.MARK: + case ClickHouseParser.PART: + case ClickHouseParser.UNCOMPRESSED: + case ClickHouseParser.CONFIG: + case ClickHouseParser.EMBEDDED: + case ClickHouseParser.FUNCTIONS: + case ClickHouseParser.MOVES: + case ClickHouseParser.REPLICATION: + case ClickHouseParser.QUEUES: + case ClickHouseParser.RESTART: + case ClickHouseParser.DICTGET: + case ClickHouseParser.DICTGETHIERARCHY: + case ClickHouseParser.DICTHAS: + case ClickHouseParser.DICTISIN: + case ClickHouseParser.MANAGEMENT: + case ClickHouseParser.ADMIN: + case ClickHouseParser.INTROSPECTION: + case ClickHouseParser.ADDRESSTOLINE: + case ClickHouseParser.ADDRESSTOSYMBOL: + case ClickHouseParser.DEMANGLE: + case ClickHouseParser.SOURCES: + case ClickHouseParser.FILE: + case ClickHouseParser.URL: + case ClickHouseParser.REMOTE: + case ClickHouseParser.MYSQL: + case ClickHouseParser.ODBC: + case ClickHouseParser.JDBC: + case ClickHouseParser.HDFS: + case ClickHouseParser.S3: + case ClickHouseParser.SETTING: + case ClickHouseParser.OPTION: + case ClickHouseParser.NONE: case ClickHouseParser.JSON_FALSE: case ClickHouseParser.JSON_TRUE: case ClickHouseParser.IDENTIFIER: this.enterOuterAlt(localContext, 1); { - this.state = 2128; + this.state = 2357; this.identifier(); } break; case ClickHouseParser.NULL_SQL: this.enterOuterAlt(localContext, 2); { - this.state = 2129; + this.state = 2358; this.match(ClickHouseParser.NULL_SQL); } break; @@ -10274,1503 +12025,2069 @@ export class ClickHouseParser extends antlr.Parser { throw new antlr.NoViableAltException(this); } } - catch (re) { - if (re instanceof antlr.RecognitionException) { - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + public enumValue(): EnumValueContext { + let localContext = new EnumValueContext(this.context, this.state); + this.enterRule(localContext, 280, ClickHouseParser.RULE_enumValue); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 2361; + this.match(ClickHouseParser.STRING_LITERAL); + this.state = 2362; + this.match(ClickHouseParser.EQ_SINGLE); + this.state = 2363; + this.numberLiteral(); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } + + public override sempred(localContext: antlr.ParserRuleContext | null, ruleIndex: number, predIndex: number): boolean { + switch (ruleIndex) { + case 24: + return this.dictionaryAttributeDefinition_sempred(localContext as DictionaryAttributeDefinitionContext, predIndex); + case 25: + return this.dictionaryEngineClause_sempred(localContext as DictionaryEngineClauseContext, predIndex); + case 38: + return this.engineClause_sempred(localContext as EngineClauseContext, predIndex); + case 94: + return this.joinExpression_sempred(localContext as JoinExpressionContext, predIndex); + case 120: + return this.columnExpression_sempred(localContext as ColumnExpressionContext, predIndex); + case 125: + return this.tableExpression_sempred(localContext as TableExpressionContext, predIndex); + } + return true; + } + private dictionaryAttributeDefinition_sempred(localContext: DictionaryAttributeDefinitionContext | null, predIndex: number): boolean { + switch (predIndex) { + case 0: + return !localContext.attrs.has("default"); + case 1: + return !localContext.attrs.has("expression"); + case 2: + return !localContext.attrs.has("hierarchical"); + case 3: + return !localContext.attrs.has("injective"); + case 4: + return !localContext.attrs.has("is_object_id"); + } + return true; + } + private dictionaryEngineClause_sempred(localContext: DictionaryEngineClauseContext | null, predIndex: number): boolean { + switch (predIndex) { + case 5: + return !localContext.clauses.has("source"); + case 6: + return !localContext.clauses.has("lifetime"); + case 7: + return !localContext.clauses.has("layout"); + case 8: + return !localContext.clauses.has("range"); + case 9: + return !localContext.clauses.has("settings"); + } + return true; + } + private engineClause_sempred(localContext: EngineClauseContext | null, predIndex: number): boolean { + switch (predIndex) { + case 10: + return !localContext.clauses.has("orderByClause"); + case 11: + return !localContext.clauses.has("partitionByClause"); + case 12: + return !localContext.clauses.has("primaryKeyClause"); + case 13: + return !localContext.clauses.has("sampleByClause"); + case 14: + return !localContext.clauses.has("ttlClause"); + case 15: + return !localContext.clauses.has("settingsClause"); + } + return true; + } + private joinExpression_sempred(localContext: JoinExpressionContext | null, predIndex: number): boolean { + switch (predIndex) { + case 16: + return this.precpred(this.context, 3); + case 17: + return this.precpred(this.context, 4); + } + return true; + } + private columnExpression_sempred(localContext: ColumnExpressionContext | null, predIndex: number): boolean { + switch (predIndex) { + case 18: + return this.precpred(this.context, 16); + case 19: + return this.precpred(this.context, 15); + case 20: + return this.precpred(this.context, 14); + case 21: + return this.precpred(this.context, 11); + case 22: + return this.precpred(this.context, 10); + case 23: + return this.precpred(this.context, 9); + case 24: + return this.precpred(this.context, 8); + case 25: + return this.precpred(this.context, 19); + case 26: + return this.precpred(this.context, 18); + case 27: + return this.precpred(this.context, 13); + case 28: + return this.precpred(this.context, 7); + } + return true; + } + private tableExpression_sempred(localContext: TableExpressionContext | null, predIndex: number): boolean { + switch (predIndex) { + case 29: + return this.precpred(this.context, 1); + } + return true; + } + + public static readonly _serializedATN: number[] = [ + 4,1,287,2366,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,1,0,3,0,284,8,0, + 1,0,1,0,1,1,1,1,3,1,290,8,1,1,1,1,1,1,1,1,1,3,1,296,8,1,1,2,1,2, + 1,2,1,2,3,2,302,8,2,1,2,1,2,3,2,306,8,2,1,2,3,2,309,8,2,1,2,1,2, + 3,2,313,8,2,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3, + 1,3,1,3,1,3,1,3,1,3,1,3,1,3,3,3,335,8,3,1,3,3,3,338,8,3,1,4,1,4, + 1,4,1,4,5,4,344,8,4,10,4,12,4,347,9,4,1,5,1,5,3,5,351,8,5,1,5,1, + 5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,5,6,362,8,6,10,6,12,6,365,9,6,1,6, + 1,6,1,7,1,7,1,7,1,7,3,7,373,8,7,1,7,1,7,1,7,5,7,378,8,7,10,7,12, + 7,381,9,7,1,8,1,8,1,8,1,8,1,8,3,8,388,8,8,1,8,1,8,1,8,3,8,393,8, + 8,1,8,1,8,1,8,1,8,1,8,3,8,400,8,8,1,8,1,8,1,8,3,8,405,8,8,1,8,1, + 8,1,8,1,8,1,8,3,8,412,8,8,1,8,1,8,1,8,3,8,417,8,8,1,8,1,8,1,8,1, + 8,3,8,423,8,8,1,8,1,8,1,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,3,8,445,8,8,1,8,1,8,1, + 8,1,8,3,8,451,8,8,1,8,1,8,1,8,3,8,456,8,8,1,8,1,8,1,8,1,8,3,8,462, + 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,476,8,8, + 1,8,1,8,1,8,1,8,1,8,3,8,483,8,8,1,8,1,8,1,8,1,8,1,8,3,8,490,8,8, + 1,8,1,8,1,8,1,8,1,8,3,8,497,8,8,1,8,1,8,1,8,1,8,3,8,503,8,8,1,8, + 1,8,1,8,3,8,508,8,8,1,8,1,8,1,8,1,8,3,8,514,8,8,1,8,1,8,1,8,3,8, + 519,8,8,1,8,1,8,1,8,1,8,3,8,525,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 3,8,534,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,544,8,8,1,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,1,8,1,8,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,574,8,8,1,8,1,8, + 1,8,1,8,1,8,1,8,3,8,582,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,597,8,8,1,9,1,9,1,9,5,9,602,8,9,10,9,12,9,605, + 9,9,1,10,1,10,1,10,1,10,1,11,1,11,1,12,1,12,1,12,1,12,1,12,3,12, + 618,8,12,1,13,1,13,1,13,1,13,3,13,624,8,13,1,14,1,14,1,14,1,14,3, + 14,630,8,14,1,15,1,15,1,15,1,15,3,15,636,8,15,1,15,3,15,639,8,15, + 1,16,1,16,1,16,1,16,3,16,645,8,16,1,16,3,16,648,8,16,1,16,3,16,651, + 8,16,1,16,1,16,1,16,1,16,3,16,657,8,16,1,16,1,16,3,16,661,8,16,1, + 16,3,16,664,8,16,1,16,3,16,667,8,16,1,16,3,16,670,8,16,1,16,3,16, + 673,8,16,1,17,1,17,1,17,1,17,1,17,3,17,680,8,17,1,17,1,17,3,17,684, + 8,17,1,17,1,17,1,18,1,18,1,18,1,18,3,18,692,8,18,1,18,3,18,695,8, + 18,1,18,1,18,1,18,1,18,3,18,701,8,18,1,18,1,18,3,18,705,8,18,1,18, + 3,18,708,8,18,1,18,1,18,1,18,1,19,1,19,1,19,1,19,1,19,1,19,3,19, + 719,8,19,1,19,1,19,3,19,723,8,19,1,19,3,19,726,8,19,1,19,1,19,1, + 19,3,19,731,8,19,3,19,733,8,19,1,19,3,19,736,8,19,1,19,3,19,739, + 8,19,1,19,1,19,1,20,1,20,1,20,1,20,1,20,1,20,3,20,749,8,20,1,20, + 1,20,3,20,753,8,20,1,20,3,20,756,8,20,1,20,3,20,759,8,20,1,20,1, + 20,1,20,3,20,764,8,20,3,20,766,8,20,1,20,1,20,1,21,1,21,1,21,3,21, + 773,8,21,1,21,1,21,1,21,1,21,3,21,779,8,21,1,21,1,21,3,21,783,8, + 21,1,21,3,21,786,8,21,1,21,3,21,789,8,21,1,21,1,21,1,22,1,22,1,22, + 1,22,1,22,1,22,3,22,799,8,22,1,23,1,23,1,23,1,23,5,23,805,8,23,10, + 23,12,23,808,9,23,1,23,1,23,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1, + 24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1, + 24,5,24,833,8,24,10,24,12,24,836,9,24,1,25,3,25,839,8,25,1,25,1, + 25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1, + 25,1,25,1,25,1,25,1,25,1,25,5,25,861,8,25,10,25,12,25,864,9,25,1, + 26,1,26,1,26,1,26,1,27,1,27,1,27,1,27,3,27,874,8,27,1,27,3,27,877, + 8,27,1,28,1,28,1,28,1,28,1,28,5,28,884,8,28,10,28,12,28,887,9,28, + 1,28,1,28,1,28,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29, + 1,29,3,29,903,8,29,1,29,1,29,1,30,1,30,1,30,1,30,1,30,5,30,912,8, + 30,10,30,12,30,915,9,30,1,30,1,30,1,30,1,31,1,31,1,31,1,31,1,31, + 1,31,1,31,1,31,1,31,1,31,1,31,1,31,3,31,932,8,31,1,31,1,31,1,32, + 1,32,1,32,1,32,1,32,1,33,1,33,1,33,1,33,3,33,945,8,33,1,34,1,34, + 1,34,1,35,1,35,1,35,1,36,1,36,1,36,1,37,1,37,1,37,1,37,5,37,960, + 8,37,10,37,12,37,963,9,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,971, + 8,37,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38, + 1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38, + 5,38,998,8,38,10,38,12,38,1001,9,38,1,39,1,39,1,39,1,39,1,40,1,40, + 1,40,1,40,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,5,42,1019,8,42, + 10,42,12,42,1022,9,42,1,43,1,43,3,43,1026,8,43,1,43,1,43,1,43,3, + 43,1031,8,43,1,43,3,43,1034,8,43,1,44,1,44,1,44,1,44,1,44,1,44,1, + 44,1,44,1,44,1,44,3,44,1046,8,44,1,45,1,45,1,45,3,45,1051,8,45,1, + 45,1,45,3,45,1055,8,45,1,45,3,45,1058,8,45,1,45,1,45,3,45,1062,8, + 45,1,45,1,45,3,45,1066,8,45,1,45,1,45,1,45,3,45,1071,8,45,1,45,3, + 45,1074,8,45,1,45,1,45,3,45,1078,8,45,3,45,1080,8,45,1,46,1,46,1, + 46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,49,1,49,1, + 49,1,49,1,49,5,49,1100,8,49,10,49,12,49,1103,9,49,1,49,1,49,1,50, + 1,50,1,50,3,50,1110,8,50,1,50,3,50,1113,8,50,1,51,1,51,1,51,1,51, + 1,51,1,51,1,51,1,51,3,51,1123,8,51,1,52,1,52,3,52,1127,8,52,1,52, + 1,52,1,53,1,53,1,53,1,53,3,53,1135,8,53,1,53,1,53,3,53,1139,8,53, + 1,53,1,53,1,53,3,53,1144,8,53,1,53,1,53,3,53,1148,8,53,1,53,1,53, + 3,53,1152,8,53,1,53,1,53,3,53,1156,8,53,1,53,1,53,3,53,1160,8,53, + 3,53,1162,8,53,1,54,1,54,1,54,1,54,1,54,1,54,3,54,1170,8,54,1,54, + 1,54,3,54,1174,8,54,1,54,3,54,1177,8,54,1,55,1,55,1,55,1,55,1,55, + 1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55, + 1,55,1,55,1,55,3,55,1200,8,55,1,56,1,56,3,56,1204,8,56,1,56,1,56, + 1,56,5,56,1209,8,56,10,56,12,56,1212,9,56,1,56,1,56,1,56,1,56,1, + 56,3,56,1219,8,56,1,56,1,56,3,56,1223,8,56,3,56,1225,8,56,1,56,1, + 56,1,56,1,56,1,56,3,56,1232,8,56,1,56,1,56,1,56,3,56,1237,8,56,1, + 57,1,57,1,57,5,57,1242,8,57,10,57,12,57,1245,9,57,1,58,1,58,3,58, + 1249,8,58,1,59,1,59,3,59,1253,8,59,1,60,1,60,3,60,1257,8,60,1,61, + 1,61,3,61,1261,8,61,1,61,1,61,1,61,1,61,3,61,1267,8,61,1,61,3,61, + 1270,8,61,1,62,1,62,3,62,1274,8,62,1,63,1,63,3,63,1278,8,63,1,64, + 1,64,3,64,1282,8,64,1,64,1,64,1,64,3,64,1287,8,64,1,65,1,65,1,66, + 1,66,1,67,1,67,3,67,1295,8,67,1,67,3,67,1298,8,67,1,67,1,67,3,67, + 1302,8,67,1,67,1,67,1,67,1,67,3,67,1308,8,67,1,67,1,67,3,67,1312, + 8,67,1,67,1,67,1,67,3,67,1317,8,67,1,67,1,67,3,67,1321,8,67,1,67, + 1,67,3,67,1325,8,67,1,67,1,67,1,67,3,67,1330,8,67,1,67,1,67,1,67, + 1,67,1,67,1,67,3,67,1338,8,67,1,67,3,67,1341,8,67,1,67,1,67,1,67, + 3,67,1346,8,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,3,67, + 1357,8,67,1,67,1,67,3,67,1361,8,67,1,67,1,67,1,67,3,67,1366,8,67, + 1,67,1,67,1,67,1,67,1,67,3,67,1373,8,67,1,67,1,67,1,67,1,67,1,67, + 1,67,1,67,1,67,1,67,1,67,3,67,1385,8,67,1,68,1,68,1,68,1,68,1,68, + 1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,3,68,1402,8,68, + 1,69,1,69,1,69,3,69,1407,8,69,1,69,1,69,1,69,3,69,1412,8,69,1,69, + 3,69,1415,8,69,1,69,1,69,1,70,1,70,1,70,1,70,5,70,1423,8,70,10,70, + 12,70,1426,9,70,1,70,1,70,1,71,1,71,1,71,1,71,1,71,3,71,1435,8,71, + 1,71,1,71,3,71,1439,8,71,1,72,1,72,1,72,3,72,1444,8,72,1,72,1,72, + 1,72,1,72,3,72,1450,8,72,1,72,5,72,1453,8,72,10,72,12,72,1456,9, + 72,1,73,1,73,1,73,3,73,1461,8,73,1,73,1,73,3,73,1465,8,73,1,74,1, + 74,1,74,1,74,3,74,1471,8,74,1,74,3,74,1474,8,74,1,74,3,74,1477,8, + 74,1,74,3,74,1480,8,74,1,75,1,75,1,75,1,75,1,75,1,75,1,75,1,75,1, + 75,1,75,5,75,1492,8,75,10,75,12,75,1495,9,75,1,75,3,75,1498,8,75, + 1,76,1,76,3,76,1502,8,76,1,76,1,76,1,76,3,76,1507,8,76,1,76,3,76, + 1510,8,76,1,76,1,76,1,77,1,77,1,77,1,77,5,77,1518,8,77,10,77,12, + 77,1521,9,77,1,78,1,78,1,78,1,78,1,78,3,78,1528,8,78,1,79,3,79,1531, + 8,79,1,79,1,79,3,79,1535,8,79,1,79,3,79,1538,8,79,1,79,1,79,3,79, + 1542,8,79,1,79,3,79,1545,8,79,1,79,3,79,1548,8,79,1,79,3,79,1551, + 8,79,1,79,3,79,1554,8,79,1,79,3,79,1557,8,79,1,79,1,79,3,79,1561, + 8,79,1,79,1,79,3,79,1565,8,79,1,79,3,79,1568,8,79,1,79,3,79,1571, + 8,79,1,79,3,79,1574,8,79,1,79,3,79,1577,8,79,1,79,3,79,1580,8,79, + 1,80,1,80,1,80,1,81,1,81,1,81,1,81,3,81,1589,8,81,1,82,1,82,1,82, + 1,83,3,83,1595,8,83,1,83,1,83,1,83,1,83,1,84,1,84,1,84,1,84,1,84, + 1,84,1,84,1,85,1,85,1,85,1,86,1,86,1,86,1,87,1,87,1,87,1,87,1,87, + 1,87,1,87,1,87,3,87,1622,8,87,1,88,1,88,1,88,1,89,1,89,1,89,1,89, + 1,90,1,90,1,90,1,90,1,91,1,91,1,91,1,91,1,91,1,92,1,92,1,92,1,92, + 3,92,1644,8,92,1,93,1,93,1,93,1,94,1,94,1,94,3,94,1652,8,94,1,94, + 3,94,1655,8,94,1,94,1,94,1,94,1,94,3,94,1661,8,94,1,94,1,94,1,94, + 1,94,1,94,1,94,3,94,1669,8,94,1,94,3,94,1672,8,94,1,94,1,94,1,94, + 1,94,5,94,1678,8,94,10,94,12,94,1681,9,94,1,95,3,95,1684,8,95,1, + 95,1,95,1,95,3,95,1689,8,95,1,95,3,95,1692,8,95,1,95,3,95,1695,8, + 95,1,95,1,95,3,95,1699,8,95,1,95,1,95,3,95,1703,8,95,1,95,3,95,1706, + 8,95,3,95,1708,8,95,1,95,3,95,1711,8,95,1,95,1,95,3,95,1715,8,95, + 1,95,1,95,3,95,1719,8,95,1,95,3,95,1722,8,95,3,95,1724,8,95,3,95, + 1726,8,95,1,96,3,96,1729,8,96,1,96,1,96,1,96,3,96,1734,8,96,1,97, + 1,97,1,97,1,97,1,97,1,97,1,97,1,97,1,97,3,97,1745,8,97,1,98,1,98, + 1,98,1,98,3,98,1751,8,98,1,99,1,99,1,99,3,99,1756,8,99,1,100,1,100, + 1,100,5,100,1761,8,100,10,100,12,100,1764,9,100,1,101,1,101,3,101, + 1768,8,101,1,101,1,101,3,101,1772,8,101,1,101,1,101,3,101,1776,8, + 101,1,102,1,102,1,102,3,102,1781,8,102,1,103,1,103,1,103,5,103,1786, + 8,103,10,103,12,103,1789,9,103,1,104,1,104,1,104,1,104,1,105,3,105, + 1796,8,105,1,105,3,105,1799,8,105,1,105,3,105,1802,8,105,1,106,1, + 106,1,106,1,106,1,107,1,107,1,107,1,107,1,108,1,108,1,108,1,109, + 1,109,1,109,1,109,1,109,1,109,3,109,1821,8,109,1,110,1,110,1,110, + 1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110,1,110,3,110,1835, + 8,110,1,111,1,111,1,111,1,112,1,112,1,112,1,112,1,112,1,112,1,112, + 1,112,1,112,1,112,1,112,3,112,1851,8,112,1,112,3,112,1854,8,112, + 1,112,1,112,1,112,1,112,1,112,1,112,1,112,3,112,1863,8,112,1,112, + 1,112,3,112,1867,8,112,1,112,1,112,1,112,3,112,1872,8,112,1,112, + 1,112,1,112,3,112,1877,8,112,1,112,3,112,1880,8,112,3,112,1882,8, + 112,1,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,1,113,1,113,1,113,1,113,1,113,1,113,1,113,3,113, + 1904,8,113,1,113,3,113,1907,8,113,1,113,1,113,1,113,1,113,1,113, + 1,113,1,113,1,113,1,113,3,113,1918,8,113,1,114,1,114,3,114,1922, + 8,114,1,114,3,114,1925,8,114,1,114,1,114,3,114,1929,8,114,1,114, + 1,114,3,114,1933,8,114,1,115,1,115,1,115,1,116,1,116,1,116,3,116, + 1941,8,116,1,116,1,116,3,116,1945,8,116,1,117,1,117,1,117,1,117, + 1,117,1,117,1,117,1,117,1,117,5,117,1956,8,117,10,117,12,117,1959, + 9,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117,5,117,1968,8,117, + 10,117,12,117,1971,9,117,1,117,1,117,1,117,1,117,1,117,1,117,1,117, + 5,117,1980,8,117,10,117,12,117,1983,9,117,1,117,1,117,1,117,1,117, + 1,117,3,117,1990,8,117,1,117,1,117,3,117,1994,8,117,1,118,1,118, + 1,118,5,118,1999,8,118,10,118,12,118,2002,9,118,1,119,1,119,1,119, + 3,119,2007,8,119,1,119,1,119,1,119,1,119,1,119,1,119,3,119,2015, + 8,119,1,120,1,120,1,120,3,120,2020,8,120,1,120,1,120,1,120,1,120, + 1,120,4,120,2027,8,120,11,120,12,120,2028,1,120,1,120,3,120,2033, + 8,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120, + 1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120, + 1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,3,120,2064,8,120, + 1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120, + 1,120,1,120,1,120,1,120,3,120,2081,8,120,1,120,1,120,1,120,1,120, + 1,120,1,120,1,120,1,120,1,120,1,120,3,120,2093,8,120,1,120,1,120, + 1,120,1,120,1,120,1,120,1,120,1,120,3,120,2103,8,120,1,120,3,120, + 2106,8,120,1,120,1,120,3,120,2110,8,120,1,120,3,120,2113,8,120,1, + 120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,3,120, + 2125,8,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120, + 1,120,1,120,1,120,1,120,1,120,1,120,3,120,2142,8,120,1,120,1,120, + 3,120,2146,8,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120, + 1,120,1,120,1,120,1,120,1,120,1,120,1,120,3,120,2163,8,120,1,120, + 3,120,2166,8,120,1,120,1,120,3,120,2170,8,120,1,120,3,120,2173,8, + 120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,3,120, + 2184,8,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120, + 1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120,1,120, + 1,120,1,120,3,120,2208,8,120,1,120,1,120,1,120,1,120,1,120,3,120, + 2215,8,120,5,120,2217,8,120,10,120,12,120,2220,9,120,1,121,1,121, + 1,121,5,121,2225,8,121,10,121,12,121,2228,9,121,1,122,1,122,3,122, + 2232,8,122,1,123,1,123,1,123,1,123,5,123,2238,8,123,10,123,12,123, + 2241,9,123,1,123,1,123,1,123,1,123,1,123,5,123,2248,8,123,10,123, + 12,123,2251,9,123,3,123,2253,8,123,1,123,1,123,1,123,1,124,1,124, + 1,124,3,124,2261,8,124,1,124,1,124,1,124,3,124,2266,8,124,1,125, + 1,125,1,125,1,125,1,125,1,125,1,125,3,125,2275,8,125,1,125,1,125, + 1,125,1,125,3,125,2281,8,125,5,125,2283,8,125,10,125,12,125,2286, + 9,125,1,126,1,126,1,126,3,126,2291,8,126,1,126,1,126,1,127,1,127, + 1,127,3,127,2298,8,127,1,127,1,127,1,128,1,128,1,128,5,128,2305, + 8,128,10,128,12,128,2308,9,128,1,129,1,129,1,129,3,129,2313,8,129, + 1,130,1,130,1,131,1,131,1,131,1,131,1,131,1,131,3,131,2323,8,131, + 3,131,2325,8,131,1,132,3,132,2328,8,132,1,132,1,132,1,132,1,132, + 1,132,1,132,3,132,2336,8,132,1,133,1,133,1,133,3,133,2341,8,133, + 1,134,1,134,1,135,1,135,1,136,1,136,1,137,1,137,3,137,2351,8,137, + 1,138,1,138,1,138,3,138,2356,8,138,1,139,1,139,3,139,2360,8,139, + 1,140,1,140,1,140,1,140,1,140,0,3,188,240,250,141,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,0,42,6,0,3,3,24,24,27,27, + 38,38,104,104,177,177,2,0,15,15,29,29,3,0,3,3,38,38,104,104,2,0, + 41,41,43,43,2,0,44,44,50,50,5,0,33,33,46,46,70,70,162,162,186,186, + 4,0,33,33,46,46,162,162,186,186,4,0,34,34,45,45,163,163,204,204, + 1,0,235,243,1,0,225,228,2,0,40,40,181,181,6,0,1,1,22,22,27,27,50, + 50,109,109,139,139,4,0,1,1,22,22,50,50,103,103,2,0,122,122,147,147, + 2,0,1,1,50,50,2,0,103,103,109,109,2,0,111,111,197,197,2,0,126,126, + 216,216,2,0,162,162,186,186,3,0,14,14,159,159,165,165,2,0,31,31, + 144,144,2,0,84,84,96,96,2,0,71,71,101,101,3,0,4,4,8,8,12,12,4,0, + 4,4,7,8,12,12,150,150,2,0,96,96,143,143,2,0,4,4,8,8,2,0,118,118, + 260,260,2,0,11,11,41,42,2,0,62,62,93,93,2,0,136,136,146,146,2,0, + 68,68,80,80,1,0,156,157,3,0,17,17,95,95,173,173,3,0,256,256,274, + 274,283,283,2,0,261,262,275,275,2,0,79,79,98,98,1,0,251,252,2,0, + 262,262,275,275,8,0,36,36,76,76,108,108,110,110,134,134,148,148, + 189,189,194,194,15,0,2,35,37,53,55,75,77,81,83,107,109,109,111,112, + 114,115,117,126,129,132,136,147,149,174,176,188,190,193,195,248, + 4,0,35,35,62,62,77,77,91,91,2716,0,283,1,0,0,0,2,295,1,0,0,0,4,312, + 1,0,0,0,6,337,1,0,0,0,8,339,1,0,0,0,10,348,1,0,0,0,12,357,1,0,0, + 0,14,368,1,0,0,0,16,596,1,0,0,0,18,598,1,0,0,0,20,606,1,0,0,0,22, + 610,1,0,0,0,24,617,1,0,0,0,26,619,1,0,0,0,28,625,1,0,0,0,30,631, + 1,0,0,0,32,647,1,0,0,0,34,674,1,0,0,0,36,694,1,0,0,0,38,712,1,0, + 0,0,40,742,1,0,0,0,42,769,1,0,0,0,44,798,1,0,0,0,46,800,1,0,0,0, + 48,811,1,0,0,0,50,838,1,0,0,0,52,865,1,0,0,0,54,869,1,0,0,0,56,878, + 1,0,0,0,58,891,1,0,0,0,60,906,1,0,0,0,62,919,1,0,0,0,64,935,1,0, + 0,0,66,940,1,0,0,0,68,946,1,0,0,0,70,949,1,0,0,0,72,952,1,0,0,0, + 74,970,1,0,0,0,76,972,1,0,0,0,78,1002,1,0,0,0,80,1006,1,0,0,0,82, + 1010,1,0,0,0,84,1014,1,0,0,0,86,1023,1,0,0,0,88,1045,1,0,0,0,90, + 1079,1,0,0,0,92,1081,1,0,0,0,94,1084,1,0,0,0,96,1091,1,0,0,0,98, + 1094,1,0,0,0,100,1106,1,0,0,0,102,1114,1,0,0,0,104,1124,1,0,0,0, + 106,1161,1,0,0,0,108,1176,1,0,0,0,110,1199,1,0,0,0,112,1201,1,0, + 0,0,114,1238,1,0,0,0,116,1248,1,0,0,0,118,1250,1,0,0,0,120,1254, + 1,0,0,0,122,1269,1,0,0,0,124,1271,1,0,0,0,126,1275,1,0,0,0,128,1286, + 1,0,0,0,130,1288,1,0,0,0,132,1290,1,0,0,0,134,1384,1,0,0,0,136,1401, + 1,0,0,0,138,1403,1,0,0,0,140,1418,1,0,0,0,142,1438,1,0,0,0,144,1440, + 1,0,0,0,146,1457,1,0,0,0,148,1466,1,0,0,0,150,1481,1,0,0,0,152,1499, + 1,0,0,0,154,1513,1,0,0,0,156,1527,1,0,0,0,158,1530,1,0,0,0,160,1581, + 1,0,0,0,162,1584,1,0,0,0,164,1590,1,0,0,0,166,1594,1,0,0,0,168,1600, + 1,0,0,0,170,1607,1,0,0,0,172,1610,1,0,0,0,174,1613,1,0,0,0,176,1623, + 1,0,0,0,178,1626,1,0,0,0,180,1630,1,0,0,0,182,1634,1,0,0,0,184,1639, + 1,0,0,0,186,1645,1,0,0,0,188,1660,1,0,0,0,190,1725,1,0,0,0,192,1733, + 1,0,0,0,194,1744,1,0,0,0,196,1746,1,0,0,0,198,1752,1,0,0,0,200,1757, + 1,0,0,0,202,1765,1,0,0,0,204,1777,1,0,0,0,206,1782,1,0,0,0,208,1790, + 1,0,0,0,210,1795,1,0,0,0,212,1803,1,0,0,0,214,1807,1,0,0,0,216,1811, + 1,0,0,0,218,1820,1,0,0,0,220,1834,1,0,0,0,222,1836,1,0,0,0,224,1881, + 1,0,0,0,226,1917,1,0,0,0,228,1919,1,0,0,0,230,1934,1,0,0,0,232,1937, + 1,0,0,0,234,1993,1,0,0,0,236,1995,1,0,0,0,238,2014,1,0,0,0,240,2145, + 1,0,0,0,242,2221,1,0,0,0,244,2231,1,0,0,0,246,2252,1,0,0,0,248,2260, + 1,0,0,0,250,2274,1,0,0,0,252,2287,1,0,0,0,254,2297,1,0,0,0,256,2301, + 1,0,0,0,258,2312,1,0,0,0,260,2314,1,0,0,0,262,2324,1,0,0,0,264,2327, + 1,0,0,0,266,2340,1,0,0,0,268,2342,1,0,0,0,270,2344,1,0,0,0,272,2346, + 1,0,0,0,274,2350,1,0,0,0,276,2355,1,0,0,0,278,2359,1,0,0,0,280,2361, + 1,0,0,0,282,284,3,2,1,0,283,282,1,0,0,0,283,284,1,0,0,0,284,285, + 1,0,0,0,285,286,5,0,0,1,286,1,1,0,0,0,287,289,3,4,2,0,288,290,5, + 282,0,0,289,288,1,0,0,0,289,290,1,0,0,0,290,296,1,0,0,0,291,292, + 3,4,2,0,292,293,5,282,0,0,293,294,3,2,1,0,294,296,1,0,0,0,295,287, + 1,0,0,0,295,291,1,0,0,0,296,3,1,0,0,0,297,301,3,6,3,0,298,299,5, + 87,0,0,299,300,5,124,0,0,300,302,5,254,0,0,301,298,1,0,0,0,301,302, + 1,0,0,0,302,305,1,0,0,0,303,304,5,66,0,0,304,306,3,278,139,0,305, + 303,1,0,0,0,305,306,1,0,0,0,306,308,1,0,0,0,307,309,5,282,0,0,308, + 307,1,0,0,0,308,309,1,0,0,0,309,313,1,0,0,0,310,313,3,138,69,0,311, + 313,3,112,56,0,312,297,1,0,0,0,312,310,1,0,0,0,312,311,1,0,0,0,313, + 5,1,0,0,0,314,338,3,14,7,0,315,338,3,26,13,0,316,338,3,28,14,0,317, + 338,3,44,22,0,318,338,3,104,52,0,319,338,3,30,15,0,320,338,3,106, + 53,0,321,338,3,108,54,0,322,338,3,110,55,0,323,338,3,146,73,0,324, + 338,3,148,74,0,325,338,3,150,75,0,326,338,3,154,77,0,327,338,3,222, + 111,0,328,338,3,224,112,0,329,338,3,226,113,0,330,338,3,228,114, + 0,331,338,3,230,115,0,332,338,3,232,116,0,333,335,3,8,4,0,334,333, + 1,0,0,0,334,335,1,0,0,0,335,336,1,0,0,0,336,338,3,158,79,0,337,314, + 1,0,0,0,337,315,1,0,0,0,337,316,1,0,0,0,337,317,1,0,0,0,337,318, + 1,0,0,0,337,319,1,0,0,0,337,320,1,0,0,0,337,321,1,0,0,0,337,322, + 1,0,0,0,337,323,1,0,0,0,337,324,1,0,0,0,337,325,1,0,0,0,337,326, + 1,0,0,0,337,327,1,0,0,0,337,328,1,0,0,0,337,329,1,0,0,0,337,330, + 1,0,0,0,337,331,1,0,0,0,337,332,1,0,0,0,337,334,1,0,0,0,338,7,1, + 0,0,0,339,340,5,193,0,0,340,345,3,10,5,0,341,342,5,260,0,0,342,344, + 3,10,5,0,343,341,1,0,0,0,344,347,1,0,0,0,345,343,1,0,0,0,345,346, + 1,0,0,0,346,9,1,0,0,0,347,345,1,0,0,0,348,350,3,276,138,0,349,351, + 3,12,6,0,350,349,1,0,0,0,350,351,1,0,0,0,351,352,1,0,0,0,352,353, + 5,10,0,0,353,354,5,271,0,0,354,355,3,6,3,0,355,356,5,281,0,0,356, + 11,1,0,0,0,357,358,5,271,0,0,358,363,3,276,138,0,359,360,5,260,0, + 0,360,362,3,276,138,0,361,359,1,0,0,0,362,365,1,0,0,0,363,361,1, + 0,0,0,363,364,1,0,0,0,364,366,1,0,0,0,365,363,1,0,0,0,366,367,5, + 281,0,0,367,13,1,0,0,0,368,369,5,5,0,0,369,370,5,162,0,0,370,372, + 3,254,127,0,371,373,3,66,33,0,372,371,1,0,0,0,372,373,1,0,0,0,373, + 374,1,0,0,0,374,379,3,16,8,0,375,376,5,260,0,0,376,378,3,16,8,0, + 377,375,1,0,0,0,378,381,1,0,0,0,379,377,1,0,0,0,379,380,1,0,0,0, + 380,15,1,0,0,0,381,379,1,0,0,0,382,383,5,1,0,0,383,387,5,26,0,0, + 384,385,5,78,0,0,385,386,5,115,0,0,386,388,5,56,0,0,387,384,1,0, + 0,0,387,388,1,0,0,0,388,389,1,0,0,0,389,392,3,90,45,0,390,391,5, + 2,0,0,391,393,3,248,124,0,392,390,1,0,0,0,392,393,1,0,0,0,393,597, + 1,0,0,0,394,395,5,1,0,0,395,399,5,81,0,0,396,397,5,78,0,0,397,398, + 5,115,0,0,398,400,5,56,0,0,399,396,1,0,0,0,399,400,1,0,0,0,400,401, + 1,0,0,0,401,404,3,94,47,0,402,403,5,2,0,0,403,405,3,248,124,0,404, + 402,1,0,0,0,404,405,1,0,0,0,405,597,1,0,0,0,406,407,5,1,0,0,407, + 411,5,133,0,0,408,409,5,78,0,0,409,410,5,115,0,0,410,412,5,56,0, + 0,411,408,1,0,0,0,411,412,1,0,0,0,412,413,1,0,0,0,413,416,3,96,48, + 0,414,415,5,2,0,0,415,417,3,248,124,0,416,414,1,0,0,0,416,417,1, + 0,0,0,417,597,1,0,0,0,418,419,5,15,0,0,419,422,3,24,12,0,420,421, + 5,68,0,0,421,423,3,254,127,0,422,420,1,0,0,0,422,423,1,0,0,0,423, + 597,1,0,0,0,424,425,5,22,0,0,425,428,5,26,0,0,426,427,5,78,0,0,427, + 429,5,56,0,0,428,426,1,0,0,0,428,429,1,0,0,0,429,430,1,0,0,0,430, + 433,3,248,124,0,431,432,5,80,0,0,432,434,3,24,12,0,433,431,1,0,0, + 0,433,434,1,0,0,0,434,597,1,0,0,0,435,436,5,22,0,0,436,439,5,81, + 0,0,437,438,5,78,0,0,438,440,5,56,0,0,439,437,1,0,0,0,439,440,1, + 0,0,0,440,441,1,0,0,0,441,444,3,248,124,0,442,443,5,80,0,0,443,445, + 3,24,12,0,444,442,1,0,0,0,444,445,1,0,0,0,445,597,1,0,0,0,446,447, + 5,22,0,0,447,450,5,133,0,0,448,449,5,78,0,0,449,451,5,56,0,0,450, + 448,1,0,0,0,450,451,1,0,0,0,451,452,1,0,0,0,452,455,3,248,124,0, + 453,454,5,80,0,0,454,456,3,24,12,0,455,453,1,0,0,0,455,456,1,0,0, + 0,456,597,1,0,0,0,457,458,5,27,0,0,458,461,5,26,0,0,459,460,5,78, + 0,0,460,462,5,56,0,0,461,459,1,0,0,0,461,462,1,0,0,0,462,463,1,0, + 0,0,463,464,3,248,124,0,464,465,5,254,0,0,465,597,1,0,0,0,466,467, + 5,40,0,0,467,468,5,191,0,0,468,597,3,240,120,0,469,470,5,44,0,0, + 470,597,3,24,12,0,471,472,5,50,0,0,472,475,5,26,0,0,473,474,5,78, + 0,0,474,476,5,56,0,0,475,473,1,0,0,0,475,476,1,0,0,0,476,477,1,0, + 0,0,477,597,3,248,124,0,478,479,5,50,0,0,479,482,5,81,0,0,480,481, + 5,78,0,0,481,483,5,56,0,0,482,480,1,0,0,0,482,483,1,0,0,0,483,484, + 1,0,0,0,484,597,3,248,124,0,485,486,5,50,0,0,486,489,5,133,0,0,487, + 488,5,78,0,0,488,490,5,56,0,0,489,487,1,0,0,0,489,490,1,0,0,0,490, + 491,1,0,0,0,491,597,3,248,124,0,492,493,5,50,0,0,493,597,3,24,12, + 0,494,496,5,67,0,0,495,497,3,24,12,0,496,495,1,0,0,0,496,497,1,0, + 0,0,497,597,1,0,0,0,498,499,5,103,0,0,499,502,5,81,0,0,500,501,5, + 78,0,0,501,503,5,56,0,0,502,500,1,0,0,0,502,503,1,0,0,0,503,504, + 1,0,0,0,504,507,3,248,124,0,505,506,5,80,0,0,506,508,3,24,12,0,507, + 505,1,0,0,0,507,508,1,0,0,0,508,597,1,0,0,0,509,510,5,103,0,0,510, + 513,5,133,0,0,511,512,5,78,0,0,512,514,5,56,0,0,513,511,1,0,0,0, + 513,514,1,0,0,0,514,515,1,0,0,0,515,518,3,248,124,0,516,517,5,80, + 0,0,517,519,3,24,12,0,518,516,1,0,0,0,518,519,1,0,0,0,519,597,1, + 0,0,0,520,521,5,109,0,0,521,524,5,26,0,0,522,523,5,78,0,0,523,525, + 5,56,0,0,524,522,1,0,0,0,524,525,1,0,0,0,525,526,1,0,0,0,526,527, + 3,248,124,0,527,528,3,98,49,0,528,597,1,0,0,0,529,530,5,109,0,0, + 530,533,5,26,0,0,531,532,5,78,0,0,532,534,5,56,0,0,533,531,1,0,0, + 0,533,534,1,0,0,0,534,535,1,0,0,0,535,536,3,248,124,0,536,537,5, + 27,0,0,537,538,5,254,0,0,538,597,1,0,0,0,539,540,5,109,0,0,540,543, + 5,26,0,0,541,542,5,78,0,0,542,544,5,56,0,0,543,541,1,0,0,0,543,544, + 1,0,0,0,544,545,1,0,0,0,545,546,3,248,124,0,546,547,5,138,0,0,547, + 548,3,22,11,0,548,597,1,0,0,0,549,550,5,109,0,0,550,553,5,26,0,0, + 551,552,5,78,0,0,552,554,5,56,0,0,553,551,1,0,0,0,553,554,1,0,0, + 0,554,555,1,0,0,0,555,597,3,90,45,0,556,557,5,109,0,0,557,558,5, + 122,0,0,558,559,5,18,0,0,559,597,3,240,120,0,560,561,5,109,0,0,561, + 597,3,84,42,0,562,563,5,111,0,0,563,573,3,24,12,0,564,565,5,170, + 0,0,565,566,5,47,0,0,566,574,5,254,0,0,567,568,5,170,0,0,568,569, + 5,187,0,0,569,574,5,254,0,0,570,571,5,170,0,0,571,572,5,162,0,0, + 572,574,3,254,127,0,573,564,1,0,0,0,573,567,1,0,0,0,573,570,1,0, + 0,0,574,597,1,0,0,0,575,576,5,138,0,0,576,597,5,177,0,0,577,578, + 5,139,0,0,578,581,5,26,0,0,579,580,5,78,0,0,580,582,5,56,0,0,581, + 579,1,0,0,0,581,582,1,0,0,0,582,583,1,0,0,0,583,584,3,248,124,0, + 584,585,5,170,0,0,585,586,3,248,124,0,586,597,1,0,0,0,587,588,5, + 140,0,0,588,589,3,24,12,0,589,590,5,68,0,0,590,591,3,254,127,0,591, + 597,1,0,0,0,592,593,5,181,0,0,593,594,3,18,9,0,594,595,3,172,86, + 0,595,597,1,0,0,0,596,382,1,0,0,0,596,394,1,0,0,0,596,406,1,0,0, + 0,596,418,1,0,0,0,596,424,1,0,0,0,596,435,1,0,0,0,596,446,1,0,0, + 0,596,457,1,0,0,0,596,466,1,0,0,0,596,469,1,0,0,0,596,471,1,0,0, + 0,596,478,1,0,0,0,596,485,1,0,0,0,596,492,1,0,0,0,596,494,1,0,0, + 0,596,498,1,0,0,0,596,509,1,0,0,0,596,520,1,0,0,0,596,529,1,0,0, + 0,596,539,1,0,0,0,596,549,1,0,0,0,596,556,1,0,0,0,596,560,1,0,0, + 0,596,562,1,0,0,0,596,575,1,0,0,0,596,577,1,0,0,0,596,587,1,0,0, + 0,596,592,1,0,0,0,597,17,1,0,0,0,598,603,3,20,10,0,599,600,5,260, + 0,0,600,602,3,20,10,0,601,599,1,0,0,0,602,605,1,0,0,0,603,601,1, + 0,0,0,603,604,1,0,0,0,604,19,1,0,0,0,605,603,1,0,0,0,606,607,3,248, + 124,0,607,608,5,265,0,0,608,609,3,240,120,0,609,21,1,0,0,0,610,611, + 7,0,0,0,611,23,1,0,0,0,612,613,5,126,0,0,613,618,3,240,120,0,614, + 615,5,126,0,0,615,616,5,77,0,0,616,618,5,254,0,0,617,612,1,0,0,0, + 617,614,1,0,0,0,618,25,1,0,0,0,619,620,5,15,0,0,620,621,5,46,0,0, + 621,623,3,254,127,0,622,624,3,66,33,0,623,622,1,0,0,0,623,624,1, + 0,0,0,624,27,1,0,0,0,625,626,5,21,0,0,626,627,5,162,0,0,627,629, + 3,254,127,0,628,630,3,24,12,0,629,628,1,0,0,0,629,630,1,0,0,0,630, + 29,1,0,0,0,631,632,5,40,0,0,632,633,5,68,0,0,633,635,3,254,127,0, + 634,636,3,66,33,0,635,634,1,0,0,0,635,636,1,0,0,0,636,638,1,0,0, + 0,637,639,3,172,86,0,638,637,1,0,0,0,638,639,1,0,0,0,639,31,1,0, + 0,0,640,648,5,15,0,0,641,644,5,29,0,0,642,643,5,121,0,0,643,645, + 5,140,0,0,644,642,1,0,0,0,644,645,1,0,0,0,645,648,1,0,0,0,646,648, + 5,140,0,0,647,640,1,0,0,0,647,641,1,0,0,0,647,646,1,0,0,0,648,650, + 1,0,0,0,649,651,5,164,0,0,650,649,1,0,0,0,650,651,1,0,0,0,651,652, + 1,0,0,0,652,656,5,162,0,0,653,654,5,78,0,0,654,655,5,115,0,0,655, + 657,5,56,0,0,656,653,1,0,0,0,656,657,1,0,0,0,657,658,1,0,0,0,658, + 660,3,254,127,0,659,661,3,68,34,0,660,659,1,0,0,0,660,661,1,0,0, + 0,661,663,1,0,0,0,662,664,3,66,33,0,663,662,1,0,0,0,663,664,1,0, + 0,0,664,666,1,0,0,0,665,667,3,74,37,0,666,665,1,0,0,0,666,667,1, + 0,0,0,667,669,1,0,0,0,668,670,3,76,38,0,669,668,1,0,0,0,669,670, + 1,0,0,0,670,672,1,0,0,0,671,673,3,72,36,0,672,671,1,0,0,0,672,673, + 1,0,0,0,673,33,1,0,0,0,674,675,7,1,0,0,675,679,5,33,0,0,676,677, + 5,78,0,0,677,678,5,115,0,0,678,680,5,56,0,0,679,676,1,0,0,0,679, + 680,1,0,0,0,680,681,1,0,0,0,681,683,3,276,138,0,682,684,3,66,33, + 0,683,682,1,0,0,0,683,684,1,0,0,0,684,685,1,0,0,0,685,686,3,86,43, + 0,686,35,1,0,0,0,687,695,5,15,0,0,688,691,5,29,0,0,689,690,5,121, + 0,0,690,692,5,140,0,0,691,689,1,0,0,0,691,692,1,0,0,0,692,695,1, + 0,0,0,693,695,5,140,0,0,694,687,1,0,0,0,694,688,1,0,0,0,694,693, + 1,0,0,0,695,696,1,0,0,0,696,700,5,46,0,0,697,698,5,78,0,0,698,699, + 5,115,0,0,699,701,5,56,0,0,700,697,1,0,0,0,700,701,1,0,0,0,701,702, + 1,0,0,0,702,704,3,254,127,0,703,705,3,68,34,0,704,703,1,0,0,0,704, + 705,1,0,0,0,705,707,1,0,0,0,706,708,3,66,33,0,707,706,1,0,0,0,707, + 708,1,0,0,0,708,709,1,0,0,0,709,710,3,46,23,0,710,711,3,50,25,0, + 711,37,1,0,0,0,712,713,7,1,0,0,713,714,5,100,0,0,714,718,5,186,0, + 0,715,716,5,78,0,0,716,717,5,115,0,0,717,719,5,56,0,0,718,715,1, + 0,0,0,718,719,1,0,0,0,719,720,1,0,0,0,720,722,3,254,127,0,721,723, + 3,68,34,0,722,721,1,0,0,0,722,723,1,0,0,0,723,725,1,0,0,0,724,726, + 3,66,33,0,725,724,1,0,0,0,725,726,1,0,0,0,726,732,1,0,0,0,727,728, + 5,193,0,0,728,730,5,168,0,0,729,731,5,252,0,0,730,729,1,0,0,0,730, + 731,1,0,0,0,731,733,1,0,0,0,732,727,1,0,0,0,732,733,1,0,0,0,733, + 735,1,0,0,0,734,736,3,70,35,0,735,734,1,0,0,0,735,736,1,0,0,0,736, + 738,1,0,0,0,737,739,3,74,37,0,738,737,1,0,0,0,738,739,1,0,0,0,739, + 740,1,0,0,0,740,741,3,72,36,0,741,39,1,0,0,0,742,743,7,1,0,0,743, + 744,5,104,0,0,744,748,5,186,0,0,745,746,5,78,0,0,746,747,5,115,0, + 0,747,749,5,56,0,0,748,745,1,0,0,0,748,749,1,0,0,0,749,750,1,0,0, + 0,750,752,3,254,127,0,751,753,3,68,34,0,752,751,1,0,0,0,752,753, + 1,0,0,0,753,755,1,0,0,0,754,756,3,66,33,0,755,754,1,0,0,0,755,756, + 1,0,0,0,756,758,1,0,0,0,757,759,3,74,37,0,758,757,1,0,0,0,758,759, + 1,0,0,0,759,765,1,0,0,0,760,766,3,70,35,0,761,763,3,76,38,0,762, + 764,5,129,0,0,763,762,1,0,0,0,763,764,1,0,0,0,764,766,1,0,0,0,765, + 760,1,0,0,0,765,761,1,0,0,0,766,767,1,0,0,0,767,768,3,72,36,0,768, + 41,1,0,0,0,769,772,7,1,0,0,770,771,5,121,0,0,771,773,5,140,0,0,772, + 770,1,0,0,0,772,773,1,0,0,0,773,774,1,0,0,0,774,778,5,186,0,0,775, + 776,5,78,0,0,776,777,5,115,0,0,777,779,5,56,0,0,778,775,1,0,0,0, + 778,779,1,0,0,0,779,780,1,0,0,0,780,782,3,254,127,0,781,783,3,68, + 34,0,782,781,1,0,0,0,782,783,1,0,0,0,783,785,1,0,0,0,784,786,3,66, + 33,0,785,784,1,0,0,0,785,786,1,0,0,0,786,788,1,0,0,0,787,789,3,74, + 37,0,788,787,1,0,0,0,788,789,1,0,0,0,789,790,1,0,0,0,790,791,3,72, + 36,0,791,43,1,0,0,0,792,799,3,34,17,0,793,799,3,36,18,0,794,799, + 3,38,19,0,795,799,3,40,20,0,796,799,3,32,16,0,797,799,3,42,21,0, + 798,792,1,0,0,0,798,793,1,0,0,0,798,794,1,0,0,0,798,795,1,0,0,0, + 798,796,1,0,0,0,798,797,1,0,0,0,799,45,1,0,0,0,800,801,5,271,0,0, + 801,806,3,48,24,0,802,803,5,260,0,0,803,805,3,48,24,0,804,802,1, + 0,0,0,805,808,1,0,0,0,806,804,1,0,0,0,806,807,1,0,0,0,807,809,1, + 0,0,0,808,806,1,0,0,0,809,810,5,281,0,0,810,47,1,0,0,0,811,812,3, + 276,138,0,812,834,3,234,117,0,813,814,4,24,0,1,814,815,5,38,0,0, + 815,816,3,266,133,0,816,817,6,24,-1,0,817,833,1,0,0,0,818,819,4, + 24,1,1,819,820,5,58,0,0,820,821,3,240,120,0,821,822,6,24,-1,0,822, + 833,1,0,0,0,823,824,4,24,2,1,824,825,5,75,0,0,825,833,6,24,-1,0, + 826,827,4,24,3,1,827,828,5,83,0,0,828,833,6,24,-1,0,829,830,4,24, + 4,1,830,831,5,89,0,0,831,833,6,24,-1,0,832,813,1,0,0,0,832,818,1, + 0,0,0,832,823,1,0,0,0,832,826,1,0,0,0,832,829,1,0,0,0,833,836,1, + 0,0,0,834,832,1,0,0,0,834,835,1,0,0,0,835,49,1,0,0,0,836,834,1,0, + 0,0,837,839,3,52,26,0,838,837,1,0,0,0,838,839,1,0,0,0,839,862,1, + 0,0,0,840,841,4,25,5,1,841,842,3,56,28,0,842,843,6,25,-1,0,843,861, + 1,0,0,0,844,845,4,25,6,1,845,846,3,58,29,0,846,847,6,25,-1,0,847, + 861,1,0,0,0,848,849,4,25,7,1,849,850,3,60,30,0,850,851,6,25,-1,0, + 851,861,1,0,0,0,852,853,4,25,8,1,853,854,3,62,31,0,854,855,6,25, + -1,0,855,861,1,0,0,0,856,857,4,25,9,1,857,858,3,64,32,0,858,859, + 6,25,-1,0,859,861,1,0,0,0,860,840,1,0,0,0,860,844,1,0,0,0,860,848, + 1,0,0,0,860,852,1,0,0,0,860,856,1,0,0,0,861,864,1,0,0,0,862,860, + 1,0,0,0,862,863,1,0,0,0,863,51,1,0,0,0,864,862,1,0,0,0,865,866,5, + 132,0,0,866,867,5,91,0,0,867,868,3,236,118,0,868,53,1,0,0,0,869, + 876,3,276,138,0,870,873,3,276,138,0,871,872,5,271,0,0,872,874,5, + 281,0,0,873,871,1,0,0,0,873,874,1,0,0,0,874,877,1,0,0,0,875,877, + 3,266,133,0,876,870,1,0,0,0,876,875,1,0,0,0,877,55,1,0,0,0,878,879, + 5,155,0,0,879,880,5,271,0,0,880,881,3,276,138,0,881,885,5,271,0, + 0,882,884,3,54,27,0,883,882,1,0,0,0,884,887,1,0,0,0,885,883,1,0, + 0,0,885,886,1,0,0,0,886,888,1,0,0,0,887,885,1,0,0,0,888,889,5,281, + 0,0,889,890,5,281,0,0,890,57,1,0,0,0,891,892,5,97,0,0,892,902,5, + 271,0,0,893,903,5,252,0,0,894,895,5,107,0,0,895,896,5,252,0,0,896, + 897,5,105,0,0,897,903,5,252,0,0,898,899,5,105,0,0,899,900,5,252, + 0,0,900,901,5,107,0,0,901,903,5,252,0,0,902,893,1,0,0,0,902,894, + 1,0,0,0,902,898,1,0,0,0,903,904,1,0,0,0,904,905,5,281,0,0,905,59, + 1,0,0,0,906,907,5,94,0,0,907,908,5,271,0,0,908,909,3,276,138,0,909, + 913,5,271,0,0,910,912,3,54,27,0,911,910,1,0,0,0,912,915,1,0,0,0, + 913,911,1,0,0,0,913,914,1,0,0,0,914,916,1,0,0,0,915,913,1,0,0,0, + 916,917,5,281,0,0,917,918,5,281,0,0,918,61,1,0,0,0,919,920,5,136, + 0,0,920,931,5,271,0,0,921,922,5,107,0,0,922,923,3,276,138,0,923, + 924,5,105,0,0,924,925,3,276,138,0,925,932,1,0,0,0,926,927,5,105, + 0,0,927,928,3,276,138,0,928,929,5,107,0,0,929,930,3,276,138,0,930, + 932,1,0,0,0,931,921,1,0,0,0,931,926,1,0,0,0,932,933,1,0,0,0,933, + 934,5,281,0,0,934,63,1,0,0,0,935,936,5,153,0,0,936,937,5,271,0,0, + 937,938,3,206,103,0,938,939,5,281,0,0,939,65,1,0,0,0,940,941,5,119, + 0,0,941,944,5,23,0,0,942,945,3,276,138,0,943,945,5,254,0,0,944,942, + 1,0,0,0,944,943,1,0,0,0,945,67,1,0,0,0,946,947,5,184,0,0,947,948, + 5,254,0,0,948,69,1,0,0,0,949,950,5,170,0,0,950,951,3,254,127,0,951, + 71,1,0,0,0,952,953,5,10,0,0,953,954,3,154,77,0,954,73,1,0,0,0,955, + 956,5,271,0,0,956,961,3,88,44,0,957,958,5,260,0,0,958,960,3,88,44, + 0,959,957,1,0,0,0,960,963,1,0,0,0,961,959,1,0,0,0,961,962,1,0,0, + 0,962,964,1,0,0,0,963,961,1,0,0,0,964,965,5,281,0,0,965,971,1,0, + 0,0,966,967,5,10,0,0,967,971,3,254,127,0,968,969,5,10,0,0,969,971, + 3,252,126,0,970,955,1,0,0,0,970,966,1,0,0,0,970,968,1,0,0,0,971, + 75,1,0,0,0,972,999,3,86,43,0,973,974,4,38,10,1,974,975,3,178,89, + 0,975,976,6,38,-1,0,976,998,1,0,0,0,977,978,4,38,11,1,978,979,3, + 78,39,0,979,980,6,38,-1,0,980,998,1,0,0,0,981,982,4,38,12,1,982, + 983,3,80,40,0,983,984,6,38,-1,0,984,998,1,0,0,0,985,986,4,38,13, + 1,986,987,3,82,41,0,987,988,6,38,-1,0,988,998,1,0,0,0,989,990,4, + 38,14,1,990,991,3,84,42,0,991,992,6,38,-1,0,992,998,1,0,0,0,993, + 994,4,38,15,1,994,995,3,186,93,0,995,996,6,38,-1,0,996,998,1,0,0, + 0,997,973,1,0,0,0,997,977,1,0,0,0,997,981,1,0,0,0,997,985,1,0,0, + 0,997,989,1,0,0,0,997,993,1,0,0,0,998,1001,1,0,0,0,999,997,1,0,0, + 0,999,1000,1,0,0,0,1000,77,1,0,0,0,1001,999,1,0,0,0,1002,1003,5, + 126,0,0,1003,1004,5,18,0,0,1004,1005,3,240,120,0,1005,79,1,0,0,0, + 1006,1007,5,132,0,0,1007,1008,5,91,0,0,1008,1009,3,240,120,0,1009, + 81,1,0,0,0,1010,1011,5,147,0,0,1011,1012,5,18,0,0,1012,1013,3,240, + 120,0,1013,83,1,0,0,0,1014,1015,5,177,0,0,1015,1020,3,102,51,0,1016, + 1017,5,260,0,0,1017,1019,3,102,51,0,1018,1016,1,0,0,0,1019,1022, + 1,0,0,0,1020,1018,1,0,0,0,1020,1021,1,0,0,0,1021,85,1,0,0,0,1022, + 1020,1,0,0,0,1023,1025,5,53,0,0,1024,1026,5,265,0,0,1025,1024,1, + 0,0,0,1025,1026,1,0,0,0,1026,1027,1,0,0,0,1027,1033,3,278,139,0, + 1028,1030,5,271,0,0,1029,1031,3,236,118,0,1030,1029,1,0,0,0,1030, + 1031,1,0,0,0,1031,1032,1,0,0,0,1032,1034,5,281,0,0,1033,1028,1,0, + 0,0,1033,1034,1,0,0,0,1034,87,1,0,0,0,1035,1046,3,90,45,0,1036,1037, + 5,28,0,0,1037,1038,3,276,138,0,1038,1039,5,21,0,0,1039,1040,3,240, + 120,0,1040,1046,1,0,0,0,1041,1042,5,81,0,0,1042,1046,3,94,47,0,1043, + 1044,5,133,0,0,1044,1046,3,96,48,0,1045,1035,1,0,0,0,1045,1036,1, + 0,0,0,1045,1041,1,0,0,0,1045,1043,1,0,0,0,1046,89,1,0,0,0,1047,1048, + 3,248,124,0,1048,1050,3,234,117,0,1049,1051,3,92,46,0,1050,1049, + 1,0,0,0,1050,1051,1,0,0,0,1051,1054,1,0,0,0,1052,1053,5,27,0,0,1053, + 1055,5,254,0,0,1054,1052,1,0,0,0,1054,1055,1,0,0,0,1055,1057,1,0, + 0,0,1056,1058,3,98,49,0,1057,1056,1,0,0,0,1057,1058,1,0,0,0,1058, + 1061,1,0,0,0,1059,1060,5,177,0,0,1060,1062,3,240,120,0,1061,1059, + 1,0,0,0,1061,1062,1,0,0,0,1062,1080,1,0,0,0,1063,1065,3,248,124, + 0,1064,1066,3,234,117,0,1065,1064,1,0,0,0,1065,1066,1,0,0,0,1066, + 1067,1,0,0,0,1067,1070,3,92,46,0,1068,1069,5,27,0,0,1069,1071,5, + 254,0,0,1070,1068,1,0,0,0,1070,1071,1,0,0,0,1071,1073,1,0,0,0,1072, + 1074,3,98,49,0,1073,1072,1,0,0,0,1073,1074,1,0,0,0,1074,1077,1,0, + 0,0,1075,1076,5,177,0,0,1076,1078,3,240,120,0,1077,1075,1,0,0,0, + 1077,1078,1,0,0,0,1078,1080,1,0,0,0,1079,1047,1,0,0,0,1079,1063, + 1,0,0,0,1080,91,1,0,0,0,1081,1082,7,2,0,0,1082,1083,3,240,120,0, + 1083,93,1,0,0,0,1084,1085,3,248,124,0,1085,1086,3,240,120,0,1086, + 1087,5,178,0,0,1087,1088,3,234,117,0,1088,1089,5,72,0,0,1089,1090, + 5,252,0,0,1090,95,1,0,0,0,1091,1092,3,248,124,0,1092,1093,3,152, + 76,0,1093,97,1,0,0,0,1094,1095,5,24,0,0,1095,1096,5,271,0,0,1096, + 1101,3,100,50,0,1097,1098,5,260,0,0,1098,1100,3,100,50,0,1099,1097, + 1,0,0,0,1100,1103,1,0,0,0,1101,1099,1,0,0,0,1101,1102,1,0,0,0,1102, + 1104,1,0,0,0,1103,1101,1,0,0,0,1104,1105,5,281,0,0,1105,99,1,0,0, + 0,1106,1112,3,276,138,0,1107,1109,5,271,0,0,1108,1110,3,236,118, + 0,1109,1108,1,0,0,0,1109,1110,1,0,0,0,1110,1111,1,0,0,0,1111,1113, + 5,281,0,0,1112,1107,1,0,0,0,1112,1113,1,0,0,0,1113,101,1,0,0,0,1114, + 1122,3,240,120,0,1115,1123,5,40,0,0,1116,1117,5,170,0,0,1117,1118, + 5,47,0,0,1118,1123,5,254,0,0,1119,1120,5,170,0,0,1120,1121,5,187, + 0,0,1121,1123,5,254,0,0,1122,1115,1,0,0,0,1122,1116,1,0,0,0,1122, + 1119,1,0,0,0,1122,1123,1,0,0,0,1123,103,1,0,0,0,1124,1126,7,3,0, + 0,1125,1127,5,162,0,0,1126,1125,1,0,0,0,1126,1127,1,0,0,0,1127,1128, + 1,0,0,0,1128,1129,3,250,125,0,1129,105,1,0,0,0,1130,1131,7,4,0,0, + 1131,1134,5,33,0,0,1132,1133,5,78,0,0,1133,1135,5,56,0,0,1134,1132, + 1,0,0,0,1134,1135,1,0,0,0,1135,1136,1,0,0,0,1136,1138,3,260,130, + 0,1137,1139,3,66,33,0,1138,1137,1,0,0,0,1138,1139,1,0,0,0,1139,1162, + 1,0,0,0,1140,1147,7,4,0,0,1141,1148,5,46,0,0,1142,1144,5,164,0,0, + 1143,1142,1,0,0,0,1143,1144,1,0,0,0,1144,1145,1,0,0,0,1145,1148, + 5,162,0,0,1146,1148,5,186,0,0,1147,1141,1,0,0,0,1147,1143,1,0,0, + 0,1147,1146,1,0,0,0,1148,1151,1,0,0,0,1149,1150,5,78,0,0,1150,1152, + 5,56,0,0,1151,1149,1,0,0,0,1151,1152,1,0,0,0,1152,1153,1,0,0,0,1153, + 1155,3,254,127,0,1154,1156,3,66,33,0,1155,1154,1,0,0,0,1155,1156, + 1,0,0,0,1156,1159,1,0,0,0,1157,1158,5,114,0,0,1158,1160,5,39,0,0, + 1159,1157,1,0,0,0,1159,1160,1,0,0,0,1160,1162,1,0,0,0,1161,1130, + 1,0,0,0,1161,1140,1,0,0,0,1162,107,1,0,0,0,1163,1164,5,56,0,0,1164, + 1165,5,33,0,0,1165,1177,3,260,130,0,1166,1173,5,56,0,0,1167,1174, + 5,46,0,0,1168,1170,5,164,0,0,1169,1168,1,0,0,0,1169,1170,1,0,0,0, + 1170,1171,1,0,0,0,1171,1174,5,162,0,0,1172,1174,5,186,0,0,1173,1167, + 1,0,0,0,1173,1169,1,0,0,0,1173,1172,1,0,0,0,1173,1174,1,0,0,0,1174, + 1175,1,0,0,0,1175,1177,3,254,127,0,1176,1163,1,0,0,0,1176,1166,1, + 0,0,0,1177,109,1,0,0,0,1178,1179,5,57,0,0,1179,1200,3,6,3,0,1180, + 1181,5,57,0,0,1181,1182,5,13,0,0,1182,1200,3,6,3,0,1183,1184,5,57, + 0,0,1184,1185,5,160,0,0,1185,1200,3,6,3,0,1186,1187,5,57,0,0,1187, + 1188,5,127,0,0,1188,1200,3,6,3,0,1189,1190,5,57,0,0,1190,1191,5, + 128,0,0,1191,1200,3,6,3,0,1192,1193,5,57,0,0,1193,1194,5,135,0,0, + 1194,1195,5,175,0,0,1195,1200,3,6,3,0,1196,1197,5,57,0,0,1197,1198, + 5,54,0,0,1198,1200,3,6,3,0,1199,1178,1,0,0,0,1199,1180,1,0,0,0,1199, + 1183,1,0,0,0,1199,1186,1,0,0,0,1199,1189,1,0,0,0,1199,1192,1,0,0, + 0,1199,1196,1,0,0,0,1200,111,1,0,0,0,1201,1203,5,195,0,0,1202,1204, + 3,66,33,0,1203,1202,1,0,0,0,1203,1204,1,0,0,0,1204,1205,1,0,0,0, + 1205,1210,3,136,68,0,1206,1207,5,260,0,0,1207,1209,3,136,68,0,1208, + 1206,1,0,0,0,1209,1212,1,0,0,0,1210,1208,1,0,0,0,1210,1211,1,0,0, + 0,1211,1213,1,0,0,0,1212,1210,1,0,0,0,1213,1224,5,119,0,0,1214,1225, + 3,260,130,0,1215,1225,3,254,127,0,1216,1217,5,256,0,0,1217,1219, + 5,263,0,0,1218,1216,1,0,0,0,1218,1219,1,0,0,0,1219,1222,1,0,0,0, + 1220,1223,5,256,0,0,1221,1223,3,276,138,0,1222,1220,1,0,0,0,1222, + 1221,1,0,0,0,1223,1225,1,0,0,0,1224,1214,1,0,0,0,1224,1215,1,0,0, + 0,1224,1218,1,0,0,0,1225,1226,1,0,0,0,1226,1227,5,170,0,0,1227,1231, + 3,114,57,0,1228,1229,5,193,0,0,1229,1230,5,195,0,0,1230,1232,5,245, + 0,0,1231,1228,1,0,0,0,1231,1232,1,0,0,0,1232,1236,1,0,0,0,1233,1234, + 5,193,0,0,1234,1235,5,140,0,0,1235,1237,5,245,0,0,1236,1233,1,0, + 0,0,1236,1237,1,0,0,0,1237,113,1,0,0,0,1238,1243,3,116,58,0,1239, + 1240,5,260,0,0,1240,1242,3,116,58,0,1241,1239,1,0,0,0,1242,1245, + 1,0,0,0,1243,1241,1,0,0,0,1243,1244,1,0,0,0,1244,115,1,0,0,0,1245, + 1243,1,0,0,0,1246,1249,5,205,0,0,1247,1249,3,276,138,0,1248,1246, + 1,0,0,0,1248,1247,1,0,0,0,1249,117,1,0,0,0,1250,1252,5,149,0,0,1251, + 1253,3,140,70,0,1252,1251,1,0,0,0,1252,1253,1,0,0,0,1253,119,1,0, + 0,0,1254,1256,5,85,0,0,1255,1257,3,140,70,0,1256,1255,1,0,0,0,1256, + 1257,1,0,0,0,1257,121,1,0,0,0,1258,1260,5,29,0,0,1259,1261,7,5,0, + 0,1260,1259,1,0,0,0,1260,1261,1,0,0,0,1261,1270,1,0,0,0,1262,1266, + 5,29,0,0,1263,1264,5,203,0,0,1264,1267,5,164,0,0,1265,1267,5,164, + 0,0,1266,1263,1,0,0,0,1266,1265,1,0,0,0,1266,1267,1,0,0,0,1267,1268, + 1,0,0,0,1268,1270,5,162,0,0,1269,1258,1,0,0,0,1269,1262,1,0,0,0, + 1270,123,1,0,0,0,1271,1273,5,50,0,0,1272,1274,7,6,0,0,1273,1272, + 1,0,0,0,1273,1274,1,0,0,0,1274,125,1,0,0,0,1275,1277,5,154,0,0,1276, + 1278,7,7,0,0,1277,1276,1,0,0,0,1277,1278,1,0,0,0,1278,127,1,0,0, + 0,1279,1281,5,231,0,0,1280,1282,5,220,0,0,1281,1280,1,0,0,0,1281, + 1282,1,0,0,0,1282,1287,1,0,0,0,1283,1287,5,232,0,0,1284,1287,5,233, + 0,0,1285,1287,5,234,0,0,1286,1279,1,0,0,0,1286,1283,1,0,0,0,1286, + 1284,1,0,0,0,1286,1285,1,0,0,0,1287,129,1,0,0,0,1288,1289,7,8,0, + 0,1289,131,1,0,0,0,1290,1291,7,9,0,0,1291,133,1,0,0,0,1292,1294, + 5,5,0,0,1293,1295,7,10,0,0,1294,1293,1,0,0,0,1294,1295,1,0,0,0,1295, + 1297,1,0,0,0,1296,1298,3,140,70,0,1297,1296,1,0,0,0,1297,1298,1, + 0,0,0,1298,1385,1,0,0,0,1299,1301,7,10,0,0,1300,1302,3,140,70,0, + 1301,1300,1,0,0,0,1301,1302,1,0,0,0,1302,1385,1,0,0,0,1303,1304, + 5,5,0,0,1304,1385,5,162,0,0,1305,1307,5,5,0,0,1306,1308,7,11,0,0, + 1307,1306,1,0,0,0,1307,1308,1,0,0,0,1308,1309,1,0,0,0,1309,1311, + 5,26,0,0,1310,1312,3,140,70,0,1311,1310,1,0,0,0,1311,1312,1,0,0, + 0,1312,1385,1,0,0,0,1313,1314,7,11,0,0,1314,1316,5,26,0,0,1315,1317, + 3,140,70,0,1316,1315,1,0,0,0,1316,1317,1,0,0,0,1317,1385,1,0,0,0, + 1318,1320,5,5,0,0,1319,1321,7,12,0,0,1320,1319,1,0,0,0,1320,1321, + 1,0,0,0,1321,1322,1,0,0,0,1322,1385,5,81,0,0,1323,1325,7,12,0,0, + 1324,1323,1,0,0,0,1324,1325,1,0,0,0,1325,1326,1,0,0,0,1326,1385, + 5,81,0,0,1327,1329,5,5,0,0,1328,1330,5,109,0,0,1329,1328,1,0,0,0, + 1329,1330,1,0,0,0,1330,1331,1,0,0,0,1331,1332,7,13,0,0,1332,1385, + 5,18,0,0,1333,1334,5,109,0,0,1334,1335,7,13,0,0,1335,1385,5,18,0, + 0,1336,1338,5,5,0,0,1337,1336,1,0,0,0,1337,1338,1,0,0,0,1338,1340, + 1,0,0,0,1339,1341,7,14,0,0,1340,1339,1,0,0,0,1340,1341,1,0,0,0,1341, + 1342,1,0,0,0,1342,1385,5,28,0,0,1343,1345,5,5,0,0,1344,1346,7,15, + 0,0,1345,1344,1,0,0,0,1345,1346,1,0,0,0,1346,1347,1,0,0,0,1347,1385, + 5,177,0,0,1348,1349,7,15,0,0,1349,1385,5,177,0,0,1350,1351,5,5,0, + 0,1351,1385,5,153,0,0,1352,1357,5,5,0,0,1353,1354,5,5,0,0,1354,1357, + 5,109,0,0,1355,1357,5,109,0,0,1356,1352,1,0,0,0,1356,1353,1,0,0, + 0,1356,1355,1,0,0,0,1357,1358,1,0,0,0,1358,1385,5,244,0,0,1359,1361, + 5,5,0,0,1360,1359,1,0,0,0,1360,1361,1,0,0,0,1361,1362,1,0,0,0,1362, + 1363,7,16,0,0,1363,1385,7,17,0,0,1364,1366,5,5,0,0,1365,1364,1,0, + 0,0,1365,1366,1,0,0,0,1366,1367,1,0,0,0,1367,1368,5,67,0,0,1368, + 1385,5,126,0,0,1369,1370,5,5,0,0,1370,1372,5,186,0,0,1371,1373,5, + 198,0,0,1372,1371,1,0,0,0,1372,1373,1,0,0,0,1373,1385,1,0,0,0,1374, + 1375,5,5,0,0,1375,1376,5,100,0,0,1376,1377,5,186,0,0,1377,1385,5, + 198,0,0,1378,1379,5,198,0,0,1379,1385,5,186,0,0,1380,1381,5,5,0, + 0,1381,1382,7,18,0,0,1382,1383,5,109,0,0,1383,1385,5,135,0,0,1384, + 1292,1,0,0,0,1384,1299,1,0,0,0,1384,1303,1,0,0,0,1384,1305,1,0,0, + 0,1384,1313,1,0,0,0,1384,1318,1,0,0,0,1384,1324,1,0,0,0,1384,1327, + 1,0,0,0,1384,1333,1,0,0,0,1384,1337,1,0,0,0,1384,1343,1,0,0,0,1384, + 1348,1,0,0,0,1384,1350,1,0,0,0,1384,1356,1,0,0,0,1384,1360,1,0,0, + 0,1384,1365,1,0,0,0,1384,1369,1,0,0,0,1384,1374,1,0,0,0,1384,1378, + 1,0,0,0,1384,1380,1,0,0,0,1385,135,1,0,0,0,1386,1402,3,118,59,0, + 1387,1402,3,120,60,0,1388,1402,3,122,61,0,1389,1402,3,124,62,0,1390, + 1402,5,176,0,0,1391,1392,5,92,0,0,1392,1402,5,135,0,0,1393,1402, + 5,120,0,0,1394,1402,3,126,63,0,1395,1402,3,128,64,0,1396,1402,3, + 130,65,0,1397,1402,3,132,66,0,1398,1402,3,134,67,0,1399,1402,5,4, + 0,0,1400,1402,5,246,0,0,1401,1386,1,0,0,0,1401,1387,1,0,0,0,1401, + 1388,1,0,0,0,1401,1389,1,0,0,0,1401,1390,1,0,0,0,1401,1391,1,0,0, + 0,1401,1393,1,0,0,0,1401,1394,1,0,0,0,1401,1395,1,0,0,0,1401,1396, + 1,0,0,0,1401,1397,1,0,0,0,1401,1398,1,0,0,0,1401,1399,1,0,0,0,1401, + 1400,1,0,0,0,1402,137,1,0,0,0,1403,1404,5,85,0,0,1404,1406,5,87, + 0,0,1405,1407,5,162,0,0,1406,1405,1,0,0,0,1406,1407,1,0,0,0,1407, + 1411,1,0,0,0,1408,1412,3,254,127,0,1409,1410,5,70,0,0,1410,1412, + 3,252,126,0,1411,1408,1,0,0,0,1411,1409,1,0,0,0,1412,1414,1,0,0, + 0,1413,1415,3,140,70,0,1414,1413,1,0,0,0,1414,1415,1,0,0,0,1415, + 1416,1,0,0,0,1416,1417,3,142,71,0,1417,139,1,0,0,0,1418,1419,5,271, + 0,0,1419,1424,3,248,124,0,1420,1421,5,260,0,0,1421,1423,3,248,124, + 0,1422,1420,1,0,0,0,1423,1426,1,0,0,0,1424,1422,1,0,0,0,1424,1425, + 1,0,0,0,1425,1427,1,0,0,0,1426,1424,1,0,0,0,1427,1428,5,281,0,0, + 1428,141,1,0,0,0,1429,1430,5,66,0,0,1430,1439,3,276,138,0,1431,1439, + 3,144,72,0,1432,1434,3,154,77,0,1433,1435,5,282,0,0,1434,1433,1, + 0,0,0,1434,1435,1,0,0,0,1435,1436,1,0,0,0,1436,1437,5,0,0,1,1437, + 1439,1,0,0,0,1438,1429,1,0,0,0,1438,1431,1,0,0,0,1438,1432,1,0,0, + 0,1439,143,1,0,0,0,1440,1441,5,185,0,0,1441,1443,5,271,0,0,1442, + 1444,3,266,133,0,1443,1442,1,0,0,0,1443,1444,1,0,0,0,1444,1445,1, + 0,0,0,1445,1454,5,281,0,0,1446,1447,5,260,0,0,1447,1449,5,271,0, + 0,1448,1450,3,266,133,0,1449,1448,1,0,0,0,1449,1450,1,0,0,0,1450, + 1451,1,0,0,0,1451,1453,5,281,0,0,1452,1446,1,0,0,0,1453,1456,1,0, + 0,0,1454,1452,1,0,0,0,1454,1455,1,0,0,0,1455,145,1,0,0,0,1456,1454, + 1,0,0,0,1457,1458,5,92,0,0,1458,1460,5,112,0,0,1459,1461,3,66,33, + 0,1460,1459,1,0,0,0,1460,1461,1,0,0,0,1461,1462,1,0,0,0,1462,1464, + 3,172,86,0,1463,1465,7,19,0,0,1464,1463,1,0,0,0,1464,1465,1,0,0, + 0,1465,147,1,0,0,0,1466,1467,5,120,0,0,1467,1468,5,162,0,0,1468, + 1470,3,254,127,0,1469,1471,3,66,33,0,1470,1469,1,0,0,0,1470,1471, + 1,0,0,0,1471,1473,1,0,0,0,1472,1474,3,24,12,0,1473,1472,1,0,0,0, + 1473,1474,1,0,0,0,1474,1476,1,0,0,0,1475,1477,5,61,0,0,1476,1475, + 1,0,0,0,1476,1477,1,0,0,0,1477,1479,1,0,0,0,1478,1480,5,37,0,0,1479, + 1478,1,0,0,0,1479,1480,1,0,0,0,1480,149,1,0,0,0,1481,1482,5,139, + 0,0,1482,1483,5,162,0,0,1483,1484,3,254,127,0,1484,1485,5,170,0, + 0,1485,1493,3,254,127,0,1486,1487,5,260,0,0,1487,1488,3,254,127, + 0,1488,1489,5,170,0,0,1489,1490,3,254,127,0,1490,1492,1,0,0,0,1491, + 1486,1,0,0,0,1492,1495,1,0,0,0,1493,1491,1,0,0,0,1493,1494,1,0,0, + 0,1494,1497,1,0,0,0,1495,1493,1,0,0,0,1496,1498,3,66,33,0,1497,1496, + 1,0,0,0,1497,1498,1,0,0,0,1498,151,1,0,0,0,1499,1501,5,271,0,0,1500, + 1502,3,160,80,0,1501,1500,1,0,0,0,1501,1502,1,0,0,0,1502,1503,1, + 0,0,0,1503,1504,5,149,0,0,1504,1506,3,236,118,0,1505,1507,3,174, + 87,0,1506,1505,1,0,0,0,1506,1507,1,0,0,0,1507,1509,1,0,0,0,1508, + 1510,3,180,90,0,1509,1508,1,0,0,0,1509,1510,1,0,0,0,1510,1511,1, + 0,0,0,1511,1512,5,281,0,0,1512,153,1,0,0,0,1513,1519,3,156,78,0, + 1514,1515,5,180,0,0,1515,1516,5,4,0,0,1516,1518,3,156,78,0,1517, + 1514,1,0,0,0,1518,1521,1,0,0,0,1519,1517,1,0,0,0,1519,1520,1,0,0, + 0,1520,155,1,0,0,0,1521,1519,1,0,0,0,1522,1528,3,158,79,0,1523,1524, + 5,271,0,0,1524,1525,3,154,77,0,1525,1526,5,281,0,0,1526,1528,1,0, + 0,0,1527,1522,1,0,0,0,1527,1523,1,0,0,0,1528,157,1,0,0,0,1529,1531, + 3,160,80,0,1530,1529,1,0,0,0,1530,1531,1,0,0,0,1531,1532,1,0,0,0, + 1532,1534,5,149,0,0,1533,1535,5,48,0,0,1534,1533,1,0,0,0,1534,1535, + 1,0,0,0,1535,1537,1,0,0,0,1536,1538,3,162,81,0,1537,1536,1,0,0,0, + 1537,1538,1,0,0,0,1538,1539,1,0,0,0,1539,1541,3,236,118,0,1540,1542, + 3,164,82,0,1541,1540,1,0,0,0,1541,1542,1,0,0,0,1542,1544,1,0,0,0, + 1543,1545,3,166,83,0,1544,1543,1,0,0,0,1544,1545,1,0,0,0,1545,1547, + 1,0,0,0,1546,1548,3,168,84,0,1547,1546,1,0,0,0,1547,1548,1,0,0,0, + 1548,1550,1,0,0,0,1549,1551,3,170,85,0,1550,1549,1,0,0,0,1550,1551, + 1,0,0,0,1551,1553,1,0,0,0,1552,1554,3,172,86,0,1553,1552,1,0,0,0, + 1553,1554,1,0,0,0,1554,1556,1,0,0,0,1555,1557,3,174,87,0,1556,1555, + 1,0,0,0,1556,1557,1,0,0,0,1557,1560,1,0,0,0,1558,1559,5,193,0,0, + 1559,1561,7,20,0,0,1560,1558,1,0,0,0,1560,1561,1,0,0,0,1561,1564, + 1,0,0,0,1562,1563,5,193,0,0,1563,1565,5,172,0,0,1564,1562,1,0,0, + 0,1564,1565,1,0,0,0,1565,1567,1,0,0,0,1566,1568,3,176,88,0,1567, + 1566,1,0,0,0,1567,1568,1,0,0,0,1568,1570,1,0,0,0,1569,1571,3,178, + 89,0,1570,1569,1,0,0,0,1570,1571,1,0,0,0,1571,1573,1,0,0,0,1572, + 1574,3,182,91,0,1573,1572,1,0,0,0,1573,1574,1,0,0,0,1574,1576,1, + 0,0,0,1575,1577,3,184,92,0,1576,1575,1,0,0,0,1576,1577,1,0,0,0,1577, + 1579,1,0,0,0,1578,1580,3,186,93,0,1579,1578,1,0,0,0,1579,1580,1, + 0,0,0,1580,159,1,0,0,0,1581,1582,5,193,0,0,1582,1583,3,236,118,0, + 1583,161,1,0,0,0,1584,1585,5,171,0,0,1585,1588,5,252,0,0,1586,1587, + 5,193,0,0,1587,1589,5,167,0,0,1588,1586,1,0,0,0,1588,1589,1,0,0, + 0,1589,163,1,0,0,0,1590,1591,5,68,0,0,1591,1592,3,188,94,0,1592, + 165,1,0,0,0,1593,1595,7,21,0,0,1594,1593,1,0,0,0,1594,1595,1,0,0, + 0,1595,1596,1,0,0,0,1596,1597,5,9,0,0,1597,1598,5,90,0,0,1598,1599, + 3,236,118,0,1599,167,1,0,0,0,1600,1601,5,192,0,0,1601,1602,3,276, + 138,0,1602,1603,5,10,0,0,1603,1604,5,271,0,0,1604,1605,3,210,105, + 0,1605,1606,5,281,0,0,1606,169,1,0,0,0,1607,1608,5,131,0,0,1608, + 1609,3,240,120,0,1609,171,1,0,0,0,1610,1611,5,191,0,0,1611,1612, + 3,240,120,0,1612,173,1,0,0,0,1613,1614,5,73,0,0,1614,1621,5,18,0, + 0,1615,1616,7,20,0,0,1616,1617,5,271,0,0,1617,1618,3,236,118,0,1618, + 1619,5,281,0,0,1619,1622,1,0,0,0,1620,1622,3,236,118,0,1621,1615, + 1,0,0,0,1621,1620,1,0,0,0,1622,175,1,0,0,0,1623,1624,5,74,0,0,1624, + 1625,3,240,120,0,1625,177,1,0,0,0,1626,1627,5,122,0,0,1627,1628, + 5,18,0,0,1628,1629,3,200,100,0,1629,179,1,0,0,0,1630,1631,5,122, + 0,0,1631,1632,5,18,0,0,1632,1633,3,236,118,0,1633,181,1,0,0,0,1634, + 1635,5,99,0,0,1635,1636,3,198,99,0,1636,1637,5,18,0,0,1637,1638, + 3,236,118,0,1638,183,1,0,0,0,1639,1640,5,99,0,0,1640,1643,3,198, + 99,0,1641,1642,5,193,0,0,1642,1644,5,167,0,0,1643,1641,1,0,0,0,1643, + 1644,1,0,0,0,1644,185,1,0,0,0,1645,1646,5,153,0,0,1646,1647,3,206, + 103,0,1647,187,1,0,0,0,1648,1649,6,94,-1,0,1649,1651,3,250,125,0, + 1650,1652,5,61,0,0,1651,1650,1,0,0,0,1651,1652,1,0,0,0,1652,1654, + 1,0,0,0,1653,1655,3,196,98,0,1654,1653,1,0,0,0,1654,1655,1,0,0,0, + 1655,1661,1,0,0,0,1656,1657,5,271,0,0,1657,1658,3,188,94,0,1658, + 1659,5,281,0,0,1659,1661,1,0,0,0,1660,1648,1,0,0,0,1660,1656,1,0, + 0,0,1661,1679,1,0,0,0,1662,1663,10,3,0,0,1663,1664,3,192,96,0,1664, + 1665,3,188,94,4,1665,1678,1,0,0,0,1666,1668,10,4,0,0,1667,1669,7, + 22,0,0,1668,1667,1,0,0,0,1668,1669,1,0,0,0,1669,1671,1,0,0,0,1670, + 1672,3,190,95,0,1671,1670,1,0,0,0,1671,1672,1,0,0,0,1672,1673,1, + 0,0,0,1673,1674,5,90,0,0,1674,1675,3,188,94,0,1675,1676,3,194,97, + 0,1676,1678,1,0,0,0,1677,1662,1,0,0,0,1677,1666,1,0,0,0,1678,1681, + 1,0,0,0,1679,1677,1,0,0,0,1679,1680,1,0,0,0,1680,189,1,0,0,0,1681, + 1679,1,0,0,0,1682,1684,7,23,0,0,1683,1682,1,0,0,0,1683,1684,1,0, + 0,0,1684,1685,1,0,0,0,1685,1692,5,84,0,0,1686,1688,5,84,0,0,1687, + 1689,7,23,0,0,1688,1687,1,0,0,0,1688,1689,1,0,0,0,1689,1692,1,0, + 0,0,1690,1692,7,23,0,0,1691,1683,1,0,0,0,1691,1686,1,0,0,0,1691, + 1690,1,0,0,0,1692,1726,1,0,0,0,1693,1695,7,24,0,0,1694,1693,1,0, + 0,0,1694,1695,1,0,0,0,1695,1696,1,0,0,0,1696,1698,7,25,0,0,1697, + 1699,5,123,0,0,1698,1697,1,0,0,0,1698,1699,1,0,0,0,1699,1708,1,0, + 0,0,1700,1702,7,25,0,0,1701,1703,5,123,0,0,1702,1701,1,0,0,0,1702, + 1703,1,0,0,0,1703,1705,1,0,0,0,1704,1706,7,24,0,0,1705,1704,1,0, + 0,0,1705,1706,1,0,0,0,1706,1708,1,0,0,0,1707,1694,1,0,0,0,1707,1700, + 1,0,0,0,1708,1726,1,0,0,0,1709,1711,7,26,0,0,1710,1709,1,0,0,0,1710, + 1711,1,0,0,0,1711,1712,1,0,0,0,1712,1714,5,69,0,0,1713,1715,5,123, + 0,0,1714,1713,1,0,0,0,1714,1715,1,0,0,0,1715,1724,1,0,0,0,1716,1718, + 5,69,0,0,1717,1719,5,123,0,0,1718,1717,1,0,0,0,1718,1719,1,0,0,0, + 1719,1721,1,0,0,0,1720,1722,7,26,0,0,1721,1720,1,0,0,0,1721,1722, + 1,0,0,0,1722,1724,1,0,0,0,1723,1710,1,0,0,0,1723,1716,1,0,0,0,1724, + 1726,1,0,0,0,1725,1691,1,0,0,0,1725,1707,1,0,0,0,1725,1723,1,0,0, + 0,1726,191,1,0,0,0,1727,1729,7,22,0,0,1728,1727,1,0,0,0,1728,1729, + 1,0,0,0,1729,1730,1,0,0,0,1730,1731,5,30,0,0,1731,1734,5,90,0,0, + 1732,1734,5,260,0,0,1733,1728,1,0,0,0,1733,1732,1,0,0,0,1734,193, + 1,0,0,0,1735,1736,5,119,0,0,1736,1745,3,236,118,0,1737,1738,5,183, + 0,0,1738,1739,5,271,0,0,1739,1740,3,236,118,0,1740,1741,5,281,0, + 0,1741,1745,1,0,0,0,1742,1743,5,183,0,0,1743,1745,3,236,118,0,1744, + 1735,1,0,0,0,1744,1737,1,0,0,0,1744,1742,1,0,0,0,1745,195,1,0,0, + 0,1746,1747,5,147,0,0,1747,1750,3,204,102,0,1748,1749,5,118,0,0, + 1749,1751,3,204,102,0,1750,1748,1,0,0,0,1750,1751,1,0,0,0,1751,197, + 1,0,0,0,1752,1755,3,240,120,0,1753,1754,7,27,0,0,1754,1756,3,240, + 120,0,1755,1753,1,0,0,0,1755,1756,1,0,0,0,1756,199,1,0,0,0,1757, + 1762,3,202,101,0,1758,1759,5,260,0,0,1759,1761,3,202,101,0,1760, + 1758,1,0,0,0,1761,1764,1,0,0,0,1762,1760,1,0,0,0,1762,1763,1,0,0, + 0,1763,201,1,0,0,0,1764,1762,1,0,0,0,1765,1767,3,240,120,0,1766, + 1768,7,28,0,0,1767,1766,1,0,0,0,1767,1768,1,0,0,0,1768,1771,1,0, + 0,0,1769,1770,5,117,0,0,1770,1772,7,29,0,0,1771,1769,1,0,0,0,1771, + 1772,1,0,0,0,1772,1775,1,0,0,0,1773,1774,5,25,0,0,1774,1776,5,254, + 0,0,1775,1773,1,0,0,0,1775,1776,1,0,0,0,1776,203,1,0,0,0,1777,1780, + 3,264,132,0,1778,1779,5,283,0,0,1779,1781,3,264,132,0,1780,1778, + 1,0,0,0,1780,1781,1,0,0,0,1781,205,1,0,0,0,1782,1787,3,208,104,0, + 1783,1784,5,260,0,0,1784,1786,3,208,104,0,1785,1783,1,0,0,0,1786, + 1789,1,0,0,0,1787,1785,1,0,0,0,1787,1788,1,0,0,0,1788,207,1,0,0, + 0,1789,1787,1,0,0,0,1790,1791,3,276,138,0,1791,1792,5,265,0,0,1792, + 1793,3,266,133,0,1793,209,1,0,0,0,1794,1796,3,212,106,0,1795,1794, + 1,0,0,0,1795,1796,1,0,0,0,1796,1798,1,0,0,0,1797,1799,3,214,107, + 0,1798,1797,1,0,0,0,1798,1799,1,0,0,0,1799,1801,1,0,0,0,1800,1802, + 3,216,108,0,1801,1800,1,0,0,0,1801,1802,1,0,0,0,1802,211,1,0,0,0, + 1803,1804,5,126,0,0,1804,1805,5,18,0,0,1805,1806,3,236,118,0,1806, + 213,1,0,0,0,1807,1808,5,122,0,0,1808,1809,5,18,0,0,1809,1810,3,200, + 100,0,1810,215,1,0,0,0,1811,1812,7,30,0,0,1812,1813,3,218,109,0, + 1813,217,1,0,0,0,1814,1821,3,220,110,0,1815,1816,5,16,0,0,1816,1817, + 3,220,110,0,1817,1818,5,6,0,0,1818,1819,3,220,110,0,1819,1821,1, + 0,0,0,1820,1814,1,0,0,0,1820,1815,1,0,0,0,1821,219,1,0,0,0,1822, + 1823,5,32,0,0,1823,1835,5,145,0,0,1824,1825,5,179,0,0,1825,1835, + 5,130,0,0,1826,1827,5,179,0,0,1827,1835,5,64,0,0,1828,1829,3,264, + 132,0,1829,1830,5,130,0,0,1830,1835,1,0,0,0,1831,1832,3,264,132, + 0,1832,1833,5,64,0,0,1833,1835,1,0,0,0,1834,1822,1,0,0,0,1834,1824, + 1,0,0,0,1834,1826,1,0,0,0,1834,1828,1,0,0,0,1834,1831,1,0,0,0,1835, + 221,1,0,0,0,1836,1837,5,152,0,0,1837,1838,3,206,103,0,1838,223,1, + 0,0,0,1839,1840,5,154,0,0,1840,1841,5,29,0,0,1841,1842,5,33,0,0, + 1842,1882,3,260,130,0,1843,1844,5,154,0,0,1844,1845,5,29,0,0,1845, + 1846,5,46,0,0,1846,1882,3,254,127,0,1847,1848,5,154,0,0,1848,1850, + 5,29,0,0,1849,1851,5,164,0,0,1850,1849,1,0,0,0,1850,1851,1,0,0,0, + 1851,1853,1,0,0,0,1852,1854,5,162,0,0,1853,1852,1,0,0,0,1853,1854, + 1,0,0,0,1854,1855,1,0,0,0,1855,1882,3,254,127,0,1856,1857,5,154, + 0,0,1857,1882,5,34,0,0,1858,1859,5,154,0,0,1859,1862,5,45,0,0,1860, + 1861,5,68,0,0,1861,1863,3,260,130,0,1862,1860,1,0,0,0,1862,1863, + 1,0,0,0,1863,1882,1,0,0,0,1864,1866,5,154,0,0,1865,1867,5,164,0, + 0,1866,1865,1,0,0,0,1866,1867,1,0,0,0,1867,1868,1,0,0,0,1868,1871, + 5,163,0,0,1869,1870,7,31,0,0,1870,1872,3,260,130,0,1871,1869,1,0, + 0,0,1871,1872,1,0,0,0,1872,1876,1,0,0,0,1873,1874,5,98,0,0,1874, + 1877,5,254,0,0,1875,1877,3,172,86,0,1876,1873,1,0,0,0,1876,1875, + 1,0,0,0,1876,1877,1,0,0,0,1877,1879,1,0,0,0,1878,1880,3,184,92,0, + 1879,1878,1,0,0,0,1879,1880,1,0,0,0,1880,1882,1,0,0,0,1881,1839, + 1,0,0,0,1881,1843,1,0,0,0,1881,1847,1,0,0,0,1881,1856,1,0,0,0,1881, + 1858,1,0,0,0,1881,1864,1,0,0,0,1882,225,1,0,0,0,1883,1884,5,161, + 0,0,1884,1885,5,63,0,0,1885,1886,5,49,0,0,1886,1918,3,254,127,0, + 1887,1888,5,161,0,0,1888,1889,5,63,0,0,1889,1918,5,102,0,0,1890, + 1891,5,161,0,0,1891,1892,5,137,0,0,1892,1918,5,45,0,0,1893,1894, + 5,161,0,0,1894,1895,5,137,0,0,1895,1896,5,46,0,0,1896,1918,3,254, + 127,0,1897,1898,5,161,0,0,1898,1906,7,32,0,0,1899,1900,5,49,0,0, + 1900,1907,5,151,0,0,1901,1907,5,60,0,0,1902,1904,5,177,0,0,1903, + 1902,1,0,0,0,1903,1904,1,0,0,0,1904,1905,1,0,0,0,1905,1907,5,106, + 0,0,1906,1899,1,0,0,0,1906,1901,1,0,0,0,1906,1903,1,0,0,0,1907,1908, + 1,0,0,0,1908,1918,3,254,127,0,1909,1910,5,161,0,0,1910,1911,7,32, + 0,0,1911,1912,5,142,0,0,1912,1918,5,151,0,0,1913,1914,5,161,0,0, + 1914,1915,5,159,0,0,1915,1916,5,141,0,0,1916,1918,3,254,127,0,1917, + 1883,1,0,0,0,1917,1887,1,0,0,0,1917,1890,1,0,0,0,1917,1893,1,0,0, + 0,1917,1897,1,0,0,0,1917,1909,1,0,0,0,1917,1913,1,0,0,0,1918,227, + 1,0,0,0,1919,1921,5,176,0,0,1920,1922,5,164,0,0,1921,1920,1,0,0, + 0,1921,1922,1,0,0,0,1922,1924,1,0,0,0,1923,1925,5,162,0,0,1924,1923, + 1,0,0,0,1924,1925,1,0,0,0,1925,1928,1,0,0,0,1926,1927,5,78,0,0,1927, + 1929,5,56,0,0,1928,1926,1,0,0,0,1928,1929,1,0,0,0,1929,1930,1,0, + 0,0,1930,1932,3,254,127,0,1931,1933,3,66,33,0,1932,1931,1,0,0,0, + 1932,1933,1,0,0,0,1933,229,1,0,0,0,1934,1935,5,182,0,0,1935,1936, + 3,260,130,0,1936,231,1,0,0,0,1937,1938,5,188,0,0,1938,1940,3,254, + 127,0,1939,1941,5,55,0,0,1940,1939,1,0,0,0,1940,1941,1,0,0,0,1941, + 1944,1,0,0,0,1942,1943,5,99,0,0,1943,1945,5,252,0,0,1944,1942,1, + 0,0,0,1944,1945,1,0,0,0,1945,233,1,0,0,0,1946,1994,3,276,138,0,1947, + 1948,3,276,138,0,1948,1949,5,271,0,0,1949,1950,3,276,138,0,1950, + 1957,3,234,117,0,1951,1952,5,260,0,0,1952,1953,3,276,138,0,1953, + 1954,3,234,117,0,1954,1956,1,0,0,0,1955,1951,1,0,0,0,1956,1959,1, + 0,0,0,1957,1955,1,0,0,0,1957,1958,1,0,0,0,1958,1960,1,0,0,0,1959, + 1957,1,0,0,0,1960,1961,5,281,0,0,1961,1994,1,0,0,0,1962,1963,3,276, + 138,0,1963,1964,5,271,0,0,1964,1969,3,280,140,0,1965,1966,5,260, + 0,0,1966,1968,3,280,140,0,1967,1965,1,0,0,0,1968,1971,1,0,0,0,1969, + 1967,1,0,0,0,1969,1970,1,0,0,0,1970,1972,1,0,0,0,1971,1969,1,0,0, + 0,1972,1973,5,281,0,0,1973,1994,1,0,0,0,1974,1975,3,276,138,0,1975, + 1976,5,271,0,0,1976,1981,3,234,117,0,1977,1978,5,260,0,0,1978,1980, + 3,234,117,0,1979,1977,1,0,0,0,1980,1983,1,0,0,0,1981,1979,1,0,0, + 0,1981,1982,1,0,0,0,1982,1984,1,0,0,0,1983,1981,1,0,0,0,1984,1985, + 5,281,0,0,1985,1994,1,0,0,0,1986,1987,3,276,138,0,1987,1989,5,271, + 0,0,1988,1990,3,236,118,0,1989,1988,1,0,0,0,1989,1990,1,0,0,0,1990, + 1991,1,0,0,0,1991,1992,5,281,0,0,1992,1994,1,0,0,0,1993,1946,1,0, + 0,0,1993,1947,1,0,0,0,1993,1962,1,0,0,0,1993,1974,1,0,0,0,1993,1986, + 1,0,0,0,1994,235,1,0,0,0,1995,2000,3,238,119,0,1996,1997,5,260,0, + 0,1997,1999,3,238,119,0,1998,1996,1,0,0,0,1999,2002,1,0,0,0,2000, + 1998,1,0,0,0,2000,2001,1,0,0,0,2001,237,1,0,0,0,2002,2000,1,0,0, + 0,2003,2004,3,254,127,0,2004,2005,5,263,0,0,2005,2007,1,0,0,0,2006, + 2003,1,0,0,0,2006,2007,1,0,0,0,2007,2008,1,0,0,0,2008,2015,5,256, + 0,0,2009,2010,5,271,0,0,2010,2011,3,154,77,0,2011,2012,5,281,0,0, + 2012,2015,1,0,0,0,2013,2015,3,240,120,0,2014,2006,1,0,0,0,2014,2009, + 1,0,0,0,2014,2013,1,0,0,0,2015,239,1,0,0,0,2016,2017,6,120,-1,0, + 2017,2019,5,19,0,0,2018,2020,3,240,120,0,2019,2018,1,0,0,0,2019, + 2020,1,0,0,0,2020,2026,1,0,0,0,2021,2022,5,190,0,0,2022,2023,3,240, + 120,0,2023,2024,5,166,0,0,2024,2025,3,240,120,0,2025,2027,1,0,0, + 0,2026,2021,1,0,0,0,2027,2028,1,0,0,0,2028,2026,1,0,0,0,2028,2029, + 1,0,0,0,2029,2032,1,0,0,0,2030,2031,5,51,0,0,2031,2033,3,240,120, + 0,2032,2030,1,0,0,0,2032,2033,1,0,0,0,2033,2034,1,0,0,0,2034,2035, + 5,52,0,0,2035,2146,1,0,0,0,2036,2037,5,20,0,0,2037,2038,5,271,0, + 0,2038,2039,3,240,120,0,2039,2040,5,10,0,0,2040,2041,3,234,117,0, + 2041,2042,5,281,0,0,2042,2146,1,0,0,0,2043,2044,5,35,0,0,2044,2146, + 5,254,0,0,2045,2046,5,59,0,0,2046,2047,5,271,0,0,2047,2048,3,268, + 134,0,2048,2049,5,68,0,0,2049,2050,3,240,120,0,2050,2051,5,281,0, + 0,2051,2146,1,0,0,0,2052,2053,5,86,0,0,2053,2054,3,240,120,0,2054, + 2055,3,268,134,0,2055,2146,1,0,0,0,2056,2057,5,158,0,0,2057,2058, + 5,271,0,0,2058,2059,3,240,120,0,2059,2060,5,68,0,0,2060,2063,3,240, + 120,0,2061,2062,5,65,0,0,2062,2064,3,240,120,0,2063,2061,1,0,0,0, + 2063,2064,1,0,0,0,2064,2065,1,0,0,0,2065,2066,5,281,0,0,2066,2146, + 1,0,0,0,2067,2068,5,169,0,0,2068,2146,5,254,0,0,2069,2070,5,174, + 0,0,2070,2071,5,271,0,0,2071,2072,7,33,0,0,2072,2073,5,254,0,0,2073, + 2074,5,68,0,0,2074,2075,3,240,120,0,2075,2076,5,281,0,0,2076,2146, + 1,0,0,0,2077,2078,3,276,138,0,2078,2080,5,271,0,0,2079,2081,3,236, + 118,0,2080,2079,1,0,0,0,2080,2081,1,0,0,0,2081,2082,1,0,0,0,2082, + 2083,5,281,0,0,2083,2084,1,0,0,0,2084,2085,5,125,0,0,2085,2086,5, + 271,0,0,2086,2087,3,210,105,0,2087,2088,5,281,0,0,2088,2146,1,0, + 0,0,2089,2090,3,276,138,0,2090,2092,5,271,0,0,2091,2093,3,236,118, + 0,2092,2091,1,0,0,0,2092,2093,1,0,0,0,2093,2094,1,0,0,0,2094,2095, + 5,281,0,0,2095,2096,1,0,0,0,2096,2097,5,125,0,0,2097,2098,3,276, + 138,0,2098,2146,1,0,0,0,2099,2105,3,276,138,0,2100,2102,5,271,0, + 0,2101,2103,3,236,118,0,2102,2101,1,0,0,0,2102,2103,1,0,0,0,2103, + 2104,1,0,0,0,2104,2106,5,281,0,0,2105,2100,1,0,0,0,2105,2106,1,0, + 0,0,2106,2107,1,0,0,0,2107,2109,5,271,0,0,2108,2110,5,48,0,0,2109, + 2108,1,0,0,0,2109,2110,1,0,0,0,2110,2112,1,0,0,0,2111,2113,3,242, + 121,0,2112,2111,1,0,0,0,2112,2113,1,0,0,0,2113,2114,1,0,0,0,2114, + 2115,5,281,0,0,2115,2146,1,0,0,0,2116,2146,3,266,133,0,2117,2118, + 5,262,0,0,2118,2146,3,240,120,17,2119,2120,5,115,0,0,2120,2146,3, + 240,120,12,2121,2122,3,254,127,0,2122,2123,5,263,0,0,2123,2125,1, + 0,0,0,2124,2121,1,0,0,0,2124,2125,1,0,0,0,2125,2126,1,0,0,0,2126, + 2146,5,256,0,0,2127,2128,5,271,0,0,2128,2129,3,154,77,0,2129,2130, + 5,281,0,0,2130,2146,1,0,0,0,2131,2132,5,271,0,0,2132,2133,3,240, + 120,0,2133,2134,5,281,0,0,2134,2146,1,0,0,0,2135,2136,5,271,0,0, + 2136,2137,3,236,118,0,2137,2138,5,281,0,0,2138,2146,1,0,0,0,2139, + 2141,5,269,0,0,2140,2142,3,236,118,0,2141,2140,1,0,0,0,2141,2142, + 1,0,0,0,2142,2143,1,0,0,0,2143,2146,5,280,0,0,2144,2146,3,248,124, + 0,2145,2016,1,0,0,0,2145,2036,1,0,0,0,2145,2043,1,0,0,0,2145,2045, + 1,0,0,0,2145,2052,1,0,0,0,2145,2056,1,0,0,0,2145,2067,1,0,0,0,2145, + 2069,1,0,0,0,2145,2077,1,0,0,0,2145,2089,1,0,0,0,2145,2099,1,0,0, + 0,2145,2116,1,0,0,0,2145,2117,1,0,0,0,2145,2119,1,0,0,0,2145,2124, + 1,0,0,0,2145,2127,1,0,0,0,2145,2131,1,0,0,0,2145,2135,1,0,0,0,2145, + 2139,1,0,0,0,2145,2144,1,0,0,0,2146,2218,1,0,0,0,2147,2148,10,16, + 0,0,2148,2149,7,34,0,0,2149,2217,3,240,120,17,2150,2151,10,15,0, + 0,2151,2152,7,35,0,0,2152,2217,3,240,120,16,2153,2172,10,14,0,0, + 2154,2173,5,264,0,0,2155,2173,5,265,0,0,2156,2173,5,273,0,0,2157, + 2173,5,270,0,0,2158,2173,5,266,0,0,2159,2173,5,272,0,0,2160,2173, + 5,267,0,0,2161,2163,5,71,0,0,2162,2161,1,0,0,0,2162,2163,1,0,0,0, + 2163,2165,1,0,0,0,2164,2166,5,115,0,0,2165,2164,1,0,0,0,2165,2166, + 1,0,0,0,2166,2167,1,0,0,0,2167,2173,5,80,0,0,2168,2170,5,115,0,0, + 2169,2168,1,0,0,0,2169,2170,1,0,0,0,2170,2171,1,0,0,0,2171,2173, + 7,36,0,0,2172,2154,1,0,0,0,2172,2155,1,0,0,0,2172,2156,1,0,0,0,2172, + 2157,1,0,0,0,2172,2158,1,0,0,0,2172,2159,1,0,0,0,2172,2160,1,0,0, + 0,2172,2162,1,0,0,0,2172,2169,1,0,0,0,2173,2174,1,0,0,0,2174,2217, + 3,240,120,15,2175,2176,10,11,0,0,2176,2177,5,6,0,0,2177,2217,3,240, + 120,12,2178,2179,10,10,0,0,2179,2180,5,121,0,0,2180,2217,3,240,120, + 11,2181,2183,10,9,0,0,2182,2184,5,115,0,0,2183,2182,1,0,0,0,2183, + 2184,1,0,0,0,2184,2185,1,0,0,0,2185,2186,5,16,0,0,2186,2187,3,240, + 120,0,2187,2188,5,6,0,0,2188,2189,3,240,120,10,2189,2217,1,0,0,0, + 2190,2191,10,8,0,0,2191,2192,5,276,0,0,2192,2193,3,240,120,0,2193, + 2194,5,259,0,0,2194,2195,3,240,120,8,2195,2217,1,0,0,0,2196,2197, + 10,19,0,0,2197,2198,5,269,0,0,2198,2199,3,240,120,0,2199,2200,5, + 280,0,0,2200,2217,1,0,0,0,2201,2202,10,18,0,0,2202,2203,5,263,0, + 0,2203,2217,5,252,0,0,2204,2205,10,13,0,0,2205,2207,5,88,0,0,2206, + 2208,5,115,0,0,2207,2206,1,0,0,0,2207,2208,1,0,0,0,2208,2209,1,0, + 0,0,2209,2217,5,116,0,0,2210,2214,10,7,0,0,2211,2215,3,274,137,0, + 2212,2213,5,10,0,0,2213,2215,3,276,138,0,2214,2211,1,0,0,0,2214, + 2212,1,0,0,0,2215,2217,1,0,0,0,2216,2147,1,0,0,0,2216,2150,1,0,0, + 0,2216,2153,1,0,0,0,2216,2175,1,0,0,0,2216,2178,1,0,0,0,2216,2181, + 1,0,0,0,2216,2190,1,0,0,0,2216,2196,1,0,0,0,2216,2201,1,0,0,0,2216, + 2204,1,0,0,0,2216,2210,1,0,0,0,2217,2220,1,0,0,0,2218,2216,1,0,0, + 0,2218,2219,1,0,0,0,2219,241,1,0,0,0,2220,2218,1,0,0,0,2221,2226, + 3,244,122,0,2222,2223,5,260,0,0,2223,2225,3,244,122,0,2224,2222, + 1,0,0,0,2225,2228,1,0,0,0,2226,2224,1,0,0,0,2226,2227,1,0,0,0,2227, + 243,1,0,0,0,2228,2226,1,0,0,0,2229,2232,3,246,123,0,2230,2232,3, + 240,120,0,2231,2229,1,0,0,0,2231,2230,1,0,0,0,2232,245,1,0,0,0,2233, + 2234,5,271,0,0,2234,2239,3,276,138,0,2235,2236,5,260,0,0,2236,2238, + 3,276,138,0,2237,2235,1,0,0,0,2238,2241,1,0,0,0,2239,2237,1,0,0, + 0,2239,2240,1,0,0,0,2240,2242,1,0,0,0,2241,2239,1,0,0,0,2242,2243, + 5,281,0,0,2243,2253,1,0,0,0,2244,2249,3,276,138,0,2245,2246,5,260, + 0,0,2246,2248,3,276,138,0,2247,2245,1,0,0,0,2248,2251,1,0,0,0,2249, + 2247,1,0,0,0,2249,2250,1,0,0,0,2250,2253,1,0,0,0,2251,2249,1,0,0, + 0,2252,2233,1,0,0,0,2252,2244,1,0,0,0,2253,2254,1,0,0,0,2254,2255, + 5,255,0,0,2255,2256,3,240,120,0,2256,247,1,0,0,0,2257,2258,3,254, + 127,0,2258,2259,5,263,0,0,2259,2261,1,0,0,0,2260,2257,1,0,0,0,2260, + 2261,1,0,0,0,2261,2262,1,0,0,0,2262,2265,3,276,138,0,2263,2264,5, + 263,0,0,2264,2266,3,276,138,0,2265,2263,1,0,0,0,2265,2266,1,0,0, + 0,2266,249,1,0,0,0,2267,2268,6,125,-1,0,2268,2275,3,254,127,0,2269, + 2275,3,252,126,0,2270,2271,5,271,0,0,2271,2272,3,154,77,0,2272,2273, + 5,281,0,0,2273,2275,1,0,0,0,2274,2267,1,0,0,0,2274,2269,1,0,0,0, + 2274,2270,1,0,0,0,2275,2284,1,0,0,0,2276,2280,10,1,0,0,2277,2281, + 3,274,137,0,2278,2279,5,10,0,0,2279,2281,3,276,138,0,2280,2277,1, + 0,0,0,2280,2278,1,0,0,0,2281,2283,1,0,0,0,2282,2276,1,0,0,0,2283, + 2286,1,0,0,0,2284,2282,1,0,0,0,2284,2285,1,0,0,0,2285,251,1,0,0, + 0,2286,2284,1,0,0,0,2287,2288,3,276,138,0,2288,2290,5,271,0,0,2289, + 2291,3,256,128,0,2290,2289,1,0,0,0,2290,2291,1,0,0,0,2291,2292,1, + 0,0,0,2292,2293,5,281,0,0,2293,253,1,0,0,0,2294,2295,3,260,130,0, + 2295,2296,5,263,0,0,2296,2298,1,0,0,0,2297,2294,1,0,0,0,2297,2298, + 1,0,0,0,2298,2299,1,0,0,0,2299,2300,3,276,138,0,2300,255,1,0,0,0, + 2301,2306,3,258,129,0,2302,2303,5,260,0,0,2303,2305,3,258,129,0, + 2304,2302,1,0,0,0,2305,2308,1,0,0,0,2306,2304,1,0,0,0,2306,2307, + 1,0,0,0,2307,257,1,0,0,0,2308,2306,1,0,0,0,2309,2313,3,248,124,0, + 2310,2313,3,252,126,0,2311,2313,3,266,133,0,2312,2309,1,0,0,0,2312, + 2310,1,0,0,0,2312,2311,1,0,0,0,2313,259,1,0,0,0,2314,2315,3,276, + 138,0,2315,261,1,0,0,0,2316,2325,5,250,0,0,2317,2318,5,263,0,0,2318, + 2325,7,37,0,0,2319,2320,5,252,0,0,2320,2322,5,263,0,0,2321,2323, + 7,37,0,0,2322,2321,1,0,0,0,2322,2323,1,0,0,0,2323,2325,1,0,0,0,2324, + 2316,1,0,0,0,2324,2317,1,0,0,0,2324,2319,1,0,0,0,2325,263,1,0,0, + 0,2326,2328,7,38,0,0,2327,2326,1,0,0,0,2327,2328,1,0,0,0,2328,2335, + 1,0,0,0,2329,2336,3,262,131,0,2330,2336,5,251,0,0,2331,2336,5,252, + 0,0,2332,2336,5,253,0,0,2333,2336,5,82,0,0,2334,2336,5,113,0,0,2335, + 2329,1,0,0,0,2335,2330,1,0,0,0,2335,2331,1,0,0,0,2335,2332,1,0,0, + 0,2335,2333,1,0,0,0,2335,2334,1,0,0,0,2336,265,1,0,0,0,2337,2341, + 3,264,132,0,2338,2341,5,254,0,0,2339,2341,5,116,0,0,2340,2337,1, + 0,0,0,2340,2338,1,0,0,0,2340,2339,1,0,0,0,2341,267,1,0,0,0,2342, + 2343,7,39,0,0,2343,269,1,0,0,0,2344,2345,7,40,0,0,2345,271,1,0,0, + 0,2346,2347,7,41,0,0,2347,273,1,0,0,0,2348,2351,5,249,0,0,2349,2351, + 3,272,136,0,2350,2348,1,0,0,0,2350,2349,1,0,0,0,2351,275,1,0,0,0, + 2352,2356,5,249,0,0,2353,2356,3,268,134,0,2354,2356,3,270,135,0, + 2355,2352,1,0,0,0,2355,2353,1,0,0,0,2355,2354,1,0,0,0,2356,277,1, + 0,0,0,2357,2360,3,276,138,0,2358,2360,5,116,0,0,2359,2357,1,0,0, + 0,2359,2358,1,0,0,0,2360,279,1,0,0,0,2361,2362,5,254,0,0,2362,2363, + 5,265,0,0,2363,2364,3,264,132,0,2364,281,1,0,0,0,316,283,289,295, + 301,305,308,312,334,337,345,350,363,372,379,387,392,399,404,411, + 416,422,428,433,439,444,450,455,461,475,482,489,496,502,507,513, + 518,524,533,543,553,573,581,596,603,617,623,629,635,638,644,647, + 650,656,660,663,666,669,672,679,683,691,694,700,704,707,718,722, + 725,730,732,735,738,748,752,755,758,763,765,772,778,782,785,788, + 798,806,832,834,838,860,862,873,876,885,902,913,931,944,961,970, + 997,999,1020,1025,1030,1033,1045,1050,1054,1057,1061,1065,1070,1073, + 1077,1079,1101,1109,1112,1122,1126,1134,1138,1143,1147,1151,1155, + 1159,1161,1169,1173,1176,1199,1203,1210,1218,1222,1224,1231,1236, + 1243,1248,1252,1256,1260,1266,1269,1273,1277,1281,1286,1294,1297, + 1301,1307,1311,1316,1320,1324,1329,1337,1340,1345,1356,1360,1365, + 1372,1384,1401,1406,1411,1414,1424,1434,1438,1443,1449,1454,1460, + 1464,1470,1473,1476,1479,1493,1497,1501,1506,1509,1519,1527,1530, + 1534,1537,1541,1544,1547,1550,1553,1556,1560,1564,1567,1570,1573, + 1576,1579,1588,1594,1621,1643,1651,1654,1660,1668,1671,1677,1679, + 1683,1688,1691,1694,1698,1702,1705,1707,1710,1714,1718,1721,1723, + 1725,1728,1733,1744,1750,1755,1762,1767,1771,1775,1780,1787,1795, + 1798,1801,1820,1834,1850,1853,1862,1866,1871,1876,1879,1881,1903, + 1906,1917,1921,1924,1928,1932,1940,1944,1957,1969,1981,1989,1993, + 2000,2006,2014,2019,2028,2032,2063,2080,2092,2102,2105,2109,2112, + 2124,2141,2145,2162,2165,2169,2172,2183,2207,2214,2216,2218,2226, + 2231,2239,2249,2252,2260,2265,2274,2280,2284,2290,2297,2306,2312, + 2322,2324,2327,2335,2340,2350,2355,2359 + ]; + + private static __ATN: antlr.ATN; + public static get _ATN(): antlr.ATN { + if (!ClickHouseParser.__ATN) { + ClickHouseParser.__ATN = new antlr.ATNDeserializer().deserialize(ClickHouseParser._serializedATN); + } + + return ClickHouseParser.__ATN; + } + + + private static readonly vocabulary = new antlr.Vocabulary(ClickHouseParser.literalNames, ClickHouseParser.symbolicNames, []); + + public override get vocabulary(): antlr.Vocabulary { + return ClickHouseParser.vocabulary; + } + + private static readonly decisionsToDFA = ClickHouseParser._ATN.decisionToState.map( (ds: antlr.DecisionState, index: number) => new antlr.DFA(ds, index) ); +} + +export class RootContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public EOF(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.EOF, 0)!; + } + public statements(): StatementsContext | null { + return this.getRuleContext(0, StatementsContext); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_root; + } + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitRoot) { + return visitor.visitRoot(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class StatementsContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public statement(): StatementContext { + return this.getRuleContext(0, StatementContext)!; + } + public SEMICOLON(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.SEMICOLON, 0); + } + public statements(): StatementsContext | null { + return this.getRuleContext(0, StatementsContext); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_statements; + } + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitStatements) { + return visitor.visitStatements(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class StatementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public notInsertStatement(): NotInsertStatementContext | null { + return this.getRuleContext(0, NotInsertStatementContext); + } + public INTO(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.INTO, 0); + } + public OUTFILE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.OUTFILE, 0); + } + public STRING_LITERAL(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.STRING_LITERAL, 0); + } + public FORMAT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.FORMAT, 0); + } + public identifierOrNull(): IdentifierOrNullContext | null { + return this.getRuleContext(0, IdentifierOrNullContext); + } + public SEMICOLON(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.SEMICOLON, 0); + } + public insertStatement(): InsertStatementContext | null { + return this.getRuleContext(0, InsertStatementContext); + } + public grantStatement(): GrantStatementContext | null { + return this.getRuleContext(0, GrantStatementContext); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_statement; + } + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitStatement) { + return visitor.visitStatement(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class NotInsertStatementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public alterStatement(): AlterStatementContext | null { + return this.getRuleContext(0, AlterStatementContext); + } + public attachStatement(): AttachStatementContext | null { + return this.getRuleContext(0, AttachStatementContext); + } + public checkStatement(): CheckStatementContext | null { + return this.getRuleContext(0, CheckStatementContext); + } + public createStatement(): CreateStatementContext | null { + return this.getRuleContext(0, CreateStatementContext); + } + public describeStatement(): DescribeStatementContext | null { + return this.getRuleContext(0, DescribeStatementContext); + } + public deleteStatement(): DeleteStatementContext | null { + return this.getRuleContext(0, DeleteStatementContext); + } + public dropStatement(): DropStatementContext | null { + return this.getRuleContext(0, DropStatementContext); + } + public existsStatement(): ExistsStatementContext | null { + return this.getRuleContext(0, ExistsStatementContext); + } + public explainStatement(): ExplainStatementContext | null { + return this.getRuleContext(0, ExplainStatementContext); + } + public killStatement(): KillStatementContext | null { + return this.getRuleContext(0, KillStatementContext); + } + public optimizeStatement(): OptimizeStatementContext | null { + return this.getRuleContext(0, OptimizeStatementContext); + } + public renameStatement(): RenameStatementContext | null { + return this.getRuleContext(0, RenameStatementContext); + } + public selectUnionStatement(): SelectUnionStatementContext | null { + return this.getRuleContext(0, SelectUnionStatementContext); + } + public setStatement(): SetStatementContext | null { + return this.getRuleContext(0, SetStatementContext); + } + public showStatement(): ShowStatementContext | null { + return this.getRuleContext(0, ShowStatementContext); + } + public systemStatement(): SystemStatementContext | null { + return this.getRuleContext(0, SystemStatementContext); + } + public truncateStatement(): TruncateStatementContext | null { + return this.getRuleContext(0, TruncateStatementContext); + } + public useStatement(): UseStatementContext | null { + return this.getRuleContext(0, UseStatementContext); + } + public watchStatement(): WatchStatementContext | null { + return this.getRuleContext(0, WatchStatementContext); + } + public selectStatement(): SelectStatementContext | null { + return this.getRuleContext(0, SelectStatementContext); + } + public commonTableExpressionStatement(): CommonTableExpressionStatementContext | null { + return this.getRuleContext(0, CommonTableExpressionStatementContext); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_notInsertStatement; + } + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitNotInsertStatement) { + return visitor.visitNotInsertStatement(this); + } else { + return visitor.visitChildren(this); } - finally { - this.exitRule(); + } +} + + +export class CommonTableExpressionStatementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public WITH(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.WITH, 0)!; + } + public namedQuery(): NamedQueryContext[]; + public namedQuery(i: number): NamedQueryContext | null; + public namedQuery(i?: number): NamedQueryContext[] | NamedQueryContext | null { + if (i === undefined) { + return this.getRuleContexts(NamedQueryContext); } - return localContext; + + return this.getRuleContext(i, NamedQueryContext); + } + public COMMA(): antlr.TerminalNode[]; + public COMMA(i: number): antlr.TerminalNode | null; + public COMMA(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.COMMA); + } else { + return this.getToken(ClickHouseParser.COMMA, i); + } + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_commonTableExpressionStatement; + } + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitCommonTableExpressionStatement) { + return visitor.visitCommonTableExpressionStatement(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class NamedQueryContext extends antlr.ParserRuleContext { + public _name?: IdentifierContext; + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public AS(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.AS, 0)!; + } + public LPAREN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.LPAREN, 0)!; + } + public notInsertStatement(): NotInsertStatementContext { + return this.getRuleContext(0, NotInsertStatementContext)!; + } + public RPAREN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.RPAREN, 0)!; + } + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; + } + public columnAliases(): ColumnAliasesContext | null { + return this.getRuleContext(0, ColumnAliasesContext); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_namedQuery; + } + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitNamedQuery) { + return visitor.visitNamedQuery(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class ColumnAliasesContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public LPAREN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.LPAREN, 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 RPAREN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.RPAREN, 0)!; + } + public COMMA(): antlr.TerminalNode[]; + public COMMA(i: number): antlr.TerminalNode | null; + public COMMA(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.COMMA); + } else { + return this.getToken(ClickHouseParser.COMMA, i); + } + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_columnAliases; + } + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitColumnAliases) { + return visitor.visitColumnAliases(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class AlterStatementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_alterStatement; + } + public override copyFrom(ctx: AlterStatementContext): void { + super.copyFrom(ctx); + } +} +export class AlterTableStatementContext extends AlterStatementContext { + public constructor(ctx: AlterStatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public ALTER(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.ALTER, 0)!; + } + public TABLE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.TABLE, 0)!; } - public enumValue(): EnumValueContext { - let localContext = new EnumValueContext(this.context, this.state); - this.enterRule(localContext, 254, ClickHouseParser.RULE_enumValue); - try { - this.enterOuterAlt(localContext, 1); - { - this.state = 2132; - this.match(ClickHouseParser.STRING_LITERAL); - this.state = 2133; - this.match(ClickHouseParser.EQ_SINGLE); - this.state = 2134; - this.numberLiteral(); - } - } - catch (re) { - if (re instanceof antlr.RecognitionException) { - this.errorHandler.reportError(this, re); - this.errorHandler.recover(this, re); - } else { - throw re; - } + public tableIdentifier(): TableIdentifierContext { + return this.getRuleContext(0, TableIdentifierContext)!; + } + public alterTableClause(): AlterTableClauseContext[]; + public alterTableClause(i: number): AlterTableClauseContext | null; + public alterTableClause(i?: number): AlterTableClauseContext[] | AlterTableClauseContext | null { + if (i === undefined) { + return this.getRuleContexts(AlterTableClauseContext); } - finally { - this.exitRule(); + + return this.getRuleContext(i, AlterTableClauseContext); + } + public clusterClause(): ClusterClauseContext | null { + return this.getRuleContext(0, ClusterClauseContext); + } + public COMMA(): antlr.TerminalNode[]; + public COMMA(i: number): antlr.TerminalNode | null; + public COMMA(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.COMMA); + } else { + return this.getToken(ClickHouseParser.COMMA, i); + } + } + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitAlterTableStatement) { + return visitor.visitAlterTableStatement(this); + } else { + return visitor.visitChildren(this); } - return localContext; } +} - public override sempred(localContext: antlr.ParserRuleContext | null, ruleIndex: number, predIndex: number): boolean { - switch (ruleIndex) { - case 24: - return this.dictionaryAttributeDefinition_sempred(localContext as DictionaryAttributeDefinitionContext, predIndex); - case 25: - return this.dictionaryEngineClause_sempred(localContext as DictionaryEngineClauseContext, predIndex); - case 38: - return this.engineClause_sempred(localContext as EngineClauseContext, predIndex); - case 81: - return this.joinExpression_sempred(localContext as JoinExpressionContext, predIndex); - case 107: - return this.columnExpression_sempred(localContext as ColumnExpressionContext, predIndex); - case 112: - return this.tableExpression_sempred(localContext as TableExpressionContext, predIndex); - } - return true; + +export class AlterTableClauseContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - private dictionaryAttributeDefinition_sempred(localContext: DictionaryAttributeDefinitionContext | null, predIndex: number): boolean { - switch (predIndex) { - case 0: - return !localContext.attrs.has("default"); - case 1: - return !localContext.attrs.has("expression"); - case 2: - return !localContext.attrs.has("hierarchical"); - case 3: - return !localContext.attrs.has("injective"); - case 4: - return !localContext.attrs.has("is_object_id"); - } - return true; + public override get ruleIndex(): number { + return ClickHouseParser.RULE_alterTableClause; } - private dictionaryEngineClause_sempred(localContext: DictionaryEngineClauseContext | null, predIndex: number): boolean { - switch (predIndex) { - case 5: - return !localContext.clauses.has("source"); - case 6: - return !localContext.clauses.has("lifetime"); - case 7: - return !localContext.clauses.has("layout"); - case 8: - return !localContext.clauses.has("range"); - case 9: - return !localContext.clauses.has("settings"); - } - return true; + public override copyFrom(ctx: AlterTableClauseContext): void { + super.copyFrom(ctx); } - private engineClause_sempred(localContext: EngineClauseContext | null, predIndex: number): boolean { - switch (predIndex) { - case 10: - return !localContext.clauses.has("orderByClause"); - case 11: - return !localContext.clauses.has("partitionByClause"); - case 12: - return !localContext.clauses.has("primaryKeyClause"); - case 13: - return !localContext.clauses.has("sampleByClause"); - case 14: - return !localContext.clauses.has("ttlClause"); - case 15: - return !localContext.clauses.has("settingsClause"); - } - return true; +} +export class AlterTableClauseReplaceContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - private joinExpression_sempred(localContext: JoinExpressionContext | null, predIndex: number): boolean { - switch (predIndex) { - case 16: - return this.precpred(this.context, 3); - case 17: - return this.precpred(this.context, 4); - } - return true; + public REPLACE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.REPLACE, 0)!; } - private columnExpression_sempred(localContext: ColumnExpressionContext | null, predIndex: number): boolean { - switch (predIndex) { - case 18: - return this.precpred(this.context, 16); - case 19: - return this.precpred(this.context, 15); - case 20: - return this.precpred(this.context, 14); - case 21: - return this.precpred(this.context, 11); - case 22: - return this.precpred(this.context, 10); - case 23: - return this.precpred(this.context, 9); - case 24: - return this.precpred(this.context, 8); - case 25: - return this.precpred(this.context, 19); - case 26: - return this.precpred(this.context, 18); - case 27: - return this.precpred(this.context, 13); - case 28: - return this.precpred(this.context, 7); + public partitionClause(): PartitionClauseContext { + return this.getRuleContext(0, PartitionClauseContext)!; + } + public FROM(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.FROM, 0)!; + } + public tableIdentifier(): TableIdentifierContext { + return this.getRuleContext(0, TableIdentifierContext)!; + } + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitAlterTableClauseReplace) { + return visitor.visitAlterTableClauseReplace(this); + } else { + return visitor.visitChildren(this); } - return true; } - private tableExpression_sempred(localContext: TableExpressionContext | null, predIndex: number): boolean { - switch (predIndex) { - case 29: - return this.precpred(this.context, 1); +} +export class AlterTableClauseModifyOrderByContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public MODIFY(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.MODIFY, 0)!; + } + public ORDER(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.ORDER, 0)!; + } + public BY(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.BY, 0)!; + } + public columnExpression(): ColumnExpressionContext { + return this.getRuleContext(0, ColumnExpressionContext)!; + } + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitAlterTableClauseModifyOrderBy) { + return visitor.visitAlterTableClauseModifyOrderBy(this); + } else { + return visitor.visitChildren(this); } - return true; } - - public static readonly _serializedATN: number[] = [ - 4,1,235,2137,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,1,0,3,0,258,8,0,1,0,1,0,1,1,1,1,3,1,264, - 8,1,1,1,1,1,1,1,1,1,3,1,270,8,1,1,2,1,2,1,2,1,2,3,2,276,8,2,1,2, - 1,2,3,2,280,8,2,1,2,3,2,283,8,2,1,2,3,2,286,8,2,1,3,1,3,1,3,1,3, - 1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3, - 3,3,308,8,3,1,3,3,3,311,8,3,1,4,1,4,1,4,1,4,5,4,317,8,4,10,4,12, - 4,320,9,4,1,5,1,5,3,5,324,8,5,1,5,1,5,1,5,1,5,1,5,1,6,1,6,1,6,1, - 6,5,6,335,8,6,10,6,12,6,338,9,6,1,6,1,6,1,7,1,7,1,7,1,7,3,7,346, - 8,7,1,7,1,7,1,7,5,7,351,8,7,10,7,12,7,354,9,7,1,8,1,8,1,8,1,8,1, - 8,3,8,361,8,8,1,8,1,8,1,8,3,8,366,8,8,1,8,1,8,1,8,1,8,1,8,3,8,373, - 8,8,1,8,1,8,1,8,3,8,378,8,8,1,8,1,8,1,8,1,8,1,8,3,8,385,8,8,1,8, - 1,8,1,8,3,8,390,8,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,1,8,3,8,407,8,8,1,8,1,8,1,8,1,8,3,8,413,8,8, - 1,8,1,8,1,8,3,8,418,8,8,1,8,1,8,1,8,1,8,3,8,424,8,8,1,8,1,8,1,8, - 3,8,429,8,8,1,8,1,8,1,8,1,8,3,8,435,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,449,8,8,1,8,1,8,1,8,1,8,1,8,3,8,456, - 8,8,1,8,1,8,1,8,1,8,1,8,3,8,463,8,8,1,8,1,8,1,8,1,8,1,8,3,8,470, - 8,8,1,8,1,8,1,8,1,8,3,8,476,8,8,1,8,1,8,1,8,3,8,481,8,8,1,8,1,8, - 1,8,1,8,3,8,487,8,8,1,8,1,8,1,8,3,8,492,8,8,1,8,1,8,1,8,1,8,3,8, - 498,8,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,507,8,8,1,8,1,8,1,8,1,8, - 1,8,1,8,1,8,1,8,3,8,517,8,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,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,547,8,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,555,8,8, - 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,570,8,8, - 1,9,1,9,1,9,5,9,575,8,9,10,9,12,9,578,9,9,1,10,1,10,1,10,1,10,1, - 11,1,11,1,12,1,12,1,12,1,12,1,12,3,12,591,8,12,1,13,1,13,1,13,1, - 13,3,13,597,8,13,1,14,1,14,1,14,1,14,3,14,603,8,14,1,15,1,15,1,15, - 1,15,3,15,609,8,15,1,15,3,15,612,8,15,1,16,1,16,1,16,1,16,3,16,618, - 8,16,1,16,3,16,621,8,16,1,16,3,16,624,8,16,1,16,1,16,1,16,1,16,3, - 16,630,8,16,1,16,1,16,3,16,634,8,16,1,16,3,16,637,8,16,1,16,3,16, - 640,8,16,1,16,3,16,643,8,16,1,16,3,16,646,8,16,1,17,1,17,1,17,1, - 17,1,17,3,17,653,8,17,1,17,1,17,3,17,657,8,17,1,17,1,17,1,18,1,18, - 1,18,1,18,3,18,665,8,18,1,18,3,18,668,8,18,1,18,1,18,1,18,1,18,3, - 18,674,8,18,1,18,1,18,3,18,678,8,18,1,18,3,18,681,8,18,1,18,1,18, - 1,18,1,19,1,19,1,19,1,19,1,19,1,19,3,19,692,8,19,1,19,1,19,3,19, - 696,8,19,1,19,3,19,699,8,19,1,19,1,19,1,19,3,19,704,8,19,3,19,706, - 8,19,1,19,3,19,709,8,19,1,19,3,19,712,8,19,1,19,1,19,1,20,1,20,1, - 20,1,20,1,20,1,20,3,20,722,8,20,1,20,1,20,3,20,726,8,20,1,20,3,20, - 729,8,20,1,20,3,20,732,8,20,1,20,1,20,1,20,3,20,737,8,20,3,20,739, - 8,20,1,20,1,20,1,21,1,21,1,21,3,21,746,8,21,1,21,1,21,1,21,1,21, - 3,21,752,8,21,1,21,1,21,3,21,756,8,21,1,21,3,21,759,8,21,1,21,3, - 21,762,8,21,1,21,1,21,1,22,1,22,1,22,1,22,1,22,1,22,3,22,772,8,22, - 1,23,1,23,1,23,1,23,5,23,778,8,23,10,23,12,23,781,9,23,1,23,1,23, - 1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24, - 1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,5,24,806,8,24,10,24,12,24, - 809,9,24,1,25,3,25,812,8,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1, - 25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,5, - 25,834,8,25,10,25,12,25,837,9,25,1,26,1,26,1,26,1,26,1,27,1,27,1, - 27,1,27,3,27,847,8,27,1,27,3,27,850,8,27,1,28,1,28,1,28,1,28,1,28, - 5,28,857,8,28,10,28,12,28,860,9,28,1,28,1,28,1,28,1,29,1,29,1,29, - 1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,3,29,876,8,29,1,29,1,29, - 1,30,1,30,1,30,1,30,1,30,5,30,885,8,30,10,30,12,30,888,9,30,1,30, - 1,30,1,30,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31, - 1,31,3,31,905,8,31,1,31,1,31,1,32,1,32,1,32,1,32,1,32,1,33,1,33, - 1,33,1,33,3,33,918,8,33,1,34,1,34,1,34,1,35,1,35,1,35,1,36,1,36, - 1,36,1,37,1,37,1,37,1,37,5,37,933,8,37,10,37,12,37,936,9,37,1,37, - 1,37,1,37,1,37,1,37,1,37,3,37,944,8,37,1,38,1,38,1,38,1,38,1,38, - 1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38, - 1,38,1,38,1,38,1,38,1,38,1,38,1,38,5,38,971,8,38,10,38,12,38,974, - 9,38,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41, - 1,42,1,42,1,42,1,42,5,42,992,8,42,10,42,12,42,995,9,42,1,43,1,43, - 3,43,999,8,43,1,43,1,43,1,43,3,43,1004,8,43,1,43,3,43,1007,8,43, - 1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,3,44,1019,8,44, - 1,45,1,45,1,45,3,45,1024,8,45,1,45,1,45,3,45,1028,8,45,1,45,3,45, - 1031,8,45,1,45,1,45,3,45,1035,8,45,1,45,1,45,3,45,1039,8,45,1,45, - 1,45,1,45,3,45,1044,8,45,1,45,3,45,1047,8,45,1,45,1,45,3,45,1051, - 8,45,3,45,1053,8,45,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47, - 1,47,1,48,1,48,1,48,1,49,1,49,1,49,1,49,1,49,5,49,1073,8,49,10,49, - 12,49,1076,9,49,1,49,1,49,1,50,1,50,1,50,3,50,1083,8,50,1,50,3,50, - 1086,8,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,3,51,1096,8,51, - 1,52,1,52,3,52,1100,8,52,1,52,1,52,1,53,1,53,1,53,1,53,3,53,1108, - 8,53,1,53,1,53,3,53,1112,8,53,1,53,1,53,1,53,3,53,1117,8,53,1,53, - 1,53,3,53,1121,8,53,1,53,1,53,3,53,1125,8,53,1,53,1,53,3,53,1129, - 8,53,1,53,1,53,3,53,1133,8,53,3,53,1135,8,53,1,54,1,54,1,54,1,54, - 1,54,1,54,3,54,1143,8,54,1,54,1,54,3,54,1147,8,54,1,54,3,54,1150, - 8,54,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55, - 1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,3,55,1173,8,55,1,56, - 1,56,1,56,3,56,1178,8,56,1,56,1,56,1,56,3,56,1183,8,56,1,56,3,56, - 1186,8,56,1,56,1,56,1,57,1,57,1,57,1,57,5,57,1194,8,57,10,57,12, - 57,1197,9,57,1,57,1,57,1,58,1,58,1,58,1,58,1,58,3,58,1206,8,58,1, - 58,1,58,3,58,1210,8,58,1,59,1,59,1,59,3,59,1215,8,59,1,59,1,59,1, - 59,1,59,3,59,1221,8,59,1,59,5,59,1224,8,59,10,59,12,59,1227,9,59, - 1,60,1,60,1,60,3,60,1232,8,60,1,60,1,60,3,60,1236,8,60,1,61,1,61, - 1,61,1,61,3,61,1242,8,61,1,61,3,61,1245,8,61,1,61,3,61,1248,8,61, - 1,61,3,61,1251,8,61,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62, - 1,62,5,62,1263,8,62,10,62,12,62,1266,9,62,1,62,3,62,1269,8,62,1, - 63,1,63,3,63,1273,8,63,1,63,1,63,1,63,3,63,1278,8,63,1,63,3,63,1281, - 8,63,1,63,1,63,1,64,1,64,1,64,1,64,5,64,1289,8,64,10,64,12,64,1292, - 9,64,1,65,1,65,1,65,1,65,1,65,3,65,1299,8,65,1,66,3,66,1302,8,66, - 1,66,1,66,3,66,1306,8,66,1,66,3,66,1309,8,66,1,66,1,66,3,66,1313, - 8,66,1,66,3,66,1316,8,66,1,66,3,66,1319,8,66,1,66,3,66,1322,8,66, - 1,66,3,66,1325,8,66,1,66,3,66,1328,8,66,1,66,1,66,3,66,1332,8,66, - 1,66,1,66,3,66,1336,8,66,1,66,3,66,1339,8,66,1,66,3,66,1342,8,66, - 1,66,3,66,1345,8,66,1,66,3,66,1348,8,66,1,66,3,66,1351,8,66,1,67, - 1,67,1,67,1,68,1,68,1,68,1,68,3,68,1360,8,68,1,69,1,69,1,69,1,70, - 3,70,1366,8,70,1,70,1,70,1,70,1,70,1,71,1,71,1,71,1,71,1,71,1,71, - 1,71,1,72,1,72,1,72,1,73,1,73,1,73,1,74,1,74,1,74,1,74,1,74,1,74, - 1,74,1,74,3,74,1393,8,74,1,75,1,75,1,75,1,76,1,76,1,76,1,76,1,77, - 1,77,1,77,1,77,1,78,1,78,1,78,1,78,1,78,1,79,1,79,1,79,1,79,3,79, - 1415,8,79,1,80,1,80,1,80,1,81,1,81,1,81,3,81,1423,8,81,1,81,3,81, - 1426,8,81,1,81,1,81,1,81,1,81,3,81,1432,8,81,1,81,1,81,1,81,1,81, - 1,81,1,81,3,81,1440,8,81,1,81,3,81,1443,8,81,1,81,1,81,1,81,1,81, - 5,81,1449,8,81,10,81,12,81,1452,9,81,1,82,3,82,1455,8,82,1,82,1, - 82,1,82,3,82,1460,8,82,1,82,3,82,1463,8,82,1,82,3,82,1466,8,82,1, - 82,1,82,3,82,1470,8,82,1,82,1,82,3,82,1474,8,82,1,82,3,82,1477,8, - 82,3,82,1479,8,82,1,82,3,82,1482,8,82,1,82,1,82,3,82,1486,8,82,1, - 82,1,82,3,82,1490,8,82,1,82,3,82,1493,8,82,3,82,1495,8,82,3,82,1497, - 8,82,1,83,3,83,1500,8,83,1,83,1,83,1,83,3,83,1505,8,83,1,84,1,84, - 1,84,1,84,1,84,1,84,1,84,1,84,1,84,3,84,1516,8,84,1,85,1,85,1,85, - 1,85,3,85,1522,8,85,1,86,1,86,1,86,3,86,1527,8,86,1,87,1,87,1,87, - 5,87,1532,8,87,10,87,12,87,1535,9,87,1,88,1,88,3,88,1539,8,88,1, - 88,1,88,3,88,1543,8,88,1,88,1,88,3,88,1547,8,88,1,89,1,89,1,89,3, - 89,1552,8,89,1,90,1,90,1,90,5,90,1557,8,90,10,90,12,90,1560,9,90, - 1,91,1,91,1,91,1,91,1,92,3,92,1567,8,92,1,92,3,92,1570,8,92,1,92, - 3,92,1573,8,92,1,93,1,93,1,93,1,93,1,94,1,94,1,94,1,94,1,95,1,95, - 1,95,1,96,1,96,1,96,1,96,1,96,1,96,3,96,1592,8,96,1,97,1,97,1,97, - 1,97,1,97,1,97,1,97,1,97,1,97,1,97,1,97,1,97,3,97,1606,8,97,1,98, - 1,98,1,98,1,99,1,99,1,99,1,99,1,99,1,99,1,99,1,99,1,99,1,99,1,99, - 3,99,1622,8,99,1,99,3,99,1625,8,99,1,99,1,99,1,99,1,99,1,99,1,99, - 1,99,3,99,1634,8,99,1,99,1,99,3,99,1638,8,99,1,99,1,99,1,99,3,99, - 1643,8,99,1,99,1,99,1,99,3,99,1648,8,99,1,99,3,99,1651,8,99,3,99, - 1653,8,99,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100, - 1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100,1,100, - 3,100,1675,8,100,1,100,3,100,1678,8,100,1,100,1,100,1,100,1,100, - 1,100,1,100,1,100,1,100,1,100,3,100,1689,8,100,1,101,1,101,3,101, - 1693,8,101,1,101,3,101,1696,8,101,1,101,1,101,3,101,1700,8,101,1, - 101,1,101,3,101,1704,8,101,1,102,1,102,1,102,1,103,1,103,1,103,3, - 103,1712,8,103,1,103,1,103,3,103,1716,8,103,1,104,1,104,1,104,1, - 104,1,104,1,104,1,104,1,104,1,104,5,104,1727,8,104,10,104,12,104, - 1730,9,104,1,104,1,104,1,104,1,104,1,104,1,104,1,104,5,104,1739, - 8,104,10,104,12,104,1742,9,104,1,104,1,104,1,104,1,104,1,104,1,104, - 1,104,5,104,1751,8,104,10,104,12,104,1754,9,104,1,104,1,104,1,104, - 1,104,1,104,3,104,1761,8,104,1,104,1,104,3,104,1765,8,104,1,105, - 1,105,1,105,5,105,1770,8,105,10,105,12,105,1773,9,105,1,106,1,106, - 1,106,3,106,1778,8,106,1,106,1,106,1,106,1,106,1,106,1,106,3,106, - 1786,8,106,1,107,1,107,1,107,3,107,1791,8,107,1,107,1,107,1,107, - 1,107,1,107,4,107,1798,8,107,11,107,12,107,1799,1,107,1,107,3,107, - 1804,8,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107, - 1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107, - 1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,3,107,1835, - 8,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107, - 1,107,1,107,1,107,1,107,1,107,3,107,1852,8,107,1,107,1,107,1,107, - 1,107,1,107,1,107,1,107,1,107,1,107,1,107,3,107,1864,8,107,1,107, - 1,107,1,107,1,107,1,107,1,107,1,107,1,107,3,107,1874,8,107,1,107, - 3,107,1877,8,107,1,107,1,107,3,107,1881,8,107,1,107,3,107,1884,8, - 107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107, - 3,107,1896,8,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107, - 1,107,1,107,1,107,1,107,1,107,1,107,1,107,3,107,1913,8,107,1,107, - 1,107,3,107,1917,8,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107, - 1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,3,107,1934,8,107, - 1,107,3,107,1937,8,107,1,107,1,107,3,107,1941,8,107,1,107,3,107, - 1944,8,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107, - 3,107,1955,8,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107, - 1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107,1,107, - 1,107,1,107,1,107,3,107,1979,8,107,1,107,1,107,1,107,1,107,1,107, - 3,107,1986,8,107,5,107,1988,8,107,10,107,12,107,1991,9,107,1,108, - 1,108,1,108,5,108,1996,8,108,10,108,12,108,1999,9,108,1,109,1,109, - 3,109,2003,8,109,1,110,1,110,1,110,1,110,5,110,2009,8,110,10,110, - 12,110,2012,9,110,1,110,1,110,1,110,1,110,1,110,5,110,2019,8,110, - 10,110,12,110,2022,9,110,3,110,2024,8,110,1,110,1,110,1,110,1,111, - 1,111,1,111,3,111,2032,8,111,1,111,1,111,1,111,3,111,2037,8,111, - 1,112,1,112,1,112,1,112,1,112,1,112,1,112,3,112,2046,8,112,1,112, - 1,112,1,112,1,112,3,112,2052,8,112,5,112,2054,8,112,10,112,12,112, - 2057,9,112,1,113,1,113,1,113,3,113,2062,8,113,1,113,1,113,1,114, - 1,114,1,114,3,114,2069,8,114,1,114,1,114,1,115,1,115,1,115,5,115, - 2076,8,115,10,115,12,115,2079,9,115,1,116,1,116,1,116,3,116,2084, - 8,116,1,117,1,117,1,118,1,118,1,118,1,118,1,118,1,118,3,118,2094, - 8,118,3,118,2096,8,118,1,119,3,119,2099,8,119,1,119,1,119,1,119, - 1,119,1,119,1,119,3,119,2107,8,119,1,120,1,120,1,120,3,120,2112, - 8,120,1,121,1,121,1,122,1,122,1,123,1,123,1,124,1,124,3,124,2122, - 8,124,1,125,1,125,1,125,3,125,2127,8,125,1,126,1,126,3,126,2131, - 8,126,1,127,1,127,1,127,1,127,1,127,0,3,162,214,224,128,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,0,28, - 6,0,3,3,24,24,27,27,38,38,104,104,177,177,2,0,15,15,29,29,3,0,3, - 3,38,38,104,104,2,0,41,41,43,43,2,0,44,44,50,50,3,0,14,14,159,159, - 165,165,2,0,31,31,144,144,2,0,84,84,96,96,2,0,71,71,101,101,3,0, - 4,4,8,8,12,12,4,0,4,4,7,8,12,12,150,150,2,0,96,96,143,143,2,0,4, - 4,8,8,2,0,118,118,208,208,2,0,11,11,41,42,2,0,62,62,93,93,2,0,136, - 136,146,146,2,0,68,68,80,80,1,0,156,157,3,0,17,17,95,95,173,173, - 3,0,204,204,222,222,231,231,2,0,209,210,223,223,2,0,79,79,98,98, - 1,0,199,200,2,0,210,210,223,223,8,0,36,36,76,76,108,108,110,110, - 134,134,148,148,189,189,194,194,15,0,2,35,37,53,55,75,77,81,83,107, - 109,109,111,112,114,115,117,126,129,132,136,147,149,174,176,188, - 190,193,195,196,4,0,35,35,62,62,77,77,91,91,2428,0,257,1,0,0,0,2, - 269,1,0,0,0,4,285,1,0,0,0,6,310,1,0,0,0,8,312,1,0,0,0,10,321,1,0, - 0,0,12,330,1,0,0,0,14,341,1,0,0,0,16,569,1,0,0,0,18,571,1,0,0,0, - 20,579,1,0,0,0,22,583,1,0,0,0,24,590,1,0,0,0,26,592,1,0,0,0,28,598, - 1,0,0,0,30,604,1,0,0,0,32,620,1,0,0,0,34,647,1,0,0,0,36,667,1,0, - 0,0,38,685,1,0,0,0,40,715,1,0,0,0,42,742,1,0,0,0,44,771,1,0,0,0, - 46,773,1,0,0,0,48,784,1,0,0,0,50,811,1,0,0,0,52,838,1,0,0,0,54,842, - 1,0,0,0,56,851,1,0,0,0,58,864,1,0,0,0,60,879,1,0,0,0,62,892,1,0, - 0,0,64,908,1,0,0,0,66,913,1,0,0,0,68,919,1,0,0,0,70,922,1,0,0,0, - 72,925,1,0,0,0,74,943,1,0,0,0,76,945,1,0,0,0,78,975,1,0,0,0,80,979, - 1,0,0,0,82,983,1,0,0,0,84,987,1,0,0,0,86,996,1,0,0,0,88,1018,1,0, - 0,0,90,1052,1,0,0,0,92,1054,1,0,0,0,94,1057,1,0,0,0,96,1064,1,0, - 0,0,98,1067,1,0,0,0,100,1079,1,0,0,0,102,1087,1,0,0,0,104,1097,1, - 0,0,0,106,1134,1,0,0,0,108,1149,1,0,0,0,110,1172,1,0,0,0,112,1174, - 1,0,0,0,114,1189,1,0,0,0,116,1209,1,0,0,0,118,1211,1,0,0,0,120,1228, - 1,0,0,0,122,1237,1,0,0,0,124,1252,1,0,0,0,126,1270,1,0,0,0,128,1284, - 1,0,0,0,130,1298,1,0,0,0,132,1301,1,0,0,0,134,1352,1,0,0,0,136,1355, - 1,0,0,0,138,1361,1,0,0,0,140,1365,1,0,0,0,142,1371,1,0,0,0,144,1378, - 1,0,0,0,146,1381,1,0,0,0,148,1384,1,0,0,0,150,1394,1,0,0,0,152,1397, - 1,0,0,0,154,1401,1,0,0,0,156,1405,1,0,0,0,158,1410,1,0,0,0,160,1416, - 1,0,0,0,162,1431,1,0,0,0,164,1496,1,0,0,0,166,1504,1,0,0,0,168,1515, - 1,0,0,0,170,1517,1,0,0,0,172,1523,1,0,0,0,174,1528,1,0,0,0,176,1536, - 1,0,0,0,178,1548,1,0,0,0,180,1553,1,0,0,0,182,1561,1,0,0,0,184,1566, - 1,0,0,0,186,1574,1,0,0,0,188,1578,1,0,0,0,190,1582,1,0,0,0,192,1591, - 1,0,0,0,194,1605,1,0,0,0,196,1607,1,0,0,0,198,1652,1,0,0,0,200,1688, - 1,0,0,0,202,1690,1,0,0,0,204,1705,1,0,0,0,206,1708,1,0,0,0,208,1764, - 1,0,0,0,210,1766,1,0,0,0,212,1785,1,0,0,0,214,1916,1,0,0,0,216,1992, - 1,0,0,0,218,2002,1,0,0,0,220,2023,1,0,0,0,222,2031,1,0,0,0,224,2045, - 1,0,0,0,226,2058,1,0,0,0,228,2068,1,0,0,0,230,2072,1,0,0,0,232,2083, - 1,0,0,0,234,2085,1,0,0,0,236,2095,1,0,0,0,238,2098,1,0,0,0,240,2111, - 1,0,0,0,242,2113,1,0,0,0,244,2115,1,0,0,0,246,2117,1,0,0,0,248,2121, - 1,0,0,0,250,2126,1,0,0,0,252,2130,1,0,0,0,254,2132,1,0,0,0,256,258, - 3,2,1,0,257,256,1,0,0,0,257,258,1,0,0,0,258,259,1,0,0,0,259,260, - 5,0,0,1,260,1,1,0,0,0,261,263,3,4,2,0,262,264,5,230,0,0,263,262, - 1,0,0,0,263,264,1,0,0,0,264,270,1,0,0,0,265,266,3,4,2,0,266,267, - 5,230,0,0,267,268,3,2,1,0,268,270,1,0,0,0,269,261,1,0,0,0,269,265, - 1,0,0,0,270,3,1,0,0,0,271,275,3,6,3,0,272,273,5,87,0,0,273,274,5, - 124,0,0,274,276,5,202,0,0,275,272,1,0,0,0,275,276,1,0,0,0,276,279, - 1,0,0,0,277,278,5,66,0,0,278,280,3,252,126,0,279,277,1,0,0,0,279, - 280,1,0,0,0,280,282,1,0,0,0,281,283,5,230,0,0,282,281,1,0,0,0,282, - 283,1,0,0,0,283,286,1,0,0,0,284,286,3,112,56,0,285,271,1,0,0,0,285, - 284,1,0,0,0,286,5,1,0,0,0,287,311,3,14,7,0,288,311,3,26,13,0,289, - 311,3,28,14,0,290,311,3,44,22,0,291,311,3,104,52,0,292,311,3,30, - 15,0,293,311,3,106,53,0,294,311,3,108,54,0,295,311,3,110,55,0,296, - 311,3,120,60,0,297,311,3,122,61,0,298,311,3,124,62,0,299,311,3,128, - 64,0,300,311,3,196,98,0,301,311,3,198,99,0,302,311,3,200,100,0,303, - 311,3,202,101,0,304,311,3,204,102,0,305,311,3,206,103,0,306,308, - 3,8,4,0,307,306,1,0,0,0,307,308,1,0,0,0,308,309,1,0,0,0,309,311, - 3,132,66,0,310,287,1,0,0,0,310,288,1,0,0,0,310,289,1,0,0,0,310,290, - 1,0,0,0,310,291,1,0,0,0,310,292,1,0,0,0,310,293,1,0,0,0,310,294, - 1,0,0,0,310,295,1,0,0,0,310,296,1,0,0,0,310,297,1,0,0,0,310,298, - 1,0,0,0,310,299,1,0,0,0,310,300,1,0,0,0,310,301,1,0,0,0,310,302, - 1,0,0,0,310,303,1,0,0,0,310,304,1,0,0,0,310,305,1,0,0,0,310,307, - 1,0,0,0,311,7,1,0,0,0,312,313,5,193,0,0,313,318,3,10,5,0,314,315, - 5,208,0,0,315,317,3,10,5,0,316,314,1,0,0,0,317,320,1,0,0,0,318,316, - 1,0,0,0,318,319,1,0,0,0,319,9,1,0,0,0,320,318,1,0,0,0,321,323,3, - 250,125,0,322,324,3,12,6,0,323,322,1,0,0,0,323,324,1,0,0,0,324,325, - 1,0,0,0,325,326,5,10,0,0,326,327,5,219,0,0,327,328,3,6,3,0,328,329, - 5,229,0,0,329,11,1,0,0,0,330,331,5,219,0,0,331,336,3,250,125,0,332, - 333,5,208,0,0,333,335,3,250,125,0,334,332,1,0,0,0,335,338,1,0,0, - 0,336,334,1,0,0,0,336,337,1,0,0,0,337,339,1,0,0,0,338,336,1,0,0, - 0,339,340,5,229,0,0,340,13,1,0,0,0,341,342,5,5,0,0,342,343,5,162, - 0,0,343,345,3,228,114,0,344,346,3,66,33,0,345,344,1,0,0,0,345,346, - 1,0,0,0,346,347,1,0,0,0,347,352,3,16,8,0,348,349,5,208,0,0,349,351, - 3,16,8,0,350,348,1,0,0,0,351,354,1,0,0,0,352,350,1,0,0,0,352,353, - 1,0,0,0,353,15,1,0,0,0,354,352,1,0,0,0,355,356,5,1,0,0,356,360,5, - 26,0,0,357,358,5,78,0,0,358,359,5,115,0,0,359,361,5,56,0,0,360,357, - 1,0,0,0,360,361,1,0,0,0,361,362,1,0,0,0,362,365,3,90,45,0,363,364, - 5,2,0,0,364,366,3,222,111,0,365,363,1,0,0,0,365,366,1,0,0,0,366, - 570,1,0,0,0,367,368,5,1,0,0,368,372,5,81,0,0,369,370,5,78,0,0,370, - 371,5,115,0,0,371,373,5,56,0,0,372,369,1,0,0,0,372,373,1,0,0,0,373, - 374,1,0,0,0,374,377,3,94,47,0,375,376,5,2,0,0,376,378,3,222,111, - 0,377,375,1,0,0,0,377,378,1,0,0,0,378,570,1,0,0,0,379,380,5,1,0, - 0,380,384,5,133,0,0,381,382,5,78,0,0,382,383,5,115,0,0,383,385,5, - 56,0,0,384,381,1,0,0,0,384,385,1,0,0,0,385,386,1,0,0,0,386,389,3, - 96,48,0,387,388,5,2,0,0,388,390,3,222,111,0,389,387,1,0,0,0,389, - 390,1,0,0,0,390,570,1,0,0,0,391,392,5,15,0,0,392,395,3,24,12,0,393, - 394,5,68,0,0,394,396,3,228,114,0,395,393,1,0,0,0,395,396,1,0,0,0, - 396,570,1,0,0,0,397,398,5,22,0,0,398,401,5,26,0,0,399,400,5,78,0, - 0,400,402,5,56,0,0,401,399,1,0,0,0,401,402,1,0,0,0,402,403,1,0,0, - 0,403,406,3,222,111,0,404,405,5,80,0,0,405,407,3,24,12,0,406,404, - 1,0,0,0,406,407,1,0,0,0,407,570,1,0,0,0,408,409,5,22,0,0,409,412, - 5,81,0,0,410,411,5,78,0,0,411,413,5,56,0,0,412,410,1,0,0,0,412,413, - 1,0,0,0,413,414,1,0,0,0,414,417,3,222,111,0,415,416,5,80,0,0,416, - 418,3,24,12,0,417,415,1,0,0,0,417,418,1,0,0,0,418,570,1,0,0,0,419, - 420,5,22,0,0,420,423,5,133,0,0,421,422,5,78,0,0,422,424,5,56,0,0, - 423,421,1,0,0,0,423,424,1,0,0,0,424,425,1,0,0,0,425,428,3,222,111, - 0,426,427,5,80,0,0,427,429,3,24,12,0,428,426,1,0,0,0,428,429,1,0, - 0,0,429,570,1,0,0,0,430,431,5,27,0,0,431,434,5,26,0,0,432,433,5, - 78,0,0,433,435,5,56,0,0,434,432,1,0,0,0,434,435,1,0,0,0,435,436, - 1,0,0,0,436,437,3,222,111,0,437,438,5,202,0,0,438,570,1,0,0,0,439, - 440,5,40,0,0,440,441,5,191,0,0,441,570,3,214,107,0,442,443,5,44, - 0,0,443,570,3,24,12,0,444,445,5,50,0,0,445,448,5,26,0,0,446,447, - 5,78,0,0,447,449,5,56,0,0,448,446,1,0,0,0,448,449,1,0,0,0,449,450, - 1,0,0,0,450,570,3,222,111,0,451,452,5,50,0,0,452,455,5,81,0,0,453, - 454,5,78,0,0,454,456,5,56,0,0,455,453,1,0,0,0,455,456,1,0,0,0,456, - 457,1,0,0,0,457,570,3,222,111,0,458,459,5,50,0,0,459,462,5,133,0, - 0,460,461,5,78,0,0,461,463,5,56,0,0,462,460,1,0,0,0,462,463,1,0, - 0,0,463,464,1,0,0,0,464,570,3,222,111,0,465,466,5,50,0,0,466,570, - 3,24,12,0,467,469,5,67,0,0,468,470,3,24,12,0,469,468,1,0,0,0,469, - 470,1,0,0,0,470,570,1,0,0,0,471,472,5,103,0,0,472,475,5,81,0,0,473, - 474,5,78,0,0,474,476,5,56,0,0,475,473,1,0,0,0,475,476,1,0,0,0,476, - 477,1,0,0,0,477,480,3,222,111,0,478,479,5,80,0,0,479,481,3,24,12, - 0,480,478,1,0,0,0,480,481,1,0,0,0,481,570,1,0,0,0,482,483,5,103, - 0,0,483,486,5,133,0,0,484,485,5,78,0,0,485,487,5,56,0,0,486,484, - 1,0,0,0,486,487,1,0,0,0,487,488,1,0,0,0,488,491,3,222,111,0,489, - 490,5,80,0,0,490,492,3,24,12,0,491,489,1,0,0,0,491,492,1,0,0,0,492, - 570,1,0,0,0,493,494,5,109,0,0,494,497,5,26,0,0,495,496,5,78,0,0, - 496,498,5,56,0,0,497,495,1,0,0,0,497,498,1,0,0,0,498,499,1,0,0,0, - 499,500,3,222,111,0,500,501,3,98,49,0,501,570,1,0,0,0,502,503,5, - 109,0,0,503,506,5,26,0,0,504,505,5,78,0,0,505,507,5,56,0,0,506,504, - 1,0,0,0,506,507,1,0,0,0,507,508,1,0,0,0,508,509,3,222,111,0,509, - 510,5,27,0,0,510,511,5,202,0,0,511,570,1,0,0,0,512,513,5,109,0,0, - 513,516,5,26,0,0,514,515,5,78,0,0,515,517,5,56,0,0,516,514,1,0,0, - 0,516,517,1,0,0,0,517,518,1,0,0,0,518,519,3,222,111,0,519,520,5, - 138,0,0,520,521,3,22,11,0,521,570,1,0,0,0,522,523,5,109,0,0,523, - 526,5,26,0,0,524,525,5,78,0,0,525,527,5,56,0,0,526,524,1,0,0,0,526, - 527,1,0,0,0,527,528,1,0,0,0,528,570,3,90,45,0,529,530,5,109,0,0, - 530,531,5,122,0,0,531,532,5,18,0,0,532,570,3,214,107,0,533,534,5, - 109,0,0,534,570,3,84,42,0,535,536,5,111,0,0,536,546,3,24,12,0,537, - 538,5,170,0,0,538,539,5,47,0,0,539,547,5,202,0,0,540,541,5,170,0, - 0,541,542,5,187,0,0,542,547,5,202,0,0,543,544,5,170,0,0,544,545, - 5,162,0,0,545,547,3,228,114,0,546,537,1,0,0,0,546,540,1,0,0,0,546, - 543,1,0,0,0,547,570,1,0,0,0,548,549,5,138,0,0,549,570,5,177,0,0, - 550,551,5,139,0,0,551,554,5,26,0,0,552,553,5,78,0,0,553,555,5,56, - 0,0,554,552,1,0,0,0,554,555,1,0,0,0,555,556,1,0,0,0,556,557,3,222, - 111,0,557,558,5,170,0,0,558,559,3,222,111,0,559,570,1,0,0,0,560, - 561,5,140,0,0,561,562,3,24,12,0,562,563,5,68,0,0,563,564,3,228,114, - 0,564,570,1,0,0,0,565,566,5,181,0,0,566,567,3,18,9,0,567,568,3,146, - 73,0,568,570,1,0,0,0,569,355,1,0,0,0,569,367,1,0,0,0,569,379,1,0, - 0,0,569,391,1,0,0,0,569,397,1,0,0,0,569,408,1,0,0,0,569,419,1,0, - 0,0,569,430,1,0,0,0,569,439,1,0,0,0,569,442,1,0,0,0,569,444,1,0, - 0,0,569,451,1,0,0,0,569,458,1,0,0,0,569,465,1,0,0,0,569,467,1,0, - 0,0,569,471,1,0,0,0,569,482,1,0,0,0,569,493,1,0,0,0,569,502,1,0, - 0,0,569,512,1,0,0,0,569,522,1,0,0,0,569,529,1,0,0,0,569,533,1,0, - 0,0,569,535,1,0,0,0,569,548,1,0,0,0,569,550,1,0,0,0,569,560,1,0, - 0,0,569,565,1,0,0,0,570,17,1,0,0,0,571,576,3,20,10,0,572,573,5,208, - 0,0,573,575,3,20,10,0,574,572,1,0,0,0,575,578,1,0,0,0,576,574,1, - 0,0,0,576,577,1,0,0,0,577,19,1,0,0,0,578,576,1,0,0,0,579,580,3,222, - 111,0,580,581,5,213,0,0,581,582,3,214,107,0,582,21,1,0,0,0,583,584, - 7,0,0,0,584,23,1,0,0,0,585,586,5,126,0,0,586,591,3,214,107,0,587, - 588,5,126,0,0,588,589,5,77,0,0,589,591,5,202,0,0,590,585,1,0,0,0, - 590,587,1,0,0,0,591,25,1,0,0,0,592,593,5,15,0,0,593,594,5,46,0,0, - 594,596,3,228,114,0,595,597,3,66,33,0,596,595,1,0,0,0,596,597,1, - 0,0,0,597,27,1,0,0,0,598,599,5,21,0,0,599,600,5,162,0,0,600,602, - 3,228,114,0,601,603,3,24,12,0,602,601,1,0,0,0,602,603,1,0,0,0,603, - 29,1,0,0,0,604,605,5,40,0,0,605,606,5,68,0,0,606,608,3,228,114,0, - 607,609,3,66,33,0,608,607,1,0,0,0,608,609,1,0,0,0,609,611,1,0,0, - 0,610,612,3,146,73,0,611,610,1,0,0,0,611,612,1,0,0,0,612,31,1,0, - 0,0,613,621,5,15,0,0,614,617,5,29,0,0,615,616,5,121,0,0,616,618, - 5,140,0,0,617,615,1,0,0,0,617,618,1,0,0,0,618,621,1,0,0,0,619,621, - 5,140,0,0,620,613,1,0,0,0,620,614,1,0,0,0,620,619,1,0,0,0,621,623, - 1,0,0,0,622,624,5,164,0,0,623,622,1,0,0,0,623,624,1,0,0,0,624,625, - 1,0,0,0,625,629,5,162,0,0,626,627,5,78,0,0,627,628,5,115,0,0,628, - 630,5,56,0,0,629,626,1,0,0,0,629,630,1,0,0,0,630,631,1,0,0,0,631, - 633,3,228,114,0,632,634,3,68,34,0,633,632,1,0,0,0,633,634,1,0,0, - 0,634,636,1,0,0,0,635,637,3,66,33,0,636,635,1,0,0,0,636,637,1,0, - 0,0,637,639,1,0,0,0,638,640,3,74,37,0,639,638,1,0,0,0,639,640,1, - 0,0,0,640,642,1,0,0,0,641,643,3,76,38,0,642,641,1,0,0,0,642,643, - 1,0,0,0,643,645,1,0,0,0,644,646,3,72,36,0,645,644,1,0,0,0,645,646, - 1,0,0,0,646,33,1,0,0,0,647,648,7,1,0,0,648,652,5,33,0,0,649,650, - 5,78,0,0,650,651,5,115,0,0,651,653,5,56,0,0,652,649,1,0,0,0,652, - 653,1,0,0,0,653,654,1,0,0,0,654,656,3,250,125,0,655,657,3,66,33, - 0,656,655,1,0,0,0,656,657,1,0,0,0,657,658,1,0,0,0,658,659,3,86,43, - 0,659,35,1,0,0,0,660,668,5,15,0,0,661,664,5,29,0,0,662,663,5,121, - 0,0,663,665,5,140,0,0,664,662,1,0,0,0,664,665,1,0,0,0,665,668,1, - 0,0,0,666,668,5,140,0,0,667,660,1,0,0,0,667,661,1,0,0,0,667,666, - 1,0,0,0,668,669,1,0,0,0,669,673,5,46,0,0,670,671,5,78,0,0,671,672, - 5,115,0,0,672,674,5,56,0,0,673,670,1,0,0,0,673,674,1,0,0,0,674,675, - 1,0,0,0,675,677,3,228,114,0,676,678,3,68,34,0,677,676,1,0,0,0,677, - 678,1,0,0,0,678,680,1,0,0,0,679,681,3,66,33,0,680,679,1,0,0,0,680, - 681,1,0,0,0,681,682,1,0,0,0,682,683,3,46,23,0,683,684,3,50,25,0, - 684,37,1,0,0,0,685,686,7,1,0,0,686,687,5,100,0,0,687,691,5,186,0, - 0,688,689,5,78,0,0,689,690,5,115,0,0,690,692,5,56,0,0,691,688,1, - 0,0,0,691,692,1,0,0,0,692,693,1,0,0,0,693,695,3,228,114,0,694,696, - 3,68,34,0,695,694,1,0,0,0,695,696,1,0,0,0,696,698,1,0,0,0,697,699, - 3,66,33,0,698,697,1,0,0,0,698,699,1,0,0,0,699,705,1,0,0,0,700,701, - 5,193,0,0,701,703,5,168,0,0,702,704,5,200,0,0,703,702,1,0,0,0,703, - 704,1,0,0,0,704,706,1,0,0,0,705,700,1,0,0,0,705,706,1,0,0,0,706, - 708,1,0,0,0,707,709,3,70,35,0,708,707,1,0,0,0,708,709,1,0,0,0,709, - 711,1,0,0,0,710,712,3,74,37,0,711,710,1,0,0,0,711,712,1,0,0,0,712, - 713,1,0,0,0,713,714,3,72,36,0,714,39,1,0,0,0,715,716,7,1,0,0,716, - 717,5,104,0,0,717,721,5,186,0,0,718,719,5,78,0,0,719,720,5,115,0, - 0,720,722,5,56,0,0,721,718,1,0,0,0,721,722,1,0,0,0,722,723,1,0,0, - 0,723,725,3,228,114,0,724,726,3,68,34,0,725,724,1,0,0,0,725,726, - 1,0,0,0,726,728,1,0,0,0,727,729,3,66,33,0,728,727,1,0,0,0,728,729, - 1,0,0,0,729,731,1,0,0,0,730,732,3,74,37,0,731,730,1,0,0,0,731,732, - 1,0,0,0,732,738,1,0,0,0,733,739,3,70,35,0,734,736,3,76,38,0,735, - 737,5,129,0,0,736,735,1,0,0,0,736,737,1,0,0,0,737,739,1,0,0,0,738, - 733,1,0,0,0,738,734,1,0,0,0,739,740,1,0,0,0,740,741,3,72,36,0,741, - 41,1,0,0,0,742,745,7,1,0,0,743,744,5,121,0,0,744,746,5,140,0,0,745, - 743,1,0,0,0,745,746,1,0,0,0,746,747,1,0,0,0,747,751,5,186,0,0,748, - 749,5,78,0,0,749,750,5,115,0,0,750,752,5,56,0,0,751,748,1,0,0,0, - 751,752,1,0,0,0,752,753,1,0,0,0,753,755,3,228,114,0,754,756,3,68, - 34,0,755,754,1,0,0,0,755,756,1,0,0,0,756,758,1,0,0,0,757,759,3,66, - 33,0,758,757,1,0,0,0,758,759,1,0,0,0,759,761,1,0,0,0,760,762,3,74, - 37,0,761,760,1,0,0,0,761,762,1,0,0,0,762,763,1,0,0,0,763,764,3,72, - 36,0,764,43,1,0,0,0,765,772,3,34,17,0,766,772,3,36,18,0,767,772, - 3,38,19,0,768,772,3,40,20,0,769,772,3,32,16,0,770,772,3,42,21,0, - 771,765,1,0,0,0,771,766,1,0,0,0,771,767,1,0,0,0,771,768,1,0,0,0, - 771,769,1,0,0,0,771,770,1,0,0,0,772,45,1,0,0,0,773,774,5,219,0,0, - 774,779,3,48,24,0,775,776,5,208,0,0,776,778,3,48,24,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,782,1, - 0,0,0,781,779,1,0,0,0,782,783,5,229,0,0,783,47,1,0,0,0,784,785,3, - 250,125,0,785,807,3,208,104,0,786,787,4,24,0,1,787,788,5,38,0,0, - 788,789,3,240,120,0,789,790,6,24,-1,0,790,806,1,0,0,0,791,792,4, - 24,1,1,792,793,5,58,0,0,793,794,3,214,107,0,794,795,6,24,-1,0,795, - 806,1,0,0,0,796,797,4,24,2,1,797,798,5,75,0,0,798,806,6,24,-1,0, - 799,800,4,24,3,1,800,801,5,83,0,0,801,806,6,24,-1,0,802,803,4,24, - 4,1,803,804,5,89,0,0,804,806,6,24,-1,0,805,786,1,0,0,0,805,791,1, - 0,0,0,805,796,1,0,0,0,805,799,1,0,0,0,805,802,1,0,0,0,806,809,1, - 0,0,0,807,805,1,0,0,0,807,808,1,0,0,0,808,49,1,0,0,0,809,807,1,0, - 0,0,810,812,3,52,26,0,811,810,1,0,0,0,811,812,1,0,0,0,812,835,1, - 0,0,0,813,814,4,25,5,1,814,815,3,56,28,0,815,816,6,25,-1,0,816,834, - 1,0,0,0,817,818,4,25,6,1,818,819,3,58,29,0,819,820,6,25,-1,0,820, - 834,1,0,0,0,821,822,4,25,7,1,822,823,3,60,30,0,823,824,6,25,-1,0, - 824,834,1,0,0,0,825,826,4,25,8,1,826,827,3,62,31,0,827,828,6,25, - -1,0,828,834,1,0,0,0,829,830,4,25,9,1,830,831,3,64,32,0,831,832, - 6,25,-1,0,832,834,1,0,0,0,833,813,1,0,0,0,833,817,1,0,0,0,833,821, - 1,0,0,0,833,825,1,0,0,0,833,829,1,0,0,0,834,837,1,0,0,0,835,833, - 1,0,0,0,835,836,1,0,0,0,836,51,1,0,0,0,837,835,1,0,0,0,838,839,5, - 132,0,0,839,840,5,91,0,0,840,841,3,210,105,0,841,53,1,0,0,0,842, - 849,3,250,125,0,843,846,3,250,125,0,844,845,5,219,0,0,845,847,5, - 229,0,0,846,844,1,0,0,0,846,847,1,0,0,0,847,850,1,0,0,0,848,850, - 3,240,120,0,849,843,1,0,0,0,849,848,1,0,0,0,850,55,1,0,0,0,851,852, - 5,155,0,0,852,853,5,219,0,0,853,854,3,250,125,0,854,858,5,219,0, - 0,855,857,3,54,27,0,856,855,1,0,0,0,857,860,1,0,0,0,858,856,1,0, - 0,0,858,859,1,0,0,0,859,861,1,0,0,0,860,858,1,0,0,0,861,862,5,229, - 0,0,862,863,5,229,0,0,863,57,1,0,0,0,864,865,5,97,0,0,865,875,5, - 219,0,0,866,876,5,200,0,0,867,868,5,107,0,0,868,869,5,200,0,0,869, - 870,5,105,0,0,870,876,5,200,0,0,871,872,5,105,0,0,872,873,5,200, - 0,0,873,874,5,107,0,0,874,876,5,200,0,0,875,866,1,0,0,0,875,867, - 1,0,0,0,875,871,1,0,0,0,876,877,1,0,0,0,877,878,5,229,0,0,878,59, - 1,0,0,0,879,880,5,94,0,0,880,881,5,219,0,0,881,882,3,250,125,0,882, - 886,5,219,0,0,883,885,3,54,27,0,884,883,1,0,0,0,885,888,1,0,0,0, - 886,884,1,0,0,0,886,887,1,0,0,0,887,889,1,0,0,0,888,886,1,0,0,0, - 889,890,5,229,0,0,890,891,5,229,0,0,891,61,1,0,0,0,892,893,5,136, - 0,0,893,904,5,219,0,0,894,895,5,107,0,0,895,896,3,250,125,0,896, - 897,5,105,0,0,897,898,3,250,125,0,898,905,1,0,0,0,899,900,5,105, - 0,0,900,901,3,250,125,0,901,902,5,107,0,0,902,903,3,250,125,0,903, - 905,1,0,0,0,904,894,1,0,0,0,904,899,1,0,0,0,905,906,1,0,0,0,906, - 907,5,229,0,0,907,63,1,0,0,0,908,909,5,153,0,0,909,910,5,219,0,0, - 910,911,3,180,90,0,911,912,5,229,0,0,912,65,1,0,0,0,913,914,5,119, - 0,0,914,917,5,23,0,0,915,918,3,250,125,0,916,918,5,202,0,0,917,915, - 1,0,0,0,917,916,1,0,0,0,918,67,1,0,0,0,919,920,5,184,0,0,920,921, - 5,202,0,0,921,69,1,0,0,0,922,923,5,170,0,0,923,924,3,228,114,0,924, - 71,1,0,0,0,925,926,5,10,0,0,926,927,3,128,64,0,927,73,1,0,0,0,928, - 929,5,219,0,0,929,934,3,88,44,0,930,931,5,208,0,0,931,933,3,88,44, - 0,932,930,1,0,0,0,933,936,1,0,0,0,934,932,1,0,0,0,934,935,1,0,0, - 0,935,937,1,0,0,0,936,934,1,0,0,0,937,938,5,229,0,0,938,944,1,0, - 0,0,939,940,5,10,0,0,940,944,3,228,114,0,941,942,5,10,0,0,942,944, - 3,226,113,0,943,928,1,0,0,0,943,939,1,0,0,0,943,941,1,0,0,0,944, - 75,1,0,0,0,945,972,3,86,43,0,946,947,4,38,10,1,947,948,3,152,76, - 0,948,949,6,38,-1,0,949,971,1,0,0,0,950,951,4,38,11,1,951,952,3, - 78,39,0,952,953,6,38,-1,0,953,971,1,0,0,0,954,955,4,38,12,1,955, - 956,3,80,40,0,956,957,6,38,-1,0,957,971,1,0,0,0,958,959,4,38,13, - 1,959,960,3,82,41,0,960,961,6,38,-1,0,961,971,1,0,0,0,962,963,4, - 38,14,1,963,964,3,84,42,0,964,965,6,38,-1,0,965,971,1,0,0,0,966, - 967,4,38,15,1,967,968,3,160,80,0,968,969,6,38,-1,0,969,971,1,0,0, - 0,970,946,1,0,0,0,970,950,1,0,0,0,970,954,1,0,0,0,970,958,1,0,0, - 0,970,962,1,0,0,0,970,966,1,0,0,0,971,974,1,0,0,0,972,970,1,0,0, - 0,972,973,1,0,0,0,973,77,1,0,0,0,974,972,1,0,0,0,975,976,5,126,0, - 0,976,977,5,18,0,0,977,978,3,214,107,0,978,79,1,0,0,0,979,980,5, - 132,0,0,980,981,5,91,0,0,981,982,3,214,107,0,982,81,1,0,0,0,983, - 984,5,147,0,0,984,985,5,18,0,0,985,986,3,214,107,0,986,83,1,0,0, - 0,987,988,5,177,0,0,988,993,3,102,51,0,989,990,5,208,0,0,990,992, - 3,102,51,0,991,989,1,0,0,0,992,995,1,0,0,0,993,991,1,0,0,0,993,994, - 1,0,0,0,994,85,1,0,0,0,995,993,1,0,0,0,996,998,5,53,0,0,997,999, - 5,213,0,0,998,997,1,0,0,0,998,999,1,0,0,0,999,1000,1,0,0,0,1000, - 1006,3,252,126,0,1001,1003,5,219,0,0,1002,1004,3,210,105,0,1003, - 1002,1,0,0,0,1003,1004,1,0,0,0,1004,1005,1,0,0,0,1005,1007,5,229, - 0,0,1006,1001,1,0,0,0,1006,1007,1,0,0,0,1007,87,1,0,0,0,1008,1019, - 3,90,45,0,1009,1010,5,28,0,0,1010,1011,3,250,125,0,1011,1012,5,21, - 0,0,1012,1013,3,214,107,0,1013,1019,1,0,0,0,1014,1015,5,81,0,0,1015, - 1019,3,94,47,0,1016,1017,5,133,0,0,1017,1019,3,96,48,0,1018,1008, - 1,0,0,0,1018,1009,1,0,0,0,1018,1014,1,0,0,0,1018,1016,1,0,0,0,1019, - 89,1,0,0,0,1020,1021,3,222,111,0,1021,1023,3,208,104,0,1022,1024, - 3,92,46,0,1023,1022,1,0,0,0,1023,1024,1,0,0,0,1024,1027,1,0,0,0, - 1025,1026,5,27,0,0,1026,1028,5,202,0,0,1027,1025,1,0,0,0,1027,1028, - 1,0,0,0,1028,1030,1,0,0,0,1029,1031,3,98,49,0,1030,1029,1,0,0,0, - 1030,1031,1,0,0,0,1031,1034,1,0,0,0,1032,1033,5,177,0,0,1033,1035, - 3,214,107,0,1034,1032,1,0,0,0,1034,1035,1,0,0,0,1035,1053,1,0,0, - 0,1036,1038,3,222,111,0,1037,1039,3,208,104,0,1038,1037,1,0,0,0, - 1038,1039,1,0,0,0,1039,1040,1,0,0,0,1040,1043,3,92,46,0,1041,1042, - 5,27,0,0,1042,1044,5,202,0,0,1043,1041,1,0,0,0,1043,1044,1,0,0,0, - 1044,1046,1,0,0,0,1045,1047,3,98,49,0,1046,1045,1,0,0,0,1046,1047, - 1,0,0,0,1047,1050,1,0,0,0,1048,1049,5,177,0,0,1049,1051,3,214,107, - 0,1050,1048,1,0,0,0,1050,1051,1,0,0,0,1051,1053,1,0,0,0,1052,1020, - 1,0,0,0,1052,1036,1,0,0,0,1053,91,1,0,0,0,1054,1055,7,2,0,0,1055, - 1056,3,214,107,0,1056,93,1,0,0,0,1057,1058,3,222,111,0,1058,1059, - 3,214,107,0,1059,1060,5,178,0,0,1060,1061,3,208,104,0,1061,1062, - 5,72,0,0,1062,1063,5,200,0,0,1063,95,1,0,0,0,1064,1065,3,222,111, - 0,1065,1066,3,126,63,0,1066,97,1,0,0,0,1067,1068,5,24,0,0,1068,1069, - 5,219,0,0,1069,1074,3,100,50,0,1070,1071,5,208,0,0,1071,1073,3,100, - 50,0,1072,1070,1,0,0,0,1073,1076,1,0,0,0,1074,1072,1,0,0,0,1074, - 1075,1,0,0,0,1075,1077,1,0,0,0,1076,1074,1,0,0,0,1077,1078,5,229, - 0,0,1078,99,1,0,0,0,1079,1085,3,250,125,0,1080,1082,5,219,0,0,1081, - 1083,3,210,105,0,1082,1081,1,0,0,0,1082,1083,1,0,0,0,1083,1084,1, - 0,0,0,1084,1086,5,229,0,0,1085,1080,1,0,0,0,1085,1086,1,0,0,0,1086, - 101,1,0,0,0,1087,1095,3,214,107,0,1088,1096,5,40,0,0,1089,1090,5, - 170,0,0,1090,1091,5,47,0,0,1091,1096,5,202,0,0,1092,1093,5,170,0, - 0,1093,1094,5,187,0,0,1094,1096,5,202,0,0,1095,1088,1,0,0,0,1095, - 1089,1,0,0,0,1095,1092,1,0,0,0,1095,1096,1,0,0,0,1096,103,1,0,0, - 0,1097,1099,7,3,0,0,1098,1100,5,162,0,0,1099,1098,1,0,0,0,1099,1100, - 1,0,0,0,1100,1101,1,0,0,0,1101,1102,3,224,112,0,1102,105,1,0,0,0, - 1103,1104,7,4,0,0,1104,1107,5,33,0,0,1105,1106,5,78,0,0,1106,1108, - 5,56,0,0,1107,1105,1,0,0,0,1107,1108,1,0,0,0,1108,1109,1,0,0,0,1109, - 1111,3,234,117,0,1110,1112,3,66,33,0,1111,1110,1,0,0,0,1111,1112, - 1,0,0,0,1112,1135,1,0,0,0,1113,1120,7,4,0,0,1114,1121,5,46,0,0,1115, - 1117,5,164,0,0,1116,1115,1,0,0,0,1116,1117,1,0,0,0,1117,1118,1,0, - 0,0,1118,1121,5,162,0,0,1119,1121,5,186,0,0,1120,1114,1,0,0,0,1120, - 1116,1,0,0,0,1120,1119,1,0,0,0,1121,1124,1,0,0,0,1122,1123,5,78, - 0,0,1123,1125,5,56,0,0,1124,1122,1,0,0,0,1124,1125,1,0,0,0,1125, - 1126,1,0,0,0,1126,1128,3,228,114,0,1127,1129,3,66,33,0,1128,1127, - 1,0,0,0,1128,1129,1,0,0,0,1129,1132,1,0,0,0,1130,1131,5,114,0,0, - 1131,1133,5,39,0,0,1132,1130,1,0,0,0,1132,1133,1,0,0,0,1133,1135, - 1,0,0,0,1134,1103,1,0,0,0,1134,1113,1,0,0,0,1135,107,1,0,0,0,1136, - 1137,5,56,0,0,1137,1138,5,33,0,0,1138,1150,3,234,117,0,1139,1146, - 5,56,0,0,1140,1147,5,46,0,0,1141,1143,5,164,0,0,1142,1141,1,0,0, - 0,1142,1143,1,0,0,0,1143,1144,1,0,0,0,1144,1147,5,162,0,0,1145,1147, - 5,186,0,0,1146,1140,1,0,0,0,1146,1142,1,0,0,0,1146,1145,1,0,0,0, - 1146,1147,1,0,0,0,1147,1148,1,0,0,0,1148,1150,3,228,114,0,1149,1136, - 1,0,0,0,1149,1139,1,0,0,0,1150,109,1,0,0,0,1151,1152,5,57,0,0,1152, - 1173,3,6,3,0,1153,1154,5,57,0,0,1154,1155,5,13,0,0,1155,1173,3,6, - 3,0,1156,1157,5,57,0,0,1157,1158,5,160,0,0,1158,1173,3,6,3,0,1159, - 1160,5,57,0,0,1160,1161,5,127,0,0,1161,1173,3,6,3,0,1162,1163,5, - 57,0,0,1163,1164,5,128,0,0,1164,1173,3,6,3,0,1165,1166,5,57,0,0, - 1166,1167,5,135,0,0,1167,1168,5,175,0,0,1168,1173,3,6,3,0,1169,1170, - 5,57,0,0,1170,1171,5,54,0,0,1171,1173,3,6,3,0,1172,1151,1,0,0,0, - 1172,1153,1,0,0,0,1172,1156,1,0,0,0,1172,1159,1,0,0,0,1172,1162, - 1,0,0,0,1172,1165,1,0,0,0,1172,1169,1,0,0,0,1173,111,1,0,0,0,1174, - 1175,5,85,0,0,1175,1177,5,87,0,0,1176,1178,5,162,0,0,1177,1176,1, - 0,0,0,1177,1178,1,0,0,0,1178,1182,1,0,0,0,1179,1183,3,228,114,0, - 1180,1181,5,70,0,0,1181,1183,3,226,113,0,1182,1179,1,0,0,0,1182, - 1180,1,0,0,0,1183,1185,1,0,0,0,1184,1186,3,114,57,0,1185,1184,1, - 0,0,0,1185,1186,1,0,0,0,1186,1187,1,0,0,0,1187,1188,3,116,58,0,1188, - 113,1,0,0,0,1189,1190,5,219,0,0,1190,1195,3,222,111,0,1191,1192, - 5,208,0,0,1192,1194,3,222,111,0,1193,1191,1,0,0,0,1194,1197,1,0, - 0,0,1195,1193,1,0,0,0,1195,1196,1,0,0,0,1196,1198,1,0,0,0,1197,1195, - 1,0,0,0,1198,1199,5,229,0,0,1199,115,1,0,0,0,1200,1201,5,66,0,0, - 1201,1210,3,250,125,0,1202,1210,3,118,59,0,1203,1205,3,128,64,0, - 1204,1206,5,230,0,0,1205,1204,1,0,0,0,1205,1206,1,0,0,0,1206,1207, - 1,0,0,0,1207,1208,5,0,0,1,1208,1210,1,0,0,0,1209,1200,1,0,0,0,1209, - 1202,1,0,0,0,1209,1203,1,0,0,0,1210,117,1,0,0,0,1211,1212,5,185, - 0,0,1212,1214,5,219,0,0,1213,1215,3,240,120,0,1214,1213,1,0,0,0, - 1214,1215,1,0,0,0,1215,1216,1,0,0,0,1216,1225,5,229,0,0,1217,1218, - 5,208,0,0,1218,1220,5,219,0,0,1219,1221,3,240,120,0,1220,1219,1, - 0,0,0,1220,1221,1,0,0,0,1221,1222,1,0,0,0,1222,1224,5,229,0,0,1223, - 1217,1,0,0,0,1224,1227,1,0,0,0,1225,1223,1,0,0,0,1225,1226,1,0,0, - 0,1226,119,1,0,0,0,1227,1225,1,0,0,0,1228,1229,5,92,0,0,1229,1231, - 5,112,0,0,1230,1232,3,66,33,0,1231,1230,1,0,0,0,1231,1232,1,0,0, - 0,1232,1233,1,0,0,0,1233,1235,3,146,73,0,1234,1236,7,5,0,0,1235, - 1234,1,0,0,0,1235,1236,1,0,0,0,1236,121,1,0,0,0,1237,1238,5,120, - 0,0,1238,1239,5,162,0,0,1239,1241,3,228,114,0,1240,1242,3,66,33, - 0,1241,1240,1,0,0,0,1241,1242,1,0,0,0,1242,1244,1,0,0,0,1243,1245, - 3,24,12,0,1244,1243,1,0,0,0,1244,1245,1,0,0,0,1245,1247,1,0,0,0, - 1246,1248,5,61,0,0,1247,1246,1,0,0,0,1247,1248,1,0,0,0,1248,1250, - 1,0,0,0,1249,1251,5,37,0,0,1250,1249,1,0,0,0,1250,1251,1,0,0,0,1251, - 123,1,0,0,0,1252,1253,5,139,0,0,1253,1254,5,162,0,0,1254,1255,3, - 228,114,0,1255,1256,5,170,0,0,1256,1264,3,228,114,0,1257,1258,5, - 208,0,0,1258,1259,3,228,114,0,1259,1260,5,170,0,0,1260,1261,3,228, - 114,0,1261,1263,1,0,0,0,1262,1257,1,0,0,0,1263,1266,1,0,0,0,1264, - 1262,1,0,0,0,1264,1265,1,0,0,0,1265,1268,1,0,0,0,1266,1264,1,0,0, - 0,1267,1269,3,66,33,0,1268,1267,1,0,0,0,1268,1269,1,0,0,0,1269,125, - 1,0,0,0,1270,1272,5,219,0,0,1271,1273,3,134,67,0,1272,1271,1,0,0, - 0,1272,1273,1,0,0,0,1273,1274,1,0,0,0,1274,1275,5,149,0,0,1275,1277, - 3,210,105,0,1276,1278,3,148,74,0,1277,1276,1,0,0,0,1277,1278,1,0, - 0,0,1278,1280,1,0,0,0,1279,1281,3,154,77,0,1280,1279,1,0,0,0,1280, - 1281,1,0,0,0,1281,1282,1,0,0,0,1282,1283,5,229,0,0,1283,127,1,0, - 0,0,1284,1290,3,130,65,0,1285,1286,5,180,0,0,1286,1287,5,4,0,0,1287, - 1289,3,130,65,0,1288,1285,1,0,0,0,1289,1292,1,0,0,0,1290,1288,1, - 0,0,0,1290,1291,1,0,0,0,1291,129,1,0,0,0,1292,1290,1,0,0,0,1293, - 1299,3,132,66,0,1294,1295,5,219,0,0,1295,1296,3,128,64,0,1296,1297, - 5,229,0,0,1297,1299,1,0,0,0,1298,1293,1,0,0,0,1298,1294,1,0,0,0, - 1299,131,1,0,0,0,1300,1302,3,134,67,0,1301,1300,1,0,0,0,1301,1302, - 1,0,0,0,1302,1303,1,0,0,0,1303,1305,5,149,0,0,1304,1306,5,48,0,0, - 1305,1304,1,0,0,0,1305,1306,1,0,0,0,1306,1308,1,0,0,0,1307,1309, - 3,136,68,0,1308,1307,1,0,0,0,1308,1309,1,0,0,0,1309,1310,1,0,0,0, - 1310,1312,3,210,105,0,1311,1313,3,138,69,0,1312,1311,1,0,0,0,1312, - 1313,1,0,0,0,1313,1315,1,0,0,0,1314,1316,3,140,70,0,1315,1314,1, - 0,0,0,1315,1316,1,0,0,0,1316,1318,1,0,0,0,1317,1319,3,142,71,0,1318, - 1317,1,0,0,0,1318,1319,1,0,0,0,1319,1321,1,0,0,0,1320,1322,3,144, - 72,0,1321,1320,1,0,0,0,1321,1322,1,0,0,0,1322,1324,1,0,0,0,1323, - 1325,3,146,73,0,1324,1323,1,0,0,0,1324,1325,1,0,0,0,1325,1327,1, - 0,0,0,1326,1328,3,148,74,0,1327,1326,1,0,0,0,1327,1328,1,0,0,0,1328, - 1331,1,0,0,0,1329,1330,5,193,0,0,1330,1332,7,6,0,0,1331,1329,1,0, - 0,0,1331,1332,1,0,0,0,1332,1335,1,0,0,0,1333,1334,5,193,0,0,1334, - 1336,5,172,0,0,1335,1333,1,0,0,0,1335,1336,1,0,0,0,1336,1338,1,0, - 0,0,1337,1339,3,150,75,0,1338,1337,1,0,0,0,1338,1339,1,0,0,0,1339, - 1341,1,0,0,0,1340,1342,3,152,76,0,1341,1340,1,0,0,0,1341,1342,1, - 0,0,0,1342,1344,1,0,0,0,1343,1345,3,156,78,0,1344,1343,1,0,0,0,1344, - 1345,1,0,0,0,1345,1347,1,0,0,0,1346,1348,3,158,79,0,1347,1346,1, - 0,0,0,1347,1348,1,0,0,0,1348,1350,1,0,0,0,1349,1351,3,160,80,0,1350, - 1349,1,0,0,0,1350,1351,1,0,0,0,1351,133,1,0,0,0,1352,1353,5,193, - 0,0,1353,1354,3,210,105,0,1354,135,1,0,0,0,1355,1356,5,171,0,0,1356, - 1359,5,200,0,0,1357,1358,5,193,0,0,1358,1360,5,167,0,0,1359,1357, - 1,0,0,0,1359,1360,1,0,0,0,1360,137,1,0,0,0,1361,1362,5,68,0,0,1362, - 1363,3,162,81,0,1363,139,1,0,0,0,1364,1366,7,7,0,0,1365,1364,1,0, - 0,0,1365,1366,1,0,0,0,1366,1367,1,0,0,0,1367,1368,5,9,0,0,1368,1369, - 5,90,0,0,1369,1370,3,210,105,0,1370,141,1,0,0,0,1371,1372,5,192, - 0,0,1372,1373,3,250,125,0,1373,1374,5,10,0,0,1374,1375,5,219,0,0, - 1375,1376,3,184,92,0,1376,1377,5,229,0,0,1377,143,1,0,0,0,1378,1379, - 5,131,0,0,1379,1380,3,214,107,0,1380,145,1,0,0,0,1381,1382,5,191, - 0,0,1382,1383,3,214,107,0,1383,147,1,0,0,0,1384,1385,5,73,0,0,1385, - 1392,5,18,0,0,1386,1387,7,6,0,0,1387,1388,5,219,0,0,1388,1389,3, - 210,105,0,1389,1390,5,229,0,0,1390,1393,1,0,0,0,1391,1393,3,210, - 105,0,1392,1386,1,0,0,0,1392,1391,1,0,0,0,1393,149,1,0,0,0,1394, - 1395,5,74,0,0,1395,1396,3,214,107,0,1396,151,1,0,0,0,1397,1398,5, - 122,0,0,1398,1399,5,18,0,0,1399,1400,3,174,87,0,1400,153,1,0,0,0, - 1401,1402,5,122,0,0,1402,1403,5,18,0,0,1403,1404,3,210,105,0,1404, - 155,1,0,0,0,1405,1406,5,99,0,0,1406,1407,3,172,86,0,1407,1408,5, - 18,0,0,1408,1409,3,210,105,0,1409,157,1,0,0,0,1410,1411,5,99,0,0, - 1411,1414,3,172,86,0,1412,1413,5,193,0,0,1413,1415,5,167,0,0,1414, - 1412,1,0,0,0,1414,1415,1,0,0,0,1415,159,1,0,0,0,1416,1417,5,153, - 0,0,1417,1418,3,180,90,0,1418,161,1,0,0,0,1419,1420,6,81,-1,0,1420, - 1422,3,224,112,0,1421,1423,5,61,0,0,1422,1421,1,0,0,0,1422,1423, - 1,0,0,0,1423,1425,1,0,0,0,1424,1426,3,170,85,0,1425,1424,1,0,0,0, - 1425,1426,1,0,0,0,1426,1432,1,0,0,0,1427,1428,5,219,0,0,1428,1429, - 3,162,81,0,1429,1430,5,229,0,0,1430,1432,1,0,0,0,1431,1419,1,0,0, - 0,1431,1427,1,0,0,0,1432,1450,1,0,0,0,1433,1434,10,3,0,0,1434,1435, - 3,166,83,0,1435,1436,3,162,81,4,1436,1449,1,0,0,0,1437,1439,10,4, - 0,0,1438,1440,7,8,0,0,1439,1438,1,0,0,0,1439,1440,1,0,0,0,1440,1442, - 1,0,0,0,1441,1443,3,164,82,0,1442,1441,1,0,0,0,1442,1443,1,0,0,0, - 1443,1444,1,0,0,0,1444,1445,5,90,0,0,1445,1446,3,162,81,0,1446,1447, - 3,168,84,0,1447,1449,1,0,0,0,1448,1433,1,0,0,0,1448,1437,1,0,0,0, - 1449,1452,1,0,0,0,1450,1448,1,0,0,0,1450,1451,1,0,0,0,1451,163,1, - 0,0,0,1452,1450,1,0,0,0,1453,1455,7,9,0,0,1454,1453,1,0,0,0,1454, - 1455,1,0,0,0,1455,1456,1,0,0,0,1456,1463,5,84,0,0,1457,1459,5,84, - 0,0,1458,1460,7,9,0,0,1459,1458,1,0,0,0,1459,1460,1,0,0,0,1460,1463, - 1,0,0,0,1461,1463,7,9,0,0,1462,1454,1,0,0,0,1462,1457,1,0,0,0,1462, - 1461,1,0,0,0,1463,1497,1,0,0,0,1464,1466,7,10,0,0,1465,1464,1,0, - 0,0,1465,1466,1,0,0,0,1466,1467,1,0,0,0,1467,1469,7,11,0,0,1468, - 1470,5,123,0,0,1469,1468,1,0,0,0,1469,1470,1,0,0,0,1470,1479,1,0, - 0,0,1471,1473,7,11,0,0,1472,1474,5,123,0,0,1473,1472,1,0,0,0,1473, - 1474,1,0,0,0,1474,1476,1,0,0,0,1475,1477,7,10,0,0,1476,1475,1,0, - 0,0,1476,1477,1,0,0,0,1477,1479,1,0,0,0,1478,1465,1,0,0,0,1478,1471, - 1,0,0,0,1479,1497,1,0,0,0,1480,1482,7,12,0,0,1481,1480,1,0,0,0,1481, - 1482,1,0,0,0,1482,1483,1,0,0,0,1483,1485,5,69,0,0,1484,1486,5,123, - 0,0,1485,1484,1,0,0,0,1485,1486,1,0,0,0,1486,1495,1,0,0,0,1487,1489, - 5,69,0,0,1488,1490,5,123,0,0,1489,1488,1,0,0,0,1489,1490,1,0,0,0, - 1490,1492,1,0,0,0,1491,1493,7,12,0,0,1492,1491,1,0,0,0,1492,1493, - 1,0,0,0,1493,1495,1,0,0,0,1494,1481,1,0,0,0,1494,1487,1,0,0,0,1495, - 1497,1,0,0,0,1496,1462,1,0,0,0,1496,1478,1,0,0,0,1496,1494,1,0,0, - 0,1497,165,1,0,0,0,1498,1500,7,8,0,0,1499,1498,1,0,0,0,1499,1500, - 1,0,0,0,1500,1501,1,0,0,0,1501,1502,5,30,0,0,1502,1505,5,90,0,0, - 1503,1505,5,208,0,0,1504,1499,1,0,0,0,1504,1503,1,0,0,0,1505,167, - 1,0,0,0,1506,1507,5,119,0,0,1507,1516,3,210,105,0,1508,1509,5,183, - 0,0,1509,1510,5,219,0,0,1510,1511,3,210,105,0,1511,1512,5,229,0, - 0,1512,1516,1,0,0,0,1513,1514,5,183,0,0,1514,1516,3,210,105,0,1515, - 1506,1,0,0,0,1515,1508,1,0,0,0,1515,1513,1,0,0,0,1516,169,1,0,0, - 0,1517,1518,5,147,0,0,1518,1521,3,178,89,0,1519,1520,5,118,0,0,1520, - 1522,3,178,89,0,1521,1519,1,0,0,0,1521,1522,1,0,0,0,1522,171,1,0, - 0,0,1523,1526,3,214,107,0,1524,1525,7,13,0,0,1525,1527,3,214,107, - 0,1526,1524,1,0,0,0,1526,1527,1,0,0,0,1527,173,1,0,0,0,1528,1533, - 3,176,88,0,1529,1530,5,208,0,0,1530,1532,3,176,88,0,1531,1529,1, - 0,0,0,1532,1535,1,0,0,0,1533,1531,1,0,0,0,1533,1534,1,0,0,0,1534, - 175,1,0,0,0,1535,1533,1,0,0,0,1536,1538,3,214,107,0,1537,1539,7, - 14,0,0,1538,1537,1,0,0,0,1538,1539,1,0,0,0,1539,1542,1,0,0,0,1540, - 1541,5,117,0,0,1541,1543,7,15,0,0,1542,1540,1,0,0,0,1542,1543,1, - 0,0,0,1543,1546,1,0,0,0,1544,1545,5,25,0,0,1545,1547,5,202,0,0,1546, - 1544,1,0,0,0,1546,1547,1,0,0,0,1547,177,1,0,0,0,1548,1551,3,238, - 119,0,1549,1550,5,231,0,0,1550,1552,3,238,119,0,1551,1549,1,0,0, - 0,1551,1552,1,0,0,0,1552,179,1,0,0,0,1553,1558,3,182,91,0,1554,1555, - 5,208,0,0,1555,1557,3,182,91,0,1556,1554,1,0,0,0,1557,1560,1,0,0, - 0,1558,1556,1,0,0,0,1558,1559,1,0,0,0,1559,181,1,0,0,0,1560,1558, - 1,0,0,0,1561,1562,3,250,125,0,1562,1563,5,213,0,0,1563,1564,3,240, - 120,0,1564,183,1,0,0,0,1565,1567,3,186,93,0,1566,1565,1,0,0,0,1566, - 1567,1,0,0,0,1567,1569,1,0,0,0,1568,1570,3,188,94,0,1569,1568,1, - 0,0,0,1569,1570,1,0,0,0,1570,1572,1,0,0,0,1571,1573,3,190,95,0,1572, - 1571,1,0,0,0,1572,1573,1,0,0,0,1573,185,1,0,0,0,1574,1575,5,126, - 0,0,1575,1576,5,18,0,0,1576,1577,3,210,105,0,1577,187,1,0,0,0,1578, - 1579,5,122,0,0,1579,1580,5,18,0,0,1580,1581,3,174,87,0,1581,189, - 1,0,0,0,1582,1583,7,16,0,0,1583,1584,3,192,96,0,1584,191,1,0,0,0, - 1585,1592,3,194,97,0,1586,1587,5,16,0,0,1587,1588,3,194,97,0,1588, - 1589,5,6,0,0,1589,1590,3,194,97,0,1590,1592,1,0,0,0,1591,1585,1, - 0,0,0,1591,1586,1,0,0,0,1592,193,1,0,0,0,1593,1594,5,32,0,0,1594, - 1606,5,145,0,0,1595,1596,5,179,0,0,1596,1606,5,130,0,0,1597,1598, - 5,179,0,0,1598,1606,5,64,0,0,1599,1600,3,238,119,0,1600,1601,5,130, - 0,0,1601,1606,1,0,0,0,1602,1603,3,238,119,0,1603,1604,5,64,0,0,1604, - 1606,1,0,0,0,1605,1593,1,0,0,0,1605,1595,1,0,0,0,1605,1597,1,0,0, - 0,1605,1599,1,0,0,0,1605,1602,1,0,0,0,1606,195,1,0,0,0,1607,1608, - 5,152,0,0,1608,1609,3,180,90,0,1609,197,1,0,0,0,1610,1611,5,154, - 0,0,1611,1612,5,29,0,0,1612,1613,5,33,0,0,1613,1653,3,234,117,0, - 1614,1615,5,154,0,0,1615,1616,5,29,0,0,1616,1617,5,46,0,0,1617,1653, - 3,228,114,0,1618,1619,5,154,0,0,1619,1621,5,29,0,0,1620,1622,5,164, - 0,0,1621,1620,1,0,0,0,1621,1622,1,0,0,0,1622,1624,1,0,0,0,1623,1625, - 5,162,0,0,1624,1623,1,0,0,0,1624,1625,1,0,0,0,1625,1626,1,0,0,0, - 1626,1653,3,228,114,0,1627,1628,5,154,0,0,1628,1653,5,34,0,0,1629, - 1630,5,154,0,0,1630,1633,5,45,0,0,1631,1632,5,68,0,0,1632,1634,3, - 234,117,0,1633,1631,1,0,0,0,1633,1634,1,0,0,0,1634,1653,1,0,0,0, - 1635,1637,5,154,0,0,1636,1638,5,164,0,0,1637,1636,1,0,0,0,1637,1638, - 1,0,0,0,1638,1639,1,0,0,0,1639,1642,5,163,0,0,1640,1641,7,17,0,0, - 1641,1643,3,234,117,0,1642,1640,1,0,0,0,1642,1643,1,0,0,0,1643,1647, - 1,0,0,0,1644,1645,5,98,0,0,1645,1648,5,202,0,0,1646,1648,3,146,73, - 0,1647,1644,1,0,0,0,1647,1646,1,0,0,0,1647,1648,1,0,0,0,1648,1650, - 1,0,0,0,1649,1651,3,158,79,0,1650,1649,1,0,0,0,1650,1651,1,0,0,0, - 1651,1653,1,0,0,0,1652,1610,1,0,0,0,1652,1614,1,0,0,0,1652,1618, - 1,0,0,0,1652,1627,1,0,0,0,1652,1629,1,0,0,0,1652,1635,1,0,0,0,1653, - 199,1,0,0,0,1654,1655,5,161,0,0,1655,1656,5,63,0,0,1656,1657,5,49, - 0,0,1657,1689,3,228,114,0,1658,1659,5,161,0,0,1659,1660,5,63,0,0, - 1660,1689,5,102,0,0,1661,1662,5,161,0,0,1662,1663,5,137,0,0,1663, - 1689,5,45,0,0,1664,1665,5,161,0,0,1665,1666,5,137,0,0,1666,1667, - 5,46,0,0,1667,1689,3,228,114,0,1668,1669,5,161,0,0,1669,1677,7,18, - 0,0,1670,1671,5,49,0,0,1671,1678,5,151,0,0,1672,1678,5,60,0,0,1673, - 1675,5,177,0,0,1674,1673,1,0,0,0,1674,1675,1,0,0,0,1675,1676,1,0, - 0,0,1676,1678,5,106,0,0,1677,1670,1,0,0,0,1677,1672,1,0,0,0,1677, - 1674,1,0,0,0,1678,1679,1,0,0,0,1679,1689,3,228,114,0,1680,1681,5, - 161,0,0,1681,1682,7,18,0,0,1682,1683,5,142,0,0,1683,1689,5,151,0, - 0,1684,1685,5,161,0,0,1685,1686,5,159,0,0,1686,1687,5,141,0,0,1687, - 1689,3,228,114,0,1688,1654,1,0,0,0,1688,1658,1,0,0,0,1688,1661,1, - 0,0,0,1688,1664,1,0,0,0,1688,1668,1,0,0,0,1688,1680,1,0,0,0,1688, - 1684,1,0,0,0,1689,201,1,0,0,0,1690,1692,5,176,0,0,1691,1693,5,164, - 0,0,1692,1691,1,0,0,0,1692,1693,1,0,0,0,1693,1695,1,0,0,0,1694,1696, - 5,162,0,0,1695,1694,1,0,0,0,1695,1696,1,0,0,0,1696,1699,1,0,0,0, - 1697,1698,5,78,0,0,1698,1700,5,56,0,0,1699,1697,1,0,0,0,1699,1700, - 1,0,0,0,1700,1701,1,0,0,0,1701,1703,3,228,114,0,1702,1704,3,66,33, - 0,1703,1702,1,0,0,0,1703,1704,1,0,0,0,1704,203,1,0,0,0,1705,1706, - 5,182,0,0,1706,1707,3,234,117,0,1707,205,1,0,0,0,1708,1709,5,188, - 0,0,1709,1711,3,228,114,0,1710,1712,5,55,0,0,1711,1710,1,0,0,0,1711, - 1712,1,0,0,0,1712,1715,1,0,0,0,1713,1714,5,99,0,0,1714,1716,5,200, - 0,0,1715,1713,1,0,0,0,1715,1716,1,0,0,0,1716,207,1,0,0,0,1717,1765, - 3,250,125,0,1718,1719,3,250,125,0,1719,1720,5,219,0,0,1720,1721, - 3,250,125,0,1721,1728,3,208,104,0,1722,1723,5,208,0,0,1723,1724, - 3,250,125,0,1724,1725,3,208,104,0,1725,1727,1,0,0,0,1726,1722,1, - 0,0,0,1727,1730,1,0,0,0,1728,1726,1,0,0,0,1728,1729,1,0,0,0,1729, - 1731,1,0,0,0,1730,1728,1,0,0,0,1731,1732,5,229,0,0,1732,1765,1,0, - 0,0,1733,1734,3,250,125,0,1734,1735,5,219,0,0,1735,1740,3,254,127, - 0,1736,1737,5,208,0,0,1737,1739,3,254,127,0,1738,1736,1,0,0,0,1739, - 1742,1,0,0,0,1740,1738,1,0,0,0,1740,1741,1,0,0,0,1741,1743,1,0,0, - 0,1742,1740,1,0,0,0,1743,1744,5,229,0,0,1744,1765,1,0,0,0,1745,1746, - 3,250,125,0,1746,1747,5,219,0,0,1747,1752,3,208,104,0,1748,1749, - 5,208,0,0,1749,1751,3,208,104,0,1750,1748,1,0,0,0,1751,1754,1,0, - 0,0,1752,1750,1,0,0,0,1752,1753,1,0,0,0,1753,1755,1,0,0,0,1754,1752, - 1,0,0,0,1755,1756,5,229,0,0,1756,1765,1,0,0,0,1757,1758,3,250,125, - 0,1758,1760,5,219,0,0,1759,1761,3,210,105,0,1760,1759,1,0,0,0,1760, - 1761,1,0,0,0,1761,1762,1,0,0,0,1762,1763,5,229,0,0,1763,1765,1,0, - 0,0,1764,1717,1,0,0,0,1764,1718,1,0,0,0,1764,1733,1,0,0,0,1764,1745, - 1,0,0,0,1764,1757,1,0,0,0,1765,209,1,0,0,0,1766,1771,3,212,106,0, - 1767,1768,5,208,0,0,1768,1770,3,212,106,0,1769,1767,1,0,0,0,1770, - 1773,1,0,0,0,1771,1769,1,0,0,0,1771,1772,1,0,0,0,1772,211,1,0,0, - 0,1773,1771,1,0,0,0,1774,1775,3,228,114,0,1775,1776,5,211,0,0,1776, - 1778,1,0,0,0,1777,1774,1,0,0,0,1777,1778,1,0,0,0,1778,1779,1,0,0, - 0,1779,1786,5,204,0,0,1780,1781,5,219,0,0,1781,1782,3,128,64,0,1782, - 1783,5,229,0,0,1783,1786,1,0,0,0,1784,1786,3,214,107,0,1785,1777, - 1,0,0,0,1785,1780,1,0,0,0,1785,1784,1,0,0,0,1786,213,1,0,0,0,1787, - 1788,6,107,-1,0,1788,1790,5,19,0,0,1789,1791,3,214,107,0,1790,1789, - 1,0,0,0,1790,1791,1,0,0,0,1791,1797,1,0,0,0,1792,1793,5,190,0,0, - 1793,1794,3,214,107,0,1794,1795,5,166,0,0,1795,1796,3,214,107,0, - 1796,1798,1,0,0,0,1797,1792,1,0,0,0,1798,1799,1,0,0,0,1799,1797, - 1,0,0,0,1799,1800,1,0,0,0,1800,1803,1,0,0,0,1801,1802,5,51,0,0,1802, - 1804,3,214,107,0,1803,1801,1,0,0,0,1803,1804,1,0,0,0,1804,1805,1, - 0,0,0,1805,1806,5,52,0,0,1806,1917,1,0,0,0,1807,1808,5,20,0,0,1808, - 1809,5,219,0,0,1809,1810,3,214,107,0,1810,1811,5,10,0,0,1811,1812, - 3,208,104,0,1812,1813,5,229,0,0,1813,1917,1,0,0,0,1814,1815,5,35, - 0,0,1815,1917,5,202,0,0,1816,1817,5,59,0,0,1817,1818,5,219,0,0,1818, - 1819,3,242,121,0,1819,1820,5,68,0,0,1820,1821,3,214,107,0,1821,1822, - 5,229,0,0,1822,1917,1,0,0,0,1823,1824,5,86,0,0,1824,1825,3,214,107, - 0,1825,1826,3,242,121,0,1826,1917,1,0,0,0,1827,1828,5,158,0,0,1828, - 1829,5,219,0,0,1829,1830,3,214,107,0,1830,1831,5,68,0,0,1831,1834, - 3,214,107,0,1832,1833,5,65,0,0,1833,1835,3,214,107,0,1834,1832,1, - 0,0,0,1834,1835,1,0,0,0,1835,1836,1,0,0,0,1836,1837,5,229,0,0,1837, - 1917,1,0,0,0,1838,1839,5,169,0,0,1839,1917,5,202,0,0,1840,1841,5, - 174,0,0,1841,1842,5,219,0,0,1842,1843,7,19,0,0,1843,1844,5,202,0, - 0,1844,1845,5,68,0,0,1845,1846,3,214,107,0,1846,1847,5,229,0,0,1847, - 1917,1,0,0,0,1848,1849,3,250,125,0,1849,1851,5,219,0,0,1850,1852, - 3,210,105,0,1851,1850,1,0,0,0,1851,1852,1,0,0,0,1852,1853,1,0,0, - 0,1853,1854,5,229,0,0,1854,1855,1,0,0,0,1855,1856,5,125,0,0,1856, - 1857,5,219,0,0,1857,1858,3,184,92,0,1858,1859,5,229,0,0,1859,1917, - 1,0,0,0,1860,1861,3,250,125,0,1861,1863,5,219,0,0,1862,1864,3,210, - 105,0,1863,1862,1,0,0,0,1863,1864,1,0,0,0,1864,1865,1,0,0,0,1865, - 1866,5,229,0,0,1866,1867,1,0,0,0,1867,1868,5,125,0,0,1868,1869,3, - 250,125,0,1869,1917,1,0,0,0,1870,1876,3,250,125,0,1871,1873,5,219, - 0,0,1872,1874,3,210,105,0,1873,1872,1,0,0,0,1873,1874,1,0,0,0,1874, - 1875,1,0,0,0,1875,1877,5,229,0,0,1876,1871,1,0,0,0,1876,1877,1,0, - 0,0,1877,1878,1,0,0,0,1878,1880,5,219,0,0,1879,1881,5,48,0,0,1880, - 1879,1,0,0,0,1880,1881,1,0,0,0,1881,1883,1,0,0,0,1882,1884,3,216, - 108,0,1883,1882,1,0,0,0,1883,1884,1,0,0,0,1884,1885,1,0,0,0,1885, - 1886,5,229,0,0,1886,1917,1,0,0,0,1887,1917,3,240,120,0,1888,1889, - 5,210,0,0,1889,1917,3,214,107,17,1890,1891,5,115,0,0,1891,1917,3, - 214,107,12,1892,1893,3,228,114,0,1893,1894,5,211,0,0,1894,1896,1, - 0,0,0,1895,1892,1,0,0,0,1895,1896,1,0,0,0,1896,1897,1,0,0,0,1897, - 1917,5,204,0,0,1898,1899,5,219,0,0,1899,1900,3,128,64,0,1900,1901, - 5,229,0,0,1901,1917,1,0,0,0,1902,1903,5,219,0,0,1903,1904,3,214, - 107,0,1904,1905,5,229,0,0,1905,1917,1,0,0,0,1906,1907,5,219,0,0, - 1907,1908,3,210,105,0,1908,1909,5,229,0,0,1909,1917,1,0,0,0,1910, - 1912,5,217,0,0,1911,1913,3,210,105,0,1912,1911,1,0,0,0,1912,1913, - 1,0,0,0,1913,1914,1,0,0,0,1914,1917,5,228,0,0,1915,1917,3,222,111, - 0,1916,1787,1,0,0,0,1916,1807,1,0,0,0,1916,1814,1,0,0,0,1916,1816, - 1,0,0,0,1916,1823,1,0,0,0,1916,1827,1,0,0,0,1916,1838,1,0,0,0,1916, - 1840,1,0,0,0,1916,1848,1,0,0,0,1916,1860,1,0,0,0,1916,1870,1,0,0, - 0,1916,1887,1,0,0,0,1916,1888,1,0,0,0,1916,1890,1,0,0,0,1916,1895, - 1,0,0,0,1916,1898,1,0,0,0,1916,1902,1,0,0,0,1916,1906,1,0,0,0,1916, - 1910,1,0,0,0,1916,1915,1,0,0,0,1917,1989,1,0,0,0,1918,1919,10,16, - 0,0,1919,1920,7,20,0,0,1920,1988,3,214,107,17,1921,1922,10,15,0, - 0,1922,1923,7,21,0,0,1923,1988,3,214,107,16,1924,1943,10,14,0,0, - 1925,1944,5,212,0,0,1926,1944,5,213,0,0,1927,1944,5,221,0,0,1928, - 1944,5,218,0,0,1929,1944,5,214,0,0,1930,1944,5,220,0,0,1931,1944, - 5,215,0,0,1932,1934,5,71,0,0,1933,1932,1,0,0,0,1933,1934,1,0,0,0, - 1934,1936,1,0,0,0,1935,1937,5,115,0,0,1936,1935,1,0,0,0,1936,1937, - 1,0,0,0,1937,1938,1,0,0,0,1938,1944,5,80,0,0,1939,1941,5,115,0,0, - 1940,1939,1,0,0,0,1940,1941,1,0,0,0,1941,1942,1,0,0,0,1942,1944, - 7,22,0,0,1943,1925,1,0,0,0,1943,1926,1,0,0,0,1943,1927,1,0,0,0,1943, - 1928,1,0,0,0,1943,1929,1,0,0,0,1943,1930,1,0,0,0,1943,1931,1,0,0, - 0,1943,1933,1,0,0,0,1943,1940,1,0,0,0,1944,1945,1,0,0,0,1945,1988, - 3,214,107,15,1946,1947,10,11,0,0,1947,1948,5,6,0,0,1948,1988,3,214, - 107,12,1949,1950,10,10,0,0,1950,1951,5,121,0,0,1951,1988,3,214,107, - 11,1952,1954,10,9,0,0,1953,1955,5,115,0,0,1954,1953,1,0,0,0,1954, - 1955,1,0,0,0,1955,1956,1,0,0,0,1956,1957,5,16,0,0,1957,1958,3,214, - 107,0,1958,1959,5,6,0,0,1959,1960,3,214,107,10,1960,1988,1,0,0,0, - 1961,1962,10,8,0,0,1962,1963,5,224,0,0,1963,1964,3,214,107,0,1964, - 1965,5,207,0,0,1965,1966,3,214,107,8,1966,1988,1,0,0,0,1967,1968, - 10,19,0,0,1968,1969,5,217,0,0,1969,1970,3,214,107,0,1970,1971,5, - 228,0,0,1971,1988,1,0,0,0,1972,1973,10,18,0,0,1973,1974,5,211,0, - 0,1974,1988,5,200,0,0,1975,1976,10,13,0,0,1976,1978,5,88,0,0,1977, - 1979,5,115,0,0,1978,1977,1,0,0,0,1978,1979,1,0,0,0,1979,1980,1,0, - 0,0,1980,1988,5,116,0,0,1981,1985,10,7,0,0,1982,1986,3,248,124,0, - 1983,1984,5,10,0,0,1984,1986,3,250,125,0,1985,1982,1,0,0,0,1985, - 1983,1,0,0,0,1986,1988,1,0,0,0,1987,1918,1,0,0,0,1987,1921,1,0,0, - 0,1987,1924,1,0,0,0,1987,1946,1,0,0,0,1987,1949,1,0,0,0,1987,1952, - 1,0,0,0,1987,1961,1,0,0,0,1987,1967,1,0,0,0,1987,1972,1,0,0,0,1987, - 1975,1,0,0,0,1987,1981,1,0,0,0,1988,1991,1,0,0,0,1989,1987,1,0,0, - 0,1989,1990,1,0,0,0,1990,215,1,0,0,0,1991,1989,1,0,0,0,1992,1997, - 3,218,109,0,1993,1994,5,208,0,0,1994,1996,3,218,109,0,1995,1993, - 1,0,0,0,1996,1999,1,0,0,0,1997,1995,1,0,0,0,1997,1998,1,0,0,0,1998, - 217,1,0,0,0,1999,1997,1,0,0,0,2000,2003,3,220,110,0,2001,2003,3, - 214,107,0,2002,2000,1,0,0,0,2002,2001,1,0,0,0,2003,219,1,0,0,0,2004, - 2005,5,219,0,0,2005,2010,3,250,125,0,2006,2007,5,208,0,0,2007,2009, - 3,250,125,0,2008,2006,1,0,0,0,2009,2012,1,0,0,0,2010,2008,1,0,0, - 0,2010,2011,1,0,0,0,2011,2013,1,0,0,0,2012,2010,1,0,0,0,2013,2014, - 5,229,0,0,2014,2024,1,0,0,0,2015,2020,3,250,125,0,2016,2017,5,208, - 0,0,2017,2019,3,250,125,0,2018,2016,1,0,0,0,2019,2022,1,0,0,0,2020, - 2018,1,0,0,0,2020,2021,1,0,0,0,2021,2024,1,0,0,0,2022,2020,1,0,0, - 0,2023,2004,1,0,0,0,2023,2015,1,0,0,0,2024,2025,1,0,0,0,2025,2026, - 5,203,0,0,2026,2027,3,214,107,0,2027,221,1,0,0,0,2028,2029,3,228, - 114,0,2029,2030,5,211,0,0,2030,2032,1,0,0,0,2031,2028,1,0,0,0,2031, - 2032,1,0,0,0,2032,2033,1,0,0,0,2033,2036,3,250,125,0,2034,2035,5, - 211,0,0,2035,2037,3,250,125,0,2036,2034,1,0,0,0,2036,2037,1,0,0, - 0,2037,223,1,0,0,0,2038,2039,6,112,-1,0,2039,2046,3,228,114,0,2040, - 2046,3,226,113,0,2041,2042,5,219,0,0,2042,2043,3,128,64,0,2043,2044, - 5,229,0,0,2044,2046,1,0,0,0,2045,2038,1,0,0,0,2045,2040,1,0,0,0, - 2045,2041,1,0,0,0,2046,2055,1,0,0,0,2047,2051,10,1,0,0,2048,2052, - 3,248,124,0,2049,2050,5,10,0,0,2050,2052,3,250,125,0,2051,2048,1, - 0,0,0,2051,2049,1,0,0,0,2052,2054,1,0,0,0,2053,2047,1,0,0,0,2054, - 2057,1,0,0,0,2055,2053,1,0,0,0,2055,2056,1,0,0,0,2056,225,1,0,0, - 0,2057,2055,1,0,0,0,2058,2059,3,250,125,0,2059,2061,5,219,0,0,2060, - 2062,3,230,115,0,2061,2060,1,0,0,0,2061,2062,1,0,0,0,2062,2063,1, - 0,0,0,2063,2064,5,229,0,0,2064,227,1,0,0,0,2065,2066,3,234,117,0, - 2066,2067,5,211,0,0,2067,2069,1,0,0,0,2068,2065,1,0,0,0,2068,2069, - 1,0,0,0,2069,2070,1,0,0,0,2070,2071,3,250,125,0,2071,229,1,0,0,0, - 2072,2077,3,232,116,0,2073,2074,5,208,0,0,2074,2076,3,232,116,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,231,1,0,0,0,2079,2077,1,0,0,0,2080,2084,3,222,111,0, - 2081,2084,3,226,113,0,2082,2084,3,240,120,0,2083,2080,1,0,0,0,2083, - 2081,1,0,0,0,2083,2082,1,0,0,0,2084,233,1,0,0,0,2085,2086,3,250, - 125,0,2086,235,1,0,0,0,2087,2096,5,198,0,0,2088,2089,5,211,0,0,2089, - 2096,7,23,0,0,2090,2091,5,200,0,0,2091,2093,5,211,0,0,2092,2094, - 7,23,0,0,2093,2092,1,0,0,0,2093,2094,1,0,0,0,2094,2096,1,0,0,0,2095, - 2087,1,0,0,0,2095,2088,1,0,0,0,2095,2090,1,0,0,0,2096,237,1,0,0, - 0,2097,2099,7,24,0,0,2098,2097,1,0,0,0,2098,2099,1,0,0,0,2099,2106, - 1,0,0,0,2100,2107,3,236,118,0,2101,2107,5,199,0,0,2102,2107,5,200, - 0,0,2103,2107,5,201,0,0,2104,2107,5,82,0,0,2105,2107,5,113,0,0,2106, - 2100,1,0,0,0,2106,2101,1,0,0,0,2106,2102,1,0,0,0,2106,2103,1,0,0, - 0,2106,2104,1,0,0,0,2106,2105,1,0,0,0,2107,239,1,0,0,0,2108,2112, - 3,238,119,0,2109,2112,5,202,0,0,2110,2112,5,116,0,0,2111,2108,1, - 0,0,0,2111,2109,1,0,0,0,2111,2110,1,0,0,0,2112,241,1,0,0,0,2113, - 2114,7,25,0,0,2114,243,1,0,0,0,2115,2116,7,26,0,0,2116,245,1,0,0, - 0,2117,2118,7,27,0,0,2118,247,1,0,0,0,2119,2122,5,197,0,0,2120,2122, - 3,246,123,0,2121,2119,1,0,0,0,2121,2120,1,0,0,0,2122,249,1,0,0,0, - 2123,2127,5,197,0,0,2124,2127,3,242,121,0,2125,2127,3,244,122,0, - 2126,2123,1,0,0,0,2126,2124,1,0,0,0,2126,2125,1,0,0,0,2127,251,1, - 0,0,0,2128,2131,3,250,125,0,2129,2131,5,116,0,0,2130,2128,1,0,0, - 0,2130,2129,1,0,0,0,2131,253,1,0,0,0,2132,2133,5,202,0,0,2133,2134, - 5,213,0,0,2134,2135,3,238,119,0,2135,255,1,0,0,0,280,257,263,269, - 275,279,282,285,307,310,318,323,336,345,352,360,365,372,377,384, - 389,395,401,406,412,417,423,428,434,448,455,462,469,475,480,486, - 491,497,506,516,526,546,554,569,576,590,596,602,608,611,617,620, - 623,629,633,636,639,642,645,652,656,664,667,673,677,680,691,695, - 698,703,705,708,711,721,725,728,731,736,738,745,751,755,758,761, - 771,779,805,807,811,833,835,846,849,858,875,886,904,917,934,943, - 970,972,993,998,1003,1006,1018,1023,1027,1030,1034,1038,1043,1046, - 1050,1052,1074,1082,1085,1095,1099,1107,1111,1116,1120,1124,1128, - 1132,1134,1142,1146,1149,1172,1177,1182,1185,1195,1205,1209,1214, - 1220,1225,1231,1235,1241,1244,1247,1250,1264,1268,1272,1277,1280, - 1290,1298,1301,1305,1308,1312,1315,1318,1321,1324,1327,1331,1335, - 1338,1341,1344,1347,1350,1359,1365,1392,1414,1422,1425,1431,1439, - 1442,1448,1450,1454,1459,1462,1465,1469,1473,1476,1478,1481,1485, - 1489,1492,1494,1496,1499,1504,1515,1521,1526,1533,1538,1542,1546, - 1551,1558,1566,1569,1572,1591,1605,1621,1624,1633,1637,1642,1647, - 1650,1652,1674,1677,1688,1692,1695,1699,1703,1711,1715,1728,1740, - 1752,1760,1764,1771,1777,1785,1790,1799,1803,1834,1851,1863,1873, - 1876,1880,1883,1895,1912,1916,1933,1936,1940,1943,1954,1978,1985, - 1987,1989,1997,2002,2010,2020,2023,2031,2036,2045,2051,2055,2061, - 2068,2077,2083,2093,2095,2098,2106,2111,2121,2126,2130 - ]; - - private static __ATN: antlr.ATN; - public static get _ATN(): antlr.ATN { - if (!ClickHouseParser.__ATN) { - ClickHouseParser.__ATN = new antlr.ATNDeserializer().deserialize(ClickHouseParser._serializedATN); +} +export class AlterTableClauseUpdateContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public UPDATE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.UPDATE, 0)!; + } + public assignmentExpressionList(): AssignmentExpressionListContext { + return this.getRuleContext(0, AssignmentExpressionListContext)!; + } + public whereClause(): WhereClauseContext { + return this.getRuleContext(0, WhereClauseContext)!; + } + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitAlterTableClauseUpdate) { + return visitor.visitAlterTableClauseUpdate(this); + } else { + return visitor.visitChildren(this); } - - return ClickHouseParser.__ATN; } - - - private static readonly vocabulary = new antlr.Vocabulary(ClickHouseParser.literalNames, ClickHouseParser.symbolicNames, []); - - public override get vocabulary(): antlr.Vocabulary { - return ClickHouseParser.vocabulary; +} +export class AlterTableClauseClearProjectionContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public CLEAR(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.CLEAR, 0)!; + } + public PROJECTION(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.PROJECTION, 0)!; } - - private static readonly decisionsToDFA = ClickHouseParser._ATN.decisionToState.map( (ds: antlr.DecisionState, index: number) => new antlr.DFA(ds, index) ); -} - -export class RootContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); + public columnIdentifier(): ColumnIdentifierContext { + return this.getRuleContext(0, ColumnIdentifierContext)!; } - public EOF(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.EOF, 0)!; + public IF(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IF, 0); } - public statements(): StatementsContext | null { - return this.getRuleContext(0, StatementsContext); + public EXISTS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.EXISTS, 0); } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_root; + public IN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IN, 0); + } + public partitionClause(): PartitionClauseContext | null { + return this.getRuleContext(0, PartitionClauseContext); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitRoot) { - return visitor.visitRoot(this); + if (visitor.visitAlterTableClauseClearProjection) { + return visitor.visitAlterTableClauseClearProjection(this); } else { return visitor.visitChildren(this); } } } - - -export class StatementsContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class AlterTableClauseModifyRemoveContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public statement(): StatementContext { - return this.getRuleContext(0, StatementContext)!; + public MODIFY(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.MODIFY, 0)!; } - public SEMICOLON(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.SEMICOLON, 0); + public COLUMN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.COLUMN, 0)!; } - public statements(): StatementsContext | null { - return this.getRuleContext(0, StatementsContext); + public columnIdentifier(): ColumnIdentifierContext { + return this.getRuleContext(0, ColumnIdentifierContext)!; } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_statements; + public REMOVE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.REMOVE, 0)!; + } + public tableColumnPropertyType(): TableColumnPropertyTypeContext { + return this.getRuleContext(0, TableColumnPropertyTypeContext)!; + } + public IF(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IF, 0); + } + public EXISTS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.EXISTS, 0); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitStatements) { - return visitor.visitStatements(this); + if (visitor.visitAlterTableClauseModifyRemove) { + return visitor.visitAlterTableClauseModifyRemove(this); } else { return visitor.visitChildren(this); } } } - - -export class StatementContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class AlterTableClauseDeleteContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public notInsertStatement(): NotInsertStatementContext | null { - return this.getRuleContext(0, NotInsertStatementContext); + public DELETE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.DELETE, 0)!; } - public INTO(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.INTO, 0); + public WHERE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.WHERE, 0)!; } - public OUTFILE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.OUTFILE, 0); + public columnExpression(): ColumnExpressionContext { + return this.getRuleContext(0, ColumnExpressionContext)!; } - public STRING_LITERAL(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.STRING_LITERAL, 0); + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitAlterTableClauseDelete) { + return visitor.visitAlterTableClauseDelete(this); + } else { + return visitor.visitChildren(this); + } } - public FORMAT(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.FORMAT, 0); +} +export class AlterTableClauseCommentContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public identifierOrNull(): IdentifierOrNullContext | null { - return this.getRuleContext(0, IdentifierOrNullContext); + public COMMENT(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.COMMENT, 0)!; } - public SEMICOLON(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.SEMICOLON, 0); + public COLUMN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.COLUMN, 0)!; } - public insertStatement(): InsertStatementContext | null { - return this.getRuleContext(0, InsertStatementContext); + public columnIdentifier(): ColumnIdentifierContext { + return this.getRuleContext(0, ColumnIdentifierContext)!; } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_statement; + public STRING_LITERAL(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.STRING_LITERAL, 0)!; + } + public IF(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IF, 0); + } + public EXISTS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.EXISTS, 0); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitStatement) { - return visitor.visitStatement(this); + if (visitor.visitAlterTableClauseComment) { + return visitor.visitAlterTableClauseComment(this); } else { return visitor.visitChildren(this); } } } - - -export class NotInsertStatementContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class AlterTableClauseDropColumnContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public alterStatement(): AlterStatementContext | null { - return this.getRuleContext(0, AlterStatementContext); + public DROP(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.DROP, 0)!; } - public attachStatement(): AttachStatementContext | null { - return this.getRuleContext(0, AttachStatementContext); + public COLUMN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.COLUMN, 0)!; } - public checkStatement(): CheckStatementContext | null { - return this.getRuleContext(0, CheckStatementContext); + public columnIdentifier(): ColumnIdentifierContext { + return this.getRuleContext(0, ColumnIdentifierContext)!; } - public createStatement(): CreateStatementContext | null { - return this.getRuleContext(0, CreateStatementContext); + public IF(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IF, 0); } - public describeStatement(): DescribeStatementContext | null { - return this.getRuleContext(0, DescribeStatementContext); + public EXISTS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.EXISTS, 0); } - public deleteStatement(): DeleteStatementContext | null { - return this.getRuleContext(0, DeleteStatementContext); + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitAlterTableClauseDropColumn) { + return visitor.visitAlterTableClauseDropColumn(this); + } else { + return visitor.visitChildren(this); + } } - public dropStatement(): DropStatementContext | null { - return this.getRuleContext(0, DropStatementContext); +} +export class AlterTableClauseDetachContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public existsStatement(): ExistsStatementContext | null { - return this.getRuleContext(0, ExistsStatementContext); + public DETACH(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.DETACH, 0)!; } - public explainStatement(): ExplainStatementContext | null { - return this.getRuleContext(0, ExplainStatementContext); + public partitionClause(): PartitionClauseContext { + return this.getRuleContext(0, PartitionClauseContext)!; } - public killStatement(): KillStatementContext | null { - return this.getRuleContext(0, KillStatementContext); + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitAlterTableClauseDetach) { + return visitor.visitAlterTableClauseDetach(this); + } else { + return visitor.visitChildren(this); + } } - public optimizeStatement(): OptimizeStatementContext | null { - return this.getRuleContext(0, OptimizeStatementContext); +} +export class AlterTableClauseAddIndexContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public renameStatement(): RenameStatementContext | null { - return this.getRuleContext(0, RenameStatementContext); + public ADD(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.ADD, 0)!; } - public selectUnionStatement(): SelectUnionStatementContext | null { - return this.getRuleContext(0, SelectUnionStatementContext); + public INDEX(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.INDEX, 0)!; } - public setStatement(): SetStatementContext | null { - return this.getRuleContext(0, SetStatementContext); + public tableIndexDefinition(): TableIndexDefinitionContext { + return this.getRuleContext(0, TableIndexDefinitionContext)!; } - public showStatement(): ShowStatementContext | null { - return this.getRuleContext(0, ShowStatementContext); + public IF(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IF, 0); } - public systemStatement(): SystemStatementContext | null { - return this.getRuleContext(0, SystemStatementContext); + public NOT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.NOT, 0); } - public truncateStatement(): TruncateStatementContext | null { - return this.getRuleContext(0, TruncateStatementContext); + public EXISTS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.EXISTS, 0); } - public useStatement(): UseStatementContext | null { - return this.getRuleContext(0, UseStatementContext); + public AFTER(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.AFTER, 0); } - public watchStatement(): WatchStatementContext | null { - return this.getRuleContext(0, WatchStatementContext); + public columnIdentifier(): ColumnIdentifierContext | null { + return this.getRuleContext(0, ColumnIdentifierContext); } - public selectStatement(): SelectStatementContext | null { - return this.getRuleContext(0, SelectStatementContext); + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitAlterTableClauseAddIndex) { + return visitor.visitAlterTableClauseAddIndex(this); + } else { + return visitor.visitChildren(this); + } } - public commonTableExpressionStatement(): CommonTableExpressionStatementContext | null { - return this.getRuleContext(0, CommonTableExpressionStatementContext); +} +export class AlterTableClauseDropPartitionContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_notInsertStatement; + public DROP(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.DROP, 0)!; + } + public partitionClause(): PartitionClauseContext { + return this.getRuleContext(0, PartitionClauseContext)!; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitNotInsertStatement) { - return visitor.visitNotInsertStatement(this); + if (visitor.visitAlterTableClauseDropPartition) { + return visitor.visitAlterTableClauseDropPartition(this); } else { return visitor.visitChildren(this); } } } - - -export class CommonTableExpressionStatementContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class AlterTableClauseMaterializeIndexContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public WITH(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.WITH, 0)!; + public MATERIALIZE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.MATERIALIZE, 0)!; } - public namedQuery(): NamedQueryContext[]; - public namedQuery(i: number): NamedQueryContext | null; - public namedQuery(i?: number): NamedQueryContext[] | NamedQueryContext | null { - if (i === undefined) { - return this.getRuleContexts(NamedQueryContext); - } - - return this.getRuleContext(i, NamedQueryContext); + public INDEX(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.INDEX, 0)!; } - public COMMA(): antlr.TerminalNode[]; - public COMMA(i: number): antlr.TerminalNode | null; - public COMMA(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(ClickHouseParser.COMMA); - } else { - return this.getToken(ClickHouseParser.COMMA, i); - } + public columnIdentifier(): ColumnIdentifierContext { + return this.getRuleContext(0, ColumnIdentifierContext)!; } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_commonTableExpressionStatement; + public IF(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IF, 0); + } + public EXISTS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.EXISTS, 0); + } + public IN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IN, 0); + } + public partitionClause(): PartitionClauseContext | null { + return this.getRuleContext(0, PartitionClauseContext); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitCommonTableExpressionStatement) { - return visitor.visitCommonTableExpressionStatement(this); + if (visitor.visitAlterTableClauseMaterializeIndex) { + return visitor.visitAlterTableClauseMaterializeIndex(this); } else { return visitor.visitChildren(this); } } } - - -export class NamedQueryContext extends antlr.ParserRuleContext { - public _name?: IdentifierContext; - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class AlterTableClauseMaterializeProjectionContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public AS(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.AS, 0)!; + public MATERIALIZE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.MATERIALIZE, 0)!; } - public LPAREN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.LPAREN, 0)!; + public PROJECTION(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.PROJECTION, 0)!; } - public notInsertStatement(): NotInsertStatementContext { - return this.getRuleContext(0, NotInsertStatementContext)!; + public columnIdentifier(): ColumnIdentifierContext { + return this.getRuleContext(0, ColumnIdentifierContext)!; } - public RPAREN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.RPAREN, 0)!; + public IF(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IF, 0); } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public EXISTS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.EXISTS, 0); } - public columnAliases(): ColumnAliasesContext | null { - return this.getRuleContext(0, ColumnAliasesContext); + public IN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IN, 0); } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_namedQuery; + public partitionClause(): PartitionClauseContext | null { + return this.getRuleContext(0, PartitionClauseContext); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitNamedQuery) { - return visitor.visitNamedQuery(this); + if (visitor.visitAlterTableClauseMaterializeProjection) { + return visitor.visitAlterTableClauseMaterializeProjection(this); } else { return visitor.visitChildren(this); } } } - - -export class ColumnAliasesContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class AlterTableClauseMovePartitionContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public LPAREN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.LPAREN, 0)!; + public MOVE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.MOVE, 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 partitionClause(): PartitionClauseContext { + return this.getRuleContext(0, PartitionClauseContext)!; } - public RPAREN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.RPAREN, 0)!; + public TO(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TO, 0); } - public COMMA(): antlr.TerminalNode[]; - public COMMA(i: number): antlr.TerminalNode | null; - public COMMA(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(ClickHouseParser.COMMA); - } else { - return this.getToken(ClickHouseParser.COMMA, i); - } + public DISK(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DISK, 0); } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_columnAliases; + public STRING_LITERAL(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.STRING_LITERAL, 0); + } + public VOLUME(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.VOLUME, 0); + } + public TABLE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TABLE, 0); + } + public tableIdentifier(): TableIdentifierContext | null { + return this.getRuleContext(0, TableIdentifierContext); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitColumnAliases) { - return visitor.visitColumnAliases(this); + if (visitor.visitAlterTableClauseMovePartition) { + return visitor.visitAlterTableClauseMovePartition(this); } else { return visitor.visitChildren(this); } } } - - -export class AlterStatementContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_alterStatement; - } - public override copyFrom(ctx: AlterStatementContext): void { - super.copyFrom(ctx); - } -} -export class AlterTableStatementContext extends AlterStatementContext { - public constructor(ctx: AlterStatementContext) { +export class AlterTableClauseRenameContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public ALTER(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.ALTER, 0)!; - } - public TABLE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.TABLE, 0)!; + public RENAME(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.RENAME, 0)!; } - public tableIdentifier(): TableIdentifierContext { - return this.getRuleContext(0, TableIdentifierContext)!; + public COLUMN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.COLUMN, 0)!; } - public alterTableClause(): AlterTableClauseContext[]; - public alterTableClause(i: number): AlterTableClauseContext | null; - public alterTableClause(i?: number): AlterTableClauseContext[] | AlterTableClauseContext | null { + public columnIdentifier(): ColumnIdentifierContext[]; + public columnIdentifier(i: number): ColumnIdentifierContext | null; + public columnIdentifier(i?: number): ColumnIdentifierContext[] | ColumnIdentifierContext | null { if (i === undefined) { - return this.getRuleContexts(AlterTableClauseContext); + return this.getRuleContexts(ColumnIdentifierContext); } - return this.getRuleContext(i, AlterTableClauseContext); + return this.getRuleContext(i, ColumnIdentifierContext); } - public clusterClause(): ClusterClauseContext | null { - return this.getRuleContext(0, ClusterClauseContext); + public TO(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.TO, 0)!; } - public COMMA(): antlr.TerminalNode[]; - public COMMA(i: number): antlr.TerminalNode | null; - public COMMA(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(ClickHouseParser.COMMA); - } else { - return this.getToken(ClickHouseParser.COMMA, i); - } + public IF(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IF, 0); + } + public EXISTS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.EXISTS, 0); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableStatement) { - return visitor.visitAlterTableStatement(this); + if (visitor.visitAlterTableClauseRename) { + return visitor.visitAlterTableClauseRename(this); } else { return visitor.visitChildren(this); } } } - - -export class AlterTableClauseContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_alterTableClause; - } - public override copyFrom(ctx: AlterTableClauseContext): void { - super.copyFrom(ctx); - } -} -export class AlterTableClauseReplaceContext extends AlterTableClauseContext { +export class AlterTableClauseFreezePartitionContext extends AlterTableClauseContext { public constructor(ctx: AlterTableClauseContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public REPLACE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.REPLACE, 0)!; - } - public partitionClause(): PartitionClauseContext { - return this.getRuleContext(0, PartitionClauseContext)!; - } - public FROM(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.FROM, 0)!; + public FREEZE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.FREEZE, 0)!; } - public tableIdentifier(): TableIdentifierContext { - return this.getRuleContext(0, TableIdentifierContext)!; + public partitionClause(): PartitionClauseContext | null { + return this.getRuleContext(0, PartitionClauseContext); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseReplace) { - return visitor.visitAlterTableClauseReplace(this); + if (visitor.visitAlterTableClauseFreezePartition) { + return visitor.visitAlterTableClauseFreezePartition(this); } else { return visitor.visitChildren(this); } } -} -export class AlterTableClauseModifyOrderByContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); +} +export class AlterTableClauseClearColumnContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public CLEAR(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.CLEAR, 0)!; + } + public COLUMN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.COLUMN, 0)!; + } + public columnIdentifier(): ColumnIdentifierContext { + return this.getRuleContext(0, ColumnIdentifierContext)!; } - public MODIFY(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.MODIFY, 0)!; + public IF(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IF, 0); } - public ORDER(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.ORDER, 0)!; + public EXISTS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.EXISTS, 0); } - public BY(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.BY, 0)!; + public IN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IN, 0); } - public columnExpression(): ColumnExpressionContext { - return this.getRuleContext(0, ColumnExpressionContext)!; + public partitionClause(): PartitionClauseContext | null { + return this.getRuleContext(0, PartitionClauseContext); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseModifyOrderBy) { - return visitor.visitAlterTableClauseModifyOrderBy(this); + if (visitor.visitAlterTableClauseClearColumn) { + return visitor.visitAlterTableClauseClearColumn(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseUpdateContext extends AlterTableClauseContext { +export class AlterTableClauseModifyContext extends AlterTableClauseContext { public constructor(ctx: AlterTableClauseContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public UPDATE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.UPDATE, 0)!; + public MODIFY(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.MODIFY, 0)!; } - public assignmentExpressionList(): AssignmentExpressionListContext { - return this.getRuleContext(0, AssignmentExpressionListContext)!; + public COLUMN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.COLUMN, 0)!; } - public whereClause(): WhereClauseContext { - return this.getRuleContext(0, WhereClauseContext)!; + public tableColumnDefinition(): TableColumnDefinitionContext { + return this.getRuleContext(0, TableColumnDefinitionContext)!; + } + public IF(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IF, 0); + } + public EXISTS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.EXISTS, 0); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseUpdate) { - return visitor.visitAlterTableClauseUpdate(this); + if (visitor.visitAlterTableClauseModify) { + return visitor.visitAlterTableClauseModify(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseClearProjectionContext extends AlterTableClauseContext { +export class AlterTableClauseClearIndexContext extends AlterTableClauseContext { public constructor(ctx: AlterTableClauseContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); @@ -11778,8 +14095,8 @@ export class AlterTableClauseClearProjectionContext extends AlterTableClauseCont public CLEAR(): antlr.TerminalNode { return this.getToken(ClickHouseParser.CLEAR, 0)!; } - public PROJECTION(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.PROJECTION, 0)!; + public INDEX(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.INDEX, 0)!; } public columnIdentifier(): ColumnIdentifierContext { return this.getRuleContext(0, ColumnIdentifierContext)!; @@ -11797,14 +14114,33 @@ export class AlterTableClauseClearProjectionContext extends AlterTableClauseCont return this.getRuleContext(0, PartitionClauseContext); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseClearProjection) { - return visitor.visitAlterTableClauseClearProjection(this); + if (visitor.visitAlterTableClauseClearIndex) { + return visitor.visitAlterTableClauseClearIndex(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseModifyRemoveContext extends AlterTableClauseContext { +export class AlterTableClauseRemoveTTLContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public REMOVE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.REMOVE, 0)!; + } + public TTL(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.TTL, 0)!; + } + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitAlterTableClauseRemoveTTL) { + return visitor.visitAlterTableClauseRemoveTTL(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class AlterTableClauseModifyCodecContext extends AlterTableClauseContext { public constructor(ctx: AlterTableClauseContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); @@ -11818,11 +14154,8 @@ export class AlterTableClauseModifyRemoveContext extends AlterTableClauseContext public columnIdentifier(): ColumnIdentifierContext { return this.getRuleContext(0, ColumnIdentifierContext)!; } - public REMOVE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.REMOVE, 0)!; - } - public tableColumnPropertyType(): TableColumnPropertyTypeContext { - return this.getRuleContext(0, TableColumnPropertyTypeContext)!; + public codecExpression(): CodecExpressionContext { + return this.getRuleContext(0, CodecExpressionContext)!; } public IF(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.IF, 0); @@ -11831,52 +14164,52 @@ export class AlterTableClauseModifyRemoveContext extends AlterTableClauseContext return this.getToken(ClickHouseParser.EXISTS, 0); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseModifyRemove) { - return visitor.visitAlterTableClauseModifyRemove(this); + if (visitor.visitAlterTableClauseModifyCodec) { + return visitor.visitAlterTableClauseModifyCodec(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseDeleteContext extends AlterTableClauseContext { +export class AlterTableClauseAttachContext extends AlterTableClauseContext { public constructor(ctx: AlterTableClauseContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public DELETE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.DELETE, 0)!; + public ATTACH(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.ATTACH, 0)!; } - public WHERE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.WHERE, 0)!; + public partitionClause(): PartitionClauseContext { + return this.getRuleContext(0, PartitionClauseContext)!; } - public columnExpression(): ColumnExpressionContext { - return this.getRuleContext(0, ColumnExpressionContext)!; + public FROM(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.FROM, 0); + } + public tableIdentifier(): TableIdentifierContext | null { + return this.getRuleContext(0, TableIdentifierContext); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseDelete) { - return visitor.visitAlterTableClauseDelete(this); + if (visitor.visitAlterTableClauseAttach) { + return visitor.visitAlterTableClauseAttach(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseCommentContext extends AlterTableClauseContext { +export class AlterTableClauseDropProjectionContext extends AlterTableClauseContext { public constructor(ctx: AlterTableClauseContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public COMMENT(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.COMMENT, 0)!; + public DROP(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.DROP, 0)!; } - public COLUMN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.COLUMN, 0)!; + public PROJECTION(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.PROJECTION, 0)!; } public columnIdentifier(): ColumnIdentifierContext { return this.getRuleContext(0, ColumnIdentifierContext)!; } - public STRING_LITERAL(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.STRING_LITERAL, 0)!; - } public IF(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.IF, 0); } @@ -11884,14 +14217,14 @@ export class AlterTableClauseCommentContext extends AlterTableClauseContext { return this.getToken(ClickHouseParser.EXISTS, 0); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseComment) { - return visitor.visitAlterTableClauseComment(this); + if (visitor.visitAlterTableClauseDropProjection) { + return visitor.visitAlterTableClauseDropProjection(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseDropColumnContext extends AlterTableClauseContext { +export class AlterTableClauseDropIndexContext extends AlterTableClauseContext { public constructor(ctx: AlterTableClauseContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); @@ -11899,12 +14232,46 @@ export class AlterTableClauseDropColumnContext extends AlterTableClauseContext { public DROP(): antlr.TerminalNode { return this.getToken(ClickHouseParser.DROP, 0)!; } + public INDEX(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.INDEX, 0)!; + } + public columnIdentifier(): ColumnIdentifierContext { + return this.getRuleContext(0, ColumnIdentifierContext)!; + } + public IF(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IF, 0); + } + public EXISTS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.EXISTS, 0); + } + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitAlterTableClauseDropIndex) { + return visitor.visitAlterTableClauseDropIndex(this); + } else { + return visitor.visitChildren(this); + } + } +} +export class AlterTableClauseModifyCommentContext extends AlterTableClauseContext { + public constructor(ctx: AlterTableClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public MODIFY(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.MODIFY, 0)!; + } public COLUMN(): antlr.TerminalNode { return this.getToken(ClickHouseParser.COLUMN, 0)!; } public columnIdentifier(): ColumnIdentifierContext { return this.getRuleContext(0, ColumnIdentifierContext)!; } + public COMMENT(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.COMMENT, 0)!; + } + public STRING_LITERAL(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.STRING_LITERAL, 0)!; + } public IF(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.IF, 0); } @@ -11912,33 +14279,33 @@ export class AlterTableClauseDropColumnContext extends AlterTableClauseContext { return this.getToken(ClickHouseParser.EXISTS, 0); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseDropColumn) { - return visitor.visitAlterTableClauseDropColumn(this); + if (visitor.visitAlterTableClauseModifyComment) { + return visitor.visitAlterTableClauseModifyComment(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseDetachContext extends AlterTableClauseContext { +export class AlterTableClauseModifyTTLContext extends AlterTableClauseContext { public constructor(ctx: AlterTableClauseContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public DETACH(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.DETACH, 0)!; + public MODIFY(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.MODIFY, 0)!; } - public partitionClause(): PartitionClauseContext { - return this.getRuleContext(0, PartitionClauseContext)!; + public ttlClause(): TtlClauseContext { + return this.getRuleContext(0, TtlClauseContext)!; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseDetach) { - return visitor.visitAlterTableClauseDetach(this); + if (visitor.visitAlterTableClauseModifyTTL) { + return visitor.visitAlterTableClauseModifyTTL(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseAddIndexContext extends AlterTableClauseContext { +export class AlterTableClauseAddProjectionContext extends AlterTableClauseContext { public constructor(ctx: AlterTableClauseContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); @@ -11946,11 +14313,11 @@ export class AlterTableClauseAddIndexContext extends AlterTableClauseContext { public ADD(): antlr.TerminalNode { return this.getToken(ClickHouseParser.ADD, 0)!; } - public INDEX(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.INDEX, 0)!; + public PROJECTION(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.PROJECTION, 0)!; } - public tableIndexDefinition(): TableIndexDefinitionContext { - return this.getRuleContext(0, TableIndexDefinitionContext)!; + public tableProjectionDefinition(): TableProjectionDefinitionContext { + return this.getRuleContext(0, TableProjectionDefinitionContext)!; } public IF(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.IF, 0); @@ -11968,486 +14335,589 @@ export class AlterTableClauseAddIndexContext extends AlterTableClauseContext { return this.getRuleContext(0, ColumnIdentifierContext); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseAddIndex) { - return visitor.visitAlterTableClauseAddIndex(this); + if (visitor.visitAlterTableClauseAddProjection) { + return visitor.visitAlterTableClauseAddProjection(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseDropPartitionContext extends AlterTableClauseContext { +export class AlterTableClauseAddColumnContext extends AlterTableClauseContext { public constructor(ctx: AlterTableClauseContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public DROP(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.DROP, 0)!; + public ADD(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.ADD, 0)!; + } + public COLUMN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.COLUMN, 0)!; + } + public tableColumnDefinition(): TableColumnDefinitionContext { + return this.getRuleContext(0, TableColumnDefinitionContext)!; + } + public IF(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IF, 0); + } + public NOT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.NOT, 0); + } + public EXISTS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.EXISTS, 0); + } + public AFTER(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.AFTER, 0); + } + public columnIdentifier(): ColumnIdentifierContext | null { + return this.getRuleContext(0, ColumnIdentifierContext); + } + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitAlterTableClauseAddColumn) { + return visitor.visitAlterTableClauseAddColumn(this); + } else { + return visitor.visitChildren(this); + } + } +} + + +export class AssignmentExpressionListContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public assignmentExpression(): AssignmentExpressionContext[]; + public assignmentExpression(i: number): AssignmentExpressionContext | null; + public assignmentExpression(i?: number): AssignmentExpressionContext[] | AssignmentExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(AssignmentExpressionContext); + } + + return this.getRuleContext(i, AssignmentExpressionContext); + } + public COMMA(): antlr.TerminalNode[]; + public COMMA(i: number): antlr.TerminalNode | null; + public COMMA(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.COMMA); + } else { + return this.getToken(ClickHouseParser.COMMA, i); + } } - public partitionClause(): PartitionClauseContext { - return this.getRuleContext(0, PartitionClauseContext)!; + public override get ruleIndex(): number { + return ClickHouseParser.RULE_assignmentExpressionList; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseDropPartition) { - return visitor.visitAlterTableClauseDropPartition(this); + if (visitor.visitAssignmentExpressionList) { + return visitor.visitAssignmentExpressionList(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseMaterializeIndexContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public MATERIALIZE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.MATERIALIZE, 0)!; - } - public INDEX(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.INDEX, 0)!; + + +export class AssignmentExpressionContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } public columnIdentifier(): ColumnIdentifierContext { return this.getRuleContext(0, ColumnIdentifierContext)!; } - public IF(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IF, 0); - } - public EXISTS(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.EXISTS, 0); + public EQ_SINGLE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.EQ_SINGLE, 0)!; } - public IN(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IN, 0); + public columnExpression(): ColumnExpressionContext { + return this.getRuleContext(0, ColumnExpressionContext)!; } - public partitionClause(): PartitionClauseContext | null { - return this.getRuleContext(0, PartitionClauseContext); + public override get ruleIndex(): number { + return ClickHouseParser.RULE_assignmentExpression; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseMaterializeIndex) { - return visitor.visitAlterTableClauseMaterializeIndex(this); + if (visitor.visitAssignmentExpression) { + return visitor.visitAssignmentExpression(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseMaterializeProjectionContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class TableColumnPropertyTypeContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public MATERIALIZE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.MATERIALIZE, 0)!; + public ALIAS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ALIAS, 0); } - public PROJECTION(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.PROJECTION, 0)!; + public CODEC(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.CODEC, 0); } - public columnIdentifier(): ColumnIdentifierContext { - return this.getRuleContext(0, ColumnIdentifierContext)!; + public COMMENT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.COMMENT, 0); } - public IF(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IF, 0); + public DEFAULT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DEFAULT, 0); } - public EXISTS(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.EXISTS, 0); + public MATERIALIZED(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.MATERIALIZED, 0); } - public IN(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IN, 0); + public TTL(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TTL, 0); } - public partitionClause(): PartitionClauseContext | null { - return this.getRuleContext(0, PartitionClauseContext); + public override get ruleIndex(): number { + return ClickHouseParser.RULE_tableColumnPropertyType; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseMaterializeProjection) { - return visitor.visitAlterTableClauseMaterializeProjection(this); + if (visitor.visitTableColumnPropertyType) { + return visitor.visitTableColumnPropertyType(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseMovePartitionContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public MOVE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.MOVE, 0)!; + + +export class PartitionClauseContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public partitionClause(): PartitionClauseContext { - return this.getRuleContext(0, PartitionClauseContext)!; + public PARTITION(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.PARTITION, 0)!; } - public TO(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.TO, 0); + public columnExpression(): ColumnExpressionContext | null { + return this.getRuleContext(0, ColumnExpressionContext); } - public DISK(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.DISK, 0); + public ID(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ID, 0); } public STRING_LITERAL(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.STRING_LITERAL, 0); } - public VOLUME(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.VOLUME, 0); - } - public TABLE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.TABLE, 0); - } - public tableIdentifier(): TableIdentifierContext | null { - return this.getRuleContext(0, TableIdentifierContext); + public override get ruleIndex(): number { + return ClickHouseParser.RULE_partitionClause; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseMovePartition) { - return visitor.visitAlterTableClauseMovePartition(this); + if (visitor.visitPartitionClause) { + return visitor.visitPartitionClause(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseRenameContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { + + +export class AttachStatementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_attachStatement; + } + public override copyFrom(ctx: AttachStatementContext): void { + super.copyFrom(ctx); + } +} +export class AttachDictionaryStatementContext extends AttachStatementContext { + public constructor(ctx: AttachStatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public RENAME(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.RENAME, 0)!; + public ATTACH(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.ATTACH, 0)!; } - public COLUMN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.COLUMN, 0)!; + public DICTIONARY(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.DICTIONARY, 0)!; } - public columnIdentifier(): ColumnIdentifierContext[]; - public columnIdentifier(i: number): ColumnIdentifierContext | null; - public columnIdentifier(i?: number): ColumnIdentifierContext[] | ColumnIdentifierContext | null { - if (i === undefined) { - return this.getRuleContexts(ColumnIdentifierContext); + public tableIdentifier(): TableIdentifierContext { + return this.getRuleContext(0, TableIdentifierContext)!; + } + public clusterClause(): ClusterClauseContext | null { + return this.getRuleContext(0, ClusterClauseContext); + } + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitAttachDictionaryStatement) { + return visitor.visitAttachDictionaryStatement(this); + } else { + return visitor.visitChildren(this); } + } +} - return this.getRuleContext(i, ColumnIdentifierContext); + +export class CheckStatementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public TO(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.TO, 0)!; + public CHECK(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.CHECK, 0)!; } - public IF(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IF, 0); + public TABLE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.TABLE, 0)!; } - public EXISTS(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.EXISTS, 0); + public tableIdentifier(): TableIdentifierContext { + return this.getRuleContext(0, TableIdentifierContext)!; + } + public partitionClause(): PartitionClauseContext | null { + return this.getRuleContext(0, PartitionClauseContext); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_checkStatement; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseRename) { - return visitor.visitAlterTableClauseRename(this); + if (visitor.visitCheckStatement) { + return visitor.visitCheckStatement(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseFreezePartitionContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class DeleteStatementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public FREEZE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.FREEZE, 0)!; + public DELETE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.DELETE, 0)!; } - public partitionClause(): PartitionClauseContext | null { - return this.getRuleContext(0, PartitionClauseContext); + public FROM(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.FROM, 0)!; + } + public tableIdentifier(): TableIdentifierContext { + return this.getRuleContext(0, TableIdentifierContext)!; + } + public clusterClause(): ClusterClauseContext | null { + return this.getRuleContext(0, ClusterClauseContext); + } + public whereClause(): WhereClauseContext | null { + return this.getRuleContext(0, WhereClauseContext); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_deleteStatement; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseFreezePartition) { - return visitor.visitAlterTableClauseFreezePartition(this); + if (visitor.visitDeleteStatement) { + return visitor.visitDeleteStatement(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseClearColumnContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class CreateTableStatementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public CLEAR(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.CLEAR, 0)!; + public TABLE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.TABLE, 0)!; } - public COLUMN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.COLUMN, 0)!; + public tableIdentifier(): TableIdentifierContext { + return this.getRuleContext(0, TableIdentifierContext)!; } - public columnIdentifier(): ColumnIdentifierContext { - return this.getRuleContext(0, ColumnIdentifierContext)!; + public ATTACH(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ATTACH, 0); + } + public CREATE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.CREATE, 0); + } + public REPLACE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.REPLACE, 0); + } + public TEMPORARY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TEMPORARY, 0); } public IF(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.IF, 0); } + public NOT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.NOT, 0); + } public EXISTS(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.EXISTS, 0); } - public IN(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IN, 0); + public uuidClause(): UuidClauseContext | null { + return this.getRuleContext(0, UuidClauseContext); } - public partitionClause(): PartitionClauseContext | null { - return this.getRuleContext(0, PartitionClauseContext); + public clusterClause(): ClusterClauseContext | null { + return this.getRuleContext(0, ClusterClauseContext); + } + public tableSchemaClause(): TableSchemaClauseContext | null { + return this.getRuleContext(0, TableSchemaClauseContext); + } + public engineClause(): EngineClauseContext | null { + return this.getRuleContext(0, EngineClauseContext); + } + public subqueryClause(): SubqueryClauseContext | null { + return this.getRuleContext(0, SubqueryClauseContext); + } + public OR(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.OR, 0); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_createTableStatement; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseClearColumn) { - return visitor.visitAlterTableClauseClearColumn(this); + if (visitor.visitCreateTableStatement) { + return visitor.visitCreateTableStatement(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseModifyContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class CreateDatabaseStatementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public MODIFY(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.MODIFY, 0)!; + public DATABASE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.DATABASE, 0)!; } - public COLUMN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.COLUMN, 0)!; + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public tableColumnDefinition(): TableColumnDefinitionContext { - return this.getRuleContext(0, TableColumnDefinitionContext)!; + public engineExpression(): EngineExpressionContext { + return this.getRuleContext(0, EngineExpressionContext)!; + } + public ATTACH(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ATTACH, 0); + } + public CREATE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.CREATE, 0); } public IF(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.IF, 0); } + public NOT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.NOT, 0); + } public EXISTS(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.EXISTS, 0); } + public clusterClause(): ClusterClauseContext | null { + return this.getRuleContext(0, ClusterClauseContext); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_createDatabaseStatement; + } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseModify) { - return visitor.visitAlterTableClauseModify(this); + if (visitor.visitCreateDatabaseStatement) { + return visitor.visitCreateDatabaseStatement(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseClearIndexContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class CreateDictionaryStatementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public CLEAR(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.CLEAR, 0)!; + public DICTIONARY(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.DICTIONARY, 0)!; } - public INDEX(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.INDEX, 0)!; + public tableIdentifier(): TableIdentifierContext { + return this.getRuleContext(0, TableIdentifierContext)!; } - public columnIdentifier(): ColumnIdentifierContext { - return this.getRuleContext(0, ColumnIdentifierContext)!; + public dictionarySchemaClause(): DictionarySchemaClauseContext { + return this.getRuleContext(0, DictionarySchemaClauseContext)!; + } + public dictionaryEngineClause(): DictionaryEngineClauseContext { + return this.getRuleContext(0, DictionaryEngineClauseContext)!; + } + public ATTACH(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ATTACH, 0); + } + public CREATE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.CREATE, 0); + } + public REPLACE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.REPLACE, 0); } public IF(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.IF, 0); } + public NOT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.NOT, 0); + } public EXISTS(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.EXISTS, 0); } - public IN(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IN, 0); - } - public partitionClause(): PartitionClauseContext | null { - return this.getRuleContext(0, PartitionClauseContext); - } - public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseClearIndex) { - return visitor.visitAlterTableClauseClearIndex(this); - } else { - return visitor.visitChildren(this); - } + public uuidClause(): UuidClauseContext | null { + return this.getRuleContext(0, UuidClauseContext); } -} -export class AlterTableClauseRemoveTTLContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public clusterClause(): ClusterClauseContext | null { + return this.getRuleContext(0, ClusterClauseContext); } - public REMOVE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.REMOVE, 0)!; + public OR(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.OR, 0); } - public TTL(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.TTL, 0)!; + public override get ruleIndex(): number { + return ClickHouseParser.RULE_createDictionaryStatement; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseRemoveTTL) { - return visitor.visitAlterTableClauseRemoveTTL(this); + if (visitor.visitCreateDictionaryStatement) { + return visitor.visitCreateDictionaryStatement(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseModifyCodecContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class CreateLiveViewStatementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public MODIFY(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.MODIFY, 0)!; + public LIVE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.LIVE, 0)!; } - public COLUMN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.COLUMN, 0)!; + public VIEW(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.VIEW, 0)!; } - public columnIdentifier(): ColumnIdentifierContext { - return this.getRuleContext(0, ColumnIdentifierContext)!; + public tableIdentifier(): TableIdentifierContext { + return this.getRuleContext(0, TableIdentifierContext)!; } - public codecExpression(): CodecExpressionContext { - return this.getRuleContext(0, CodecExpressionContext)!; + public subqueryClause(): SubqueryClauseContext { + return this.getRuleContext(0, SubqueryClauseContext)!; + } + public ATTACH(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ATTACH, 0); + } + public CREATE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.CREATE, 0); } public IF(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.IF, 0); } + public NOT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.NOT, 0); + } public EXISTS(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.EXISTS, 0); } - public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseModifyCodec) { - return visitor.visitAlterTableClauseModifyCodec(this); - } else { - return visitor.visitChildren(this); - } + public uuidClause(): UuidClauseContext | null { + return this.getRuleContext(0, UuidClauseContext); } -} -export class AlterTableClauseAttachContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public clusterClause(): ClusterClauseContext | null { + return this.getRuleContext(0, ClusterClauseContext); } - public ATTACH(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.ATTACH, 0)!; + public WITH(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.WITH, 0); } - public partitionClause(): PartitionClauseContext { - return this.getRuleContext(0, PartitionClauseContext)!; + public TIMEOUT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TIMEOUT, 0); } - public FROM(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.FROM, 0); + public destinationClause(): DestinationClauseContext | null { + return this.getRuleContext(0, DestinationClauseContext); } - public tableIdentifier(): TableIdentifierContext | null { - return this.getRuleContext(0, TableIdentifierContext); + public tableSchemaClause(): TableSchemaClauseContext | null { + return this.getRuleContext(0, TableSchemaClauseContext); + } + public DECIMAL_LITERAL(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DECIMAL_LITERAL, 0); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_createLiveViewStatement; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseAttach) { - return visitor.visitAlterTableClauseAttach(this); + if (visitor.visitCreateLiveViewStatement) { + return visitor.visitCreateLiveViewStatement(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseDropProjectionContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public DROP(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.DROP, 0)!; - } - public PROJECTION(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.PROJECTION, 0)!; + + +export class CreateMaterializedViewStatementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public columnIdentifier(): ColumnIdentifierContext { - return this.getRuleContext(0, ColumnIdentifierContext)!; + public MATERIALIZED(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.MATERIALIZED, 0)!; } - public IF(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IF, 0); + public VIEW(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.VIEW, 0)!; } - public EXISTS(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.EXISTS, 0); + public tableIdentifier(): TableIdentifierContext { + return this.getRuleContext(0, TableIdentifierContext)!; } - public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseDropProjection) { - return visitor.visitAlterTableClauseDropProjection(this); - } else { - return visitor.visitChildren(this); - } + public subqueryClause(): SubqueryClauseContext { + return this.getRuleContext(0, SubqueryClauseContext)!; } -} -export class AlterTableClauseDropIndexContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public ATTACH(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ATTACH, 0); } - public DROP(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.DROP, 0)!; + public CREATE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.CREATE, 0); } - public INDEX(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.INDEX, 0)!; + public destinationClause(): DestinationClauseContext | null { + return this.getRuleContext(0, DestinationClauseContext); } - public columnIdentifier(): ColumnIdentifierContext { - return this.getRuleContext(0, ColumnIdentifierContext)!; + public engineClause(): EngineClauseContext | null { + return this.getRuleContext(0, EngineClauseContext); } public IF(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.IF, 0); } + public NOT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.NOT, 0); + } public EXISTS(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.EXISTS, 0); } - public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseDropIndex) { - return visitor.visitAlterTableClauseDropIndex(this); - } else { - return visitor.visitChildren(this); - } - } -} -export class AlterTableClauseModifyCommentContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public MODIFY(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.MODIFY, 0)!; - } - public COLUMN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.COLUMN, 0)!; - } - public columnIdentifier(): ColumnIdentifierContext { - return this.getRuleContext(0, ColumnIdentifierContext)!; + public uuidClause(): UuidClauseContext | null { + return this.getRuleContext(0, UuidClauseContext); } - public COMMENT(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.COMMENT, 0)!; + public clusterClause(): ClusterClauseContext | null { + return this.getRuleContext(0, ClusterClauseContext); } - public STRING_LITERAL(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.STRING_LITERAL, 0)!; + public tableSchemaClause(): TableSchemaClauseContext | null { + return this.getRuleContext(0, TableSchemaClauseContext); } - public IF(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IF, 0); + public POPULATE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.POPULATE, 0); } - public EXISTS(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.EXISTS, 0); + public override get ruleIndex(): number { + return ClickHouseParser.RULE_createMaterializedViewStatement; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseModifyComment) { - return visitor.visitAlterTableClauseModifyComment(this); + if (visitor.visitCreateMaterializedViewStatement) { + return visitor.visitCreateMaterializedViewStatement(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseModifyTTLContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class CreateViewStatementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public MODIFY(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.MODIFY, 0)!; + public VIEW(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.VIEW, 0)!; } - public ttlClause(): TtlClauseContext { - return this.getRuleContext(0, TtlClauseContext)!; + public tableIdentifier(): TableIdentifierContext { + return this.getRuleContext(0, TableIdentifierContext)!; } - public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseModifyTTL) { - return visitor.visitAlterTableClauseModifyTTL(this); - } else { - return visitor.visitChildren(this); - } + public subqueryClause(): SubqueryClauseContext { + return this.getRuleContext(0, SubqueryClauseContext)!; } -} -export class AlterTableClauseAddProjectionContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public ATTACH(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ATTACH, 0); } - public ADD(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.ADD, 0)!; + public CREATE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.CREATE, 0); } - public PROJECTION(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.PROJECTION, 0)!; + public OR(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.OR, 0); } - public tableProjectionDefinition(): TableProjectionDefinitionContext { - return this.getRuleContext(0, TableProjectionDefinitionContext)!; + public REPLACE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.REPLACE, 0); } public IF(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.IF, 0); @@ -12458,52 +14928,56 @@ export class AlterTableClauseAddProjectionContext extends AlterTableClauseContex public EXISTS(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.EXISTS, 0); } - public AFTER(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.AFTER, 0); + public uuidClause(): UuidClauseContext | null { + return this.getRuleContext(0, UuidClauseContext); } - public columnIdentifier(): ColumnIdentifierContext | null { - return this.getRuleContext(0, ColumnIdentifierContext); + public clusterClause(): ClusterClauseContext | null { + return this.getRuleContext(0, ClusterClauseContext); + } + public tableSchemaClause(): TableSchemaClauseContext | null { + return this.getRuleContext(0, TableSchemaClauseContext); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_createViewStatement; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseAddProjection) { - return visitor.visitAlterTableClauseAddProjection(this); + if (visitor.visitCreateViewStatement) { + return visitor.visitCreateViewStatement(this); } else { return visitor.visitChildren(this); } } } -export class AlterTableClauseAddColumnContext extends AlterTableClauseContext { - public constructor(ctx: AlterTableClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public ADD(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.ADD, 0)!; + + +export class CreateStatementContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public COLUMN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.COLUMN, 0)!; + public createDatabaseStatement(): CreateDatabaseStatementContext | null { + return this.getRuleContext(0, CreateDatabaseStatementContext); } - public tableColumnDefinition(): TableColumnDefinitionContext { - return this.getRuleContext(0, TableColumnDefinitionContext)!; + public createDictionaryStatement(): CreateDictionaryStatementContext | null { + return this.getRuleContext(0, CreateDictionaryStatementContext); } - public IF(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IF, 0); + public createLiveViewStatement(): CreateLiveViewStatementContext | null { + return this.getRuleContext(0, CreateLiveViewStatementContext); } - public NOT(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.NOT, 0); + public createMaterializedViewStatement(): CreateMaterializedViewStatementContext | null { + return this.getRuleContext(0, CreateMaterializedViewStatementContext); } - public EXISTS(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.EXISTS, 0); + public createTableStatement(): CreateTableStatementContext | null { + return this.getRuleContext(0, CreateTableStatementContext); } - public AFTER(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.AFTER, 0); + public createViewStatement(): CreateViewStatementContext | null { + return this.getRuleContext(0, CreateViewStatementContext); } - public columnIdentifier(): ColumnIdentifierContext | null { - return this.getRuleContext(0, ColumnIdentifierContext); + public override get ruleIndex(): number { + return ClickHouseParser.RULE_createStatement; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAlterTableClauseAddColumn) { - return visitor.visitAlterTableClauseAddColumn(this); + if (visitor.visitCreateStatement) { + return visitor.visitCreateStatement(this); } else { return visitor.visitChildren(this); } @@ -12511,18 +14985,24 @@ export class AlterTableClauseAddColumnContext extends AlterTableClauseContext { } -export class AssignmentExpressionListContext extends antlr.ParserRuleContext { +export class DictionarySchemaClauseContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public assignmentExpression(): AssignmentExpressionContext[]; - public assignmentExpression(i: number): AssignmentExpressionContext | null; - public assignmentExpression(i?: number): AssignmentExpressionContext[] | AssignmentExpressionContext | null { + public LPAREN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.LPAREN, 0)!; + } + public dictionaryAttributeDefinition(): DictionaryAttributeDefinitionContext[]; + public dictionaryAttributeDefinition(i: number): DictionaryAttributeDefinitionContext | null; + public dictionaryAttributeDefinition(i?: number): DictionaryAttributeDefinitionContext[] | DictionaryAttributeDefinitionContext | null { if (i === undefined) { - return this.getRuleContexts(AssignmentExpressionContext); + return this.getRuleContexts(DictionaryAttributeDefinitionContext); } - return this.getRuleContext(i, AssignmentExpressionContext); + return this.getRuleContext(i, DictionaryAttributeDefinitionContext); + } + public RPAREN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.RPAREN, 0)!; } public COMMA(): antlr.TerminalNode[]; public COMMA(i: number): antlr.TerminalNode | null; @@ -12534,11 +15014,11 @@ export class AssignmentExpressionListContext extends antlr.ParserRuleContext { } } public override get ruleIndex(): number { - return ClickHouseParser.RULE_assignmentExpressionList; + return ClickHouseParser.RULE_dictionarySchemaClause; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAssignmentExpressionList) { - return visitor.visitAssignmentExpressionList(this); + if (visitor.visitDictionarySchemaClause) { + return visitor.visitDictionarySchemaClause(this); } else { return visitor.visitChildren(this); } @@ -12546,89 +15026,86 @@ export class AssignmentExpressionListContext extends antlr.ParserRuleContext { } -export class AssignmentExpressionContext extends antlr.ParserRuleContext { +export class DictionaryAttributeDefinitionContext extends antlr.ParserRuleContext { + public attrs: Set = new Set(); public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public columnIdentifier(): ColumnIdentifierContext { - return this.getRuleContext(0, ColumnIdentifierContext)!; - } - public EQ_SINGLE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.EQ_SINGLE, 0)!; + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public columnExpression(): ColumnExpressionContext { - return this.getRuleContext(0, ColumnExpressionContext)!; + public columnTypeExpression(): ColumnTypeExpressionContext { + return this.getRuleContext(0, ColumnTypeExpressionContext)!; } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_assignmentExpression; + public DEFAULT(): antlr.TerminalNode[]; + public DEFAULT(i: number): antlr.TerminalNode | null; + public DEFAULT(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.DEFAULT); + } else { + return this.getToken(ClickHouseParser.DEFAULT, i); + } } - public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAssignmentExpression) { - return visitor.visitAssignmentExpression(this); - } else { - return visitor.visitChildren(this); + public literal(): LiteralContext[]; + public literal(i: number): LiteralContext | null; + public literal(i?: number): LiteralContext[] | LiteralContext | null { + if (i === undefined) { + return this.getRuleContexts(LiteralContext); } - } -} - -export class TableColumnPropertyTypeContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public ALIAS(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.ALIAS, 0); - } - public CODEC(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.CODEC, 0); - } - public COMMENT(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.COMMENT, 0); - } - public DEFAULT(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.DEFAULT, 0); - } - public MATERIALIZED(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.MATERIALIZED, 0); - } - public TTL(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.TTL, 0); + return this.getRuleContext(i, LiteralContext); } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_tableColumnPropertyType; + public EXPRESSION(): antlr.TerminalNode[]; + public EXPRESSION(i: number): antlr.TerminalNode | null; + public EXPRESSION(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.EXPRESSION); + } else { + return this.getToken(ClickHouseParser.EXPRESSION, i); + } } - public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitTableColumnPropertyType) { - return visitor.visitTableColumnPropertyType(this); - } else { - return visitor.visitChildren(this); + public columnExpression(): ColumnExpressionContext[]; + public columnExpression(i: number): ColumnExpressionContext | null; + public columnExpression(i?: number): ColumnExpressionContext[] | ColumnExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(ColumnExpressionContext); } - } -} - -export class PartitionClauseContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public PARTITION(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.PARTITION, 0)!; + return this.getRuleContext(i, ColumnExpressionContext); } - public columnExpression(): ColumnExpressionContext | null { - return this.getRuleContext(0, ColumnExpressionContext); + public HIERARCHICAL(): antlr.TerminalNode[]; + public HIERARCHICAL(i: number): antlr.TerminalNode | null; + public HIERARCHICAL(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.HIERARCHICAL); + } else { + return this.getToken(ClickHouseParser.HIERARCHICAL, i); + } } - public ID(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.ID, 0); + public INJECTIVE(): antlr.TerminalNode[]; + public INJECTIVE(i: number): antlr.TerminalNode | null; + public INJECTIVE(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.INJECTIVE); + } else { + return this.getToken(ClickHouseParser.INJECTIVE, i); + } } - public STRING_LITERAL(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.STRING_LITERAL, 0); + public IS_OBJECT_ID(): antlr.TerminalNode[]; + public IS_OBJECT_ID(i: number): antlr.TerminalNode | null; + public IS_OBJECT_ID(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.IS_OBJECT_ID); + } else { + return this.getToken(ClickHouseParser.IS_OBJECT_ID, i); + } } public override get ruleIndex(): number { - return ClickHouseParser.RULE_partitionClause; + return ClickHouseParser.RULE_dictionaryAttributeDefinition; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitPartitionClause) { - return visitor.visitPartitionClause(this); + if (visitor.visitDictionaryAttributeDefinition) { + return visitor.visitDictionaryAttributeDefinition(this); } else { return visitor.visitChildren(this); } @@ -12636,37 +15113,65 @@ export class PartitionClauseContext extends antlr.ParserRuleContext { } -export class AttachStatementContext extends antlr.ParserRuleContext { +export class DictionaryEngineClauseContext extends antlr.ParserRuleContext { + public clauses: Set = new Set(); public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_attachStatement; + public dictionaryPrimaryKeyClause(): DictionaryPrimaryKeyClauseContext | null { + return this.getRuleContext(0, DictionaryPrimaryKeyClauseContext); } - public override copyFrom(ctx: AttachStatementContext): void { - super.copyFrom(ctx); + public sourceClause(): SourceClauseContext[]; + public sourceClause(i: number): SourceClauseContext | null; + public sourceClause(i?: number): SourceClauseContext[] | SourceClauseContext | null { + if (i === undefined) { + return this.getRuleContexts(SourceClauseContext); + } + + return this.getRuleContext(i, SourceClauseContext); } -} -export class AttachDictionaryStatementContext extends AttachStatementContext { - public constructor(ctx: AttachStatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public lifetimeClause(): LifetimeClauseContext[]; + public lifetimeClause(i: number): LifetimeClauseContext | null; + public lifetimeClause(i?: number): LifetimeClauseContext[] | LifetimeClauseContext | null { + if (i === undefined) { + return this.getRuleContexts(LifetimeClauseContext); + } + + return this.getRuleContext(i, LifetimeClauseContext); } - public ATTACH(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.ATTACH, 0)!; + public layoutClause(): LayoutClauseContext[]; + public layoutClause(i: number): LayoutClauseContext | null; + public layoutClause(i?: number): LayoutClauseContext[] | LayoutClauseContext | null { + if (i === undefined) { + return this.getRuleContexts(LayoutClauseContext); + } + + return this.getRuleContext(i, LayoutClauseContext); } - public DICTIONARY(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.DICTIONARY, 0)!; + public rangeClause(): RangeClauseContext[]; + public rangeClause(i: number): RangeClauseContext | null; + public rangeClause(i?: number): RangeClauseContext[] | RangeClauseContext | null { + if (i === undefined) { + return this.getRuleContexts(RangeClauseContext); + } + + return this.getRuleContext(i, RangeClauseContext); } - public tableIdentifier(): TableIdentifierContext { - return this.getRuleContext(0, TableIdentifierContext)!; + public dictionarySettingsClause(): DictionarySettingsClauseContext[]; + public dictionarySettingsClause(i: number): DictionarySettingsClauseContext | null; + public dictionarySettingsClause(i?: number): DictionarySettingsClauseContext[] | DictionarySettingsClauseContext | null { + if (i === undefined) { + return this.getRuleContexts(DictionarySettingsClauseContext); + } + + return this.getRuleContext(i, DictionarySettingsClauseContext); } - public clusterClause(): ClusterClauseContext | null { - return this.getRuleContext(0, ClusterClauseContext); + public override get ruleIndex(): number { + return ClickHouseParser.RULE_dictionaryEngineClause; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitAttachDictionaryStatement) { - return visitor.visitAttachDictionaryStatement(this); + if (visitor.visitDictionaryEngineClause) { + return visitor.visitDictionaryEngineClause(this); } else { return visitor.visitChildren(this); } @@ -12674,28 +15179,25 @@ export class AttachDictionaryStatementContext extends AttachStatementContext { } -export class CheckStatementContext extends antlr.ParserRuleContext { +export class DictionaryPrimaryKeyClauseContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public CHECK(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.CHECK, 0)!; - } - public TABLE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.TABLE, 0)!; + public PRIMARY(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.PRIMARY, 0)!; } - public tableIdentifier(): TableIdentifierContext { - return this.getRuleContext(0, TableIdentifierContext)!; + public KEY(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.KEY, 0)!; } - public partitionClause(): PartitionClauseContext | null { - return this.getRuleContext(0, PartitionClauseContext); + public columnExpressionList(): ColumnExpressionListContext { + return this.getRuleContext(0, ColumnExpressionListContext)!; } public override get ruleIndex(): number { - return ClickHouseParser.RULE_checkStatement; + return ClickHouseParser.RULE_dictionaryPrimaryKeyClause; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitCheckStatement) { - return visitor.visitCheckStatement(this); + if (visitor.visitDictionaryPrimaryKeyClause) { + return visitor.visitDictionaryPrimaryKeyClause(this); } else { return visitor.visitChildren(this); } @@ -12703,31 +15205,34 @@ export class CheckStatementContext extends antlr.ParserRuleContext { } -export class DeleteStatementContext extends antlr.ParserRuleContext { +export class DictionaryArgumentExpressionContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public DELETE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.DELETE, 0)!; - } - public FROM(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.FROM, 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 tableIdentifier(): TableIdentifierContext { - return this.getRuleContext(0, TableIdentifierContext)!; + public literal(): LiteralContext | null { + return this.getRuleContext(0, LiteralContext); } - public clusterClause(): ClusterClauseContext | null { - return this.getRuleContext(0, ClusterClauseContext); + public LPAREN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.LPAREN, 0); } - public whereClause(): WhereClauseContext | null { - return this.getRuleContext(0, WhereClauseContext); + public RPAREN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.RPAREN, 0); } public override get ruleIndex(): number { - return ClickHouseParser.RULE_deleteStatement; + return ClickHouseParser.RULE_dictionaryArgumentExpression; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitDeleteStatement) { - return visitor.visitDeleteStatement(this); + if (visitor.visitDictionaryArgumentExpression) { + return visitor.visitDictionaryArgumentExpression(this); } else { return visitor.visitChildren(this); } @@ -12735,61 +15240,49 @@ export class DeleteStatementContext extends antlr.ParserRuleContext { } -export class CreateTableStatementContext extends antlr.ParserRuleContext { +export class SourceClauseContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public TABLE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.TABLE, 0)!; - } - public tableIdentifier(): TableIdentifierContext { - return this.getRuleContext(0, TableIdentifierContext)!; - } - public ATTACH(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.ATTACH, 0); - } - public CREATE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.CREATE, 0); - } - public REPLACE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.REPLACE, 0); - } - public TEMPORARY(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.TEMPORARY, 0); - } - public IF(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IF, 0); - } - public NOT(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.NOT, 0); - } - public EXISTS(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.EXISTS, 0); - } - public uuidClause(): UuidClauseContext | null { - return this.getRuleContext(0, UuidClauseContext); - } - public clusterClause(): ClusterClauseContext | null { - return this.getRuleContext(0, ClusterClauseContext); + public SOURCE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.SOURCE, 0)!; } - public tableSchemaClause(): TableSchemaClauseContext | null { - return this.getRuleContext(0, TableSchemaClauseContext); + public LPAREN(): antlr.TerminalNode[]; + public LPAREN(i: number): antlr.TerminalNode | null; + public LPAREN(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.LPAREN); + } else { + return this.getToken(ClickHouseParser.LPAREN, i); + } } - public engineClause(): EngineClauseContext | null { - return this.getRuleContext(0, EngineClauseContext); + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public subqueryClause(): SubqueryClauseContext | null { - return this.getRuleContext(0, SubqueryClauseContext); + public RPAREN(): antlr.TerminalNode[]; + public RPAREN(i: number): antlr.TerminalNode | null; + public RPAREN(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.RPAREN); + } else { + return this.getToken(ClickHouseParser.RPAREN, i); + } } - public OR(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.OR, 0); + public dictionaryArgumentExpression(): DictionaryArgumentExpressionContext[]; + public dictionaryArgumentExpression(i: number): DictionaryArgumentExpressionContext | null; + public dictionaryArgumentExpression(i?: number): DictionaryArgumentExpressionContext[] | DictionaryArgumentExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(DictionaryArgumentExpressionContext); + } + + return this.getRuleContext(i, DictionaryArgumentExpressionContext); } public override get ruleIndex(): number { - return ClickHouseParser.RULE_createTableStatement; + return ClickHouseParser.RULE_sourceClause; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitCreateTableStatement) { - return visitor.visitCreateTableStatement(this); + if (visitor.visitSourceClause) { + return visitor.visitSourceClause(this); } else { return visitor.visitChildren(this); } @@ -12797,43 +15290,40 @@ export class CreateTableStatementContext extends antlr.ParserRuleContext { } -export class CreateDatabaseStatementContext extends antlr.ParserRuleContext { +export class LifetimeClauseContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public DATABASE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.DATABASE, 0)!; - } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; - } - public engineExpression(): EngineExpressionContext { - return this.getRuleContext(0, EngineExpressionContext)!; - } - public ATTACH(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.ATTACH, 0); + public LIFETIME(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.LIFETIME, 0)!; } - public CREATE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.CREATE, 0); + public LPAREN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.LPAREN, 0)!; } - public IF(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IF, 0); + public RPAREN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.RPAREN, 0)!; } - public NOT(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.NOT, 0); + public DECIMAL_LITERAL(): antlr.TerminalNode[]; + public DECIMAL_LITERAL(i: number): antlr.TerminalNode | null; + public DECIMAL_LITERAL(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.DECIMAL_LITERAL); + } else { + return this.getToken(ClickHouseParser.DECIMAL_LITERAL, i); + } } - public EXISTS(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.EXISTS, 0); + public MIN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.MIN, 0); } - public clusterClause(): ClusterClauseContext | null { - return this.getRuleContext(0, ClusterClauseContext); + public MAX(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.MAX, 0); } public override get ruleIndex(): number { - return ClickHouseParser.RULE_createDatabaseStatement; + return ClickHouseParser.RULE_lifetimeClause; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitCreateDatabaseStatement) { - return visitor.visitCreateDatabaseStatement(this); + if (visitor.visitLifetimeClause) { + return visitor.visitLifetimeClause(this); } else { return visitor.visitChildren(this); } @@ -12841,55 +15331,49 @@ export class CreateDatabaseStatementContext extends antlr.ParserRuleContext { } -export class CreateDictionaryStatementContext extends antlr.ParserRuleContext { +export class LayoutClauseContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public DICTIONARY(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.DICTIONARY, 0)!; - } - public tableIdentifier(): TableIdentifierContext { - return this.getRuleContext(0, TableIdentifierContext)!; - } - public dictionarySchemaClause(): DictionarySchemaClauseContext { - return this.getRuleContext(0, DictionarySchemaClauseContext)!; - } - public dictionaryEngineClause(): DictionaryEngineClauseContext { - return this.getRuleContext(0, DictionaryEngineClauseContext)!; - } - public ATTACH(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.ATTACH, 0); - } - public CREATE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.CREATE, 0); - } - public REPLACE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.REPLACE, 0); - } - public IF(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IF, 0); - } - public NOT(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.NOT, 0); + public LAYOUT(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.LAYOUT, 0)!; } - public EXISTS(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.EXISTS, 0); + public LPAREN(): antlr.TerminalNode[]; + public LPAREN(i: number): antlr.TerminalNode | null; + public LPAREN(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.LPAREN); + } else { + return this.getToken(ClickHouseParser.LPAREN, i); + } } - public uuidClause(): UuidClauseContext | null { - return this.getRuleContext(0, UuidClauseContext); + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public clusterClause(): ClusterClauseContext | null { - return this.getRuleContext(0, ClusterClauseContext); + public RPAREN(): antlr.TerminalNode[]; + public RPAREN(i: number): antlr.TerminalNode | null; + public RPAREN(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.RPAREN); + } else { + return this.getToken(ClickHouseParser.RPAREN, i); + } } - public OR(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.OR, 0); + public dictionaryArgumentExpression(): DictionaryArgumentExpressionContext[]; + public dictionaryArgumentExpression(i: number): DictionaryArgumentExpressionContext | null; + public dictionaryArgumentExpression(i?: number): DictionaryArgumentExpressionContext[] | DictionaryArgumentExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(DictionaryArgumentExpressionContext); + } + + return this.getRuleContext(i, DictionaryArgumentExpressionContext); } public override get ruleIndex(): number { - return ClickHouseParser.RULE_createDictionaryStatement; + return ClickHouseParser.RULE_layoutClause; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitCreateDictionaryStatement) { - return visitor.visitCreateDictionaryStatement(this); + if (visitor.visitLayoutClause) { + return visitor.visitLayoutClause(this); } else { return visitor.visitChildren(this); } @@ -12897,64 +15381,69 @@ export class CreateDictionaryStatementContext extends antlr.ParserRuleContext { } -export class CreateLiveViewStatementContext extends antlr.ParserRuleContext { +export class RangeClauseContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public LIVE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.LIVE, 0)!; - } - public VIEW(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.VIEW, 0)!; - } - public tableIdentifier(): TableIdentifierContext { - return this.getRuleContext(0, TableIdentifierContext)!; - } - public subqueryClause(): SubqueryClauseContext { - return this.getRuleContext(0, SubqueryClauseContext)!; + public RANGE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.RANGE, 0)!; } - public ATTACH(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.ATTACH, 0); + public LPAREN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.LPAREN, 0)!; } - public CREATE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.CREATE, 0); + public RPAREN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.RPAREN, 0)!; } - public IF(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IF, 0); + public MIN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.MIN, 0); } - public NOT(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.NOT, 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 EXISTS(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.EXISTS, 0); + public MAX(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.MAX, 0); } - public uuidClause(): UuidClauseContext | null { - return this.getRuleContext(0, UuidClauseContext); + public override get ruleIndex(): number { + return ClickHouseParser.RULE_rangeClause; } - public clusterClause(): ClusterClauseContext | null { - return this.getRuleContext(0, ClusterClauseContext); + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitRangeClause) { + return visitor.visitRangeClause(this); + } else { + return visitor.visitChildren(this); + } } - public WITH(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.WITH, 0); +} + + +export class DictionarySettingsClauseContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public TIMEOUT(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.TIMEOUT, 0); + public SETTINGS(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.SETTINGS, 0)!; } - public destinationClause(): DestinationClauseContext | null { - return this.getRuleContext(0, DestinationClauseContext); + public LPAREN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.LPAREN, 0)!; } - public tableSchemaClause(): TableSchemaClauseContext | null { - return this.getRuleContext(0, TableSchemaClauseContext); + public settingExpressionList(): SettingExpressionListContext { + return this.getRuleContext(0, SettingExpressionListContext)!; } - public DECIMAL_LITERAL(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.DECIMAL_LITERAL, 0); + public RPAREN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.RPAREN, 0)!; } public override get ruleIndex(): number { - return ClickHouseParser.RULE_createLiveViewStatement; + return ClickHouseParser.RULE_dictionarySettingsClause; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitCreateLiveViewStatement) { - return visitor.visitCreateLiveViewStatement(this); + if (visitor.visitDictionarySettingsClause) { + return visitor.visitDictionarySettingsClause(this); } else { return visitor.visitChildren(this); } @@ -12962,61 +15451,51 @@ export class CreateLiveViewStatementContext extends antlr.ParserRuleContext { } -export class CreateMaterializedViewStatementContext extends antlr.ParserRuleContext { +export class ClusterClauseContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public MATERIALIZED(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.MATERIALIZED, 0)!; - } - public VIEW(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.VIEW, 0)!; - } - public tableIdentifier(): TableIdentifierContext { - return this.getRuleContext(0, TableIdentifierContext)!; - } - public subqueryClause(): SubqueryClauseContext { - return this.getRuleContext(0, SubqueryClauseContext)!; - } - public ATTACH(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.ATTACH, 0); - } - public CREATE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.CREATE, 0); - } - public destinationClause(): DestinationClauseContext | null { - return this.getRuleContext(0, DestinationClauseContext); + public ON(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.ON, 0)!; } - public engineClause(): EngineClauseContext | null { - return this.getRuleContext(0, EngineClauseContext); + public CLUSTER(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.CLUSTER, 0)!; } - public IF(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IF, 0); + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); } - public NOT(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.NOT, 0); + public STRING_LITERAL(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.STRING_LITERAL, 0); } - public EXISTS(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.EXISTS, 0); + public override get ruleIndex(): number { + return ClickHouseParser.RULE_clusterClause; } - public uuidClause(): UuidClauseContext | null { - return this.getRuleContext(0, UuidClauseContext); + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitClusterClause) { + return visitor.visitClusterClause(this); + } else { + return visitor.visitChildren(this); + } } - public clusterClause(): ClusterClauseContext | null { - return this.getRuleContext(0, ClusterClauseContext); +} + + +export class UuidClauseContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public tableSchemaClause(): TableSchemaClauseContext | null { - return this.getRuleContext(0, TableSchemaClauseContext); + public UUID(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.UUID, 0)!; } - public POPULATE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.POPULATE, 0); + public STRING_LITERAL(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.STRING_LITERAL, 0)!; } public override get ruleIndex(): number { - return ClickHouseParser.RULE_createMaterializedViewStatement; + return ClickHouseParser.RULE_uuidClause; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitCreateMaterializedViewStatement) { - return visitor.visitCreateMaterializedViewStatement(this); + if (visitor.visitUuidClause) { + return visitor.visitUuidClause(this); } else { return visitor.visitChildren(this); } @@ -13024,55 +15503,45 @@ export class CreateMaterializedViewStatementContext extends antlr.ParserRuleCont } -export class CreateViewStatementContext extends antlr.ParserRuleContext { +export class DestinationClauseContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public VIEW(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.VIEW, 0)!; + public TO(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.TO, 0)!; } public tableIdentifier(): TableIdentifierContext { return this.getRuleContext(0, TableIdentifierContext)!; } - public subqueryClause(): SubqueryClauseContext { - return this.getRuleContext(0, SubqueryClauseContext)!; - } - public ATTACH(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.ATTACH, 0); - } - public CREATE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.CREATE, 0); - } - public OR(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.OR, 0); - } - public REPLACE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.REPLACE, 0); - } - public IF(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IF, 0); - } - public NOT(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.NOT, 0); + public override get ruleIndex(): number { + return ClickHouseParser.RULE_destinationClause; } - public EXISTS(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.EXISTS, 0); + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitDestinationClause) { + return visitor.visitDestinationClause(this); + } else { + return visitor.visitChildren(this); + } } - public uuidClause(): UuidClauseContext | null { - return this.getRuleContext(0, UuidClauseContext); +} + + +export class SubqueryClauseContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public clusterClause(): ClusterClauseContext | null { - return this.getRuleContext(0, ClusterClauseContext); + public AS(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.AS, 0)!; } - public tableSchemaClause(): TableSchemaClauseContext | null { - return this.getRuleContext(0, TableSchemaClauseContext); + public selectUnionStatement(): SelectUnionStatementContext { + return this.getRuleContext(0, SelectUnionStatementContext)!; } public override get ruleIndex(): number { - return ClickHouseParser.RULE_createViewStatement; + return ClickHouseParser.RULE_subqueryClause; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitCreateViewStatement) { - return visitor.visitCreateViewStatement(this); + if (visitor.visitSubqueryClause) { + return visitor.visitSubqueryClause(this); } else { return visitor.visitChildren(this); } @@ -13080,56 +15549,71 @@ export class CreateViewStatementContext extends antlr.ParserRuleContext { } -export class CreateStatementContext extends antlr.ParserRuleContext { +export class TableSchemaClauseContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public createDatabaseStatement(): CreateDatabaseStatementContext | null { - return this.getRuleContext(0, CreateDatabaseStatementContext); + public override get ruleIndex(): number { + return ClickHouseParser.RULE_tableSchemaClause; } - public createDictionaryStatement(): CreateDictionaryStatementContext | null { - return this.getRuleContext(0, CreateDictionaryStatementContext); + public override copyFrom(ctx: TableSchemaClauseContext): void { + super.copyFrom(ctx); } - public createLiveViewStatement(): CreateLiveViewStatementContext | null { - return this.getRuleContext(0, CreateLiveViewStatementContext); +} +export class SchemaAsTableClauseContext extends TableSchemaClauseContext { + public constructor(ctx: TableSchemaClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public createMaterializedViewStatement(): CreateMaterializedViewStatementContext | null { - return this.getRuleContext(0, CreateMaterializedViewStatementContext); + public AS(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.AS, 0)!; } - public createTableStatement(): CreateTableStatementContext | null { - return this.getRuleContext(0, CreateTableStatementContext); + public tableIdentifier(): TableIdentifierContext { + return this.getRuleContext(0, TableIdentifierContext)!; } - public createViewStatement(): CreateViewStatementContext | null { - return this.getRuleContext(0, CreateViewStatementContext); + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitSchemaAsTableClause) { + return visitor.visitSchemaAsTableClause(this); + } else { + return visitor.visitChildren(this); + } } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_createStatement; +} +export class SchemaAsFunctionClauseContext extends TableSchemaClauseContext { + public constructor(ctx: TableSchemaClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public AS(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.AS, 0)!; + } + public tableFunctionExpression(): TableFunctionExpressionContext { + return this.getRuleContext(0, TableFunctionExpressionContext)!; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitCreateStatement) { - return visitor.visitCreateStatement(this); + if (visitor.visitSchemaAsFunctionClause) { + return visitor.visitSchemaAsFunctionClause(this); } else { return visitor.visitChildren(this); } } } - - -export class DictionarySchemaClauseContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class SchemaDescriptionClauseContext extends TableSchemaClauseContext { + public constructor(ctx: TableSchemaClauseContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } public LPAREN(): antlr.TerminalNode { return this.getToken(ClickHouseParser.LPAREN, 0)!; } - public dictionaryAttributeDefinition(): DictionaryAttributeDefinitionContext[]; - public dictionaryAttributeDefinition(i: number): DictionaryAttributeDefinitionContext | null; - public dictionaryAttributeDefinition(i?: number): DictionaryAttributeDefinitionContext[] | DictionaryAttributeDefinitionContext | null { + public tableElementExpression(): TableElementExpressionContext[]; + public tableElementExpression(i: number): TableElementExpressionContext | null; + public tableElementExpression(i?: number): TableElementExpressionContext[] | TableElementExpressionContext | null { if (i === undefined) { - return this.getRuleContexts(DictionaryAttributeDefinitionContext); + return this.getRuleContexts(TableElementExpressionContext); } - return this.getRuleContext(i, DictionaryAttributeDefinitionContext); + return this.getRuleContext(i, TableElementExpressionContext); } public RPAREN(): antlr.TerminalNode { return this.getToken(ClickHouseParser.RPAREN, 0)!; @@ -13143,12 +15627,9 @@ export class DictionarySchemaClauseContext extends antlr.ParserRuleContext { return this.getToken(ClickHouseParser.COMMA, i); } } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_dictionarySchemaClause; - } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitDictionarySchemaClause) { - return visitor.visitDictionarySchemaClause(this); + if (visitor.visitSchemaDescriptionClause) { + return visitor.visitSchemaDescriptionClause(this); } else { return visitor.visitChildren(this); } @@ -13156,152 +15637,100 @@ export class DictionarySchemaClauseContext extends antlr.ParserRuleContext { } -export class DictionaryAttributeDefinitionContext extends antlr.ParserRuleContext { - public attrs: Set = new Set(); +export class EngineClauseContext extends antlr.ParserRuleContext { + public clauses: Set = new Set(); public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; - } - public columnTypeExpression(): ColumnTypeExpressionContext { - return this.getRuleContext(0, ColumnTypeExpressionContext)!; - } - public DEFAULT(): antlr.TerminalNode[]; - public DEFAULT(i: number): antlr.TerminalNode | null; - public DEFAULT(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(ClickHouseParser.DEFAULT); - } else { - return this.getToken(ClickHouseParser.DEFAULT, i); - } + public engineExpression(): EngineExpressionContext { + return this.getRuleContext(0, EngineExpressionContext)!; } - public literal(): LiteralContext[]; - public literal(i: number): LiteralContext | null; - public literal(i?: number): LiteralContext[] | LiteralContext | null { + public orderByClause(): OrderByClauseContext[]; + public orderByClause(i: number): OrderByClauseContext | null; + public orderByClause(i?: number): OrderByClauseContext[] | OrderByClauseContext | null { if (i === undefined) { - return this.getRuleContexts(LiteralContext); + return this.getRuleContexts(OrderByClauseContext); } - return this.getRuleContext(i, LiteralContext); - } - public EXPRESSION(): antlr.TerminalNode[]; - public EXPRESSION(i: number): antlr.TerminalNode | null; - public EXPRESSION(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(ClickHouseParser.EXPRESSION); - } else { - return this.getToken(ClickHouseParser.EXPRESSION, i); - } + return this.getRuleContext(i, OrderByClauseContext); } - public columnExpression(): ColumnExpressionContext[]; - public columnExpression(i: number): ColumnExpressionContext | null; - public columnExpression(i?: number): ColumnExpressionContext[] | ColumnExpressionContext | null { + public partitionByClause(): PartitionByClauseContext[]; + public partitionByClause(i: number): PartitionByClauseContext | null; + public partitionByClause(i?: number): PartitionByClauseContext[] | PartitionByClauseContext | null { if (i === undefined) { - return this.getRuleContexts(ColumnExpressionContext); - } - - return this.getRuleContext(i, ColumnExpressionContext); - } - public HIERARCHICAL(): antlr.TerminalNode[]; - public HIERARCHICAL(i: number): antlr.TerminalNode | null; - public HIERARCHICAL(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(ClickHouseParser.HIERARCHICAL); - } else { - return this.getToken(ClickHouseParser.HIERARCHICAL, i); - } - } - public INJECTIVE(): antlr.TerminalNode[]; - public INJECTIVE(i: number): antlr.TerminalNode | null; - public INJECTIVE(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(ClickHouseParser.INJECTIVE); - } else { - return this.getToken(ClickHouseParser.INJECTIVE, i); - } - } - public IS_OBJECT_ID(): antlr.TerminalNode[]; - public IS_OBJECT_ID(i: number): antlr.TerminalNode | null; - public IS_OBJECT_ID(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(ClickHouseParser.IS_OBJECT_ID); - } else { - return this.getToken(ClickHouseParser.IS_OBJECT_ID, i); - } - } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_dictionaryAttributeDefinition; - } - public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitDictionaryAttributeDefinition) { - return visitor.visitDictionaryAttributeDefinition(this); - } else { - return visitor.visitChildren(this); + return this.getRuleContexts(PartitionByClauseContext); } - } -} - -export class DictionaryEngineClauseContext extends antlr.ParserRuleContext { - public clauses: Set = new Set(); - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public dictionaryPrimaryKeyClause(): DictionaryPrimaryKeyClauseContext | null { - return this.getRuleContext(0, DictionaryPrimaryKeyClauseContext); + return this.getRuleContext(i, PartitionByClauseContext); } - public sourceClause(): SourceClauseContext[]; - public sourceClause(i: number): SourceClauseContext | null; - public sourceClause(i?: number): SourceClauseContext[] | SourceClauseContext | null { + public primaryKeyClause(): PrimaryKeyClauseContext[]; + public primaryKeyClause(i: number): PrimaryKeyClauseContext | null; + public primaryKeyClause(i?: number): PrimaryKeyClauseContext[] | PrimaryKeyClauseContext | null { if (i === undefined) { - return this.getRuleContexts(SourceClauseContext); + return this.getRuleContexts(PrimaryKeyClauseContext); } - return this.getRuleContext(i, SourceClauseContext); + return this.getRuleContext(i, PrimaryKeyClauseContext); } - public lifetimeClause(): LifetimeClauseContext[]; - public lifetimeClause(i: number): LifetimeClauseContext | null; - public lifetimeClause(i?: number): LifetimeClauseContext[] | LifetimeClauseContext | null { + public sampleByClause(): SampleByClauseContext[]; + public sampleByClause(i: number): SampleByClauseContext | null; + public sampleByClause(i?: number): SampleByClauseContext[] | SampleByClauseContext | null { if (i === undefined) { - return this.getRuleContexts(LifetimeClauseContext); + return this.getRuleContexts(SampleByClauseContext); } - return this.getRuleContext(i, LifetimeClauseContext); + return this.getRuleContext(i, SampleByClauseContext); } - public layoutClause(): LayoutClauseContext[]; - public layoutClause(i: number): LayoutClauseContext | null; - public layoutClause(i?: number): LayoutClauseContext[] | LayoutClauseContext | null { + public ttlClause(): TtlClauseContext[]; + public ttlClause(i: number): TtlClauseContext | null; + public ttlClause(i?: number): TtlClauseContext[] | TtlClauseContext | null { if (i === undefined) { - return this.getRuleContexts(LayoutClauseContext); + return this.getRuleContexts(TtlClauseContext); } - return this.getRuleContext(i, LayoutClauseContext); + return this.getRuleContext(i, TtlClauseContext); } - public rangeClause(): RangeClauseContext[]; - public rangeClause(i: number): RangeClauseContext | null; - public rangeClause(i?: number): RangeClauseContext[] | RangeClauseContext | null { + public settingsClause(): SettingsClauseContext[]; + public settingsClause(i: number): SettingsClauseContext | null; + public settingsClause(i?: number): SettingsClauseContext[] | SettingsClauseContext | null { if (i === undefined) { - return this.getRuleContexts(RangeClauseContext); + return this.getRuleContexts(SettingsClauseContext); } - return this.getRuleContext(i, RangeClauseContext); + return this.getRuleContext(i, SettingsClauseContext); } - public dictionarySettingsClause(): DictionarySettingsClauseContext[]; - public dictionarySettingsClause(i: number): DictionarySettingsClauseContext | null; - public dictionarySettingsClause(i?: number): DictionarySettingsClauseContext[] | DictionarySettingsClauseContext | null { - if (i === undefined) { - return this.getRuleContexts(DictionarySettingsClauseContext); + public override get ruleIndex(): number { + return ClickHouseParser.RULE_engineClause; + } + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitEngineClause) { + return visitor.visitEngineClause(this); + } else { + return visitor.visitChildren(this); } + } +} - return this.getRuleContext(i, DictionarySettingsClauseContext); + +export class PartitionByClauseContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public PARTITION(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.PARTITION, 0)!; + } + public BY(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.BY, 0)!; + } + public columnExpression(): ColumnExpressionContext { + return this.getRuleContext(0, ColumnExpressionContext)!; } public override get ruleIndex(): number { - return ClickHouseParser.RULE_dictionaryEngineClause; + return ClickHouseParser.RULE_partitionByClause; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitDictionaryEngineClause) { - return visitor.visitDictionaryEngineClause(this); + if (visitor.visitPartitionByClause) { + return visitor.visitPartitionByClause(this); } else { return visitor.visitChildren(this); } @@ -13309,7 +15738,7 @@ export class DictionaryEngineClauseContext extends antlr.ParserRuleContext { } -export class DictionaryPrimaryKeyClauseContext extends antlr.ParserRuleContext { +export class PrimaryKeyClauseContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } @@ -13319,15 +15748,15 @@ export class DictionaryPrimaryKeyClauseContext extends antlr.ParserRuleContext { public KEY(): antlr.TerminalNode { return this.getToken(ClickHouseParser.KEY, 0)!; } - public columnExpressionList(): ColumnExpressionListContext { - return this.getRuleContext(0, ColumnExpressionListContext)!; + public columnExpression(): ColumnExpressionContext { + return this.getRuleContext(0, ColumnExpressionContext)!; } public override get ruleIndex(): number { - return ClickHouseParser.RULE_dictionaryPrimaryKeyClause; + return ClickHouseParser.RULE_primaryKeyClause; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitDictionaryPrimaryKeyClause) { - return visitor.visitDictionaryPrimaryKeyClause(this); + if (visitor.visitPrimaryKeyClause) { + return visitor.visitPrimaryKeyClause(this); } else { return visitor.visitChildren(this); } @@ -13335,34 +15764,25 @@ export class DictionaryPrimaryKeyClauseContext extends antlr.ParserRuleContext { } -export class DictionaryArgumentExpressionContext extends antlr.ParserRuleContext { +export class SampleByClauseContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - 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 literal(): LiteralContext | null { - return this.getRuleContext(0, LiteralContext); + public SAMPLE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.SAMPLE, 0)!; } - public LPAREN(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.LPAREN, 0); + public BY(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.BY, 0)!; } - public RPAREN(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.RPAREN, 0); + public columnExpression(): ColumnExpressionContext { + return this.getRuleContext(0, ColumnExpressionContext)!; } public override get ruleIndex(): number { - return ClickHouseParser.RULE_dictionaryArgumentExpression; + return ClickHouseParser.RULE_sampleByClause; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitDictionaryArgumentExpression) { - return visitor.visitDictionaryArgumentExpression(this); + if (visitor.visitSampleByClause) { + return visitor.visitSampleByClause(this); } else { return visitor.visitChildren(this); } @@ -13370,49 +15790,37 @@ export class DictionaryArgumentExpressionContext extends antlr.ParserRuleContext } -export class SourceClauseContext extends antlr.ParserRuleContext { +export class TtlClauseContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public SOURCE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.SOURCE, 0)!; - } - public LPAREN(): antlr.TerminalNode[]; - public LPAREN(i: number): antlr.TerminalNode | null; - public LPAREN(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(ClickHouseParser.LPAREN); - } else { - return this.getToken(ClickHouseParser.LPAREN, i); - } + public TTL(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.TTL, 0)!; } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public ttlExpression(): TtlExpressionContext[]; + public ttlExpression(i: number): TtlExpressionContext | null; + public ttlExpression(i?: number): TtlExpressionContext[] | TtlExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(TtlExpressionContext); + } + + return this.getRuleContext(i, TtlExpressionContext); } - public RPAREN(): antlr.TerminalNode[]; - public RPAREN(i: number): antlr.TerminalNode | null; - public RPAREN(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + public COMMA(): antlr.TerminalNode[]; + public COMMA(i: number): antlr.TerminalNode | null; + public COMMA(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { if (i === undefined) { - return this.getTokens(ClickHouseParser.RPAREN); + return this.getTokens(ClickHouseParser.COMMA); } else { - return this.getToken(ClickHouseParser.RPAREN, i); + return this.getToken(ClickHouseParser.COMMA, i); } } - public dictionaryArgumentExpression(): DictionaryArgumentExpressionContext[]; - public dictionaryArgumentExpression(i: number): DictionaryArgumentExpressionContext | null; - public dictionaryArgumentExpression(i?: number): DictionaryArgumentExpressionContext[] | DictionaryArgumentExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(DictionaryArgumentExpressionContext); - } - - return this.getRuleContext(i, DictionaryArgumentExpressionContext); - } public override get ruleIndex(): number { - return ClickHouseParser.RULE_sourceClause; + return ClickHouseParser.RULE_ttlClause; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitSourceClause) { - return visitor.visitSourceClause(this); + if (visitor.visitTtlClause) { + return visitor.visitTtlClause(this); } else { return visitor.visitChildren(this); } @@ -13420,40 +15828,34 @@ export class SourceClauseContext extends antlr.ParserRuleContext { } -export class LifetimeClauseContext extends antlr.ParserRuleContext { +export class EngineExpressionContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public LIFETIME(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.LIFETIME, 0)!; + public ENGINE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.ENGINE, 0)!; } - public LPAREN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.LPAREN, 0)!; + public identifierOrNull(): IdentifierOrNullContext { + return this.getRuleContext(0, IdentifierOrNullContext)!; } - public RPAREN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.RPAREN, 0)!; + public EQ_SINGLE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.EQ_SINGLE, 0); } - public DECIMAL_LITERAL(): antlr.TerminalNode[]; - public DECIMAL_LITERAL(i: number): antlr.TerminalNode | null; - public DECIMAL_LITERAL(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(ClickHouseParser.DECIMAL_LITERAL); - } else { - return this.getToken(ClickHouseParser.DECIMAL_LITERAL, i); - } + public LPAREN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.LPAREN, 0); } - public MIN(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.MIN, 0); + public RPAREN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.RPAREN, 0); } - public MAX(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.MAX, 0); + public columnExpressionList(): ColumnExpressionListContext | null { + return this.getRuleContext(0, ColumnExpressionListContext); } public override get ruleIndex(): number { - return ClickHouseParser.RULE_lifetimeClause; + return ClickHouseParser.RULE_engineExpression; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitLifetimeClause) { - return visitor.visitLifetimeClause(this); + if (visitor.visitEngineExpression) { + return visitor.visitEngineExpression(this); } else { return visitor.visitChildren(this); } @@ -13461,119 +15863,91 @@ export class LifetimeClauseContext extends antlr.ParserRuleContext { } -export class LayoutClauseContext extends antlr.ParserRuleContext { +export class TableElementExpressionContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public LAYOUT(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.LAYOUT, 0)!; + public override get ruleIndex(): number { + return ClickHouseParser.RULE_tableElementExpression; } - public LPAREN(): antlr.TerminalNode[]; - public LPAREN(i: number): antlr.TerminalNode | null; - public LPAREN(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(ClickHouseParser.LPAREN); - } else { - return this.getToken(ClickHouseParser.LPAREN, i); - } + public override copyFrom(ctx: TableElementExpressionContext): void { + super.copyFrom(ctx); } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; +} +export class TableElementExpressionColumnContext extends TableElementExpressionContext { + public constructor(ctx: TableElementExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public RPAREN(): antlr.TerminalNode[]; - public RPAREN(i: number): antlr.TerminalNode | null; - public RPAREN(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(ClickHouseParser.RPAREN); - } else { - return this.getToken(ClickHouseParser.RPAREN, i); - } + public tableColumnDefinition(): TableColumnDefinitionContext { + return this.getRuleContext(0, TableColumnDefinitionContext)!; } - public dictionaryArgumentExpression(): DictionaryArgumentExpressionContext[]; - public dictionaryArgumentExpression(i: number): DictionaryArgumentExpressionContext | null; - public dictionaryArgumentExpression(i?: number): DictionaryArgumentExpressionContext[] | DictionaryArgumentExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(DictionaryArgumentExpressionContext); + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitTableElementExpressionColumn) { + return visitor.visitTableElementExpressionColumn(this); + } else { + return visitor.visitChildren(this); } - - return this.getRuleContext(i, DictionaryArgumentExpressionContext); } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_layoutClause; +} +export class TableElementExpressionConstraintContext extends TableElementExpressionContext { + public constructor(ctx: TableElementExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); + } + public CONSTRAINT(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.CONSTRAINT, 0)!; + } + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; + } + public CHECK(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.CHECK, 0)!; + } + public columnExpression(): ColumnExpressionContext { + return this.getRuleContext(0, ColumnExpressionContext)!; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitLayoutClause) { - return visitor.visitLayoutClause(this); + if (visitor.visitTableElementExpressionConstraint) { + return visitor.visitTableElementExpressionConstraint(this); } else { return visitor.visitChildren(this); } } } - - -export class RangeClauseContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public RANGE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.RANGE, 0)!; - } - public LPAREN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.LPAREN, 0)!; - } - public RPAREN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.RPAREN, 0)!; - } - public MIN(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.MIN, 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); +export class TableElementExpressionIndexContext extends TableElementExpressionContext { + public constructor(ctx: TableElementExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public MAX(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.MAX, 0); + public INDEX(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.INDEX, 0)!; } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_rangeClause; + public tableIndexDefinition(): TableIndexDefinitionContext { + return this.getRuleContext(0, TableIndexDefinitionContext)!; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitRangeClause) { - return visitor.visitRangeClause(this); + if (visitor.visitTableElementExpressionIndex) { + return visitor.visitTableElementExpressionIndex(this); } else { return visitor.visitChildren(this); } } } - - -export class DictionarySettingsClauseContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public SETTINGS(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.SETTINGS, 0)!; - } - public LPAREN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.LPAREN, 0)!; - } - public settingExpressionList(): SettingExpressionListContext { - return this.getRuleContext(0, SettingExpressionListContext)!; +export class TableElementExpressionProjectionContext extends TableElementExpressionContext { + public constructor(ctx: TableElementExpressionContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public RPAREN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.RPAREN, 0)!; + public PROJECTION(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.PROJECTION, 0)!; } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_dictionarySettingsClause; + public tableProjectionDefinition(): TableProjectionDefinitionContext { + return this.getRuleContext(0, TableProjectionDefinitionContext)!; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitDictionarySettingsClause) { - return visitor.visitDictionarySettingsClause(this); + if (visitor.visitTableElementExpressionProjection) { + return visitor.visitTableElementExpressionProjection(this); } else { return visitor.visitChildren(this); } @@ -13581,28 +15955,40 @@ export class DictionarySettingsClauseContext extends antlr.ParserRuleContext { } -export class ClusterClauseContext extends antlr.ParserRuleContext { +export class TableColumnDefinitionContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public ON(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.ON, 0)!; + public columnIdentifier(): ColumnIdentifierContext { + return this.getRuleContext(0, ColumnIdentifierContext)!; } - public CLUSTER(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.CLUSTER, 0)!; + public columnTypeExpression(): ColumnTypeExpressionContext | null { + return this.getRuleContext(0, ColumnTypeExpressionContext); } - public identifier(): IdentifierContext | null { - return this.getRuleContext(0, IdentifierContext); + public tableColumnPropertyExpression(): TableColumnPropertyExpressionContext | null { + return this.getRuleContext(0, TableColumnPropertyExpressionContext); + } + public COMMENT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.COMMENT, 0); } public STRING_LITERAL(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.STRING_LITERAL, 0); } + public codecExpression(): CodecExpressionContext | null { + return this.getRuleContext(0, CodecExpressionContext); + } + public TTL(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TTL, 0); + } + public columnExpression(): ColumnExpressionContext | null { + return this.getRuleContext(0, ColumnExpressionContext); + } public override get ruleIndex(): number { - return ClickHouseParser.RULE_clusterClause; + return ClickHouseParser.RULE_tableColumnDefinition; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitClusterClause) { - return visitor.visitClusterClause(this); + if (visitor.visitTableColumnDefinition) { + return visitor.visitTableColumnDefinition(this); } else { return visitor.visitChildren(this); } @@ -13610,22 +15996,28 @@ export class ClusterClauseContext extends antlr.ParserRuleContext { } -export class UuidClauseContext extends antlr.ParserRuleContext { +export class TableColumnPropertyExpressionContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public UUID(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.UUID, 0)!; + public columnExpression(): ColumnExpressionContext { + return this.getRuleContext(0, ColumnExpressionContext)!; } - public STRING_LITERAL(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.STRING_LITERAL, 0)!; + public DEFAULT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DEFAULT, 0); + } + public MATERIALIZED(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.MATERIALIZED, 0); + } + public ALIAS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ALIAS, 0); } public override get ruleIndex(): number { - return ClickHouseParser.RULE_uuidClause; + return ClickHouseParser.RULE_tableColumnPropertyExpression; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitUuidClause) { - return visitor.visitUuidClause(this); + if (visitor.visitTableColumnPropertyExpression) { + return visitor.visitTableColumnPropertyExpression(this); } else { return visitor.visitChildren(this); } @@ -13633,22 +16025,34 @@ export class UuidClauseContext extends antlr.ParserRuleContext { } -export class DestinationClauseContext extends antlr.ParserRuleContext { +export class TableIndexDefinitionContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public TO(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.TO, 0)!; + public columnIdentifier(): ColumnIdentifierContext { + return this.getRuleContext(0, ColumnIdentifierContext)!; } - public tableIdentifier(): TableIdentifierContext { - return this.getRuleContext(0, TableIdentifierContext)!; + public columnExpression(): ColumnExpressionContext { + return this.getRuleContext(0, ColumnExpressionContext)!; + } + public TYPE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.TYPE, 0)!; + } + public columnTypeExpression(): ColumnTypeExpressionContext { + return this.getRuleContext(0, ColumnTypeExpressionContext)!; + } + public GRANULARITY(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.GRANULARITY, 0)!; + } + public DECIMAL_LITERAL(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.DECIMAL_LITERAL, 0)!; } public override get ruleIndex(): number { - return ClickHouseParser.RULE_destinationClause; + return ClickHouseParser.RULE_tableIndexDefinition; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitDestinationClause) { - return visitor.visitDestinationClause(this); + if (visitor.visitTableIndexDefinition) { + return visitor.visitTableIndexDefinition(this); } else { return visitor.visitChildren(this); } @@ -13656,22 +16060,22 @@ export class DestinationClauseContext extends antlr.ParserRuleContext { } -export class SubqueryClauseContext extends antlr.ParserRuleContext { +export class TableProjectionDefinitionContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public AS(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.AS, 0)!; + public columnIdentifier(): ColumnIdentifierContext { + return this.getRuleContext(0, ColumnIdentifierContext)!; } - public selectUnionStatement(): SelectUnionStatementContext { - return this.getRuleContext(0, SelectUnionStatementContext)!; + public projectionSelectStatement(): ProjectionSelectStatementContext { + return this.getRuleContext(0, ProjectionSelectStatementContext)!; } public override get ruleIndex(): number { - return ClickHouseParser.RULE_subqueryClause; + return ClickHouseParser.RULE_tableProjectionDefinition; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitSubqueryClause) { - return visitor.visitSubqueryClause(this); + if (visitor.visitTableProjectionDefinition) { + return visitor.visitTableProjectionDefinition(this); } else { return visitor.visitChildren(this); } @@ -13679,87 +16083,72 @@ export class SubqueryClauseContext extends antlr.ParserRuleContext { } -export class TableSchemaClauseContext extends antlr.ParserRuleContext { +export class CodecExpressionContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_tableSchemaClause; - } - public override copyFrom(ctx: TableSchemaClauseContext): void { - super.copyFrom(ctx); - } -} -export class SchemaAsTableClauseContext extends TableSchemaClauseContext { - public constructor(ctx: TableSchemaClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public AS(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.AS, 0)!; + public CODEC(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.CODEC, 0)!; } - public tableIdentifier(): TableIdentifierContext { - return this.getRuleContext(0, TableIdentifierContext)!; + public LPAREN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.LPAREN, 0)!; } - public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitSchemaAsTableClause) { - return visitor.visitSchemaAsTableClause(this); - } else { - return visitor.visitChildren(this); + public codecArgExpression(): CodecArgExpressionContext[]; + public codecArgExpression(i: number): CodecArgExpressionContext | null; + public codecArgExpression(i?: number): CodecArgExpressionContext[] | CodecArgExpressionContext | null { + if (i === undefined) { + return this.getRuleContexts(CodecArgExpressionContext); } + + return this.getRuleContext(i, CodecArgExpressionContext); } -} -export class SchemaAsFunctionClauseContext extends TableSchemaClauseContext { - public constructor(ctx: TableSchemaClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public RPAREN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.RPAREN, 0)!; } - public AS(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.AS, 0)!; + public COMMA(): antlr.TerminalNode[]; + public COMMA(i: number): antlr.TerminalNode | null; + public COMMA(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.COMMA); + } else { + return this.getToken(ClickHouseParser.COMMA, i); + } } - public tableFunctionExpression(): TableFunctionExpressionContext { - return this.getRuleContext(0, TableFunctionExpressionContext)!; + public override get ruleIndex(): number { + return ClickHouseParser.RULE_codecExpression; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitSchemaAsFunctionClause) { - return visitor.visitSchemaAsFunctionClause(this); + if (visitor.visitCodecExpression) { + return visitor.visitCodecExpression(this); } else { return visitor.visitChildren(this); } } } -export class SchemaDescriptionClauseContext extends TableSchemaClauseContext { - public constructor(ctx: TableSchemaClauseContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class CodecArgExpressionContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public LPAREN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.LPAREN, 0)!; + public identifier(): IdentifierContext { + return this.getRuleContext(0, IdentifierContext)!; } - public tableElementExpression(): TableElementExpressionContext[]; - public tableElementExpression(i: number): TableElementExpressionContext | null; - public tableElementExpression(i?: number): TableElementExpressionContext[] | TableElementExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(TableElementExpressionContext); - } - - return this.getRuleContext(i, TableElementExpressionContext); + public LPAREN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.LPAREN, 0); } - public RPAREN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.RPAREN, 0)!; + public RPAREN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.RPAREN, 0); } - public COMMA(): antlr.TerminalNode[]; - public COMMA(i: number): antlr.TerminalNode | null; - public COMMA(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(ClickHouseParser.COMMA); - } else { - return this.getToken(ClickHouseParser.COMMA, i); - } + public columnExpressionList(): ColumnExpressionListContext | null { + return this.getRuleContext(0, ColumnExpressionListContext); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_codecArgExpression; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitSchemaDescriptionClause) { - return visitor.visitSchemaDescriptionClause(this); + if (visitor.visitCodecArgExpression) { + return visitor.visitCodecArgExpression(this); } else { return visitor.visitChildren(this); } @@ -13767,74 +16156,34 @@ export class SchemaDescriptionClauseContext extends TableSchemaClauseContext { } -export class EngineClauseContext extends antlr.ParserRuleContext { - public clauses: Set = new Set(); +export class TtlExpressionContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public engineExpression(): EngineExpressionContext { - return this.getRuleContext(0, EngineExpressionContext)!; - } - public orderByClause(): OrderByClauseContext[]; - public orderByClause(i: number): OrderByClauseContext | null; - public orderByClause(i?: number): OrderByClauseContext[] | OrderByClauseContext | null { - if (i === undefined) { - return this.getRuleContexts(OrderByClauseContext); - } - - return this.getRuleContext(i, OrderByClauseContext); + public columnExpression(): ColumnExpressionContext { + return this.getRuleContext(0, ColumnExpressionContext)!; } - public partitionByClause(): PartitionByClauseContext[]; - public partitionByClause(i: number): PartitionByClauseContext | null; - public partitionByClause(i?: number): PartitionByClauseContext[] | PartitionByClauseContext | null { - if (i === undefined) { - return this.getRuleContexts(PartitionByClauseContext); - } - - return this.getRuleContext(i, PartitionByClauseContext); + public DELETE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DELETE, 0); } - public primaryKeyClause(): PrimaryKeyClauseContext[]; - public primaryKeyClause(i: number): PrimaryKeyClauseContext | null; - public primaryKeyClause(i?: number): PrimaryKeyClauseContext[] | PrimaryKeyClauseContext | null { - if (i === undefined) { - return this.getRuleContexts(PrimaryKeyClauseContext); - } - - return this.getRuleContext(i, PrimaryKeyClauseContext); + public TO(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TO, 0); } - public sampleByClause(): SampleByClauseContext[]; - public sampleByClause(i: number): SampleByClauseContext | null; - public sampleByClause(i?: number): SampleByClauseContext[] | SampleByClauseContext | null { - if (i === undefined) { - return this.getRuleContexts(SampleByClauseContext); - } - - return this.getRuleContext(i, SampleByClauseContext); + public DISK(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DISK, 0); } - public ttlClause(): TtlClauseContext[]; - public ttlClause(i: number): TtlClauseContext | null; - public ttlClause(i?: number): TtlClauseContext[] | TtlClauseContext | null { - if (i === undefined) { - return this.getRuleContexts(TtlClauseContext); - } - - return this.getRuleContext(i, TtlClauseContext); + public STRING_LITERAL(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.STRING_LITERAL, 0); } - public settingsClause(): SettingsClauseContext[]; - public settingsClause(i: number): SettingsClauseContext | null; - public settingsClause(i?: number): SettingsClauseContext[] | SettingsClauseContext | null { - if (i === undefined) { - return this.getRuleContexts(SettingsClauseContext); - } - - return this.getRuleContext(i, SettingsClauseContext); + public VOLUME(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.VOLUME, 0); } public override get ruleIndex(): number { - return ClickHouseParser.RULE_engineClause; + return ClickHouseParser.RULE_ttlExpression; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitEngineClause) { - return visitor.visitEngineClause(this); + if (visitor.visitTtlExpression) { + return visitor.visitTtlExpression(this); } else { return visitor.visitChildren(this); } @@ -13842,25 +16191,28 @@ export class EngineClauseContext extends antlr.ParserRuleContext { } -export class PartitionByClauseContext extends antlr.ParserRuleContext { +export class DescribeStatementContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public PARTITION(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.PARTITION, 0)!; + public tableExpression(): TableExpressionContext { + return this.getRuleContext(0, TableExpressionContext)!; } - public BY(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.BY, 0)!; + public DESCRIBE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DESCRIBE, 0); } - public columnExpression(): ColumnExpressionContext { - return this.getRuleContext(0, ColumnExpressionContext)!; + public DESC(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DESC, 0); + } + public TABLE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TABLE, 0); } public override get ruleIndex(): number { - return ClickHouseParser.RULE_partitionByClause; + return ClickHouseParser.RULE_describeStatement; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitPartitionByClause) { - return visitor.visitPartitionByClause(this); + if (visitor.visitDescribeStatement) { + return visitor.visitDescribeStatement(this); } else { return visitor.visitChildren(this); } @@ -13868,51 +16220,95 @@ export class PartitionByClauseContext extends antlr.ParserRuleContext { } -export class PrimaryKeyClauseContext extends antlr.ParserRuleContext { +export class DropStatementContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public PRIMARY(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.PRIMARY, 0)!; + public override get ruleIndex(): number { + return ClickHouseParser.RULE_dropStatement; } - public KEY(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.KEY, 0)!; + public override copyFrom(ctx: DropStatementContext): void { + super.copyFrom(ctx); } - public columnExpression(): ColumnExpressionContext { - return this.getRuleContext(0, ColumnExpressionContext)!; +} +export class DropDatabaseStatementContext extends DropStatementContext { + public constructor(ctx: DropStatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_primaryKeyClause; + public DATABASE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.DATABASE, 0)!; + } + public databaseIdentifier(): DatabaseIdentifierContext { + return this.getRuleContext(0, DatabaseIdentifierContext)!; + } + public DETACH(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DETACH, 0); + } + public DROP(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DROP, 0); + } + public IF(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IF, 0); + } + public EXISTS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.EXISTS, 0); + } + public clusterClause(): ClusterClauseContext | null { + return this.getRuleContext(0, ClusterClauseContext); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitPrimaryKeyClause) { - return visitor.visitPrimaryKeyClause(this); + if (visitor.visitDropDatabaseStatement) { + return visitor.visitDropDatabaseStatement(this); } else { return visitor.visitChildren(this); } } } - - -export class SampleByClauseContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); +export class DropTableStatementContext extends DropStatementContext { + public constructor(ctx: DropStatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public SAMPLE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.SAMPLE, 0)!; + public tableIdentifier(): TableIdentifierContext { + return this.getRuleContext(0, TableIdentifierContext)!; } - public BY(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.BY, 0)!; + public DETACH(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DETACH, 0); } - public columnExpression(): ColumnExpressionContext { - return this.getRuleContext(0, ColumnExpressionContext)!; + public DROP(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DROP, 0); } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_sampleByClause; + public DICTIONARY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DICTIONARY, 0); + } + public TABLE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TABLE, 0); + } + public VIEW(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.VIEW, 0); + } + public IF(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.IF, 0); + } + public EXISTS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.EXISTS, 0); + } + public clusterClause(): ClusterClauseContext | null { + return this.getRuleContext(0, ClusterClauseContext); + } + public NO(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.NO, 0); + } + public DELAY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DELAY, 0); + } + public TEMPORARY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TEMPORARY, 0); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitSampleByClause) { - return visitor.visitSampleByClause(this); + if (visitor.visitDropTableStatement) { + return visitor.visitDropTableStatement(this); } else { return visitor.visitChildren(this); } @@ -13920,72 +16316,65 @@ export class SampleByClauseContext extends antlr.ParserRuleContext { } -export class TtlClauseContext extends antlr.ParserRuleContext { +export class ExistsStatementContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public TTL(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.TTL, 0)!; + public override get ruleIndex(): number { + return ClickHouseParser.RULE_existsStatement; } - public ttlExpression(): TtlExpressionContext[]; - public ttlExpression(i: number): TtlExpressionContext | null; - public ttlExpression(i?: number): TtlExpressionContext[] | TtlExpressionContext | null { - if (i === undefined) { - return this.getRuleContexts(TtlExpressionContext); - } - - return this.getRuleContext(i, TtlExpressionContext); + public override copyFrom(ctx: ExistsStatementContext): void { + super.copyFrom(ctx); } - public COMMA(): antlr.TerminalNode[]; - public COMMA(i: number): antlr.TerminalNode | null; - public COMMA(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { - if (i === undefined) { - return this.getTokens(ClickHouseParser.COMMA); - } else { - return this.getToken(ClickHouseParser.COMMA, i); - } +} +export class ExistsDatabaseStatementContext extends ExistsStatementContext { + public constructor(ctx: ExistsStatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_ttlClause; + public EXISTS(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.EXISTS, 0)!; + } + public DATABASE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.DATABASE, 0)!; + } + public databaseIdentifier(): DatabaseIdentifierContext { + return this.getRuleContext(0, DatabaseIdentifierContext)!; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitTtlClause) { - return visitor.visitTtlClause(this); + if (visitor.visitExistsDatabaseStatement) { + return visitor.visitExistsDatabaseStatement(this); } else { return visitor.visitChildren(this); } } } - - -export class EngineExpressionContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public ENGINE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.ENGINE, 0)!; +export class ExistsTableStatementContext extends ExistsStatementContext { + public constructor(ctx: ExistsStatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public identifierOrNull(): IdentifierOrNullContext { - return this.getRuleContext(0, IdentifierOrNullContext)!; + public EXISTS(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.EXISTS, 0)!; } - public EQ_SINGLE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.EQ_SINGLE, 0); + public tableIdentifier(): TableIdentifierContext { + return this.getRuleContext(0, TableIdentifierContext)!; } - public LPAREN(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.LPAREN, 0); + public DICTIONARY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DICTIONARY, 0); } - public RPAREN(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.RPAREN, 0); + public TABLE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TABLE, 0); } - public columnExpressionList(): ColumnExpressionListContext | null { - return this.getRuleContext(0, ColumnExpressionListContext); + public VIEW(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.VIEW, 0); } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_engineExpression; + public TEMPORARY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TEMPORARY, 0); } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitEngineExpression) { - return visitor.visitEngineExpression(this); + if (visitor.visitExistsTableStatement) { + return visitor.visitExistsTableStatement(this); } else { return visitor.visitChildren(this); } @@ -13993,161 +16382,166 @@ export class EngineExpressionContext extends antlr.ParserRuleContext { } -export class TableElementExpressionContext extends antlr.ParserRuleContext { +export class ExplainStatementContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } public override get ruleIndex(): number { - return ClickHouseParser.RULE_tableElementExpression; + return ClickHouseParser.RULE_explainStatement; } - public override copyFrom(ctx: TableElementExpressionContext): void { + public override copyFrom(ctx: ExplainStatementContext): void { super.copyFrom(ctx); } } -export class TableElementExpressionColumnContext extends TableElementExpressionContext { - public constructor(ctx: TableElementExpressionContext) { +export class ExplainASTStatementContext extends ExplainStatementContext { + public constructor(ctx: ExplainStatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public tableColumnDefinition(): TableColumnDefinitionContext { - return this.getRuleContext(0, TableColumnDefinitionContext)!; + public EXPLAIN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.EXPLAIN, 0)!; + } + public AST(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.AST, 0)!; + } + public notInsertStatement(): NotInsertStatementContext { + return this.getRuleContext(0, NotInsertStatementContext)!; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitTableElementExpressionColumn) { - return visitor.visitTableElementExpressionColumn(this); + if (visitor.visitExplainASTStatement) { + return visitor.visitExplainASTStatement(this); } else { return visitor.visitChildren(this); } } } -export class TableElementExpressionConstraintContext extends TableElementExpressionContext { - public constructor(ctx: TableElementExpressionContext) { +export class ExplainQueryTreeStatementContext extends ExplainStatementContext { + public constructor(ctx: ExplainStatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public CONSTRAINT(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.CONSTRAINT, 0)!; + public EXPLAIN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.EXPLAIN, 0)!; } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; + public QUERY(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.QUERY, 0)!; } - public CHECK(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.CHECK, 0)!; + public TREE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.TREE, 0)!; } - public columnExpression(): ColumnExpressionContext { - return this.getRuleContext(0, ColumnExpressionContext)!; + public notInsertStatement(): NotInsertStatementContext { + return this.getRuleContext(0, NotInsertStatementContext)!; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitTableElementExpressionConstraint) { - return visitor.visitTableElementExpressionConstraint(this); + if (visitor.visitExplainQueryTreeStatement) { + return visitor.visitExplainQueryTreeStatement(this); } else { return visitor.visitChildren(this); } } } -export class TableElementExpressionIndexContext extends TableElementExpressionContext { - public constructor(ctx: TableElementExpressionContext) { +export class ExplainPlanStatementContext extends ExplainStatementContext { + public constructor(ctx: ExplainStatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public INDEX(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.INDEX, 0)!; + public EXPLAIN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.EXPLAIN, 0)!; } - public tableIndexDefinition(): TableIndexDefinitionContext { - return this.getRuleContext(0, TableIndexDefinitionContext)!; + public PLAN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.PLAN, 0)!; + } + public notInsertStatement(): NotInsertStatementContext { + return this.getRuleContext(0, NotInsertStatementContext)!; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitTableElementExpressionIndex) { - return visitor.visitTableElementExpressionIndex(this); + if (visitor.visitExplainPlanStatement) { + return visitor.visitExplainPlanStatement(this); } else { return visitor.visitChildren(this); } } } -export class TableElementExpressionProjectionContext extends TableElementExpressionContext { - public constructor(ctx: TableElementExpressionContext) { +export class ExplainDefaultStatementContext extends ExplainStatementContext { + public constructor(ctx: ExplainStatementContext) { super(ctx.parent, ctx.invokingState); super.copyFrom(ctx); } - public PROJECTION(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.PROJECTION, 0)!; + public EXPLAIN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.EXPLAIN, 0)!; } - public tableProjectionDefinition(): TableProjectionDefinitionContext { - return this.getRuleContext(0, TableProjectionDefinitionContext)!; + public notInsertStatement(): NotInsertStatementContext { + return this.getRuleContext(0, NotInsertStatementContext)!; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitTableElementExpressionProjection) { - return visitor.visitTableElementExpressionProjection(this); + if (visitor.visitExplainDefaultStatement) { + return visitor.visitExplainDefaultStatement(this); } else { return visitor.visitChildren(this); } } } - - -export class TableColumnDefinitionContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public columnIdentifier(): ColumnIdentifierContext { - return this.getRuleContext(0, ColumnIdentifierContext)!; +export class ExplainEstimateStatementContext extends ExplainStatementContext { + public constructor(ctx: ExplainStatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public columnTypeExpression(): ColumnTypeExpressionContext | null { - return this.getRuleContext(0, ColumnTypeExpressionContext); + public EXPLAIN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.EXPLAIN, 0)!; } - public tableColumnPropertyExpression(): TableColumnPropertyExpressionContext | null { - return this.getRuleContext(0, TableColumnPropertyExpressionContext); + public ESTIMATE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.ESTIMATE, 0)!; } - public COMMENT(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.COMMENT, 0); + public notInsertStatement(): NotInsertStatementContext { + return this.getRuleContext(0, NotInsertStatementContext)!; } - public STRING_LITERAL(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.STRING_LITERAL, 0); + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitExplainEstimateStatement) { + return visitor.visitExplainEstimateStatement(this); + } else { + return visitor.visitChildren(this); + } } - public codecExpression(): CodecExpressionContext | null { - return this.getRuleContext(0, CodecExpressionContext); +} +export class ExplainSyntaxStatementContext extends ExplainStatementContext { + public constructor(ctx: ExplainStatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public TTL(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.TTL, 0); + public EXPLAIN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.EXPLAIN, 0)!; } - public columnExpression(): ColumnExpressionContext | null { - return this.getRuleContext(0, ColumnExpressionContext); + public SYNTAX(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.SYNTAX, 0)!; } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_tableColumnDefinition; + public notInsertStatement(): NotInsertStatementContext { + return this.getRuleContext(0, NotInsertStatementContext)!; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitTableColumnDefinition) { - return visitor.visitTableColumnDefinition(this); + if (visitor.visitExplainSyntaxStatement) { + return visitor.visitExplainSyntaxStatement(this); } else { return visitor.visitChildren(this); } } } - - -export class TableColumnPropertyExpressionContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); - } - public columnExpression(): ColumnExpressionContext { - return this.getRuleContext(0, ColumnExpressionContext)!; - } - public DEFAULT(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.DEFAULT, 0); +export class ExplainPipelineStatementContext extends ExplainStatementContext { + public constructor(ctx: ExplainStatementContext) { + super(ctx.parent, ctx.invokingState); + super.copyFrom(ctx); } - public MATERIALIZED(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.MATERIALIZED, 0); + public EXPLAIN(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.EXPLAIN, 0)!; } - public ALIAS(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.ALIAS, 0); + public PIPELINE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.PIPELINE, 0)!; } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_tableColumnPropertyExpression; + public notInsertStatement(): NotInsertStatementContext { + return this.getRuleContext(0, NotInsertStatementContext)!; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitTableColumnPropertyExpression) { - return visitor.visitTableColumnPropertyExpression(this); + if (visitor.visitExplainPipelineStatement) { + return visitor.visitExplainPipelineStatement(this); } else { return visitor.visitChildren(this); } @@ -14155,57 +16549,97 @@ export class TableColumnPropertyExpressionContext extends antlr.ParserRuleContex } -export class TableIndexDefinitionContext extends antlr.ParserRuleContext { +export class GrantStatementContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public columnIdentifier(): ColumnIdentifierContext { - return this.getRuleContext(0, ColumnIdentifierContext)!; + public GRANT(): antlr.TerminalNode[]; + public GRANT(i: number): antlr.TerminalNode | null; + public GRANT(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.GRANT); + } else { + return this.getToken(ClickHouseParser.GRANT, i); + } } - public columnExpression(): ColumnExpressionContext { - return this.getRuleContext(0, ColumnExpressionContext)!; + public privilege(): PrivilegeContext[]; + public privilege(i: number): PrivilegeContext | null; + public privilege(i?: number): PrivilegeContext[] | PrivilegeContext | null { + if (i === undefined) { + return this.getRuleContexts(PrivilegeContext); + } + + return this.getRuleContext(i, PrivilegeContext); } - public TYPE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.TYPE, 0)!; + public ON(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.ON, 0)!; } - public columnTypeExpression(): ColumnTypeExpressionContext { - return this.getRuleContext(0, ColumnTypeExpressionContext)!; + public TO(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.TO, 0)!; } - public GRANULARITY(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.GRANULARITY, 0)!; + public userExpressionList(): UserExpressionListContext { + return this.getRuleContext(0, UserExpressionListContext)!; } - public DECIMAL_LITERAL(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.DECIMAL_LITERAL, 0)!; + public databaseIdentifier(): DatabaseIdentifierContext | null { + return this.getRuleContext(0, DatabaseIdentifierContext); + } + public tableIdentifier(): TableIdentifierContext | null { + return this.getRuleContext(0, TableIdentifierContext); + } + public clusterClause(): ClusterClauseContext | null { + return this.getRuleContext(0, ClusterClauseContext); + } + public COMMA(): antlr.TerminalNode[]; + public COMMA(i: number): antlr.TerminalNode | null; + public COMMA(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.COMMA); + } else { + return this.getToken(ClickHouseParser.COMMA, i); + } + } + public WITH(): antlr.TerminalNode[]; + public WITH(i: number): antlr.TerminalNode | null; + public WITH(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.WITH); + } else { + return this.getToken(ClickHouseParser.WITH, i); + } } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_tableIndexDefinition; + public OPTION(): antlr.TerminalNode[]; + public OPTION(i: number): antlr.TerminalNode | null; + public OPTION(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.OPTION); + } else { + return this.getToken(ClickHouseParser.OPTION, i); + } } - public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitTableIndexDefinition) { - return visitor.visitTableIndexDefinition(this); - } else { - return visitor.visitChildren(this); - } + public REPLACE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.REPLACE, 0); } -} - - -export class TableProjectionDefinitionContext extends antlr.ParserRuleContext { - public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { - super(parent, invokingState); + public ASTERISK(): antlr.TerminalNode[]; + public ASTERISK(i: number): antlr.TerminalNode | null; + public ASTERISK(i?: number): antlr.TerminalNode | null | antlr.TerminalNode[] { + if (i === undefined) { + return this.getTokens(ClickHouseParser.ASTERISK); + } else { + return this.getToken(ClickHouseParser.ASTERISK, i); + } } - public columnIdentifier(): ColumnIdentifierContext { - return this.getRuleContext(0, ColumnIdentifierContext)!; + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); } - public projectionSelectStatement(): ProjectionSelectStatementContext { - return this.getRuleContext(0, ProjectionSelectStatementContext)!; + public DOT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DOT, 0); } public override get ruleIndex(): number { - return ClickHouseParser.RULE_tableProjectionDefinition; + return ClickHouseParser.RULE_grantStatement; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitTableProjectionDefinition) { - return visitor.visitTableProjectionDefinition(this); + if (visitor.visitGrantStatement) { + return visitor.visitGrantStatement(this); } else { return visitor.visitChildren(this); } @@ -14213,27 +16647,18 @@ export class TableProjectionDefinitionContext extends antlr.ParserRuleContext { } -export class CodecExpressionContext extends antlr.ParserRuleContext { +export class UserExpressionListContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public CODEC(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.CODEC, 0)!; - } - public LPAREN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.LPAREN, 0)!; - } - public codecArgExpression(): CodecArgExpressionContext[]; - public codecArgExpression(i: number): CodecArgExpressionContext | null; - public codecArgExpression(i?: number): CodecArgExpressionContext[] | CodecArgExpressionContext | null { + public userIdentifier(): UserIdentifierContext[]; + public userIdentifier(i: number): UserIdentifierContext | null; + public userIdentifier(i?: number): UserIdentifierContext[] | UserIdentifierContext | null { if (i === undefined) { - return this.getRuleContexts(CodecArgExpressionContext); + return this.getRuleContexts(UserIdentifierContext); } - return this.getRuleContext(i, CodecArgExpressionContext); - } - public RPAREN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.RPAREN, 0)!; + return this.getRuleContext(i, UserIdentifierContext); } public COMMA(): antlr.TerminalNode[]; public COMMA(i: number): antlr.TerminalNode | null; @@ -14245,11 +16670,11 @@ export class CodecExpressionContext extends antlr.ParserRuleContext { } } public override get ruleIndex(): number { - return ClickHouseParser.RULE_codecExpression; + return ClickHouseParser.RULE_userExpressionList; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitCodecExpression) { - return visitor.visitCodecExpression(this); + if (visitor.visitUserExpressionList) { + return visitor.visitUserExpressionList(this); } else { return visitor.visitChildren(this); } @@ -14257,28 +16682,22 @@ export class CodecExpressionContext extends antlr.ParserRuleContext { } -export class CodecArgExpressionContext extends antlr.ParserRuleContext { +export class UserIdentifierContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public identifier(): IdentifierContext { - return this.getRuleContext(0, IdentifierContext)!; - } - public LPAREN(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.LPAREN, 0); - } - public RPAREN(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.RPAREN, 0); + public CURRENT_USER(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.CURRENT_USER, 0); } - public columnExpressionList(): ColumnExpressionListContext | null { - return this.getRuleContext(0, ColumnExpressionListContext); + public identifier(): IdentifierContext | null { + return this.getRuleContext(0, IdentifierContext); } public override get ruleIndex(): number { - return ClickHouseParser.RULE_codecArgExpression; + return ClickHouseParser.RULE_userIdentifier; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitCodecArgExpression) { - return visitor.visitCodecArgExpression(this); + if (visitor.visitUserIdentifier) { + return visitor.visitUserIdentifier(this); } else { return visitor.visitChildren(this); } @@ -14286,34 +16705,22 @@ export class CodecArgExpressionContext extends antlr.ParserRuleContext { } -export class TtlExpressionContext extends antlr.ParserRuleContext { +export class SelectPrivilegeContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public columnExpression(): ColumnExpressionContext { - return this.getRuleContext(0, ColumnExpressionContext)!; - } - public DELETE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.DELETE, 0); - } - public TO(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.TO, 0); - } - public DISK(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.DISK, 0); - } - public STRING_LITERAL(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.STRING_LITERAL, 0); + public SELECT(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.SELECT, 0)!; } - public VOLUME(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.VOLUME, 0); + public columnsClause(): ColumnsClauseContext | null { + return this.getRuleContext(0, ColumnsClauseContext); } public override get ruleIndex(): number { - return ClickHouseParser.RULE_ttlExpression; + return ClickHouseParser.RULE_selectPrivilege; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitTtlExpression) { - return visitor.visitTtlExpression(this); + if (visitor.visitSelectPrivilege) { + return visitor.visitSelectPrivilege(this); } else { return visitor.visitChildren(this); } @@ -14321,28 +16728,22 @@ export class TtlExpressionContext extends antlr.ParserRuleContext { } -export class DescribeStatementContext extends antlr.ParserRuleContext { +export class InsertPrivilegeContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public tableExpression(): TableExpressionContext { - return this.getRuleContext(0, TableExpressionContext)!; - } - public DESCRIBE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.DESCRIBE, 0); - } - public DESC(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.DESC, 0); + public INSERT(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.INSERT, 0)!; } - public TABLE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.TABLE, 0); + public columnsClause(): ColumnsClauseContext | null { + return this.getRuleContext(0, ColumnsClauseContext); } public override get ruleIndex(): number { - return ClickHouseParser.RULE_describeStatement; + return ClickHouseParser.RULE_insertPrivilege; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitDescribeStatement) { - return visitor.visitDescribeStatement(this); + if (visitor.visitInsertPrivilege) { + return visitor.visitInsertPrivilege(this); } else { return visitor.visitChildren(this); } @@ -14350,67 +16751,56 @@ export class DescribeStatementContext extends antlr.ParserRuleContext { } -export class DropStatementContext extends antlr.ParserRuleContext { +export class CreatePrivilegeContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_dropStatement; - } - public override copyFrom(ctx: DropStatementContext): void { - super.copyFrom(ctx); + public CREATE(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.CREATE, 0)!; } -} -export class DropDatabaseStatementContext extends DropStatementContext { - public constructor(ctx: DropStatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public DATABASE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DATABASE, 0); } - public DATABASE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.DATABASE, 0)!; + public TABLE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TABLE, 0); } - public databaseIdentifier(): DatabaseIdentifierContext { - return this.getRuleContext(0, DatabaseIdentifierContext)!; + public VIEW(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.VIEW, 0); } - public DETACH(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.DETACH, 0); + public DICTIONARY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DICTIONARY, 0); } - public DROP(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.DROP, 0); + public FUNCTION(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.FUNCTION, 0); } - public IF(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IF, 0); + public ARBITRARY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ARBITRARY, 0); } - public EXISTS(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.EXISTS, 0); + public TEMPORARY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TEMPORARY, 0); } - public clusterClause(): ClusterClauseContext | null { - return this.getRuleContext(0, ClusterClauseContext); + public override get ruleIndex(): number { + return ClickHouseParser.RULE_createPrivilege; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitDropDatabaseStatement) { - return visitor.visitDropDatabaseStatement(this); + if (visitor.visitCreatePrivilege) { + return visitor.visitCreatePrivilege(this); } else { return visitor.visitChildren(this); } } } -export class DropTableStatementContext extends DropStatementContext { - public constructor(ctx: DropStatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); - } - public tableIdentifier(): TableIdentifierContext { - return this.getRuleContext(0, TableIdentifierContext)!; - } - public DETACH(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.DETACH, 0); + + +export class DropPrivilegeContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public DROP(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.DROP, 0); + public DROP(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.DROP, 0)!; } - public DICTIONARY(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.DICTIONARY, 0); + public DATABASE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DATABASE, 0); } public TABLE(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.TABLE, 0); @@ -14418,27 +16808,47 @@ export class DropTableStatementContext extends DropStatementContext { public VIEW(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.VIEW, 0); } - public IF(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.IF, 0); + public DICTIONARY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DICTIONARY, 0); } - public EXISTS(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.EXISTS, 0); + public override get ruleIndex(): number { + return ClickHouseParser.RULE_dropPrivilege; } - public clusterClause(): ClusterClauseContext | null { - return this.getRuleContext(0, ClusterClauseContext); + public override accept(visitor: ClickHouseParserVisitor): Result | null { + if (visitor.visitDropPrivilege) { + return visitor.visitDropPrivilege(this); + } else { + return visitor.visitChildren(this); + } } - public NO(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.NO, 0); +} + + +export class ShowPrivilegeContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public DELAY(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.DELAY, 0); + public SHOW(): antlr.TerminalNode { + return this.getToken(ClickHouseParser.SHOW, 0)!; } - public TEMPORARY(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.TEMPORARY, 0); + public DATABASES(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DATABASES, 0); + } + public TABLES(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TABLES, 0); + } + public COLUMNS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.COLUMNS, 0); + } + public DICTIONARIES(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DICTIONARIES, 0); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_showPrivilege; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitDropTableStatement) { - return visitor.visitDropTableStatement(this); + if (visitor.visitShowPrivilege) { + return visitor.visitShowPrivilege(this); } else { return visitor.visitChildren(this); } @@ -14446,65 +16856,75 @@ export class DropTableStatementContext extends DropStatementContext { } -export class ExistsStatementContext extends antlr.ParserRuleContext { +export class IntrospectionPrivilegeContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_existsStatement; + public INTROSPECTION(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.INTROSPECTION, 0); } - public override copyFrom(ctx: ExistsStatementContext): void { - super.copyFrom(ctx); + public FUNCTIONS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.FUNCTIONS, 0); } -} -export class ExistsDatabaseStatementContext extends ExistsStatementContext { - public constructor(ctx: ExistsStatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public ADDRESSTOLINE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ADDRESSTOLINE, 0); } - public EXISTS(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.EXISTS, 0)!; + public ADDRESSTOSYMBOL(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ADDRESSTOSYMBOL, 0); } - public DATABASE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.DATABASE, 0)!; + public DEMANGLE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DEMANGLE, 0); } - public databaseIdentifier(): DatabaseIdentifierContext { - return this.getRuleContext(0, DatabaseIdentifierContext)!; + public override get ruleIndex(): number { + return ClickHouseParser.RULE_introspectionPrivilege; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitExistsDatabaseStatement) { - return visitor.visitExistsDatabaseStatement(this); + if (visitor.visitIntrospectionPrivilege) { + return visitor.visitIntrospectionPrivilege(this); } else { return visitor.visitChildren(this); } } } -export class ExistsTableStatementContext extends ExistsStatementContext { - public constructor(ctx: ExistsStatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class SourcePrivilegeContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public EXISTS(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.EXISTS, 0)!; + public SOURCES(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.SOURCES, 0); } - public tableIdentifier(): TableIdentifierContext { - return this.getRuleContext(0, TableIdentifierContext)!; + public FILE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.FILE, 0); } - public DICTIONARY(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.DICTIONARY, 0); + public URL(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.URL, 0); } - public TABLE(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.TABLE, 0); + public REMOTE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.REMOTE, 0); } - public VIEW(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.VIEW, 0); + public MYSQL(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.MYSQL, 0); + } + public ODBC(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ODBC, 0); + } + public JDBC(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.JDBC, 0); + } + public HDFS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.HDFS, 0); + } + public S3(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.S3, 0); } - public TEMPORARY(): antlr.TerminalNode | null { - return this.getToken(ClickHouseParser.TEMPORARY, 0); + public override get ruleIndex(): number { + return ClickHouseParser.RULE_sourcePrivilege; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitExistsTableStatement) { - return visitor.visitExistsTableStatement(this); + if (visitor.visitSourcePrivilege) { + return visitor.visitSourcePrivilege(this); } else { return visitor.visitChildren(this); } @@ -14512,166 +16932,197 @@ export class ExistsTableStatementContext extends ExistsStatementContext { } -export class ExplainStatementContext extends antlr.ParserRuleContext { +export class DictPrivilegeContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); } - public override get ruleIndex(): number { - return ClickHouseParser.RULE_explainStatement; - } - public override copyFrom(ctx: ExplainStatementContext): void { - super.copyFrom(ctx); + public DICTGET(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DICTGET, 0); } -} -export class ExplainASTStatementContext extends ExplainStatementContext { - public constructor(ctx: ExplainStatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public DICTHAS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DICTHAS, 0); } - public EXPLAIN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.EXPLAIN, 0)!; + public DICTGETHIERARCHY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DICTGETHIERARCHY, 0); } - public AST(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.AST, 0)!; + public DICTISIN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DICTISIN, 0); } - public notInsertStatement(): NotInsertStatementContext { - return this.getRuleContext(0, NotInsertStatementContext)!; + public override get ruleIndex(): number { + return ClickHouseParser.RULE_dictPrivilege; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitExplainASTStatement) { - return visitor.visitExplainASTStatement(this); + if (visitor.visitDictPrivilege) { + return visitor.visitDictPrivilege(this); } else { return visitor.visitChildren(this); } } } -export class ExplainQueryTreeStatementContext extends ExplainStatementContext { - public constructor(ctx: ExplainStatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class AlterPrivilegeContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public EXPLAIN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.EXPLAIN, 0)!; + public ALTER(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ALTER, 0); } - public QUERY(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.QUERY, 0)!; + public columnsClause(): ColumnsClauseContext | null { + return this.getRuleContext(0, ColumnsClauseContext); } - public TREE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.TREE, 0)!; + public DELETE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DELETE, 0); } - public notInsertStatement(): NotInsertStatementContext { - return this.getRuleContext(0, NotInsertStatementContext)!; + public UPDATE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.UPDATE, 0); } - public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitExplainQueryTreeStatement) { - return visitor.visitExplainQueryTreeStatement(this); - } else { - return visitor.visitChildren(this); - } + public TABLE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TABLE, 0); } -} -export class ExplainPlanStatementContext extends ExplainStatementContext { - public constructor(ctx: ExplainStatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public COLUMN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.COLUMN, 0); } - public EXPLAIN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.EXPLAIN, 0)!; + public ADD(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ADD, 0); } - public PLAN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.PLAN, 0)!; + public DROP(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DROP, 0); } - public notInsertStatement(): NotInsertStatementContext { - return this.getRuleContext(0, NotInsertStatementContext)!; + public MODIFY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.MODIFY, 0); } - public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitExplainPlanStatement) { - return visitor.visitExplainPlanStatement(this); - } else { - return visitor.visitChildren(this); - } + public COMMENT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.COMMENT, 0); } -} -export class ExplainDefaultStatementContext extends ExplainStatementContext { - public constructor(ctx: ExplainStatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public CLEAR(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.CLEAR, 0); } - public EXPLAIN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.EXPLAIN, 0)!; + public RENAME(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.RENAME, 0); } - public notInsertStatement(): NotInsertStatementContext { - return this.getRuleContext(0, NotInsertStatementContext)!; + public INDEX(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.INDEX, 0); } - public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitExplainDefaultStatement) { - return visitor.visitExplainDefaultStatement(this); - } else { - return visitor.visitChildren(this); - } + public MATERIALIZE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.MATERIALIZE, 0); } -} -export class ExplainEstimateStatementContext extends ExplainStatementContext { - public constructor(ctx: ExplainStatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public BY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.BY, 0); } - public EXPLAIN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.EXPLAIN, 0)!; + public ORDER(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ORDER, 0); } - public ESTIMATE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.ESTIMATE, 0)!; + public SAMPLE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.SAMPLE, 0); } - public notInsertStatement(): NotInsertStatementContext { - return this.getRuleContext(0, NotInsertStatementContext)!; + public CONSTRAINT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.CONSTRAINT, 0); } - public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitExplainEstimateStatement) { - return visitor.visitExplainEstimateStatement(this); - } else { - return visitor.visitChildren(this); - } + public TTL(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TTL, 0); } -} -export class ExplainSyntaxStatementContext extends ExplainStatementContext { - public constructor(ctx: ExplainStatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + public SETTINGS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.SETTINGS, 0); } - public EXPLAIN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.EXPLAIN, 0)!; + public SETTING(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.SETTING, 0); } - public SYNTAX(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.SYNTAX, 0)!; + public MOVE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.MOVE, 0); } - public notInsertStatement(): NotInsertStatementContext { - return this.getRuleContext(0, NotInsertStatementContext)!; + public FETCH(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.FETCH, 0); + } + public PARTITION(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.PARTITION, 0); + } + public PART(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.PART, 0); + } + public FREEZE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.FREEZE, 0); + } + public VIEW(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.VIEW, 0); + } + public REFRESH(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.REFRESH, 0); + } + public LIVE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.LIVE, 0); + } + public QUERY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.QUERY, 0); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_alterPrivilege; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitExplainSyntaxStatement) { - return visitor.visitExplainSyntaxStatement(this); + if (visitor.visitAlterPrivilege) { + return visitor.visitAlterPrivilege(this); } else { return visitor.visitChildren(this); } } } -export class ExplainPipelineStatementContext extends ExplainStatementContext { - public constructor(ctx: ExplainStatementContext) { - super(ctx.parent, ctx.invokingState); - super.copyFrom(ctx); + + +export class PrivilegeContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); } - public EXPLAIN(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.EXPLAIN, 0)!; + public selectPrivilege(): SelectPrivilegeContext | null { + return this.getRuleContext(0, SelectPrivilegeContext); } - public PIPELINE(): antlr.TerminalNode { - return this.getToken(ClickHouseParser.PIPELINE, 0)!; + public insertPrivilege(): InsertPrivilegeContext | null { + return this.getRuleContext(0, InsertPrivilegeContext); } - public notInsertStatement(): NotInsertStatementContext { - return this.getRuleContext(0, NotInsertStatementContext)!; + public createPrivilege(): CreatePrivilegeContext | null { + return this.getRuleContext(0, CreatePrivilegeContext); + } + public dropPrivilege(): DropPrivilegeContext | null { + return this.getRuleContext(0, DropPrivilegeContext); + } + public TRUNCATE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.TRUNCATE, 0); + } + public KILL(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.KILL, 0); + } + public QUERY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.QUERY, 0); + } + public OPTIMIZE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.OPTIMIZE, 0); + } + public showPrivilege(): ShowPrivilegeContext | null { + return this.getRuleContext(0, ShowPrivilegeContext); + } + public introspectionPrivilege(): IntrospectionPrivilegeContext | null { + return this.getRuleContext(0, IntrospectionPrivilegeContext); + } + public sourcePrivilege(): SourcePrivilegeContext | null { + return this.getRuleContext(0, SourcePrivilegeContext); + } + public dictPrivilege(): DictPrivilegeContext | null { + return this.getRuleContext(0, DictPrivilegeContext); + } + public alterPrivilege(): AlterPrivilegeContext | null { + return this.getRuleContext(0, AlterPrivilegeContext); + } + public ALL(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ALL, 0); + } + public NONE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.NONE, 0); + } + public override get ruleIndex(): number { + return ClickHouseParser.RULE_privilege; } public override accept(visitor: ClickHouseParserVisitor): Result | null { - if (visitor.visitExplainPipelineStatement) { - return visitor.visitExplainPipelineStatement(this); + if (visitor.visitPrivilege) { + return visitor.visitPrivilege(this); } else { return visitor.visitChildren(this); } @@ -18905,6 +21356,162 @@ export class KeywordContext extends antlr.ParserRuleContext { public WITH(): antlr.TerminalNode | null { return this.getToken(ClickHouseParser.WITH, 0); } + public GRANT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.GRANT, 0); + } + public USER(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.USER, 0); + } + public FETCH(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.FETCH, 0); + } + public REFRESH(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.REFRESH, 0); + } + public POLICY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.POLICY, 0); + } + public QUOTA(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.QUOTA, 0); + } + public ROLE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ROLE, 0); + } + public PROFILE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.PROFILE, 0); + } + public ARBITRARY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ARBITRARY, 0); + } + public COLUMNS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.COLUMNS, 0); + } + public CURRENT_USER(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.CURRENT_USER, 0); + } + public ACCESS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ACCESS, 0); + } + public SHOW_USERS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.SHOW_USERS, 0); + } + public SHOW_ROLES(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.SHOW_ROLES, 0); + } + public SHOW_ROW_POLICIES(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.SHOW_ROW_POLICIES, 0); + } + public SHOW_QUOTAS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.SHOW_QUOTAS, 0); + } + public SHOW_SETTINGS_PROFILES(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.SHOW_SETTINGS_PROFILES, 0); + } + public SHUTDOWN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.SHUTDOWN, 0); + } + public CACHE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.CACHE, 0); + } + public DNS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DNS, 0); + } + public MARK(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.MARK, 0); + } + public PART(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.PART, 0); + } + public UNCOMPRESSED(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.UNCOMPRESSED, 0); + } + public CONFIG(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.CONFIG, 0); + } + public EMBEDDED(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.EMBEDDED, 0); + } + public FUNCTIONS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.FUNCTIONS, 0); + } + public MOVES(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.MOVES, 0); + } + public REPLICATION(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.REPLICATION, 0); + } + public QUEUES(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.QUEUES, 0); + } + public RESTART(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.RESTART, 0); + } + public DICTGET(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DICTGET, 0); + } + public DICTGETHIERARCHY(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DICTGETHIERARCHY, 0); + } + public DICTHAS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DICTHAS, 0); + } + public DICTISIN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DICTISIN, 0); + } + public MANAGEMENT(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.MANAGEMENT, 0); + } + public ADMIN(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ADMIN, 0); + } + public INTROSPECTION(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.INTROSPECTION, 0); + } + public ADDRESSTOLINE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ADDRESSTOLINE, 0); + } + public ADDRESSTOSYMBOL(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ADDRESSTOSYMBOL, 0); + } + public DEMANGLE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.DEMANGLE, 0); + } + public SOURCES(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.SOURCES, 0); + } + public FILE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.FILE, 0); + } + public URL(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.URL, 0); + } + public REMOTE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.REMOTE, 0); + } + public MYSQL(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.MYSQL, 0); + } + public ODBC(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.ODBC, 0); + } + public JDBC(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.JDBC, 0); + } + public HDFS(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.HDFS, 0); + } + public S3(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.S3, 0); + } + public SETTING(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.SETTING, 0); + } + public OPTION(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.OPTION, 0); + } + public NONE(): antlr.TerminalNode | null { + return this.getToken(ClickHouseParser.NONE, 0); + } public override get ruleIndex(): number { return ClickHouseParser.RULE_keyword; } diff --git a/src/autocomplete/databases/clickhouse/generated/ClickHouseParserVisitor.ts b/src/autocomplete/databases/clickhouse/generated/ClickHouseParserVisitor.ts index ec4b47d6b..83ea4ff18 100644 --- a/src/autocomplete/databases/clickhouse/generated/ClickHouseParserVisitor.ts +++ b/src/autocomplete/databases/clickhouse/generated/ClickHouseParserVisitor.ts @@ -108,6 +108,19 @@ import { ExplainPipelineStatementContext } from "./ClickHouseParser.js"; import { ExplainPlanStatementContext } from "./ClickHouseParser.js"; import { ExplainQueryTreeStatementContext } from "./ClickHouseParser.js"; import { ExplainEstimateStatementContext } from "./ClickHouseParser.js"; +import { GrantStatementContext } from "./ClickHouseParser.js"; +import { UserExpressionListContext } from "./ClickHouseParser.js"; +import { UserIdentifierContext } from "./ClickHouseParser.js"; +import { SelectPrivilegeContext } from "./ClickHouseParser.js"; +import { InsertPrivilegeContext } from "./ClickHouseParser.js"; +import { CreatePrivilegeContext } from "./ClickHouseParser.js"; +import { DropPrivilegeContext } from "./ClickHouseParser.js"; +import { ShowPrivilegeContext } from "./ClickHouseParser.js"; +import { IntrospectionPrivilegeContext } from "./ClickHouseParser.js"; +import { SourcePrivilegeContext } from "./ClickHouseParser.js"; +import { DictPrivilegeContext } from "./ClickHouseParser.js"; +import { AlterPrivilegeContext } from "./ClickHouseParser.js"; +import { PrivilegeContext } from "./ClickHouseParser.js"; import { InsertStatementContext } from "./ClickHouseParser.js"; import { ColumnsClauseContext } from "./ClickHouseParser.js"; import { DataClauseFormatContext } from "./ClickHouseParser.js"; @@ -866,6 +879,84 @@ export class ClickHouseParserVisitor extends AbstractParseTreeVisitor Result; + /** + * Visit a parse tree produced by `ClickHouseParser.grantStatement`. + * @param ctx the parse tree + * @return the visitor result + */ + visitGrantStatement?: (ctx: GrantStatementContext) => Result; + /** + * Visit a parse tree produced by `ClickHouseParser.userExpressionList`. + * @param ctx the parse tree + * @return the visitor result + */ + visitUserExpressionList?: (ctx: UserExpressionListContext) => Result; + /** + * Visit a parse tree produced by `ClickHouseParser.userIdentifier`. + * @param ctx the parse tree + * @return the visitor result + */ + visitUserIdentifier?: (ctx: UserIdentifierContext) => Result; + /** + * Visit a parse tree produced by `ClickHouseParser.selectPrivilege`. + * @param ctx the parse tree + * @return the visitor result + */ + visitSelectPrivilege?: (ctx: SelectPrivilegeContext) => Result; + /** + * Visit a parse tree produced by `ClickHouseParser.insertPrivilege`. + * @param ctx the parse tree + * @return the visitor result + */ + visitInsertPrivilege?: (ctx: InsertPrivilegeContext) => Result; + /** + * Visit a parse tree produced by `ClickHouseParser.createPrivilege`. + * @param ctx the parse tree + * @return the visitor result + */ + visitCreatePrivilege?: (ctx: CreatePrivilegeContext) => Result; + /** + * Visit a parse tree produced by `ClickHouseParser.dropPrivilege`. + * @param ctx the parse tree + * @return the visitor result + */ + visitDropPrivilege?: (ctx: DropPrivilegeContext) => Result; + /** + * Visit a parse tree produced by `ClickHouseParser.showPrivilege`. + * @param ctx the parse tree + * @return the visitor result + */ + visitShowPrivilege?: (ctx: ShowPrivilegeContext) => Result; + /** + * Visit a parse tree produced by `ClickHouseParser.introspectionPrivilege`. + * @param ctx the parse tree + * @return the visitor result + */ + visitIntrospectionPrivilege?: (ctx: IntrospectionPrivilegeContext) => Result; + /** + * Visit a parse tree produced by `ClickHouseParser.sourcePrivilege`. + * @param ctx the parse tree + * @return the visitor result + */ + visitSourcePrivilege?: (ctx: SourcePrivilegeContext) => Result; + /** + * Visit a parse tree produced by `ClickHouseParser.dictPrivilege`. + * @param ctx the parse tree + * @return the visitor result + */ + visitDictPrivilege?: (ctx: DictPrivilegeContext) => Result; + /** + * Visit a parse tree produced by `ClickHouseParser.alterPrivilege`. + * @param ctx the parse tree + * @return the visitor result + */ + visitAlterPrivilege?: (ctx: AlterPrivilegeContext) => Result; + /** + * Visit a parse tree produced by `ClickHouseParser.privilege`. + * @param ctx the parse tree + * @return the visitor result + */ + visitPrivilege?: (ctx: PrivilegeContext) => Result; /** * Visit a parse tree produced by `ClickHouseParser.insertStatement`. * @param ctx the parse tree diff --git a/src/autocomplete/databases/clickhouse/grammar/ClickHouseLexer.g4 b/src/autocomplete/databases/clickhouse/grammar/ClickHouseLexer.g4 index 87791d123..8faa25570 100644 --- a/src/autocomplete/databases/clickhouse/grammar/ClickHouseLexer.g4 +++ b/src/autocomplete/databases/clickhouse/grammar/ClickHouseLexer.g4 @@ -8,200 +8,252 @@ lexer grammar ClickHouseLexer; // Keywords -ADD : A D D; -AFTER : A F T E R; -ALIAS : A L I A S; -ALL : A L L; -ALTER : A L T E R; -AND : A N D; -ANTI : A N T I; -ANY : A N Y; -ARRAY : A R R A Y; -AS : A S; -ASCENDING : A S C | A S C E N D I N G; -ASOF : A S O F; -AST : A S T; -ASYNC : A S Y N C; -ATTACH : A T T A C H; -BETWEEN : B E T W E E N; -BOTH : B O T H; -BY : B Y; -CASE : C A S E; -CAST : C A S T; -CHECK : C H E C K; -CLEAR : C L E A R; -CLUSTER : C L U S T E R; -CODEC : C O D E C; -COLLATE : C O L L A T E; -COLUMN : C O L U M N; -COMMENT : C O M M E N T; -CONSTRAINT : C O N S T R A I N T; -CREATE : C R E A T E; -CROSS : C R O S S; -CUBE : C U B E; -CURRENT : C U R R E N T; -DATABASE : D A T A B A S E; -DATABASES : D A T A B A S E S; -DATE : D A T E; -DAY : D A Y; -DEDUPLICATE : D E D U P L I C A T E; -DEFAULT : D E F A U L T; -DELAY : D E L A Y; -DELETE : D E L E T E; -DESC : D E S C; -DESCENDING : D E S C E N D I N G; -DESCRIBE : D E S C R I B E; -DETACH : D E T A C H; -DICTIONARIES : D I C T I O N A R I E S; -DICTIONARY : D I C T I O N A R Y; -DISK : D I S K; -DISTINCT : D I S T I N C T; -DISTRIBUTED : D I S T R I B U T E D; -DROP : D R O P; -ELSE : E L S E; -END : E N D; -ENGINE : E N G I N E; -ESTIMATE : E S T I M A T E; -EVENTS : E V E N T S; -EXISTS : E X I S T S; -EXPLAIN : E X P L A I N; -EXPRESSION : E X P R E S S I O N; -EXTRACT : E X T R A C T; -FETCHES : F E T C H E S; -FINAL : F I N A L; -FIRST : F I R S T; -FLUSH : F L U S H; -FOLLOWING : F O L L O W I N G; -FOR : F O R; -FORMAT : F O R M A T; -FREEZE : F R E E Z E; -FROM : F R O M; -FULL : F U L L; -FUNCTION : F U N C T I O N; -GLOBAL : G L O B A L; -GRANULARITY : G R A N U L A R I T Y; -GROUP : G R O U P; -HAVING : H A V I N G; -HIERARCHICAL : H I E R A R C H I C A L; -HOUR : H O U R; -ID : I D; -IF : I F; -ILIKE : I L I K E; -IN : I N; -INDEX : I N D E X; -INF : I N F | I N F I N I T Y; -INJECTIVE : I N J E C T I V E; -INNER : I N N E R; -INSERT : I N S E R T; -INTERVAL : I N T E R V A L; -INTO : I N T O; -IS : I S; -IS_OBJECT_ID : I S UNDERSCORE O B J E C T UNDERSCORE I D; -JOIN : J O I N; -KEY : K E Y; -KILL : K I L L; -LAST : L A S T; -LAYOUT : L A Y O U T; -LEADING : L E A D I N G; -LEFT : L E F T; -LIFETIME : L I F E T I M E; -LIKE : L I K E; -LIMIT : L I M I T; -LIVE : L I V E; -LOCAL : L O C A L; -LOGS : L O G S; -MATERIALIZE : M A T E R I A L I Z E; -MATERIALIZED : M A T E R I A L I Z E D; -MAX : M A X; -MERGES : M E R G E S; -MIN : M I N; -MINUTE : M I N U T E; -MODIFY : M O D I F Y; -MONTH : M O N T H; -MOVE : M O V E; -MUTATION : M U T A T I O N; -NAN_SQL : N A N; // conflicts with macro NAN -NO : N O; -NOT : N O T; -NULL_SQL : N U L L; // conflicts with macro NULL -NULLS : N U L L S; -OFFSET : O F F S E T; -ON : O N; -OPTIMIZE : O P T I M I Z E; -OR : O R; -ORDER : O R D E R; -OUTER : O U T E R; -OUTFILE : O U T F I L E; -OVER : O V E R; -PARTITION : P A R T I T I O N; -PIPELINE : P I P E L I N E; -PLAN : P L A N; -POPULATE : P O P U L A T E; -PRECEDING : P R E C E D I N G; -PREWHERE : P R E W H E R E; -PRIMARY : P R I M A R Y; -PROJECTION : P R O J E C T I O N; -QUARTER : Q U A R T E R; -QUERY : Q U E R Y; -RANGE : R A N G E; -RELOAD : R E L O A D; -REMOVE : R E M O V E; -RENAME : R E N A M E; -REPLACE : R E P L A C E; -REPLICA : R E P L I C A; -REPLICATED : R E P L I C A T E D; -RIGHT : R I G H T; -ROLLUP : R O L L U P; -ROW : R O W; -ROWS : R O W S; -SAMPLE : S A M P L E; -SECOND : S E C O N D; -SELECT : S E L E C T; -SEMI : S E M I; -SENDS : S E N D S; -SET : S E T; -SETTINGS : S E T T I N G S; -SHOW : S H O W; -SOURCE : S O U R C E; -START : S T A R T; -STOP : S T O P; -SUBSTRING : S U B S T R I N G; -SYNC : S Y N C; -SYNTAX : S Y N T A X; -SYSTEM : S Y S T E M; -TABLE : T A B L E; -TABLES : T A B L E S; -TEMPORARY : T E M P O R A R Y; -TEST : T E S T; -THEN : T H E N; -TIES : T I E S; -TIMEOUT : T I M E O U T; -TIMESTAMP : T I M E S T A M P; -TO : T O; -TOP : T O P; -TOTALS : T O T A L S; -TRAILING : T R A I L I N G; -TRIM : T R I M; -TREE : T R E E; -TRUNCATE : T R U N C A T E; -TTL : T T L; -TYPE : T Y P E; -UNBOUNDED : U N B O U N D E D; -UNION : U N I O N; -UPDATE : U P D A T E; -USE : U S E; -USING : U S I N G; -UUID : U U I D; -VALUES : V A L U E S; -VIEW : V I E W; -VOLUME : V O L U M E; -WATCH : W A T C H; -WEEK : W E E K; -WHEN : W H E N; -WHERE : W H E R E; -WINDOW : W I N D O W; -WITH : W I T H; -YEAR : Y E A R | Y Y Y Y; +ADD : A D D; +AFTER : A F T E R; +ALIAS : A L I A S; +ALL : A L L; +ALTER : A L T E R; +AND : A N D; +ANTI : A N T I; +ANY : A N Y; +ARRAY : A R R A Y; +AS : A S; +ASCENDING : A S C | A S C E N D I N G; +ASOF : A S O F; +AST : A S T; +ASYNC : A S Y N C; +ATTACH : A T T A C H; +BETWEEN : B E T W E E N; +BOTH : B O T H; +BY : B Y; +CASE : C A S E; +CAST : C A S T; +CHECK : C H E C K; +CLEAR : C L E A R; +CLUSTER : C L U S T E R; +CODEC : C O D E C; +COLLATE : C O L L A T E; +COLUMN : C O L U M N; +COMMENT : C O M M E N T; +CONSTRAINT : C O N S T R A I N T; +CREATE : C R E A T E; +CROSS : C R O S S; +CUBE : C U B E; +CURRENT : C U R R E N T; +DATABASE : D A T A B A S E; +DATABASES : D A T A B A S E S; +DATE : D A T E; +DAY : D A Y; +DEDUPLICATE : D E D U P L I C A T E; +DEFAULT : D E F A U L T; +DELAY : D E L A Y; +DELETE : D E L E T E; +DESC : D E S C; +DESCENDING : D E S C E N D I N G; +DESCRIBE : D E S C R I B E; +DETACH : D E T A C H; +DICTIONARIES : D I C T I O N A R I E S; +DICTIONARY : D I C T I O N A R Y; +DISK : D I S K; +DISTINCT : D I S T I N C T; +DISTRIBUTED : D I S T R I B U T E D; +DROP : D R O P; +ELSE : E L S E; +END : E N D; +ENGINE : E N G I N E; +ESTIMATE : E S T I M A T E; +EVENTS : E V E N T S; +EXISTS : E X I S T S; +EXPLAIN : E X P L A I N; +EXPRESSION : E X P R E S S I O N; +EXTRACT : E X T R A C T; +FETCHES : F E T C H E S; +FINAL : F I N A L; +FIRST : F I R S T; +FLUSH : F L U S H; +FOLLOWING : F O L L O W I N G; +FOR : F O R; +FORMAT : F O R M A T; +FREEZE : F R E E Z E; +FROM : F R O M; +FULL : F U L L; +FUNCTION : F U N C T I O N; +GLOBAL : G L O B A L; +GRANULARITY : G R A N U L A R I T Y; +GROUP : G R O U P; +HAVING : H A V I N G; +HIERARCHICAL : H I E R A R C H I C A L; +HOUR : H O U R; +ID : I D; +IF : I F; +ILIKE : I L I K E; +IN : I N; +INDEX : I N D E X; +INF : I N F | I N F I N I T Y; +INJECTIVE : I N J E C T I V E; +INNER : I N N E R; +INSERT : I N S E R T; +INTERVAL : I N T E R V A L; +INTO : I N T O; +IS : I S; +IS_OBJECT_ID : I S UNDERSCORE O B J E C T UNDERSCORE I D; +JOIN : J O I N; +KEY : K E Y; +KILL : K I L L; +LAST : L A S T; +LAYOUT : L A Y O U T; +LEADING : L E A D I N G; +LEFT : L E F T; +LIFETIME : L I F E T I M E; +LIKE : L I K E; +LIMIT : L I M I T; +LIVE : L I V E; +LOCAL : L O C A L; +LOGS : L O G S; +MATERIALIZE : M A T E R I A L I Z E; +MATERIALIZED : M A T E R I A L I Z E D; +MAX : M A X; +MERGES : M E R G E S; +MIN : M I N; +MINUTE : M I N U T E; +MODIFY : M O D I F Y; +MONTH : M O N T H; +MOVE : M O V E; +MUTATION : M U T A T I O N; +NAN_SQL : N A N; // conflicts with macro NAN +NO : N O; +NOT : N O T; +NULL_SQL : N U L L; // conflicts with macro NULL +NULLS : N U L L S; +OFFSET : O F F S E T; +ON : O N; +OPTIMIZE : O P T I M I Z E; +OR : O R; +ORDER : O R D E R; +OUTER : O U T E R; +OUTFILE : O U T F I L E; +OVER : O V E R; +PARTITION : P A R T I T I O N; +PIPELINE : P I P E L I N E; +PLAN : P L A N; +POPULATE : P O P U L A T E; +PRECEDING : P R E C E D I N G; +PREWHERE : P R E W H E R E; +PRIMARY : P R I M A R Y; +PROJECTION : P R O J E C T I O N; +QUARTER : Q U A R T E R; +QUERY : Q U E R Y; +RANGE : R A N G E; +RELOAD : R E L O A D; +REMOVE : R E M O V E; +RENAME : R E N A M E; +REPLACE : R E P L A C E; +REPLICA : R E P L I C A; +REPLICATED : R E P L I C A T E D; +RIGHT : R I G H T; +ROLLUP : R O L L U P; +ROW : R O W; +ROWS : R O W S; +SAMPLE : S A M P L E; +SECOND : S E C O N D; +SELECT : S E L E C T; +SEMI : S E M I; +SENDS : S E N D S; +SET : S E T; +SETTINGS : S E T T I N G S; +SHOW : S H O W; +SOURCE : S O U R C E; +START : S T A R T; +STOP : S T O P; +SUBSTRING : S U B S T R I N G; +SYNC : S Y N C; +SYNTAX : S Y N T A X; +SYSTEM : S Y S T E M; +TABLE : T A B L E; +TABLES : T A B L E S; +TEMPORARY : T E M P O R A R Y; +TEST : T E S T; +THEN : T H E N; +TIES : T I E S; +TIMEOUT : T I M E O U T; +TIMESTAMP : T I M E S T A M P; +TO : T O; +TOP : T O P; +TOTALS : T O T A L S; +TRAILING : T R A I L I N G; +TRIM : T R I M; +TREE : T R E E; +TRUNCATE : T R U N C A T E; +TTL : T T L; +TYPE : T Y P E; +UNBOUNDED : U N B O U N D E D; +UNION : U N I O N; +UPDATE : U P D A T E; +USE : U S E; +USING : U S I N G; +UUID : U U I D; +VALUES : V A L U E S; +VIEW : V I E W; +VOLUME : V O L U M E; +WATCH : W A T C H; +WEEK : W E E K; +WHEN : W H E N; +WHERE : W H E R E; +WINDOW : W I N D O W; +WITH : W I T H; +YEAR : Y E A R | Y Y Y Y; +GRANT : G R A N T; +USER : U S E R; +FETCH : F E T C H; +REFRESH : R E F R E S H; +POLICY : P O L I C Y; +QUOTA : Q U O T A; +ROLE : R O L E; +PROFILE : P R O F I L E; +ARBITRARY : A R B I T R A R Y; +COLUMNS : C O L U M N S; +CURRENT_USER : C U R R E N T UNDERSCORE U S E R; +ACCESS : A C C E S S; +SHOW_USERS : S H O W UNDERSCORE U S E R S; +SHOW_ROLES : S H O W UNDERSCORE R O L E S; +SHOW_ROW_POLICIES : S H O W UNDERSCORE R O W UNDERSCORE P O L I C I E S; +SHOW_QUOTAS : S H O W UNDERSCORE Q U O T A S; +SHOW_SETTINGS_PROFILES : S H O W UNDERSCORE S E T T I N G S UNDERSCORE P R O F I L E S; +SHUTDOWN : S H U T D O W N; +CACHE : C A C H E; +DNS : D N S; +MARK : M A R K; +PART : P A R T; +UNCOMPRESSED : U N C O M P R E S S E D; +CONFIG : C O N F I G; +EMBEDDED : E M B E D D E D; +FUNCTIONS : F U N C T I O N S; +MOVES : M O V E S; +REPLICATION : R E P L I C A T I O N; +QUEUES : Q U E U E S; +RESTART : R E S T A R T; +DICTGET : D I C T G E T; +DICTGETHIERARCHY : D I C T G E T H I E R A R C H Y; +DICTHAS : D I C T H A S; +DICTISIN : D I C T I S I N; +MANAGEMENT : M A N A G E M E N T; +ADMIN : A D M I N; +INTROSPECTION : I N T R O S P E C T I O N; +ADDRESSTOLINE : A D D R E S S T O L I N E; +ADDRESSTOSYMBOL : A D D R E S S T O S Y M B O L; +DEMANGLE : D E M A N G L E; +SOURCES : S O U R C E S; +FILE : F I L E; +URL : U R L; +REMOTE : R E M O T E; +MYSQL : M Y S Q L; +ODBC : O D B C; +JDBC : J D B C; +HDFS : H D F S; +S3 : S '3'; +SETTING : S E T T I N G; +OPTION : O P T I O N; +NONE : N O N E; JSON_FALSE : 'false'; JSON_TRUE : 'true'; diff --git a/src/autocomplete/databases/clickhouse/grammar/ClickHouseParser.g4 b/src/autocomplete/databases/clickhouse/grammar/ClickHouseParser.g4 index 3e5f78ca0..42a98334d 100644 --- a/src/autocomplete/databases/clickhouse/grammar/ClickHouseParser.g4 +++ b/src/autocomplete/databases/clickhouse/grammar/ClickHouseParser.g4 @@ -22,6 +22,7 @@ statements statement : notInsertStatement (INTO OUTFILE STRING_LITERAL)? (FORMAT identifierOrNull)? (SEMICOLON)? | insertStatement + | grantStatement ; notInsertStatement @@ -336,6 +337,109 @@ explainStatement | EXPLAIN ESTIMATE notInsertStatement # ExplainEstimateStatement ; +// GRANT statement + +grantStatement + : GRANT clusterClause? privilege (COMMA privilege)* ON (databaseIdentifier | tableIdentifier | (ASTERISK DOT)? (ASTERISK | identifier)) TO userExpressionList (WITH GRANT OPTION)? (WITH REPLACE OPTION)? + ; + +userExpressionList + : userIdentifier (COMMA userIdentifier)* + ; + +userIdentifier + : CURRENT_USER + | identifier + ; + +selectPrivilege + : SELECT columnsClause? + ; + +insertPrivilege + : INSERT columnsClause? + ; + +createPrivilege + : CREATE (DATABASE | TABLE | VIEW | DICTIONARY | FUNCTION)? + | CREATE (ARBITRARY TEMPORARY | TEMPORARY)? TABLE + ; + +dropPrivilege + : DROP (DATABASE | TABLE | VIEW | DICTIONARY)? + ; + +showPrivilege + : SHOW (DATABASES | TABLES | COLUMNS | DICTIONARIES)? + ; + +introspectionPrivilege + : INTROSPECTION FUNCTIONS? + | ADDRESSTOLINE + | ADDRESSTOSYMBOL + | DEMANGLE + ; + +sourcePrivilege + : SOURCES + | FILE + | URL + | REMOTE + | MYSQL + | ODBC + | JDBC + | HDFS + | S3 + ; + +dictPrivilege + : DICTGET + | DICTHAS + | DICTGETHIERARCHY + | DICTISIN + ; + +alterPrivilege + : ALTER (DELETE | UPDATE)? columnsClause? + | (DELETE | UPDATE) columnsClause? + | ALTER TABLE + | ALTER (ADD | DROP | MODIFY | COMMENT | CLEAR | RENAME)? COLUMN columnsClause? + | (ADD | DROP | MODIFY | COMMENT | CLEAR | RENAME) COLUMN columnsClause? + | ALTER (ADD | DROP | MATERIALIZE | CLEAR)? INDEX + | (ADD | DROP | MATERIALIZE | CLEAR)? INDEX + | ALTER MODIFY? (ORDER | SAMPLE) BY + | MODIFY (ORDER | SAMPLE) BY + | ALTER? (ADD | DROP)? CONSTRAINT + | ALTER (MODIFY | MATERIALIZE)? TTL + | (MODIFY | MATERIALIZE) TTL + | ALTER SETTINGS + | (ALTER | ALTER MODIFY | MODIFY) SETTING + | ALTER? (MOVE | FETCH) (PARTITION | PART) + | ALTER? FREEZE PARTITION + | ALTER VIEW REFRESH? + | ALTER LIVE VIEW REFRESH + | REFRESH VIEW + | ALTER (VIEW | TABLE) MODIFY QUERY + ; + +privilege + // TODO: implement all left privileges + : selectPrivilege + | insertPrivilege + | createPrivilege + | dropPrivilege + | TRUNCATE + | KILL QUERY + | OPTIMIZE + | showPrivilege + | introspectionPrivilege + | sourcePrivilege + | dictPrivilege + | alterPrivilege + | ALL + | NONE + ; + // INSERT statement insertStatement @@ -916,6 +1020,58 @@ keyword | WHERE | WINDOW | WITH + | GRANT + | USER + | FETCH + | REFRESH + | POLICY + | QUOTA + | ROLE + | PROFILE + | ARBITRARY + | COLUMNS + | CURRENT_USER + | ACCESS + | SHOW_USERS + | SHOW_ROLES + | SHOW_ROW_POLICIES + | SHOW_QUOTAS + | SHOW_SETTINGS_PROFILES + | SHUTDOWN + | CACHE + | DNS + | MARK + | PART + | UNCOMPRESSED + | CONFIG + | EMBEDDED + | FUNCTIONS + | MOVES + | REPLICATION + | QUEUES + | RESTART + | DICTGET + | DICTGETHIERARCHY + | DICTHAS + | DICTISIN + | MANAGEMENT + | ADMIN + | INTROSPECTION + | ADDRESSTOLINE + | ADDRESSTOSYMBOL + | DEMANGLE + | SOURCES + | FILE + | URL + | REMOTE + | MYSQL + | ODBC + | JDBC + | HDFS + | S3 + | SETTING + | OPTION + | NONE ; keywordForAlias diff --git a/src/autocomplete/databases/clickhouse/tests/empty-query.test.ts b/src/autocomplete/databases/clickhouse/tests/empty-query.test.ts index e99264f30..05df05f51 100644 --- a/src/autocomplete/databases/clickhouse/tests/empty-query.test.ts +++ b/src/autocomplete/databases/clickhouse/tests/empty-query.test.ts @@ -29,6 +29,7 @@ test('should suggest properly for an empty query', () => { {value: 'USE'}, {value: 'WATCH'}, {value: 'INSERT'}, + {value: 'GRANT'}, ]; expect(autocompleteResult.suggestKeywords).toEqual(keywordsSuggestion); expect(autocompleteResult.suggestTemplates).toEqual(true); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-address-to-line.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-address-to-line.test.ts new file mode 100644 index 000000000..653f7ba8f --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-address-to-line.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + ADDRESSTOLINE + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT ADDRESSTOLINE ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-address-to-symbol.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-address-to-symbol.test.ts new file mode 100644 index 000000000..9f76aba53 --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-address-to-symbol.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + ADDRESSTOSYMBOL + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT ADDRESSTOSYMBOL ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-all.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-all.test.ts new file mode 100644 index 000000000..c182f7def --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-all.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + ALL + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT ALL ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-alter.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-alter.test.ts new file mode 100644 index 000000000..543032f03 --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-alter.test.ts @@ -0,0 +1,606 @@ +import {parseClickHouseQueryWithCursor, parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + ALTER(test_column1, test_column2), + ALTER TABLE, + ALTER UPDATE(test_column1, test_column2), + ALTER DELETE(test_column1, test_column2), + UPDATE(test_column1, test_column2), + DELETE(test_column1, test_column2), + ALTER COLUMN(test_column1, test_column2), + ALTER ADD COLUMN(test_column1, test_column2), + ALTER DROP COLUMN(test_column1, test_column2), + ALTER MODIFY COLUMN(test_column1, test_column2), + ALTER COMMENT COLUMN(test_column1, test_column2), + ALTER CLEAR COLUMN(test_column1, test_column2), + ALTER RENAME COLUMN(test_column1, test_column2), + ADD COLUMN(test_column1, test_column2), + DROP COLUMN(test_column1, test_column2), + MODIFY COLUMN(test_column1, test_column2), + COMMENT COLUMN(test_column1, test_column2), + CLEAR COLUMN(test_column1, test_column2), + RENAME COLUMN(test_column1, test_column2), + ALTER INDEX, + ALTER ORDER BY, + ALTER SAMPLE BY, + ALTER MODIFY ORDER BY, + ALTER MODIFY SAMPLE BY, + ALTER ADD INDEX, + ALTER DROP INDEX, + ALTER MATERIALIZE INDEX, + ALTER CLEAR INDEX, + INDEX, + MODIFY ORDER BY, + MODIFY SAMPLE BY, + ADD INDEX, + DROP INDEX, + MATERIALIZE INDEX, + CLEAR INDEX, + ALTER CONSTRAINT, + ALTER ADD CONSTRAINT, + ALTER DROP CONSTRAINT, + CONSTRAINT, + ADD CONSTRAINT, + DROP CONSTRAINT, + ALTER TTL, + ALTER MATERIALIZE TTL, + ALTER MODIFY TTL, + MODIFY TTL, + MATERIALIZE TTL, + ALTER SETTINGS, + ALTER SETTING, + ALTER MODIFY SETTING, + MODIFY SETTING, + ALTER MOVE PARTITION, + ALTER MOVE PART, + MOVE PARTITION, + MOVE PART, + ALTER FETCH PARTITION, + ALTER FETCH PART, + FETCH PARTITION, + FETCH PART, + ALTER FREEZE PARTITION, + FREEZE PARTITION, + ALTER VIEW, + ALTER VIEW REFRESH, + ALTER VIEW MODIFY QUERY, + ALTER LIVE VIEW REFRESH, + REFRESH VIEW, + ALTER TABLE MODIFY QUERY + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT + ALTER, + ALTER TABLE, + ALTER UPDATE, + ALTER DELETE, + UPDATE, + DELETE, + ALTER COLUMN, + ALTER ADD COLUMN, + ALTER DROP COLUMN, + ALTER MODIFY COLUMN, + ALTER COMMENT COLUMN, + ALTER CLEAR COLUMN, + ALTER RENAME COLUMN, + ADD COLUMN, + DROP COLUMN, + MODIFY COLUMN, + COMMENT COLUMN, + CLEAR COLUMN, + RENAME COLUMN, + ALTER INDEX, + ALTER ORDER BY, + ALTER SAMPLE BY, + ALTER MODIFY ORDER BY, + ALTER MODIFY SAMPLE BY, + ALTER ADD INDEX, + ALTER DROP INDEX, + ALTER MATERIALIZE INDEX, + ALTER CLEAR INDEX, + INDEX, + MODIFY ORDER BY, + MODIFY SAMPLE BY, + ADD INDEX, + DROP INDEX, + MATERIALIZE INDEX, + CLEAR INDEX, + ALTER CONSTRAINT, + ALTER ADD CONSTRAINT, + ALTER DROP CONSTRAINT, + CONSTRAINT, + ADD CONSTRAINT, + DROP CONSTRAINT, + ALTER TTL, + ALTER MATERIALIZE TTL, + ALTER MODIFY TTL, + MODIFY TTL, + MATERIALIZE TTL, + ALTER SETTINGS, + ALTER SETTING, + ALTER MODIFY SETTING, + MODIFY SETTING, + ALTER MOVE PARTITION, + ALTER MOVE PART, + MOVE PARTITION, + MOVE PART, + ALTER FETCH PARTITION, + ALTER FETCH PART, + FETCH PARTITION, + FETCH PART, + ALTER FREEZE PARTITION, + FREEZE PARTITION, + ALTER VIEW, + ALTER VIEW REFRESH, + ALTER VIEW MODIFY QUERY, + ALTER LIVE VIEW REFRESH, + REFRESH VIEW, + ALTER TABLE MODIFY QUERY + ON test_table + TO test_user1; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should suggest keywords after ALTER', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'TABLE', + }, + { + value: 'VIEW', + }, + { + value: 'LIVE', + }, + { + value: 'FREEZE', + }, + { + value: 'MOVE', + }, + { + value: 'FETCH', + }, + { + value: 'MODIFY', + }, + { + value: 'SETTING', + }, + { + value: 'SETTINGS', + }, + { + value: 'TTL', + }, + { + value: 'MATERIALIZE', + }, + { + value: 'CONSTRAINT', + }, + { + value: 'ADD', + }, + { + value: 'DROP', + }, + { + value: 'ORDER', + }, + { + value: 'SAMPLE', + }, + { + value: 'INDEX', + }, + { + value: 'CLEAR', + }, + { + value: 'COLUMN', + }, + { + value: 'COMMENT', + }, + { + value: 'RENAME', + }, + { + value: 'DELETE', + }, + { + value: 'UPDATE', + }, + { + value: 'ON', + }, + ]); +}); + +test('should suggest keywords after ALTER MODIFY', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER MODIFY |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'SETTING', + }, + { + value: 'TTL', + }, + { + value: 'ORDER', + }, + { + value: 'SAMPLE', + }, + { + value: 'COLUMN', + }, + ]); +}); + +test('should suggest keywords after MODIFY', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT MODIFY |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'SETTING', + }, + { + value: 'TTL', + }, + { + value: 'ORDER', + }, + { + value: 'SAMPLE', + }, + { + value: 'COLUMN', + }, + ]); +}); + +test('should suggest keywords after ALTER ADD', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER ADD |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'CONSTRAINT', + }, + { + value: 'INDEX', + }, + { + value: 'COLUMN', + }, + ]); +}); + +test('should suggest keywords after ALTER DROP', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER DROP |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'CONSTRAINT', + }, + { + value: 'INDEX', + }, + { + value: 'COLUMN', + }, + ]); +}); + +test('should suggest keywords after ALTER ORDER', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER ORDER |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'BY', + }, + ]); +}); + +test('should suggest keywords after ALTER SAMPLE', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER SAMPLE |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'BY', + }, + ]); +}); + +test('should suggest keywords after ALTER MODIFY', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER MODIFY |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'SETTING', + }, + { + value: 'TTL', + }, + { + value: 'ORDER', + }, + { + value: 'SAMPLE', + }, + { + value: 'COLUMN', + }, + ]); +}); + +test('should suggest keywords after ALTER MODIFY ORDER', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER MODIFY ORDER |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'BY', + }, + ]); +}); + +test('should suggest keywords after ALTER MODIFY SAMPLE', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER MODIFY SAMPLE |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'BY', + }, + ]); +}); + +test('should suggest keywords after MODIFY', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT MODIFY |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'SETTING', + }, + { + value: 'TTL', + }, + { + value: 'ORDER', + }, + { + value: 'SAMPLE', + }, + { + value: 'COLUMN', + }, + ]); +}); + +test('should suggest keywords after ALTER MATERIALIZE', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER MATERIALIZE |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'TTL', + }, + { + value: 'INDEX', + }, + ]); +}); + +test('should suggest keywords after MATERIALIZE', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT MATERIALIZE |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'TTL', + }, + { + value: 'INDEX', + }, + ]); +}); + +test('should suggest keywords after ALTER COMMENT', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER COMMENT |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'COLUMN', + }, + ]); +}); + +test('should suggest keywords after COMMENT', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT COMMENT |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'COLUMN', + }, + ]); +}); + +test('should suggest keywords after ALTER CLEAR', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER CLEAR |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'INDEX', + }, + { + value: 'COLUMN', + }, + ]); +}); + +test('should suggest keywords after CLEAR', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT CLEAR |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'INDEX', + }, + { + value: 'COLUMN', + }, + ]); +}); + +test('should suggest keywords after ALTER RENAME', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER RENAME |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'COLUMN', + }, + ]); +}); + +test('should suggest keywords after RENAME', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT RENAME |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'COLUMN', + }, + ]); +}); + +test('should suggest keywords after ALTER MOVE', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER MOVE |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'PARTITION', + }, + { + value: 'PART', + }, + ]); +}); + +test('should suggest keywords after MOVE', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT MOVE |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'PARTITION', + }, + { + value: 'PART', + }, + ]); +}); + +test('should suggest keywords after ALTER FETCH', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER FETCH |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'PARTITION', + }, + { + value: 'PART', + }, + ]); +}); + +test('should suggest keywords after FETCH', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT FETCH |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'PARTITION', + }, + { + value: 'PART', + }, + ]); +}); + +test('should suggest keywords after ALTER FREEZE', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER FREEZE |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'PARTITION', + }, + ]); +}); + +test('should suggest keywords after FREEZE', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT FREEZE |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'PARTITION', + }, + ]); +}); + +test('should suggest keywords after ALTER VIEW', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER VIEW |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'MODIFY', + }, + { + value: 'REFRESH', + }, + { + value: 'ON', + }, + ]); +}); + +test('should suggest keywords after ALTER LIVE', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER LIVE |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'VIEW', + }, + ]); +}); + +test('should suggest keywords after ALTER LIVE VIEW', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER LIVE VIEW |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'REFRESH', + }, + ]); +}); + +test('should suggest keywords after REFRESH', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT REFRESH |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'VIEW', + }, + ]); +}); + +test('should suggest keywords after ALTER TABLE', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER TABLE |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'MODIFY', + }, + { + value: 'ON', + }, + ]); +}); + +test('should suggest keywords after ALTER VIEW MODIFY', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER VIEW MODIFY |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'QUERY', + }, + ]); +}); + +test('should suggest keywords after ALTER TABLE MODIFY', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ALTER TABLE MODIFY |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'QUERY', + }, + ]); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-create.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-create.test.ts new file mode 100644 index 000000000..8b471b996 --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-create.test.ts @@ -0,0 +1,85 @@ +import {parseClickHouseQueryWithCursor, parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + CREATE, + CREATE DATABASE, + CREATE TABLE, + CREATE ARBITRARY TEMPORARY TABLE, + CREATE TEMPORARY TABLE, + CREATE VIEW, + CREATE DICTIONARY, + CREATE FUNCTION + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT CREATE ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should suggest keywords after CREATE', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT CREATE |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'TABLE', + }, + { + value: 'TEMPORARY', + }, + { + value: 'ARBITRARY', + }, + { + value: 'DATABASE', + }, + { + value: 'DICTIONARY', + }, + { + value: 'FUNCTION', + }, + { + value: 'VIEW', + }, + { + value: 'ON', + }, + ]); +}); + +test('should suggest keywords after ARBITRARY', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT CREATE ARBITRARY |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'TEMPORARY', + }, + ]); +}); + +test('should suggest keywords after TEMPORARY', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT CREATE TEMPORARY |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'TABLE', + }, + ]); +}); + +test('should suggest keywords after ARBITRARY TEMPORARY', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT CREATE ARBITRARY TEMPORARY |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'TABLE', + }, + ]); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-demangle.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-demangle.test.ts new file mode 100644 index 000000000..200df5515 --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-demangle.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + DEMANGLE + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT DEMANGLE ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-dict-get-hierarchy.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-dict-get-hierarchy.test.ts new file mode 100644 index 000000000..9a7b997af --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-dict-get-hierarchy.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + DICTGETHIERARCHY + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT DICTGETHIERARCHY ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-dict-get.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-dict-get.test.ts new file mode 100644 index 000000000..bae3149dd --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-dict-get.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + DICTGET + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT DICTGET ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-dict-has.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-dict-has.test.ts new file mode 100644 index 000000000..1bd278b8e --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-dict-has.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + DICTHAS + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT DICTHAS ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-dict-is-in.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-dict-is-in.ts new file mode 100644 index 000000000..9a7b997af --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-dict-is-in.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + DICTGETHIERARCHY + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT DICTGETHIERARCHY ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-drop.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-drop.test.ts new file mode 100644 index 000000000..f98f42bf9 --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-drop.test.ts @@ -0,0 +1,55 @@ +import {parseClickHouseQueryWithCursor, parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + DROP, + DROP DATABASE, + DROP TABLE, + DROP VIEW, + DROP DICTIONARY + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT DROP ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should suggest keywords after DROP', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT DROP |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'CONSTRAINT', + }, + { + value: 'INDEX', + }, + { + value: 'COLUMN', + }, + { + value: 'DATABASE', + }, + { + value: 'DICTIONARY', + }, + { + value: 'TABLE', + }, + { + value: 'VIEW', + }, + { + value: 'ON', + }, + ]); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-file.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-file.test.ts new file mode 100644 index 000000000..475fea670 --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-file.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + FILE + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT FILE ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-hdfs.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-hdfs.test.ts new file mode 100644 index 000000000..ef102712a --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-hdfs.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + HDFS + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT HDFS ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-insert.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-insert.test.ts new file mode 100644 index 000000000..d0fe21428 --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-insert.test.ts @@ -0,0 +1,22 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + INSERT(test_column1, test_column2) + ON test_db.test_table + TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT INSERT ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-introspection.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-introspection.test.ts new file mode 100644 index 000000000..3f1291860 --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-introspection.test.ts @@ -0,0 +1,34 @@ +import {parseClickHouseQueryWithCursor, parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + INTROSPECTION, + INTROSPECTION FUNCTIONS + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT INTROSPECTION ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should suggest keywords after INTROSPECTION', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT INTROSPECTION |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'FUNCTIONS', + }, + { + value: 'ON', + }, + ]); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-jdbc.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-jdbc.test.ts new file mode 100644 index 000000000..c4a9f85e8 --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-jdbc.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + JDBC + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT JDBC ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-kill-query.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-kill-query.test.ts new file mode 100644 index 000000000..132e2f134 --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-kill-query.test.ts @@ -0,0 +1,31 @@ +import {parseClickHouseQueryWithCursor, parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + KILL QUERY + ON test_db.test_table + TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT KILL QUERY ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should suggest keywords after KILL', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT KILL |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'QUERY', + }, + ]); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-mysql.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-mysql.test.ts new file mode 100644 index 000000000..8d23db2bb --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-mysql.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + MYSQL + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT MYSQL ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-none.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-none.test.ts new file mode 100644 index 000000000..7f2df3f2b --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-none.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + NONE + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT NONE ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-odbc.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-odbc.test.ts new file mode 100644 index 000000000..10677cc10 --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-odbc.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + ODBC + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT ODBC ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-optimize.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-optimize.test.ts new file mode 100644 index 000000000..08c24d7d5 --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-optimize.test.ts @@ -0,0 +1,22 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + OPTIMIZE + ON test_db.test_table + TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT OPTIMIZE ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-remote.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-remote.test.ts new file mode 100644 index 000000000..c63f79df1 --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-remote.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + REMOTE + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT REMOTE ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-s3.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-s3.test.ts new file mode 100644 index 000000000..1b88add1d --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-s3.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + S3 + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT S3 ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-select.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-select.test.ts new file mode 100644 index 000000000..bdddc707f --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-select.test.ts @@ -0,0 +1,22 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + SELECT(test_column1, test_column2) + ON test_db.test_table + TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT SELECT ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-show.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-show.test.ts new file mode 100644 index 000000000..eee9666d3 --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-show.test.ts @@ -0,0 +1,46 @@ +import {parseClickHouseQueryWithCursor, parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + SHOW, + SHOW DATABASES, + SHOW TABLES, + SHOW COLUMNS, + SHOW DICTIONARIES + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT SHOW ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should suggest keywords after SHOW', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT SHOW |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'DATABASES', + }, + { + value: 'DICTIONARIES', + }, + { + value: 'TABLES', + }, + { + value: 'COLUMNS', + }, + { + value: 'ON', + }, + ]); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-sources.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-sources.test.ts new file mode 100644 index 000000000..67160fa1d --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-sources.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + SOURCES + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT SOURCES ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-truncate.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-truncate.test.ts new file mode 100644 index 000000000..d324d98de --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-truncate.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + TRUNCATE ON test_db.test_table + TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT TRUNCATE ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant-url.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant-url.test.ts new file mode 100644 index 000000000..5eb2b7582 --- /dev/null +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant-url.test.ts @@ -0,0 +1,21 @@ +import {parseClickHouseQueryWithoutCursor} from '../../index'; + +test('should not report errors', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + ` + GRANT ON CLUSTER test_cluster + URL + ON *.* TO test_user1, test_user2 + WITH GRANT OPTION + WITH REPLACE OPTION; + `, + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors without optional parameters', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT URL ON test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); diff --git a/src/autocomplete/databases/clickhouse/tests/grant/grant.test.ts b/src/autocomplete/databases/clickhouse/tests/grant/grant.test.ts index 9aef21ec7..a3acbaf8b 100644 --- a/src/autocomplete/databases/clickhouse/tests/grant/grant.test.ts +++ b/src/autocomplete/databases/clickhouse/tests/grant/grant.test.ts @@ -1,7 +1,419 @@ -import {parseClickHouseQueryWithCursor} from '../../index'; +import {TableOrViewSuggestion} from '../../../../shared'; +import {parseClickHouseQueryWithCursor, parseClickHouseQueryWithoutCursor} from '../../index'; -// TODO: support grant statement -test.skip('should suggest keywords after GRANT', () => { +test('should not report errors on table wildcard identifier', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT ON CLUSTER test_cluster CREATE ON *.* TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors on database wildcard identifier', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT ON CLUSTER test_cluster CREATE ON *.test_table TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should not report errors on wildcard identifier', () => { + const autocompleteResult = parseClickHouseQueryWithoutCursor( + 'GRANT ON CLUSTER test_cluster CREATE ON * TO test_user1;', + ); + expect(autocompleteResult.errors).toHaveLength(0); +}); + +test('should suggest tables or views', () => { + const autocompleteResult = parseClickHouseQueryWithCursor( + 'GRANT ON CLUSTER test_cluster CREATE ON | TO test_user;', + ); + expect(autocompleteResult.suggestViewsOrTables).toEqual(TableOrViewSuggestion.ALL); +}); + +test('should suggest databases', () => { + const autocompleteResult = parseClickHouseQueryWithCursor( + 'GRANT ON CLUSTER test_cluster CREATE ON | TO test_user;', + ); + expect(autocompleteResult.suggestDatabases).toEqual(true); +}); + +test('should suggest current user', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT SELECT ON test_table TO |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'CURRENT_USER', + }, + ]); +}); + +test('should suggest privileges after GRANT', () => { const autocompleteResult = parseClickHouseQueryWithCursor('GRANT |'); - expect(autocompleteResult).toEqual([]); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'SELECT', + }, + { + value: 'INSERT', + }, + { + value: 'CREATE', + }, + { + value: 'DROP', + }, + { + value: 'TRUNCATE', + }, + { + value: 'KILL', + }, + { + value: 'OPTIMIZE', + }, + { + value: 'SHOW', + }, + { + value: 'INTROSPECTION', + }, + { + value: 'ADDRESSTOLINE', + }, + { + value: 'ADDRESSTOSYMBOL', + }, + { + value: 'DEMANGLE', + }, + { + value: 'SOURCES', + }, + { + value: 'FILE', + }, + { + value: 'URL', + }, + { + value: 'REMOTE', + }, + { + value: 'MYSQL', + }, + { + value: 'ODBC', + }, + { + value: 'JDBC', + }, + { + value: 'HDFS', + }, + { + value: 'S3', + }, + { + value: 'DICTGET', + }, + { + value: 'DICTGETHIERARCHY', + }, + { + value: 'DICTHAS', + }, + { + value: 'DICTISIN', + }, + { + value: 'ALTER', + }, + { + value: 'DELETE', + }, + { + value: 'UPDATE', + }, + { + value: 'ADD', + }, + { + value: 'CLEAR', + }, + { + value: 'COMMENT', + }, + { + value: 'MODIFY', + }, + { + value: 'RENAME', + }, + { + value: 'MATERIALIZE', + }, + { + value: 'INDEX', + }, + { + value: 'CONSTRAINT', + }, + { + value: 'MOVE', + }, + { + value: 'FETCH', + }, + { + value: 'FREEZE', + }, + { + value: 'REFRESH', + }, + { + value: 'ALL', + }, + { + value: 'NONE', + }, + { + value: 'ON', + }, + ]); +}); +test('should suggest privileges after comma', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT SELECT, |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'SELECT', + }, + { + value: 'INSERT', + }, + { + value: 'CREATE', + }, + { + value: 'DROP', + }, + { + value: 'TRUNCATE', + }, + { + value: 'KILL', + }, + { + value: 'OPTIMIZE', + }, + { + value: 'SHOW', + }, + { + value: 'INTROSPECTION', + }, + { + value: 'ADDRESSTOLINE', + }, + { + value: 'ADDRESSTOSYMBOL', + }, + { + value: 'DEMANGLE', + }, + { + value: 'SOURCES', + }, + { + value: 'FILE', + }, + { + value: 'URL', + }, + { + value: 'REMOTE', + }, + { + value: 'MYSQL', + }, + { + value: 'ODBC', + }, + { + value: 'JDBC', + }, + { + value: 'HDFS', + }, + { + value: 'S3', + }, + { + value: 'DICTGET', + }, + { + value: 'DICTGETHIERARCHY', + }, + { + value: 'DICTHAS', + }, + { + value: 'DICTISIN', + }, + { + value: 'ALTER', + }, + { + value: 'DELETE', + }, + { + value: 'UPDATE', + }, + { + value: 'ADD', + }, + { + value: 'CLEAR', + }, + { + value: 'COMMENT', + }, + { + value: 'MODIFY', + }, + { + value: 'RENAME', + }, + { + value: 'MATERIALIZE', + }, + { + value: 'INDEX', + }, + { + value: 'CONSTRAINT', + }, + { + value: 'MOVE', + }, + { + value: 'FETCH', + }, + { + value: 'FREEZE', + }, + { + value: 'REFRESH', + }, + { + value: 'ALL', + }, + { + value: 'NONE', + }, + ]); +}); + +test('should suggest cluster', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT ON |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'CLUSTER', + }, + ]); +}); + +test('should suggest keywords after privilege identifier', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT SELECT |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'ON', + }, + ]); +}); + +test('should suggest tables or views', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT SELECT ON |'); + expect(autocompleteResult.suggestViewsOrTables).toEqual(TableOrViewSuggestion.ALL); +}); + +test('should suggest tables or views', () => { + const autocompleteResult = parseClickHouseQueryWithCursor( + 'GRANT ON CLUSTER test_cluster SELECT ON |', + ); + expect(autocompleteResult.suggestViewsOrTables).toEqual(TableOrViewSuggestion.ALL); +}); + +test('should suggest databases', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT SELECT ON |'); + expect(autocompleteResult.suggestDatabases).toEqual(true); +}); + +test('should suggest databases', () => { + const autocompleteResult = parseClickHouseQueryWithCursor( + 'GRANT ON CLUSTER test_cluster SELECT ON |', + ); + expect(autocompleteResult.suggestDatabases).toEqual(true); +}); + +test('should suggest keywords after table identifier', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT SELECT ON test_table |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'TO', + }, + ]); +}); + +test('should suggest current user', () => { + const autocompleteResult = parseClickHouseQueryWithCursor('GRANT SELECT ON test_table TO |'); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'CURRENT_USER', + }, + ]); +}); + +test('should suggest keywords after user identifier', () => { + const autocompleteResult = parseClickHouseQueryWithCursor( + 'GRANT SELECT ON test_table TO test_user |', + ); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'WITH', + }, + ]); +}); + +test('should suggest keywords after WITH', () => { + const autocompleteResult = parseClickHouseQueryWithCursor( + 'GRANT SELECT ON test_table TO test_user WITH |', + ); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'REPLACE', + }, + { + value: 'GRANT', + }, + ]); +}); + +test('should suggest keywords after WITH GRANT', () => { + const autocompleteResult = parseClickHouseQueryWithCursor( + 'GRANT SELECT ON test_table TO test_user WITH GRANT |', + ); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'OPTION', + }, + ]); +}); + +test('should suggest keywords after WITH REPLACE', () => { + const autocompleteResult = parseClickHouseQueryWithCursor( + 'GRANT SELECT ON test_table TO test_user WITH REPLACE |', + ); + expect(autocompleteResult.suggestKeywords).toEqual([ + { + value: 'OPTION', + }, + ]); }); diff --git a/tsconfig.json b/tsconfig.json index 5a5b12e38..4674be9b1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,5 +13,6 @@ "checkJs": false, "declaration": true }, - "include": ["src/**/*"] + "include": ["src/**/*"], + "exclude": ["src/autocomplete/databases/clickhouse/tests/generated/**/*"] }