From d946f661f2f2fb2a0832581972344ba2adce11d2 Mon Sep 17 00:00:00 2001 From: Tom Owers Date: Thu, 18 Jan 2024 15:14:39 +0000 Subject: [PATCH] feat(hogql): Allow a placeholder to be used in place of a select statement (#19767) * Allow a placeholder to be used in place of a select statement in a union all * Updated the hogql parser version * Use new hogql-parser version * Fixed tests * Update query snapshots * Update query snapshots * Rejigged the g4 file * Updated mypy * Updated mypy --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- hogql_parser/HogQLParser.cpp | 1923 ++++++++-------- hogql_parser/HogQLParser.h | 1 + hogql_parser/HogQLParser.interp | 2 +- hogql_parser/parser.cpp | 9 + hogql_parser/setup.py | 2 +- mypy-baseline.txt | 1 + posthog/hogql/grammar/HogQLParser.g4 | 3 +- posthog/hogql/grammar/HogQLParser.interp | 2 +- posthog/hogql/grammar/HogQLParser.py | 1943 +++++++++-------- posthog/hogql/parser.py | 4 +- posthog/hogql/test/_test_parser.py | 2 +- posthog/hogql/test/test_metadata.py | 2 +- .../insights/stickiness_query_runner.py | 2 +- requirements.in | 2 +- requirements.txt | 2 +- 15 files changed, 1967 insertions(+), 1933 deletions(-) diff --git a/hogql_parser/HogQLParser.cpp b/hogql_parser/HogQLParser.cpp index e31a7a0f6c353..f93862eec5c0d 100644 --- a/hogql_parser/HogQLParser.cpp +++ b/hogql_parser/HogQLParser.cpp @@ -127,7 +127,7 @@ void hogqlparserParserInitialize() { } ); static const int32_t serializedATNSegment[] = { - 4,1,242,978,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, + 4,1,242,979,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, @@ -137,353 +137,353 @@ void hogqlparserParserInitialize() { 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,1,0,1,0,1,0,3,0, 128,8,0,1,0,1,0,1,1,1,1,1,1,1,1,5,1,136,8,1,10,1,12,1,139,9,1,1,2,1,2, - 1,2,1,2,1,2,3,2,146,8,2,1,3,3,3,149,8,3,1,3,1,3,3,3,153,8,3,1,3,3,3,156, - 8,3,1,3,1,3,3,3,160,8,3,1,3,3,3,163,8,3,1,3,3,3,166,8,3,1,3,3,3,169,8, - 3,1,3,3,3,172,8,3,1,3,1,3,3,3,176,8,3,1,3,1,3,3,3,180,8,3,1,3,3,3,183, - 8,3,1,3,3,3,186,8,3,1,3,3,3,189,8,3,1,3,1,3,3,3,193,8,3,1,3,3,3,196,8, - 3,1,4,1,4,1,4,1,5,1,5,1,5,1,5,3,5,205,8,5,1,6,1,6,1,6,1,7,3,7,211,8,7, - 1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,5, - 8,230,8,8,10,8,12,8,233,9,8,1,9,1,9,1,9,1,10,1,10,1,10,1,11,1,11,1,11, - 1,11,1,11,1,11,1,11,1,11,3,11,249,8,11,1,12,1,12,1,12,1,13,1,13,1,13, - 1,13,1,14,1,14,1,14,1,14,1,15,1,15,1,15,1,15,3,15,266,8,15,1,15,1,15, - 1,15,1,15,3,15,272,8,15,1,15,1,15,1,15,1,15,3,15,278,8,15,1,15,1,15,1, - 15,1,15,1,15,1,15,1,15,1,15,1,15,3,15,289,8,15,3,15,291,8,15,1,16,1,16, - 1,16,1,17,1,17,1,17,1,18,1,18,1,18,3,18,302,8,18,1,18,3,18,305,8,18,1, - 18,1,18,1,18,1,18,3,18,311,8,18,1,18,1,18,1,18,1,18,1,18,1,18,3,18,319, - 8,18,1,18,1,18,1,18,1,18,5,18,325,8,18,10,18,12,18,328,9,18,1,19,3,19, - 331,8,19,1,19,1,19,1,19,3,19,336,8,19,1,19,3,19,339,8,19,1,19,3,19,342, - 8,19,1,19,1,19,3,19,346,8,19,1,19,1,19,3,19,350,8,19,1,19,3,19,353,8, - 19,3,19,355,8,19,1,19,3,19,358,8,19,1,19,1,19,3,19,362,8,19,1,19,1,19, - 3,19,366,8,19,1,19,3,19,369,8,19,3,19,371,8,19,3,19,373,8,19,1,20,1,20, - 1,20,3,20,378,8,20,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,3,21, - 389,8,21,1,22,1,22,1,22,1,22,3,22,395,8,22,1,23,1,23,1,23,5,23,400,8, - 23,10,23,12,23,403,9,23,1,24,1,24,3,24,407,8,24,1,24,1,24,3,24,411,8, - 24,1,24,1,24,3,24,415,8,24,1,25,1,25,1,25,1,25,3,25,421,8,25,3,25,423, - 8,25,1,26,1,26,1,26,5,26,428,8,26,10,26,12,26,431,9,26,1,27,1,27,1,27, - 1,27,1,28,3,28,438,8,28,1,28,3,28,441,8,28,1,28,3,28,444,8,28,1,29,1, - 29,1,29,1,29,1,30,1,30,1,30,1,30,1,31,1,31,1,31,1,32,1,32,1,32,1,32,1, - 32,1,32,3,32,463,8,32,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1, - 33,1,33,1,33,3,33,477,8,33,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1, - 35,1,35,1,35,1,35,5,35,491,8,35,10,35,12,35,494,9,35,1,35,1,35,1,35,1, - 35,1,35,1,35,1,35,5,35,503,8,35,10,35,12,35,506,9,35,1,35,1,35,1,35,1, - 35,1,35,1,35,1,35,5,35,515,8,35,10,35,12,35,518,9,35,1,35,1,35,1,35,1, - 35,1,35,3,35,525,8,35,1,35,1,35,3,35,529,8,35,1,36,1,36,1,36,5,36,534, - 8,36,10,36,12,36,537,9,36,1,37,1,37,1,37,3,37,542,8,37,1,37,1,37,1,37, - 1,37,1,37,4,37,549,8,37,11,37,12,37,550,1,37,1,37,3,37,555,8,37,1,37, - 1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, - 1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, - 3,37,586,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, - 1,37,1,37,1,37,1,37,3,37,603,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, - 1,37,1,37,1,37,3,37,615,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, - 3,37,625,8,37,1,37,3,37,628,8,37,1,37,1,37,3,37,632,8,37,1,37,3,37,635, - 8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,648, + 1,2,1,2,1,2,1,2,3,2,147,8,2,1,3,3,3,150,8,3,1,3,1,3,3,3,154,8,3,1,3,3, + 3,157,8,3,1,3,1,3,3,3,161,8,3,1,3,3,3,164,8,3,1,3,3,3,167,8,3,1,3,3,3, + 170,8,3,1,3,3,3,173,8,3,1,3,1,3,3,3,177,8,3,1,3,1,3,3,3,181,8,3,1,3,3, + 3,184,8,3,1,3,3,3,187,8,3,1,3,3,3,190,8,3,1,3,1,3,3,3,194,8,3,1,3,3,3, + 197,8,3,1,4,1,4,1,4,1,5,1,5,1,5,1,5,3,5,206,8,5,1,6,1,6,1,6,1,7,3,7,212, + 8,7,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, + 8,5,8,231,8,8,10,8,12,8,234,9,8,1,9,1,9,1,9,1,10,1,10,1,10,1,11,1,11, + 1,11,1,11,1,11,1,11,1,11,1,11,3,11,250,8,11,1,12,1,12,1,12,1,13,1,13, + 1,13,1,13,1,14,1,14,1,14,1,14,1,15,1,15,1,15,1,15,3,15,267,8,15,1,15, + 1,15,1,15,1,15,3,15,273,8,15,1,15,1,15,1,15,1,15,3,15,279,8,15,1,15,1, + 15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,3,15,290,8,15,3,15,292,8,15,1,16, + 1,16,1,16,1,17,1,17,1,17,1,18,1,18,1,18,3,18,303,8,18,1,18,3,18,306,8, + 18,1,18,1,18,1,18,1,18,3,18,312,8,18,1,18,1,18,1,18,1,18,1,18,1,18,3, + 18,320,8,18,1,18,1,18,1,18,1,18,5,18,326,8,18,10,18,12,18,329,9,18,1, + 19,3,19,332,8,19,1,19,1,19,1,19,3,19,337,8,19,1,19,3,19,340,8,19,1,19, + 3,19,343,8,19,1,19,1,19,3,19,347,8,19,1,19,1,19,3,19,351,8,19,1,19,3, + 19,354,8,19,3,19,356,8,19,1,19,3,19,359,8,19,1,19,1,19,3,19,363,8,19, + 1,19,1,19,3,19,367,8,19,1,19,3,19,370,8,19,3,19,372,8,19,3,19,374,8,19, + 1,20,1,20,1,20,3,20,379,8,20,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21, + 1,21,3,21,390,8,21,1,22,1,22,1,22,1,22,3,22,396,8,22,1,23,1,23,1,23,5, + 23,401,8,23,10,23,12,23,404,9,23,1,24,1,24,3,24,408,8,24,1,24,1,24,3, + 24,412,8,24,1,24,1,24,3,24,416,8,24,1,25,1,25,1,25,1,25,3,25,422,8,25, + 3,25,424,8,25,1,26,1,26,1,26,5,26,429,8,26,10,26,12,26,432,9,26,1,27, + 1,27,1,27,1,27,1,28,3,28,439,8,28,1,28,3,28,442,8,28,1,28,3,28,445,8, + 28,1,29,1,29,1,29,1,29,1,30,1,30,1,30,1,30,1,31,1,31,1,31,1,32,1,32,1, + 32,1,32,1,32,1,32,3,32,464,8,32,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1, + 33,1,33,1,33,1,33,1,33,3,33,478,8,33,1,34,1,34,1,34,1,35,1,35,1,35,1, + 35,1,35,1,35,1,35,1,35,1,35,5,35,492,8,35,10,35,12,35,495,9,35,1,35,1, + 35,1,35,1,35,1,35,1,35,1,35,5,35,504,8,35,10,35,12,35,507,9,35,1,35,1, + 35,1,35,1,35,1,35,1,35,1,35,5,35,516,8,35,10,35,12,35,519,9,35,1,35,1, + 35,1,35,1,35,1,35,3,35,526,8,35,1,35,1,35,3,35,530,8,35,1,36,1,36,1,36, + 5,36,535,8,36,10,36,12,36,538,9,36,1,37,1,37,1,37,3,37,543,8,37,1,37, + 1,37,1,37,1,37,1,37,4,37,550,8,37,11,37,12,37,551,1,37,1,37,3,37,556, 8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, - 1,37,1,37,3,37,665,8,37,1,37,1,37,3,37,669,8,37,1,37,1,37,1,37,1,37,3, - 37,675,8,37,1,37,1,37,1,37,1,37,1,37,3,37,682,8,37,1,37,1,37,1,37,1,37, - 1,37,1,37,1,37,1,37,1,37,1,37,3,37,694,8,37,1,37,1,37,3,37,698,8,37,1, - 37,3,37,701,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,710,8,37,1,37, - 1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,724,8,37, 1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, - 1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,751,8,37, - 1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,760,8,37,5,37,762,8,37,10,37, - 12,37,765,9,37,1,38,1,38,1,38,5,38,770,8,38,10,38,12,38,773,9,38,1,39, - 1,39,3,39,777,8,39,1,40,1,40,1,40,1,40,5,40,783,8,40,10,40,12,40,786, - 9,40,1,40,1,40,1,40,1,40,1,40,5,40,793,8,40,10,40,12,40,796,9,40,3,40, - 798,8,40,1,40,1,40,1,40,1,41,1,41,1,41,5,41,806,8,41,10,41,12,41,809, - 9,41,1,41,1,41,1,41,1,41,1,41,1,41,5,41,817,8,41,10,41,12,41,820,9,41, - 1,41,1,41,3,41,824,8,41,1,41,1,41,1,41,1,41,1,41,3,41,831,8,41,1,42,1, - 42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,3,42,844,8,42,1,43,1, - 43,1,43,5,43,849,8,43,10,43,12,43,852,9,43,1,44,1,44,1,44,1,44,1,44,1, - 44,1,44,1,44,1,44,1,44,3,44,864,8,44,1,45,1,45,1,45,1,45,3,45,870,8,45, - 1,45,3,45,873,8,45,1,46,1,46,1,46,5,46,878,8,46,10,46,12,46,881,9,46, - 1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,892,8,47,1,47,1,47, - 1,47,1,47,3,47,898,8,47,5,47,900,8,47,10,47,12,47,903,9,47,1,48,1,48, - 1,48,3,48,908,8,48,1,48,1,48,1,49,1,49,1,49,3,49,915,8,49,1,49,1,49,1, - 50,1,50,1,50,5,50,922,8,50,10,50,12,50,925,9,50,1,51,1,51,1,52,1,52,1, - 52,1,52,1,52,1,52,3,52,935,8,52,3,52,937,8,52,1,53,3,53,940,8,53,1,53, - 1,53,1,53,1,53,1,53,1,53,3,53,948,8,53,1,54,1,54,1,54,3,54,953,8,54,1, - 55,1,55,1,56,1,56,1,57,1,57,1,58,1,58,3,58,963,8,58,1,59,1,59,1,59,3, - 59,968,8,59,1,60,1,60,1,60,1,60,1,61,1,61,1,61,1,61,1,61,0,3,36,74,94, - 62,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,0,16,2,0,32, - 32,141,141,2,0,84,84,96,96,3,0,4,4,8,8,12,12,4,0,4,4,7,8,12,12,147,147, - 2,0,96,96,140,140,2,0,4,4,8,8,2,0,11,11,42,43,2,0,62,62,93,93,2,0,133, - 133,143,143,3,0,17,17,95,95,170,170,2,0,79,79,98,98,1,0,197,198,2,0,208, - 208,228,228,8,0,37,37,76,76,108,108,110,110,132,132,145,145,185,185,190, - 190,13,0,2,24,26,36,38,75,77,81,83,107,109,109,111,112,114,115,117,130, - 133,144,146,184,186,189,191,192,4,0,36,36,62,62,77,77,91,91,1105,0,127, - 1,0,0,0,2,131,1,0,0,0,4,145,1,0,0,0,6,148,1,0,0,0,8,197,1,0,0,0,10,200, - 1,0,0,0,12,206,1,0,0,0,14,210,1,0,0,0,16,216,1,0,0,0,18,234,1,0,0,0,20, - 237,1,0,0,0,22,240,1,0,0,0,24,250,1,0,0,0,26,253,1,0,0,0,28,257,1,0,0, - 0,30,290,1,0,0,0,32,292,1,0,0,0,34,295,1,0,0,0,36,310,1,0,0,0,38,372, - 1,0,0,0,40,377,1,0,0,0,42,388,1,0,0,0,44,390,1,0,0,0,46,396,1,0,0,0,48, - 404,1,0,0,0,50,422,1,0,0,0,52,424,1,0,0,0,54,432,1,0,0,0,56,437,1,0,0, - 0,58,445,1,0,0,0,60,449,1,0,0,0,62,453,1,0,0,0,64,462,1,0,0,0,66,476, - 1,0,0,0,68,478,1,0,0,0,70,528,1,0,0,0,72,530,1,0,0,0,74,668,1,0,0,0,76, - 766,1,0,0,0,78,776,1,0,0,0,80,797,1,0,0,0,82,830,1,0,0,0,84,843,1,0,0, - 0,86,845,1,0,0,0,88,863,1,0,0,0,90,872,1,0,0,0,92,874,1,0,0,0,94,891, - 1,0,0,0,96,904,1,0,0,0,98,914,1,0,0,0,100,918,1,0,0,0,102,926,1,0,0,0, - 104,936,1,0,0,0,106,939,1,0,0,0,108,952,1,0,0,0,110,954,1,0,0,0,112,956, - 1,0,0,0,114,958,1,0,0,0,116,962,1,0,0,0,118,967,1,0,0,0,120,969,1,0,0, - 0,122,973,1,0,0,0,124,128,3,2,1,0,125,128,3,6,3,0,126,128,3,82,41,0,127, - 124,1,0,0,0,127,125,1,0,0,0,127,126,1,0,0,0,128,129,1,0,0,0,129,130,5, - 0,0,1,130,1,1,0,0,0,131,137,3,4,2,0,132,133,5,176,0,0,133,134,5,4,0,0, - 134,136,3,4,2,0,135,132,1,0,0,0,136,139,1,0,0,0,137,135,1,0,0,0,137,138, - 1,0,0,0,138,3,1,0,0,0,139,137,1,0,0,0,140,146,3,6,3,0,141,142,5,220,0, - 0,142,143,3,2,1,0,143,144,5,236,0,0,144,146,1,0,0,0,145,140,1,0,0,0,145, - 141,1,0,0,0,146,5,1,0,0,0,147,149,3,8,4,0,148,147,1,0,0,0,148,149,1,0, - 0,0,149,150,1,0,0,0,150,152,5,146,0,0,151,153,5,49,0,0,152,151,1,0,0, - 0,152,153,1,0,0,0,153,155,1,0,0,0,154,156,3,10,5,0,155,154,1,0,0,0,155, - 156,1,0,0,0,156,157,1,0,0,0,157,159,3,72,36,0,158,160,3,12,6,0,159,158, - 1,0,0,0,159,160,1,0,0,0,160,162,1,0,0,0,161,163,3,14,7,0,162,161,1,0, - 0,0,162,163,1,0,0,0,163,165,1,0,0,0,164,166,3,18,9,0,165,164,1,0,0,0, - 165,166,1,0,0,0,166,168,1,0,0,0,167,169,3,20,10,0,168,167,1,0,0,0,168, - 169,1,0,0,0,169,171,1,0,0,0,170,172,3,22,11,0,171,170,1,0,0,0,171,172, - 1,0,0,0,172,175,1,0,0,0,173,174,5,189,0,0,174,176,7,0,0,0,175,173,1,0, - 0,0,175,176,1,0,0,0,176,179,1,0,0,0,177,178,5,189,0,0,178,180,5,169,0, - 0,179,177,1,0,0,0,179,180,1,0,0,0,180,182,1,0,0,0,181,183,3,24,12,0,182, - 181,1,0,0,0,182,183,1,0,0,0,183,185,1,0,0,0,184,186,3,16,8,0,185,184, - 1,0,0,0,185,186,1,0,0,0,186,188,1,0,0,0,187,189,3,26,13,0,188,187,1,0, - 0,0,188,189,1,0,0,0,189,192,1,0,0,0,190,193,3,30,15,0,191,193,3,32,16, - 0,192,190,1,0,0,0,192,191,1,0,0,0,192,193,1,0,0,0,193,195,1,0,0,0,194, - 196,3,34,17,0,195,194,1,0,0,0,195,196,1,0,0,0,196,7,1,0,0,0,197,198,5, - 189,0,0,198,199,3,86,43,0,199,9,1,0,0,0,200,201,5,168,0,0,201,204,5,198, - 0,0,202,203,5,189,0,0,203,205,5,164,0,0,204,202,1,0,0,0,204,205,1,0,0, - 0,205,11,1,0,0,0,206,207,5,68,0,0,207,208,3,36,18,0,208,13,1,0,0,0,209, - 211,7,1,0,0,210,209,1,0,0,0,210,211,1,0,0,0,211,212,1,0,0,0,212,213,5, - 9,0,0,213,214,5,90,0,0,214,215,3,72,36,0,215,15,1,0,0,0,216,217,5,188, - 0,0,217,218,3,118,59,0,218,219,5,10,0,0,219,220,5,220,0,0,220,221,3,56, - 28,0,221,231,5,236,0,0,222,223,5,206,0,0,223,224,3,118,59,0,224,225,5, - 10,0,0,225,226,5,220,0,0,226,227,3,56,28,0,227,228,5,236,0,0,228,230, - 1,0,0,0,229,222,1,0,0,0,230,233,1,0,0,0,231,229,1,0,0,0,231,232,1,0,0, - 0,232,17,1,0,0,0,233,231,1,0,0,0,234,235,5,129,0,0,235,236,3,74,37,0, - 236,19,1,0,0,0,237,238,5,187,0,0,238,239,3,74,37,0,239,21,1,0,0,0,240, - 241,5,73,0,0,241,248,5,18,0,0,242,243,7,0,0,0,243,244,5,220,0,0,244,245, - 3,72,36,0,245,246,5,236,0,0,246,249,1,0,0,0,247,249,3,72,36,0,248,242, - 1,0,0,0,248,247,1,0,0,0,249,23,1,0,0,0,250,251,5,74,0,0,251,252,3,74, - 37,0,252,25,1,0,0,0,253,254,5,122,0,0,254,255,5,18,0,0,255,256,3,46,23, - 0,256,27,1,0,0,0,257,258,5,122,0,0,258,259,5,18,0,0,259,260,3,72,36,0, - 260,29,1,0,0,0,261,262,5,99,0,0,262,265,3,74,37,0,263,264,5,206,0,0,264, - 266,3,74,37,0,265,263,1,0,0,0,265,266,1,0,0,0,266,271,1,0,0,0,267,268, - 5,189,0,0,268,272,5,164,0,0,269,270,5,18,0,0,270,272,3,72,36,0,271,267, - 1,0,0,0,271,269,1,0,0,0,271,272,1,0,0,0,272,291,1,0,0,0,273,274,5,99, - 0,0,274,277,3,74,37,0,275,276,5,189,0,0,276,278,5,164,0,0,277,275,1,0, - 0,0,277,278,1,0,0,0,278,279,1,0,0,0,279,280,5,118,0,0,280,281,3,74,37, - 0,281,291,1,0,0,0,282,283,5,99,0,0,283,284,3,74,37,0,284,285,5,118,0, - 0,285,288,3,74,37,0,286,287,5,18,0,0,287,289,3,72,36,0,288,286,1,0,0, - 0,288,289,1,0,0,0,289,291,1,0,0,0,290,261,1,0,0,0,290,273,1,0,0,0,290, - 282,1,0,0,0,291,31,1,0,0,0,292,293,5,118,0,0,293,294,3,74,37,0,294,33, - 1,0,0,0,295,296,5,150,0,0,296,297,3,52,26,0,297,35,1,0,0,0,298,299,6, - 18,-1,0,299,301,3,94,47,0,300,302,5,61,0,0,301,300,1,0,0,0,301,302,1, - 0,0,0,302,304,1,0,0,0,303,305,3,44,22,0,304,303,1,0,0,0,304,305,1,0,0, - 0,305,311,1,0,0,0,306,307,5,220,0,0,307,308,3,36,18,0,308,309,5,236,0, - 0,309,311,1,0,0,0,310,298,1,0,0,0,310,306,1,0,0,0,311,326,1,0,0,0,312, - 313,10,3,0,0,313,314,3,40,20,0,314,315,3,36,18,4,315,325,1,0,0,0,316, - 318,10,4,0,0,317,319,3,38,19,0,318,317,1,0,0,0,318,319,1,0,0,0,319,320, - 1,0,0,0,320,321,5,90,0,0,321,322,3,36,18,0,322,323,3,42,21,0,323,325, - 1,0,0,0,324,312,1,0,0,0,324,316,1,0,0,0,325,328,1,0,0,0,326,324,1,0,0, - 0,326,327,1,0,0,0,327,37,1,0,0,0,328,326,1,0,0,0,329,331,7,2,0,0,330, - 329,1,0,0,0,330,331,1,0,0,0,331,332,1,0,0,0,332,339,5,84,0,0,333,335, - 5,84,0,0,334,336,7,2,0,0,335,334,1,0,0,0,335,336,1,0,0,0,336,339,1,0, - 0,0,337,339,7,2,0,0,338,330,1,0,0,0,338,333,1,0,0,0,338,337,1,0,0,0,339, - 373,1,0,0,0,340,342,7,3,0,0,341,340,1,0,0,0,341,342,1,0,0,0,342,343,1, - 0,0,0,343,345,7,4,0,0,344,346,5,123,0,0,345,344,1,0,0,0,345,346,1,0,0, - 0,346,355,1,0,0,0,347,349,7,4,0,0,348,350,5,123,0,0,349,348,1,0,0,0,349, - 350,1,0,0,0,350,352,1,0,0,0,351,353,7,3,0,0,352,351,1,0,0,0,352,353,1, - 0,0,0,353,355,1,0,0,0,354,341,1,0,0,0,354,347,1,0,0,0,355,373,1,0,0,0, - 356,358,7,5,0,0,357,356,1,0,0,0,357,358,1,0,0,0,358,359,1,0,0,0,359,361, - 5,69,0,0,360,362,5,123,0,0,361,360,1,0,0,0,361,362,1,0,0,0,362,371,1, - 0,0,0,363,365,5,69,0,0,364,366,5,123,0,0,365,364,1,0,0,0,365,366,1,0, - 0,0,366,368,1,0,0,0,367,369,7,5,0,0,368,367,1,0,0,0,368,369,1,0,0,0,369, - 371,1,0,0,0,370,357,1,0,0,0,370,363,1,0,0,0,371,373,1,0,0,0,372,338,1, - 0,0,0,372,354,1,0,0,0,372,370,1,0,0,0,373,39,1,0,0,0,374,375,5,31,0,0, - 375,378,5,90,0,0,376,378,5,206,0,0,377,374,1,0,0,0,377,376,1,0,0,0,378, - 41,1,0,0,0,379,380,5,119,0,0,380,389,3,72,36,0,381,382,5,179,0,0,382, - 383,5,220,0,0,383,384,3,72,36,0,384,385,5,236,0,0,385,389,1,0,0,0,386, - 387,5,179,0,0,387,389,3,72,36,0,388,379,1,0,0,0,388,381,1,0,0,0,388,386, - 1,0,0,0,389,43,1,0,0,0,390,391,5,144,0,0,391,394,3,50,25,0,392,393,5, - 118,0,0,393,395,3,50,25,0,394,392,1,0,0,0,394,395,1,0,0,0,395,45,1,0, - 0,0,396,401,3,48,24,0,397,398,5,206,0,0,398,400,3,48,24,0,399,397,1,0, - 0,0,400,403,1,0,0,0,401,399,1,0,0,0,401,402,1,0,0,0,402,47,1,0,0,0,403, - 401,1,0,0,0,404,406,3,74,37,0,405,407,7,6,0,0,406,405,1,0,0,0,406,407, - 1,0,0,0,407,410,1,0,0,0,408,409,5,117,0,0,409,411,7,7,0,0,410,408,1,0, - 0,0,410,411,1,0,0,0,411,414,1,0,0,0,412,413,5,26,0,0,413,415,5,200,0, - 0,414,412,1,0,0,0,414,415,1,0,0,0,415,49,1,0,0,0,416,423,3,122,61,0,417, - 420,3,106,53,0,418,419,5,238,0,0,419,421,3,106,53,0,420,418,1,0,0,0,420, - 421,1,0,0,0,421,423,1,0,0,0,422,416,1,0,0,0,422,417,1,0,0,0,423,51,1, - 0,0,0,424,429,3,54,27,0,425,426,5,206,0,0,426,428,3,54,27,0,427,425,1, - 0,0,0,428,431,1,0,0,0,429,427,1,0,0,0,429,430,1,0,0,0,430,53,1,0,0,0, - 431,429,1,0,0,0,432,433,3,118,59,0,433,434,5,212,0,0,434,435,3,108,54, - 0,435,55,1,0,0,0,436,438,3,58,29,0,437,436,1,0,0,0,437,438,1,0,0,0,438, - 440,1,0,0,0,439,441,3,60,30,0,440,439,1,0,0,0,440,441,1,0,0,0,441,443, - 1,0,0,0,442,444,3,62,31,0,443,442,1,0,0,0,443,444,1,0,0,0,444,57,1,0, - 0,0,445,446,5,126,0,0,446,447,5,18,0,0,447,448,3,72,36,0,448,59,1,0,0, - 0,449,450,5,122,0,0,450,451,5,18,0,0,451,452,3,46,23,0,452,61,1,0,0,0, - 453,454,7,8,0,0,454,455,3,64,32,0,455,63,1,0,0,0,456,463,3,66,33,0,457, - 458,5,16,0,0,458,459,3,66,33,0,459,460,5,6,0,0,460,461,3,66,33,0,461, - 463,1,0,0,0,462,456,1,0,0,0,462,457,1,0,0,0,463,65,1,0,0,0,464,465,5, - 33,0,0,465,477,5,142,0,0,466,467,5,175,0,0,467,477,5,128,0,0,468,469, - 5,175,0,0,469,477,5,64,0,0,470,471,3,106,53,0,471,472,5,128,0,0,472,477, - 1,0,0,0,473,474,3,106,53,0,474,475,5,64,0,0,475,477,1,0,0,0,476,464,1, - 0,0,0,476,466,1,0,0,0,476,468,1,0,0,0,476,470,1,0,0,0,476,473,1,0,0,0, - 477,67,1,0,0,0,478,479,3,74,37,0,479,480,5,0,0,1,480,69,1,0,0,0,481,529, - 3,118,59,0,482,483,3,118,59,0,483,484,5,220,0,0,484,485,3,118,59,0,485, - 492,3,70,35,0,486,487,5,206,0,0,487,488,3,118,59,0,488,489,3,70,35,0, - 489,491,1,0,0,0,490,486,1,0,0,0,491,494,1,0,0,0,492,490,1,0,0,0,492,493, - 1,0,0,0,493,495,1,0,0,0,494,492,1,0,0,0,495,496,5,236,0,0,496,529,1,0, - 0,0,497,498,3,118,59,0,498,499,5,220,0,0,499,504,3,120,60,0,500,501,5, - 206,0,0,501,503,3,120,60,0,502,500,1,0,0,0,503,506,1,0,0,0,504,502,1, - 0,0,0,504,505,1,0,0,0,505,507,1,0,0,0,506,504,1,0,0,0,507,508,5,236,0, - 0,508,529,1,0,0,0,509,510,3,118,59,0,510,511,5,220,0,0,511,516,3,70,35, - 0,512,513,5,206,0,0,513,515,3,70,35,0,514,512,1,0,0,0,515,518,1,0,0,0, - 516,514,1,0,0,0,516,517,1,0,0,0,517,519,1,0,0,0,518,516,1,0,0,0,519,520, - 5,236,0,0,520,529,1,0,0,0,521,522,3,118,59,0,522,524,5,220,0,0,523,525, - 3,72,36,0,524,523,1,0,0,0,524,525,1,0,0,0,525,526,1,0,0,0,526,527,5,236, - 0,0,527,529,1,0,0,0,528,481,1,0,0,0,528,482,1,0,0,0,528,497,1,0,0,0,528, - 509,1,0,0,0,528,521,1,0,0,0,529,71,1,0,0,0,530,535,3,74,37,0,531,532, - 5,206,0,0,532,534,3,74,37,0,533,531,1,0,0,0,534,537,1,0,0,0,535,533,1, - 0,0,0,535,536,1,0,0,0,536,73,1,0,0,0,537,535,1,0,0,0,538,539,6,37,-1, - 0,539,541,5,19,0,0,540,542,3,74,37,0,541,540,1,0,0,0,541,542,1,0,0,0, - 542,548,1,0,0,0,543,544,5,186,0,0,544,545,3,74,37,0,545,546,5,163,0,0, - 546,547,3,74,37,0,547,549,1,0,0,0,548,543,1,0,0,0,549,550,1,0,0,0,550, - 548,1,0,0,0,550,551,1,0,0,0,551,554,1,0,0,0,552,553,5,52,0,0,553,555, - 3,74,37,0,554,552,1,0,0,0,554,555,1,0,0,0,555,556,1,0,0,0,556,557,5,53, - 0,0,557,669,1,0,0,0,558,559,5,20,0,0,559,560,5,220,0,0,560,561,3,74,37, - 0,561,562,5,10,0,0,562,563,3,70,35,0,563,564,5,236,0,0,564,669,1,0,0, - 0,565,566,5,36,0,0,566,669,5,200,0,0,567,568,5,59,0,0,568,569,5,220,0, - 0,569,570,3,110,55,0,570,571,5,68,0,0,571,572,3,74,37,0,572,573,5,236, - 0,0,573,669,1,0,0,0,574,575,5,86,0,0,575,576,3,74,37,0,576,577,3,110, - 55,0,577,669,1,0,0,0,578,579,5,155,0,0,579,580,5,220,0,0,580,581,3,74, - 37,0,581,582,5,68,0,0,582,585,3,74,37,0,583,584,5,65,0,0,584,586,3,74, - 37,0,585,583,1,0,0,0,585,586,1,0,0,0,586,587,1,0,0,0,587,588,5,236,0, - 0,588,669,1,0,0,0,589,590,5,166,0,0,590,669,5,200,0,0,591,592,5,171,0, - 0,592,593,5,220,0,0,593,594,7,9,0,0,594,595,5,200,0,0,595,596,5,68,0, - 0,596,597,3,74,37,0,597,598,5,236,0,0,598,669,1,0,0,0,599,600,3,118,59, - 0,600,602,5,220,0,0,601,603,3,72,36,0,602,601,1,0,0,0,602,603,1,0,0,0, - 603,604,1,0,0,0,604,605,5,236,0,0,605,606,1,0,0,0,606,607,5,125,0,0,607, - 608,5,220,0,0,608,609,3,56,28,0,609,610,5,236,0,0,610,669,1,0,0,0,611, - 612,3,118,59,0,612,614,5,220,0,0,613,615,3,72,36,0,614,613,1,0,0,0,614, - 615,1,0,0,0,615,616,1,0,0,0,616,617,5,236,0,0,617,618,1,0,0,0,618,619, - 5,125,0,0,619,620,3,118,59,0,620,669,1,0,0,0,621,627,3,118,59,0,622,624, - 5,220,0,0,623,625,3,72,36,0,624,623,1,0,0,0,624,625,1,0,0,0,625,626,1, - 0,0,0,626,628,5,236,0,0,627,622,1,0,0,0,627,628,1,0,0,0,628,629,1,0,0, - 0,629,631,5,220,0,0,630,632,5,49,0,0,631,630,1,0,0,0,631,632,1,0,0,0, - 632,634,1,0,0,0,633,635,3,76,38,0,634,633,1,0,0,0,634,635,1,0,0,0,635, - 636,1,0,0,0,636,637,5,236,0,0,637,669,1,0,0,0,638,669,3,82,41,0,639,669, - 3,108,54,0,640,641,5,208,0,0,641,669,3,74,37,18,642,643,5,115,0,0,643, - 669,3,74,37,12,644,645,3,98,49,0,645,646,5,210,0,0,646,648,1,0,0,0,647, - 644,1,0,0,0,647,648,1,0,0,0,648,649,1,0,0,0,649,669,5,202,0,0,650,651, - 5,220,0,0,651,652,3,2,1,0,652,653,5,236,0,0,653,669,1,0,0,0,654,655,5, - 220,0,0,655,656,3,74,37,0,656,657,5,236,0,0,657,669,1,0,0,0,658,659,5, - 220,0,0,659,660,3,72,36,0,660,661,5,236,0,0,661,669,1,0,0,0,662,664,5, - 219,0,0,663,665,3,72,36,0,664,663,1,0,0,0,664,665,1,0,0,0,665,666,1,0, - 0,0,666,669,5,235,0,0,667,669,3,90,45,0,668,538,1,0,0,0,668,558,1,0,0, - 0,668,565,1,0,0,0,668,567,1,0,0,0,668,574,1,0,0,0,668,578,1,0,0,0,668, - 589,1,0,0,0,668,591,1,0,0,0,668,599,1,0,0,0,668,611,1,0,0,0,668,621,1, - 0,0,0,668,638,1,0,0,0,668,639,1,0,0,0,668,640,1,0,0,0,668,642,1,0,0,0, - 668,647,1,0,0,0,668,650,1,0,0,0,668,654,1,0,0,0,668,658,1,0,0,0,668,662, - 1,0,0,0,668,667,1,0,0,0,669,763,1,0,0,0,670,674,10,17,0,0,671,675,5,202, - 0,0,672,675,5,238,0,0,673,675,5,227,0,0,674,671,1,0,0,0,674,672,1,0,0, - 0,674,673,1,0,0,0,675,676,1,0,0,0,676,762,3,74,37,18,677,681,10,16,0, - 0,678,682,5,228,0,0,679,682,5,208,0,0,680,682,5,207,0,0,681,678,1,0,0, - 0,681,679,1,0,0,0,681,680,1,0,0,0,682,683,1,0,0,0,683,762,3,74,37,17, - 684,709,10,15,0,0,685,710,5,211,0,0,686,710,5,212,0,0,687,710,5,223,0, - 0,688,710,5,221,0,0,689,710,5,222,0,0,690,710,5,213,0,0,691,710,5,214, - 0,0,692,694,5,115,0,0,693,692,1,0,0,0,693,694,1,0,0,0,694,695,1,0,0,0, - 695,697,5,80,0,0,696,698,5,25,0,0,697,696,1,0,0,0,697,698,1,0,0,0,698, - 710,1,0,0,0,699,701,5,115,0,0,700,699,1,0,0,0,700,701,1,0,0,0,701,702, - 1,0,0,0,702,710,7,10,0,0,703,710,5,232,0,0,704,710,5,233,0,0,705,710, - 5,225,0,0,706,710,5,216,0,0,707,710,5,217,0,0,708,710,5,224,0,0,709,685, - 1,0,0,0,709,686,1,0,0,0,709,687,1,0,0,0,709,688,1,0,0,0,709,689,1,0,0, - 0,709,690,1,0,0,0,709,691,1,0,0,0,709,693,1,0,0,0,709,700,1,0,0,0,709, - 703,1,0,0,0,709,704,1,0,0,0,709,705,1,0,0,0,709,706,1,0,0,0,709,707,1, - 0,0,0,709,708,1,0,0,0,710,711,1,0,0,0,711,762,3,74,37,16,712,713,10,13, - 0,0,713,714,5,226,0,0,714,762,3,74,37,14,715,716,10,11,0,0,716,717,5, - 6,0,0,717,762,3,74,37,12,718,719,10,10,0,0,719,720,5,121,0,0,720,762, - 3,74,37,11,721,723,10,9,0,0,722,724,5,115,0,0,723,722,1,0,0,0,723,724, - 1,0,0,0,724,725,1,0,0,0,725,726,5,16,0,0,726,727,3,74,37,0,727,728,5, - 6,0,0,728,729,3,74,37,10,729,762,1,0,0,0,730,731,10,8,0,0,731,732,5,229, - 0,0,732,733,3,74,37,0,733,734,5,205,0,0,734,735,3,74,37,8,735,762,1,0, - 0,0,736,737,10,21,0,0,737,738,5,219,0,0,738,739,3,74,37,0,739,740,5,235, - 0,0,740,762,1,0,0,0,741,742,10,20,0,0,742,743,5,210,0,0,743,762,5,198, - 0,0,744,745,10,19,0,0,745,746,5,210,0,0,746,762,3,118,59,0,747,748,10, - 14,0,0,748,750,5,88,0,0,749,751,5,115,0,0,750,749,1,0,0,0,750,751,1,0, - 0,0,751,752,1,0,0,0,752,762,5,116,0,0,753,759,10,7,0,0,754,760,3,116, - 58,0,755,756,5,10,0,0,756,760,3,118,59,0,757,758,5,10,0,0,758,760,5,200, - 0,0,759,754,1,0,0,0,759,755,1,0,0,0,759,757,1,0,0,0,760,762,1,0,0,0,761, - 670,1,0,0,0,761,677,1,0,0,0,761,684,1,0,0,0,761,712,1,0,0,0,761,715,1, - 0,0,0,761,718,1,0,0,0,761,721,1,0,0,0,761,730,1,0,0,0,761,736,1,0,0,0, - 761,741,1,0,0,0,761,744,1,0,0,0,761,747,1,0,0,0,761,753,1,0,0,0,762,765, - 1,0,0,0,763,761,1,0,0,0,763,764,1,0,0,0,764,75,1,0,0,0,765,763,1,0,0, - 0,766,771,3,78,39,0,767,768,5,206,0,0,768,770,3,78,39,0,769,767,1,0,0, - 0,770,773,1,0,0,0,771,769,1,0,0,0,771,772,1,0,0,0,772,77,1,0,0,0,773, - 771,1,0,0,0,774,777,3,80,40,0,775,777,3,74,37,0,776,774,1,0,0,0,776,775, - 1,0,0,0,777,79,1,0,0,0,778,779,5,220,0,0,779,784,3,118,59,0,780,781,5, - 206,0,0,781,783,3,118,59,0,782,780,1,0,0,0,783,786,1,0,0,0,784,782,1, - 0,0,0,784,785,1,0,0,0,785,787,1,0,0,0,786,784,1,0,0,0,787,788,5,236,0, - 0,788,798,1,0,0,0,789,794,3,118,59,0,790,791,5,206,0,0,791,793,3,118, - 59,0,792,790,1,0,0,0,793,796,1,0,0,0,794,792,1,0,0,0,794,795,1,0,0,0, - 795,798,1,0,0,0,796,794,1,0,0,0,797,778,1,0,0,0,797,789,1,0,0,0,798,799, - 1,0,0,0,799,800,5,201,0,0,800,801,3,74,37,0,801,81,1,0,0,0,802,803,5, - 222,0,0,803,807,3,118,59,0,804,806,3,84,42,0,805,804,1,0,0,0,806,809, - 1,0,0,0,807,805,1,0,0,0,807,808,1,0,0,0,808,810,1,0,0,0,809,807,1,0,0, - 0,810,811,5,238,0,0,811,812,5,214,0,0,812,831,1,0,0,0,813,814,5,222,0, - 0,814,818,3,118,59,0,815,817,3,84,42,0,816,815,1,0,0,0,817,820,1,0,0, - 0,818,816,1,0,0,0,818,819,1,0,0,0,819,821,1,0,0,0,820,818,1,0,0,0,821, - 823,5,214,0,0,822,824,3,82,41,0,823,822,1,0,0,0,823,824,1,0,0,0,824,825, - 1,0,0,0,825,826,5,222,0,0,826,827,5,238,0,0,827,828,3,118,59,0,828,829, - 5,214,0,0,829,831,1,0,0,0,830,802,1,0,0,0,830,813,1,0,0,0,831,83,1,0, - 0,0,832,833,3,118,59,0,833,834,5,212,0,0,834,835,5,200,0,0,835,844,1, - 0,0,0,836,837,3,118,59,0,837,838,5,212,0,0,838,839,5,218,0,0,839,840, - 3,74,37,0,840,841,5,234,0,0,841,844,1,0,0,0,842,844,3,118,59,0,843,832, - 1,0,0,0,843,836,1,0,0,0,843,842,1,0,0,0,844,85,1,0,0,0,845,850,3,88,44, - 0,846,847,5,206,0,0,847,849,3,88,44,0,848,846,1,0,0,0,849,852,1,0,0,0, - 850,848,1,0,0,0,850,851,1,0,0,0,851,87,1,0,0,0,852,850,1,0,0,0,853,854, - 3,118,59,0,854,855,5,10,0,0,855,856,5,220,0,0,856,857,3,2,1,0,857,858, - 5,236,0,0,858,864,1,0,0,0,859,860,3,74,37,0,860,861,5,10,0,0,861,862, - 3,118,59,0,862,864,1,0,0,0,863,853,1,0,0,0,863,859,1,0,0,0,864,89,1,0, - 0,0,865,873,3,122,61,0,866,867,3,98,49,0,867,868,5,210,0,0,868,870,1, - 0,0,0,869,866,1,0,0,0,869,870,1,0,0,0,870,871,1,0,0,0,871,873,3,92,46, - 0,872,865,1,0,0,0,872,869,1,0,0,0,873,91,1,0,0,0,874,879,3,118,59,0,875, - 876,5,210,0,0,876,878,3,118,59,0,877,875,1,0,0,0,878,881,1,0,0,0,879, - 877,1,0,0,0,879,880,1,0,0,0,880,93,1,0,0,0,881,879,1,0,0,0,882,883,6, - 47,-1,0,883,892,3,98,49,0,884,892,3,96,48,0,885,886,5,220,0,0,886,887, - 3,2,1,0,887,888,5,236,0,0,888,892,1,0,0,0,889,892,3,82,41,0,890,892,3, - 122,61,0,891,882,1,0,0,0,891,884,1,0,0,0,891,885,1,0,0,0,891,889,1,0, - 0,0,891,890,1,0,0,0,892,901,1,0,0,0,893,897,10,3,0,0,894,898,3,116,58, - 0,895,896,5,10,0,0,896,898,3,118,59,0,897,894,1,0,0,0,897,895,1,0,0,0, - 898,900,1,0,0,0,899,893,1,0,0,0,900,903,1,0,0,0,901,899,1,0,0,0,901,902, - 1,0,0,0,902,95,1,0,0,0,903,901,1,0,0,0,904,905,3,118,59,0,905,907,5,220, - 0,0,906,908,3,100,50,0,907,906,1,0,0,0,907,908,1,0,0,0,908,909,1,0,0, - 0,909,910,5,236,0,0,910,97,1,0,0,0,911,912,3,102,51,0,912,913,5,210,0, - 0,913,915,1,0,0,0,914,911,1,0,0,0,914,915,1,0,0,0,915,916,1,0,0,0,916, - 917,3,118,59,0,917,99,1,0,0,0,918,923,3,74,37,0,919,920,5,206,0,0,920, - 922,3,74,37,0,921,919,1,0,0,0,922,925,1,0,0,0,923,921,1,0,0,0,923,924, - 1,0,0,0,924,101,1,0,0,0,925,923,1,0,0,0,926,927,3,118,59,0,927,103,1, - 0,0,0,928,937,5,196,0,0,929,930,5,210,0,0,930,937,7,11,0,0,931,932,5, - 198,0,0,932,934,5,210,0,0,933,935,7,11,0,0,934,933,1,0,0,0,934,935,1, - 0,0,0,935,937,1,0,0,0,936,928,1,0,0,0,936,929,1,0,0,0,936,931,1,0,0,0, - 937,105,1,0,0,0,938,940,7,12,0,0,939,938,1,0,0,0,939,940,1,0,0,0,940, - 947,1,0,0,0,941,948,3,104,52,0,942,948,5,197,0,0,943,948,5,198,0,0,944, - 948,5,199,0,0,945,948,5,82,0,0,946,948,5,113,0,0,947,941,1,0,0,0,947, - 942,1,0,0,0,947,943,1,0,0,0,947,944,1,0,0,0,947,945,1,0,0,0,947,946,1, - 0,0,0,948,107,1,0,0,0,949,953,3,106,53,0,950,953,5,200,0,0,951,953,5, - 116,0,0,952,949,1,0,0,0,952,950,1,0,0,0,952,951,1,0,0,0,953,109,1,0,0, - 0,954,955,7,13,0,0,955,111,1,0,0,0,956,957,7,14,0,0,957,113,1,0,0,0,958, - 959,7,15,0,0,959,115,1,0,0,0,960,963,5,195,0,0,961,963,3,114,57,0,962, - 960,1,0,0,0,962,961,1,0,0,0,963,117,1,0,0,0,964,968,5,195,0,0,965,968, - 3,110,55,0,966,968,3,112,56,0,967,964,1,0,0,0,967,965,1,0,0,0,967,966, - 1,0,0,0,968,119,1,0,0,0,969,970,5,200,0,0,970,971,5,212,0,0,971,972,3, - 106,53,0,972,121,1,0,0,0,973,974,5,218,0,0,974,975,3,118,59,0,975,976, - 5,234,0,0,976,123,1,0,0,0,120,127,137,145,148,152,155,159,162,165,168, - 171,175,179,182,185,188,192,195,204,210,231,248,265,271,277,288,290,301, - 304,310,318,324,326,330,335,338,341,345,349,352,354,357,361,365,368,370, - 372,377,388,394,401,406,410,414,420,422,429,437,440,443,462,476,492,504, - 516,524,528,535,541,550,554,585,602,614,624,627,631,634,647,664,668,674, - 681,693,697,700,709,723,750,759,761,763,771,776,784,794,797,807,818,823, - 830,843,850,863,869,872,879,891,897,901,907,914,923,934,936,939,947,952, - 962,967 + 1,37,1,37,3,37,587,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, + 1,37,1,37,1,37,1,37,1,37,1,37,3,37,604,8,37,1,37,1,37,1,37,1,37,1,37, + 1,37,1,37,1,37,1,37,1,37,3,37,616,8,37,1,37,1,37,1,37,1,37,1,37,1,37, + 1,37,1,37,3,37,626,8,37,1,37,3,37,629,8,37,1,37,1,37,3,37,633,8,37,1, + 37,3,37,636,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1, + 37,3,37,649,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1, + 37,1,37,1,37,1,37,1,37,3,37,666,8,37,1,37,1,37,3,37,670,8,37,1,37,1,37, + 1,37,1,37,3,37,676,8,37,1,37,1,37,1,37,1,37,1,37,3,37,683,8,37,1,37,1, + 37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,695,8,37,1,37,1,37,3, + 37,699,8,37,1,37,3,37,702,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37, + 711,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, + 3,37,725,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, + 1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, + 3,37,752,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,761,8,37,5,37,763, + 8,37,10,37,12,37,766,9,37,1,38,1,38,1,38,5,38,771,8,38,10,38,12,38,774, + 9,38,1,39,1,39,3,39,778,8,39,1,40,1,40,1,40,1,40,5,40,784,8,40,10,40, + 12,40,787,9,40,1,40,1,40,1,40,1,40,1,40,5,40,794,8,40,10,40,12,40,797, + 9,40,3,40,799,8,40,1,40,1,40,1,40,1,41,1,41,1,41,5,41,807,8,41,10,41, + 12,41,810,9,41,1,41,1,41,1,41,1,41,1,41,1,41,5,41,818,8,41,10,41,12,41, + 821,9,41,1,41,1,41,3,41,825,8,41,1,41,1,41,1,41,1,41,1,41,3,41,832,8, + 41,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,3,42,845,8, + 42,1,43,1,43,1,43,5,43,850,8,43,10,43,12,43,853,9,43,1,44,1,44,1,44,1, + 44,1,44,1,44,1,44,1,44,1,44,1,44,3,44,865,8,44,1,45,1,45,1,45,1,45,3, + 45,871,8,45,1,45,3,45,874,8,45,1,46,1,46,1,46,5,46,879,8,46,10,46,12, + 46,882,9,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,893,8,47, + 1,47,1,47,1,47,1,47,3,47,899,8,47,5,47,901,8,47,10,47,12,47,904,9,47, + 1,48,1,48,1,48,3,48,909,8,48,1,48,1,48,1,49,1,49,1,49,3,49,916,8,49,1, + 49,1,49,1,50,1,50,1,50,5,50,923,8,50,10,50,12,50,926,9,50,1,51,1,51,1, + 52,1,52,1,52,1,52,1,52,1,52,3,52,936,8,52,3,52,938,8,52,1,53,3,53,941, + 8,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,949,8,53,1,54,1,54,1,54,3,54, + 954,8,54,1,55,1,55,1,56,1,56,1,57,1,57,1,58,1,58,3,58,964,8,58,1,59,1, + 59,1,59,3,59,969,8,59,1,60,1,60,1,60,1,60,1,61,1,61,1,61,1,61,1,61,0, + 3,36,74,94,62,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, + 0,16,2,0,32,32,141,141,2,0,84,84,96,96,3,0,4,4,8,8,12,12,4,0,4,4,7,8, + 12,12,147,147,2,0,96,96,140,140,2,0,4,4,8,8,2,0,11,11,42,43,2,0,62,62, + 93,93,2,0,133,133,143,143,3,0,17,17,95,95,170,170,2,0,79,79,98,98,1,0, + 197,198,2,0,208,208,228,228,8,0,37,37,76,76,108,108,110,110,132,132,145, + 145,185,185,190,190,13,0,2,24,26,36,38,75,77,81,83,107,109,109,111,112, + 114,115,117,130,133,144,146,184,186,189,191,192,4,0,36,36,62,62,77,77, + 91,91,1107,0,127,1,0,0,0,2,131,1,0,0,0,4,146,1,0,0,0,6,149,1,0,0,0,8, + 198,1,0,0,0,10,201,1,0,0,0,12,207,1,0,0,0,14,211,1,0,0,0,16,217,1,0,0, + 0,18,235,1,0,0,0,20,238,1,0,0,0,22,241,1,0,0,0,24,251,1,0,0,0,26,254, + 1,0,0,0,28,258,1,0,0,0,30,291,1,0,0,0,32,293,1,0,0,0,34,296,1,0,0,0,36, + 311,1,0,0,0,38,373,1,0,0,0,40,378,1,0,0,0,42,389,1,0,0,0,44,391,1,0,0, + 0,46,397,1,0,0,0,48,405,1,0,0,0,50,423,1,0,0,0,52,425,1,0,0,0,54,433, + 1,0,0,0,56,438,1,0,0,0,58,446,1,0,0,0,60,450,1,0,0,0,62,454,1,0,0,0,64, + 463,1,0,0,0,66,477,1,0,0,0,68,479,1,0,0,0,70,529,1,0,0,0,72,531,1,0,0, + 0,74,669,1,0,0,0,76,767,1,0,0,0,78,777,1,0,0,0,80,798,1,0,0,0,82,831, + 1,0,0,0,84,844,1,0,0,0,86,846,1,0,0,0,88,864,1,0,0,0,90,873,1,0,0,0,92, + 875,1,0,0,0,94,892,1,0,0,0,96,905,1,0,0,0,98,915,1,0,0,0,100,919,1,0, + 0,0,102,927,1,0,0,0,104,937,1,0,0,0,106,940,1,0,0,0,108,953,1,0,0,0,110, + 955,1,0,0,0,112,957,1,0,0,0,114,959,1,0,0,0,116,963,1,0,0,0,118,968,1, + 0,0,0,120,970,1,0,0,0,122,974,1,0,0,0,124,128,3,2,1,0,125,128,3,6,3,0, + 126,128,3,82,41,0,127,124,1,0,0,0,127,125,1,0,0,0,127,126,1,0,0,0,128, + 129,1,0,0,0,129,130,5,0,0,1,130,1,1,0,0,0,131,137,3,4,2,0,132,133,5,176, + 0,0,133,134,5,4,0,0,134,136,3,4,2,0,135,132,1,0,0,0,136,139,1,0,0,0,137, + 135,1,0,0,0,137,138,1,0,0,0,138,3,1,0,0,0,139,137,1,0,0,0,140,147,3,6, + 3,0,141,142,5,220,0,0,142,143,3,2,1,0,143,144,5,236,0,0,144,147,1,0,0, + 0,145,147,3,122,61,0,146,140,1,0,0,0,146,141,1,0,0,0,146,145,1,0,0,0, + 147,5,1,0,0,0,148,150,3,8,4,0,149,148,1,0,0,0,149,150,1,0,0,0,150,151, + 1,0,0,0,151,153,5,146,0,0,152,154,5,49,0,0,153,152,1,0,0,0,153,154,1, + 0,0,0,154,156,1,0,0,0,155,157,3,10,5,0,156,155,1,0,0,0,156,157,1,0,0, + 0,157,158,1,0,0,0,158,160,3,72,36,0,159,161,3,12,6,0,160,159,1,0,0,0, + 160,161,1,0,0,0,161,163,1,0,0,0,162,164,3,14,7,0,163,162,1,0,0,0,163, + 164,1,0,0,0,164,166,1,0,0,0,165,167,3,18,9,0,166,165,1,0,0,0,166,167, + 1,0,0,0,167,169,1,0,0,0,168,170,3,20,10,0,169,168,1,0,0,0,169,170,1,0, + 0,0,170,172,1,0,0,0,171,173,3,22,11,0,172,171,1,0,0,0,172,173,1,0,0,0, + 173,176,1,0,0,0,174,175,5,189,0,0,175,177,7,0,0,0,176,174,1,0,0,0,176, + 177,1,0,0,0,177,180,1,0,0,0,178,179,5,189,0,0,179,181,5,169,0,0,180,178, + 1,0,0,0,180,181,1,0,0,0,181,183,1,0,0,0,182,184,3,24,12,0,183,182,1,0, + 0,0,183,184,1,0,0,0,184,186,1,0,0,0,185,187,3,16,8,0,186,185,1,0,0,0, + 186,187,1,0,0,0,187,189,1,0,0,0,188,190,3,26,13,0,189,188,1,0,0,0,189, + 190,1,0,0,0,190,193,1,0,0,0,191,194,3,30,15,0,192,194,3,32,16,0,193,191, + 1,0,0,0,193,192,1,0,0,0,193,194,1,0,0,0,194,196,1,0,0,0,195,197,3,34, + 17,0,196,195,1,0,0,0,196,197,1,0,0,0,197,7,1,0,0,0,198,199,5,189,0,0, + 199,200,3,86,43,0,200,9,1,0,0,0,201,202,5,168,0,0,202,205,5,198,0,0,203, + 204,5,189,0,0,204,206,5,164,0,0,205,203,1,0,0,0,205,206,1,0,0,0,206,11, + 1,0,0,0,207,208,5,68,0,0,208,209,3,36,18,0,209,13,1,0,0,0,210,212,7,1, + 0,0,211,210,1,0,0,0,211,212,1,0,0,0,212,213,1,0,0,0,213,214,5,9,0,0,214, + 215,5,90,0,0,215,216,3,72,36,0,216,15,1,0,0,0,217,218,5,188,0,0,218,219, + 3,118,59,0,219,220,5,10,0,0,220,221,5,220,0,0,221,222,3,56,28,0,222,232, + 5,236,0,0,223,224,5,206,0,0,224,225,3,118,59,0,225,226,5,10,0,0,226,227, + 5,220,0,0,227,228,3,56,28,0,228,229,5,236,0,0,229,231,1,0,0,0,230,223, + 1,0,0,0,231,234,1,0,0,0,232,230,1,0,0,0,232,233,1,0,0,0,233,17,1,0,0, + 0,234,232,1,0,0,0,235,236,5,129,0,0,236,237,3,74,37,0,237,19,1,0,0,0, + 238,239,5,187,0,0,239,240,3,74,37,0,240,21,1,0,0,0,241,242,5,73,0,0,242, + 249,5,18,0,0,243,244,7,0,0,0,244,245,5,220,0,0,245,246,3,72,36,0,246, + 247,5,236,0,0,247,250,1,0,0,0,248,250,3,72,36,0,249,243,1,0,0,0,249,248, + 1,0,0,0,250,23,1,0,0,0,251,252,5,74,0,0,252,253,3,74,37,0,253,25,1,0, + 0,0,254,255,5,122,0,0,255,256,5,18,0,0,256,257,3,46,23,0,257,27,1,0,0, + 0,258,259,5,122,0,0,259,260,5,18,0,0,260,261,3,72,36,0,261,29,1,0,0,0, + 262,263,5,99,0,0,263,266,3,74,37,0,264,265,5,206,0,0,265,267,3,74,37, + 0,266,264,1,0,0,0,266,267,1,0,0,0,267,272,1,0,0,0,268,269,5,189,0,0,269, + 273,5,164,0,0,270,271,5,18,0,0,271,273,3,72,36,0,272,268,1,0,0,0,272, + 270,1,0,0,0,272,273,1,0,0,0,273,292,1,0,0,0,274,275,5,99,0,0,275,278, + 3,74,37,0,276,277,5,189,0,0,277,279,5,164,0,0,278,276,1,0,0,0,278,279, + 1,0,0,0,279,280,1,0,0,0,280,281,5,118,0,0,281,282,3,74,37,0,282,292,1, + 0,0,0,283,284,5,99,0,0,284,285,3,74,37,0,285,286,5,118,0,0,286,289,3, + 74,37,0,287,288,5,18,0,0,288,290,3,72,36,0,289,287,1,0,0,0,289,290,1, + 0,0,0,290,292,1,0,0,0,291,262,1,0,0,0,291,274,1,0,0,0,291,283,1,0,0,0, + 292,31,1,0,0,0,293,294,5,118,0,0,294,295,3,74,37,0,295,33,1,0,0,0,296, + 297,5,150,0,0,297,298,3,52,26,0,298,35,1,0,0,0,299,300,6,18,-1,0,300, + 302,3,94,47,0,301,303,5,61,0,0,302,301,1,0,0,0,302,303,1,0,0,0,303,305, + 1,0,0,0,304,306,3,44,22,0,305,304,1,0,0,0,305,306,1,0,0,0,306,312,1,0, + 0,0,307,308,5,220,0,0,308,309,3,36,18,0,309,310,5,236,0,0,310,312,1,0, + 0,0,311,299,1,0,0,0,311,307,1,0,0,0,312,327,1,0,0,0,313,314,10,3,0,0, + 314,315,3,40,20,0,315,316,3,36,18,4,316,326,1,0,0,0,317,319,10,4,0,0, + 318,320,3,38,19,0,319,318,1,0,0,0,319,320,1,0,0,0,320,321,1,0,0,0,321, + 322,5,90,0,0,322,323,3,36,18,0,323,324,3,42,21,0,324,326,1,0,0,0,325, + 313,1,0,0,0,325,317,1,0,0,0,326,329,1,0,0,0,327,325,1,0,0,0,327,328,1, + 0,0,0,328,37,1,0,0,0,329,327,1,0,0,0,330,332,7,2,0,0,331,330,1,0,0,0, + 331,332,1,0,0,0,332,333,1,0,0,0,333,340,5,84,0,0,334,336,5,84,0,0,335, + 337,7,2,0,0,336,335,1,0,0,0,336,337,1,0,0,0,337,340,1,0,0,0,338,340,7, + 2,0,0,339,331,1,0,0,0,339,334,1,0,0,0,339,338,1,0,0,0,340,374,1,0,0,0, + 341,343,7,3,0,0,342,341,1,0,0,0,342,343,1,0,0,0,343,344,1,0,0,0,344,346, + 7,4,0,0,345,347,5,123,0,0,346,345,1,0,0,0,346,347,1,0,0,0,347,356,1,0, + 0,0,348,350,7,4,0,0,349,351,5,123,0,0,350,349,1,0,0,0,350,351,1,0,0,0, + 351,353,1,0,0,0,352,354,7,3,0,0,353,352,1,0,0,0,353,354,1,0,0,0,354,356, + 1,0,0,0,355,342,1,0,0,0,355,348,1,0,0,0,356,374,1,0,0,0,357,359,7,5,0, + 0,358,357,1,0,0,0,358,359,1,0,0,0,359,360,1,0,0,0,360,362,5,69,0,0,361, + 363,5,123,0,0,362,361,1,0,0,0,362,363,1,0,0,0,363,372,1,0,0,0,364,366, + 5,69,0,0,365,367,5,123,0,0,366,365,1,0,0,0,366,367,1,0,0,0,367,369,1, + 0,0,0,368,370,7,5,0,0,369,368,1,0,0,0,369,370,1,0,0,0,370,372,1,0,0,0, + 371,358,1,0,0,0,371,364,1,0,0,0,372,374,1,0,0,0,373,339,1,0,0,0,373,355, + 1,0,0,0,373,371,1,0,0,0,374,39,1,0,0,0,375,376,5,31,0,0,376,379,5,90, + 0,0,377,379,5,206,0,0,378,375,1,0,0,0,378,377,1,0,0,0,379,41,1,0,0,0, + 380,381,5,119,0,0,381,390,3,72,36,0,382,383,5,179,0,0,383,384,5,220,0, + 0,384,385,3,72,36,0,385,386,5,236,0,0,386,390,1,0,0,0,387,388,5,179,0, + 0,388,390,3,72,36,0,389,380,1,0,0,0,389,382,1,0,0,0,389,387,1,0,0,0,390, + 43,1,0,0,0,391,392,5,144,0,0,392,395,3,50,25,0,393,394,5,118,0,0,394, + 396,3,50,25,0,395,393,1,0,0,0,395,396,1,0,0,0,396,45,1,0,0,0,397,402, + 3,48,24,0,398,399,5,206,0,0,399,401,3,48,24,0,400,398,1,0,0,0,401,404, + 1,0,0,0,402,400,1,0,0,0,402,403,1,0,0,0,403,47,1,0,0,0,404,402,1,0,0, + 0,405,407,3,74,37,0,406,408,7,6,0,0,407,406,1,0,0,0,407,408,1,0,0,0,408, + 411,1,0,0,0,409,410,5,117,0,0,410,412,7,7,0,0,411,409,1,0,0,0,411,412, + 1,0,0,0,412,415,1,0,0,0,413,414,5,26,0,0,414,416,5,200,0,0,415,413,1, + 0,0,0,415,416,1,0,0,0,416,49,1,0,0,0,417,424,3,122,61,0,418,421,3,106, + 53,0,419,420,5,238,0,0,420,422,3,106,53,0,421,419,1,0,0,0,421,422,1,0, + 0,0,422,424,1,0,0,0,423,417,1,0,0,0,423,418,1,0,0,0,424,51,1,0,0,0,425, + 430,3,54,27,0,426,427,5,206,0,0,427,429,3,54,27,0,428,426,1,0,0,0,429, + 432,1,0,0,0,430,428,1,0,0,0,430,431,1,0,0,0,431,53,1,0,0,0,432,430,1, + 0,0,0,433,434,3,118,59,0,434,435,5,212,0,0,435,436,3,108,54,0,436,55, + 1,0,0,0,437,439,3,58,29,0,438,437,1,0,0,0,438,439,1,0,0,0,439,441,1,0, + 0,0,440,442,3,60,30,0,441,440,1,0,0,0,441,442,1,0,0,0,442,444,1,0,0,0, + 443,445,3,62,31,0,444,443,1,0,0,0,444,445,1,0,0,0,445,57,1,0,0,0,446, + 447,5,126,0,0,447,448,5,18,0,0,448,449,3,72,36,0,449,59,1,0,0,0,450,451, + 5,122,0,0,451,452,5,18,0,0,452,453,3,46,23,0,453,61,1,0,0,0,454,455,7, + 8,0,0,455,456,3,64,32,0,456,63,1,0,0,0,457,464,3,66,33,0,458,459,5,16, + 0,0,459,460,3,66,33,0,460,461,5,6,0,0,461,462,3,66,33,0,462,464,1,0,0, + 0,463,457,1,0,0,0,463,458,1,0,0,0,464,65,1,0,0,0,465,466,5,33,0,0,466, + 478,5,142,0,0,467,468,5,175,0,0,468,478,5,128,0,0,469,470,5,175,0,0,470, + 478,5,64,0,0,471,472,3,106,53,0,472,473,5,128,0,0,473,478,1,0,0,0,474, + 475,3,106,53,0,475,476,5,64,0,0,476,478,1,0,0,0,477,465,1,0,0,0,477,467, + 1,0,0,0,477,469,1,0,0,0,477,471,1,0,0,0,477,474,1,0,0,0,478,67,1,0,0, + 0,479,480,3,74,37,0,480,481,5,0,0,1,481,69,1,0,0,0,482,530,3,118,59,0, + 483,484,3,118,59,0,484,485,5,220,0,0,485,486,3,118,59,0,486,493,3,70, + 35,0,487,488,5,206,0,0,488,489,3,118,59,0,489,490,3,70,35,0,490,492,1, + 0,0,0,491,487,1,0,0,0,492,495,1,0,0,0,493,491,1,0,0,0,493,494,1,0,0,0, + 494,496,1,0,0,0,495,493,1,0,0,0,496,497,5,236,0,0,497,530,1,0,0,0,498, + 499,3,118,59,0,499,500,5,220,0,0,500,505,3,120,60,0,501,502,5,206,0,0, + 502,504,3,120,60,0,503,501,1,0,0,0,504,507,1,0,0,0,505,503,1,0,0,0,505, + 506,1,0,0,0,506,508,1,0,0,0,507,505,1,0,0,0,508,509,5,236,0,0,509,530, + 1,0,0,0,510,511,3,118,59,0,511,512,5,220,0,0,512,517,3,70,35,0,513,514, + 5,206,0,0,514,516,3,70,35,0,515,513,1,0,0,0,516,519,1,0,0,0,517,515,1, + 0,0,0,517,518,1,0,0,0,518,520,1,0,0,0,519,517,1,0,0,0,520,521,5,236,0, + 0,521,530,1,0,0,0,522,523,3,118,59,0,523,525,5,220,0,0,524,526,3,72,36, + 0,525,524,1,0,0,0,525,526,1,0,0,0,526,527,1,0,0,0,527,528,5,236,0,0,528, + 530,1,0,0,0,529,482,1,0,0,0,529,483,1,0,0,0,529,498,1,0,0,0,529,510,1, + 0,0,0,529,522,1,0,0,0,530,71,1,0,0,0,531,536,3,74,37,0,532,533,5,206, + 0,0,533,535,3,74,37,0,534,532,1,0,0,0,535,538,1,0,0,0,536,534,1,0,0,0, + 536,537,1,0,0,0,537,73,1,0,0,0,538,536,1,0,0,0,539,540,6,37,-1,0,540, + 542,5,19,0,0,541,543,3,74,37,0,542,541,1,0,0,0,542,543,1,0,0,0,543,549, + 1,0,0,0,544,545,5,186,0,0,545,546,3,74,37,0,546,547,5,163,0,0,547,548, + 3,74,37,0,548,550,1,0,0,0,549,544,1,0,0,0,550,551,1,0,0,0,551,549,1,0, + 0,0,551,552,1,0,0,0,552,555,1,0,0,0,553,554,5,52,0,0,554,556,3,74,37, + 0,555,553,1,0,0,0,555,556,1,0,0,0,556,557,1,0,0,0,557,558,5,53,0,0,558, + 670,1,0,0,0,559,560,5,20,0,0,560,561,5,220,0,0,561,562,3,74,37,0,562, + 563,5,10,0,0,563,564,3,70,35,0,564,565,5,236,0,0,565,670,1,0,0,0,566, + 567,5,36,0,0,567,670,5,200,0,0,568,569,5,59,0,0,569,570,5,220,0,0,570, + 571,3,110,55,0,571,572,5,68,0,0,572,573,3,74,37,0,573,574,5,236,0,0,574, + 670,1,0,0,0,575,576,5,86,0,0,576,577,3,74,37,0,577,578,3,110,55,0,578, + 670,1,0,0,0,579,580,5,155,0,0,580,581,5,220,0,0,581,582,3,74,37,0,582, + 583,5,68,0,0,583,586,3,74,37,0,584,585,5,65,0,0,585,587,3,74,37,0,586, + 584,1,0,0,0,586,587,1,0,0,0,587,588,1,0,0,0,588,589,5,236,0,0,589,670, + 1,0,0,0,590,591,5,166,0,0,591,670,5,200,0,0,592,593,5,171,0,0,593,594, + 5,220,0,0,594,595,7,9,0,0,595,596,5,200,0,0,596,597,5,68,0,0,597,598, + 3,74,37,0,598,599,5,236,0,0,599,670,1,0,0,0,600,601,3,118,59,0,601,603, + 5,220,0,0,602,604,3,72,36,0,603,602,1,0,0,0,603,604,1,0,0,0,604,605,1, + 0,0,0,605,606,5,236,0,0,606,607,1,0,0,0,607,608,5,125,0,0,608,609,5,220, + 0,0,609,610,3,56,28,0,610,611,5,236,0,0,611,670,1,0,0,0,612,613,3,118, + 59,0,613,615,5,220,0,0,614,616,3,72,36,0,615,614,1,0,0,0,615,616,1,0, + 0,0,616,617,1,0,0,0,617,618,5,236,0,0,618,619,1,0,0,0,619,620,5,125,0, + 0,620,621,3,118,59,0,621,670,1,0,0,0,622,628,3,118,59,0,623,625,5,220, + 0,0,624,626,3,72,36,0,625,624,1,0,0,0,625,626,1,0,0,0,626,627,1,0,0,0, + 627,629,5,236,0,0,628,623,1,0,0,0,628,629,1,0,0,0,629,630,1,0,0,0,630, + 632,5,220,0,0,631,633,5,49,0,0,632,631,1,0,0,0,632,633,1,0,0,0,633,635, + 1,0,0,0,634,636,3,76,38,0,635,634,1,0,0,0,635,636,1,0,0,0,636,637,1,0, + 0,0,637,638,5,236,0,0,638,670,1,0,0,0,639,670,3,82,41,0,640,670,3,108, + 54,0,641,642,5,208,0,0,642,670,3,74,37,18,643,644,5,115,0,0,644,670,3, + 74,37,12,645,646,3,98,49,0,646,647,5,210,0,0,647,649,1,0,0,0,648,645, + 1,0,0,0,648,649,1,0,0,0,649,650,1,0,0,0,650,670,5,202,0,0,651,652,5,220, + 0,0,652,653,3,2,1,0,653,654,5,236,0,0,654,670,1,0,0,0,655,656,5,220,0, + 0,656,657,3,74,37,0,657,658,5,236,0,0,658,670,1,0,0,0,659,660,5,220,0, + 0,660,661,3,72,36,0,661,662,5,236,0,0,662,670,1,0,0,0,663,665,5,219,0, + 0,664,666,3,72,36,0,665,664,1,0,0,0,665,666,1,0,0,0,666,667,1,0,0,0,667, + 670,5,235,0,0,668,670,3,90,45,0,669,539,1,0,0,0,669,559,1,0,0,0,669,566, + 1,0,0,0,669,568,1,0,0,0,669,575,1,0,0,0,669,579,1,0,0,0,669,590,1,0,0, + 0,669,592,1,0,0,0,669,600,1,0,0,0,669,612,1,0,0,0,669,622,1,0,0,0,669, + 639,1,0,0,0,669,640,1,0,0,0,669,641,1,0,0,0,669,643,1,0,0,0,669,648,1, + 0,0,0,669,651,1,0,0,0,669,655,1,0,0,0,669,659,1,0,0,0,669,663,1,0,0,0, + 669,668,1,0,0,0,670,764,1,0,0,0,671,675,10,17,0,0,672,676,5,202,0,0,673, + 676,5,238,0,0,674,676,5,227,0,0,675,672,1,0,0,0,675,673,1,0,0,0,675,674, + 1,0,0,0,676,677,1,0,0,0,677,763,3,74,37,18,678,682,10,16,0,0,679,683, + 5,228,0,0,680,683,5,208,0,0,681,683,5,207,0,0,682,679,1,0,0,0,682,680, + 1,0,0,0,682,681,1,0,0,0,683,684,1,0,0,0,684,763,3,74,37,17,685,710,10, + 15,0,0,686,711,5,211,0,0,687,711,5,212,0,0,688,711,5,223,0,0,689,711, + 5,221,0,0,690,711,5,222,0,0,691,711,5,213,0,0,692,711,5,214,0,0,693,695, + 5,115,0,0,694,693,1,0,0,0,694,695,1,0,0,0,695,696,1,0,0,0,696,698,5,80, + 0,0,697,699,5,25,0,0,698,697,1,0,0,0,698,699,1,0,0,0,699,711,1,0,0,0, + 700,702,5,115,0,0,701,700,1,0,0,0,701,702,1,0,0,0,702,703,1,0,0,0,703, + 711,7,10,0,0,704,711,5,232,0,0,705,711,5,233,0,0,706,711,5,225,0,0,707, + 711,5,216,0,0,708,711,5,217,0,0,709,711,5,224,0,0,710,686,1,0,0,0,710, + 687,1,0,0,0,710,688,1,0,0,0,710,689,1,0,0,0,710,690,1,0,0,0,710,691,1, + 0,0,0,710,692,1,0,0,0,710,694,1,0,0,0,710,701,1,0,0,0,710,704,1,0,0,0, + 710,705,1,0,0,0,710,706,1,0,0,0,710,707,1,0,0,0,710,708,1,0,0,0,710,709, + 1,0,0,0,711,712,1,0,0,0,712,763,3,74,37,16,713,714,10,13,0,0,714,715, + 5,226,0,0,715,763,3,74,37,14,716,717,10,11,0,0,717,718,5,6,0,0,718,763, + 3,74,37,12,719,720,10,10,0,0,720,721,5,121,0,0,721,763,3,74,37,11,722, + 724,10,9,0,0,723,725,5,115,0,0,724,723,1,0,0,0,724,725,1,0,0,0,725,726, + 1,0,0,0,726,727,5,16,0,0,727,728,3,74,37,0,728,729,5,6,0,0,729,730,3, + 74,37,10,730,763,1,0,0,0,731,732,10,8,0,0,732,733,5,229,0,0,733,734,3, + 74,37,0,734,735,5,205,0,0,735,736,3,74,37,8,736,763,1,0,0,0,737,738,10, + 21,0,0,738,739,5,219,0,0,739,740,3,74,37,0,740,741,5,235,0,0,741,763, + 1,0,0,0,742,743,10,20,0,0,743,744,5,210,0,0,744,763,5,198,0,0,745,746, + 10,19,0,0,746,747,5,210,0,0,747,763,3,118,59,0,748,749,10,14,0,0,749, + 751,5,88,0,0,750,752,5,115,0,0,751,750,1,0,0,0,751,752,1,0,0,0,752,753, + 1,0,0,0,753,763,5,116,0,0,754,760,10,7,0,0,755,761,3,116,58,0,756,757, + 5,10,0,0,757,761,3,118,59,0,758,759,5,10,0,0,759,761,5,200,0,0,760,755, + 1,0,0,0,760,756,1,0,0,0,760,758,1,0,0,0,761,763,1,0,0,0,762,671,1,0,0, + 0,762,678,1,0,0,0,762,685,1,0,0,0,762,713,1,0,0,0,762,716,1,0,0,0,762, + 719,1,0,0,0,762,722,1,0,0,0,762,731,1,0,0,0,762,737,1,0,0,0,762,742,1, + 0,0,0,762,745,1,0,0,0,762,748,1,0,0,0,762,754,1,0,0,0,763,766,1,0,0,0, + 764,762,1,0,0,0,764,765,1,0,0,0,765,75,1,0,0,0,766,764,1,0,0,0,767,772, + 3,78,39,0,768,769,5,206,0,0,769,771,3,78,39,0,770,768,1,0,0,0,771,774, + 1,0,0,0,772,770,1,0,0,0,772,773,1,0,0,0,773,77,1,0,0,0,774,772,1,0,0, + 0,775,778,3,80,40,0,776,778,3,74,37,0,777,775,1,0,0,0,777,776,1,0,0,0, + 778,79,1,0,0,0,779,780,5,220,0,0,780,785,3,118,59,0,781,782,5,206,0,0, + 782,784,3,118,59,0,783,781,1,0,0,0,784,787,1,0,0,0,785,783,1,0,0,0,785, + 786,1,0,0,0,786,788,1,0,0,0,787,785,1,0,0,0,788,789,5,236,0,0,789,799, + 1,0,0,0,790,795,3,118,59,0,791,792,5,206,0,0,792,794,3,118,59,0,793,791, + 1,0,0,0,794,797,1,0,0,0,795,793,1,0,0,0,795,796,1,0,0,0,796,799,1,0,0, + 0,797,795,1,0,0,0,798,779,1,0,0,0,798,790,1,0,0,0,799,800,1,0,0,0,800, + 801,5,201,0,0,801,802,3,74,37,0,802,81,1,0,0,0,803,804,5,222,0,0,804, + 808,3,118,59,0,805,807,3,84,42,0,806,805,1,0,0,0,807,810,1,0,0,0,808, + 806,1,0,0,0,808,809,1,0,0,0,809,811,1,0,0,0,810,808,1,0,0,0,811,812,5, + 238,0,0,812,813,5,214,0,0,813,832,1,0,0,0,814,815,5,222,0,0,815,819,3, + 118,59,0,816,818,3,84,42,0,817,816,1,0,0,0,818,821,1,0,0,0,819,817,1, + 0,0,0,819,820,1,0,0,0,820,822,1,0,0,0,821,819,1,0,0,0,822,824,5,214,0, + 0,823,825,3,82,41,0,824,823,1,0,0,0,824,825,1,0,0,0,825,826,1,0,0,0,826, + 827,5,222,0,0,827,828,5,238,0,0,828,829,3,118,59,0,829,830,5,214,0,0, + 830,832,1,0,0,0,831,803,1,0,0,0,831,814,1,0,0,0,832,83,1,0,0,0,833,834, + 3,118,59,0,834,835,5,212,0,0,835,836,5,200,0,0,836,845,1,0,0,0,837,838, + 3,118,59,0,838,839,5,212,0,0,839,840,5,218,0,0,840,841,3,74,37,0,841, + 842,5,234,0,0,842,845,1,0,0,0,843,845,3,118,59,0,844,833,1,0,0,0,844, + 837,1,0,0,0,844,843,1,0,0,0,845,85,1,0,0,0,846,851,3,88,44,0,847,848, + 5,206,0,0,848,850,3,88,44,0,849,847,1,0,0,0,850,853,1,0,0,0,851,849,1, + 0,0,0,851,852,1,0,0,0,852,87,1,0,0,0,853,851,1,0,0,0,854,855,3,118,59, + 0,855,856,5,10,0,0,856,857,5,220,0,0,857,858,3,2,1,0,858,859,5,236,0, + 0,859,865,1,0,0,0,860,861,3,74,37,0,861,862,5,10,0,0,862,863,3,118,59, + 0,863,865,1,0,0,0,864,854,1,0,0,0,864,860,1,0,0,0,865,89,1,0,0,0,866, + 874,3,122,61,0,867,868,3,98,49,0,868,869,5,210,0,0,869,871,1,0,0,0,870, + 867,1,0,0,0,870,871,1,0,0,0,871,872,1,0,0,0,872,874,3,92,46,0,873,866, + 1,0,0,0,873,870,1,0,0,0,874,91,1,0,0,0,875,880,3,118,59,0,876,877,5,210, + 0,0,877,879,3,118,59,0,878,876,1,0,0,0,879,882,1,0,0,0,880,878,1,0,0, + 0,880,881,1,0,0,0,881,93,1,0,0,0,882,880,1,0,0,0,883,884,6,47,-1,0,884, + 893,3,98,49,0,885,893,3,96,48,0,886,887,5,220,0,0,887,888,3,2,1,0,888, + 889,5,236,0,0,889,893,1,0,0,0,890,893,3,82,41,0,891,893,3,122,61,0,892, + 883,1,0,0,0,892,885,1,0,0,0,892,886,1,0,0,0,892,890,1,0,0,0,892,891,1, + 0,0,0,893,902,1,0,0,0,894,898,10,3,0,0,895,899,3,116,58,0,896,897,5,10, + 0,0,897,899,3,118,59,0,898,895,1,0,0,0,898,896,1,0,0,0,899,901,1,0,0, + 0,900,894,1,0,0,0,901,904,1,0,0,0,902,900,1,0,0,0,902,903,1,0,0,0,903, + 95,1,0,0,0,904,902,1,0,0,0,905,906,3,118,59,0,906,908,5,220,0,0,907,909, + 3,100,50,0,908,907,1,0,0,0,908,909,1,0,0,0,909,910,1,0,0,0,910,911,5, + 236,0,0,911,97,1,0,0,0,912,913,3,102,51,0,913,914,5,210,0,0,914,916,1, + 0,0,0,915,912,1,0,0,0,915,916,1,0,0,0,916,917,1,0,0,0,917,918,3,118,59, + 0,918,99,1,0,0,0,919,924,3,74,37,0,920,921,5,206,0,0,921,923,3,74,37, + 0,922,920,1,0,0,0,923,926,1,0,0,0,924,922,1,0,0,0,924,925,1,0,0,0,925, + 101,1,0,0,0,926,924,1,0,0,0,927,928,3,118,59,0,928,103,1,0,0,0,929,938, + 5,196,0,0,930,931,5,210,0,0,931,938,7,11,0,0,932,933,5,198,0,0,933,935, + 5,210,0,0,934,936,7,11,0,0,935,934,1,0,0,0,935,936,1,0,0,0,936,938,1, + 0,0,0,937,929,1,0,0,0,937,930,1,0,0,0,937,932,1,0,0,0,938,105,1,0,0,0, + 939,941,7,12,0,0,940,939,1,0,0,0,940,941,1,0,0,0,941,948,1,0,0,0,942, + 949,3,104,52,0,943,949,5,197,0,0,944,949,5,198,0,0,945,949,5,199,0,0, + 946,949,5,82,0,0,947,949,5,113,0,0,948,942,1,0,0,0,948,943,1,0,0,0,948, + 944,1,0,0,0,948,945,1,0,0,0,948,946,1,0,0,0,948,947,1,0,0,0,949,107,1, + 0,0,0,950,954,3,106,53,0,951,954,5,200,0,0,952,954,5,116,0,0,953,950, + 1,0,0,0,953,951,1,0,0,0,953,952,1,0,0,0,954,109,1,0,0,0,955,956,7,13, + 0,0,956,111,1,0,0,0,957,958,7,14,0,0,958,113,1,0,0,0,959,960,7,15,0,0, + 960,115,1,0,0,0,961,964,5,195,0,0,962,964,3,114,57,0,963,961,1,0,0,0, + 963,962,1,0,0,0,964,117,1,0,0,0,965,969,5,195,0,0,966,969,3,110,55,0, + 967,969,3,112,56,0,968,965,1,0,0,0,968,966,1,0,0,0,968,967,1,0,0,0,969, + 119,1,0,0,0,970,971,5,200,0,0,971,972,5,212,0,0,972,973,3,106,53,0,973, + 121,1,0,0,0,974,975,5,218,0,0,975,976,3,118,59,0,976,977,5,234,0,0,977, + 123,1,0,0,0,120,127,137,146,149,153,156,160,163,166,169,172,176,180,183, + 186,189,193,196,205,211,232,249,266,272,278,289,291,302,305,311,319,325, + 327,331,336,339,342,346,350,353,355,358,362,366,369,371,373,378,389,395, + 402,407,411,415,421,423,430,438,441,444,463,477,493,505,517,525,529,536, + 542,551,555,586,603,615,625,628,632,635,648,665,669,675,682,694,698,701, + 710,724,751,760,762,764,772,777,785,795,798,808,819,824,831,844,851,864, + 870,873,880,892,898,902,908,915,924,935,937,940,948,953,963,968 }; staticData->serializedATN = antlr4::atn::SerializedATNView(serializedATNSegment, sizeof(serializedATNSegment) / sizeof(serializedATNSegment[0])); @@ -723,6 +723,10 @@ tree::TerminalNode* HogQLParser::SelectStmtWithParensContext::RPAREN() { return getToken(HogQLParser::RPAREN, 0); } +HogQLParser::PlaceholderContext* HogQLParser::SelectStmtWithParensContext::placeholder() { + return getRuleContext(0); +} + size_t HogQLParser::SelectStmtWithParensContext::getRuleIndex() const { return HogQLParser::RuleSelectStmtWithParens; @@ -748,7 +752,7 @@ HogQLParser::SelectStmtWithParensContext* HogQLParser::selectStmtWithParens() { exitRule(); }); try { - setState(145); + setState(146); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::SELECT: @@ -770,6 +774,13 @@ HogQLParser::SelectStmtWithParensContext* HogQLParser::selectStmtWithParens() { break; } + case HogQLParser::LBRACE: { + enterOuterAlt(_localctx, 3); + setState(145); + placeholder(); + break; + } + default: throw NoViableAltException(this); } @@ -901,22 +912,22 @@ HogQLParser::SelectStmtContext* HogQLParser::selectStmt() { }); try { enterOuterAlt(_localctx, 1); - setState(148); + setState(149); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::WITH) { - setState(147); + setState(148); antlrcpp::downCast(_localctx)->with = withClause(); } - setState(150); + setState(151); match(HogQLParser::SELECT); - setState(152); + setState(153); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 4, _ctx)) { case 1: { - setState(151); + setState(152); match(HogQLParser::DISTINCT); break; } @@ -924,12 +935,12 @@ HogQLParser::SelectStmtContext* HogQLParser::selectStmt() { default: break; } - setState(155); + setState(156); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 5, _ctx)) { case 1: { - setState(154); + setState(155); topClause(); break; } @@ -937,58 +948,58 @@ HogQLParser::SelectStmtContext* HogQLParser::selectStmt() { default: break; } - setState(157); + setState(158); antlrcpp::downCast(_localctx)->columns = columnExprList(); - setState(159); + setState(160); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::FROM) { - setState(158); + setState(159); antlrcpp::downCast(_localctx)->from = fromClause(); } - setState(162); + setState(163); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::ARRAY || _la == HogQLParser::INNER || _la == HogQLParser::LEFT) { - setState(161); + setState(162); arrayJoinClause(); } - setState(165); + setState(166); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::PREWHERE) { - setState(164); + setState(165); prewhereClause(); } - setState(168); + setState(169); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::WHERE) { - setState(167); + setState(168); antlrcpp::downCast(_localctx)->where = whereClause(); } - setState(171); + setState(172); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::GROUP) { - setState(170); + setState(171); groupByClause(); } - setState(175); + setState(176); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 11, _ctx)) { case 1: { - setState(173); - match(HogQLParser::WITH); setState(174); + match(HogQLParser::WITH); + setState(175); _la = _input->LA(1); if (!(_la == HogQLParser::CUBE || _la == HogQLParser::ROLLUP)) { _errHandler->recoverInline(this); @@ -1003,51 +1014,51 @@ HogQLParser::SelectStmtContext* HogQLParser::selectStmt() { default: break; } - setState(179); + setState(180); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::WITH) { - setState(177); - match(HogQLParser::WITH); setState(178); + match(HogQLParser::WITH); + setState(179); match(HogQLParser::TOTALS); } - setState(182); + setState(183); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::HAVING) { - setState(181); + setState(182); havingClause(); } - setState(185); + setState(186); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::WINDOW) { - setState(184); + setState(185); windowClause(); } - setState(188); + setState(189); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::ORDER) { - setState(187); + setState(188); orderByClause(); } - setState(192); + setState(193); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::LIMIT: { - setState(190); + setState(191); limitAndOffsetClause(); break; } case HogQLParser::OFFSET: { - setState(191); + setState(192); offsetOnlyClause(); break; } @@ -1062,12 +1073,12 @@ HogQLParser::SelectStmtContext* HogQLParser::selectStmt() { default: break; } - setState(195); + setState(196); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::SETTINGS) { - setState(194); + setState(195); settingsClause(); } @@ -1121,9 +1132,9 @@ HogQLParser::WithClauseContext* HogQLParser::withClause() { }); try { enterOuterAlt(_localctx, 1); - setState(197); - match(HogQLParser::WITH); setState(198); + match(HogQLParser::WITH); + setState(199); withExprList(); } @@ -1184,18 +1195,18 @@ HogQLParser::TopClauseContext* HogQLParser::topClause() { }); try { enterOuterAlt(_localctx, 1); - setState(200); - match(HogQLParser::TOP); setState(201); + match(HogQLParser::TOP); + setState(202); match(HogQLParser::DECIMAL_LITERAL); - setState(204); + setState(205); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 18, _ctx)) { case 1: { - setState(202); - match(HogQLParser::WITH); setState(203); + match(HogQLParser::WITH); + setState(204); match(HogQLParser::TIES); break; } @@ -1254,9 +1265,9 @@ HogQLParser::FromClauseContext* HogQLParser::fromClause() { }); try { enterOuterAlt(_localctx, 1); - setState(206); - match(HogQLParser::FROM); setState(207); + match(HogQLParser::FROM); + setState(208); joinExpr(0); } @@ -1322,14 +1333,14 @@ HogQLParser::ArrayJoinClauseContext* HogQLParser::arrayJoinClause() { }); try { enterOuterAlt(_localctx, 1); - setState(210); + setState(211); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::INNER || _la == HogQLParser::LEFT) { - setState(209); + setState(210); _la = _input->LA(1); if (!(_la == HogQLParser::INNER @@ -1341,11 +1352,11 @@ HogQLParser::ArrayJoinClauseContext* HogQLParser::arrayJoinClause() { consume(); } } - setState(212); - match(HogQLParser::ARRAY); setState(213); - match(HogQLParser::JOIN); + match(HogQLParser::ARRAY); setState(214); + match(HogQLParser::JOIN); + setState(215); columnExprList(); } @@ -1443,35 +1454,35 @@ HogQLParser::WindowClauseContext* HogQLParser::windowClause() { }); try { enterOuterAlt(_localctx, 1); - setState(216); - match(HogQLParser::WINDOW); setState(217); - identifier(); + match(HogQLParser::WINDOW); setState(218); - match(HogQLParser::AS); + identifier(); setState(219); - match(HogQLParser::LPAREN); + match(HogQLParser::AS); setState(220); - windowExpr(); + match(HogQLParser::LPAREN); setState(221); + windowExpr(); + setState(222); match(HogQLParser::RPAREN); - setState(231); + setState(232); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(222); - match(HogQLParser::COMMA); setState(223); - identifier(); + match(HogQLParser::COMMA); setState(224); - match(HogQLParser::AS); + identifier(); setState(225); - match(HogQLParser::LPAREN); + match(HogQLParser::AS); setState(226); - windowExpr(); + match(HogQLParser::LPAREN); setState(227); + windowExpr(); + setState(228); match(HogQLParser::RPAREN); - setState(233); + setState(234); _errHandler->sync(this); _la = _input->LA(1); } @@ -1526,9 +1537,9 @@ HogQLParser::PrewhereClauseContext* HogQLParser::prewhereClause() { }); try { enterOuterAlt(_localctx, 1); - setState(234); - match(HogQLParser::PREWHERE); setState(235); + match(HogQLParser::PREWHERE); + setState(236); columnExpr(0); } @@ -1581,9 +1592,9 @@ HogQLParser::WhereClauseContext* HogQLParser::whereClause() { }); try { enterOuterAlt(_localctx, 1); - setState(237); - match(HogQLParser::WHERE); setState(238); + match(HogQLParser::WHERE); + setState(239); columnExpr(0); } @@ -1657,15 +1668,15 @@ HogQLParser::GroupByClauseContext* HogQLParser::groupByClause() { }); try { enterOuterAlt(_localctx, 1); - setState(240); - match(HogQLParser::GROUP); setState(241); + match(HogQLParser::GROUP); + setState(242); match(HogQLParser::BY); - setState(248); + setState(249); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 21, _ctx)) { case 1: { - setState(242); + setState(243); _la = _input->LA(1); if (!(_la == HogQLParser::CUBE || _la == HogQLParser::ROLLUP)) { _errHandler->recoverInline(this); @@ -1674,17 +1685,17 @@ HogQLParser::GroupByClauseContext* HogQLParser::groupByClause() { _errHandler->reportMatch(this); consume(); } - setState(243); - match(HogQLParser::LPAREN); setState(244); - columnExprList(); + match(HogQLParser::LPAREN); setState(245); + columnExprList(); + setState(246); match(HogQLParser::RPAREN); break; } case 2: { - setState(247); + setState(248); columnExprList(); break; } @@ -1743,9 +1754,9 @@ HogQLParser::HavingClauseContext* HogQLParser::havingClause() { }); try { enterOuterAlt(_localctx, 1); - setState(250); - match(HogQLParser::HAVING); setState(251); + match(HogQLParser::HAVING); + setState(252); columnExpr(0); } @@ -1802,11 +1813,11 @@ HogQLParser::OrderByClauseContext* HogQLParser::orderByClause() { }); try { enterOuterAlt(_localctx, 1); - setState(253); - match(HogQLParser::ORDER); setState(254); - match(HogQLParser::BY); + match(HogQLParser::ORDER); setState(255); + match(HogQLParser::BY); + setState(256); orderExprList(); } @@ -1863,11 +1874,11 @@ HogQLParser::ProjectionOrderByClauseContext* HogQLParser::projectionOrderByClaus }); try { enterOuterAlt(_localctx, 1); - setState(257); - match(HogQLParser::ORDER); setState(258); - match(HogQLParser::BY); + match(HogQLParser::ORDER); setState(259); + match(HogQLParser::BY); + setState(260); columnExprList(); } @@ -1948,40 +1959,40 @@ HogQLParser::LimitAndOffsetClauseContext* HogQLParser::limitAndOffsetClause() { exitRule(); }); try { - setState(290); + setState(291); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 26, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(261); - match(HogQLParser::LIMIT); setState(262); + match(HogQLParser::LIMIT); + setState(263); columnExpr(0); - setState(265); + setState(266); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::COMMA) { - setState(263); - match(HogQLParser::COMMA); setState(264); + match(HogQLParser::COMMA); + setState(265); columnExpr(0); } - setState(271); + setState(272); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::WITH: { - setState(267); - match(HogQLParser::WITH); setState(268); + match(HogQLParser::WITH); + setState(269); match(HogQLParser::TIES); break; } case HogQLParser::BY: { - setState(269); - match(HogQLParser::BY); setState(270); + match(HogQLParser::BY); + setState(271); columnExprList(); break; } @@ -2001,45 +2012,45 @@ HogQLParser::LimitAndOffsetClauseContext* HogQLParser::limitAndOffsetClause() { case 2: { enterOuterAlt(_localctx, 2); - setState(273); - match(HogQLParser::LIMIT); setState(274); + match(HogQLParser::LIMIT); + setState(275); columnExpr(0); - setState(277); + setState(278); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::WITH) { - setState(275); - match(HogQLParser::WITH); setState(276); + match(HogQLParser::WITH); + setState(277); match(HogQLParser::TIES); } - setState(279); - match(HogQLParser::OFFSET); setState(280); + match(HogQLParser::OFFSET); + setState(281); columnExpr(0); break; } case 3: { enterOuterAlt(_localctx, 3); - setState(282); - match(HogQLParser::LIMIT); setState(283); - columnExpr(0); + match(HogQLParser::LIMIT); setState(284); - match(HogQLParser::OFFSET); + columnExpr(0); setState(285); + match(HogQLParser::OFFSET); + setState(286); columnExpr(0); - setState(288); + setState(289); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::BY) { - setState(286); - match(HogQLParser::BY); setState(287); + match(HogQLParser::BY); + setState(288); columnExprList(); } break; @@ -2099,9 +2110,9 @@ HogQLParser::OffsetOnlyClauseContext* HogQLParser::offsetOnlyClause() { }); try { enterOuterAlt(_localctx, 1); - setState(292); - match(HogQLParser::OFFSET); setState(293); + match(HogQLParser::OFFSET); + setState(294); columnExpr(0); } @@ -2154,9 +2165,9 @@ HogQLParser::SettingsClauseContext* HogQLParser::settingsClause() { }); try { enterOuterAlt(_localctx, 1); - setState(295); - match(HogQLParser::SETTINGS); setState(296); + match(HogQLParser::SETTINGS); + setState(297); settingExprList(); } @@ -2310,7 +2321,7 @@ HogQLParser::JoinExprContext* HogQLParser::joinExpr(int precedence) { try { size_t alt; enterOuterAlt(_localctx, 1); - setState(310); + setState(311); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 29, _ctx)) { case 1: { @@ -2318,14 +2329,14 @@ HogQLParser::JoinExprContext* HogQLParser::joinExpr(int precedence) { _ctx = _localctx; previousContext = _localctx; - setState(299); + setState(300); tableExpr(0); - setState(301); + setState(302); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 27, _ctx)) { case 1: { - setState(300); + setState(301); match(HogQLParser::FINAL); break; } @@ -2333,12 +2344,12 @@ HogQLParser::JoinExprContext* HogQLParser::joinExpr(int precedence) { default: break; } - setState(304); + setState(305); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 28, _ctx)) { case 1: { - setState(303); + setState(304); sampleClause(); break; } @@ -2353,11 +2364,11 @@ HogQLParser::JoinExprContext* HogQLParser::joinExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(306); - match(HogQLParser::LPAREN); setState(307); - joinExpr(0); + match(HogQLParser::LPAREN); setState(308); + joinExpr(0); + setState(309); match(HogQLParser::RPAREN); break; } @@ -2366,7 +2377,7 @@ HogQLParser::JoinExprContext* HogQLParser::joinExpr(int precedence) { break; } _ctx->stop = _input->LT(-1); - setState(326); + setState(327); _errHandler->sync(this); alt = getInterpreter()->adaptivePredict(_input, 32, _ctx); while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) { @@ -2374,19 +2385,19 @@ HogQLParser::JoinExprContext* HogQLParser::joinExpr(int precedence) { if (!_parseListeners.empty()) triggerExitRuleEvent(); previousContext = _localctx; - setState(324); + setState(325); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 31, _ctx)) { case 1: { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleJoinExpr); - setState(312); + setState(313); if (!(precpred(_ctx, 3))) throw FailedPredicateException(this, "precpred(_ctx, 3)"); - setState(313); - joinOpCross(); setState(314); + joinOpCross(); + setState(315); joinExpr(4); break; } @@ -2395,10 +2406,10 @@ HogQLParser::JoinExprContext* HogQLParser::joinExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleJoinExpr); - setState(316); + setState(317); if (!(precpred(_ctx, 4))) throw FailedPredicateException(this, "precpred(_ctx, 4)"); - setState(318); + setState(319); _errHandler->sync(this); _la = _input->LA(1); @@ -2407,14 +2418,14 @@ HogQLParser::JoinExprContext* HogQLParser::joinExpr(int precedence) { ((1ULL << (_la - 69)) & 134250497) != 0) || _la == HogQLParser::RIGHT || _la == HogQLParser::SEMI) { - setState(317); + setState(318); joinOp(); } - setState(320); - match(HogQLParser::JOIN); setState(321); - joinExpr(0); + match(HogQLParser::JOIN); setState(322); + joinExpr(0); + setState(323); joinConstraintClause(); break; } @@ -2423,7 +2434,7 @@ HogQLParser::JoinExprContext* HogQLParser::joinExpr(int precedence) { break; } } - setState(328); + setState(329); _errHandler->sync(this); alt = getInterpreter()->adaptivePredict(_input, 32, _ctx); } @@ -2561,23 +2572,23 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { exitRule(); }); try { - setState(372); + setState(373); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 46, _ctx)) { case 1: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 1); - setState(338); + setState(339); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 35, _ctx)) { case 1: { - setState(330); + setState(331); _errHandler->sync(this); _la = _input->LA(1); if ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 4368) != 0)) { - setState(329); + setState(330); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 4368) != 0))) { @@ -2588,21 +2599,21 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { consume(); } } - setState(332); + setState(333); match(HogQLParser::INNER); break; } case 2: { - setState(333); + setState(334); match(HogQLParser::INNER); - setState(335); + setState(336); _errHandler->sync(this); _la = _input->LA(1); if ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 4368) != 0)) { - setState(334); + setState(335); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 4368) != 0))) { @@ -2617,7 +2628,7 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { } case 3: { - setState(337); + setState(338); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 4368) != 0))) { @@ -2639,17 +2650,17 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { case 2: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 2); - setState(354); + setState(355); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 40, _ctx)) { case 1: { - setState(341); + setState(342); _errHandler->sync(this); _la = _input->LA(1); if ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 4496) != 0) || _la == HogQLParser::SEMI) { - setState(340); + setState(341); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 4496) != 0) || _la == HogQLParser::SEMI)) { @@ -2660,7 +2671,7 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { consume(); } } - setState(343); + setState(344); _la = _input->LA(1); if (!(_la == HogQLParser::LEFT @@ -2671,19 +2682,19 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { _errHandler->reportMatch(this); consume(); } - setState(345); + setState(346); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::OUTER) { - setState(344); + setState(345); match(HogQLParser::OUTER); } break; } case 2: { - setState(347); + setState(348); _la = _input->LA(1); if (!(_la == HogQLParser::LEFT @@ -2694,21 +2705,21 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { _errHandler->reportMatch(this); consume(); } - setState(349); + setState(350); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::OUTER) { - setState(348); + setState(349); match(HogQLParser::OUTER); } - setState(352); + setState(353); _errHandler->sync(this); _la = _input->LA(1); if ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 4496) != 0) || _la == HogQLParser::SEMI) { - setState(351); + setState(352); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 4496) != 0) || _la == HogQLParser::SEMI)) { @@ -2731,18 +2742,18 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { case 3: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 3); - setState(370); + setState(371); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 45, _ctx)) { case 1: { - setState(357); + setState(358); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::ALL || _la == HogQLParser::ANY) { - setState(356); + setState(357); _la = _input->LA(1); if (!(_la == HogQLParser::ALL @@ -2754,38 +2765,38 @@ HogQLParser::JoinOpContext* HogQLParser::joinOp() { consume(); } } - setState(359); + setState(360); match(HogQLParser::FULL); - setState(361); + setState(362); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::OUTER) { - setState(360); + setState(361); match(HogQLParser::OUTER); } break; } case 2: { - setState(363); + setState(364); match(HogQLParser::FULL); - setState(365); + setState(366); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::OUTER) { - setState(364); + setState(365); match(HogQLParser::OUTER); } - setState(368); + setState(369); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::ALL || _la == HogQLParser::ANY) { - setState(367); + setState(368); _la = _input->LA(1); if (!(_la == HogQLParser::ALL @@ -2863,21 +2874,21 @@ HogQLParser::JoinOpCrossContext* HogQLParser::joinOpCross() { exitRule(); }); try { - setState(377); + setState(378); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::CROSS: { enterOuterAlt(_localctx, 1); - setState(374); - match(HogQLParser::CROSS); setState(375); + match(HogQLParser::CROSS); + setState(376); match(HogQLParser::JOIN); break; } case HogQLParser::COMMA: { enterOuterAlt(_localctx, 2); - setState(376); + setState(377); match(HogQLParser::COMMA); break; } @@ -2947,36 +2958,36 @@ HogQLParser::JoinConstraintClauseContext* HogQLParser::joinConstraintClause() { exitRule(); }); try { - setState(388); + setState(389); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 48, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(379); - match(HogQLParser::ON); setState(380); + match(HogQLParser::ON); + setState(381); columnExprList(); break; } case 2: { enterOuterAlt(_localctx, 2); - setState(381); - match(HogQLParser::USING); setState(382); - match(HogQLParser::LPAREN); + match(HogQLParser::USING); setState(383); - columnExprList(); + match(HogQLParser::LPAREN); setState(384); + columnExprList(); + setState(385); match(HogQLParser::RPAREN); break; } case 3: { enterOuterAlt(_localctx, 3); - setState(386); - match(HogQLParser::USING); setState(387); + match(HogQLParser::USING); + setState(388); columnExprList(); break; } @@ -3043,18 +3054,18 @@ HogQLParser::SampleClauseContext* HogQLParser::sampleClause() { }); try { enterOuterAlt(_localctx, 1); - setState(390); - match(HogQLParser::SAMPLE); setState(391); + match(HogQLParser::SAMPLE); + setState(392); ratioExpr(); - setState(394); + setState(395); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 49, _ctx)) { case 1: { - setState(392); - match(HogQLParser::OFFSET); setState(393); + match(HogQLParser::OFFSET); + setState(394); ratioExpr(); break; } @@ -3122,17 +3133,17 @@ HogQLParser::OrderExprListContext* HogQLParser::orderExprList() { }); try { enterOuterAlt(_localctx, 1); - setState(396); + setState(397); orderExpr(); - setState(401); + setState(402); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(397); - match(HogQLParser::COMMA); setState(398); + match(HogQLParser::COMMA); + setState(399); orderExpr(); - setState(403); + setState(404); _errHandler->sync(this); _la = _input->LA(1); } @@ -3216,15 +3227,15 @@ HogQLParser::OrderExprContext* HogQLParser::orderExpr() { }); try { enterOuterAlt(_localctx, 1); - setState(404); + setState(405); columnExpr(0); - setState(406); + setState(407); _errHandler->sync(this); _la = _input->LA(1); if ((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 13194139535360) != 0)) { - setState(405); + setState(406); _la = _input->LA(1); if (!((((_la & ~ 0x3fULL) == 0) && ((1ULL << _la) & 13194139535360) != 0))) { @@ -3235,14 +3246,14 @@ HogQLParser::OrderExprContext* HogQLParser::orderExpr() { consume(); } } - setState(410); + setState(411); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::NULLS) { - setState(408); - match(HogQLParser::NULLS); setState(409); + match(HogQLParser::NULLS); + setState(410); _la = _input->LA(1); if (!(_la == HogQLParser::FIRST @@ -3254,14 +3265,14 @@ HogQLParser::OrderExprContext* HogQLParser::orderExpr() { consume(); } } - setState(414); + setState(415); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::COLLATE) { - setState(412); - match(HogQLParser::COLLATE); setState(413); + match(HogQLParser::COLLATE); + setState(414); match(HogQLParser::STRING_LITERAL); } @@ -3322,12 +3333,12 @@ HogQLParser::RatioExprContext* HogQLParser::ratioExpr() { exitRule(); }); try { - setState(422); + setState(423); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::LBRACE: { enterOuterAlt(_localctx, 1); - setState(416); + setState(417); placeholder(); break; } @@ -3342,16 +3353,16 @@ HogQLParser::RatioExprContext* HogQLParser::ratioExpr() { case HogQLParser::DOT: case HogQLParser::PLUS: { enterOuterAlt(_localctx, 2); - setState(417); + setState(418); numberLiteral(); - setState(420); + setState(421); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 54, _ctx)) { case 1: { - setState(418); - match(HogQLParser::SLASH); setState(419); + match(HogQLParser::SLASH); + setState(420); numberLiteral(); break; } @@ -3425,17 +3436,17 @@ HogQLParser::SettingExprListContext* HogQLParser::settingExprList() { }); try { enterOuterAlt(_localctx, 1); - setState(424); + setState(425); settingExpr(); - setState(429); + setState(430); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(425); - match(HogQLParser::COMMA); setState(426); + match(HogQLParser::COMMA); + setState(427); settingExpr(); - setState(431); + setState(432); _errHandler->sync(this); _la = _input->LA(1); } @@ -3494,11 +3505,11 @@ HogQLParser::SettingExprContext* HogQLParser::settingExpr() { }); try { enterOuterAlt(_localctx, 1); - setState(432); - identifier(); setState(433); - match(HogQLParser::EQ_SINGLE); + identifier(); setState(434); + match(HogQLParser::EQ_SINGLE); + setState(435); literal(); } @@ -3556,30 +3567,30 @@ HogQLParser::WindowExprContext* HogQLParser::windowExpr() { }); try { enterOuterAlt(_localctx, 1); - setState(437); + setState(438); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::PARTITION) { - setState(436); + setState(437); winPartitionByClause(); } - setState(440); + setState(441); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::ORDER) { - setState(439); + setState(440); winOrderByClause(); } - setState(443); + setState(444); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::RANGE || _la == HogQLParser::ROWS) { - setState(442); + setState(443); winFrameClause(); } @@ -3637,11 +3648,11 @@ HogQLParser::WinPartitionByClauseContext* HogQLParser::winPartitionByClause() { }); try { enterOuterAlt(_localctx, 1); - setState(445); - match(HogQLParser::PARTITION); setState(446); - match(HogQLParser::BY); + match(HogQLParser::PARTITION); setState(447); + match(HogQLParser::BY); + setState(448); columnExprList(); } @@ -3698,11 +3709,11 @@ HogQLParser::WinOrderByClauseContext* HogQLParser::winOrderByClause() { }); try { enterOuterAlt(_localctx, 1); - setState(449); - match(HogQLParser::ORDER); setState(450); - match(HogQLParser::BY); + match(HogQLParser::ORDER); setState(451); + match(HogQLParser::BY); + setState(452); orderExprList(); } @@ -3760,7 +3771,7 @@ HogQLParser::WinFrameClauseContext* HogQLParser::winFrameClause() { }); try { enterOuterAlt(_localctx, 1); - setState(453); + setState(454); _la = _input->LA(1); if (!(_la == HogQLParser::RANGE @@ -3771,7 +3782,7 @@ HogQLParser::WinFrameClauseContext* HogQLParser::winFrameClause() { _errHandler->reportMatch(this); consume(); } - setState(454); + setState(455); winFrameExtend(); } @@ -3853,7 +3864,7 @@ HogQLParser::WinFrameExtendContext* HogQLParser::winFrameExtend() { exitRule(); }); try { - setState(462); + setState(463); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::CURRENT: @@ -3869,7 +3880,7 @@ HogQLParser::WinFrameExtendContext* HogQLParser::winFrameExtend() { case HogQLParser::PLUS: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 1); - setState(456); + setState(457); winFrameBound(); break; } @@ -3877,13 +3888,13 @@ HogQLParser::WinFrameExtendContext* HogQLParser::winFrameExtend() { case HogQLParser::BETWEEN: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 2); - setState(457); - match(HogQLParser::BETWEEN); setState(458); - winFrameBound(); + match(HogQLParser::BETWEEN); setState(459); - match(HogQLParser::AND); + winFrameBound(); setState(460); + match(HogQLParser::AND); + setState(461); winFrameBound(); break; } @@ -3958,45 +3969,45 @@ HogQLParser::WinFrameBoundContext* HogQLParser::winFrameBound() { }); try { enterOuterAlt(_localctx, 1); - setState(476); + setState(477); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 61, _ctx)) { case 1: { - setState(464); - match(HogQLParser::CURRENT); setState(465); + match(HogQLParser::CURRENT); + setState(466); match(HogQLParser::ROW); break; } case 2: { - setState(466); - match(HogQLParser::UNBOUNDED); setState(467); + match(HogQLParser::UNBOUNDED); + setState(468); match(HogQLParser::PRECEDING); break; } case 3: { - setState(468); - match(HogQLParser::UNBOUNDED); setState(469); + match(HogQLParser::UNBOUNDED); + setState(470); match(HogQLParser::FOLLOWING); break; } case 4: { - setState(470); - numberLiteral(); setState(471); + numberLiteral(); + setState(472); match(HogQLParser::PRECEDING); break; } case 5: { - setState(473); - numberLiteral(); setState(474); + numberLiteral(); + setState(475); match(HogQLParser::FOLLOWING); break; } @@ -4055,9 +4066,9 @@ HogQLParser::ExprContext* HogQLParser::expr() { }); try { enterOuterAlt(_localctx, 1); - setState(478); - columnExpr(0); setState(479); + columnExpr(0); + setState(480); match(HogQLParser::EOF); } @@ -4261,13 +4272,13 @@ HogQLParser::ColumnTypeExprContext* HogQLParser::columnTypeExpr() { exitRule(); }); try { - setState(528); + setState(529); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 66, _ctx)) { case 1: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 1); - setState(481); + setState(482); identifier(); break; } @@ -4275,29 +4286,29 @@ HogQLParser::ColumnTypeExprContext* HogQLParser::columnTypeExpr() { case 2: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 2); - setState(482); - identifier(); setState(483); - match(HogQLParser::LPAREN); - setState(484); identifier(); + setState(484); + match(HogQLParser::LPAREN); setState(485); + identifier(); + setState(486); columnTypeExpr(); - setState(492); + setState(493); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(486); - match(HogQLParser::COMMA); setState(487); - identifier(); + match(HogQLParser::COMMA); setState(488); + identifier(); + setState(489); columnTypeExpr(); - setState(494); + setState(495); _errHandler->sync(this); _la = _input->LA(1); } - setState(495); + setState(496); match(HogQLParser::RPAREN); break; } @@ -4305,25 +4316,25 @@ HogQLParser::ColumnTypeExprContext* HogQLParser::columnTypeExpr() { case 3: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 3); - setState(497); - identifier(); setState(498); - match(HogQLParser::LPAREN); + identifier(); setState(499); + match(HogQLParser::LPAREN); + setState(500); enumValue(); - setState(504); + setState(505); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(500); - match(HogQLParser::COMMA); setState(501); + match(HogQLParser::COMMA); + setState(502); enumValue(); - setState(506); + setState(507); _errHandler->sync(this); _la = _input->LA(1); } - setState(507); + setState(508); match(HogQLParser::RPAREN); break; } @@ -4331,25 +4342,25 @@ HogQLParser::ColumnTypeExprContext* HogQLParser::columnTypeExpr() { case 4: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 4); - setState(509); - identifier(); setState(510); - match(HogQLParser::LPAREN); + identifier(); setState(511); + match(HogQLParser::LPAREN); + setState(512); columnTypeExpr(); - setState(516); + setState(517); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(512); - match(HogQLParser::COMMA); setState(513); + match(HogQLParser::COMMA); + setState(514); columnTypeExpr(); - setState(518); + setState(519); _errHandler->sync(this); _la = _input->LA(1); } - setState(519); + setState(520); match(HogQLParser::RPAREN); break; } @@ -4357,11 +4368,11 @@ HogQLParser::ColumnTypeExprContext* HogQLParser::columnTypeExpr() { case 5: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 5); - setState(521); - identifier(); setState(522); + identifier(); + setState(523); match(HogQLParser::LPAREN); - setState(524); + setState(525); _errHandler->sync(this); _la = _input->LA(1); @@ -4370,10 +4381,10 @@ HogQLParser::ColumnTypeExprContext* HogQLParser::columnTypeExpr() { ((1ULL << (_la - 64)) & -1) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & -9) != 0) || ((((_la - 192) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 192)) & 70263309817) != 0)) { - setState(523); + setState(524); columnExprList(); } - setState(526); + setState(527); match(HogQLParser::RPAREN); break; } @@ -4441,19 +4452,19 @@ HogQLParser::ColumnExprListContext* HogQLParser::columnExprList() { try { size_t alt; enterOuterAlt(_localctx, 1); - setState(530); + setState(531); columnExpr(0); - setState(535); + setState(536); _errHandler->sync(this); alt = getInterpreter()->adaptivePredict(_input, 67, _ctx); while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) { if (alt == 1) { - setState(531); - match(HogQLParser::COMMA); setState(532); + match(HogQLParser::COMMA); + setState(533); columnExpr(0); } - setState(537); + setState(538); _errHandler->sync(this); alt = getInterpreter()->adaptivePredict(_input, 67, _ctx); } @@ -5503,7 +5514,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { try { size_t alt; enterOuterAlt(_localctx, 1); - setState(668); + setState(669); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 80, _ctx)) { case 1: { @@ -5511,14 +5522,14 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _ctx = _localctx; previousContext = _localctx; - setState(539); + setState(540); match(HogQLParser::CASE); - setState(541); + setState(542); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 68, _ctx)) { case 1: { - setState(540); + setState(541); antlrcpp::downCast(_localctx)->caseExpr = columnExpr(0); break; } @@ -5526,33 +5537,33 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { default: break; } - setState(548); + setState(549); _errHandler->sync(this); _la = _input->LA(1); do { - setState(543); - match(HogQLParser::WHEN); setState(544); - antlrcpp::downCast(_localctx)->whenExpr = columnExpr(0); + match(HogQLParser::WHEN); setState(545); - match(HogQLParser::THEN); + antlrcpp::downCast(_localctx)->whenExpr = columnExpr(0); setState(546); + match(HogQLParser::THEN); + setState(547); antlrcpp::downCast(_localctx)->thenExpr = columnExpr(0); - setState(550); + setState(551); _errHandler->sync(this); _la = _input->LA(1); } while (_la == HogQLParser::WHEN); - setState(554); + setState(555); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::ELSE) { - setState(552); - match(HogQLParser::ELSE); setState(553); + match(HogQLParser::ELSE); + setState(554); antlrcpp::downCast(_localctx)->elseExpr = columnExpr(0); } - setState(556); + setState(557); match(HogQLParser::END); break; } @@ -5561,17 +5572,17 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(558); - match(HogQLParser::CAST); setState(559); - match(HogQLParser::LPAREN); + match(HogQLParser::CAST); setState(560); - columnExpr(0); + match(HogQLParser::LPAREN); setState(561); - match(HogQLParser::AS); + columnExpr(0); setState(562); - columnTypeExpr(); + match(HogQLParser::AS); setState(563); + columnTypeExpr(); + setState(564); match(HogQLParser::RPAREN); break; } @@ -5580,9 +5591,9 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(565); - match(HogQLParser::DATE); setState(566); + match(HogQLParser::DATE); + setState(567); match(HogQLParser::STRING_LITERAL); break; } @@ -5591,17 +5602,17 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(567); - match(HogQLParser::EXTRACT); setState(568); - match(HogQLParser::LPAREN); + match(HogQLParser::EXTRACT); setState(569); - interval(); + match(HogQLParser::LPAREN); setState(570); - match(HogQLParser::FROM); + interval(); setState(571); - columnExpr(0); + match(HogQLParser::FROM); setState(572); + columnExpr(0); + setState(573); match(HogQLParser::RPAREN); break; } @@ -5610,11 +5621,11 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(574); - match(HogQLParser::INTERVAL); setState(575); - columnExpr(0); + match(HogQLParser::INTERVAL); setState(576); + columnExpr(0); + setState(577); interval(); break; } @@ -5623,27 +5634,27 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(578); - match(HogQLParser::SUBSTRING); setState(579); - match(HogQLParser::LPAREN); + match(HogQLParser::SUBSTRING); setState(580); - columnExpr(0); + match(HogQLParser::LPAREN); setState(581); - match(HogQLParser::FROM); + columnExpr(0); setState(582); + match(HogQLParser::FROM); + setState(583); columnExpr(0); - setState(585); + setState(586); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::FOR) { - setState(583); - match(HogQLParser::FOR); setState(584); + match(HogQLParser::FOR); + setState(585); columnExpr(0); } - setState(587); + setState(588); match(HogQLParser::RPAREN); break; } @@ -5652,9 +5663,9 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(589); - match(HogQLParser::TIMESTAMP); setState(590); + match(HogQLParser::TIMESTAMP); + setState(591); match(HogQLParser::STRING_LITERAL); break; } @@ -5663,11 +5674,11 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(591); - match(HogQLParser::TRIM); setState(592); - match(HogQLParser::LPAREN); + match(HogQLParser::TRIM); setState(593); + match(HogQLParser::LPAREN); + setState(594); _la = _input->LA(1); if (!(_la == HogQLParser::BOTH || _la == HogQLParser::LEADING || _la == HogQLParser::TRAILING)) { _errHandler->recoverInline(this); @@ -5676,13 +5687,13 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _errHandler->reportMatch(this); consume(); } - setState(594); - match(HogQLParser::STRING_LITERAL); setState(595); - match(HogQLParser::FROM); + match(HogQLParser::STRING_LITERAL); setState(596); - columnExpr(0); + match(HogQLParser::FROM); setState(597); + columnExpr(0); + setState(598); match(HogQLParser::RPAREN); break; } @@ -5691,12 +5702,12 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(599); + setState(600); identifier(); - setState(600); + setState(601); match(HogQLParser::LPAREN); - setState(602); + setState(603); _errHandler->sync(this); _la = _input->LA(1); @@ -5705,18 +5716,18 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { ((1ULL << (_la - 64)) & -1) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & -9) != 0) || ((((_la - 192) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 192)) & 70263309817) != 0)) { - setState(601); + setState(602); columnExprList(); } - setState(604); + setState(605); match(HogQLParser::RPAREN); - setState(606); - match(HogQLParser::OVER); setState(607); - match(HogQLParser::LPAREN); + match(HogQLParser::OVER); setState(608); - windowExpr(); + match(HogQLParser::LPAREN); setState(609); + windowExpr(); + setState(610); match(HogQLParser::RPAREN); break; } @@ -5725,12 +5736,12 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(611); + setState(612); identifier(); - setState(612); + setState(613); match(HogQLParser::LPAREN); - setState(614); + setState(615); _errHandler->sync(this); _la = _input->LA(1); @@ -5739,14 +5750,14 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { ((1ULL << (_la - 64)) & -1) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & -9) != 0) || ((((_la - 192) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 192)) & 70263309817) != 0)) { - setState(613); + setState(614); columnExprList(); } - setState(616); + setState(617); match(HogQLParser::RPAREN); - setState(618); - match(HogQLParser::OVER); setState(619); + match(HogQLParser::OVER); + setState(620); identifier(); break; } @@ -5755,16 +5766,16 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(621); + setState(622); identifier(); - setState(627); + setState(628); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 75, _ctx)) { case 1: { - setState(622); + setState(623); match(HogQLParser::LPAREN); - setState(624); + setState(625); _errHandler->sync(this); _la = _input->LA(1); @@ -5773,10 +5784,10 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { ((1ULL << (_la - 64)) & -1) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & -9) != 0) || ((((_la - 192) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 192)) & 70263309817) != 0)) { - setState(623); + setState(624); columnExprList(); } - setState(626); + setState(627); match(HogQLParser::RPAREN); break; } @@ -5784,14 +5795,14 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { default: break; } - setState(629); + setState(630); match(HogQLParser::LPAREN); - setState(631); + setState(632); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 76, _ctx)) { case 1: { - setState(630); + setState(631); match(HogQLParser::DISTINCT); break; } @@ -5799,7 +5810,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { default: break; } - setState(634); + setState(635); _errHandler->sync(this); _la = _input->LA(1); @@ -5808,10 +5819,10 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { ((1ULL << (_la - 64)) & -1) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & -9) != 0) || ((((_la - 192) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 192)) & 70263309817) != 0)) { - setState(633); + setState(634); columnArgList(); } - setState(636); + setState(637); match(HogQLParser::RPAREN); break; } @@ -5820,7 +5831,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(638); + setState(639); hogqlxTagElement(); break; } @@ -5829,7 +5840,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(639); + setState(640); literal(); break; } @@ -5838,9 +5849,9 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(640); - match(HogQLParser::DASH); setState(641); + match(HogQLParser::DASH); + setState(642); columnExpr(18); break; } @@ -5849,9 +5860,9 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(642); - match(HogQLParser::NOT); setState(643); + match(HogQLParser::NOT); + setState(644); columnExpr(12); break; } @@ -5860,7 +5871,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(647); + setState(648); _errHandler->sync(this); _la = _input->LA(1); @@ -5870,12 +5881,12 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { ((1ULL << (_la - 128)) & -9) != 0) || _la == HogQLParser::JSON_TRUE || _la == HogQLParser::IDENTIFIER) { - setState(644); - tableIdentifier(); setState(645); + tableIdentifier(); + setState(646); match(HogQLParser::DOT); } - setState(649); + setState(650); match(HogQLParser::ASTERISK); break; } @@ -5884,11 +5895,11 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(650); - match(HogQLParser::LPAREN); setState(651); - selectUnionStmt(); + match(HogQLParser::LPAREN); setState(652); + selectUnionStmt(); + setState(653); match(HogQLParser::RPAREN); break; } @@ -5897,11 +5908,11 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(654); - match(HogQLParser::LPAREN); setState(655); - columnExpr(0); + match(HogQLParser::LPAREN); setState(656); + columnExpr(0); + setState(657); match(HogQLParser::RPAREN); break; } @@ -5910,11 +5921,11 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(658); - match(HogQLParser::LPAREN); setState(659); - columnExprList(); + match(HogQLParser::LPAREN); setState(660); + columnExprList(); + setState(661); match(HogQLParser::RPAREN); break; } @@ -5923,9 +5934,9 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(662); + setState(663); match(HogQLParser::LBRACKET); - setState(664); + setState(665); _errHandler->sync(this); _la = _input->LA(1); @@ -5934,10 +5945,10 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { ((1ULL << (_la - 64)) & -1) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & -9) != 0) || ((((_la - 192) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 192)) & 70263309817) != 0)) { - setState(663); + setState(664); columnExprList(); } - setState(666); + setState(667); match(HogQLParser::RBRACKET); break; } @@ -5946,7 +5957,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(667); + setState(668); columnIdentifier(); break; } @@ -5955,7 +5966,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { break; } _ctx->stop = _input->LT(-1); - setState(763); + setState(764); _errHandler->sync(this); alt = getInterpreter()->adaptivePredict(_input, 91, _ctx); while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) { @@ -5963,7 +5974,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { if (!_parseListeners.empty()) triggerExitRuleEvent(); previousContext = _localctx; - setState(761); + setState(762); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 90, _ctx)) { case 1: { @@ -5971,26 +5982,26 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = newContext; newContext->left = previousContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(670); + setState(671); if (!(precpred(_ctx, 17))) throw FailedPredicateException(this, "precpred(_ctx, 17)"); - setState(674); + setState(675); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::ASTERISK: { - setState(671); + setState(672); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::ASTERISK); break; } case HogQLParser::SLASH: { - setState(672); + setState(673); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::SLASH); break; } case HogQLParser::PERCENT: { - setState(673); + setState(674); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::PERCENT); break; } @@ -5998,7 +6009,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { default: throw NoViableAltException(this); } - setState(676); + setState(677); antlrcpp::downCast(_localctx)->right = columnExpr(18); break; } @@ -6008,26 +6019,26 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = newContext; newContext->left = previousContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(677); + setState(678); if (!(precpred(_ctx, 16))) throw FailedPredicateException(this, "precpred(_ctx, 16)"); - setState(681); + setState(682); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::PLUS: { - setState(678); + setState(679); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::PLUS); break; } case HogQLParser::DASH: { - setState(679); + setState(680); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::DASH); break; } case HogQLParser::CONCAT: { - setState(680); + setState(681); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::CONCAT); break; } @@ -6035,7 +6046,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { default: throw NoViableAltException(this); } - setState(683); + setState(684); antlrcpp::downCast(_localctx)->right = columnExpr(17); break; } @@ -6045,86 +6056,86 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { _localctx = newContext; newContext->left = previousContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(684); + setState(685); if (!(precpred(_ctx, 15))) throw FailedPredicateException(this, "precpred(_ctx, 15)"); - setState(709); + setState(710); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 86, _ctx)) { case 1: { - setState(685); + setState(686); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::EQ_DOUBLE); break; } case 2: { - setState(686); + setState(687); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::EQ_SINGLE); break; } case 3: { - setState(687); + setState(688); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::NOT_EQ); break; } case 4: { - setState(688); + setState(689); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::LT_EQ); break; } case 5: { - setState(689); + setState(690); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::LT); break; } case 6: { - setState(690); + setState(691); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::GT_EQ); break; } case 7: { - setState(691); + setState(692); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::GT); break; } case 8: { - setState(693); + setState(694); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::NOT) { - setState(692); + setState(693); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::NOT); } - setState(695); + setState(696); match(HogQLParser::IN); - setState(697); + setState(698); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::COHORT) { - setState(696); + setState(697); match(HogQLParser::COHORT); } break; } case 9: { - setState(700); + setState(701); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::NOT) { - setState(699); + setState(700); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::NOT); } - setState(702); + setState(703); _la = _input->LA(1); if (!(_la == HogQLParser::ILIKE @@ -6139,37 +6150,37 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { } case 10: { - setState(703); + setState(704); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::REGEX_SINGLE); break; } case 11: { - setState(704); + setState(705); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::REGEX_DOUBLE); break; } case 12: { - setState(705); + setState(706); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::NOT_REGEX); break; } case 13: { - setState(706); + setState(707); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::IREGEX_SINGLE); break; } case 14: { - setState(707); + setState(708); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::IREGEX_DOUBLE); break; } case 15: { - setState(708); + setState(709); antlrcpp::downCast(_localctx)->operator_ = match(HogQLParser::NOT_IREGEX); break; } @@ -6177,7 +6188,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { default: break; } - setState(711); + setState(712); antlrcpp::downCast(_localctx)->right = columnExpr(16); break; } @@ -6186,12 +6197,12 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(712); + setState(713); if (!(precpred(_ctx, 13))) throw FailedPredicateException(this, "precpred(_ctx, 13)"); - setState(713); - match(HogQLParser::NULLISH); setState(714); + match(HogQLParser::NULLISH); + setState(715); columnExpr(14); break; } @@ -6200,12 +6211,12 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(715); + setState(716); if (!(precpred(_ctx, 11))) throw FailedPredicateException(this, "precpred(_ctx, 11)"); - setState(716); - match(HogQLParser::AND); setState(717); + match(HogQLParser::AND); + setState(718); columnExpr(12); break; } @@ -6214,12 +6225,12 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(718); + setState(719); if (!(precpred(_ctx, 10))) throw FailedPredicateException(this, "precpred(_ctx, 10)"); - setState(719); - match(HogQLParser::OR); setState(720); + match(HogQLParser::OR); + setState(721); columnExpr(11); break; } @@ -6228,24 +6239,24 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(721); + setState(722); if (!(precpred(_ctx, 9))) throw FailedPredicateException(this, "precpred(_ctx, 9)"); - setState(723); + setState(724); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::NOT) { - setState(722); + setState(723); match(HogQLParser::NOT); } - setState(725); - match(HogQLParser::BETWEEN); setState(726); - columnExpr(0); + match(HogQLParser::BETWEEN); setState(727); - match(HogQLParser::AND); + columnExpr(0); setState(728); + match(HogQLParser::AND); + setState(729); columnExpr(10); break; } @@ -6254,16 +6265,16 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(730); + setState(731); if (!(precpred(_ctx, 8))) throw FailedPredicateException(this, "precpred(_ctx, 8)"); - setState(731); - match(HogQLParser::QUERY); setState(732); - columnExpr(0); + match(HogQLParser::QUERY); setState(733); - match(HogQLParser::COLON); + columnExpr(0); setState(734); + match(HogQLParser::COLON); + setState(735); columnExpr(8); break; } @@ -6272,14 +6283,14 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(736); + setState(737); if (!(precpred(_ctx, 21))) throw FailedPredicateException(this, "precpred(_ctx, 21)"); - setState(737); - match(HogQLParser::LBRACKET); setState(738); - columnExpr(0); + match(HogQLParser::LBRACKET); setState(739); + columnExpr(0); + setState(740); match(HogQLParser::RBRACKET); break; } @@ -6288,12 +6299,12 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(741); + setState(742); if (!(precpred(_ctx, 20))) throw FailedPredicateException(this, "precpred(_ctx, 20)"); - setState(742); - match(HogQLParser::DOT); setState(743); + match(HogQLParser::DOT); + setState(744); match(HogQLParser::DECIMAL_LITERAL); break; } @@ -6302,12 +6313,12 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(744); + setState(745); if (!(precpred(_ctx, 19))) throw FailedPredicateException(this, "precpred(_ctx, 19)"); - setState(745); - match(HogQLParser::DOT); setState(746); + match(HogQLParser::DOT); + setState(747); identifier(); break; } @@ -6316,20 +6327,20 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(747); + setState(748); if (!(precpred(_ctx, 14))) throw FailedPredicateException(this, "precpred(_ctx, 14)"); - setState(748); + setState(749); match(HogQLParser::IS); - setState(750); + setState(751); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::NOT) { - setState(749); + setState(750); match(HogQLParser::NOT); } - setState(752); + setState(753); match(HogQLParser::NULL_SQL); break; } @@ -6338,30 +6349,30 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleColumnExpr); - setState(753); + setState(754); if (!(precpred(_ctx, 7))) throw FailedPredicateException(this, "precpred(_ctx, 7)"); - setState(759); + setState(760); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 89, _ctx)) { case 1: { - setState(754); + setState(755); alias(); break; } case 2: { - setState(755); - match(HogQLParser::AS); setState(756); + match(HogQLParser::AS); + setState(757); identifier(); break; } case 3: { - setState(757); - match(HogQLParser::AS); setState(758); + match(HogQLParser::AS); + setState(759); match(HogQLParser::STRING_LITERAL); break; } @@ -6376,7 +6387,7 @@ HogQLParser::ColumnExprContext* HogQLParser::columnExpr(int precedence) { break; } } - setState(765); + setState(766); _errHandler->sync(this); alt = getInterpreter()->adaptivePredict(_input, 91, _ctx); } @@ -6438,17 +6449,17 @@ HogQLParser::ColumnArgListContext* HogQLParser::columnArgList() { }); try { enterOuterAlt(_localctx, 1); - setState(766); + setState(767); columnArgExpr(); - setState(771); + setState(772); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(767); - match(HogQLParser::COMMA); setState(768); + match(HogQLParser::COMMA); + setState(769); columnArgExpr(); - setState(773); + setState(774); _errHandler->sync(this); _la = _input->LA(1); } @@ -6502,19 +6513,19 @@ HogQLParser::ColumnArgExprContext* HogQLParser::columnArgExpr() { exitRule(); }); try { - setState(776); + setState(777); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 93, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(774); + setState(775); columnLambdaExpr(); break; } case 2: { enterOuterAlt(_localctx, 2); - setState(775); + setState(776); columnExpr(0); break; } @@ -6598,27 +6609,27 @@ HogQLParser::ColumnLambdaExprContext* HogQLParser::columnLambdaExpr() { }); try { enterOuterAlt(_localctx, 1); - setState(797); + setState(798); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::LPAREN: { - setState(778); - match(HogQLParser::LPAREN); setState(779); + match(HogQLParser::LPAREN); + setState(780); identifier(); - setState(784); + setState(785); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(780); - match(HogQLParser::COMMA); setState(781); + match(HogQLParser::COMMA); + setState(782); identifier(); - setState(786); + setState(787); _errHandler->sync(this); _la = _input->LA(1); } - setState(787); + setState(788); match(HogQLParser::RPAREN); break; } @@ -6810,17 +6821,17 @@ HogQLParser::ColumnLambdaExprContext* HogQLParser::columnLambdaExpr() { case HogQLParser::JSON_FALSE: case HogQLParser::JSON_TRUE: case HogQLParser::IDENTIFIER: { - setState(789); + setState(790); identifier(); - setState(794); + setState(795); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(790); - match(HogQLParser::COMMA); setState(791); + match(HogQLParser::COMMA); + setState(792); identifier(); - setState(796); + setState(797); _errHandler->sync(this); _la = _input->LA(1); } @@ -6830,9 +6841,9 @@ HogQLParser::ColumnLambdaExprContext* HogQLParser::columnLambdaExpr() { default: throw NoViableAltException(this); } - setState(799); - match(HogQLParser::ARROW); setState(800); + match(HogQLParser::ARROW); + setState(801); columnExpr(0); } @@ -6959,17 +6970,17 @@ HogQLParser::HogqlxTagElementContext* HogQLParser::hogqlxTagElement() { exitRule(); }); try { - setState(830); + setState(831); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 100, _ctx)) { case 1: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 1); - setState(802); - match(HogQLParser::LT); setState(803); + match(HogQLParser::LT); + setState(804); identifier(); - setState(807); + setState(808); _errHandler->sync(this); _la = _input->LA(1); while ((((_la & ~ 0x3fULL) == 0) && @@ -6978,15 +6989,15 @@ HogQLParser::HogqlxTagElementContext* HogQLParser::hogqlxTagElement() { ((1ULL << (_la - 128)) & -9) != 0) || _la == HogQLParser::JSON_TRUE || _la == HogQLParser::IDENTIFIER) { - setState(804); + setState(805); hogqlxTagAttribute(); - setState(809); + setState(810); _errHandler->sync(this); _la = _input->LA(1); } - setState(810); - match(HogQLParser::SLASH); setState(811); + match(HogQLParser::SLASH); + setState(812); match(HogQLParser::GT); break; } @@ -6994,11 +7005,11 @@ HogQLParser::HogqlxTagElementContext* HogQLParser::hogqlxTagElement() { case 2: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 2); - setState(813); - match(HogQLParser::LT); setState(814); + match(HogQLParser::LT); + setState(815); identifier(); - setState(818); + setState(819); _errHandler->sync(this); _la = _input->LA(1); while ((((_la & ~ 0x3fULL) == 0) && @@ -7007,20 +7018,20 @@ HogQLParser::HogqlxTagElementContext* HogQLParser::hogqlxTagElement() { ((1ULL << (_la - 128)) & -9) != 0) || _la == HogQLParser::JSON_TRUE || _la == HogQLParser::IDENTIFIER) { - setState(815); + setState(816); hogqlxTagAttribute(); - setState(820); + setState(821); _errHandler->sync(this); _la = _input->LA(1); } - setState(821); + setState(822); match(HogQLParser::GT); - setState(823); + setState(824); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 99, _ctx)) { case 1: { - setState(822); + setState(823); hogqlxTagElement(); break; } @@ -7028,13 +7039,13 @@ HogQLParser::HogqlxTagElementContext* HogQLParser::hogqlxTagElement() { default: break; } - setState(825); - match(HogQLParser::LT); setState(826); - match(HogQLParser::SLASH); + match(HogQLParser::LT); setState(827); - identifier(); + match(HogQLParser::SLASH); setState(828); + identifier(); + setState(829); match(HogQLParser::GT); break; } @@ -7108,38 +7119,38 @@ HogQLParser::HogqlxTagAttributeContext* HogQLParser::hogqlxTagAttribute() { exitRule(); }); try { - setState(843); + setState(844); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 101, _ctx)) { case 1: { enterOuterAlt(_localctx, 1); - setState(832); - identifier(); setState(833); - match(HogQLParser::EQ_SINGLE); + identifier(); setState(834); + match(HogQLParser::EQ_SINGLE); + setState(835); match(HogQLParser::STRING_LITERAL); break; } case 2: { enterOuterAlt(_localctx, 2); - setState(836); - identifier(); setState(837); - match(HogQLParser::EQ_SINGLE); + identifier(); setState(838); - match(HogQLParser::LBRACE); + match(HogQLParser::EQ_SINGLE); setState(839); - columnExpr(0); + match(HogQLParser::LBRACE); setState(840); + columnExpr(0); + setState(841); match(HogQLParser::RBRACE); break; } case 3: { enterOuterAlt(_localctx, 3); - setState(842); + setState(843); identifier(); break; } @@ -7207,17 +7218,17 @@ HogQLParser::WithExprListContext* HogQLParser::withExprList() { }); try { enterOuterAlt(_localctx, 1); - setState(845); + setState(846); withExpr(); - setState(850); + setState(851); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(846); - match(HogQLParser::COMMA); setState(847); + match(HogQLParser::COMMA); + setState(848); withExpr(); - setState(852); + setState(853); _errHandler->sync(this); _la = _input->LA(1); } @@ -7313,21 +7324,21 @@ HogQLParser::WithExprContext* HogQLParser::withExpr() { exitRule(); }); try { - setState(863); + setState(864); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 103, _ctx)) { case 1: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 1); - setState(853); - identifier(); setState(854); - match(HogQLParser::AS); + identifier(); setState(855); - match(HogQLParser::LPAREN); + match(HogQLParser::AS); setState(856); - selectUnionStmt(); + match(HogQLParser::LPAREN); setState(857); + selectUnionStmt(); + setState(858); match(HogQLParser::RPAREN); break; } @@ -7335,11 +7346,11 @@ HogQLParser::WithExprContext* HogQLParser::withExpr() { case 2: { _localctx = _tracker.createInstance(_localctx); enterOuterAlt(_localctx, 2); - setState(859); - columnExpr(0); setState(860); - match(HogQLParser::AS); + columnExpr(0); setState(861); + match(HogQLParser::AS); + setState(862); identifier(); break; } @@ -7405,12 +7416,12 @@ HogQLParser::ColumnIdentifierContext* HogQLParser::columnIdentifier() { exitRule(); }); try { - setState(872); + setState(873); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::LBRACE: { enterOuterAlt(_localctx, 1); - setState(865); + setState(866); placeholder(); break; } @@ -7603,14 +7614,14 @@ HogQLParser::ColumnIdentifierContext* HogQLParser::columnIdentifier() { case HogQLParser::JSON_TRUE: case HogQLParser::IDENTIFIER: { enterOuterAlt(_localctx, 2); - setState(869); + setState(870); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 104, _ctx)) { case 1: { - setState(866); - tableIdentifier(); setState(867); + tableIdentifier(); + setState(868); match(HogQLParser::DOT); break; } @@ -7618,7 +7629,7 @@ HogQLParser::ColumnIdentifierContext* HogQLParser::columnIdentifier() { default: break; } - setState(871); + setState(872); nestedIdentifier(); break; } @@ -7686,19 +7697,19 @@ HogQLParser::NestedIdentifierContext* HogQLParser::nestedIdentifier() { try { size_t alt; enterOuterAlt(_localctx, 1); - setState(874); + setState(875); identifier(); - setState(879); + setState(880); _errHandler->sync(this); alt = getInterpreter()->adaptivePredict(_input, 106, _ctx); while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) { if (alt == 1) { - setState(875); - match(HogQLParser::DOT); setState(876); + match(HogQLParser::DOT); + setState(877); identifier(); } - setState(881); + setState(882); _errHandler->sync(this); alt = getInterpreter()->adaptivePredict(_input, 106, _ctx); } @@ -7864,7 +7875,7 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { try { size_t alt; enterOuterAlt(_localctx, 1); - setState(891); + setState(892); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 107, _ctx)) { case 1: { @@ -7872,7 +7883,7 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { _ctx = _localctx; previousContext = _localctx; - setState(883); + setState(884); tableIdentifier(); break; } @@ -7881,7 +7892,7 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(884); + setState(885); tableFunctionExpr(); break; } @@ -7890,11 +7901,11 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(885); - match(HogQLParser::LPAREN); setState(886); - selectUnionStmt(); + match(HogQLParser::LPAREN); setState(887); + selectUnionStmt(); + setState(888); match(HogQLParser::RPAREN); break; } @@ -7903,7 +7914,7 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(889); + setState(890); hogqlxTagElement(); break; } @@ -7912,7 +7923,7 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { _localctx = _tracker.createInstance(_localctx); _ctx = _localctx; previousContext = _localctx; - setState(890); + setState(891); placeholder(); break; } @@ -7921,7 +7932,7 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { break; } _ctx->stop = _input->LT(-1); - setState(901); + setState(902); _errHandler->sync(this); alt = getInterpreter()->adaptivePredict(_input, 109, _ctx); while (alt != 2 && alt != atn::ATN::INVALID_ALT_NUMBER) { @@ -7932,10 +7943,10 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { auto newContext = _tracker.createInstance(_tracker.createInstance(parentContext, parentState)); _localctx = newContext; pushNewRecursionContext(newContext, startState, RuleTableExpr); - setState(893); + setState(894); if (!(precpred(_ctx, 3))) throw FailedPredicateException(this, "precpred(_ctx, 3)"); - setState(897); + setState(898); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::DATE: @@ -7943,15 +7954,15 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { case HogQLParser::ID: case HogQLParser::KEY: case HogQLParser::IDENTIFIER: { - setState(894); + setState(895); alias(); break; } case HogQLParser::AS: { - setState(895); - match(HogQLParser::AS); setState(896); + match(HogQLParser::AS); + setState(897); identifier(); break; } @@ -7960,7 +7971,7 @@ HogQLParser::TableExprContext* HogQLParser::tableExpr(int precedence) { throw NoViableAltException(this); } } - setState(903); + setState(904); _errHandler->sync(this); alt = getInterpreter()->adaptivePredict(_input, 109, _ctx); } @@ -8022,11 +8033,11 @@ HogQLParser::TableFunctionExprContext* HogQLParser::tableFunctionExpr() { }); try { enterOuterAlt(_localctx, 1); - setState(904); - identifier(); setState(905); + identifier(); + setState(906); match(HogQLParser::LPAREN); - setState(907); + setState(908); _errHandler->sync(this); _la = _input->LA(1); @@ -8035,10 +8046,10 @@ HogQLParser::TableFunctionExprContext* HogQLParser::tableFunctionExpr() { ((1ULL << (_la - 64)) & -1) != 0) || ((((_la - 128) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 128)) & -9) != 0) || ((((_la - 192) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 192)) & 70263309817) != 0)) { - setState(906); + setState(907); tableArgList(); } - setState(909); + setState(910); match(HogQLParser::RPAREN); } @@ -8095,14 +8106,14 @@ HogQLParser::TableIdentifierContext* HogQLParser::tableIdentifier() { }); try { enterOuterAlt(_localctx, 1); - setState(914); + setState(915); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 111, _ctx)) { case 1: { - setState(911); - databaseIdentifier(); setState(912); + databaseIdentifier(); + setState(913); match(HogQLParser::DOT); break; } @@ -8110,7 +8121,7 @@ HogQLParser::TableIdentifierContext* HogQLParser::tableIdentifier() { default: break; } - setState(916); + setState(917); identifier(); } @@ -8172,17 +8183,17 @@ HogQLParser::TableArgListContext* HogQLParser::tableArgList() { }); try { enterOuterAlt(_localctx, 1); - setState(918); + setState(919); columnExpr(0); - setState(923); + setState(924); _errHandler->sync(this); _la = _input->LA(1); while (_la == HogQLParser::COMMA) { - setState(919); - match(HogQLParser::COMMA); setState(920); + match(HogQLParser::COMMA); + setState(921); columnExpr(0); - setState(925); + setState(926); _errHandler->sync(this); _la = _input->LA(1); } @@ -8233,7 +8244,7 @@ HogQLParser::DatabaseIdentifierContext* HogQLParser::databaseIdentifier() { }); try { enterOuterAlt(_localctx, 1); - setState(926); + setState(927); identifier(); } @@ -8298,21 +8309,21 @@ HogQLParser::FloatingLiteralContext* HogQLParser::floatingLiteral() { exitRule(); }); try { - setState(936); + setState(937); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::FLOATING_LITERAL: { enterOuterAlt(_localctx, 1); - setState(928); + setState(929); match(HogQLParser::FLOATING_LITERAL); break; } case HogQLParser::DOT: { enterOuterAlt(_localctx, 2); - setState(929); - match(HogQLParser::DOT); setState(930); + match(HogQLParser::DOT); + setState(931); _la = _input->LA(1); if (!(_la == HogQLParser::OCTAL_LITERAL @@ -8328,16 +8339,16 @@ HogQLParser::FloatingLiteralContext* HogQLParser::floatingLiteral() { case HogQLParser::DECIMAL_LITERAL: { enterOuterAlt(_localctx, 3); - setState(931); - match(HogQLParser::DECIMAL_LITERAL); setState(932); + match(HogQLParser::DECIMAL_LITERAL); + setState(933); match(HogQLParser::DOT); - setState(934); + setState(935); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 113, _ctx)) { case 1: { - setState(933); + setState(934); _la = _input->LA(1); if (!(_la == HogQLParser::OCTAL_LITERAL @@ -8436,14 +8447,14 @@ HogQLParser::NumberLiteralContext* HogQLParser::numberLiteral() { }); try { enterOuterAlt(_localctx, 1); - setState(939); + setState(940); _errHandler->sync(this); _la = _input->LA(1); if (_la == HogQLParser::DASH || _la == HogQLParser::PLUS) { - setState(938); + setState(939); _la = _input->LA(1); if (!(_la == HogQLParser::DASH @@ -8455,41 +8466,41 @@ HogQLParser::NumberLiteralContext* HogQLParser::numberLiteral() { consume(); } } - setState(947); + setState(948); _errHandler->sync(this); switch (getInterpreter()->adaptivePredict(_input, 116, _ctx)) { case 1: { - setState(941); + setState(942); floatingLiteral(); break; } case 2: { - setState(942); + setState(943); match(HogQLParser::OCTAL_LITERAL); break; } case 3: { - setState(943); + setState(944); match(HogQLParser::DECIMAL_LITERAL); break; } case 4: { - setState(944); + setState(945); match(HogQLParser::HEXADECIMAL_LITERAL); break; } case 5: { - setState(945); + setState(946); match(HogQLParser::INF); break; } case 6: { - setState(946); + setState(947); match(HogQLParser::NAN_SQL); break; } @@ -8551,7 +8562,7 @@ HogQLParser::LiteralContext* HogQLParser::literal() { exitRule(); }); try { - setState(952); + setState(953); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::INF: @@ -8564,21 +8575,21 @@ HogQLParser::LiteralContext* HogQLParser::literal() { case HogQLParser::DOT: case HogQLParser::PLUS: { enterOuterAlt(_localctx, 1); - setState(949); + setState(950); numberLiteral(); break; } case HogQLParser::STRING_LITERAL: { enterOuterAlt(_localctx, 2); - setState(950); + setState(951); match(HogQLParser::STRING_LITERAL); break; } case HogQLParser::NULL_SQL: { enterOuterAlt(_localctx, 3); - setState(951); + setState(952); match(HogQLParser::NULL_SQL); break; } @@ -8662,7 +8673,7 @@ HogQLParser::IntervalContext* HogQLParser::interval() { }); try { enterOuterAlt(_localctx, 1); - setState(954); + setState(955); _la = _input->LA(1); if (!(_la == HogQLParser::DAY || ((((_la - 76) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 76)) & 72057615512764417) != 0) || ((((_la - 145) & ~ 0x3fULL) == 0) && @@ -9429,7 +9440,7 @@ HogQLParser::KeywordContext* HogQLParser::keyword() { }); try { enterOuterAlt(_localctx, 1); - setState(956); + setState(957); _la = _input->LA(1); if (!(((((_la - 2) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 2)) & -34368126977) != 0) || ((((_la - 66) & ~ 0x3fULL) == 0) && @@ -9501,7 +9512,7 @@ HogQLParser::KeywordForAliasContext* HogQLParser::keywordForAlias() { }); try { enterOuterAlt(_localctx, 1); - setState(958); + setState(959); _la = _input->LA(1); if (!(((((_la - 36) & ~ 0x3fULL) == 0) && ((1ULL << (_la - 36)) & 36030996109328385) != 0))) { @@ -9561,12 +9572,12 @@ HogQLParser::AliasContext* HogQLParser::alias() { exitRule(); }); try { - setState(962); + setState(963); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::IDENTIFIER: { enterOuterAlt(_localctx, 1); - setState(960); + setState(961); match(HogQLParser::IDENTIFIER); break; } @@ -9576,7 +9587,7 @@ HogQLParser::AliasContext* HogQLParser::alias() { case HogQLParser::ID: case HogQLParser::KEY: { enterOuterAlt(_localctx, 2); - setState(961); + setState(962); keywordForAlias(); break; } @@ -9638,12 +9649,12 @@ HogQLParser::IdentifierContext* HogQLParser::identifier() { exitRule(); }); try { - setState(967); + setState(968); _errHandler->sync(this); switch (_input->LA(1)) { case HogQLParser::IDENTIFIER: { enterOuterAlt(_localctx, 1); - setState(964); + setState(965); match(HogQLParser::IDENTIFIER); break; } @@ -9657,7 +9668,7 @@ HogQLParser::IdentifierContext* HogQLParser::identifier() { case HogQLParser::WEEK: case HogQLParser::YEAR: { enterOuterAlt(_localctx, 2); - setState(965); + setState(966); interval(); break; } @@ -9841,7 +9852,7 @@ HogQLParser::IdentifierContext* HogQLParser::identifier() { case HogQLParser::JSON_FALSE: case HogQLParser::JSON_TRUE: { enterOuterAlt(_localctx, 3); - setState(966); + setState(967); keyword(); break; } @@ -9904,11 +9915,11 @@ HogQLParser::EnumValueContext* HogQLParser::enumValue() { }); try { enterOuterAlt(_localctx, 1); - setState(969); - match(HogQLParser::STRING_LITERAL); setState(970); - match(HogQLParser::EQ_SINGLE); + match(HogQLParser::STRING_LITERAL); setState(971); + match(HogQLParser::EQ_SINGLE); + setState(972); numberLiteral(); } @@ -9965,11 +9976,11 @@ HogQLParser::PlaceholderContext* HogQLParser::placeholder() { }); try { enterOuterAlt(_localctx, 1); - setState(973); - match(HogQLParser::LBRACE); setState(974); - identifier(); + match(HogQLParser::LBRACE); setState(975); + identifier(); + setState(976); match(HogQLParser::RBRACE); } diff --git a/hogql_parser/HogQLParser.h b/hogql_parser/HogQLParser.h index baefdb913aa91..49c38fad2be89 100644 --- a/hogql_parser/HogQLParser.h +++ b/hogql_parser/HogQLParser.h @@ -204,6 +204,7 @@ class HogQLParser : public antlr4::Parser { antlr4::tree::TerminalNode *LPAREN(); SelectUnionStmtContext *selectUnionStmt(); antlr4::tree::TerminalNode *RPAREN(); + PlaceholderContext *placeholder(); virtual std::any accept(antlr4::tree::ParseTreeVisitor *visitor) override; diff --git a/hogql_parser/HogQLParser.interp b/hogql_parser/HogQLParser.interp index a44e1fbc2501e..2b24b72a2819d 100644 --- a/hogql_parser/HogQLParser.interp +++ b/hogql_parser/HogQLParser.interp @@ -554,4 +554,4 @@ placeholder atn: -[4, 1, 242, 978, 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, 1, 0, 1, 0, 1, 0, 3, 0, 128, 8, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 136, 8, 1, 10, 1, 12, 1, 139, 9, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 3, 2, 146, 8, 2, 1, 3, 3, 3, 149, 8, 3, 1, 3, 1, 3, 3, 3, 153, 8, 3, 1, 3, 3, 3, 156, 8, 3, 1, 3, 1, 3, 3, 3, 160, 8, 3, 1, 3, 3, 3, 163, 8, 3, 1, 3, 3, 3, 166, 8, 3, 1, 3, 3, 3, 169, 8, 3, 1, 3, 3, 3, 172, 8, 3, 1, 3, 1, 3, 3, 3, 176, 8, 3, 1, 3, 1, 3, 3, 3, 180, 8, 3, 1, 3, 3, 3, 183, 8, 3, 1, 3, 3, 3, 186, 8, 3, 1, 3, 3, 3, 189, 8, 3, 1, 3, 1, 3, 3, 3, 193, 8, 3, 1, 3, 3, 3, 196, 8, 3, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 205, 8, 5, 1, 6, 1, 6, 1, 6, 1, 7, 3, 7, 211, 8, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 230, 8, 8, 10, 8, 12, 8, 233, 9, 8, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 3, 11, 249, 8, 11, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 266, 8, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 272, 8, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 278, 8, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 289, 8, 15, 3, 15, 291, 8, 15, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 3, 18, 302, 8, 18, 1, 18, 3, 18, 305, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 311, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 319, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 5, 18, 325, 8, 18, 10, 18, 12, 18, 328, 9, 18, 1, 19, 3, 19, 331, 8, 19, 1, 19, 1, 19, 1, 19, 3, 19, 336, 8, 19, 1, 19, 3, 19, 339, 8, 19, 1, 19, 3, 19, 342, 8, 19, 1, 19, 1, 19, 3, 19, 346, 8, 19, 1, 19, 1, 19, 3, 19, 350, 8, 19, 1, 19, 3, 19, 353, 8, 19, 3, 19, 355, 8, 19, 1, 19, 3, 19, 358, 8, 19, 1, 19, 1, 19, 3, 19, 362, 8, 19, 1, 19, 1, 19, 3, 19, 366, 8, 19, 1, 19, 3, 19, 369, 8, 19, 3, 19, 371, 8, 19, 3, 19, 373, 8, 19, 1, 20, 1, 20, 1, 20, 3, 20, 378, 8, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 389, 8, 21, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 395, 8, 22, 1, 23, 1, 23, 1, 23, 5, 23, 400, 8, 23, 10, 23, 12, 23, 403, 9, 23, 1, 24, 1, 24, 3, 24, 407, 8, 24, 1, 24, 1, 24, 3, 24, 411, 8, 24, 1, 24, 1, 24, 3, 24, 415, 8, 24, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 421, 8, 25, 3, 25, 423, 8, 25, 1, 26, 1, 26, 1, 26, 5, 26, 428, 8, 26, 10, 26, 12, 26, 431, 9, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 3, 28, 438, 8, 28, 1, 28, 3, 28, 441, 8, 28, 1, 28, 3, 28, 444, 8, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 463, 8, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 3, 33, 477, 8, 33, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 491, 8, 35, 10, 35, 12, 35, 494, 9, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 503, 8, 35, 10, 35, 12, 35, 506, 9, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 515, 8, 35, 10, 35, 12, 35, 518, 9, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 525, 8, 35, 1, 35, 1, 35, 3, 35, 529, 8, 35, 1, 36, 1, 36, 1, 36, 5, 36, 534, 8, 36, 10, 36, 12, 36, 537, 9, 36, 1, 37, 1, 37, 1, 37, 3, 37, 542, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 4, 37, 549, 8, 37, 11, 37, 12, 37, 550, 1, 37, 1, 37, 3, 37, 555, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 586, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 603, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 615, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 625, 8, 37, 1, 37, 3, 37, 628, 8, 37, 1, 37, 1, 37, 3, 37, 632, 8, 37, 1, 37, 3, 37, 635, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 648, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 665, 8, 37, 1, 37, 1, 37, 3, 37, 669, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 675, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 682, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 694, 8, 37, 1, 37, 1, 37, 3, 37, 698, 8, 37, 1, 37, 3, 37, 701, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 710, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 724, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 751, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 760, 8, 37, 5, 37, 762, 8, 37, 10, 37, 12, 37, 765, 9, 37, 1, 38, 1, 38, 1, 38, 5, 38, 770, 8, 38, 10, 38, 12, 38, 773, 9, 38, 1, 39, 1, 39, 3, 39, 777, 8, 39, 1, 40, 1, 40, 1, 40, 1, 40, 5, 40, 783, 8, 40, 10, 40, 12, 40, 786, 9, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 5, 40, 793, 8, 40, 10, 40, 12, 40, 796, 9, 40, 3, 40, 798, 8, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 5, 41, 806, 8, 41, 10, 41, 12, 41, 809, 9, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 5, 41, 817, 8, 41, 10, 41, 12, 41, 820, 9, 41, 1, 41, 1, 41, 3, 41, 824, 8, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 831, 8, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 3, 42, 844, 8, 42, 1, 43, 1, 43, 1, 43, 5, 43, 849, 8, 43, 10, 43, 12, 43, 852, 9, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 864, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 870, 8, 45, 1, 45, 3, 45, 873, 8, 45, 1, 46, 1, 46, 1, 46, 5, 46, 878, 8, 46, 10, 46, 12, 46, 881, 9, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 892, 8, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 898, 8, 47, 5, 47, 900, 8, 47, 10, 47, 12, 47, 903, 9, 47, 1, 48, 1, 48, 1, 48, 3, 48, 908, 8, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 3, 49, 915, 8, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 5, 50, 922, 8, 50, 10, 50, 12, 50, 925, 9, 50, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 935, 8, 52, 3, 52, 937, 8, 52, 1, 53, 3, 53, 940, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 948, 8, 53, 1, 54, 1, 54, 1, 54, 3, 54, 953, 8, 54, 1, 55, 1, 55, 1, 56, 1, 56, 1, 57, 1, 57, 1, 58, 1, 58, 3, 58, 963, 8, 58, 1, 59, 1, 59, 1, 59, 3, 59, 968, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 0, 3, 36, 74, 94, 62, 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, 0, 16, 2, 0, 32, 32, 141, 141, 2, 0, 84, 84, 96, 96, 3, 0, 4, 4, 8, 8, 12, 12, 4, 0, 4, 4, 7, 8, 12, 12, 147, 147, 2, 0, 96, 96, 140, 140, 2, 0, 4, 4, 8, 8, 2, 0, 11, 11, 42, 43, 2, 0, 62, 62, 93, 93, 2, 0, 133, 133, 143, 143, 3, 0, 17, 17, 95, 95, 170, 170, 2, 0, 79, 79, 98, 98, 1, 0, 197, 198, 2, 0, 208, 208, 228, 228, 8, 0, 37, 37, 76, 76, 108, 108, 110, 110, 132, 132, 145, 145, 185, 185, 190, 190, 13, 0, 2, 24, 26, 36, 38, 75, 77, 81, 83, 107, 109, 109, 111, 112, 114, 115, 117, 130, 133, 144, 146, 184, 186, 189, 191, 192, 4, 0, 36, 36, 62, 62, 77, 77, 91, 91, 1105, 0, 127, 1, 0, 0, 0, 2, 131, 1, 0, 0, 0, 4, 145, 1, 0, 0, 0, 6, 148, 1, 0, 0, 0, 8, 197, 1, 0, 0, 0, 10, 200, 1, 0, 0, 0, 12, 206, 1, 0, 0, 0, 14, 210, 1, 0, 0, 0, 16, 216, 1, 0, 0, 0, 18, 234, 1, 0, 0, 0, 20, 237, 1, 0, 0, 0, 22, 240, 1, 0, 0, 0, 24, 250, 1, 0, 0, 0, 26, 253, 1, 0, 0, 0, 28, 257, 1, 0, 0, 0, 30, 290, 1, 0, 0, 0, 32, 292, 1, 0, 0, 0, 34, 295, 1, 0, 0, 0, 36, 310, 1, 0, 0, 0, 38, 372, 1, 0, 0, 0, 40, 377, 1, 0, 0, 0, 42, 388, 1, 0, 0, 0, 44, 390, 1, 0, 0, 0, 46, 396, 1, 0, 0, 0, 48, 404, 1, 0, 0, 0, 50, 422, 1, 0, 0, 0, 52, 424, 1, 0, 0, 0, 54, 432, 1, 0, 0, 0, 56, 437, 1, 0, 0, 0, 58, 445, 1, 0, 0, 0, 60, 449, 1, 0, 0, 0, 62, 453, 1, 0, 0, 0, 64, 462, 1, 0, 0, 0, 66, 476, 1, 0, 0, 0, 68, 478, 1, 0, 0, 0, 70, 528, 1, 0, 0, 0, 72, 530, 1, 0, 0, 0, 74, 668, 1, 0, 0, 0, 76, 766, 1, 0, 0, 0, 78, 776, 1, 0, 0, 0, 80, 797, 1, 0, 0, 0, 82, 830, 1, 0, 0, 0, 84, 843, 1, 0, 0, 0, 86, 845, 1, 0, 0, 0, 88, 863, 1, 0, 0, 0, 90, 872, 1, 0, 0, 0, 92, 874, 1, 0, 0, 0, 94, 891, 1, 0, 0, 0, 96, 904, 1, 0, 0, 0, 98, 914, 1, 0, 0, 0, 100, 918, 1, 0, 0, 0, 102, 926, 1, 0, 0, 0, 104, 936, 1, 0, 0, 0, 106, 939, 1, 0, 0, 0, 108, 952, 1, 0, 0, 0, 110, 954, 1, 0, 0, 0, 112, 956, 1, 0, 0, 0, 114, 958, 1, 0, 0, 0, 116, 962, 1, 0, 0, 0, 118, 967, 1, 0, 0, 0, 120, 969, 1, 0, 0, 0, 122, 973, 1, 0, 0, 0, 124, 128, 3, 2, 1, 0, 125, 128, 3, 6, 3, 0, 126, 128, 3, 82, 41, 0, 127, 124, 1, 0, 0, 0, 127, 125, 1, 0, 0, 0, 127, 126, 1, 0, 0, 0, 128, 129, 1, 0, 0, 0, 129, 130, 5, 0, 0, 1, 130, 1, 1, 0, 0, 0, 131, 137, 3, 4, 2, 0, 132, 133, 5, 176, 0, 0, 133, 134, 5, 4, 0, 0, 134, 136, 3, 4, 2, 0, 135, 132, 1, 0, 0, 0, 136, 139, 1, 0, 0, 0, 137, 135, 1, 0, 0, 0, 137, 138, 1, 0, 0, 0, 138, 3, 1, 0, 0, 0, 139, 137, 1, 0, 0, 0, 140, 146, 3, 6, 3, 0, 141, 142, 5, 220, 0, 0, 142, 143, 3, 2, 1, 0, 143, 144, 5, 236, 0, 0, 144, 146, 1, 0, 0, 0, 145, 140, 1, 0, 0, 0, 145, 141, 1, 0, 0, 0, 146, 5, 1, 0, 0, 0, 147, 149, 3, 8, 4, 0, 148, 147, 1, 0, 0, 0, 148, 149, 1, 0, 0, 0, 149, 150, 1, 0, 0, 0, 150, 152, 5, 146, 0, 0, 151, 153, 5, 49, 0, 0, 152, 151, 1, 0, 0, 0, 152, 153, 1, 0, 0, 0, 153, 155, 1, 0, 0, 0, 154, 156, 3, 10, 5, 0, 155, 154, 1, 0, 0, 0, 155, 156, 1, 0, 0, 0, 156, 157, 1, 0, 0, 0, 157, 159, 3, 72, 36, 0, 158, 160, 3, 12, 6, 0, 159, 158, 1, 0, 0, 0, 159, 160, 1, 0, 0, 0, 160, 162, 1, 0, 0, 0, 161, 163, 3, 14, 7, 0, 162, 161, 1, 0, 0, 0, 162, 163, 1, 0, 0, 0, 163, 165, 1, 0, 0, 0, 164, 166, 3, 18, 9, 0, 165, 164, 1, 0, 0, 0, 165, 166, 1, 0, 0, 0, 166, 168, 1, 0, 0, 0, 167, 169, 3, 20, 10, 0, 168, 167, 1, 0, 0, 0, 168, 169, 1, 0, 0, 0, 169, 171, 1, 0, 0, 0, 170, 172, 3, 22, 11, 0, 171, 170, 1, 0, 0, 0, 171, 172, 1, 0, 0, 0, 172, 175, 1, 0, 0, 0, 173, 174, 5, 189, 0, 0, 174, 176, 7, 0, 0, 0, 175, 173, 1, 0, 0, 0, 175, 176, 1, 0, 0, 0, 176, 179, 1, 0, 0, 0, 177, 178, 5, 189, 0, 0, 178, 180, 5, 169, 0, 0, 179, 177, 1, 0, 0, 0, 179, 180, 1, 0, 0, 0, 180, 182, 1, 0, 0, 0, 181, 183, 3, 24, 12, 0, 182, 181, 1, 0, 0, 0, 182, 183, 1, 0, 0, 0, 183, 185, 1, 0, 0, 0, 184, 186, 3, 16, 8, 0, 185, 184, 1, 0, 0, 0, 185, 186, 1, 0, 0, 0, 186, 188, 1, 0, 0, 0, 187, 189, 3, 26, 13, 0, 188, 187, 1, 0, 0, 0, 188, 189, 1, 0, 0, 0, 189, 192, 1, 0, 0, 0, 190, 193, 3, 30, 15, 0, 191, 193, 3, 32, 16, 0, 192, 190, 1, 0, 0, 0, 192, 191, 1, 0, 0, 0, 192, 193, 1, 0, 0, 0, 193, 195, 1, 0, 0, 0, 194, 196, 3, 34, 17, 0, 195, 194, 1, 0, 0, 0, 195, 196, 1, 0, 0, 0, 196, 7, 1, 0, 0, 0, 197, 198, 5, 189, 0, 0, 198, 199, 3, 86, 43, 0, 199, 9, 1, 0, 0, 0, 200, 201, 5, 168, 0, 0, 201, 204, 5, 198, 0, 0, 202, 203, 5, 189, 0, 0, 203, 205, 5, 164, 0, 0, 204, 202, 1, 0, 0, 0, 204, 205, 1, 0, 0, 0, 205, 11, 1, 0, 0, 0, 206, 207, 5, 68, 0, 0, 207, 208, 3, 36, 18, 0, 208, 13, 1, 0, 0, 0, 209, 211, 7, 1, 0, 0, 210, 209, 1, 0, 0, 0, 210, 211, 1, 0, 0, 0, 211, 212, 1, 0, 0, 0, 212, 213, 5, 9, 0, 0, 213, 214, 5, 90, 0, 0, 214, 215, 3, 72, 36, 0, 215, 15, 1, 0, 0, 0, 216, 217, 5, 188, 0, 0, 217, 218, 3, 118, 59, 0, 218, 219, 5, 10, 0, 0, 219, 220, 5, 220, 0, 0, 220, 221, 3, 56, 28, 0, 221, 231, 5, 236, 0, 0, 222, 223, 5, 206, 0, 0, 223, 224, 3, 118, 59, 0, 224, 225, 5, 10, 0, 0, 225, 226, 5, 220, 0, 0, 226, 227, 3, 56, 28, 0, 227, 228, 5, 236, 0, 0, 228, 230, 1, 0, 0, 0, 229, 222, 1, 0, 0, 0, 230, 233, 1, 0, 0, 0, 231, 229, 1, 0, 0, 0, 231, 232, 1, 0, 0, 0, 232, 17, 1, 0, 0, 0, 233, 231, 1, 0, 0, 0, 234, 235, 5, 129, 0, 0, 235, 236, 3, 74, 37, 0, 236, 19, 1, 0, 0, 0, 237, 238, 5, 187, 0, 0, 238, 239, 3, 74, 37, 0, 239, 21, 1, 0, 0, 0, 240, 241, 5, 73, 0, 0, 241, 248, 5, 18, 0, 0, 242, 243, 7, 0, 0, 0, 243, 244, 5, 220, 0, 0, 244, 245, 3, 72, 36, 0, 245, 246, 5, 236, 0, 0, 246, 249, 1, 0, 0, 0, 247, 249, 3, 72, 36, 0, 248, 242, 1, 0, 0, 0, 248, 247, 1, 0, 0, 0, 249, 23, 1, 0, 0, 0, 250, 251, 5, 74, 0, 0, 251, 252, 3, 74, 37, 0, 252, 25, 1, 0, 0, 0, 253, 254, 5, 122, 0, 0, 254, 255, 5, 18, 0, 0, 255, 256, 3, 46, 23, 0, 256, 27, 1, 0, 0, 0, 257, 258, 5, 122, 0, 0, 258, 259, 5, 18, 0, 0, 259, 260, 3, 72, 36, 0, 260, 29, 1, 0, 0, 0, 261, 262, 5, 99, 0, 0, 262, 265, 3, 74, 37, 0, 263, 264, 5, 206, 0, 0, 264, 266, 3, 74, 37, 0, 265, 263, 1, 0, 0, 0, 265, 266, 1, 0, 0, 0, 266, 271, 1, 0, 0, 0, 267, 268, 5, 189, 0, 0, 268, 272, 5, 164, 0, 0, 269, 270, 5, 18, 0, 0, 270, 272, 3, 72, 36, 0, 271, 267, 1, 0, 0, 0, 271, 269, 1, 0, 0, 0, 271, 272, 1, 0, 0, 0, 272, 291, 1, 0, 0, 0, 273, 274, 5, 99, 0, 0, 274, 277, 3, 74, 37, 0, 275, 276, 5, 189, 0, 0, 276, 278, 5, 164, 0, 0, 277, 275, 1, 0, 0, 0, 277, 278, 1, 0, 0, 0, 278, 279, 1, 0, 0, 0, 279, 280, 5, 118, 0, 0, 280, 281, 3, 74, 37, 0, 281, 291, 1, 0, 0, 0, 282, 283, 5, 99, 0, 0, 283, 284, 3, 74, 37, 0, 284, 285, 5, 118, 0, 0, 285, 288, 3, 74, 37, 0, 286, 287, 5, 18, 0, 0, 287, 289, 3, 72, 36, 0, 288, 286, 1, 0, 0, 0, 288, 289, 1, 0, 0, 0, 289, 291, 1, 0, 0, 0, 290, 261, 1, 0, 0, 0, 290, 273, 1, 0, 0, 0, 290, 282, 1, 0, 0, 0, 291, 31, 1, 0, 0, 0, 292, 293, 5, 118, 0, 0, 293, 294, 3, 74, 37, 0, 294, 33, 1, 0, 0, 0, 295, 296, 5, 150, 0, 0, 296, 297, 3, 52, 26, 0, 297, 35, 1, 0, 0, 0, 298, 299, 6, 18, -1, 0, 299, 301, 3, 94, 47, 0, 300, 302, 5, 61, 0, 0, 301, 300, 1, 0, 0, 0, 301, 302, 1, 0, 0, 0, 302, 304, 1, 0, 0, 0, 303, 305, 3, 44, 22, 0, 304, 303, 1, 0, 0, 0, 304, 305, 1, 0, 0, 0, 305, 311, 1, 0, 0, 0, 306, 307, 5, 220, 0, 0, 307, 308, 3, 36, 18, 0, 308, 309, 5, 236, 0, 0, 309, 311, 1, 0, 0, 0, 310, 298, 1, 0, 0, 0, 310, 306, 1, 0, 0, 0, 311, 326, 1, 0, 0, 0, 312, 313, 10, 3, 0, 0, 313, 314, 3, 40, 20, 0, 314, 315, 3, 36, 18, 4, 315, 325, 1, 0, 0, 0, 316, 318, 10, 4, 0, 0, 317, 319, 3, 38, 19, 0, 318, 317, 1, 0, 0, 0, 318, 319, 1, 0, 0, 0, 319, 320, 1, 0, 0, 0, 320, 321, 5, 90, 0, 0, 321, 322, 3, 36, 18, 0, 322, 323, 3, 42, 21, 0, 323, 325, 1, 0, 0, 0, 324, 312, 1, 0, 0, 0, 324, 316, 1, 0, 0, 0, 325, 328, 1, 0, 0, 0, 326, 324, 1, 0, 0, 0, 326, 327, 1, 0, 0, 0, 327, 37, 1, 0, 0, 0, 328, 326, 1, 0, 0, 0, 329, 331, 7, 2, 0, 0, 330, 329, 1, 0, 0, 0, 330, 331, 1, 0, 0, 0, 331, 332, 1, 0, 0, 0, 332, 339, 5, 84, 0, 0, 333, 335, 5, 84, 0, 0, 334, 336, 7, 2, 0, 0, 335, 334, 1, 0, 0, 0, 335, 336, 1, 0, 0, 0, 336, 339, 1, 0, 0, 0, 337, 339, 7, 2, 0, 0, 338, 330, 1, 0, 0, 0, 338, 333, 1, 0, 0, 0, 338, 337, 1, 0, 0, 0, 339, 373, 1, 0, 0, 0, 340, 342, 7, 3, 0, 0, 341, 340, 1, 0, 0, 0, 341, 342, 1, 0, 0, 0, 342, 343, 1, 0, 0, 0, 343, 345, 7, 4, 0, 0, 344, 346, 5, 123, 0, 0, 345, 344, 1, 0, 0, 0, 345, 346, 1, 0, 0, 0, 346, 355, 1, 0, 0, 0, 347, 349, 7, 4, 0, 0, 348, 350, 5, 123, 0, 0, 349, 348, 1, 0, 0, 0, 349, 350, 1, 0, 0, 0, 350, 352, 1, 0, 0, 0, 351, 353, 7, 3, 0, 0, 352, 351, 1, 0, 0, 0, 352, 353, 1, 0, 0, 0, 353, 355, 1, 0, 0, 0, 354, 341, 1, 0, 0, 0, 354, 347, 1, 0, 0, 0, 355, 373, 1, 0, 0, 0, 356, 358, 7, 5, 0, 0, 357, 356, 1, 0, 0, 0, 357, 358, 1, 0, 0, 0, 358, 359, 1, 0, 0, 0, 359, 361, 5, 69, 0, 0, 360, 362, 5, 123, 0, 0, 361, 360, 1, 0, 0, 0, 361, 362, 1, 0, 0, 0, 362, 371, 1, 0, 0, 0, 363, 365, 5, 69, 0, 0, 364, 366, 5, 123, 0, 0, 365, 364, 1, 0, 0, 0, 365, 366, 1, 0, 0, 0, 366, 368, 1, 0, 0, 0, 367, 369, 7, 5, 0, 0, 368, 367, 1, 0, 0, 0, 368, 369, 1, 0, 0, 0, 369, 371, 1, 0, 0, 0, 370, 357, 1, 0, 0, 0, 370, 363, 1, 0, 0, 0, 371, 373, 1, 0, 0, 0, 372, 338, 1, 0, 0, 0, 372, 354, 1, 0, 0, 0, 372, 370, 1, 0, 0, 0, 373, 39, 1, 0, 0, 0, 374, 375, 5, 31, 0, 0, 375, 378, 5, 90, 0, 0, 376, 378, 5, 206, 0, 0, 377, 374, 1, 0, 0, 0, 377, 376, 1, 0, 0, 0, 378, 41, 1, 0, 0, 0, 379, 380, 5, 119, 0, 0, 380, 389, 3, 72, 36, 0, 381, 382, 5, 179, 0, 0, 382, 383, 5, 220, 0, 0, 383, 384, 3, 72, 36, 0, 384, 385, 5, 236, 0, 0, 385, 389, 1, 0, 0, 0, 386, 387, 5, 179, 0, 0, 387, 389, 3, 72, 36, 0, 388, 379, 1, 0, 0, 0, 388, 381, 1, 0, 0, 0, 388, 386, 1, 0, 0, 0, 389, 43, 1, 0, 0, 0, 390, 391, 5, 144, 0, 0, 391, 394, 3, 50, 25, 0, 392, 393, 5, 118, 0, 0, 393, 395, 3, 50, 25, 0, 394, 392, 1, 0, 0, 0, 394, 395, 1, 0, 0, 0, 395, 45, 1, 0, 0, 0, 396, 401, 3, 48, 24, 0, 397, 398, 5, 206, 0, 0, 398, 400, 3, 48, 24, 0, 399, 397, 1, 0, 0, 0, 400, 403, 1, 0, 0, 0, 401, 399, 1, 0, 0, 0, 401, 402, 1, 0, 0, 0, 402, 47, 1, 0, 0, 0, 403, 401, 1, 0, 0, 0, 404, 406, 3, 74, 37, 0, 405, 407, 7, 6, 0, 0, 406, 405, 1, 0, 0, 0, 406, 407, 1, 0, 0, 0, 407, 410, 1, 0, 0, 0, 408, 409, 5, 117, 0, 0, 409, 411, 7, 7, 0, 0, 410, 408, 1, 0, 0, 0, 410, 411, 1, 0, 0, 0, 411, 414, 1, 0, 0, 0, 412, 413, 5, 26, 0, 0, 413, 415, 5, 200, 0, 0, 414, 412, 1, 0, 0, 0, 414, 415, 1, 0, 0, 0, 415, 49, 1, 0, 0, 0, 416, 423, 3, 122, 61, 0, 417, 420, 3, 106, 53, 0, 418, 419, 5, 238, 0, 0, 419, 421, 3, 106, 53, 0, 420, 418, 1, 0, 0, 0, 420, 421, 1, 0, 0, 0, 421, 423, 1, 0, 0, 0, 422, 416, 1, 0, 0, 0, 422, 417, 1, 0, 0, 0, 423, 51, 1, 0, 0, 0, 424, 429, 3, 54, 27, 0, 425, 426, 5, 206, 0, 0, 426, 428, 3, 54, 27, 0, 427, 425, 1, 0, 0, 0, 428, 431, 1, 0, 0, 0, 429, 427, 1, 0, 0, 0, 429, 430, 1, 0, 0, 0, 430, 53, 1, 0, 0, 0, 431, 429, 1, 0, 0, 0, 432, 433, 3, 118, 59, 0, 433, 434, 5, 212, 0, 0, 434, 435, 3, 108, 54, 0, 435, 55, 1, 0, 0, 0, 436, 438, 3, 58, 29, 0, 437, 436, 1, 0, 0, 0, 437, 438, 1, 0, 0, 0, 438, 440, 1, 0, 0, 0, 439, 441, 3, 60, 30, 0, 440, 439, 1, 0, 0, 0, 440, 441, 1, 0, 0, 0, 441, 443, 1, 0, 0, 0, 442, 444, 3, 62, 31, 0, 443, 442, 1, 0, 0, 0, 443, 444, 1, 0, 0, 0, 444, 57, 1, 0, 0, 0, 445, 446, 5, 126, 0, 0, 446, 447, 5, 18, 0, 0, 447, 448, 3, 72, 36, 0, 448, 59, 1, 0, 0, 0, 449, 450, 5, 122, 0, 0, 450, 451, 5, 18, 0, 0, 451, 452, 3, 46, 23, 0, 452, 61, 1, 0, 0, 0, 453, 454, 7, 8, 0, 0, 454, 455, 3, 64, 32, 0, 455, 63, 1, 0, 0, 0, 456, 463, 3, 66, 33, 0, 457, 458, 5, 16, 0, 0, 458, 459, 3, 66, 33, 0, 459, 460, 5, 6, 0, 0, 460, 461, 3, 66, 33, 0, 461, 463, 1, 0, 0, 0, 462, 456, 1, 0, 0, 0, 462, 457, 1, 0, 0, 0, 463, 65, 1, 0, 0, 0, 464, 465, 5, 33, 0, 0, 465, 477, 5, 142, 0, 0, 466, 467, 5, 175, 0, 0, 467, 477, 5, 128, 0, 0, 468, 469, 5, 175, 0, 0, 469, 477, 5, 64, 0, 0, 470, 471, 3, 106, 53, 0, 471, 472, 5, 128, 0, 0, 472, 477, 1, 0, 0, 0, 473, 474, 3, 106, 53, 0, 474, 475, 5, 64, 0, 0, 475, 477, 1, 0, 0, 0, 476, 464, 1, 0, 0, 0, 476, 466, 1, 0, 0, 0, 476, 468, 1, 0, 0, 0, 476, 470, 1, 0, 0, 0, 476, 473, 1, 0, 0, 0, 477, 67, 1, 0, 0, 0, 478, 479, 3, 74, 37, 0, 479, 480, 5, 0, 0, 1, 480, 69, 1, 0, 0, 0, 481, 529, 3, 118, 59, 0, 482, 483, 3, 118, 59, 0, 483, 484, 5, 220, 0, 0, 484, 485, 3, 118, 59, 0, 485, 492, 3, 70, 35, 0, 486, 487, 5, 206, 0, 0, 487, 488, 3, 118, 59, 0, 488, 489, 3, 70, 35, 0, 489, 491, 1, 0, 0, 0, 490, 486, 1, 0, 0, 0, 491, 494, 1, 0, 0, 0, 492, 490, 1, 0, 0, 0, 492, 493, 1, 0, 0, 0, 493, 495, 1, 0, 0, 0, 494, 492, 1, 0, 0, 0, 495, 496, 5, 236, 0, 0, 496, 529, 1, 0, 0, 0, 497, 498, 3, 118, 59, 0, 498, 499, 5, 220, 0, 0, 499, 504, 3, 120, 60, 0, 500, 501, 5, 206, 0, 0, 501, 503, 3, 120, 60, 0, 502, 500, 1, 0, 0, 0, 503, 506, 1, 0, 0, 0, 504, 502, 1, 0, 0, 0, 504, 505, 1, 0, 0, 0, 505, 507, 1, 0, 0, 0, 506, 504, 1, 0, 0, 0, 507, 508, 5, 236, 0, 0, 508, 529, 1, 0, 0, 0, 509, 510, 3, 118, 59, 0, 510, 511, 5, 220, 0, 0, 511, 516, 3, 70, 35, 0, 512, 513, 5, 206, 0, 0, 513, 515, 3, 70, 35, 0, 514, 512, 1, 0, 0, 0, 515, 518, 1, 0, 0, 0, 516, 514, 1, 0, 0, 0, 516, 517, 1, 0, 0, 0, 517, 519, 1, 0, 0, 0, 518, 516, 1, 0, 0, 0, 519, 520, 5, 236, 0, 0, 520, 529, 1, 0, 0, 0, 521, 522, 3, 118, 59, 0, 522, 524, 5, 220, 0, 0, 523, 525, 3, 72, 36, 0, 524, 523, 1, 0, 0, 0, 524, 525, 1, 0, 0, 0, 525, 526, 1, 0, 0, 0, 526, 527, 5, 236, 0, 0, 527, 529, 1, 0, 0, 0, 528, 481, 1, 0, 0, 0, 528, 482, 1, 0, 0, 0, 528, 497, 1, 0, 0, 0, 528, 509, 1, 0, 0, 0, 528, 521, 1, 0, 0, 0, 529, 71, 1, 0, 0, 0, 530, 535, 3, 74, 37, 0, 531, 532, 5, 206, 0, 0, 532, 534, 3, 74, 37, 0, 533, 531, 1, 0, 0, 0, 534, 537, 1, 0, 0, 0, 535, 533, 1, 0, 0, 0, 535, 536, 1, 0, 0, 0, 536, 73, 1, 0, 0, 0, 537, 535, 1, 0, 0, 0, 538, 539, 6, 37, -1, 0, 539, 541, 5, 19, 0, 0, 540, 542, 3, 74, 37, 0, 541, 540, 1, 0, 0, 0, 541, 542, 1, 0, 0, 0, 542, 548, 1, 0, 0, 0, 543, 544, 5, 186, 0, 0, 544, 545, 3, 74, 37, 0, 545, 546, 5, 163, 0, 0, 546, 547, 3, 74, 37, 0, 547, 549, 1, 0, 0, 0, 548, 543, 1, 0, 0, 0, 549, 550, 1, 0, 0, 0, 550, 548, 1, 0, 0, 0, 550, 551, 1, 0, 0, 0, 551, 554, 1, 0, 0, 0, 552, 553, 5, 52, 0, 0, 553, 555, 3, 74, 37, 0, 554, 552, 1, 0, 0, 0, 554, 555, 1, 0, 0, 0, 555, 556, 1, 0, 0, 0, 556, 557, 5, 53, 0, 0, 557, 669, 1, 0, 0, 0, 558, 559, 5, 20, 0, 0, 559, 560, 5, 220, 0, 0, 560, 561, 3, 74, 37, 0, 561, 562, 5, 10, 0, 0, 562, 563, 3, 70, 35, 0, 563, 564, 5, 236, 0, 0, 564, 669, 1, 0, 0, 0, 565, 566, 5, 36, 0, 0, 566, 669, 5, 200, 0, 0, 567, 568, 5, 59, 0, 0, 568, 569, 5, 220, 0, 0, 569, 570, 3, 110, 55, 0, 570, 571, 5, 68, 0, 0, 571, 572, 3, 74, 37, 0, 572, 573, 5, 236, 0, 0, 573, 669, 1, 0, 0, 0, 574, 575, 5, 86, 0, 0, 575, 576, 3, 74, 37, 0, 576, 577, 3, 110, 55, 0, 577, 669, 1, 0, 0, 0, 578, 579, 5, 155, 0, 0, 579, 580, 5, 220, 0, 0, 580, 581, 3, 74, 37, 0, 581, 582, 5, 68, 0, 0, 582, 585, 3, 74, 37, 0, 583, 584, 5, 65, 0, 0, 584, 586, 3, 74, 37, 0, 585, 583, 1, 0, 0, 0, 585, 586, 1, 0, 0, 0, 586, 587, 1, 0, 0, 0, 587, 588, 5, 236, 0, 0, 588, 669, 1, 0, 0, 0, 589, 590, 5, 166, 0, 0, 590, 669, 5, 200, 0, 0, 591, 592, 5, 171, 0, 0, 592, 593, 5, 220, 0, 0, 593, 594, 7, 9, 0, 0, 594, 595, 5, 200, 0, 0, 595, 596, 5, 68, 0, 0, 596, 597, 3, 74, 37, 0, 597, 598, 5, 236, 0, 0, 598, 669, 1, 0, 0, 0, 599, 600, 3, 118, 59, 0, 600, 602, 5, 220, 0, 0, 601, 603, 3, 72, 36, 0, 602, 601, 1, 0, 0, 0, 602, 603, 1, 0, 0, 0, 603, 604, 1, 0, 0, 0, 604, 605, 5, 236, 0, 0, 605, 606, 1, 0, 0, 0, 606, 607, 5, 125, 0, 0, 607, 608, 5, 220, 0, 0, 608, 609, 3, 56, 28, 0, 609, 610, 5, 236, 0, 0, 610, 669, 1, 0, 0, 0, 611, 612, 3, 118, 59, 0, 612, 614, 5, 220, 0, 0, 613, 615, 3, 72, 36, 0, 614, 613, 1, 0, 0, 0, 614, 615, 1, 0, 0, 0, 615, 616, 1, 0, 0, 0, 616, 617, 5, 236, 0, 0, 617, 618, 1, 0, 0, 0, 618, 619, 5, 125, 0, 0, 619, 620, 3, 118, 59, 0, 620, 669, 1, 0, 0, 0, 621, 627, 3, 118, 59, 0, 622, 624, 5, 220, 0, 0, 623, 625, 3, 72, 36, 0, 624, 623, 1, 0, 0, 0, 624, 625, 1, 0, 0, 0, 625, 626, 1, 0, 0, 0, 626, 628, 5, 236, 0, 0, 627, 622, 1, 0, 0, 0, 627, 628, 1, 0, 0, 0, 628, 629, 1, 0, 0, 0, 629, 631, 5, 220, 0, 0, 630, 632, 5, 49, 0, 0, 631, 630, 1, 0, 0, 0, 631, 632, 1, 0, 0, 0, 632, 634, 1, 0, 0, 0, 633, 635, 3, 76, 38, 0, 634, 633, 1, 0, 0, 0, 634, 635, 1, 0, 0, 0, 635, 636, 1, 0, 0, 0, 636, 637, 5, 236, 0, 0, 637, 669, 1, 0, 0, 0, 638, 669, 3, 82, 41, 0, 639, 669, 3, 108, 54, 0, 640, 641, 5, 208, 0, 0, 641, 669, 3, 74, 37, 18, 642, 643, 5, 115, 0, 0, 643, 669, 3, 74, 37, 12, 644, 645, 3, 98, 49, 0, 645, 646, 5, 210, 0, 0, 646, 648, 1, 0, 0, 0, 647, 644, 1, 0, 0, 0, 647, 648, 1, 0, 0, 0, 648, 649, 1, 0, 0, 0, 649, 669, 5, 202, 0, 0, 650, 651, 5, 220, 0, 0, 651, 652, 3, 2, 1, 0, 652, 653, 5, 236, 0, 0, 653, 669, 1, 0, 0, 0, 654, 655, 5, 220, 0, 0, 655, 656, 3, 74, 37, 0, 656, 657, 5, 236, 0, 0, 657, 669, 1, 0, 0, 0, 658, 659, 5, 220, 0, 0, 659, 660, 3, 72, 36, 0, 660, 661, 5, 236, 0, 0, 661, 669, 1, 0, 0, 0, 662, 664, 5, 219, 0, 0, 663, 665, 3, 72, 36, 0, 664, 663, 1, 0, 0, 0, 664, 665, 1, 0, 0, 0, 665, 666, 1, 0, 0, 0, 666, 669, 5, 235, 0, 0, 667, 669, 3, 90, 45, 0, 668, 538, 1, 0, 0, 0, 668, 558, 1, 0, 0, 0, 668, 565, 1, 0, 0, 0, 668, 567, 1, 0, 0, 0, 668, 574, 1, 0, 0, 0, 668, 578, 1, 0, 0, 0, 668, 589, 1, 0, 0, 0, 668, 591, 1, 0, 0, 0, 668, 599, 1, 0, 0, 0, 668, 611, 1, 0, 0, 0, 668, 621, 1, 0, 0, 0, 668, 638, 1, 0, 0, 0, 668, 639, 1, 0, 0, 0, 668, 640, 1, 0, 0, 0, 668, 642, 1, 0, 0, 0, 668, 647, 1, 0, 0, 0, 668, 650, 1, 0, 0, 0, 668, 654, 1, 0, 0, 0, 668, 658, 1, 0, 0, 0, 668, 662, 1, 0, 0, 0, 668, 667, 1, 0, 0, 0, 669, 763, 1, 0, 0, 0, 670, 674, 10, 17, 0, 0, 671, 675, 5, 202, 0, 0, 672, 675, 5, 238, 0, 0, 673, 675, 5, 227, 0, 0, 674, 671, 1, 0, 0, 0, 674, 672, 1, 0, 0, 0, 674, 673, 1, 0, 0, 0, 675, 676, 1, 0, 0, 0, 676, 762, 3, 74, 37, 18, 677, 681, 10, 16, 0, 0, 678, 682, 5, 228, 0, 0, 679, 682, 5, 208, 0, 0, 680, 682, 5, 207, 0, 0, 681, 678, 1, 0, 0, 0, 681, 679, 1, 0, 0, 0, 681, 680, 1, 0, 0, 0, 682, 683, 1, 0, 0, 0, 683, 762, 3, 74, 37, 17, 684, 709, 10, 15, 0, 0, 685, 710, 5, 211, 0, 0, 686, 710, 5, 212, 0, 0, 687, 710, 5, 223, 0, 0, 688, 710, 5, 221, 0, 0, 689, 710, 5, 222, 0, 0, 690, 710, 5, 213, 0, 0, 691, 710, 5, 214, 0, 0, 692, 694, 5, 115, 0, 0, 693, 692, 1, 0, 0, 0, 693, 694, 1, 0, 0, 0, 694, 695, 1, 0, 0, 0, 695, 697, 5, 80, 0, 0, 696, 698, 5, 25, 0, 0, 697, 696, 1, 0, 0, 0, 697, 698, 1, 0, 0, 0, 698, 710, 1, 0, 0, 0, 699, 701, 5, 115, 0, 0, 700, 699, 1, 0, 0, 0, 700, 701, 1, 0, 0, 0, 701, 702, 1, 0, 0, 0, 702, 710, 7, 10, 0, 0, 703, 710, 5, 232, 0, 0, 704, 710, 5, 233, 0, 0, 705, 710, 5, 225, 0, 0, 706, 710, 5, 216, 0, 0, 707, 710, 5, 217, 0, 0, 708, 710, 5, 224, 0, 0, 709, 685, 1, 0, 0, 0, 709, 686, 1, 0, 0, 0, 709, 687, 1, 0, 0, 0, 709, 688, 1, 0, 0, 0, 709, 689, 1, 0, 0, 0, 709, 690, 1, 0, 0, 0, 709, 691, 1, 0, 0, 0, 709, 693, 1, 0, 0, 0, 709, 700, 1, 0, 0, 0, 709, 703, 1, 0, 0, 0, 709, 704, 1, 0, 0, 0, 709, 705, 1, 0, 0, 0, 709, 706, 1, 0, 0, 0, 709, 707, 1, 0, 0, 0, 709, 708, 1, 0, 0, 0, 710, 711, 1, 0, 0, 0, 711, 762, 3, 74, 37, 16, 712, 713, 10, 13, 0, 0, 713, 714, 5, 226, 0, 0, 714, 762, 3, 74, 37, 14, 715, 716, 10, 11, 0, 0, 716, 717, 5, 6, 0, 0, 717, 762, 3, 74, 37, 12, 718, 719, 10, 10, 0, 0, 719, 720, 5, 121, 0, 0, 720, 762, 3, 74, 37, 11, 721, 723, 10, 9, 0, 0, 722, 724, 5, 115, 0, 0, 723, 722, 1, 0, 0, 0, 723, 724, 1, 0, 0, 0, 724, 725, 1, 0, 0, 0, 725, 726, 5, 16, 0, 0, 726, 727, 3, 74, 37, 0, 727, 728, 5, 6, 0, 0, 728, 729, 3, 74, 37, 10, 729, 762, 1, 0, 0, 0, 730, 731, 10, 8, 0, 0, 731, 732, 5, 229, 0, 0, 732, 733, 3, 74, 37, 0, 733, 734, 5, 205, 0, 0, 734, 735, 3, 74, 37, 8, 735, 762, 1, 0, 0, 0, 736, 737, 10, 21, 0, 0, 737, 738, 5, 219, 0, 0, 738, 739, 3, 74, 37, 0, 739, 740, 5, 235, 0, 0, 740, 762, 1, 0, 0, 0, 741, 742, 10, 20, 0, 0, 742, 743, 5, 210, 0, 0, 743, 762, 5, 198, 0, 0, 744, 745, 10, 19, 0, 0, 745, 746, 5, 210, 0, 0, 746, 762, 3, 118, 59, 0, 747, 748, 10, 14, 0, 0, 748, 750, 5, 88, 0, 0, 749, 751, 5, 115, 0, 0, 750, 749, 1, 0, 0, 0, 750, 751, 1, 0, 0, 0, 751, 752, 1, 0, 0, 0, 752, 762, 5, 116, 0, 0, 753, 759, 10, 7, 0, 0, 754, 760, 3, 116, 58, 0, 755, 756, 5, 10, 0, 0, 756, 760, 3, 118, 59, 0, 757, 758, 5, 10, 0, 0, 758, 760, 5, 200, 0, 0, 759, 754, 1, 0, 0, 0, 759, 755, 1, 0, 0, 0, 759, 757, 1, 0, 0, 0, 760, 762, 1, 0, 0, 0, 761, 670, 1, 0, 0, 0, 761, 677, 1, 0, 0, 0, 761, 684, 1, 0, 0, 0, 761, 712, 1, 0, 0, 0, 761, 715, 1, 0, 0, 0, 761, 718, 1, 0, 0, 0, 761, 721, 1, 0, 0, 0, 761, 730, 1, 0, 0, 0, 761, 736, 1, 0, 0, 0, 761, 741, 1, 0, 0, 0, 761, 744, 1, 0, 0, 0, 761, 747, 1, 0, 0, 0, 761, 753, 1, 0, 0, 0, 762, 765, 1, 0, 0, 0, 763, 761, 1, 0, 0, 0, 763, 764, 1, 0, 0, 0, 764, 75, 1, 0, 0, 0, 765, 763, 1, 0, 0, 0, 766, 771, 3, 78, 39, 0, 767, 768, 5, 206, 0, 0, 768, 770, 3, 78, 39, 0, 769, 767, 1, 0, 0, 0, 770, 773, 1, 0, 0, 0, 771, 769, 1, 0, 0, 0, 771, 772, 1, 0, 0, 0, 772, 77, 1, 0, 0, 0, 773, 771, 1, 0, 0, 0, 774, 777, 3, 80, 40, 0, 775, 777, 3, 74, 37, 0, 776, 774, 1, 0, 0, 0, 776, 775, 1, 0, 0, 0, 777, 79, 1, 0, 0, 0, 778, 779, 5, 220, 0, 0, 779, 784, 3, 118, 59, 0, 780, 781, 5, 206, 0, 0, 781, 783, 3, 118, 59, 0, 782, 780, 1, 0, 0, 0, 783, 786, 1, 0, 0, 0, 784, 782, 1, 0, 0, 0, 784, 785, 1, 0, 0, 0, 785, 787, 1, 0, 0, 0, 786, 784, 1, 0, 0, 0, 787, 788, 5, 236, 0, 0, 788, 798, 1, 0, 0, 0, 789, 794, 3, 118, 59, 0, 790, 791, 5, 206, 0, 0, 791, 793, 3, 118, 59, 0, 792, 790, 1, 0, 0, 0, 793, 796, 1, 0, 0, 0, 794, 792, 1, 0, 0, 0, 794, 795, 1, 0, 0, 0, 795, 798, 1, 0, 0, 0, 796, 794, 1, 0, 0, 0, 797, 778, 1, 0, 0, 0, 797, 789, 1, 0, 0, 0, 798, 799, 1, 0, 0, 0, 799, 800, 5, 201, 0, 0, 800, 801, 3, 74, 37, 0, 801, 81, 1, 0, 0, 0, 802, 803, 5, 222, 0, 0, 803, 807, 3, 118, 59, 0, 804, 806, 3, 84, 42, 0, 805, 804, 1, 0, 0, 0, 806, 809, 1, 0, 0, 0, 807, 805, 1, 0, 0, 0, 807, 808, 1, 0, 0, 0, 808, 810, 1, 0, 0, 0, 809, 807, 1, 0, 0, 0, 810, 811, 5, 238, 0, 0, 811, 812, 5, 214, 0, 0, 812, 831, 1, 0, 0, 0, 813, 814, 5, 222, 0, 0, 814, 818, 3, 118, 59, 0, 815, 817, 3, 84, 42, 0, 816, 815, 1, 0, 0, 0, 817, 820, 1, 0, 0, 0, 818, 816, 1, 0, 0, 0, 818, 819, 1, 0, 0, 0, 819, 821, 1, 0, 0, 0, 820, 818, 1, 0, 0, 0, 821, 823, 5, 214, 0, 0, 822, 824, 3, 82, 41, 0, 823, 822, 1, 0, 0, 0, 823, 824, 1, 0, 0, 0, 824, 825, 1, 0, 0, 0, 825, 826, 5, 222, 0, 0, 826, 827, 5, 238, 0, 0, 827, 828, 3, 118, 59, 0, 828, 829, 5, 214, 0, 0, 829, 831, 1, 0, 0, 0, 830, 802, 1, 0, 0, 0, 830, 813, 1, 0, 0, 0, 831, 83, 1, 0, 0, 0, 832, 833, 3, 118, 59, 0, 833, 834, 5, 212, 0, 0, 834, 835, 5, 200, 0, 0, 835, 844, 1, 0, 0, 0, 836, 837, 3, 118, 59, 0, 837, 838, 5, 212, 0, 0, 838, 839, 5, 218, 0, 0, 839, 840, 3, 74, 37, 0, 840, 841, 5, 234, 0, 0, 841, 844, 1, 0, 0, 0, 842, 844, 3, 118, 59, 0, 843, 832, 1, 0, 0, 0, 843, 836, 1, 0, 0, 0, 843, 842, 1, 0, 0, 0, 844, 85, 1, 0, 0, 0, 845, 850, 3, 88, 44, 0, 846, 847, 5, 206, 0, 0, 847, 849, 3, 88, 44, 0, 848, 846, 1, 0, 0, 0, 849, 852, 1, 0, 0, 0, 850, 848, 1, 0, 0, 0, 850, 851, 1, 0, 0, 0, 851, 87, 1, 0, 0, 0, 852, 850, 1, 0, 0, 0, 853, 854, 3, 118, 59, 0, 854, 855, 5, 10, 0, 0, 855, 856, 5, 220, 0, 0, 856, 857, 3, 2, 1, 0, 857, 858, 5, 236, 0, 0, 858, 864, 1, 0, 0, 0, 859, 860, 3, 74, 37, 0, 860, 861, 5, 10, 0, 0, 861, 862, 3, 118, 59, 0, 862, 864, 1, 0, 0, 0, 863, 853, 1, 0, 0, 0, 863, 859, 1, 0, 0, 0, 864, 89, 1, 0, 0, 0, 865, 873, 3, 122, 61, 0, 866, 867, 3, 98, 49, 0, 867, 868, 5, 210, 0, 0, 868, 870, 1, 0, 0, 0, 869, 866, 1, 0, 0, 0, 869, 870, 1, 0, 0, 0, 870, 871, 1, 0, 0, 0, 871, 873, 3, 92, 46, 0, 872, 865, 1, 0, 0, 0, 872, 869, 1, 0, 0, 0, 873, 91, 1, 0, 0, 0, 874, 879, 3, 118, 59, 0, 875, 876, 5, 210, 0, 0, 876, 878, 3, 118, 59, 0, 877, 875, 1, 0, 0, 0, 878, 881, 1, 0, 0, 0, 879, 877, 1, 0, 0, 0, 879, 880, 1, 0, 0, 0, 880, 93, 1, 0, 0, 0, 881, 879, 1, 0, 0, 0, 882, 883, 6, 47, -1, 0, 883, 892, 3, 98, 49, 0, 884, 892, 3, 96, 48, 0, 885, 886, 5, 220, 0, 0, 886, 887, 3, 2, 1, 0, 887, 888, 5, 236, 0, 0, 888, 892, 1, 0, 0, 0, 889, 892, 3, 82, 41, 0, 890, 892, 3, 122, 61, 0, 891, 882, 1, 0, 0, 0, 891, 884, 1, 0, 0, 0, 891, 885, 1, 0, 0, 0, 891, 889, 1, 0, 0, 0, 891, 890, 1, 0, 0, 0, 892, 901, 1, 0, 0, 0, 893, 897, 10, 3, 0, 0, 894, 898, 3, 116, 58, 0, 895, 896, 5, 10, 0, 0, 896, 898, 3, 118, 59, 0, 897, 894, 1, 0, 0, 0, 897, 895, 1, 0, 0, 0, 898, 900, 1, 0, 0, 0, 899, 893, 1, 0, 0, 0, 900, 903, 1, 0, 0, 0, 901, 899, 1, 0, 0, 0, 901, 902, 1, 0, 0, 0, 902, 95, 1, 0, 0, 0, 903, 901, 1, 0, 0, 0, 904, 905, 3, 118, 59, 0, 905, 907, 5, 220, 0, 0, 906, 908, 3, 100, 50, 0, 907, 906, 1, 0, 0, 0, 907, 908, 1, 0, 0, 0, 908, 909, 1, 0, 0, 0, 909, 910, 5, 236, 0, 0, 910, 97, 1, 0, 0, 0, 911, 912, 3, 102, 51, 0, 912, 913, 5, 210, 0, 0, 913, 915, 1, 0, 0, 0, 914, 911, 1, 0, 0, 0, 914, 915, 1, 0, 0, 0, 915, 916, 1, 0, 0, 0, 916, 917, 3, 118, 59, 0, 917, 99, 1, 0, 0, 0, 918, 923, 3, 74, 37, 0, 919, 920, 5, 206, 0, 0, 920, 922, 3, 74, 37, 0, 921, 919, 1, 0, 0, 0, 922, 925, 1, 0, 0, 0, 923, 921, 1, 0, 0, 0, 923, 924, 1, 0, 0, 0, 924, 101, 1, 0, 0, 0, 925, 923, 1, 0, 0, 0, 926, 927, 3, 118, 59, 0, 927, 103, 1, 0, 0, 0, 928, 937, 5, 196, 0, 0, 929, 930, 5, 210, 0, 0, 930, 937, 7, 11, 0, 0, 931, 932, 5, 198, 0, 0, 932, 934, 5, 210, 0, 0, 933, 935, 7, 11, 0, 0, 934, 933, 1, 0, 0, 0, 934, 935, 1, 0, 0, 0, 935, 937, 1, 0, 0, 0, 936, 928, 1, 0, 0, 0, 936, 929, 1, 0, 0, 0, 936, 931, 1, 0, 0, 0, 937, 105, 1, 0, 0, 0, 938, 940, 7, 12, 0, 0, 939, 938, 1, 0, 0, 0, 939, 940, 1, 0, 0, 0, 940, 947, 1, 0, 0, 0, 941, 948, 3, 104, 52, 0, 942, 948, 5, 197, 0, 0, 943, 948, 5, 198, 0, 0, 944, 948, 5, 199, 0, 0, 945, 948, 5, 82, 0, 0, 946, 948, 5, 113, 0, 0, 947, 941, 1, 0, 0, 0, 947, 942, 1, 0, 0, 0, 947, 943, 1, 0, 0, 0, 947, 944, 1, 0, 0, 0, 947, 945, 1, 0, 0, 0, 947, 946, 1, 0, 0, 0, 948, 107, 1, 0, 0, 0, 949, 953, 3, 106, 53, 0, 950, 953, 5, 200, 0, 0, 951, 953, 5, 116, 0, 0, 952, 949, 1, 0, 0, 0, 952, 950, 1, 0, 0, 0, 952, 951, 1, 0, 0, 0, 953, 109, 1, 0, 0, 0, 954, 955, 7, 13, 0, 0, 955, 111, 1, 0, 0, 0, 956, 957, 7, 14, 0, 0, 957, 113, 1, 0, 0, 0, 958, 959, 7, 15, 0, 0, 959, 115, 1, 0, 0, 0, 960, 963, 5, 195, 0, 0, 961, 963, 3, 114, 57, 0, 962, 960, 1, 0, 0, 0, 962, 961, 1, 0, 0, 0, 963, 117, 1, 0, 0, 0, 964, 968, 5, 195, 0, 0, 965, 968, 3, 110, 55, 0, 966, 968, 3, 112, 56, 0, 967, 964, 1, 0, 0, 0, 967, 965, 1, 0, 0, 0, 967, 966, 1, 0, 0, 0, 968, 119, 1, 0, 0, 0, 969, 970, 5, 200, 0, 0, 970, 971, 5, 212, 0, 0, 971, 972, 3, 106, 53, 0, 972, 121, 1, 0, 0, 0, 973, 974, 5, 218, 0, 0, 974, 975, 3, 118, 59, 0, 975, 976, 5, 234, 0, 0, 976, 123, 1, 0, 0, 0, 120, 127, 137, 145, 148, 152, 155, 159, 162, 165, 168, 171, 175, 179, 182, 185, 188, 192, 195, 204, 210, 231, 248, 265, 271, 277, 288, 290, 301, 304, 310, 318, 324, 326, 330, 335, 338, 341, 345, 349, 352, 354, 357, 361, 365, 368, 370, 372, 377, 388, 394, 401, 406, 410, 414, 420, 422, 429, 437, 440, 443, 462, 476, 492, 504, 516, 524, 528, 535, 541, 550, 554, 585, 602, 614, 624, 627, 631, 634, 647, 664, 668, 674, 681, 693, 697, 700, 709, 723, 750, 759, 761, 763, 771, 776, 784, 794, 797, 807, 818, 823, 830, 843, 850, 863, 869, 872, 879, 891, 897, 901, 907, 914, 923, 934, 936, 939, 947, 952, 962, 967] \ No newline at end of file +[4, 1, 242, 979, 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, 1, 0, 1, 0, 1, 0, 3, 0, 128, 8, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 136, 8, 1, 10, 1, 12, 1, 139, 9, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 3, 2, 147, 8, 2, 1, 3, 3, 3, 150, 8, 3, 1, 3, 1, 3, 3, 3, 154, 8, 3, 1, 3, 3, 3, 157, 8, 3, 1, 3, 1, 3, 3, 3, 161, 8, 3, 1, 3, 3, 3, 164, 8, 3, 1, 3, 3, 3, 167, 8, 3, 1, 3, 3, 3, 170, 8, 3, 1, 3, 3, 3, 173, 8, 3, 1, 3, 1, 3, 3, 3, 177, 8, 3, 1, 3, 1, 3, 3, 3, 181, 8, 3, 1, 3, 3, 3, 184, 8, 3, 1, 3, 3, 3, 187, 8, 3, 1, 3, 3, 3, 190, 8, 3, 1, 3, 1, 3, 3, 3, 194, 8, 3, 1, 3, 3, 3, 197, 8, 3, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 206, 8, 5, 1, 6, 1, 6, 1, 6, 1, 7, 3, 7, 212, 8, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 231, 8, 8, 10, 8, 12, 8, 234, 9, 8, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 3, 11, 250, 8, 11, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 267, 8, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 273, 8, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 279, 8, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 290, 8, 15, 3, 15, 292, 8, 15, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 3, 18, 303, 8, 18, 1, 18, 3, 18, 306, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 312, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 320, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 5, 18, 326, 8, 18, 10, 18, 12, 18, 329, 9, 18, 1, 19, 3, 19, 332, 8, 19, 1, 19, 1, 19, 1, 19, 3, 19, 337, 8, 19, 1, 19, 3, 19, 340, 8, 19, 1, 19, 3, 19, 343, 8, 19, 1, 19, 1, 19, 3, 19, 347, 8, 19, 1, 19, 1, 19, 3, 19, 351, 8, 19, 1, 19, 3, 19, 354, 8, 19, 3, 19, 356, 8, 19, 1, 19, 3, 19, 359, 8, 19, 1, 19, 1, 19, 3, 19, 363, 8, 19, 1, 19, 1, 19, 3, 19, 367, 8, 19, 1, 19, 3, 19, 370, 8, 19, 3, 19, 372, 8, 19, 3, 19, 374, 8, 19, 1, 20, 1, 20, 1, 20, 3, 20, 379, 8, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 390, 8, 21, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 396, 8, 22, 1, 23, 1, 23, 1, 23, 5, 23, 401, 8, 23, 10, 23, 12, 23, 404, 9, 23, 1, 24, 1, 24, 3, 24, 408, 8, 24, 1, 24, 1, 24, 3, 24, 412, 8, 24, 1, 24, 1, 24, 3, 24, 416, 8, 24, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 422, 8, 25, 3, 25, 424, 8, 25, 1, 26, 1, 26, 1, 26, 5, 26, 429, 8, 26, 10, 26, 12, 26, 432, 9, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 3, 28, 439, 8, 28, 1, 28, 3, 28, 442, 8, 28, 1, 28, 3, 28, 445, 8, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 464, 8, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 3, 33, 478, 8, 33, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 492, 8, 35, 10, 35, 12, 35, 495, 9, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 504, 8, 35, 10, 35, 12, 35, 507, 9, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 516, 8, 35, 10, 35, 12, 35, 519, 9, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 526, 8, 35, 1, 35, 1, 35, 3, 35, 530, 8, 35, 1, 36, 1, 36, 1, 36, 5, 36, 535, 8, 36, 10, 36, 12, 36, 538, 9, 36, 1, 37, 1, 37, 1, 37, 3, 37, 543, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 4, 37, 550, 8, 37, 11, 37, 12, 37, 551, 1, 37, 1, 37, 3, 37, 556, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 587, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 604, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 616, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 626, 8, 37, 1, 37, 3, 37, 629, 8, 37, 1, 37, 1, 37, 3, 37, 633, 8, 37, 1, 37, 3, 37, 636, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 649, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 666, 8, 37, 1, 37, 1, 37, 3, 37, 670, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 676, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 683, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 695, 8, 37, 1, 37, 1, 37, 3, 37, 699, 8, 37, 1, 37, 3, 37, 702, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 711, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 725, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 752, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 761, 8, 37, 5, 37, 763, 8, 37, 10, 37, 12, 37, 766, 9, 37, 1, 38, 1, 38, 1, 38, 5, 38, 771, 8, 38, 10, 38, 12, 38, 774, 9, 38, 1, 39, 1, 39, 3, 39, 778, 8, 39, 1, 40, 1, 40, 1, 40, 1, 40, 5, 40, 784, 8, 40, 10, 40, 12, 40, 787, 9, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 5, 40, 794, 8, 40, 10, 40, 12, 40, 797, 9, 40, 3, 40, 799, 8, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 5, 41, 807, 8, 41, 10, 41, 12, 41, 810, 9, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 5, 41, 818, 8, 41, 10, 41, 12, 41, 821, 9, 41, 1, 41, 1, 41, 3, 41, 825, 8, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 832, 8, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 3, 42, 845, 8, 42, 1, 43, 1, 43, 1, 43, 5, 43, 850, 8, 43, 10, 43, 12, 43, 853, 9, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 865, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 871, 8, 45, 1, 45, 3, 45, 874, 8, 45, 1, 46, 1, 46, 1, 46, 5, 46, 879, 8, 46, 10, 46, 12, 46, 882, 9, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 893, 8, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 899, 8, 47, 5, 47, 901, 8, 47, 10, 47, 12, 47, 904, 9, 47, 1, 48, 1, 48, 1, 48, 3, 48, 909, 8, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 3, 49, 916, 8, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 5, 50, 923, 8, 50, 10, 50, 12, 50, 926, 9, 50, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 936, 8, 52, 3, 52, 938, 8, 52, 1, 53, 3, 53, 941, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 949, 8, 53, 1, 54, 1, 54, 1, 54, 3, 54, 954, 8, 54, 1, 55, 1, 55, 1, 56, 1, 56, 1, 57, 1, 57, 1, 58, 1, 58, 3, 58, 964, 8, 58, 1, 59, 1, 59, 1, 59, 3, 59, 969, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 0, 3, 36, 74, 94, 62, 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, 0, 16, 2, 0, 32, 32, 141, 141, 2, 0, 84, 84, 96, 96, 3, 0, 4, 4, 8, 8, 12, 12, 4, 0, 4, 4, 7, 8, 12, 12, 147, 147, 2, 0, 96, 96, 140, 140, 2, 0, 4, 4, 8, 8, 2, 0, 11, 11, 42, 43, 2, 0, 62, 62, 93, 93, 2, 0, 133, 133, 143, 143, 3, 0, 17, 17, 95, 95, 170, 170, 2, 0, 79, 79, 98, 98, 1, 0, 197, 198, 2, 0, 208, 208, 228, 228, 8, 0, 37, 37, 76, 76, 108, 108, 110, 110, 132, 132, 145, 145, 185, 185, 190, 190, 13, 0, 2, 24, 26, 36, 38, 75, 77, 81, 83, 107, 109, 109, 111, 112, 114, 115, 117, 130, 133, 144, 146, 184, 186, 189, 191, 192, 4, 0, 36, 36, 62, 62, 77, 77, 91, 91, 1107, 0, 127, 1, 0, 0, 0, 2, 131, 1, 0, 0, 0, 4, 146, 1, 0, 0, 0, 6, 149, 1, 0, 0, 0, 8, 198, 1, 0, 0, 0, 10, 201, 1, 0, 0, 0, 12, 207, 1, 0, 0, 0, 14, 211, 1, 0, 0, 0, 16, 217, 1, 0, 0, 0, 18, 235, 1, 0, 0, 0, 20, 238, 1, 0, 0, 0, 22, 241, 1, 0, 0, 0, 24, 251, 1, 0, 0, 0, 26, 254, 1, 0, 0, 0, 28, 258, 1, 0, 0, 0, 30, 291, 1, 0, 0, 0, 32, 293, 1, 0, 0, 0, 34, 296, 1, 0, 0, 0, 36, 311, 1, 0, 0, 0, 38, 373, 1, 0, 0, 0, 40, 378, 1, 0, 0, 0, 42, 389, 1, 0, 0, 0, 44, 391, 1, 0, 0, 0, 46, 397, 1, 0, 0, 0, 48, 405, 1, 0, 0, 0, 50, 423, 1, 0, 0, 0, 52, 425, 1, 0, 0, 0, 54, 433, 1, 0, 0, 0, 56, 438, 1, 0, 0, 0, 58, 446, 1, 0, 0, 0, 60, 450, 1, 0, 0, 0, 62, 454, 1, 0, 0, 0, 64, 463, 1, 0, 0, 0, 66, 477, 1, 0, 0, 0, 68, 479, 1, 0, 0, 0, 70, 529, 1, 0, 0, 0, 72, 531, 1, 0, 0, 0, 74, 669, 1, 0, 0, 0, 76, 767, 1, 0, 0, 0, 78, 777, 1, 0, 0, 0, 80, 798, 1, 0, 0, 0, 82, 831, 1, 0, 0, 0, 84, 844, 1, 0, 0, 0, 86, 846, 1, 0, 0, 0, 88, 864, 1, 0, 0, 0, 90, 873, 1, 0, 0, 0, 92, 875, 1, 0, 0, 0, 94, 892, 1, 0, 0, 0, 96, 905, 1, 0, 0, 0, 98, 915, 1, 0, 0, 0, 100, 919, 1, 0, 0, 0, 102, 927, 1, 0, 0, 0, 104, 937, 1, 0, 0, 0, 106, 940, 1, 0, 0, 0, 108, 953, 1, 0, 0, 0, 110, 955, 1, 0, 0, 0, 112, 957, 1, 0, 0, 0, 114, 959, 1, 0, 0, 0, 116, 963, 1, 0, 0, 0, 118, 968, 1, 0, 0, 0, 120, 970, 1, 0, 0, 0, 122, 974, 1, 0, 0, 0, 124, 128, 3, 2, 1, 0, 125, 128, 3, 6, 3, 0, 126, 128, 3, 82, 41, 0, 127, 124, 1, 0, 0, 0, 127, 125, 1, 0, 0, 0, 127, 126, 1, 0, 0, 0, 128, 129, 1, 0, 0, 0, 129, 130, 5, 0, 0, 1, 130, 1, 1, 0, 0, 0, 131, 137, 3, 4, 2, 0, 132, 133, 5, 176, 0, 0, 133, 134, 5, 4, 0, 0, 134, 136, 3, 4, 2, 0, 135, 132, 1, 0, 0, 0, 136, 139, 1, 0, 0, 0, 137, 135, 1, 0, 0, 0, 137, 138, 1, 0, 0, 0, 138, 3, 1, 0, 0, 0, 139, 137, 1, 0, 0, 0, 140, 147, 3, 6, 3, 0, 141, 142, 5, 220, 0, 0, 142, 143, 3, 2, 1, 0, 143, 144, 5, 236, 0, 0, 144, 147, 1, 0, 0, 0, 145, 147, 3, 122, 61, 0, 146, 140, 1, 0, 0, 0, 146, 141, 1, 0, 0, 0, 146, 145, 1, 0, 0, 0, 147, 5, 1, 0, 0, 0, 148, 150, 3, 8, 4, 0, 149, 148, 1, 0, 0, 0, 149, 150, 1, 0, 0, 0, 150, 151, 1, 0, 0, 0, 151, 153, 5, 146, 0, 0, 152, 154, 5, 49, 0, 0, 153, 152, 1, 0, 0, 0, 153, 154, 1, 0, 0, 0, 154, 156, 1, 0, 0, 0, 155, 157, 3, 10, 5, 0, 156, 155, 1, 0, 0, 0, 156, 157, 1, 0, 0, 0, 157, 158, 1, 0, 0, 0, 158, 160, 3, 72, 36, 0, 159, 161, 3, 12, 6, 0, 160, 159, 1, 0, 0, 0, 160, 161, 1, 0, 0, 0, 161, 163, 1, 0, 0, 0, 162, 164, 3, 14, 7, 0, 163, 162, 1, 0, 0, 0, 163, 164, 1, 0, 0, 0, 164, 166, 1, 0, 0, 0, 165, 167, 3, 18, 9, 0, 166, 165, 1, 0, 0, 0, 166, 167, 1, 0, 0, 0, 167, 169, 1, 0, 0, 0, 168, 170, 3, 20, 10, 0, 169, 168, 1, 0, 0, 0, 169, 170, 1, 0, 0, 0, 170, 172, 1, 0, 0, 0, 171, 173, 3, 22, 11, 0, 172, 171, 1, 0, 0, 0, 172, 173, 1, 0, 0, 0, 173, 176, 1, 0, 0, 0, 174, 175, 5, 189, 0, 0, 175, 177, 7, 0, 0, 0, 176, 174, 1, 0, 0, 0, 176, 177, 1, 0, 0, 0, 177, 180, 1, 0, 0, 0, 178, 179, 5, 189, 0, 0, 179, 181, 5, 169, 0, 0, 180, 178, 1, 0, 0, 0, 180, 181, 1, 0, 0, 0, 181, 183, 1, 0, 0, 0, 182, 184, 3, 24, 12, 0, 183, 182, 1, 0, 0, 0, 183, 184, 1, 0, 0, 0, 184, 186, 1, 0, 0, 0, 185, 187, 3, 16, 8, 0, 186, 185, 1, 0, 0, 0, 186, 187, 1, 0, 0, 0, 187, 189, 1, 0, 0, 0, 188, 190, 3, 26, 13, 0, 189, 188, 1, 0, 0, 0, 189, 190, 1, 0, 0, 0, 190, 193, 1, 0, 0, 0, 191, 194, 3, 30, 15, 0, 192, 194, 3, 32, 16, 0, 193, 191, 1, 0, 0, 0, 193, 192, 1, 0, 0, 0, 193, 194, 1, 0, 0, 0, 194, 196, 1, 0, 0, 0, 195, 197, 3, 34, 17, 0, 196, 195, 1, 0, 0, 0, 196, 197, 1, 0, 0, 0, 197, 7, 1, 0, 0, 0, 198, 199, 5, 189, 0, 0, 199, 200, 3, 86, 43, 0, 200, 9, 1, 0, 0, 0, 201, 202, 5, 168, 0, 0, 202, 205, 5, 198, 0, 0, 203, 204, 5, 189, 0, 0, 204, 206, 5, 164, 0, 0, 205, 203, 1, 0, 0, 0, 205, 206, 1, 0, 0, 0, 206, 11, 1, 0, 0, 0, 207, 208, 5, 68, 0, 0, 208, 209, 3, 36, 18, 0, 209, 13, 1, 0, 0, 0, 210, 212, 7, 1, 0, 0, 211, 210, 1, 0, 0, 0, 211, 212, 1, 0, 0, 0, 212, 213, 1, 0, 0, 0, 213, 214, 5, 9, 0, 0, 214, 215, 5, 90, 0, 0, 215, 216, 3, 72, 36, 0, 216, 15, 1, 0, 0, 0, 217, 218, 5, 188, 0, 0, 218, 219, 3, 118, 59, 0, 219, 220, 5, 10, 0, 0, 220, 221, 5, 220, 0, 0, 221, 222, 3, 56, 28, 0, 222, 232, 5, 236, 0, 0, 223, 224, 5, 206, 0, 0, 224, 225, 3, 118, 59, 0, 225, 226, 5, 10, 0, 0, 226, 227, 5, 220, 0, 0, 227, 228, 3, 56, 28, 0, 228, 229, 5, 236, 0, 0, 229, 231, 1, 0, 0, 0, 230, 223, 1, 0, 0, 0, 231, 234, 1, 0, 0, 0, 232, 230, 1, 0, 0, 0, 232, 233, 1, 0, 0, 0, 233, 17, 1, 0, 0, 0, 234, 232, 1, 0, 0, 0, 235, 236, 5, 129, 0, 0, 236, 237, 3, 74, 37, 0, 237, 19, 1, 0, 0, 0, 238, 239, 5, 187, 0, 0, 239, 240, 3, 74, 37, 0, 240, 21, 1, 0, 0, 0, 241, 242, 5, 73, 0, 0, 242, 249, 5, 18, 0, 0, 243, 244, 7, 0, 0, 0, 244, 245, 5, 220, 0, 0, 245, 246, 3, 72, 36, 0, 246, 247, 5, 236, 0, 0, 247, 250, 1, 0, 0, 0, 248, 250, 3, 72, 36, 0, 249, 243, 1, 0, 0, 0, 249, 248, 1, 0, 0, 0, 250, 23, 1, 0, 0, 0, 251, 252, 5, 74, 0, 0, 252, 253, 3, 74, 37, 0, 253, 25, 1, 0, 0, 0, 254, 255, 5, 122, 0, 0, 255, 256, 5, 18, 0, 0, 256, 257, 3, 46, 23, 0, 257, 27, 1, 0, 0, 0, 258, 259, 5, 122, 0, 0, 259, 260, 5, 18, 0, 0, 260, 261, 3, 72, 36, 0, 261, 29, 1, 0, 0, 0, 262, 263, 5, 99, 0, 0, 263, 266, 3, 74, 37, 0, 264, 265, 5, 206, 0, 0, 265, 267, 3, 74, 37, 0, 266, 264, 1, 0, 0, 0, 266, 267, 1, 0, 0, 0, 267, 272, 1, 0, 0, 0, 268, 269, 5, 189, 0, 0, 269, 273, 5, 164, 0, 0, 270, 271, 5, 18, 0, 0, 271, 273, 3, 72, 36, 0, 272, 268, 1, 0, 0, 0, 272, 270, 1, 0, 0, 0, 272, 273, 1, 0, 0, 0, 273, 292, 1, 0, 0, 0, 274, 275, 5, 99, 0, 0, 275, 278, 3, 74, 37, 0, 276, 277, 5, 189, 0, 0, 277, 279, 5, 164, 0, 0, 278, 276, 1, 0, 0, 0, 278, 279, 1, 0, 0, 0, 279, 280, 1, 0, 0, 0, 280, 281, 5, 118, 0, 0, 281, 282, 3, 74, 37, 0, 282, 292, 1, 0, 0, 0, 283, 284, 5, 99, 0, 0, 284, 285, 3, 74, 37, 0, 285, 286, 5, 118, 0, 0, 286, 289, 3, 74, 37, 0, 287, 288, 5, 18, 0, 0, 288, 290, 3, 72, 36, 0, 289, 287, 1, 0, 0, 0, 289, 290, 1, 0, 0, 0, 290, 292, 1, 0, 0, 0, 291, 262, 1, 0, 0, 0, 291, 274, 1, 0, 0, 0, 291, 283, 1, 0, 0, 0, 292, 31, 1, 0, 0, 0, 293, 294, 5, 118, 0, 0, 294, 295, 3, 74, 37, 0, 295, 33, 1, 0, 0, 0, 296, 297, 5, 150, 0, 0, 297, 298, 3, 52, 26, 0, 298, 35, 1, 0, 0, 0, 299, 300, 6, 18, -1, 0, 300, 302, 3, 94, 47, 0, 301, 303, 5, 61, 0, 0, 302, 301, 1, 0, 0, 0, 302, 303, 1, 0, 0, 0, 303, 305, 1, 0, 0, 0, 304, 306, 3, 44, 22, 0, 305, 304, 1, 0, 0, 0, 305, 306, 1, 0, 0, 0, 306, 312, 1, 0, 0, 0, 307, 308, 5, 220, 0, 0, 308, 309, 3, 36, 18, 0, 309, 310, 5, 236, 0, 0, 310, 312, 1, 0, 0, 0, 311, 299, 1, 0, 0, 0, 311, 307, 1, 0, 0, 0, 312, 327, 1, 0, 0, 0, 313, 314, 10, 3, 0, 0, 314, 315, 3, 40, 20, 0, 315, 316, 3, 36, 18, 4, 316, 326, 1, 0, 0, 0, 317, 319, 10, 4, 0, 0, 318, 320, 3, 38, 19, 0, 319, 318, 1, 0, 0, 0, 319, 320, 1, 0, 0, 0, 320, 321, 1, 0, 0, 0, 321, 322, 5, 90, 0, 0, 322, 323, 3, 36, 18, 0, 323, 324, 3, 42, 21, 0, 324, 326, 1, 0, 0, 0, 325, 313, 1, 0, 0, 0, 325, 317, 1, 0, 0, 0, 326, 329, 1, 0, 0, 0, 327, 325, 1, 0, 0, 0, 327, 328, 1, 0, 0, 0, 328, 37, 1, 0, 0, 0, 329, 327, 1, 0, 0, 0, 330, 332, 7, 2, 0, 0, 331, 330, 1, 0, 0, 0, 331, 332, 1, 0, 0, 0, 332, 333, 1, 0, 0, 0, 333, 340, 5, 84, 0, 0, 334, 336, 5, 84, 0, 0, 335, 337, 7, 2, 0, 0, 336, 335, 1, 0, 0, 0, 336, 337, 1, 0, 0, 0, 337, 340, 1, 0, 0, 0, 338, 340, 7, 2, 0, 0, 339, 331, 1, 0, 0, 0, 339, 334, 1, 0, 0, 0, 339, 338, 1, 0, 0, 0, 340, 374, 1, 0, 0, 0, 341, 343, 7, 3, 0, 0, 342, 341, 1, 0, 0, 0, 342, 343, 1, 0, 0, 0, 343, 344, 1, 0, 0, 0, 344, 346, 7, 4, 0, 0, 345, 347, 5, 123, 0, 0, 346, 345, 1, 0, 0, 0, 346, 347, 1, 0, 0, 0, 347, 356, 1, 0, 0, 0, 348, 350, 7, 4, 0, 0, 349, 351, 5, 123, 0, 0, 350, 349, 1, 0, 0, 0, 350, 351, 1, 0, 0, 0, 351, 353, 1, 0, 0, 0, 352, 354, 7, 3, 0, 0, 353, 352, 1, 0, 0, 0, 353, 354, 1, 0, 0, 0, 354, 356, 1, 0, 0, 0, 355, 342, 1, 0, 0, 0, 355, 348, 1, 0, 0, 0, 356, 374, 1, 0, 0, 0, 357, 359, 7, 5, 0, 0, 358, 357, 1, 0, 0, 0, 358, 359, 1, 0, 0, 0, 359, 360, 1, 0, 0, 0, 360, 362, 5, 69, 0, 0, 361, 363, 5, 123, 0, 0, 362, 361, 1, 0, 0, 0, 362, 363, 1, 0, 0, 0, 363, 372, 1, 0, 0, 0, 364, 366, 5, 69, 0, 0, 365, 367, 5, 123, 0, 0, 366, 365, 1, 0, 0, 0, 366, 367, 1, 0, 0, 0, 367, 369, 1, 0, 0, 0, 368, 370, 7, 5, 0, 0, 369, 368, 1, 0, 0, 0, 369, 370, 1, 0, 0, 0, 370, 372, 1, 0, 0, 0, 371, 358, 1, 0, 0, 0, 371, 364, 1, 0, 0, 0, 372, 374, 1, 0, 0, 0, 373, 339, 1, 0, 0, 0, 373, 355, 1, 0, 0, 0, 373, 371, 1, 0, 0, 0, 374, 39, 1, 0, 0, 0, 375, 376, 5, 31, 0, 0, 376, 379, 5, 90, 0, 0, 377, 379, 5, 206, 0, 0, 378, 375, 1, 0, 0, 0, 378, 377, 1, 0, 0, 0, 379, 41, 1, 0, 0, 0, 380, 381, 5, 119, 0, 0, 381, 390, 3, 72, 36, 0, 382, 383, 5, 179, 0, 0, 383, 384, 5, 220, 0, 0, 384, 385, 3, 72, 36, 0, 385, 386, 5, 236, 0, 0, 386, 390, 1, 0, 0, 0, 387, 388, 5, 179, 0, 0, 388, 390, 3, 72, 36, 0, 389, 380, 1, 0, 0, 0, 389, 382, 1, 0, 0, 0, 389, 387, 1, 0, 0, 0, 390, 43, 1, 0, 0, 0, 391, 392, 5, 144, 0, 0, 392, 395, 3, 50, 25, 0, 393, 394, 5, 118, 0, 0, 394, 396, 3, 50, 25, 0, 395, 393, 1, 0, 0, 0, 395, 396, 1, 0, 0, 0, 396, 45, 1, 0, 0, 0, 397, 402, 3, 48, 24, 0, 398, 399, 5, 206, 0, 0, 399, 401, 3, 48, 24, 0, 400, 398, 1, 0, 0, 0, 401, 404, 1, 0, 0, 0, 402, 400, 1, 0, 0, 0, 402, 403, 1, 0, 0, 0, 403, 47, 1, 0, 0, 0, 404, 402, 1, 0, 0, 0, 405, 407, 3, 74, 37, 0, 406, 408, 7, 6, 0, 0, 407, 406, 1, 0, 0, 0, 407, 408, 1, 0, 0, 0, 408, 411, 1, 0, 0, 0, 409, 410, 5, 117, 0, 0, 410, 412, 7, 7, 0, 0, 411, 409, 1, 0, 0, 0, 411, 412, 1, 0, 0, 0, 412, 415, 1, 0, 0, 0, 413, 414, 5, 26, 0, 0, 414, 416, 5, 200, 0, 0, 415, 413, 1, 0, 0, 0, 415, 416, 1, 0, 0, 0, 416, 49, 1, 0, 0, 0, 417, 424, 3, 122, 61, 0, 418, 421, 3, 106, 53, 0, 419, 420, 5, 238, 0, 0, 420, 422, 3, 106, 53, 0, 421, 419, 1, 0, 0, 0, 421, 422, 1, 0, 0, 0, 422, 424, 1, 0, 0, 0, 423, 417, 1, 0, 0, 0, 423, 418, 1, 0, 0, 0, 424, 51, 1, 0, 0, 0, 425, 430, 3, 54, 27, 0, 426, 427, 5, 206, 0, 0, 427, 429, 3, 54, 27, 0, 428, 426, 1, 0, 0, 0, 429, 432, 1, 0, 0, 0, 430, 428, 1, 0, 0, 0, 430, 431, 1, 0, 0, 0, 431, 53, 1, 0, 0, 0, 432, 430, 1, 0, 0, 0, 433, 434, 3, 118, 59, 0, 434, 435, 5, 212, 0, 0, 435, 436, 3, 108, 54, 0, 436, 55, 1, 0, 0, 0, 437, 439, 3, 58, 29, 0, 438, 437, 1, 0, 0, 0, 438, 439, 1, 0, 0, 0, 439, 441, 1, 0, 0, 0, 440, 442, 3, 60, 30, 0, 441, 440, 1, 0, 0, 0, 441, 442, 1, 0, 0, 0, 442, 444, 1, 0, 0, 0, 443, 445, 3, 62, 31, 0, 444, 443, 1, 0, 0, 0, 444, 445, 1, 0, 0, 0, 445, 57, 1, 0, 0, 0, 446, 447, 5, 126, 0, 0, 447, 448, 5, 18, 0, 0, 448, 449, 3, 72, 36, 0, 449, 59, 1, 0, 0, 0, 450, 451, 5, 122, 0, 0, 451, 452, 5, 18, 0, 0, 452, 453, 3, 46, 23, 0, 453, 61, 1, 0, 0, 0, 454, 455, 7, 8, 0, 0, 455, 456, 3, 64, 32, 0, 456, 63, 1, 0, 0, 0, 457, 464, 3, 66, 33, 0, 458, 459, 5, 16, 0, 0, 459, 460, 3, 66, 33, 0, 460, 461, 5, 6, 0, 0, 461, 462, 3, 66, 33, 0, 462, 464, 1, 0, 0, 0, 463, 457, 1, 0, 0, 0, 463, 458, 1, 0, 0, 0, 464, 65, 1, 0, 0, 0, 465, 466, 5, 33, 0, 0, 466, 478, 5, 142, 0, 0, 467, 468, 5, 175, 0, 0, 468, 478, 5, 128, 0, 0, 469, 470, 5, 175, 0, 0, 470, 478, 5, 64, 0, 0, 471, 472, 3, 106, 53, 0, 472, 473, 5, 128, 0, 0, 473, 478, 1, 0, 0, 0, 474, 475, 3, 106, 53, 0, 475, 476, 5, 64, 0, 0, 476, 478, 1, 0, 0, 0, 477, 465, 1, 0, 0, 0, 477, 467, 1, 0, 0, 0, 477, 469, 1, 0, 0, 0, 477, 471, 1, 0, 0, 0, 477, 474, 1, 0, 0, 0, 478, 67, 1, 0, 0, 0, 479, 480, 3, 74, 37, 0, 480, 481, 5, 0, 0, 1, 481, 69, 1, 0, 0, 0, 482, 530, 3, 118, 59, 0, 483, 484, 3, 118, 59, 0, 484, 485, 5, 220, 0, 0, 485, 486, 3, 118, 59, 0, 486, 493, 3, 70, 35, 0, 487, 488, 5, 206, 0, 0, 488, 489, 3, 118, 59, 0, 489, 490, 3, 70, 35, 0, 490, 492, 1, 0, 0, 0, 491, 487, 1, 0, 0, 0, 492, 495, 1, 0, 0, 0, 493, 491, 1, 0, 0, 0, 493, 494, 1, 0, 0, 0, 494, 496, 1, 0, 0, 0, 495, 493, 1, 0, 0, 0, 496, 497, 5, 236, 0, 0, 497, 530, 1, 0, 0, 0, 498, 499, 3, 118, 59, 0, 499, 500, 5, 220, 0, 0, 500, 505, 3, 120, 60, 0, 501, 502, 5, 206, 0, 0, 502, 504, 3, 120, 60, 0, 503, 501, 1, 0, 0, 0, 504, 507, 1, 0, 0, 0, 505, 503, 1, 0, 0, 0, 505, 506, 1, 0, 0, 0, 506, 508, 1, 0, 0, 0, 507, 505, 1, 0, 0, 0, 508, 509, 5, 236, 0, 0, 509, 530, 1, 0, 0, 0, 510, 511, 3, 118, 59, 0, 511, 512, 5, 220, 0, 0, 512, 517, 3, 70, 35, 0, 513, 514, 5, 206, 0, 0, 514, 516, 3, 70, 35, 0, 515, 513, 1, 0, 0, 0, 516, 519, 1, 0, 0, 0, 517, 515, 1, 0, 0, 0, 517, 518, 1, 0, 0, 0, 518, 520, 1, 0, 0, 0, 519, 517, 1, 0, 0, 0, 520, 521, 5, 236, 0, 0, 521, 530, 1, 0, 0, 0, 522, 523, 3, 118, 59, 0, 523, 525, 5, 220, 0, 0, 524, 526, 3, 72, 36, 0, 525, 524, 1, 0, 0, 0, 525, 526, 1, 0, 0, 0, 526, 527, 1, 0, 0, 0, 527, 528, 5, 236, 0, 0, 528, 530, 1, 0, 0, 0, 529, 482, 1, 0, 0, 0, 529, 483, 1, 0, 0, 0, 529, 498, 1, 0, 0, 0, 529, 510, 1, 0, 0, 0, 529, 522, 1, 0, 0, 0, 530, 71, 1, 0, 0, 0, 531, 536, 3, 74, 37, 0, 532, 533, 5, 206, 0, 0, 533, 535, 3, 74, 37, 0, 534, 532, 1, 0, 0, 0, 535, 538, 1, 0, 0, 0, 536, 534, 1, 0, 0, 0, 536, 537, 1, 0, 0, 0, 537, 73, 1, 0, 0, 0, 538, 536, 1, 0, 0, 0, 539, 540, 6, 37, -1, 0, 540, 542, 5, 19, 0, 0, 541, 543, 3, 74, 37, 0, 542, 541, 1, 0, 0, 0, 542, 543, 1, 0, 0, 0, 543, 549, 1, 0, 0, 0, 544, 545, 5, 186, 0, 0, 545, 546, 3, 74, 37, 0, 546, 547, 5, 163, 0, 0, 547, 548, 3, 74, 37, 0, 548, 550, 1, 0, 0, 0, 549, 544, 1, 0, 0, 0, 550, 551, 1, 0, 0, 0, 551, 549, 1, 0, 0, 0, 551, 552, 1, 0, 0, 0, 552, 555, 1, 0, 0, 0, 553, 554, 5, 52, 0, 0, 554, 556, 3, 74, 37, 0, 555, 553, 1, 0, 0, 0, 555, 556, 1, 0, 0, 0, 556, 557, 1, 0, 0, 0, 557, 558, 5, 53, 0, 0, 558, 670, 1, 0, 0, 0, 559, 560, 5, 20, 0, 0, 560, 561, 5, 220, 0, 0, 561, 562, 3, 74, 37, 0, 562, 563, 5, 10, 0, 0, 563, 564, 3, 70, 35, 0, 564, 565, 5, 236, 0, 0, 565, 670, 1, 0, 0, 0, 566, 567, 5, 36, 0, 0, 567, 670, 5, 200, 0, 0, 568, 569, 5, 59, 0, 0, 569, 570, 5, 220, 0, 0, 570, 571, 3, 110, 55, 0, 571, 572, 5, 68, 0, 0, 572, 573, 3, 74, 37, 0, 573, 574, 5, 236, 0, 0, 574, 670, 1, 0, 0, 0, 575, 576, 5, 86, 0, 0, 576, 577, 3, 74, 37, 0, 577, 578, 3, 110, 55, 0, 578, 670, 1, 0, 0, 0, 579, 580, 5, 155, 0, 0, 580, 581, 5, 220, 0, 0, 581, 582, 3, 74, 37, 0, 582, 583, 5, 68, 0, 0, 583, 586, 3, 74, 37, 0, 584, 585, 5, 65, 0, 0, 585, 587, 3, 74, 37, 0, 586, 584, 1, 0, 0, 0, 586, 587, 1, 0, 0, 0, 587, 588, 1, 0, 0, 0, 588, 589, 5, 236, 0, 0, 589, 670, 1, 0, 0, 0, 590, 591, 5, 166, 0, 0, 591, 670, 5, 200, 0, 0, 592, 593, 5, 171, 0, 0, 593, 594, 5, 220, 0, 0, 594, 595, 7, 9, 0, 0, 595, 596, 5, 200, 0, 0, 596, 597, 5, 68, 0, 0, 597, 598, 3, 74, 37, 0, 598, 599, 5, 236, 0, 0, 599, 670, 1, 0, 0, 0, 600, 601, 3, 118, 59, 0, 601, 603, 5, 220, 0, 0, 602, 604, 3, 72, 36, 0, 603, 602, 1, 0, 0, 0, 603, 604, 1, 0, 0, 0, 604, 605, 1, 0, 0, 0, 605, 606, 5, 236, 0, 0, 606, 607, 1, 0, 0, 0, 607, 608, 5, 125, 0, 0, 608, 609, 5, 220, 0, 0, 609, 610, 3, 56, 28, 0, 610, 611, 5, 236, 0, 0, 611, 670, 1, 0, 0, 0, 612, 613, 3, 118, 59, 0, 613, 615, 5, 220, 0, 0, 614, 616, 3, 72, 36, 0, 615, 614, 1, 0, 0, 0, 615, 616, 1, 0, 0, 0, 616, 617, 1, 0, 0, 0, 617, 618, 5, 236, 0, 0, 618, 619, 1, 0, 0, 0, 619, 620, 5, 125, 0, 0, 620, 621, 3, 118, 59, 0, 621, 670, 1, 0, 0, 0, 622, 628, 3, 118, 59, 0, 623, 625, 5, 220, 0, 0, 624, 626, 3, 72, 36, 0, 625, 624, 1, 0, 0, 0, 625, 626, 1, 0, 0, 0, 626, 627, 1, 0, 0, 0, 627, 629, 5, 236, 0, 0, 628, 623, 1, 0, 0, 0, 628, 629, 1, 0, 0, 0, 629, 630, 1, 0, 0, 0, 630, 632, 5, 220, 0, 0, 631, 633, 5, 49, 0, 0, 632, 631, 1, 0, 0, 0, 632, 633, 1, 0, 0, 0, 633, 635, 1, 0, 0, 0, 634, 636, 3, 76, 38, 0, 635, 634, 1, 0, 0, 0, 635, 636, 1, 0, 0, 0, 636, 637, 1, 0, 0, 0, 637, 638, 5, 236, 0, 0, 638, 670, 1, 0, 0, 0, 639, 670, 3, 82, 41, 0, 640, 670, 3, 108, 54, 0, 641, 642, 5, 208, 0, 0, 642, 670, 3, 74, 37, 18, 643, 644, 5, 115, 0, 0, 644, 670, 3, 74, 37, 12, 645, 646, 3, 98, 49, 0, 646, 647, 5, 210, 0, 0, 647, 649, 1, 0, 0, 0, 648, 645, 1, 0, 0, 0, 648, 649, 1, 0, 0, 0, 649, 650, 1, 0, 0, 0, 650, 670, 5, 202, 0, 0, 651, 652, 5, 220, 0, 0, 652, 653, 3, 2, 1, 0, 653, 654, 5, 236, 0, 0, 654, 670, 1, 0, 0, 0, 655, 656, 5, 220, 0, 0, 656, 657, 3, 74, 37, 0, 657, 658, 5, 236, 0, 0, 658, 670, 1, 0, 0, 0, 659, 660, 5, 220, 0, 0, 660, 661, 3, 72, 36, 0, 661, 662, 5, 236, 0, 0, 662, 670, 1, 0, 0, 0, 663, 665, 5, 219, 0, 0, 664, 666, 3, 72, 36, 0, 665, 664, 1, 0, 0, 0, 665, 666, 1, 0, 0, 0, 666, 667, 1, 0, 0, 0, 667, 670, 5, 235, 0, 0, 668, 670, 3, 90, 45, 0, 669, 539, 1, 0, 0, 0, 669, 559, 1, 0, 0, 0, 669, 566, 1, 0, 0, 0, 669, 568, 1, 0, 0, 0, 669, 575, 1, 0, 0, 0, 669, 579, 1, 0, 0, 0, 669, 590, 1, 0, 0, 0, 669, 592, 1, 0, 0, 0, 669, 600, 1, 0, 0, 0, 669, 612, 1, 0, 0, 0, 669, 622, 1, 0, 0, 0, 669, 639, 1, 0, 0, 0, 669, 640, 1, 0, 0, 0, 669, 641, 1, 0, 0, 0, 669, 643, 1, 0, 0, 0, 669, 648, 1, 0, 0, 0, 669, 651, 1, 0, 0, 0, 669, 655, 1, 0, 0, 0, 669, 659, 1, 0, 0, 0, 669, 663, 1, 0, 0, 0, 669, 668, 1, 0, 0, 0, 670, 764, 1, 0, 0, 0, 671, 675, 10, 17, 0, 0, 672, 676, 5, 202, 0, 0, 673, 676, 5, 238, 0, 0, 674, 676, 5, 227, 0, 0, 675, 672, 1, 0, 0, 0, 675, 673, 1, 0, 0, 0, 675, 674, 1, 0, 0, 0, 676, 677, 1, 0, 0, 0, 677, 763, 3, 74, 37, 18, 678, 682, 10, 16, 0, 0, 679, 683, 5, 228, 0, 0, 680, 683, 5, 208, 0, 0, 681, 683, 5, 207, 0, 0, 682, 679, 1, 0, 0, 0, 682, 680, 1, 0, 0, 0, 682, 681, 1, 0, 0, 0, 683, 684, 1, 0, 0, 0, 684, 763, 3, 74, 37, 17, 685, 710, 10, 15, 0, 0, 686, 711, 5, 211, 0, 0, 687, 711, 5, 212, 0, 0, 688, 711, 5, 223, 0, 0, 689, 711, 5, 221, 0, 0, 690, 711, 5, 222, 0, 0, 691, 711, 5, 213, 0, 0, 692, 711, 5, 214, 0, 0, 693, 695, 5, 115, 0, 0, 694, 693, 1, 0, 0, 0, 694, 695, 1, 0, 0, 0, 695, 696, 1, 0, 0, 0, 696, 698, 5, 80, 0, 0, 697, 699, 5, 25, 0, 0, 698, 697, 1, 0, 0, 0, 698, 699, 1, 0, 0, 0, 699, 711, 1, 0, 0, 0, 700, 702, 5, 115, 0, 0, 701, 700, 1, 0, 0, 0, 701, 702, 1, 0, 0, 0, 702, 703, 1, 0, 0, 0, 703, 711, 7, 10, 0, 0, 704, 711, 5, 232, 0, 0, 705, 711, 5, 233, 0, 0, 706, 711, 5, 225, 0, 0, 707, 711, 5, 216, 0, 0, 708, 711, 5, 217, 0, 0, 709, 711, 5, 224, 0, 0, 710, 686, 1, 0, 0, 0, 710, 687, 1, 0, 0, 0, 710, 688, 1, 0, 0, 0, 710, 689, 1, 0, 0, 0, 710, 690, 1, 0, 0, 0, 710, 691, 1, 0, 0, 0, 710, 692, 1, 0, 0, 0, 710, 694, 1, 0, 0, 0, 710, 701, 1, 0, 0, 0, 710, 704, 1, 0, 0, 0, 710, 705, 1, 0, 0, 0, 710, 706, 1, 0, 0, 0, 710, 707, 1, 0, 0, 0, 710, 708, 1, 0, 0, 0, 710, 709, 1, 0, 0, 0, 711, 712, 1, 0, 0, 0, 712, 763, 3, 74, 37, 16, 713, 714, 10, 13, 0, 0, 714, 715, 5, 226, 0, 0, 715, 763, 3, 74, 37, 14, 716, 717, 10, 11, 0, 0, 717, 718, 5, 6, 0, 0, 718, 763, 3, 74, 37, 12, 719, 720, 10, 10, 0, 0, 720, 721, 5, 121, 0, 0, 721, 763, 3, 74, 37, 11, 722, 724, 10, 9, 0, 0, 723, 725, 5, 115, 0, 0, 724, 723, 1, 0, 0, 0, 724, 725, 1, 0, 0, 0, 725, 726, 1, 0, 0, 0, 726, 727, 5, 16, 0, 0, 727, 728, 3, 74, 37, 0, 728, 729, 5, 6, 0, 0, 729, 730, 3, 74, 37, 10, 730, 763, 1, 0, 0, 0, 731, 732, 10, 8, 0, 0, 732, 733, 5, 229, 0, 0, 733, 734, 3, 74, 37, 0, 734, 735, 5, 205, 0, 0, 735, 736, 3, 74, 37, 8, 736, 763, 1, 0, 0, 0, 737, 738, 10, 21, 0, 0, 738, 739, 5, 219, 0, 0, 739, 740, 3, 74, 37, 0, 740, 741, 5, 235, 0, 0, 741, 763, 1, 0, 0, 0, 742, 743, 10, 20, 0, 0, 743, 744, 5, 210, 0, 0, 744, 763, 5, 198, 0, 0, 745, 746, 10, 19, 0, 0, 746, 747, 5, 210, 0, 0, 747, 763, 3, 118, 59, 0, 748, 749, 10, 14, 0, 0, 749, 751, 5, 88, 0, 0, 750, 752, 5, 115, 0, 0, 751, 750, 1, 0, 0, 0, 751, 752, 1, 0, 0, 0, 752, 753, 1, 0, 0, 0, 753, 763, 5, 116, 0, 0, 754, 760, 10, 7, 0, 0, 755, 761, 3, 116, 58, 0, 756, 757, 5, 10, 0, 0, 757, 761, 3, 118, 59, 0, 758, 759, 5, 10, 0, 0, 759, 761, 5, 200, 0, 0, 760, 755, 1, 0, 0, 0, 760, 756, 1, 0, 0, 0, 760, 758, 1, 0, 0, 0, 761, 763, 1, 0, 0, 0, 762, 671, 1, 0, 0, 0, 762, 678, 1, 0, 0, 0, 762, 685, 1, 0, 0, 0, 762, 713, 1, 0, 0, 0, 762, 716, 1, 0, 0, 0, 762, 719, 1, 0, 0, 0, 762, 722, 1, 0, 0, 0, 762, 731, 1, 0, 0, 0, 762, 737, 1, 0, 0, 0, 762, 742, 1, 0, 0, 0, 762, 745, 1, 0, 0, 0, 762, 748, 1, 0, 0, 0, 762, 754, 1, 0, 0, 0, 763, 766, 1, 0, 0, 0, 764, 762, 1, 0, 0, 0, 764, 765, 1, 0, 0, 0, 765, 75, 1, 0, 0, 0, 766, 764, 1, 0, 0, 0, 767, 772, 3, 78, 39, 0, 768, 769, 5, 206, 0, 0, 769, 771, 3, 78, 39, 0, 770, 768, 1, 0, 0, 0, 771, 774, 1, 0, 0, 0, 772, 770, 1, 0, 0, 0, 772, 773, 1, 0, 0, 0, 773, 77, 1, 0, 0, 0, 774, 772, 1, 0, 0, 0, 775, 778, 3, 80, 40, 0, 776, 778, 3, 74, 37, 0, 777, 775, 1, 0, 0, 0, 777, 776, 1, 0, 0, 0, 778, 79, 1, 0, 0, 0, 779, 780, 5, 220, 0, 0, 780, 785, 3, 118, 59, 0, 781, 782, 5, 206, 0, 0, 782, 784, 3, 118, 59, 0, 783, 781, 1, 0, 0, 0, 784, 787, 1, 0, 0, 0, 785, 783, 1, 0, 0, 0, 785, 786, 1, 0, 0, 0, 786, 788, 1, 0, 0, 0, 787, 785, 1, 0, 0, 0, 788, 789, 5, 236, 0, 0, 789, 799, 1, 0, 0, 0, 790, 795, 3, 118, 59, 0, 791, 792, 5, 206, 0, 0, 792, 794, 3, 118, 59, 0, 793, 791, 1, 0, 0, 0, 794, 797, 1, 0, 0, 0, 795, 793, 1, 0, 0, 0, 795, 796, 1, 0, 0, 0, 796, 799, 1, 0, 0, 0, 797, 795, 1, 0, 0, 0, 798, 779, 1, 0, 0, 0, 798, 790, 1, 0, 0, 0, 799, 800, 1, 0, 0, 0, 800, 801, 5, 201, 0, 0, 801, 802, 3, 74, 37, 0, 802, 81, 1, 0, 0, 0, 803, 804, 5, 222, 0, 0, 804, 808, 3, 118, 59, 0, 805, 807, 3, 84, 42, 0, 806, 805, 1, 0, 0, 0, 807, 810, 1, 0, 0, 0, 808, 806, 1, 0, 0, 0, 808, 809, 1, 0, 0, 0, 809, 811, 1, 0, 0, 0, 810, 808, 1, 0, 0, 0, 811, 812, 5, 238, 0, 0, 812, 813, 5, 214, 0, 0, 813, 832, 1, 0, 0, 0, 814, 815, 5, 222, 0, 0, 815, 819, 3, 118, 59, 0, 816, 818, 3, 84, 42, 0, 817, 816, 1, 0, 0, 0, 818, 821, 1, 0, 0, 0, 819, 817, 1, 0, 0, 0, 819, 820, 1, 0, 0, 0, 820, 822, 1, 0, 0, 0, 821, 819, 1, 0, 0, 0, 822, 824, 5, 214, 0, 0, 823, 825, 3, 82, 41, 0, 824, 823, 1, 0, 0, 0, 824, 825, 1, 0, 0, 0, 825, 826, 1, 0, 0, 0, 826, 827, 5, 222, 0, 0, 827, 828, 5, 238, 0, 0, 828, 829, 3, 118, 59, 0, 829, 830, 5, 214, 0, 0, 830, 832, 1, 0, 0, 0, 831, 803, 1, 0, 0, 0, 831, 814, 1, 0, 0, 0, 832, 83, 1, 0, 0, 0, 833, 834, 3, 118, 59, 0, 834, 835, 5, 212, 0, 0, 835, 836, 5, 200, 0, 0, 836, 845, 1, 0, 0, 0, 837, 838, 3, 118, 59, 0, 838, 839, 5, 212, 0, 0, 839, 840, 5, 218, 0, 0, 840, 841, 3, 74, 37, 0, 841, 842, 5, 234, 0, 0, 842, 845, 1, 0, 0, 0, 843, 845, 3, 118, 59, 0, 844, 833, 1, 0, 0, 0, 844, 837, 1, 0, 0, 0, 844, 843, 1, 0, 0, 0, 845, 85, 1, 0, 0, 0, 846, 851, 3, 88, 44, 0, 847, 848, 5, 206, 0, 0, 848, 850, 3, 88, 44, 0, 849, 847, 1, 0, 0, 0, 850, 853, 1, 0, 0, 0, 851, 849, 1, 0, 0, 0, 851, 852, 1, 0, 0, 0, 852, 87, 1, 0, 0, 0, 853, 851, 1, 0, 0, 0, 854, 855, 3, 118, 59, 0, 855, 856, 5, 10, 0, 0, 856, 857, 5, 220, 0, 0, 857, 858, 3, 2, 1, 0, 858, 859, 5, 236, 0, 0, 859, 865, 1, 0, 0, 0, 860, 861, 3, 74, 37, 0, 861, 862, 5, 10, 0, 0, 862, 863, 3, 118, 59, 0, 863, 865, 1, 0, 0, 0, 864, 854, 1, 0, 0, 0, 864, 860, 1, 0, 0, 0, 865, 89, 1, 0, 0, 0, 866, 874, 3, 122, 61, 0, 867, 868, 3, 98, 49, 0, 868, 869, 5, 210, 0, 0, 869, 871, 1, 0, 0, 0, 870, 867, 1, 0, 0, 0, 870, 871, 1, 0, 0, 0, 871, 872, 1, 0, 0, 0, 872, 874, 3, 92, 46, 0, 873, 866, 1, 0, 0, 0, 873, 870, 1, 0, 0, 0, 874, 91, 1, 0, 0, 0, 875, 880, 3, 118, 59, 0, 876, 877, 5, 210, 0, 0, 877, 879, 3, 118, 59, 0, 878, 876, 1, 0, 0, 0, 879, 882, 1, 0, 0, 0, 880, 878, 1, 0, 0, 0, 880, 881, 1, 0, 0, 0, 881, 93, 1, 0, 0, 0, 882, 880, 1, 0, 0, 0, 883, 884, 6, 47, -1, 0, 884, 893, 3, 98, 49, 0, 885, 893, 3, 96, 48, 0, 886, 887, 5, 220, 0, 0, 887, 888, 3, 2, 1, 0, 888, 889, 5, 236, 0, 0, 889, 893, 1, 0, 0, 0, 890, 893, 3, 82, 41, 0, 891, 893, 3, 122, 61, 0, 892, 883, 1, 0, 0, 0, 892, 885, 1, 0, 0, 0, 892, 886, 1, 0, 0, 0, 892, 890, 1, 0, 0, 0, 892, 891, 1, 0, 0, 0, 893, 902, 1, 0, 0, 0, 894, 898, 10, 3, 0, 0, 895, 899, 3, 116, 58, 0, 896, 897, 5, 10, 0, 0, 897, 899, 3, 118, 59, 0, 898, 895, 1, 0, 0, 0, 898, 896, 1, 0, 0, 0, 899, 901, 1, 0, 0, 0, 900, 894, 1, 0, 0, 0, 901, 904, 1, 0, 0, 0, 902, 900, 1, 0, 0, 0, 902, 903, 1, 0, 0, 0, 903, 95, 1, 0, 0, 0, 904, 902, 1, 0, 0, 0, 905, 906, 3, 118, 59, 0, 906, 908, 5, 220, 0, 0, 907, 909, 3, 100, 50, 0, 908, 907, 1, 0, 0, 0, 908, 909, 1, 0, 0, 0, 909, 910, 1, 0, 0, 0, 910, 911, 5, 236, 0, 0, 911, 97, 1, 0, 0, 0, 912, 913, 3, 102, 51, 0, 913, 914, 5, 210, 0, 0, 914, 916, 1, 0, 0, 0, 915, 912, 1, 0, 0, 0, 915, 916, 1, 0, 0, 0, 916, 917, 1, 0, 0, 0, 917, 918, 3, 118, 59, 0, 918, 99, 1, 0, 0, 0, 919, 924, 3, 74, 37, 0, 920, 921, 5, 206, 0, 0, 921, 923, 3, 74, 37, 0, 922, 920, 1, 0, 0, 0, 923, 926, 1, 0, 0, 0, 924, 922, 1, 0, 0, 0, 924, 925, 1, 0, 0, 0, 925, 101, 1, 0, 0, 0, 926, 924, 1, 0, 0, 0, 927, 928, 3, 118, 59, 0, 928, 103, 1, 0, 0, 0, 929, 938, 5, 196, 0, 0, 930, 931, 5, 210, 0, 0, 931, 938, 7, 11, 0, 0, 932, 933, 5, 198, 0, 0, 933, 935, 5, 210, 0, 0, 934, 936, 7, 11, 0, 0, 935, 934, 1, 0, 0, 0, 935, 936, 1, 0, 0, 0, 936, 938, 1, 0, 0, 0, 937, 929, 1, 0, 0, 0, 937, 930, 1, 0, 0, 0, 937, 932, 1, 0, 0, 0, 938, 105, 1, 0, 0, 0, 939, 941, 7, 12, 0, 0, 940, 939, 1, 0, 0, 0, 940, 941, 1, 0, 0, 0, 941, 948, 1, 0, 0, 0, 942, 949, 3, 104, 52, 0, 943, 949, 5, 197, 0, 0, 944, 949, 5, 198, 0, 0, 945, 949, 5, 199, 0, 0, 946, 949, 5, 82, 0, 0, 947, 949, 5, 113, 0, 0, 948, 942, 1, 0, 0, 0, 948, 943, 1, 0, 0, 0, 948, 944, 1, 0, 0, 0, 948, 945, 1, 0, 0, 0, 948, 946, 1, 0, 0, 0, 948, 947, 1, 0, 0, 0, 949, 107, 1, 0, 0, 0, 950, 954, 3, 106, 53, 0, 951, 954, 5, 200, 0, 0, 952, 954, 5, 116, 0, 0, 953, 950, 1, 0, 0, 0, 953, 951, 1, 0, 0, 0, 953, 952, 1, 0, 0, 0, 954, 109, 1, 0, 0, 0, 955, 956, 7, 13, 0, 0, 956, 111, 1, 0, 0, 0, 957, 958, 7, 14, 0, 0, 958, 113, 1, 0, 0, 0, 959, 960, 7, 15, 0, 0, 960, 115, 1, 0, 0, 0, 961, 964, 5, 195, 0, 0, 962, 964, 3, 114, 57, 0, 963, 961, 1, 0, 0, 0, 963, 962, 1, 0, 0, 0, 964, 117, 1, 0, 0, 0, 965, 969, 5, 195, 0, 0, 966, 969, 3, 110, 55, 0, 967, 969, 3, 112, 56, 0, 968, 965, 1, 0, 0, 0, 968, 966, 1, 0, 0, 0, 968, 967, 1, 0, 0, 0, 969, 119, 1, 0, 0, 0, 970, 971, 5, 200, 0, 0, 971, 972, 5, 212, 0, 0, 972, 973, 3, 106, 53, 0, 973, 121, 1, 0, 0, 0, 974, 975, 5, 218, 0, 0, 975, 976, 3, 118, 59, 0, 976, 977, 5, 234, 0, 0, 977, 123, 1, 0, 0, 0, 120, 127, 137, 146, 149, 153, 156, 160, 163, 166, 169, 172, 176, 180, 183, 186, 189, 193, 196, 205, 211, 232, 249, 266, 272, 278, 289, 291, 302, 305, 311, 319, 325, 327, 331, 336, 339, 342, 346, 350, 353, 355, 358, 362, 366, 369, 371, 373, 378, 389, 395, 402, 407, 411, 415, 421, 423, 430, 438, 441, 444, 463, 477, 493, 505, 517, 525, 529, 536, 542, 551, 555, 586, 603, 615, 625, 628, 632, 635, 648, 665, 669, 675, 682, 694, 698, 701, 710, 724, 751, 760, 762, 764, 772, 777, 785, 795, 798, 808, 819, 824, 831, 844, 851, 864, 870, 873, 880, 892, 898, 902, 908, 915, 924, 935, 937, 940, 948, 953, 963, 968] \ No newline at end of file diff --git a/hogql_parser/parser.cpp b/hogql_parser/parser.cpp index 823d38ed8dbf4..1c16cbe1280c1 100644 --- a/hogql_parser/parser.cpp +++ b/hogql_parser/parser.cpp @@ -310,6 +310,12 @@ class HogQLParseTreeConverter : public HogQLParserBaseVisitor { if (select_stmt_ctx) { return visit(select_stmt_ctx); } + + auto placeholder_ctx = ctx->placeholder(); + if (placeholder_ctx) { + return visitAsPyObject(placeholder_ctx); + } + return visit(ctx->selectUnionStmt()); } @@ -344,6 +350,9 @@ class HogQLParseTreeConverter : public HogQLParserBaseVisitor { int extend_code = X_PyList_Extend(flattened_queries, sub_select_queries); if (extend_code == -1) goto select_queries_loop_py_error; Py_DECREF(sub_select_queries); + } else if (is_ast_node_instance(query, "Placeholder")) { + int append_code = PyList_Append(flattened_queries, query); + if (append_code == -1) goto select_queries_loop_py_error; } else { Py_DECREF(flattened_queries); X_Py_DECREF_ALL(select_queries); diff --git a/hogql_parser/setup.py b/hogql_parser/setup.py index 1763a9634c657..6a95b379acd90 100644 --- a/hogql_parser/setup.py +++ b/hogql_parser/setup.py @@ -32,7 +32,7 @@ setup( name="hogql_parser", - version="1.0.2", + version="1.0.3", url="https://github.com/PostHog/posthog/tree/master/hogql_parser", author="PostHog Inc.", author_email="hey@posthog.com", diff --git a/mypy-baseline.txt b/mypy-baseline.txt index 4e597da7721b0..edc1e8b6694ee 100644 --- a/mypy-baseline.txt +++ b/mypy-baseline.txt @@ -65,6 +65,7 @@ posthog/hogql/database/schema/persons.py:0: error: Argument "chain" to "Field" h posthog/hogql/database/schema/persons.py:0: note: "List" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance posthog/hogql/database/schema/persons.py:0: note: Consider using "Sequence" instead, which is covariant posthog/hogql/parser.py:0: error: Key expression in dictionary comprehension has incompatible type "str"; expected type "Literal['expr', 'order_expr', 'select']" [misc] +posthog/hogql/parser.py:0: error: Statement is unreachable [unreachable] posthog/hogql/parser.py:0: error: Item "None" of "list[Expr] | None" has no attribute "__iter__" (not iterable) [union-attr] posthog/hogql/parser.py:0: error: "None" has no attribute "text" [attr-defined] posthog/hogql/parser.py:0: error: "None" has no attribute "text" [attr-defined] diff --git a/posthog/hogql/grammar/HogQLParser.g4 b/posthog/hogql/grammar/HogQLParser.g4 index 68adb8a8b76ac..a0f22ae3cdb0a 100644 --- a/posthog/hogql/grammar/HogQLParser.g4 +++ b/posthog/hogql/grammar/HogQLParser.g4 @@ -9,7 +9,8 @@ options { select: (selectUnionStmt | selectStmt | hogqlxTagElement) EOF; selectUnionStmt: selectStmtWithParens (UNION ALL selectStmtWithParens)*; -selectStmtWithParens: selectStmt | LPAREN selectUnionStmt RPAREN; +selectStmtWithParens: selectStmt | LPAREN selectUnionStmt RPAREN | placeholder; + selectStmt: with=withClause? SELECT DISTINCT? topClause? diff --git a/posthog/hogql/grammar/HogQLParser.interp b/posthog/hogql/grammar/HogQLParser.interp index a44e1fbc2501e..2b24b72a2819d 100644 --- a/posthog/hogql/grammar/HogQLParser.interp +++ b/posthog/hogql/grammar/HogQLParser.interp @@ -554,4 +554,4 @@ placeholder atn: -[4, 1, 242, 978, 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, 1, 0, 1, 0, 1, 0, 3, 0, 128, 8, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 136, 8, 1, 10, 1, 12, 1, 139, 9, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 3, 2, 146, 8, 2, 1, 3, 3, 3, 149, 8, 3, 1, 3, 1, 3, 3, 3, 153, 8, 3, 1, 3, 3, 3, 156, 8, 3, 1, 3, 1, 3, 3, 3, 160, 8, 3, 1, 3, 3, 3, 163, 8, 3, 1, 3, 3, 3, 166, 8, 3, 1, 3, 3, 3, 169, 8, 3, 1, 3, 3, 3, 172, 8, 3, 1, 3, 1, 3, 3, 3, 176, 8, 3, 1, 3, 1, 3, 3, 3, 180, 8, 3, 1, 3, 3, 3, 183, 8, 3, 1, 3, 3, 3, 186, 8, 3, 1, 3, 3, 3, 189, 8, 3, 1, 3, 1, 3, 3, 3, 193, 8, 3, 1, 3, 3, 3, 196, 8, 3, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 205, 8, 5, 1, 6, 1, 6, 1, 6, 1, 7, 3, 7, 211, 8, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 230, 8, 8, 10, 8, 12, 8, 233, 9, 8, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 3, 11, 249, 8, 11, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 266, 8, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 272, 8, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 278, 8, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 289, 8, 15, 3, 15, 291, 8, 15, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 3, 18, 302, 8, 18, 1, 18, 3, 18, 305, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 311, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 319, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 5, 18, 325, 8, 18, 10, 18, 12, 18, 328, 9, 18, 1, 19, 3, 19, 331, 8, 19, 1, 19, 1, 19, 1, 19, 3, 19, 336, 8, 19, 1, 19, 3, 19, 339, 8, 19, 1, 19, 3, 19, 342, 8, 19, 1, 19, 1, 19, 3, 19, 346, 8, 19, 1, 19, 1, 19, 3, 19, 350, 8, 19, 1, 19, 3, 19, 353, 8, 19, 3, 19, 355, 8, 19, 1, 19, 3, 19, 358, 8, 19, 1, 19, 1, 19, 3, 19, 362, 8, 19, 1, 19, 1, 19, 3, 19, 366, 8, 19, 1, 19, 3, 19, 369, 8, 19, 3, 19, 371, 8, 19, 3, 19, 373, 8, 19, 1, 20, 1, 20, 1, 20, 3, 20, 378, 8, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 389, 8, 21, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 395, 8, 22, 1, 23, 1, 23, 1, 23, 5, 23, 400, 8, 23, 10, 23, 12, 23, 403, 9, 23, 1, 24, 1, 24, 3, 24, 407, 8, 24, 1, 24, 1, 24, 3, 24, 411, 8, 24, 1, 24, 1, 24, 3, 24, 415, 8, 24, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 421, 8, 25, 3, 25, 423, 8, 25, 1, 26, 1, 26, 1, 26, 5, 26, 428, 8, 26, 10, 26, 12, 26, 431, 9, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 3, 28, 438, 8, 28, 1, 28, 3, 28, 441, 8, 28, 1, 28, 3, 28, 444, 8, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 463, 8, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 3, 33, 477, 8, 33, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 491, 8, 35, 10, 35, 12, 35, 494, 9, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 503, 8, 35, 10, 35, 12, 35, 506, 9, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 515, 8, 35, 10, 35, 12, 35, 518, 9, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 525, 8, 35, 1, 35, 1, 35, 3, 35, 529, 8, 35, 1, 36, 1, 36, 1, 36, 5, 36, 534, 8, 36, 10, 36, 12, 36, 537, 9, 36, 1, 37, 1, 37, 1, 37, 3, 37, 542, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 4, 37, 549, 8, 37, 11, 37, 12, 37, 550, 1, 37, 1, 37, 3, 37, 555, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 586, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 603, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 615, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 625, 8, 37, 1, 37, 3, 37, 628, 8, 37, 1, 37, 1, 37, 3, 37, 632, 8, 37, 1, 37, 3, 37, 635, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 648, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 665, 8, 37, 1, 37, 1, 37, 3, 37, 669, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 675, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 682, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 694, 8, 37, 1, 37, 1, 37, 3, 37, 698, 8, 37, 1, 37, 3, 37, 701, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 710, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 724, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 751, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 760, 8, 37, 5, 37, 762, 8, 37, 10, 37, 12, 37, 765, 9, 37, 1, 38, 1, 38, 1, 38, 5, 38, 770, 8, 38, 10, 38, 12, 38, 773, 9, 38, 1, 39, 1, 39, 3, 39, 777, 8, 39, 1, 40, 1, 40, 1, 40, 1, 40, 5, 40, 783, 8, 40, 10, 40, 12, 40, 786, 9, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 5, 40, 793, 8, 40, 10, 40, 12, 40, 796, 9, 40, 3, 40, 798, 8, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 5, 41, 806, 8, 41, 10, 41, 12, 41, 809, 9, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 5, 41, 817, 8, 41, 10, 41, 12, 41, 820, 9, 41, 1, 41, 1, 41, 3, 41, 824, 8, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 831, 8, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 3, 42, 844, 8, 42, 1, 43, 1, 43, 1, 43, 5, 43, 849, 8, 43, 10, 43, 12, 43, 852, 9, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 864, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 870, 8, 45, 1, 45, 3, 45, 873, 8, 45, 1, 46, 1, 46, 1, 46, 5, 46, 878, 8, 46, 10, 46, 12, 46, 881, 9, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 892, 8, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 898, 8, 47, 5, 47, 900, 8, 47, 10, 47, 12, 47, 903, 9, 47, 1, 48, 1, 48, 1, 48, 3, 48, 908, 8, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 3, 49, 915, 8, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 5, 50, 922, 8, 50, 10, 50, 12, 50, 925, 9, 50, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 935, 8, 52, 3, 52, 937, 8, 52, 1, 53, 3, 53, 940, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 948, 8, 53, 1, 54, 1, 54, 1, 54, 3, 54, 953, 8, 54, 1, 55, 1, 55, 1, 56, 1, 56, 1, 57, 1, 57, 1, 58, 1, 58, 3, 58, 963, 8, 58, 1, 59, 1, 59, 1, 59, 3, 59, 968, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 0, 3, 36, 74, 94, 62, 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, 0, 16, 2, 0, 32, 32, 141, 141, 2, 0, 84, 84, 96, 96, 3, 0, 4, 4, 8, 8, 12, 12, 4, 0, 4, 4, 7, 8, 12, 12, 147, 147, 2, 0, 96, 96, 140, 140, 2, 0, 4, 4, 8, 8, 2, 0, 11, 11, 42, 43, 2, 0, 62, 62, 93, 93, 2, 0, 133, 133, 143, 143, 3, 0, 17, 17, 95, 95, 170, 170, 2, 0, 79, 79, 98, 98, 1, 0, 197, 198, 2, 0, 208, 208, 228, 228, 8, 0, 37, 37, 76, 76, 108, 108, 110, 110, 132, 132, 145, 145, 185, 185, 190, 190, 13, 0, 2, 24, 26, 36, 38, 75, 77, 81, 83, 107, 109, 109, 111, 112, 114, 115, 117, 130, 133, 144, 146, 184, 186, 189, 191, 192, 4, 0, 36, 36, 62, 62, 77, 77, 91, 91, 1105, 0, 127, 1, 0, 0, 0, 2, 131, 1, 0, 0, 0, 4, 145, 1, 0, 0, 0, 6, 148, 1, 0, 0, 0, 8, 197, 1, 0, 0, 0, 10, 200, 1, 0, 0, 0, 12, 206, 1, 0, 0, 0, 14, 210, 1, 0, 0, 0, 16, 216, 1, 0, 0, 0, 18, 234, 1, 0, 0, 0, 20, 237, 1, 0, 0, 0, 22, 240, 1, 0, 0, 0, 24, 250, 1, 0, 0, 0, 26, 253, 1, 0, 0, 0, 28, 257, 1, 0, 0, 0, 30, 290, 1, 0, 0, 0, 32, 292, 1, 0, 0, 0, 34, 295, 1, 0, 0, 0, 36, 310, 1, 0, 0, 0, 38, 372, 1, 0, 0, 0, 40, 377, 1, 0, 0, 0, 42, 388, 1, 0, 0, 0, 44, 390, 1, 0, 0, 0, 46, 396, 1, 0, 0, 0, 48, 404, 1, 0, 0, 0, 50, 422, 1, 0, 0, 0, 52, 424, 1, 0, 0, 0, 54, 432, 1, 0, 0, 0, 56, 437, 1, 0, 0, 0, 58, 445, 1, 0, 0, 0, 60, 449, 1, 0, 0, 0, 62, 453, 1, 0, 0, 0, 64, 462, 1, 0, 0, 0, 66, 476, 1, 0, 0, 0, 68, 478, 1, 0, 0, 0, 70, 528, 1, 0, 0, 0, 72, 530, 1, 0, 0, 0, 74, 668, 1, 0, 0, 0, 76, 766, 1, 0, 0, 0, 78, 776, 1, 0, 0, 0, 80, 797, 1, 0, 0, 0, 82, 830, 1, 0, 0, 0, 84, 843, 1, 0, 0, 0, 86, 845, 1, 0, 0, 0, 88, 863, 1, 0, 0, 0, 90, 872, 1, 0, 0, 0, 92, 874, 1, 0, 0, 0, 94, 891, 1, 0, 0, 0, 96, 904, 1, 0, 0, 0, 98, 914, 1, 0, 0, 0, 100, 918, 1, 0, 0, 0, 102, 926, 1, 0, 0, 0, 104, 936, 1, 0, 0, 0, 106, 939, 1, 0, 0, 0, 108, 952, 1, 0, 0, 0, 110, 954, 1, 0, 0, 0, 112, 956, 1, 0, 0, 0, 114, 958, 1, 0, 0, 0, 116, 962, 1, 0, 0, 0, 118, 967, 1, 0, 0, 0, 120, 969, 1, 0, 0, 0, 122, 973, 1, 0, 0, 0, 124, 128, 3, 2, 1, 0, 125, 128, 3, 6, 3, 0, 126, 128, 3, 82, 41, 0, 127, 124, 1, 0, 0, 0, 127, 125, 1, 0, 0, 0, 127, 126, 1, 0, 0, 0, 128, 129, 1, 0, 0, 0, 129, 130, 5, 0, 0, 1, 130, 1, 1, 0, 0, 0, 131, 137, 3, 4, 2, 0, 132, 133, 5, 176, 0, 0, 133, 134, 5, 4, 0, 0, 134, 136, 3, 4, 2, 0, 135, 132, 1, 0, 0, 0, 136, 139, 1, 0, 0, 0, 137, 135, 1, 0, 0, 0, 137, 138, 1, 0, 0, 0, 138, 3, 1, 0, 0, 0, 139, 137, 1, 0, 0, 0, 140, 146, 3, 6, 3, 0, 141, 142, 5, 220, 0, 0, 142, 143, 3, 2, 1, 0, 143, 144, 5, 236, 0, 0, 144, 146, 1, 0, 0, 0, 145, 140, 1, 0, 0, 0, 145, 141, 1, 0, 0, 0, 146, 5, 1, 0, 0, 0, 147, 149, 3, 8, 4, 0, 148, 147, 1, 0, 0, 0, 148, 149, 1, 0, 0, 0, 149, 150, 1, 0, 0, 0, 150, 152, 5, 146, 0, 0, 151, 153, 5, 49, 0, 0, 152, 151, 1, 0, 0, 0, 152, 153, 1, 0, 0, 0, 153, 155, 1, 0, 0, 0, 154, 156, 3, 10, 5, 0, 155, 154, 1, 0, 0, 0, 155, 156, 1, 0, 0, 0, 156, 157, 1, 0, 0, 0, 157, 159, 3, 72, 36, 0, 158, 160, 3, 12, 6, 0, 159, 158, 1, 0, 0, 0, 159, 160, 1, 0, 0, 0, 160, 162, 1, 0, 0, 0, 161, 163, 3, 14, 7, 0, 162, 161, 1, 0, 0, 0, 162, 163, 1, 0, 0, 0, 163, 165, 1, 0, 0, 0, 164, 166, 3, 18, 9, 0, 165, 164, 1, 0, 0, 0, 165, 166, 1, 0, 0, 0, 166, 168, 1, 0, 0, 0, 167, 169, 3, 20, 10, 0, 168, 167, 1, 0, 0, 0, 168, 169, 1, 0, 0, 0, 169, 171, 1, 0, 0, 0, 170, 172, 3, 22, 11, 0, 171, 170, 1, 0, 0, 0, 171, 172, 1, 0, 0, 0, 172, 175, 1, 0, 0, 0, 173, 174, 5, 189, 0, 0, 174, 176, 7, 0, 0, 0, 175, 173, 1, 0, 0, 0, 175, 176, 1, 0, 0, 0, 176, 179, 1, 0, 0, 0, 177, 178, 5, 189, 0, 0, 178, 180, 5, 169, 0, 0, 179, 177, 1, 0, 0, 0, 179, 180, 1, 0, 0, 0, 180, 182, 1, 0, 0, 0, 181, 183, 3, 24, 12, 0, 182, 181, 1, 0, 0, 0, 182, 183, 1, 0, 0, 0, 183, 185, 1, 0, 0, 0, 184, 186, 3, 16, 8, 0, 185, 184, 1, 0, 0, 0, 185, 186, 1, 0, 0, 0, 186, 188, 1, 0, 0, 0, 187, 189, 3, 26, 13, 0, 188, 187, 1, 0, 0, 0, 188, 189, 1, 0, 0, 0, 189, 192, 1, 0, 0, 0, 190, 193, 3, 30, 15, 0, 191, 193, 3, 32, 16, 0, 192, 190, 1, 0, 0, 0, 192, 191, 1, 0, 0, 0, 192, 193, 1, 0, 0, 0, 193, 195, 1, 0, 0, 0, 194, 196, 3, 34, 17, 0, 195, 194, 1, 0, 0, 0, 195, 196, 1, 0, 0, 0, 196, 7, 1, 0, 0, 0, 197, 198, 5, 189, 0, 0, 198, 199, 3, 86, 43, 0, 199, 9, 1, 0, 0, 0, 200, 201, 5, 168, 0, 0, 201, 204, 5, 198, 0, 0, 202, 203, 5, 189, 0, 0, 203, 205, 5, 164, 0, 0, 204, 202, 1, 0, 0, 0, 204, 205, 1, 0, 0, 0, 205, 11, 1, 0, 0, 0, 206, 207, 5, 68, 0, 0, 207, 208, 3, 36, 18, 0, 208, 13, 1, 0, 0, 0, 209, 211, 7, 1, 0, 0, 210, 209, 1, 0, 0, 0, 210, 211, 1, 0, 0, 0, 211, 212, 1, 0, 0, 0, 212, 213, 5, 9, 0, 0, 213, 214, 5, 90, 0, 0, 214, 215, 3, 72, 36, 0, 215, 15, 1, 0, 0, 0, 216, 217, 5, 188, 0, 0, 217, 218, 3, 118, 59, 0, 218, 219, 5, 10, 0, 0, 219, 220, 5, 220, 0, 0, 220, 221, 3, 56, 28, 0, 221, 231, 5, 236, 0, 0, 222, 223, 5, 206, 0, 0, 223, 224, 3, 118, 59, 0, 224, 225, 5, 10, 0, 0, 225, 226, 5, 220, 0, 0, 226, 227, 3, 56, 28, 0, 227, 228, 5, 236, 0, 0, 228, 230, 1, 0, 0, 0, 229, 222, 1, 0, 0, 0, 230, 233, 1, 0, 0, 0, 231, 229, 1, 0, 0, 0, 231, 232, 1, 0, 0, 0, 232, 17, 1, 0, 0, 0, 233, 231, 1, 0, 0, 0, 234, 235, 5, 129, 0, 0, 235, 236, 3, 74, 37, 0, 236, 19, 1, 0, 0, 0, 237, 238, 5, 187, 0, 0, 238, 239, 3, 74, 37, 0, 239, 21, 1, 0, 0, 0, 240, 241, 5, 73, 0, 0, 241, 248, 5, 18, 0, 0, 242, 243, 7, 0, 0, 0, 243, 244, 5, 220, 0, 0, 244, 245, 3, 72, 36, 0, 245, 246, 5, 236, 0, 0, 246, 249, 1, 0, 0, 0, 247, 249, 3, 72, 36, 0, 248, 242, 1, 0, 0, 0, 248, 247, 1, 0, 0, 0, 249, 23, 1, 0, 0, 0, 250, 251, 5, 74, 0, 0, 251, 252, 3, 74, 37, 0, 252, 25, 1, 0, 0, 0, 253, 254, 5, 122, 0, 0, 254, 255, 5, 18, 0, 0, 255, 256, 3, 46, 23, 0, 256, 27, 1, 0, 0, 0, 257, 258, 5, 122, 0, 0, 258, 259, 5, 18, 0, 0, 259, 260, 3, 72, 36, 0, 260, 29, 1, 0, 0, 0, 261, 262, 5, 99, 0, 0, 262, 265, 3, 74, 37, 0, 263, 264, 5, 206, 0, 0, 264, 266, 3, 74, 37, 0, 265, 263, 1, 0, 0, 0, 265, 266, 1, 0, 0, 0, 266, 271, 1, 0, 0, 0, 267, 268, 5, 189, 0, 0, 268, 272, 5, 164, 0, 0, 269, 270, 5, 18, 0, 0, 270, 272, 3, 72, 36, 0, 271, 267, 1, 0, 0, 0, 271, 269, 1, 0, 0, 0, 271, 272, 1, 0, 0, 0, 272, 291, 1, 0, 0, 0, 273, 274, 5, 99, 0, 0, 274, 277, 3, 74, 37, 0, 275, 276, 5, 189, 0, 0, 276, 278, 5, 164, 0, 0, 277, 275, 1, 0, 0, 0, 277, 278, 1, 0, 0, 0, 278, 279, 1, 0, 0, 0, 279, 280, 5, 118, 0, 0, 280, 281, 3, 74, 37, 0, 281, 291, 1, 0, 0, 0, 282, 283, 5, 99, 0, 0, 283, 284, 3, 74, 37, 0, 284, 285, 5, 118, 0, 0, 285, 288, 3, 74, 37, 0, 286, 287, 5, 18, 0, 0, 287, 289, 3, 72, 36, 0, 288, 286, 1, 0, 0, 0, 288, 289, 1, 0, 0, 0, 289, 291, 1, 0, 0, 0, 290, 261, 1, 0, 0, 0, 290, 273, 1, 0, 0, 0, 290, 282, 1, 0, 0, 0, 291, 31, 1, 0, 0, 0, 292, 293, 5, 118, 0, 0, 293, 294, 3, 74, 37, 0, 294, 33, 1, 0, 0, 0, 295, 296, 5, 150, 0, 0, 296, 297, 3, 52, 26, 0, 297, 35, 1, 0, 0, 0, 298, 299, 6, 18, -1, 0, 299, 301, 3, 94, 47, 0, 300, 302, 5, 61, 0, 0, 301, 300, 1, 0, 0, 0, 301, 302, 1, 0, 0, 0, 302, 304, 1, 0, 0, 0, 303, 305, 3, 44, 22, 0, 304, 303, 1, 0, 0, 0, 304, 305, 1, 0, 0, 0, 305, 311, 1, 0, 0, 0, 306, 307, 5, 220, 0, 0, 307, 308, 3, 36, 18, 0, 308, 309, 5, 236, 0, 0, 309, 311, 1, 0, 0, 0, 310, 298, 1, 0, 0, 0, 310, 306, 1, 0, 0, 0, 311, 326, 1, 0, 0, 0, 312, 313, 10, 3, 0, 0, 313, 314, 3, 40, 20, 0, 314, 315, 3, 36, 18, 4, 315, 325, 1, 0, 0, 0, 316, 318, 10, 4, 0, 0, 317, 319, 3, 38, 19, 0, 318, 317, 1, 0, 0, 0, 318, 319, 1, 0, 0, 0, 319, 320, 1, 0, 0, 0, 320, 321, 5, 90, 0, 0, 321, 322, 3, 36, 18, 0, 322, 323, 3, 42, 21, 0, 323, 325, 1, 0, 0, 0, 324, 312, 1, 0, 0, 0, 324, 316, 1, 0, 0, 0, 325, 328, 1, 0, 0, 0, 326, 324, 1, 0, 0, 0, 326, 327, 1, 0, 0, 0, 327, 37, 1, 0, 0, 0, 328, 326, 1, 0, 0, 0, 329, 331, 7, 2, 0, 0, 330, 329, 1, 0, 0, 0, 330, 331, 1, 0, 0, 0, 331, 332, 1, 0, 0, 0, 332, 339, 5, 84, 0, 0, 333, 335, 5, 84, 0, 0, 334, 336, 7, 2, 0, 0, 335, 334, 1, 0, 0, 0, 335, 336, 1, 0, 0, 0, 336, 339, 1, 0, 0, 0, 337, 339, 7, 2, 0, 0, 338, 330, 1, 0, 0, 0, 338, 333, 1, 0, 0, 0, 338, 337, 1, 0, 0, 0, 339, 373, 1, 0, 0, 0, 340, 342, 7, 3, 0, 0, 341, 340, 1, 0, 0, 0, 341, 342, 1, 0, 0, 0, 342, 343, 1, 0, 0, 0, 343, 345, 7, 4, 0, 0, 344, 346, 5, 123, 0, 0, 345, 344, 1, 0, 0, 0, 345, 346, 1, 0, 0, 0, 346, 355, 1, 0, 0, 0, 347, 349, 7, 4, 0, 0, 348, 350, 5, 123, 0, 0, 349, 348, 1, 0, 0, 0, 349, 350, 1, 0, 0, 0, 350, 352, 1, 0, 0, 0, 351, 353, 7, 3, 0, 0, 352, 351, 1, 0, 0, 0, 352, 353, 1, 0, 0, 0, 353, 355, 1, 0, 0, 0, 354, 341, 1, 0, 0, 0, 354, 347, 1, 0, 0, 0, 355, 373, 1, 0, 0, 0, 356, 358, 7, 5, 0, 0, 357, 356, 1, 0, 0, 0, 357, 358, 1, 0, 0, 0, 358, 359, 1, 0, 0, 0, 359, 361, 5, 69, 0, 0, 360, 362, 5, 123, 0, 0, 361, 360, 1, 0, 0, 0, 361, 362, 1, 0, 0, 0, 362, 371, 1, 0, 0, 0, 363, 365, 5, 69, 0, 0, 364, 366, 5, 123, 0, 0, 365, 364, 1, 0, 0, 0, 365, 366, 1, 0, 0, 0, 366, 368, 1, 0, 0, 0, 367, 369, 7, 5, 0, 0, 368, 367, 1, 0, 0, 0, 368, 369, 1, 0, 0, 0, 369, 371, 1, 0, 0, 0, 370, 357, 1, 0, 0, 0, 370, 363, 1, 0, 0, 0, 371, 373, 1, 0, 0, 0, 372, 338, 1, 0, 0, 0, 372, 354, 1, 0, 0, 0, 372, 370, 1, 0, 0, 0, 373, 39, 1, 0, 0, 0, 374, 375, 5, 31, 0, 0, 375, 378, 5, 90, 0, 0, 376, 378, 5, 206, 0, 0, 377, 374, 1, 0, 0, 0, 377, 376, 1, 0, 0, 0, 378, 41, 1, 0, 0, 0, 379, 380, 5, 119, 0, 0, 380, 389, 3, 72, 36, 0, 381, 382, 5, 179, 0, 0, 382, 383, 5, 220, 0, 0, 383, 384, 3, 72, 36, 0, 384, 385, 5, 236, 0, 0, 385, 389, 1, 0, 0, 0, 386, 387, 5, 179, 0, 0, 387, 389, 3, 72, 36, 0, 388, 379, 1, 0, 0, 0, 388, 381, 1, 0, 0, 0, 388, 386, 1, 0, 0, 0, 389, 43, 1, 0, 0, 0, 390, 391, 5, 144, 0, 0, 391, 394, 3, 50, 25, 0, 392, 393, 5, 118, 0, 0, 393, 395, 3, 50, 25, 0, 394, 392, 1, 0, 0, 0, 394, 395, 1, 0, 0, 0, 395, 45, 1, 0, 0, 0, 396, 401, 3, 48, 24, 0, 397, 398, 5, 206, 0, 0, 398, 400, 3, 48, 24, 0, 399, 397, 1, 0, 0, 0, 400, 403, 1, 0, 0, 0, 401, 399, 1, 0, 0, 0, 401, 402, 1, 0, 0, 0, 402, 47, 1, 0, 0, 0, 403, 401, 1, 0, 0, 0, 404, 406, 3, 74, 37, 0, 405, 407, 7, 6, 0, 0, 406, 405, 1, 0, 0, 0, 406, 407, 1, 0, 0, 0, 407, 410, 1, 0, 0, 0, 408, 409, 5, 117, 0, 0, 409, 411, 7, 7, 0, 0, 410, 408, 1, 0, 0, 0, 410, 411, 1, 0, 0, 0, 411, 414, 1, 0, 0, 0, 412, 413, 5, 26, 0, 0, 413, 415, 5, 200, 0, 0, 414, 412, 1, 0, 0, 0, 414, 415, 1, 0, 0, 0, 415, 49, 1, 0, 0, 0, 416, 423, 3, 122, 61, 0, 417, 420, 3, 106, 53, 0, 418, 419, 5, 238, 0, 0, 419, 421, 3, 106, 53, 0, 420, 418, 1, 0, 0, 0, 420, 421, 1, 0, 0, 0, 421, 423, 1, 0, 0, 0, 422, 416, 1, 0, 0, 0, 422, 417, 1, 0, 0, 0, 423, 51, 1, 0, 0, 0, 424, 429, 3, 54, 27, 0, 425, 426, 5, 206, 0, 0, 426, 428, 3, 54, 27, 0, 427, 425, 1, 0, 0, 0, 428, 431, 1, 0, 0, 0, 429, 427, 1, 0, 0, 0, 429, 430, 1, 0, 0, 0, 430, 53, 1, 0, 0, 0, 431, 429, 1, 0, 0, 0, 432, 433, 3, 118, 59, 0, 433, 434, 5, 212, 0, 0, 434, 435, 3, 108, 54, 0, 435, 55, 1, 0, 0, 0, 436, 438, 3, 58, 29, 0, 437, 436, 1, 0, 0, 0, 437, 438, 1, 0, 0, 0, 438, 440, 1, 0, 0, 0, 439, 441, 3, 60, 30, 0, 440, 439, 1, 0, 0, 0, 440, 441, 1, 0, 0, 0, 441, 443, 1, 0, 0, 0, 442, 444, 3, 62, 31, 0, 443, 442, 1, 0, 0, 0, 443, 444, 1, 0, 0, 0, 444, 57, 1, 0, 0, 0, 445, 446, 5, 126, 0, 0, 446, 447, 5, 18, 0, 0, 447, 448, 3, 72, 36, 0, 448, 59, 1, 0, 0, 0, 449, 450, 5, 122, 0, 0, 450, 451, 5, 18, 0, 0, 451, 452, 3, 46, 23, 0, 452, 61, 1, 0, 0, 0, 453, 454, 7, 8, 0, 0, 454, 455, 3, 64, 32, 0, 455, 63, 1, 0, 0, 0, 456, 463, 3, 66, 33, 0, 457, 458, 5, 16, 0, 0, 458, 459, 3, 66, 33, 0, 459, 460, 5, 6, 0, 0, 460, 461, 3, 66, 33, 0, 461, 463, 1, 0, 0, 0, 462, 456, 1, 0, 0, 0, 462, 457, 1, 0, 0, 0, 463, 65, 1, 0, 0, 0, 464, 465, 5, 33, 0, 0, 465, 477, 5, 142, 0, 0, 466, 467, 5, 175, 0, 0, 467, 477, 5, 128, 0, 0, 468, 469, 5, 175, 0, 0, 469, 477, 5, 64, 0, 0, 470, 471, 3, 106, 53, 0, 471, 472, 5, 128, 0, 0, 472, 477, 1, 0, 0, 0, 473, 474, 3, 106, 53, 0, 474, 475, 5, 64, 0, 0, 475, 477, 1, 0, 0, 0, 476, 464, 1, 0, 0, 0, 476, 466, 1, 0, 0, 0, 476, 468, 1, 0, 0, 0, 476, 470, 1, 0, 0, 0, 476, 473, 1, 0, 0, 0, 477, 67, 1, 0, 0, 0, 478, 479, 3, 74, 37, 0, 479, 480, 5, 0, 0, 1, 480, 69, 1, 0, 0, 0, 481, 529, 3, 118, 59, 0, 482, 483, 3, 118, 59, 0, 483, 484, 5, 220, 0, 0, 484, 485, 3, 118, 59, 0, 485, 492, 3, 70, 35, 0, 486, 487, 5, 206, 0, 0, 487, 488, 3, 118, 59, 0, 488, 489, 3, 70, 35, 0, 489, 491, 1, 0, 0, 0, 490, 486, 1, 0, 0, 0, 491, 494, 1, 0, 0, 0, 492, 490, 1, 0, 0, 0, 492, 493, 1, 0, 0, 0, 493, 495, 1, 0, 0, 0, 494, 492, 1, 0, 0, 0, 495, 496, 5, 236, 0, 0, 496, 529, 1, 0, 0, 0, 497, 498, 3, 118, 59, 0, 498, 499, 5, 220, 0, 0, 499, 504, 3, 120, 60, 0, 500, 501, 5, 206, 0, 0, 501, 503, 3, 120, 60, 0, 502, 500, 1, 0, 0, 0, 503, 506, 1, 0, 0, 0, 504, 502, 1, 0, 0, 0, 504, 505, 1, 0, 0, 0, 505, 507, 1, 0, 0, 0, 506, 504, 1, 0, 0, 0, 507, 508, 5, 236, 0, 0, 508, 529, 1, 0, 0, 0, 509, 510, 3, 118, 59, 0, 510, 511, 5, 220, 0, 0, 511, 516, 3, 70, 35, 0, 512, 513, 5, 206, 0, 0, 513, 515, 3, 70, 35, 0, 514, 512, 1, 0, 0, 0, 515, 518, 1, 0, 0, 0, 516, 514, 1, 0, 0, 0, 516, 517, 1, 0, 0, 0, 517, 519, 1, 0, 0, 0, 518, 516, 1, 0, 0, 0, 519, 520, 5, 236, 0, 0, 520, 529, 1, 0, 0, 0, 521, 522, 3, 118, 59, 0, 522, 524, 5, 220, 0, 0, 523, 525, 3, 72, 36, 0, 524, 523, 1, 0, 0, 0, 524, 525, 1, 0, 0, 0, 525, 526, 1, 0, 0, 0, 526, 527, 5, 236, 0, 0, 527, 529, 1, 0, 0, 0, 528, 481, 1, 0, 0, 0, 528, 482, 1, 0, 0, 0, 528, 497, 1, 0, 0, 0, 528, 509, 1, 0, 0, 0, 528, 521, 1, 0, 0, 0, 529, 71, 1, 0, 0, 0, 530, 535, 3, 74, 37, 0, 531, 532, 5, 206, 0, 0, 532, 534, 3, 74, 37, 0, 533, 531, 1, 0, 0, 0, 534, 537, 1, 0, 0, 0, 535, 533, 1, 0, 0, 0, 535, 536, 1, 0, 0, 0, 536, 73, 1, 0, 0, 0, 537, 535, 1, 0, 0, 0, 538, 539, 6, 37, -1, 0, 539, 541, 5, 19, 0, 0, 540, 542, 3, 74, 37, 0, 541, 540, 1, 0, 0, 0, 541, 542, 1, 0, 0, 0, 542, 548, 1, 0, 0, 0, 543, 544, 5, 186, 0, 0, 544, 545, 3, 74, 37, 0, 545, 546, 5, 163, 0, 0, 546, 547, 3, 74, 37, 0, 547, 549, 1, 0, 0, 0, 548, 543, 1, 0, 0, 0, 549, 550, 1, 0, 0, 0, 550, 548, 1, 0, 0, 0, 550, 551, 1, 0, 0, 0, 551, 554, 1, 0, 0, 0, 552, 553, 5, 52, 0, 0, 553, 555, 3, 74, 37, 0, 554, 552, 1, 0, 0, 0, 554, 555, 1, 0, 0, 0, 555, 556, 1, 0, 0, 0, 556, 557, 5, 53, 0, 0, 557, 669, 1, 0, 0, 0, 558, 559, 5, 20, 0, 0, 559, 560, 5, 220, 0, 0, 560, 561, 3, 74, 37, 0, 561, 562, 5, 10, 0, 0, 562, 563, 3, 70, 35, 0, 563, 564, 5, 236, 0, 0, 564, 669, 1, 0, 0, 0, 565, 566, 5, 36, 0, 0, 566, 669, 5, 200, 0, 0, 567, 568, 5, 59, 0, 0, 568, 569, 5, 220, 0, 0, 569, 570, 3, 110, 55, 0, 570, 571, 5, 68, 0, 0, 571, 572, 3, 74, 37, 0, 572, 573, 5, 236, 0, 0, 573, 669, 1, 0, 0, 0, 574, 575, 5, 86, 0, 0, 575, 576, 3, 74, 37, 0, 576, 577, 3, 110, 55, 0, 577, 669, 1, 0, 0, 0, 578, 579, 5, 155, 0, 0, 579, 580, 5, 220, 0, 0, 580, 581, 3, 74, 37, 0, 581, 582, 5, 68, 0, 0, 582, 585, 3, 74, 37, 0, 583, 584, 5, 65, 0, 0, 584, 586, 3, 74, 37, 0, 585, 583, 1, 0, 0, 0, 585, 586, 1, 0, 0, 0, 586, 587, 1, 0, 0, 0, 587, 588, 5, 236, 0, 0, 588, 669, 1, 0, 0, 0, 589, 590, 5, 166, 0, 0, 590, 669, 5, 200, 0, 0, 591, 592, 5, 171, 0, 0, 592, 593, 5, 220, 0, 0, 593, 594, 7, 9, 0, 0, 594, 595, 5, 200, 0, 0, 595, 596, 5, 68, 0, 0, 596, 597, 3, 74, 37, 0, 597, 598, 5, 236, 0, 0, 598, 669, 1, 0, 0, 0, 599, 600, 3, 118, 59, 0, 600, 602, 5, 220, 0, 0, 601, 603, 3, 72, 36, 0, 602, 601, 1, 0, 0, 0, 602, 603, 1, 0, 0, 0, 603, 604, 1, 0, 0, 0, 604, 605, 5, 236, 0, 0, 605, 606, 1, 0, 0, 0, 606, 607, 5, 125, 0, 0, 607, 608, 5, 220, 0, 0, 608, 609, 3, 56, 28, 0, 609, 610, 5, 236, 0, 0, 610, 669, 1, 0, 0, 0, 611, 612, 3, 118, 59, 0, 612, 614, 5, 220, 0, 0, 613, 615, 3, 72, 36, 0, 614, 613, 1, 0, 0, 0, 614, 615, 1, 0, 0, 0, 615, 616, 1, 0, 0, 0, 616, 617, 5, 236, 0, 0, 617, 618, 1, 0, 0, 0, 618, 619, 5, 125, 0, 0, 619, 620, 3, 118, 59, 0, 620, 669, 1, 0, 0, 0, 621, 627, 3, 118, 59, 0, 622, 624, 5, 220, 0, 0, 623, 625, 3, 72, 36, 0, 624, 623, 1, 0, 0, 0, 624, 625, 1, 0, 0, 0, 625, 626, 1, 0, 0, 0, 626, 628, 5, 236, 0, 0, 627, 622, 1, 0, 0, 0, 627, 628, 1, 0, 0, 0, 628, 629, 1, 0, 0, 0, 629, 631, 5, 220, 0, 0, 630, 632, 5, 49, 0, 0, 631, 630, 1, 0, 0, 0, 631, 632, 1, 0, 0, 0, 632, 634, 1, 0, 0, 0, 633, 635, 3, 76, 38, 0, 634, 633, 1, 0, 0, 0, 634, 635, 1, 0, 0, 0, 635, 636, 1, 0, 0, 0, 636, 637, 5, 236, 0, 0, 637, 669, 1, 0, 0, 0, 638, 669, 3, 82, 41, 0, 639, 669, 3, 108, 54, 0, 640, 641, 5, 208, 0, 0, 641, 669, 3, 74, 37, 18, 642, 643, 5, 115, 0, 0, 643, 669, 3, 74, 37, 12, 644, 645, 3, 98, 49, 0, 645, 646, 5, 210, 0, 0, 646, 648, 1, 0, 0, 0, 647, 644, 1, 0, 0, 0, 647, 648, 1, 0, 0, 0, 648, 649, 1, 0, 0, 0, 649, 669, 5, 202, 0, 0, 650, 651, 5, 220, 0, 0, 651, 652, 3, 2, 1, 0, 652, 653, 5, 236, 0, 0, 653, 669, 1, 0, 0, 0, 654, 655, 5, 220, 0, 0, 655, 656, 3, 74, 37, 0, 656, 657, 5, 236, 0, 0, 657, 669, 1, 0, 0, 0, 658, 659, 5, 220, 0, 0, 659, 660, 3, 72, 36, 0, 660, 661, 5, 236, 0, 0, 661, 669, 1, 0, 0, 0, 662, 664, 5, 219, 0, 0, 663, 665, 3, 72, 36, 0, 664, 663, 1, 0, 0, 0, 664, 665, 1, 0, 0, 0, 665, 666, 1, 0, 0, 0, 666, 669, 5, 235, 0, 0, 667, 669, 3, 90, 45, 0, 668, 538, 1, 0, 0, 0, 668, 558, 1, 0, 0, 0, 668, 565, 1, 0, 0, 0, 668, 567, 1, 0, 0, 0, 668, 574, 1, 0, 0, 0, 668, 578, 1, 0, 0, 0, 668, 589, 1, 0, 0, 0, 668, 591, 1, 0, 0, 0, 668, 599, 1, 0, 0, 0, 668, 611, 1, 0, 0, 0, 668, 621, 1, 0, 0, 0, 668, 638, 1, 0, 0, 0, 668, 639, 1, 0, 0, 0, 668, 640, 1, 0, 0, 0, 668, 642, 1, 0, 0, 0, 668, 647, 1, 0, 0, 0, 668, 650, 1, 0, 0, 0, 668, 654, 1, 0, 0, 0, 668, 658, 1, 0, 0, 0, 668, 662, 1, 0, 0, 0, 668, 667, 1, 0, 0, 0, 669, 763, 1, 0, 0, 0, 670, 674, 10, 17, 0, 0, 671, 675, 5, 202, 0, 0, 672, 675, 5, 238, 0, 0, 673, 675, 5, 227, 0, 0, 674, 671, 1, 0, 0, 0, 674, 672, 1, 0, 0, 0, 674, 673, 1, 0, 0, 0, 675, 676, 1, 0, 0, 0, 676, 762, 3, 74, 37, 18, 677, 681, 10, 16, 0, 0, 678, 682, 5, 228, 0, 0, 679, 682, 5, 208, 0, 0, 680, 682, 5, 207, 0, 0, 681, 678, 1, 0, 0, 0, 681, 679, 1, 0, 0, 0, 681, 680, 1, 0, 0, 0, 682, 683, 1, 0, 0, 0, 683, 762, 3, 74, 37, 17, 684, 709, 10, 15, 0, 0, 685, 710, 5, 211, 0, 0, 686, 710, 5, 212, 0, 0, 687, 710, 5, 223, 0, 0, 688, 710, 5, 221, 0, 0, 689, 710, 5, 222, 0, 0, 690, 710, 5, 213, 0, 0, 691, 710, 5, 214, 0, 0, 692, 694, 5, 115, 0, 0, 693, 692, 1, 0, 0, 0, 693, 694, 1, 0, 0, 0, 694, 695, 1, 0, 0, 0, 695, 697, 5, 80, 0, 0, 696, 698, 5, 25, 0, 0, 697, 696, 1, 0, 0, 0, 697, 698, 1, 0, 0, 0, 698, 710, 1, 0, 0, 0, 699, 701, 5, 115, 0, 0, 700, 699, 1, 0, 0, 0, 700, 701, 1, 0, 0, 0, 701, 702, 1, 0, 0, 0, 702, 710, 7, 10, 0, 0, 703, 710, 5, 232, 0, 0, 704, 710, 5, 233, 0, 0, 705, 710, 5, 225, 0, 0, 706, 710, 5, 216, 0, 0, 707, 710, 5, 217, 0, 0, 708, 710, 5, 224, 0, 0, 709, 685, 1, 0, 0, 0, 709, 686, 1, 0, 0, 0, 709, 687, 1, 0, 0, 0, 709, 688, 1, 0, 0, 0, 709, 689, 1, 0, 0, 0, 709, 690, 1, 0, 0, 0, 709, 691, 1, 0, 0, 0, 709, 693, 1, 0, 0, 0, 709, 700, 1, 0, 0, 0, 709, 703, 1, 0, 0, 0, 709, 704, 1, 0, 0, 0, 709, 705, 1, 0, 0, 0, 709, 706, 1, 0, 0, 0, 709, 707, 1, 0, 0, 0, 709, 708, 1, 0, 0, 0, 710, 711, 1, 0, 0, 0, 711, 762, 3, 74, 37, 16, 712, 713, 10, 13, 0, 0, 713, 714, 5, 226, 0, 0, 714, 762, 3, 74, 37, 14, 715, 716, 10, 11, 0, 0, 716, 717, 5, 6, 0, 0, 717, 762, 3, 74, 37, 12, 718, 719, 10, 10, 0, 0, 719, 720, 5, 121, 0, 0, 720, 762, 3, 74, 37, 11, 721, 723, 10, 9, 0, 0, 722, 724, 5, 115, 0, 0, 723, 722, 1, 0, 0, 0, 723, 724, 1, 0, 0, 0, 724, 725, 1, 0, 0, 0, 725, 726, 5, 16, 0, 0, 726, 727, 3, 74, 37, 0, 727, 728, 5, 6, 0, 0, 728, 729, 3, 74, 37, 10, 729, 762, 1, 0, 0, 0, 730, 731, 10, 8, 0, 0, 731, 732, 5, 229, 0, 0, 732, 733, 3, 74, 37, 0, 733, 734, 5, 205, 0, 0, 734, 735, 3, 74, 37, 8, 735, 762, 1, 0, 0, 0, 736, 737, 10, 21, 0, 0, 737, 738, 5, 219, 0, 0, 738, 739, 3, 74, 37, 0, 739, 740, 5, 235, 0, 0, 740, 762, 1, 0, 0, 0, 741, 742, 10, 20, 0, 0, 742, 743, 5, 210, 0, 0, 743, 762, 5, 198, 0, 0, 744, 745, 10, 19, 0, 0, 745, 746, 5, 210, 0, 0, 746, 762, 3, 118, 59, 0, 747, 748, 10, 14, 0, 0, 748, 750, 5, 88, 0, 0, 749, 751, 5, 115, 0, 0, 750, 749, 1, 0, 0, 0, 750, 751, 1, 0, 0, 0, 751, 752, 1, 0, 0, 0, 752, 762, 5, 116, 0, 0, 753, 759, 10, 7, 0, 0, 754, 760, 3, 116, 58, 0, 755, 756, 5, 10, 0, 0, 756, 760, 3, 118, 59, 0, 757, 758, 5, 10, 0, 0, 758, 760, 5, 200, 0, 0, 759, 754, 1, 0, 0, 0, 759, 755, 1, 0, 0, 0, 759, 757, 1, 0, 0, 0, 760, 762, 1, 0, 0, 0, 761, 670, 1, 0, 0, 0, 761, 677, 1, 0, 0, 0, 761, 684, 1, 0, 0, 0, 761, 712, 1, 0, 0, 0, 761, 715, 1, 0, 0, 0, 761, 718, 1, 0, 0, 0, 761, 721, 1, 0, 0, 0, 761, 730, 1, 0, 0, 0, 761, 736, 1, 0, 0, 0, 761, 741, 1, 0, 0, 0, 761, 744, 1, 0, 0, 0, 761, 747, 1, 0, 0, 0, 761, 753, 1, 0, 0, 0, 762, 765, 1, 0, 0, 0, 763, 761, 1, 0, 0, 0, 763, 764, 1, 0, 0, 0, 764, 75, 1, 0, 0, 0, 765, 763, 1, 0, 0, 0, 766, 771, 3, 78, 39, 0, 767, 768, 5, 206, 0, 0, 768, 770, 3, 78, 39, 0, 769, 767, 1, 0, 0, 0, 770, 773, 1, 0, 0, 0, 771, 769, 1, 0, 0, 0, 771, 772, 1, 0, 0, 0, 772, 77, 1, 0, 0, 0, 773, 771, 1, 0, 0, 0, 774, 777, 3, 80, 40, 0, 775, 777, 3, 74, 37, 0, 776, 774, 1, 0, 0, 0, 776, 775, 1, 0, 0, 0, 777, 79, 1, 0, 0, 0, 778, 779, 5, 220, 0, 0, 779, 784, 3, 118, 59, 0, 780, 781, 5, 206, 0, 0, 781, 783, 3, 118, 59, 0, 782, 780, 1, 0, 0, 0, 783, 786, 1, 0, 0, 0, 784, 782, 1, 0, 0, 0, 784, 785, 1, 0, 0, 0, 785, 787, 1, 0, 0, 0, 786, 784, 1, 0, 0, 0, 787, 788, 5, 236, 0, 0, 788, 798, 1, 0, 0, 0, 789, 794, 3, 118, 59, 0, 790, 791, 5, 206, 0, 0, 791, 793, 3, 118, 59, 0, 792, 790, 1, 0, 0, 0, 793, 796, 1, 0, 0, 0, 794, 792, 1, 0, 0, 0, 794, 795, 1, 0, 0, 0, 795, 798, 1, 0, 0, 0, 796, 794, 1, 0, 0, 0, 797, 778, 1, 0, 0, 0, 797, 789, 1, 0, 0, 0, 798, 799, 1, 0, 0, 0, 799, 800, 5, 201, 0, 0, 800, 801, 3, 74, 37, 0, 801, 81, 1, 0, 0, 0, 802, 803, 5, 222, 0, 0, 803, 807, 3, 118, 59, 0, 804, 806, 3, 84, 42, 0, 805, 804, 1, 0, 0, 0, 806, 809, 1, 0, 0, 0, 807, 805, 1, 0, 0, 0, 807, 808, 1, 0, 0, 0, 808, 810, 1, 0, 0, 0, 809, 807, 1, 0, 0, 0, 810, 811, 5, 238, 0, 0, 811, 812, 5, 214, 0, 0, 812, 831, 1, 0, 0, 0, 813, 814, 5, 222, 0, 0, 814, 818, 3, 118, 59, 0, 815, 817, 3, 84, 42, 0, 816, 815, 1, 0, 0, 0, 817, 820, 1, 0, 0, 0, 818, 816, 1, 0, 0, 0, 818, 819, 1, 0, 0, 0, 819, 821, 1, 0, 0, 0, 820, 818, 1, 0, 0, 0, 821, 823, 5, 214, 0, 0, 822, 824, 3, 82, 41, 0, 823, 822, 1, 0, 0, 0, 823, 824, 1, 0, 0, 0, 824, 825, 1, 0, 0, 0, 825, 826, 5, 222, 0, 0, 826, 827, 5, 238, 0, 0, 827, 828, 3, 118, 59, 0, 828, 829, 5, 214, 0, 0, 829, 831, 1, 0, 0, 0, 830, 802, 1, 0, 0, 0, 830, 813, 1, 0, 0, 0, 831, 83, 1, 0, 0, 0, 832, 833, 3, 118, 59, 0, 833, 834, 5, 212, 0, 0, 834, 835, 5, 200, 0, 0, 835, 844, 1, 0, 0, 0, 836, 837, 3, 118, 59, 0, 837, 838, 5, 212, 0, 0, 838, 839, 5, 218, 0, 0, 839, 840, 3, 74, 37, 0, 840, 841, 5, 234, 0, 0, 841, 844, 1, 0, 0, 0, 842, 844, 3, 118, 59, 0, 843, 832, 1, 0, 0, 0, 843, 836, 1, 0, 0, 0, 843, 842, 1, 0, 0, 0, 844, 85, 1, 0, 0, 0, 845, 850, 3, 88, 44, 0, 846, 847, 5, 206, 0, 0, 847, 849, 3, 88, 44, 0, 848, 846, 1, 0, 0, 0, 849, 852, 1, 0, 0, 0, 850, 848, 1, 0, 0, 0, 850, 851, 1, 0, 0, 0, 851, 87, 1, 0, 0, 0, 852, 850, 1, 0, 0, 0, 853, 854, 3, 118, 59, 0, 854, 855, 5, 10, 0, 0, 855, 856, 5, 220, 0, 0, 856, 857, 3, 2, 1, 0, 857, 858, 5, 236, 0, 0, 858, 864, 1, 0, 0, 0, 859, 860, 3, 74, 37, 0, 860, 861, 5, 10, 0, 0, 861, 862, 3, 118, 59, 0, 862, 864, 1, 0, 0, 0, 863, 853, 1, 0, 0, 0, 863, 859, 1, 0, 0, 0, 864, 89, 1, 0, 0, 0, 865, 873, 3, 122, 61, 0, 866, 867, 3, 98, 49, 0, 867, 868, 5, 210, 0, 0, 868, 870, 1, 0, 0, 0, 869, 866, 1, 0, 0, 0, 869, 870, 1, 0, 0, 0, 870, 871, 1, 0, 0, 0, 871, 873, 3, 92, 46, 0, 872, 865, 1, 0, 0, 0, 872, 869, 1, 0, 0, 0, 873, 91, 1, 0, 0, 0, 874, 879, 3, 118, 59, 0, 875, 876, 5, 210, 0, 0, 876, 878, 3, 118, 59, 0, 877, 875, 1, 0, 0, 0, 878, 881, 1, 0, 0, 0, 879, 877, 1, 0, 0, 0, 879, 880, 1, 0, 0, 0, 880, 93, 1, 0, 0, 0, 881, 879, 1, 0, 0, 0, 882, 883, 6, 47, -1, 0, 883, 892, 3, 98, 49, 0, 884, 892, 3, 96, 48, 0, 885, 886, 5, 220, 0, 0, 886, 887, 3, 2, 1, 0, 887, 888, 5, 236, 0, 0, 888, 892, 1, 0, 0, 0, 889, 892, 3, 82, 41, 0, 890, 892, 3, 122, 61, 0, 891, 882, 1, 0, 0, 0, 891, 884, 1, 0, 0, 0, 891, 885, 1, 0, 0, 0, 891, 889, 1, 0, 0, 0, 891, 890, 1, 0, 0, 0, 892, 901, 1, 0, 0, 0, 893, 897, 10, 3, 0, 0, 894, 898, 3, 116, 58, 0, 895, 896, 5, 10, 0, 0, 896, 898, 3, 118, 59, 0, 897, 894, 1, 0, 0, 0, 897, 895, 1, 0, 0, 0, 898, 900, 1, 0, 0, 0, 899, 893, 1, 0, 0, 0, 900, 903, 1, 0, 0, 0, 901, 899, 1, 0, 0, 0, 901, 902, 1, 0, 0, 0, 902, 95, 1, 0, 0, 0, 903, 901, 1, 0, 0, 0, 904, 905, 3, 118, 59, 0, 905, 907, 5, 220, 0, 0, 906, 908, 3, 100, 50, 0, 907, 906, 1, 0, 0, 0, 907, 908, 1, 0, 0, 0, 908, 909, 1, 0, 0, 0, 909, 910, 5, 236, 0, 0, 910, 97, 1, 0, 0, 0, 911, 912, 3, 102, 51, 0, 912, 913, 5, 210, 0, 0, 913, 915, 1, 0, 0, 0, 914, 911, 1, 0, 0, 0, 914, 915, 1, 0, 0, 0, 915, 916, 1, 0, 0, 0, 916, 917, 3, 118, 59, 0, 917, 99, 1, 0, 0, 0, 918, 923, 3, 74, 37, 0, 919, 920, 5, 206, 0, 0, 920, 922, 3, 74, 37, 0, 921, 919, 1, 0, 0, 0, 922, 925, 1, 0, 0, 0, 923, 921, 1, 0, 0, 0, 923, 924, 1, 0, 0, 0, 924, 101, 1, 0, 0, 0, 925, 923, 1, 0, 0, 0, 926, 927, 3, 118, 59, 0, 927, 103, 1, 0, 0, 0, 928, 937, 5, 196, 0, 0, 929, 930, 5, 210, 0, 0, 930, 937, 7, 11, 0, 0, 931, 932, 5, 198, 0, 0, 932, 934, 5, 210, 0, 0, 933, 935, 7, 11, 0, 0, 934, 933, 1, 0, 0, 0, 934, 935, 1, 0, 0, 0, 935, 937, 1, 0, 0, 0, 936, 928, 1, 0, 0, 0, 936, 929, 1, 0, 0, 0, 936, 931, 1, 0, 0, 0, 937, 105, 1, 0, 0, 0, 938, 940, 7, 12, 0, 0, 939, 938, 1, 0, 0, 0, 939, 940, 1, 0, 0, 0, 940, 947, 1, 0, 0, 0, 941, 948, 3, 104, 52, 0, 942, 948, 5, 197, 0, 0, 943, 948, 5, 198, 0, 0, 944, 948, 5, 199, 0, 0, 945, 948, 5, 82, 0, 0, 946, 948, 5, 113, 0, 0, 947, 941, 1, 0, 0, 0, 947, 942, 1, 0, 0, 0, 947, 943, 1, 0, 0, 0, 947, 944, 1, 0, 0, 0, 947, 945, 1, 0, 0, 0, 947, 946, 1, 0, 0, 0, 948, 107, 1, 0, 0, 0, 949, 953, 3, 106, 53, 0, 950, 953, 5, 200, 0, 0, 951, 953, 5, 116, 0, 0, 952, 949, 1, 0, 0, 0, 952, 950, 1, 0, 0, 0, 952, 951, 1, 0, 0, 0, 953, 109, 1, 0, 0, 0, 954, 955, 7, 13, 0, 0, 955, 111, 1, 0, 0, 0, 956, 957, 7, 14, 0, 0, 957, 113, 1, 0, 0, 0, 958, 959, 7, 15, 0, 0, 959, 115, 1, 0, 0, 0, 960, 963, 5, 195, 0, 0, 961, 963, 3, 114, 57, 0, 962, 960, 1, 0, 0, 0, 962, 961, 1, 0, 0, 0, 963, 117, 1, 0, 0, 0, 964, 968, 5, 195, 0, 0, 965, 968, 3, 110, 55, 0, 966, 968, 3, 112, 56, 0, 967, 964, 1, 0, 0, 0, 967, 965, 1, 0, 0, 0, 967, 966, 1, 0, 0, 0, 968, 119, 1, 0, 0, 0, 969, 970, 5, 200, 0, 0, 970, 971, 5, 212, 0, 0, 971, 972, 3, 106, 53, 0, 972, 121, 1, 0, 0, 0, 973, 974, 5, 218, 0, 0, 974, 975, 3, 118, 59, 0, 975, 976, 5, 234, 0, 0, 976, 123, 1, 0, 0, 0, 120, 127, 137, 145, 148, 152, 155, 159, 162, 165, 168, 171, 175, 179, 182, 185, 188, 192, 195, 204, 210, 231, 248, 265, 271, 277, 288, 290, 301, 304, 310, 318, 324, 326, 330, 335, 338, 341, 345, 349, 352, 354, 357, 361, 365, 368, 370, 372, 377, 388, 394, 401, 406, 410, 414, 420, 422, 429, 437, 440, 443, 462, 476, 492, 504, 516, 524, 528, 535, 541, 550, 554, 585, 602, 614, 624, 627, 631, 634, 647, 664, 668, 674, 681, 693, 697, 700, 709, 723, 750, 759, 761, 763, 771, 776, 784, 794, 797, 807, 818, 823, 830, 843, 850, 863, 869, 872, 879, 891, 897, 901, 907, 914, 923, 934, 936, 939, 947, 952, 962, 967] \ No newline at end of file +[4, 1, 242, 979, 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, 1, 0, 1, 0, 1, 0, 3, 0, 128, 8, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 136, 8, 1, 10, 1, 12, 1, 139, 9, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 3, 2, 147, 8, 2, 1, 3, 3, 3, 150, 8, 3, 1, 3, 1, 3, 3, 3, 154, 8, 3, 1, 3, 3, 3, 157, 8, 3, 1, 3, 1, 3, 3, 3, 161, 8, 3, 1, 3, 3, 3, 164, 8, 3, 1, 3, 3, 3, 167, 8, 3, 1, 3, 3, 3, 170, 8, 3, 1, 3, 3, 3, 173, 8, 3, 1, 3, 1, 3, 3, 3, 177, 8, 3, 1, 3, 1, 3, 3, 3, 181, 8, 3, 1, 3, 3, 3, 184, 8, 3, 1, 3, 3, 3, 187, 8, 3, 1, 3, 3, 3, 190, 8, 3, 1, 3, 1, 3, 3, 3, 194, 8, 3, 1, 3, 3, 3, 197, 8, 3, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 206, 8, 5, 1, 6, 1, 6, 1, 6, 1, 7, 3, 7, 212, 8, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 5, 8, 231, 8, 8, 10, 8, 12, 8, 234, 9, 8, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 3, 11, 250, 8, 11, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 267, 8, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 273, 8, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 279, 8, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 290, 8, 15, 3, 15, 292, 8, 15, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 3, 18, 303, 8, 18, 1, 18, 3, 18, 306, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 312, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 320, 8, 18, 1, 18, 1, 18, 1, 18, 1, 18, 5, 18, 326, 8, 18, 10, 18, 12, 18, 329, 9, 18, 1, 19, 3, 19, 332, 8, 19, 1, 19, 1, 19, 1, 19, 3, 19, 337, 8, 19, 1, 19, 3, 19, 340, 8, 19, 1, 19, 3, 19, 343, 8, 19, 1, 19, 1, 19, 3, 19, 347, 8, 19, 1, 19, 1, 19, 3, 19, 351, 8, 19, 1, 19, 3, 19, 354, 8, 19, 3, 19, 356, 8, 19, 1, 19, 3, 19, 359, 8, 19, 1, 19, 1, 19, 3, 19, 363, 8, 19, 1, 19, 1, 19, 3, 19, 367, 8, 19, 1, 19, 3, 19, 370, 8, 19, 3, 19, 372, 8, 19, 3, 19, 374, 8, 19, 1, 20, 1, 20, 1, 20, 3, 20, 379, 8, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 390, 8, 21, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 396, 8, 22, 1, 23, 1, 23, 1, 23, 5, 23, 401, 8, 23, 10, 23, 12, 23, 404, 9, 23, 1, 24, 1, 24, 3, 24, 408, 8, 24, 1, 24, 1, 24, 3, 24, 412, 8, 24, 1, 24, 1, 24, 3, 24, 416, 8, 24, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 422, 8, 25, 3, 25, 424, 8, 25, 1, 26, 1, 26, 1, 26, 5, 26, 429, 8, 26, 10, 26, 12, 26, 432, 9, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 3, 28, 439, 8, 28, 1, 28, 3, 28, 442, 8, 28, 1, 28, 3, 28, 445, 8, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 464, 8, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 3, 33, 478, 8, 33, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 492, 8, 35, 10, 35, 12, 35, 495, 9, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 504, 8, 35, 10, 35, 12, 35, 507, 9, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 516, 8, 35, 10, 35, 12, 35, 519, 9, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 526, 8, 35, 1, 35, 1, 35, 3, 35, 530, 8, 35, 1, 36, 1, 36, 1, 36, 5, 36, 535, 8, 36, 10, 36, 12, 36, 538, 9, 36, 1, 37, 1, 37, 1, 37, 3, 37, 543, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 4, 37, 550, 8, 37, 11, 37, 12, 37, 551, 1, 37, 1, 37, 3, 37, 556, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 587, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 604, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 616, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 626, 8, 37, 1, 37, 3, 37, 629, 8, 37, 1, 37, 1, 37, 3, 37, 633, 8, 37, 1, 37, 3, 37, 636, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 649, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 666, 8, 37, 1, 37, 1, 37, 3, 37, 670, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 676, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 683, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 695, 8, 37, 1, 37, 1, 37, 3, 37, 699, 8, 37, 1, 37, 3, 37, 702, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 711, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 725, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 752, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 761, 8, 37, 5, 37, 763, 8, 37, 10, 37, 12, 37, 766, 9, 37, 1, 38, 1, 38, 1, 38, 5, 38, 771, 8, 38, 10, 38, 12, 38, 774, 9, 38, 1, 39, 1, 39, 3, 39, 778, 8, 39, 1, 40, 1, 40, 1, 40, 1, 40, 5, 40, 784, 8, 40, 10, 40, 12, 40, 787, 9, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 5, 40, 794, 8, 40, 10, 40, 12, 40, 797, 9, 40, 3, 40, 799, 8, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 5, 41, 807, 8, 41, 10, 41, 12, 41, 810, 9, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 5, 41, 818, 8, 41, 10, 41, 12, 41, 821, 9, 41, 1, 41, 1, 41, 3, 41, 825, 8, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 832, 8, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 3, 42, 845, 8, 42, 1, 43, 1, 43, 1, 43, 5, 43, 850, 8, 43, 10, 43, 12, 43, 853, 9, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 865, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 871, 8, 45, 1, 45, 3, 45, 874, 8, 45, 1, 46, 1, 46, 1, 46, 5, 46, 879, 8, 46, 10, 46, 12, 46, 882, 9, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 893, 8, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 899, 8, 47, 5, 47, 901, 8, 47, 10, 47, 12, 47, 904, 9, 47, 1, 48, 1, 48, 1, 48, 3, 48, 909, 8, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 3, 49, 916, 8, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 5, 50, 923, 8, 50, 10, 50, 12, 50, 926, 9, 50, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 936, 8, 52, 3, 52, 938, 8, 52, 1, 53, 3, 53, 941, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 949, 8, 53, 1, 54, 1, 54, 1, 54, 3, 54, 954, 8, 54, 1, 55, 1, 55, 1, 56, 1, 56, 1, 57, 1, 57, 1, 58, 1, 58, 3, 58, 964, 8, 58, 1, 59, 1, 59, 1, 59, 3, 59, 969, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 0, 3, 36, 74, 94, 62, 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, 0, 16, 2, 0, 32, 32, 141, 141, 2, 0, 84, 84, 96, 96, 3, 0, 4, 4, 8, 8, 12, 12, 4, 0, 4, 4, 7, 8, 12, 12, 147, 147, 2, 0, 96, 96, 140, 140, 2, 0, 4, 4, 8, 8, 2, 0, 11, 11, 42, 43, 2, 0, 62, 62, 93, 93, 2, 0, 133, 133, 143, 143, 3, 0, 17, 17, 95, 95, 170, 170, 2, 0, 79, 79, 98, 98, 1, 0, 197, 198, 2, 0, 208, 208, 228, 228, 8, 0, 37, 37, 76, 76, 108, 108, 110, 110, 132, 132, 145, 145, 185, 185, 190, 190, 13, 0, 2, 24, 26, 36, 38, 75, 77, 81, 83, 107, 109, 109, 111, 112, 114, 115, 117, 130, 133, 144, 146, 184, 186, 189, 191, 192, 4, 0, 36, 36, 62, 62, 77, 77, 91, 91, 1107, 0, 127, 1, 0, 0, 0, 2, 131, 1, 0, 0, 0, 4, 146, 1, 0, 0, 0, 6, 149, 1, 0, 0, 0, 8, 198, 1, 0, 0, 0, 10, 201, 1, 0, 0, 0, 12, 207, 1, 0, 0, 0, 14, 211, 1, 0, 0, 0, 16, 217, 1, 0, 0, 0, 18, 235, 1, 0, 0, 0, 20, 238, 1, 0, 0, 0, 22, 241, 1, 0, 0, 0, 24, 251, 1, 0, 0, 0, 26, 254, 1, 0, 0, 0, 28, 258, 1, 0, 0, 0, 30, 291, 1, 0, 0, 0, 32, 293, 1, 0, 0, 0, 34, 296, 1, 0, 0, 0, 36, 311, 1, 0, 0, 0, 38, 373, 1, 0, 0, 0, 40, 378, 1, 0, 0, 0, 42, 389, 1, 0, 0, 0, 44, 391, 1, 0, 0, 0, 46, 397, 1, 0, 0, 0, 48, 405, 1, 0, 0, 0, 50, 423, 1, 0, 0, 0, 52, 425, 1, 0, 0, 0, 54, 433, 1, 0, 0, 0, 56, 438, 1, 0, 0, 0, 58, 446, 1, 0, 0, 0, 60, 450, 1, 0, 0, 0, 62, 454, 1, 0, 0, 0, 64, 463, 1, 0, 0, 0, 66, 477, 1, 0, 0, 0, 68, 479, 1, 0, 0, 0, 70, 529, 1, 0, 0, 0, 72, 531, 1, 0, 0, 0, 74, 669, 1, 0, 0, 0, 76, 767, 1, 0, 0, 0, 78, 777, 1, 0, 0, 0, 80, 798, 1, 0, 0, 0, 82, 831, 1, 0, 0, 0, 84, 844, 1, 0, 0, 0, 86, 846, 1, 0, 0, 0, 88, 864, 1, 0, 0, 0, 90, 873, 1, 0, 0, 0, 92, 875, 1, 0, 0, 0, 94, 892, 1, 0, 0, 0, 96, 905, 1, 0, 0, 0, 98, 915, 1, 0, 0, 0, 100, 919, 1, 0, 0, 0, 102, 927, 1, 0, 0, 0, 104, 937, 1, 0, 0, 0, 106, 940, 1, 0, 0, 0, 108, 953, 1, 0, 0, 0, 110, 955, 1, 0, 0, 0, 112, 957, 1, 0, 0, 0, 114, 959, 1, 0, 0, 0, 116, 963, 1, 0, 0, 0, 118, 968, 1, 0, 0, 0, 120, 970, 1, 0, 0, 0, 122, 974, 1, 0, 0, 0, 124, 128, 3, 2, 1, 0, 125, 128, 3, 6, 3, 0, 126, 128, 3, 82, 41, 0, 127, 124, 1, 0, 0, 0, 127, 125, 1, 0, 0, 0, 127, 126, 1, 0, 0, 0, 128, 129, 1, 0, 0, 0, 129, 130, 5, 0, 0, 1, 130, 1, 1, 0, 0, 0, 131, 137, 3, 4, 2, 0, 132, 133, 5, 176, 0, 0, 133, 134, 5, 4, 0, 0, 134, 136, 3, 4, 2, 0, 135, 132, 1, 0, 0, 0, 136, 139, 1, 0, 0, 0, 137, 135, 1, 0, 0, 0, 137, 138, 1, 0, 0, 0, 138, 3, 1, 0, 0, 0, 139, 137, 1, 0, 0, 0, 140, 147, 3, 6, 3, 0, 141, 142, 5, 220, 0, 0, 142, 143, 3, 2, 1, 0, 143, 144, 5, 236, 0, 0, 144, 147, 1, 0, 0, 0, 145, 147, 3, 122, 61, 0, 146, 140, 1, 0, 0, 0, 146, 141, 1, 0, 0, 0, 146, 145, 1, 0, 0, 0, 147, 5, 1, 0, 0, 0, 148, 150, 3, 8, 4, 0, 149, 148, 1, 0, 0, 0, 149, 150, 1, 0, 0, 0, 150, 151, 1, 0, 0, 0, 151, 153, 5, 146, 0, 0, 152, 154, 5, 49, 0, 0, 153, 152, 1, 0, 0, 0, 153, 154, 1, 0, 0, 0, 154, 156, 1, 0, 0, 0, 155, 157, 3, 10, 5, 0, 156, 155, 1, 0, 0, 0, 156, 157, 1, 0, 0, 0, 157, 158, 1, 0, 0, 0, 158, 160, 3, 72, 36, 0, 159, 161, 3, 12, 6, 0, 160, 159, 1, 0, 0, 0, 160, 161, 1, 0, 0, 0, 161, 163, 1, 0, 0, 0, 162, 164, 3, 14, 7, 0, 163, 162, 1, 0, 0, 0, 163, 164, 1, 0, 0, 0, 164, 166, 1, 0, 0, 0, 165, 167, 3, 18, 9, 0, 166, 165, 1, 0, 0, 0, 166, 167, 1, 0, 0, 0, 167, 169, 1, 0, 0, 0, 168, 170, 3, 20, 10, 0, 169, 168, 1, 0, 0, 0, 169, 170, 1, 0, 0, 0, 170, 172, 1, 0, 0, 0, 171, 173, 3, 22, 11, 0, 172, 171, 1, 0, 0, 0, 172, 173, 1, 0, 0, 0, 173, 176, 1, 0, 0, 0, 174, 175, 5, 189, 0, 0, 175, 177, 7, 0, 0, 0, 176, 174, 1, 0, 0, 0, 176, 177, 1, 0, 0, 0, 177, 180, 1, 0, 0, 0, 178, 179, 5, 189, 0, 0, 179, 181, 5, 169, 0, 0, 180, 178, 1, 0, 0, 0, 180, 181, 1, 0, 0, 0, 181, 183, 1, 0, 0, 0, 182, 184, 3, 24, 12, 0, 183, 182, 1, 0, 0, 0, 183, 184, 1, 0, 0, 0, 184, 186, 1, 0, 0, 0, 185, 187, 3, 16, 8, 0, 186, 185, 1, 0, 0, 0, 186, 187, 1, 0, 0, 0, 187, 189, 1, 0, 0, 0, 188, 190, 3, 26, 13, 0, 189, 188, 1, 0, 0, 0, 189, 190, 1, 0, 0, 0, 190, 193, 1, 0, 0, 0, 191, 194, 3, 30, 15, 0, 192, 194, 3, 32, 16, 0, 193, 191, 1, 0, 0, 0, 193, 192, 1, 0, 0, 0, 193, 194, 1, 0, 0, 0, 194, 196, 1, 0, 0, 0, 195, 197, 3, 34, 17, 0, 196, 195, 1, 0, 0, 0, 196, 197, 1, 0, 0, 0, 197, 7, 1, 0, 0, 0, 198, 199, 5, 189, 0, 0, 199, 200, 3, 86, 43, 0, 200, 9, 1, 0, 0, 0, 201, 202, 5, 168, 0, 0, 202, 205, 5, 198, 0, 0, 203, 204, 5, 189, 0, 0, 204, 206, 5, 164, 0, 0, 205, 203, 1, 0, 0, 0, 205, 206, 1, 0, 0, 0, 206, 11, 1, 0, 0, 0, 207, 208, 5, 68, 0, 0, 208, 209, 3, 36, 18, 0, 209, 13, 1, 0, 0, 0, 210, 212, 7, 1, 0, 0, 211, 210, 1, 0, 0, 0, 211, 212, 1, 0, 0, 0, 212, 213, 1, 0, 0, 0, 213, 214, 5, 9, 0, 0, 214, 215, 5, 90, 0, 0, 215, 216, 3, 72, 36, 0, 216, 15, 1, 0, 0, 0, 217, 218, 5, 188, 0, 0, 218, 219, 3, 118, 59, 0, 219, 220, 5, 10, 0, 0, 220, 221, 5, 220, 0, 0, 221, 222, 3, 56, 28, 0, 222, 232, 5, 236, 0, 0, 223, 224, 5, 206, 0, 0, 224, 225, 3, 118, 59, 0, 225, 226, 5, 10, 0, 0, 226, 227, 5, 220, 0, 0, 227, 228, 3, 56, 28, 0, 228, 229, 5, 236, 0, 0, 229, 231, 1, 0, 0, 0, 230, 223, 1, 0, 0, 0, 231, 234, 1, 0, 0, 0, 232, 230, 1, 0, 0, 0, 232, 233, 1, 0, 0, 0, 233, 17, 1, 0, 0, 0, 234, 232, 1, 0, 0, 0, 235, 236, 5, 129, 0, 0, 236, 237, 3, 74, 37, 0, 237, 19, 1, 0, 0, 0, 238, 239, 5, 187, 0, 0, 239, 240, 3, 74, 37, 0, 240, 21, 1, 0, 0, 0, 241, 242, 5, 73, 0, 0, 242, 249, 5, 18, 0, 0, 243, 244, 7, 0, 0, 0, 244, 245, 5, 220, 0, 0, 245, 246, 3, 72, 36, 0, 246, 247, 5, 236, 0, 0, 247, 250, 1, 0, 0, 0, 248, 250, 3, 72, 36, 0, 249, 243, 1, 0, 0, 0, 249, 248, 1, 0, 0, 0, 250, 23, 1, 0, 0, 0, 251, 252, 5, 74, 0, 0, 252, 253, 3, 74, 37, 0, 253, 25, 1, 0, 0, 0, 254, 255, 5, 122, 0, 0, 255, 256, 5, 18, 0, 0, 256, 257, 3, 46, 23, 0, 257, 27, 1, 0, 0, 0, 258, 259, 5, 122, 0, 0, 259, 260, 5, 18, 0, 0, 260, 261, 3, 72, 36, 0, 261, 29, 1, 0, 0, 0, 262, 263, 5, 99, 0, 0, 263, 266, 3, 74, 37, 0, 264, 265, 5, 206, 0, 0, 265, 267, 3, 74, 37, 0, 266, 264, 1, 0, 0, 0, 266, 267, 1, 0, 0, 0, 267, 272, 1, 0, 0, 0, 268, 269, 5, 189, 0, 0, 269, 273, 5, 164, 0, 0, 270, 271, 5, 18, 0, 0, 271, 273, 3, 72, 36, 0, 272, 268, 1, 0, 0, 0, 272, 270, 1, 0, 0, 0, 272, 273, 1, 0, 0, 0, 273, 292, 1, 0, 0, 0, 274, 275, 5, 99, 0, 0, 275, 278, 3, 74, 37, 0, 276, 277, 5, 189, 0, 0, 277, 279, 5, 164, 0, 0, 278, 276, 1, 0, 0, 0, 278, 279, 1, 0, 0, 0, 279, 280, 1, 0, 0, 0, 280, 281, 5, 118, 0, 0, 281, 282, 3, 74, 37, 0, 282, 292, 1, 0, 0, 0, 283, 284, 5, 99, 0, 0, 284, 285, 3, 74, 37, 0, 285, 286, 5, 118, 0, 0, 286, 289, 3, 74, 37, 0, 287, 288, 5, 18, 0, 0, 288, 290, 3, 72, 36, 0, 289, 287, 1, 0, 0, 0, 289, 290, 1, 0, 0, 0, 290, 292, 1, 0, 0, 0, 291, 262, 1, 0, 0, 0, 291, 274, 1, 0, 0, 0, 291, 283, 1, 0, 0, 0, 292, 31, 1, 0, 0, 0, 293, 294, 5, 118, 0, 0, 294, 295, 3, 74, 37, 0, 295, 33, 1, 0, 0, 0, 296, 297, 5, 150, 0, 0, 297, 298, 3, 52, 26, 0, 298, 35, 1, 0, 0, 0, 299, 300, 6, 18, -1, 0, 300, 302, 3, 94, 47, 0, 301, 303, 5, 61, 0, 0, 302, 301, 1, 0, 0, 0, 302, 303, 1, 0, 0, 0, 303, 305, 1, 0, 0, 0, 304, 306, 3, 44, 22, 0, 305, 304, 1, 0, 0, 0, 305, 306, 1, 0, 0, 0, 306, 312, 1, 0, 0, 0, 307, 308, 5, 220, 0, 0, 308, 309, 3, 36, 18, 0, 309, 310, 5, 236, 0, 0, 310, 312, 1, 0, 0, 0, 311, 299, 1, 0, 0, 0, 311, 307, 1, 0, 0, 0, 312, 327, 1, 0, 0, 0, 313, 314, 10, 3, 0, 0, 314, 315, 3, 40, 20, 0, 315, 316, 3, 36, 18, 4, 316, 326, 1, 0, 0, 0, 317, 319, 10, 4, 0, 0, 318, 320, 3, 38, 19, 0, 319, 318, 1, 0, 0, 0, 319, 320, 1, 0, 0, 0, 320, 321, 1, 0, 0, 0, 321, 322, 5, 90, 0, 0, 322, 323, 3, 36, 18, 0, 323, 324, 3, 42, 21, 0, 324, 326, 1, 0, 0, 0, 325, 313, 1, 0, 0, 0, 325, 317, 1, 0, 0, 0, 326, 329, 1, 0, 0, 0, 327, 325, 1, 0, 0, 0, 327, 328, 1, 0, 0, 0, 328, 37, 1, 0, 0, 0, 329, 327, 1, 0, 0, 0, 330, 332, 7, 2, 0, 0, 331, 330, 1, 0, 0, 0, 331, 332, 1, 0, 0, 0, 332, 333, 1, 0, 0, 0, 333, 340, 5, 84, 0, 0, 334, 336, 5, 84, 0, 0, 335, 337, 7, 2, 0, 0, 336, 335, 1, 0, 0, 0, 336, 337, 1, 0, 0, 0, 337, 340, 1, 0, 0, 0, 338, 340, 7, 2, 0, 0, 339, 331, 1, 0, 0, 0, 339, 334, 1, 0, 0, 0, 339, 338, 1, 0, 0, 0, 340, 374, 1, 0, 0, 0, 341, 343, 7, 3, 0, 0, 342, 341, 1, 0, 0, 0, 342, 343, 1, 0, 0, 0, 343, 344, 1, 0, 0, 0, 344, 346, 7, 4, 0, 0, 345, 347, 5, 123, 0, 0, 346, 345, 1, 0, 0, 0, 346, 347, 1, 0, 0, 0, 347, 356, 1, 0, 0, 0, 348, 350, 7, 4, 0, 0, 349, 351, 5, 123, 0, 0, 350, 349, 1, 0, 0, 0, 350, 351, 1, 0, 0, 0, 351, 353, 1, 0, 0, 0, 352, 354, 7, 3, 0, 0, 353, 352, 1, 0, 0, 0, 353, 354, 1, 0, 0, 0, 354, 356, 1, 0, 0, 0, 355, 342, 1, 0, 0, 0, 355, 348, 1, 0, 0, 0, 356, 374, 1, 0, 0, 0, 357, 359, 7, 5, 0, 0, 358, 357, 1, 0, 0, 0, 358, 359, 1, 0, 0, 0, 359, 360, 1, 0, 0, 0, 360, 362, 5, 69, 0, 0, 361, 363, 5, 123, 0, 0, 362, 361, 1, 0, 0, 0, 362, 363, 1, 0, 0, 0, 363, 372, 1, 0, 0, 0, 364, 366, 5, 69, 0, 0, 365, 367, 5, 123, 0, 0, 366, 365, 1, 0, 0, 0, 366, 367, 1, 0, 0, 0, 367, 369, 1, 0, 0, 0, 368, 370, 7, 5, 0, 0, 369, 368, 1, 0, 0, 0, 369, 370, 1, 0, 0, 0, 370, 372, 1, 0, 0, 0, 371, 358, 1, 0, 0, 0, 371, 364, 1, 0, 0, 0, 372, 374, 1, 0, 0, 0, 373, 339, 1, 0, 0, 0, 373, 355, 1, 0, 0, 0, 373, 371, 1, 0, 0, 0, 374, 39, 1, 0, 0, 0, 375, 376, 5, 31, 0, 0, 376, 379, 5, 90, 0, 0, 377, 379, 5, 206, 0, 0, 378, 375, 1, 0, 0, 0, 378, 377, 1, 0, 0, 0, 379, 41, 1, 0, 0, 0, 380, 381, 5, 119, 0, 0, 381, 390, 3, 72, 36, 0, 382, 383, 5, 179, 0, 0, 383, 384, 5, 220, 0, 0, 384, 385, 3, 72, 36, 0, 385, 386, 5, 236, 0, 0, 386, 390, 1, 0, 0, 0, 387, 388, 5, 179, 0, 0, 388, 390, 3, 72, 36, 0, 389, 380, 1, 0, 0, 0, 389, 382, 1, 0, 0, 0, 389, 387, 1, 0, 0, 0, 390, 43, 1, 0, 0, 0, 391, 392, 5, 144, 0, 0, 392, 395, 3, 50, 25, 0, 393, 394, 5, 118, 0, 0, 394, 396, 3, 50, 25, 0, 395, 393, 1, 0, 0, 0, 395, 396, 1, 0, 0, 0, 396, 45, 1, 0, 0, 0, 397, 402, 3, 48, 24, 0, 398, 399, 5, 206, 0, 0, 399, 401, 3, 48, 24, 0, 400, 398, 1, 0, 0, 0, 401, 404, 1, 0, 0, 0, 402, 400, 1, 0, 0, 0, 402, 403, 1, 0, 0, 0, 403, 47, 1, 0, 0, 0, 404, 402, 1, 0, 0, 0, 405, 407, 3, 74, 37, 0, 406, 408, 7, 6, 0, 0, 407, 406, 1, 0, 0, 0, 407, 408, 1, 0, 0, 0, 408, 411, 1, 0, 0, 0, 409, 410, 5, 117, 0, 0, 410, 412, 7, 7, 0, 0, 411, 409, 1, 0, 0, 0, 411, 412, 1, 0, 0, 0, 412, 415, 1, 0, 0, 0, 413, 414, 5, 26, 0, 0, 414, 416, 5, 200, 0, 0, 415, 413, 1, 0, 0, 0, 415, 416, 1, 0, 0, 0, 416, 49, 1, 0, 0, 0, 417, 424, 3, 122, 61, 0, 418, 421, 3, 106, 53, 0, 419, 420, 5, 238, 0, 0, 420, 422, 3, 106, 53, 0, 421, 419, 1, 0, 0, 0, 421, 422, 1, 0, 0, 0, 422, 424, 1, 0, 0, 0, 423, 417, 1, 0, 0, 0, 423, 418, 1, 0, 0, 0, 424, 51, 1, 0, 0, 0, 425, 430, 3, 54, 27, 0, 426, 427, 5, 206, 0, 0, 427, 429, 3, 54, 27, 0, 428, 426, 1, 0, 0, 0, 429, 432, 1, 0, 0, 0, 430, 428, 1, 0, 0, 0, 430, 431, 1, 0, 0, 0, 431, 53, 1, 0, 0, 0, 432, 430, 1, 0, 0, 0, 433, 434, 3, 118, 59, 0, 434, 435, 5, 212, 0, 0, 435, 436, 3, 108, 54, 0, 436, 55, 1, 0, 0, 0, 437, 439, 3, 58, 29, 0, 438, 437, 1, 0, 0, 0, 438, 439, 1, 0, 0, 0, 439, 441, 1, 0, 0, 0, 440, 442, 3, 60, 30, 0, 441, 440, 1, 0, 0, 0, 441, 442, 1, 0, 0, 0, 442, 444, 1, 0, 0, 0, 443, 445, 3, 62, 31, 0, 444, 443, 1, 0, 0, 0, 444, 445, 1, 0, 0, 0, 445, 57, 1, 0, 0, 0, 446, 447, 5, 126, 0, 0, 447, 448, 5, 18, 0, 0, 448, 449, 3, 72, 36, 0, 449, 59, 1, 0, 0, 0, 450, 451, 5, 122, 0, 0, 451, 452, 5, 18, 0, 0, 452, 453, 3, 46, 23, 0, 453, 61, 1, 0, 0, 0, 454, 455, 7, 8, 0, 0, 455, 456, 3, 64, 32, 0, 456, 63, 1, 0, 0, 0, 457, 464, 3, 66, 33, 0, 458, 459, 5, 16, 0, 0, 459, 460, 3, 66, 33, 0, 460, 461, 5, 6, 0, 0, 461, 462, 3, 66, 33, 0, 462, 464, 1, 0, 0, 0, 463, 457, 1, 0, 0, 0, 463, 458, 1, 0, 0, 0, 464, 65, 1, 0, 0, 0, 465, 466, 5, 33, 0, 0, 466, 478, 5, 142, 0, 0, 467, 468, 5, 175, 0, 0, 468, 478, 5, 128, 0, 0, 469, 470, 5, 175, 0, 0, 470, 478, 5, 64, 0, 0, 471, 472, 3, 106, 53, 0, 472, 473, 5, 128, 0, 0, 473, 478, 1, 0, 0, 0, 474, 475, 3, 106, 53, 0, 475, 476, 5, 64, 0, 0, 476, 478, 1, 0, 0, 0, 477, 465, 1, 0, 0, 0, 477, 467, 1, 0, 0, 0, 477, 469, 1, 0, 0, 0, 477, 471, 1, 0, 0, 0, 477, 474, 1, 0, 0, 0, 478, 67, 1, 0, 0, 0, 479, 480, 3, 74, 37, 0, 480, 481, 5, 0, 0, 1, 481, 69, 1, 0, 0, 0, 482, 530, 3, 118, 59, 0, 483, 484, 3, 118, 59, 0, 484, 485, 5, 220, 0, 0, 485, 486, 3, 118, 59, 0, 486, 493, 3, 70, 35, 0, 487, 488, 5, 206, 0, 0, 488, 489, 3, 118, 59, 0, 489, 490, 3, 70, 35, 0, 490, 492, 1, 0, 0, 0, 491, 487, 1, 0, 0, 0, 492, 495, 1, 0, 0, 0, 493, 491, 1, 0, 0, 0, 493, 494, 1, 0, 0, 0, 494, 496, 1, 0, 0, 0, 495, 493, 1, 0, 0, 0, 496, 497, 5, 236, 0, 0, 497, 530, 1, 0, 0, 0, 498, 499, 3, 118, 59, 0, 499, 500, 5, 220, 0, 0, 500, 505, 3, 120, 60, 0, 501, 502, 5, 206, 0, 0, 502, 504, 3, 120, 60, 0, 503, 501, 1, 0, 0, 0, 504, 507, 1, 0, 0, 0, 505, 503, 1, 0, 0, 0, 505, 506, 1, 0, 0, 0, 506, 508, 1, 0, 0, 0, 507, 505, 1, 0, 0, 0, 508, 509, 5, 236, 0, 0, 509, 530, 1, 0, 0, 0, 510, 511, 3, 118, 59, 0, 511, 512, 5, 220, 0, 0, 512, 517, 3, 70, 35, 0, 513, 514, 5, 206, 0, 0, 514, 516, 3, 70, 35, 0, 515, 513, 1, 0, 0, 0, 516, 519, 1, 0, 0, 0, 517, 515, 1, 0, 0, 0, 517, 518, 1, 0, 0, 0, 518, 520, 1, 0, 0, 0, 519, 517, 1, 0, 0, 0, 520, 521, 5, 236, 0, 0, 521, 530, 1, 0, 0, 0, 522, 523, 3, 118, 59, 0, 523, 525, 5, 220, 0, 0, 524, 526, 3, 72, 36, 0, 525, 524, 1, 0, 0, 0, 525, 526, 1, 0, 0, 0, 526, 527, 1, 0, 0, 0, 527, 528, 5, 236, 0, 0, 528, 530, 1, 0, 0, 0, 529, 482, 1, 0, 0, 0, 529, 483, 1, 0, 0, 0, 529, 498, 1, 0, 0, 0, 529, 510, 1, 0, 0, 0, 529, 522, 1, 0, 0, 0, 530, 71, 1, 0, 0, 0, 531, 536, 3, 74, 37, 0, 532, 533, 5, 206, 0, 0, 533, 535, 3, 74, 37, 0, 534, 532, 1, 0, 0, 0, 535, 538, 1, 0, 0, 0, 536, 534, 1, 0, 0, 0, 536, 537, 1, 0, 0, 0, 537, 73, 1, 0, 0, 0, 538, 536, 1, 0, 0, 0, 539, 540, 6, 37, -1, 0, 540, 542, 5, 19, 0, 0, 541, 543, 3, 74, 37, 0, 542, 541, 1, 0, 0, 0, 542, 543, 1, 0, 0, 0, 543, 549, 1, 0, 0, 0, 544, 545, 5, 186, 0, 0, 545, 546, 3, 74, 37, 0, 546, 547, 5, 163, 0, 0, 547, 548, 3, 74, 37, 0, 548, 550, 1, 0, 0, 0, 549, 544, 1, 0, 0, 0, 550, 551, 1, 0, 0, 0, 551, 549, 1, 0, 0, 0, 551, 552, 1, 0, 0, 0, 552, 555, 1, 0, 0, 0, 553, 554, 5, 52, 0, 0, 554, 556, 3, 74, 37, 0, 555, 553, 1, 0, 0, 0, 555, 556, 1, 0, 0, 0, 556, 557, 1, 0, 0, 0, 557, 558, 5, 53, 0, 0, 558, 670, 1, 0, 0, 0, 559, 560, 5, 20, 0, 0, 560, 561, 5, 220, 0, 0, 561, 562, 3, 74, 37, 0, 562, 563, 5, 10, 0, 0, 563, 564, 3, 70, 35, 0, 564, 565, 5, 236, 0, 0, 565, 670, 1, 0, 0, 0, 566, 567, 5, 36, 0, 0, 567, 670, 5, 200, 0, 0, 568, 569, 5, 59, 0, 0, 569, 570, 5, 220, 0, 0, 570, 571, 3, 110, 55, 0, 571, 572, 5, 68, 0, 0, 572, 573, 3, 74, 37, 0, 573, 574, 5, 236, 0, 0, 574, 670, 1, 0, 0, 0, 575, 576, 5, 86, 0, 0, 576, 577, 3, 74, 37, 0, 577, 578, 3, 110, 55, 0, 578, 670, 1, 0, 0, 0, 579, 580, 5, 155, 0, 0, 580, 581, 5, 220, 0, 0, 581, 582, 3, 74, 37, 0, 582, 583, 5, 68, 0, 0, 583, 586, 3, 74, 37, 0, 584, 585, 5, 65, 0, 0, 585, 587, 3, 74, 37, 0, 586, 584, 1, 0, 0, 0, 586, 587, 1, 0, 0, 0, 587, 588, 1, 0, 0, 0, 588, 589, 5, 236, 0, 0, 589, 670, 1, 0, 0, 0, 590, 591, 5, 166, 0, 0, 591, 670, 5, 200, 0, 0, 592, 593, 5, 171, 0, 0, 593, 594, 5, 220, 0, 0, 594, 595, 7, 9, 0, 0, 595, 596, 5, 200, 0, 0, 596, 597, 5, 68, 0, 0, 597, 598, 3, 74, 37, 0, 598, 599, 5, 236, 0, 0, 599, 670, 1, 0, 0, 0, 600, 601, 3, 118, 59, 0, 601, 603, 5, 220, 0, 0, 602, 604, 3, 72, 36, 0, 603, 602, 1, 0, 0, 0, 603, 604, 1, 0, 0, 0, 604, 605, 1, 0, 0, 0, 605, 606, 5, 236, 0, 0, 606, 607, 1, 0, 0, 0, 607, 608, 5, 125, 0, 0, 608, 609, 5, 220, 0, 0, 609, 610, 3, 56, 28, 0, 610, 611, 5, 236, 0, 0, 611, 670, 1, 0, 0, 0, 612, 613, 3, 118, 59, 0, 613, 615, 5, 220, 0, 0, 614, 616, 3, 72, 36, 0, 615, 614, 1, 0, 0, 0, 615, 616, 1, 0, 0, 0, 616, 617, 1, 0, 0, 0, 617, 618, 5, 236, 0, 0, 618, 619, 1, 0, 0, 0, 619, 620, 5, 125, 0, 0, 620, 621, 3, 118, 59, 0, 621, 670, 1, 0, 0, 0, 622, 628, 3, 118, 59, 0, 623, 625, 5, 220, 0, 0, 624, 626, 3, 72, 36, 0, 625, 624, 1, 0, 0, 0, 625, 626, 1, 0, 0, 0, 626, 627, 1, 0, 0, 0, 627, 629, 5, 236, 0, 0, 628, 623, 1, 0, 0, 0, 628, 629, 1, 0, 0, 0, 629, 630, 1, 0, 0, 0, 630, 632, 5, 220, 0, 0, 631, 633, 5, 49, 0, 0, 632, 631, 1, 0, 0, 0, 632, 633, 1, 0, 0, 0, 633, 635, 1, 0, 0, 0, 634, 636, 3, 76, 38, 0, 635, 634, 1, 0, 0, 0, 635, 636, 1, 0, 0, 0, 636, 637, 1, 0, 0, 0, 637, 638, 5, 236, 0, 0, 638, 670, 1, 0, 0, 0, 639, 670, 3, 82, 41, 0, 640, 670, 3, 108, 54, 0, 641, 642, 5, 208, 0, 0, 642, 670, 3, 74, 37, 18, 643, 644, 5, 115, 0, 0, 644, 670, 3, 74, 37, 12, 645, 646, 3, 98, 49, 0, 646, 647, 5, 210, 0, 0, 647, 649, 1, 0, 0, 0, 648, 645, 1, 0, 0, 0, 648, 649, 1, 0, 0, 0, 649, 650, 1, 0, 0, 0, 650, 670, 5, 202, 0, 0, 651, 652, 5, 220, 0, 0, 652, 653, 3, 2, 1, 0, 653, 654, 5, 236, 0, 0, 654, 670, 1, 0, 0, 0, 655, 656, 5, 220, 0, 0, 656, 657, 3, 74, 37, 0, 657, 658, 5, 236, 0, 0, 658, 670, 1, 0, 0, 0, 659, 660, 5, 220, 0, 0, 660, 661, 3, 72, 36, 0, 661, 662, 5, 236, 0, 0, 662, 670, 1, 0, 0, 0, 663, 665, 5, 219, 0, 0, 664, 666, 3, 72, 36, 0, 665, 664, 1, 0, 0, 0, 665, 666, 1, 0, 0, 0, 666, 667, 1, 0, 0, 0, 667, 670, 5, 235, 0, 0, 668, 670, 3, 90, 45, 0, 669, 539, 1, 0, 0, 0, 669, 559, 1, 0, 0, 0, 669, 566, 1, 0, 0, 0, 669, 568, 1, 0, 0, 0, 669, 575, 1, 0, 0, 0, 669, 579, 1, 0, 0, 0, 669, 590, 1, 0, 0, 0, 669, 592, 1, 0, 0, 0, 669, 600, 1, 0, 0, 0, 669, 612, 1, 0, 0, 0, 669, 622, 1, 0, 0, 0, 669, 639, 1, 0, 0, 0, 669, 640, 1, 0, 0, 0, 669, 641, 1, 0, 0, 0, 669, 643, 1, 0, 0, 0, 669, 648, 1, 0, 0, 0, 669, 651, 1, 0, 0, 0, 669, 655, 1, 0, 0, 0, 669, 659, 1, 0, 0, 0, 669, 663, 1, 0, 0, 0, 669, 668, 1, 0, 0, 0, 670, 764, 1, 0, 0, 0, 671, 675, 10, 17, 0, 0, 672, 676, 5, 202, 0, 0, 673, 676, 5, 238, 0, 0, 674, 676, 5, 227, 0, 0, 675, 672, 1, 0, 0, 0, 675, 673, 1, 0, 0, 0, 675, 674, 1, 0, 0, 0, 676, 677, 1, 0, 0, 0, 677, 763, 3, 74, 37, 18, 678, 682, 10, 16, 0, 0, 679, 683, 5, 228, 0, 0, 680, 683, 5, 208, 0, 0, 681, 683, 5, 207, 0, 0, 682, 679, 1, 0, 0, 0, 682, 680, 1, 0, 0, 0, 682, 681, 1, 0, 0, 0, 683, 684, 1, 0, 0, 0, 684, 763, 3, 74, 37, 17, 685, 710, 10, 15, 0, 0, 686, 711, 5, 211, 0, 0, 687, 711, 5, 212, 0, 0, 688, 711, 5, 223, 0, 0, 689, 711, 5, 221, 0, 0, 690, 711, 5, 222, 0, 0, 691, 711, 5, 213, 0, 0, 692, 711, 5, 214, 0, 0, 693, 695, 5, 115, 0, 0, 694, 693, 1, 0, 0, 0, 694, 695, 1, 0, 0, 0, 695, 696, 1, 0, 0, 0, 696, 698, 5, 80, 0, 0, 697, 699, 5, 25, 0, 0, 698, 697, 1, 0, 0, 0, 698, 699, 1, 0, 0, 0, 699, 711, 1, 0, 0, 0, 700, 702, 5, 115, 0, 0, 701, 700, 1, 0, 0, 0, 701, 702, 1, 0, 0, 0, 702, 703, 1, 0, 0, 0, 703, 711, 7, 10, 0, 0, 704, 711, 5, 232, 0, 0, 705, 711, 5, 233, 0, 0, 706, 711, 5, 225, 0, 0, 707, 711, 5, 216, 0, 0, 708, 711, 5, 217, 0, 0, 709, 711, 5, 224, 0, 0, 710, 686, 1, 0, 0, 0, 710, 687, 1, 0, 0, 0, 710, 688, 1, 0, 0, 0, 710, 689, 1, 0, 0, 0, 710, 690, 1, 0, 0, 0, 710, 691, 1, 0, 0, 0, 710, 692, 1, 0, 0, 0, 710, 694, 1, 0, 0, 0, 710, 701, 1, 0, 0, 0, 710, 704, 1, 0, 0, 0, 710, 705, 1, 0, 0, 0, 710, 706, 1, 0, 0, 0, 710, 707, 1, 0, 0, 0, 710, 708, 1, 0, 0, 0, 710, 709, 1, 0, 0, 0, 711, 712, 1, 0, 0, 0, 712, 763, 3, 74, 37, 16, 713, 714, 10, 13, 0, 0, 714, 715, 5, 226, 0, 0, 715, 763, 3, 74, 37, 14, 716, 717, 10, 11, 0, 0, 717, 718, 5, 6, 0, 0, 718, 763, 3, 74, 37, 12, 719, 720, 10, 10, 0, 0, 720, 721, 5, 121, 0, 0, 721, 763, 3, 74, 37, 11, 722, 724, 10, 9, 0, 0, 723, 725, 5, 115, 0, 0, 724, 723, 1, 0, 0, 0, 724, 725, 1, 0, 0, 0, 725, 726, 1, 0, 0, 0, 726, 727, 5, 16, 0, 0, 727, 728, 3, 74, 37, 0, 728, 729, 5, 6, 0, 0, 729, 730, 3, 74, 37, 10, 730, 763, 1, 0, 0, 0, 731, 732, 10, 8, 0, 0, 732, 733, 5, 229, 0, 0, 733, 734, 3, 74, 37, 0, 734, 735, 5, 205, 0, 0, 735, 736, 3, 74, 37, 8, 736, 763, 1, 0, 0, 0, 737, 738, 10, 21, 0, 0, 738, 739, 5, 219, 0, 0, 739, 740, 3, 74, 37, 0, 740, 741, 5, 235, 0, 0, 741, 763, 1, 0, 0, 0, 742, 743, 10, 20, 0, 0, 743, 744, 5, 210, 0, 0, 744, 763, 5, 198, 0, 0, 745, 746, 10, 19, 0, 0, 746, 747, 5, 210, 0, 0, 747, 763, 3, 118, 59, 0, 748, 749, 10, 14, 0, 0, 749, 751, 5, 88, 0, 0, 750, 752, 5, 115, 0, 0, 751, 750, 1, 0, 0, 0, 751, 752, 1, 0, 0, 0, 752, 753, 1, 0, 0, 0, 753, 763, 5, 116, 0, 0, 754, 760, 10, 7, 0, 0, 755, 761, 3, 116, 58, 0, 756, 757, 5, 10, 0, 0, 757, 761, 3, 118, 59, 0, 758, 759, 5, 10, 0, 0, 759, 761, 5, 200, 0, 0, 760, 755, 1, 0, 0, 0, 760, 756, 1, 0, 0, 0, 760, 758, 1, 0, 0, 0, 761, 763, 1, 0, 0, 0, 762, 671, 1, 0, 0, 0, 762, 678, 1, 0, 0, 0, 762, 685, 1, 0, 0, 0, 762, 713, 1, 0, 0, 0, 762, 716, 1, 0, 0, 0, 762, 719, 1, 0, 0, 0, 762, 722, 1, 0, 0, 0, 762, 731, 1, 0, 0, 0, 762, 737, 1, 0, 0, 0, 762, 742, 1, 0, 0, 0, 762, 745, 1, 0, 0, 0, 762, 748, 1, 0, 0, 0, 762, 754, 1, 0, 0, 0, 763, 766, 1, 0, 0, 0, 764, 762, 1, 0, 0, 0, 764, 765, 1, 0, 0, 0, 765, 75, 1, 0, 0, 0, 766, 764, 1, 0, 0, 0, 767, 772, 3, 78, 39, 0, 768, 769, 5, 206, 0, 0, 769, 771, 3, 78, 39, 0, 770, 768, 1, 0, 0, 0, 771, 774, 1, 0, 0, 0, 772, 770, 1, 0, 0, 0, 772, 773, 1, 0, 0, 0, 773, 77, 1, 0, 0, 0, 774, 772, 1, 0, 0, 0, 775, 778, 3, 80, 40, 0, 776, 778, 3, 74, 37, 0, 777, 775, 1, 0, 0, 0, 777, 776, 1, 0, 0, 0, 778, 79, 1, 0, 0, 0, 779, 780, 5, 220, 0, 0, 780, 785, 3, 118, 59, 0, 781, 782, 5, 206, 0, 0, 782, 784, 3, 118, 59, 0, 783, 781, 1, 0, 0, 0, 784, 787, 1, 0, 0, 0, 785, 783, 1, 0, 0, 0, 785, 786, 1, 0, 0, 0, 786, 788, 1, 0, 0, 0, 787, 785, 1, 0, 0, 0, 788, 789, 5, 236, 0, 0, 789, 799, 1, 0, 0, 0, 790, 795, 3, 118, 59, 0, 791, 792, 5, 206, 0, 0, 792, 794, 3, 118, 59, 0, 793, 791, 1, 0, 0, 0, 794, 797, 1, 0, 0, 0, 795, 793, 1, 0, 0, 0, 795, 796, 1, 0, 0, 0, 796, 799, 1, 0, 0, 0, 797, 795, 1, 0, 0, 0, 798, 779, 1, 0, 0, 0, 798, 790, 1, 0, 0, 0, 799, 800, 1, 0, 0, 0, 800, 801, 5, 201, 0, 0, 801, 802, 3, 74, 37, 0, 802, 81, 1, 0, 0, 0, 803, 804, 5, 222, 0, 0, 804, 808, 3, 118, 59, 0, 805, 807, 3, 84, 42, 0, 806, 805, 1, 0, 0, 0, 807, 810, 1, 0, 0, 0, 808, 806, 1, 0, 0, 0, 808, 809, 1, 0, 0, 0, 809, 811, 1, 0, 0, 0, 810, 808, 1, 0, 0, 0, 811, 812, 5, 238, 0, 0, 812, 813, 5, 214, 0, 0, 813, 832, 1, 0, 0, 0, 814, 815, 5, 222, 0, 0, 815, 819, 3, 118, 59, 0, 816, 818, 3, 84, 42, 0, 817, 816, 1, 0, 0, 0, 818, 821, 1, 0, 0, 0, 819, 817, 1, 0, 0, 0, 819, 820, 1, 0, 0, 0, 820, 822, 1, 0, 0, 0, 821, 819, 1, 0, 0, 0, 822, 824, 5, 214, 0, 0, 823, 825, 3, 82, 41, 0, 824, 823, 1, 0, 0, 0, 824, 825, 1, 0, 0, 0, 825, 826, 1, 0, 0, 0, 826, 827, 5, 222, 0, 0, 827, 828, 5, 238, 0, 0, 828, 829, 3, 118, 59, 0, 829, 830, 5, 214, 0, 0, 830, 832, 1, 0, 0, 0, 831, 803, 1, 0, 0, 0, 831, 814, 1, 0, 0, 0, 832, 83, 1, 0, 0, 0, 833, 834, 3, 118, 59, 0, 834, 835, 5, 212, 0, 0, 835, 836, 5, 200, 0, 0, 836, 845, 1, 0, 0, 0, 837, 838, 3, 118, 59, 0, 838, 839, 5, 212, 0, 0, 839, 840, 5, 218, 0, 0, 840, 841, 3, 74, 37, 0, 841, 842, 5, 234, 0, 0, 842, 845, 1, 0, 0, 0, 843, 845, 3, 118, 59, 0, 844, 833, 1, 0, 0, 0, 844, 837, 1, 0, 0, 0, 844, 843, 1, 0, 0, 0, 845, 85, 1, 0, 0, 0, 846, 851, 3, 88, 44, 0, 847, 848, 5, 206, 0, 0, 848, 850, 3, 88, 44, 0, 849, 847, 1, 0, 0, 0, 850, 853, 1, 0, 0, 0, 851, 849, 1, 0, 0, 0, 851, 852, 1, 0, 0, 0, 852, 87, 1, 0, 0, 0, 853, 851, 1, 0, 0, 0, 854, 855, 3, 118, 59, 0, 855, 856, 5, 10, 0, 0, 856, 857, 5, 220, 0, 0, 857, 858, 3, 2, 1, 0, 858, 859, 5, 236, 0, 0, 859, 865, 1, 0, 0, 0, 860, 861, 3, 74, 37, 0, 861, 862, 5, 10, 0, 0, 862, 863, 3, 118, 59, 0, 863, 865, 1, 0, 0, 0, 864, 854, 1, 0, 0, 0, 864, 860, 1, 0, 0, 0, 865, 89, 1, 0, 0, 0, 866, 874, 3, 122, 61, 0, 867, 868, 3, 98, 49, 0, 868, 869, 5, 210, 0, 0, 869, 871, 1, 0, 0, 0, 870, 867, 1, 0, 0, 0, 870, 871, 1, 0, 0, 0, 871, 872, 1, 0, 0, 0, 872, 874, 3, 92, 46, 0, 873, 866, 1, 0, 0, 0, 873, 870, 1, 0, 0, 0, 874, 91, 1, 0, 0, 0, 875, 880, 3, 118, 59, 0, 876, 877, 5, 210, 0, 0, 877, 879, 3, 118, 59, 0, 878, 876, 1, 0, 0, 0, 879, 882, 1, 0, 0, 0, 880, 878, 1, 0, 0, 0, 880, 881, 1, 0, 0, 0, 881, 93, 1, 0, 0, 0, 882, 880, 1, 0, 0, 0, 883, 884, 6, 47, -1, 0, 884, 893, 3, 98, 49, 0, 885, 893, 3, 96, 48, 0, 886, 887, 5, 220, 0, 0, 887, 888, 3, 2, 1, 0, 888, 889, 5, 236, 0, 0, 889, 893, 1, 0, 0, 0, 890, 893, 3, 82, 41, 0, 891, 893, 3, 122, 61, 0, 892, 883, 1, 0, 0, 0, 892, 885, 1, 0, 0, 0, 892, 886, 1, 0, 0, 0, 892, 890, 1, 0, 0, 0, 892, 891, 1, 0, 0, 0, 893, 902, 1, 0, 0, 0, 894, 898, 10, 3, 0, 0, 895, 899, 3, 116, 58, 0, 896, 897, 5, 10, 0, 0, 897, 899, 3, 118, 59, 0, 898, 895, 1, 0, 0, 0, 898, 896, 1, 0, 0, 0, 899, 901, 1, 0, 0, 0, 900, 894, 1, 0, 0, 0, 901, 904, 1, 0, 0, 0, 902, 900, 1, 0, 0, 0, 902, 903, 1, 0, 0, 0, 903, 95, 1, 0, 0, 0, 904, 902, 1, 0, 0, 0, 905, 906, 3, 118, 59, 0, 906, 908, 5, 220, 0, 0, 907, 909, 3, 100, 50, 0, 908, 907, 1, 0, 0, 0, 908, 909, 1, 0, 0, 0, 909, 910, 1, 0, 0, 0, 910, 911, 5, 236, 0, 0, 911, 97, 1, 0, 0, 0, 912, 913, 3, 102, 51, 0, 913, 914, 5, 210, 0, 0, 914, 916, 1, 0, 0, 0, 915, 912, 1, 0, 0, 0, 915, 916, 1, 0, 0, 0, 916, 917, 1, 0, 0, 0, 917, 918, 3, 118, 59, 0, 918, 99, 1, 0, 0, 0, 919, 924, 3, 74, 37, 0, 920, 921, 5, 206, 0, 0, 921, 923, 3, 74, 37, 0, 922, 920, 1, 0, 0, 0, 923, 926, 1, 0, 0, 0, 924, 922, 1, 0, 0, 0, 924, 925, 1, 0, 0, 0, 925, 101, 1, 0, 0, 0, 926, 924, 1, 0, 0, 0, 927, 928, 3, 118, 59, 0, 928, 103, 1, 0, 0, 0, 929, 938, 5, 196, 0, 0, 930, 931, 5, 210, 0, 0, 931, 938, 7, 11, 0, 0, 932, 933, 5, 198, 0, 0, 933, 935, 5, 210, 0, 0, 934, 936, 7, 11, 0, 0, 935, 934, 1, 0, 0, 0, 935, 936, 1, 0, 0, 0, 936, 938, 1, 0, 0, 0, 937, 929, 1, 0, 0, 0, 937, 930, 1, 0, 0, 0, 937, 932, 1, 0, 0, 0, 938, 105, 1, 0, 0, 0, 939, 941, 7, 12, 0, 0, 940, 939, 1, 0, 0, 0, 940, 941, 1, 0, 0, 0, 941, 948, 1, 0, 0, 0, 942, 949, 3, 104, 52, 0, 943, 949, 5, 197, 0, 0, 944, 949, 5, 198, 0, 0, 945, 949, 5, 199, 0, 0, 946, 949, 5, 82, 0, 0, 947, 949, 5, 113, 0, 0, 948, 942, 1, 0, 0, 0, 948, 943, 1, 0, 0, 0, 948, 944, 1, 0, 0, 0, 948, 945, 1, 0, 0, 0, 948, 946, 1, 0, 0, 0, 948, 947, 1, 0, 0, 0, 949, 107, 1, 0, 0, 0, 950, 954, 3, 106, 53, 0, 951, 954, 5, 200, 0, 0, 952, 954, 5, 116, 0, 0, 953, 950, 1, 0, 0, 0, 953, 951, 1, 0, 0, 0, 953, 952, 1, 0, 0, 0, 954, 109, 1, 0, 0, 0, 955, 956, 7, 13, 0, 0, 956, 111, 1, 0, 0, 0, 957, 958, 7, 14, 0, 0, 958, 113, 1, 0, 0, 0, 959, 960, 7, 15, 0, 0, 960, 115, 1, 0, 0, 0, 961, 964, 5, 195, 0, 0, 962, 964, 3, 114, 57, 0, 963, 961, 1, 0, 0, 0, 963, 962, 1, 0, 0, 0, 964, 117, 1, 0, 0, 0, 965, 969, 5, 195, 0, 0, 966, 969, 3, 110, 55, 0, 967, 969, 3, 112, 56, 0, 968, 965, 1, 0, 0, 0, 968, 966, 1, 0, 0, 0, 968, 967, 1, 0, 0, 0, 969, 119, 1, 0, 0, 0, 970, 971, 5, 200, 0, 0, 971, 972, 5, 212, 0, 0, 972, 973, 3, 106, 53, 0, 973, 121, 1, 0, 0, 0, 974, 975, 5, 218, 0, 0, 975, 976, 3, 118, 59, 0, 976, 977, 5, 234, 0, 0, 977, 123, 1, 0, 0, 0, 120, 127, 137, 146, 149, 153, 156, 160, 163, 166, 169, 172, 176, 180, 183, 186, 189, 193, 196, 205, 211, 232, 249, 266, 272, 278, 289, 291, 302, 305, 311, 319, 325, 327, 331, 336, 339, 342, 346, 350, 353, 355, 358, 362, 366, 369, 371, 373, 378, 389, 395, 402, 407, 411, 415, 421, 423, 430, 438, 441, 444, 463, 477, 493, 505, 517, 525, 529, 536, 542, 551, 555, 586, 603, 615, 625, 628, 632, 635, 648, 665, 669, 675, 682, 694, 698, 701, 710, 724, 751, 760, 762, 764, 772, 777, 785, 795, 798, 808, 819, 824, 831, 844, 851, 864, 870, 873, 880, 892, 898, 902, 908, 915, 924, 935, 937, 940, 948, 953, 963, 968] \ No newline at end of file diff --git a/posthog/hogql/grammar/HogQLParser.py b/posthog/hogql/grammar/HogQLParser.py index 1db906d39300b..6bf1053a93059 100644 --- a/posthog/hogql/grammar/HogQLParser.py +++ b/posthog/hogql/grammar/HogQLParser.py @@ -10,7 +10,7 @@ def serializedATN(): return [ - 4,1,242,978,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6, + 4,1,242,979,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, @@ -20,78 +20,78 @@ def serializedATN(): 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,1,0,1,0,1,0,3,0,128,8,0,1,0,1,0,1,1, - 1,1,1,1,1,1,5,1,136,8,1,10,1,12,1,139,9,1,1,2,1,2,1,2,1,2,1,2,3, - 2,146,8,2,1,3,3,3,149,8,3,1,3,1,3,3,3,153,8,3,1,3,3,3,156,8,3,1, - 3,1,3,3,3,160,8,3,1,3,3,3,163,8,3,1,3,3,3,166,8,3,1,3,3,3,169,8, - 3,1,3,3,3,172,8,3,1,3,1,3,3,3,176,8,3,1,3,1,3,3,3,180,8,3,1,3,3, - 3,183,8,3,1,3,3,3,186,8,3,1,3,3,3,189,8,3,1,3,1,3,3,3,193,8,3,1, - 3,3,3,196,8,3,1,4,1,4,1,4,1,5,1,5,1,5,1,5,3,5,205,8,5,1,6,1,6,1, - 6,1,7,3,7,211,8,7,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1, - 8,1,8,1,8,1,8,1,8,1,8,5,8,230,8,8,10,8,12,8,233,9,8,1,9,1,9,1,9, - 1,10,1,10,1,10,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,3,11,249, + 1,1,1,1,1,1,5,1,136,8,1,10,1,12,1,139,9,1,1,2,1,2,1,2,1,2,1,2,1, + 2,3,2,147,8,2,1,3,3,3,150,8,3,1,3,1,3,3,3,154,8,3,1,3,3,3,157,8, + 3,1,3,1,3,3,3,161,8,3,1,3,3,3,164,8,3,1,3,3,3,167,8,3,1,3,3,3,170, + 8,3,1,3,3,3,173,8,3,1,3,1,3,3,3,177,8,3,1,3,1,3,3,3,181,8,3,1,3, + 3,3,184,8,3,1,3,3,3,187,8,3,1,3,3,3,190,8,3,1,3,1,3,3,3,194,8,3, + 1,3,3,3,197,8,3,1,4,1,4,1,4,1,5,1,5,1,5,1,5,3,5,206,8,5,1,6,1,6, + 1,6,1,7,3,7,212,8,7,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,8,1,8,1,8,1,8, + 1,8,1,8,1,8,1,8,1,8,1,8,5,8,231,8,8,10,8,12,8,234,9,8,1,9,1,9,1, + 9,1,10,1,10,1,10,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,3,11,250, 8,11,1,12,1,12,1,12,1,13,1,13,1,13,1,13,1,14,1,14,1,14,1,14,1,15, - 1,15,1,15,1,15,3,15,266,8,15,1,15,1,15,1,15,1,15,3,15,272,8,15,1, - 15,1,15,1,15,1,15,3,15,278,8,15,1,15,1,15,1,15,1,15,1,15,1,15,1, - 15,1,15,1,15,3,15,289,8,15,3,15,291,8,15,1,16,1,16,1,16,1,17,1,17, - 1,17,1,18,1,18,1,18,3,18,302,8,18,1,18,3,18,305,8,18,1,18,1,18,1, - 18,1,18,3,18,311,8,18,1,18,1,18,1,18,1,18,1,18,1,18,3,18,319,8,18, - 1,18,1,18,1,18,1,18,5,18,325,8,18,10,18,12,18,328,9,18,1,19,3,19, - 331,8,19,1,19,1,19,1,19,3,19,336,8,19,1,19,3,19,339,8,19,1,19,3, - 19,342,8,19,1,19,1,19,3,19,346,8,19,1,19,1,19,3,19,350,8,19,1,19, - 3,19,353,8,19,3,19,355,8,19,1,19,3,19,358,8,19,1,19,1,19,3,19,362, - 8,19,1,19,1,19,3,19,366,8,19,1,19,3,19,369,8,19,3,19,371,8,19,3, - 19,373,8,19,1,20,1,20,1,20,3,20,378,8,20,1,21,1,21,1,21,1,21,1,21, - 1,21,1,21,1,21,1,21,3,21,389,8,21,1,22,1,22,1,22,1,22,3,22,395,8, - 22,1,23,1,23,1,23,5,23,400,8,23,10,23,12,23,403,9,23,1,24,1,24,3, - 24,407,8,24,1,24,1,24,3,24,411,8,24,1,24,1,24,3,24,415,8,24,1,25, - 1,25,1,25,1,25,3,25,421,8,25,3,25,423,8,25,1,26,1,26,1,26,5,26,428, - 8,26,10,26,12,26,431,9,26,1,27,1,27,1,27,1,27,1,28,3,28,438,8,28, - 1,28,3,28,441,8,28,1,28,3,28,444,8,28,1,29,1,29,1,29,1,29,1,30,1, - 30,1,30,1,30,1,31,1,31,1,31,1,32,1,32,1,32,1,32,1,32,1,32,3,32,463, + 1,15,1,15,1,15,3,15,267,8,15,1,15,1,15,1,15,1,15,3,15,273,8,15,1, + 15,1,15,1,15,1,15,3,15,279,8,15,1,15,1,15,1,15,1,15,1,15,1,15,1, + 15,1,15,1,15,3,15,290,8,15,3,15,292,8,15,1,16,1,16,1,16,1,17,1,17, + 1,17,1,18,1,18,1,18,3,18,303,8,18,1,18,3,18,306,8,18,1,18,1,18,1, + 18,1,18,3,18,312,8,18,1,18,1,18,1,18,1,18,1,18,1,18,3,18,320,8,18, + 1,18,1,18,1,18,1,18,5,18,326,8,18,10,18,12,18,329,9,18,1,19,3,19, + 332,8,19,1,19,1,19,1,19,3,19,337,8,19,1,19,3,19,340,8,19,1,19,3, + 19,343,8,19,1,19,1,19,3,19,347,8,19,1,19,1,19,3,19,351,8,19,1,19, + 3,19,354,8,19,3,19,356,8,19,1,19,3,19,359,8,19,1,19,1,19,3,19,363, + 8,19,1,19,1,19,3,19,367,8,19,1,19,3,19,370,8,19,3,19,372,8,19,3, + 19,374,8,19,1,20,1,20,1,20,3,20,379,8,20,1,21,1,21,1,21,1,21,1,21, + 1,21,1,21,1,21,1,21,3,21,390,8,21,1,22,1,22,1,22,1,22,3,22,396,8, + 22,1,23,1,23,1,23,5,23,401,8,23,10,23,12,23,404,9,23,1,24,1,24,3, + 24,408,8,24,1,24,1,24,3,24,412,8,24,1,24,1,24,3,24,416,8,24,1,25, + 1,25,1,25,1,25,3,25,422,8,25,3,25,424,8,25,1,26,1,26,1,26,5,26,429, + 8,26,10,26,12,26,432,9,26,1,27,1,27,1,27,1,27,1,28,3,28,439,8,28, + 1,28,3,28,442,8,28,1,28,3,28,445,8,28,1,29,1,29,1,29,1,29,1,30,1, + 30,1,30,1,30,1,31,1,31,1,31,1,32,1,32,1,32,1,32,1,32,1,32,3,32,464, 8,32,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,33, - 3,33,477,8,33,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,35, - 1,35,1,35,5,35,491,8,35,10,35,12,35,494,9,35,1,35,1,35,1,35,1,35, - 1,35,1,35,1,35,5,35,503,8,35,10,35,12,35,506,9,35,1,35,1,35,1,35, - 1,35,1,35,1,35,1,35,5,35,515,8,35,10,35,12,35,518,9,35,1,35,1,35, - 1,35,1,35,1,35,3,35,525,8,35,1,35,1,35,3,35,529,8,35,1,36,1,36,1, - 36,5,36,534,8,36,10,36,12,36,537,9,36,1,37,1,37,1,37,3,37,542,8, - 37,1,37,1,37,1,37,1,37,1,37,4,37,549,8,37,11,37,12,37,550,1,37,1, - 37,3,37,555,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1, + 3,33,478,8,33,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,35, + 1,35,1,35,5,35,492,8,35,10,35,12,35,495,9,35,1,35,1,35,1,35,1,35, + 1,35,1,35,1,35,5,35,504,8,35,10,35,12,35,507,9,35,1,35,1,35,1,35, + 1,35,1,35,1,35,1,35,5,35,516,8,35,10,35,12,35,519,9,35,1,35,1,35, + 1,35,1,35,1,35,3,35,526,8,35,1,35,1,35,3,35,530,8,35,1,36,1,36,1, + 36,5,36,535,8,36,10,36,12,36,538,9,36,1,37,1,37,1,37,3,37,543,8, + 37,1,37,1,37,1,37,1,37,1,37,4,37,550,8,37,11,37,12,37,551,1,37,1, + 37,3,37,556,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1, 37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1, - 37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,586,8,37,1,37,1,37,1,37,1, - 37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,603, - 8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,615, - 8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,625,8,37,1,37, - 3,37,628,8,37,1,37,1,37,3,37,632,8,37,1,37,3,37,635,8,37,1,37,1, - 37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,648,8,37,1, + 37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,587,8,37,1,37,1,37,1,37,1, + 37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,604, + 8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,616, + 8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,626,8,37,1,37, + 3,37,629,8,37,1,37,1,37,3,37,633,8,37,1,37,3,37,636,8,37,1,37,1, + 37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,649,8,37,1, 37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1, - 37,1,37,3,37,665,8,37,1,37,1,37,3,37,669,8,37,1,37,1,37,1,37,1,37, - 3,37,675,8,37,1,37,1,37,1,37,1,37,1,37,3,37,682,8,37,1,37,1,37,1, - 37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,694,8,37,1,37,1,37,3, - 37,698,8,37,1,37,3,37,701,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, - 3,37,710,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, - 1,37,1,37,3,37,724,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, + 37,1,37,3,37,666,8,37,1,37,1,37,3,37,670,8,37,1,37,1,37,1,37,1,37, + 3,37,676,8,37,1,37,1,37,1,37,1,37,1,37,3,37,683,8,37,1,37,1,37,1, + 37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,3,37,695,8,37,1,37,1,37,3, + 37,699,8,37,1,37,3,37,702,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, + 3,37,711,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, + 1,37,1,37,3,37,725,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, 1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, - 1,37,1,37,1,37,1,37,3,37,751,8,37,1,37,1,37,1,37,1,37,1,37,1,37, - 1,37,3,37,760,8,37,5,37,762,8,37,10,37,12,37,765,9,37,1,38,1,38, - 1,38,5,38,770,8,38,10,38,12,38,773,9,38,1,39,1,39,3,39,777,8,39, - 1,40,1,40,1,40,1,40,5,40,783,8,40,10,40,12,40,786,9,40,1,40,1,40, - 1,40,1,40,1,40,5,40,793,8,40,10,40,12,40,796,9,40,3,40,798,8,40, - 1,40,1,40,1,40,1,41,1,41,1,41,5,41,806,8,41,10,41,12,41,809,9,41, - 1,41,1,41,1,41,1,41,1,41,1,41,5,41,817,8,41,10,41,12,41,820,9,41, - 1,41,1,41,3,41,824,8,41,1,41,1,41,1,41,1,41,1,41,3,41,831,8,41,1, - 42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,3,42,844,8, - 42,1,43,1,43,1,43,5,43,849,8,43,10,43,12,43,852,9,43,1,44,1,44,1, - 44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,3,44,864,8,44,1,45,1,45,1, - 45,1,45,3,45,870,8,45,1,45,3,45,873,8,45,1,46,1,46,1,46,5,46,878, - 8,46,10,46,12,46,881,9,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47, - 1,47,3,47,892,8,47,1,47,1,47,1,47,1,47,3,47,898,8,47,5,47,900,8, - 47,10,47,12,47,903,9,47,1,48,1,48,1,48,3,48,908,8,48,1,48,1,48,1, - 49,1,49,1,49,3,49,915,8,49,1,49,1,49,1,50,1,50,1,50,5,50,922,8,50, - 10,50,12,50,925,9,50,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,52,3,52, - 935,8,52,3,52,937,8,52,1,53,3,53,940,8,53,1,53,1,53,1,53,1,53,1, - 53,1,53,3,53,948,8,53,1,54,1,54,1,54,3,54,953,8,54,1,55,1,55,1,56, - 1,56,1,57,1,57,1,58,1,58,3,58,963,8,58,1,59,1,59,1,59,3,59,968,8, + 1,37,1,37,1,37,1,37,3,37,752,8,37,1,37,1,37,1,37,1,37,1,37,1,37, + 1,37,3,37,761,8,37,5,37,763,8,37,10,37,12,37,766,9,37,1,38,1,38, + 1,38,5,38,771,8,38,10,38,12,38,774,9,38,1,39,1,39,3,39,778,8,39, + 1,40,1,40,1,40,1,40,5,40,784,8,40,10,40,12,40,787,9,40,1,40,1,40, + 1,40,1,40,1,40,5,40,794,8,40,10,40,12,40,797,9,40,3,40,799,8,40, + 1,40,1,40,1,40,1,41,1,41,1,41,5,41,807,8,41,10,41,12,41,810,9,41, + 1,41,1,41,1,41,1,41,1,41,1,41,5,41,818,8,41,10,41,12,41,821,9,41, + 1,41,1,41,3,41,825,8,41,1,41,1,41,1,41,1,41,1,41,3,41,832,8,41,1, + 42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,3,42,845,8, + 42,1,43,1,43,1,43,5,43,850,8,43,10,43,12,43,853,9,43,1,44,1,44,1, + 44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,3,44,865,8,44,1,45,1,45,1, + 45,1,45,3,45,871,8,45,1,45,3,45,874,8,45,1,46,1,46,1,46,5,46,879, + 8,46,10,46,12,46,882,9,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,47, + 1,47,3,47,893,8,47,1,47,1,47,1,47,1,47,3,47,899,8,47,5,47,901,8, + 47,10,47,12,47,904,9,47,1,48,1,48,1,48,3,48,909,8,48,1,48,1,48,1, + 49,1,49,1,49,3,49,916,8,49,1,49,1,49,1,50,1,50,1,50,5,50,923,8,50, + 10,50,12,50,926,9,50,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,52,3,52, + 936,8,52,3,52,938,8,52,1,53,3,53,941,8,53,1,53,1,53,1,53,1,53,1, + 53,1,53,3,53,949,8,53,1,54,1,54,1,54,3,54,954,8,54,1,55,1,55,1,56, + 1,56,1,57,1,57,1,58,1,58,3,58,964,8,58,1,59,1,59,1,59,3,59,969,8, 59,1,60,1,60,1,60,1,60,1,61,1,61,1,61,1,61,1,61,0,3,36,74,94,62, 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, @@ -102,299 +102,299 @@ def serializedATN(): 79,98,98,1,0,197,198,2,0,208,208,228,228,8,0,37,37,76,76,108,108, 110,110,132,132,145,145,185,185,190,190,13,0,2,24,26,36,38,75,77, 81,83,107,109,109,111,112,114,115,117,130,133,144,146,184,186,189, - 191,192,4,0,36,36,62,62,77,77,91,91,1105,0,127,1,0,0,0,2,131,1,0, - 0,0,4,145,1,0,0,0,6,148,1,0,0,0,8,197,1,0,0,0,10,200,1,0,0,0,12, - 206,1,0,0,0,14,210,1,0,0,0,16,216,1,0,0,0,18,234,1,0,0,0,20,237, - 1,0,0,0,22,240,1,0,0,0,24,250,1,0,0,0,26,253,1,0,0,0,28,257,1,0, - 0,0,30,290,1,0,0,0,32,292,1,0,0,0,34,295,1,0,0,0,36,310,1,0,0,0, - 38,372,1,0,0,0,40,377,1,0,0,0,42,388,1,0,0,0,44,390,1,0,0,0,46,396, - 1,0,0,0,48,404,1,0,0,0,50,422,1,0,0,0,52,424,1,0,0,0,54,432,1,0, - 0,0,56,437,1,0,0,0,58,445,1,0,0,0,60,449,1,0,0,0,62,453,1,0,0,0, - 64,462,1,0,0,0,66,476,1,0,0,0,68,478,1,0,0,0,70,528,1,0,0,0,72,530, - 1,0,0,0,74,668,1,0,0,0,76,766,1,0,0,0,78,776,1,0,0,0,80,797,1,0, - 0,0,82,830,1,0,0,0,84,843,1,0,0,0,86,845,1,0,0,0,88,863,1,0,0,0, - 90,872,1,0,0,0,92,874,1,0,0,0,94,891,1,0,0,0,96,904,1,0,0,0,98,914, - 1,0,0,0,100,918,1,0,0,0,102,926,1,0,0,0,104,936,1,0,0,0,106,939, - 1,0,0,0,108,952,1,0,0,0,110,954,1,0,0,0,112,956,1,0,0,0,114,958, - 1,0,0,0,116,962,1,0,0,0,118,967,1,0,0,0,120,969,1,0,0,0,122,973, + 191,192,4,0,36,36,62,62,77,77,91,91,1107,0,127,1,0,0,0,2,131,1,0, + 0,0,4,146,1,0,0,0,6,149,1,0,0,0,8,198,1,0,0,0,10,201,1,0,0,0,12, + 207,1,0,0,0,14,211,1,0,0,0,16,217,1,0,0,0,18,235,1,0,0,0,20,238, + 1,0,0,0,22,241,1,0,0,0,24,251,1,0,0,0,26,254,1,0,0,0,28,258,1,0, + 0,0,30,291,1,0,0,0,32,293,1,0,0,0,34,296,1,0,0,0,36,311,1,0,0,0, + 38,373,1,0,0,0,40,378,1,0,0,0,42,389,1,0,0,0,44,391,1,0,0,0,46,397, + 1,0,0,0,48,405,1,0,0,0,50,423,1,0,0,0,52,425,1,0,0,0,54,433,1,0, + 0,0,56,438,1,0,0,0,58,446,1,0,0,0,60,450,1,0,0,0,62,454,1,0,0,0, + 64,463,1,0,0,0,66,477,1,0,0,0,68,479,1,0,0,0,70,529,1,0,0,0,72,531, + 1,0,0,0,74,669,1,0,0,0,76,767,1,0,0,0,78,777,1,0,0,0,80,798,1,0, + 0,0,82,831,1,0,0,0,84,844,1,0,0,0,86,846,1,0,0,0,88,864,1,0,0,0, + 90,873,1,0,0,0,92,875,1,0,0,0,94,892,1,0,0,0,96,905,1,0,0,0,98,915, + 1,0,0,0,100,919,1,0,0,0,102,927,1,0,0,0,104,937,1,0,0,0,106,940, + 1,0,0,0,108,953,1,0,0,0,110,955,1,0,0,0,112,957,1,0,0,0,114,959, + 1,0,0,0,116,963,1,0,0,0,118,968,1,0,0,0,120,970,1,0,0,0,122,974, 1,0,0,0,124,128,3,2,1,0,125,128,3,6,3,0,126,128,3,82,41,0,127,124, 1,0,0,0,127,125,1,0,0,0,127,126,1,0,0,0,128,129,1,0,0,0,129,130, 5,0,0,1,130,1,1,0,0,0,131,137,3,4,2,0,132,133,5,176,0,0,133,134, 5,4,0,0,134,136,3,4,2,0,135,132,1,0,0,0,136,139,1,0,0,0,137,135, - 1,0,0,0,137,138,1,0,0,0,138,3,1,0,0,0,139,137,1,0,0,0,140,146,3, - 6,3,0,141,142,5,220,0,0,142,143,3,2,1,0,143,144,5,236,0,0,144,146, - 1,0,0,0,145,140,1,0,0,0,145,141,1,0,0,0,146,5,1,0,0,0,147,149,3, - 8,4,0,148,147,1,0,0,0,148,149,1,0,0,0,149,150,1,0,0,0,150,152,5, - 146,0,0,151,153,5,49,0,0,152,151,1,0,0,0,152,153,1,0,0,0,153,155, - 1,0,0,0,154,156,3,10,5,0,155,154,1,0,0,0,155,156,1,0,0,0,156,157, - 1,0,0,0,157,159,3,72,36,0,158,160,3,12,6,0,159,158,1,0,0,0,159,160, - 1,0,0,0,160,162,1,0,0,0,161,163,3,14,7,0,162,161,1,0,0,0,162,163, - 1,0,0,0,163,165,1,0,0,0,164,166,3,18,9,0,165,164,1,0,0,0,165,166, - 1,0,0,0,166,168,1,0,0,0,167,169,3,20,10,0,168,167,1,0,0,0,168,169, - 1,0,0,0,169,171,1,0,0,0,170,172,3,22,11,0,171,170,1,0,0,0,171,172, - 1,0,0,0,172,175,1,0,0,0,173,174,5,189,0,0,174,176,7,0,0,0,175,173, - 1,0,0,0,175,176,1,0,0,0,176,179,1,0,0,0,177,178,5,189,0,0,178,180, - 5,169,0,0,179,177,1,0,0,0,179,180,1,0,0,0,180,182,1,0,0,0,181,183, - 3,24,12,0,182,181,1,0,0,0,182,183,1,0,0,0,183,185,1,0,0,0,184,186, - 3,16,8,0,185,184,1,0,0,0,185,186,1,0,0,0,186,188,1,0,0,0,187,189, - 3,26,13,0,188,187,1,0,0,0,188,189,1,0,0,0,189,192,1,0,0,0,190,193, - 3,30,15,0,191,193,3,32,16,0,192,190,1,0,0,0,192,191,1,0,0,0,192, - 193,1,0,0,0,193,195,1,0,0,0,194,196,3,34,17,0,195,194,1,0,0,0,195, - 196,1,0,0,0,196,7,1,0,0,0,197,198,5,189,0,0,198,199,3,86,43,0,199, - 9,1,0,0,0,200,201,5,168,0,0,201,204,5,198,0,0,202,203,5,189,0,0, - 203,205,5,164,0,0,204,202,1,0,0,0,204,205,1,0,0,0,205,11,1,0,0,0, - 206,207,5,68,0,0,207,208,3,36,18,0,208,13,1,0,0,0,209,211,7,1,0, - 0,210,209,1,0,0,0,210,211,1,0,0,0,211,212,1,0,0,0,212,213,5,9,0, - 0,213,214,5,90,0,0,214,215,3,72,36,0,215,15,1,0,0,0,216,217,5,188, - 0,0,217,218,3,118,59,0,218,219,5,10,0,0,219,220,5,220,0,0,220,221, - 3,56,28,0,221,231,5,236,0,0,222,223,5,206,0,0,223,224,3,118,59,0, - 224,225,5,10,0,0,225,226,5,220,0,0,226,227,3,56,28,0,227,228,5,236, - 0,0,228,230,1,0,0,0,229,222,1,0,0,0,230,233,1,0,0,0,231,229,1,0, - 0,0,231,232,1,0,0,0,232,17,1,0,0,0,233,231,1,0,0,0,234,235,5,129, - 0,0,235,236,3,74,37,0,236,19,1,0,0,0,237,238,5,187,0,0,238,239,3, - 74,37,0,239,21,1,0,0,0,240,241,5,73,0,0,241,248,5,18,0,0,242,243, - 7,0,0,0,243,244,5,220,0,0,244,245,3,72,36,0,245,246,5,236,0,0,246, - 249,1,0,0,0,247,249,3,72,36,0,248,242,1,0,0,0,248,247,1,0,0,0,249, - 23,1,0,0,0,250,251,5,74,0,0,251,252,3,74,37,0,252,25,1,0,0,0,253, - 254,5,122,0,0,254,255,5,18,0,0,255,256,3,46,23,0,256,27,1,0,0,0, - 257,258,5,122,0,0,258,259,5,18,0,0,259,260,3,72,36,0,260,29,1,0, - 0,0,261,262,5,99,0,0,262,265,3,74,37,0,263,264,5,206,0,0,264,266, - 3,74,37,0,265,263,1,0,0,0,265,266,1,0,0,0,266,271,1,0,0,0,267,268, - 5,189,0,0,268,272,5,164,0,0,269,270,5,18,0,0,270,272,3,72,36,0,271, - 267,1,0,0,0,271,269,1,0,0,0,271,272,1,0,0,0,272,291,1,0,0,0,273, - 274,5,99,0,0,274,277,3,74,37,0,275,276,5,189,0,0,276,278,5,164,0, - 0,277,275,1,0,0,0,277,278,1,0,0,0,278,279,1,0,0,0,279,280,5,118, - 0,0,280,281,3,74,37,0,281,291,1,0,0,0,282,283,5,99,0,0,283,284,3, - 74,37,0,284,285,5,118,0,0,285,288,3,74,37,0,286,287,5,18,0,0,287, - 289,3,72,36,0,288,286,1,0,0,0,288,289,1,0,0,0,289,291,1,0,0,0,290, - 261,1,0,0,0,290,273,1,0,0,0,290,282,1,0,0,0,291,31,1,0,0,0,292,293, - 5,118,0,0,293,294,3,74,37,0,294,33,1,0,0,0,295,296,5,150,0,0,296, - 297,3,52,26,0,297,35,1,0,0,0,298,299,6,18,-1,0,299,301,3,94,47,0, - 300,302,5,61,0,0,301,300,1,0,0,0,301,302,1,0,0,0,302,304,1,0,0,0, - 303,305,3,44,22,0,304,303,1,0,0,0,304,305,1,0,0,0,305,311,1,0,0, - 0,306,307,5,220,0,0,307,308,3,36,18,0,308,309,5,236,0,0,309,311, - 1,0,0,0,310,298,1,0,0,0,310,306,1,0,0,0,311,326,1,0,0,0,312,313, - 10,3,0,0,313,314,3,40,20,0,314,315,3,36,18,4,315,325,1,0,0,0,316, - 318,10,4,0,0,317,319,3,38,19,0,318,317,1,0,0,0,318,319,1,0,0,0,319, - 320,1,0,0,0,320,321,5,90,0,0,321,322,3,36,18,0,322,323,3,42,21,0, - 323,325,1,0,0,0,324,312,1,0,0,0,324,316,1,0,0,0,325,328,1,0,0,0, - 326,324,1,0,0,0,326,327,1,0,0,0,327,37,1,0,0,0,328,326,1,0,0,0,329, - 331,7,2,0,0,330,329,1,0,0,0,330,331,1,0,0,0,331,332,1,0,0,0,332, - 339,5,84,0,0,333,335,5,84,0,0,334,336,7,2,0,0,335,334,1,0,0,0,335, - 336,1,0,0,0,336,339,1,0,0,0,337,339,7,2,0,0,338,330,1,0,0,0,338, - 333,1,0,0,0,338,337,1,0,0,0,339,373,1,0,0,0,340,342,7,3,0,0,341, - 340,1,0,0,0,341,342,1,0,0,0,342,343,1,0,0,0,343,345,7,4,0,0,344, - 346,5,123,0,0,345,344,1,0,0,0,345,346,1,0,0,0,346,355,1,0,0,0,347, - 349,7,4,0,0,348,350,5,123,0,0,349,348,1,0,0,0,349,350,1,0,0,0,350, - 352,1,0,0,0,351,353,7,3,0,0,352,351,1,0,0,0,352,353,1,0,0,0,353, - 355,1,0,0,0,354,341,1,0,0,0,354,347,1,0,0,0,355,373,1,0,0,0,356, - 358,7,5,0,0,357,356,1,0,0,0,357,358,1,0,0,0,358,359,1,0,0,0,359, - 361,5,69,0,0,360,362,5,123,0,0,361,360,1,0,0,0,361,362,1,0,0,0,362, - 371,1,0,0,0,363,365,5,69,0,0,364,366,5,123,0,0,365,364,1,0,0,0,365, - 366,1,0,0,0,366,368,1,0,0,0,367,369,7,5,0,0,368,367,1,0,0,0,368, - 369,1,0,0,0,369,371,1,0,0,0,370,357,1,0,0,0,370,363,1,0,0,0,371, - 373,1,0,0,0,372,338,1,0,0,0,372,354,1,0,0,0,372,370,1,0,0,0,373, - 39,1,0,0,0,374,375,5,31,0,0,375,378,5,90,0,0,376,378,5,206,0,0,377, - 374,1,0,0,0,377,376,1,0,0,0,378,41,1,0,0,0,379,380,5,119,0,0,380, - 389,3,72,36,0,381,382,5,179,0,0,382,383,5,220,0,0,383,384,3,72,36, - 0,384,385,5,236,0,0,385,389,1,0,0,0,386,387,5,179,0,0,387,389,3, - 72,36,0,388,379,1,0,0,0,388,381,1,0,0,0,388,386,1,0,0,0,389,43,1, - 0,0,0,390,391,5,144,0,0,391,394,3,50,25,0,392,393,5,118,0,0,393, - 395,3,50,25,0,394,392,1,0,0,0,394,395,1,0,0,0,395,45,1,0,0,0,396, - 401,3,48,24,0,397,398,5,206,0,0,398,400,3,48,24,0,399,397,1,0,0, - 0,400,403,1,0,0,0,401,399,1,0,0,0,401,402,1,0,0,0,402,47,1,0,0,0, - 403,401,1,0,0,0,404,406,3,74,37,0,405,407,7,6,0,0,406,405,1,0,0, - 0,406,407,1,0,0,0,407,410,1,0,0,0,408,409,5,117,0,0,409,411,7,7, - 0,0,410,408,1,0,0,0,410,411,1,0,0,0,411,414,1,0,0,0,412,413,5,26, - 0,0,413,415,5,200,0,0,414,412,1,0,0,0,414,415,1,0,0,0,415,49,1,0, - 0,0,416,423,3,122,61,0,417,420,3,106,53,0,418,419,5,238,0,0,419, - 421,3,106,53,0,420,418,1,0,0,0,420,421,1,0,0,0,421,423,1,0,0,0,422, - 416,1,0,0,0,422,417,1,0,0,0,423,51,1,0,0,0,424,429,3,54,27,0,425, - 426,5,206,0,0,426,428,3,54,27,0,427,425,1,0,0,0,428,431,1,0,0,0, - 429,427,1,0,0,0,429,430,1,0,0,0,430,53,1,0,0,0,431,429,1,0,0,0,432, - 433,3,118,59,0,433,434,5,212,0,0,434,435,3,108,54,0,435,55,1,0,0, - 0,436,438,3,58,29,0,437,436,1,0,0,0,437,438,1,0,0,0,438,440,1,0, - 0,0,439,441,3,60,30,0,440,439,1,0,0,0,440,441,1,0,0,0,441,443,1, - 0,0,0,442,444,3,62,31,0,443,442,1,0,0,0,443,444,1,0,0,0,444,57,1, - 0,0,0,445,446,5,126,0,0,446,447,5,18,0,0,447,448,3,72,36,0,448,59, - 1,0,0,0,449,450,5,122,0,0,450,451,5,18,0,0,451,452,3,46,23,0,452, - 61,1,0,0,0,453,454,7,8,0,0,454,455,3,64,32,0,455,63,1,0,0,0,456, - 463,3,66,33,0,457,458,5,16,0,0,458,459,3,66,33,0,459,460,5,6,0,0, - 460,461,3,66,33,0,461,463,1,0,0,0,462,456,1,0,0,0,462,457,1,0,0, - 0,463,65,1,0,0,0,464,465,5,33,0,0,465,477,5,142,0,0,466,467,5,175, - 0,0,467,477,5,128,0,0,468,469,5,175,0,0,469,477,5,64,0,0,470,471, - 3,106,53,0,471,472,5,128,0,0,472,477,1,0,0,0,473,474,3,106,53,0, - 474,475,5,64,0,0,475,477,1,0,0,0,476,464,1,0,0,0,476,466,1,0,0,0, - 476,468,1,0,0,0,476,470,1,0,0,0,476,473,1,0,0,0,477,67,1,0,0,0,478, - 479,3,74,37,0,479,480,5,0,0,1,480,69,1,0,0,0,481,529,3,118,59,0, - 482,483,3,118,59,0,483,484,5,220,0,0,484,485,3,118,59,0,485,492, - 3,70,35,0,486,487,5,206,0,0,487,488,3,118,59,0,488,489,3,70,35,0, - 489,491,1,0,0,0,490,486,1,0,0,0,491,494,1,0,0,0,492,490,1,0,0,0, - 492,493,1,0,0,0,493,495,1,0,0,0,494,492,1,0,0,0,495,496,5,236,0, - 0,496,529,1,0,0,0,497,498,3,118,59,0,498,499,5,220,0,0,499,504,3, - 120,60,0,500,501,5,206,0,0,501,503,3,120,60,0,502,500,1,0,0,0,503, - 506,1,0,0,0,504,502,1,0,0,0,504,505,1,0,0,0,505,507,1,0,0,0,506, - 504,1,0,0,0,507,508,5,236,0,0,508,529,1,0,0,0,509,510,3,118,59,0, - 510,511,5,220,0,0,511,516,3,70,35,0,512,513,5,206,0,0,513,515,3, - 70,35,0,514,512,1,0,0,0,515,518,1,0,0,0,516,514,1,0,0,0,516,517, - 1,0,0,0,517,519,1,0,0,0,518,516,1,0,0,0,519,520,5,236,0,0,520,529, - 1,0,0,0,521,522,3,118,59,0,522,524,5,220,0,0,523,525,3,72,36,0,524, - 523,1,0,0,0,524,525,1,0,0,0,525,526,1,0,0,0,526,527,5,236,0,0,527, - 529,1,0,0,0,528,481,1,0,0,0,528,482,1,0,0,0,528,497,1,0,0,0,528, - 509,1,0,0,0,528,521,1,0,0,0,529,71,1,0,0,0,530,535,3,74,37,0,531, - 532,5,206,0,0,532,534,3,74,37,0,533,531,1,0,0,0,534,537,1,0,0,0, - 535,533,1,0,0,0,535,536,1,0,0,0,536,73,1,0,0,0,537,535,1,0,0,0,538, - 539,6,37,-1,0,539,541,5,19,0,0,540,542,3,74,37,0,541,540,1,0,0,0, - 541,542,1,0,0,0,542,548,1,0,0,0,543,544,5,186,0,0,544,545,3,74,37, - 0,545,546,5,163,0,0,546,547,3,74,37,0,547,549,1,0,0,0,548,543,1, - 0,0,0,549,550,1,0,0,0,550,548,1,0,0,0,550,551,1,0,0,0,551,554,1, - 0,0,0,552,553,5,52,0,0,553,555,3,74,37,0,554,552,1,0,0,0,554,555, - 1,0,0,0,555,556,1,0,0,0,556,557,5,53,0,0,557,669,1,0,0,0,558,559, - 5,20,0,0,559,560,5,220,0,0,560,561,3,74,37,0,561,562,5,10,0,0,562, - 563,3,70,35,0,563,564,5,236,0,0,564,669,1,0,0,0,565,566,5,36,0,0, - 566,669,5,200,0,0,567,568,5,59,0,0,568,569,5,220,0,0,569,570,3,110, - 55,0,570,571,5,68,0,0,571,572,3,74,37,0,572,573,5,236,0,0,573,669, - 1,0,0,0,574,575,5,86,0,0,575,576,3,74,37,0,576,577,3,110,55,0,577, - 669,1,0,0,0,578,579,5,155,0,0,579,580,5,220,0,0,580,581,3,74,37, - 0,581,582,5,68,0,0,582,585,3,74,37,0,583,584,5,65,0,0,584,586,3, - 74,37,0,585,583,1,0,0,0,585,586,1,0,0,0,586,587,1,0,0,0,587,588, - 5,236,0,0,588,669,1,0,0,0,589,590,5,166,0,0,590,669,5,200,0,0,591, - 592,5,171,0,0,592,593,5,220,0,0,593,594,7,9,0,0,594,595,5,200,0, - 0,595,596,5,68,0,0,596,597,3,74,37,0,597,598,5,236,0,0,598,669,1, - 0,0,0,599,600,3,118,59,0,600,602,5,220,0,0,601,603,3,72,36,0,602, - 601,1,0,0,0,602,603,1,0,0,0,603,604,1,0,0,0,604,605,5,236,0,0,605, - 606,1,0,0,0,606,607,5,125,0,0,607,608,5,220,0,0,608,609,3,56,28, - 0,609,610,5,236,0,0,610,669,1,0,0,0,611,612,3,118,59,0,612,614,5, - 220,0,0,613,615,3,72,36,0,614,613,1,0,0,0,614,615,1,0,0,0,615,616, - 1,0,0,0,616,617,5,236,0,0,617,618,1,0,0,0,618,619,5,125,0,0,619, - 620,3,118,59,0,620,669,1,0,0,0,621,627,3,118,59,0,622,624,5,220, - 0,0,623,625,3,72,36,0,624,623,1,0,0,0,624,625,1,0,0,0,625,626,1, - 0,0,0,626,628,5,236,0,0,627,622,1,0,0,0,627,628,1,0,0,0,628,629, - 1,0,0,0,629,631,5,220,0,0,630,632,5,49,0,0,631,630,1,0,0,0,631,632, - 1,0,0,0,632,634,1,0,0,0,633,635,3,76,38,0,634,633,1,0,0,0,634,635, - 1,0,0,0,635,636,1,0,0,0,636,637,5,236,0,0,637,669,1,0,0,0,638,669, - 3,82,41,0,639,669,3,108,54,0,640,641,5,208,0,0,641,669,3,74,37,18, - 642,643,5,115,0,0,643,669,3,74,37,12,644,645,3,98,49,0,645,646,5, - 210,0,0,646,648,1,0,0,0,647,644,1,0,0,0,647,648,1,0,0,0,648,649, - 1,0,0,0,649,669,5,202,0,0,650,651,5,220,0,0,651,652,3,2,1,0,652, - 653,5,236,0,0,653,669,1,0,0,0,654,655,5,220,0,0,655,656,3,74,37, - 0,656,657,5,236,0,0,657,669,1,0,0,0,658,659,5,220,0,0,659,660,3, - 72,36,0,660,661,5,236,0,0,661,669,1,0,0,0,662,664,5,219,0,0,663, - 665,3,72,36,0,664,663,1,0,0,0,664,665,1,0,0,0,665,666,1,0,0,0,666, - 669,5,235,0,0,667,669,3,90,45,0,668,538,1,0,0,0,668,558,1,0,0,0, - 668,565,1,0,0,0,668,567,1,0,0,0,668,574,1,0,0,0,668,578,1,0,0,0, - 668,589,1,0,0,0,668,591,1,0,0,0,668,599,1,0,0,0,668,611,1,0,0,0, - 668,621,1,0,0,0,668,638,1,0,0,0,668,639,1,0,0,0,668,640,1,0,0,0, - 668,642,1,0,0,0,668,647,1,0,0,0,668,650,1,0,0,0,668,654,1,0,0,0, - 668,658,1,0,0,0,668,662,1,0,0,0,668,667,1,0,0,0,669,763,1,0,0,0, - 670,674,10,17,0,0,671,675,5,202,0,0,672,675,5,238,0,0,673,675,5, - 227,0,0,674,671,1,0,0,0,674,672,1,0,0,0,674,673,1,0,0,0,675,676, - 1,0,0,0,676,762,3,74,37,18,677,681,10,16,0,0,678,682,5,228,0,0,679, - 682,5,208,0,0,680,682,5,207,0,0,681,678,1,0,0,0,681,679,1,0,0,0, - 681,680,1,0,0,0,682,683,1,0,0,0,683,762,3,74,37,17,684,709,10,15, - 0,0,685,710,5,211,0,0,686,710,5,212,0,0,687,710,5,223,0,0,688,710, - 5,221,0,0,689,710,5,222,0,0,690,710,5,213,0,0,691,710,5,214,0,0, - 692,694,5,115,0,0,693,692,1,0,0,0,693,694,1,0,0,0,694,695,1,0,0, - 0,695,697,5,80,0,0,696,698,5,25,0,0,697,696,1,0,0,0,697,698,1,0, - 0,0,698,710,1,0,0,0,699,701,5,115,0,0,700,699,1,0,0,0,700,701,1, - 0,0,0,701,702,1,0,0,0,702,710,7,10,0,0,703,710,5,232,0,0,704,710, - 5,233,0,0,705,710,5,225,0,0,706,710,5,216,0,0,707,710,5,217,0,0, - 708,710,5,224,0,0,709,685,1,0,0,0,709,686,1,0,0,0,709,687,1,0,0, - 0,709,688,1,0,0,0,709,689,1,0,0,0,709,690,1,0,0,0,709,691,1,0,0, - 0,709,693,1,0,0,0,709,700,1,0,0,0,709,703,1,0,0,0,709,704,1,0,0, - 0,709,705,1,0,0,0,709,706,1,0,0,0,709,707,1,0,0,0,709,708,1,0,0, - 0,710,711,1,0,0,0,711,762,3,74,37,16,712,713,10,13,0,0,713,714,5, - 226,0,0,714,762,3,74,37,14,715,716,10,11,0,0,716,717,5,6,0,0,717, - 762,3,74,37,12,718,719,10,10,0,0,719,720,5,121,0,0,720,762,3,74, - 37,11,721,723,10,9,0,0,722,724,5,115,0,0,723,722,1,0,0,0,723,724, - 1,0,0,0,724,725,1,0,0,0,725,726,5,16,0,0,726,727,3,74,37,0,727,728, - 5,6,0,0,728,729,3,74,37,10,729,762,1,0,0,0,730,731,10,8,0,0,731, - 732,5,229,0,0,732,733,3,74,37,0,733,734,5,205,0,0,734,735,3,74,37, - 8,735,762,1,0,0,0,736,737,10,21,0,0,737,738,5,219,0,0,738,739,3, - 74,37,0,739,740,5,235,0,0,740,762,1,0,0,0,741,742,10,20,0,0,742, - 743,5,210,0,0,743,762,5,198,0,0,744,745,10,19,0,0,745,746,5,210, - 0,0,746,762,3,118,59,0,747,748,10,14,0,0,748,750,5,88,0,0,749,751, - 5,115,0,0,750,749,1,0,0,0,750,751,1,0,0,0,751,752,1,0,0,0,752,762, - 5,116,0,0,753,759,10,7,0,0,754,760,3,116,58,0,755,756,5,10,0,0,756, - 760,3,118,59,0,757,758,5,10,0,0,758,760,5,200,0,0,759,754,1,0,0, - 0,759,755,1,0,0,0,759,757,1,0,0,0,760,762,1,0,0,0,761,670,1,0,0, - 0,761,677,1,0,0,0,761,684,1,0,0,0,761,712,1,0,0,0,761,715,1,0,0, - 0,761,718,1,0,0,0,761,721,1,0,0,0,761,730,1,0,0,0,761,736,1,0,0, - 0,761,741,1,0,0,0,761,744,1,0,0,0,761,747,1,0,0,0,761,753,1,0,0, - 0,762,765,1,0,0,0,763,761,1,0,0,0,763,764,1,0,0,0,764,75,1,0,0,0, - 765,763,1,0,0,0,766,771,3,78,39,0,767,768,5,206,0,0,768,770,3,78, - 39,0,769,767,1,0,0,0,770,773,1,0,0,0,771,769,1,0,0,0,771,772,1,0, - 0,0,772,77,1,0,0,0,773,771,1,0,0,0,774,777,3,80,40,0,775,777,3,74, - 37,0,776,774,1,0,0,0,776,775,1,0,0,0,777,79,1,0,0,0,778,779,5,220, - 0,0,779,784,3,118,59,0,780,781,5,206,0,0,781,783,3,118,59,0,782, - 780,1,0,0,0,783,786,1,0,0,0,784,782,1,0,0,0,784,785,1,0,0,0,785, - 787,1,0,0,0,786,784,1,0,0,0,787,788,5,236,0,0,788,798,1,0,0,0,789, - 794,3,118,59,0,790,791,5,206,0,0,791,793,3,118,59,0,792,790,1,0, - 0,0,793,796,1,0,0,0,794,792,1,0,0,0,794,795,1,0,0,0,795,798,1,0, - 0,0,796,794,1,0,0,0,797,778,1,0,0,0,797,789,1,0,0,0,798,799,1,0, - 0,0,799,800,5,201,0,0,800,801,3,74,37,0,801,81,1,0,0,0,802,803,5, - 222,0,0,803,807,3,118,59,0,804,806,3,84,42,0,805,804,1,0,0,0,806, - 809,1,0,0,0,807,805,1,0,0,0,807,808,1,0,0,0,808,810,1,0,0,0,809, - 807,1,0,0,0,810,811,5,238,0,0,811,812,5,214,0,0,812,831,1,0,0,0, - 813,814,5,222,0,0,814,818,3,118,59,0,815,817,3,84,42,0,816,815,1, - 0,0,0,817,820,1,0,0,0,818,816,1,0,0,0,818,819,1,0,0,0,819,821,1, - 0,0,0,820,818,1,0,0,0,821,823,5,214,0,0,822,824,3,82,41,0,823,822, - 1,0,0,0,823,824,1,0,0,0,824,825,1,0,0,0,825,826,5,222,0,0,826,827, - 5,238,0,0,827,828,3,118,59,0,828,829,5,214,0,0,829,831,1,0,0,0,830, - 802,1,0,0,0,830,813,1,0,0,0,831,83,1,0,0,0,832,833,3,118,59,0,833, - 834,5,212,0,0,834,835,5,200,0,0,835,844,1,0,0,0,836,837,3,118,59, - 0,837,838,5,212,0,0,838,839,5,218,0,0,839,840,3,74,37,0,840,841, - 5,234,0,0,841,844,1,0,0,0,842,844,3,118,59,0,843,832,1,0,0,0,843, - 836,1,0,0,0,843,842,1,0,0,0,844,85,1,0,0,0,845,850,3,88,44,0,846, - 847,5,206,0,0,847,849,3,88,44,0,848,846,1,0,0,0,849,852,1,0,0,0, - 850,848,1,0,0,0,850,851,1,0,0,0,851,87,1,0,0,0,852,850,1,0,0,0,853, - 854,3,118,59,0,854,855,5,10,0,0,855,856,5,220,0,0,856,857,3,2,1, - 0,857,858,5,236,0,0,858,864,1,0,0,0,859,860,3,74,37,0,860,861,5, - 10,0,0,861,862,3,118,59,0,862,864,1,0,0,0,863,853,1,0,0,0,863,859, - 1,0,0,0,864,89,1,0,0,0,865,873,3,122,61,0,866,867,3,98,49,0,867, - 868,5,210,0,0,868,870,1,0,0,0,869,866,1,0,0,0,869,870,1,0,0,0,870, - 871,1,0,0,0,871,873,3,92,46,0,872,865,1,0,0,0,872,869,1,0,0,0,873, - 91,1,0,0,0,874,879,3,118,59,0,875,876,5,210,0,0,876,878,3,118,59, - 0,877,875,1,0,0,0,878,881,1,0,0,0,879,877,1,0,0,0,879,880,1,0,0, - 0,880,93,1,0,0,0,881,879,1,0,0,0,882,883,6,47,-1,0,883,892,3,98, - 49,0,884,892,3,96,48,0,885,886,5,220,0,0,886,887,3,2,1,0,887,888, - 5,236,0,0,888,892,1,0,0,0,889,892,3,82,41,0,890,892,3,122,61,0,891, - 882,1,0,0,0,891,884,1,0,0,0,891,885,1,0,0,0,891,889,1,0,0,0,891, - 890,1,0,0,0,892,901,1,0,0,0,893,897,10,3,0,0,894,898,3,116,58,0, - 895,896,5,10,0,0,896,898,3,118,59,0,897,894,1,0,0,0,897,895,1,0, - 0,0,898,900,1,0,0,0,899,893,1,0,0,0,900,903,1,0,0,0,901,899,1,0, - 0,0,901,902,1,0,0,0,902,95,1,0,0,0,903,901,1,0,0,0,904,905,3,118, - 59,0,905,907,5,220,0,0,906,908,3,100,50,0,907,906,1,0,0,0,907,908, - 1,0,0,0,908,909,1,0,0,0,909,910,5,236,0,0,910,97,1,0,0,0,911,912, - 3,102,51,0,912,913,5,210,0,0,913,915,1,0,0,0,914,911,1,0,0,0,914, - 915,1,0,0,0,915,916,1,0,0,0,916,917,3,118,59,0,917,99,1,0,0,0,918, - 923,3,74,37,0,919,920,5,206,0,0,920,922,3,74,37,0,921,919,1,0,0, - 0,922,925,1,0,0,0,923,921,1,0,0,0,923,924,1,0,0,0,924,101,1,0,0, - 0,925,923,1,0,0,0,926,927,3,118,59,0,927,103,1,0,0,0,928,937,5,196, - 0,0,929,930,5,210,0,0,930,937,7,11,0,0,931,932,5,198,0,0,932,934, - 5,210,0,0,933,935,7,11,0,0,934,933,1,0,0,0,934,935,1,0,0,0,935,937, - 1,0,0,0,936,928,1,0,0,0,936,929,1,0,0,0,936,931,1,0,0,0,937,105, - 1,0,0,0,938,940,7,12,0,0,939,938,1,0,0,0,939,940,1,0,0,0,940,947, - 1,0,0,0,941,948,3,104,52,0,942,948,5,197,0,0,943,948,5,198,0,0,944, - 948,5,199,0,0,945,948,5,82,0,0,946,948,5,113,0,0,947,941,1,0,0,0, - 947,942,1,0,0,0,947,943,1,0,0,0,947,944,1,0,0,0,947,945,1,0,0,0, - 947,946,1,0,0,0,948,107,1,0,0,0,949,953,3,106,53,0,950,953,5,200, - 0,0,951,953,5,116,0,0,952,949,1,0,0,0,952,950,1,0,0,0,952,951,1, - 0,0,0,953,109,1,0,0,0,954,955,7,13,0,0,955,111,1,0,0,0,956,957,7, - 14,0,0,957,113,1,0,0,0,958,959,7,15,0,0,959,115,1,0,0,0,960,963, - 5,195,0,0,961,963,3,114,57,0,962,960,1,0,0,0,962,961,1,0,0,0,963, - 117,1,0,0,0,964,968,5,195,0,0,965,968,3,110,55,0,966,968,3,112,56, - 0,967,964,1,0,0,0,967,965,1,0,0,0,967,966,1,0,0,0,968,119,1,0,0, - 0,969,970,5,200,0,0,970,971,5,212,0,0,971,972,3,106,53,0,972,121, - 1,0,0,0,973,974,5,218,0,0,974,975,3,118,59,0,975,976,5,234,0,0,976, - 123,1,0,0,0,120,127,137,145,148,152,155,159,162,165,168,171,175, - 179,182,185,188,192,195,204,210,231,248,265,271,277,288,290,301, - 304,310,318,324,326,330,335,338,341,345,349,352,354,357,361,365, - 368,370,372,377,388,394,401,406,410,414,420,422,429,437,440,443, - 462,476,492,504,516,524,528,535,541,550,554,585,602,614,624,627, - 631,634,647,664,668,674,681,693,697,700,709,723,750,759,761,763, - 771,776,784,794,797,807,818,823,830,843,850,863,869,872,879,891, - 897,901,907,914,923,934,936,939,947,952,962,967 + 1,0,0,0,137,138,1,0,0,0,138,3,1,0,0,0,139,137,1,0,0,0,140,147,3, + 6,3,0,141,142,5,220,0,0,142,143,3,2,1,0,143,144,5,236,0,0,144,147, + 1,0,0,0,145,147,3,122,61,0,146,140,1,0,0,0,146,141,1,0,0,0,146,145, + 1,0,0,0,147,5,1,0,0,0,148,150,3,8,4,0,149,148,1,0,0,0,149,150,1, + 0,0,0,150,151,1,0,0,0,151,153,5,146,0,0,152,154,5,49,0,0,153,152, + 1,0,0,0,153,154,1,0,0,0,154,156,1,0,0,0,155,157,3,10,5,0,156,155, + 1,0,0,0,156,157,1,0,0,0,157,158,1,0,0,0,158,160,3,72,36,0,159,161, + 3,12,6,0,160,159,1,0,0,0,160,161,1,0,0,0,161,163,1,0,0,0,162,164, + 3,14,7,0,163,162,1,0,0,0,163,164,1,0,0,0,164,166,1,0,0,0,165,167, + 3,18,9,0,166,165,1,0,0,0,166,167,1,0,0,0,167,169,1,0,0,0,168,170, + 3,20,10,0,169,168,1,0,0,0,169,170,1,0,0,0,170,172,1,0,0,0,171,173, + 3,22,11,0,172,171,1,0,0,0,172,173,1,0,0,0,173,176,1,0,0,0,174,175, + 5,189,0,0,175,177,7,0,0,0,176,174,1,0,0,0,176,177,1,0,0,0,177,180, + 1,0,0,0,178,179,5,189,0,0,179,181,5,169,0,0,180,178,1,0,0,0,180, + 181,1,0,0,0,181,183,1,0,0,0,182,184,3,24,12,0,183,182,1,0,0,0,183, + 184,1,0,0,0,184,186,1,0,0,0,185,187,3,16,8,0,186,185,1,0,0,0,186, + 187,1,0,0,0,187,189,1,0,0,0,188,190,3,26,13,0,189,188,1,0,0,0,189, + 190,1,0,0,0,190,193,1,0,0,0,191,194,3,30,15,0,192,194,3,32,16,0, + 193,191,1,0,0,0,193,192,1,0,0,0,193,194,1,0,0,0,194,196,1,0,0,0, + 195,197,3,34,17,0,196,195,1,0,0,0,196,197,1,0,0,0,197,7,1,0,0,0, + 198,199,5,189,0,0,199,200,3,86,43,0,200,9,1,0,0,0,201,202,5,168, + 0,0,202,205,5,198,0,0,203,204,5,189,0,0,204,206,5,164,0,0,205,203, + 1,0,0,0,205,206,1,0,0,0,206,11,1,0,0,0,207,208,5,68,0,0,208,209, + 3,36,18,0,209,13,1,0,0,0,210,212,7,1,0,0,211,210,1,0,0,0,211,212, + 1,0,0,0,212,213,1,0,0,0,213,214,5,9,0,0,214,215,5,90,0,0,215,216, + 3,72,36,0,216,15,1,0,0,0,217,218,5,188,0,0,218,219,3,118,59,0,219, + 220,5,10,0,0,220,221,5,220,0,0,221,222,3,56,28,0,222,232,5,236,0, + 0,223,224,5,206,0,0,224,225,3,118,59,0,225,226,5,10,0,0,226,227, + 5,220,0,0,227,228,3,56,28,0,228,229,5,236,0,0,229,231,1,0,0,0,230, + 223,1,0,0,0,231,234,1,0,0,0,232,230,1,0,0,0,232,233,1,0,0,0,233, + 17,1,0,0,0,234,232,1,0,0,0,235,236,5,129,0,0,236,237,3,74,37,0,237, + 19,1,0,0,0,238,239,5,187,0,0,239,240,3,74,37,0,240,21,1,0,0,0,241, + 242,5,73,0,0,242,249,5,18,0,0,243,244,7,0,0,0,244,245,5,220,0,0, + 245,246,3,72,36,0,246,247,5,236,0,0,247,250,1,0,0,0,248,250,3,72, + 36,0,249,243,1,0,0,0,249,248,1,0,0,0,250,23,1,0,0,0,251,252,5,74, + 0,0,252,253,3,74,37,0,253,25,1,0,0,0,254,255,5,122,0,0,255,256,5, + 18,0,0,256,257,3,46,23,0,257,27,1,0,0,0,258,259,5,122,0,0,259,260, + 5,18,0,0,260,261,3,72,36,0,261,29,1,0,0,0,262,263,5,99,0,0,263,266, + 3,74,37,0,264,265,5,206,0,0,265,267,3,74,37,0,266,264,1,0,0,0,266, + 267,1,0,0,0,267,272,1,0,0,0,268,269,5,189,0,0,269,273,5,164,0,0, + 270,271,5,18,0,0,271,273,3,72,36,0,272,268,1,0,0,0,272,270,1,0,0, + 0,272,273,1,0,0,0,273,292,1,0,0,0,274,275,5,99,0,0,275,278,3,74, + 37,0,276,277,5,189,0,0,277,279,5,164,0,0,278,276,1,0,0,0,278,279, + 1,0,0,0,279,280,1,0,0,0,280,281,5,118,0,0,281,282,3,74,37,0,282, + 292,1,0,0,0,283,284,5,99,0,0,284,285,3,74,37,0,285,286,5,118,0,0, + 286,289,3,74,37,0,287,288,5,18,0,0,288,290,3,72,36,0,289,287,1,0, + 0,0,289,290,1,0,0,0,290,292,1,0,0,0,291,262,1,0,0,0,291,274,1,0, + 0,0,291,283,1,0,0,0,292,31,1,0,0,0,293,294,5,118,0,0,294,295,3,74, + 37,0,295,33,1,0,0,0,296,297,5,150,0,0,297,298,3,52,26,0,298,35,1, + 0,0,0,299,300,6,18,-1,0,300,302,3,94,47,0,301,303,5,61,0,0,302,301, + 1,0,0,0,302,303,1,0,0,0,303,305,1,0,0,0,304,306,3,44,22,0,305,304, + 1,0,0,0,305,306,1,0,0,0,306,312,1,0,0,0,307,308,5,220,0,0,308,309, + 3,36,18,0,309,310,5,236,0,0,310,312,1,0,0,0,311,299,1,0,0,0,311, + 307,1,0,0,0,312,327,1,0,0,0,313,314,10,3,0,0,314,315,3,40,20,0,315, + 316,3,36,18,4,316,326,1,0,0,0,317,319,10,4,0,0,318,320,3,38,19,0, + 319,318,1,0,0,0,319,320,1,0,0,0,320,321,1,0,0,0,321,322,5,90,0,0, + 322,323,3,36,18,0,323,324,3,42,21,0,324,326,1,0,0,0,325,313,1,0, + 0,0,325,317,1,0,0,0,326,329,1,0,0,0,327,325,1,0,0,0,327,328,1,0, + 0,0,328,37,1,0,0,0,329,327,1,0,0,0,330,332,7,2,0,0,331,330,1,0,0, + 0,331,332,1,0,0,0,332,333,1,0,0,0,333,340,5,84,0,0,334,336,5,84, + 0,0,335,337,7,2,0,0,336,335,1,0,0,0,336,337,1,0,0,0,337,340,1,0, + 0,0,338,340,7,2,0,0,339,331,1,0,0,0,339,334,1,0,0,0,339,338,1,0, + 0,0,340,374,1,0,0,0,341,343,7,3,0,0,342,341,1,0,0,0,342,343,1,0, + 0,0,343,344,1,0,0,0,344,346,7,4,0,0,345,347,5,123,0,0,346,345,1, + 0,0,0,346,347,1,0,0,0,347,356,1,0,0,0,348,350,7,4,0,0,349,351,5, + 123,0,0,350,349,1,0,0,0,350,351,1,0,0,0,351,353,1,0,0,0,352,354, + 7,3,0,0,353,352,1,0,0,0,353,354,1,0,0,0,354,356,1,0,0,0,355,342, + 1,0,0,0,355,348,1,0,0,0,356,374,1,0,0,0,357,359,7,5,0,0,358,357, + 1,0,0,0,358,359,1,0,0,0,359,360,1,0,0,0,360,362,5,69,0,0,361,363, + 5,123,0,0,362,361,1,0,0,0,362,363,1,0,0,0,363,372,1,0,0,0,364,366, + 5,69,0,0,365,367,5,123,0,0,366,365,1,0,0,0,366,367,1,0,0,0,367,369, + 1,0,0,0,368,370,7,5,0,0,369,368,1,0,0,0,369,370,1,0,0,0,370,372, + 1,0,0,0,371,358,1,0,0,0,371,364,1,0,0,0,372,374,1,0,0,0,373,339, + 1,0,0,0,373,355,1,0,0,0,373,371,1,0,0,0,374,39,1,0,0,0,375,376,5, + 31,0,0,376,379,5,90,0,0,377,379,5,206,0,0,378,375,1,0,0,0,378,377, + 1,0,0,0,379,41,1,0,0,0,380,381,5,119,0,0,381,390,3,72,36,0,382,383, + 5,179,0,0,383,384,5,220,0,0,384,385,3,72,36,0,385,386,5,236,0,0, + 386,390,1,0,0,0,387,388,5,179,0,0,388,390,3,72,36,0,389,380,1,0, + 0,0,389,382,1,0,0,0,389,387,1,0,0,0,390,43,1,0,0,0,391,392,5,144, + 0,0,392,395,3,50,25,0,393,394,5,118,0,0,394,396,3,50,25,0,395,393, + 1,0,0,0,395,396,1,0,0,0,396,45,1,0,0,0,397,402,3,48,24,0,398,399, + 5,206,0,0,399,401,3,48,24,0,400,398,1,0,0,0,401,404,1,0,0,0,402, + 400,1,0,0,0,402,403,1,0,0,0,403,47,1,0,0,0,404,402,1,0,0,0,405,407, + 3,74,37,0,406,408,7,6,0,0,407,406,1,0,0,0,407,408,1,0,0,0,408,411, + 1,0,0,0,409,410,5,117,0,0,410,412,7,7,0,0,411,409,1,0,0,0,411,412, + 1,0,0,0,412,415,1,0,0,0,413,414,5,26,0,0,414,416,5,200,0,0,415,413, + 1,0,0,0,415,416,1,0,0,0,416,49,1,0,0,0,417,424,3,122,61,0,418,421, + 3,106,53,0,419,420,5,238,0,0,420,422,3,106,53,0,421,419,1,0,0,0, + 421,422,1,0,0,0,422,424,1,0,0,0,423,417,1,0,0,0,423,418,1,0,0,0, + 424,51,1,0,0,0,425,430,3,54,27,0,426,427,5,206,0,0,427,429,3,54, + 27,0,428,426,1,0,0,0,429,432,1,0,0,0,430,428,1,0,0,0,430,431,1,0, + 0,0,431,53,1,0,0,0,432,430,1,0,0,0,433,434,3,118,59,0,434,435,5, + 212,0,0,435,436,3,108,54,0,436,55,1,0,0,0,437,439,3,58,29,0,438, + 437,1,0,0,0,438,439,1,0,0,0,439,441,1,0,0,0,440,442,3,60,30,0,441, + 440,1,0,0,0,441,442,1,0,0,0,442,444,1,0,0,0,443,445,3,62,31,0,444, + 443,1,0,0,0,444,445,1,0,0,0,445,57,1,0,0,0,446,447,5,126,0,0,447, + 448,5,18,0,0,448,449,3,72,36,0,449,59,1,0,0,0,450,451,5,122,0,0, + 451,452,5,18,0,0,452,453,3,46,23,0,453,61,1,0,0,0,454,455,7,8,0, + 0,455,456,3,64,32,0,456,63,1,0,0,0,457,464,3,66,33,0,458,459,5,16, + 0,0,459,460,3,66,33,0,460,461,5,6,0,0,461,462,3,66,33,0,462,464, + 1,0,0,0,463,457,1,0,0,0,463,458,1,0,0,0,464,65,1,0,0,0,465,466,5, + 33,0,0,466,478,5,142,0,0,467,468,5,175,0,0,468,478,5,128,0,0,469, + 470,5,175,0,0,470,478,5,64,0,0,471,472,3,106,53,0,472,473,5,128, + 0,0,473,478,1,0,0,0,474,475,3,106,53,0,475,476,5,64,0,0,476,478, + 1,0,0,0,477,465,1,0,0,0,477,467,1,0,0,0,477,469,1,0,0,0,477,471, + 1,0,0,0,477,474,1,0,0,0,478,67,1,0,0,0,479,480,3,74,37,0,480,481, + 5,0,0,1,481,69,1,0,0,0,482,530,3,118,59,0,483,484,3,118,59,0,484, + 485,5,220,0,0,485,486,3,118,59,0,486,493,3,70,35,0,487,488,5,206, + 0,0,488,489,3,118,59,0,489,490,3,70,35,0,490,492,1,0,0,0,491,487, + 1,0,0,0,492,495,1,0,0,0,493,491,1,0,0,0,493,494,1,0,0,0,494,496, + 1,0,0,0,495,493,1,0,0,0,496,497,5,236,0,0,497,530,1,0,0,0,498,499, + 3,118,59,0,499,500,5,220,0,0,500,505,3,120,60,0,501,502,5,206,0, + 0,502,504,3,120,60,0,503,501,1,0,0,0,504,507,1,0,0,0,505,503,1,0, + 0,0,505,506,1,0,0,0,506,508,1,0,0,0,507,505,1,0,0,0,508,509,5,236, + 0,0,509,530,1,0,0,0,510,511,3,118,59,0,511,512,5,220,0,0,512,517, + 3,70,35,0,513,514,5,206,0,0,514,516,3,70,35,0,515,513,1,0,0,0,516, + 519,1,0,0,0,517,515,1,0,0,0,517,518,1,0,0,0,518,520,1,0,0,0,519, + 517,1,0,0,0,520,521,5,236,0,0,521,530,1,0,0,0,522,523,3,118,59,0, + 523,525,5,220,0,0,524,526,3,72,36,0,525,524,1,0,0,0,525,526,1,0, + 0,0,526,527,1,0,0,0,527,528,5,236,0,0,528,530,1,0,0,0,529,482,1, + 0,0,0,529,483,1,0,0,0,529,498,1,0,0,0,529,510,1,0,0,0,529,522,1, + 0,0,0,530,71,1,0,0,0,531,536,3,74,37,0,532,533,5,206,0,0,533,535, + 3,74,37,0,534,532,1,0,0,0,535,538,1,0,0,0,536,534,1,0,0,0,536,537, + 1,0,0,0,537,73,1,0,0,0,538,536,1,0,0,0,539,540,6,37,-1,0,540,542, + 5,19,0,0,541,543,3,74,37,0,542,541,1,0,0,0,542,543,1,0,0,0,543,549, + 1,0,0,0,544,545,5,186,0,0,545,546,3,74,37,0,546,547,5,163,0,0,547, + 548,3,74,37,0,548,550,1,0,0,0,549,544,1,0,0,0,550,551,1,0,0,0,551, + 549,1,0,0,0,551,552,1,0,0,0,552,555,1,0,0,0,553,554,5,52,0,0,554, + 556,3,74,37,0,555,553,1,0,0,0,555,556,1,0,0,0,556,557,1,0,0,0,557, + 558,5,53,0,0,558,670,1,0,0,0,559,560,5,20,0,0,560,561,5,220,0,0, + 561,562,3,74,37,0,562,563,5,10,0,0,563,564,3,70,35,0,564,565,5,236, + 0,0,565,670,1,0,0,0,566,567,5,36,0,0,567,670,5,200,0,0,568,569,5, + 59,0,0,569,570,5,220,0,0,570,571,3,110,55,0,571,572,5,68,0,0,572, + 573,3,74,37,0,573,574,5,236,0,0,574,670,1,0,0,0,575,576,5,86,0,0, + 576,577,3,74,37,0,577,578,3,110,55,0,578,670,1,0,0,0,579,580,5,155, + 0,0,580,581,5,220,0,0,581,582,3,74,37,0,582,583,5,68,0,0,583,586, + 3,74,37,0,584,585,5,65,0,0,585,587,3,74,37,0,586,584,1,0,0,0,586, + 587,1,0,0,0,587,588,1,0,0,0,588,589,5,236,0,0,589,670,1,0,0,0,590, + 591,5,166,0,0,591,670,5,200,0,0,592,593,5,171,0,0,593,594,5,220, + 0,0,594,595,7,9,0,0,595,596,5,200,0,0,596,597,5,68,0,0,597,598,3, + 74,37,0,598,599,5,236,0,0,599,670,1,0,0,0,600,601,3,118,59,0,601, + 603,5,220,0,0,602,604,3,72,36,0,603,602,1,0,0,0,603,604,1,0,0,0, + 604,605,1,0,0,0,605,606,5,236,0,0,606,607,1,0,0,0,607,608,5,125, + 0,0,608,609,5,220,0,0,609,610,3,56,28,0,610,611,5,236,0,0,611,670, + 1,0,0,0,612,613,3,118,59,0,613,615,5,220,0,0,614,616,3,72,36,0,615, + 614,1,0,0,0,615,616,1,0,0,0,616,617,1,0,0,0,617,618,5,236,0,0,618, + 619,1,0,0,0,619,620,5,125,0,0,620,621,3,118,59,0,621,670,1,0,0,0, + 622,628,3,118,59,0,623,625,5,220,0,0,624,626,3,72,36,0,625,624,1, + 0,0,0,625,626,1,0,0,0,626,627,1,0,0,0,627,629,5,236,0,0,628,623, + 1,0,0,0,628,629,1,0,0,0,629,630,1,0,0,0,630,632,5,220,0,0,631,633, + 5,49,0,0,632,631,1,0,0,0,632,633,1,0,0,0,633,635,1,0,0,0,634,636, + 3,76,38,0,635,634,1,0,0,0,635,636,1,0,0,0,636,637,1,0,0,0,637,638, + 5,236,0,0,638,670,1,0,0,0,639,670,3,82,41,0,640,670,3,108,54,0,641, + 642,5,208,0,0,642,670,3,74,37,18,643,644,5,115,0,0,644,670,3,74, + 37,12,645,646,3,98,49,0,646,647,5,210,0,0,647,649,1,0,0,0,648,645, + 1,0,0,0,648,649,1,0,0,0,649,650,1,0,0,0,650,670,5,202,0,0,651,652, + 5,220,0,0,652,653,3,2,1,0,653,654,5,236,0,0,654,670,1,0,0,0,655, + 656,5,220,0,0,656,657,3,74,37,0,657,658,5,236,0,0,658,670,1,0,0, + 0,659,660,5,220,0,0,660,661,3,72,36,0,661,662,5,236,0,0,662,670, + 1,0,0,0,663,665,5,219,0,0,664,666,3,72,36,0,665,664,1,0,0,0,665, + 666,1,0,0,0,666,667,1,0,0,0,667,670,5,235,0,0,668,670,3,90,45,0, + 669,539,1,0,0,0,669,559,1,0,0,0,669,566,1,0,0,0,669,568,1,0,0,0, + 669,575,1,0,0,0,669,579,1,0,0,0,669,590,1,0,0,0,669,592,1,0,0,0, + 669,600,1,0,0,0,669,612,1,0,0,0,669,622,1,0,0,0,669,639,1,0,0,0, + 669,640,1,0,0,0,669,641,1,0,0,0,669,643,1,0,0,0,669,648,1,0,0,0, + 669,651,1,0,0,0,669,655,1,0,0,0,669,659,1,0,0,0,669,663,1,0,0,0, + 669,668,1,0,0,0,670,764,1,0,0,0,671,675,10,17,0,0,672,676,5,202, + 0,0,673,676,5,238,0,0,674,676,5,227,0,0,675,672,1,0,0,0,675,673, + 1,0,0,0,675,674,1,0,0,0,676,677,1,0,0,0,677,763,3,74,37,18,678,682, + 10,16,0,0,679,683,5,228,0,0,680,683,5,208,0,0,681,683,5,207,0,0, + 682,679,1,0,0,0,682,680,1,0,0,0,682,681,1,0,0,0,683,684,1,0,0,0, + 684,763,3,74,37,17,685,710,10,15,0,0,686,711,5,211,0,0,687,711,5, + 212,0,0,688,711,5,223,0,0,689,711,5,221,0,0,690,711,5,222,0,0,691, + 711,5,213,0,0,692,711,5,214,0,0,693,695,5,115,0,0,694,693,1,0,0, + 0,694,695,1,0,0,0,695,696,1,0,0,0,696,698,5,80,0,0,697,699,5,25, + 0,0,698,697,1,0,0,0,698,699,1,0,0,0,699,711,1,0,0,0,700,702,5,115, + 0,0,701,700,1,0,0,0,701,702,1,0,0,0,702,703,1,0,0,0,703,711,7,10, + 0,0,704,711,5,232,0,0,705,711,5,233,0,0,706,711,5,225,0,0,707,711, + 5,216,0,0,708,711,5,217,0,0,709,711,5,224,0,0,710,686,1,0,0,0,710, + 687,1,0,0,0,710,688,1,0,0,0,710,689,1,0,0,0,710,690,1,0,0,0,710, + 691,1,0,0,0,710,692,1,0,0,0,710,694,1,0,0,0,710,701,1,0,0,0,710, + 704,1,0,0,0,710,705,1,0,0,0,710,706,1,0,0,0,710,707,1,0,0,0,710, + 708,1,0,0,0,710,709,1,0,0,0,711,712,1,0,0,0,712,763,3,74,37,16,713, + 714,10,13,0,0,714,715,5,226,0,0,715,763,3,74,37,14,716,717,10,11, + 0,0,717,718,5,6,0,0,718,763,3,74,37,12,719,720,10,10,0,0,720,721, + 5,121,0,0,721,763,3,74,37,11,722,724,10,9,0,0,723,725,5,115,0,0, + 724,723,1,0,0,0,724,725,1,0,0,0,725,726,1,0,0,0,726,727,5,16,0,0, + 727,728,3,74,37,0,728,729,5,6,0,0,729,730,3,74,37,10,730,763,1,0, + 0,0,731,732,10,8,0,0,732,733,5,229,0,0,733,734,3,74,37,0,734,735, + 5,205,0,0,735,736,3,74,37,8,736,763,1,0,0,0,737,738,10,21,0,0,738, + 739,5,219,0,0,739,740,3,74,37,0,740,741,5,235,0,0,741,763,1,0,0, + 0,742,743,10,20,0,0,743,744,5,210,0,0,744,763,5,198,0,0,745,746, + 10,19,0,0,746,747,5,210,0,0,747,763,3,118,59,0,748,749,10,14,0,0, + 749,751,5,88,0,0,750,752,5,115,0,0,751,750,1,0,0,0,751,752,1,0,0, + 0,752,753,1,0,0,0,753,763,5,116,0,0,754,760,10,7,0,0,755,761,3,116, + 58,0,756,757,5,10,0,0,757,761,3,118,59,0,758,759,5,10,0,0,759,761, + 5,200,0,0,760,755,1,0,0,0,760,756,1,0,0,0,760,758,1,0,0,0,761,763, + 1,0,0,0,762,671,1,0,0,0,762,678,1,0,0,0,762,685,1,0,0,0,762,713, + 1,0,0,0,762,716,1,0,0,0,762,719,1,0,0,0,762,722,1,0,0,0,762,731, + 1,0,0,0,762,737,1,0,0,0,762,742,1,0,0,0,762,745,1,0,0,0,762,748, + 1,0,0,0,762,754,1,0,0,0,763,766,1,0,0,0,764,762,1,0,0,0,764,765, + 1,0,0,0,765,75,1,0,0,0,766,764,1,0,0,0,767,772,3,78,39,0,768,769, + 5,206,0,0,769,771,3,78,39,0,770,768,1,0,0,0,771,774,1,0,0,0,772, + 770,1,0,0,0,772,773,1,0,0,0,773,77,1,0,0,0,774,772,1,0,0,0,775,778, + 3,80,40,0,776,778,3,74,37,0,777,775,1,0,0,0,777,776,1,0,0,0,778, + 79,1,0,0,0,779,780,5,220,0,0,780,785,3,118,59,0,781,782,5,206,0, + 0,782,784,3,118,59,0,783,781,1,0,0,0,784,787,1,0,0,0,785,783,1,0, + 0,0,785,786,1,0,0,0,786,788,1,0,0,0,787,785,1,0,0,0,788,789,5,236, + 0,0,789,799,1,0,0,0,790,795,3,118,59,0,791,792,5,206,0,0,792,794, + 3,118,59,0,793,791,1,0,0,0,794,797,1,0,0,0,795,793,1,0,0,0,795,796, + 1,0,0,0,796,799,1,0,0,0,797,795,1,0,0,0,798,779,1,0,0,0,798,790, + 1,0,0,0,799,800,1,0,0,0,800,801,5,201,0,0,801,802,3,74,37,0,802, + 81,1,0,0,0,803,804,5,222,0,0,804,808,3,118,59,0,805,807,3,84,42, + 0,806,805,1,0,0,0,807,810,1,0,0,0,808,806,1,0,0,0,808,809,1,0,0, + 0,809,811,1,0,0,0,810,808,1,0,0,0,811,812,5,238,0,0,812,813,5,214, + 0,0,813,832,1,0,0,0,814,815,5,222,0,0,815,819,3,118,59,0,816,818, + 3,84,42,0,817,816,1,0,0,0,818,821,1,0,0,0,819,817,1,0,0,0,819,820, + 1,0,0,0,820,822,1,0,0,0,821,819,1,0,0,0,822,824,5,214,0,0,823,825, + 3,82,41,0,824,823,1,0,0,0,824,825,1,0,0,0,825,826,1,0,0,0,826,827, + 5,222,0,0,827,828,5,238,0,0,828,829,3,118,59,0,829,830,5,214,0,0, + 830,832,1,0,0,0,831,803,1,0,0,0,831,814,1,0,0,0,832,83,1,0,0,0,833, + 834,3,118,59,0,834,835,5,212,0,0,835,836,5,200,0,0,836,845,1,0,0, + 0,837,838,3,118,59,0,838,839,5,212,0,0,839,840,5,218,0,0,840,841, + 3,74,37,0,841,842,5,234,0,0,842,845,1,0,0,0,843,845,3,118,59,0,844, + 833,1,0,0,0,844,837,1,0,0,0,844,843,1,0,0,0,845,85,1,0,0,0,846,851, + 3,88,44,0,847,848,5,206,0,0,848,850,3,88,44,0,849,847,1,0,0,0,850, + 853,1,0,0,0,851,849,1,0,0,0,851,852,1,0,0,0,852,87,1,0,0,0,853,851, + 1,0,0,0,854,855,3,118,59,0,855,856,5,10,0,0,856,857,5,220,0,0,857, + 858,3,2,1,0,858,859,5,236,0,0,859,865,1,0,0,0,860,861,3,74,37,0, + 861,862,5,10,0,0,862,863,3,118,59,0,863,865,1,0,0,0,864,854,1,0, + 0,0,864,860,1,0,0,0,865,89,1,0,0,0,866,874,3,122,61,0,867,868,3, + 98,49,0,868,869,5,210,0,0,869,871,1,0,0,0,870,867,1,0,0,0,870,871, + 1,0,0,0,871,872,1,0,0,0,872,874,3,92,46,0,873,866,1,0,0,0,873,870, + 1,0,0,0,874,91,1,0,0,0,875,880,3,118,59,0,876,877,5,210,0,0,877, + 879,3,118,59,0,878,876,1,0,0,0,879,882,1,0,0,0,880,878,1,0,0,0,880, + 881,1,0,0,0,881,93,1,0,0,0,882,880,1,0,0,0,883,884,6,47,-1,0,884, + 893,3,98,49,0,885,893,3,96,48,0,886,887,5,220,0,0,887,888,3,2,1, + 0,888,889,5,236,0,0,889,893,1,0,0,0,890,893,3,82,41,0,891,893,3, + 122,61,0,892,883,1,0,0,0,892,885,1,0,0,0,892,886,1,0,0,0,892,890, + 1,0,0,0,892,891,1,0,0,0,893,902,1,0,0,0,894,898,10,3,0,0,895,899, + 3,116,58,0,896,897,5,10,0,0,897,899,3,118,59,0,898,895,1,0,0,0,898, + 896,1,0,0,0,899,901,1,0,0,0,900,894,1,0,0,0,901,904,1,0,0,0,902, + 900,1,0,0,0,902,903,1,0,0,0,903,95,1,0,0,0,904,902,1,0,0,0,905,906, + 3,118,59,0,906,908,5,220,0,0,907,909,3,100,50,0,908,907,1,0,0,0, + 908,909,1,0,0,0,909,910,1,0,0,0,910,911,5,236,0,0,911,97,1,0,0,0, + 912,913,3,102,51,0,913,914,5,210,0,0,914,916,1,0,0,0,915,912,1,0, + 0,0,915,916,1,0,0,0,916,917,1,0,0,0,917,918,3,118,59,0,918,99,1, + 0,0,0,919,924,3,74,37,0,920,921,5,206,0,0,921,923,3,74,37,0,922, + 920,1,0,0,0,923,926,1,0,0,0,924,922,1,0,0,0,924,925,1,0,0,0,925, + 101,1,0,0,0,926,924,1,0,0,0,927,928,3,118,59,0,928,103,1,0,0,0,929, + 938,5,196,0,0,930,931,5,210,0,0,931,938,7,11,0,0,932,933,5,198,0, + 0,933,935,5,210,0,0,934,936,7,11,0,0,935,934,1,0,0,0,935,936,1,0, + 0,0,936,938,1,0,0,0,937,929,1,0,0,0,937,930,1,0,0,0,937,932,1,0, + 0,0,938,105,1,0,0,0,939,941,7,12,0,0,940,939,1,0,0,0,940,941,1,0, + 0,0,941,948,1,0,0,0,942,949,3,104,52,0,943,949,5,197,0,0,944,949, + 5,198,0,0,945,949,5,199,0,0,946,949,5,82,0,0,947,949,5,113,0,0,948, + 942,1,0,0,0,948,943,1,0,0,0,948,944,1,0,0,0,948,945,1,0,0,0,948, + 946,1,0,0,0,948,947,1,0,0,0,949,107,1,0,0,0,950,954,3,106,53,0,951, + 954,5,200,0,0,952,954,5,116,0,0,953,950,1,0,0,0,953,951,1,0,0,0, + 953,952,1,0,0,0,954,109,1,0,0,0,955,956,7,13,0,0,956,111,1,0,0,0, + 957,958,7,14,0,0,958,113,1,0,0,0,959,960,7,15,0,0,960,115,1,0,0, + 0,961,964,5,195,0,0,962,964,3,114,57,0,963,961,1,0,0,0,963,962,1, + 0,0,0,964,117,1,0,0,0,965,969,5,195,0,0,966,969,3,110,55,0,967,969, + 3,112,56,0,968,965,1,0,0,0,968,966,1,0,0,0,968,967,1,0,0,0,969,119, + 1,0,0,0,970,971,5,200,0,0,971,972,5,212,0,0,972,973,3,106,53,0,973, + 121,1,0,0,0,974,975,5,218,0,0,975,976,3,118,59,0,976,977,5,234,0, + 0,977,123,1,0,0,0,120,127,137,146,149,153,156,160,163,166,169,172, + 176,180,183,186,189,193,196,205,211,232,249,266,272,278,289,291, + 302,305,311,319,325,327,331,336,339,342,346,350,353,355,358,362, + 366,369,371,373,378,389,395,402,407,411,415,421,423,430,438,441, + 444,463,477,493,505,517,525,529,536,542,551,555,586,603,615,625, + 628,632,635,648,665,669,675,682,694,698,701,710,724,751,760,762, + 764,772,777,785,795,798,808,819,824,831,844,851,864,870,873,880, + 892,898,902,908,915,924,935,937,940,948,953,963,968 ] class HogQLParser ( Parser ): @@ -1007,6 +1007,10 @@ def selectUnionStmt(self): def RPAREN(self): return self.getToken(HogQLParser.RPAREN, 0) + def placeholder(self): + return self.getTypedRuleContext(HogQLParser.PlaceholderContext,0) + + def getRuleIndex(self): return HogQLParser.RULE_selectStmtWithParens @@ -1024,7 +1028,7 @@ def selectStmtWithParens(self): localctx = HogQLParser.SelectStmtWithParensContext(self, self._ctx, self.state) self.enterRule(localctx, 4, self.RULE_selectStmtWithParens) try: - self.state = 145 + self.state = 146 self._errHandler.sync(self) token = self._input.LA(1) if token in [146, 189]: @@ -1041,6 +1045,11 @@ def selectStmtWithParens(self): self.state = 143 self.match(HogQLParser.RPAREN) pass + elif token in [218]: + self.enterOuterAlt(localctx, 3) + self.state = 145 + self.placeholder() + pass else: raise NoViableAltException(self) @@ -1160,81 +1169,81 @@ def selectStmt(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 148 + self.state = 149 self._errHandler.sync(self) _la = self._input.LA(1) if _la==189: - self.state = 147 + self.state = 148 localctx.with_ = self.withClause() - self.state = 150 + self.state = 151 self.match(HogQLParser.SELECT) - self.state = 152 + self.state = 153 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,4,self._ctx) if la_ == 1: - self.state = 151 + self.state = 152 self.match(HogQLParser.DISTINCT) - self.state = 155 + self.state = 156 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,5,self._ctx) if la_ == 1: - self.state = 154 + self.state = 155 self.topClause() - self.state = 157 + self.state = 158 localctx.columns = self.columnExprList() - self.state = 159 + self.state = 160 self._errHandler.sync(self) _la = self._input.LA(1) if _la==68: - self.state = 158 + self.state = 159 localctx.from_ = self.fromClause() - self.state = 162 + self.state = 163 self._errHandler.sync(self) _la = self._input.LA(1) if _la==9 or _la==84 or _la==96: - self.state = 161 + self.state = 162 self.arrayJoinClause() - self.state = 165 + self.state = 166 self._errHandler.sync(self) _la = self._input.LA(1) if _la==129: - self.state = 164 + self.state = 165 self.prewhereClause() - self.state = 168 + self.state = 169 self._errHandler.sync(self) _la = self._input.LA(1) if _la==187: - self.state = 167 + self.state = 168 localctx.where = self.whereClause() - self.state = 171 + self.state = 172 self._errHandler.sync(self) _la = self._input.LA(1) if _la==73: - self.state = 170 + self.state = 171 self.groupByClause() - self.state = 175 + self.state = 176 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,11,self._ctx) if la_ == 1: - self.state = 173 - self.match(HogQLParser.WITH) self.state = 174 + self.match(HogQLParser.WITH) + self.state = 175 _la = self._input.LA(1) if not(_la==32 or _la==141): self._errHandler.recoverInline(self) @@ -1243,60 +1252,60 @@ def selectStmt(self): self.consume() - self.state = 179 + self.state = 180 self._errHandler.sync(self) _la = self._input.LA(1) if _la==189: - self.state = 177 - self.match(HogQLParser.WITH) self.state = 178 + self.match(HogQLParser.WITH) + self.state = 179 self.match(HogQLParser.TOTALS) - self.state = 182 + self.state = 183 self._errHandler.sync(self) _la = self._input.LA(1) if _la==74: - self.state = 181 + self.state = 182 self.havingClause() - self.state = 185 + self.state = 186 self._errHandler.sync(self) _la = self._input.LA(1) if _la==188: - self.state = 184 + self.state = 185 self.windowClause() - self.state = 188 + self.state = 189 self._errHandler.sync(self) _la = self._input.LA(1) if _la==122: - self.state = 187 + self.state = 188 self.orderByClause() - self.state = 192 + self.state = 193 self._errHandler.sync(self) token = self._input.LA(1) if token in [99]: - self.state = 190 + self.state = 191 self.limitAndOffsetClause() pass elif token in [118]: - self.state = 191 + self.state = 192 self.offsetOnlyClause() pass elif token in [-1, 150, 176, 236]: pass else: pass - self.state = 195 + self.state = 196 self._errHandler.sync(self) _la = self._input.LA(1) if _la==150: - self.state = 194 + self.state = 195 self.settingsClause() @@ -1341,9 +1350,9 @@ def withClause(self): self.enterRule(localctx, 8, self.RULE_withClause) try: self.enterOuterAlt(localctx, 1) - self.state = 197 - self.match(HogQLParser.WITH) self.state = 198 + self.match(HogQLParser.WITH) + self.state = 199 self.withExprList() except RecognitionException as re: localctx.exception = re @@ -1391,17 +1400,17 @@ def topClause(self): self.enterRule(localctx, 10, self.RULE_topClause) try: self.enterOuterAlt(localctx, 1) - self.state = 200 - self.match(HogQLParser.TOP) self.state = 201 + self.match(HogQLParser.TOP) + self.state = 202 self.match(HogQLParser.DECIMAL_LITERAL) - self.state = 204 + self.state = 205 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,18,self._ctx) if la_ == 1: - self.state = 202 - self.match(HogQLParser.WITH) self.state = 203 + self.match(HogQLParser.WITH) + self.state = 204 self.match(HogQLParser.TIES) @@ -1446,9 +1455,9 @@ def fromClause(self): self.enterRule(localctx, 12, self.RULE_fromClause) try: self.enterOuterAlt(localctx, 1) - self.state = 206 - self.match(HogQLParser.FROM) self.state = 207 + self.match(HogQLParser.FROM) + self.state = 208 self.joinExpr(0) except RecognitionException as re: localctx.exception = re @@ -1501,11 +1510,11 @@ def arrayJoinClause(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 210 + self.state = 211 self._errHandler.sync(self) _la = self._input.LA(1) if _la==84 or _la==96: - self.state = 209 + self.state = 210 _la = self._input.LA(1) if not(_la==84 or _la==96): self._errHandler.recoverInline(self) @@ -1514,11 +1523,11 @@ def arrayJoinClause(self): self.consume() - self.state = 212 - self.match(HogQLParser.ARRAY) self.state = 213 - self.match(HogQLParser.JOIN) + self.match(HogQLParser.ARRAY) self.state = 214 + self.match(HogQLParser.JOIN) + self.state = 215 self.columnExprList() except RecognitionException as re: localctx.exception = re @@ -1596,35 +1605,35 @@ def windowClause(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 216 - self.match(HogQLParser.WINDOW) self.state = 217 - self.identifier() + self.match(HogQLParser.WINDOW) self.state = 218 - self.match(HogQLParser.AS) + self.identifier() self.state = 219 - self.match(HogQLParser.LPAREN) + self.match(HogQLParser.AS) self.state = 220 - self.windowExpr() + self.match(HogQLParser.LPAREN) self.state = 221 + self.windowExpr() + self.state = 222 self.match(HogQLParser.RPAREN) - self.state = 231 + self.state = 232 self._errHandler.sync(self) _la = self._input.LA(1) while _la==206: - self.state = 222 - self.match(HogQLParser.COMMA) self.state = 223 - self.identifier() + self.match(HogQLParser.COMMA) self.state = 224 - self.match(HogQLParser.AS) + self.identifier() self.state = 225 - self.match(HogQLParser.LPAREN) + self.match(HogQLParser.AS) self.state = 226 - self.windowExpr() + self.match(HogQLParser.LPAREN) self.state = 227 + self.windowExpr() + self.state = 228 self.match(HogQLParser.RPAREN) - self.state = 233 + self.state = 234 self._errHandler.sync(self) _la = self._input.LA(1) @@ -1669,9 +1678,9 @@ def prewhereClause(self): self.enterRule(localctx, 18, self.RULE_prewhereClause) try: self.enterOuterAlt(localctx, 1) - self.state = 234 - self.match(HogQLParser.PREWHERE) self.state = 235 + self.match(HogQLParser.PREWHERE) + self.state = 236 self.columnExpr(0) except RecognitionException as re: localctx.exception = re @@ -1714,9 +1723,9 @@ def whereClause(self): self.enterRule(localctx, 20, self.RULE_whereClause) try: self.enterOuterAlt(localctx, 1) - self.state = 237 - self.match(HogQLParser.WHERE) self.state = 238 + self.match(HogQLParser.WHERE) + self.state = 239 self.columnExpr(0) except RecognitionException as re: localctx.exception = re @@ -1775,31 +1784,31 @@ def groupByClause(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 240 - self.match(HogQLParser.GROUP) self.state = 241 + self.match(HogQLParser.GROUP) + self.state = 242 self.match(HogQLParser.BY) - self.state = 248 + self.state = 249 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,21,self._ctx) if la_ == 1: - self.state = 242 + self.state = 243 _la = self._input.LA(1) if not(_la==32 or _la==141): self._errHandler.recoverInline(self) else: self._errHandler.reportMatch(self) self.consume() - self.state = 243 - self.match(HogQLParser.LPAREN) self.state = 244 - self.columnExprList() + self.match(HogQLParser.LPAREN) self.state = 245 + self.columnExprList() + self.state = 246 self.match(HogQLParser.RPAREN) pass elif la_ == 2: - self.state = 247 + self.state = 248 self.columnExprList() pass @@ -1845,9 +1854,9 @@ def havingClause(self): self.enterRule(localctx, 24, self.RULE_havingClause) try: self.enterOuterAlt(localctx, 1) - self.state = 250 - self.match(HogQLParser.HAVING) self.state = 251 + self.match(HogQLParser.HAVING) + self.state = 252 self.columnExpr(0) except RecognitionException as re: localctx.exception = re @@ -1893,11 +1902,11 @@ def orderByClause(self): self.enterRule(localctx, 26, self.RULE_orderByClause) try: self.enterOuterAlt(localctx, 1) - self.state = 253 - self.match(HogQLParser.ORDER) self.state = 254 - self.match(HogQLParser.BY) + self.match(HogQLParser.ORDER) self.state = 255 + self.match(HogQLParser.BY) + self.state = 256 self.orderExprList() except RecognitionException as re: localctx.exception = re @@ -1943,11 +1952,11 @@ def projectionOrderByClause(self): self.enterRule(localctx, 28, self.RULE_projectionOrderByClause) try: self.enterOuterAlt(localctx, 1) - self.state = 257 - self.match(HogQLParser.ORDER) self.state = 258 - self.match(HogQLParser.BY) + self.match(HogQLParser.ORDER) self.state = 259 + self.match(HogQLParser.BY) + self.state = 260 self.columnExprList() except RecognitionException as re: localctx.exception = re @@ -2012,38 +2021,38 @@ def limitAndOffsetClause(self): self.enterRule(localctx, 30, self.RULE_limitAndOffsetClause) self._la = 0 # Token type try: - self.state = 290 + self.state = 291 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,26,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 261 - self.match(HogQLParser.LIMIT) self.state = 262 + self.match(HogQLParser.LIMIT) + self.state = 263 self.columnExpr(0) - self.state = 265 + self.state = 266 self._errHandler.sync(self) _la = self._input.LA(1) if _la==206: - self.state = 263 - self.match(HogQLParser.COMMA) self.state = 264 + self.match(HogQLParser.COMMA) + self.state = 265 self.columnExpr(0) - self.state = 271 + self.state = 272 self._errHandler.sync(self) token = self._input.LA(1) if token in [189]: - self.state = 267 - self.match(HogQLParser.WITH) self.state = 268 + self.match(HogQLParser.WITH) + self.state = 269 self.match(HogQLParser.TIES) pass elif token in [18]: - self.state = 269 - self.match(HogQLParser.BY) self.state = 270 + self.match(HogQLParser.BY) + self.state = 271 self.columnExprList() pass elif token in [-1, 150, 176, 236]: @@ -2054,43 +2063,43 @@ def limitAndOffsetClause(self): elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 273 - self.match(HogQLParser.LIMIT) self.state = 274 + self.match(HogQLParser.LIMIT) + self.state = 275 self.columnExpr(0) - self.state = 277 + self.state = 278 self._errHandler.sync(self) _la = self._input.LA(1) if _la==189: - self.state = 275 - self.match(HogQLParser.WITH) self.state = 276 + self.match(HogQLParser.WITH) + self.state = 277 self.match(HogQLParser.TIES) - self.state = 279 - self.match(HogQLParser.OFFSET) self.state = 280 + self.match(HogQLParser.OFFSET) + self.state = 281 self.columnExpr(0) pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 282 - self.match(HogQLParser.LIMIT) self.state = 283 - self.columnExpr(0) + self.match(HogQLParser.LIMIT) self.state = 284 - self.match(HogQLParser.OFFSET) + self.columnExpr(0) self.state = 285 + self.match(HogQLParser.OFFSET) + self.state = 286 self.columnExpr(0) - self.state = 288 + self.state = 289 self._errHandler.sync(self) _la = self._input.LA(1) if _la==18: - self.state = 286 - self.match(HogQLParser.BY) self.state = 287 + self.match(HogQLParser.BY) + self.state = 288 self.columnExprList() @@ -2138,9 +2147,9 @@ def offsetOnlyClause(self): self.enterRule(localctx, 32, self.RULE_offsetOnlyClause) try: self.enterOuterAlt(localctx, 1) - self.state = 292 - self.match(HogQLParser.OFFSET) self.state = 293 + self.match(HogQLParser.OFFSET) + self.state = 294 self.columnExpr(0) except RecognitionException as re: localctx.exception = re @@ -2183,9 +2192,9 @@ def settingsClause(self): self.enterRule(localctx, 34, self.RULE_settingsClause) try: self.enterOuterAlt(localctx, 1) - self.state = 295 - self.match(HogQLParser.SETTINGS) self.state = 296 + self.match(HogQLParser.SETTINGS) + self.state = 297 self.settingExprList() except RecognitionException as re: localctx.exception = re @@ -2317,7 +2326,7 @@ def joinExpr(self, _p:int=0): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 310 + self.state = 311 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,29,self._ctx) if la_ == 1: @@ -2325,21 +2334,21 @@ def joinExpr(self, _p:int=0): self._ctx = localctx _prevctx = localctx - self.state = 299 + self.state = 300 self.tableExpr(0) - self.state = 301 + self.state = 302 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,27,self._ctx) if la_ == 1: - self.state = 300 + self.state = 301 self.match(HogQLParser.FINAL) - self.state = 304 + self.state = 305 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,28,self._ctx) if la_ == 1: - self.state = 303 + self.state = 304 self.sampleClause() @@ -2349,17 +2358,17 @@ def joinExpr(self, _p:int=0): localctx = HogQLParser.JoinExprParensContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 306 - self.match(HogQLParser.LPAREN) self.state = 307 - self.joinExpr(0) + self.match(HogQLParser.LPAREN) self.state = 308 + self.joinExpr(0) + self.state = 309 self.match(HogQLParser.RPAREN) pass self._ctx.stop = self._input.LT(-1) - self.state = 326 + self.state = 327 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,32,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: @@ -2367,47 +2376,47 @@ def joinExpr(self, _p:int=0): if self._parseListeners is not None: self.triggerExitRuleEvent() _prevctx = localctx - self.state = 324 + self.state = 325 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,31,self._ctx) if la_ == 1: localctx = HogQLParser.JoinExprCrossOpContext(self, HogQLParser.JoinExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_joinExpr) - self.state = 312 + self.state = 313 if not self.precpred(self._ctx, 3): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 3)") - self.state = 313 - self.joinOpCross() self.state = 314 + self.joinOpCross() + self.state = 315 self.joinExpr(4) pass elif la_ == 2: localctx = HogQLParser.JoinExprOpContext(self, HogQLParser.JoinExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_joinExpr) - self.state = 316 + self.state = 317 if not self.precpred(self._ctx, 4): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 4)") - self.state = 318 + self.state = 319 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & 4496) != 0) or ((((_la - 69)) & ~0x3f) == 0 and ((1 << (_la - 69)) & 134250497) != 0) or _la==140 or _la==147: - self.state = 317 + self.state = 318 self.joinOp() - self.state = 320 - self.match(HogQLParser.JOIN) self.state = 321 - self.joinExpr(0) + self.match(HogQLParser.JOIN) self.state = 322 + self.joinExpr(0) + self.state = 323 self.joinConstraintClause() pass - self.state = 328 + self.state = 329 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,32,self._ctx) @@ -2518,21 +2527,21 @@ def joinOp(self): self.enterRule(localctx, 38, self.RULE_joinOp) self._la = 0 # Token type try: - self.state = 372 + self.state = 373 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,46,self._ctx) if la_ == 1: localctx = HogQLParser.JoinOpInnerContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 338 + self.state = 339 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,35,self._ctx) if la_ == 1: - self.state = 330 + self.state = 331 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & 4368) != 0): - self.state = 329 + self.state = 330 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 4368) != 0)): self._errHandler.recoverInline(self) @@ -2541,18 +2550,18 @@ def joinOp(self): self.consume() - self.state = 332 + self.state = 333 self.match(HogQLParser.INNER) pass elif la_ == 2: - self.state = 333 + self.state = 334 self.match(HogQLParser.INNER) - self.state = 335 + self.state = 336 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & 4368) != 0): - self.state = 334 + self.state = 335 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 4368) != 0)): self._errHandler.recoverInline(self) @@ -2564,7 +2573,7 @@ def joinOp(self): pass elif la_ == 3: - self.state = 337 + self.state = 338 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 4368) != 0)): self._errHandler.recoverInline(self) @@ -2579,15 +2588,15 @@ def joinOp(self): elif la_ == 2: localctx = HogQLParser.JoinOpLeftRightContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 354 + self.state = 355 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,40,self._ctx) if la_ == 1: - self.state = 341 + self.state = 342 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & 4496) != 0) or _la==147: - self.state = 340 + self.state = 341 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 4496) != 0) or _la==147): self._errHandler.recoverInline(self) @@ -2596,44 +2605,44 @@ def joinOp(self): self.consume() - self.state = 343 + self.state = 344 _la = self._input.LA(1) if not(_la==96 or _la==140): self._errHandler.recoverInline(self) else: self._errHandler.reportMatch(self) self.consume() - self.state = 345 + self.state = 346 self._errHandler.sync(self) _la = self._input.LA(1) if _la==123: - self.state = 344 + self.state = 345 self.match(HogQLParser.OUTER) pass elif la_ == 2: - self.state = 347 + self.state = 348 _la = self._input.LA(1) if not(_la==96 or _la==140): self._errHandler.recoverInline(self) else: self._errHandler.reportMatch(self) self.consume() - self.state = 349 + self.state = 350 self._errHandler.sync(self) _la = self._input.LA(1) if _la==123: - self.state = 348 + self.state = 349 self.match(HogQLParser.OUTER) - self.state = 352 + self.state = 353 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & 4496) != 0) or _la==147: - self.state = 351 + self.state = 352 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 4496) != 0) or _la==147): self._errHandler.recoverInline(self) @@ -2650,15 +2659,15 @@ def joinOp(self): elif la_ == 3: localctx = HogQLParser.JoinOpFullContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 370 + self.state = 371 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,45,self._ctx) if la_ == 1: - self.state = 357 + self.state = 358 self._errHandler.sync(self) _la = self._input.LA(1) if _la==4 or _la==8: - self.state = 356 + self.state = 357 _la = self._input.LA(1) if not(_la==4 or _la==8): self._errHandler.recoverInline(self) @@ -2667,34 +2676,34 @@ def joinOp(self): self.consume() - self.state = 359 + self.state = 360 self.match(HogQLParser.FULL) - self.state = 361 + self.state = 362 self._errHandler.sync(self) _la = self._input.LA(1) if _la==123: - self.state = 360 + self.state = 361 self.match(HogQLParser.OUTER) pass elif la_ == 2: - self.state = 363 + self.state = 364 self.match(HogQLParser.FULL) - self.state = 365 + self.state = 366 self._errHandler.sync(self) _la = self._input.LA(1) if _la==123: - self.state = 364 + self.state = 365 self.match(HogQLParser.OUTER) - self.state = 368 + self.state = 369 self._errHandler.sync(self) _la = self._input.LA(1) if _la==4 or _la==8: - self.state = 367 + self.state = 368 _la = self._input.LA(1) if not(_la==4 or _la==8): self._errHandler.recoverInline(self) @@ -2751,19 +2760,19 @@ def joinOpCross(self): localctx = HogQLParser.JoinOpCrossContext(self, self._ctx, self.state) self.enterRule(localctx, 40, self.RULE_joinOpCross) try: - self.state = 377 + self.state = 378 self._errHandler.sync(self) token = self._input.LA(1) if token in [31]: self.enterOuterAlt(localctx, 1) - self.state = 374 - self.match(HogQLParser.CROSS) self.state = 375 + self.match(HogQLParser.CROSS) + self.state = 376 self.match(HogQLParser.JOIN) pass elif token in [206]: self.enterOuterAlt(localctx, 2) - self.state = 376 + self.state = 377 self.match(HogQLParser.COMMA) pass else: @@ -2818,34 +2827,34 @@ def joinConstraintClause(self): localctx = HogQLParser.JoinConstraintClauseContext(self, self._ctx, self.state) self.enterRule(localctx, 42, self.RULE_joinConstraintClause) try: - self.state = 388 + self.state = 389 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,48,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 379 - self.match(HogQLParser.ON) self.state = 380 + self.match(HogQLParser.ON) + self.state = 381 self.columnExprList() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 381 - self.match(HogQLParser.USING) self.state = 382 - self.match(HogQLParser.LPAREN) + self.match(HogQLParser.USING) self.state = 383 - self.columnExprList() + self.match(HogQLParser.LPAREN) self.state = 384 + self.columnExprList() + self.state = 385 self.match(HogQLParser.RPAREN) pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 386 - self.match(HogQLParser.USING) self.state = 387 + self.match(HogQLParser.USING) + self.state = 388 self.columnExprList() pass @@ -2897,17 +2906,17 @@ def sampleClause(self): self.enterRule(localctx, 44, self.RULE_sampleClause) try: self.enterOuterAlt(localctx, 1) - self.state = 390 - self.match(HogQLParser.SAMPLE) self.state = 391 + self.match(HogQLParser.SAMPLE) + self.state = 392 self.ratioExpr() - self.state = 394 + self.state = 395 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,49,self._ctx) if la_ == 1: - self.state = 392 - self.match(HogQLParser.OFFSET) self.state = 393 + self.match(HogQLParser.OFFSET) + self.state = 394 self.ratioExpr() @@ -2959,17 +2968,17 @@ def orderExprList(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 396 + self.state = 397 self.orderExpr() - self.state = 401 + self.state = 402 self._errHandler.sync(self) _la = self._input.LA(1) while _la==206: - self.state = 397 - self.match(HogQLParser.COMMA) self.state = 398 + self.match(HogQLParser.COMMA) + self.state = 399 self.orderExpr() - self.state = 403 + self.state = 404 self._errHandler.sync(self) _la = self._input.LA(1) @@ -3036,13 +3045,13 @@ def orderExpr(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 404 + self.state = 405 self.columnExpr(0) - self.state = 406 + self.state = 407 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & 13194139535360) != 0): - self.state = 405 + self.state = 406 _la = self._input.LA(1) if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 13194139535360) != 0)): self._errHandler.recoverInline(self) @@ -3051,13 +3060,13 @@ def orderExpr(self): self.consume() - self.state = 410 + self.state = 411 self._errHandler.sync(self) _la = self._input.LA(1) if _la==117: - self.state = 408 - self.match(HogQLParser.NULLS) self.state = 409 + self.match(HogQLParser.NULLS) + self.state = 410 _la = self._input.LA(1) if not(_la==62 or _la==93): self._errHandler.recoverInline(self) @@ -3066,13 +3075,13 @@ def orderExpr(self): self.consume() - self.state = 414 + self.state = 415 self._errHandler.sync(self) _la = self._input.LA(1) if _la==26: - self.state = 412 - self.match(HogQLParser.COLLATE) self.state = 413 + self.match(HogQLParser.COLLATE) + self.state = 414 self.match(HogQLParser.STRING_LITERAL) @@ -3123,25 +3132,25 @@ def ratioExpr(self): localctx = HogQLParser.RatioExprContext(self, self._ctx, self.state) self.enterRule(localctx, 50, self.RULE_ratioExpr) try: - self.state = 422 + self.state = 423 self._errHandler.sync(self) token = self._input.LA(1) if token in [218]: self.enterOuterAlt(localctx, 1) - self.state = 416 + self.state = 417 self.placeholder() pass elif token in [82, 113, 196, 197, 198, 199, 208, 210, 228]: self.enterOuterAlt(localctx, 2) - self.state = 417 + self.state = 418 self.numberLiteral() - self.state = 420 + self.state = 421 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,54,self._ctx) if la_ == 1: - self.state = 418 - self.match(HogQLParser.SLASH) self.state = 419 + self.match(HogQLParser.SLASH) + self.state = 420 self.numberLiteral() @@ -3197,17 +3206,17 @@ def settingExprList(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 424 + self.state = 425 self.settingExpr() - self.state = 429 + self.state = 430 self._errHandler.sync(self) _la = self._input.LA(1) while _la==206: - self.state = 425 - self.match(HogQLParser.COMMA) self.state = 426 + self.match(HogQLParser.COMMA) + self.state = 427 self.settingExpr() - self.state = 431 + self.state = 432 self._errHandler.sync(self) _la = self._input.LA(1) @@ -3256,11 +3265,11 @@ def settingExpr(self): self.enterRule(localctx, 54, self.RULE_settingExpr) try: self.enterOuterAlt(localctx, 1) - self.state = 432 - self.identifier() self.state = 433 - self.match(HogQLParser.EQ_SINGLE) + self.identifier() self.state = 434 + self.match(HogQLParser.EQ_SINGLE) + self.state = 435 self.literal() except RecognitionException as re: localctx.exception = re @@ -3309,27 +3318,27 @@ def windowExpr(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 437 + self.state = 438 self._errHandler.sync(self) _la = self._input.LA(1) if _la==126: - self.state = 436 + self.state = 437 self.winPartitionByClause() - self.state = 440 + self.state = 441 self._errHandler.sync(self) _la = self._input.LA(1) if _la==122: - self.state = 439 + self.state = 440 self.winOrderByClause() - self.state = 443 + self.state = 444 self._errHandler.sync(self) _la = self._input.LA(1) if _la==133 or _la==143: - self.state = 442 + self.state = 443 self.winFrameClause() @@ -3377,11 +3386,11 @@ def winPartitionByClause(self): self.enterRule(localctx, 58, self.RULE_winPartitionByClause) try: self.enterOuterAlt(localctx, 1) - self.state = 445 - self.match(HogQLParser.PARTITION) self.state = 446 - self.match(HogQLParser.BY) + self.match(HogQLParser.PARTITION) self.state = 447 + self.match(HogQLParser.BY) + self.state = 448 self.columnExprList() except RecognitionException as re: localctx.exception = re @@ -3427,11 +3436,11 @@ def winOrderByClause(self): self.enterRule(localctx, 60, self.RULE_winOrderByClause) try: self.enterOuterAlt(localctx, 1) - self.state = 449 - self.match(HogQLParser.ORDER) self.state = 450 - self.match(HogQLParser.BY) + self.match(HogQLParser.ORDER) self.state = 451 + self.match(HogQLParser.BY) + self.state = 452 self.orderExprList() except RecognitionException as re: localctx.exception = re @@ -3478,14 +3487,14 @@ def winFrameClause(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 453 + self.state = 454 _la = self._input.LA(1) if not(_la==133 or _la==143): self._errHandler.recoverInline(self) else: self._errHandler.reportMatch(self) self.consume() - self.state = 454 + self.state = 455 self.winFrameExtend() except RecognitionException as re: localctx.exception = re @@ -3560,25 +3569,25 @@ def winFrameExtend(self): localctx = HogQLParser.WinFrameExtendContext(self, self._ctx, self.state) self.enterRule(localctx, 64, self.RULE_winFrameExtend) try: - self.state = 462 + self.state = 463 self._errHandler.sync(self) token = self._input.LA(1) if token in [33, 82, 113, 175, 196, 197, 198, 199, 208, 210, 228]: localctx = HogQLParser.FrameStartContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 456 + self.state = 457 self.winFrameBound() pass elif token in [16]: localctx = HogQLParser.FrameBetweenContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 457 - self.match(HogQLParser.BETWEEN) self.state = 458 - self.winFrameBound() + self.match(HogQLParser.BETWEEN) self.state = 459 - self.match(HogQLParser.AND) + self.winFrameBound() self.state = 460 + self.match(HogQLParser.AND) + self.state = 461 self.winFrameBound() pass else: @@ -3637,41 +3646,41 @@ def winFrameBound(self): self.enterRule(localctx, 66, self.RULE_winFrameBound) try: self.enterOuterAlt(localctx, 1) - self.state = 476 + self.state = 477 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,61,self._ctx) if la_ == 1: - self.state = 464 - self.match(HogQLParser.CURRENT) self.state = 465 + self.match(HogQLParser.CURRENT) + self.state = 466 self.match(HogQLParser.ROW) pass elif la_ == 2: - self.state = 466 - self.match(HogQLParser.UNBOUNDED) self.state = 467 + self.match(HogQLParser.UNBOUNDED) + self.state = 468 self.match(HogQLParser.PRECEDING) pass elif la_ == 3: - self.state = 468 - self.match(HogQLParser.UNBOUNDED) self.state = 469 + self.match(HogQLParser.UNBOUNDED) + self.state = 470 self.match(HogQLParser.FOLLOWING) pass elif la_ == 4: - self.state = 470 - self.numberLiteral() self.state = 471 + self.numberLiteral() + self.state = 472 self.match(HogQLParser.PRECEDING) pass elif la_ == 5: - self.state = 473 - self.numberLiteral() self.state = 474 + self.numberLiteral() + self.state = 475 self.match(HogQLParser.FOLLOWING) pass @@ -3717,9 +3726,9 @@ def expr(self): self.enterRule(localctx, 68, self.RULE_expr) try: self.enterOuterAlt(localctx, 1) - self.state = 478 - self.columnExpr(0) self.state = 479 + self.columnExpr(0) + self.state = 480 self.match(HogQLParser.EOF) except RecognitionException as re: localctx.exception = re @@ -3894,111 +3903,111 @@ def columnTypeExpr(self): self.enterRule(localctx, 70, self.RULE_columnTypeExpr) self._la = 0 # Token type try: - self.state = 528 + self.state = 529 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,66,self._ctx) if la_ == 1: localctx = HogQLParser.ColumnTypeExprSimpleContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 481 + self.state = 482 self.identifier() pass elif la_ == 2: localctx = HogQLParser.ColumnTypeExprNestedContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 482 - self.identifier() self.state = 483 - self.match(HogQLParser.LPAREN) - self.state = 484 self.identifier() + self.state = 484 + self.match(HogQLParser.LPAREN) self.state = 485 + self.identifier() + self.state = 486 self.columnTypeExpr() - self.state = 492 + self.state = 493 self._errHandler.sync(self) _la = self._input.LA(1) while _la==206: - self.state = 486 - self.match(HogQLParser.COMMA) self.state = 487 - self.identifier() + self.match(HogQLParser.COMMA) self.state = 488 + self.identifier() + self.state = 489 self.columnTypeExpr() - self.state = 494 + self.state = 495 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 495 + self.state = 496 self.match(HogQLParser.RPAREN) pass elif la_ == 3: localctx = HogQLParser.ColumnTypeExprEnumContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 497 - self.identifier() self.state = 498 - self.match(HogQLParser.LPAREN) + self.identifier() self.state = 499 + self.match(HogQLParser.LPAREN) + self.state = 500 self.enumValue() - self.state = 504 + self.state = 505 self._errHandler.sync(self) _la = self._input.LA(1) while _la==206: - self.state = 500 - self.match(HogQLParser.COMMA) self.state = 501 + self.match(HogQLParser.COMMA) + self.state = 502 self.enumValue() - self.state = 506 + self.state = 507 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 507 + self.state = 508 self.match(HogQLParser.RPAREN) pass elif la_ == 4: localctx = HogQLParser.ColumnTypeExprComplexContext(self, localctx) self.enterOuterAlt(localctx, 4) - self.state = 509 - self.identifier() self.state = 510 - self.match(HogQLParser.LPAREN) + self.identifier() self.state = 511 + self.match(HogQLParser.LPAREN) + self.state = 512 self.columnTypeExpr() - self.state = 516 + self.state = 517 self._errHandler.sync(self) _la = self._input.LA(1) while _la==206: - self.state = 512 - self.match(HogQLParser.COMMA) self.state = 513 + self.match(HogQLParser.COMMA) + self.state = 514 self.columnTypeExpr() - self.state = 518 + self.state = 519 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 519 + self.state = 520 self.match(HogQLParser.RPAREN) pass elif la_ == 5: localctx = HogQLParser.ColumnTypeExprParamContext(self, localctx) self.enterOuterAlt(localctx, 5) - self.state = 521 - self.identifier() self.state = 522 + self.identifier() + self.state = 523 self.match(HogQLParser.LPAREN) - self.state = 524 + self.state = 525 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -33554436) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & -1) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & -9) != 0) or ((((_la - 192)) & ~0x3f) == 0 and ((1 << (_la - 192)) & 70263309817) != 0): - self.state = 523 + self.state = 524 self.columnExprList() - self.state = 526 + self.state = 527 self.match(HogQLParser.RPAREN) pass @@ -4050,18 +4059,18 @@ def columnExprList(self): self.enterRule(localctx, 72, self.RULE_columnExprList) try: self.enterOuterAlt(localctx, 1) - self.state = 530 + self.state = 531 self.columnExpr(0) - self.state = 535 + self.state = 536 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,67,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: - self.state = 531 - self.match(HogQLParser.COMMA) self.state = 532 + self.match(HogQLParser.COMMA) + self.state = 533 self.columnExpr(0) - self.state = 537 + self.state = 538 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,67,self._ctx) @@ -4961,7 +4970,7 @@ def columnExpr(self, _p:int=0): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 668 + self.state = 669 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,80,self._ctx) if la_ == 1: @@ -4969,45 +4978,45 @@ def columnExpr(self, _p:int=0): self._ctx = localctx _prevctx = localctx - self.state = 539 + self.state = 540 self.match(HogQLParser.CASE) - self.state = 541 + self.state = 542 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,68,self._ctx) if la_ == 1: - self.state = 540 + self.state = 541 localctx.caseExpr = self.columnExpr(0) - self.state = 548 + self.state = 549 self._errHandler.sync(self) _la = self._input.LA(1) while True: - self.state = 543 - self.match(HogQLParser.WHEN) self.state = 544 - localctx.whenExpr = self.columnExpr(0) + self.match(HogQLParser.WHEN) self.state = 545 - self.match(HogQLParser.THEN) + localctx.whenExpr = self.columnExpr(0) self.state = 546 + self.match(HogQLParser.THEN) + self.state = 547 localctx.thenExpr = self.columnExpr(0) - self.state = 550 + self.state = 551 self._errHandler.sync(self) _la = self._input.LA(1) if not (_la==186): break - self.state = 554 + self.state = 555 self._errHandler.sync(self) _la = self._input.LA(1) if _la==52: - self.state = 552 - self.match(HogQLParser.ELSE) self.state = 553 + self.match(HogQLParser.ELSE) + self.state = 554 localctx.elseExpr = self.columnExpr(0) - self.state = 556 + self.state = 557 self.match(HogQLParser.END) pass @@ -5015,17 +5024,17 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprCastContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 558 - self.match(HogQLParser.CAST) self.state = 559 - self.match(HogQLParser.LPAREN) + self.match(HogQLParser.CAST) self.state = 560 - self.columnExpr(0) + self.match(HogQLParser.LPAREN) self.state = 561 - self.match(HogQLParser.AS) + self.columnExpr(0) self.state = 562 - self.columnTypeExpr() + self.match(HogQLParser.AS) self.state = 563 + self.columnTypeExpr() + self.state = 564 self.match(HogQLParser.RPAREN) pass @@ -5033,9 +5042,9 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprDateContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 565 - self.match(HogQLParser.DATE) self.state = 566 + self.match(HogQLParser.DATE) + self.state = 567 self.match(HogQLParser.STRING_LITERAL) pass @@ -5043,17 +5052,17 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprExtractContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 567 - self.match(HogQLParser.EXTRACT) self.state = 568 - self.match(HogQLParser.LPAREN) + self.match(HogQLParser.EXTRACT) self.state = 569 - self.interval() + self.match(HogQLParser.LPAREN) self.state = 570 - self.match(HogQLParser.FROM) + self.interval() self.state = 571 - self.columnExpr(0) + self.match(HogQLParser.FROM) self.state = 572 + self.columnExpr(0) + self.state = 573 self.match(HogQLParser.RPAREN) pass @@ -5061,11 +5070,11 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprIntervalContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 574 - self.match(HogQLParser.INTERVAL) self.state = 575 - self.columnExpr(0) + self.match(HogQLParser.INTERVAL) self.state = 576 + self.columnExpr(0) + self.state = 577 self.interval() pass @@ -5073,27 +5082,27 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprSubstringContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 578 - self.match(HogQLParser.SUBSTRING) self.state = 579 - self.match(HogQLParser.LPAREN) + self.match(HogQLParser.SUBSTRING) self.state = 580 - self.columnExpr(0) + self.match(HogQLParser.LPAREN) self.state = 581 - self.match(HogQLParser.FROM) + self.columnExpr(0) self.state = 582 + self.match(HogQLParser.FROM) + self.state = 583 self.columnExpr(0) - self.state = 585 + self.state = 586 self._errHandler.sync(self) _la = self._input.LA(1) if _la==65: - self.state = 583 - self.match(HogQLParser.FOR) self.state = 584 + self.match(HogQLParser.FOR) + self.state = 585 self.columnExpr(0) - self.state = 587 + self.state = 588 self.match(HogQLParser.RPAREN) pass @@ -5101,9 +5110,9 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprTimestampContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 589 - self.match(HogQLParser.TIMESTAMP) self.state = 590 + self.match(HogQLParser.TIMESTAMP) + self.state = 591 self.match(HogQLParser.STRING_LITERAL) pass @@ -5111,24 +5120,24 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprTrimContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 591 - self.match(HogQLParser.TRIM) self.state = 592 - self.match(HogQLParser.LPAREN) + self.match(HogQLParser.TRIM) self.state = 593 + self.match(HogQLParser.LPAREN) + self.state = 594 _la = self._input.LA(1) if not(_la==17 or _la==95 or _la==170): self._errHandler.recoverInline(self) else: self._errHandler.reportMatch(self) self.consume() - self.state = 594 - self.match(HogQLParser.STRING_LITERAL) self.state = 595 - self.match(HogQLParser.FROM) + self.match(HogQLParser.STRING_LITERAL) self.state = 596 - self.columnExpr(0) + self.match(HogQLParser.FROM) self.state = 597 + self.columnExpr(0) + self.state = 598 self.match(HogQLParser.RPAREN) pass @@ -5136,28 +5145,28 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprWinFunctionContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 599 + self.state = 600 self.identifier() - self.state = 600 + self.state = 601 self.match(HogQLParser.LPAREN) - self.state = 602 + self.state = 603 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -33554436) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & -1) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & -9) != 0) or ((((_la - 192)) & ~0x3f) == 0 and ((1 << (_la - 192)) & 70263309817) != 0): - self.state = 601 + self.state = 602 self.columnExprList() - self.state = 604 + self.state = 605 self.match(HogQLParser.RPAREN) - self.state = 606 - self.match(HogQLParser.OVER) self.state = 607 - self.match(HogQLParser.LPAREN) + self.match(HogQLParser.OVER) self.state = 608 - self.windowExpr() + self.match(HogQLParser.LPAREN) self.state = 609 + self.windowExpr() + self.state = 610 self.match(HogQLParser.RPAREN) pass @@ -5165,24 +5174,24 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprWinFunctionTargetContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 611 + self.state = 612 self.identifier() - self.state = 612 + self.state = 613 self.match(HogQLParser.LPAREN) - self.state = 614 + self.state = 615 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -33554436) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & -1) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & -9) != 0) or ((((_la - 192)) & ~0x3f) == 0 and ((1 << (_la - 192)) & 70263309817) != 0): - self.state = 613 + self.state = 614 self.columnExprList() - self.state = 616 + self.state = 617 self.match(HogQLParser.RPAREN) - self.state = 618 - self.match(HogQLParser.OVER) self.state = 619 + self.match(HogQLParser.OVER) + self.state = 620 self.identifier() pass @@ -5190,45 +5199,45 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprFunctionContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 621 + self.state = 622 self.identifier() - self.state = 627 + self.state = 628 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,75,self._ctx) if la_ == 1: - self.state = 622 + self.state = 623 self.match(HogQLParser.LPAREN) - self.state = 624 + self.state = 625 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -33554436) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & -1) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & -9) != 0) or ((((_la - 192)) & ~0x3f) == 0 and ((1 << (_la - 192)) & 70263309817) != 0): - self.state = 623 + self.state = 624 self.columnExprList() - self.state = 626 + self.state = 627 self.match(HogQLParser.RPAREN) - self.state = 629 + self.state = 630 self.match(HogQLParser.LPAREN) - self.state = 631 + self.state = 632 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,76,self._ctx) if la_ == 1: - self.state = 630 + self.state = 631 self.match(HogQLParser.DISTINCT) - self.state = 634 + self.state = 635 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -33554436) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & -1) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & -9) != 0) or ((((_la - 192)) & ~0x3f) == 0 and ((1 << (_la - 192)) & 70263309817) != 0): - self.state = 633 + self.state = 634 self.columnArgList() - self.state = 636 + self.state = 637 self.match(HogQLParser.RPAREN) pass @@ -5236,7 +5245,7 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprTagElementContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 638 + self.state = 639 self.hogqlxTagElement() pass @@ -5244,7 +5253,7 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprLiteralContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 639 + self.state = 640 self.literal() pass @@ -5252,9 +5261,9 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprNegateContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 640 - self.match(HogQLParser.DASH) self.state = 641 + self.match(HogQLParser.DASH) + self.state = 642 self.columnExpr(18) pass @@ -5262,9 +5271,9 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprNotContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 642 - self.match(HogQLParser.NOT) self.state = 643 + self.match(HogQLParser.NOT) + self.state = 644 self.columnExpr(12) pass @@ -5272,17 +5281,17 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprAsteriskContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 647 + self.state = 648 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -33554436) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & -5066549581053953) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & -9) != 0) or _la==192 or _la==195: - self.state = 644 - self.tableIdentifier() self.state = 645 + self.tableIdentifier() + self.state = 646 self.match(HogQLParser.DOT) - self.state = 649 + self.state = 650 self.match(HogQLParser.ASTERISK) pass @@ -5290,11 +5299,11 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprSubqueryContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 650 - self.match(HogQLParser.LPAREN) self.state = 651 - self.selectUnionStmt() + self.match(HogQLParser.LPAREN) self.state = 652 + self.selectUnionStmt() + self.state = 653 self.match(HogQLParser.RPAREN) pass @@ -5302,11 +5311,11 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprParensContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 654 - self.match(HogQLParser.LPAREN) self.state = 655 - self.columnExpr(0) + self.match(HogQLParser.LPAREN) self.state = 656 + self.columnExpr(0) + self.state = 657 self.match(HogQLParser.RPAREN) pass @@ -5314,11 +5323,11 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprTupleContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 658 - self.match(HogQLParser.LPAREN) self.state = 659 - self.columnExprList() + self.match(HogQLParser.LPAREN) self.state = 660 + self.columnExprList() + self.state = 661 self.match(HogQLParser.RPAREN) pass @@ -5326,17 +5335,17 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprArrayContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 662 + self.state = 663 self.match(HogQLParser.LBRACKET) - self.state = 664 + self.state = 665 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -33554436) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & -1) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & -9) != 0) or ((((_la - 192)) & ~0x3f) == 0 and ((1 << (_la - 192)) & 70263309817) != 0): - self.state = 663 + self.state = 664 self.columnExprList() - self.state = 666 + self.state = 667 self.match(HogQLParser.RBRACKET) pass @@ -5344,13 +5353,13 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprIdentifierContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 667 + self.state = 668 self.columnIdentifier() pass self._ctx.stop = self._input.LT(-1) - self.state = 763 + self.state = 764 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,91,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: @@ -5358,36 +5367,36 @@ def columnExpr(self, _p:int=0): if self._parseListeners is not None: self.triggerExitRuleEvent() _prevctx = localctx - self.state = 761 + self.state = 762 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,90,self._ctx) if la_ == 1: localctx = HogQLParser.ColumnExprPrecedence1Context(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) localctx.left = _prevctx self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 670 + self.state = 671 if not self.precpred(self._ctx, 17): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 17)") - self.state = 674 + self.state = 675 self._errHandler.sync(self) token = self._input.LA(1) if token in [202]: - self.state = 671 + self.state = 672 localctx.operator = self.match(HogQLParser.ASTERISK) pass elif token in [238]: - self.state = 672 + self.state = 673 localctx.operator = self.match(HogQLParser.SLASH) pass elif token in [227]: - self.state = 673 + self.state = 674 localctx.operator = self.match(HogQLParser.PERCENT) pass else: raise NoViableAltException(self) - self.state = 676 + self.state = 677 localctx.right = self.columnExpr(18) pass @@ -5395,29 +5404,29 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprPrecedence2Context(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) localctx.left = _prevctx self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 677 + self.state = 678 if not self.precpred(self._ctx, 16): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 16)") - self.state = 681 + self.state = 682 self._errHandler.sync(self) token = self._input.LA(1) if token in [228]: - self.state = 678 + self.state = 679 localctx.operator = self.match(HogQLParser.PLUS) pass elif token in [208]: - self.state = 679 + self.state = 680 localctx.operator = self.match(HogQLParser.DASH) pass elif token in [207]: - self.state = 680 + self.state = 681 localctx.operator = self.match(HogQLParser.CONCAT) pass else: raise NoViableAltException(self) - self.state = 683 + self.state = 684 localctx.right = self.columnExpr(17) pass @@ -5425,79 +5434,79 @@ def columnExpr(self, _p:int=0): localctx = HogQLParser.ColumnExprPrecedence3Context(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) localctx.left = _prevctx self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 684 + self.state = 685 if not self.precpred(self._ctx, 15): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 15)") - self.state = 709 + self.state = 710 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,86,self._ctx) if la_ == 1: - self.state = 685 + self.state = 686 localctx.operator = self.match(HogQLParser.EQ_DOUBLE) pass elif la_ == 2: - self.state = 686 + self.state = 687 localctx.operator = self.match(HogQLParser.EQ_SINGLE) pass elif la_ == 3: - self.state = 687 + self.state = 688 localctx.operator = self.match(HogQLParser.NOT_EQ) pass elif la_ == 4: - self.state = 688 + self.state = 689 localctx.operator = self.match(HogQLParser.LT_EQ) pass elif la_ == 5: - self.state = 689 + self.state = 690 localctx.operator = self.match(HogQLParser.LT) pass elif la_ == 6: - self.state = 690 + self.state = 691 localctx.operator = self.match(HogQLParser.GT_EQ) pass elif la_ == 7: - self.state = 691 + self.state = 692 localctx.operator = self.match(HogQLParser.GT) pass elif la_ == 8: - self.state = 693 + self.state = 694 self._errHandler.sync(self) _la = self._input.LA(1) if _la==115: - self.state = 692 + self.state = 693 localctx.operator = self.match(HogQLParser.NOT) - self.state = 695 + self.state = 696 self.match(HogQLParser.IN) - self.state = 697 + self.state = 698 self._errHandler.sync(self) _la = self._input.LA(1) if _la==25: - self.state = 696 + self.state = 697 self.match(HogQLParser.COHORT) pass elif la_ == 9: - self.state = 700 + self.state = 701 self._errHandler.sync(self) _la = self._input.LA(1) if _la==115: - self.state = 699 + self.state = 700 localctx.operator = self.match(HogQLParser.NOT) - self.state = 702 + self.state = 703 _la = self._input.LA(1) if not(_la==79 or _la==98): self._errHandler.recoverInline(self) @@ -5507,209 +5516,209 @@ def columnExpr(self, _p:int=0): pass elif la_ == 10: - self.state = 703 + self.state = 704 localctx.operator = self.match(HogQLParser.REGEX_SINGLE) pass elif la_ == 11: - self.state = 704 + self.state = 705 localctx.operator = self.match(HogQLParser.REGEX_DOUBLE) pass elif la_ == 12: - self.state = 705 + self.state = 706 localctx.operator = self.match(HogQLParser.NOT_REGEX) pass elif la_ == 13: - self.state = 706 + self.state = 707 localctx.operator = self.match(HogQLParser.IREGEX_SINGLE) pass elif la_ == 14: - self.state = 707 + self.state = 708 localctx.operator = self.match(HogQLParser.IREGEX_DOUBLE) pass elif la_ == 15: - self.state = 708 + self.state = 709 localctx.operator = self.match(HogQLParser.NOT_IREGEX) pass - self.state = 711 + self.state = 712 localctx.right = self.columnExpr(16) pass elif la_ == 4: localctx = HogQLParser.ColumnExprNullishContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 712 + self.state = 713 if not self.precpred(self._ctx, 13): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 13)") - self.state = 713 - self.match(HogQLParser.NULLISH) self.state = 714 + self.match(HogQLParser.NULLISH) + self.state = 715 self.columnExpr(14) pass elif la_ == 5: localctx = HogQLParser.ColumnExprAndContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 715 + self.state = 716 if not self.precpred(self._ctx, 11): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 11)") - self.state = 716 - self.match(HogQLParser.AND) self.state = 717 + self.match(HogQLParser.AND) + self.state = 718 self.columnExpr(12) pass elif la_ == 6: localctx = HogQLParser.ColumnExprOrContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 718 + self.state = 719 if not self.precpred(self._ctx, 10): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 10)") - self.state = 719 - self.match(HogQLParser.OR) self.state = 720 + self.match(HogQLParser.OR) + self.state = 721 self.columnExpr(11) pass elif la_ == 7: localctx = HogQLParser.ColumnExprBetweenContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 721 + self.state = 722 if not self.precpred(self._ctx, 9): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 9)") - self.state = 723 + self.state = 724 self._errHandler.sync(self) _la = self._input.LA(1) if _la==115: - self.state = 722 + self.state = 723 self.match(HogQLParser.NOT) - self.state = 725 - self.match(HogQLParser.BETWEEN) self.state = 726 - self.columnExpr(0) + self.match(HogQLParser.BETWEEN) self.state = 727 - self.match(HogQLParser.AND) + self.columnExpr(0) self.state = 728 + self.match(HogQLParser.AND) + self.state = 729 self.columnExpr(10) pass elif la_ == 8: localctx = HogQLParser.ColumnExprTernaryOpContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 730 + self.state = 731 if not self.precpred(self._ctx, 8): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 8)") - self.state = 731 - self.match(HogQLParser.QUERY) self.state = 732 - self.columnExpr(0) + self.match(HogQLParser.QUERY) self.state = 733 - self.match(HogQLParser.COLON) + self.columnExpr(0) self.state = 734 + self.match(HogQLParser.COLON) + self.state = 735 self.columnExpr(8) pass elif la_ == 9: localctx = HogQLParser.ColumnExprArrayAccessContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 736 + self.state = 737 if not self.precpred(self._ctx, 21): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 21)") - self.state = 737 - self.match(HogQLParser.LBRACKET) self.state = 738 - self.columnExpr(0) + self.match(HogQLParser.LBRACKET) self.state = 739 + self.columnExpr(0) + self.state = 740 self.match(HogQLParser.RBRACKET) pass elif la_ == 10: localctx = HogQLParser.ColumnExprTupleAccessContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 741 + self.state = 742 if not self.precpred(self._ctx, 20): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 20)") - self.state = 742 - self.match(HogQLParser.DOT) self.state = 743 + self.match(HogQLParser.DOT) + self.state = 744 self.match(HogQLParser.DECIMAL_LITERAL) pass elif la_ == 11: localctx = HogQLParser.ColumnExprPropertyAccessContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 744 + self.state = 745 if not self.precpred(self._ctx, 19): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 19)") - self.state = 745 - self.match(HogQLParser.DOT) self.state = 746 + self.match(HogQLParser.DOT) + self.state = 747 self.identifier() pass elif la_ == 12: localctx = HogQLParser.ColumnExprIsNullContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 747 + self.state = 748 if not self.precpred(self._ctx, 14): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 14)") - self.state = 748 + self.state = 749 self.match(HogQLParser.IS) - self.state = 750 + self.state = 751 self._errHandler.sync(self) _la = self._input.LA(1) if _la==115: - self.state = 749 + self.state = 750 self.match(HogQLParser.NOT) - self.state = 752 + self.state = 753 self.match(HogQLParser.NULL_SQL) pass elif la_ == 13: localctx = HogQLParser.ColumnExprAliasContext(self, HogQLParser.ColumnExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_columnExpr) - self.state = 753 + self.state = 754 if not self.precpred(self._ctx, 7): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 7)") - self.state = 759 + self.state = 760 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,89,self._ctx) if la_ == 1: - self.state = 754 + self.state = 755 self.alias() pass elif la_ == 2: - self.state = 755 - self.match(HogQLParser.AS) self.state = 756 + self.match(HogQLParser.AS) + self.state = 757 self.identifier() pass elif la_ == 3: - self.state = 757 - self.match(HogQLParser.AS) self.state = 758 + self.match(HogQLParser.AS) + self.state = 759 self.match(HogQLParser.STRING_LITERAL) pass @@ -5717,7 +5726,7 @@ def columnExpr(self, _p:int=0): pass - self.state = 765 + self.state = 766 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,91,self._ctx) @@ -5769,17 +5778,17 @@ def columnArgList(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 766 + self.state = 767 self.columnArgExpr() - self.state = 771 + self.state = 772 self._errHandler.sync(self) _la = self._input.LA(1) while _la==206: - self.state = 767 - self.match(HogQLParser.COMMA) self.state = 768 + self.match(HogQLParser.COMMA) + self.state = 769 self.columnArgExpr() - self.state = 773 + self.state = 774 self._errHandler.sync(self) _la = self._input.LA(1) @@ -5824,18 +5833,18 @@ def columnArgExpr(self): localctx = HogQLParser.ColumnArgExprContext(self, self._ctx, self.state) self.enterRule(localctx, 78, self.RULE_columnArgExpr) try: - self.state = 776 + self.state = 777 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,93,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 774 + self.state = 775 self.columnLambdaExpr() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 775 + self.state = 776 self.columnExpr(0) pass @@ -5901,41 +5910,41 @@ def columnLambdaExpr(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 797 + self.state = 798 self._errHandler.sync(self) token = self._input.LA(1) if token in [220]: - self.state = 778 - self.match(HogQLParser.LPAREN) self.state = 779 + self.match(HogQLParser.LPAREN) + self.state = 780 self.identifier() - self.state = 784 + self.state = 785 self._errHandler.sync(self) _la = self._input.LA(1) while _la==206: - self.state = 780 - self.match(HogQLParser.COMMA) self.state = 781 + self.match(HogQLParser.COMMA) + self.state = 782 self.identifier() - self.state = 786 + self.state = 787 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 787 + self.state = 788 self.match(HogQLParser.RPAREN) pass elif token in [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 114, 115, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 195]: - self.state = 789 + self.state = 790 self.identifier() - self.state = 794 + self.state = 795 self._errHandler.sync(self) _la = self._input.LA(1) while _la==206: - self.state = 790 - self.match(HogQLParser.COMMA) self.state = 791 + self.match(HogQLParser.COMMA) + self.state = 792 self.identifier() - self.state = 796 + self.state = 797 self._errHandler.sync(self) _la = self._input.LA(1) @@ -5943,9 +5952,9 @@ def columnLambdaExpr(self): else: raise NoViableAltException(self) - self.state = 799 - self.match(HogQLParser.ARROW) self.state = 800 + self.match(HogQLParser.ARROW) + self.state = 801 self.columnExpr(0) except RecognitionException as re: localctx.exception = re @@ -6050,66 +6059,66 @@ def hogqlxTagElement(self): self.enterRule(localctx, 82, self.RULE_hogqlxTagElement) self._la = 0 # Token type try: - self.state = 830 + self.state = 831 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,100,self._ctx) if la_ == 1: localctx = HogQLParser.HogqlxTagElementClosedContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 802 - self.match(HogQLParser.LT) self.state = 803 + self.match(HogQLParser.LT) + self.state = 804 self.identifier() - self.state = 807 + self.state = 808 self._errHandler.sync(self) _la = self._input.LA(1) while (((_la) & ~0x3f) == 0 and ((1 << _la) & -33554436) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & -5066549581053953) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & -9) != 0) or _la==192 or _la==195: - self.state = 804 + self.state = 805 self.hogqlxTagAttribute() - self.state = 809 + self.state = 810 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 810 - self.match(HogQLParser.SLASH) self.state = 811 + self.match(HogQLParser.SLASH) + self.state = 812 self.match(HogQLParser.GT) pass elif la_ == 2: localctx = HogQLParser.HogqlxTagElementNestedContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 813 - self.match(HogQLParser.LT) self.state = 814 + self.match(HogQLParser.LT) + self.state = 815 self.identifier() - self.state = 818 + self.state = 819 self._errHandler.sync(self) _la = self._input.LA(1) while (((_la) & ~0x3f) == 0 and ((1 << _la) & -33554436) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & -5066549581053953) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & -9) != 0) or _la==192 or _la==195: - self.state = 815 + self.state = 816 self.hogqlxTagAttribute() - self.state = 820 + self.state = 821 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 821 + self.state = 822 self.match(HogQLParser.GT) - self.state = 823 + self.state = 824 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,99,self._ctx) if la_ == 1: - self.state = 822 + self.state = 823 self.hogqlxTagElement() - self.state = 825 - self.match(HogQLParser.LT) self.state = 826 - self.match(HogQLParser.SLASH) + self.match(HogQLParser.LT) self.state = 827 - self.identifier() + self.match(HogQLParser.SLASH) self.state = 828 + self.identifier() + self.state = 829 self.match(HogQLParser.GT) pass @@ -6167,36 +6176,36 @@ def hogqlxTagAttribute(self): localctx = HogQLParser.HogqlxTagAttributeContext(self, self._ctx, self.state) self.enterRule(localctx, 84, self.RULE_hogqlxTagAttribute) try: - self.state = 843 + self.state = 844 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,101,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 832 - self.identifier() self.state = 833 - self.match(HogQLParser.EQ_SINGLE) + self.identifier() self.state = 834 + self.match(HogQLParser.EQ_SINGLE) + self.state = 835 self.match(HogQLParser.STRING_LITERAL) pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 836 - self.identifier() self.state = 837 - self.match(HogQLParser.EQ_SINGLE) + self.identifier() self.state = 838 - self.match(HogQLParser.LBRACE) + self.match(HogQLParser.EQ_SINGLE) self.state = 839 - self.columnExpr(0) + self.match(HogQLParser.LBRACE) self.state = 840 + self.columnExpr(0) + self.state = 841 self.match(HogQLParser.RBRACE) pass elif la_ == 3: self.enterOuterAlt(localctx, 3) - self.state = 842 + self.state = 843 self.identifier() pass @@ -6249,17 +6258,17 @@ def withExprList(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 845 + self.state = 846 self.withExpr() - self.state = 850 + self.state = 851 self._errHandler.sync(self) _la = self._input.LA(1) while _la==206: - self.state = 846 - self.match(HogQLParser.COMMA) self.state = 847 + self.match(HogQLParser.COMMA) + self.state = 848 self.withExpr() - self.state = 852 + self.state = 853 self._errHandler.sync(self) _la = self._input.LA(1) @@ -6343,32 +6352,32 @@ def withExpr(self): localctx = HogQLParser.WithExprContext(self, self._ctx, self.state) self.enterRule(localctx, 88, self.RULE_withExpr) try: - self.state = 863 + self.state = 864 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,103,self._ctx) if la_ == 1: localctx = HogQLParser.WithExprSubqueryContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 853 - self.identifier() self.state = 854 - self.match(HogQLParser.AS) + self.identifier() self.state = 855 - self.match(HogQLParser.LPAREN) + self.match(HogQLParser.AS) self.state = 856 - self.selectUnionStmt() + self.match(HogQLParser.LPAREN) self.state = 857 + self.selectUnionStmt() + self.state = 858 self.match(HogQLParser.RPAREN) pass elif la_ == 2: localctx = HogQLParser.WithExprColumnContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 859 - self.columnExpr(0) self.state = 860 - self.match(HogQLParser.AS) + self.columnExpr(0) self.state = 861 + self.match(HogQLParser.AS) + self.state = 862 self.identifier() pass @@ -6421,27 +6430,27 @@ def columnIdentifier(self): localctx = HogQLParser.ColumnIdentifierContext(self, self._ctx, self.state) self.enterRule(localctx, 90, self.RULE_columnIdentifier) try: - self.state = 872 + self.state = 873 self._errHandler.sync(self) token = self._input.LA(1) if token in [218]: self.enterOuterAlt(localctx, 1) - self.state = 865 + self.state = 866 self.placeholder() pass elif token in [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 114, 115, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 195]: self.enterOuterAlt(localctx, 2) - self.state = 869 + self.state = 870 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,104,self._ctx) if la_ == 1: - self.state = 866 - self.tableIdentifier() self.state = 867 + self.tableIdentifier() + self.state = 868 self.match(HogQLParser.DOT) - self.state = 871 + self.state = 872 self.nestedIdentifier() pass else: @@ -6494,18 +6503,18 @@ def nestedIdentifier(self): self.enterRule(localctx, 92, self.RULE_nestedIdentifier) try: self.enterOuterAlt(localctx, 1) - self.state = 874 + self.state = 875 self.identifier() - self.state = 879 + self.state = 880 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,106,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: - self.state = 875 - self.match(HogQLParser.DOT) self.state = 876 + self.match(HogQLParser.DOT) + self.state = 877 self.identifier() - self.state = 881 + self.state = 882 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,106,self._ctx) @@ -6658,7 +6667,7 @@ def tableExpr(self, _p:int=0): self.enterRecursionRule(localctx, 94, self.RULE_tableExpr, _p) try: self.enterOuterAlt(localctx, 1) - self.state = 891 + self.state = 892 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,107,self._ctx) if la_ == 1: @@ -6666,7 +6675,7 @@ def tableExpr(self, _p:int=0): self._ctx = localctx _prevctx = localctx - self.state = 883 + self.state = 884 self.tableIdentifier() pass @@ -6674,7 +6683,7 @@ def tableExpr(self, _p:int=0): localctx = HogQLParser.TableExprFunctionContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 884 + self.state = 885 self.tableFunctionExpr() pass @@ -6682,11 +6691,11 @@ def tableExpr(self, _p:int=0): localctx = HogQLParser.TableExprSubqueryContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 885 - self.match(HogQLParser.LPAREN) self.state = 886 - self.selectUnionStmt() + self.match(HogQLParser.LPAREN) self.state = 887 + self.selectUnionStmt() + self.state = 888 self.match(HogQLParser.RPAREN) pass @@ -6694,7 +6703,7 @@ def tableExpr(self, _p:int=0): localctx = HogQLParser.TableExprTagContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 889 + self.state = 890 self.hogqlxTagElement() pass @@ -6702,13 +6711,13 @@ def tableExpr(self, _p:int=0): localctx = HogQLParser.TableExprPlaceholderContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 890 + self.state = 891 self.placeholder() pass self._ctx.stop = self._input.LT(-1) - self.state = 901 + self.state = 902 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,109,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: @@ -6718,27 +6727,27 @@ def tableExpr(self, _p:int=0): _prevctx = localctx localctx = HogQLParser.TableExprAliasContext(self, HogQLParser.TableExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_tableExpr) - self.state = 893 + self.state = 894 if not self.precpred(self._ctx, 3): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 3)") - self.state = 897 + self.state = 898 self._errHandler.sync(self) token = self._input.LA(1) if token in [36, 62, 77, 91, 195]: - self.state = 894 + self.state = 895 self.alias() pass elif token in [10]: - self.state = 895 - self.match(HogQLParser.AS) self.state = 896 + self.match(HogQLParser.AS) + self.state = 897 self.identifier() pass else: raise NoViableAltException(self) - self.state = 903 + self.state = 904 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,109,self._ctx) @@ -6791,19 +6800,19 @@ def tableFunctionExpr(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 904 - self.identifier() self.state = 905 + self.identifier() + self.state = 906 self.match(HogQLParser.LPAREN) - self.state = 907 + self.state = 908 self._errHandler.sync(self) _la = self._input.LA(1) if (((_la) & ~0x3f) == 0 and ((1 << _la) & -33554436) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & -1) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & -9) != 0) or ((((_la - 192)) & ~0x3f) == 0 and ((1 << (_la - 192)) & 70263309817) != 0): - self.state = 906 + self.state = 907 self.tableArgList() - self.state = 909 + self.state = 910 self.match(HogQLParser.RPAREN) except RecognitionException as re: localctx.exception = re @@ -6850,17 +6859,17 @@ def tableIdentifier(self): self.enterRule(localctx, 98, self.RULE_tableIdentifier) try: self.enterOuterAlt(localctx, 1) - self.state = 914 + self.state = 915 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,111,self._ctx) if la_ == 1: - self.state = 911 - self.databaseIdentifier() self.state = 912 + self.databaseIdentifier() + self.state = 913 self.match(HogQLParser.DOT) - self.state = 916 + self.state = 917 self.identifier() except RecognitionException as re: localctx.exception = re @@ -6910,17 +6919,17 @@ def tableArgList(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 918 + self.state = 919 self.columnExpr(0) - self.state = 923 + self.state = 924 self._errHandler.sync(self) _la = self._input.LA(1) while _la==206: - self.state = 919 - self.match(HogQLParser.COMMA) self.state = 920 + self.match(HogQLParser.COMMA) + self.state = 921 self.columnExpr(0) - self.state = 925 + self.state = 926 self._errHandler.sync(self) _la = self._input.LA(1) @@ -6962,7 +6971,7 @@ def databaseIdentifier(self): self.enterRule(localctx, 102, self.RULE_databaseIdentifier) try: self.enterOuterAlt(localctx, 1) - self.state = 926 + self.state = 927 self.identifier() except RecognitionException as re: localctx.exception = re @@ -7013,19 +7022,19 @@ def floatingLiteral(self): self.enterRule(localctx, 104, self.RULE_floatingLiteral) self._la = 0 # Token type try: - self.state = 936 + self.state = 937 self._errHandler.sync(self) token = self._input.LA(1) if token in [196]: self.enterOuterAlt(localctx, 1) - self.state = 928 + self.state = 929 self.match(HogQLParser.FLOATING_LITERAL) pass elif token in [210]: self.enterOuterAlt(localctx, 2) - self.state = 929 - self.match(HogQLParser.DOT) self.state = 930 + self.match(HogQLParser.DOT) + self.state = 931 _la = self._input.LA(1) if not(_la==197 or _la==198): self._errHandler.recoverInline(self) @@ -7035,15 +7044,15 @@ def floatingLiteral(self): pass elif token in [198]: self.enterOuterAlt(localctx, 3) - self.state = 931 - self.match(HogQLParser.DECIMAL_LITERAL) self.state = 932 + self.match(HogQLParser.DECIMAL_LITERAL) + self.state = 933 self.match(HogQLParser.DOT) - self.state = 934 + self.state = 935 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,113,self._ctx) if la_ == 1: - self.state = 933 + self.state = 934 _la = self._input.LA(1) if not(_la==197 or _la==198): self._errHandler.recoverInline(self) @@ -7116,11 +7125,11 @@ def numberLiteral(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 939 + self.state = 940 self._errHandler.sync(self) _la = self._input.LA(1) if _la==208 or _la==228: - self.state = 938 + self.state = 939 _la = self._input.LA(1) if not(_la==208 or _la==228): self._errHandler.recoverInline(self) @@ -7129,36 +7138,36 @@ def numberLiteral(self): self.consume() - self.state = 947 + self.state = 948 self._errHandler.sync(self) la_ = self._interp.adaptivePredict(self._input,116,self._ctx) if la_ == 1: - self.state = 941 + self.state = 942 self.floatingLiteral() pass elif la_ == 2: - self.state = 942 + self.state = 943 self.match(HogQLParser.OCTAL_LITERAL) pass elif la_ == 3: - self.state = 943 + self.state = 944 self.match(HogQLParser.DECIMAL_LITERAL) pass elif la_ == 4: - self.state = 944 + self.state = 945 self.match(HogQLParser.HEXADECIMAL_LITERAL) pass elif la_ == 5: - self.state = 945 + self.state = 946 self.match(HogQLParser.INF) pass elif la_ == 6: - self.state = 946 + self.state = 947 self.match(HogQLParser.NAN_SQL) pass @@ -7206,22 +7215,22 @@ def literal(self): localctx = HogQLParser.LiteralContext(self, self._ctx, self.state) self.enterRule(localctx, 108, self.RULE_literal) try: - self.state = 952 + self.state = 953 self._errHandler.sync(self) token = self._input.LA(1) if token in [82, 113, 196, 197, 198, 199, 208, 210, 228]: self.enterOuterAlt(localctx, 1) - self.state = 949 + self.state = 950 self.numberLiteral() pass elif token in [200]: self.enterOuterAlt(localctx, 2) - self.state = 950 + self.state = 951 self.match(HogQLParser.STRING_LITERAL) pass elif token in [116]: self.enterOuterAlt(localctx, 3) - self.state = 951 + self.state = 952 self.match(HogQLParser.NULL_SQL) pass else: @@ -7286,7 +7295,7 @@ def interval(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 954 + self.state = 955 _la = self._input.LA(1) if not(_la==37 or ((((_la - 76)) & ~0x3f) == 0 and ((1 << (_la - 76)) & 72057615512764417) != 0) or ((((_la - 145)) & ~0x3f) == 0 and ((1 << (_la - 145)) & 36283883716609) != 0)): self._errHandler.recoverInline(self) @@ -7862,7 +7871,7 @@ def keyword(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 956 + self.state = 957 _la = self._input.LA(1) if not(((((_la - 2)) & ~0x3f) == 0 and ((1 << (_la - 2)) & -34368126977) != 0) or ((((_la - 66)) & ~0x3f) == 0 and ((1 << (_la - 66)) & -1288627627820033) != 0) or ((((_la - 130)) & ~0x3f) == 0 and ((1 << (_la - 130)) & 8034421735228932089) != 0)): self._errHandler.recoverInline(self) @@ -7916,7 +7925,7 @@ def keywordForAlias(self): self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 958 + self.state = 959 _la = self._input.LA(1) if not(((((_la - 36)) & ~0x3f) == 0 and ((1 << (_la - 36)) & 36030996109328385) != 0)): self._errHandler.recoverInline(self) @@ -7963,17 +7972,17 @@ def alias(self): localctx = HogQLParser.AliasContext(self, self._ctx, self.state) self.enterRule(localctx, 116, self.RULE_alias) try: - self.state = 962 + self.state = 963 self._errHandler.sync(self) token = self._input.LA(1) if token in [195]: self.enterOuterAlt(localctx, 1) - self.state = 960 + self.state = 961 self.match(HogQLParser.IDENTIFIER) pass elif token in [36, 62, 77, 91]: self.enterOuterAlt(localctx, 2) - self.state = 961 + self.state = 962 self.keywordForAlias() pass else: @@ -8023,22 +8032,22 @@ def identifier(self): localctx = HogQLParser.IdentifierContext(self, self._ctx, self.state) self.enterRule(localctx, 118, self.RULE_identifier) try: - self.state = 967 + self.state = 968 self._errHandler.sync(self) token = self._input.LA(1) if token in [195]: self.enterOuterAlt(localctx, 1) - self.state = 964 + self.state = 965 self.match(HogQLParser.IDENTIFIER) pass elif token in [37, 76, 108, 110, 132, 145, 185, 190]: self.enterOuterAlt(localctx, 2) - self.state = 965 + self.state = 966 self.interval() pass elif token in [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 109, 111, 112, 114, 115, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 186, 187, 188, 189, 191, 192]: self.enterOuterAlt(localctx, 3) - self.state = 966 + self.state = 967 self.keyword() pass else: @@ -8088,11 +8097,11 @@ def enumValue(self): self.enterRule(localctx, 120, self.RULE_enumValue) try: self.enterOuterAlt(localctx, 1) - self.state = 969 - self.match(HogQLParser.STRING_LITERAL) self.state = 970 - self.match(HogQLParser.EQ_SINGLE) + self.match(HogQLParser.STRING_LITERAL) self.state = 971 + self.match(HogQLParser.EQ_SINGLE) + self.state = 972 self.numberLiteral() except RecognitionException as re: localctx.exception = re @@ -8138,11 +8147,11 @@ def placeholder(self): self.enterRule(localctx, 122, self.RULE_placeholder) try: self.enterOuterAlt(localctx, 1) - self.state = 973 - self.match(HogQLParser.LBRACE) self.state = 974 - self.identifier() + self.match(HogQLParser.LBRACE) self.state = 975 + self.identifier() + self.state = 976 self.match(HogQLParser.RBRACE) except RecognitionException as re: localctx.exception = re diff --git a/posthog/hogql/parser.py b/posthog/hogql/parser.py index 2322746191b94..5067eb1cff785 100644 --- a/posthog/hogql/parser.py +++ b/posthog/hogql/parser.py @@ -172,6 +172,8 @@ def visitSelectUnionStmt(self, ctx: HogQLParser.SelectUnionStmtContext): flattened_queries.append(query) elif isinstance(query, ast.SelectUnionQuery): flattened_queries.extend(query.select_queries) + elif isinstance(query, ast.Placeholder): + flattened_queries.append(query) else: raise Exception(f"Unexpected query node type {type(query).__name__}") if len(flattened_queries) == 1: @@ -179,7 +181,7 @@ def visitSelectUnionStmt(self, ctx: HogQLParser.SelectUnionStmtContext): return ast.SelectUnionQuery(select_queries=flattened_queries) def visitSelectStmtWithParens(self, ctx: HogQLParser.SelectStmtWithParensContext): - return self.visit(ctx.selectStmt() or ctx.selectUnionStmt()) + return self.visit(ctx.selectStmt() or ctx.selectUnionStmt() or ctx.placeholder()) def visitSelectStmt(self, ctx: HogQLParser.SelectStmtContext): select_query = ast.SelectQuery( diff --git a/posthog/hogql/test/_test_parser.py b/posthog/hogql/test/_test_parser.py index 1071f10aa8a0f..5a4c45b533647 100644 --- a/posthog/hogql/test/_test_parser.py +++ b/posthog/hogql/test/_test_parser.py @@ -1467,7 +1467,7 @@ def test_malformed_sql(self): query = "SELEC 2" with self.assertRaisesMessage( SyntaxException, - "mismatched input 'SELEC' expecting {SELECT, WITH, '(', '<'}", + "mismatched input 'SELEC' expecting {SELECT, WITH, '{', '(', '<'}", ) as e: self._select(query) self.assertEqual(e.exception.start, 0) diff --git a/posthog/hogql/test/test_metadata.py b/posthog/hogql/test/test_metadata.py index 4e789cb136cfb..f2f95089334aa 100644 --- a/posthog/hogql/test/test_metadata.py +++ b/posthog/hogql/test/test_metadata.py @@ -79,7 +79,7 @@ def test_metadata_valid_expr_select(self): "inputSelect": "timestamp", "errors": [ { - "message": "mismatched input 'timestamp' expecting {SELECT, WITH, '(', '<'}", + "message": "mismatched input 'timestamp' expecting {SELECT, WITH, '{', '(', '<'}", "start": 0, "end": 9, "fix": None, diff --git a/posthog/hogql_queries/insights/stickiness_query_runner.py b/posthog/hogql_queries/insights/stickiness_query_runner.py index 83dc489df218c..80796d94649a9 100644 --- a/posthog/hogql_queries/insights/stickiness_query_runner.py +++ b/posthog/hogql_queries/insights/stickiness_query_runner.py @@ -125,7 +125,7 @@ def to_query(self) -> List[ast.SelectQuery]: # type: ignore SELECT 0 as aggregation_target, (number + 1) as num_intervals FROM numbers(dateDiff({interval}, {date_from} - {interval_subtract}, {date_to})) UNION ALL - SELECT * FROM ({events_query}) + {events_query} ) GROUP BY num_intervals ORDER BY num_intervals diff --git a/requirements.in b/requirements.in index 34b5f74f0a185..bf65772b8e01a 100644 --- a/requirements.in +++ b/requirements.in @@ -96,5 +96,5 @@ django-two-factor-auth==1.14.0 phonenumberslite==8.13.6 openai==0.27.8 nh3==0.2.14 -hogql-parser==1.0.2 +hogql-parser==1.0.3 urllib3[secure,socks]==1.26.18 diff --git a/requirements.txt b/requirements.txt index 5687cfc4afe91..d9e09e00e71dd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -280,7 +280,7 @@ h11==0.13.0 # via wsproto hexbytes==1.0.0 # via dlt -hogql-parser==1.0.2 +hogql-parser==1.0.3 # via -r requirements.in humanize==4.9.0 # via dlt