From a870ca06891afa498801d3dcd30dda9e53d3a00b Mon Sep 17 00:00:00 2001 From: mcDandy Date: Sat, 24 Jan 2026 11:46:57 +0100 Subject: [PATCH] add ability to declare custom variables --- README.md | 1 + more_math/Parser/MathExpr.g4 | 6 +- more_math/Parser/MathExpr.interp | 5 +- more_math/Parser/MathExpr.tokens | 46 +- more_math/Parser/MathExprLexer.interp | 5 +- more_math/Parser/MathExprLexer.py | 637 ++++----- more_math/Parser/MathExprLexer.tokens | 46 +- more_math/Parser/MathExprListener.py | 9 + more_math/Parser/MathExprParser.py | 1819 +++++++++++++----------- more_math/Parser/MathExprVisitor.py | 5 + more_math/Parser/UnifiedMathVisitor.py | 10 + 11 files changed, 1359 insertions(+), 1230 deletions(-) diff --git a/README.md b/README.md index 0a300c7..bbf0990 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ You can also get the node from comfy manager under the name of More math. - Nodes for FLOAT, CONDITIONING, LATENT, IMAGE, MASK, NOISE, AUDIO, VIDEO, MODEL, CLIP, VAE, SIGMAS and GUIDER - Vector Math: Support for List literals `[v1, v2, ...]` and operations between lists/scalars/tensors - Custom functions `funcname(variable,variable,...)->expression;` they can be used in any later defined custom function or in expression. Shadowing inbuilt functions do not work. +- Custom variables `varname=expression;` They must be between function definitions and expression an can be used in any later assigment or final expression. ## Operators diff --git a/more_math/Parser/MathExpr.g4 b/more_math/Parser/MathExpr.g4 index 1b0a293..be8b8b9 100644 --- a/more_math/Parser/MathExpr.g4 +++ b/more_math/Parser/MathExpr.g4 @@ -1,11 +1,14 @@ grammar MathExpr; // Top-level entry point -start: funcDef* expr EOF; +start: funcDef* varDef* expr EOF; funcDef: VARIABLE LPAREN paramList? RPAREN ARROW expr SEMICOLON # FunctionDef; +varDef: + VARIABLE EQUEALS expr SEMICOLON ; + paramList: VARIABLE (COMMA VARIABLE)*; expr: atom | compExpr; @@ -237,6 +240,7 @@ GT: '>'; LE: '<='; LT: '<'; EQ: '=='; +EQUEALS: '='; NE: '!='; PIPE: '|'; LPAREN: '('; diff --git a/more_math/Parser/MathExpr.interp b/more_math/Parser/MathExpr.interp index 18a8123..eec13bd 100644 --- a/more_math/Parser/MathExpr.interp +++ b/more_math/Parser/MathExpr.interp @@ -86,6 +86,7 @@ null '<=' '<' '==' +'=' '!=' '|' '(' @@ -188,6 +189,7 @@ GT LE LT EQ +EQUEALS NE PIPE LPAREN @@ -205,6 +207,7 @@ WS rule names: start funcDef +varDef paramList expr compExpr @@ -223,4 +226,4 @@ funcN atn: -[4, 1, 99, 689, 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, 1, 0, 5, 0, 36, 8, 0, 10, 0, 12, 0, 39, 9, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 3, 1, 47, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 5, 2, 57, 8, 2, 10, 2, 12, 2, 60, 9, 2, 1, 3, 1, 3, 3, 3, 64, 8, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 5, 4, 87, 8, 4, 10, 4, 12, 4, 90, 9, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 5, 5, 101, 8, 5, 10, 5, 12, 5, 104, 9, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 5, 6, 118, 8, 6, 10, 6, 12, 6, 121, 9, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 3, 7, 128, 8, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 135, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 5, 9, 145, 8, 9, 10, 9, 12, 9, 148, 9, 9, 1, 9, 1, 9, 5, 9, 152, 8, 9, 10, 9, 12, 9, 155, 9, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 177, 8, 10, 10, 10, 12, 10, 180, 9, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 3, 10, 187, 8, 10, 1, 10, 3, 10, 190, 8, 10, 1, 11, 1, 11, 1, 11, 5, 11, 195, 8, 11, 10, 11, 12, 11, 198, 9, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 3, 12, 410, 8, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 3, 13, 538, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 603, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 5, 16, 621, 8, 16, 10, 16, 12, 16, 624, 9, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 5, 16, 633, 8, 16, 10, 16, 12, 16, 636, 9, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 4, 16, 645, 8, 16, 11, 16, 12, 16, 646, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 4, 16, 656, 8, 16, 11, 16, 12, 16, 657, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 4, 16, 667, 8, 16, 11, 16, 12, 16, 668, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 3, 16, 687, 8, 16, 1, 16, 0, 4, 8, 10, 12, 18, 17, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 0, 0, 780, 0, 37, 1, 0, 0, 0, 2, 43, 1, 0, 0, 0, 4, 53, 1, 0, 0, 0, 6, 63, 1, 0, 0, 0, 8, 65, 1, 0, 0, 0, 10, 91, 1, 0, 0, 0, 12, 105, 1, 0, 0, 0, 14, 127, 1, 0, 0, 0, 16, 134, 1, 0, 0, 0, 18, 136, 1, 0, 0, 0, 20, 189, 1, 0, 0, 0, 22, 191, 1, 0, 0, 0, 24, 409, 1, 0, 0, 0, 26, 537, 1, 0, 0, 0, 28, 602, 1, 0, 0, 0, 30, 604, 1, 0, 0, 0, 32, 686, 1, 0, 0, 0, 34, 36, 3, 2, 1, 0, 35, 34, 1, 0, 0, 0, 36, 39, 1, 0, 0, 0, 37, 35, 1, 0, 0, 0, 37, 38, 1, 0, 0, 0, 38, 40, 1, 0, 0, 0, 39, 37, 1, 0, 0, 0, 40, 41, 3, 6, 3, 0, 41, 42, 5, 0, 0, 1, 42, 1, 1, 0, 0, 0, 43, 44, 5, 98, 0, 0, 44, 46, 5, 89, 0, 0, 45, 47, 3, 4, 2, 0, 46, 45, 1, 0, 0, 0, 46, 47, 1, 0, 0, 0, 47, 48, 1, 0, 0, 0, 48, 49, 5, 90, 0, 0, 49, 50, 5, 93, 0, 0, 50, 51, 3, 6, 3, 0, 51, 52, 5, 92, 0, 0, 52, 3, 1, 0, 0, 0, 53, 58, 5, 98, 0, 0, 54, 55, 5, 91, 0, 0, 55, 57, 5, 98, 0, 0, 56, 54, 1, 0, 0, 0, 57, 60, 1, 0, 0, 0, 58, 56, 1, 0, 0, 0, 58, 59, 1, 0, 0, 0, 59, 5, 1, 0, 0, 0, 60, 58, 1, 0, 0, 0, 61, 64, 3, 20, 10, 0, 62, 64, 3, 8, 4, 0, 63, 61, 1, 0, 0, 0, 63, 62, 1, 0, 0, 0, 64, 7, 1, 0, 0, 0, 65, 66, 6, 4, -1, 0, 66, 67, 3, 10, 5, 0, 67, 88, 1, 0, 0, 0, 68, 69, 10, 7, 0, 0, 69, 70, 5, 83, 0, 0, 70, 87, 3, 10, 5, 0, 71, 72, 10, 6, 0, 0, 72, 73, 5, 82, 0, 0, 73, 87, 3, 10, 5, 0, 74, 75, 10, 5, 0, 0, 75, 76, 5, 85, 0, 0, 76, 87, 3, 10, 5, 0, 77, 78, 10, 4, 0, 0, 78, 79, 5, 84, 0, 0, 79, 87, 3, 10, 5, 0, 80, 81, 10, 3, 0, 0, 81, 82, 5, 86, 0, 0, 82, 87, 3, 10, 5, 0, 83, 84, 10, 2, 0, 0, 84, 85, 5, 87, 0, 0, 85, 87, 3, 10, 5, 0, 86, 68, 1, 0, 0, 0, 86, 71, 1, 0, 0, 0, 86, 74, 1, 0, 0, 0, 86, 77, 1, 0, 0, 0, 86, 80, 1, 0, 0, 0, 86, 83, 1, 0, 0, 0, 87, 90, 1, 0, 0, 0, 88, 86, 1, 0, 0, 0, 88, 89, 1, 0, 0, 0, 89, 9, 1, 0, 0, 0, 90, 88, 1, 0, 0, 0, 91, 92, 6, 5, -1, 0, 92, 93, 3, 12, 6, 0, 93, 102, 1, 0, 0, 0, 94, 95, 10, 3, 0, 0, 95, 96, 5, 76, 0, 0, 96, 101, 3, 12, 6, 0, 97, 98, 10, 2, 0, 0, 98, 99, 5, 77, 0, 0, 99, 101, 3, 12, 6, 0, 100, 94, 1, 0, 0, 0, 100, 97, 1, 0, 0, 0, 101, 104, 1, 0, 0, 0, 102, 100, 1, 0, 0, 0, 102, 103, 1, 0, 0, 0, 103, 11, 1, 0, 0, 0, 104, 102, 1, 0, 0, 0, 105, 106, 6, 6, -1, 0, 106, 107, 3, 14, 7, 0, 107, 119, 1, 0, 0, 0, 108, 109, 10, 4, 0, 0, 109, 110, 5, 78, 0, 0, 110, 118, 3, 14, 7, 0, 111, 112, 10, 3, 0, 0, 112, 113, 5, 79, 0, 0, 113, 118, 3, 14, 7, 0, 114, 115, 10, 2, 0, 0, 115, 116, 5, 80, 0, 0, 116, 118, 3, 14, 7, 0, 117, 108, 1, 0, 0, 0, 117, 111, 1, 0, 0, 0, 117, 114, 1, 0, 0, 0, 118, 121, 1, 0, 0, 0, 119, 117, 1, 0, 0, 0, 119, 120, 1, 0, 0, 0, 120, 13, 1, 0, 0, 0, 121, 119, 1, 0, 0, 0, 122, 123, 3, 16, 8, 0, 123, 124, 5, 81, 0, 0, 124, 125, 3, 14, 7, 0, 125, 128, 1, 0, 0, 0, 126, 128, 3, 16, 8, 0, 127, 122, 1, 0, 0, 0, 127, 126, 1, 0, 0, 0, 128, 15, 1, 0, 0, 0, 129, 130, 5, 76, 0, 0, 130, 135, 3, 16, 8, 0, 131, 132, 5, 77, 0, 0, 132, 135, 3, 16, 8, 0, 133, 135, 3, 18, 9, 0, 134, 129, 1, 0, 0, 0, 134, 131, 1, 0, 0, 0, 134, 133, 1, 0, 0, 0, 135, 17, 1, 0, 0, 0, 136, 137, 6, 9, -1, 0, 137, 138, 3, 20, 10, 0, 138, 153, 1, 0, 0, 0, 139, 140, 10, 2, 0, 0, 140, 141, 5, 94, 0, 0, 141, 146, 3, 6, 3, 0, 142, 143, 5, 91, 0, 0, 143, 145, 3, 6, 3, 0, 144, 142, 1, 0, 0, 0, 145, 148, 1, 0, 0, 0, 146, 144, 1, 0, 0, 0, 146, 147, 1, 0, 0, 0, 147, 149, 1, 0, 0, 0, 148, 146, 1, 0, 0, 0, 149, 150, 5, 95, 0, 0, 150, 152, 1, 0, 0, 0, 151, 139, 1, 0, 0, 0, 152, 155, 1, 0, 0, 0, 153, 151, 1, 0, 0, 0, 153, 154, 1, 0, 0, 0, 154, 19, 1, 0, 0, 0, 155, 153, 1, 0, 0, 0, 156, 190, 3, 24, 12, 0, 157, 190, 3, 26, 13, 0, 158, 190, 3, 28, 14, 0, 159, 190, 3, 30, 15, 0, 160, 190, 3, 32, 16, 0, 161, 190, 5, 98, 0, 0, 162, 190, 5, 97, 0, 0, 163, 190, 5, 96, 0, 0, 164, 165, 5, 89, 0, 0, 165, 166, 3, 6, 3, 0, 166, 167, 5, 90, 0, 0, 167, 190, 1, 0, 0, 0, 168, 169, 5, 88, 0, 0, 169, 170, 3, 6, 3, 0, 170, 171, 5, 88, 0, 0, 171, 190, 1, 0, 0, 0, 172, 173, 5, 94, 0, 0, 173, 178, 3, 6, 3, 0, 174, 175, 5, 91, 0, 0, 175, 177, 3, 6, 3, 0, 176, 174, 1, 0, 0, 0, 177, 180, 1, 0, 0, 0, 178, 176, 1, 0, 0, 0, 178, 179, 1, 0, 0, 0, 179, 181, 1, 0, 0, 0, 180, 178, 1, 0, 0, 0, 181, 182, 5, 95, 0, 0, 182, 190, 1, 0, 0, 0, 183, 184, 5, 98, 0, 0, 184, 186, 5, 89, 0, 0, 185, 187, 3, 22, 11, 0, 186, 185, 1, 0, 0, 0, 186, 187, 1, 0, 0, 0, 187, 188, 1, 0, 0, 0, 188, 190, 5, 90, 0, 0, 189, 156, 1, 0, 0, 0, 189, 157, 1, 0, 0, 0, 189, 158, 1, 0, 0, 0, 189, 159, 1, 0, 0, 0, 189, 160, 1, 0, 0, 0, 189, 161, 1, 0, 0, 0, 189, 162, 1, 0, 0, 0, 189, 163, 1, 0, 0, 0, 189, 164, 1, 0, 0, 0, 189, 168, 1, 0, 0, 0, 189, 172, 1, 0, 0, 0, 189, 183, 1, 0, 0, 0, 190, 21, 1, 0, 0, 0, 191, 196, 3, 6, 3, 0, 192, 193, 5, 91, 0, 0, 193, 195, 3, 6, 3, 0, 194, 192, 1, 0, 0, 0, 195, 198, 1, 0, 0, 0, 196, 194, 1, 0, 0, 0, 196, 197, 1, 0, 0, 0, 197, 23, 1, 0, 0, 0, 198, 196, 1, 0, 0, 0, 199, 200, 5, 1, 0, 0, 200, 201, 5, 89, 0, 0, 201, 202, 3, 6, 3, 0, 202, 203, 5, 90, 0, 0, 203, 410, 1, 0, 0, 0, 204, 205, 5, 2, 0, 0, 205, 206, 5, 89, 0, 0, 206, 207, 3, 6, 3, 0, 207, 208, 5, 90, 0, 0, 208, 410, 1, 0, 0, 0, 209, 210, 5, 3, 0, 0, 210, 211, 5, 89, 0, 0, 211, 212, 3, 6, 3, 0, 212, 213, 5, 90, 0, 0, 213, 410, 1, 0, 0, 0, 214, 215, 5, 4, 0, 0, 215, 216, 5, 89, 0, 0, 216, 217, 3, 6, 3, 0, 217, 218, 5, 90, 0, 0, 218, 410, 1, 0, 0, 0, 219, 220, 5, 5, 0, 0, 220, 221, 5, 89, 0, 0, 221, 222, 3, 6, 3, 0, 222, 223, 5, 90, 0, 0, 223, 410, 1, 0, 0, 0, 224, 225, 5, 6, 0, 0, 225, 226, 5, 89, 0, 0, 226, 227, 3, 6, 3, 0, 227, 228, 5, 90, 0, 0, 228, 410, 1, 0, 0, 0, 229, 230, 5, 8, 0, 0, 230, 231, 5, 89, 0, 0, 231, 232, 3, 6, 3, 0, 232, 233, 5, 90, 0, 0, 233, 410, 1, 0, 0, 0, 234, 235, 5, 9, 0, 0, 235, 236, 5, 89, 0, 0, 236, 237, 3, 6, 3, 0, 237, 238, 5, 90, 0, 0, 238, 410, 1, 0, 0, 0, 239, 240, 5, 10, 0, 0, 240, 241, 5, 89, 0, 0, 241, 242, 3, 6, 3, 0, 242, 243, 5, 90, 0, 0, 243, 410, 1, 0, 0, 0, 244, 245, 5, 11, 0, 0, 245, 246, 5, 89, 0, 0, 246, 247, 3, 6, 3, 0, 247, 248, 5, 90, 0, 0, 248, 410, 1, 0, 0, 0, 249, 250, 5, 12, 0, 0, 250, 251, 5, 89, 0, 0, 251, 252, 3, 6, 3, 0, 252, 253, 5, 90, 0, 0, 253, 410, 1, 0, 0, 0, 254, 255, 5, 13, 0, 0, 255, 256, 5, 89, 0, 0, 256, 257, 3, 6, 3, 0, 257, 258, 5, 90, 0, 0, 258, 410, 1, 0, 0, 0, 259, 260, 5, 14, 0, 0, 260, 261, 5, 89, 0, 0, 261, 262, 3, 6, 3, 0, 262, 263, 5, 90, 0, 0, 263, 410, 1, 0, 0, 0, 264, 265, 5, 15, 0, 0, 265, 266, 5, 89, 0, 0, 266, 267, 3, 6, 3, 0, 267, 268, 5, 90, 0, 0, 268, 410, 1, 0, 0, 0, 269, 270, 5, 16, 0, 0, 270, 271, 5, 89, 0, 0, 271, 272, 3, 6, 3, 0, 272, 273, 5, 90, 0, 0, 273, 410, 1, 0, 0, 0, 274, 275, 5, 17, 0, 0, 275, 276, 5, 89, 0, 0, 276, 277, 3, 6, 3, 0, 277, 278, 5, 90, 0, 0, 278, 410, 1, 0, 0, 0, 279, 280, 5, 18, 0, 0, 280, 281, 5, 89, 0, 0, 281, 282, 3, 6, 3, 0, 282, 283, 5, 90, 0, 0, 283, 410, 1, 0, 0, 0, 284, 285, 5, 23, 0, 0, 285, 286, 5, 89, 0, 0, 286, 287, 3, 6, 3, 0, 287, 288, 5, 90, 0, 0, 288, 410, 1, 0, 0, 0, 289, 290, 5, 24, 0, 0, 290, 291, 5, 89, 0, 0, 291, 292, 3, 6, 3, 0, 292, 293, 5, 90, 0, 0, 293, 410, 1, 0, 0, 0, 294, 295, 5, 25, 0, 0, 295, 296, 5, 89, 0, 0, 296, 297, 3, 6, 3, 0, 297, 298, 5, 90, 0, 0, 298, 410, 1, 0, 0, 0, 299, 300, 5, 26, 0, 0, 300, 301, 5, 89, 0, 0, 301, 302, 3, 6, 3, 0, 302, 303, 5, 90, 0, 0, 303, 410, 1, 0, 0, 0, 304, 305, 5, 27, 0, 0, 305, 306, 5, 89, 0, 0, 306, 307, 3, 6, 3, 0, 307, 308, 5, 90, 0, 0, 308, 410, 1, 0, 0, 0, 309, 310, 5, 28, 0, 0, 310, 311, 5, 89, 0, 0, 311, 312, 3, 6, 3, 0, 312, 313, 5, 90, 0, 0, 313, 410, 1, 0, 0, 0, 314, 315, 5, 30, 0, 0, 315, 316, 5, 89, 0, 0, 316, 317, 3, 6, 3, 0, 317, 318, 5, 90, 0, 0, 318, 410, 1, 0, 0, 0, 319, 320, 5, 32, 0, 0, 320, 321, 5, 89, 0, 0, 321, 322, 3, 6, 3, 0, 322, 323, 5, 90, 0, 0, 323, 410, 1, 0, 0, 0, 324, 325, 5, 33, 0, 0, 325, 326, 5, 89, 0, 0, 326, 327, 3, 6, 3, 0, 327, 328, 5, 90, 0, 0, 328, 410, 1, 0, 0, 0, 329, 330, 5, 34, 0, 0, 330, 331, 5, 89, 0, 0, 331, 332, 3, 6, 3, 0, 332, 333, 5, 90, 0, 0, 333, 410, 1, 0, 0, 0, 334, 335, 5, 35, 0, 0, 335, 336, 5, 89, 0, 0, 336, 337, 3, 6, 3, 0, 337, 338, 5, 90, 0, 0, 338, 410, 1, 0, 0, 0, 339, 340, 5, 40, 0, 0, 340, 341, 5, 89, 0, 0, 341, 342, 3, 6, 3, 0, 342, 343, 5, 90, 0, 0, 343, 410, 1, 0, 0, 0, 344, 345, 5, 41, 0, 0, 345, 346, 5, 89, 0, 0, 346, 347, 3, 6, 3, 0, 347, 348, 5, 90, 0, 0, 348, 410, 1, 0, 0, 0, 349, 350, 5, 42, 0, 0, 350, 351, 5, 89, 0, 0, 351, 352, 3, 6, 3, 0, 352, 353, 5, 90, 0, 0, 353, 410, 1, 0, 0, 0, 354, 355, 5, 43, 0, 0, 355, 356, 5, 89, 0, 0, 356, 357, 3, 6, 3, 0, 357, 358, 5, 90, 0, 0, 358, 410, 1, 0, 0, 0, 359, 360, 5, 44, 0, 0, 360, 361, 5, 89, 0, 0, 361, 362, 3, 6, 3, 0, 362, 363, 5, 90, 0, 0, 363, 410, 1, 0, 0, 0, 364, 365, 5, 36, 0, 0, 365, 366, 5, 89, 0, 0, 366, 367, 3, 6, 3, 0, 367, 368, 5, 90, 0, 0, 368, 410, 1, 0, 0, 0, 369, 370, 5, 54, 0, 0, 370, 371, 5, 89, 0, 0, 371, 372, 3, 6, 3, 0, 372, 373, 5, 90, 0, 0, 373, 410, 1, 0, 0, 0, 374, 375, 5, 55, 0, 0, 375, 376, 5, 89, 0, 0, 376, 377, 3, 6, 3, 0, 377, 378, 5, 90, 0, 0, 378, 410, 1, 0, 0, 0, 379, 380, 5, 56, 0, 0, 380, 381, 5, 89, 0, 0, 381, 382, 3, 6, 3, 0, 382, 383, 5, 90, 0, 0, 383, 410, 1, 0, 0, 0, 384, 385, 5, 57, 0, 0, 385, 386, 5, 89, 0, 0, 386, 387, 3, 6, 3, 0, 387, 388, 5, 90, 0, 0, 388, 410, 1, 0, 0, 0, 389, 390, 5, 58, 0, 0, 390, 391, 5, 89, 0, 0, 391, 392, 3, 6, 3, 0, 392, 393, 5, 90, 0, 0, 393, 410, 1, 0, 0, 0, 394, 395, 5, 74, 0, 0, 395, 396, 5, 89, 0, 0, 396, 397, 3, 6, 3, 0, 397, 398, 5, 90, 0, 0, 398, 410, 1, 0, 0, 0, 399, 400, 5, 64, 0, 0, 400, 401, 5, 89, 0, 0, 401, 402, 3, 6, 3, 0, 402, 403, 5, 90, 0, 0, 403, 410, 1, 0, 0, 0, 404, 405, 5, 65, 0, 0, 405, 406, 5, 89, 0, 0, 406, 407, 3, 6, 3, 0, 407, 408, 5, 90, 0, 0, 408, 410, 1, 0, 0, 0, 409, 199, 1, 0, 0, 0, 409, 204, 1, 0, 0, 0, 409, 209, 1, 0, 0, 0, 409, 214, 1, 0, 0, 0, 409, 219, 1, 0, 0, 0, 409, 224, 1, 0, 0, 0, 409, 229, 1, 0, 0, 0, 409, 234, 1, 0, 0, 0, 409, 239, 1, 0, 0, 0, 409, 244, 1, 0, 0, 0, 409, 249, 1, 0, 0, 0, 409, 254, 1, 0, 0, 0, 409, 259, 1, 0, 0, 0, 409, 264, 1, 0, 0, 0, 409, 269, 1, 0, 0, 0, 409, 274, 1, 0, 0, 0, 409, 279, 1, 0, 0, 0, 409, 284, 1, 0, 0, 0, 409, 289, 1, 0, 0, 0, 409, 294, 1, 0, 0, 0, 409, 299, 1, 0, 0, 0, 409, 304, 1, 0, 0, 0, 409, 309, 1, 0, 0, 0, 409, 314, 1, 0, 0, 0, 409, 319, 1, 0, 0, 0, 409, 324, 1, 0, 0, 0, 409, 329, 1, 0, 0, 0, 409, 334, 1, 0, 0, 0, 409, 339, 1, 0, 0, 0, 409, 344, 1, 0, 0, 0, 409, 349, 1, 0, 0, 0, 409, 354, 1, 0, 0, 0, 409, 359, 1, 0, 0, 0, 409, 364, 1, 0, 0, 0, 409, 369, 1, 0, 0, 0, 409, 374, 1, 0, 0, 0, 409, 379, 1, 0, 0, 0, 409, 384, 1, 0, 0, 0, 409, 389, 1, 0, 0, 0, 409, 394, 1, 0, 0, 0, 409, 399, 1, 0, 0, 0, 409, 404, 1, 0, 0, 0, 410, 25, 1, 0, 0, 0, 411, 412, 5, 29, 0, 0, 412, 413, 5, 89, 0, 0, 413, 414, 3, 6, 3, 0, 414, 415, 5, 91, 0, 0, 415, 416, 3, 6, 3, 0, 416, 417, 5, 90, 0, 0, 417, 538, 1, 0, 0, 0, 418, 419, 5, 7, 0, 0, 419, 420, 5, 89, 0, 0, 420, 421, 3, 6, 3, 0, 421, 422, 5, 91, 0, 0, 422, 423, 3, 6, 3, 0, 423, 424, 5, 90, 0, 0, 424, 538, 1, 0, 0, 0, 425, 426, 5, 21, 0, 0, 426, 427, 5, 89, 0, 0, 427, 428, 3, 6, 3, 0, 428, 429, 5, 91, 0, 0, 429, 430, 3, 6, 3, 0, 430, 431, 5, 90, 0, 0, 431, 538, 1, 0, 0, 0, 432, 433, 5, 22, 0, 0, 433, 434, 5, 89, 0, 0, 434, 435, 3, 6, 3, 0, 435, 436, 5, 91, 0, 0, 436, 437, 3, 6, 3, 0, 437, 438, 5, 90, 0, 0, 438, 538, 1, 0, 0, 0, 439, 440, 5, 38, 0, 0, 440, 441, 5, 89, 0, 0, 441, 442, 3, 6, 3, 0, 442, 443, 5, 91, 0, 0, 443, 444, 3, 6, 3, 0, 444, 445, 5, 90, 0, 0, 445, 538, 1, 0, 0, 0, 446, 447, 5, 52, 0, 0, 447, 448, 5, 89, 0, 0, 448, 449, 3, 6, 3, 0, 449, 450, 5, 91, 0, 0, 450, 451, 3, 6, 3, 0, 451, 452, 5, 90, 0, 0, 452, 538, 1, 0, 0, 0, 453, 454, 5, 53, 0, 0, 454, 455, 5, 89, 0, 0, 455, 456, 3, 6, 3, 0, 456, 457, 5, 91, 0, 0, 457, 458, 3, 6, 3, 0, 458, 459, 5, 90, 0, 0, 459, 538, 1, 0, 0, 0, 460, 461, 5, 59, 0, 0, 461, 462, 5, 89, 0, 0, 462, 463, 3, 6, 3, 0, 463, 464, 5, 91, 0, 0, 464, 465, 3, 6, 3, 0, 465, 466, 5, 90, 0, 0, 466, 538, 1, 0, 0, 0, 467, 468, 5, 60, 0, 0, 468, 469, 5, 89, 0, 0, 469, 470, 3, 6, 3, 0, 470, 471, 5, 91, 0, 0, 471, 472, 3, 6, 3, 0, 472, 473, 5, 90, 0, 0, 473, 538, 1, 0, 0, 0, 474, 475, 5, 61, 0, 0, 475, 476, 5, 89, 0, 0, 476, 477, 3, 6, 3, 0, 477, 478, 5, 91, 0, 0, 478, 479, 3, 6, 3, 0, 479, 480, 5, 90, 0, 0, 480, 538, 1, 0, 0, 0, 481, 482, 5, 62, 0, 0, 482, 483, 5, 89, 0, 0, 483, 484, 3, 6, 3, 0, 484, 485, 5, 91, 0, 0, 485, 486, 3, 6, 3, 0, 486, 487, 5, 90, 0, 0, 487, 538, 1, 0, 0, 0, 488, 489, 5, 71, 0, 0, 489, 490, 5, 89, 0, 0, 490, 491, 3, 6, 3, 0, 491, 492, 5, 91, 0, 0, 492, 493, 3, 6, 3, 0, 493, 494, 5, 90, 0, 0, 494, 538, 1, 0, 0, 0, 495, 496, 5, 72, 0, 0, 496, 497, 5, 89, 0, 0, 497, 498, 3, 6, 3, 0, 498, 499, 5, 91, 0, 0, 499, 500, 3, 6, 3, 0, 500, 501, 5, 90, 0, 0, 501, 538, 1, 0, 0, 0, 502, 503, 5, 73, 0, 0, 503, 504, 5, 89, 0, 0, 504, 505, 3, 6, 3, 0, 505, 506, 5, 91, 0, 0, 506, 507, 3, 6, 3, 0, 507, 508, 5, 90, 0, 0, 508, 538, 1, 0, 0, 0, 509, 510, 5, 75, 0, 0, 510, 511, 5, 89, 0, 0, 511, 512, 3, 6, 3, 0, 512, 513, 5, 91, 0, 0, 513, 514, 3, 6, 3, 0, 514, 515, 5, 90, 0, 0, 515, 538, 1, 0, 0, 0, 516, 517, 5, 67, 0, 0, 517, 518, 5, 89, 0, 0, 518, 519, 3, 6, 3, 0, 519, 520, 5, 91, 0, 0, 520, 521, 3, 6, 3, 0, 521, 522, 5, 90, 0, 0, 522, 538, 1, 0, 0, 0, 523, 524, 5, 69, 0, 0, 524, 525, 5, 89, 0, 0, 525, 526, 3, 6, 3, 0, 526, 527, 5, 91, 0, 0, 527, 528, 3, 6, 3, 0, 528, 529, 5, 90, 0, 0, 529, 538, 1, 0, 0, 0, 530, 531, 5, 70, 0, 0, 531, 532, 5, 89, 0, 0, 532, 533, 3, 6, 3, 0, 533, 534, 5, 91, 0, 0, 534, 535, 3, 6, 3, 0, 535, 536, 5, 90, 0, 0, 536, 538, 1, 0, 0, 0, 537, 411, 1, 0, 0, 0, 537, 418, 1, 0, 0, 0, 537, 425, 1, 0, 0, 0, 537, 432, 1, 0, 0, 0, 537, 439, 1, 0, 0, 0, 537, 446, 1, 0, 0, 0, 537, 453, 1, 0, 0, 0, 537, 460, 1, 0, 0, 0, 537, 467, 1, 0, 0, 0, 537, 474, 1, 0, 0, 0, 537, 481, 1, 0, 0, 0, 537, 488, 1, 0, 0, 0, 537, 495, 1, 0, 0, 0, 537, 502, 1, 0, 0, 0, 537, 509, 1, 0, 0, 0, 537, 516, 1, 0, 0, 0, 537, 523, 1, 0, 0, 0, 537, 530, 1, 0, 0, 0, 538, 27, 1, 0, 0, 0, 539, 540, 5, 31, 0, 0, 540, 541, 5, 89, 0, 0, 541, 542, 3, 6, 3, 0, 542, 543, 5, 91, 0, 0, 543, 544, 3, 6, 3, 0, 544, 545, 5, 91, 0, 0, 545, 546, 3, 6, 3, 0, 546, 547, 5, 90, 0, 0, 547, 603, 1, 0, 0, 0, 548, 549, 5, 37, 0, 0, 549, 550, 5, 89, 0, 0, 550, 551, 3, 6, 3, 0, 551, 552, 5, 91, 0, 0, 552, 553, 3, 6, 3, 0, 553, 554, 5, 91, 0, 0, 554, 555, 3, 6, 3, 0, 555, 556, 5, 90, 0, 0, 556, 603, 1, 0, 0, 0, 557, 558, 5, 39, 0, 0, 558, 559, 5, 89, 0, 0, 559, 560, 3, 6, 3, 0, 560, 561, 5, 91, 0, 0, 561, 562, 3, 6, 3, 0, 562, 563, 5, 91, 0, 0, 563, 564, 3, 6, 3, 0, 564, 565, 5, 90, 0, 0, 565, 603, 1, 0, 0, 0, 566, 567, 5, 51, 0, 0, 567, 568, 5, 89, 0, 0, 568, 569, 3, 6, 3, 0, 569, 570, 5, 91, 0, 0, 570, 571, 3, 6, 3, 0, 571, 572, 5, 91, 0, 0, 572, 573, 3, 6, 3, 0, 573, 574, 5, 90, 0, 0, 574, 603, 1, 0, 0, 0, 575, 576, 5, 63, 0, 0, 576, 577, 5, 89, 0, 0, 577, 578, 3, 6, 3, 0, 578, 579, 5, 91, 0, 0, 579, 580, 3, 6, 3, 0, 580, 581, 5, 91, 0, 0, 581, 582, 3, 6, 3, 0, 582, 583, 5, 90, 0, 0, 583, 603, 1, 0, 0, 0, 584, 585, 5, 66, 0, 0, 585, 586, 5, 89, 0, 0, 586, 587, 3, 6, 3, 0, 587, 588, 5, 91, 0, 0, 588, 589, 3, 6, 3, 0, 589, 590, 5, 91, 0, 0, 590, 591, 3, 6, 3, 0, 591, 592, 5, 90, 0, 0, 592, 603, 1, 0, 0, 0, 593, 594, 5, 68, 0, 0, 594, 595, 5, 89, 0, 0, 595, 596, 3, 6, 3, 0, 596, 597, 5, 91, 0, 0, 597, 598, 3, 6, 3, 0, 598, 599, 5, 91, 0, 0, 599, 600, 3, 6, 3, 0, 600, 601, 5, 90, 0, 0, 601, 603, 1, 0, 0, 0, 602, 539, 1, 0, 0, 0, 602, 548, 1, 0, 0, 0, 602, 557, 1, 0, 0, 0, 602, 566, 1, 0, 0, 0, 602, 575, 1, 0, 0, 0, 602, 584, 1, 0, 0, 0, 602, 593, 1, 0, 0, 0, 603, 29, 1, 0, 0, 0, 604, 605, 5, 48, 0, 0, 605, 606, 5, 89, 0, 0, 606, 607, 3, 6, 3, 0, 607, 608, 5, 91, 0, 0, 608, 609, 3, 6, 3, 0, 609, 610, 5, 91, 0, 0, 610, 611, 3, 6, 3, 0, 611, 612, 5, 91, 0, 0, 612, 613, 3, 6, 3, 0, 613, 614, 5, 90, 0, 0, 614, 31, 1, 0, 0, 0, 615, 616, 5, 19, 0, 0, 616, 617, 5, 89, 0, 0, 617, 622, 3, 6, 3, 0, 618, 619, 5, 91, 0, 0, 619, 621, 3, 6, 3, 0, 620, 618, 1, 0, 0, 0, 621, 624, 1, 0, 0, 0, 622, 620, 1, 0, 0, 0, 622, 623, 1, 0, 0, 0, 623, 625, 1, 0, 0, 0, 624, 622, 1, 0, 0, 0, 625, 626, 5, 90, 0, 0, 626, 687, 1, 0, 0, 0, 627, 628, 5, 20, 0, 0, 628, 629, 5, 89, 0, 0, 629, 634, 3, 6, 3, 0, 630, 631, 5, 91, 0, 0, 631, 633, 3, 6, 3, 0, 632, 630, 1, 0, 0, 0, 633, 636, 1, 0, 0, 0, 634, 632, 1, 0, 0, 0, 634, 635, 1, 0, 0, 0, 635, 637, 1, 0, 0, 0, 636, 634, 1, 0, 0, 0, 637, 638, 5, 90, 0, 0, 638, 687, 1, 0, 0, 0, 639, 640, 5, 45, 0, 0, 640, 641, 5, 89, 0, 0, 641, 644, 3, 6, 3, 0, 642, 643, 5, 91, 0, 0, 643, 645, 3, 6, 3, 0, 644, 642, 1, 0, 0, 0, 645, 646, 1, 0, 0, 0, 646, 644, 1, 0, 0, 0, 646, 647, 1, 0, 0, 0, 647, 648, 1, 0, 0, 0, 648, 649, 5, 90, 0, 0, 649, 687, 1, 0, 0, 0, 650, 651, 5, 46, 0, 0, 651, 652, 5, 89, 0, 0, 652, 655, 3, 6, 3, 0, 653, 654, 5, 91, 0, 0, 654, 656, 3, 6, 3, 0, 655, 653, 1, 0, 0, 0, 656, 657, 1, 0, 0, 0, 657, 655, 1, 0, 0, 0, 657, 658, 1, 0, 0, 0, 658, 659, 1, 0, 0, 0, 659, 660, 5, 90, 0, 0, 660, 687, 1, 0, 0, 0, 661, 662, 5, 47, 0, 0, 662, 663, 5, 89, 0, 0, 663, 666, 3, 6, 3, 0, 664, 665, 5, 91, 0, 0, 665, 667, 3, 6, 3, 0, 666, 664, 1, 0, 0, 0, 667, 668, 1, 0, 0, 0, 668, 666, 1, 0, 0, 0, 668, 669, 1, 0, 0, 0, 669, 670, 1, 0, 0, 0, 670, 671, 5, 90, 0, 0, 671, 687, 1, 0, 0, 0, 672, 673, 5, 49, 0, 0, 673, 674, 5, 89, 0, 0, 674, 675, 3, 6, 3, 0, 675, 676, 5, 91, 0, 0, 676, 677, 3, 6, 3, 0, 677, 678, 5, 90, 0, 0, 678, 687, 1, 0, 0, 0, 679, 680, 5, 50, 0, 0, 680, 681, 5, 89, 0, 0, 681, 682, 3, 6, 3, 0, 682, 683, 5, 91, 0, 0, 683, 684, 3, 6, 3, 0, 684, 685, 5, 90, 0, 0, 685, 687, 1, 0, 0, 0, 686, 615, 1, 0, 0, 0, 686, 627, 1, 0, 0, 0, 686, 639, 1, 0, 0, 0, 686, 650, 1, 0, 0, 0, 686, 661, 1, 0, 0, 0, 686, 672, 1, 0, 0, 0, 686, 679, 1, 0, 0, 0, 687, 33, 1, 0, 0, 0, 27, 37, 46, 58, 63, 86, 88, 100, 102, 117, 119, 127, 134, 146, 153, 178, 186, 189, 196, 409, 537, 602, 622, 634, 646, 657, 668, 686] \ No newline at end of file +[4, 1, 100, 702, 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, 1, 0, 5, 0, 38, 8, 0, 10, 0, 12, 0, 41, 9, 0, 1, 0, 5, 0, 44, 8, 0, 10, 0, 12, 0, 47, 9, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 3, 1, 55, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 5, 3, 70, 8, 3, 10, 3, 12, 3, 73, 9, 3, 1, 4, 1, 4, 3, 4, 77, 8, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 5, 5, 100, 8, 5, 10, 5, 12, 5, 103, 9, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 5, 6, 114, 8, 6, 10, 6, 12, 6, 117, 9, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 5, 7, 131, 8, 7, 10, 7, 12, 7, 134, 9, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 141, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 148, 8, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 158, 8, 10, 10, 10, 12, 10, 161, 9, 10, 1, 10, 1, 10, 5, 10, 165, 8, 10, 10, 10, 12, 10, 168, 9, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 5, 11, 190, 8, 11, 10, 11, 12, 11, 193, 9, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 3, 11, 200, 8, 11, 1, 11, 3, 11, 203, 8, 11, 1, 12, 1, 12, 1, 12, 5, 12, 208, 8, 12, 10, 12, 12, 12, 211, 9, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 3, 13, 423, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 551, 8, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 616, 8, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 5, 17, 634, 8, 17, 10, 17, 12, 17, 637, 9, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 5, 17, 646, 8, 17, 10, 17, 12, 17, 649, 9, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 4, 17, 658, 8, 17, 11, 17, 12, 17, 659, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 4, 17, 669, 8, 17, 11, 17, 12, 17, 670, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 4, 17, 680, 8, 17, 11, 17, 12, 17, 681, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 3, 17, 700, 8, 17, 1, 17, 0, 4, 10, 12, 14, 20, 18, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 0, 0, 793, 0, 39, 1, 0, 0, 0, 2, 51, 1, 0, 0, 0, 4, 61, 1, 0, 0, 0, 6, 66, 1, 0, 0, 0, 8, 76, 1, 0, 0, 0, 10, 78, 1, 0, 0, 0, 12, 104, 1, 0, 0, 0, 14, 118, 1, 0, 0, 0, 16, 140, 1, 0, 0, 0, 18, 147, 1, 0, 0, 0, 20, 149, 1, 0, 0, 0, 22, 202, 1, 0, 0, 0, 24, 204, 1, 0, 0, 0, 26, 422, 1, 0, 0, 0, 28, 550, 1, 0, 0, 0, 30, 615, 1, 0, 0, 0, 32, 617, 1, 0, 0, 0, 34, 699, 1, 0, 0, 0, 36, 38, 3, 2, 1, 0, 37, 36, 1, 0, 0, 0, 38, 41, 1, 0, 0, 0, 39, 37, 1, 0, 0, 0, 39, 40, 1, 0, 0, 0, 40, 45, 1, 0, 0, 0, 41, 39, 1, 0, 0, 0, 42, 44, 3, 4, 2, 0, 43, 42, 1, 0, 0, 0, 44, 47, 1, 0, 0, 0, 45, 43, 1, 0, 0, 0, 45, 46, 1, 0, 0, 0, 46, 48, 1, 0, 0, 0, 47, 45, 1, 0, 0, 0, 48, 49, 3, 8, 4, 0, 49, 50, 5, 0, 0, 1, 50, 1, 1, 0, 0, 0, 51, 52, 5, 99, 0, 0, 52, 54, 5, 90, 0, 0, 53, 55, 3, 6, 3, 0, 54, 53, 1, 0, 0, 0, 54, 55, 1, 0, 0, 0, 55, 56, 1, 0, 0, 0, 56, 57, 5, 91, 0, 0, 57, 58, 5, 94, 0, 0, 58, 59, 3, 8, 4, 0, 59, 60, 5, 93, 0, 0, 60, 3, 1, 0, 0, 0, 61, 62, 5, 99, 0, 0, 62, 63, 5, 87, 0, 0, 63, 64, 3, 8, 4, 0, 64, 65, 5, 93, 0, 0, 65, 5, 1, 0, 0, 0, 66, 71, 5, 99, 0, 0, 67, 68, 5, 92, 0, 0, 68, 70, 5, 99, 0, 0, 69, 67, 1, 0, 0, 0, 70, 73, 1, 0, 0, 0, 71, 69, 1, 0, 0, 0, 71, 72, 1, 0, 0, 0, 72, 7, 1, 0, 0, 0, 73, 71, 1, 0, 0, 0, 74, 77, 3, 22, 11, 0, 75, 77, 3, 10, 5, 0, 76, 74, 1, 0, 0, 0, 76, 75, 1, 0, 0, 0, 77, 9, 1, 0, 0, 0, 78, 79, 6, 5, -1, 0, 79, 80, 3, 12, 6, 0, 80, 101, 1, 0, 0, 0, 81, 82, 10, 7, 0, 0, 82, 83, 5, 83, 0, 0, 83, 100, 3, 12, 6, 0, 84, 85, 10, 6, 0, 0, 85, 86, 5, 82, 0, 0, 86, 100, 3, 12, 6, 0, 87, 88, 10, 5, 0, 0, 88, 89, 5, 85, 0, 0, 89, 100, 3, 12, 6, 0, 90, 91, 10, 4, 0, 0, 91, 92, 5, 84, 0, 0, 92, 100, 3, 12, 6, 0, 93, 94, 10, 3, 0, 0, 94, 95, 5, 86, 0, 0, 95, 100, 3, 12, 6, 0, 96, 97, 10, 2, 0, 0, 97, 98, 5, 88, 0, 0, 98, 100, 3, 12, 6, 0, 99, 81, 1, 0, 0, 0, 99, 84, 1, 0, 0, 0, 99, 87, 1, 0, 0, 0, 99, 90, 1, 0, 0, 0, 99, 93, 1, 0, 0, 0, 99, 96, 1, 0, 0, 0, 100, 103, 1, 0, 0, 0, 101, 99, 1, 0, 0, 0, 101, 102, 1, 0, 0, 0, 102, 11, 1, 0, 0, 0, 103, 101, 1, 0, 0, 0, 104, 105, 6, 6, -1, 0, 105, 106, 3, 14, 7, 0, 106, 115, 1, 0, 0, 0, 107, 108, 10, 3, 0, 0, 108, 109, 5, 76, 0, 0, 109, 114, 3, 14, 7, 0, 110, 111, 10, 2, 0, 0, 111, 112, 5, 77, 0, 0, 112, 114, 3, 14, 7, 0, 113, 107, 1, 0, 0, 0, 113, 110, 1, 0, 0, 0, 114, 117, 1, 0, 0, 0, 115, 113, 1, 0, 0, 0, 115, 116, 1, 0, 0, 0, 116, 13, 1, 0, 0, 0, 117, 115, 1, 0, 0, 0, 118, 119, 6, 7, -1, 0, 119, 120, 3, 16, 8, 0, 120, 132, 1, 0, 0, 0, 121, 122, 10, 4, 0, 0, 122, 123, 5, 78, 0, 0, 123, 131, 3, 16, 8, 0, 124, 125, 10, 3, 0, 0, 125, 126, 5, 79, 0, 0, 126, 131, 3, 16, 8, 0, 127, 128, 10, 2, 0, 0, 128, 129, 5, 80, 0, 0, 129, 131, 3, 16, 8, 0, 130, 121, 1, 0, 0, 0, 130, 124, 1, 0, 0, 0, 130, 127, 1, 0, 0, 0, 131, 134, 1, 0, 0, 0, 132, 130, 1, 0, 0, 0, 132, 133, 1, 0, 0, 0, 133, 15, 1, 0, 0, 0, 134, 132, 1, 0, 0, 0, 135, 136, 3, 18, 9, 0, 136, 137, 5, 81, 0, 0, 137, 138, 3, 16, 8, 0, 138, 141, 1, 0, 0, 0, 139, 141, 3, 18, 9, 0, 140, 135, 1, 0, 0, 0, 140, 139, 1, 0, 0, 0, 141, 17, 1, 0, 0, 0, 142, 143, 5, 76, 0, 0, 143, 148, 3, 18, 9, 0, 144, 145, 5, 77, 0, 0, 145, 148, 3, 18, 9, 0, 146, 148, 3, 20, 10, 0, 147, 142, 1, 0, 0, 0, 147, 144, 1, 0, 0, 0, 147, 146, 1, 0, 0, 0, 148, 19, 1, 0, 0, 0, 149, 150, 6, 10, -1, 0, 150, 151, 3, 22, 11, 0, 151, 166, 1, 0, 0, 0, 152, 153, 10, 2, 0, 0, 153, 154, 5, 95, 0, 0, 154, 159, 3, 8, 4, 0, 155, 156, 5, 92, 0, 0, 156, 158, 3, 8, 4, 0, 157, 155, 1, 0, 0, 0, 158, 161, 1, 0, 0, 0, 159, 157, 1, 0, 0, 0, 159, 160, 1, 0, 0, 0, 160, 162, 1, 0, 0, 0, 161, 159, 1, 0, 0, 0, 162, 163, 5, 96, 0, 0, 163, 165, 1, 0, 0, 0, 164, 152, 1, 0, 0, 0, 165, 168, 1, 0, 0, 0, 166, 164, 1, 0, 0, 0, 166, 167, 1, 0, 0, 0, 167, 21, 1, 0, 0, 0, 168, 166, 1, 0, 0, 0, 169, 203, 3, 26, 13, 0, 170, 203, 3, 28, 14, 0, 171, 203, 3, 30, 15, 0, 172, 203, 3, 32, 16, 0, 173, 203, 3, 34, 17, 0, 174, 203, 5, 99, 0, 0, 175, 203, 5, 98, 0, 0, 176, 203, 5, 97, 0, 0, 177, 178, 5, 90, 0, 0, 178, 179, 3, 8, 4, 0, 179, 180, 5, 91, 0, 0, 180, 203, 1, 0, 0, 0, 181, 182, 5, 89, 0, 0, 182, 183, 3, 8, 4, 0, 183, 184, 5, 89, 0, 0, 184, 203, 1, 0, 0, 0, 185, 186, 5, 95, 0, 0, 186, 191, 3, 8, 4, 0, 187, 188, 5, 92, 0, 0, 188, 190, 3, 8, 4, 0, 189, 187, 1, 0, 0, 0, 190, 193, 1, 0, 0, 0, 191, 189, 1, 0, 0, 0, 191, 192, 1, 0, 0, 0, 192, 194, 1, 0, 0, 0, 193, 191, 1, 0, 0, 0, 194, 195, 5, 96, 0, 0, 195, 203, 1, 0, 0, 0, 196, 197, 5, 99, 0, 0, 197, 199, 5, 90, 0, 0, 198, 200, 3, 24, 12, 0, 199, 198, 1, 0, 0, 0, 199, 200, 1, 0, 0, 0, 200, 201, 1, 0, 0, 0, 201, 203, 5, 91, 0, 0, 202, 169, 1, 0, 0, 0, 202, 170, 1, 0, 0, 0, 202, 171, 1, 0, 0, 0, 202, 172, 1, 0, 0, 0, 202, 173, 1, 0, 0, 0, 202, 174, 1, 0, 0, 0, 202, 175, 1, 0, 0, 0, 202, 176, 1, 0, 0, 0, 202, 177, 1, 0, 0, 0, 202, 181, 1, 0, 0, 0, 202, 185, 1, 0, 0, 0, 202, 196, 1, 0, 0, 0, 203, 23, 1, 0, 0, 0, 204, 209, 3, 8, 4, 0, 205, 206, 5, 92, 0, 0, 206, 208, 3, 8, 4, 0, 207, 205, 1, 0, 0, 0, 208, 211, 1, 0, 0, 0, 209, 207, 1, 0, 0, 0, 209, 210, 1, 0, 0, 0, 210, 25, 1, 0, 0, 0, 211, 209, 1, 0, 0, 0, 212, 213, 5, 1, 0, 0, 213, 214, 5, 90, 0, 0, 214, 215, 3, 8, 4, 0, 215, 216, 5, 91, 0, 0, 216, 423, 1, 0, 0, 0, 217, 218, 5, 2, 0, 0, 218, 219, 5, 90, 0, 0, 219, 220, 3, 8, 4, 0, 220, 221, 5, 91, 0, 0, 221, 423, 1, 0, 0, 0, 222, 223, 5, 3, 0, 0, 223, 224, 5, 90, 0, 0, 224, 225, 3, 8, 4, 0, 225, 226, 5, 91, 0, 0, 226, 423, 1, 0, 0, 0, 227, 228, 5, 4, 0, 0, 228, 229, 5, 90, 0, 0, 229, 230, 3, 8, 4, 0, 230, 231, 5, 91, 0, 0, 231, 423, 1, 0, 0, 0, 232, 233, 5, 5, 0, 0, 233, 234, 5, 90, 0, 0, 234, 235, 3, 8, 4, 0, 235, 236, 5, 91, 0, 0, 236, 423, 1, 0, 0, 0, 237, 238, 5, 6, 0, 0, 238, 239, 5, 90, 0, 0, 239, 240, 3, 8, 4, 0, 240, 241, 5, 91, 0, 0, 241, 423, 1, 0, 0, 0, 242, 243, 5, 8, 0, 0, 243, 244, 5, 90, 0, 0, 244, 245, 3, 8, 4, 0, 245, 246, 5, 91, 0, 0, 246, 423, 1, 0, 0, 0, 247, 248, 5, 9, 0, 0, 248, 249, 5, 90, 0, 0, 249, 250, 3, 8, 4, 0, 250, 251, 5, 91, 0, 0, 251, 423, 1, 0, 0, 0, 252, 253, 5, 10, 0, 0, 253, 254, 5, 90, 0, 0, 254, 255, 3, 8, 4, 0, 255, 256, 5, 91, 0, 0, 256, 423, 1, 0, 0, 0, 257, 258, 5, 11, 0, 0, 258, 259, 5, 90, 0, 0, 259, 260, 3, 8, 4, 0, 260, 261, 5, 91, 0, 0, 261, 423, 1, 0, 0, 0, 262, 263, 5, 12, 0, 0, 263, 264, 5, 90, 0, 0, 264, 265, 3, 8, 4, 0, 265, 266, 5, 91, 0, 0, 266, 423, 1, 0, 0, 0, 267, 268, 5, 13, 0, 0, 268, 269, 5, 90, 0, 0, 269, 270, 3, 8, 4, 0, 270, 271, 5, 91, 0, 0, 271, 423, 1, 0, 0, 0, 272, 273, 5, 14, 0, 0, 273, 274, 5, 90, 0, 0, 274, 275, 3, 8, 4, 0, 275, 276, 5, 91, 0, 0, 276, 423, 1, 0, 0, 0, 277, 278, 5, 15, 0, 0, 278, 279, 5, 90, 0, 0, 279, 280, 3, 8, 4, 0, 280, 281, 5, 91, 0, 0, 281, 423, 1, 0, 0, 0, 282, 283, 5, 16, 0, 0, 283, 284, 5, 90, 0, 0, 284, 285, 3, 8, 4, 0, 285, 286, 5, 91, 0, 0, 286, 423, 1, 0, 0, 0, 287, 288, 5, 17, 0, 0, 288, 289, 5, 90, 0, 0, 289, 290, 3, 8, 4, 0, 290, 291, 5, 91, 0, 0, 291, 423, 1, 0, 0, 0, 292, 293, 5, 18, 0, 0, 293, 294, 5, 90, 0, 0, 294, 295, 3, 8, 4, 0, 295, 296, 5, 91, 0, 0, 296, 423, 1, 0, 0, 0, 297, 298, 5, 23, 0, 0, 298, 299, 5, 90, 0, 0, 299, 300, 3, 8, 4, 0, 300, 301, 5, 91, 0, 0, 301, 423, 1, 0, 0, 0, 302, 303, 5, 24, 0, 0, 303, 304, 5, 90, 0, 0, 304, 305, 3, 8, 4, 0, 305, 306, 5, 91, 0, 0, 306, 423, 1, 0, 0, 0, 307, 308, 5, 25, 0, 0, 308, 309, 5, 90, 0, 0, 309, 310, 3, 8, 4, 0, 310, 311, 5, 91, 0, 0, 311, 423, 1, 0, 0, 0, 312, 313, 5, 26, 0, 0, 313, 314, 5, 90, 0, 0, 314, 315, 3, 8, 4, 0, 315, 316, 5, 91, 0, 0, 316, 423, 1, 0, 0, 0, 317, 318, 5, 27, 0, 0, 318, 319, 5, 90, 0, 0, 319, 320, 3, 8, 4, 0, 320, 321, 5, 91, 0, 0, 321, 423, 1, 0, 0, 0, 322, 323, 5, 28, 0, 0, 323, 324, 5, 90, 0, 0, 324, 325, 3, 8, 4, 0, 325, 326, 5, 91, 0, 0, 326, 423, 1, 0, 0, 0, 327, 328, 5, 30, 0, 0, 328, 329, 5, 90, 0, 0, 329, 330, 3, 8, 4, 0, 330, 331, 5, 91, 0, 0, 331, 423, 1, 0, 0, 0, 332, 333, 5, 32, 0, 0, 333, 334, 5, 90, 0, 0, 334, 335, 3, 8, 4, 0, 335, 336, 5, 91, 0, 0, 336, 423, 1, 0, 0, 0, 337, 338, 5, 33, 0, 0, 338, 339, 5, 90, 0, 0, 339, 340, 3, 8, 4, 0, 340, 341, 5, 91, 0, 0, 341, 423, 1, 0, 0, 0, 342, 343, 5, 34, 0, 0, 343, 344, 5, 90, 0, 0, 344, 345, 3, 8, 4, 0, 345, 346, 5, 91, 0, 0, 346, 423, 1, 0, 0, 0, 347, 348, 5, 35, 0, 0, 348, 349, 5, 90, 0, 0, 349, 350, 3, 8, 4, 0, 350, 351, 5, 91, 0, 0, 351, 423, 1, 0, 0, 0, 352, 353, 5, 40, 0, 0, 353, 354, 5, 90, 0, 0, 354, 355, 3, 8, 4, 0, 355, 356, 5, 91, 0, 0, 356, 423, 1, 0, 0, 0, 357, 358, 5, 41, 0, 0, 358, 359, 5, 90, 0, 0, 359, 360, 3, 8, 4, 0, 360, 361, 5, 91, 0, 0, 361, 423, 1, 0, 0, 0, 362, 363, 5, 42, 0, 0, 363, 364, 5, 90, 0, 0, 364, 365, 3, 8, 4, 0, 365, 366, 5, 91, 0, 0, 366, 423, 1, 0, 0, 0, 367, 368, 5, 43, 0, 0, 368, 369, 5, 90, 0, 0, 369, 370, 3, 8, 4, 0, 370, 371, 5, 91, 0, 0, 371, 423, 1, 0, 0, 0, 372, 373, 5, 44, 0, 0, 373, 374, 5, 90, 0, 0, 374, 375, 3, 8, 4, 0, 375, 376, 5, 91, 0, 0, 376, 423, 1, 0, 0, 0, 377, 378, 5, 36, 0, 0, 378, 379, 5, 90, 0, 0, 379, 380, 3, 8, 4, 0, 380, 381, 5, 91, 0, 0, 381, 423, 1, 0, 0, 0, 382, 383, 5, 54, 0, 0, 383, 384, 5, 90, 0, 0, 384, 385, 3, 8, 4, 0, 385, 386, 5, 91, 0, 0, 386, 423, 1, 0, 0, 0, 387, 388, 5, 55, 0, 0, 388, 389, 5, 90, 0, 0, 389, 390, 3, 8, 4, 0, 390, 391, 5, 91, 0, 0, 391, 423, 1, 0, 0, 0, 392, 393, 5, 56, 0, 0, 393, 394, 5, 90, 0, 0, 394, 395, 3, 8, 4, 0, 395, 396, 5, 91, 0, 0, 396, 423, 1, 0, 0, 0, 397, 398, 5, 57, 0, 0, 398, 399, 5, 90, 0, 0, 399, 400, 3, 8, 4, 0, 400, 401, 5, 91, 0, 0, 401, 423, 1, 0, 0, 0, 402, 403, 5, 58, 0, 0, 403, 404, 5, 90, 0, 0, 404, 405, 3, 8, 4, 0, 405, 406, 5, 91, 0, 0, 406, 423, 1, 0, 0, 0, 407, 408, 5, 74, 0, 0, 408, 409, 5, 90, 0, 0, 409, 410, 3, 8, 4, 0, 410, 411, 5, 91, 0, 0, 411, 423, 1, 0, 0, 0, 412, 413, 5, 64, 0, 0, 413, 414, 5, 90, 0, 0, 414, 415, 3, 8, 4, 0, 415, 416, 5, 91, 0, 0, 416, 423, 1, 0, 0, 0, 417, 418, 5, 65, 0, 0, 418, 419, 5, 90, 0, 0, 419, 420, 3, 8, 4, 0, 420, 421, 5, 91, 0, 0, 421, 423, 1, 0, 0, 0, 422, 212, 1, 0, 0, 0, 422, 217, 1, 0, 0, 0, 422, 222, 1, 0, 0, 0, 422, 227, 1, 0, 0, 0, 422, 232, 1, 0, 0, 0, 422, 237, 1, 0, 0, 0, 422, 242, 1, 0, 0, 0, 422, 247, 1, 0, 0, 0, 422, 252, 1, 0, 0, 0, 422, 257, 1, 0, 0, 0, 422, 262, 1, 0, 0, 0, 422, 267, 1, 0, 0, 0, 422, 272, 1, 0, 0, 0, 422, 277, 1, 0, 0, 0, 422, 282, 1, 0, 0, 0, 422, 287, 1, 0, 0, 0, 422, 292, 1, 0, 0, 0, 422, 297, 1, 0, 0, 0, 422, 302, 1, 0, 0, 0, 422, 307, 1, 0, 0, 0, 422, 312, 1, 0, 0, 0, 422, 317, 1, 0, 0, 0, 422, 322, 1, 0, 0, 0, 422, 327, 1, 0, 0, 0, 422, 332, 1, 0, 0, 0, 422, 337, 1, 0, 0, 0, 422, 342, 1, 0, 0, 0, 422, 347, 1, 0, 0, 0, 422, 352, 1, 0, 0, 0, 422, 357, 1, 0, 0, 0, 422, 362, 1, 0, 0, 0, 422, 367, 1, 0, 0, 0, 422, 372, 1, 0, 0, 0, 422, 377, 1, 0, 0, 0, 422, 382, 1, 0, 0, 0, 422, 387, 1, 0, 0, 0, 422, 392, 1, 0, 0, 0, 422, 397, 1, 0, 0, 0, 422, 402, 1, 0, 0, 0, 422, 407, 1, 0, 0, 0, 422, 412, 1, 0, 0, 0, 422, 417, 1, 0, 0, 0, 423, 27, 1, 0, 0, 0, 424, 425, 5, 29, 0, 0, 425, 426, 5, 90, 0, 0, 426, 427, 3, 8, 4, 0, 427, 428, 5, 92, 0, 0, 428, 429, 3, 8, 4, 0, 429, 430, 5, 91, 0, 0, 430, 551, 1, 0, 0, 0, 431, 432, 5, 7, 0, 0, 432, 433, 5, 90, 0, 0, 433, 434, 3, 8, 4, 0, 434, 435, 5, 92, 0, 0, 435, 436, 3, 8, 4, 0, 436, 437, 5, 91, 0, 0, 437, 551, 1, 0, 0, 0, 438, 439, 5, 21, 0, 0, 439, 440, 5, 90, 0, 0, 440, 441, 3, 8, 4, 0, 441, 442, 5, 92, 0, 0, 442, 443, 3, 8, 4, 0, 443, 444, 5, 91, 0, 0, 444, 551, 1, 0, 0, 0, 445, 446, 5, 22, 0, 0, 446, 447, 5, 90, 0, 0, 447, 448, 3, 8, 4, 0, 448, 449, 5, 92, 0, 0, 449, 450, 3, 8, 4, 0, 450, 451, 5, 91, 0, 0, 451, 551, 1, 0, 0, 0, 452, 453, 5, 38, 0, 0, 453, 454, 5, 90, 0, 0, 454, 455, 3, 8, 4, 0, 455, 456, 5, 92, 0, 0, 456, 457, 3, 8, 4, 0, 457, 458, 5, 91, 0, 0, 458, 551, 1, 0, 0, 0, 459, 460, 5, 52, 0, 0, 460, 461, 5, 90, 0, 0, 461, 462, 3, 8, 4, 0, 462, 463, 5, 92, 0, 0, 463, 464, 3, 8, 4, 0, 464, 465, 5, 91, 0, 0, 465, 551, 1, 0, 0, 0, 466, 467, 5, 53, 0, 0, 467, 468, 5, 90, 0, 0, 468, 469, 3, 8, 4, 0, 469, 470, 5, 92, 0, 0, 470, 471, 3, 8, 4, 0, 471, 472, 5, 91, 0, 0, 472, 551, 1, 0, 0, 0, 473, 474, 5, 59, 0, 0, 474, 475, 5, 90, 0, 0, 475, 476, 3, 8, 4, 0, 476, 477, 5, 92, 0, 0, 477, 478, 3, 8, 4, 0, 478, 479, 5, 91, 0, 0, 479, 551, 1, 0, 0, 0, 480, 481, 5, 60, 0, 0, 481, 482, 5, 90, 0, 0, 482, 483, 3, 8, 4, 0, 483, 484, 5, 92, 0, 0, 484, 485, 3, 8, 4, 0, 485, 486, 5, 91, 0, 0, 486, 551, 1, 0, 0, 0, 487, 488, 5, 61, 0, 0, 488, 489, 5, 90, 0, 0, 489, 490, 3, 8, 4, 0, 490, 491, 5, 92, 0, 0, 491, 492, 3, 8, 4, 0, 492, 493, 5, 91, 0, 0, 493, 551, 1, 0, 0, 0, 494, 495, 5, 62, 0, 0, 495, 496, 5, 90, 0, 0, 496, 497, 3, 8, 4, 0, 497, 498, 5, 92, 0, 0, 498, 499, 3, 8, 4, 0, 499, 500, 5, 91, 0, 0, 500, 551, 1, 0, 0, 0, 501, 502, 5, 71, 0, 0, 502, 503, 5, 90, 0, 0, 503, 504, 3, 8, 4, 0, 504, 505, 5, 92, 0, 0, 505, 506, 3, 8, 4, 0, 506, 507, 5, 91, 0, 0, 507, 551, 1, 0, 0, 0, 508, 509, 5, 72, 0, 0, 509, 510, 5, 90, 0, 0, 510, 511, 3, 8, 4, 0, 511, 512, 5, 92, 0, 0, 512, 513, 3, 8, 4, 0, 513, 514, 5, 91, 0, 0, 514, 551, 1, 0, 0, 0, 515, 516, 5, 73, 0, 0, 516, 517, 5, 90, 0, 0, 517, 518, 3, 8, 4, 0, 518, 519, 5, 92, 0, 0, 519, 520, 3, 8, 4, 0, 520, 521, 5, 91, 0, 0, 521, 551, 1, 0, 0, 0, 522, 523, 5, 75, 0, 0, 523, 524, 5, 90, 0, 0, 524, 525, 3, 8, 4, 0, 525, 526, 5, 92, 0, 0, 526, 527, 3, 8, 4, 0, 527, 528, 5, 91, 0, 0, 528, 551, 1, 0, 0, 0, 529, 530, 5, 67, 0, 0, 530, 531, 5, 90, 0, 0, 531, 532, 3, 8, 4, 0, 532, 533, 5, 92, 0, 0, 533, 534, 3, 8, 4, 0, 534, 535, 5, 91, 0, 0, 535, 551, 1, 0, 0, 0, 536, 537, 5, 69, 0, 0, 537, 538, 5, 90, 0, 0, 538, 539, 3, 8, 4, 0, 539, 540, 5, 92, 0, 0, 540, 541, 3, 8, 4, 0, 541, 542, 5, 91, 0, 0, 542, 551, 1, 0, 0, 0, 543, 544, 5, 70, 0, 0, 544, 545, 5, 90, 0, 0, 545, 546, 3, 8, 4, 0, 546, 547, 5, 92, 0, 0, 547, 548, 3, 8, 4, 0, 548, 549, 5, 91, 0, 0, 549, 551, 1, 0, 0, 0, 550, 424, 1, 0, 0, 0, 550, 431, 1, 0, 0, 0, 550, 438, 1, 0, 0, 0, 550, 445, 1, 0, 0, 0, 550, 452, 1, 0, 0, 0, 550, 459, 1, 0, 0, 0, 550, 466, 1, 0, 0, 0, 550, 473, 1, 0, 0, 0, 550, 480, 1, 0, 0, 0, 550, 487, 1, 0, 0, 0, 550, 494, 1, 0, 0, 0, 550, 501, 1, 0, 0, 0, 550, 508, 1, 0, 0, 0, 550, 515, 1, 0, 0, 0, 550, 522, 1, 0, 0, 0, 550, 529, 1, 0, 0, 0, 550, 536, 1, 0, 0, 0, 550, 543, 1, 0, 0, 0, 551, 29, 1, 0, 0, 0, 552, 553, 5, 31, 0, 0, 553, 554, 5, 90, 0, 0, 554, 555, 3, 8, 4, 0, 555, 556, 5, 92, 0, 0, 556, 557, 3, 8, 4, 0, 557, 558, 5, 92, 0, 0, 558, 559, 3, 8, 4, 0, 559, 560, 5, 91, 0, 0, 560, 616, 1, 0, 0, 0, 561, 562, 5, 37, 0, 0, 562, 563, 5, 90, 0, 0, 563, 564, 3, 8, 4, 0, 564, 565, 5, 92, 0, 0, 565, 566, 3, 8, 4, 0, 566, 567, 5, 92, 0, 0, 567, 568, 3, 8, 4, 0, 568, 569, 5, 91, 0, 0, 569, 616, 1, 0, 0, 0, 570, 571, 5, 39, 0, 0, 571, 572, 5, 90, 0, 0, 572, 573, 3, 8, 4, 0, 573, 574, 5, 92, 0, 0, 574, 575, 3, 8, 4, 0, 575, 576, 5, 92, 0, 0, 576, 577, 3, 8, 4, 0, 577, 578, 5, 91, 0, 0, 578, 616, 1, 0, 0, 0, 579, 580, 5, 51, 0, 0, 580, 581, 5, 90, 0, 0, 581, 582, 3, 8, 4, 0, 582, 583, 5, 92, 0, 0, 583, 584, 3, 8, 4, 0, 584, 585, 5, 92, 0, 0, 585, 586, 3, 8, 4, 0, 586, 587, 5, 91, 0, 0, 587, 616, 1, 0, 0, 0, 588, 589, 5, 63, 0, 0, 589, 590, 5, 90, 0, 0, 590, 591, 3, 8, 4, 0, 591, 592, 5, 92, 0, 0, 592, 593, 3, 8, 4, 0, 593, 594, 5, 92, 0, 0, 594, 595, 3, 8, 4, 0, 595, 596, 5, 91, 0, 0, 596, 616, 1, 0, 0, 0, 597, 598, 5, 66, 0, 0, 598, 599, 5, 90, 0, 0, 599, 600, 3, 8, 4, 0, 600, 601, 5, 92, 0, 0, 601, 602, 3, 8, 4, 0, 602, 603, 5, 92, 0, 0, 603, 604, 3, 8, 4, 0, 604, 605, 5, 91, 0, 0, 605, 616, 1, 0, 0, 0, 606, 607, 5, 68, 0, 0, 607, 608, 5, 90, 0, 0, 608, 609, 3, 8, 4, 0, 609, 610, 5, 92, 0, 0, 610, 611, 3, 8, 4, 0, 611, 612, 5, 92, 0, 0, 612, 613, 3, 8, 4, 0, 613, 614, 5, 91, 0, 0, 614, 616, 1, 0, 0, 0, 615, 552, 1, 0, 0, 0, 615, 561, 1, 0, 0, 0, 615, 570, 1, 0, 0, 0, 615, 579, 1, 0, 0, 0, 615, 588, 1, 0, 0, 0, 615, 597, 1, 0, 0, 0, 615, 606, 1, 0, 0, 0, 616, 31, 1, 0, 0, 0, 617, 618, 5, 48, 0, 0, 618, 619, 5, 90, 0, 0, 619, 620, 3, 8, 4, 0, 620, 621, 5, 92, 0, 0, 621, 622, 3, 8, 4, 0, 622, 623, 5, 92, 0, 0, 623, 624, 3, 8, 4, 0, 624, 625, 5, 92, 0, 0, 625, 626, 3, 8, 4, 0, 626, 627, 5, 91, 0, 0, 627, 33, 1, 0, 0, 0, 628, 629, 5, 19, 0, 0, 629, 630, 5, 90, 0, 0, 630, 635, 3, 8, 4, 0, 631, 632, 5, 92, 0, 0, 632, 634, 3, 8, 4, 0, 633, 631, 1, 0, 0, 0, 634, 637, 1, 0, 0, 0, 635, 633, 1, 0, 0, 0, 635, 636, 1, 0, 0, 0, 636, 638, 1, 0, 0, 0, 637, 635, 1, 0, 0, 0, 638, 639, 5, 91, 0, 0, 639, 700, 1, 0, 0, 0, 640, 641, 5, 20, 0, 0, 641, 642, 5, 90, 0, 0, 642, 647, 3, 8, 4, 0, 643, 644, 5, 92, 0, 0, 644, 646, 3, 8, 4, 0, 645, 643, 1, 0, 0, 0, 646, 649, 1, 0, 0, 0, 647, 645, 1, 0, 0, 0, 647, 648, 1, 0, 0, 0, 648, 650, 1, 0, 0, 0, 649, 647, 1, 0, 0, 0, 650, 651, 5, 91, 0, 0, 651, 700, 1, 0, 0, 0, 652, 653, 5, 45, 0, 0, 653, 654, 5, 90, 0, 0, 654, 657, 3, 8, 4, 0, 655, 656, 5, 92, 0, 0, 656, 658, 3, 8, 4, 0, 657, 655, 1, 0, 0, 0, 658, 659, 1, 0, 0, 0, 659, 657, 1, 0, 0, 0, 659, 660, 1, 0, 0, 0, 660, 661, 1, 0, 0, 0, 661, 662, 5, 91, 0, 0, 662, 700, 1, 0, 0, 0, 663, 664, 5, 46, 0, 0, 664, 665, 5, 90, 0, 0, 665, 668, 3, 8, 4, 0, 666, 667, 5, 92, 0, 0, 667, 669, 3, 8, 4, 0, 668, 666, 1, 0, 0, 0, 669, 670, 1, 0, 0, 0, 670, 668, 1, 0, 0, 0, 670, 671, 1, 0, 0, 0, 671, 672, 1, 0, 0, 0, 672, 673, 5, 91, 0, 0, 673, 700, 1, 0, 0, 0, 674, 675, 5, 47, 0, 0, 675, 676, 5, 90, 0, 0, 676, 679, 3, 8, 4, 0, 677, 678, 5, 92, 0, 0, 678, 680, 3, 8, 4, 0, 679, 677, 1, 0, 0, 0, 680, 681, 1, 0, 0, 0, 681, 679, 1, 0, 0, 0, 681, 682, 1, 0, 0, 0, 682, 683, 1, 0, 0, 0, 683, 684, 5, 91, 0, 0, 684, 700, 1, 0, 0, 0, 685, 686, 5, 49, 0, 0, 686, 687, 5, 90, 0, 0, 687, 688, 3, 8, 4, 0, 688, 689, 5, 92, 0, 0, 689, 690, 3, 8, 4, 0, 690, 691, 5, 91, 0, 0, 691, 700, 1, 0, 0, 0, 692, 693, 5, 50, 0, 0, 693, 694, 5, 90, 0, 0, 694, 695, 3, 8, 4, 0, 695, 696, 5, 92, 0, 0, 696, 697, 3, 8, 4, 0, 697, 698, 5, 91, 0, 0, 698, 700, 1, 0, 0, 0, 699, 628, 1, 0, 0, 0, 699, 640, 1, 0, 0, 0, 699, 652, 1, 0, 0, 0, 699, 663, 1, 0, 0, 0, 699, 674, 1, 0, 0, 0, 699, 685, 1, 0, 0, 0, 699, 692, 1, 0, 0, 0, 700, 35, 1, 0, 0, 0, 28, 39, 45, 54, 71, 76, 99, 101, 113, 115, 130, 132, 140, 147, 159, 166, 191, 199, 202, 209, 422, 550, 615, 635, 647, 659, 670, 681, 699] \ No newline at end of file diff --git a/more_math/Parser/MathExpr.tokens b/more_math/Parser/MathExpr.tokens index d8aaa28..f0629be 100644 --- a/more_math/Parser/MathExpr.tokens +++ b/more_math/Parser/MathExpr.tokens @@ -84,19 +84,20 @@ GT=83 LE=84 LT=85 EQ=86 -NE=87 -PIPE=88 -LPAREN=89 -RPAREN=90 -COMMA=91 -SEMICOLON=92 -ARROW=93 -LBRACKET=94 -RBRACKET=95 -CONSTANT=96 -NUMBER=97 -VARIABLE=98 -WS=99 +EQUEALS=87 +NE=88 +PIPE=89 +LPAREN=90 +RPAREN=91 +COMMA=92 +SEMICOLON=93 +ARROW=94 +LBRACKET=95 +RBRACKET=96 +CONSTANT=97 +NUMBER=98 +VARIABLE=99 +WS=100 'sin'=1 'cos'=2 'tan'=3 @@ -169,12 +170,13 @@ WS=99 '<='=84 '<'=85 '=='=86 -'!='=87 -'|'=88 -'('=89 -')'=90 -','=91 -';'=92 -'->'=93 -'['=94 -']'=95 +'='=87 +'!='=88 +'|'=89 +'('=90 +')'=91 +','=92 +';'=93 +'->'=94 +'['=95 +']'=96 diff --git a/more_math/Parser/MathExprLexer.interp b/more_math/Parser/MathExprLexer.interp index 7afe0cd..3e14aeb 100644 --- a/more_math/Parser/MathExprLexer.interp +++ b/more_math/Parser/MathExprLexer.interp @@ -86,6 +86,7 @@ null '<=' '<' '==' +'=' '!=' '|' '(' @@ -188,6 +189,7 @@ GT LE LT EQ +EQUEALS NE PIPE LPAREN @@ -289,6 +291,7 @@ GT LE LT EQ +EQUEALS NE PIPE LPAREN @@ -311,4 +314,4 @@ mode names: DEFAULT_MODE atn: -[4, 0, 99, 880, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 2, 91, 7, 91, 2, 92, 7, 92, 2, 93, 7, 93, 2, 94, 7, 94, 2, 95, 7, 95, 2, 96, 7, 96, 2, 97, 7, 97, 2, 98, 7, 98, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 392, 8, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 468, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 3, 46, 485, 8, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 3, 48, 503, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 516, 8, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 571, 8, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 588, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 633, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 658, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 678, 8, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 703, 8, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 728, 8, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 751, 8, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 772, 8, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 75, 1, 75, 1, 76, 1, 76, 1, 77, 1, 77, 1, 78, 1, 78, 1, 79, 1, 79, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 83, 1, 83, 1, 83, 1, 84, 1, 84, 1, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 86, 1, 87, 1, 87, 1, 88, 1, 88, 1, 89, 1, 89, 1, 90, 1, 90, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 1, 93, 1, 93, 1, 94, 1, 94, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 3, 95, 852, 8, 95, 1, 96, 4, 96, 855, 8, 96, 11, 96, 12, 96, 856, 1, 96, 1, 96, 4, 96, 861, 8, 96, 11, 96, 12, 96, 862, 3, 96, 865, 8, 96, 1, 97, 1, 97, 5, 97, 869, 8, 97, 10, 97, 12, 97, 872, 9, 97, 1, 98, 4, 98, 875, 8, 98, 11, 98, 12, 98, 876, 1, 98, 1, 98, 0, 0, 99, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 61, 31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 36, 73, 37, 75, 38, 77, 39, 79, 40, 81, 41, 83, 42, 85, 43, 87, 44, 89, 45, 91, 46, 93, 47, 95, 48, 97, 49, 99, 50, 101, 51, 103, 52, 105, 53, 107, 54, 109, 55, 111, 56, 113, 57, 115, 58, 117, 59, 119, 60, 121, 61, 123, 62, 125, 63, 127, 64, 129, 65, 131, 66, 133, 67, 135, 68, 137, 69, 139, 70, 141, 71, 143, 72, 145, 73, 147, 74, 149, 75, 151, 76, 153, 77, 155, 78, 157, 79, 159, 80, 161, 81, 163, 82, 165, 83, 167, 84, 169, 85, 171, 86, 173, 87, 175, 88, 177, 89, 179, 90, 181, 91, 183, 92, 185, 93, 187, 94, 189, 95, 191, 96, 193, 97, 195, 98, 197, 99, 1, 0, 5, 2, 0, 69, 69, 101, 101, 1, 0, 48, 57, 3, 0, 65, 90, 95, 95, 97, 122, 4, 0, 48, 57, 65, 90, 95, 95, 97, 122, 3, 0, 9, 10, 13, 13, 32, 32, 902, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1, 0, 0, 0, 0, 101, 1, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 105, 1, 0, 0, 0, 0, 107, 1, 0, 0, 0, 0, 109, 1, 0, 0, 0, 0, 111, 1, 0, 0, 0, 0, 113, 1, 0, 0, 0, 0, 115, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0, 0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 0, 143, 1, 0, 0, 0, 0, 145, 1, 0, 0, 0, 0, 147, 1, 0, 0, 0, 0, 149, 1, 0, 0, 0, 0, 151, 1, 0, 0, 0, 0, 153, 1, 0, 0, 0, 0, 155, 1, 0, 0, 0, 0, 157, 1, 0, 0, 0, 0, 159, 1, 0, 0, 0, 0, 161, 1, 0, 0, 0, 0, 163, 1, 0, 0, 0, 0, 165, 1, 0, 0, 0, 0, 167, 1, 0, 0, 0, 0, 169, 1, 0, 0, 0, 0, 171, 1, 0, 0, 0, 0, 173, 1, 0, 0, 0, 0, 175, 1, 0, 0, 0, 0, 177, 1, 0, 0, 0, 0, 179, 1, 0, 0, 0, 0, 181, 1, 0, 0, 0, 0, 183, 1, 0, 0, 0, 0, 185, 1, 0, 0, 0, 0, 187, 1, 0, 0, 0, 0, 189, 1, 0, 0, 0, 0, 191, 1, 0, 0, 0, 0, 193, 1, 0, 0, 0, 0, 195, 1, 0, 0, 0, 0, 197, 1, 0, 0, 0, 1, 199, 1, 0, 0, 0, 3, 203, 1, 0, 0, 0, 5, 207, 1, 0, 0, 0, 7, 211, 1, 0, 0, 0, 9, 216, 1, 0, 0, 0, 11, 221, 1, 0, 0, 0, 13, 226, 1, 0, 0, 0, 15, 232, 1, 0, 0, 0, 17, 237, 1, 0, 0, 0, 19, 242, 1, 0, 0, 0, 21, 247, 1, 0, 0, 0, 23, 253, 1, 0, 0, 0, 25, 259, 1, 0, 0, 0, 27, 265, 1, 0, 0, 0, 29, 269, 1, 0, 0, 0, 31, 274, 1, 0, 0, 0, 33, 277, 1, 0, 0, 0, 35, 281, 1, 0, 0, 0, 37, 285, 1, 0, 0, 0, 39, 290, 1, 0, 0, 0, 41, 295, 1, 0, 0, 0, 43, 300, 1, 0, 0, 0, 45, 305, 1, 0, 0, 0, 47, 311, 1, 0, 0, 0, 49, 317, 1, 0, 0, 0, 51, 323, 1, 0, 0, 0, 53, 328, 1, 0, 0, 0, 55, 334, 1, 0, 0, 0, 57, 340, 1, 0, 0, 0, 59, 344, 1, 0, 0, 0, 61, 349, 1, 0, 0, 0, 63, 355, 1, 0, 0, 0, 65, 359, 1, 0, 0, 0, 67, 364, 1, 0, 0, 0, 69, 370, 1, 0, 0, 0, 71, 391, 1, 0, 0, 0, 73, 393, 1, 0, 0, 0, 75, 398, 1, 0, 0, 0, 77, 403, 1, 0, 0, 0, 79, 414, 1, 0, 0, 0, 81, 420, 1, 0, 0, 0, 83, 425, 1, 0, 0, 0, 85, 434, 1, 0, 0, 0, 87, 439, 1, 0, 0, 0, 89, 444, 1, 0, 0, 0, 91, 467, 1, 0, 0, 0, 93, 484, 1, 0, 0, 0, 95, 486, 1, 0, 0, 0, 97, 502, 1, 0, 0, 0, 99, 515, 1, 0, 0, 0, 101, 517, 1, 0, 0, 0, 103, 523, 1, 0, 0, 0, 105, 528, 1, 0, 0, 0, 107, 533, 1, 0, 0, 0, 109, 538, 1, 0, 0, 0, 111, 542, 1, 0, 0, 0, 113, 547, 1, 0, 0, 0, 115, 551, 1, 0, 0, 0, 117, 570, 1, 0, 0, 0, 119, 587, 1, 0, 0, 0, 121, 589, 1, 0, 0, 0, 123, 598, 1, 0, 0, 0, 125, 602, 1, 0, 0, 0, 127, 632, 1, 0, 0, 0, 129, 657, 1, 0, 0, 0, 131, 677, 1, 0, 0, 0, 133, 702, 1, 0, 0, 0, 135, 727, 1, 0, 0, 0, 137, 750, 1, 0, 0, 0, 139, 771, 1, 0, 0, 0, 141, 773, 1, 0, 0, 0, 143, 780, 1, 0, 0, 0, 145, 785, 1, 0, 0, 0, 147, 789, 1, 0, 0, 0, 149, 794, 1, 0, 0, 0, 151, 801, 1, 0, 0, 0, 153, 803, 1, 0, 0, 0, 155, 805, 1, 0, 0, 0, 157, 807, 1, 0, 0, 0, 159, 809, 1, 0, 0, 0, 161, 811, 1, 0, 0, 0, 163, 813, 1, 0, 0, 0, 165, 816, 1, 0, 0, 0, 167, 818, 1, 0, 0, 0, 169, 821, 1, 0, 0, 0, 171, 823, 1, 0, 0, 0, 173, 826, 1, 0, 0, 0, 175, 829, 1, 0, 0, 0, 177, 831, 1, 0, 0, 0, 179, 833, 1, 0, 0, 0, 181, 835, 1, 0, 0, 0, 183, 837, 1, 0, 0, 0, 185, 839, 1, 0, 0, 0, 187, 842, 1, 0, 0, 0, 189, 844, 1, 0, 0, 0, 191, 851, 1, 0, 0, 0, 193, 854, 1, 0, 0, 0, 195, 866, 1, 0, 0, 0, 197, 874, 1, 0, 0, 0, 199, 200, 5, 115, 0, 0, 200, 201, 5, 105, 0, 0, 201, 202, 5, 110, 0, 0, 202, 2, 1, 0, 0, 0, 203, 204, 5, 99, 0, 0, 204, 205, 5, 111, 0, 0, 205, 206, 5, 115, 0, 0, 206, 4, 1, 0, 0, 0, 207, 208, 5, 116, 0, 0, 208, 209, 5, 97, 0, 0, 209, 210, 5, 110, 0, 0, 210, 6, 1, 0, 0, 0, 211, 212, 5, 97, 0, 0, 212, 213, 5, 115, 0, 0, 213, 214, 5, 105, 0, 0, 214, 215, 5, 110, 0, 0, 215, 8, 1, 0, 0, 0, 216, 217, 5, 97, 0, 0, 217, 218, 5, 99, 0, 0, 218, 219, 5, 111, 0, 0, 219, 220, 5, 115, 0, 0, 220, 10, 1, 0, 0, 0, 221, 222, 5, 97, 0, 0, 222, 223, 5, 116, 0, 0, 223, 224, 5, 97, 0, 0, 224, 225, 5, 110, 0, 0, 225, 12, 1, 0, 0, 0, 226, 227, 5, 97, 0, 0, 227, 228, 5, 116, 0, 0, 228, 229, 5, 97, 0, 0, 229, 230, 5, 110, 0, 0, 230, 231, 5, 50, 0, 0, 231, 14, 1, 0, 0, 0, 232, 233, 5, 115, 0, 0, 233, 234, 5, 105, 0, 0, 234, 235, 5, 110, 0, 0, 235, 236, 5, 104, 0, 0, 236, 16, 1, 0, 0, 0, 237, 238, 5, 99, 0, 0, 238, 239, 5, 111, 0, 0, 239, 240, 5, 115, 0, 0, 240, 241, 5, 104, 0, 0, 241, 18, 1, 0, 0, 0, 242, 243, 5, 116, 0, 0, 243, 244, 5, 97, 0, 0, 244, 245, 5, 110, 0, 0, 245, 246, 5, 104, 0, 0, 246, 20, 1, 0, 0, 0, 247, 248, 5, 97, 0, 0, 248, 249, 5, 115, 0, 0, 249, 250, 5, 105, 0, 0, 250, 251, 5, 110, 0, 0, 251, 252, 5, 104, 0, 0, 252, 22, 1, 0, 0, 0, 253, 254, 5, 97, 0, 0, 254, 255, 5, 99, 0, 0, 255, 256, 5, 111, 0, 0, 256, 257, 5, 115, 0, 0, 257, 258, 5, 104, 0, 0, 258, 24, 1, 0, 0, 0, 259, 260, 5, 97, 0, 0, 260, 261, 5, 116, 0, 0, 261, 262, 5, 97, 0, 0, 262, 263, 5, 110, 0, 0, 263, 264, 5, 104, 0, 0, 264, 26, 1, 0, 0, 0, 265, 266, 5, 97, 0, 0, 266, 267, 5, 98, 0, 0, 267, 268, 5, 115, 0, 0, 268, 28, 1, 0, 0, 0, 269, 270, 5, 115, 0, 0, 270, 271, 5, 113, 0, 0, 271, 272, 5, 114, 0, 0, 272, 273, 5, 116, 0, 0, 273, 30, 1, 0, 0, 0, 274, 275, 5, 108, 0, 0, 275, 276, 5, 110, 0, 0, 276, 32, 1, 0, 0, 0, 277, 278, 5, 108, 0, 0, 278, 279, 5, 111, 0, 0, 279, 280, 5, 103, 0, 0, 280, 34, 1, 0, 0, 0, 281, 282, 5, 101, 0, 0, 282, 283, 5, 120, 0, 0, 283, 284, 5, 112, 0, 0, 284, 36, 1, 0, 0, 0, 285, 286, 5, 115, 0, 0, 286, 287, 5, 109, 0, 0, 287, 288, 5, 105, 0, 0, 288, 289, 5, 110, 0, 0, 289, 38, 1, 0, 0, 0, 290, 291, 5, 115, 0, 0, 291, 292, 5, 109, 0, 0, 292, 293, 5, 97, 0, 0, 293, 294, 5, 120, 0, 0, 294, 40, 1, 0, 0, 0, 295, 296, 5, 116, 0, 0, 296, 297, 5, 109, 0, 0, 297, 298, 5, 105, 0, 0, 298, 299, 5, 110, 0, 0, 299, 42, 1, 0, 0, 0, 300, 301, 5, 116, 0, 0, 301, 302, 5, 109, 0, 0, 302, 303, 5, 97, 0, 0, 303, 304, 5, 120, 0, 0, 304, 44, 1, 0, 0, 0, 305, 306, 5, 116, 0, 0, 306, 307, 5, 110, 0, 0, 307, 308, 5, 111, 0, 0, 308, 309, 5, 114, 0, 0, 309, 310, 5, 109, 0, 0, 310, 46, 1, 0, 0, 0, 311, 312, 5, 115, 0, 0, 312, 313, 5, 110, 0, 0, 313, 314, 5, 111, 0, 0, 314, 315, 5, 114, 0, 0, 315, 316, 5, 109, 0, 0, 316, 48, 1, 0, 0, 0, 317, 318, 5, 102, 0, 0, 318, 319, 5, 108, 0, 0, 319, 320, 5, 111, 0, 0, 320, 321, 5, 111, 0, 0, 321, 322, 5, 114, 0, 0, 322, 50, 1, 0, 0, 0, 323, 324, 5, 99, 0, 0, 324, 325, 5, 101, 0, 0, 325, 326, 5, 105, 0, 0, 326, 327, 5, 108, 0, 0, 327, 52, 1, 0, 0, 0, 328, 329, 5, 114, 0, 0, 329, 330, 5, 111, 0, 0, 330, 331, 5, 117, 0, 0, 331, 332, 5, 110, 0, 0, 332, 333, 5, 100, 0, 0, 333, 54, 1, 0, 0, 0, 334, 335, 5, 103, 0, 0, 335, 336, 5, 97, 0, 0, 336, 337, 5, 109, 0, 0, 337, 338, 5, 109, 0, 0, 338, 339, 5, 97, 0, 0, 339, 56, 1, 0, 0, 0, 340, 341, 5, 112, 0, 0, 341, 342, 5, 111, 0, 0, 342, 343, 5, 119, 0, 0, 343, 58, 1, 0, 0, 0, 344, 345, 5, 115, 0, 0, 345, 346, 5, 105, 0, 0, 346, 347, 5, 103, 0, 0, 347, 348, 5, 109, 0, 0, 348, 60, 1, 0, 0, 0, 349, 350, 5, 99, 0, 0, 350, 351, 5, 108, 0, 0, 351, 352, 5, 97, 0, 0, 352, 353, 5, 109, 0, 0, 353, 354, 5, 112, 0, 0, 354, 62, 1, 0, 0, 0, 355, 356, 5, 102, 0, 0, 356, 357, 5, 102, 0, 0, 357, 358, 5, 116, 0, 0, 358, 64, 1, 0, 0, 0, 359, 360, 5, 105, 0, 0, 360, 361, 5, 102, 0, 0, 361, 362, 5, 102, 0, 0, 362, 363, 5, 116, 0, 0, 363, 66, 1, 0, 0, 0, 364, 365, 5, 97, 0, 0, 365, 366, 5, 110, 0, 0, 366, 367, 5, 103, 0, 0, 367, 368, 5, 108, 0, 0, 368, 369, 5, 101, 0, 0, 369, 68, 1, 0, 0, 0, 370, 371, 5, 112, 0, 0, 371, 372, 5, 114, 0, 0, 372, 373, 5, 105, 0, 0, 373, 374, 5, 110, 0, 0, 374, 375, 5, 116, 0, 0, 375, 70, 1, 0, 0, 0, 376, 377, 5, 112, 0, 0, 377, 378, 5, 114, 0, 0, 378, 379, 5, 105, 0, 0, 379, 380, 5, 110, 0, 0, 380, 381, 5, 116, 0, 0, 381, 382, 5, 95, 0, 0, 382, 383, 5, 115, 0, 0, 383, 384, 5, 104, 0, 0, 384, 385, 5, 97, 0, 0, 385, 386, 5, 112, 0, 0, 386, 392, 5, 101, 0, 0, 387, 388, 5, 112, 0, 0, 388, 389, 5, 115, 0, 0, 389, 390, 5, 104, 0, 0, 390, 392, 5, 112, 0, 0, 391, 376, 1, 0, 0, 0, 391, 387, 1, 0, 0, 0, 392, 72, 1, 0, 0, 0, 393, 394, 5, 108, 0, 0, 394, 395, 5, 101, 0, 0, 395, 396, 5, 114, 0, 0, 396, 397, 5, 112, 0, 0, 397, 74, 1, 0, 0, 0, 398, 399, 5, 115, 0, 0, 399, 400, 5, 116, 0, 0, 400, 401, 5, 101, 0, 0, 401, 402, 5, 112, 0, 0, 402, 76, 1, 0, 0, 0, 403, 404, 5, 115, 0, 0, 404, 405, 5, 109, 0, 0, 405, 406, 5, 111, 0, 0, 406, 407, 5, 111, 0, 0, 407, 408, 5, 116, 0, 0, 408, 409, 5, 104, 0, 0, 409, 410, 5, 115, 0, 0, 410, 411, 5, 116, 0, 0, 411, 412, 5, 101, 0, 0, 412, 413, 5, 112, 0, 0, 413, 78, 1, 0, 0, 0, 414, 415, 5, 102, 0, 0, 415, 416, 5, 114, 0, 0, 416, 417, 5, 97, 0, 0, 417, 418, 5, 99, 0, 0, 418, 419, 5, 116, 0, 0, 419, 80, 1, 0, 0, 0, 420, 421, 5, 114, 0, 0, 421, 422, 5, 101, 0, 0, 422, 423, 5, 108, 0, 0, 423, 424, 5, 117, 0, 0, 424, 82, 1, 0, 0, 0, 425, 426, 5, 115, 0, 0, 426, 427, 5, 111, 0, 0, 427, 428, 5, 102, 0, 0, 428, 429, 5, 116, 0, 0, 429, 430, 5, 112, 0, 0, 430, 431, 5, 108, 0, 0, 431, 432, 5, 117, 0, 0, 432, 433, 5, 115, 0, 0, 433, 84, 1, 0, 0, 0, 434, 435, 5, 103, 0, 0, 435, 436, 5, 101, 0, 0, 436, 437, 5, 108, 0, 0, 437, 438, 5, 117, 0, 0, 438, 86, 1, 0, 0, 0, 439, 440, 5, 115, 0, 0, 440, 441, 5, 105, 0, 0, 441, 442, 5, 103, 0, 0, 442, 443, 5, 110, 0, 0, 443, 88, 1, 0, 0, 0, 444, 445, 5, 109, 0, 0, 445, 446, 5, 97, 0, 0, 446, 447, 5, 112, 0, 0, 447, 90, 1, 0, 0, 0, 448, 449, 5, 101, 0, 0, 449, 450, 5, 122, 0, 0, 450, 451, 5, 99, 0, 0, 451, 452, 5, 111, 0, 0, 452, 453, 5, 110, 0, 0, 453, 454, 5, 118, 0, 0, 454, 455, 5, 111, 0, 0, 455, 456, 5, 108, 0, 0, 456, 457, 5, 117, 0, 0, 457, 458, 5, 116, 0, 0, 458, 459, 5, 105, 0, 0, 459, 460, 5, 111, 0, 0, 460, 468, 5, 110, 0, 0, 461, 462, 5, 101, 0, 0, 462, 463, 5, 122, 0, 0, 463, 464, 5, 99, 0, 0, 464, 465, 5, 111, 0, 0, 465, 466, 5, 110, 0, 0, 466, 468, 5, 118, 0, 0, 467, 448, 1, 0, 0, 0, 467, 461, 1, 0, 0, 0, 468, 92, 1, 0, 0, 0, 469, 470, 5, 99, 0, 0, 470, 471, 5, 111, 0, 0, 471, 472, 5, 110, 0, 0, 472, 473, 5, 118, 0, 0, 473, 474, 5, 111, 0, 0, 474, 475, 5, 108, 0, 0, 475, 476, 5, 117, 0, 0, 476, 477, 5, 116, 0, 0, 477, 478, 5, 105, 0, 0, 478, 479, 5, 111, 0, 0, 479, 485, 5, 110, 0, 0, 480, 481, 5, 99, 0, 0, 481, 482, 5, 111, 0, 0, 482, 483, 5, 110, 0, 0, 483, 485, 5, 118, 0, 0, 484, 469, 1, 0, 0, 0, 484, 480, 1, 0, 0, 0, 485, 94, 1, 0, 0, 0, 486, 487, 5, 115, 0, 0, 487, 488, 5, 119, 0, 0, 488, 489, 5, 97, 0, 0, 489, 490, 5, 112, 0, 0, 490, 96, 1, 0, 0, 0, 491, 492, 5, 112, 0, 0, 492, 493, 5, 101, 0, 0, 493, 494, 5, 114, 0, 0, 494, 495, 5, 109, 0, 0, 495, 496, 5, 117, 0, 0, 496, 497, 5, 116, 0, 0, 497, 503, 5, 101, 0, 0, 498, 499, 5, 112, 0, 0, 499, 500, 5, 101, 0, 0, 500, 501, 5, 114, 0, 0, 501, 503, 5, 109, 0, 0, 502, 491, 1, 0, 0, 0, 502, 498, 1, 0, 0, 0, 503, 98, 1, 0, 0, 0, 504, 505, 5, 114, 0, 0, 505, 506, 5, 101, 0, 0, 506, 507, 5, 115, 0, 0, 507, 508, 5, 104, 0, 0, 508, 509, 5, 97, 0, 0, 509, 510, 5, 112, 0, 0, 510, 516, 5, 101, 0, 0, 511, 512, 5, 114, 0, 0, 512, 513, 5, 115, 0, 0, 513, 514, 5, 104, 0, 0, 514, 516, 5, 112, 0, 0, 515, 504, 1, 0, 0, 0, 515, 511, 1, 0, 0, 0, 516, 100, 1, 0, 0, 0, 517, 518, 5, 114, 0, 0, 518, 519, 5, 97, 0, 0, 519, 520, 5, 110, 0, 0, 520, 521, 5, 103, 0, 0, 521, 522, 5, 101, 0, 0, 522, 102, 1, 0, 0, 0, 523, 524, 5, 116, 0, 0, 524, 525, 5, 111, 0, 0, 525, 526, 5, 112, 0, 0, 526, 527, 5, 107, 0, 0, 527, 104, 1, 0, 0, 0, 528, 529, 5, 98, 0, 0, 529, 530, 5, 111, 0, 0, 530, 531, 5, 116, 0, 0, 531, 532, 5, 107, 0, 0, 532, 106, 1, 0, 0, 0, 533, 534, 5, 112, 0, 0, 534, 535, 5, 105, 0, 0, 535, 536, 5, 110, 0, 0, 536, 537, 5, 118, 0, 0, 537, 108, 1, 0, 0, 0, 538, 539, 5, 115, 0, 0, 539, 540, 5, 117, 0, 0, 540, 541, 5, 109, 0, 0, 541, 110, 1, 0, 0, 0, 542, 543, 5, 109, 0, 0, 543, 544, 5, 101, 0, 0, 544, 545, 5, 97, 0, 0, 545, 546, 5, 110, 0, 0, 546, 112, 1, 0, 0, 0, 547, 548, 5, 115, 0, 0, 548, 549, 5, 116, 0, 0, 549, 550, 5, 100, 0, 0, 550, 114, 1, 0, 0, 0, 551, 552, 5, 118, 0, 0, 552, 553, 5, 97, 0, 0, 553, 554, 5, 114, 0, 0, 554, 116, 1, 0, 0, 0, 555, 556, 5, 113, 0, 0, 556, 557, 5, 117, 0, 0, 557, 558, 5, 97, 0, 0, 558, 559, 5, 114, 0, 0, 559, 560, 5, 116, 0, 0, 560, 561, 5, 105, 0, 0, 561, 562, 5, 108, 0, 0, 562, 571, 5, 101, 0, 0, 563, 564, 5, 113, 0, 0, 564, 565, 5, 117, 0, 0, 565, 566, 5, 97, 0, 0, 566, 567, 5, 114, 0, 0, 567, 568, 5, 116, 0, 0, 568, 569, 5, 105, 0, 0, 569, 571, 5, 108, 0, 0, 570, 555, 1, 0, 0, 0, 570, 563, 1, 0, 0, 0, 571, 118, 1, 0, 0, 0, 572, 573, 5, 112, 0, 0, 573, 574, 5, 101, 0, 0, 574, 575, 5, 114, 0, 0, 575, 576, 5, 99, 0, 0, 576, 577, 5, 101, 0, 0, 577, 578, 5, 110, 0, 0, 578, 579, 5, 116, 0, 0, 579, 580, 5, 105, 0, 0, 580, 581, 5, 108, 0, 0, 581, 588, 5, 101, 0, 0, 582, 583, 5, 112, 0, 0, 583, 584, 5, 114, 0, 0, 584, 585, 5, 99, 0, 0, 585, 586, 5, 110, 0, 0, 586, 588, 5, 116, 0, 0, 587, 572, 1, 0, 0, 0, 587, 582, 1, 0, 0, 0, 588, 120, 1, 0, 0, 0, 589, 590, 5, 113, 0, 0, 590, 591, 5, 117, 0, 0, 591, 592, 5, 97, 0, 0, 592, 593, 5, 110, 0, 0, 593, 594, 5, 116, 0, 0, 594, 595, 5, 105, 0, 0, 595, 596, 5, 108, 0, 0, 596, 597, 5, 101, 0, 0, 597, 122, 1, 0, 0, 0, 598, 599, 5, 100, 0, 0, 599, 600, 5, 111, 0, 0, 600, 601, 5, 116, 0, 0, 601, 124, 1, 0, 0, 0, 602, 603, 5, 109, 0, 0, 603, 604, 5, 111, 0, 0, 604, 605, 5, 109, 0, 0, 605, 606, 5, 101, 0, 0, 606, 607, 5, 110, 0, 0, 607, 608, 5, 116, 0, 0, 608, 126, 1, 0, 0, 0, 609, 610, 5, 110, 0, 0, 610, 611, 5, 111, 0, 0, 611, 612, 5, 105, 0, 0, 612, 613, 5, 115, 0, 0, 613, 633, 5, 101, 0, 0, 614, 615, 5, 114, 0, 0, 615, 616, 5, 97, 0, 0, 616, 617, 5, 110, 0, 0, 617, 618, 5, 100, 0, 0, 618, 633, 5, 110, 0, 0, 619, 620, 5, 114, 0, 0, 620, 621, 5, 97, 0, 0, 621, 622, 5, 110, 0, 0, 622, 623, 5, 100, 0, 0, 623, 624, 5, 111, 0, 0, 624, 625, 5, 109, 0, 0, 625, 626, 5, 95, 0, 0, 626, 627, 5, 110, 0, 0, 627, 628, 5, 111, 0, 0, 628, 629, 5, 114, 0, 0, 629, 630, 5, 109, 0, 0, 630, 631, 5, 97, 0, 0, 631, 633, 5, 108, 0, 0, 632, 609, 1, 0, 0, 0, 632, 614, 1, 0, 0, 0, 632, 619, 1, 0, 0, 0, 633, 128, 1, 0, 0, 0, 634, 635, 5, 114, 0, 0, 635, 636, 5, 97, 0, 0, 636, 637, 5, 110, 0, 0, 637, 658, 5, 100, 0, 0, 638, 639, 5, 114, 0, 0, 639, 640, 5, 97, 0, 0, 640, 641, 5, 110, 0, 0, 641, 642, 5, 100, 0, 0, 642, 658, 5, 117, 0, 0, 643, 644, 5, 114, 0, 0, 644, 645, 5, 97, 0, 0, 645, 646, 5, 110, 0, 0, 646, 647, 5, 100, 0, 0, 647, 648, 5, 111, 0, 0, 648, 649, 5, 109, 0, 0, 649, 650, 5, 95, 0, 0, 650, 651, 5, 117, 0, 0, 651, 652, 5, 110, 0, 0, 652, 653, 5, 105, 0, 0, 653, 654, 5, 102, 0, 0, 654, 655, 5, 111, 0, 0, 655, 656, 5, 114, 0, 0, 656, 658, 5, 109, 0, 0, 657, 634, 1, 0, 0, 0, 657, 638, 1, 0, 0, 0, 657, 643, 1, 0, 0, 0, 658, 130, 1, 0, 0, 0, 659, 660, 5, 114, 0, 0, 660, 661, 5, 97, 0, 0, 661, 662, 5, 110, 0, 0, 662, 663, 5, 100, 0, 0, 663, 678, 5, 99, 0, 0, 664, 665, 5, 114, 0, 0, 665, 666, 5, 97, 0, 0, 666, 667, 5, 110, 0, 0, 667, 668, 5, 100, 0, 0, 668, 669, 5, 111, 0, 0, 669, 670, 5, 109, 0, 0, 670, 671, 5, 95, 0, 0, 671, 672, 5, 99, 0, 0, 672, 673, 5, 97, 0, 0, 673, 674, 5, 117, 0, 0, 674, 675, 5, 99, 0, 0, 675, 676, 5, 104, 0, 0, 676, 678, 5, 121, 0, 0, 677, 659, 1, 0, 0, 0, 677, 664, 1, 0, 0, 0, 678, 132, 1, 0, 0, 0, 679, 680, 5, 114, 0, 0, 680, 681, 5, 97, 0, 0, 681, 682, 5, 110, 0, 0, 682, 683, 5, 100, 0, 0, 683, 703, 5, 101, 0, 0, 684, 685, 5, 114, 0, 0, 685, 686, 5, 97, 0, 0, 686, 687, 5, 110, 0, 0, 687, 688, 5, 100, 0, 0, 688, 689, 5, 111, 0, 0, 689, 690, 5, 109, 0, 0, 690, 691, 5, 95, 0, 0, 691, 692, 5, 101, 0, 0, 692, 693, 5, 120, 0, 0, 693, 694, 5, 112, 0, 0, 694, 695, 5, 111, 0, 0, 695, 696, 5, 110, 0, 0, 696, 697, 5, 101, 0, 0, 697, 698, 5, 110, 0, 0, 698, 699, 5, 116, 0, 0, 699, 700, 5, 105, 0, 0, 700, 701, 5, 97, 0, 0, 701, 703, 5, 108, 0, 0, 702, 679, 1, 0, 0, 0, 702, 684, 1, 0, 0, 0, 703, 134, 1, 0, 0, 0, 704, 705, 5, 114, 0, 0, 705, 706, 5, 97, 0, 0, 706, 707, 5, 110, 0, 0, 707, 708, 5, 100, 0, 0, 708, 709, 5, 108, 0, 0, 709, 728, 5, 110, 0, 0, 710, 711, 5, 114, 0, 0, 711, 712, 5, 97, 0, 0, 712, 713, 5, 110, 0, 0, 713, 714, 5, 100, 0, 0, 714, 715, 5, 111, 0, 0, 715, 716, 5, 109, 0, 0, 716, 717, 5, 95, 0, 0, 717, 718, 5, 108, 0, 0, 718, 719, 5, 111, 0, 0, 719, 720, 5, 103, 0, 0, 720, 721, 5, 95, 0, 0, 721, 722, 5, 110, 0, 0, 722, 723, 5, 111, 0, 0, 723, 724, 5, 114, 0, 0, 724, 725, 5, 109, 0, 0, 725, 726, 5, 97, 0, 0, 726, 728, 5, 108, 0, 0, 727, 704, 1, 0, 0, 0, 727, 710, 1, 0, 0, 0, 728, 136, 1, 0, 0, 0, 729, 730, 5, 114, 0, 0, 730, 731, 5, 97, 0, 0, 731, 732, 5, 110, 0, 0, 732, 733, 5, 100, 0, 0, 733, 751, 5, 98, 0, 0, 734, 735, 5, 114, 0, 0, 735, 736, 5, 97, 0, 0, 736, 737, 5, 110, 0, 0, 737, 738, 5, 100, 0, 0, 738, 739, 5, 111, 0, 0, 739, 740, 5, 109, 0, 0, 740, 741, 5, 95, 0, 0, 741, 742, 5, 98, 0, 0, 742, 743, 5, 101, 0, 0, 743, 744, 5, 114, 0, 0, 744, 745, 5, 110, 0, 0, 745, 746, 5, 111, 0, 0, 746, 747, 5, 117, 0, 0, 747, 748, 5, 108, 0, 0, 748, 749, 5, 108, 0, 0, 749, 751, 5, 105, 0, 0, 750, 729, 1, 0, 0, 0, 750, 734, 1, 0, 0, 0, 751, 138, 1, 0, 0, 0, 752, 753, 5, 114, 0, 0, 753, 754, 5, 97, 0, 0, 754, 755, 5, 110, 0, 0, 755, 756, 5, 100, 0, 0, 756, 772, 5, 112, 0, 0, 757, 758, 5, 114, 0, 0, 758, 759, 5, 97, 0, 0, 759, 760, 5, 110, 0, 0, 760, 761, 5, 100, 0, 0, 761, 762, 5, 111, 0, 0, 762, 763, 5, 109, 0, 0, 763, 764, 5, 95, 0, 0, 764, 765, 5, 112, 0, 0, 765, 766, 5, 111, 0, 0, 766, 767, 5, 105, 0, 0, 767, 768, 5, 115, 0, 0, 768, 769, 5, 115, 0, 0, 769, 770, 5, 111, 0, 0, 770, 772, 5, 110, 0, 0, 771, 752, 1, 0, 0, 0, 771, 757, 1, 0, 0, 0, 772, 140, 1, 0, 0, 0, 773, 774, 5, 99, 0, 0, 774, 775, 5, 111, 0, 0, 775, 776, 5, 115, 0, 0, 776, 777, 5, 115, 0, 0, 777, 778, 5, 105, 0, 0, 778, 779, 5, 109, 0, 0, 779, 142, 1, 0, 0, 0, 780, 781, 5, 102, 0, 0, 781, 782, 5, 108, 0, 0, 782, 783, 5, 105, 0, 0, 783, 784, 5, 112, 0, 0, 784, 144, 1, 0, 0, 0, 785, 786, 5, 99, 0, 0, 786, 787, 5, 111, 0, 0, 787, 788, 5, 118, 0, 0, 788, 146, 1, 0, 0, 0, 789, 790, 5, 115, 0, 0, 790, 791, 5, 111, 0, 0, 791, 792, 5, 114, 0, 0, 792, 793, 5, 116, 0, 0, 793, 148, 1, 0, 0, 0, 794, 795, 5, 97, 0, 0, 795, 796, 5, 112, 0, 0, 796, 797, 5, 112, 0, 0, 797, 798, 5, 101, 0, 0, 798, 799, 5, 110, 0, 0, 799, 800, 5, 100, 0, 0, 800, 150, 1, 0, 0, 0, 801, 802, 5, 43, 0, 0, 802, 152, 1, 0, 0, 0, 803, 804, 5, 45, 0, 0, 804, 154, 1, 0, 0, 0, 805, 806, 5, 42, 0, 0, 806, 156, 1, 0, 0, 0, 807, 808, 5, 47, 0, 0, 808, 158, 1, 0, 0, 0, 809, 810, 5, 37, 0, 0, 810, 160, 1, 0, 0, 0, 811, 812, 5, 94, 0, 0, 812, 162, 1, 0, 0, 0, 813, 814, 5, 62, 0, 0, 814, 815, 5, 61, 0, 0, 815, 164, 1, 0, 0, 0, 816, 817, 5, 62, 0, 0, 817, 166, 1, 0, 0, 0, 818, 819, 5, 60, 0, 0, 819, 820, 5, 61, 0, 0, 820, 168, 1, 0, 0, 0, 821, 822, 5, 60, 0, 0, 822, 170, 1, 0, 0, 0, 823, 824, 5, 61, 0, 0, 824, 825, 5, 61, 0, 0, 825, 172, 1, 0, 0, 0, 826, 827, 5, 33, 0, 0, 827, 828, 5, 61, 0, 0, 828, 174, 1, 0, 0, 0, 829, 830, 5, 124, 0, 0, 830, 176, 1, 0, 0, 0, 831, 832, 5, 40, 0, 0, 832, 178, 1, 0, 0, 0, 833, 834, 5, 41, 0, 0, 834, 180, 1, 0, 0, 0, 835, 836, 5, 44, 0, 0, 836, 182, 1, 0, 0, 0, 837, 838, 5, 59, 0, 0, 838, 184, 1, 0, 0, 0, 839, 840, 5, 45, 0, 0, 840, 841, 5, 62, 0, 0, 841, 186, 1, 0, 0, 0, 842, 843, 5, 91, 0, 0, 843, 188, 1, 0, 0, 0, 844, 845, 5, 93, 0, 0, 845, 190, 1, 0, 0, 0, 846, 847, 5, 112, 0, 0, 847, 852, 5, 105, 0, 0, 848, 849, 5, 80, 0, 0, 849, 852, 5, 73, 0, 0, 850, 852, 7, 0, 0, 0, 851, 846, 1, 0, 0, 0, 851, 848, 1, 0, 0, 0, 851, 850, 1, 0, 0, 0, 852, 192, 1, 0, 0, 0, 853, 855, 7, 1, 0, 0, 854, 853, 1, 0, 0, 0, 855, 856, 1, 0, 0, 0, 856, 854, 1, 0, 0, 0, 856, 857, 1, 0, 0, 0, 857, 864, 1, 0, 0, 0, 858, 860, 5, 46, 0, 0, 859, 861, 7, 1, 0, 0, 860, 859, 1, 0, 0, 0, 861, 862, 1, 0, 0, 0, 862, 860, 1, 0, 0, 0, 862, 863, 1, 0, 0, 0, 863, 865, 1, 0, 0, 0, 864, 858, 1, 0, 0, 0, 864, 865, 1, 0, 0, 0, 865, 194, 1, 0, 0, 0, 866, 870, 7, 2, 0, 0, 867, 869, 7, 3, 0, 0, 868, 867, 1, 0, 0, 0, 869, 872, 1, 0, 0, 0, 870, 868, 1, 0, 0, 0, 870, 871, 1, 0, 0, 0, 871, 196, 1, 0, 0, 0, 872, 870, 1, 0, 0, 0, 873, 875, 7, 4, 0, 0, 874, 873, 1, 0, 0, 0, 875, 876, 1, 0, 0, 0, 876, 874, 1, 0, 0, 0, 876, 877, 1, 0, 0, 0, 877, 878, 1, 0, 0, 0, 878, 879, 6, 98, 0, 0, 879, 198, 1, 0, 0, 0, 21, 0, 391, 467, 484, 502, 515, 570, 587, 632, 657, 677, 702, 727, 750, 771, 851, 856, 862, 864, 870, 876, 1, 6, 0, 0] \ No newline at end of file +[4, 0, 100, 884, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 2, 91, 7, 91, 2, 92, 7, 92, 2, 93, 7, 93, 2, 94, 7, 94, 2, 95, 7, 95, 2, 96, 7, 96, 2, 97, 7, 97, 2, 98, 7, 98, 2, 99, 7, 99, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 394, 8, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 470, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 3, 46, 487, 8, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 3, 48, 505, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 518, 8, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 573, 8, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 590, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 635, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 660, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 680, 8, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 705, 8, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 730, 8, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 753, 8, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 774, 8, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 75, 1, 75, 1, 76, 1, 76, 1, 77, 1, 77, 1, 78, 1, 78, 1, 79, 1, 79, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 83, 1, 83, 1, 83, 1, 84, 1, 84, 1, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 87, 1, 87, 1, 87, 1, 88, 1, 88, 1, 89, 1, 89, 1, 90, 1, 90, 1, 91, 1, 91, 1, 92, 1, 92, 1, 93, 1, 93, 1, 93, 1, 94, 1, 94, 1, 95, 1, 95, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 3, 96, 856, 8, 96, 1, 97, 4, 97, 859, 8, 97, 11, 97, 12, 97, 860, 1, 97, 1, 97, 4, 97, 865, 8, 97, 11, 97, 12, 97, 866, 3, 97, 869, 8, 97, 1, 98, 1, 98, 5, 98, 873, 8, 98, 10, 98, 12, 98, 876, 9, 98, 1, 99, 4, 99, 879, 8, 99, 11, 99, 12, 99, 880, 1, 99, 1, 99, 0, 0, 100, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 61, 31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 36, 73, 37, 75, 38, 77, 39, 79, 40, 81, 41, 83, 42, 85, 43, 87, 44, 89, 45, 91, 46, 93, 47, 95, 48, 97, 49, 99, 50, 101, 51, 103, 52, 105, 53, 107, 54, 109, 55, 111, 56, 113, 57, 115, 58, 117, 59, 119, 60, 121, 61, 123, 62, 125, 63, 127, 64, 129, 65, 131, 66, 133, 67, 135, 68, 137, 69, 139, 70, 141, 71, 143, 72, 145, 73, 147, 74, 149, 75, 151, 76, 153, 77, 155, 78, 157, 79, 159, 80, 161, 81, 163, 82, 165, 83, 167, 84, 169, 85, 171, 86, 173, 87, 175, 88, 177, 89, 179, 90, 181, 91, 183, 92, 185, 93, 187, 94, 189, 95, 191, 96, 193, 97, 195, 98, 197, 99, 199, 100, 1, 0, 5, 2, 0, 69, 69, 101, 101, 1, 0, 48, 57, 3, 0, 65, 90, 95, 95, 97, 122, 4, 0, 48, 57, 65, 90, 95, 95, 97, 122, 3, 0, 9, 10, 13, 13, 32, 32, 906, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1, 0, 0, 0, 0, 101, 1, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 105, 1, 0, 0, 0, 0, 107, 1, 0, 0, 0, 0, 109, 1, 0, 0, 0, 0, 111, 1, 0, 0, 0, 0, 113, 1, 0, 0, 0, 0, 115, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0, 0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 0, 143, 1, 0, 0, 0, 0, 145, 1, 0, 0, 0, 0, 147, 1, 0, 0, 0, 0, 149, 1, 0, 0, 0, 0, 151, 1, 0, 0, 0, 0, 153, 1, 0, 0, 0, 0, 155, 1, 0, 0, 0, 0, 157, 1, 0, 0, 0, 0, 159, 1, 0, 0, 0, 0, 161, 1, 0, 0, 0, 0, 163, 1, 0, 0, 0, 0, 165, 1, 0, 0, 0, 0, 167, 1, 0, 0, 0, 0, 169, 1, 0, 0, 0, 0, 171, 1, 0, 0, 0, 0, 173, 1, 0, 0, 0, 0, 175, 1, 0, 0, 0, 0, 177, 1, 0, 0, 0, 0, 179, 1, 0, 0, 0, 0, 181, 1, 0, 0, 0, 0, 183, 1, 0, 0, 0, 0, 185, 1, 0, 0, 0, 0, 187, 1, 0, 0, 0, 0, 189, 1, 0, 0, 0, 0, 191, 1, 0, 0, 0, 0, 193, 1, 0, 0, 0, 0, 195, 1, 0, 0, 0, 0, 197, 1, 0, 0, 0, 0, 199, 1, 0, 0, 0, 1, 201, 1, 0, 0, 0, 3, 205, 1, 0, 0, 0, 5, 209, 1, 0, 0, 0, 7, 213, 1, 0, 0, 0, 9, 218, 1, 0, 0, 0, 11, 223, 1, 0, 0, 0, 13, 228, 1, 0, 0, 0, 15, 234, 1, 0, 0, 0, 17, 239, 1, 0, 0, 0, 19, 244, 1, 0, 0, 0, 21, 249, 1, 0, 0, 0, 23, 255, 1, 0, 0, 0, 25, 261, 1, 0, 0, 0, 27, 267, 1, 0, 0, 0, 29, 271, 1, 0, 0, 0, 31, 276, 1, 0, 0, 0, 33, 279, 1, 0, 0, 0, 35, 283, 1, 0, 0, 0, 37, 287, 1, 0, 0, 0, 39, 292, 1, 0, 0, 0, 41, 297, 1, 0, 0, 0, 43, 302, 1, 0, 0, 0, 45, 307, 1, 0, 0, 0, 47, 313, 1, 0, 0, 0, 49, 319, 1, 0, 0, 0, 51, 325, 1, 0, 0, 0, 53, 330, 1, 0, 0, 0, 55, 336, 1, 0, 0, 0, 57, 342, 1, 0, 0, 0, 59, 346, 1, 0, 0, 0, 61, 351, 1, 0, 0, 0, 63, 357, 1, 0, 0, 0, 65, 361, 1, 0, 0, 0, 67, 366, 1, 0, 0, 0, 69, 372, 1, 0, 0, 0, 71, 393, 1, 0, 0, 0, 73, 395, 1, 0, 0, 0, 75, 400, 1, 0, 0, 0, 77, 405, 1, 0, 0, 0, 79, 416, 1, 0, 0, 0, 81, 422, 1, 0, 0, 0, 83, 427, 1, 0, 0, 0, 85, 436, 1, 0, 0, 0, 87, 441, 1, 0, 0, 0, 89, 446, 1, 0, 0, 0, 91, 469, 1, 0, 0, 0, 93, 486, 1, 0, 0, 0, 95, 488, 1, 0, 0, 0, 97, 504, 1, 0, 0, 0, 99, 517, 1, 0, 0, 0, 101, 519, 1, 0, 0, 0, 103, 525, 1, 0, 0, 0, 105, 530, 1, 0, 0, 0, 107, 535, 1, 0, 0, 0, 109, 540, 1, 0, 0, 0, 111, 544, 1, 0, 0, 0, 113, 549, 1, 0, 0, 0, 115, 553, 1, 0, 0, 0, 117, 572, 1, 0, 0, 0, 119, 589, 1, 0, 0, 0, 121, 591, 1, 0, 0, 0, 123, 600, 1, 0, 0, 0, 125, 604, 1, 0, 0, 0, 127, 634, 1, 0, 0, 0, 129, 659, 1, 0, 0, 0, 131, 679, 1, 0, 0, 0, 133, 704, 1, 0, 0, 0, 135, 729, 1, 0, 0, 0, 137, 752, 1, 0, 0, 0, 139, 773, 1, 0, 0, 0, 141, 775, 1, 0, 0, 0, 143, 782, 1, 0, 0, 0, 145, 787, 1, 0, 0, 0, 147, 791, 1, 0, 0, 0, 149, 796, 1, 0, 0, 0, 151, 803, 1, 0, 0, 0, 153, 805, 1, 0, 0, 0, 155, 807, 1, 0, 0, 0, 157, 809, 1, 0, 0, 0, 159, 811, 1, 0, 0, 0, 161, 813, 1, 0, 0, 0, 163, 815, 1, 0, 0, 0, 165, 818, 1, 0, 0, 0, 167, 820, 1, 0, 0, 0, 169, 823, 1, 0, 0, 0, 171, 825, 1, 0, 0, 0, 173, 828, 1, 0, 0, 0, 175, 830, 1, 0, 0, 0, 177, 833, 1, 0, 0, 0, 179, 835, 1, 0, 0, 0, 181, 837, 1, 0, 0, 0, 183, 839, 1, 0, 0, 0, 185, 841, 1, 0, 0, 0, 187, 843, 1, 0, 0, 0, 189, 846, 1, 0, 0, 0, 191, 848, 1, 0, 0, 0, 193, 855, 1, 0, 0, 0, 195, 858, 1, 0, 0, 0, 197, 870, 1, 0, 0, 0, 199, 878, 1, 0, 0, 0, 201, 202, 5, 115, 0, 0, 202, 203, 5, 105, 0, 0, 203, 204, 5, 110, 0, 0, 204, 2, 1, 0, 0, 0, 205, 206, 5, 99, 0, 0, 206, 207, 5, 111, 0, 0, 207, 208, 5, 115, 0, 0, 208, 4, 1, 0, 0, 0, 209, 210, 5, 116, 0, 0, 210, 211, 5, 97, 0, 0, 211, 212, 5, 110, 0, 0, 212, 6, 1, 0, 0, 0, 213, 214, 5, 97, 0, 0, 214, 215, 5, 115, 0, 0, 215, 216, 5, 105, 0, 0, 216, 217, 5, 110, 0, 0, 217, 8, 1, 0, 0, 0, 218, 219, 5, 97, 0, 0, 219, 220, 5, 99, 0, 0, 220, 221, 5, 111, 0, 0, 221, 222, 5, 115, 0, 0, 222, 10, 1, 0, 0, 0, 223, 224, 5, 97, 0, 0, 224, 225, 5, 116, 0, 0, 225, 226, 5, 97, 0, 0, 226, 227, 5, 110, 0, 0, 227, 12, 1, 0, 0, 0, 228, 229, 5, 97, 0, 0, 229, 230, 5, 116, 0, 0, 230, 231, 5, 97, 0, 0, 231, 232, 5, 110, 0, 0, 232, 233, 5, 50, 0, 0, 233, 14, 1, 0, 0, 0, 234, 235, 5, 115, 0, 0, 235, 236, 5, 105, 0, 0, 236, 237, 5, 110, 0, 0, 237, 238, 5, 104, 0, 0, 238, 16, 1, 0, 0, 0, 239, 240, 5, 99, 0, 0, 240, 241, 5, 111, 0, 0, 241, 242, 5, 115, 0, 0, 242, 243, 5, 104, 0, 0, 243, 18, 1, 0, 0, 0, 244, 245, 5, 116, 0, 0, 245, 246, 5, 97, 0, 0, 246, 247, 5, 110, 0, 0, 247, 248, 5, 104, 0, 0, 248, 20, 1, 0, 0, 0, 249, 250, 5, 97, 0, 0, 250, 251, 5, 115, 0, 0, 251, 252, 5, 105, 0, 0, 252, 253, 5, 110, 0, 0, 253, 254, 5, 104, 0, 0, 254, 22, 1, 0, 0, 0, 255, 256, 5, 97, 0, 0, 256, 257, 5, 99, 0, 0, 257, 258, 5, 111, 0, 0, 258, 259, 5, 115, 0, 0, 259, 260, 5, 104, 0, 0, 260, 24, 1, 0, 0, 0, 261, 262, 5, 97, 0, 0, 262, 263, 5, 116, 0, 0, 263, 264, 5, 97, 0, 0, 264, 265, 5, 110, 0, 0, 265, 266, 5, 104, 0, 0, 266, 26, 1, 0, 0, 0, 267, 268, 5, 97, 0, 0, 268, 269, 5, 98, 0, 0, 269, 270, 5, 115, 0, 0, 270, 28, 1, 0, 0, 0, 271, 272, 5, 115, 0, 0, 272, 273, 5, 113, 0, 0, 273, 274, 5, 114, 0, 0, 274, 275, 5, 116, 0, 0, 275, 30, 1, 0, 0, 0, 276, 277, 5, 108, 0, 0, 277, 278, 5, 110, 0, 0, 278, 32, 1, 0, 0, 0, 279, 280, 5, 108, 0, 0, 280, 281, 5, 111, 0, 0, 281, 282, 5, 103, 0, 0, 282, 34, 1, 0, 0, 0, 283, 284, 5, 101, 0, 0, 284, 285, 5, 120, 0, 0, 285, 286, 5, 112, 0, 0, 286, 36, 1, 0, 0, 0, 287, 288, 5, 115, 0, 0, 288, 289, 5, 109, 0, 0, 289, 290, 5, 105, 0, 0, 290, 291, 5, 110, 0, 0, 291, 38, 1, 0, 0, 0, 292, 293, 5, 115, 0, 0, 293, 294, 5, 109, 0, 0, 294, 295, 5, 97, 0, 0, 295, 296, 5, 120, 0, 0, 296, 40, 1, 0, 0, 0, 297, 298, 5, 116, 0, 0, 298, 299, 5, 109, 0, 0, 299, 300, 5, 105, 0, 0, 300, 301, 5, 110, 0, 0, 301, 42, 1, 0, 0, 0, 302, 303, 5, 116, 0, 0, 303, 304, 5, 109, 0, 0, 304, 305, 5, 97, 0, 0, 305, 306, 5, 120, 0, 0, 306, 44, 1, 0, 0, 0, 307, 308, 5, 116, 0, 0, 308, 309, 5, 110, 0, 0, 309, 310, 5, 111, 0, 0, 310, 311, 5, 114, 0, 0, 311, 312, 5, 109, 0, 0, 312, 46, 1, 0, 0, 0, 313, 314, 5, 115, 0, 0, 314, 315, 5, 110, 0, 0, 315, 316, 5, 111, 0, 0, 316, 317, 5, 114, 0, 0, 317, 318, 5, 109, 0, 0, 318, 48, 1, 0, 0, 0, 319, 320, 5, 102, 0, 0, 320, 321, 5, 108, 0, 0, 321, 322, 5, 111, 0, 0, 322, 323, 5, 111, 0, 0, 323, 324, 5, 114, 0, 0, 324, 50, 1, 0, 0, 0, 325, 326, 5, 99, 0, 0, 326, 327, 5, 101, 0, 0, 327, 328, 5, 105, 0, 0, 328, 329, 5, 108, 0, 0, 329, 52, 1, 0, 0, 0, 330, 331, 5, 114, 0, 0, 331, 332, 5, 111, 0, 0, 332, 333, 5, 117, 0, 0, 333, 334, 5, 110, 0, 0, 334, 335, 5, 100, 0, 0, 335, 54, 1, 0, 0, 0, 336, 337, 5, 103, 0, 0, 337, 338, 5, 97, 0, 0, 338, 339, 5, 109, 0, 0, 339, 340, 5, 109, 0, 0, 340, 341, 5, 97, 0, 0, 341, 56, 1, 0, 0, 0, 342, 343, 5, 112, 0, 0, 343, 344, 5, 111, 0, 0, 344, 345, 5, 119, 0, 0, 345, 58, 1, 0, 0, 0, 346, 347, 5, 115, 0, 0, 347, 348, 5, 105, 0, 0, 348, 349, 5, 103, 0, 0, 349, 350, 5, 109, 0, 0, 350, 60, 1, 0, 0, 0, 351, 352, 5, 99, 0, 0, 352, 353, 5, 108, 0, 0, 353, 354, 5, 97, 0, 0, 354, 355, 5, 109, 0, 0, 355, 356, 5, 112, 0, 0, 356, 62, 1, 0, 0, 0, 357, 358, 5, 102, 0, 0, 358, 359, 5, 102, 0, 0, 359, 360, 5, 116, 0, 0, 360, 64, 1, 0, 0, 0, 361, 362, 5, 105, 0, 0, 362, 363, 5, 102, 0, 0, 363, 364, 5, 102, 0, 0, 364, 365, 5, 116, 0, 0, 365, 66, 1, 0, 0, 0, 366, 367, 5, 97, 0, 0, 367, 368, 5, 110, 0, 0, 368, 369, 5, 103, 0, 0, 369, 370, 5, 108, 0, 0, 370, 371, 5, 101, 0, 0, 371, 68, 1, 0, 0, 0, 372, 373, 5, 112, 0, 0, 373, 374, 5, 114, 0, 0, 374, 375, 5, 105, 0, 0, 375, 376, 5, 110, 0, 0, 376, 377, 5, 116, 0, 0, 377, 70, 1, 0, 0, 0, 378, 379, 5, 112, 0, 0, 379, 380, 5, 114, 0, 0, 380, 381, 5, 105, 0, 0, 381, 382, 5, 110, 0, 0, 382, 383, 5, 116, 0, 0, 383, 384, 5, 95, 0, 0, 384, 385, 5, 115, 0, 0, 385, 386, 5, 104, 0, 0, 386, 387, 5, 97, 0, 0, 387, 388, 5, 112, 0, 0, 388, 394, 5, 101, 0, 0, 389, 390, 5, 112, 0, 0, 390, 391, 5, 115, 0, 0, 391, 392, 5, 104, 0, 0, 392, 394, 5, 112, 0, 0, 393, 378, 1, 0, 0, 0, 393, 389, 1, 0, 0, 0, 394, 72, 1, 0, 0, 0, 395, 396, 5, 108, 0, 0, 396, 397, 5, 101, 0, 0, 397, 398, 5, 114, 0, 0, 398, 399, 5, 112, 0, 0, 399, 74, 1, 0, 0, 0, 400, 401, 5, 115, 0, 0, 401, 402, 5, 116, 0, 0, 402, 403, 5, 101, 0, 0, 403, 404, 5, 112, 0, 0, 404, 76, 1, 0, 0, 0, 405, 406, 5, 115, 0, 0, 406, 407, 5, 109, 0, 0, 407, 408, 5, 111, 0, 0, 408, 409, 5, 111, 0, 0, 409, 410, 5, 116, 0, 0, 410, 411, 5, 104, 0, 0, 411, 412, 5, 115, 0, 0, 412, 413, 5, 116, 0, 0, 413, 414, 5, 101, 0, 0, 414, 415, 5, 112, 0, 0, 415, 78, 1, 0, 0, 0, 416, 417, 5, 102, 0, 0, 417, 418, 5, 114, 0, 0, 418, 419, 5, 97, 0, 0, 419, 420, 5, 99, 0, 0, 420, 421, 5, 116, 0, 0, 421, 80, 1, 0, 0, 0, 422, 423, 5, 114, 0, 0, 423, 424, 5, 101, 0, 0, 424, 425, 5, 108, 0, 0, 425, 426, 5, 117, 0, 0, 426, 82, 1, 0, 0, 0, 427, 428, 5, 115, 0, 0, 428, 429, 5, 111, 0, 0, 429, 430, 5, 102, 0, 0, 430, 431, 5, 116, 0, 0, 431, 432, 5, 112, 0, 0, 432, 433, 5, 108, 0, 0, 433, 434, 5, 117, 0, 0, 434, 435, 5, 115, 0, 0, 435, 84, 1, 0, 0, 0, 436, 437, 5, 103, 0, 0, 437, 438, 5, 101, 0, 0, 438, 439, 5, 108, 0, 0, 439, 440, 5, 117, 0, 0, 440, 86, 1, 0, 0, 0, 441, 442, 5, 115, 0, 0, 442, 443, 5, 105, 0, 0, 443, 444, 5, 103, 0, 0, 444, 445, 5, 110, 0, 0, 445, 88, 1, 0, 0, 0, 446, 447, 5, 109, 0, 0, 447, 448, 5, 97, 0, 0, 448, 449, 5, 112, 0, 0, 449, 90, 1, 0, 0, 0, 450, 451, 5, 101, 0, 0, 451, 452, 5, 122, 0, 0, 452, 453, 5, 99, 0, 0, 453, 454, 5, 111, 0, 0, 454, 455, 5, 110, 0, 0, 455, 456, 5, 118, 0, 0, 456, 457, 5, 111, 0, 0, 457, 458, 5, 108, 0, 0, 458, 459, 5, 117, 0, 0, 459, 460, 5, 116, 0, 0, 460, 461, 5, 105, 0, 0, 461, 462, 5, 111, 0, 0, 462, 470, 5, 110, 0, 0, 463, 464, 5, 101, 0, 0, 464, 465, 5, 122, 0, 0, 465, 466, 5, 99, 0, 0, 466, 467, 5, 111, 0, 0, 467, 468, 5, 110, 0, 0, 468, 470, 5, 118, 0, 0, 469, 450, 1, 0, 0, 0, 469, 463, 1, 0, 0, 0, 470, 92, 1, 0, 0, 0, 471, 472, 5, 99, 0, 0, 472, 473, 5, 111, 0, 0, 473, 474, 5, 110, 0, 0, 474, 475, 5, 118, 0, 0, 475, 476, 5, 111, 0, 0, 476, 477, 5, 108, 0, 0, 477, 478, 5, 117, 0, 0, 478, 479, 5, 116, 0, 0, 479, 480, 5, 105, 0, 0, 480, 481, 5, 111, 0, 0, 481, 487, 5, 110, 0, 0, 482, 483, 5, 99, 0, 0, 483, 484, 5, 111, 0, 0, 484, 485, 5, 110, 0, 0, 485, 487, 5, 118, 0, 0, 486, 471, 1, 0, 0, 0, 486, 482, 1, 0, 0, 0, 487, 94, 1, 0, 0, 0, 488, 489, 5, 115, 0, 0, 489, 490, 5, 119, 0, 0, 490, 491, 5, 97, 0, 0, 491, 492, 5, 112, 0, 0, 492, 96, 1, 0, 0, 0, 493, 494, 5, 112, 0, 0, 494, 495, 5, 101, 0, 0, 495, 496, 5, 114, 0, 0, 496, 497, 5, 109, 0, 0, 497, 498, 5, 117, 0, 0, 498, 499, 5, 116, 0, 0, 499, 505, 5, 101, 0, 0, 500, 501, 5, 112, 0, 0, 501, 502, 5, 101, 0, 0, 502, 503, 5, 114, 0, 0, 503, 505, 5, 109, 0, 0, 504, 493, 1, 0, 0, 0, 504, 500, 1, 0, 0, 0, 505, 98, 1, 0, 0, 0, 506, 507, 5, 114, 0, 0, 507, 508, 5, 101, 0, 0, 508, 509, 5, 115, 0, 0, 509, 510, 5, 104, 0, 0, 510, 511, 5, 97, 0, 0, 511, 512, 5, 112, 0, 0, 512, 518, 5, 101, 0, 0, 513, 514, 5, 114, 0, 0, 514, 515, 5, 115, 0, 0, 515, 516, 5, 104, 0, 0, 516, 518, 5, 112, 0, 0, 517, 506, 1, 0, 0, 0, 517, 513, 1, 0, 0, 0, 518, 100, 1, 0, 0, 0, 519, 520, 5, 114, 0, 0, 520, 521, 5, 97, 0, 0, 521, 522, 5, 110, 0, 0, 522, 523, 5, 103, 0, 0, 523, 524, 5, 101, 0, 0, 524, 102, 1, 0, 0, 0, 525, 526, 5, 116, 0, 0, 526, 527, 5, 111, 0, 0, 527, 528, 5, 112, 0, 0, 528, 529, 5, 107, 0, 0, 529, 104, 1, 0, 0, 0, 530, 531, 5, 98, 0, 0, 531, 532, 5, 111, 0, 0, 532, 533, 5, 116, 0, 0, 533, 534, 5, 107, 0, 0, 534, 106, 1, 0, 0, 0, 535, 536, 5, 112, 0, 0, 536, 537, 5, 105, 0, 0, 537, 538, 5, 110, 0, 0, 538, 539, 5, 118, 0, 0, 539, 108, 1, 0, 0, 0, 540, 541, 5, 115, 0, 0, 541, 542, 5, 117, 0, 0, 542, 543, 5, 109, 0, 0, 543, 110, 1, 0, 0, 0, 544, 545, 5, 109, 0, 0, 545, 546, 5, 101, 0, 0, 546, 547, 5, 97, 0, 0, 547, 548, 5, 110, 0, 0, 548, 112, 1, 0, 0, 0, 549, 550, 5, 115, 0, 0, 550, 551, 5, 116, 0, 0, 551, 552, 5, 100, 0, 0, 552, 114, 1, 0, 0, 0, 553, 554, 5, 118, 0, 0, 554, 555, 5, 97, 0, 0, 555, 556, 5, 114, 0, 0, 556, 116, 1, 0, 0, 0, 557, 558, 5, 113, 0, 0, 558, 559, 5, 117, 0, 0, 559, 560, 5, 97, 0, 0, 560, 561, 5, 114, 0, 0, 561, 562, 5, 116, 0, 0, 562, 563, 5, 105, 0, 0, 563, 564, 5, 108, 0, 0, 564, 573, 5, 101, 0, 0, 565, 566, 5, 113, 0, 0, 566, 567, 5, 117, 0, 0, 567, 568, 5, 97, 0, 0, 568, 569, 5, 114, 0, 0, 569, 570, 5, 116, 0, 0, 570, 571, 5, 105, 0, 0, 571, 573, 5, 108, 0, 0, 572, 557, 1, 0, 0, 0, 572, 565, 1, 0, 0, 0, 573, 118, 1, 0, 0, 0, 574, 575, 5, 112, 0, 0, 575, 576, 5, 101, 0, 0, 576, 577, 5, 114, 0, 0, 577, 578, 5, 99, 0, 0, 578, 579, 5, 101, 0, 0, 579, 580, 5, 110, 0, 0, 580, 581, 5, 116, 0, 0, 581, 582, 5, 105, 0, 0, 582, 583, 5, 108, 0, 0, 583, 590, 5, 101, 0, 0, 584, 585, 5, 112, 0, 0, 585, 586, 5, 114, 0, 0, 586, 587, 5, 99, 0, 0, 587, 588, 5, 110, 0, 0, 588, 590, 5, 116, 0, 0, 589, 574, 1, 0, 0, 0, 589, 584, 1, 0, 0, 0, 590, 120, 1, 0, 0, 0, 591, 592, 5, 113, 0, 0, 592, 593, 5, 117, 0, 0, 593, 594, 5, 97, 0, 0, 594, 595, 5, 110, 0, 0, 595, 596, 5, 116, 0, 0, 596, 597, 5, 105, 0, 0, 597, 598, 5, 108, 0, 0, 598, 599, 5, 101, 0, 0, 599, 122, 1, 0, 0, 0, 600, 601, 5, 100, 0, 0, 601, 602, 5, 111, 0, 0, 602, 603, 5, 116, 0, 0, 603, 124, 1, 0, 0, 0, 604, 605, 5, 109, 0, 0, 605, 606, 5, 111, 0, 0, 606, 607, 5, 109, 0, 0, 607, 608, 5, 101, 0, 0, 608, 609, 5, 110, 0, 0, 609, 610, 5, 116, 0, 0, 610, 126, 1, 0, 0, 0, 611, 612, 5, 110, 0, 0, 612, 613, 5, 111, 0, 0, 613, 614, 5, 105, 0, 0, 614, 615, 5, 115, 0, 0, 615, 635, 5, 101, 0, 0, 616, 617, 5, 114, 0, 0, 617, 618, 5, 97, 0, 0, 618, 619, 5, 110, 0, 0, 619, 620, 5, 100, 0, 0, 620, 635, 5, 110, 0, 0, 621, 622, 5, 114, 0, 0, 622, 623, 5, 97, 0, 0, 623, 624, 5, 110, 0, 0, 624, 625, 5, 100, 0, 0, 625, 626, 5, 111, 0, 0, 626, 627, 5, 109, 0, 0, 627, 628, 5, 95, 0, 0, 628, 629, 5, 110, 0, 0, 629, 630, 5, 111, 0, 0, 630, 631, 5, 114, 0, 0, 631, 632, 5, 109, 0, 0, 632, 633, 5, 97, 0, 0, 633, 635, 5, 108, 0, 0, 634, 611, 1, 0, 0, 0, 634, 616, 1, 0, 0, 0, 634, 621, 1, 0, 0, 0, 635, 128, 1, 0, 0, 0, 636, 637, 5, 114, 0, 0, 637, 638, 5, 97, 0, 0, 638, 639, 5, 110, 0, 0, 639, 660, 5, 100, 0, 0, 640, 641, 5, 114, 0, 0, 641, 642, 5, 97, 0, 0, 642, 643, 5, 110, 0, 0, 643, 644, 5, 100, 0, 0, 644, 660, 5, 117, 0, 0, 645, 646, 5, 114, 0, 0, 646, 647, 5, 97, 0, 0, 647, 648, 5, 110, 0, 0, 648, 649, 5, 100, 0, 0, 649, 650, 5, 111, 0, 0, 650, 651, 5, 109, 0, 0, 651, 652, 5, 95, 0, 0, 652, 653, 5, 117, 0, 0, 653, 654, 5, 110, 0, 0, 654, 655, 5, 105, 0, 0, 655, 656, 5, 102, 0, 0, 656, 657, 5, 111, 0, 0, 657, 658, 5, 114, 0, 0, 658, 660, 5, 109, 0, 0, 659, 636, 1, 0, 0, 0, 659, 640, 1, 0, 0, 0, 659, 645, 1, 0, 0, 0, 660, 130, 1, 0, 0, 0, 661, 662, 5, 114, 0, 0, 662, 663, 5, 97, 0, 0, 663, 664, 5, 110, 0, 0, 664, 665, 5, 100, 0, 0, 665, 680, 5, 99, 0, 0, 666, 667, 5, 114, 0, 0, 667, 668, 5, 97, 0, 0, 668, 669, 5, 110, 0, 0, 669, 670, 5, 100, 0, 0, 670, 671, 5, 111, 0, 0, 671, 672, 5, 109, 0, 0, 672, 673, 5, 95, 0, 0, 673, 674, 5, 99, 0, 0, 674, 675, 5, 97, 0, 0, 675, 676, 5, 117, 0, 0, 676, 677, 5, 99, 0, 0, 677, 678, 5, 104, 0, 0, 678, 680, 5, 121, 0, 0, 679, 661, 1, 0, 0, 0, 679, 666, 1, 0, 0, 0, 680, 132, 1, 0, 0, 0, 681, 682, 5, 114, 0, 0, 682, 683, 5, 97, 0, 0, 683, 684, 5, 110, 0, 0, 684, 685, 5, 100, 0, 0, 685, 705, 5, 101, 0, 0, 686, 687, 5, 114, 0, 0, 687, 688, 5, 97, 0, 0, 688, 689, 5, 110, 0, 0, 689, 690, 5, 100, 0, 0, 690, 691, 5, 111, 0, 0, 691, 692, 5, 109, 0, 0, 692, 693, 5, 95, 0, 0, 693, 694, 5, 101, 0, 0, 694, 695, 5, 120, 0, 0, 695, 696, 5, 112, 0, 0, 696, 697, 5, 111, 0, 0, 697, 698, 5, 110, 0, 0, 698, 699, 5, 101, 0, 0, 699, 700, 5, 110, 0, 0, 700, 701, 5, 116, 0, 0, 701, 702, 5, 105, 0, 0, 702, 703, 5, 97, 0, 0, 703, 705, 5, 108, 0, 0, 704, 681, 1, 0, 0, 0, 704, 686, 1, 0, 0, 0, 705, 134, 1, 0, 0, 0, 706, 707, 5, 114, 0, 0, 707, 708, 5, 97, 0, 0, 708, 709, 5, 110, 0, 0, 709, 710, 5, 100, 0, 0, 710, 711, 5, 108, 0, 0, 711, 730, 5, 110, 0, 0, 712, 713, 5, 114, 0, 0, 713, 714, 5, 97, 0, 0, 714, 715, 5, 110, 0, 0, 715, 716, 5, 100, 0, 0, 716, 717, 5, 111, 0, 0, 717, 718, 5, 109, 0, 0, 718, 719, 5, 95, 0, 0, 719, 720, 5, 108, 0, 0, 720, 721, 5, 111, 0, 0, 721, 722, 5, 103, 0, 0, 722, 723, 5, 95, 0, 0, 723, 724, 5, 110, 0, 0, 724, 725, 5, 111, 0, 0, 725, 726, 5, 114, 0, 0, 726, 727, 5, 109, 0, 0, 727, 728, 5, 97, 0, 0, 728, 730, 5, 108, 0, 0, 729, 706, 1, 0, 0, 0, 729, 712, 1, 0, 0, 0, 730, 136, 1, 0, 0, 0, 731, 732, 5, 114, 0, 0, 732, 733, 5, 97, 0, 0, 733, 734, 5, 110, 0, 0, 734, 735, 5, 100, 0, 0, 735, 753, 5, 98, 0, 0, 736, 737, 5, 114, 0, 0, 737, 738, 5, 97, 0, 0, 738, 739, 5, 110, 0, 0, 739, 740, 5, 100, 0, 0, 740, 741, 5, 111, 0, 0, 741, 742, 5, 109, 0, 0, 742, 743, 5, 95, 0, 0, 743, 744, 5, 98, 0, 0, 744, 745, 5, 101, 0, 0, 745, 746, 5, 114, 0, 0, 746, 747, 5, 110, 0, 0, 747, 748, 5, 111, 0, 0, 748, 749, 5, 117, 0, 0, 749, 750, 5, 108, 0, 0, 750, 751, 5, 108, 0, 0, 751, 753, 5, 105, 0, 0, 752, 731, 1, 0, 0, 0, 752, 736, 1, 0, 0, 0, 753, 138, 1, 0, 0, 0, 754, 755, 5, 114, 0, 0, 755, 756, 5, 97, 0, 0, 756, 757, 5, 110, 0, 0, 757, 758, 5, 100, 0, 0, 758, 774, 5, 112, 0, 0, 759, 760, 5, 114, 0, 0, 760, 761, 5, 97, 0, 0, 761, 762, 5, 110, 0, 0, 762, 763, 5, 100, 0, 0, 763, 764, 5, 111, 0, 0, 764, 765, 5, 109, 0, 0, 765, 766, 5, 95, 0, 0, 766, 767, 5, 112, 0, 0, 767, 768, 5, 111, 0, 0, 768, 769, 5, 105, 0, 0, 769, 770, 5, 115, 0, 0, 770, 771, 5, 115, 0, 0, 771, 772, 5, 111, 0, 0, 772, 774, 5, 110, 0, 0, 773, 754, 1, 0, 0, 0, 773, 759, 1, 0, 0, 0, 774, 140, 1, 0, 0, 0, 775, 776, 5, 99, 0, 0, 776, 777, 5, 111, 0, 0, 777, 778, 5, 115, 0, 0, 778, 779, 5, 115, 0, 0, 779, 780, 5, 105, 0, 0, 780, 781, 5, 109, 0, 0, 781, 142, 1, 0, 0, 0, 782, 783, 5, 102, 0, 0, 783, 784, 5, 108, 0, 0, 784, 785, 5, 105, 0, 0, 785, 786, 5, 112, 0, 0, 786, 144, 1, 0, 0, 0, 787, 788, 5, 99, 0, 0, 788, 789, 5, 111, 0, 0, 789, 790, 5, 118, 0, 0, 790, 146, 1, 0, 0, 0, 791, 792, 5, 115, 0, 0, 792, 793, 5, 111, 0, 0, 793, 794, 5, 114, 0, 0, 794, 795, 5, 116, 0, 0, 795, 148, 1, 0, 0, 0, 796, 797, 5, 97, 0, 0, 797, 798, 5, 112, 0, 0, 798, 799, 5, 112, 0, 0, 799, 800, 5, 101, 0, 0, 800, 801, 5, 110, 0, 0, 801, 802, 5, 100, 0, 0, 802, 150, 1, 0, 0, 0, 803, 804, 5, 43, 0, 0, 804, 152, 1, 0, 0, 0, 805, 806, 5, 45, 0, 0, 806, 154, 1, 0, 0, 0, 807, 808, 5, 42, 0, 0, 808, 156, 1, 0, 0, 0, 809, 810, 5, 47, 0, 0, 810, 158, 1, 0, 0, 0, 811, 812, 5, 37, 0, 0, 812, 160, 1, 0, 0, 0, 813, 814, 5, 94, 0, 0, 814, 162, 1, 0, 0, 0, 815, 816, 5, 62, 0, 0, 816, 817, 5, 61, 0, 0, 817, 164, 1, 0, 0, 0, 818, 819, 5, 62, 0, 0, 819, 166, 1, 0, 0, 0, 820, 821, 5, 60, 0, 0, 821, 822, 5, 61, 0, 0, 822, 168, 1, 0, 0, 0, 823, 824, 5, 60, 0, 0, 824, 170, 1, 0, 0, 0, 825, 826, 5, 61, 0, 0, 826, 827, 5, 61, 0, 0, 827, 172, 1, 0, 0, 0, 828, 829, 5, 61, 0, 0, 829, 174, 1, 0, 0, 0, 830, 831, 5, 33, 0, 0, 831, 832, 5, 61, 0, 0, 832, 176, 1, 0, 0, 0, 833, 834, 5, 124, 0, 0, 834, 178, 1, 0, 0, 0, 835, 836, 5, 40, 0, 0, 836, 180, 1, 0, 0, 0, 837, 838, 5, 41, 0, 0, 838, 182, 1, 0, 0, 0, 839, 840, 5, 44, 0, 0, 840, 184, 1, 0, 0, 0, 841, 842, 5, 59, 0, 0, 842, 186, 1, 0, 0, 0, 843, 844, 5, 45, 0, 0, 844, 845, 5, 62, 0, 0, 845, 188, 1, 0, 0, 0, 846, 847, 5, 91, 0, 0, 847, 190, 1, 0, 0, 0, 848, 849, 5, 93, 0, 0, 849, 192, 1, 0, 0, 0, 850, 851, 5, 112, 0, 0, 851, 856, 5, 105, 0, 0, 852, 853, 5, 80, 0, 0, 853, 856, 5, 73, 0, 0, 854, 856, 7, 0, 0, 0, 855, 850, 1, 0, 0, 0, 855, 852, 1, 0, 0, 0, 855, 854, 1, 0, 0, 0, 856, 194, 1, 0, 0, 0, 857, 859, 7, 1, 0, 0, 858, 857, 1, 0, 0, 0, 859, 860, 1, 0, 0, 0, 860, 858, 1, 0, 0, 0, 860, 861, 1, 0, 0, 0, 861, 868, 1, 0, 0, 0, 862, 864, 5, 46, 0, 0, 863, 865, 7, 1, 0, 0, 864, 863, 1, 0, 0, 0, 865, 866, 1, 0, 0, 0, 866, 864, 1, 0, 0, 0, 866, 867, 1, 0, 0, 0, 867, 869, 1, 0, 0, 0, 868, 862, 1, 0, 0, 0, 868, 869, 1, 0, 0, 0, 869, 196, 1, 0, 0, 0, 870, 874, 7, 2, 0, 0, 871, 873, 7, 3, 0, 0, 872, 871, 1, 0, 0, 0, 873, 876, 1, 0, 0, 0, 874, 872, 1, 0, 0, 0, 874, 875, 1, 0, 0, 0, 875, 198, 1, 0, 0, 0, 876, 874, 1, 0, 0, 0, 877, 879, 7, 4, 0, 0, 878, 877, 1, 0, 0, 0, 879, 880, 1, 0, 0, 0, 880, 878, 1, 0, 0, 0, 880, 881, 1, 0, 0, 0, 881, 882, 1, 0, 0, 0, 882, 883, 6, 99, 0, 0, 883, 200, 1, 0, 0, 0, 21, 0, 393, 469, 486, 504, 517, 572, 589, 634, 659, 679, 704, 729, 752, 773, 855, 860, 866, 868, 874, 880, 1, 6, 0, 0] \ No newline at end of file diff --git a/more_math/Parser/MathExprLexer.py b/more_math/Parser/MathExprLexer.py index 519447c..05cf496 100644 --- a/more_math/Parser/MathExprLexer.py +++ b/more_math/Parser/MathExprLexer.py @@ -10,7 +10,7 @@ else: def serializedATN(): return [ - 4,0,99,880,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5, + 4,0,100,884,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5, 2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2, 13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7, 19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2, @@ -25,304 +25,306 @@ def serializedATN(): 78,7,78,2,79,7,79,2,80,7,80,2,81,7,81,2,82,7,82,2,83,7,83,2,84,7, 84,2,85,7,85,2,86,7,86,2,87,7,87,2,88,7,88,2,89,7,89,2,90,7,90,2, 91,7,91,2,92,7,92,2,93,7,93,2,94,7,94,2,95,7,95,2,96,7,96,2,97,7, - 97,2,98,7,98,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,3, - 1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,1,5,1,5,1,6,1,6, - 1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,8,1,8,1,9,1,9, - 1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,10,1,10,1,11,1,11,1,11,1,11,1, - 11,1,11,1,12,1,12,1,12,1,12,1,12,1,12,1,13,1,13,1,13,1,13,1,14,1, - 14,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,16,1,16,1,17,1,17,1, - 17,1,17,1,18,1,18,1,18,1,18,1,18,1,19,1,19,1,19,1,19,1,19,1,20,1, - 20,1,20,1,20,1,20,1,21,1,21,1,21,1,21,1,21,1,22,1,22,1,22,1,22,1, - 22,1,22,1,23,1,23,1,23,1,23,1,23,1,23,1,24,1,24,1,24,1,24,1,24,1, - 24,1,25,1,25,1,25,1,25,1,25,1,26,1,26,1,26,1,26,1,26,1,26,1,27,1, - 27,1,27,1,27,1,27,1,27,1,28,1,28,1,28,1,28,1,29,1,29,1,29,1,29,1, - 29,1,30,1,30,1,30,1,30,1,30,1,30,1,31,1,31,1,31,1,31,1,32,1,32,1, - 32,1,32,1,32,1,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,1,34,1,34,1, - 34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1, - 35,1,35,1,35,1,35,3,35,392,8,35,1,36,1,36,1,36,1,36,1,36,1,37,1, - 37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1, - 38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1,40,1,40,1, - 41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1, - 42,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1, + 97,2,98,7,98,2,99,7,99,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,2,1,2,1, + 2,1,2,1,3,1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,1,5,1, + 5,1,6,1,6,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,8,1, + 8,1,9,1,9,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,10,1,10,1,11,1,11,1, + 11,1,11,1,11,1,11,1,12,1,12,1,12,1,12,1,12,1,12,1,13,1,13,1,13,1, + 13,1,14,1,14,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,16,1,16,1, + 17,1,17,1,17,1,17,1,18,1,18,1,18,1,18,1,18,1,19,1,19,1,19,1,19,1, + 19,1,20,1,20,1,20,1,20,1,20,1,21,1,21,1,21,1,21,1,21,1,22,1,22,1, + 22,1,22,1,22,1,22,1,23,1,23,1,23,1,23,1,23,1,23,1,24,1,24,1,24,1, + 24,1,24,1,24,1,25,1,25,1,25,1,25,1,25,1,26,1,26,1,26,1,26,1,26,1, + 26,1,27,1,27,1,27,1,27,1,27,1,27,1,28,1,28,1,28,1,28,1,29,1,29,1, + 29,1,29,1,29,1,30,1,30,1,30,1,30,1,30,1,30,1,31,1,31,1,31,1,31,1, + 32,1,32,1,32,1,32,1,32,1,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,1, + 34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1, + 35,1,35,1,35,1,35,1,35,1,35,3,35,394,8,35,1,36,1,36,1,36,1,36,1, + 36,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1, + 38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1, + 40,1,40,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,42,1,42,1, + 42,1,42,1,42,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,45,1, 45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1, - 45,1,45,1,45,3,45,468,8,45,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1, - 46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,3,46,485,8,46,1,47,1,47,1, - 47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1, - 48,3,48,503,8,48,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1, - 49,1,49,3,49,516,8,49,1,50,1,50,1,50,1,50,1,50,1,50,1,51,1,51,1, - 51,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,53,1,53,1,53,1,53,1,53,1, - 54,1,54,1,54,1,54,1,55,1,55,1,55,1,55,1,55,1,56,1,56,1,56,1,56,1, - 57,1,57,1,57,1,57,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1, - 58,1,58,1,58,1,58,1,58,1,58,3,58,571,8,58,1,59,1,59,1,59,1,59,1, - 59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,3,59,588,8, - 59,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,61,1,61,1,61,1, - 61,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,63,1,63,1,63,1,63,1,63,1, + 45,1,45,1,45,1,45,1,45,3,45,470,8,45,1,46,1,46,1,46,1,46,1,46,1, + 46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,46,3,46,487,8,46,1, + 47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1, + 48,1,48,1,48,3,48,505,8,48,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1, + 49,1,49,1,49,1,49,3,49,518,8,49,1,50,1,50,1,50,1,50,1,50,1,50,1, + 51,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,53,1,53,1,53,1, + 53,1,53,1,54,1,54,1,54,1,54,1,55,1,55,1,55,1,55,1,55,1,56,1,56,1, + 56,1,56,1,57,1,57,1,57,1,57,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1, + 58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,3,58,573,8,58,1,59,1,59,1, + 59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,3, + 59,590,8,59,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,61,1, + 61,1,61,1,61,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,63,1,63,1,63,1, 63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1, - 63,1,63,1,63,1,63,1,63,3,63,633,8,63,1,64,1,64,1,64,1,64,1,64,1, + 63,1,63,1,63,1,63,1,63,1,63,1,63,3,63,635,8,63,1,64,1,64,1,64,1, 64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1, - 64,1,64,1,64,1,64,1,64,3,64,658,8,64,1,65,1,65,1,65,1,65,1,65,1, - 65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,3, - 65,678,8,65,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1, - 66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,3, - 66,703,8,66,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1, - 67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,3, - 67,728,8,67,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1, - 68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,3,68,751,8, - 68,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1, - 69,1,69,1,69,1,69,1,69,1,69,1,69,3,69,772,8,69,1,70,1,70,1,70,1, - 70,1,70,1,70,1,70,1,71,1,71,1,71,1,71,1,71,1,72,1,72,1,72,1,72,1, - 73,1,73,1,73,1,73,1,73,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,75,1, - 75,1,76,1,76,1,77,1,77,1,78,1,78,1,79,1,79,1,80,1,80,1,81,1,81,1, - 81,1,82,1,82,1,83,1,83,1,83,1,84,1,84,1,85,1,85,1,85,1,86,1,86,1, - 86,1,87,1,87,1,88,1,88,1,89,1,89,1,90,1,90,1,91,1,91,1,92,1,92,1, - 92,1,93,1,93,1,94,1,94,1,95,1,95,1,95,1,95,1,95,3,95,852,8,95,1, - 96,4,96,855,8,96,11,96,12,96,856,1,96,1,96,4,96,861,8,96,11,96,12, - 96,862,3,96,865,8,96,1,97,1,97,5,97,869,8,97,10,97,12,97,872,9,97, - 1,98,4,98,875,8,98,11,98,12,98,876,1,98,1,98,0,0,99,1,1,3,2,5,3, - 7,4,9,5,11,6,13,7,15,8,17,9,19,10,21,11,23,12,25,13,27,14,29,15, - 31,16,33,17,35,18,37,19,39,20,41,21,43,22,45,23,47,24,49,25,51,26, - 53,27,55,28,57,29,59,30,61,31,63,32,65,33,67,34,69,35,71,36,73,37, - 75,38,77,39,79,40,81,41,83,42,85,43,87,44,89,45,91,46,93,47,95,48, - 97,49,99,50,101,51,103,52,105,53,107,54,109,55,111,56,113,57,115, - 58,117,59,119,60,121,61,123,62,125,63,127,64,129,65,131,66,133,67, - 135,68,137,69,139,70,141,71,143,72,145,73,147,74,149,75,151,76,153, - 77,155,78,157,79,159,80,161,81,163,82,165,83,167,84,169,85,171,86, - 173,87,175,88,177,89,179,90,181,91,183,92,185,93,187,94,189,95,191, - 96,193,97,195,98,197,99,1,0,5,2,0,69,69,101,101,1,0,48,57,3,0,65, - 90,95,95,97,122,4,0,48,57,65,90,95,95,97,122,3,0,9,10,13,13,32,32, - 902,0,1,1,0,0,0,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0, - 0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0, - 0,21,1,0,0,0,0,23,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0, - 0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0, - 0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0, - 0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0, - 0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0, - 0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0, - 0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0, - 0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0, - 0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1, - 0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0, - 119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,0,127,1,0, - 0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133,1,0,0,0,0,135,1,0,0,0,0,137, - 1,0,0,0,0,139,1,0,0,0,0,141,1,0,0,0,0,143,1,0,0,0,0,145,1,0,0,0, - 0,147,1,0,0,0,0,149,1,0,0,0,0,151,1,0,0,0,0,153,1,0,0,0,0,155,1, - 0,0,0,0,157,1,0,0,0,0,159,1,0,0,0,0,161,1,0,0,0,0,163,1,0,0,0,0, - 165,1,0,0,0,0,167,1,0,0,0,0,169,1,0,0,0,0,171,1,0,0,0,0,173,1,0, - 0,0,0,175,1,0,0,0,0,177,1,0,0,0,0,179,1,0,0,0,0,181,1,0,0,0,0,183, - 1,0,0,0,0,185,1,0,0,0,0,187,1,0,0,0,0,189,1,0,0,0,0,191,1,0,0,0, - 0,193,1,0,0,0,0,195,1,0,0,0,0,197,1,0,0,0,1,199,1,0,0,0,3,203,1, - 0,0,0,5,207,1,0,0,0,7,211,1,0,0,0,9,216,1,0,0,0,11,221,1,0,0,0,13, - 226,1,0,0,0,15,232,1,0,0,0,17,237,1,0,0,0,19,242,1,0,0,0,21,247, - 1,0,0,0,23,253,1,0,0,0,25,259,1,0,0,0,27,265,1,0,0,0,29,269,1,0, - 0,0,31,274,1,0,0,0,33,277,1,0,0,0,35,281,1,0,0,0,37,285,1,0,0,0, - 39,290,1,0,0,0,41,295,1,0,0,0,43,300,1,0,0,0,45,305,1,0,0,0,47,311, - 1,0,0,0,49,317,1,0,0,0,51,323,1,0,0,0,53,328,1,0,0,0,55,334,1,0, - 0,0,57,340,1,0,0,0,59,344,1,0,0,0,61,349,1,0,0,0,63,355,1,0,0,0, - 65,359,1,0,0,0,67,364,1,0,0,0,69,370,1,0,0,0,71,391,1,0,0,0,73,393, - 1,0,0,0,75,398,1,0,0,0,77,403,1,0,0,0,79,414,1,0,0,0,81,420,1,0, - 0,0,83,425,1,0,0,0,85,434,1,0,0,0,87,439,1,0,0,0,89,444,1,0,0,0, - 91,467,1,0,0,0,93,484,1,0,0,0,95,486,1,0,0,0,97,502,1,0,0,0,99,515, - 1,0,0,0,101,517,1,0,0,0,103,523,1,0,0,0,105,528,1,0,0,0,107,533, - 1,0,0,0,109,538,1,0,0,0,111,542,1,0,0,0,113,547,1,0,0,0,115,551, - 1,0,0,0,117,570,1,0,0,0,119,587,1,0,0,0,121,589,1,0,0,0,123,598, - 1,0,0,0,125,602,1,0,0,0,127,632,1,0,0,0,129,657,1,0,0,0,131,677, - 1,0,0,0,133,702,1,0,0,0,135,727,1,0,0,0,137,750,1,0,0,0,139,771, - 1,0,0,0,141,773,1,0,0,0,143,780,1,0,0,0,145,785,1,0,0,0,147,789, - 1,0,0,0,149,794,1,0,0,0,151,801,1,0,0,0,153,803,1,0,0,0,155,805, - 1,0,0,0,157,807,1,0,0,0,159,809,1,0,0,0,161,811,1,0,0,0,163,813, - 1,0,0,0,165,816,1,0,0,0,167,818,1,0,0,0,169,821,1,0,0,0,171,823, - 1,0,0,0,173,826,1,0,0,0,175,829,1,0,0,0,177,831,1,0,0,0,179,833, - 1,0,0,0,181,835,1,0,0,0,183,837,1,0,0,0,185,839,1,0,0,0,187,842, - 1,0,0,0,189,844,1,0,0,0,191,851,1,0,0,0,193,854,1,0,0,0,195,866, - 1,0,0,0,197,874,1,0,0,0,199,200,5,115,0,0,200,201,5,105,0,0,201, - 202,5,110,0,0,202,2,1,0,0,0,203,204,5,99,0,0,204,205,5,111,0,0,205, - 206,5,115,0,0,206,4,1,0,0,0,207,208,5,116,0,0,208,209,5,97,0,0,209, - 210,5,110,0,0,210,6,1,0,0,0,211,212,5,97,0,0,212,213,5,115,0,0,213, - 214,5,105,0,0,214,215,5,110,0,0,215,8,1,0,0,0,216,217,5,97,0,0,217, - 218,5,99,0,0,218,219,5,111,0,0,219,220,5,115,0,0,220,10,1,0,0,0, - 221,222,5,97,0,0,222,223,5,116,0,0,223,224,5,97,0,0,224,225,5,110, - 0,0,225,12,1,0,0,0,226,227,5,97,0,0,227,228,5,116,0,0,228,229,5, - 97,0,0,229,230,5,110,0,0,230,231,5,50,0,0,231,14,1,0,0,0,232,233, - 5,115,0,0,233,234,5,105,0,0,234,235,5,110,0,0,235,236,5,104,0,0, - 236,16,1,0,0,0,237,238,5,99,0,0,238,239,5,111,0,0,239,240,5,115, - 0,0,240,241,5,104,0,0,241,18,1,0,0,0,242,243,5,116,0,0,243,244,5, - 97,0,0,244,245,5,110,0,0,245,246,5,104,0,0,246,20,1,0,0,0,247,248, - 5,97,0,0,248,249,5,115,0,0,249,250,5,105,0,0,250,251,5,110,0,0,251, - 252,5,104,0,0,252,22,1,0,0,0,253,254,5,97,0,0,254,255,5,99,0,0,255, - 256,5,111,0,0,256,257,5,115,0,0,257,258,5,104,0,0,258,24,1,0,0,0, - 259,260,5,97,0,0,260,261,5,116,0,0,261,262,5,97,0,0,262,263,5,110, - 0,0,263,264,5,104,0,0,264,26,1,0,0,0,265,266,5,97,0,0,266,267,5, - 98,0,0,267,268,5,115,0,0,268,28,1,0,0,0,269,270,5,115,0,0,270,271, - 5,113,0,0,271,272,5,114,0,0,272,273,5,116,0,0,273,30,1,0,0,0,274, - 275,5,108,0,0,275,276,5,110,0,0,276,32,1,0,0,0,277,278,5,108,0,0, - 278,279,5,111,0,0,279,280,5,103,0,0,280,34,1,0,0,0,281,282,5,101, - 0,0,282,283,5,120,0,0,283,284,5,112,0,0,284,36,1,0,0,0,285,286,5, - 115,0,0,286,287,5,109,0,0,287,288,5,105,0,0,288,289,5,110,0,0,289, - 38,1,0,0,0,290,291,5,115,0,0,291,292,5,109,0,0,292,293,5,97,0,0, - 293,294,5,120,0,0,294,40,1,0,0,0,295,296,5,116,0,0,296,297,5,109, - 0,0,297,298,5,105,0,0,298,299,5,110,0,0,299,42,1,0,0,0,300,301,5, - 116,0,0,301,302,5,109,0,0,302,303,5,97,0,0,303,304,5,120,0,0,304, - 44,1,0,0,0,305,306,5,116,0,0,306,307,5,110,0,0,307,308,5,111,0,0, - 308,309,5,114,0,0,309,310,5,109,0,0,310,46,1,0,0,0,311,312,5,115, - 0,0,312,313,5,110,0,0,313,314,5,111,0,0,314,315,5,114,0,0,315,316, - 5,109,0,0,316,48,1,0,0,0,317,318,5,102,0,0,318,319,5,108,0,0,319, - 320,5,111,0,0,320,321,5,111,0,0,321,322,5,114,0,0,322,50,1,0,0,0, - 323,324,5,99,0,0,324,325,5,101,0,0,325,326,5,105,0,0,326,327,5,108, - 0,0,327,52,1,0,0,0,328,329,5,114,0,0,329,330,5,111,0,0,330,331,5, - 117,0,0,331,332,5,110,0,0,332,333,5,100,0,0,333,54,1,0,0,0,334,335, - 5,103,0,0,335,336,5,97,0,0,336,337,5,109,0,0,337,338,5,109,0,0,338, - 339,5,97,0,0,339,56,1,0,0,0,340,341,5,112,0,0,341,342,5,111,0,0, - 342,343,5,119,0,0,343,58,1,0,0,0,344,345,5,115,0,0,345,346,5,105, - 0,0,346,347,5,103,0,0,347,348,5,109,0,0,348,60,1,0,0,0,349,350,5, - 99,0,0,350,351,5,108,0,0,351,352,5,97,0,0,352,353,5,109,0,0,353, - 354,5,112,0,0,354,62,1,0,0,0,355,356,5,102,0,0,356,357,5,102,0,0, - 357,358,5,116,0,0,358,64,1,0,0,0,359,360,5,105,0,0,360,361,5,102, - 0,0,361,362,5,102,0,0,362,363,5,116,0,0,363,66,1,0,0,0,364,365,5, - 97,0,0,365,366,5,110,0,0,366,367,5,103,0,0,367,368,5,108,0,0,368, - 369,5,101,0,0,369,68,1,0,0,0,370,371,5,112,0,0,371,372,5,114,0,0, - 372,373,5,105,0,0,373,374,5,110,0,0,374,375,5,116,0,0,375,70,1,0, - 0,0,376,377,5,112,0,0,377,378,5,114,0,0,378,379,5,105,0,0,379,380, - 5,110,0,0,380,381,5,116,0,0,381,382,5,95,0,0,382,383,5,115,0,0,383, - 384,5,104,0,0,384,385,5,97,0,0,385,386,5,112,0,0,386,392,5,101,0, - 0,387,388,5,112,0,0,388,389,5,115,0,0,389,390,5,104,0,0,390,392, - 5,112,0,0,391,376,1,0,0,0,391,387,1,0,0,0,392,72,1,0,0,0,393,394, - 5,108,0,0,394,395,5,101,0,0,395,396,5,114,0,0,396,397,5,112,0,0, - 397,74,1,0,0,0,398,399,5,115,0,0,399,400,5,116,0,0,400,401,5,101, - 0,0,401,402,5,112,0,0,402,76,1,0,0,0,403,404,5,115,0,0,404,405,5, - 109,0,0,405,406,5,111,0,0,406,407,5,111,0,0,407,408,5,116,0,0,408, - 409,5,104,0,0,409,410,5,115,0,0,410,411,5,116,0,0,411,412,5,101, - 0,0,412,413,5,112,0,0,413,78,1,0,0,0,414,415,5,102,0,0,415,416,5, - 114,0,0,416,417,5,97,0,0,417,418,5,99,0,0,418,419,5,116,0,0,419, - 80,1,0,0,0,420,421,5,114,0,0,421,422,5,101,0,0,422,423,5,108,0,0, - 423,424,5,117,0,0,424,82,1,0,0,0,425,426,5,115,0,0,426,427,5,111, - 0,0,427,428,5,102,0,0,428,429,5,116,0,0,429,430,5,112,0,0,430,431, - 5,108,0,0,431,432,5,117,0,0,432,433,5,115,0,0,433,84,1,0,0,0,434, - 435,5,103,0,0,435,436,5,101,0,0,436,437,5,108,0,0,437,438,5,117, - 0,0,438,86,1,0,0,0,439,440,5,115,0,0,440,441,5,105,0,0,441,442,5, - 103,0,0,442,443,5,110,0,0,443,88,1,0,0,0,444,445,5,109,0,0,445,446, - 5,97,0,0,446,447,5,112,0,0,447,90,1,0,0,0,448,449,5,101,0,0,449, - 450,5,122,0,0,450,451,5,99,0,0,451,452,5,111,0,0,452,453,5,110,0, - 0,453,454,5,118,0,0,454,455,5,111,0,0,455,456,5,108,0,0,456,457, - 5,117,0,0,457,458,5,116,0,0,458,459,5,105,0,0,459,460,5,111,0,0, - 460,468,5,110,0,0,461,462,5,101,0,0,462,463,5,122,0,0,463,464,5, - 99,0,0,464,465,5,111,0,0,465,466,5,110,0,0,466,468,5,118,0,0,467, - 448,1,0,0,0,467,461,1,0,0,0,468,92,1,0,0,0,469,470,5,99,0,0,470, - 471,5,111,0,0,471,472,5,110,0,0,472,473,5,118,0,0,473,474,5,111, - 0,0,474,475,5,108,0,0,475,476,5,117,0,0,476,477,5,116,0,0,477,478, - 5,105,0,0,478,479,5,111,0,0,479,485,5,110,0,0,480,481,5,99,0,0,481, - 482,5,111,0,0,482,483,5,110,0,0,483,485,5,118,0,0,484,469,1,0,0, - 0,484,480,1,0,0,0,485,94,1,0,0,0,486,487,5,115,0,0,487,488,5,119, - 0,0,488,489,5,97,0,0,489,490,5,112,0,0,490,96,1,0,0,0,491,492,5, - 112,0,0,492,493,5,101,0,0,493,494,5,114,0,0,494,495,5,109,0,0,495, - 496,5,117,0,0,496,497,5,116,0,0,497,503,5,101,0,0,498,499,5,112, - 0,0,499,500,5,101,0,0,500,501,5,114,0,0,501,503,5,109,0,0,502,491, - 1,0,0,0,502,498,1,0,0,0,503,98,1,0,0,0,504,505,5,114,0,0,505,506, - 5,101,0,0,506,507,5,115,0,0,507,508,5,104,0,0,508,509,5,97,0,0,509, - 510,5,112,0,0,510,516,5,101,0,0,511,512,5,114,0,0,512,513,5,115, - 0,0,513,514,5,104,0,0,514,516,5,112,0,0,515,504,1,0,0,0,515,511, - 1,0,0,0,516,100,1,0,0,0,517,518,5,114,0,0,518,519,5,97,0,0,519,520, - 5,110,0,0,520,521,5,103,0,0,521,522,5,101,0,0,522,102,1,0,0,0,523, - 524,5,116,0,0,524,525,5,111,0,0,525,526,5,112,0,0,526,527,5,107, - 0,0,527,104,1,0,0,0,528,529,5,98,0,0,529,530,5,111,0,0,530,531,5, - 116,0,0,531,532,5,107,0,0,532,106,1,0,0,0,533,534,5,112,0,0,534, - 535,5,105,0,0,535,536,5,110,0,0,536,537,5,118,0,0,537,108,1,0,0, - 0,538,539,5,115,0,0,539,540,5,117,0,0,540,541,5,109,0,0,541,110, - 1,0,0,0,542,543,5,109,0,0,543,544,5,101,0,0,544,545,5,97,0,0,545, - 546,5,110,0,0,546,112,1,0,0,0,547,548,5,115,0,0,548,549,5,116,0, - 0,549,550,5,100,0,0,550,114,1,0,0,0,551,552,5,118,0,0,552,553,5, - 97,0,0,553,554,5,114,0,0,554,116,1,0,0,0,555,556,5,113,0,0,556,557, - 5,117,0,0,557,558,5,97,0,0,558,559,5,114,0,0,559,560,5,116,0,0,560, - 561,5,105,0,0,561,562,5,108,0,0,562,571,5,101,0,0,563,564,5,113, - 0,0,564,565,5,117,0,0,565,566,5,97,0,0,566,567,5,114,0,0,567,568, - 5,116,0,0,568,569,5,105,0,0,569,571,5,108,0,0,570,555,1,0,0,0,570, - 563,1,0,0,0,571,118,1,0,0,0,572,573,5,112,0,0,573,574,5,101,0,0, - 574,575,5,114,0,0,575,576,5,99,0,0,576,577,5,101,0,0,577,578,5,110, - 0,0,578,579,5,116,0,0,579,580,5,105,0,0,580,581,5,108,0,0,581,588, - 5,101,0,0,582,583,5,112,0,0,583,584,5,114,0,0,584,585,5,99,0,0,585, - 586,5,110,0,0,586,588,5,116,0,0,587,572,1,0,0,0,587,582,1,0,0,0, - 588,120,1,0,0,0,589,590,5,113,0,0,590,591,5,117,0,0,591,592,5,97, - 0,0,592,593,5,110,0,0,593,594,5,116,0,0,594,595,5,105,0,0,595,596, - 5,108,0,0,596,597,5,101,0,0,597,122,1,0,0,0,598,599,5,100,0,0,599, - 600,5,111,0,0,600,601,5,116,0,0,601,124,1,0,0,0,602,603,5,109,0, - 0,603,604,5,111,0,0,604,605,5,109,0,0,605,606,5,101,0,0,606,607, - 5,110,0,0,607,608,5,116,0,0,608,126,1,0,0,0,609,610,5,110,0,0,610, - 611,5,111,0,0,611,612,5,105,0,0,612,613,5,115,0,0,613,633,5,101, - 0,0,614,615,5,114,0,0,615,616,5,97,0,0,616,617,5,110,0,0,617,618, - 5,100,0,0,618,633,5,110,0,0,619,620,5,114,0,0,620,621,5,97,0,0,621, - 622,5,110,0,0,622,623,5,100,0,0,623,624,5,111,0,0,624,625,5,109, - 0,0,625,626,5,95,0,0,626,627,5,110,0,0,627,628,5,111,0,0,628,629, - 5,114,0,0,629,630,5,109,0,0,630,631,5,97,0,0,631,633,5,108,0,0,632, - 609,1,0,0,0,632,614,1,0,0,0,632,619,1,0,0,0,633,128,1,0,0,0,634, - 635,5,114,0,0,635,636,5,97,0,0,636,637,5,110,0,0,637,658,5,100,0, - 0,638,639,5,114,0,0,639,640,5,97,0,0,640,641,5,110,0,0,641,642,5, - 100,0,0,642,658,5,117,0,0,643,644,5,114,0,0,644,645,5,97,0,0,645, - 646,5,110,0,0,646,647,5,100,0,0,647,648,5,111,0,0,648,649,5,109, - 0,0,649,650,5,95,0,0,650,651,5,117,0,0,651,652,5,110,0,0,652,653, - 5,105,0,0,653,654,5,102,0,0,654,655,5,111,0,0,655,656,5,114,0,0, - 656,658,5,109,0,0,657,634,1,0,0,0,657,638,1,0,0,0,657,643,1,0,0, - 0,658,130,1,0,0,0,659,660,5,114,0,0,660,661,5,97,0,0,661,662,5,110, - 0,0,662,663,5,100,0,0,663,678,5,99,0,0,664,665,5,114,0,0,665,666, - 5,97,0,0,666,667,5,110,0,0,667,668,5,100,0,0,668,669,5,111,0,0,669, - 670,5,109,0,0,670,671,5,95,0,0,671,672,5,99,0,0,672,673,5,97,0,0, - 673,674,5,117,0,0,674,675,5,99,0,0,675,676,5,104,0,0,676,678,5,121, - 0,0,677,659,1,0,0,0,677,664,1,0,0,0,678,132,1,0,0,0,679,680,5,114, - 0,0,680,681,5,97,0,0,681,682,5,110,0,0,682,683,5,100,0,0,683,703, - 5,101,0,0,684,685,5,114,0,0,685,686,5,97,0,0,686,687,5,110,0,0,687, - 688,5,100,0,0,688,689,5,111,0,0,689,690,5,109,0,0,690,691,5,95,0, - 0,691,692,5,101,0,0,692,693,5,120,0,0,693,694,5,112,0,0,694,695, - 5,111,0,0,695,696,5,110,0,0,696,697,5,101,0,0,697,698,5,110,0,0, - 698,699,5,116,0,0,699,700,5,105,0,0,700,701,5,97,0,0,701,703,5,108, - 0,0,702,679,1,0,0,0,702,684,1,0,0,0,703,134,1,0,0,0,704,705,5,114, - 0,0,705,706,5,97,0,0,706,707,5,110,0,0,707,708,5,100,0,0,708,709, - 5,108,0,0,709,728,5,110,0,0,710,711,5,114,0,0,711,712,5,97,0,0,712, - 713,5,110,0,0,713,714,5,100,0,0,714,715,5,111,0,0,715,716,5,109, - 0,0,716,717,5,95,0,0,717,718,5,108,0,0,718,719,5,111,0,0,719,720, - 5,103,0,0,720,721,5,95,0,0,721,722,5,110,0,0,722,723,5,111,0,0,723, - 724,5,114,0,0,724,725,5,109,0,0,725,726,5,97,0,0,726,728,5,108,0, - 0,727,704,1,0,0,0,727,710,1,0,0,0,728,136,1,0,0,0,729,730,5,114, - 0,0,730,731,5,97,0,0,731,732,5,110,0,0,732,733,5,100,0,0,733,751, - 5,98,0,0,734,735,5,114,0,0,735,736,5,97,0,0,736,737,5,110,0,0,737, - 738,5,100,0,0,738,739,5,111,0,0,739,740,5,109,0,0,740,741,5,95,0, - 0,741,742,5,98,0,0,742,743,5,101,0,0,743,744,5,114,0,0,744,745,5, - 110,0,0,745,746,5,111,0,0,746,747,5,117,0,0,747,748,5,108,0,0,748, - 749,5,108,0,0,749,751,5,105,0,0,750,729,1,0,0,0,750,734,1,0,0,0, - 751,138,1,0,0,0,752,753,5,114,0,0,753,754,5,97,0,0,754,755,5,110, - 0,0,755,756,5,100,0,0,756,772,5,112,0,0,757,758,5,114,0,0,758,759, - 5,97,0,0,759,760,5,110,0,0,760,761,5,100,0,0,761,762,5,111,0,0,762, - 763,5,109,0,0,763,764,5,95,0,0,764,765,5,112,0,0,765,766,5,111,0, - 0,766,767,5,105,0,0,767,768,5,115,0,0,768,769,5,115,0,0,769,770, - 5,111,0,0,770,772,5,110,0,0,771,752,1,0,0,0,771,757,1,0,0,0,772, - 140,1,0,0,0,773,774,5,99,0,0,774,775,5,111,0,0,775,776,5,115,0,0, - 776,777,5,115,0,0,777,778,5,105,0,0,778,779,5,109,0,0,779,142,1, - 0,0,0,780,781,5,102,0,0,781,782,5,108,0,0,782,783,5,105,0,0,783, - 784,5,112,0,0,784,144,1,0,0,0,785,786,5,99,0,0,786,787,5,111,0,0, - 787,788,5,118,0,0,788,146,1,0,0,0,789,790,5,115,0,0,790,791,5,111, - 0,0,791,792,5,114,0,0,792,793,5,116,0,0,793,148,1,0,0,0,794,795, - 5,97,0,0,795,796,5,112,0,0,796,797,5,112,0,0,797,798,5,101,0,0,798, - 799,5,110,0,0,799,800,5,100,0,0,800,150,1,0,0,0,801,802,5,43,0,0, - 802,152,1,0,0,0,803,804,5,45,0,0,804,154,1,0,0,0,805,806,5,42,0, - 0,806,156,1,0,0,0,807,808,5,47,0,0,808,158,1,0,0,0,809,810,5,37, - 0,0,810,160,1,0,0,0,811,812,5,94,0,0,812,162,1,0,0,0,813,814,5,62, - 0,0,814,815,5,61,0,0,815,164,1,0,0,0,816,817,5,62,0,0,817,166,1, - 0,0,0,818,819,5,60,0,0,819,820,5,61,0,0,820,168,1,0,0,0,821,822, - 5,60,0,0,822,170,1,0,0,0,823,824,5,61,0,0,824,825,5,61,0,0,825,172, - 1,0,0,0,826,827,5,33,0,0,827,828,5,61,0,0,828,174,1,0,0,0,829,830, - 5,124,0,0,830,176,1,0,0,0,831,832,5,40,0,0,832,178,1,0,0,0,833,834, - 5,41,0,0,834,180,1,0,0,0,835,836,5,44,0,0,836,182,1,0,0,0,837,838, - 5,59,0,0,838,184,1,0,0,0,839,840,5,45,0,0,840,841,5,62,0,0,841,186, - 1,0,0,0,842,843,5,91,0,0,843,188,1,0,0,0,844,845,5,93,0,0,845,190, - 1,0,0,0,846,847,5,112,0,0,847,852,5,105,0,0,848,849,5,80,0,0,849, - 852,5,73,0,0,850,852,7,0,0,0,851,846,1,0,0,0,851,848,1,0,0,0,851, - 850,1,0,0,0,852,192,1,0,0,0,853,855,7,1,0,0,854,853,1,0,0,0,855, - 856,1,0,0,0,856,854,1,0,0,0,856,857,1,0,0,0,857,864,1,0,0,0,858, - 860,5,46,0,0,859,861,7,1,0,0,860,859,1,0,0,0,861,862,1,0,0,0,862, - 860,1,0,0,0,862,863,1,0,0,0,863,865,1,0,0,0,864,858,1,0,0,0,864, - 865,1,0,0,0,865,194,1,0,0,0,866,870,7,2,0,0,867,869,7,3,0,0,868, - 867,1,0,0,0,869,872,1,0,0,0,870,868,1,0,0,0,870,871,1,0,0,0,871, - 196,1,0,0,0,872,870,1,0,0,0,873,875,7,4,0,0,874,873,1,0,0,0,875, - 876,1,0,0,0,876,874,1,0,0,0,876,877,1,0,0,0,877,878,1,0,0,0,878, - 879,6,98,0,0,879,198,1,0,0,0,21,0,391,467,484,502,515,570,587,632, - 657,677,702,727,750,771,851,856,862,864,870,876,1,6,0,0 + 64,1,64,1,64,1,64,1,64,1,64,1,64,3,64,660,8,64,1,65,1,65,1,65,1, + 65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1, + 65,1,65,3,65,680,8,65,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1, + 66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1, + 66,1,66,3,66,705,8,66,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1, + 67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1,67,1, + 67,1,67,3,67,730,8,67,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1, + 68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,1,68,3, + 68,753,8,68,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1, + 69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,1,69,3,69,774,8,69,1,70,1, + 70,1,70,1,70,1,70,1,70,1,70,1,71,1,71,1,71,1,71,1,71,1,72,1,72,1, + 72,1,72,1,73,1,73,1,73,1,73,1,73,1,74,1,74,1,74,1,74,1,74,1,74,1, + 74,1,75,1,75,1,76,1,76,1,77,1,77,1,78,1,78,1,79,1,79,1,80,1,80,1, + 81,1,81,1,81,1,82,1,82,1,83,1,83,1,83,1,84,1,84,1,85,1,85,1,85,1, + 86,1,86,1,87,1,87,1,87,1,88,1,88,1,89,1,89,1,90,1,90,1,91,1,91,1, + 92,1,92,1,93,1,93,1,93,1,94,1,94,1,95,1,95,1,96,1,96,1,96,1,96,1, + 96,3,96,856,8,96,1,97,4,97,859,8,97,11,97,12,97,860,1,97,1,97,4, + 97,865,8,97,11,97,12,97,866,3,97,869,8,97,1,98,1,98,5,98,873,8,98, + 10,98,12,98,876,9,98,1,99,4,99,879,8,99,11,99,12,99,880,1,99,1,99, + 0,0,100,1,1,3,2,5,3,7,4,9,5,11,6,13,7,15,8,17,9,19,10,21,11,23,12, + 25,13,27,14,29,15,31,16,33,17,35,18,37,19,39,20,41,21,43,22,45,23, + 47,24,49,25,51,26,53,27,55,28,57,29,59,30,61,31,63,32,65,33,67,34, + 69,35,71,36,73,37,75,38,77,39,79,40,81,41,83,42,85,43,87,44,89,45, + 91,46,93,47,95,48,97,49,99,50,101,51,103,52,105,53,107,54,109,55, + 111,56,113,57,115,58,117,59,119,60,121,61,123,62,125,63,127,64,129, + 65,131,66,133,67,135,68,137,69,139,70,141,71,143,72,145,73,147,74, + 149,75,151,76,153,77,155,78,157,79,159,80,161,81,163,82,165,83,167, + 84,169,85,171,86,173,87,175,88,177,89,179,90,181,91,183,92,185,93, + 187,94,189,95,191,96,193,97,195,98,197,99,199,100,1,0,5,2,0,69,69, + 101,101,1,0,48,57,3,0,65,90,95,95,97,122,4,0,48,57,65,90,95,95,97, + 122,3,0,9,10,13,13,32,32,906,0,1,1,0,0,0,0,3,1,0,0,0,0,5,1,0,0,0, + 0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0, + 17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,23,1,0,0,0,0,25,1,0,0,0,0, + 27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0, + 37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0, + 47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0, + 57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0, + 67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0, + 77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0, + 87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0, + 97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0, + 0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115, + 1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0, + 0,125,1,0,0,0,0,127,1,0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133,1, + 0,0,0,0,135,1,0,0,0,0,137,1,0,0,0,0,139,1,0,0,0,0,141,1,0,0,0,0, + 143,1,0,0,0,0,145,1,0,0,0,0,147,1,0,0,0,0,149,1,0,0,0,0,151,1,0, + 0,0,0,153,1,0,0,0,0,155,1,0,0,0,0,157,1,0,0,0,0,159,1,0,0,0,0,161, + 1,0,0,0,0,163,1,0,0,0,0,165,1,0,0,0,0,167,1,0,0,0,0,169,1,0,0,0, + 0,171,1,0,0,0,0,173,1,0,0,0,0,175,1,0,0,0,0,177,1,0,0,0,0,179,1, + 0,0,0,0,181,1,0,0,0,0,183,1,0,0,0,0,185,1,0,0,0,0,187,1,0,0,0,0, + 189,1,0,0,0,0,191,1,0,0,0,0,193,1,0,0,0,0,195,1,0,0,0,0,197,1,0, + 0,0,0,199,1,0,0,0,1,201,1,0,0,0,3,205,1,0,0,0,5,209,1,0,0,0,7,213, + 1,0,0,0,9,218,1,0,0,0,11,223,1,0,0,0,13,228,1,0,0,0,15,234,1,0,0, + 0,17,239,1,0,0,0,19,244,1,0,0,0,21,249,1,0,0,0,23,255,1,0,0,0,25, + 261,1,0,0,0,27,267,1,0,0,0,29,271,1,0,0,0,31,276,1,0,0,0,33,279, + 1,0,0,0,35,283,1,0,0,0,37,287,1,0,0,0,39,292,1,0,0,0,41,297,1,0, + 0,0,43,302,1,0,0,0,45,307,1,0,0,0,47,313,1,0,0,0,49,319,1,0,0,0, + 51,325,1,0,0,0,53,330,1,0,0,0,55,336,1,0,0,0,57,342,1,0,0,0,59,346, + 1,0,0,0,61,351,1,0,0,0,63,357,1,0,0,0,65,361,1,0,0,0,67,366,1,0, + 0,0,69,372,1,0,0,0,71,393,1,0,0,0,73,395,1,0,0,0,75,400,1,0,0,0, + 77,405,1,0,0,0,79,416,1,0,0,0,81,422,1,0,0,0,83,427,1,0,0,0,85,436, + 1,0,0,0,87,441,1,0,0,0,89,446,1,0,0,0,91,469,1,0,0,0,93,486,1,0, + 0,0,95,488,1,0,0,0,97,504,1,0,0,0,99,517,1,0,0,0,101,519,1,0,0,0, + 103,525,1,0,0,0,105,530,1,0,0,0,107,535,1,0,0,0,109,540,1,0,0,0, + 111,544,1,0,0,0,113,549,1,0,0,0,115,553,1,0,0,0,117,572,1,0,0,0, + 119,589,1,0,0,0,121,591,1,0,0,0,123,600,1,0,0,0,125,604,1,0,0,0, + 127,634,1,0,0,0,129,659,1,0,0,0,131,679,1,0,0,0,133,704,1,0,0,0, + 135,729,1,0,0,0,137,752,1,0,0,0,139,773,1,0,0,0,141,775,1,0,0,0, + 143,782,1,0,0,0,145,787,1,0,0,0,147,791,1,0,0,0,149,796,1,0,0,0, + 151,803,1,0,0,0,153,805,1,0,0,0,155,807,1,0,0,0,157,809,1,0,0,0, + 159,811,1,0,0,0,161,813,1,0,0,0,163,815,1,0,0,0,165,818,1,0,0,0, + 167,820,1,0,0,0,169,823,1,0,0,0,171,825,1,0,0,0,173,828,1,0,0,0, + 175,830,1,0,0,0,177,833,1,0,0,0,179,835,1,0,0,0,181,837,1,0,0,0, + 183,839,1,0,0,0,185,841,1,0,0,0,187,843,1,0,0,0,189,846,1,0,0,0, + 191,848,1,0,0,0,193,855,1,0,0,0,195,858,1,0,0,0,197,870,1,0,0,0, + 199,878,1,0,0,0,201,202,5,115,0,0,202,203,5,105,0,0,203,204,5,110, + 0,0,204,2,1,0,0,0,205,206,5,99,0,0,206,207,5,111,0,0,207,208,5,115, + 0,0,208,4,1,0,0,0,209,210,5,116,0,0,210,211,5,97,0,0,211,212,5,110, + 0,0,212,6,1,0,0,0,213,214,5,97,0,0,214,215,5,115,0,0,215,216,5,105, + 0,0,216,217,5,110,0,0,217,8,1,0,0,0,218,219,5,97,0,0,219,220,5,99, + 0,0,220,221,5,111,0,0,221,222,5,115,0,0,222,10,1,0,0,0,223,224,5, + 97,0,0,224,225,5,116,0,0,225,226,5,97,0,0,226,227,5,110,0,0,227, + 12,1,0,0,0,228,229,5,97,0,0,229,230,5,116,0,0,230,231,5,97,0,0,231, + 232,5,110,0,0,232,233,5,50,0,0,233,14,1,0,0,0,234,235,5,115,0,0, + 235,236,5,105,0,0,236,237,5,110,0,0,237,238,5,104,0,0,238,16,1,0, + 0,0,239,240,5,99,0,0,240,241,5,111,0,0,241,242,5,115,0,0,242,243, + 5,104,0,0,243,18,1,0,0,0,244,245,5,116,0,0,245,246,5,97,0,0,246, + 247,5,110,0,0,247,248,5,104,0,0,248,20,1,0,0,0,249,250,5,97,0,0, + 250,251,5,115,0,0,251,252,5,105,0,0,252,253,5,110,0,0,253,254,5, + 104,0,0,254,22,1,0,0,0,255,256,5,97,0,0,256,257,5,99,0,0,257,258, + 5,111,0,0,258,259,5,115,0,0,259,260,5,104,0,0,260,24,1,0,0,0,261, + 262,5,97,0,0,262,263,5,116,0,0,263,264,5,97,0,0,264,265,5,110,0, + 0,265,266,5,104,0,0,266,26,1,0,0,0,267,268,5,97,0,0,268,269,5,98, + 0,0,269,270,5,115,0,0,270,28,1,0,0,0,271,272,5,115,0,0,272,273,5, + 113,0,0,273,274,5,114,0,0,274,275,5,116,0,0,275,30,1,0,0,0,276,277, + 5,108,0,0,277,278,5,110,0,0,278,32,1,0,0,0,279,280,5,108,0,0,280, + 281,5,111,0,0,281,282,5,103,0,0,282,34,1,0,0,0,283,284,5,101,0,0, + 284,285,5,120,0,0,285,286,5,112,0,0,286,36,1,0,0,0,287,288,5,115, + 0,0,288,289,5,109,0,0,289,290,5,105,0,0,290,291,5,110,0,0,291,38, + 1,0,0,0,292,293,5,115,0,0,293,294,5,109,0,0,294,295,5,97,0,0,295, + 296,5,120,0,0,296,40,1,0,0,0,297,298,5,116,0,0,298,299,5,109,0,0, + 299,300,5,105,0,0,300,301,5,110,0,0,301,42,1,0,0,0,302,303,5,116, + 0,0,303,304,5,109,0,0,304,305,5,97,0,0,305,306,5,120,0,0,306,44, + 1,0,0,0,307,308,5,116,0,0,308,309,5,110,0,0,309,310,5,111,0,0,310, + 311,5,114,0,0,311,312,5,109,0,0,312,46,1,0,0,0,313,314,5,115,0,0, + 314,315,5,110,0,0,315,316,5,111,0,0,316,317,5,114,0,0,317,318,5, + 109,0,0,318,48,1,0,0,0,319,320,5,102,0,0,320,321,5,108,0,0,321,322, + 5,111,0,0,322,323,5,111,0,0,323,324,5,114,0,0,324,50,1,0,0,0,325, + 326,5,99,0,0,326,327,5,101,0,0,327,328,5,105,0,0,328,329,5,108,0, + 0,329,52,1,0,0,0,330,331,5,114,0,0,331,332,5,111,0,0,332,333,5,117, + 0,0,333,334,5,110,0,0,334,335,5,100,0,0,335,54,1,0,0,0,336,337,5, + 103,0,0,337,338,5,97,0,0,338,339,5,109,0,0,339,340,5,109,0,0,340, + 341,5,97,0,0,341,56,1,0,0,0,342,343,5,112,0,0,343,344,5,111,0,0, + 344,345,5,119,0,0,345,58,1,0,0,0,346,347,5,115,0,0,347,348,5,105, + 0,0,348,349,5,103,0,0,349,350,5,109,0,0,350,60,1,0,0,0,351,352,5, + 99,0,0,352,353,5,108,0,0,353,354,5,97,0,0,354,355,5,109,0,0,355, + 356,5,112,0,0,356,62,1,0,0,0,357,358,5,102,0,0,358,359,5,102,0,0, + 359,360,5,116,0,0,360,64,1,0,0,0,361,362,5,105,0,0,362,363,5,102, + 0,0,363,364,5,102,0,0,364,365,5,116,0,0,365,66,1,0,0,0,366,367,5, + 97,0,0,367,368,5,110,0,0,368,369,5,103,0,0,369,370,5,108,0,0,370, + 371,5,101,0,0,371,68,1,0,0,0,372,373,5,112,0,0,373,374,5,114,0,0, + 374,375,5,105,0,0,375,376,5,110,0,0,376,377,5,116,0,0,377,70,1,0, + 0,0,378,379,5,112,0,0,379,380,5,114,0,0,380,381,5,105,0,0,381,382, + 5,110,0,0,382,383,5,116,0,0,383,384,5,95,0,0,384,385,5,115,0,0,385, + 386,5,104,0,0,386,387,5,97,0,0,387,388,5,112,0,0,388,394,5,101,0, + 0,389,390,5,112,0,0,390,391,5,115,0,0,391,392,5,104,0,0,392,394, + 5,112,0,0,393,378,1,0,0,0,393,389,1,0,0,0,394,72,1,0,0,0,395,396, + 5,108,0,0,396,397,5,101,0,0,397,398,5,114,0,0,398,399,5,112,0,0, + 399,74,1,0,0,0,400,401,5,115,0,0,401,402,5,116,0,0,402,403,5,101, + 0,0,403,404,5,112,0,0,404,76,1,0,0,0,405,406,5,115,0,0,406,407,5, + 109,0,0,407,408,5,111,0,0,408,409,5,111,0,0,409,410,5,116,0,0,410, + 411,5,104,0,0,411,412,5,115,0,0,412,413,5,116,0,0,413,414,5,101, + 0,0,414,415,5,112,0,0,415,78,1,0,0,0,416,417,5,102,0,0,417,418,5, + 114,0,0,418,419,5,97,0,0,419,420,5,99,0,0,420,421,5,116,0,0,421, + 80,1,0,0,0,422,423,5,114,0,0,423,424,5,101,0,0,424,425,5,108,0,0, + 425,426,5,117,0,0,426,82,1,0,0,0,427,428,5,115,0,0,428,429,5,111, + 0,0,429,430,5,102,0,0,430,431,5,116,0,0,431,432,5,112,0,0,432,433, + 5,108,0,0,433,434,5,117,0,0,434,435,5,115,0,0,435,84,1,0,0,0,436, + 437,5,103,0,0,437,438,5,101,0,0,438,439,5,108,0,0,439,440,5,117, + 0,0,440,86,1,0,0,0,441,442,5,115,0,0,442,443,5,105,0,0,443,444,5, + 103,0,0,444,445,5,110,0,0,445,88,1,0,0,0,446,447,5,109,0,0,447,448, + 5,97,0,0,448,449,5,112,0,0,449,90,1,0,0,0,450,451,5,101,0,0,451, + 452,5,122,0,0,452,453,5,99,0,0,453,454,5,111,0,0,454,455,5,110,0, + 0,455,456,5,118,0,0,456,457,5,111,0,0,457,458,5,108,0,0,458,459, + 5,117,0,0,459,460,5,116,0,0,460,461,5,105,0,0,461,462,5,111,0,0, + 462,470,5,110,0,0,463,464,5,101,0,0,464,465,5,122,0,0,465,466,5, + 99,0,0,466,467,5,111,0,0,467,468,5,110,0,0,468,470,5,118,0,0,469, + 450,1,0,0,0,469,463,1,0,0,0,470,92,1,0,0,0,471,472,5,99,0,0,472, + 473,5,111,0,0,473,474,5,110,0,0,474,475,5,118,0,0,475,476,5,111, + 0,0,476,477,5,108,0,0,477,478,5,117,0,0,478,479,5,116,0,0,479,480, + 5,105,0,0,480,481,5,111,0,0,481,487,5,110,0,0,482,483,5,99,0,0,483, + 484,5,111,0,0,484,485,5,110,0,0,485,487,5,118,0,0,486,471,1,0,0, + 0,486,482,1,0,0,0,487,94,1,0,0,0,488,489,5,115,0,0,489,490,5,119, + 0,0,490,491,5,97,0,0,491,492,5,112,0,0,492,96,1,0,0,0,493,494,5, + 112,0,0,494,495,5,101,0,0,495,496,5,114,0,0,496,497,5,109,0,0,497, + 498,5,117,0,0,498,499,5,116,0,0,499,505,5,101,0,0,500,501,5,112, + 0,0,501,502,5,101,0,0,502,503,5,114,0,0,503,505,5,109,0,0,504,493, + 1,0,0,0,504,500,1,0,0,0,505,98,1,0,0,0,506,507,5,114,0,0,507,508, + 5,101,0,0,508,509,5,115,0,0,509,510,5,104,0,0,510,511,5,97,0,0,511, + 512,5,112,0,0,512,518,5,101,0,0,513,514,5,114,0,0,514,515,5,115, + 0,0,515,516,5,104,0,0,516,518,5,112,0,0,517,506,1,0,0,0,517,513, + 1,0,0,0,518,100,1,0,0,0,519,520,5,114,0,0,520,521,5,97,0,0,521,522, + 5,110,0,0,522,523,5,103,0,0,523,524,5,101,0,0,524,102,1,0,0,0,525, + 526,5,116,0,0,526,527,5,111,0,0,527,528,5,112,0,0,528,529,5,107, + 0,0,529,104,1,0,0,0,530,531,5,98,0,0,531,532,5,111,0,0,532,533,5, + 116,0,0,533,534,5,107,0,0,534,106,1,0,0,0,535,536,5,112,0,0,536, + 537,5,105,0,0,537,538,5,110,0,0,538,539,5,118,0,0,539,108,1,0,0, + 0,540,541,5,115,0,0,541,542,5,117,0,0,542,543,5,109,0,0,543,110, + 1,0,0,0,544,545,5,109,0,0,545,546,5,101,0,0,546,547,5,97,0,0,547, + 548,5,110,0,0,548,112,1,0,0,0,549,550,5,115,0,0,550,551,5,116,0, + 0,551,552,5,100,0,0,552,114,1,0,0,0,553,554,5,118,0,0,554,555,5, + 97,0,0,555,556,5,114,0,0,556,116,1,0,0,0,557,558,5,113,0,0,558,559, + 5,117,0,0,559,560,5,97,0,0,560,561,5,114,0,0,561,562,5,116,0,0,562, + 563,5,105,0,0,563,564,5,108,0,0,564,573,5,101,0,0,565,566,5,113, + 0,0,566,567,5,117,0,0,567,568,5,97,0,0,568,569,5,114,0,0,569,570, + 5,116,0,0,570,571,5,105,0,0,571,573,5,108,0,0,572,557,1,0,0,0,572, + 565,1,0,0,0,573,118,1,0,0,0,574,575,5,112,0,0,575,576,5,101,0,0, + 576,577,5,114,0,0,577,578,5,99,0,0,578,579,5,101,0,0,579,580,5,110, + 0,0,580,581,5,116,0,0,581,582,5,105,0,0,582,583,5,108,0,0,583,590, + 5,101,0,0,584,585,5,112,0,0,585,586,5,114,0,0,586,587,5,99,0,0,587, + 588,5,110,0,0,588,590,5,116,0,0,589,574,1,0,0,0,589,584,1,0,0,0, + 590,120,1,0,0,0,591,592,5,113,0,0,592,593,5,117,0,0,593,594,5,97, + 0,0,594,595,5,110,0,0,595,596,5,116,0,0,596,597,5,105,0,0,597,598, + 5,108,0,0,598,599,5,101,0,0,599,122,1,0,0,0,600,601,5,100,0,0,601, + 602,5,111,0,0,602,603,5,116,0,0,603,124,1,0,0,0,604,605,5,109,0, + 0,605,606,5,111,0,0,606,607,5,109,0,0,607,608,5,101,0,0,608,609, + 5,110,0,0,609,610,5,116,0,0,610,126,1,0,0,0,611,612,5,110,0,0,612, + 613,5,111,0,0,613,614,5,105,0,0,614,615,5,115,0,0,615,635,5,101, + 0,0,616,617,5,114,0,0,617,618,5,97,0,0,618,619,5,110,0,0,619,620, + 5,100,0,0,620,635,5,110,0,0,621,622,5,114,0,0,622,623,5,97,0,0,623, + 624,5,110,0,0,624,625,5,100,0,0,625,626,5,111,0,0,626,627,5,109, + 0,0,627,628,5,95,0,0,628,629,5,110,0,0,629,630,5,111,0,0,630,631, + 5,114,0,0,631,632,5,109,0,0,632,633,5,97,0,0,633,635,5,108,0,0,634, + 611,1,0,0,0,634,616,1,0,0,0,634,621,1,0,0,0,635,128,1,0,0,0,636, + 637,5,114,0,0,637,638,5,97,0,0,638,639,5,110,0,0,639,660,5,100,0, + 0,640,641,5,114,0,0,641,642,5,97,0,0,642,643,5,110,0,0,643,644,5, + 100,0,0,644,660,5,117,0,0,645,646,5,114,0,0,646,647,5,97,0,0,647, + 648,5,110,0,0,648,649,5,100,0,0,649,650,5,111,0,0,650,651,5,109, + 0,0,651,652,5,95,0,0,652,653,5,117,0,0,653,654,5,110,0,0,654,655, + 5,105,0,0,655,656,5,102,0,0,656,657,5,111,0,0,657,658,5,114,0,0, + 658,660,5,109,0,0,659,636,1,0,0,0,659,640,1,0,0,0,659,645,1,0,0, + 0,660,130,1,0,0,0,661,662,5,114,0,0,662,663,5,97,0,0,663,664,5,110, + 0,0,664,665,5,100,0,0,665,680,5,99,0,0,666,667,5,114,0,0,667,668, + 5,97,0,0,668,669,5,110,0,0,669,670,5,100,0,0,670,671,5,111,0,0,671, + 672,5,109,0,0,672,673,5,95,0,0,673,674,5,99,0,0,674,675,5,97,0,0, + 675,676,5,117,0,0,676,677,5,99,0,0,677,678,5,104,0,0,678,680,5,121, + 0,0,679,661,1,0,0,0,679,666,1,0,0,0,680,132,1,0,0,0,681,682,5,114, + 0,0,682,683,5,97,0,0,683,684,5,110,0,0,684,685,5,100,0,0,685,705, + 5,101,0,0,686,687,5,114,0,0,687,688,5,97,0,0,688,689,5,110,0,0,689, + 690,5,100,0,0,690,691,5,111,0,0,691,692,5,109,0,0,692,693,5,95,0, + 0,693,694,5,101,0,0,694,695,5,120,0,0,695,696,5,112,0,0,696,697, + 5,111,0,0,697,698,5,110,0,0,698,699,5,101,0,0,699,700,5,110,0,0, + 700,701,5,116,0,0,701,702,5,105,0,0,702,703,5,97,0,0,703,705,5,108, + 0,0,704,681,1,0,0,0,704,686,1,0,0,0,705,134,1,0,0,0,706,707,5,114, + 0,0,707,708,5,97,0,0,708,709,5,110,0,0,709,710,5,100,0,0,710,711, + 5,108,0,0,711,730,5,110,0,0,712,713,5,114,0,0,713,714,5,97,0,0,714, + 715,5,110,0,0,715,716,5,100,0,0,716,717,5,111,0,0,717,718,5,109, + 0,0,718,719,5,95,0,0,719,720,5,108,0,0,720,721,5,111,0,0,721,722, + 5,103,0,0,722,723,5,95,0,0,723,724,5,110,0,0,724,725,5,111,0,0,725, + 726,5,114,0,0,726,727,5,109,0,0,727,728,5,97,0,0,728,730,5,108,0, + 0,729,706,1,0,0,0,729,712,1,0,0,0,730,136,1,0,0,0,731,732,5,114, + 0,0,732,733,5,97,0,0,733,734,5,110,0,0,734,735,5,100,0,0,735,753, + 5,98,0,0,736,737,5,114,0,0,737,738,5,97,0,0,738,739,5,110,0,0,739, + 740,5,100,0,0,740,741,5,111,0,0,741,742,5,109,0,0,742,743,5,95,0, + 0,743,744,5,98,0,0,744,745,5,101,0,0,745,746,5,114,0,0,746,747,5, + 110,0,0,747,748,5,111,0,0,748,749,5,117,0,0,749,750,5,108,0,0,750, + 751,5,108,0,0,751,753,5,105,0,0,752,731,1,0,0,0,752,736,1,0,0,0, + 753,138,1,0,0,0,754,755,5,114,0,0,755,756,5,97,0,0,756,757,5,110, + 0,0,757,758,5,100,0,0,758,774,5,112,0,0,759,760,5,114,0,0,760,761, + 5,97,0,0,761,762,5,110,0,0,762,763,5,100,0,0,763,764,5,111,0,0,764, + 765,5,109,0,0,765,766,5,95,0,0,766,767,5,112,0,0,767,768,5,111,0, + 0,768,769,5,105,0,0,769,770,5,115,0,0,770,771,5,115,0,0,771,772, + 5,111,0,0,772,774,5,110,0,0,773,754,1,0,0,0,773,759,1,0,0,0,774, + 140,1,0,0,0,775,776,5,99,0,0,776,777,5,111,0,0,777,778,5,115,0,0, + 778,779,5,115,0,0,779,780,5,105,0,0,780,781,5,109,0,0,781,142,1, + 0,0,0,782,783,5,102,0,0,783,784,5,108,0,0,784,785,5,105,0,0,785, + 786,5,112,0,0,786,144,1,0,0,0,787,788,5,99,0,0,788,789,5,111,0,0, + 789,790,5,118,0,0,790,146,1,0,0,0,791,792,5,115,0,0,792,793,5,111, + 0,0,793,794,5,114,0,0,794,795,5,116,0,0,795,148,1,0,0,0,796,797, + 5,97,0,0,797,798,5,112,0,0,798,799,5,112,0,0,799,800,5,101,0,0,800, + 801,5,110,0,0,801,802,5,100,0,0,802,150,1,0,0,0,803,804,5,43,0,0, + 804,152,1,0,0,0,805,806,5,45,0,0,806,154,1,0,0,0,807,808,5,42,0, + 0,808,156,1,0,0,0,809,810,5,47,0,0,810,158,1,0,0,0,811,812,5,37, + 0,0,812,160,1,0,0,0,813,814,5,94,0,0,814,162,1,0,0,0,815,816,5,62, + 0,0,816,817,5,61,0,0,817,164,1,0,0,0,818,819,5,62,0,0,819,166,1, + 0,0,0,820,821,5,60,0,0,821,822,5,61,0,0,822,168,1,0,0,0,823,824, + 5,60,0,0,824,170,1,0,0,0,825,826,5,61,0,0,826,827,5,61,0,0,827,172, + 1,0,0,0,828,829,5,61,0,0,829,174,1,0,0,0,830,831,5,33,0,0,831,832, + 5,61,0,0,832,176,1,0,0,0,833,834,5,124,0,0,834,178,1,0,0,0,835,836, + 5,40,0,0,836,180,1,0,0,0,837,838,5,41,0,0,838,182,1,0,0,0,839,840, + 5,44,0,0,840,184,1,0,0,0,841,842,5,59,0,0,842,186,1,0,0,0,843,844, + 5,45,0,0,844,845,5,62,0,0,845,188,1,0,0,0,846,847,5,91,0,0,847,190, + 1,0,0,0,848,849,5,93,0,0,849,192,1,0,0,0,850,851,5,112,0,0,851,856, + 5,105,0,0,852,853,5,80,0,0,853,856,5,73,0,0,854,856,7,0,0,0,855, + 850,1,0,0,0,855,852,1,0,0,0,855,854,1,0,0,0,856,194,1,0,0,0,857, + 859,7,1,0,0,858,857,1,0,0,0,859,860,1,0,0,0,860,858,1,0,0,0,860, + 861,1,0,0,0,861,868,1,0,0,0,862,864,5,46,0,0,863,865,7,1,0,0,864, + 863,1,0,0,0,865,866,1,0,0,0,866,864,1,0,0,0,866,867,1,0,0,0,867, + 869,1,0,0,0,868,862,1,0,0,0,868,869,1,0,0,0,869,196,1,0,0,0,870, + 874,7,2,0,0,871,873,7,3,0,0,872,871,1,0,0,0,873,876,1,0,0,0,874, + 872,1,0,0,0,874,875,1,0,0,0,875,198,1,0,0,0,876,874,1,0,0,0,877, + 879,7,4,0,0,878,877,1,0,0,0,879,880,1,0,0,0,880,878,1,0,0,0,880, + 881,1,0,0,0,881,882,1,0,0,0,882,883,6,99,0,0,883,200,1,0,0,0,21, + 0,393,469,486,504,517,572,589,634,659,679,704,729,752,773,855,860, + 866,868,874,880,1,6,0,0 ] class MathExprLexer(Lexer): @@ -417,19 +419,20 @@ class MathExprLexer(Lexer): LE = 84 LT = 85 EQ = 86 - NE = 87 - PIPE = 88 - LPAREN = 89 - RPAREN = 90 - COMMA = 91 - SEMICOLON = 92 - ARROW = 93 - LBRACKET = 94 - RBRACKET = 95 - CONSTANT = 96 - NUMBER = 97 - VARIABLE = 98 - WS = 99 + EQUEALS = 87 + NE = 88 + PIPE = 89 + LPAREN = 90 + RPAREN = 91 + COMMA = 92 + SEMICOLON = 93 + ARROW = 94 + LBRACKET = 95 + RBRACKET = 96 + CONSTANT = 97 + NUMBER = 98 + VARIABLE = 99 + WS = 100 channelNames = [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN" ] @@ -447,8 +450,8 @@ class MathExprLexer(Lexer): "'mean'", "'std'", "'var'", "'quantile'", "'dot'", "'moment'", "'cossim'", "'flip'", "'cov'", "'sort'", "'append'", "'+'", "'-'", "'*'", "'/'", "'%'", "'^'", "'>='", "'>'", "'<='", "'<'", - "'=='", "'!='", "'|'", "'('", "')'", "','", "';'", "'->'", "'['", - "']'" ] + "'=='", "'='", "'!='", "'|'", "'('", "')'", "','", "';'", "'->'", + "'['", "']'" ] symbolicNames = [ "", "SIN", "COS", "TAN", "ASIN", "ACOS", "ATAN", "ATAN2", "SINH", @@ -462,9 +465,9 @@ class MathExprLexer(Lexer): "QUANTILE", "DOT", "MOMENT", "NOISE", "RAND", "CAUCHY", "EXPONENTIAL", "LOGNORMAL", "BERNOULLI", "POISSON", "COSSIM", "FLIP", "COV", "SORT", "APPEND", "PLUS", "MINUS", "MULT", "DIV", "MOD", "POW", - "GE", "GT", "LE", "LT", "EQ", "NE", "PIPE", "LPAREN", "RPAREN", - "COMMA", "SEMICOLON", "ARROW", "LBRACKET", "RBRACKET", "CONSTANT", - "NUMBER", "VARIABLE", "WS" ] + "GE", "GT", "LE", "LT", "EQ", "EQUEALS", "NE", "PIPE", "LPAREN", + "RPAREN", "COMMA", "SEMICOLON", "ARROW", "LBRACKET", "RBRACKET", + "CONSTANT", "NUMBER", "VARIABLE", "WS" ] ruleNames = [ "SIN", "COS", "TAN", "ASIN", "ACOS", "ATAN", "ATAN2", "SINH", "COSH", "TANH", "ASINH", "ACOSH", "ATANH", "ABS", @@ -478,9 +481,9 @@ class MathExprLexer(Lexer): "MOMENT", "NOISE", "RAND", "CAUCHY", "EXPONENTIAL", "LOGNORMAL", "BERNOULLI", "POISSON", "COSSIM", "FLIP", "COV", "SORT", "APPEND", "PLUS", "MINUS", "MULT", "DIV", "MOD", "POW", - "GE", "GT", "LE", "LT", "EQ", "NE", "PIPE", "LPAREN", - "RPAREN", "COMMA", "SEMICOLON", "ARROW", "LBRACKET", "RBRACKET", - "CONSTANT", "NUMBER", "VARIABLE", "WS" ] + "GE", "GT", "LE", "LT", "EQ", "EQUEALS", "NE", "PIPE", + "LPAREN", "RPAREN", "COMMA", "SEMICOLON", "ARROW", "LBRACKET", + "RBRACKET", "CONSTANT", "NUMBER", "VARIABLE", "WS" ] grammarFileName = "MathExpr.g4" diff --git a/more_math/Parser/MathExprLexer.tokens b/more_math/Parser/MathExprLexer.tokens index d8aaa28..f0629be 100644 --- a/more_math/Parser/MathExprLexer.tokens +++ b/more_math/Parser/MathExprLexer.tokens @@ -84,19 +84,20 @@ GT=83 LE=84 LT=85 EQ=86 -NE=87 -PIPE=88 -LPAREN=89 -RPAREN=90 -COMMA=91 -SEMICOLON=92 -ARROW=93 -LBRACKET=94 -RBRACKET=95 -CONSTANT=96 -NUMBER=97 -VARIABLE=98 -WS=99 +EQUEALS=87 +NE=88 +PIPE=89 +LPAREN=90 +RPAREN=91 +COMMA=92 +SEMICOLON=93 +ARROW=94 +LBRACKET=95 +RBRACKET=96 +CONSTANT=97 +NUMBER=98 +VARIABLE=99 +WS=100 'sin'=1 'cos'=2 'tan'=3 @@ -169,12 +170,13 @@ WS=99 '<='=84 '<'=85 '=='=86 -'!='=87 -'|'=88 -'('=89 -')'=90 -','=91 -';'=92 -'->'=93 -'['=94 -']'=95 +'='=87 +'!='=88 +'|'=89 +'('=90 +')'=91 +','=92 +';'=93 +'->'=94 +'['=95 +']'=96 diff --git a/more_math/Parser/MathExprListener.py b/more_math/Parser/MathExprListener.py index 22a0998..8ba4c39 100644 --- a/more_math/Parser/MathExprListener.py +++ b/more_math/Parser/MathExprListener.py @@ -26,6 +26,15 @@ class MathExprListener(ParseTreeListener): pass + # Enter a parse tree produced by MathExprParser#varDef. + def enterVarDef(self, ctx:MathExprParser.VarDefContext): + pass + + # Exit a parse tree produced by MathExprParser#varDef. + def exitVarDef(self, ctx:MathExprParser.VarDefContext): + pass + + # Enter a parse tree produced by MathExprParser#paramList. def enterParamList(self, ctx:MathExprParser.ParamListContext): pass diff --git a/more_math/Parser/MathExprParser.py b/more_math/Parser/MathExprParser.py index d320f1a..fc62bed 100644 --- a/more_math/Parser/MathExprParser.py +++ b/more_math/Parser/MathExprParser.py @@ -10,38 +10,23 @@ else: def serializedATN(): return [ - 4,1,99,689,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,1,0,5,0,36,8,0,10,0,12,0,39,9,0,1, - 0,1,0,1,0,1,1,1,1,1,1,3,1,47,8,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2, - 5,2,57,8,2,10,2,12,2,60,9,2,1,3,1,3,3,3,64,8,3,1,4,1,4,1,4,1,4,1, - 4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1, - 4,5,4,87,8,4,10,4,12,4,90,9,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1, - 5,5,5,101,8,5,10,5,12,5,104,9,5,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6, - 1,6,1,6,1,6,1,6,5,6,118,8,6,10,6,12,6,121,9,6,1,7,1,7,1,7,1,7,1, - 7,3,7,128,8,7,1,8,1,8,1,8,1,8,1,8,3,8,135,8,8,1,9,1,9,1,9,1,9,1, - 9,1,9,1,9,1,9,5,9,145,8,9,10,9,12,9,148,9,9,1,9,1,9,5,9,152,8,9, - 10,9,12,9,155,9,9,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1, - 10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,5,10,177,8, - 10,10,10,12,10,180,9,10,1,10,1,10,1,10,1,10,1,10,3,10,187,8,10,1, - 10,3,10,190,8,10,1,11,1,11,1,11,5,11,195,8,11,10,11,12,11,198,9, - 11,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1, - 12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1, - 12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1, - 12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1, - 12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1, - 12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1, - 12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1, - 12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1, - 12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1, - 12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1, - 12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1, - 12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1, - 12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1, - 12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1, - 12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1, - 12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1,12,1, - 12,1,12,1,12,3,12,410,8,12,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, + 4,1,100,702,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,1,0,5,0,38,8,0,10,0,12, + 0,41,9,0,1,0,5,0,44,8,0,10,0,12,0,47,9,0,1,0,1,0,1,0,1,1,1,1,1,1, + 3,1,55,8,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1,3,1,3,1,3,5, + 3,70,8,3,10,3,12,3,73,9,3,1,4,1,4,3,4,77,8,4,1,5,1,5,1,5,1,5,1,5, + 1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5, + 5,5,100,8,5,10,5,12,5,103,9,5,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1, + 6,5,6,114,8,6,10,6,12,6,117,9,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,7, + 1,7,1,7,1,7,1,7,5,7,131,8,7,10,7,12,7,134,9,7,1,8,1,8,1,8,1,8,1, + 8,3,8,141,8,8,1,9,1,9,1,9,1,9,1,9,3,9,148,8,9,1,10,1,10,1,10,1,10, + 1,10,1,10,1,10,1,10,5,10,158,8,10,10,10,12,10,161,9,10,1,10,1,10, + 5,10,165,8,10,10,10,12,10,168,9,10,1,11,1,11,1,11,1,11,1,11,1,11, + 1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11, + 1,11,5,11,190,8,11,10,11,12,11,193,9,11,1,11,1,11,1,11,1,11,1,11, + 3,11,200,8,11,1,11,3,11,203,8,11,1,12,1,12,1,12,5,12,208,8,12,10, + 12,12,12,211,9,12,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, @@ -51,215 +36,234 @@ def serializedATN(): 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, - 13,1,13,3,13,538,8,13,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, + 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, + 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, + 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, + 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, + 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, + 13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1,13,1, + 13,1,13,1,13,1,13,1,13,1,13,3,13,423,8,13,1,14,1,14,1,14,1,14,1, 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, - 14,1,14,1,14,3,14,603,8,14,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1, - 15,1,15,1,15,1,15,1,16,1,16,1,16,1,16,1,16,5,16,621,8,16,10,16,12, - 16,624,9,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,5,16,633,8,16,10, - 16,12,16,636,9,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,4,16,645,8, - 16,11,16,12,16,646,1,16,1,16,1,16,1,16,1,16,1,16,1,16,4,16,656,8, - 16,11,16,12,16,657,1,16,1,16,1,16,1,16,1,16,1,16,1,16,4,16,667,8, - 16,11,16,12,16,668,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16, - 1,16,1,16,1,16,1,16,1,16,1,16,1,16,3,16,687,8,16,1,16,0,4,8,10,12, - 18,17,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,0,0,780,0,37, - 1,0,0,0,2,43,1,0,0,0,4,53,1,0,0,0,6,63,1,0,0,0,8,65,1,0,0,0,10,91, - 1,0,0,0,12,105,1,0,0,0,14,127,1,0,0,0,16,134,1,0,0,0,18,136,1,0, - 0,0,20,189,1,0,0,0,22,191,1,0,0,0,24,409,1,0,0,0,26,537,1,0,0,0, - 28,602,1,0,0,0,30,604,1,0,0,0,32,686,1,0,0,0,34,36,3,2,1,0,35,34, - 1,0,0,0,36,39,1,0,0,0,37,35,1,0,0,0,37,38,1,0,0,0,38,40,1,0,0,0, - 39,37,1,0,0,0,40,41,3,6,3,0,41,42,5,0,0,1,42,1,1,0,0,0,43,44,5,98, - 0,0,44,46,5,89,0,0,45,47,3,4,2,0,46,45,1,0,0,0,46,47,1,0,0,0,47, - 48,1,0,0,0,48,49,5,90,0,0,49,50,5,93,0,0,50,51,3,6,3,0,51,52,5,92, - 0,0,52,3,1,0,0,0,53,58,5,98,0,0,54,55,5,91,0,0,55,57,5,98,0,0,56, - 54,1,0,0,0,57,60,1,0,0,0,58,56,1,0,0,0,58,59,1,0,0,0,59,5,1,0,0, - 0,60,58,1,0,0,0,61,64,3,20,10,0,62,64,3,8,4,0,63,61,1,0,0,0,63,62, - 1,0,0,0,64,7,1,0,0,0,65,66,6,4,-1,0,66,67,3,10,5,0,67,88,1,0,0,0, - 68,69,10,7,0,0,69,70,5,83,0,0,70,87,3,10,5,0,71,72,10,6,0,0,72,73, - 5,82,0,0,73,87,3,10,5,0,74,75,10,5,0,0,75,76,5,85,0,0,76,87,3,10, - 5,0,77,78,10,4,0,0,78,79,5,84,0,0,79,87,3,10,5,0,80,81,10,3,0,0, - 81,82,5,86,0,0,82,87,3,10,5,0,83,84,10,2,0,0,84,85,5,87,0,0,85,87, - 3,10,5,0,86,68,1,0,0,0,86,71,1,0,0,0,86,74,1,0,0,0,86,77,1,0,0,0, - 86,80,1,0,0,0,86,83,1,0,0,0,87,90,1,0,0,0,88,86,1,0,0,0,88,89,1, - 0,0,0,89,9,1,0,0,0,90,88,1,0,0,0,91,92,6,5,-1,0,92,93,3,12,6,0,93, - 102,1,0,0,0,94,95,10,3,0,0,95,96,5,76,0,0,96,101,3,12,6,0,97,98, - 10,2,0,0,98,99,5,77,0,0,99,101,3,12,6,0,100,94,1,0,0,0,100,97,1, - 0,0,0,101,104,1,0,0,0,102,100,1,0,0,0,102,103,1,0,0,0,103,11,1,0, - 0,0,104,102,1,0,0,0,105,106,6,6,-1,0,106,107,3,14,7,0,107,119,1, - 0,0,0,108,109,10,4,0,0,109,110,5,78,0,0,110,118,3,14,7,0,111,112, - 10,3,0,0,112,113,5,79,0,0,113,118,3,14,7,0,114,115,10,2,0,0,115, - 116,5,80,0,0,116,118,3,14,7,0,117,108,1,0,0,0,117,111,1,0,0,0,117, - 114,1,0,0,0,118,121,1,0,0,0,119,117,1,0,0,0,119,120,1,0,0,0,120, - 13,1,0,0,0,121,119,1,0,0,0,122,123,3,16,8,0,123,124,5,81,0,0,124, - 125,3,14,7,0,125,128,1,0,0,0,126,128,3,16,8,0,127,122,1,0,0,0,127, - 126,1,0,0,0,128,15,1,0,0,0,129,130,5,76,0,0,130,135,3,16,8,0,131, - 132,5,77,0,0,132,135,3,16,8,0,133,135,3,18,9,0,134,129,1,0,0,0,134, - 131,1,0,0,0,134,133,1,0,0,0,135,17,1,0,0,0,136,137,6,9,-1,0,137, - 138,3,20,10,0,138,153,1,0,0,0,139,140,10,2,0,0,140,141,5,94,0,0, - 141,146,3,6,3,0,142,143,5,91,0,0,143,145,3,6,3,0,144,142,1,0,0,0, - 145,148,1,0,0,0,146,144,1,0,0,0,146,147,1,0,0,0,147,149,1,0,0,0, - 148,146,1,0,0,0,149,150,5,95,0,0,150,152,1,0,0,0,151,139,1,0,0,0, - 152,155,1,0,0,0,153,151,1,0,0,0,153,154,1,0,0,0,154,19,1,0,0,0,155, - 153,1,0,0,0,156,190,3,24,12,0,157,190,3,26,13,0,158,190,3,28,14, - 0,159,190,3,30,15,0,160,190,3,32,16,0,161,190,5,98,0,0,162,190,5, - 97,0,0,163,190,5,96,0,0,164,165,5,89,0,0,165,166,3,6,3,0,166,167, - 5,90,0,0,167,190,1,0,0,0,168,169,5,88,0,0,169,170,3,6,3,0,170,171, - 5,88,0,0,171,190,1,0,0,0,172,173,5,94,0,0,173,178,3,6,3,0,174,175, - 5,91,0,0,175,177,3,6,3,0,176,174,1,0,0,0,177,180,1,0,0,0,178,176, - 1,0,0,0,178,179,1,0,0,0,179,181,1,0,0,0,180,178,1,0,0,0,181,182, - 5,95,0,0,182,190,1,0,0,0,183,184,5,98,0,0,184,186,5,89,0,0,185,187, - 3,22,11,0,186,185,1,0,0,0,186,187,1,0,0,0,187,188,1,0,0,0,188,190, - 5,90,0,0,189,156,1,0,0,0,189,157,1,0,0,0,189,158,1,0,0,0,189,159, - 1,0,0,0,189,160,1,0,0,0,189,161,1,0,0,0,189,162,1,0,0,0,189,163, - 1,0,0,0,189,164,1,0,0,0,189,168,1,0,0,0,189,172,1,0,0,0,189,183, - 1,0,0,0,190,21,1,0,0,0,191,196,3,6,3,0,192,193,5,91,0,0,193,195, - 3,6,3,0,194,192,1,0,0,0,195,198,1,0,0,0,196,194,1,0,0,0,196,197, - 1,0,0,0,197,23,1,0,0,0,198,196,1,0,0,0,199,200,5,1,0,0,200,201,5, - 89,0,0,201,202,3,6,3,0,202,203,5,90,0,0,203,410,1,0,0,0,204,205, - 5,2,0,0,205,206,5,89,0,0,206,207,3,6,3,0,207,208,5,90,0,0,208,410, - 1,0,0,0,209,210,5,3,0,0,210,211,5,89,0,0,211,212,3,6,3,0,212,213, - 5,90,0,0,213,410,1,0,0,0,214,215,5,4,0,0,215,216,5,89,0,0,216,217, - 3,6,3,0,217,218,5,90,0,0,218,410,1,0,0,0,219,220,5,5,0,0,220,221, - 5,89,0,0,221,222,3,6,3,0,222,223,5,90,0,0,223,410,1,0,0,0,224,225, - 5,6,0,0,225,226,5,89,0,0,226,227,3,6,3,0,227,228,5,90,0,0,228,410, - 1,0,0,0,229,230,5,8,0,0,230,231,5,89,0,0,231,232,3,6,3,0,232,233, - 5,90,0,0,233,410,1,0,0,0,234,235,5,9,0,0,235,236,5,89,0,0,236,237, - 3,6,3,0,237,238,5,90,0,0,238,410,1,0,0,0,239,240,5,10,0,0,240,241, - 5,89,0,0,241,242,3,6,3,0,242,243,5,90,0,0,243,410,1,0,0,0,244,245, - 5,11,0,0,245,246,5,89,0,0,246,247,3,6,3,0,247,248,5,90,0,0,248,410, - 1,0,0,0,249,250,5,12,0,0,250,251,5,89,0,0,251,252,3,6,3,0,252,253, - 5,90,0,0,253,410,1,0,0,0,254,255,5,13,0,0,255,256,5,89,0,0,256,257, - 3,6,3,0,257,258,5,90,0,0,258,410,1,0,0,0,259,260,5,14,0,0,260,261, - 5,89,0,0,261,262,3,6,3,0,262,263,5,90,0,0,263,410,1,0,0,0,264,265, - 5,15,0,0,265,266,5,89,0,0,266,267,3,6,3,0,267,268,5,90,0,0,268,410, - 1,0,0,0,269,270,5,16,0,0,270,271,5,89,0,0,271,272,3,6,3,0,272,273, - 5,90,0,0,273,410,1,0,0,0,274,275,5,17,0,0,275,276,5,89,0,0,276,277, - 3,6,3,0,277,278,5,90,0,0,278,410,1,0,0,0,279,280,5,18,0,0,280,281, - 5,89,0,0,281,282,3,6,3,0,282,283,5,90,0,0,283,410,1,0,0,0,284,285, - 5,23,0,0,285,286,5,89,0,0,286,287,3,6,3,0,287,288,5,90,0,0,288,410, - 1,0,0,0,289,290,5,24,0,0,290,291,5,89,0,0,291,292,3,6,3,0,292,293, - 5,90,0,0,293,410,1,0,0,0,294,295,5,25,0,0,295,296,5,89,0,0,296,297, - 3,6,3,0,297,298,5,90,0,0,298,410,1,0,0,0,299,300,5,26,0,0,300,301, - 5,89,0,0,301,302,3,6,3,0,302,303,5,90,0,0,303,410,1,0,0,0,304,305, - 5,27,0,0,305,306,5,89,0,0,306,307,3,6,3,0,307,308,5,90,0,0,308,410, - 1,0,0,0,309,310,5,28,0,0,310,311,5,89,0,0,311,312,3,6,3,0,312,313, - 5,90,0,0,313,410,1,0,0,0,314,315,5,30,0,0,315,316,5,89,0,0,316,317, - 3,6,3,0,317,318,5,90,0,0,318,410,1,0,0,0,319,320,5,32,0,0,320,321, - 5,89,0,0,321,322,3,6,3,0,322,323,5,90,0,0,323,410,1,0,0,0,324,325, - 5,33,0,0,325,326,5,89,0,0,326,327,3,6,3,0,327,328,5,90,0,0,328,410, - 1,0,0,0,329,330,5,34,0,0,330,331,5,89,0,0,331,332,3,6,3,0,332,333, - 5,90,0,0,333,410,1,0,0,0,334,335,5,35,0,0,335,336,5,89,0,0,336,337, - 3,6,3,0,337,338,5,90,0,0,338,410,1,0,0,0,339,340,5,40,0,0,340,341, - 5,89,0,0,341,342,3,6,3,0,342,343,5,90,0,0,343,410,1,0,0,0,344,345, - 5,41,0,0,345,346,5,89,0,0,346,347,3,6,3,0,347,348,5,90,0,0,348,410, - 1,0,0,0,349,350,5,42,0,0,350,351,5,89,0,0,351,352,3,6,3,0,352,353, - 5,90,0,0,353,410,1,0,0,0,354,355,5,43,0,0,355,356,5,89,0,0,356,357, - 3,6,3,0,357,358,5,90,0,0,358,410,1,0,0,0,359,360,5,44,0,0,360,361, - 5,89,0,0,361,362,3,6,3,0,362,363,5,90,0,0,363,410,1,0,0,0,364,365, - 5,36,0,0,365,366,5,89,0,0,366,367,3,6,3,0,367,368,5,90,0,0,368,410, - 1,0,0,0,369,370,5,54,0,0,370,371,5,89,0,0,371,372,3,6,3,0,372,373, - 5,90,0,0,373,410,1,0,0,0,374,375,5,55,0,0,375,376,5,89,0,0,376,377, - 3,6,3,0,377,378,5,90,0,0,378,410,1,0,0,0,379,380,5,56,0,0,380,381, - 5,89,0,0,381,382,3,6,3,0,382,383,5,90,0,0,383,410,1,0,0,0,384,385, - 5,57,0,0,385,386,5,89,0,0,386,387,3,6,3,0,387,388,5,90,0,0,388,410, - 1,0,0,0,389,390,5,58,0,0,390,391,5,89,0,0,391,392,3,6,3,0,392,393, - 5,90,0,0,393,410,1,0,0,0,394,395,5,74,0,0,395,396,5,89,0,0,396,397, - 3,6,3,0,397,398,5,90,0,0,398,410,1,0,0,0,399,400,5,64,0,0,400,401, - 5,89,0,0,401,402,3,6,3,0,402,403,5,90,0,0,403,410,1,0,0,0,404,405, - 5,65,0,0,405,406,5,89,0,0,406,407,3,6,3,0,407,408,5,90,0,0,408,410, - 1,0,0,0,409,199,1,0,0,0,409,204,1,0,0,0,409,209,1,0,0,0,409,214, - 1,0,0,0,409,219,1,0,0,0,409,224,1,0,0,0,409,229,1,0,0,0,409,234, - 1,0,0,0,409,239,1,0,0,0,409,244,1,0,0,0,409,249,1,0,0,0,409,254, - 1,0,0,0,409,259,1,0,0,0,409,264,1,0,0,0,409,269,1,0,0,0,409,274, - 1,0,0,0,409,279,1,0,0,0,409,284,1,0,0,0,409,289,1,0,0,0,409,294, - 1,0,0,0,409,299,1,0,0,0,409,304,1,0,0,0,409,309,1,0,0,0,409,314, - 1,0,0,0,409,319,1,0,0,0,409,324,1,0,0,0,409,329,1,0,0,0,409,334, - 1,0,0,0,409,339,1,0,0,0,409,344,1,0,0,0,409,349,1,0,0,0,409,354, - 1,0,0,0,409,359,1,0,0,0,409,364,1,0,0,0,409,369,1,0,0,0,409,374, - 1,0,0,0,409,379,1,0,0,0,409,384,1,0,0,0,409,389,1,0,0,0,409,394, - 1,0,0,0,409,399,1,0,0,0,409,404,1,0,0,0,410,25,1,0,0,0,411,412,5, - 29,0,0,412,413,5,89,0,0,413,414,3,6,3,0,414,415,5,91,0,0,415,416, - 3,6,3,0,416,417,5,90,0,0,417,538,1,0,0,0,418,419,5,7,0,0,419,420, - 5,89,0,0,420,421,3,6,3,0,421,422,5,91,0,0,422,423,3,6,3,0,423,424, - 5,90,0,0,424,538,1,0,0,0,425,426,5,21,0,0,426,427,5,89,0,0,427,428, - 3,6,3,0,428,429,5,91,0,0,429,430,3,6,3,0,430,431,5,90,0,0,431,538, - 1,0,0,0,432,433,5,22,0,0,433,434,5,89,0,0,434,435,3,6,3,0,435,436, - 5,91,0,0,436,437,3,6,3,0,437,438,5,90,0,0,438,538,1,0,0,0,439,440, - 5,38,0,0,440,441,5,89,0,0,441,442,3,6,3,0,442,443,5,91,0,0,443,444, - 3,6,3,0,444,445,5,90,0,0,445,538,1,0,0,0,446,447,5,52,0,0,447,448, - 5,89,0,0,448,449,3,6,3,0,449,450,5,91,0,0,450,451,3,6,3,0,451,452, - 5,90,0,0,452,538,1,0,0,0,453,454,5,53,0,0,454,455,5,89,0,0,455,456, - 3,6,3,0,456,457,5,91,0,0,457,458,3,6,3,0,458,459,5,90,0,0,459,538, - 1,0,0,0,460,461,5,59,0,0,461,462,5,89,0,0,462,463,3,6,3,0,463,464, - 5,91,0,0,464,465,3,6,3,0,465,466,5,90,0,0,466,538,1,0,0,0,467,468, - 5,60,0,0,468,469,5,89,0,0,469,470,3,6,3,0,470,471,5,91,0,0,471,472, - 3,6,3,0,472,473,5,90,0,0,473,538,1,0,0,0,474,475,5,61,0,0,475,476, - 5,89,0,0,476,477,3,6,3,0,477,478,5,91,0,0,478,479,3,6,3,0,479,480, - 5,90,0,0,480,538,1,0,0,0,481,482,5,62,0,0,482,483,5,89,0,0,483,484, - 3,6,3,0,484,485,5,91,0,0,485,486,3,6,3,0,486,487,5,90,0,0,487,538, - 1,0,0,0,488,489,5,71,0,0,489,490,5,89,0,0,490,491,3,6,3,0,491,492, - 5,91,0,0,492,493,3,6,3,0,493,494,5,90,0,0,494,538,1,0,0,0,495,496, - 5,72,0,0,496,497,5,89,0,0,497,498,3,6,3,0,498,499,5,91,0,0,499,500, - 3,6,3,0,500,501,5,90,0,0,501,538,1,0,0,0,502,503,5,73,0,0,503,504, - 5,89,0,0,504,505,3,6,3,0,505,506,5,91,0,0,506,507,3,6,3,0,507,508, - 5,90,0,0,508,538,1,0,0,0,509,510,5,75,0,0,510,511,5,89,0,0,511,512, - 3,6,3,0,512,513,5,91,0,0,513,514,3,6,3,0,514,515,5,90,0,0,515,538, - 1,0,0,0,516,517,5,67,0,0,517,518,5,89,0,0,518,519,3,6,3,0,519,520, - 5,91,0,0,520,521,3,6,3,0,521,522,5,90,0,0,522,538,1,0,0,0,523,524, - 5,69,0,0,524,525,5,89,0,0,525,526,3,6,3,0,526,527,5,91,0,0,527,528, - 3,6,3,0,528,529,5,90,0,0,529,538,1,0,0,0,530,531,5,70,0,0,531,532, - 5,89,0,0,532,533,3,6,3,0,533,534,5,91,0,0,534,535,3,6,3,0,535,536, - 5,90,0,0,536,538,1,0,0,0,537,411,1,0,0,0,537,418,1,0,0,0,537,425, - 1,0,0,0,537,432,1,0,0,0,537,439,1,0,0,0,537,446,1,0,0,0,537,453, - 1,0,0,0,537,460,1,0,0,0,537,467,1,0,0,0,537,474,1,0,0,0,537,481, - 1,0,0,0,537,488,1,0,0,0,537,495,1,0,0,0,537,502,1,0,0,0,537,509, - 1,0,0,0,537,516,1,0,0,0,537,523,1,0,0,0,537,530,1,0,0,0,538,27,1, - 0,0,0,539,540,5,31,0,0,540,541,5,89,0,0,541,542,3,6,3,0,542,543, - 5,91,0,0,543,544,3,6,3,0,544,545,5,91,0,0,545,546,3,6,3,0,546,547, - 5,90,0,0,547,603,1,0,0,0,548,549,5,37,0,0,549,550,5,89,0,0,550,551, - 3,6,3,0,551,552,5,91,0,0,552,553,3,6,3,0,553,554,5,91,0,0,554,555, - 3,6,3,0,555,556,5,90,0,0,556,603,1,0,0,0,557,558,5,39,0,0,558,559, - 5,89,0,0,559,560,3,6,3,0,560,561,5,91,0,0,561,562,3,6,3,0,562,563, - 5,91,0,0,563,564,3,6,3,0,564,565,5,90,0,0,565,603,1,0,0,0,566,567, - 5,51,0,0,567,568,5,89,0,0,568,569,3,6,3,0,569,570,5,91,0,0,570,571, - 3,6,3,0,571,572,5,91,0,0,572,573,3,6,3,0,573,574,5,90,0,0,574,603, - 1,0,0,0,575,576,5,63,0,0,576,577,5,89,0,0,577,578,3,6,3,0,578,579, - 5,91,0,0,579,580,3,6,3,0,580,581,5,91,0,0,581,582,3,6,3,0,582,583, - 5,90,0,0,583,603,1,0,0,0,584,585,5,66,0,0,585,586,5,89,0,0,586,587, - 3,6,3,0,587,588,5,91,0,0,588,589,3,6,3,0,589,590,5,91,0,0,590,591, - 3,6,3,0,591,592,5,90,0,0,592,603,1,0,0,0,593,594,5,68,0,0,594,595, - 5,89,0,0,595,596,3,6,3,0,596,597,5,91,0,0,597,598,3,6,3,0,598,599, - 5,91,0,0,599,600,3,6,3,0,600,601,5,90,0,0,601,603,1,0,0,0,602,539, - 1,0,0,0,602,548,1,0,0,0,602,557,1,0,0,0,602,566,1,0,0,0,602,575, - 1,0,0,0,602,584,1,0,0,0,602,593,1,0,0,0,603,29,1,0,0,0,604,605,5, - 48,0,0,605,606,5,89,0,0,606,607,3,6,3,0,607,608,5,91,0,0,608,609, - 3,6,3,0,609,610,5,91,0,0,610,611,3,6,3,0,611,612,5,91,0,0,612,613, - 3,6,3,0,613,614,5,90,0,0,614,31,1,0,0,0,615,616,5,19,0,0,616,617, - 5,89,0,0,617,622,3,6,3,0,618,619,5,91,0,0,619,621,3,6,3,0,620,618, - 1,0,0,0,621,624,1,0,0,0,622,620,1,0,0,0,622,623,1,0,0,0,623,625, - 1,0,0,0,624,622,1,0,0,0,625,626,5,90,0,0,626,687,1,0,0,0,627,628, - 5,20,0,0,628,629,5,89,0,0,629,634,3,6,3,0,630,631,5,91,0,0,631,633, - 3,6,3,0,632,630,1,0,0,0,633,636,1,0,0,0,634,632,1,0,0,0,634,635, - 1,0,0,0,635,637,1,0,0,0,636,634,1,0,0,0,637,638,5,90,0,0,638,687, - 1,0,0,0,639,640,5,45,0,0,640,641,5,89,0,0,641,644,3,6,3,0,642,643, - 5,91,0,0,643,645,3,6,3,0,644,642,1,0,0,0,645,646,1,0,0,0,646,644, - 1,0,0,0,646,647,1,0,0,0,647,648,1,0,0,0,648,649,5,90,0,0,649,687, - 1,0,0,0,650,651,5,46,0,0,651,652,5,89,0,0,652,655,3,6,3,0,653,654, - 5,91,0,0,654,656,3,6,3,0,655,653,1,0,0,0,656,657,1,0,0,0,657,655, - 1,0,0,0,657,658,1,0,0,0,658,659,1,0,0,0,659,660,5,90,0,0,660,687, - 1,0,0,0,661,662,5,47,0,0,662,663,5,89,0,0,663,666,3,6,3,0,664,665, - 5,91,0,0,665,667,3,6,3,0,666,664,1,0,0,0,667,668,1,0,0,0,668,666, - 1,0,0,0,668,669,1,0,0,0,669,670,1,0,0,0,670,671,5,90,0,0,671,687, - 1,0,0,0,672,673,5,49,0,0,673,674,5,89,0,0,674,675,3,6,3,0,675,676, - 5,91,0,0,676,677,3,6,3,0,677,678,5,90,0,0,678,687,1,0,0,0,679,680, - 5,50,0,0,680,681,5,89,0,0,681,682,3,6,3,0,682,683,5,91,0,0,683,684, - 3,6,3,0,684,685,5,90,0,0,685,687,1,0,0,0,686,615,1,0,0,0,686,627, - 1,0,0,0,686,639,1,0,0,0,686,650,1,0,0,0,686,661,1,0,0,0,686,672, - 1,0,0,0,686,679,1,0,0,0,687,33,1,0,0,0,27,37,46,58,63,86,88,100, - 102,117,119,127,134,146,153,178,186,189,196,409,537,602,622,634, - 646,657,668,686 + 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, + 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, + 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, + 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, + 14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1, + 14,1,14,1,14,1,14,1,14,3,14,551,8,14,1,15,1,15,1,15,1,15,1,15,1, + 15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1, + 15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1, + 15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1, + 15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1,15,1, + 15,1,15,1,15,1,15,1,15,1,15,3,15,616,8,15,1,16,1,16,1,16,1,16,1, + 16,1,16,1,16,1,16,1,16,1,16,1,16,1,17,1,17,1,17,1,17,1,17,5,17,634, + 8,17,10,17,12,17,637,9,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,5,17, + 646,8,17,10,17,12,17,649,9,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17, + 4,17,658,8,17,11,17,12,17,659,1,17,1,17,1,17,1,17,1,17,1,17,1,17, + 4,17,669,8,17,11,17,12,17,670,1,17,1,17,1,17,1,17,1,17,1,17,1,17, + 4,17,680,8,17,11,17,12,17,681,1,17,1,17,1,17,1,17,1,17,1,17,1,17, + 1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,3,17,700,8,17,1,17, + 0,4,10,12,14,20,18,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32, + 34,0,0,793,0,39,1,0,0,0,2,51,1,0,0,0,4,61,1,0,0,0,6,66,1,0,0,0,8, + 76,1,0,0,0,10,78,1,0,0,0,12,104,1,0,0,0,14,118,1,0,0,0,16,140,1, + 0,0,0,18,147,1,0,0,0,20,149,1,0,0,0,22,202,1,0,0,0,24,204,1,0,0, + 0,26,422,1,0,0,0,28,550,1,0,0,0,30,615,1,0,0,0,32,617,1,0,0,0,34, + 699,1,0,0,0,36,38,3,2,1,0,37,36,1,0,0,0,38,41,1,0,0,0,39,37,1,0, + 0,0,39,40,1,0,0,0,40,45,1,0,0,0,41,39,1,0,0,0,42,44,3,4,2,0,43,42, + 1,0,0,0,44,47,1,0,0,0,45,43,1,0,0,0,45,46,1,0,0,0,46,48,1,0,0,0, + 47,45,1,0,0,0,48,49,3,8,4,0,49,50,5,0,0,1,50,1,1,0,0,0,51,52,5,99, + 0,0,52,54,5,90,0,0,53,55,3,6,3,0,54,53,1,0,0,0,54,55,1,0,0,0,55, + 56,1,0,0,0,56,57,5,91,0,0,57,58,5,94,0,0,58,59,3,8,4,0,59,60,5,93, + 0,0,60,3,1,0,0,0,61,62,5,99,0,0,62,63,5,87,0,0,63,64,3,8,4,0,64, + 65,5,93,0,0,65,5,1,0,0,0,66,71,5,99,0,0,67,68,5,92,0,0,68,70,5,99, + 0,0,69,67,1,0,0,0,70,73,1,0,0,0,71,69,1,0,0,0,71,72,1,0,0,0,72,7, + 1,0,0,0,73,71,1,0,0,0,74,77,3,22,11,0,75,77,3,10,5,0,76,74,1,0,0, + 0,76,75,1,0,0,0,77,9,1,0,0,0,78,79,6,5,-1,0,79,80,3,12,6,0,80,101, + 1,0,0,0,81,82,10,7,0,0,82,83,5,83,0,0,83,100,3,12,6,0,84,85,10,6, + 0,0,85,86,5,82,0,0,86,100,3,12,6,0,87,88,10,5,0,0,88,89,5,85,0,0, + 89,100,3,12,6,0,90,91,10,4,0,0,91,92,5,84,0,0,92,100,3,12,6,0,93, + 94,10,3,0,0,94,95,5,86,0,0,95,100,3,12,6,0,96,97,10,2,0,0,97,98, + 5,88,0,0,98,100,3,12,6,0,99,81,1,0,0,0,99,84,1,0,0,0,99,87,1,0,0, + 0,99,90,1,0,0,0,99,93,1,0,0,0,99,96,1,0,0,0,100,103,1,0,0,0,101, + 99,1,0,0,0,101,102,1,0,0,0,102,11,1,0,0,0,103,101,1,0,0,0,104,105, + 6,6,-1,0,105,106,3,14,7,0,106,115,1,0,0,0,107,108,10,3,0,0,108,109, + 5,76,0,0,109,114,3,14,7,0,110,111,10,2,0,0,111,112,5,77,0,0,112, + 114,3,14,7,0,113,107,1,0,0,0,113,110,1,0,0,0,114,117,1,0,0,0,115, + 113,1,0,0,0,115,116,1,0,0,0,116,13,1,0,0,0,117,115,1,0,0,0,118,119, + 6,7,-1,0,119,120,3,16,8,0,120,132,1,0,0,0,121,122,10,4,0,0,122,123, + 5,78,0,0,123,131,3,16,8,0,124,125,10,3,0,0,125,126,5,79,0,0,126, + 131,3,16,8,0,127,128,10,2,0,0,128,129,5,80,0,0,129,131,3,16,8,0, + 130,121,1,0,0,0,130,124,1,0,0,0,130,127,1,0,0,0,131,134,1,0,0,0, + 132,130,1,0,0,0,132,133,1,0,0,0,133,15,1,0,0,0,134,132,1,0,0,0,135, + 136,3,18,9,0,136,137,5,81,0,0,137,138,3,16,8,0,138,141,1,0,0,0,139, + 141,3,18,9,0,140,135,1,0,0,0,140,139,1,0,0,0,141,17,1,0,0,0,142, + 143,5,76,0,0,143,148,3,18,9,0,144,145,5,77,0,0,145,148,3,18,9,0, + 146,148,3,20,10,0,147,142,1,0,0,0,147,144,1,0,0,0,147,146,1,0,0, + 0,148,19,1,0,0,0,149,150,6,10,-1,0,150,151,3,22,11,0,151,166,1,0, + 0,0,152,153,10,2,0,0,153,154,5,95,0,0,154,159,3,8,4,0,155,156,5, + 92,0,0,156,158,3,8,4,0,157,155,1,0,0,0,158,161,1,0,0,0,159,157,1, + 0,0,0,159,160,1,0,0,0,160,162,1,0,0,0,161,159,1,0,0,0,162,163,5, + 96,0,0,163,165,1,0,0,0,164,152,1,0,0,0,165,168,1,0,0,0,166,164,1, + 0,0,0,166,167,1,0,0,0,167,21,1,0,0,0,168,166,1,0,0,0,169,203,3,26, + 13,0,170,203,3,28,14,0,171,203,3,30,15,0,172,203,3,32,16,0,173,203, + 3,34,17,0,174,203,5,99,0,0,175,203,5,98,0,0,176,203,5,97,0,0,177, + 178,5,90,0,0,178,179,3,8,4,0,179,180,5,91,0,0,180,203,1,0,0,0,181, + 182,5,89,0,0,182,183,3,8,4,0,183,184,5,89,0,0,184,203,1,0,0,0,185, + 186,5,95,0,0,186,191,3,8,4,0,187,188,5,92,0,0,188,190,3,8,4,0,189, + 187,1,0,0,0,190,193,1,0,0,0,191,189,1,0,0,0,191,192,1,0,0,0,192, + 194,1,0,0,0,193,191,1,0,0,0,194,195,5,96,0,0,195,203,1,0,0,0,196, + 197,5,99,0,0,197,199,5,90,0,0,198,200,3,24,12,0,199,198,1,0,0,0, + 199,200,1,0,0,0,200,201,1,0,0,0,201,203,5,91,0,0,202,169,1,0,0,0, + 202,170,1,0,0,0,202,171,1,0,0,0,202,172,1,0,0,0,202,173,1,0,0,0, + 202,174,1,0,0,0,202,175,1,0,0,0,202,176,1,0,0,0,202,177,1,0,0,0, + 202,181,1,0,0,0,202,185,1,0,0,0,202,196,1,0,0,0,203,23,1,0,0,0,204, + 209,3,8,4,0,205,206,5,92,0,0,206,208,3,8,4,0,207,205,1,0,0,0,208, + 211,1,0,0,0,209,207,1,0,0,0,209,210,1,0,0,0,210,25,1,0,0,0,211,209, + 1,0,0,0,212,213,5,1,0,0,213,214,5,90,0,0,214,215,3,8,4,0,215,216, + 5,91,0,0,216,423,1,0,0,0,217,218,5,2,0,0,218,219,5,90,0,0,219,220, + 3,8,4,0,220,221,5,91,0,0,221,423,1,0,0,0,222,223,5,3,0,0,223,224, + 5,90,0,0,224,225,3,8,4,0,225,226,5,91,0,0,226,423,1,0,0,0,227,228, + 5,4,0,0,228,229,5,90,0,0,229,230,3,8,4,0,230,231,5,91,0,0,231,423, + 1,0,0,0,232,233,5,5,0,0,233,234,5,90,0,0,234,235,3,8,4,0,235,236, + 5,91,0,0,236,423,1,0,0,0,237,238,5,6,0,0,238,239,5,90,0,0,239,240, + 3,8,4,0,240,241,5,91,0,0,241,423,1,0,0,0,242,243,5,8,0,0,243,244, + 5,90,0,0,244,245,3,8,4,0,245,246,5,91,0,0,246,423,1,0,0,0,247,248, + 5,9,0,0,248,249,5,90,0,0,249,250,3,8,4,0,250,251,5,91,0,0,251,423, + 1,0,0,0,252,253,5,10,0,0,253,254,5,90,0,0,254,255,3,8,4,0,255,256, + 5,91,0,0,256,423,1,0,0,0,257,258,5,11,0,0,258,259,5,90,0,0,259,260, + 3,8,4,0,260,261,5,91,0,0,261,423,1,0,0,0,262,263,5,12,0,0,263,264, + 5,90,0,0,264,265,3,8,4,0,265,266,5,91,0,0,266,423,1,0,0,0,267,268, + 5,13,0,0,268,269,5,90,0,0,269,270,3,8,4,0,270,271,5,91,0,0,271,423, + 1,0,0,0,272,273,5,14,0,0,273,274,5,90,0,0,274,275,3,8,4,0,275,276, + 5,91,0,0,276,423,1,0,0,0,277,278,5,15,0,0,278,279,5,90,0,0,279,280, + 3,8,4,0,280,281,5,91,0,0,281,423,1,0,0,0,282,283,5,16,0,0,283,284, + 5,90,0,0,284,285,3,8,4,0,285,286,5,91,0,0,286,423,1,0,0,0,287,288, + 5,17,0,0,288,289,5,90,0,0,289,290,3,8,4,0,290,291,5,91,0,0,291,423, + 1,0,0,0,292,293,5,18,0,0,293,294,5,90,0,0,294,295,3,8,4,0,295,296, + 5,91,0,0,296,423,1,0,0,0,297,298,5,23,0,0,298,299,5,90,0,0,299,300, + 3,8,4,0,300,301,5,91,0,0,301,423,1,0,0,0,302,303,5,24,0,0,303,304, + 5,90,0,0,304,305,3,8,4,0,305,306,5,91,0,0,306,423,1,0,0,0,307,308, + 5,25,0,0,308,309,5,90,0,0,309,310,3,8,4,0,310,311,5,91,0,0,311,423, + 1,0,0,0,312,313,5,26,0,0,313,314,5,90,0,0,314,315,3,8,4,0,315,316, + 5,91,0,0,316,423,1,0,0,0,317,318,5,27,0,0,318,319,5,90,0,0,319,320, + 3,8,4,0,320,321,5,91,0,0,321,423,1,0,0,0,322,323,5,28,0,0,323,324, + 5,90,0,0,324,325,3,8,4,0,325,326,5,91,0,0,326,423,1,0,0,0,327,328, + 5,30,0,0,328,329,5,90,0,0,329,330,3,8,4,0,330,331,5,91,0,0,331,423, + 1,0,0,0,332,333,5,32,0,0,333,334,5,90,0,0,334,335,3,8,4,0,335,336, + 5,91,0,0,336,423,1,0,0,0,337,338,5,33,0,0,338,339,5,90,0,0,339,340, + 3,8,4,0,340,341,5,91,0,0,341,423,1,0,0,0,342,343,5,34,0,0,343,344, + 5,90,0,0,344,345,3,8,4,0,345,346,5,91,0,0,346,423,1,0,0,0,347,348, + 5,35,0,0,348,349,5,90,0,0,349,350,3,8,4,0,350,351,5,91,0,0,351,423, + 1,0,0,0,352,353,5,40,0,0,353,354,5,90,0,0,354,355,3,8,4,0,355,356, + 5,91,0,0,356,423,1,0,0,0,357,358,5,41,0,0,358,359,5,90,0,0,359,360, + 3,8,4,0,360,361,5,91,0,0,361,423,1,0,0,0,362,363,5,42,0,0,363,364, + 5,90,0,0,364,365,3,8,4,0,365,366,5,91,0,0,366,423,1,0,0,0,367,368, + 5,43,0,0,368,369,5,90,0,0,369,370,3,8,4,0,370,371,5,91,0,0,371,423, + 1,0,0,0,372,373,5,44,0,0,373,374,5,90,0,0,374,375,3,8,4,0,375,376, + 5,91,0,0,376,423,1,0,0,0,377,378,5,36,0,0,378,379,5,90,0,0,379,380, + 3,8,4,0,380,381,5,91,0,0,381,423,1,0,0,0,382,383,5,54,0,0,383,384, + 5,90,0,0,384,385,3,8,4,0,385,386,5,91,0,0,386,423,1,0,0,0,387,388, + 5,55,0,0,388,389,5,90,0,0,389,390,3,8,4,0,390,391,5,91,0,0,391,423, + 1,0,0,0,392,393,5,56,0,0,393,394,5,90,0,0,394,395,3,8,4,0,395,396, + 5,91,0,0,396,423,1,0,0,0,397,398,5,57,0,0,398,399,5,90,0,0,399,400, + 3,8,4,0,400,401,5,91,0,0,401,423,1,0,0,0,402,403,5,58,0,0,403,404, + 5,90,0,0,404,405,3,8,4,0,405,406,5,91,0,0,406,423,1,0,0,0,407,408, + 5,74,0,0,408,409,5,90,0,0,409,410,3,8,4,0,410,411,5,91,0,0,411,423, + 1,0,0,0,412,413,5,64,0,0,413,414,5,90,0,0,414,415,3,8,4,0,415,416, + 5,91,0,0,416,423,1,0,0,0,417,418,5,65,0,0,418,419,5,90,0,0,419,420, + 3,8,4,0,420,421,5,91,0,0,421,423,1,0,0,0,422,212,1,0,0,0,422,217, + 1,0,0,0,422,222,1,0,0,0,422,227,1,0,0,0,422,232,1,0,0,0,422,237, + 1,0,0,0,422,242,1,0,0,0,422,247,1,0,0,0,422,252,1,0,0,0,422,257, + 1,0,0,0,422,262,1,0,0,0,422,267,1,0,0,0,422,272,1,0,0,0,422,277, + 1,0,0,0,422,282,1,0,0,0,422,287,1,0,0,0,422,292,1,0,0,0,422,297, + 1,0,0,0,422,302,1,0,0,0,422,307,1,0,0,0,422,312,1,0,0,0,422,317, + 1,0,0,0,422,322,1,0,0,0,422,327,1,0,0,0,422,332,1,0,0,0,422,337, + 1,0,0,0,422,342,1,0,0,0,422,347,1,0,0,0,422,352,1,0,0,0,422,357, + 1,0,0,0,422,362,1,0,0,0,422,367,1,0,0,0,422,372,1,0,0,0,422,377, + 1,0,0,0,422,382,1,0,0,0,422,387,1,0,0,0,422,392,1,0,0,0,422,397, + 1,0,0,0,422,402,1,0,0,0,422,407,1,0,0,0,422,412,1,0,0,0,422,417, + 1,0,0,0,423,27,1,0,0,0,424,425,5,29,0,0,425,426,5,90,0,0,426,427, + 3,8,4,0,427,428,5,92,0,0,428,429,3,8,4,0,429,430,5,91,0,0,430,551, + 1,0,0,0,431,432,5,7,0,0,432,433,5,90,0,0,433,434,3,8,4,0,434,435, + 5,92,0,0,435,436,3,8,4,0,436,437,5,91,0,0,437,551,1,0,0,0,438,439, + 5,21,0,0,439,440,5,90,0,0,440,441,3,8,4,0,441,442,5,92,0,0,442,443, + 3,8,4,0,443,444,5,91,0,0,444,551,1,0,0,0,445,446,5,22,0,0,446,447, + 5,90,0,0,447,448,3,8,4,0,448,449,5,92,0,0,449,450,3,8,4,0,450,451, + 5,91,0,0,451,551,1,0,0,0,452,453,5,38,0,0,453,454,5,90,0,0,454,455, + 3,8,4,0,455,456,5,92,0,0,456,457,3,8,4,0,457,458,5,91,0,0,458,551, + 1,0,0,0,459,460,5,52,0,0,460,461,5,90,0,0,461,462,3,8,4,0,462,463, + 5,92,0,0,463,464,3,8,4,0,464,465,5,91,0,0,465,551,1,0,0,0,466,467, + 5,53,0,0,467,468,5,90,0,0,468,469,3,8,4,0,469,470,5,92,0,0,470,471, + 3,8,4,0,471,472,5,91,0,0,472,551,1,0,0,0,473,474,5,59,0,0,474,475, + 5,90,0,0,475,476,3,8,4,0,476,477,5,92,0,0,477,478,3,8,4,0,478,479, + 5,91,0,0,479,551,1,0,0,0,480,481,5,60,0,0,481,482,5,90,0,0,482,483, + 3,8,4,0,483,484,5,92,0,0,484,485,3,8,4,0,485,486,5,91,0,0,486,551, + 1,0,0,0,487,488,5,61,0,0,488,489,5,90,0,0,489,490,3,8,4,0,490,491, + 5,92,0,0,491,492,3,8,4,0,492,493,5,91,0,0,493,551,1,0,0,0,494,495, + 5,62,0,0,495,496,5,90,0,0,496,497,3,8,4,0,497,498,5,92,0,0,498,499, + 3,8,4,0,499,500,5,91,0,0,500,551,1,0,0,0,501,502,5,71,0,0,502,503, + 5,90,0,0,503,504,3,8,4,0,504,505,5,92,0,0,505,506,3,8,4,0,506,507, + 5,91,0,0,507,551,1,0,0,0,508,509,5,72,0,0,509,510,5,90,0,0,510,511, + 3,8,4,0,511,512,5,92,0,0,512,513,3,8,4,0,513,514,5,91,0,0,514,551, + 1,0,0,0,515,516,5,73,0,0,516,517,5,90,0,0,517,518,3,8,4,0,518,519, + 5,92,0,0,519,520,3,8,4,0,520,521,5,91,0,0,521,551,1,0,0,0,522,523, + 5,75,0,0,523,524,5,90,0,0,524,525,3,8,4,0,525,526,5,92,0,0,526,527, + 3,8,4,0,527,528,5,91,0,0,528,551,1,0,0,0,529,530,5,67,0,0,530,531, + 5,90,0,0,531,532,3,8,4,0,532,533,5,92,0,0,533,534,3,8,4,0,534,535, + 5,91,0,0,535,551,1,0,0,0,536,537,5,69,0,0,537,538,5,90,0,0,538,539, + 3,8,4,0,539,540,5,92,0,0,540,541,3,8,4,0,541,542,5,91,0,0,542,551, + 1,0,0,0,543,544,5,70,0,0,544,545,5,90,0,0,545,546,3,8,4,0,546,547, + 5,92,0,0,547,548,3,8,4,0,548,549,5,91,0,0,549,551,1,0,0,0,550,424, + 1,0,0,0,550,431,1,0,0,0,550,438,1,0,0,0,550,445,1,0,0,0,550,452, + 1,0,0,0,550,459,1,0,0,0,550,466,1,0,0,0,550,473,1,0,0,0,550,480, + 1,0,0,0,550,487,1,0,0,0,550,494,1,0,0,0,550,501,1,0,0,0,550,508, + 1,0,0,0,550,515,1,0,0,0,550,522,1,0,0,0,550,529,1,0,0,0,550,536, + 1,0,0,0,550,543,1,0,0,0,551,29,1,0,0,0,552,553,5,31,0,0,553,554, + 5,90,0,0,554,555,3,8,4,0,555,556,5,92,0,0,556,557,3,8,4,0,557,558, + 5,92,0,0,558,559,3,8,4,0,559,560,5,91,0,0,560,616,1,0,0,0,561,562, + 5,37,0,0,562,563,5,90,0,0,563,564,3,8,4,0,564,565,5,92,0,0,565,566, + 3,8,4,0,566,567,5,92,0,0,567,568,3,8,4,0,568,569,5,91,0,0,569,616, + 1,0,0,0,570,571,5,39,0,0,571,572,5,90,0,0,572,573,3,8,4,0,573,574, + 5,92,0,0,574,575,3,8,4,0,575,576,5,92,0,0,576,577,3,8,4,0,577,578, + 5,91,0,0,578,616,1,0,0,0,579,580,5,51,0,0,580,581,5,90,0,0,581,582, + 3,8,4,0,582,583,5,92,0,0,583,584,3,8,4,0,584,585,5,92,0,0,585,586, + 3,8,4,0,586,587,5,91,0,0,587,616,1,0,0,0,588,589,5,63,0,0,589,590, + 5,90,0,0,590,591,3,8,4,0,591,592,5,92,0,0,592,593,3,8,4,0,593,594, + 5,92,0,0,594,595,3,8,4,0,595,596,5,91,0,0,596,616,1,0,0,0,597,598, + 5,66,0,0,598,599,5,90,0,0,599,600,3,8,4,0,600,601,5,92,0,0,601,602, + 3,8,4,0,602,603,5,92,0,0,603,604,3,8,4,0,604,605,5,91,0,0,605,616, + 1,0,0,0,606,607,5,68,0,0,607,608,5,90,0,0,608,609,3,8,4,0,609,610, + 5,92,0,0,610,611,3,8,4,0,611,612,5,92,0,0,612,613,3,8,4,0,613,614, + 5,91,0,0,614,616,1,0,0,0,615,552,1,0,0,0,615,561,1,0,0,0,615,570, + 1,0,0,0,615,579,1,0,0,0,615,588,1,0,0,0,615,597,1,0,0,0,615,606, + 1,0,0,0,616,31,1,0,0,0,617,618,5,48,0,0,618,619,5,90,0,0,619,620, + 3,8,4,0,620,621,5,92,0,0,621,622,3,8,4,0,622,623,5,92,0,0,623,624, + 3,8,4,0,624,625,5,92,0,0,625,626,3,8,4,0,626,627,5,91,0,0,627,33, + 1,0,0,0,628,629,5,19,0,0,629,630,5,90,0,0,630,635,3,8,4,0,631,632, + 5,92,0,0,632,634,3,8,4,0,633,631,1,0,0,0,634,637,1,0,0,0,635,633, + 1,0,0,0,635,636,1,0,0,0,636,638,1,0,0,0,637,635,1,0,0,0,638,639, + 5,91,0,0,639,700,1,0,0,0,640,641,5,20,0,0,641,642,5,90,0,0,642,647, + 3,8,4,0,643,644,5,92,0,0,644,646,3,8,4,0,645,643,1,0,0,0,646,649, + 1,0,0,0,647,645,1,0,0,0,647,648,1,0,0,0,648,650,1,0,0,0,649,647, + 1,0,0,0,650,651,5,91,0,0,651,700,1,0,0,0,652,653,5,45,0,0,653,654, + 5,90,0,0,654,657,3,8,4,0,655,656,5,92,0,0,656,658,3,8,4,0,657,655, + 1,0,0,0,658,659,1,0,0,0,659,657,1,0,0,0,659,660,1,0,0,0,660,661, + 1,0,0,0,661,662,5,91,0,0,662,700,1,0,0,0,663,664,5,46,0,0,664,665, + 5,90,0,0,665,668,3,8,4,0,666,667,5,92,0,0,667,669,3,8,4,0,668,666, + 1,0,0,0,669,670,1,0,0,0,670,668,1,0,0,0,670,671,1,0,0,0,671,672, + 1,0,0,0,672,673,5,91,0,0,673,700,1,0,0,0,674,675,5,47,0,0,675,676, + 5,90,0,0,676,679,3,8,4,0,677,678,5,92,0,0,678,680,3,8,4,0,679,677, + 1,0,0,0,680,681,1,0,0,0,681,679,1,0,0,0,681,682,1,0,0,0,682,683, + 1,0,0,0,683,684,5,91,0,0,684,700,1,0,0,0,685,686,5,49,0,0,686,687, + 5,90,0,0,687,688,3,8,4,0,688,689,5,92,0,0,689,690,3,8,4,0,690,691, + 5,91,0,0,691,700,1,0,0,0,692,693,5,50,0,0,693,694,5,90,0,0,694,695, + 3,8,4,0,695,696,5,92,0,0,696,697,3,8,4,0,697,698,5,91,0,0,698,700, + 1,0,0,0,699,628,1,0,0,0,699,640,1,0,0,0,699,652,1,0,0,0,699,663, + 1,0,0,0,699,674,1,0,0,0,699,685,1,0,0,0,699,692,1,0,0,0,700,35,1, + 0,0,0,28,39,45,54,71,76,99,101,113,115,130,132,140,147,159,166,191, + 199,202,209,422,550,615,635,647,659,670,681,699 ] class MathExprParser ( Parser ): @@ -288,8 +292,8 @@ class MathExprParser ( Parser ): "", "", "", "", "'cossim'", "'flip'", "'cov'", "'sort'", "'append'", "'+'", "'-'", "'*'", "'/'", "'%'", "'^'", "'>='", "'>'", - "'<='", "'<'", "'=='", "'!='", "'|'", "'('", "')'", - "','", "';'", "'->'", "'['", "']'" ] + "'<='", "'<'", "'=='", "'='", "'!='", "'|'", "'('", + "')'", "','", "';'", "'->'", "'['", "']'" ] symbolicNames = [ "", "SIN", "COS", "TAN", "ASIN", "ACOS", "ATAN", "ATAN2", "SINH", "COSH", "TANH", "ASINH", @@ -305,29 +309,30 @@ class MathExprParser ( Parser ): "LOGNORMAL", "BERNOULLI", "POISSON", "COSSIM", "FLIP", "COV", "SORT", "APPEND", "PLUS", "MINUS", "MULT", "DIV", "MOD", "POW", "GE", "GT", "LE", "LT", "EQ", - "NE", "PIPE", "LPAREN", "RPAREN", "COMMA", "SEMICOLON", - "ARROW", "LBRACKET", "RBRACKET", "CONSTANT", "NUMBER", - "VARIABLE", "WS" ] + "EQUEALS", "NE", "PIPE", "LPAREN", "RPAREN", "COMMA", + "SEMICOLON", "ARROW", "LBRACKET", "RBRACKET", "CONSTANT", + "NUMBER", "VARIABLE", "WS" ] RULE_start = 0 RULE_funcDef = 1 - RULE_paramList = 2 - RULE_expr = 3 - RULE_compExpr = 4 - RULE_addExpr = 5 - RULE_mulExpr = 6 - RULE_powExpr = 7 - RULE_unaryExpr = 8 - RULE_indexExpr = 9 - RULE_atom = 10 - RULE_exprList = 11 - RULE_func1 = 12 - RULE_func2 = 13 - RULE_func3 = 14 - RULE_func4 = 15 - RULE_funcN = 16 + RULE_varDef = 2 + RULE_paramList = 3 + RULE_expr = 4 + RULE_compExpr = 5 + RULE_addExpr = 6 + RULE_mulExpr = 7 + RULE_powExpr = 8 + RULE_unaryExpr = 9 + RULE_indexExpr = 10 + RULE_atom = 11 + RULE_exprList = 12 + RULE_func1 = 13 + RULE_func2 = 14 + RULE_func3 = 15 + RULE_func4 = 16 + RULE_funcN = 17 - ruleNames = [ "start", "funcDef", "paramList", "expr", "compExpr", + ruleNames = [ "start", "funcDef", "varDef", "paramList", "expr", "compExpr", "addExpr", "mulExpr", "powExpr", "unaryExpr", "indexExpr", "atom", "exprList", "func1", "func2", "func3", "func4", "funcN" ] @@ -419,19 +424,20 @@ class MathExprParser ( Parser ): LE=84 LT=85 EQ=86 - NE=87 - PIPE=88 - LPAREN=89 - RPAREN=90 - COMMA=91 - SEMICOLON=92 - ARROW=93 - LBRACKET=94 - RBRACKET=95 - CONSTANT=96 - NUMBER=97 - VARIABLE=98 - WS=99 + EQUEALS=87 + NE=88 + PIPE=89 + LPAREN=90 + RPAREN=91 + COMMA=92 + SEMICOLON=93 + ARROW=94 + LBRACKET=95 + RBRACKET=96 + CONSTANT=97 + NUMBER=98 + VARIABLE=99 + WS=100 def __init__(self, input:TokenStream, output:TextIO = sys.stdout): super().__init__(input, output) @@ -463,6 +469,13 @@ class MathExprParser ( Parser ): return self.getTypedRuleContext(MathExprParser.FuncDefContext,i) + def varDef(self, i:int=None): + if i is None: + return self.getTypedRuleContexts(MathExprParser.VarDefContext) + else: + return self.getTypedRuleContext(MathExprParser.VarDefContext,i) + + def getRuleIndex(self): return MathExprParser.RULE_start @@ -489,20 +502,31 @@ class MathExprParser ( Parser ): self.enterRule(localctx, 0, self.RULE_start) try: self.enterOuterAlt(localctx, 1) - self.state = 37 + self.state = 39 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,0,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: - self.state = 34 + self.state = 36 self.funcDef() - self.state = 39 + self.state = 41 self._errHandler.sync(self) _alt = self._interp.adaptivePredict(self._input,0,self._ctx) - self.state = 40 + self.state = 45 + self._errHandler.sync(self) + _alt = self._interp.adaptivePredict(self._input,1,self._ctx) + while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: + if _alt==1: + self.state = 42 + self.varDef() + self.state = 47 + self._errHandler.sync(self) + _alt = self._interp.adaptivePredict(self._input,1,self._ctx) + + self.state = 48 self.expr() - self.state = 41 + self.state = 49 self.match(MathExprParser.EOF) except RecognitionException as re: localctx.exception = re @@ -524,7 +548,7 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_funcDef - + def copyFrom(self, ctx:ParserRuleContext): super().copyFrom(ctx) @@ -577,25 +601,88 @@ class MathExprParser ( Parser ): try: localctx = MathExprParser.FunctionDefContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 43 + self.state = 51 self.match(MathExprParser.VARIABLE) - self.state = 44 + self.state = 52 self.match(MathExprParser.LPAREN) - self.state = 46 + self.state = 54 self._errHandler.sync(self) _la = self._input.LA(1) - if _la==98: - self.state = 45 + if _la==99: + self.state = 53 self.paramList() - self.state = 48 + self.state = 56 self.match(MathExprParser.RPAREN) - self.state = 49 + self.state = 57 self.match(MathExprParser.ARROW) - self.state = 50 + self.state = 58 self.expr() - self.state = 51 + self.state = 59 + self.match(MathExprParser.SEMICOLON) + except RecognitionException as re: + localctx.exception = re + self._errHandler.reportError(self, re) + self._errHandler.recover(self, re) + finally: + self.exitRule() + return localctx + + + class VarDefContext(ParserRuleContext): + __slots__ = 'parser' + + def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1): + super().__init__(parent, invokingState) + self.parser = parser + + def VARIABLE(self): + return self.getToken(MathExprParser.VARIABLE, 0) + + def EQUEALS(self): + return self.getToken(MathExprParser.EQUEALS, 0) + + def expr(self): + return self.getTypedRuleContext(MathExprParser.ExprContext,0) + + + def SEMICOLON(self): + return self.getToken(MathExprParser.SEMICOLON, 0) + + def getRuleIndex(self): + return MathExprParser.RULE_varDef + + def enterRule(self, listener:ParseTreeListener): + if hasattr( listener, "enterVarDef" ): + listener.enterVarDef(self) + + def exitRule(self, listener:ParseTreeListener): + if hasattr( listener, "exitVarDef" ): + listener.exitVarDef(self) + + def accept(self, visitor:ParseTreeVisitor): + if hasattr( visitor, "visitVarDef" ): + return visitor.visitVarDef(self) + else: + return visitor.visitChildren(self) + + + + + def varDef(self): + + localctx = MathExprParser.VarDefContext(self, self._ctx, self.state) + self.enterRule(localctx, 4, self.RULE_varDef) + try: + self.enterOuterAlt(localctx, 1) + self.state = 61 + self.match(MathExprParser.VARIABLE) + self.state = 62 + self.match(MathExprParser.EQUEALS) + self.state = 63 + self.expr() + self.state = 64 self.match(MathExprParser.SEMICOLON) except RecognitionException as re: localctx.exception = re @@ -648,21 +735,21 @@ class MathExprParser ( Parser ): def paramList(self): localctx = MathExprParser.ParamListContext(self, self._ctx, self.state) - self.enterRule(localctx, 4, self.RULE_paramList) + self.enterRule(localctx, 6, self.RULE_paramList) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 53 + self.state = 66 self.match(MathExprParser.VARIABLE) - self.state = 58 + self.state = 71 self._errHandler.sync(self) _la = self._input.LA(1) - while _la==91: - self.state = 54 + while _la==92: + self.state = 67 self.match(MathExprParser.COMMA) - self.state = 55 + self.state = 68 self.match(MathExprParser.VARIABLE) - self.state = 60 + self.state = 73 self._errHandler.sync(self) _la = self._input.LA(1) @@ -713,20 +800,20 @@ class MathExprParser ( Parser ): def expr(self): localctx = MathExprParser.ExprContext(self, self._ctx, self.state) - self.enterRule(localctx, 6, self.RULE_expr) + self.enterRule(localctx, 8, self.RULE_expr) try: - self.state = 63 + self.state = 76 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,3,self._ctx) + la_ = self._interp.adaptivePredict(self._input,4,self._ctx) if la_ == 1: self.enterOuterAlt(localctx, 1) - self.state = 61 + self.state = 74 self.atom() pass elif la_ == 2: self.enterOuterAlt(localctx, 2) - self.state = 62 + self.state = 75 self.compExpr(0) pass @@ -751,7 +838,7 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_compExpr - + def copyFrom(self, ctx:ParserRuleContext): super().copyFrom(ctx) @@ -967,110 +1054,110 @@ class MathExprParser ( Parser ): _parentState = self.state localctx = MathExprParser.CompExprContext(self, self._ctx, _parentState) _prevctx = localctx - _startState = 8 - self.enterRecursionRule(localctx, 8, self.RULE_compExpr, _p) + _startState = 10 + self.enterRecursionRule(localctx, 10, self.RULE_compExpr, _p) try: self.enterOuterAlt(localctx, 1) localctx = MathExprParser.ToAddContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 66 + self.state = 79 self.addExpr(0) self._ctx.stop = self._input.LT(-1) - self.state = 88 + self.state = 101 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,5,self._ctx) + _alt = self._interp.adaptivePredict(self._input,6,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: if self._parseListeners is not None: self.triggerExitRuleEvent() _prevctx = localctx - self.state = 86 + self.state = 99 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,4,self._ctx) + la_ = self._interp.adaptivePredict(self._input,5,self._ctx) if la_ == 1: localctx = MathExprParser.GtExpContext(self, MathExprParser.CompExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_compExpr) - self.state = 68 + self.state = 81 if not self.precpred(self._ctx, 7): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 7)") - self.state = 69 + self.state = 82 self.match(MathExprParser.GT) - self.state = 70 + self.state = 83 self.addExpr(0) pass elif la_ == 2: localctx = MathExprParser.GeExpContext(self, MathExprParser.CompExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_compExpr) - self.state = 71 + self.state = 84 if not self.precpred(self._ctx, 6): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 6)") - self.state = 72 + self.state = 85 self.match(MathExprParser.GE) - self.state = 73 + self.state = 86 self.addExpr(0) pass elif la_ == 3: localctx = MathExprParser.LtExpContext(self, MathExprParser.CompExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_compExpr) - self.state = 74 + self.state = 87 if not self.precpred(self._ctx, 5): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 5)") - self.state = 75 + self.state = 88 self.match(MathExprParser.LT) - self.state = 76 + self.state = 89 self.addExpr(0) pass elif la_ == 4: localctx = MathExprParser.LeExpContext(self, MathExprParser.CompExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_compExpr) - self.state = 77 + self.state = 90 if not self.precpred(self._ctx, 4): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 4)") - self.state = 78 + self.state = 91 self.match(MathExprParser.LE) - self.state = 79 + self.state = 92 self.addExpr(0) pass elif la_ == 5: localctx = MathExprParser.EqExpContext(self, MathExprParser.CompExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_compExpr) - self.state = 80 + self.state = 93 if not self.precpred(self._ctx, 3): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 3)") - self.state = 81 + self.state = 94 self.match(MathExprParser.EQ) - self.state = 82 + self.state = 95 self.addExpr(0) pass elif la_ == 6: localctx = MathExprParser.NeExpContext(self, MathExprParser.CompExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_compExpr) - self.state = 83 + self.state = 96 if not self.precpred(self._ctx, 2): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 2)") - self.state = 84 + self.state = 97 self.match(MathExprParser.NE) - self.state = 85 + self.state = 98 self.addExpr(0) pass - - self.state = 90 + + self.state = 103 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,5,self._ctx) + _alt = self._interp.adaptivePredict(self._input,6,self._ctx) except RecognitionException as re: localctx.exception = re @@ -1092,7 +1179,7 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_addExpr - + def copyFrom(self, ctx:ParserRuleContext): super().copyFrom(ctx) @@ -1188,58 +1275,58 @@ class MathExprParser ( Parser ): _parentState = self.state localctx = MathExprParser.AddExprContext(self, self._ctx, _parentState) _prevctx = localctx - _startState = 10 - self.enterRecursionRule(localctx, 10, self.RULE_addExpr, _p) + _startState = 12 + self.enterRecursionRule(localctx, 12, self.RULE_addExpr, _p) try: self.enterOuterAlt(localctx, 1) localctx = MathExprParser.ToMulContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 92 + self.state = 105 self.mulExpr(0) self._ctx.stop = self._input.LT(-1) - self.state = 102 + self.state = 115 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,7,self._ctx) + _alt = self._interp.adaptivePredict(self._input,8,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: if self._parseListeners is not None: self.triggerExitRuleEvent() _prevctx = localctx - self.state = 100 + self.state = 113 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,6,self._ctx) + la_ = self._interp.adaptivePredict(self._input,7,self._ctx) if la_ == 1: localctx = MathExprParser.AddExpContext(self, MathExprParser.AddExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_addExpr) - self.state = 94 + self.state = 107 if not self.precpred(self._ctx, 3): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 3)") - self.state = 95 + self.state = 108 self.match(MathExprParser.PLUS) - self.state = 96 + self.state = 109 self.mulExpr(0) pass elif la_ == 2: localctx = MathExprParser.SubExpContext(self, MathExprParser.AddExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_addExpr) - self.state = 97 + self.state = 110 if not self.precpred(self._ctx, 2): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 2)") - self.state = 98 + self.state = 111 self.match(MathExprParser.MINUS) - self.state = 99 + self.state = 112 self.mulExpr(0) pass - - self.state = 104 + + self.state = 117 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,7,self._ctx) + _alt = self._interp.adaptivePredict(self._input,8,self._ctx) except RecognitionException as re: localctx.exception = re @@ -1261,7 +1348,7 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_mulExpr - + def copyFrom(self, ctx:ParserRuleContext): super().copyFrom(ctx) @@ -1387,71 +1474,71 @@ class MathExprParser ( Parser ): _parentState = self.state localctx = MathExprParser.MulExprContext(self, self._ctx, _parentState) _prevctx = localctx - _startState = 12 - self.enterRecursionRule(localctx, 12, self.RULE_mulExpr, _p) + _startState = 14 + self.enterRecursionRule(localctx, 14, self.RULE_mulExpr, _p) try: self.enterOuterAlt(localctx, 1) localctx = MathExprParser.ToPowContext(self, localctx) self._ctx = localctx _prevctx = localctx - self.state = 106 + self.state = 119 self.powExpr() self._ctx.stop = self._input.LT(-1) - self.state = 119 + self.state = 132 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,9,self._ctx) + _alt = self._interp.adaptivePredict(self._input,10,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: if self._parseListeners is not None: self.triggerExitRuleEvent() _prevctx = localctx - self.state = 117 + self.state = 130 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,8,self._ctx) + la_ = self._interp.adaptivePredict(self._input,9,self._ctx) if la_ == 1: localctx = MathExprParser.MulExpContext(self, MathExprParser.MulExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_mulExpr) - self.state = 108 + self.state = 121 if not self.precpred(self._ctx, 4): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 4)") - self.state = 109 + self.state = 122 self.match(MathExprParser.MULT) - self.state = 110 + self.state = 123 self.powExpr() pass elif la_ == 2: localctx = MathExprParser.DivExpContext(self, MathExprParser.MulExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_mulExpr) - self.state = 111 + self.state = 124 if not self.precpred(self._ctx, 3): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 3)") - self.state = 112 + self.state = 125 self.match(MathExprParser.DIV) - self.state = 113 + self.state = 126 self.powExpr() pass elif la_ == 3: localctx = MathExprParser.ModExpContext(self, MathExprParser.MulExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_mulExpr) - self.state = 114 + self.state = 127 if not self.precpred(self._ctx, 2): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 2)") - self.state = 115 + self.state = 128 self.match(MathExprParser.MOD) - self.state = 116 + self.state = 129 self.powExpr() pass - - self.state = 121 + + self.state = 134 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,9,self._ctx) + _alt = self._interp.adaptivePredict(self._input,10,self._ctx) except RecognitionException as re: localctx.exception = re @@ -1473,7 +1560,7 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_powExpr - + def copyFrom(self, ctx:ParserRuleContext): super().copyFrom(ctx) @@ -1538,26 +1625,26 @@ class MathExprParser ( Parser ): def powExpr(self): localctx = MathExprParser.PowExprContext(self, self._ctx, self.state) - self.enterRule(localctx, 14, self.RULE_powExpr) + self.enterRule(localctx, 16, self.RULE_powExpr) try: - self.state = 127 + self.state = 140 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,10,self._ctx) + la_ = self._interp.adaptivePredict(self._input,11,self._ctx) if la_ == 1: localctx = MathExprParser.PowExpContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 122 + self.state = 135 self.unaryExpr() - self.state = 123 + self.state = 136 self.match(MathExprParser.POW) - self.state = 124 + self.state = 137 self.powExpr() pass elif la_ == 2: localctx = MathExprParser.ToUnaryContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 126 + self.state = 139 self.unaryExpr() pass @@ -1582,7 +1669,7 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_unaryExpr - + def copyFrom(self, ctx:ParserRuleContext): super().copyFrom(ctx) @@ -1671,31 +1758,31 @@ class MathExprParser ( Parser ): def unaryExpr(self): localctx = MathExprParser.UnaryExprContext(self, self._ctx, self.state) - self.enterRule(localctx, 16, self.RULE_unaryExpr) + self.enterRule(localctx, 18, self.RULE_unaryExpr) try: - self.state = 134 + self.state = 147 self._errHandler.sync(self) token = self._input.LA(1) if token in [76]: localctx = MathExprParser.UnaryPlusContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 129 + self.state = 142 self.match(MathExprParser.PLUS) - self.state = 130 + self.state = 143 self.unaryExpr() pass elif token in [77]: localctx = MathExprParser.UnaryMinusContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 131 + self.state = 144 self.match(MathExprParser.MINUS) - self.state = 132 + self.state = 145 self.unaryExpr() pass - elif token in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 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, 88, 89, 94, 96, 97, 98]: + elif token in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 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, 89, 90, 95, 97, 98, 99]: localctx = MathExprParser.ToIndexContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 133 + self.state = 146 self.indexExpr(0) pass else: @@ -1721,7 +1808,7 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_indexExpr - + def copyFrom(self, ctx:ParserRuleContext): super().copyFrom(ctx) @@ -1797,8 +1884,8 @@ class MathExprParser ( Parser ): _parentState = self.state localctx = MathExprParser.IndexExprContext(self, self._ctx, _parentState) _prevctx = localctx - _startState = 18 - self.enterRecursionRule(localctx, 18, self.RULE_indexExpr, _p) + _startState = 20 + self.enterRecursionRule(localctx, 20, self.RULE_indexExpr, _p) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) @@ -1806,12 +1893,12 @@ class MathExprParser ( Parser ): self._ctx = localctx _prevctx = localctx - self.state = 137 + self.state = 150 self.atom() self._ctx.stop = self._input.LT(-1) - self.state = 153 + self.state = 166 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,13,self._ctx) + _alt = self._interp.adaptivePredict(self._input,14,self._ctx) while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER: if _alt==1: if self._parseListeners is not None: @@ -1819,31 +1906,31 @@ class MathExprParser ( Parser ): _prevctx = localctx localctx = MathExprParser.IndexExpContext(self, MathExprParser.IndexExprContext(self, _parentctx, _parentState)) self.pushNewRecursionContext(localctx, _startState, self.RULE_indexExpr) - self.state = 139 + self.state = 152 if not self.precpred(self._ctx, 2): from antlr4.error.Errors import FailedPredicateException raise FailedPredicateException(self, "self.precpred(self._ctx, 2)") - self.state = 140 + self.state = 153 self.match(MathExprParser.LBRACKET) - self.state = 141 + self.state = 154 self.expr() - self.state = 146 + self.state = 159 self._errHandler.sync(self) _la = self._input.LA(1) - while _la==91: - self.state = 142 + while _la==92: + self.state = 155 self.match(MathExprParser.COMMA) - self.state = 143 + self.state = 156 self.expr() - self.state = 148 + self.state = 161 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 149 + self.state = 162 self.match(MathExprParser.RBRACKET) - self.state = 155 + self.state = 168 self._errHandler.sync(self) - _alt = self._interp.adaptivePredict(self._input,13,self._ctx) + _alt = self._interp.adaptivePredict(self._input,14,self._ctx) except RecognitionException as re: localctx.exception = re @@ -1865,7 +1952,7 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_atom - + def copyFrom(self, ctx:ParserRuleContext): super().copyFrom(ctx) @@ -2199,129 +2286,129 @@ class MathExprParser ( Parser ): def atom(self): localctx = MathExprParser.AtomContext(self, self._ctx, self.state) - self.enterRule(localctx, 20, self.RULE_atom) + self.enterRule(localctx, 22, self.RULE_atom) self._la = 0 # Token type try: - self.state = 189 + self.state = 202 self._errHandler.sync(self) - la_ = self._interp.adaptivePredict(self._input,16,self._ctx) + la_ = self._interp.adaptivePredict(self._input,17,self._ctx) if la_ == 1: localctx = MathExprParser.Func1ExpContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 156 + self.state = 169 self.func1() pass elif la_ == 2: localctx = MathExprParser.Func2ExpContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 157 + self.state = 170 self.func2() pass elif la_ == 3: localctx = MathExprParser.Func3ExpContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 158 + self.state = 171 self.func3() pass elif la_ == 4: localctx = MathExprParser.Func4ExpContext(self, localctx) self.enterOuterAlt(localctx, 4) - self.state = 159 + self.state = 172 self.func4() pass elif la_ == 5: localctx = MathExprParser.FuncNExpContext(self, localctx) self.enterOuterAlt(localctx, 5) - self.state = 160 + self.state = 173 self.funcN() pass elif la_ == 6: localctx = MathExprParser.VariableExpContext(self, localctx) self.enterOuterAlt(localctx, 6) - self.state = 161 + self.state = 174 self.match(MathExprParser.VARIABLE) pass elif la_ == 7: localctx = MathExprParser.NumberExpContext(self, localctx) self.enterOuterAlt(localctx, 7) - self.state = 162 + self.state = 175 self.match(MathExprParser.NUMBER) pass elif la_ == 8: localctx = MathExprParser.ConstantExpContext(self, localctx) self.enterOuterAlt(localctx, 8) - self.state = 163 + self.state = 176 self.match(MathExprParser.CONSTANT) pass elif la_ == 9: localctx = MathExprParser.ParenExpContext(self, localctx) self.enterOuterAlt(localctx, 9) - self.state = 164 + self.state = 177 self.match(MathExprParser.LPAREN) - self.state = 165 + self.state = 178 self.expr() - self.state = 166 + self.state = 179 self.match(MathExprParser.RPAREN) pass elif la_ == 10: localctx = MathExprParser.AbsExpContext(self, localctx) self.enterOuterAlt(localctx, 10) - self.state = 168 + self.state = 181 self.match(MathExprParser.PIPE) - self.state = 169 + self.state = 182 self.expr() - self.state = 170 + self.state = 183 self.match(MathExprParser.PIPE) pass elif la_ == 11: localctx = MathExprParser.ListExpContext(self, localctx) self.enterOuterAlt(localctx, 11) - self.state = 172 + self.state = 185 self.match(MathExprParser.LBRACKET) - self.state = 173 + self.state = 186 self.expr() - self.state = 178 + self.state = 191 self._errHandler.sync(self) _la = self._input.LA(1) - while _la==91: - self.state = 174 + while _la==92: + self.state = 187 self.match(MathExprParser.COMMA) - self.state = 175 + self.state = 188 self.expr() - self.state = 180 + self.state = 193 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 181 + self.state = 194 self.match(MathExprParser.RBRACKET) pass elif la_ == 12: localctx = MathExprParser.CallExpContext(self, localctx) self.enterOuterAlt(localctx, 12) - self.state = 183 + self.state = 196 self.match(MathExprParser.VARIABLE) - self.state = 184 + self.state = 197 self.match(MathExprParser.LPAREN) - self.state = 186 + self.state = 199 self._errHandler.sync(self) _la = self._input.LA(1) - if (((_la) & ~0x3f) == 0 and ((1 << _la) & -2) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 31188860927) != 0): - self.state = 185 + if (((_la) & ~0x3f) == 0 and ((1 << _la) & -2) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 62377705471) != 0): + self.state = 198 self.exprList() - self.state = 188 + self.state = 201 self.match(MathExprParser.RPAREN) pass @@ -2378,21 +2465,21 @@ class MathExprParser ( Parser ): def exprList(self): localctx = MathExprParser.ExprListContext(self, self._ctx, self.state) - self.enterRule(localctx, 22, self.RULE_exprList) + self.enterRule(localctx, 24, self.RULE_exprList) self._la = 0 # Token type try: self.enterOuterAlt(localctx, 1) - self.state = 191 + self.state = 204 self.expr() - self.state = 196 + self.state = 209 self._errHandler.sync(self) _la = self._input.LA(1) - while _la==91: - self.state = 192 + while _la==92: + self.state = 205 self.match(MathExprParser.COMMA) - self.state = 193 + self.state = 206 self.expr() - self.state = 198 + self.state = 211 self._errHandler.sync(self) _la = self._input.LA(1) @@ -2416,7 +2503,7 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_func1 - + def copyFrom(self, ctx:ParserRuleContext): super().copyFrom(ctx) @@ -3728,513 +3815,513 @@ class MathExprParser ( Parser ): def func1(self): localctx = MathExprParser.Func1Context(self, self._ctx, self.state) - self.enterRule(localctx, 24, self.RULE_func1) + self.enterRule(localctx, 26, self.RULE_func1) try: - self.state = 409 + self.state = 422 self._errHandler.sync(self) token = self._input.LA(1) if token in [1]: localctx = MathExprParser.SinFuncContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 199 + self.state = 212 self.match(MathExprParser.SIN) - self.state = 200 + self.state = 213 self.match(MathExprParser.LPAREN) - self.state = 201 + self.state = 214 self.expr() - self.state = 202 + self.state = 215 self.match(MathExprParser.RPAREN) pass elif token in [2]: localctx = MathExprParser.CosFuncContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 204 + self.state = 217 self.match(MathExprParser.COS) - self.state = 205 + self.state = 218 self.match(MathExprParser.LPAREN) - self.state = 206 + self.state = 219 self.expr() - self.state = 207 + self.state = 220 self.match(MathExprParser.RPAREN) pass elif token in [3]: localctx = MathExprParser.TanFuncContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 209 + self.state = 222 self.match(MathExprParser.TAN) - self.state = 210 + self.state = 223 self.match(MathExprParser.LPAREN) - self.state = 211 + self.state = 224 self.expr() - self.state = 212 + self.state = 225 self.match(MathExprParser.RPAREN) pass elif token in [4]: localctx = MathExprParser.AsinFuncContext(self, localctx) self.enterOuterAlt(localctx, 4) - self.state = 214 + self.state = 227 self.match(MathExprParser.ASIN) - self.state = 215 + self.state = 228 self.match(MathExprParser.LPAREN) - self.state = 216 + self.state = 229 self.expr() - self.state = 217 + self.state = 230 self.match(MathExprParser.RPAREN) pass elif token in [5]: localctx = MathExprParser.AcosFuncContext(self, localctx) self.enterOuterAlt(localctx, 5) - self.state = 219 + self.state = 232 self.match(MathExprParser.ACOS) - self.state = 220 + self.state = 233 self.match(MathExprParser.LPAREN) - self.state = 221 + self.state = 234 self.expr() - self.state = 222 + self.state = 235 self.match(MathExprParser.RPAREN) pass elif token in [6]: localctx = MathExprParser.AtanFuncContext(self, localctx) self.enterOuterAlt(localctx, 6) - self.state = 224 + self.state = 237 self.match(MathExprParser.ATAN) - self.state = 225 + self.state = 238 self.match(MathExprParser.LPAREN) - self.state = 226 + self.state = 239 self.expr() - self.state = 227 + self.state = 240 self.match(MathExprParser.RPAREN) pass elif token in [8]: localctx = MathExprParser.SinhFuncContext(self, localctx) self.enterOuterAlt(localctx, 7) - self.state = 229 + self.state = 242 self.match(MathExprParser.SINH) - self.state = 230 + self.state = 243 self.match(MathExprParser.LPAREN) - self.state = 231 + self.state = 244 self.expr() - self.state = 232 + self.state = 245 self.match(MathExprParser.RPAREN) pass elif token in [9]: localctx = MathExprParser.CoshFuncContext(self, localctx) self.enterOuterAlt(localctx, 8) - self.state = 234 + self.state = 247 self.match(MathExprParser.COSH) - self.state = 235 + self.state = 248 self.match(MathExprParser.LPAREN) - self.state = 236 + self.state = 249 self.expr() - self.state = 237 + self.state = 250 self.match(MathExprParser.RPAREN) pass elif token in [10]: localctx = MathExprParser.TanhFuncContext(self, localctx) self.enterOuterAlt(localctx, 9) - self.state = 239 + self.state = 252 self.match(MathExprParser.TANH) - self.state = 240 + self.state = 253 self.match(MathExprParser.LPAREN) - self.state = 241 + self.state = 254 self.expr() - self.state = 242 + self.state = 255 self.match(MathExprParser.RPAREN) pass elif token in [11]: localctx = MathExprParser.AsinhFuncContext(self, localctx) self.enterOuterAlt(localctx, 10) - self.state = 244 + self.state = 257 self.match(MathExprParser.ASINH) - self.state = 245 + self.state = 258 self.match(MathExprParser.LPAREN) - self.state = 246 + self.state = 259 self.expr() - self.state = 247 + self.state = 260 self.match(MathExprParser.RPAREN) pass elif token in [12]: localctx = MathExprParser.AcoshFuncContext(self, localctx) self.enterOuterAlt(localctx, 11) - self.state = 249 + self.state = 262 self.match(MathExprParser.ACOSH) - self.state = 250 + self.state = 263 self.match(MathExprParser.LPAREN) - self.state = 251 + self.state = 264 self.expr() - self.state = 252 + self.state = 265 self.match(MathExprParser.RPAREN) pass elif token in [13]: localctx = MathExprParser.AtanhFuncContext(self, localctx) self.enterOuterAlt(localctx, 12) - self.state = 254 + self.state = 267 self.match(MathExprParser.ATANH) - self.state = 255 + self.state = 268 self.match(MathExprParser.LPAREN) - self.state = 256 + self.state = 269 self.expr() - self.state = 257 + self.state = 270 self.match(MathExprParser.RPAREN) pass elif token in [14]: localctx = MathExprParser.AbsFuncContext(self, localctx) self.enterOuterAlt(localctx, 13) - self.state = 259 + self.state = 272 self.match(MathExprParser.ABS) - self.state = 260 + self.state = 273 self.match(MathExprParser.LPAREN) - self.state = 261 + self.state = 274 self.expr() - self.state = 262 + self.state = 275 self.match(MathExprParser.RPAREN) pass elif token in [15]: localctx = MathExprParser.SqrtFuncContext(self, localctx) self.enterOuterAlt(localctx, 14) - self.state = 264 + self.state = 277 self.match(MathExprParser.SQRT) - self.state = 265 + self.state = 278 self.match(MathExprParser.LPAREN) - self.state = 266 + self.state = 279 self.expr() - self.state = 267 + self.state = 280 self.match(MathExprParser.RPAREN) pass elif token in [16]: localctx = MathExprParser.LnFuncContext(self, localctx) self.enterOuterAlt(localctx, 15) - self.state = 269 + self.state = 282 self.match(MathExprParser.LN) - self.state = 270 + self.state = 283 self.match(MathExprParser.LPAREN) - self.state = 271 + self.state = 284 self.expr() - self.state = 272 + self.state = 285 self.match(MathExprParser.RPAREN) pass elif token in [17]: localctx = MathExprParser.LogFuncContext(self, localctx) self.enterOuterAlt(localctx, 16) - self.state = 274 + self.state = 287 self.match(MathExprParser.LOG) - self.state = 275 + self.state = 288 self.match(MathExprParser.LPAREN) - self.state = 276 + self.state = 289 self.expr() - self.state = 277 + self.state = 290 self.match(MathExprParser.RPAREN) pass elif token in [18]: localctx = MathExprParser.ExpFuncContext(self, localctx) self.enterOuterAlt(localctx, 17) - self.state = 279 + self.state = 292 self.match(MathExprParser.EXP) - self.state = 280 + self.state = 293 self.match(MathExprParser.LPAREN) - self.state = 281 + self.state = 294 self.expr() - self.state = 282 + self.state = 295 self.match(MathExprParser.RPAREN) pass elif token in [23]: localctx = MathExprParser.TNormFuncContext(self, localctx) self.enterOuterAlt(localctx, 18) - self.state = 284 + self.state = 297 self.match(MathExprParser.TNORM) - self.state = 285 + self.state = 298 self.match(MathExprParser.LPAREN) - self.state = 286 + self.state = 299 self.expr() - self.state = 287 + self.state = 300 self.match(MathExprParser.RPAREN) pass elif token in [24]: localctx = MathExprParser.SNormFuncContext(self, localctx) self.enterOuterAlt(localctx, 19) - self.state = 289 + self.state = 302 self.match(MathExprParser.SNORM) - self.state = 290 + self.state = 303 self.match(MathExprParser.LPAREN) - self.state = 291 + self.state = 304 self.expr() - self.state = 292 + self.state = 305 self.match(MathExprParser.RPAREN) pass elif token in [25]: localctx = MathExprParser.FloorFuncContext(self, localctx) self.enterOuterAlt(localctx, 20) - self.state = 294 + self.state = 307 self.match(MathExprParser.FLOOR) - self.state = 295 + self.state = 308 self.match(MathExprParser.LPAREN) - self.state = 296 + self.state = 309 self.expr() - self.state = 297 + self.state = 310 self.match(MathExprParser.RPAREN) pass elif token in [26]: localctx = MathExprParser.CeilFuncContext(self, localctx) self.enterOuterAlt(localctx, 21) - self.state = 299 + self.state = 312 self.match(MathExprParser.CEIL) - self.state = 300 + self.state = 313 self.match(MathExprParser.LPAREN) - self.state = 301 + self.state = 314 self.expr() - self.state = 302 + self.state = 315 self.match(MathExprParser.RPAREN) pass elif token in [27]: localctx = MathExprParser.RoundFuncContext(self, localctx) self.enterOuterAlt(localctx, 22) - self.state = 304 + self.state = 317 self.match(MathExprParser.ROUND) - self.state = 305 + self.state = 318 self.match(MathExprParser.LPAREN) - self.state = 306 + self.state = 319 self.expr() - self.state = 307 + self.state = 320 self.match(MathExprParser.RPAREN) pass elif token in [28]: localctx = MathExprParser.GammaFuncContext(self, localctx) self.enterOuterAlt(localctx, 23) - self.state = 309 + self.state = 322 self.match(MathExprParser.GAMMA) - self.state = 310 + self.state = 323 self.match(MathExprParser.LPAREN) - self.state = 311 + self.state = 324 self.expr() - self.state = 312 + self.state = 325 self.match(MathExprParser.RPAREN) pass elif token in [30]: localctx = MathExprParser.SigmoidFuncContext(self, localctx) self.enterOuterAlt(localctx, 24) - self.state = 314 + self.state = 327 self.match(MathExprParser.SIGM) - self.state = 315 + self.state = 328 self.match(MathExprParser.LPAREN) - self.state = 316 + self.state = 329 self.expr() - self.state = 317 + self.state = 330 self.match(MathExprParser.RPAREN) pass elif token in [32]: localctx = MathExprParser.SfftFuncContext(self, localctx) self.enterOuterAlt(localctx, 25) - self.state = 319 + self.state = 332 self.match(MathExprParser.SFFT) - self.state = 320 + self.state = 333 self.match(MathExprParser.LPAREN) - self.state = 321 + self.state = 334 self.expr() - self.state = 322 + self.state = 335 self.match(MathExprParser.RPAREN) pass elif token in [33]: localctx = MathExprParser.SifftFuncContext(self, localctx) self.enterOuterAlt(localctx, 26) - self.state = 324 + self.state = 337 self.match(MathExprParser.SIFFT) - self.state = 325 + self.state = 338 self.match(MathExprParser.LPAREN) - self.state = 326 + self.state = 339 self.expr() - self.state = 327 + self.state = 340 self.match(MathExprParser.RPAREN) pass elif token in [34]: localctx = MathExprParser.AnglFuncContext(self, localctx) self.enterOuterAlt(localctx, 27) - self.state = 329 + self.state = 342 self.match(MathExprParser.ANGL) - self.state = 330 + self.state = 343 self.match(MathExprParser.LPAREN) - self.state = 331 + self.state = 344 self.expr() - self.state = 332 + self.state = 345 self.match(MathExprParser.RPAREN) pass elif token in [35]: localctx = MathExprParser.PrintFuncContext(self, localctx) self.enterOuterAlt(localctx, 28) - self.state = 334 + self.state = 347 self.match(MathExprParser.PRNT) - self.state = 335 + self.state = 348 self.match(MathExprParser.LPAREN) - self.state = 336 + self.state = 349 self.expr() - self.state = 337 + self.state = 350 self.match(MathExprParser.RPAREN) pass elif token in [40]: localctx = MathExprParser.FractFuncContext(self, localctx) self.enterOuterAlt(localctx, 29) - self.state = 339 + self.state = 352 self.match(MathExprParser.FRACT) - self.state = 340 + self.state = 353 self.match(MathExprParser.LPAREN) - self.state = 341 + self.state = 354 self.expr() - self.state = 342 + self.state = 355 self.match(MathExprParser.RPAREN) pass elif token in [41]: localctx = MathExprParser.ReluFuncContext(self, localctx) self.enterOuterAlt(localctx, 30) - self.state = 344 + self.state = 357 self.match(MathExprParser.RELU) - self.state = 345 + self.state = 358 self.match(MathExprParser.LPAREN) - self.state = 346 + self.state = 359 self.expr() - self.state = 347 + self.state = 360 self.match(MathExprParser.RPAREN) pass elif token in [42]: localctx = MathExprParser.SoftplusFuncContext(self, localctx) self.enterOuterAlt(localctx, 31) - self.state = 349 + self.state = 362 self.match(MathExprParser.SOFTPLUS) - self.state = 350 + self.state = 363 self.match(MathExprParser.LPAREN) - self.state = 351 + self.state = 364 self.expr() - self.state = 352 + self.state = 365 self.match(MathExprParser.RPAREN) pass elif token in [43]: localctx = MathExprParser.GeluFuncContext(self, localctx) self.enterOuterAlt(localctx, 32) - self.state = 354 + self.state = 367 self.match(MathExprParser.GELU) - self.state = 355 + self.state = 368 self.match(MathExprParser.LPAREN) - self.state = 356 + self.state = 369 self.expr() - self.state = 357 + self.state = 370 self.match(MathExprParser.RPAREN) pass elif token in [44]: localctx = MathExprParser.SignFuncContext(self, localctx) self.enterOuterAlt(localctx, 33) - self.state = 359 + self.state = 372 self.match(MathExprParser.SIGN) - self.state = 360 + self.state = 373 self.match(MathExprParser.LPAREN) - self.state = 361 + self.state = 374 self.expr() - self.state = 362 + self.state = 375 self.match(MathExprParser.RPAREN) pass elif token in [36]: localctx = MathExprParser.PrintShapeFuncContext(self, localctx) self.enterOuterAlt(localctx, 34) - self.state = 364 + self.state = 377 self.match(MathExprParser.PRINT_SHAPE) - self.state = 365 + self.state = 378 self.match(MathExprParser.LPAREN) - self.state = 366 + self.state = 379 self.expr() - self.state = 367 + self.state = 380 self.match(MathExprParser.RPAREN) pass elif token in [54]: localctx = MathExprParser.PinvFuncContext(self, localctx) self.enterOuterAlt(localctx, 35) - self.state = 369 + self.state = 382 self.match(MathExprParser.PINV) - self.state = 370 + self.state = 383 self.match(MathExprParser.LPAREN) - self.state = 371 + self.state = 384 self.expr() - self.state = 372 + self.state = 385 self.match(MathExprParser.RPAREN) pass elif token in [55]: localctx = MathExprParser.SumFuncContext(self, localctx) self.enterOuterAlt(localctx, 36) - self.state = 374 + self.state = 387 self.match(MathExprParser.SUM) - self.state = 375 + self.state = 388 self.match(MathExprParser.LPAREN) - self.state = 376 + self.state = 389 self.expr() - self.state = 377 + self.state = 390 self.match(MathExprParser.RPAREN) pass elif token in [56]: localctx = MathExprParser.MeanFuncContext(self, localctx) self.enterOuterAlt(localctx, 37) - self.state = 379 + self.state = 392 self.match(MathExprParser.MEAN) - self.state = 380 + self.state = 393 self.match(MathExprParser.LPAREN) - self.state = 381 + self.state = 394 self.expr() - self.state = 382 + self.state = 395 self.match(MathExprParser.RPAREN) pass elif token in [57]: localctx = MathExprParser.StdFuncContext(self, localctx) self.enterOuterAlt(localctx, 38) - self.state = 384 + self.state = 397 self.match(MathExprParser.STD) - self.state = 385 + self.state = 398 self.match(MathExprParser.LPAREN) - self.state = 386 + self.state = 399 self.expr() - self.state = 387 + self.state = 400 self.match(MathExprParser.RPAREN) pass elif token in [58]: localctx = MathExprParser.VarFuncContext(self, localctx) self.enterOuterAlt(localctx, 39) - self.state = 389 + self.state = 402 self.match(MathExprParser.VAR) - self.state = 390 + self.state = 403 self.match(MathExprParser.LPAREN) - self.state = 391 + self.state = 404 self.expr() - self.state = 392 + self.state = 405 self.match(MathExprParser.RPAREN) pass elif token in [74]: localctx = MathExprParser.SortFuncContext(self, localctx) self.enterOuterAlt(localctx, 40) - self.state = 394 + self.state = 407 self.match(MathExprParser.SORT) - self.state = 395 + self.state = 408 self.match(MathExprParser.LPAREN) - self.state = 396 + self.state = 409 self.expr() - self.state = 397 + self.state = 410 self.match(MathExprParser.RPAREN) pass elif token in [64]: localctx = MathExprParser.NoiseFuncContext(self, localctx) self.enterOuterAlt(localctx, 41) - self.state = 399 + self.state = 412 self.match(MathExprParser.NOISE) - self.state = 400 + self.state = 413 self.match(MathExprParser.LPAREN) - self.state = 401 + self.state = 414 self.expr() - self.state = 402 + self.state = 415 self.match(MathExprParser.RPAREN) pass elif token in [65]: localctx = MathExprParser.RandFuncContext(self, localctx) self.enterOuterAlt(localctx, 42) - self.state = 404 + self.state = 417 self.match(MathExprParser.RAND) - self.state = 405 + self.state = 418 self.match(MathExprParser.LPAREN) - self.state = 406 + self.state = 419 self.expr() - self.state = 407 + self.state = 420 self.match(MathExprParser.RPAREN) pass else: @@ -4260,7 +4347,7 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_func2 - + def copyFrom(self, ctx:ParserRuleContext): super().copyFrom(ctx) @@ -4918,297 +5005,297 @@ class MathExprParser ( Parser ): def func2(self): localctx = MathExprParser.Func2Context(self, self._ctx, self.state) - self.enterRule(localctx, 26, self.RULE_func2) + self.enterRule(localctx, 28, self.RULE_func2) try: - self.state = 537 + self.state = 550 self._errHandler.sync(self) token = self._input.LA(1) if token in [29]: localctx = MathExprParser.PowFuncContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 411 + self.state = 424 self.match(MathExprParser.POWE) - self.state = 412 + self.state = 425 self.match(MathExprParser.LPAREN) - self.state = 413 + self.state = 426 self.expr() - self.state = 414 + self.state = 427 self.match(MathExprParser.COMMA) - self.state = 415 + self.state = 428 self.expr() - self.state = 416 + self.state = 429 self.match(MathExprParser.RPAREN) pass elif token in [7]: localctx = MathExprParser.Atan2FuncContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 418 + self.state = 431 self.match(MathExprParser.ATAN2) - self.state = 419 + self.state = 432 self.match(MathExprParser.LPAREN) - self.state = 420 + self.state = 433 self.expr() - self.state = 421 + self.state = 434 self.match(MathExprParser.COMMA) - self.state = 422 + self.state = 435 self.expr() - self.state = 423 + self.state = 436 self.match(MathExprParser.RPAREN) pass elif token in [21]: localctx = MathExprParser.TMinFuncContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 425 + self.state = 438 self.match(MathExprParser.TMIN) - self.state = 426 + self.state = 439 self.match(MathExprParser.LPAREN) - self.state = 427 + self.state = 440 self.expr() - self.state = 428 + self.state = 441 self.match(MathExprParser.COMMA) - self.state = 429 + self.state = 442 self.expr() - self.state = 430 + self.state = 443 self.match(MathExprParser.RPAREN) pass elif token in [22]: localctx = MathExprParser.TMaxFuncContext(self, localctx) self.enterOuterAlt(localctx, 4) - self.state = 432 + self.state = 445 self.match(MathExprParser.TMAX) - self.state = 433 + self.state = 446 self.match(MathExprParser.LPAREN) - self.state = 434 + self.state = 447 self.expr() - self.state = 435 + self.state = 448 self.match(MathExprParser.COMMA) - self.state = 436 + self.state = 449 self.expr() - self.state = 437 + self.state = 450 self.match(MathExprParser.RPAREN) pass elif token in [38]: localctx = MathExprParser.StepFuncContext(self, localctx) self.enterOuterAlt(localctx, 5) - self.state = 439 + self.state = 452 self.match(MathExprParser.STEP) - self.state = 440 + self.state = 453 self.match(MathExprParser.LPAREN) - self.state = 441 + self.state = 454 self.expr() - self.state = 442 + self.state = 455 self.match(MathExprParser.COMMA) - self.state = 443 + self.state = 456 self.expr() - self.state = 444 + self.state = 457 self.match(MathExprParser.RPAREN) pass elif token in [52]: localctx = MathExprParser.TopkFuncContext(self, localctx) self.enterOuterAlt(localctx, 6) - self.state = 446 + self.state = 459 self.match(MathExprParser.TOPK) - self.state = 447 + self.state = 460 self.match(MathExprParser.LPAREN) - self.state = 448 + self.state = 461 self.expr() - self.state = 449 + self.state = 462 self.match(MathExprParser.COMMA) - self.state = 450 + self.state = 463 self.expr() - self.state = 451 + self.state = 464 self.match(MathExprParser.RPAREN) pass elif token in [53]: localctx = MathExprParser.BotkFuncContext(self, localctx) self.enterOuterAlt(localctx, 7) - self.state = 453 + self.state = 466 self.match(MathExprParser.BOTK) - self.state = 454 + self.state = 467 self.match(MathExprParser.LPAREN) - self.state = 455 + self.state = 468 self.expr() - self.state = 456 + self.state = 469 self.match(MathExprParser.COMMA) - self.state = 457 + self.state = 470 self.expr() - self.state = 458 + self.state = 471 self.match(MathExprParser.RPAREN) pass elif token in [59]: localctx = MathExprParser.QuartileFuncContext(self, localctx) self.enterOuterAlt(localctx, 8) - self.state = 460 + self.state = 473 self.match(MathExprParser.QUARTILE) - self.state = 461 + self.state = 474 self.match(MathExprParser.LPAREN) - self.state = 462 + self.state = 475 self.expr() - self.state = 463 + self.state = 476 self.match(MathExprParser.COMMA) - self.state = 464 + self.state = 477 self.expr() - self.state = 465 + self.state = 478 self.match(MathExprParser.RPAREN) pass elif token in [60]: localctx = MathExprParser.PercentileFuncContext(self, localctx) self.enterOuterAlt(localctx, 9) - self.state = 467 + self.state = 480 self.match(MathExprParser.PERCENTILE) - self.state = 468 + self.state = 481 self.match(MathExprParser.LPAREN) - self.state = 469 + self.state = 482 self.expr() - self.state = 470 + self.state = 483 self.match(MathExprParser.COMMA) - self.state = 471 + self.state = 484 self.expr() - self.state = 472 + self.state = 485 self.match(MathExprParser.RPAREN) pass elif token in [61]: localctx = MathExprParser.QuantileFuncContext(self, localctx) self.enterOuterAlt(localctx, 10) - self.state = 474 + self.state = 487 self.match(MathExprParser.QUANTILE) - self.state = 475 + self.state = 488 self.match(MathExprParser.LPAREN) - self.state = 476 + self.state = 489 self.expr() - self.state = 477 + self.state = 490 self.match(MathExprParser.COMMA) - self.state = 478 + self.state = 491 self.expr() - self.state = 479 + self.state = 492 self.match(MathExprParser.RPAREN) pass elif token in [62]: localctx = MathExprParser.DotFuncContext(self, localctx) self.enterOuterAlt(localctx, 11) - self.state = 481 + self.state = 494 self.match(MathExprParser.DOT) - self.state = 482 + self.state = 495 self.match(MathExprParser.LPAREN) - self.state = 483 + self.state = 496 self.expr() - self.state = 484 + self.state = 497 self.match(MathExprParser.COMMA) - self.state = 485 + self.state = 498 self.expr() - self.state = 486 + self.state = 499 self.match(MathExprParser.RPAREN) pass elif token in [71]: localctx = MathExprParser.CossimFuncContext(self, localctx) self.enterOuterAlt(localctx, 12) - self.state = 488 + self.state = 501 self.match(MathExprParser.COSSIM) - self.state = 489 + self.state = 502 self.match(MathExprParser.LPAREN) - self.state = 490 + self.state = 503 self.expr() - self.state = 491 + self.state = 504 self.match(MathExprParser.COMMA) - self.state = 492 + self.state = 505 self.expr() - self.state = 493 + self.state = 506 self.match(MathExprParser.RPAREN) pass elif token in [72]: localctx = MathExprParser.FlipFuncContext(self, localctx) self.enterOuterAlt(localctx, 13) - self.state = 495 + self.state = 508 self.match(MathExprParser.FLIP) - self.state = 496 + self.state = 509 self.match(MathExprParser.LPAREN) - self.state = 497 + self.state = 510 self.expr() - self.state = 498 + self.state = 511 self.match(MathExprParser.COMMA) - self.state = 499 + self.state = 512 self.expr() - self.state = 500 + self.state = 513 self.match(MathExprParser.RPAREN) pass elif token in [73]: localctx = MathExprParser.CovFuncContext(self, localctx) self.enterOuterAlt(localctx, 14) - self.state = 502 + self.state = 515 self.match(MathExprParser.COV) - self.state = 503 + self.state = 516 self.match(MathExprParser.LPAREN) - self.state = 504 + self.state = 517 self.expr() - self.state = 505 + self.state = 518 self.match(MathExprParser.COMMA) - self.state = 506 + self.state = 519 self.expr() - self.state = 507 + self.state = 520 self.match(MathExprParser.RPAREN) pass elif token in [75]: localctx = MathExprParser.AppendFuncContext(self, localctx) self.enterOuterAlt(localctx, 15) - self.state = 509 + self.state = 522 self.match(MathExprParser.APPEND) - self.state = 510 + self.state = 523 self.match(MathExprParser.LPAREN) - self.state = 511 + self.state = 524 self.expr() - self.state = 512 + self.state = 525 self.match(MathExprParser.COMMA) - self.state = 513 + self.state = 526 self.expr() - self.state = 514 + self.state = 527 self.match(MathExprParser.RPAREN) pass elif token in [67]: localctx = MathExprParser.ExponentialFuncContext(self, localctx) self.enterOuterAlt(localctx, 16) - self.state = 516 + self.state = 529 self.match(MathExprParser.EXPONENTIAL) - self.state = 517 + self.state = 530 self.match(MathExprParser.LPAREN) - self.state = 518 + self.state = 531 self.expr() - self.state = 519 + self.state = 532 self.match(MathExprParser.COMMA) - self.state = 520 + self.state = 533 self.expr() - self.state = 521 + self.state = 534 self.match(MathExprParser.RPAREN) pass elif token in [69]: localctx = MathExprParser.BernoulliFuncContext(self, localctx) self.enterOuterAlt(localctx, 17) - self.state = 523 + self.state = 536 self.match(MathExprParser.BERNOULLI) - self.state = 524 + self.state = 537 self.match(MathExprParser.LPAREN) - self.state = 525 + self.state = 538 self.expr() - self.state = 526 + self.state = 539 self.match(MathExprParser.COMMA) - self.state = 527 + self.state = 540 self.expr() - self.state = 528 + self.state = 541 self.match(MathExprParser.RPAREN) pass elif token in [70]: localctx = MathExprParser.PoissonFuncContext(self, localctx) self.enterOuterAlt(localctx, 18) - self.state = 530 + self.state = 543 self.match(MathExprParser.POISSON) - self.state = 531 + self.state = 544 self.match(MathExprParser.LPAREN) - self.state = 532 + self.state = 545 self.expr() - self.state = 533 + self.state = 546 self.match(MathExprParser.COMMA) - self.state = 534 + self.state = 547 self.expr() - self.state = 535 + self.state = 548 self.match(MathExprParser.RPAREN) pass else: @@ -5234,7 +5321,7 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_func3 - + def copyFrom(self, ctx:ParserRuleContext): super().copyFrom(ctx) @@ -5517,149 +5604,149 @@ class MathExprParser ( Parser ): def func3(self): localctx = MathExprParser.Func3Context(self, self._ctx, self.state) - self.enterRule(localctx, 28, self.RULE_func3) + self.enterRule(localctx, 30, self.RULE_func3) try: - self.state = 602 + self.state = 615 self._errHandler.sync(self) token = self._input.LA(1) if token in [31]: localctx = MathExprParser.ClampFuncContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 539 + self.state = 552 self.match(MathExprParser.CLAMP) - self.state = 540 + self.state = 553 self.match(MathExprParser.LPAREN) - self.state = 541 + self.state = 554 self.expr() - self.state = 542 + self.state = 555 self.match(MathExprParser.COMMA) - self.state = 543 + self.state = 556 self.expr() - self.state = 544 + self.state = 557 self.match(MathExprParser.COMMA) - self.state = 545 + self.state = 558 self.expr() - self.state = 546 + self.state = 559 self.match(MathExprParser.RPAREN) pass elif token in [37]: localctx = MathExprParser.LerpFuncContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 548 + self.state = 561 self.match(MathExprParser.LERP) - self.state = 549 + self.state = 562 self.match(MathExprParser.LPAREN) - self.state = 550 + self.state = 563 self.expr() - self.state = 551 + self.state = 564 self.match(MathExprParser.COMMA) - self.state = 552 + self.state = 565 self.expr() - self.state = 553 + self.state = 566 self.match(MathExprParser.COMMA) - self.state = 554 + self.state = 567 self.expr() - self.state = 555 + self.state = 568 self.match(MathExprParser.RPAREN) pass elif token in [39]: localctx = MathExprParser.SmoothstepFuncContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 557 + self.state = 570 self.match(MathExprParser.SMOOTHSTEP) - self.state = 558 + self.state = 571 self.match(MathExprParser.LPAREN) - self.state = 559 + self.state = 572 self.expr() - self.state = 560 + self.state = 573 self.match(MathExprParser.COMMA) - self.state = 561 + self.state = 574 self.expr() - self.state = 562 + self.state = 575 self.match(MathExprParser.COMMA) - self.state = 563 + self.state = 576 self.expr() - self.state = 564 + self.state = 577 self.match(MathExprParser.RPAREN) pass elif token in [51]: localctx = MathExprParser.RangeFuncContext(self, localctx) self.enterOuterAlt(localctx, 4) - self.state = 566 + self.state = 579 self.match(MathExprParser.RANGE) - self.state = 567 + self.state = 580 self.match(MathExprParser.LPAREN) - self.state = 568 + self.state = 581 self.expr() - self.state = 569 + self.state = 582 self.match(MathExprParser.COMMA) - self.state = 570 + self.state = 583 self.expr() - self.state = 571 + self.state = 584 self.match(MathExprParser.COMMA) - self.state = 572 + self.state = 585 self.expr() - self.state = 573 + self.state = 586 self.match(MathExprParser.RPAREN) pass elif token in [63]: localctx = MathExprParser.MomentFuncContext(self, localctx) self.enterOuterAlt(localctx, 5) - self.state = 575 + self.state = 588 self.match(MathExprParser.MOMENT) - self.state = 576 + self.state = 589 self.match(MathExprParser.LPAREN) - self.state = 577 + self.state = 590 self.expr() - self.state = 578 + self.state = 591 self.match(MathExprParser.COMMA) - self.state = 579 + self.state = 592 self.expr() - self.state = 580 + self.state = 593 self.match(MathExprParser.COMMA) - self.state = 581 + self.state = 594 self.expr() - self.state = 582 + self.state = 595 self.match(MathExprParser.RPAREN) pass elif token in [66]: localctx = MathExprParser.CauchyFuncContext(self, localctx) self.enterOuterAlt(localctx, 6) - self.state = 584 + self.state = 597 self.match(MathExprParser.CAUCHY) - self.state = 585 + self.state = 598 self.match(MathExprParser.LPAREN) - self.state = 586 + self.state = 599 self.expr() - self.state = 587 + self.state = 600 self.match(MathExprParser.COMMA) - self.state = 588 + self.state = 601 self.expr() - self.state = 589 + self.state = 602 self.match(MathExprParser.COMMA) - self.state = 590 + self.state = 603 self.expr() - self.state = 591 + self.state = 604 self.match(MathExprParser.RPAREN) pass elif token in [68]: localctx = MathExprParser.LogNormalFuncContext(self, localctx) self.enterOuterAlt(localctx, 7) - self.state = 593 + self.state = 606 self.match(MathExprParser.LOGNORMAL) - self.state = 594 + self.state = 607 self.match(MathExprParser.LPAREN) - self.state = 595 + self.state = 608 self.expr() - self.state = 596 + self.state = 609 self.match(MathExprParser.COMMA) - self.state = 597 + self.state = 610 self.expr() - self.state = 598 + self.state = 611 self.match(MathExprParser.COMMA) - self.state = 599 + self.state = 612 self.expr() - self.state = 600 + self.state = 613 self.match(MathExprParser.RPAREN) pass else: @@ -5685,7 +5772,7 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_func4 - + def copyFrom(self, ctx:ParserRuleContext): super().copyFrom(ctx) @@ -5734,29 +5821,29 @@ class MathExprParser ( Parser ): def func4(self): localctx = MathExprParser.Func4Context(self, self._ctx, self.state) - self.enterRule(localctx, 30, self.RULE_func4) + self.enterRule(localctx, 32, self.RULE_func4) try: localctx = MathExprParser.SwapFuncContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 604 + self.state = 617 self.match(MathExprParser.SWAP) - self.state = 605 + self.state = 618 self.match(MathExprParser.LPAREN) - self.state = 606 + self.state = 619 self.expr() - self.state = 607 + self.state = 620 self.match(MathExprParser.COMMA) - self.state = 608 + self.state = 621 self.expr() - self.state = 609 + self.state = 622 self.match(MathExprParser.COMMA) - self.state = 610 + self.state = 623 self.expr() - self.state = 611 + self.state = 624 self.match(MathExprParser.COMMA) - self.state = 612 + self.state = 625 self.expr() - self.state = 613 + self.state = 626 self.match(MathExprParser.RPAREN) except RecognitionException as re: localctx.exception = re @@ -5778,7 +5865,7 @@ class MathExprParser ( Parser ): def getRuleIndex(self): return MathExprParser.RULE_funcN - + def copyFrom(self, ctx:ParserRuleContext): super().copyFrom(ctx) @@ -6055,168 +6142,168 @@ class MathExprParser ( Parser ): def funcN(self): localctx = MathExprParser.FuncNContext(self, self._ctx, self.state) - self.enterRule(localctx, 32, self.RULE_funcN) + self.enterRule(localctx, 34, self.RULE_funcN) self._la = 0 # Token type try: - self.state = 686 + self.state = 699 self._errHandler.sync(self) token = self._input.LA(1) if token in [19]: localctx = MathExprParser.SMinFuncContext(self, localctx) self.enterOuterAlt(localctx, 1) - self.state = 615 + self.state = 628 self.match(MathExprParser.SMIN) - self.state = 616 + self.state = 629 self.match(MathExprParser.LPAREN) - self.state = 617 + self.state = 630 self.expr() - self.state = 622 + self.state = 635 self._errHandler.sync(self) _la = self._input.LA(1) - while _la==91: - self.state = 618 + while _la==92: + self.state = 631 self.match(MathExprParser.COMMA) - self.state = 619 + self.state = 632 self.expr() - self.state = 624 + self.state = 637 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 625 + self.state = 638 self.match(MathExprParser.RPAREN) pass elif token in [20]: localctx = MathExprParser.SMaxFuncContext(self, localctx) self.enterOuterAlt(localctx, 2) - self.state = 627 + self.state = 640 self.match(MathExprParser.SMAX) - self.state = 628 + self.state = 641 self.match(MathExprParser.LPAREN) - self.state = 629 + self.state = 642 self.expr() - self.state = 634 + self.state = 647 self._errHandler.sync(self) _la = self._input.LA(1) - while _la==91: - self.state = 630 + while _la==92: + self.state = 643 self.match(MathExprParser.COMMA) - self.state = 631 + self.state = 644 self.expr() - self.state = 636 + self.state = 649 self._errHandler.sync(self) _la = self._input.LA(1) - self.state = 637 + self.state = 650 self.match(MathExprParser.RPAREN) pass elif token in [45]: localctx = MathExprParser.MapFuncContext(self, localctx) self.enterOuterAlt(localctx, 3) - self.state = 639 + self.state = 652 self.match(MathExprParser.MAP) - self.state = 640 + self.state = 653 self.match(MathExprParser.LPAREN) - self.state = 641 + self.state = 654 self.expr() - self.state = 644 + self.state = 657 self._errHandler.sync(self) _la = self._input.LA(1) while True: - self.state = 642 + self.state = 655 self.match(MathExprParser.COMMA) - self.state = 643 + self.state = 656 self.expr() - self.state = 646 + self.state = 659 self._errHandler.sync(self) _la = self._input.LA(1) - if not (_la==91): + if not (_la==92): break - self.state = 648 + self.state = 661 self.match(MathExprParser.RPAREN) pass elif token in [46]: localctx = MathExprParser.EzConvFuncContext(self, localctx) self.enterOuterAlt(localctx, 4) - self.state = 650 + self.state = 663 self.match(MathExprParser.EZCONV) - self.state = 651 + self.state = 664 self.match(MathExprParser.LPAREN) - self.state = 652 + self.state = 665 self.expr() - self.state = 655 + self.state = 668 self._errHandler.sync(self) _la = self._input.LA(1) while True: - self.state = 653 + self.state = 666 self.match(MathExprParser.COMMA) - self.state = 654 + self.state = 667 self.expr() - self.state = 657 + self.state = 670 self._errHandler.sync(self) _la = self._input.LA(1) - if not (_la==91): + if not (_la==92): break - self.state = 659 + self.state = 672 self.match(MathExprParser.RPAREN) pass elif token in [47]: localctx = MathExprParser.ConvFuncContext(self, localctx) self.enterOuterAlt(localctx, 5) - self.state = 661 + self.state = 674 self.match(MathExprParser.CONV) - self.state = 662 + self.state = 675 self.match(MathExprParser.LPAREN) - self.state = 663 + self.state = 676 self.expr() - self.state = 666 + self.state = 679 self._errHandler.sync(self) _la = self._input.LA(1) while True: - self.state = 664 + self.state = 677 self.match(MathExprParser.COMMA) - self.state = 665 + self.state = 678 self.expr() - self.state = 668 + self.state = 681 self._errHandler.sync(self) _la = self._input.LA(1) - if not (_la==91): + if not (_la==92): break - self.state = 670 + self.state = 683 self.match(MathExprParser.RPAREN) pass elif token in [49]: localctx = MathExprParser.PermuteFuncContext(self, localctx) self.enterOuterAlt(localctx, 6) - self.state = 672 + self.state = 685 self.match(MathExprParser.PERM) - self.state = 673 + self.state = 686 self.match(MathExprParser.LPAREN) - self.state = 674 + self.state = 687 self.expr() - self.state = 675 + self.state = 688 self.match(MathExprParser.COMMA) - self.state = 676 + self.state = 689 self.expr() - self.state = 677 + self.state = 690 self.match(MathExprParser.RPAREN) pass elif token in [50]: localctx = MathExprParser.ReshapeFuncContext(self, localctx) self.enterOuterAlt(localctx, 7) - self.state = 679 + self.state = 692 self.match(MathExprParser.RESHAPE) - self.state = 680 + self.state = 693 self.match(MathExprParser.LPAREN) - self.state = 681 + self.state = 694 self.expr() - self.state = 682 + self.state = 695 self.match(MathExprParser.COMMA) - self.state = 683 + self.state = 696 self.expr() - self.state = 684 + self.state = 697 self.match(MathExprParser.RPAREN) pass else: @@ -6235,10 +6322,10 @@ class MathExprParser ( Parser ): def sempred(self, localctx:RuleContext, ruleIndex:int, predIndex:int): if self._predicates == None: self._predicates = dict() - self._predicates[4] = self.compExpr_sempred - self._predicates[5] = self.addExpr_sempred - self._predicates[6] = self.mulExpr_sempred - self._predicates[9] = self.indexExpr_sempred + self._predicates[5] = self.compExpr_sempred + self._predicates[6] = self.addExpr_sempred + self._predicates[7] = self.mulExpr_sempred + self._predicates[10] = self.indexExpr_sempred pred = self._predicates.get(ruleIndex, None) if pred is None: raise Exception("No predicate with index:" + str(ruleIndex)) @@ -6248,54 +6335,54 @@ class MathExprParser ( Parser ): def compExpr_sempred(self, localctx:CompExprContext, predIndex:int): if predIndex == 0: return self.precpred(self._ctx, 7) - + if predIndex == 1: return self.precpred(self._ctx, 6) - + if predIndex == 2: return self.precpred(self._ctx, 5) - + if predIndex == 3: return self.precpred(self._ctx, 4) - + if predIndex == 4: return self.precpred(self._ctx, 3) - + if predIndex == 5: return self.precpred(self._ctx, 2) - + def addExpr_sempred(self, localctx:AddExprContext, predIndex:int): if predIndex == 6: return self.precpred(self._ctx, 3) - + if predIndex == 7: return self.precpred(self._ctx, 2) - + def mulExpr_sempred(self, localctx:MulExprContext, predIndex:int): if predIndex == 8: return self.precpred(self._ctx, 4) - + if predIndex == 9: return self.precpred(self._ctx, 3) - + if predIndex == 10: return self.precpred(self._ctx, 2) - + def indexExpr_sempred(self, localctx:IndexExprContext, predIndex:int): if predIndex == 11: return self.precpred(self._ctx, 2) - + diff --git a/more_math/Parser/MathExprVisitor.py b/more_math/Parser/MathExprVisitor.py index c7b82b7..b911dea 100644 --- a/more_math/Parser/MathExprVisitor.py +++ b/more_math/Parser/MathExprVisitor.py @@ -19,6 +19,11 @@ class MathExprVisitor(ParseTreeVisitor): return self.visitChildren(ctx) + # Visit a parse tree produced by MathExprParser#varDef. + def visitVarDef(self, ctx:MathExprParser.VarDefContext): + return self.visitChildren(ctx) + + # Visit a parse tree produced by MathExprParser#paramList. def visitParamList(self, ctx:MathExprParser.ParamListContext): return self.visitChildren(ctx) diff --git a/more_math/Parser/UnifiedMathVisitor.py b/more_math/Parser/UnifiedMathVisitor.py index 8d1451a..a09a2de 100644 --- a/more_math/Parser/UnifiedMathVisitor.py +++ b/more_math/Parser/UnifiedMathVisitor.py @@ -1071,8 +1071,18 @@ class UnifiedMathVisitor(MathExprVisitor): for i in range(len(ctx.funcDef())): self.visit(ctx.funcDef(i)) + if ctx.varDef(): + for i in range(len(ctx.varDef())): + self.visit(ctx.varDef(i)) + return self.visit(ctx.expr()) + def visitVarDef(self, ctx): + var_name = ctx.VARIABLE().getText() + var_value = self.visit(ctx.expr()) + self.variables[var_name] = var_value + return {var_name: var_value} + def visitFunctionDef(self, ctx): func_name = ctx.VARIABLE().getText()