Allow full promotion suffixes on SAN piece moves
[xboard.git] / parser.c
index 49ebb34..058d032 100644 (file)
--- a/parser.c
+++ b/parser.c
-/* A lexical scanner generated by flex */
 
-/* Scanner skeleton version:
- * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $
- */
+#line 3 "parser.c"
+
+#define  YY_INT_ALIGNED short int
+
+/* A lexical scanner generated by flex */
 
 #define FLEX_SCANNER
 #define YY_FLEX_MAJOR_VERSION 2
 #define YY_FLEX_MINOR_VERSION 5
+#define YY_FLEX_SUBMINOR_VERSION 34
+#if YY_FLEX_SUBMINOR_VERSION > 0
+#define FLEX_BETA
+#endif
+
+/* First, we deal with  platform-specific or compiler-specific issues. */
 
+/* begin standard C headers. */
 #include <stdio.h>
-// #include <unistd.h>
+#include <string.h>
+#include <errno.h>
+#include <stdlib.h>
 
+/* end standard C headers. */
 
-/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
-#ifdef c_plusplus
-#ifndef __cplusplus
-#define __cplusplus
+/* flex integer type definitions */
+
+#ifndef FLEXINT_H
+#define FLEXINT_H
+
+/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
+
+#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+
+/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
+ * if you want the limit (max/min) macros for int types. 
+ */
+#ifndef __STDC_LIMIT_MACROS
+#define __STDC_LIMIT_MACROS 1
+#endif
+
+#include <inttypes.h>
+typedef int8_t flex_int8_t;
+typedef uint8_t flex_uint8_t;
+typedef int16_t flex_int16_t;
+typedef uint16_t flex_uint16_t;
+typedef int32_t flex_int32_t;
+typedef uint32_t flex_uint32_t;
+#else
+typedef signed char flex_int8_t;
+typedef short int flex_int16_t;
+typedef int flex_int32_t;
+typedef unsigned char flex_uint8_t; 
+typedef unsigned short int flex_uint16_t;
+typedef unsigned int flex_uint32_t;
+#endif /* ! C99 */
+
+/* Limits of integral types. */
+#ifndef INT8_MIN
+#define INT8_MIN               (-128)
+#endif
+#ifndef INT16_MIN
+#define INT16_MIN              (-32767-1)
+#endif
+#ifndef INT32_MIN
+#define INT32_MIN              (-2147483647-1)
+#endif
+#ifndef INT8_MAX
+#define INT8_MAX               (127)
 #endif
+#ifndef INT16_MAX
+#define INT16_MAX              (32767)
+#endif
+#ifndef INT32_MAX
+#define INT32_MAX              (2147483647)
+#endif
+#ifndef UINT8_MAX
+#define UINT8_MAX              (255U)
+#endif
+#ifndef UINT16_MAX
+#define UINT16_MAX             (65535U)
+#endif
+#ifndef UINT32_MAX
+#define UINT32_MAX             (4294967295U)
 #endif
 
+#endif /* ! FLEXINT_H */
 
 #ifdef __cplusplus
 
-#include <stdlib.h>
-
-/* Use prototypes in function declarations. */
-#define YY_USE_PROTOS
-
 /* The "const" storage-class-modifier is valid. */
 #define YY_USE_CONST
 
 #else  /* ! __cplusplus */
 
-#if __STDC__
+/* C99 requires __STDC__ to be defined as 1. */
+#if defined (__STDC__)
 
-#define YY_USE_PROTOS
 #define YY_USE_CONST
 
-#endif /* __STDC__ */
+#endif /* defined (__STDC__) */
 #endif /* ! __cplusplus */
 
-#ifdef __TURBOC__
- #pragma warn -rch
- #pragma warn -use
-#include <io.h>
-#include <stdlib.h>
-#define YY_USE_CONST
-#define YY_USE_PROTOS
-#endif
-
 #ifdef YY_USE_CONST
 #define yyconst const
 #else
 #define yyconst
 #endif
 
-
-#ifdef YY_USE_PROTOS
-#define YY_PROTO(proto) proto
-#else
-#define YY_PROTO(proto) ()
-#endif
-
 /* Returned upon end-of-file. */
 #define YY_NULL 0
 
  * but we do it the disgusting crufty way forced on us by the ()-less
  * definition of BEGIN.
  */
-#define BEGIN yy_start = 1 + 2 *
+#define BEGIN (yy_start) = 1 + 2 *
 
 /* Translate the current start state into a value that can be later handed
  * to BEGIN to return to the state.  The YYSTATE alias is for lex
  * compatibility.
  */
-#define YY_START ((yy_start - 1) / 2)
+#define YY_START (((yy_start) - 1) / 2)
 #define YYSTATE YY_START
 
 /* Action number for EOF rule of a given start state. */
 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
 
 /* Special action meaning "start processing a new file". */
-#define YY_NEW_FILE yyrestart( yyin )
+#define YY_NEW_FILE yyrestart(yyin  )
 
 #define YY_END_OF_BUFFER_CHAR 0
 
 /* Size of default input buffer. */
+#ifndef YY_BUF_SIZE
 #define YY_BUF_SIZE 16384
+#endif
+
+/* The state buf must be large enough to hold one state per character in the main buffer.
+ */
+#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
 
+#ifndef YY_TYPEDEF_YY_BUFFER_STATE
+#define YY_TYPEDEF_YY_BUFFER_STATE
 typedef struct yy_buffer_state *YY_BUFFER_STATE;
+#endif
 
 extern int yyleng;
+
 extern FILE *yyin, *yyout;
 
 #define EOB_ACT_CONTINUE_SCAN 0
 #define EOB_ACT_END_OF_FILE 1
 #define EOB_ACT_LAST_MATCH 2
 
-/* The funky do-while in the following #define is used to turn the definition
- * int a single C statement (which needs a semi-colon terminator).  This
- * avoids problems with code like:
- *
- *     if ( condition_holds )
- *             yyless( 5 );
- *     else
- *             do_something_else();
- *
- * Prior to using the do-while the compiler would get upset at the
- * "else" because it interpreted the "if" statement as being all
- * done when it reached the ';' after the yyless() call.
- */
-
-/* Return all but the first 'n' matched characters back to the input stream. */
-
+    #define YY_LESS_LINENO(n)
+    
+/* Return all but the first "n" matched characters back to the input stream. */
 #define yyless(n) \
        do \
                { \
                /* Undo effects of setting up yytext. */ \
-               *yy_cp = yy_hold_char; \
+        int yyless_macro_arg = (n); \
+        YY_LESS_LINENO(yyless_macro_arg);\
+               *yy_cp = (yy_hold_char); \
                YY_RESTORE_YY_MORE_OFFSET \
-               yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
+               (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
                YY_DO_BEFORE_ACTION; /* set up yytext again */ \
                } \
        while ( 0 )
 
-#define unput(c) yyunput( c, yytext_ptr )
+#define unput(c) yyunput( c, (yytext_ptr)  )
 
 /* The following is because we cannot portably get our hands on size_t
  * (without autoconf's help, which isn't available because we want
  * flex-generated scanners to compile on their own).
+ * Given that the standard has decreed that size_t exists since 1989,
+ * I guess we can afford to depend on it. Manoj.
  */
-typedef unsigned int yy_size_t;
 
+#ifndef YY_TYPEDEF_YY_SIZE_T
+#define YY_TYPEDEF_YY_SIZE_T
+typedef size_t yy_size_t;
+#endif
 
+#ifndef YY_STRUCT_YY_BUFFER_STATE
+#define YY_STRUCT_YY_BUFFER_STATE
 struct yy_buffer_state
        {
        FILE *yy_input_file;
@@ -177,12 +228,16 @@ struct yy_buffer_state
         */
        int yy_at_bol;
 
+    int yy_bs_lineno; /**< The line count. */
+    int yy_bs_column; /**< The column count. */
+    
        /* Whether to try to fill the input buffer when we reach the
         * end of it.
         */
        int yy_fill_buffer;
 
        int yy_buffer_status;
+
 #define YY_BUFFER_NEW 0
 #define YY_BUFFER_NORMAL 1
        /* When an EOF's been seen but there's still some text to process
@@ -196,28 +251,38 @@ struct yy_buffer_state
         * just pointing yyin at a new input file.
         */
 #define YY_BUFFER_EOF_PENDING 2
+
        };
+#endif /* !YY_STRUCT_YY_BUFFER_STATE */
 
-static YY_BUFFER_STATE yy_current_buffer = 0;
+/* Stack of input buffers. */
+static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
+static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
+static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
 
 /* We provide macros for accessing buffer states in case in the
  * future we want to put the buffer states in a more general
  * "scanner state".
+ *
+ * Returns the top of the stack, or NULL.
  */
-#define YY_CURRENT_BUFFER yy_current_buffer
+#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
+                          ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
+                          : NULL)
 
+/* Same as previous macro, but useful when we know that the buffer stack is not
+ * NULL or when we need an lvalue. For internal use only.
+ */
+#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
 
 /* yy_hold_char holds the character lost when yytext is formed. */
 static char yy_hold_char;
-
 static int yy_n_chars;         /* number of characters read into yy_ch_buf */
-
-
 int yyleng;
 
 /* Points to current character in buffer. */
 static char *yy_c_buf_p = (char *) 0;
-static int yy_init = 1;                /* whether we need to initialize */
+static int yy_init = 0;                /* whether we need to initialize */
 static int yy_start = 0;       /* start state number */
 
 /* Flag which is used to allow yywrap()'s to do buffer switches
@@ -225,242 +290,265 @@ static int yy_start = 0;        /* start state number */
  */
 static int yy_did_buffer_switch_on_eof;
 
-void yyrestart YY_PROTO(( FILE *input_file ));
+void yyrestart (FILE *input_file  );
+void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer  );
+YY_BUFFER_STATE yy_create_buffer (FILE *file,int size  );
+void yy_delete_buffer (YY_BUFFER_STATE b  );
+void yy_flush_buffer (YY_BUFFER_STATE b  );
+void yypush_buffer_state (YY_BUFFER_STATE new_buffer  );
+void yypop_buffer_state (void );
 
-void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
-void yy_load_buffer_state YY_PROTO(( void ));
-YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
-void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
-void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
-void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
-#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
+static void yyensure_buffer_stack (void );
+static void yy_load_buffer_state (void );
+static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file  );
 
-YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
-YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
-YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
+#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
 
-static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
-static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
-static void yy_flex_free YY_PROTO(( void * ));
+YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size  );
+YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str  );
+YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len  );
+
+void *yyalloc (yy_size_t  );
+void *yyrealloc (void *,yy_size_t  );
+void yyfree (void *  );
 
 #define yy_new_buffer yy_create_buffer
 
 #define yy_set_interactive(is_interactive) \
        { \
-       if ( ! yy_current_buffer ) \
-               yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
-       yy_current_buffer->yy_is_interactive = is_interactive; \
+       if ( ! YY_CURRENT_BUFFER ){ \
+        yyensure_buffer_stack (); \
+               YY_CURRENT_BUFFER_LVALUE =    \
+            yy_create_buffer(yyin,YY_BUF_SIZE ); \
+       } \
+       YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
        }
 
 #define yy_set_bol(at_bol) \
        { \
-       if ( ! yy_current_buffer ) \
-               yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
-       yy_current_buffer->yy_at_bol = at_bol; \
+       if ( ! YY_CURRENT_BUFFER ){\
+        yyensure_buffer_stack (); \
+               YY_CURRENT_BUFFER_LVALUE =    \
+            yy_create_buffer(yyin,YY_BUF_SIZE ); \
+       } \
+       YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
        }
 
-#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
+#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
 
+/* Begin user sect3 */
 
-#define YY_USES_REJECT
 typedef unsigned char YY_CHAR;
+
 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
+
 typedef int yy_state_type;
+
+extern int yylineno;
+
+int yylineno = 1;
+
 extern char *yytext;
 #define yytext_ptr yytext
 
-static yy_state_type yy_get_previous_state YY_PROTO(( void ));
-static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
-static int yy_get_next_buffer YY_PROTO(( void ));
-static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
+static yy_state_type yy_get_previous_state (void );
+static yy_state_type yy_try_NUL_trans (yy_state_type current_state  );
+static int yy_get_next_buffer (void );
+static void yy_fatal_error (yyconst char msg[]  );
 
 /* Done after the current pattern has been matched and before the
  * corresponding action - sets up yytext.
  */
 #define YY_DO_BEFORE_ACTION \
-       yytext_ptr = yy_bp; \
-       yyleng = (int) (yy_cp - yy_bp); \
-       yy_hold_char = *yy_cp; \
+       (yytext_ptr) = yy_bp; \
+       yyleng = (size_t) (yy_cp - yy_bp); \
+       (yy_hold_char) = *yy_cp; \
        *yy_cp = '\0'; \
-       yy_c_buf_p = yy_cp;
+       (yy_c_buf_p) = yy_cp;
 
-#define YY_NUM_RULES 42
-#define YY_END_OF_BUFFER 43
-static yyconst short int yy_acclist[661] =
+#define YY_NUM_RULES 43
+#define YY_END_OF_BUFFER 44
+/* This struct is not used in this scanner,
+   but its presence is necessary. */
+struct yy_trans_info
+       {
+       flex_int32_t yy_verify;
+       flex_int32_t yy_nxt;
+       };
+static yyconst flex_int16_t yy_acclist[646] =
     {   0,
-       43,   41,   42,   41,   42,   41,   42,   40,   41,   42,
-       41,   42,   25,   41,   42,   41,   42,   40,   41,   42,
-       40,   41,   42,16410,   40,   41,   42,16410,   41,   42,
-       40,   41,   42,   40,   41,   42,   40,   41,   42,   40,
-       41,   42,   40,   41,   42,   40,   41,   42,   40,   41,
-       42,   40,   41,   42,   40,   41,   42,   40,   41,   42,
-       40,   41,   42,   40,   41,   42,   40,   41,   42,   41,
-       42,   40,   41,   42,   40,   41,   42,   40,   41,   42,
-       40,   41,   42,   40,   41,   42,   40,   41,   42,   40,
-       41,   42,   40,   41,   42,   40,   41,   42,   41,   42,
-
-       41,   42,   40,   41,   42,   40,   41,   42,   40,   41,
-       42,16410,   40,   41,   42,16410,   41,   42,   40,   41,
-       42,   40,   41,   42,   40,   41,   42,   40,   41,   42,
-       40,   41,   42,   40,   41,   42,   40,   41,   42,   40,
-       41,   42,   40,   41,   42,   40,   41,   42,   40,   41,
-       42,   40,   41,   42,   40,   41,   42,   40,   41,   42,
-       40,   41,   42,   40,   41,   42,   40,   41,   42,   40,
-       41,   42,   40,   41,   42,   40,   41,   42,   40,   41,
-       42,   40,   41,   42,   41,   42,   33,   40,   17,   40,
-        9,   40,   40,   40,16410, 8218,   40,   35,   40,   40,
-
-       40,   40,   40,   40,   40,   40,   40,   40,   40,    9,
-       40,   40,   40,   40,   40,   40,   36,   40,    3,   40,
-       40,   40,    4,   40,   40,    3,   40,   40,    4,   40,
-       40,   40,   40,    9,   40,   34,   40,   40,    9,   40,
-       40,   40,16410, 8218,   40,   40,   40,   40,   40,   40,
-       40,   40,   40,   40,   40,   40,    9,   40,   40,   40,
-       40,   40,   40,   40,    3,   40,   40,   40,    4,   40,
-       40,    3,   40,   40,    4,   40,   40,   40,   40,    9,
-       40,   15,    9,   40,   23,   40,   23,    8,   40, 8218,
-       22,   40,   22,   24,   40,   40,   40,    6,   40,   40,
-
-       40,   40,   40,   40,   40,    9,   40,   40,   40,   40,
-       40,   20,   40,    4,   40,   40,    3,   40,   40,    3,
-       40,    4,    5,   40,    4,   40,   40,    4,   40,   40,
-       40,    3,   40,    4,    4,   40,    5,    6,   40,    4,
-       40,   40,    9,   40,   34,   39,    9,   40,   23,   40,
-        8,   40,   22,   40,   35,   40,   40,   40,    6,   40,
-       40,   40,   40,   40,   40,   40,    9,   40,   40,   40,
-       40,   40,   20,   40,    4,   40,   40,    3,   40,   40,
-        3,   40,    5,   40,    4,   40,   40,    4,   40,   40,
-       40,    3,   40,    4,   40,    5,    6,   40,    4,   40,
-
-       40,    9,   40,   38,   38,   37,   25,   25,   40,    6,
-       40,    7,   40,    6,   10,   40,   40,   40,   40,   19,
-       40,   40,   21,   40,   16,   40,   40,   40,   40,   40,
-       20,   20,   40,   20,   40,   36,    3,    3,    2,   40,
-        5,    4,    5,   40,   40,    4,    4,   40,    2,    7,
-       40,    5,    6,    5,    6,   40,    5,   40,   40,   40,
-       25,   39,   40,    6,   40,    7,   40,   40,   40,   40,
-       40,   19,   40,   40,   21,   40,   16,   40,   40,   40,
-       40,   40,   20,   40,   20,   20,   40,    2,   40,    5,
-       40,   40,    4,   40,    2,    7,   40,    5,    6,   40,
-
-        5,   40,   40,   40,    7,    1,   40,   40,   40,   19,
-       40,   40,   40,   21,   21,   40,   21,   40,   40,   40,
-       40,   30,   36,    2,    2,   40,    5,    4,    5,    5,
-       40,    2,    7,   39,    1,   40,   40,   40,   19,   40,
-       40,   40,   21,   40,   21,   21,   40,   40,   40,   40,
-       20,   39,    2,   40,    5,   40,   27,   38,   23,   23,
-       22,   22,   24,   24,   20,   21,    1,    1,   40,   40,
-       40,   40,   11,   40,   40,   28,   36,   30,    2,    2,
-        5,   27,   34,   39,   39,    1,   40,   40,   40,   40,
-       21,   39,   11,   40,   40,   20,   39,   18,   24,   20,
-
-       21,    1,    1,   19,   40,   40,   40,   11,   40,   40,
-       40,   40,   21,   39,   40,   11,   40,   40,   12,   40,
-       40,   40,   40,   12,   40,   40,   14,   40,   40,   40,
-       14,   40,   40,   40,   39,   40,   40,   40,   40,   39,
-       39,   40,   40,   31,   40,   39,   39,   31,   40,   13,
-       31,   32,   32,   35,   39,   39,   31,   39,   34,   29
+       44,   42,   43,   42,   43,   42,   43,   41,   42,   43,
+       42,   43,   26,   42,   43,   42,   43,   41,   42,   43,
+       41,   42,   43,16411,   41,   42,   43,16411,   42,   43,
+       41,   42,   43,   41,   42,   43,   41,   42,   43,   41,
+       42,   43,   41,   42,   43,   41,   42,   43,   41,   42,
+       43,   41,   42,   43,   41,   42,   43,   41,   42,   43,
+       41,   42,   43,   42,   43,   41,   42,   43,   41,   42,
+       43,   41,   42,   43,   41,   42,   43,   41,   42,   43,
+       41,   42,   43,   41,   42,   43,   41,   42,   43,   41,
+       42,   43,   41,   42,   43,   41,   42,   43,   41,   42,
+
+       43,   41,   42,   43,   41,   42,   43,   41,   42,   43,
+       41,   42,   43,   41,   42,   43,   41,   42,   43,   42,
+       43,   42,   43,   41,   42,   43,   41,   42,   43,   41,
+       42,   43,16411,   41,   42,   43,16411,   42,   43,   41,
+       42,   43,   41,   42,   43,   41,   42,   43,   41,   42,
+       43,   41,   42,   43,   41,   42,   43,   41,   42,   43,
+       41,   42,   43,   41,   42,   43,   41,   42,   43,   41,
+       42,   43,   41,   42,   43,   41,   42,   43,   41,   42,
+       43,   41,   42,   43,   41,   42,   43,   41,   42,   43,
+       41,   42,   43,   41,   42,   43,   41,   42,   43,   41,
+
+       42,   43,   41,   42,   43,   41,   42,   43,   41,   42,
+       43,   41,   42,   43,   41,   42,   43,   41,   42,   43,
+       41,   42,   43,   41,   42,   43,   42,   43,   34,   41,
+       18,   41,   10,   41,   41,   41,16411, 8219,   41,   36,
+       41,   41,   41,   41,   41,   41,   41,   41,   41,   41,
+       41,   10,   41,   41,   41,   41,   37,   41,    4,   41,
+       41,    5,   41,   41,   41,   41,   41,   41,   10,   41,
+       41,   41,   35,   41,   41,   10,   41,   41,   41,16411,
+     8219,   41,   41,   41,   41,   41,   41,   41,   41,   41,
+       41,   41,   41,   10,   41,   41,   41,   41,   41,    4,
+
+       41,   41,    5,   41,   41,   41,   41,   41,   41,   10,
+       41,   41,   41,   16,   10,   41,   24,   41,   24,    9,
+       41, 8219,   23,   41,   23,   25,   41,   41,   41,   41,
+       41,    7,   41,   41,   41,   41,   41,   41,   10,   41,
+       41,   41,   41,    5,   41,   41,    4,    4,   41,    4,
+       41,    4,   41,    5,    6,   41,    5,    5,   41,   41,
+       41,   41,   10,   41,   41,   35,   40,   10,   41,   24,
+       41,    9,   41,   23,   41,   36,   41,   41,   41,   41,
+       41,    7,   41,   41,   41,   41,   41,   41,   10,   41,
+       41,   41,   41,    5,   41,   41,    4,   41,    4,   41,
+
+        4,   41,    6,   41,    5,   41,   41,   41,   41,   10,
+       41,   41,   39,   39,   39,   38,   26,   26,    7,   41,
+       11,    7,   41,    3,   41,    8,   41,    7,   41,    7,
+        7,   41,    7,   41,   41,   41,   41,   20,   41,   41,
+       17,   41,   41,   41,   41,   41,   37,    4,   41,    4,
+        2,   41,    6,    5,    6,    6,   41,   41,    5,    5,
+       41,   41,   26,   40,   41,    7,   41,    3,   41,    8,
+       41,   41,    7,   41,    7,   41,   41,   41,   41,   20,
+       41,   41,   17,   41,   41,   41,   41,   41,   41,    2,
+       41,    6,   41,   41,    5,   41,   41,   39,    8,    7,
+
+        7,    3,    8,    8,   41,    7,    1,   41,   21,   41,
+       41,   20,   41,   41,   41,   41,   41,   41,   31,   37,
+        2,    2,    2,   41,    6,    6,    6,   41,   40,    8,
+       41,    1,   41,   41,   41,   20,   41,   41,   41,   41,
+       41,   41,    2,   41,    6,   41,   28,   39,    8,    1,
+       24,   24,   23,   23,   25,   25,    8,    1,    1,   41,
+       22,   21,   41,   41,   41,   12,   41,   41,   29,   37,
+       31,    2,    2,   28,   35,   40,   40,    1,   41,   41,
+       41,   41,   12,   41,   41,   19,    1,   25,    1,   22,
+       20,   41,   41,   41,   12,   41,   41,   41,   41,   41,
+
+       12,   41,   41,   13,   41,   41,   41,   41,   13,   41,
+       41,   15,   41,   41,   41,   15,   41,   41,   41,   40,
+       41,   41,   41,   41,   40,   40,   41,   41,   32,   41,
+       40,   40,   32,   41,   14,   32,   33,   33,   36,   40,
+       40,   32,   40,   35,   30
     } ;
 
-static yyconst short int yy_accept[712] =
+static yyconst flex_int16_t yy_accept[720] =
     {   0,
         1,    1,    1,    2,    4,    6,    8,   11,   13,   16,
        18,   21,   25,   29,   31,   34,   37,   40,   43,   46,
-       49,   52,   55,   58,   61,   64,   67,   70,   72,   75,
-       78,   81,   84,   87,   90,   93,   96,   99,  101,  103,
-      106,  109,  113,  117,  119,  122,  125,  128,  131,  134,
-      137,  140,  143,  146,  149,  152,  155,  158,  161,  164,
-      167,  170,  173,  176,  179,  182,  185,  187,  187,  188,
-      189,  189,  189,  189,  189,  190,  190,  190,  191,  191,
-      193,  193,  193,  193,  194,  194,  194,  196,  196,  198,
-      198,  199,  199,  200,  200,  201,  201,  201,  202,  203,
-
-      204,  205,  206,  207,  208,  209,  210,  212,  213,  214,
-      215,  216,  217,  217,  217,  217,  217,  218,  219,  221,
-      221,  222,  223,  225,  226,  228,  228,  229,  231,  232,
-      233,  234,  236,  236,  236,  236,  237,  237,  238,  238,
-      239,  241,  241,  242,  244,  244,  246,  246,  247,  248,
-      248,  249,  250,  251,  252,  253,  254,  255,  256,  257,
-      259,  260,  261,  262,  263,  264,  265,  267,  267,  268,
-      269,  271,  272,  274,  274,  275,  277,  278,  279,  280,
-      282,  282,  282,  282,  282,  282,  282,  282,  282,  282,
-      282,  282,  283,  283,  283,  283,  285,  287,  288,  290,
-
-      291,  291,  291,  291,  293,  294,  295,  295,  295,  295,
-      295,  296,  296,  297,  297,  298,  298,  298,  300,  301,
-      302,  303,  304,  305,  306,  308,  309,  310,  311,  312,
-      314,  314,  314,  314,  314,  316,  316,  317,  317,  317,
-      319,  320,  322,  323,  325,  325,  325,  327,  328,  330,
-      331,  331,  332,  334,  335,  337,  340,  342,  343,  345,
-      346,  346,  346,  346,  346,  347,  349,  351,  353,  355,
-      355,  356,  356,  357,  358,  358,  359,  361,  362,  363,
-      364,  365,  366,  367,  369,  370,  371,  372,  373,  375,
-      377,  378,  378,  380,  381,  383,  385,  387,  388,  390,
-
-      391,  391,  392,  394,  396,  399,  401,  402,  404,  404,
-      404,  405,  406,  406,  406,  407,  407,  407,  408,  408,
-      409,  409,  409,  409,  410,  410,  410,  410,  410,  410,
-      410,  410,  410,  410,  410,  410,  412,  412,  412,  414,
-      415,  416,  417,  417,  418,  419,  420,  422,  422,  423,
-      425,  427,  428,  429,  430,  431,  432,  434,  436,  436,
-      436,  436,  436,  437,  438,  438,  439,  441,  442,  443,
-      443,  443,  443,  445,  446,  447,  447,  449,  449,  452,
-      454,  457,  459,  460,  461,  461,  462,  462,  462,  462,
-      462,  463,  463,  464,  464,  464,  466,  468,  469,  469,
-
-      470,  471,  472,  474,  475,  477,  479,  480,  481,  482,
-      483,  485,  486,  488,  490,  492,  493,  495,  498,  501,
-      503,  504,  505,  505,  505,  505,  505,  505,  505,  505,
-      505,  505,  505,  505,  505,  505,  505,  505,  505,  505,
-      506,  508,  509,  510,  510,  512,  512,  513,  514,  515,
-      517,  519,  520,  521,  522,  522,  522,  524,  524,  524,
-      525,  525,  525,  527,  528,  528,  529,  530,  530,  532,
-      532,  534,  534,  534,  534,  534,  534,  534,  535,  535,
-      535,  537,  538,  539,  541,  542,  543,  545,  546,  548,
-      549,  550,  551,  553,  555,  557,  557,  557,  559,  559,
-
-      559,  560,  560,  561,  561,  562,  562,  563,  563,  564,
-      564,  565,  565,  565,  565,  565,  567,  567,  568,  568,
-      568,  570,  571,  571,  571,  571,  571,  571,  572,  573,
-      575,  576,  578,  578,  579,  580,  581,  582,  582,  582,
-      584,  584,  584,  585,  586,  586,  586,  588,  589,  590,
-      591,  593,  595,  596,  598,  598,  599,  599,  599,  599,
-      600,  600,  600,  600,  602,  602,  603,  604,  604,  605,
-      605,  605,  605,  605,  606,  607,  608,  610,  611,  611,
-      611,  611,  611,  611,  612,  613,  615,  616,  618,  619,
-      619,  619,  619,  619,  619,  619,  620,  620,  620,  620,
-
-      620,  621,  622,  622,  622,  622,  622,  623,  624,  624,
-      624,  624,  624,  625,  625,  625,  625,  626,  627,  629,
-      629,  629,  629,  629,  630,  630,  631,  633,  633,  633,
-      633,  633,  634,  635,  635,  635,  635,  635,  636,  637,
-      638,  638,  638,  638,  638,  638,  639,  640,  640,  640,
-      640,  640,  641,  642,  643,  644,  644,  644,  644,  644,
-      644,  646,  646,  646,  646,  646,  647,  648,  650,  650,
-      650,  651,  651,  652,  652,  653,  653,  653,  655,  655,
-      656,  657,  657,  657,  657,  657,  659,  659,  659,  659,
-      659,  659,  659,  659,  659,  659,  659,  659,  659,  659,
-
-      659,  659,  659,  659,  659,  659,  659,  659,  660,  661,
-      661
+       49,   52,   55,   58,   61,   64,   66,   69,   72,   75,
+       78,   81,   84,   87,   90,   93,   96,   99,  102,  105,
+      108,  111,  114,  117,  120,  122,  124,  127,  130,  134,
+      138,  140,  143,  146,  149,  152,  155,  158,  161,  164,
+      167,  170,  173,  176,  179,  182,  185,  188,  191,  194,
+      197,  200,  203,  206,  209,  212,  215,  218,  221,  224,
+      227,  229,  229,  230,  231,  231,  231,  231,  231,  232,
+      232,  232,  232,  233,  233,  235,  235,  235,  235,  236,
+
+      236,  236,  238,  238,  240,  240,  241,  241,  242,  242,
+      243,  243,  244,  244,  245,  246,  247,  248,  249,  250,
+      251,  252,  254,  255,  256,  257,  257,  257,  257,  257,
+      258,  259,  261,  261,  262,  264,  265,  266,  267,  268,
+      269,  271,  272,  273,  273,  273,  273,  274,  274,  275,
+      275,  276,  278,  278,  279,  281,  281,  283,  283,  284,
+      285,  285,  286,  287,  288,  289,  290,  291,  292,  293,
+      294,  296,  297,  298,  299,  300,  302,  302,  303,  305,
+      306,  307,  308,  309,  310,  312,  313,  314,  314,  314,
+      314,  314,  314,  314,  314,  314,  314,  314,  314,  315,
+
+      315,  315,  315,  315,  315,  317,  319,  320,  322,  323,
+      323,  323,  323,  325,  326,  327,  327,  328,  328,  329,
+      329,  330,  331,  331,  332,  334,  334,  334,  334,  334,
+      334,  334,  334,  335,  336,  337,  338,  339,  341,  342,
+      343,  344,  344,  344,  344,  344,  346,  346,  347,  347,
+      348,  350,  352,  354,  355,  355,  357,  358,  360,  361,
+      362,  363,  365,  366,  367,  367,  367,  367,  367,  368,
+      370,  372,  374,  376,  376,  377,  377,  378,  379,  379,
+      380,  381,  382,  384,  384,  385,  386,  387,  388,  389,
+      391,  392,  393,  394,  396,  397,  397,  399,  401,  403,
+
+      405,  407,  408,  409,  410,  412,  413,  413,  413,  414,
+      415,  415,  415,  416,  416,  416,  417,  417,  417,  418,
+      418,  419,  419,  420,  420,  420,  420,  421,  421,  421,
+      421,  421,  421,  421,  421,  422,  424,  424,  424,  426,
+      428,  429,  429,  430,  430,  431,  433,  435,  436,  436,
+      436,  436,  436,  436,  436,  437,  438,  440,  440,  441,
+      443,  444,  445,  446,  447,  447,  447,  447,  447,  448,
+      449,  450,  450,  451,  453,  454,  455,  455,  455,  456,
+      458,  459,  460,  460,  462,  463,  463,  464,  464,  464,
+      464,  464,  465,  465,  466,  466,  466,  468,  470,  472,
+
+      473,  473,  475,  477,  478,  479,  480,  482,  483,  485,
+      486,  487,  488,  489,  490,  492,  494,  495,  497,  498,
+      498,  498,  498,  498,  499,  499,  499,  499,  499,  500,
+      501,  502,  502,  502,  502,  502,  502,  502,  502,  502,
+      502,  503,  503,  504,  506,  507,  509,  509,  509,  509,
+      509,  509,  510,  511,  512,  512,  514,  514,  515,  516,
+      517,  518,  519,  519,  519,  521,  521,  521,  522,  522,
+      523,  525,  526,  526,  527,  527,  529,  529,  529,  529,
+      529,  529,  529,  529,  530,  530,  530,  532,  534,  535,
+      536,  538,  539,  540,  541,  542,  543,  545,  547,  547,
+
+      547,  547,  547,  547,  547,  549,  549,  550,  551,  551,
+      552,  552,  553,  553,  554,  554,  555,  555,  556,  556,
+      557,  557,  557,  558,  558,  559,  561,  561,  561,  562,
+      562,  562,  563,  564,  564,  564,  564,  564,  564,  565,
+      566,  568,  569,  571,  571,  572,  573,  574,  574,  574,
+      576,  576,  576,  577,  578,  578,  578,  580,  581,  582,
+      583,  585,  586,  586,  587,  587,  587,  587,  587,  588,
+      588,  589,  590,  590,  590,  591,  591,  591,  592,  592,
+      592,  592,  592,  593,  594,  595,  597,  598,  598,  598,
+      598,  598,  598,  599,  600,  601,  603,  604,  604,  604,
+
+      604,  604,  604,  604,  605,  605,  605,  605,  605,  606,
+      607,  607,  607,  607,  607,  608,  609,  609,  609,  609,
+      609,  610,  610,  610,  610,  611,  612,  614,  614,  614,
+      614,  614,  615,  615,  616,  618,  618,  618,  618,  618,
+      619,  620,  620,  620,  620,  620,  621,  622,  623,  623,
+      623,  623,  623,  623,  624,  625,  625,  625,  625,  625,
+      626,  627,  628,  629,  629,  629,  629,  629,  629,  631,
+      631,  631,  631,  631,  632,  633,  635,  635,  635,  636,
+      636,  637,  637,  638,  638,  638,  640,  640,  641,  642,
+      642,  642,  642,  642,  644,  644,  644,  644,  644,  644,
+
+      644,  644,  644,  644,  644,  644,  644,  644,  644,  644,
+      644,  644,  644,  644,  644,  644,  645,  646,  646
     } ;
 
-static yyconst int yy_ec[256] =
+static yyconst flex_int32_t yy_ec[256] =
     {   0,
         1,    1,    1,    1,    1,    1,    1,    1,    2,    3,
         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
         1,    4,    1,    5,    6,    7,    8,    1,    9,   10,
        11,   12,   13,    1,   14,   15,   16,   17,   18,   19,
-       20,   20,   20,   20,   20,   20,   21,   22,   23,    1,
-       24,    1,    1,   25,   26,   27,   28,   29,   30,   31,
-       32,   33,   34,   34,   35,   36,   37,   38,   39,   40,
-       41,   42,   43,   34,   44,   34,   45,   46,   34,   34,
-       47,    1,   48,    1,   49,    1,   50,   51,   52,   53,
-
-       54,   55,   56,   57,   58,   34,   59,   60,   61,   62,
-       63,   64,   41,   65,   66,   67,   68,   34,   69,   46,
-       70,   34,   71,    1,   72,    1,    1,    1,    1,    1,
+       20,   20,   20,   20,   20,   20,   20,   21,   22,    1,
+       23,    1,    1,   24,   25,   26,   27,   28,   29,   30,
+       31,   32,   33,   33,   34,   35,   36,   37,   38,   39,
+       39,   40,   41,   42,   43,   42,   44,   45,   42,   42,
+       46,    1,   47,    1,   48,    1,   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,   70,   74,    1,   75,    1,    1,    1,    1,    1,
         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
@@ -477,694 +565,718 @@ static yyconst int yy_ec[256] =
         1,    1,    1,    1,    1
     } ;
 
-static yyconst int yy_meta[73] =
+static yyconst flex_int32_t yy_meta[76] =
     {   0,
         1,    2,    3,    2,    1,    1,    1,    1,    4,    5,
-        6,    1,    1,    7,    1,    1,    4,    8,    8,    8,
-        4,    9,    1,   10,    1,    4,   11,    4,    4,    4,
-        4,    4,    4,    4,   11,    4,    4,   11,   12,   12,
-       11,   11,    4,    4,    4,    7,    1,    1,    1,   13,
-       14,   13,   13,   15,   13,   13,   13,    4,   11,    4,
-        4,   11,   12,   12,   11,    4,    4,    4,    4,    4,
-        1,    1
+        6,    1,    7,    8,    1,    1,    9,    9,    9,    9,
+       10,    1,   11,    1,   12,   12,   12,   12,   12,   12,
+       12,   12,   13,   12,   13,   13,   12,   12,   12,   12,
+       13,   13,   13,   12,   14,    1,    1,    1,   15,   15,
+       15,   15,   16,   15,   15,   15,   15,   15,   15,   15,
+       17,   18,   18,   18,   18,   18,   17,   17,   17,   17,
+       17,   19,   17,    1,    1
     } ;
 
-static yyconst short int yy_base[787] =
+static yyconst flex_int16_t yy_base[807] =
     {   0,
-        0,   72, 2588, 4394,  119,  129,    0,  141, 2583,  139,
-      150,  171,  238, 2583,  257, 2527, 2518,  117,  159, 2518,
-     2530,  190,  142,  233,  191, 2512,  239,  317,  376,  420,
-      125,  205,  193,  114,  243,  120,  204,  331, 2574,  174,
-      353,  476,  258,  260,  543,  244,  282,  346,  311,  334,
-      256,  312,  365,  595,  331,  351,  354,  644,  688,  242,
-      348,  327,  365,  386,  303,  392,  552, 2521,  432,    0,
-     2566,  258,  557,  282, 4394, 2562,  393,  320, 2556, 2554,
-     2552,  342,  442, 2551,  457,  364,  605, 2550,    0, 2562,
-     4394,  576,  530,  617,  732,  625,  661,  449, 2514, 2509,
-
-     2512, 2517, 2492, 2493, 2490, 2517, 2515,  463,  572, 2503,
-     2494, 2489, 2502,  789,  372,  861, 4394,  669,  924,  705,
-      713,  468,  980,  765, 1032,  773,  789, 1076,  481,  637,
-     2486, 2485,  390, 2475,  830, 2542, 2541,  383, 2540,  617,
-      593,  546,  858,  874,  406,  579,  432,  865, 1120, 1005,
-      505,  683,  726,  727,  621,  872,  870,  876,  603,  873,
-      905,  665,  891,  884,  882,  973, 1168, 1013, 1049,  936,
-     1225, 1057, 1277, 1093, 1101, 1321,  641,  983,  928,  930,
-      896, 2478,  538,  543,  612, 2531,  622, 1030, 1221, 2528,
-     2466, 4394, 2532, 2531, 2529, 2518, 2527, 2526,    0, 4394,
-
-     2525, 2524, 2523, 2521, 2520,  443, 2465, 2459, 2471, 2466,
-      668,  709,  594, 1218,  732,  753,  756, 1365, 2467, 2466,
-     2446,  803,  906, 2460, 2498,    0, 2453, 2449, 2441, 1422,
-      689, 1069,  172, 1494,  790, 1251, 1294, 1302, 1415, 2496,
-      838,  976, 1288, 1557, 1413, 1449,  678,  629,  910, 1338,
-     1346,  992, 1105, 1502, 1057, 1609, 1182, 1100, 2492, 4394,
-     1510,  996, 2501,  191, 2501, 1172,  960,  962, 1158,  831,
-     2499, 1132, 1237,  889, 1482, 1300, 1653, 1176, 1228, 1010,
-     1273, 1315, 1175, 1190,    0, 1204, 1531, 1071, 1710, 1774,
-     1550, 1582, 1242, 1443, 1551, 1830, 1272, 1239, 1121, 1493,
-
-     1590, 1606, 1659, 1141, 1882, 1673, 1721, 1427, 1504, 2447,
-     4394,  843, 1025, 2489, 4394, 1727, 2487, 2485, 2423, 2422,
-     2475, 2474, 2473, 2473, 1010, 2472,  539, 2471, 1290, 1541,
-      610, 2421, 2421, 2414, 2414,    0,  939, 1197,    0, 4394,
-     4394, 1699, 1710, 1344, 2420, 2419,  885,  879, 1130, 1939,
-        0, 2438, 2420, 2421, 2420,    0, 2011, 2083,  733,  949,
-     1131, 1410, 2468, 2461, 1365, 4394, 2146, 1356, 1154,  689,
-     1752, 1796, 1157,  715, 2417, 2406,    0, 1386,    0, 1564,
-     2202, 1802, 1633, 2406, 1857, 2464, 1571, 1672, 2417, 2403,
-     2462, 1187, 1451, 1003,  894, 1295, 1470, 1718, 1855, 1823,
-
-     1555, 1665, 1782, 1796, 2267, 1574, 1588, 1826, 1647, 1674,
-     2339, 2460, 2411, 2475, 1840, 1858, 1608,    0, 2531, 1905,
-     1956, 1857, 1728, 2409, 2451, 1639, 2450, 2385, 2445, 2383,
-     2443, 2381, 2434, 1281, 2399, 2395, 2395, 2390, 1389, 4394,
-     2587, 2443, 1146, 1916, 2442, 1281, 2415, 2390,    0, 2652,
-     2724, 2378, 2378, 2428, 1322, 1883, 4394, 2426, 1966, 1457,
-     2002, 2076, 2419, 1428,  952, 4394, 2375, 2364,    0, 2410,
-     1544, 1774, 2396, 1877, 2392, 2347, 2341, 1521, 1030, 1255,
-     2787, 1676, 1881, 1788, 1891, 1861, 2852, 2402, 2924, 1963,
-     1841, 1944, 2402, 1691, 1649, 1816, 1235, 4394, 1979, 2393,
-
-     2392, 2330, 2329, 2389, 2388, 2326, 2325, 2385, 2381, 2319,
-     2318, 2366, 2362, 2315, 2323, 1377, 2320, 1778, 2004, 2102,
-     2355, 2310, 2348, 2304, 2287, 2326, 2288, 2289, 2264, 1524,
-     2279, 4394, 1980, 4394, 2317, 4394, 4394, 2312, 2053, 2319,
-     2268, 2261, 2315, 1999, 1555,  548, 1908, 1982, 1951, 1786,
-     2301, 2043, 2029, 2297, 2054, 4394, 2243, 2158, 2289, 2284,
-     2219, 2205, 2209, 4394, 2198, 2239, 4394, 2235, 2228, 2174,
-     2228, 2182, 2157, 2174, 2105, 2086,    0, 2061, 2130, 2120,
-     2054, 1040,  358, 2032, 2091, 2073, 2093, 1970, 2136, 2120,
-     1988, 2029, 1542, 1985, 1941, 1941, 1923,  884, 1858, 1831,
-
-     2996, 1815, 1772, 1768, 1617,  651, 3068, 2150, 2149, 1757,
-     1745, 1725, 4394, 1623, 1924, 2045, 3140, 2054,    0, 1631,
-     1594, 1302, 1202, 3212, 2158, 2066, 2040, 2177, 1577, 1531,
-     2110, 1524, 1496, 1455, 1427, 1308, 1895, 2162, 1448, 1422,
-     2179, 1319, 1298, 2163, 2154, 1285, 1115, 1083, 1117, 1726,
-     1576, 2196, 2198, 1062,  984, 2193, 2056,  930, 2153, 2166,
-        0,  902,  804,  803, 1618, 2210, 2238,    0, 2213,  583,
-     4394,  497, 2199,  486, 4394,  426,  460, 4394, 2116, 2203,
-     2254, 2231,  392,  317, 1804, 2255, 2281,  239, 2027,  829,
-     2006, 2117, 2293, 2295, 2298, 2299, 2303, 2317, 2321, 2322,
-
-     2323, 2365, 2366, 2369, 2370, 2371, 2233,  154, 4394, 4394,
-     3281, 3296, 3311, 3326, 3341, 3353, 3368, 3383, 3397, 3412,
-     3427, 3442, 3457, 3472, 3487, 3502, 3517, 3532, 3547, 3562,
-     3577, 3592, 3607, 3622, 3633, 3648, 3663, 3678, 3693, 3708,
-     3723, 3738, 3753, 3768, 3783, 3792, 3807, 3822, 3837, 3852,
-     3867, 3882, 3897, 3908, 3923, 3938, 3953, 3968, 3983, 3998,
-     4013, 4028, 4043, 4058, 4073, 4088, 4103, 4118, 4133, 4148,
-     4163, 4174, 4188, 4203, 4218, 4233, 4244, 4258, 4273, 4288,
-     4303, 4318, 4333, 4348, 4363, 4378
+        0,   75, 3179, 4554,  126,  135,    0,  146, 3113,  144,
+      155,  175,  166, 3113,  237,  163, 3059, 3033,  123,  249,
+      245,  261,  253,  283,  300,  356,  418,  256,  259,  272,
+      277,  286,  336,  293,  227,  295,  347,  334,  149,  150,
+      387,  322,  376,  404,  406, 3081,  401,  437,  489,  441,
+      218,  554,  329, 3028, 3015,  275,  400,  395,  562,  482,
+      468,  573,  616,  429,  391,  535,  566,  589,  591,  599,
+      601,  628,  631,  633,  685,  686,  687,  691,  693,  709,
+      721, 3025,  477,    0, 3069,  303,  735,  176, 4554, 3062,
+      783,  167,  364, 3056, 3056, 3054,  462,  755, 3054,  480,
+
+      180,  715, 3053,    0, 3066, 4554,    0,  807,    0,  859,
+        0,  919,  964, 3019, 3014, 3017, 3022, 2995,  577, 2995,
+     3024, 3023, 2993, 3010, 3001, 3009, 1035,  465, 1110, 4554,
+     1137, 1189,    0, 1214, 1266,  604,  729,  755, 2987, 2991,
+     2990, 2985, 2994,  352, 2972,  774, 3042, 3041,  643, 3040,
+      789,  711,  565,  796, 1338,  370,  695,  561, 1403, 1455,
+     3039, 1515, 2993, 2988,  802,  742,  758,  763, 2972, 3001,
+      809, 2971,  803, 2980, 1539, 1591, 3032, 1616, 1668,  925,
+      932, 1002,  716,  926,  939,  805,  946,  806, 2969,  652,
+      712,  716,  732,  776, 1043,  995, 3023, 2957, 4554,  945,
+
+     1051, 3027, 3026, 3025, 3014, 3023, 3018,    0, 4554, 3017,
+     3016, 3015, 3012, 3001, 1063,  965,  978, 1009, 1717, 1753,
+     1014, 1056, 1068, 1072, 1805, 1128, 2943, 2936, 2935, 2948,
+     2943,  568, 1073, 1110, 2924,  818, 2941, 2979, 2935, 2931,
+     1133,  613, 1133,  300, 1878, 1944,    0, 1949,    0, 2980,
+     2978, 2977, 1128, 1149, 1412, 2000, 2977, 2975,  751, 2932,
+     2930, 2966, 2911, 4554, 1527,  836, 2973,  397, 2969,  861,
+     1154,  810, 1156,  785, 2967,  534, 1419, 2045, 2966, 1424,
+     1522, 1523, 2097, 2964, 1744, 1886, 1134, 1887, 1425, 1162,
+     1888, 1153, 1922, 2162, 2167, 2963, 1339, 2955, 1780, 2218,
+
+     1340, 1404, 1057, 1906, 1406, 1892, 1463, 2912, 4554,  895,
+      946,  951,  976,  999, 1069, 4554, 1566, 2953, 2952, 2887,
+     2886, 1326, 2262, 2942, 2941, 2937, 2936,  385, 2935,  494,
+     2930,  978, 1937,  989, 4554, 2325, 1947, 1430,    0, 2361,
+      806, 1131, 2358, 2036, 1267, 2935, 2934, 1561, 2877, 2870,
+     2863, 2857, 2855, 2859, 2861, 2860,  270,  823,  851,    0,
+     2880, 2861, 2861, 2857, 1164, 1190, 1135, 1559, 2889, 2881,
+     1737, 1899, 4554, 2042, 1910, 2880, 1080, 1911, 1912, 2879,
+     1298, 4554, 2825,    0, 2825, 2261, 2883, 2261, 2323, 2837,
+     2816, 2875,  758, 1927,  822, 1351, 2410, 1458, 2446, 2483,
+
+     2873, 2003, 2861, 2488, 2265, 2317, 2319, 2037, 1594, 2046,
+     1941, 1902, 2320, 2493, 2506, 2165, 2535, 1671, 2221, 2107,
+     2818, 1225, 2855, 1268, 1271, 1277, 1374, 1406, 1806, 2844,
+     2838, 1998, 2836, 2770, 2824, 2741, 2802, 2736, 2792, 1894,
+     4554, 1936, 2320, 2795, 4554, 2590, 2744, 2726, 1996, 2719,
+     2714, 2701, 2763,  785, 2453, 2762, 1581, 2736, 2711, 2697,
+     2694, 2749, 1404, 1712, 4554, 2742, 2375, 2322, 2323, 2362,
+     2735, 2726, 2165, 4554, 2665,    0, 2684, 2455, 2680, 2069,
+     2666, 2617, 2610, 1499, 1757, 1817, 2536, 2627, 2542, 2540,
+     2544, 2543, 2545, 2546, 2549, 2564, 2560, 2553, 2420,  902,
+
+     1460, 2665, 1628, 1673, 4554, 2569, 2638, 2508, 2636, 2635,
+     2570, 2569, 2632, 2631, 2566, 2565, 2601, 2600, 2534, 2532,
+     2589, 2584, 4554, 2567, 2568, 2573, 2520, 2522, 2529,  550,
+     2505, 4554, 2510, 2517, 2468, 2444, 2472, 2447, 2458, 2429,
+     1859, 2445, 4554, 2591, 4554, 2457, 4554, 2452, 2670, 2462,
+     2412, 2407, 2459, 1790, 2178,  787, 2593, 2630, 2665, 2671,
+     2672, 2673, 2681, 4554, 2408, 2449, 1841, 2690, 2448, 2453,
+     2428, 4554, 2368, 2372, 4554, 2366, 2416, 2410, 2319, 2376,
+     2308, 2280, 2301, 2243, 2221,    0, 2202, 2694, 2235, 2167,
+     1925, 1113, 2682, 2695, 2696, 2706, 2709, 2682, 2170, 2193,
+
+     1882, 2113, 2105, 2015, 2056, 1787, 2045, 1955, 2777, 1960,
+     1878, 1873, 2089, 1963, 2852, 2710, 2721, 1753, 1743, 1738,
+     4554, 1622, 2057, 2058, 2927, 2159,    0, 1624, 1541, 1990,
+     2116, 3002, 2671, 2184, 2711, 2730, 1531, 1502, 2703, 1501,
+     1365, 1363, 1250, 1988, 1755, 2718, 1143, 1109, 2737, 1096,
+     1065, 2705, 2179, 1065, 1036,  948,  976, 2322, 1991, 2739,
+     2772,  936,  905, 2740, 2539,  713, 2182, 2183,    0,  765,
+      710,  681, 2328, 2771, 2773,    0, 2747,  627, 4554,  504,
+     2467,  453, 4554,  372,  418, 4554, 2088, 2788, 2783, 2806,
+      266,  199, 2084, 2815, 2826,  199, 2371,  373, 1311, 1604,
+
+     2827, 2828, 2830, 2834, 2836, 2866, 2879, 2881, 2882, 2894,
+     2901, 2903, 2909, 2910, 1946,  165, 4554, 4554, 3074, 3093,
+     3106, 3120, 3139, 3158, 3174, 3193, 3212, 3230, 2162, 2251,
+     2253, 3248, 3267, 2293, 3286, 3305, 3321, 3340, 3359, 3378,
+     3397, 3416, 3435, 3454, 3466, 3485, 3504, 3523, 3542, 3550,
+     2410, 3565, 3581, 3600, 3616, 3635, 3654, 3673, 3692, 3711,
+     3730, 3749, 3768, 3787, 3806, 3818, 3833, 3847, 3866, 3885,
+     3904, 3920, 3935, 3951, 3970, 3986, 4005, 4024, 4043, 4062,
+     4081, 4100, 4119, 4134, 4148, 4167, 4186, 4205, 4224, 4243,
+     4262, 4281, 4300, 4315, 4334, 4353, 4372, 4387, 4401, 4420,
+
+     4439, 4458, 4477, 4496, 4515, 4534
     } ;
 
-static yyconst short int yy_def[787] =
+static yyconst flex_int16_t yy_def[807] =
     {   0,
-      710,  710,  710,  710,  710,  710,  711,  712,  710,  710,
-      711,  710,   12,  713,  711,  711,  711,  711,   15,  711,
-      711,   15,  711,  711,   15,  711,  711,  714,  711,   15,
-       29,   29,   29,   29,   29,   29,  711,  715,  710,  716,
-      716,  710,   42,  713,  716,  716,  716,  716,   45,  716,
-      716,   45,  716,  716,   45,  716,  716,  716,   45,   58,
-       58,   58,   58,   58,   58,  716,  715,  710,  710,  711,
-      717,  718,  717,  710,  710,  710,  710,  711,  710,  711,
-      710,  719,  719,  711,  719,  710,   12,  710,  711,  713,
-      710,  710,  711,  710,  711,  710,  710,   95,  711,  711,
-
-      711,  711,  711,  711,  711,  711,  711,  711,   95,  711,
-      711,  711,  720,  714,  720,  721,  710,  711,  711,  710,
-      711,  711,  711,  711,  119,  710,  711,  123,   95,  711,
-      711,  711,  715,  722,  715,  710,  723,  716,  710,  716,
-      716,  710,  716,   42,  710,  716,  724,  716,  148,  710,
-      149,  716,  716,  716,  716,  716,  716,  716,  716,  716,
-      716,  149,  716,  716,  716,  148,  148,  710,  148,  716,
-      716,  148,  167,  710,  148,  171,  149,  716,  716,  716,
-      715,  710,  717,  725,  725,  726,  727,  717,  717,  728,
-      729,  710,  710,  710,  710,  711,  711,  710,  711,  710,
-
-      710,  710,  710,  711,  710,  710,  710,  710,  710,  710,
-      711,  710,   95,  710,  711,  710,  710,  711,  711,  711,
-      711,  711,  711,  711,  711,  218,  711,  711,  711,  730,
-      731,  732,  733,  734,  123,  710,  711,  710,  710,  711,
-      711,  711,  735,  711,  710,  710,  711,  711,  123,  711,
-      710,  711,  711,  735,  123,  244,  711,  711,  711,  710,
-      715,  710,  736,  710,  737,  716,  716,  716,  716,  738,
-      736,  739,  716,  149,  710,  716,  149,  716,  716,  716,
-      716,  716,  716,  716,  277,  716,  716,  716,  740,  716,
-      716,  710,  716,  716,  716,  290,  716,  716,  290,  291,
-
-      710,  716,  716,  290,  296,  716,  716,  716,  715,  710,
-      710,  741,  741,  742,  710,  743,  744,  744,  745,  745,
-      710,  710,  710,  711,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  711,  746,  710,  711,  710,
-      710,  711,  710,  711,  711,  711,  711,  710,  711,  747,
-      711,  711,  711,  711,  711,  748,  749,  749,  750,  750,
-      751,  752,  753,  710,  710,  710,  711,  754,  710,  710,
-      710,  710,  711,  711,  710,  710,  711,  710,  367,  754,
-      367,  711,  711,  711,  715,  710,  710,  710,  710,  710,
-      755,  710,  716,  756,  756,  716,  716,  291,  710,  716,
-
-      716,  716,  716,  716,  757,  716,  716,  716,  716,  716,
-      758,  748,  758,  716,  716,  716,  716,  414,  414,  716,
-      716,  716,  715,  710,  759,  760,  761,  762,  763,  764,
-      765,  766,  710,  710,  710,  710,  710,  710,  710,  710,
-      711,  711,  711,  710,  711,  710,  711,  711,  767,  768,
-      768,  711,  711,  711,  769,  770,  710,  771,  710,  772,
-      710,  710,  711,  710,  710,  710,  710,  710,  711,  710,
-      772,  715,  710,  710,  710,  710,  710,  773,  774,  774,
-      414,  716,  716,  716,  716,  716,  775,  767,  775,  716,
-      716,  716,  776,  716,  716,  715,  710,  710,  760,  761,
-
-      761,  762,  762,  763,  763,  764,  764,  765,  765,  766,
-      766,  710,  710,  710,  710,  710,  710,  777,  710,  710,
-      711,  711,  778,  710,  710,  710,  710,  711,  711,  711,
-      711,  710,  710,  710,  710,  710,  710,  710,  715,  710,
-      710,  710,  773,  773,  774,  774,  716,  716,  716,  716,
-      779,  716,  716,  776,  715,  710,  710,  760,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  778,  778,  710,
-      710,  710,  710,  711,  711,  711,  711,  711,  715,  710,
-      710,  774,  774,  716,  716,  779,  716,  716,  716,  715,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-
-      780,  711,  710,  710,  774,  774,  781,  716,  715,  710,
-      710,  710,  710,  710,  782,  782,  780,  617,  711,  710,
-      710,  774,  774,  781,  782,  624,  716,  715,  710,  710,
-      782,  617,  617,  710,  710,  774,  774,  783,  624,  624,
-      715,  710,  710,  782,  782,  617,  617,  710,  710,  774,
-      774,  783,  783,  624,  624,  715,  710,  710,  782,  782,
-      617,  784,  710,  785,  774,  783,  783,  624,  715,  710,
-      710,  710,  782,  784,  710,  710,  785,  710,  774,  783,
-      783,  715,  710,  710,  774,  783,  715,  710,  774,  715,
-      786,  786,  786,  786,  786,  786,  786,  786,  786,  786,
-
-      786,  786,  786,  786,  786,  786,  786,  710,  710,    0,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710
+      718,  718,  718,  718,  718,  718,  719,  720,  718,  721,
+      719,  718,   12,  722,  719,   15,   15,   15,   15,   15,
+       15,   15,   15,   15,   15,  723,   15,   27,   27,   27,
+       27,   27,   27,   27,   27,   27,   27,   27,  719,  719,
+      719,  719,  719,  719,  724,  718,  725,  725,  718,   49,
+      722,  725,   52,   52,   52,   52,   52,   52,   52,   52,
+       52,   52,   52,   63,   63,   63,   63,   63,   63,   63,
+       63,   63,   63,   63,  725,  725,  725,  725,  725,  725,
+      724,  718,  718,  719,  726,  727,  726,  718,  718,  718,
+      718,  718,  719,  718,  719,  718,  728,  728,  719,  728,
+
+      718,   12,  718,  719,  722,  718,  729,  719,  730,  718,
+      731,  719,  718,  112,  112,  719,  719,  719,  112,  112,
+      108,  719,  112,  719,  112,  732,  723,  732,  733,  718,
+      719,  718,  734,  719,  718,  719,  719,  719,  719,  719,
+      719,  719,  719,  724,  735,  724,  718,  736,  737,  718,
+      737,  737,  718,  737,  718,  718,  737,  738,  737,  718,
+      731,  159,  162,  162,  737,  737,  737,  162,  162,  159,
+      737,  162,  737,  162,  159,  718,  734,  159,  718,  737,
+      737,  737,  737,  737,  737,  737,  737,  724,  718,  739,
+      740,  740,  741,  742,  739,  739,  743,  744,  718,  745,
+
+      745,  718,  718,  718,  719,  719,  718,  719,  718,  718,
+      718,  718,  719,  718,  718,  718,  719,  718,  719,  718,
+      719,  719,  718,  219,  718,  745,  718,  718,  718,  718,
+      718,  718,  719,  719,  719,  719,  719,  719,  719,  719,
+      719,  746,  747,  748,  749,  719,  750,  719,  751,  750,
+      719,  248,  719,  752,  752,  719,  255,  719,  719,  719,
+      719,  719,  719,  718,  724,  718,  753,  718,  754,  755,
+      755,  755,  755,  756,  753,  757,  755,  755,  220,  755,
+      755,  278,  718,  226,  755,  755,  755,  755,  755,  755,
+      755,  755,  755,  755,  282,  751,  755,  295,  755,  294,
+
+      755,  755,  755,  755,  755,  755,  724,  718,  718,  758,
+      759,  760,  761,  758,  762,  718,  763,  764,  764,  765,
+      765,  718,  718,  718,  718,  718,  719,  718,  718,  718,
+      718,  718,  718,  718,  718,  719,  766,  718,  719,  719,
+      767,  767,  719,  766,  767,  719,  343,  719,  718,  718,
+      718,  718,  718,  718,  719,  719,  719,  718,  719,  719,
+      719,  719,  719,  719,  768,  768,  769,  770,  771,  718,
+      719,  718,  718,  772,  773,  718,  718,  773,  773,  719,
+      719,  718,  718,  719,  719,  724,  718,  718,  718,  718,
+      718,  774,  718,  755,  775,  775,  755,  755,  397,  755,
+
+      344,  755,  400,  755,  755,  755,  755,  755,  755,  755,
+      755,  755,  755,  755,  776,  755,  755,  755,  755,  724,
+      718,  777,  778,  779,  780,  781,  782,  783,  784,  718,
+      344,  718,  785,  786,  787,  788,  789,  790,  718,  718,
+      718,  784,  784,  719,  718,  719,  718,  718,  718,  718,
+      718,  718,  719,  719,  718,  719,  718,  719,  719,  719,
+      719,  719,  791,  792,  718,  793,  718,  794,  794,  794,
+      719,  718,  718,  718,  718,  719,  718,  724,  718,  718,
+      718,  718,  718,  795,  796,  796,  755,  755,  755,  755,
+      755,  755,  755,  755,  755,  755,  755,  755,  724,  718,
+
+      779,  797,  780,  781,  718,  783,  718,  798,  785,  785,
+      786,  786,  787,  787,  788,  788,  789,  789,  790,  790,
+      718,  718,  718,  798,  798,  719,  718,  718,  718,  718,
+      718,  718,  719,  799,  718,  718,  718,  718,  719,  719,
+      719,  719,  718,  718,  718,  718,  718,  718,  724,  718,
+      718,  718,  795,  795,  796,  796,  755,  755,  755,  755,
+      755,  755,  724,  718,  718,  797,  779,  783,  718,  718,
+      718,  718,  718,  718,  718,  718,  799,  799,  718,  718,
+      718,  718,  719,  719,  719,  719,  719,  724,  718,  718,
+      796,  796,  755,  755,  755,  755,  755,  724,  718,  718,
+
+      718,  718,  718,  718,  718,  718,  718,  718,  800,  719,
+      718,  718,  796,  796,  801,  755,  724,  718,  718,  718,
+      718,  718,  802,  802,  800,  625,  719,  718,  718,  796,
+      796,  801,  802,  632,  755,  724,  718,  718,  802,  625,
+      625,  718,  718,  796,  796,  803,  632,  632,  724,  718,
+      718,  802,  802,  625,  625,  718,  718,  796,  796,  803,
+      803,  632,  632,  724,  718,  718,  802,  802,  625,  804,
+      718,  805,  796,  803,  803,  632,  724,  718,  718,  718,
+      802,  804,  718,  718,  805,  718,  796,  803,  803,  724,
+      718,  718,  796,  803,  724,  718,  796,  724,  806,  806,
+
+      806,  806,  806,  806,  806,  806,  806,  806,  806,  806,
+      806,  806,  806,  806,  806,  718,  718,    0,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+
+      718,  718,  718,  718,  718,  718
     } ;
 
-static yyconst short int yy_nxt[4467] =
+static yyconst flex_int16_t yy_nxt[4630] =
     {   0,
         4,    4,    4,    5,    4,    4,    6,    4,    7,    8,
         4,    9,   10,    7,    4,    4,   11,   12,   13,   13,
-       13,    4,   14,    4,    4,    7,   15,   16,   17,    7,
-        7,   18,    7,    7,   19,   20,   21,   22,   23,   24,
-       22,   25,   26,    7,   27,    7,   28,    4,    4,   29,
-       30,   31,   32,   33,   34,   35,   36,    7,   19,   20,
-       21,   22,   37,   24,   25,   26,    7,    7,   27,    7,
-       38,    4,    4,    4,    4,    5,    4,   39,    6,   39,
-        7,    8,    4,    9,   10,   40,    4,    4,   41,   42,
-       43,   43,   43,    4,   44,    4,    4,   40,   45,   46,
-
-       47,   40,   40,   48,   40,   40,   49,   50,   51,   52,
-       53,   54,   52,   55,   56,   40,   57,   40,   28,    4,
-        4,   58,   59,   60,   61,   62,   63,   64,   65,   40,
-       49,   50,   51,   52,   66,   54,   55,   56,   40,   40,
-       57,   40,   67,    4,   68,   69,   69,   69,   69,   69,
-       72,   75,   76,   77,  102,  106,  709,   73,   73,   73,
-       73,   73,  710,   78,  122,   79,   80,  123,   68,  123,
-      122,   81,   82,   82,   83,  123,  362,  123,  103,   70,
-      107,  130,   70,  710,   84,   85,   86,   87,   87,   87,
-       87,   87,   88,  710,  710,  139,   70,   89,   70,   70,
-
-       70,   70,   70,   70,   70,   89,   70,   70,   89,   89,
-       89,   89,   89,   70,   70,   70,   70,  131,   70,  363,
-       89,   89,   89,   89,   89,   89,   89,   89,   70,   89,
-       70,   70,   89,   89,   89,   89,   70,   70,   70,   70,
-       70,   82,   92,  122,  109,  123,  389,  123,   94,   70,
-       70,   70,   70,  710,  390,  122,  123,   97,  123,  710,
-       92,   82,   91,  147,   70,  139,  132,  186,  187,  101,
-       93,  138,   94,  710,   95,   95,   95,  139,   96,  139,
-      102,   97,  108,  108,  108,  108,  108,  108,  108,  108,
-       70,  190,  662,  122,  171,  111,  112,  123,  178,  123,
-
-      153,  112,   93,  139,  103,  158,   98,   98,   98,   98,
-       98,   98,   98,   98,  710,  710,   99,  113,  114,  114,
-      114,  113,  113,  113,  113,  113,  113,  113,  113,  113,
-      115,  113,  113,  134,  710,  710,  196,  197,  113,  113,
-      113,  113,   70,   82,   82,   82,  154,  135,  135,  135,
-      135,  135,  191,  170,   70,  139,   77,   92,  171,   70,
-       91,   70,   70,  113,  117,  113,  140,  139,   79,  141,
-      138,  138,  139,   70,  142,  139,  688,  170,  159,  171,
-      205,  171,  206,  155,  162,  231,  139,  113,  113,  118,
-      138,   70,  134,  119,  119,  119,  157,  120,  170,  171,
-
-       70,  171,  136,  160,  139,  179,  193,  156,  194,  265,
-      164,  165,  154,  139,  195,  170,  165,  163,  171,  117,
-      171,  121,  205,  155,  606,  122,  123,  122,  122,  122,
-      122,  122,  122,  124,  271,  272,  170,  125,  125,  125,
-      171,  126,  171,   82,   82,   82,  330,  156,   69,   69,
-       69,   69,   69,  556,  180,  201,  331,  202,   82,   82,
-       82,  136,  678,  203,  331,  127,  218,  218,  218,  128,
-      129,  128,  129,  129,  129,  129,  129,   82,   82,   83,
-      226,  226,  226,  684,   70,  244,  244,  244,  675,  143,
-       85,   86,  144,  144,  144,  144,  144,  145,  256,  256,
-
-      256,  138,  146,  138,  138,  138,  138,  138,  138,  138,
-      146,  138,  138,  146,  146,  146,  146,  146,  138,  138,
-      138,  138,  277,  277,  277,  146,  146,  146,  146,  146,
-      146,  146,  146,  138,  146,  138,  138,  146,  146,  146,
-      146,  138,  138,  138,  138,  138,   92,  184,  311,  265,
-       91,   70,  186,  312,  134,  205,  148,  206,   94,  683,
-      149,  149,  149,  198,  150,  181,  184,   97,  135,  135,
-      135,  135,  135,  188,  188,  188,  188,  188,  189,  211,
-      211,  211,  211,  211,  211,  211,  211,   70,  148,  218,
-      218,  218,  151,  151,  151,  151,  151,  151,  151,  151,
-
-      139,   70,  152,   70,  207,  583,  208,   70,   82,  268,
-       94,   70,  209,  433,  139,  710,  139,  210,   70,   97,
-      710,  186,  312,  136,  139,   70,  710,  434,  207,   70,
-      208,  314,  315,  266,  267,  671,  209,  227,  139,   70,
-      210,  284,  139,  376,  161,  161,  161,  161,  161,  161,
-      161,  161,   70,   91,  244,  244,  244,  166,  305,  305,
-      305,  167,  167,  167,  281,  168,  212,  212,  212,  212,
-      212,  212,  212,  212,  216,  216,  216,  216,  216,  216,
-      216,  216,  277,  277,  277,  336,  336,  336,  375,  169,
-      220,   70,  377,  170,  171,  170,  170,  170,  170,  170,
-
-      170,  172,  360,  376,  139,  173,  173,  173,  623,  174,
-      217,  217,  217,  217,  217,  217,  217,  217,  235,  235,
-      235,  235,  235,  235,  235,  235,  337,  337,  337,  468,
-      286,  248,  278,  175,   70,   70,  117,  176,  177,  176,
-      177,  177,  177,  177,  177,  213,  360,  139,  139,  339,
-      339,  339,  466,  214,  243,  243,  243,  243,  243,  243,
-      243,  243,  123,  123,  123,  123,  123,  123,  123,  123,
-      340,  340,  340,  341,  341,  341,  280,  213,  469,  279,
-      117,  215,  215,  215,  215,  215,  215,  215,  215,  113,
-      114,  114,  114,  113,  113,  113,  113,  113,  113,  113,
-
-      113,  113,  113,  113,  113,  678,  348,   70,   70,   70,
-      113,  113,  113,  113,  249,  249,  249,  249,  249,  249,
-      249,  249,  254,  254,  254,  254,  254,  254,  254,  254,
-      349,  691,  134,  271,  272,  113,  117,  113,  255,  255,
-      255,  255,  255,  255,  255,  255,  135,  135,  135,  135,
-      135,  261,  314,  315,  349,  367,  367,  367,  676,  113,
-      113,  113,  232,  232,  232,  233,   70,  113,  113,  113,
-      113,  113,  113,   70,  269,  113,  113,   82,   70,  139,
-       70,   70,  113,  113,   70,  113,  139,  138,  444,  710,
-       70,  139,   70,  139,  139,  139,   91,  139,  134,   70,
-
-      136,  136,  138,  139,  675,  139,  446,  113,  117,  309,
-      139,  268,  139,   70,  273,  273,  273,  273,  273,  273,
-      273,  273,  285,  285,  285,  524,  139,  336,  336,  336,
-      446,  113,  113,  236,  138,  282,   70,  237,   70,  281,
-      287,  288,  283,  289,   70,  238,  445,  239,  524,  139,
-      240,  139,  343,  296,  296,  296,  480,  139,  240,  350,
-      343,  240,  455,  325,  240,  240,  468,  136,   70,  237,
-       70,  350,  350,  241,  242,  241,  241,  241,  241,  241,
-      241,  139,  240,  139,  343,  240,  366,  672,  240,  245,
-      308,   70,  268,  367,  367,  367,  117,  244,  244,  244,
-
-      296,  296,  296,  246,  139,   91,  247,  386,  265,  379,
-      379,  379,  387,  388,  247,  537,  265,  247,   70,  427,
-      247,  247,  290,  290,  290,  290,  290,  290,  290,  290,
-      247,  139,   91,  248,  314,  315,  279,  668,  247,  184,
-      311,  247,   91,  605,  247,  250,  188,  188,  188,  188,
-      188,  189,  479,  251,  216,  216,  216,  216,  216,  216,
-      216,  216,  243,  243,  243,  243,  243,  243,  243,  243,
-      232,  232,  232,  233,  381,  381,  381,  250,  403,   70,
-      428,  252,  253,  252,  252,  252,  252,  252,  252,  213,
-      545,  668,  139,  256,  256,  256,  265,  214,  171,  171,
-
-      171,  171,  171,  171,  171,  171,  299,  299,  299,  299,
-      299,  299,  299,  299,  376,  366,  117,  339,  339,  339,
-      663,  213,  379,  379,  379,  215,  257,  215,  215,  258,
-      215,  215,  215,  274,   91,  362,  662,  410,  396,  396,
-      396,  275,  254,  254,  254,  254,  254,  254,  254,  254,
-      304,  304,  304,  304,  304,  304,  304,  304,  419,  419,
-      419,  329,  447,  377,  375,  274,   70,  467,  661,  276,
-      276,  276,  276,  276,  276,  276,  276,  236,  363,  139,
-       70,  291,  522,   70,   70,  393,  448,  394,  478,  292,
-      478,  239,  375,  139,  293,  395,  139,  139,   70,  339,
-
-      339,  339,  293,  407,   91,  293,  522,  370,  293,  293,
-      374,  139,   70,  291,  440,  440,  440,  294,  295,  294,
-      294,  294,  294,  294,  294,  139,  293,  401,  406,  293,
-      184,  311,  293,   70,  245,  248,   70,  316,  316,  316,
-      316,  316,  296,  296,  296,   70,  139,   70,  246,  139,
-       70,  297,  366,  376,  396,  396,  396,   91,  139,  297,
-      139,  408,  297,  139,  637,  297,  297,  338,  338,  338,
-      338,  338,  338,  338,  338,  297,  348,  364,  298,  402,
-       70,   70,  375,  297,  512,  364,  297,  556,  364,  297,
-      300,  364,  364,  139,  139,  557,  513,  245,  301,  429,
-
-      404,  364,  417,   70,   91,  368,  368,  368,   70,  364,
-       91,  246,  364,  526,  661,  364,  139,  397,  397,  397,
-      546,  139,  300,   70,  404,  298,  302,  303,  302,  302,
-      302,  302,  302,  302,  274,  455,  139,  527,  305,  305,
-      305,  370,  275,  241,  241,  241,  241,  241,  241,  241,
-      241,  365,  365,  365,  365,  365,  365,  365,  365,  636,
-      430,  441,  441,  441,  658,  371,  274,  650,  405,  532,
-      276,  306,  276,  276,  307,  276,  276,  276,  342,  372,
-      405,  405,  460,  460,  460,  657,  343,  252,  252,  252,
-      252,  252,  252,  252,  252,  378,  378,  378,  378,  378,
-
-      378,  378,  378,  471,  471,  471,  518,  518,  518,  465,
-      342,  456,  456,  456,  344,  344,  344,  344,  344,  344,
-      344,  344,  356,  356,  236,  356,  356,  356,  356,  356,
-      563,  356,  356,  356,  356,   70,  356,  356,  467,  369,
-      422,  364,  564,  356,  356,  356,  356,  369,  139,  364,
-      369,   70,  364,  369,  369,  364,  364,  457,  245,   70,
-      414,  414,  414,  369,  139,  364,  461,  268,  356,  356,
-      356,  369,  139,  364,  369,  369,  364,  369,   70,  364,
-      462,  465,  655,  369,  654,  265,  369,  358,  649,  369,
-      369,  139,  356,  356,  113,  232,  232,  232,  233,  369,
-
-      113,  113,  113,  113,  113,  113,  134,  369,  113,  113,
-      369,  245,  134,  369,  648,  113,  113,  423,  113,  380,
-      380,  380,  544,  392,  544,  246,  385,  385,  385,  385,
-      385,  338,  338,  338,  338,  338,  338,  338,  338,   70,
-      113,  117,  302,  302,  302,  302,  302,  302,  302,  302,
-      431,  431,  139,  461,  331,  370,  647,   91,   70,   70,
-      646,  366,  331,   70,  113,  113,  371,  462,  414,  414,
-      414,  139,  139,  371,   77,  136,  139,  576,   91,  665,
-      372,  136,   70,  373,  473,  265,   79,  372,  643,  577,
-      409,  373,   81,  265,  373,  139,   70,  373,  373,  294,
-
-      294,  294,  294,  294,  294,  294,  294,  373,  582,  139,
-      374,  432,  432,  482,   70,  373,   70,  465,  373,   91,
-       91,  373,  342,  418,  418,  418,  268,  139,  642,  139,
-      343,  365,  365,  365,  365,  365,  365,  365,  365,  378,
-      378,  378,  378,  378,  378,  378,  378,  468,  184,  498,
-      441,  441,  441,  499,  342,   70,  635,   70,  344,  382,
-      344,  344,  383,  344,  344,  344,  398,   70,  139,  366,
-      139,  622,  679,   70,  399,  474,  418,  418,  418,   92,
-      139,   70,   70,  375,   70,  475,  139,   86,  634,  630,
-      397,  397,  397,   88,  139,  139,  469,  139,  398,   70,
-
-      491,  536,  400,  400,  400,  400,  400,  400,  400,  400,
-      356,  356,  139,  356,  356,  356,  356,  356,  357,  356,
-      356,  356,  356,  483,  356,  356,  298,  492,   91,   70,
-      134,  412,  356,  356,  356,  376,  184,  311,  397,  397,
-      397,  496,  139,  426,  426,  426,  426,  426,  344,  344,
-      344,  344,  344,  344,  344,  344,  356,  356,  356,  439,
-      439,  439,  439,  439,  439,  439,  439,  400,  400,  400,
-      400,  400,  400,  400,  400,  413,  134,  613,  464,  664,
-      356,  356,   70,  245,  417,  444,  464,  519,  539,  464,
-       70,  444,  464,  464,   70,  139,   70,  246,  629,  136,
-
-      297,  520,  464,  139,   70,  371,   91,  139,  297,  139,
-      464,  297,  467,  464,  297,  297,  464,  139,  134,  441,
-      441,  441,  464,  556,  297,  621,  620,  298,  485,  555,
-      464,   70,  297,  464,   70,  297,  464,  464,  297,  371,
-      481,  481,  481,  484,  139,  540,  464,  139,   70,   70,
-      467,  585,  486,  372,  464,  374,  415,  464,  265,  134,
-      464,  139,  139,  689,  415,   70,   70,  415,  619,   70,
-      415,  415,  468,  472,  472,  472,  472,  472,  139,  139,
-      415,  490,  139,  416,  456,  456,  456,  136,  415,   70,
-      201,  415,  202,  416,  415,  398,  615,   91,  203,   70,
-
-      615,  553,  139,  399,  439,  439,  439,  439,  439,  439,
-      439,  439,  139,   70,  550,  467,   70,  548,  567,  268,
-      549,  495,  481,  481,  481,  523,  139,  398,  136,  139,
-      457,  400,  420,  400,  400,  421,  400,  400,  400,  449,
-      449,  548,  449,  449,  449,  449,  449,   92,  449,  449,
-      449,  449,   70,  449,  449,  631,  651,  524,  416,   70,
-      449,  449,  449,  449,   70,  139,  525,  533,  533,  533,
-      468,   70,  139,  481,  481,  481,  614,  139,   70,  631,
-      524,  533,  533,  533,  139,  449,  449,  449,  184,  311,
-       70,  139,  451,  584,  612,  558,  558,  558,  558,  558,
-
-      544,  392,  544,  139,  451,  451,  613,  596,  693,  449,
-      449,  356,  356,  534,  356,  356,  356,  356,  356,  495,
-      356,  356,  356,  356,  552,  356,  356,  534,  535,   91,
-      566,  158,  356,  356,  356,  356,  535,   70,  566,  535,
-       70,  566,  535,  535,  566,  566,  611,  560,   70,  610,
-      139,   70,  535,  139,  566,  134,  134,  356,  356,  356,
-      535,  139,  566,  535,  139,  566,  535,  590,  566,  579,
-      579,  579,  579,  579,  607,  392,  631,  260,  589,  632,
-      664,  356,  356,  356,  356,  461,  356,  356,  356,  356,
-      356,  639,  356,  356,  356,  356,  587,  356,  356,   70,
-
-      631,   70,  535,  633,  356,  356,  356,  356,  588,  670,
-      535,  519,  139,  535,  139,  640,  535,  535,   91,  693,
-      604,  671,  134,  603,  136,  136,  535,  602,  566,  356,
-      356,  356,  134,  609,  535,  644,  566,  535,  577,  566,
-      535,  631,  566,  566,   70,  588,  579,  579,  579,  579,
-      579,  134,  566,  356,  356,  461,  607,  139,   70,  645,
-      566,  638,  628,  566,  392,  631,  566,  184,  498,  462,
-      601,  139,  463,  685,  558,  558,  558,  558,  558,  134,
-      463,  134,  673,  463,  631,  631,  463,  463,  260,  631,
-      641,  136,  656,  653,  631,  134,  463,  631,  392,  659,
-
-      392,  540,  608,  627,  463,  392,  669,  463,  631,  631,
-      463,  371,  392,  631,  660,  134,  601,  653,  631,  673,
-      136,  631,  600,  666,  599,  372,  682,  653,  373,  653,
-      631,  598,  686,  134,  653,  693,  373,  597,  569,  373,
-      392,  653,  373,  373,  687,  569,  680,  667,  136,  567,
-      136,  653,  373,  653,  631,  374,  392,  392,  653,  596,
-      373,  564,  595,  373,  136,  653,  373,  449,  449,  653,
-      449,  449,  449,  449,  449,  450,  449,  449,  449,  449,
-      594,  449,  449,  134,  136,  653,  653,  593,  488,  449,
-      449,  449,  592,  653,  690,  693,  591,  693,  681,  392,
-
-      693,  693,  136,  392,  708,  693,  694,  686,  695,  653,
-      653,  696,  697,  449,  449,  449,  698,  392,  581,  693,
-      489,  580,  262,  693,  693,  693,  537,  536,  578,  575,
-      699,  574,  489,  489,  700,  701,  702,  449,  449,  356,
-      356,  573,  356,  356,  356,  356,  356,  357,  356,  356,
-      356,  356,  136,  356,  356,  572,  571,  570,  569,  105,
-      412,  356,  356,  356,  260,  567,  260,  693,  693,  260,
-      260,  693,  693,  693,  260,  565,  562,  561,  703,  704,
-      560,  559,  705,  706,  707,  356,  356,  356,  260,  511,
-      511,  509,  260,  260,  260,  509,  507,  507,  505,  505,
-
-      503,  503,  501,  501,  392,  551,  542,  541,  205,  356,
-      356,  356,  356,  198,  356,  356,  356,  356,  356,  357,
-      356,  356,  356,  356,  466,  356,  356,  538,  465,  536,
-      459,   92,  412,  356,  356,  356,  260,  260,  531,  530,
-      260,  260,  260,  529,  528,  444,   92,  517,  516,  515,
-      514,  434,  511,  509,  507,  505,  503,  356,  356,  356,
-      501,  187,  497,  493,  392,  477,  476,   74,  199,  470,
-      370,  366,  459,  454,  453,  452,  199,  443,  442,  438,
-      437,  356,  356,   70,  461,  436,  435,  205,  205,  199,
-      198,  198,  198,  320,  320,  318,  139,  318,  462,  187,
-
-      424,  494,  264,  392,  264,  384,  366,  355,  354,  494,
-      353,  352,  494,  351,  347,  494,  494,  346,  345,  335,
-      334,  333,  332,  329,  329,  494,  328,  327,  326,  325,
-      325,  324,  323,  494,  322,  321,  494,  320,  318,  494,
-      371,  311,  310,  265,  264,  262,  260,  199,  259,  117,
-      230,  229,  228,  199,  372,  225,  224,  415,  223,  222,
-      222,  221,  220,  219,   91,  415,  205,  204,  415,  198,
-      199,  415,  415,  198,  192,  184,  182,  137,  110,  105,
-      104,  415,  101,  100,  416,   91,   74,  710,  710,  415,
-      710,  710,  415,  710,  710,  415,  519,  710,  710,  710,
-
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      520,  710,  710,  521,  710,  710,  710,  710,  710,  710,
-      710,  521,  710,  710,  521,  710,  710,  521,  521,  710,
-      710,  710,  710,  710,  710,  710,  710,  521,  710,  710,
-      710,  710,  710,  710,  710,  521,  710,  710,  521,  710,
-      710,  521,  449,  449,  710,  449,  449,  449,  449,  449,
-      710,  449,  449,  449,  449,  710,  449,  449,  710,  710,
-      710,  710,  710,  449,  449,  449,  449,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  449,  449,
-
-      449,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  449,  449,  449,  449,  710,  449,  449,  449,
-      449,  449,  710,  449,  449,  449,  449,  710,  449,  449,
-      710,  710,  710,  710,  710,  449,  449,  449,  449,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      449,  449,  449,  710,  710,  710,  710,  451,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  451,
-      451,  710,  710,  710,  449,  449,  519,  710,  710,  710,
-
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      520,  710,  710,  547,  710,  710,  710,  710,  710,  710,
-      710,  547,  710,  710,  547,  710,  710,  547,  547,  710,
-      710,  710,  710,  710,  710,  710,  710,  547,  710,  710,
-      710,  710,  710,  710,  710,  547,  710,  710,  547,  710,
-      710,  547,  449,  449,  710,  449,  449,  449,  449,  449,
-      450,  449,  449,  449,  449,  710,  449,  449,  710,  710,
-      710,  710,  710,  488,  449,  449,  449,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  449,  449,
-
-      449,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  449,  449,  449,  449,  710,  449,  449,  449,
-      449,  449,  450,  449,  449,  449,  449,  710,  449,  449,
-      710,  710,  710,  710,  710,  488,  449,  449,  449,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      449,  449,  449,  710,  710,  710,  710,  489,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  489,
-      489,  710,  710,  710,  449,  449,  616,  616,  710,  616,
-
-      616,  616,  616,  616,  710,  616,  616,  616,  616,  710,
-      616,  616,  710,  710,  710,  710,  710,  616,  616,  616,
-      616,  710,  710,  710,  710,  710,  710,  618,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  616,  616,  616,  710,  710,  710,  710,  710,
-      710,  618,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  616,  616,  616,  616,
-      710,  616,  616,  616,  616,  616,  617,  616,  616,  616,
-      616,  710,  616,  616,  710,  710,  710,  710,  710,  625,
-      616,  616,  616,  710,  710,  710,  710,  710,  710,  626,
-
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  616,  616,  616,  710,  710,  710,
-      710,  710,  710,  626,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  616,  616,
-      616,  616,  710,  616,  616,  616,  616,  616,  710,  616,
-      616,  616,  616,  710,  616,  616,  710,  710,  710,  710,
-      710,  616,  616,  616,  616,  710,  710,  710,  710,  710,
-      710,  618,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  616,  616,  616,  710,
-      710,  710,  710,  710,  710,  618,  710,  710,  710,  710,
-
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      616,  616,  616,  616,  710,  616,  616,  616,  616,  616,
-      617,  616,  616,  616,  616,  710,  616,  616,  710,  710,
-      710,  710,  710,  625,  616,  616,  616,  710,  710,  710,
-      710,  710,  710,  626,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  616,  616,
-      616,  710,  710,  710,  710,  710,  710,  626,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  616,  616,   70,  710,  710,   70,   70,  710,
-      710,   70,   70,   70,   70,   70,   71,   71,   71,   71,
-
-       71,  710,   71,   71,   71,   71,   71,   71,   71,   71,
-       71,   90,   90,   90,   90,   90,   90,   90,   90,   90,
-       90,   90,   90,   90,   90,   90,  116,  116,  116,  116,
-      116,  116,  116,  116,  116,  116,  116,  116,  116,  116,
-      116,  133,  133,  133,  133,  133,  133,  133,  133,  133,
-      133,  133,  133,  133,  133,  133,  138,  710,  710,  138,
-      138,  138,  710,  138,  138,  138,  138,  138,  183,  183,
-      183,  183,  183,  710,  183,  183,  183,  183,  183,  183,
-      183,  183,  183,  185,  185,  185,  185,  185,  185,  185,
-      185,  185,  185,  185,  185,  185,  185,  185,  200,  200,
-
-      710,  710,  710,  710,  710,  710,  710,  200,  200,  200,
-      200,  200,  113,  113,  113,  113,  113,  113,  113,  113,
-      113,  113,  113,  113,  113,  113,  113,  234,  234,  234,
-      234,  234,  234,  234,  234,  234,  234,  234,  234,  234,
-      234,  234,  134,  134,  134,  134,  134,  134,  134,  134,
-      134,  134,  134,  134,  134,  134,  134,  263,  263,  263,
-      263,  263,  263,  263,  263,  263,  263,  263,  263,  263,
-      263,  263,  270,  270,  270,  270,  270,  270,  270,  270,
-      270,  270,  270,  270,  270,  270,  270,  185,  185,  185,
-      185,  185,  185,  185,  185,  185,  185,  185,  185,  185,
-
-      185,  185,  186,  186,  186,  186,  186,  186,  186,  186,
-      186,  186,  186,  186,  186,  186,  186,  313,  313,  313,
-      313,  313,  313,  313,  313,  313,  313,  313,  313,  313,
-      313,  313,  317,  317,  710,  317,  317,  317,  317,  317,
-      317,  317,  317,  317,  317,  317,  317,  319,  319,  710,
-      319,  319,  319,  319,  319,  319,  319,  319,  319,  319,
-      319,  319,  357,  357,  710,  357,  357,  357,  357,  357,
-      357,  357,  357,  357,  357,  357,  357,  359,  359,  359,
-      359,  359,  359,  359,  359,  359,  359,  359,  359,  359,
-      359,  359,  113,  113,  113,  113,  113,  113,  113,  113,
-
-      113,  113,  113,  113,  113,  113,  113,  361,  361,  361,
-      361,  361,  361,  361,  361,  361,  361,  361,  361,  361,
-      361,  361,  234,  234,  234,  234,  234,  234,  234,  234,
-      234,  234,  234,  234,  234,  234,  234,  369,  710,  710,
-      369,  710,  369,  369,  710,  710,  369,  369,  263,  263,
-      263,  263,  263,  263,  263,  263,  263,  263,  263,  263,
-      263,  263,  263,  391,  391,  391,  391,  391,  391,  391,
-      391,  391,  391,  391,  391,  391,  391,  391,  270,  270,
-      270,  270,  270,  270,  270,  270,  270,  270,  270,  270,
-      270,  270,  270,   90,   90,   90,   90,   90,   90,   90,
-
-       90,   90,   90,   90,   90,   90,   90,   90,  411,  411,
-      710,  411,  411,  411,  411,  411,  411,  411,  411,  411,
-      411,  411,  411,  313,  313,  313,  313,  313,  313,  313,
-      313,  313,  313,  313,  313,  313,  313,  313,  425,  425,
-      425,  425,  710,  425,  425,  425,  425,  425,  425,  425,
-      425,  425,  425,  183,  183,  183,  183,  183,  183,  183,
-      183,  183,  183,  183,  183,  183,  183,  183,  317,  317,
-      710,  317,  317,  317,  317,  317,  317,  317,  317,  317,
-      317,  317,  317,  319,  319,  710,  319,  319,  319,  319,
-      319,  319,  319,  319,  319,  319,  319,  319,  439,  710,
-
-      439,  710,  710,  710,  439,  439,  439,  450,  450,  710,
-      450,  450,  450,  450,  450,  450,  450,  450,  450,  450,
-      450,  450,  356,  356,  710,  356,  356,  356,  356,  356,
-      356,  356,  356,  356,  356,  356,  356,  357,  357,  710,
-      357,  357,  357,  357,  357,  357,  357,  357,  357,  357,
-      357,  357,  359,  359,  359,  359,  359,  359,  359,  359,
-      359,  359,  359,  359,  359,  359,  359,  361,  361,  361,
-      361,  361,  361,  361,  361,  361,  361,  361,  361,  361,
-      361,  361,  113,  113,  113,  113,  113,  113,  113,  113,
-      113,  113,  113,  113,  113,  113,  113,  458,  458,  458,
-
-      458,  458,  458,  458,  458,  458,  458,  458,  458,  458,
-      458,  458,  464,  710,  710,  710,  710,  464,  464,  710,
-      710,  464,  464,  391,  391,  391,  391,  391,  391,  391,
-      391,  391,  391,  391,  391,  391,  391,  391,   90,   90,
-       90,   90,   90,   90,   90,   90,   90,   90,   90,   90,
-       90,   90,   90,  487,  487,  710,  487,  487,  487,  487,
-      487,  487,  487,  487,  487,  487,  487,  487,  411,  411,
-      710,  411,  411,  411,  411,  411,  411,  411,  411,  411,
-      411,  411,  411,  425,  425,  425,  425,  710,  425,  425,
-      425,  425,  425,  425,  425,  425,  425,  425,  183,  183,
-
-      183,  183,  183,  183,  183,  183,  183,  183,  183,  183,
-      183,  183,  183,  500,  500,  710,  500,  500,  500,  500,
-      500,  500,  500,  500,  500,  500,  500,  500,  502,  502,
-      710,  502,  502,  502,  502,  502,  502,  502,  502,  502,
-      502,  502,  502,  504,  504,  710,  504,  504,  504,  504,
-      504,  504,  504,  504,  504,  504,  504,  504,  506,  506,
-      710,  506,  506,  506,  506,  506,  506,  506,  506,  506,
-      506,  506,  506,  508,  508,  710,  508,  508,  508,  508,
-      508,  508,  508,  508,  508,  508,  508,  508,  510,  510,
-      710,  510,  510,  510,  510,  510,  510,  510,  510,  510,
-
-      510,  510,  510,  449,  449,  710,  449,  449,  449,  449,
-      449,  449,  449,  449,  449,  449,  449,  449,  450,  450,
-      710,  450,  450,  450,  450,  450,  450,  450,  450,  450,
-      450,  450,  450,  359,  359,  359,  359,  359,  359,  359,
-      359,  359,  359,  359,  359,  359,  359,  359,  113,  113,
-      113,  113,  113,  113,  113,  113,  113,  113,  113,  113,
-      113,  113,  113,  458,  458,  458,  458,  458,  458,  458,
-      458,  458,  458,  458,  458,  458,  458,  458,  535,  710,
-      710,  710,  710,  535,  535,  710,  710,  535,  543,  543,
-      543,  543,  543,  543,  543,  543,  543,  543,  543,  543,
-
-      543,  543,  543,   90,   90,   90,   90,   90,   90,   90,
-       90,   90,   90,   90,   90,   90,   90,   90,  487,  487,
-      710,  487,  487,  487,  487,  487,  487,  487,  487,  487,
-      487,  487,  487,  554,  554,  554,  554,  554,  554,  554,
-      554,  554,  554,  554,  554,  554,  554,  554,  566,  710,
-      710,  710,  710,  566,  566,  710,  710,  566,  568,  568,
-      710,  568,  568,  568,  568,  568,  568,  568,  568,  568,
-      568,  568,  568,  586,  586,  586,  586,  586,  586,  586,
-      586,  586,  586,  586,  586,  586,  586,  586,  617,  617,
-      710,  617,  617,  617,  617,  617,  617,  617,  617,  617,
-
-      617,  617,  617,  624,  624,  710,  624,  624,  624,  624,
-      624,  624,  624,  624,  624,  624,  624,  624,  616,  616,
-      710,  616,  616,  616,  616,  616,  616,  616,  616,  616,
-      616,  616,  616,  652,  652,  652,  652,  652,  652,  652,
-      652,  652,  652,  652,  652,  652,  652,  652,  674,  674,
-      674,  674,  674,  674,  674,  674,  674,  674,  674,  674,
-      674,  674,  674,  677,  677,  677,  677,  677,  677,  677,
-      677,  677,  677,  677,  677,  677,  677,  677,  692,  692,
-      692,  692,  692,  692,  692,  692,  692,  692,  692,  692,
-      692,  692,  692,    3,  710,  710,  710,  710,  710,  710,
-
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710
+        4,   14,    4,    4,   15,   16,   17,   18,   15,   15,
+       19,   15,   15,   15,   15,   20,   21,   22,   21,   23,
+       24,   21,   21,   25,   21,   26,    4,    4,   27,   28,
+       29,   30,   31,   32,   33,   34,   35,   36,   37,   38,
+       39,   40,   41,   40,   40,   42,   43,   40,   40,   40,
+       44,   40,   40,   45,    4,    4,    4,    4,    5,    4,
+       46,    6,   46,    7,    8,    4,    9,   10,   47,    4,
+        4,   48,   49,   50,   50,    4,   51,    4,    4,   52,
+
+       53,   54,   55,   52,   52,   56,   52,   52,   52,   52,
+       57,   58,   59,   58,   60,   61,   58,   58,   62,   58,
+       26,    4,    4,   63,   64,   65,   66,   67,   68,   69,
+       70,   71,   72,   73,   74,   75,   76,   77,   76,   76,
+       78,   79,   76,   76,   76,   80,   76,   76,   81,    4,
+       82,   83,   83,   83,   83,   86,   89,   90,   92,  117,
+      107,  107,   87,   87,   87,   87,  113,  717,   93,   97,
+       94,   95,  107,  107,   82,   96,   97,   97,   98,   84,
+      202,  718,  203,   84,  118,  197,  718,  204,   99,  100,
+      101,  102,  102,  102,  102,  103,  214,  139,  215,  104,
+
+      104,  104,  104,  104,  104,  104,  104,   84,  104,   84,
+       84,  104,  104,  104,  104,   84,   84,   84,  104,   84,
+      106,  158,  114,  104,  104,  104,  104,  104,  104,  104,
+      104,  104,  104,  104,  104,   84,  104,  104,  104,  104,
+      104,   84,   84,   84,   84,   84,   84,   84,  107,  198,
+      108,  670,  109,  110,  110,  110,  110,  111,  696,  113,
+      107,  119,  119,  119,  119,  119,  119,  119,  119,  119,
+      119,  119,  119,  455,  121,  136,  136,  119,  119,  119,
+      119,  108,  135,  135,  135,  112,  112,  112,  112,  112,
+      112,  112,  112,  112,  112,  112,  112,  120,  122,  119,
+
+      119,  119,  119,  113,  368,  123,  135,  136,  108,  135,
+      135,  166,  193,  194,  138,  137,  119,  119,  119,  119,
+      136,  136,  135,  135,  135,  136,  136,  564,  135,  135,
+      135,  456,  113,  107,  136,  136,  167,  116,  135,  135,
+      135,  136,  136,  136,  136,  107,  369,  135,  135,  135,
+      124,  135,  135,  135,  145,  125,  126,  127,  127,  127,
+      126,  126,  126,  126,  126,  126,  126,  126,  126,  128,
+      126,  126,  117,  269,  142,  699,  126,  126,  126,  126,
+      205,  206,  136,  136,  136,  136,  214,  107,  163,  135,
+      135,  135,  135,  135,  433,  136,  136,  118,  107,  107,
+
+      140,  126,  130,  126,  135,  135,  135,  113,  145,   84,
+      107,  168,  168,  168,  168,  107,  168,  168,  168,  168,
+      686,  150,  146,  146,  146,  146,  147,  107,  692,  126,
+      126,  131,  113,  718,  132,  132,  132,  132,  133,  180,
+       92,  179,  179,  124,   97,   84,  182,  147,  169,  141,
+      151,  390,   94,  152,  149,  683,  718,  153,  434,  143,
+      391,  150,  134,   97,   97,   97,  135,  135,  136,  136,
+      136,  136,  136,  136,  136,  136,  136,  136,  242,  179,
+      147,   97,   97,   97,  168,  168,  168,  168,  181,  134,
+       97,   97,   98,   83,   83,   83,   83,   84,  168,  168,
+
+      168,  168,  154,  100,  101,  155,  155,  155,  155,  156,
+      214,  130,  215,  157,  157,  157,  157,  157,  157,  157,
+      157,  149,  157,  149,  149,  157,  157,  157,  157,  149,
+      149,  149,  157,  149,  172,  173,  106,  157,  157,  157,
+      157,  157,  157,  157,  157,  157,  157,  157,  157,  149,
+      157,  157,  157,  157,  157,  149,  149,  149,  149,  149,
+      149,  149,   84,  275,  276,  107,  691,  159,  269,  109,
+      160,  160,  160,  160,  161,  170,  113,  107,  168,  168,
+      168,  168,  207,  180,  180,  179,  179,  179,  395,  168,
+      168,  168,  168,   84,   84,   84,   84,  396,  159,  171,
+
+      165,  575,  162,  162,  162,  162,  162,  162,  162,  162,
+      162,  162,  162,  162,  180,  180,  532,  179,  179,  179,
+      256,  256,  256,  256,  354,  159,  366,  166,  174,  175,
+      354,  718,  176,  176,  176,  176,  177,  180,  180,  180,
+      180,  179,  179,  179,  179,  179,  179,  180,  180,  180,
+      180,   84,  167,  179,  179,  179,  179,  179,  179,  130,
+      178,  191,  309,  150,  179,  179,  180,  180,  180,  180,
+      180,  180,  180,  180,  180,  180,  180,  180,  679,  180,
+      180,  180,  180,  686,  179,  179,  179,  178,  179,  179,
+      179,  179,  179,   84,   84,   84,  107,  107,  107,   84,
+
+      184,   84,  107,   84,  107,  150,  150,  150,  107,  107,
+      107,  150,  113,  150,  107,  150,  107,   84,   97,   84,
+      107,  193,  310,  145,   84,  193,  310,  272,   84,  150,
+      718,  150,  107,  183,  188,  718,  150,  146,  146,  146,
+      146,  312,  313,  186,  191,  256,  256,  256,  256,  185,
+       84,  195,  195,  195,  195,  196,   97,   97,   97,  484,
+      173,  484,  150,  684,  187,  383,   84,  683,  210,  680,
+      211,  256,  256,  256,  256,  212,  145,  260,  150,  149,
+      149,  149,  149,  289,  288,  315,  316,  275,  276,  106,
+      146,  146,  146,  146,  265,  147,  111,   84,  109,  200,
+
+      200,  200,  200,  111,   84,  270,  271,  261,  145,  150,
+       84,   84,  273,   84,  384,  342,  150,   84,   84,  307,
+      533,  358,  150,  150,  106,  150,  288,  111,  345,  150,
+      150,  201,  201,  201,  201,  201,  201,  201,  201,  201,
+      201,  201,  201,  592,  359,  533,  272,  387,  147,  457,
+      287,  292,  388,  389,  111,  217,  217,  217,  217,  217,
+      217,  217,  217,  217,  217,  217,  217,   84,  359,   84,
+      485,  291,  219,  457,  394,   84,   84,   84,   84,  220,
+      147,  150,  458,  221,  221,  221,  221,  221,  221,  221,
+      221,  221,  221,  221,   84,   84,   84,   84,   84,   84,
+
+       84,   84,   84,  219,  315,  316,  459,  222,  222,  222,
+      222,  222,  222,  222,  222,  222,  222,  222,  222,   84,
+       84,   84,   84,   84,   84,   84,   84,   84,   84,   84,
+      219,   84,  224,   84,   84,  225,  225,  225,  225,  226,
+       84,  300,  300,  300,  300,  150,  150,   84,  300,  300,
+      300,  300,  150,  564,   84,  312,  313,  676,  226,  150,
+      423,  424,  565,  224,  676,  226,  150,  222,  222,  222,
+      222,  222,  222,  222,  222,  222,  222,  222,  222,  671,
+      303,  335,  335,  335,  335,  426,  194,  435,  305,  226,
+      224,  227,  439,  228,  336,  336,  336,  336,  229,  230,
+
+      670,  272,  306,  231,  191,  309,  440,  232,  315,  316,
+       84,  317,  317,  317,  317,  227,  226,  228,  300,  300,
+      300,  300,  150,  229,  230,  337,  337,  337,  337,  231,
+      339,  339,  339,  339,  232,  126,  127,  127,  127,  126,
+      126,  126,  126,  126,  126,  126,  126,  126,  126,  126,
+      126,  436,  191,  309,  304,  126,  126,  126,  126,  195,
+      195,  195,  195,  196,  226,   84,  333,  323,  323,  323,
+      323,  226,  340,  340,  340,  340,  334,  150,  426,  194,
+      126,  130,  126,  334,  341,  341,  341,  341,  669,  340,
+      340,  340,  340,  669,  383,  226,   84,   84,   84,   84,
+
+       84,   84,   84,   84,   84,   84,   84,  405,  126,  126,
+      126,  243,  243,  243,  244,  106,  126,  126,  126,  126,
+      126,  126,  226,  355,  126,  126,  340,  340,  340,  340,
+      126,  126,  666,  126,  243,  243,  243,  244,  373,  368,
+      718,  718,   84,  382,  374,  374,  374,  374,  718,  340,
+      340,  340,  340,  718,  150,  126,  130,  328,  255,  332,
+      356,   84,   84,  665,   84,  375,  375,  375,  375,  663,
+       84,  257,  718,  150,  150,  410,  150,  366,  662,  130,
+      614,  369,  150,  126,  126,  246,  246,  246,  246,  246,
+      246,  246,  246,  246,  246,  246,  246,   84,  247,  718,
+
+      364,  377,  248,  463,  407,   84,   84,   84,   84,  249,
+      130,  250,  412,  251,  251,  251,  251,  251,  251,  251,
+      251,  251,  251,  251,  251,  251,  251,  251,  251,  251,
+      251,  251,  251,  252,  423,  424,  130,  253,  253,  253,
+      253,  253,  253,  253,  253,  253,  253,  253,  253,  251,
+      251,  251,  251,  251,  251,  251,  251,  251,  251,  251,
+      252,  251,  135,  135,  135,  135,  135,  135,  135,  135,
+      135,  135,  135,  135,   84,  255,  342,  502,  503,   84,
+      426,  194,  256,  256,  256,  256,  502,  503,  257,  718,
+      258,  258,  258,  258,  258,  258,  258,  258,  258,  258,
+
+      258,  258,  258,  258,  258,  258,  258,  258,  258,  258,
+      258,  657,  475,  701,   84,   84,   84,   84,  259,   84,
+       84,   84,   84,   84,   84,   84,   84,   84,   84,   84,
+       84,   84,   84,   84,   84,   84,   84,   84,   84,   97,
+       97,   97,  429,  429,  429,  429,   84,   84,   84,  373,
+      382,  149,  100,  106,  155,  155,  155,  155,  150,  150,
+      150,  476,  157,  157,  157,  157,  157,  157,  157,  157,
+      149,  157,  149,  149,  157,  157,  157,  157,  149,  149,
+      149,  157,  149,  426,  194,  264,  157,  157,  157,  157,
+      157,  157,  157,  157,  157,  157,  157,  157,  149,  157,
+
+      157,  157,  157,  157,  149,  149,  149,  149,  149,  149,
+      149,   84,   84,  486,   84,  191,  505,  463,  383,  419,
+      506,  718,  656,  150,  150,  655,  150,   84,  718,  718,
+      718,  718,   84,   84,  718,  397,  397,  397,  397,  150,
+      398,  398,  398,  398,  150,  150,  441,  441,  441,  441,
+      543,  277,  277,  277,  277,  277,  277,  277,  277,  277,
+      277,  277,  277,   84,  718,  145,   84,  418,  278,  502,
+      503,  149,  149,  149,  149,  279,  420,  409,  150,  280,
+      280,  280,  280,  280,  280,  280,  280,  280,  280,  280,
+      149,  149,  149,  149,  149,  149,  149,  149,  149,  278,
+
+      554,  393,  554,  281,  281,  281,  281,  281,  281,  281,
+      281,  281,  281,  281,  281,  149,  149,  149,  149,  149,
+      149,  149,  149,  149,  149,  149,  278,  149,  282,  145,
+       84,  283,  283,  283,  283,  284,  654,  147,  399,  399,
+      399,  399,  150,  386,  386,  386,  386,  149,  149,  149,
+      149,  149,  149,  149,  149,  149,  149,  149,  651,  282,
+      464,  464,  464,  281,  281,  281,  281,  281,  281,  281,
+      281,  281,  281,  281,  281,  191,  309,  446,  446,  446,
+      446,  650,  428,  428,  428,  428,  282,  294,  294,  294,
+      294,  294,  294,  294,  294,  294,  294,  294,  294,   84,
+
+      247,  147,   84,  643,  295,  465,  701,  149,  149,  149,
+      149,  296,  537,  250,  150,  297,  297,  297,  297,  297,
+      297,  297,  297,  297,  297,  297,  297,  297,  297,  297,
+      297,  297,  297,  297,  297,  298,  538,  426,  194,  299,
+      299,  299,  299,  299,  299,  299,  299,  299,  299,  299,
+      299,  297,  297,  297,  297,  297,  297,  297,  297,  297,
+      297,  297,  298,  297,  179,  179,  179,  179,  179,  179,
+      179,  179,  179,  179,  179,  179,   84,  255,  264,   84,
+      642,  149,  502,  503,  300,  300,  300,  300,  150,  638,
+      257,  150,  301,  301,  301,  301,  301,  301,  301,  301,
+
+      301,  301,  301,  301,  301,  301,  301,  301,  301,  301,
+      301,  301,  301,  464,  464,  464,  149,  149,  149,  149,
+      302,  149,  149,  149,  149,  149,  149,  149,  149,  149,
+      149,  149,  149,  149,  149,  149,  149,  149,  149,  149,
+      149,  221,  221,  221,  221,  221,  221,  221,  221,  221,
+      221,  221,   84,  374,  374,  374,  374,  106,  465,  106,
+      399,  399,  399,  399,  150,  222,  222,  222,  222,  222,
+      222,  222,  222,  222,  222,  222,  222,  338,  338,  338,
+      338,  338,  338,  338,  338,  338,  338,  338,   84,  621,
+      373,  554,  393,  554,  405,  637,  415,  415,  415,  415,
+
+      150,  322,  322,  322,  322,  322,  322,  322,  322,  322,
+      322,  322,  322,   84,  342,  442,  659,  555,  343,  106,
+      564,   84,   84,   84,   84,  344,  535,  345,  443,  346,
+      346,  346,  346,  346,  346,  346,  346,  346,  346,  346,
+      346,  346,  346,  346,  346,  346,  346,  346,  346,  347,
+      502,  503,  535,  348,  348,  348,  348,  348,  348,  348,
+      348,  348,  348,  348,  348,   84,   84,   84,   84,   84,
+       84,   84,   84,   84,   84,   84,  343,   84,  126,  243,
+      243,  243,  244,  556,  126,  126,  126,  126,  126,  126,
+      358,  437,  126,  126,   84,   84,   84,  521,  126,  126,
+
+       84,  126,  399,  399,  399,  399,  150,  150,  150,  522,
+       84,  585,  150,  408,   84,  468,  468,  468,  468,  378,
+      718,  378,  150,  126,  130,  586,  150,  106,  613,  629,
+       84,  628,  379,  718,  718,   84,  406,  408,  399,  399,
+      399,  399,  150,  272,  411,  718,  437,  150,  701,   84,
+      334,  126,  126,  255,  495,  438,  406,  334,  718,  413,
+      344,  150,  473,  718,  718,  106,  257,  344,  258,  258,
+      258,  258,  258,  258,  258,  258,  258,  258,  258,  258,
+      258,  258,  258,  258,  258,  258,  258,  258,  258,  413,
+      106,  344,  106,  106,  673,  494,  259,  371,  371,  371,
+
+      371,  371,  371,  371,  371,  371,  371,  371,  371,  378,
+      438,   84,  627,  445,  508,  508,  508,  508,  344,  631,
+      716,  623,  379,  150,  380,  380,  380,  380,  380,  380,
+      380,  380,  380,  380,  380,  380,  380,  380,  380,  380,
+      380,  380,  380,  380,  380,   84,  644,  658,  529,  718,
+       84,  469,  381,   84,   84,   84,  718,  150,   84,   84,
+       84,   84,  529,  529,  470,  150,  150,  620,  492,  280,
+      280,  280,  280,  280,  280,  280,  280,  280,  280,  280,
+      718,  621,  210,  272,  211,  623,  106,  639,  639,  212,
+      106,  106,  493,  281,  281,  281,  281,  281,  281,  281,
+
+      281,  281,  281,  281,  281,   84,  342,  718,  622,  145,
+      400,  639,  639,  149,  149,  149,  149,  401,  106,  345,
+      499,  402,  402,  402,  402,  402,  402,  402,  402,  402,
+      402,  402,  402,  402,  402,  402,  402,  402,  402,  402,
+      402,  403,  630,  697,  693,  404,  404,  404,  404,  404,
+      404,  404,  404,  404,  404,  404,  404,  149,  149,  149,
+      149,  149,  149,  149,  149,  149,  149,  149,  400,  149,
+       84,  255,  604,   84,  619,  474,  216,  216,  645,  475,
+      106,  147,  150,  640,  257,  150,  301,  301,  301,  301,
+      301,  301,  301,  301,  301,  301,  301,  301,  301,  301,
+
+      301,  301,  301,  301,  301,  301,  301,  641,  647,  639,
+      681,  571,  639,  639,  302,  414,  414,  414,  414,  414,
+      414,  414,  414,  414,  414,  414,  414,  378,  474,   84,
+      591,  618,  648,  639,  612,  681,  639,  639,  611,  668,
+      379,  150,  416,  416,  416,  416,  416,  416,  416,  416,
+      416,  416,  416,  416,  416,  416,  416,  416,  416,  416,
+      416,  416,  416,  145,   92,  218,  218,  223,  223,  610,
+      417,  342,  586,   84,  479,  344,   94,  478,  478,  478,
+      478,   96,  344,  272,  345,  150,  430,  430,  430,  430,
+      430,  430,  430,  430,  430,  430,  430,  430,  430,  430,
+
+      430,  430,  430,  430,  430,  430,  431,  254,  254,  609,
+      432,  432,  432,  432,  432,  432,  432,  432,  432,  432,
+      432,  432,  455,  489,  106,   84,  480,   84,   84,  442,
+      106,  469,  718,  344,  342,  147,  481,  150,  101,  150,
+      150,  609,  718,  103,  470,  718,  608,  345,  607,  346,
+      346,  346,  346,  346,  346,  346,  346,  346,  346,  346,
+      346,  346,  346,  346,  346,  346,  346,  346,  346,  346,
+      442,  469,  496,  106,  672,  490,  544,  544,  544,  606,
+      491,  687,  605,  443,  718,  444,  444,  444,  444,  444,
+      444,  444,  444,  444,  444,  444,  444,  444,  444,  444,
+
+      444,  444,  444,  444,  444,  444,  348,  348,  348,  348,
+      348,  348,  348,  348,  348,  348,  348,  348,   84,  342,
+      578,  545,  145,  672,  372,  372,  578,  604,  603,  602,
+      150,  601,  345,  563,  402,  402,  402,  402,  402,  402,
+      402,  402,  402,  402,  402,  402,  402,  402,  402,  402,
+      402,  402,  402,  402,  402,  442,  600,  145,  572,  567,
+      599,  393,  534,  590,  589,  266,  474,  547,  443,  549,
+      487,  487,  487,  487,  487,  487,  487,  487,  487,  487,
+      487,  487,  487,  487,  487,  487,  487,  487,  487,  487,
+      487,   84,  535,  587,  147,  584,   84,  639,  583,  582,
+
+      581,   84,  536,  150,  488,  488,  488,  488,  150,  415,
+      415,  415,  415,  150,   84,  469,  580,  524,  535,  149,
+      579,  639,  149,  149,  149,  149,  150,  578,  470,  550,
+      525,  404,  404,  404,  404,  404,  404,  404,  404,  404,
+      404,  404,  404,   84,   84,  113,  523,  455,   84,  475,
+       84,   84,   84,   84,   84,  150,  150,   84,  139,  576,
+      150,   84,  150,  150,  150,  150,  150,  113,   84,  150,
+      547,  559,   84,  150,  574,  558,  718,  524,  191,  309,
+      150,  529,  573,  572,  150,  568,  568,  568,  568,  718,
+      718,  678,  544,  544,  544,  529,  529,  560,  498,  524,
+
+      558,   84,  571,  572,  570,  679,  520,  561,  520,  562,
+      518,  518,  525,  150,  526,  526,  526,  526,  526,  526,
+      526,  526,  526,  526,  526,  526,  526,  526,  526,  526,
+      526,  526,  526,  526,  526,   84,  524,  545,   84,  516,
+      516,  514,  514,  512,  512,  510,  510,  150,  523,  525,
+      150,  557,  557,  557,  557,  557,  557,  557,  557,  557,
+      557,  557,  557,  557,  557,  557,  557,  557,  557,  557,
+      557,  557,  145,   84,  646,  567,  552,  551,  183,   84,
+       84,   84,  214,  145,  145,  150,  588,  588,  588,  588,
+       84,  150,  150,  150,  598,  617,  145,  207,  382,  191,
+
+      505,  639,  150,   84,   84,  593,  568,  568,  568,  568,
+      588,  588,  588,  588,   84,  150,  150,   84,   84,   84,
+      393,  597,  615,  145,  595,  639,  150,  652,  548,  150,
+      150,  150,  145,  639,  636,  639,  474,  594,  596,  145,
+      667,  393,  145,  649,  147,  547,  467,  596,  661,  145,
+      664,  653,  113,  677,  542,  147,  147,  639,  541,  639,
+      690,  615,  635,  540,  539,  455,  113,  532,  550,  661,
+      531,  530,  661,  393,  393,  393,  616,  624,  624,  528,
+      624,  624,  624,  624,  624,  393,  624,  624,  624,  624,
+      393,  624,  624,  661,  527,  147,  674,  624,  624,  624,
+
+      624,  661,  661,  661,  147,  523,  688,  626,  145,  440,
+      520,  147,  518,  661,  147,  516,  694,  393,  661,  695,
+      675,  147,  624,  624,  624,  661,  661,  661,  145,  701,
+      701,  626,  701,  689,  514,  694,  701,  661,  701,  698,
+      702,  703,  661,  704,  512,  661,  510,  705,  445,  706,
+      624,  624,  624,  624,  445,  624,  624,  624,  624,  624,
+      625,  624,  624,  624,  624,  309,  624,  624,  701,  661,
+      500,  445,  633,  624,  624,  624,  269,  393,  483,  707,
+      147,  701,  634,  701,  701,  482,   88,  208,  477,  474,
+      382,  373,  708,  467,  709,  710,  701,  624,  624,  624,
+
+      147,  264,  264,  701,  264,  701,  634,  711,  264,  462,
+      264,  701,  701,  461,  712,  460,  713,  208,  454,  453,
+      452,  451,  714,  715,  450,  624,  624,  624,  624,  449,
+      624,  624,  624,  624,  624,  448,  624,  624,  624,  624,
+      264,  624,  624,  447,  445,  445,  214,  624,  624,  624,
+      624,  214,  208,  264,  207,  264,  264,  626,  207,  207,
+      321,  321,  319,  319,  421,  373,  269,  269,  264,  269,
+      268,  393,  624,  624,  624,  264,  268,  264,  364,  385,
+      356,  626,  355,  264,  264,  382,  255,  373,  373,  247,
+      363,  362,  361,  360,  357,  353,  352,  351,  350,  349,
+
+      624,  624,  624,  624,  332,  624,  624,  624,  624,  624,
+      625,  624,  624,  624,  624,  332,  624,  624,  331,  330,
+      329,  328,  633,  624,  624,  624,  328,  327,  326,  325,
+      324,  321,  634,  319,  308,  269,  293,  291,  290,  289,
+      286,  285,  269,  269,  268,  266,  264,  624,  624,  624,
+      263,  239,  208,  262,  237,  130,  634,  241,  240,  239,
+      208,  238,  237,  236,  236,  235,  234,  233,  106,  214,
+      213,  207,  208,  207,  199,  624,  624,   84,  191,  189,
+      165,   84,   84,  164,  148,   84,   84,   84,   84,   84,
+       84,   84,   84,   85,   85,   85,   85,   85,  116,   85,
+
+       85,   85,   85,   85,   85,   85,   85,   85,   85,   85,
+       85,   85,   91,   91,  115,  106,   88,   91,   91,   91,
+      105,  105,  105,  105,  105,  105,  105,  105,  105,  105,
+      105,  105,  105,  105,  105,  105,  105,  105,  105,  129,
+      129,  129,  129,  129,  129,  129,  129,  129,  129,  129,
+      129,  129,  129,  129,  129,  129,  129,  129,  144,  144,
+      144,  144,  144,  144,  144,  144,  144,  144,  144,  144,
+      144,  144,  144,  144,  144,  144,  144,  149,  718,  718,
+      718,  149,  149,  149,  718,  149,  149,  149,  149,  149,
+      149,  149,  149,  190,  190,  190,  190,  190,  718,  190,
+
+      190,  190,  190,  190,  190,  190,  190,  190,  190,  190,
+      190,  190,  192,  192,  192,  192,  192,  192,  192,  192,
+      192,  192,  192,  192,  192,  192,  192,  192,  192,  192,
+      192,  209,  209,  718,  718,  718,  718,  718,  718,  718,
+      718,  209,  718,  718,  209,  209,  718,  209,  126,  126,
+      126,  126,  126,  126,  126,  126,  126,  126,  126,  126,
+      126,  126,  126,  126,  126,  126,  126,  245,  245,  245,
+      245,  245,  245,  245,  245,  245,  245,  245,  245,  245,
+      245,  245,  245,  245,  245,  245,  145,  145,  145,  145,
+      145,  145,  145,  145,  145,  145,  145,  145,  145,  145,
+
+      145,  145,  145,  145,  145,  267,  267,  267,  267,  267,
+      267,  267,  267,  267,  267,  267,  267,  267,  267,  267,
+      267,  267,  267,  267,  149,  718,  718,  718,  149,  149,
+      149,  718,  149,  149,  149,  149,  149,  149,  149,  149,
+      274,  274,  274,  274,  274,  274,  274,  274,  274,  274,
+      274,  274,  274,  274,  274,  274,  274,  274,  274,  190,
+      190,  190,  190,  190,  190,  190,  190,  190,  190,  190,
+      190,  190,  190,  190,  190,  190,  190,  190,  192,  192,
+      192,  192,  192,  192,  192,  192,  192,  192,  192,  192,
+      192,  192,  192,  192,  192,  192,  192,  311,  311,  311,
+
+      311,  311,  311,  311,  311,  311,  311,  311,  311,  311,
+      311,  311,  311,  311,  311,  311,  314,  314,  314,  314,
+      314,  314,  314,  314,  314,  314,  314,  314,  314,  314,
+      314,  314,  314,  314,  314,  318,  318,  718,  318,  318,
+      318,  318,  318,  318,  318,  318,  318,  318,  318,  318,
+      318,  318,  318,  318,  320,  320,  718,  320,  320,  320,
+      320,  320,  320,  320,  320,  320,  320,  320,  320,  320,
+      320,  320,  320,  322,  718,  322,  718,  718,  718,  322,
+      322,  322,  718,  718,  322,  365,  365,  365,  365,  365,
+      365,  365,  365,  365,  365,  365,  365,  365,  365,  365,
+
+      365,  365,  365,  365,  126,  126,  126,  126,  126,  126,
+      126,  126,  126,  126,  126,  126,  126,  126,  126,  126,
+      126,  126,  126,  367,  367,  367,  367,  367,  367,  367,
+      367,  367,  367,  367,  367,  367,  367,  367,  367,  367,
+      367,  367,  245,  245,  245,  245,  245,  245,  245,  245,
+      245,  245,  245,  245,  245,  245,  245,  245,  245,  245,
+      245,  370,  370,  370,  370,  370,  370,  370,  370,  376,
+      718,  718,  718,  376,  718,  376,  376,  376,  376,  718,
+      376,  267,  267,  267,  267,  267,  267,  267,  267,  267,
+      267,  267,  267,  267,  267,  267,  267,  267,  267,  267,
+
+      392,  392,  392,  392,  392,  392,  392,  392,  392,  392,
+      392,  392,  392,  392,  392,  392,  392,  392,  392,  149,
+      718,  718,  718,  149,  149,  149,  718,  149,  149,  149,
+      149,  149,  149,  149,  149,  274,  274,  274,  274,  274,
+      274,  274,  274,  274,  274,  274,  274,  274,  274,  274,
+      274,  274,  274,  274,  105,  105,  105,  105,  105,  105,
+      105,  105,  105,  105,  105,  105,  105,  105,  105,  105,
+      105,  105,  105,  314,  314,  314,  314,  314,  314,  314,
+      314,  314,  314,  314,  314,  314,  314,  314,  314,  314,
+      314,  314,  311,  311,  311,  311,  311,  311,  311,  311,
+
+      311,  311,  311,  311,  311,  311,  311,  311,  311,  311,
+      311,  422,  422,  422,  422,  422,  422,  422,  422,  422,
+      422,  422,  422,  422,  422,  422,  422,  422,  422,  422,
+      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
+      425,  425,  425,  425,  425,  425,  425,  425,  425,  427,
+      427,  427,  427,  427,  427,  427,  427,  427,  427,  427,
+      427,  427,  427,  427,  427,  427,  427,  427,  190,  190,
+      190,  190,  190,  190,  190,  190,  190,  190,  190,  190,
+      190,  190,  190,  190,  190,  190,  190,  318,  318,  718,
+      318,  318,  318,  318,  318,  318,  318,  318,  318,  318,
+
+      318,  318,  318,  318,  318,  318,  320,  320,  718,  320,
+      320,  320,  320,  320,  320,  320,  320,  320,  320,  320,
+      320,  320,  320,  320,  320,  432,  718,  432,  718,  718,
+      718,  432,  432,  432,  718,  718,  432,  430,  718,  718,
+      718,  718,  718,  430,  430,  430,  430,  365,  365,  365,
+      365,  365,  365,  365,  365,  365,  365,  365,  365,  365,
+      365,  365,  365,  365,  365,  365,  367,  367,  367,  367,
+      367,  367,  367,  367,  367,  367,  367,  367,  367,  367,
+      367,  367,  367,  367,  367,  126,  126,  126,  126,  126,
+      126,  126,  126,  126,  126,  126,  126,  126,  126,  126,
+
+      126,  126,  126,  126,  466,  466,  466,  466,  466,  466,
+      466,  466,  466,  466,  466,  466,  466,  466,  466,  466,
+      466,  466,  466,  471,  471,  718,  718,  471,  471,  718,
+      471,  471,  471,  471,  471,  471,  471,  471,  471,  472,
+      718,  718,  718,  718,  718,  472,  472,  472,  472,  718,
+      472,  392,  392,  392,  392,  392,  392,  392,  392,  392,
+      392,  392,  392,  392,  392,  392,  392,  392,  392,  392,
+      105,  105,  105,  105,  105,  105,  105,  105,  105,  105,
+      105,  105,  105,  105,  105,  105,  105,  105,  105,  497,
+      497,  718,  718,  497,  497,  497,  497,  497,  497,  497,
+
+      497,  497,  497,  497,  497,  422,  422,  422,  422,  422,
+      422,  422,  422,  422,  422,  422,  422,  422,  422,  422,
+      422,  422,  422,  422,  423,  423,  423,  423,  423,  423,
+      423,  423,  423,  423,  423,  423,  423,  423,  423,  423,
+      423,  423,  423,  501,  501,  501,  501,  501,  501,  501,
+      501,  501,  501,  501,  501,  501,  501,  501,  501,  501,
+      501,  501,  425,  425,  425,  425,  425,  425,  425,  425,
+      425,  425,  425,  425,  425,  425,  425,  425,  425,  425,
+      425,  504,  504,  504,  504,  504,  504,  504,  504,  504,
+      504,  504,  504,  504,  504,  504,  504,  504,  504,  504,
+
+      427,  427,  427,  427,  427,  427,  427,  427,  427,  427,
+      427,  427,  427,  427,  427,  427,  427,  427,  427,  190,
+      190,  190,  190,  190,  190,  190,  190,  190,  190,  190,
+      190,  190,  190,  190,  190,  190,  190,  190,  507,  718,
+      718,  718,  718,  718,  507,  507,  507,  507,  509,  509,
+      718,  509,  509,  509,  509,  509,  509,  509,  509,  509,
+      509,  509,  509,  509,  509,  509,  509,  511,  511,  718,
+      511,  511,  511,  511,  511,  511,  511,  511,  511,  511,
+      511,  511,  511,  511,  511,  511,  513,  513,  718,  513,
+      513,  513,  513,  513,  513,  513,  513,  513,  513,  513,
+
+      513,  513,  513,  513,  513,  515,  515,  718,  515,  515,
+      515,  515,  515,  515,  515,  515,  515,  515,  515,  515,
+      515,  515,  515,  515,  517,  517,  718,  517,  517,  517,
+      517,  517,  517,  517,  517,  517,  517,  517,  517,  517,
+      517,  517,  517,  519,  519,  718,  519,  519,  519,  519,
+      519,  519,  519,  519,  519,  519,  519,  519,  519,  519,
+      519,  519,  365,  365,  365,  365,  365,  365,  365,  365,
+      365,  365,  365,  365,  365,  365,  365,  365,  365,  365,
+      365,  126,  126,  126,  126,  126,  126,  126,  126,  126,
+      126,  126,  126,  126,  126,  126,  126,  126,  126,  126,
+
+      466,  466,  466,  466,  466,  466,  466,  466,  466,  466,
+      466,  466,  466,  466,  466,  466,  466,  466,  466,  546,
+      718,  718,  718,  718,  718,  546,  546,  546,  546,  546,
+      546,  546,  546,  546,  553,  553,  553,  553,  553,  553,
+      553,  553,  553,  553,  553,  553,  553,  553,  553,  553,
+      553,  553,  553,  105,  105,  105,  105,  105,  105,  105,
+      105,  105,  105,  105,  105,  105,  105,  105,  105,  105,
+      105,  105,  566,  566,  566,  566,  718,  566,  566,  566,
+      566,  566,  566,  566,  566,  566,  566,  566,  566,  566,
+      566,  569,  718,  718,  718,  718,  718,  569,  569,  569,
+
+      569,  577,  577,  718,  577,  577,  577,  577,  577,  577,
+      577,  577,  577,  577,  577,  577,  577,  577,  577,  577,
+      625,  625,  718,  625,  625,  625,  625,  625,  625,  625,
+      625,  625,  625,  625,  625,  625,  625,  625,  625,  632,
+      632,  718,  632,  632,  632,  632,  632,  632,  632,  632,
+      632,  632,  632,  632,  632,  632,  632,  632,  624,  624,
+      718,  624,  624,  624,  624,  624,  624,  624,  624,  624,
+      624,  624,  624,  624,  624,  624,  624,  660,  660,  660,
+      660,  660,  660,  660,  660,  660,  660,  660,  660,  660,
+      660,  660,  660,  660,  660,  660,  682,  682,  682,  682,
+
+      682,  682,  682,  682,  682,  682,  682,  682,  682,  682,
+      682,  682,  682,  682,  682,  685,  685,  685,  685,  685,
+      685,  685,  685,  685,  685,  685,  685,  685,  685,  685,
+      685,  685,  685,  685,  700,  700,  700,  700,  700,  700,
+      700,  700,  700,  700,  700,  700,  700,  700,  700,  700,
+      700,  700,  700,    3,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718
     } ;
 
-static yyconst short int yy_chk[4467] =
+static yyconst flex_int16_t yy_chk[4630] =
     {   0,
         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
@@ -1173,7 +1285,7 @@ static yyconst short int yy_chk[4467] =
         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
-        1,    1,    2,    2,    2,    2,    2,    2,    2,    2,
+        1,    1,    1,    1,    1,    2,    2,    2,    2,    2,
         2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
         2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
 
@@ -1181,485 +1293,506 @@ static yyconst short int yy_chk[4467] =
         2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
         2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
         2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
-        2,    2,    2,    2,    5,    6,    6,    6,    6,    6,
-        8,   10,   10,   11,   18,   23,  708,    8,    8,    8,
-        8,    8,   19,   11,   34,   11,   11,   34,    5,   34,
-       36,   11,   12,   12,   12,   36,  233,   31,   18,   12,
-       23,   31,   40,   19,   12,   12,   12,   12,   12,   12,
-       12,   12,   12,   22,   25,   40,   12,   12,   12,   12,
+        2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
+        5,    6,    6,    6,    6,    8,   10,   10,   11,   19,
+       39,   40,    8,    8,    8,    8,   16,  716,   11,   13,
+       11,   11,   39,   40,    5,   11,   12,   12,   12,   13,
+       92,   13,   92,   12,   19,   88,   13,   92,   12,   12,
+       12,   12,   12,   12,   12,   12,  101,   39,  101,   12,
 
        12,   12,   12,   12,   12,   12,   12,   12,   12,   12,
-       12,   12,   12,   12,   12,   12,   12,   37,   19,  233,
        12,   12,   12,   12,   12,   12,   12,   12,   12,   12,
+       51,   51,   16,   12,   12,   12,   12,   12,   12,   12,
        12,   12,   12,   12,   12,   12,   12,   12,   12,   12,
-       12,   13,   27,   33,   25,   33,  264,   33,   24,   22,
-       25,   13,   46,   13,  264,   32,   32,   24,   32,   13,
-       15,   43,   44,   44,   51,   46,   37,   72,   72,   32,
-       15,   43,   15,   43,   15,   15,   15,   51,   15,   43,
-       35,   15,   24,   24,   24,   24,   24,   24,   24,   24,
-       47,   74,  688,   35,   60,   27,   27,   35,   60,   35,
-
-       46,   27,   15,   47,   35,   51,   15,   15,   15,   15,
-       15,   15,   15,   15,   49,   52,   15,   28,   28,   28,
-       28,   28,   28,   28,   28,   28,   28,   28,   28,   28,
-       28,   28,   28,   38,   55,   49,   78,   78,   28,   28,
-       28,   28,   50,   82,   82,   82,   47,   38,   38,   38,
-       38,   38,   74,   65,   48,   50,   41,   57,   65,   56,
-      583,   41,   57,   28,   28,   28,   41,   48,   41,   41,
-       49,   52,   56,   53,   41,   57,  684,   62,   53,   62,
-       86,   62,   86,   48,   55,  115,   53,   28,   28,   29,
-       55,  138,  133,   29,   29,   29,   50,   29,   61,   61,
-
-       66,   61,   38,   53,  138,   66,   77,   48,   77,  145,
-       57,   57,   61,   66,   77,   63,   57,   56,   63,  115,
-       63,   29,  145,   64,  583,   29,   29,   29,   29,   29,
-       29,   29,   29,   30,  147,  147,   64,   30,   30,   30,
-       64,   30,   64,   83,   83,   83,  206,   64,   69,   69,
-       69,   69,   69,  683,   66,   83,  206,   83,   85,   85,
-       85,  133,  677,   83,  206,   30,   98,   98,   98,   30,
-       30,   30,   30,   30,   30,   30,   30,   42,   42,   42,
-      108,  108,  108,  676,   42,  122,  122,  122,  674,   42,
-       42,   42,   42,   42,   42,   42,   42,   42,  129,  129,
-
-      129,   42,   42,   42,   42,   42,   42,   42,   42,   42,
-       42,   42,   42,   42,   42,   42,   42,   42,   42,   42,
-       42,   42,  151,  151,  151,   42,   42,   42,   42,   42,
-       42,   42,   42,   42,   42,   42,   42,   42,   42,   42,
-       42,   42,   42,   42,   42,   42,   45,  183,  183,  142,
-      546,   45,  184,  184,   67,  327,   45,  327,   45,  672,
-       45,   45,   45,  142,   45,   67,   73,   45,   67,   67,
-       67,   67,   67,   73,   73,   73,   73,   73,   73,   93,
-       93,   93,   93,   93,   93,   93,   93,  146,   45,  109,
-      109,  109,   45,   45,   45,   45,   45,   45,   45,   45,
-
-      146,  141,   45,   54,   92,  546,   92,  213,   87,  141,
-       54,  159,   92,  331,  141,  213,   54,   92,   87,   54,
-       87,  185,  185,   67,  159,  140,   87,  331,   92,  155,
-       92,  187,  187,  140,  140,  670,   92,  109,  140,  213,
-       92,  159,  155,  248,   54,   54,   54,   54,   54,   54,
-       54,   54,   58,  606,  130,  130,  130,   58,  177,  177,
-      177,   58,   58,   58,  155,   58,   94,   94,   94,   94,
-       94,   94,   94,   94,   96,   96,   96,   96,   96,   96,
-       96,   96,  162,  162,  162,  211,  211,  211,  247,   58,
-      130,  152,  248,   58,   58,   58,   58,   58,   58,   58,
-
-       58,   59,  231,  370,  152,   59,   59,   59,  606,   59,
-       97,   97,   97,   97,   97,   97,   97,   97,  118,  118,
-      118,  118,  118,  118,  118,  118,  212,  212,  212,  374,
-      162,  247,  152,   59,  153,  154,  231,   59,   59,   59,
-       59,   59,   59,   59,   59,   95,  359,  153,  154,  215,
-      215,  215,  370,   95,  120,  120,  120,  120,  120,  120,
-      120,  120,  121,  121,  121,  121,  121,  121,  121,  121,
-      216,  216,  216,  217,  217,  217,  154,   95,  374,  153,
-      359,   95,   95,   95,   95,   95,   95,   95,   95,  114,
-      114,  114,  114,  114,  114,  114,  114,  114,  114,  114,
-
-      114,  114,  114,  114,  114,  664,  222,  235,  235,  235,
-      114,  114,  114,  114,  124,  124,  124,  124,  124,  124,
-      124,  124,  126,  126,  126,  126,  126,  126,  126,  126,
-      222,  690,  135,  270,  270,  114,  114,  114,  127,  127,
-      127,  127,  127,  127,  127,  127,  135,  135,  135,  135,
-      135,  135,  312,  312,  222,  241,  241,  241,  663,  114,
-      114,  116,  116,  116,  116,  116,  143,  116,  116,  116,
-      116,  116,  116,  148,  143,  116,  116,  144,  157,  143,
-      156,  160,  116,  116,  158,  116,  148,  144,  347,  144,
-      165,  157,  164,  156,  160,  144,  395,  158,  181,  163,
-
-      690,  135,  274,  165,  662,  164,  348,  116,  116,  181,
-      274,  160,  163,  161,  148,  148,  148,  148,  148,  148,
-      148,  148,  161,  161,  161,  598,  161,  249,  249,  249,
-      348,  116,  116,  119,  274,  157,  179,  119,  180,  156,
-      163,  164,  158,  165,  170,  119,  347,  119,  598,  179,
-      119,  180,  337,  170,  170,  170,  395,  170,  119,  223,
-      337,  119,  360,  267,  119,  119,  465,  181,  267,  119,
-      268,  223,  223,  119,  119,  119,  119,  119,  119,  119,
-      119,  267,  119,  268,  337,  119,  242,  658,  119,  123,
-      179,  178,  180,  242,  242,  242,  360,  123,  123,  123,
-
-      178,  178,  178,  123,  178,  394,  123,  262,  150,  252,
-      252,  252,  262,  262,  123,  465,  168,  123,  280,  325,
-      123,  123,  166,  166,  166,  166,  166,  166,  166,  166,
-      123,  280,  479,  123,  313,  313,  178,  655,  123,  188,
-      188,  123,  582,  582,  123,  125,  188,  188,  188,  188,
-      188,  188,  394,  125,  150,  150,  150,  150,  150,  150,
-      150,  150,  168,  168,  168,  168,  168,  168,  168,  168,
-      232,  232,  232,  232,  255,  255,  255,  125,  280,  288,
-      325,  125,  125,  125,  125,  125,  125,  125,  125,  128,
-      479,  654,  288,  128,  128,  128,  174,  128,  169,  169,
-
-      169,  169,  169,  169,  169,  169,  172,  172,  172,  172,
-      172,  172,  172,  172,  258,  253,  232,  258,  258,  258,
-      649,  128,  253,  253,  253,  128,  128,  128,  128,  128,
-      128,  128,  128,  149,  272,  361,  648,  288,  299,  299,
-      299,  149,  174,  174,  174,  174,  174,  174,  174,  174,
-      175,  175,  175,  175,  175,  175,  175,  175,  304,  304,
-      304,  269,  349,  258,  369,  149,  269,  373,  647,  149,
-      149,  149,  149,  149,  149,  149,  149,  167,  361,  269,
-      266,  167,  443,  283,  278,  266,  349,  272,  392,  167,
-      392,  167,  257,  266,  167,  272,  283,  278,  284,  257,
-
-      257,  257,  167,  284,  623,  167,  443,  369,  167,  167,
-      373,  284,  286,  167,  338,  338,  338,  167,  167,  167,
-      167,  167,  167,  167,  167,  286,  167,  278,  283,  167,
-      189,  189,  167,  171,  171,  257,  279,  189,  189,  189,
-      189,  189,  171,  171,  171,  273,  171,  298,  171,  279,
-      293,  171,  293,  298,  273,  273,  273,  480,  273,  171,
-      298,  286,  171,  293,  623,  171,  171,  214,  214,  214,
-      214,  214,  214,  214,  214,  171,  281,  236,  171,  279,
-      297,  281,  297,  171,  434,  236,  171,  497,  236,  171,
-      173,  236,  236,  297,  281,  497,  434,  243,  173,  329,
-
-      281,  236,  298,  396,  622,  243,  243,  243,  276,  236,
-      636,  243,  236,  446,  646,  236,  396,  276,  276,  276,
-      480,  276,  173,  282,  281,  297,  173,  173,  173,  173,
-      173,  173,  173,  173,  176,  455,  282,  446,  176,  176,
-      176,  243,  176,  237,  237,  237,  237,  237,  237,  237,
-      237,  238,  238,  238,  238,  238,  238,  238,  238,  622,
-      329,  344,  344,  344,  643,  368,  176,  636,  282,  455,
-      176,  176,  176,  176,  176,  176,  176,  176,  218,  368,
-      282,  282,  365,  365,  365,  642,  218,  250,  250,  250,
-      250,  250,  250,  250,  250,  251,  251,  251,  251,  251,
-
-      251,  251,  251,  378,  378,  378,  439,  439,  439,  368,
-      218,  362,  362,  362,  218,  218,  218,  218,  218,  218,
-      218,  218,  230,  230,  239,  230,  230,  230,  230,  230,
-      516,  230,  230,  230,  230,  308,  230,  230,  464,  245,
-      308,  239,  516,  230,  230,  230,  230,  245,  308,  239,
-      245,  294,  239,  245,  245,  239,  239,  362,  246,  393,
-      294,  294,  294,  245,  294,  239,  460,  393,  230,  230,
-      230,  245,  393,  239,  245,  246,  239,  245,  397,  239,
-      460,  464,  640,  246,  639,  275,  246,  230,  635,  246,
-      246,  397,  230,  230,  234,  234,  234,  234,  234,  246,
-
-      234,  234,  234,  234,  234,  234,  309,  246,  234,  234,
-      246,  254,  261,  246,  634,  234,  234,  309,  234,  254,
-      254,  254,  478,  478,  478,  254,  261,  261,  261,  261,
-      261,  275,  275,  275,  275,  275,  275,  275,  275,  287,
-      234,  234,  300,  300,  300,  300,  300,  300,  300,  300,
-      330,  593,  287,  471,  330,  254,  633,  545,  291,  295,
-      632,  295,  330,  401,  234,  234,  244,  471,  295,  295,
-      295,  291,  295,  380,  387,  309,  401,  530,  651,  651,
-      244,  261,  406,  244,  387,  292,  387,  380,  630,  530,
-      287,  244,  387,  301,  244,  406,  407,  244,  244,  291,
-
-      291,  291,  291,  291,  291,  291,  291,  244,  545,  407,
-      244,  330,  593,  401,  302,  244,  417,  380,  244,  605,
-      665,  244,  256,  302,  302,  302,  407,  302,  629,  417,
-      256,  292,  292,  292,  292,  292,  292,  292,  292,  301,
-      301,  301,  301,  301,  301,  301,  301,  383,  426,  426,
-      383,  383,  383,  426,  256,  409,  621,  495,  256,  256,
-      256,  256,  256,  256,  256,  256,  277,  303,  409,  303,
-      495,  605,  665,  402,  277,  388,  303,  303,  303,  482,
-      303,  306,  410,  306,  482,  388,  402,  388,  620,  614,
-      306,  306,  306,  388,  306,  410,  383,  482,  277,  494,
-
-      409,  494,  277,  277,  277,  277,  277,  277,  277,  277,
-      289,  289,  494,  289,  289,  289,  289,  289,  289,  289,
-      289,  289,  289,  402,  289,  289,  306,  410,  650,  307,
-      423,  289,  289,  289,  289,  307,  316,  316,  307,  307,
-      307,  423,  307,  316,  316,  316,  316,  316,  342,  342,
-      342,  342,  342,  342,  342,  342,  289,  289,  289,  343,
-      343,  343,  343,  343,  343,  343,  343,  398,  398,  398,
-      398,  398,  398,  398,  398,  289,  472,  612,  371,  650,
-      289,  289,  290,  290,  307,  403,  371,  518,  472,  371,
-      403,  484,  371,  371,  550,  290,  484,  290,  611,  423,
-
-      290,  518,  371,  403,  404,  372,  685,  550,  290,  484,
-      371,  290,  382,  371,  290,  290,  371,  404,  496,  382,
-      382,  382,  372,  610,  290,  604,  603,  290,  404,  496,
-      372,  400,  290,  372,  408,  290,  372,  372,  290,  296,
-      400,  400,  400,  403,  400,  472,  372,  408,  415,  491,
-      415,  550,  404,  296,  372,  382,  296,  372,  399,  385,
-      372,  415,  491,  685,  296,  422,  416,  296,  602,  486,
-      296,  296,  416,  385,  385,  385,  385,  385,  422,  416,
-      296,  408,  486,  296,  456,  456,  456,  496,  296,  483,
-      474,  296,  474,  415,  296,  305,  600,  637,  474,  485,
-
-      599,  491,  483,  305,  399,  399,  399,  399,  399,  399,
-      399,  399,  485,  420,  486,  420,  547,  483,  547,  422,
-      485,  416,  420,  420,  420,  444,  420,  305,  385,  547,
-      456,  305,  305,  305,  305,  305,  305,  305,  305,  350,
-      350,  483,  350,  350,  350,  350,  350,  492,  350,  350,
-      350,  350,  492,  350,  350,  615,  637,  444,  420,  549,
-      350,  350,  350,  350,  421,  492,  444,  459,  459,  459,
-      421,  490,  549,  421,  421,  421,  597,  421,  588,  615,
-      444,  533,  533,  533,  490,  350,  350,  350,  499,  499,
-      548,  588,  350,  549,  596,  499,  499,  499,  499,  499,
-
-      544,  544,  544,  548,  350,  350,  596,  595,  691,  350,
-      350,  357,  357,  459,  357,  357,  357,  357,  357,  421,
-      357,  357,  357,  357,  490,  357,  357,  533,  461,  689,
-      519,  548,  357,  357,  357,  357,  461,  553,  519,  461,
-      584,  519,  461,  461,  519,  519,  594,  592,  627,  591,
-      553,  552,  461,  584,  519,  539,  555,  357,  357,  357,
-      461,  627,  519,  461,  552,  519,  461,  555,  519,  539,
-      539,  539,  539,  539,  584,  586,  616,  691,  553,  618,
-      689,  357,  357,  358,  358,  462,  358,  358,  358,  358,
-      358,  626,  358,  358,  358,  358,  552,  358,  358,  585,
-
-      616,  587,  462,  618,  358,  358,  358,  358,  552,  657,
-      462,  520,  585,  462,  587,  626,  462,  462,  679,  692,
-      581,  657,  590,  580,  539,  555,  462,  578,  520,  358,
-      358,  358,  579,  590,  462,  631,  520,  462,  576,  520,
-      462,  631,  520,  520,  589,  587,  579,  579,  579,  579,
-      579,  609,  520,  358,  358,  367,  585,  589,  608,  631,
-      520,  625,  609,  520,  638,  631,  520,  558,  558,  367,
-      575,  608,  367,  679,  558,  558,  558,  558,  558,  628,
-      367,  641,  659,  367,  659,  645,  367,  367,  692,  625,
-      628,  590,  641,  638,  644,  656,  367,  660,  652,  644,
-
-      653,  579,  589,  608,  367,  680,  656,  367,  659,  645,
-      367,  381,  666,  625,  645,  669,  574,  638,  644,  660,
-      609,  660,  573,  653,  572,  381,  669,  652,  381,  653,
-      673,  571,  680,  682,  680,  707,  381,  570,  569,  381,
-      667,  666,  381,  381,  682,  568,  666,  653,  628,  566,
-      641,  652,  381,  653,  673,  381,  681,  686,  680,  565,
-      381,  563,  562,  381,  656,  666,  381,  405,  405,  667,
-      405,  405,  405,  405,  405,  405,  405,  405,  405,  405,
-      561,  405,  405,  687,  669,  681,  686,  560,  405,  405,
-      405,  405,  559,  667,  687,  693,  557,  694,  667,  554,
-
-      695,  696,  682,  551,  707,  697,  693,  681,  694,  681,
-      686,  695,  696,  405,  405,  405,  697,  543,  542,  698,
-      405,  541,  540,  699,  700,  701,  538,  535,  531,  529,
-      698,  528,  405,  405,  699,  700,  701,  405,  405,  411,
-      411,  527,  411,  411,  411,  411,  411,  411,  411,  411,
-      411,  411,  687,  411,  411,  526,  525,  524,  523,  522,
-      411,  411,  411,  411,  693,  521,  694,  702,  703,  695,
-      696,  704,  705,  706,  697,  517,  515,  514,  702,  703,
-      513,  512,  704,  705,  706,  411,  411,  411,  698,  511,
-      510,  509,  699,  700,  701,  508,  507,  506,  505,  504,
-
-      503,  502,  501,  500,  493,  488,  477,  476,  475,  411,
-      411,  413,  413,  473,  413,  413,  413,  413,  413,  413,
-      413,  413,  413,  413,  470,  413,  413,  468,  467,  463,
-      458,  454,  413,  413,  413,  413,  702,  703,  453,  452,
-      704,  705,  706,  448,  447,  445,  442,  438,  437,  436,
-      435,  433,  432,  431,  430,  429,  428,  413,  413,  413,
-      427,  425,  424,  412,  391,  390,  389,  386,  384,  376,
-      375,  364,  363,  355,  354,  353,  352,  346,  345,  335,
-      334,  413,  413,  414,  414,  333,  332,  328,  326,  324,
-      323,  322,  321,  320,  319,  318,  414,  317,  414,  314,
-
-      310,  414,  271,  265,  263,  259,  240,  229,  228,  414,
-      227,  225,  414,  224,  221,  414,  414,  220,  219,  210,
-      209,  208,  207,  205,  204,  414,  203,  202,  201,  198,
-      197,  196,  195,  414,  194,  193,  414,  191,  190,  414,
-      419,  186,  182,  139,  137,  136,  134,  132,  131,  113,
-      112,  111,  110,  107,  419,  106,  105,  419,  104,  103,
-      102,  101,  100,   99,   90,  419,   88,   84,  419,   81,
-       80,  419,  419,   79,   76,   71,   68,   39,   26,   21,
-       20,  419,   17,   16,  419,   14,    9,    3,    0,  419,
-        0,    0,  419,    0,    0,  419,  441,    0,    0,    0,
-
-        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
-      441,    0,    0,  441,    0,    0,    0,    0,    0,    0,
-        0,  441,    0,    0,  441,    0,    0,  441,  441,    0,
-        0,    0,    0,    0,    0,    0,    0,  441,    0,    0,
-        0,    0,    0,    0,    0,  441,    0,    0,  441,    0,
-        0,  441,  450,  450,    0,  450,  450,  450,  450,  450,
-        0,  450,  450,  450,  450,    0,  450,  450,    0,    0,
-        0,    0,    0,  450,  450,  450,  450,    0,    0,    0,
-        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
-        0,    0,    0,    0,    0,    0,    0,    0,  450,  450,
-
-      450,    0,    0,    0,    0,    0,    0,    0,    0,    0,
-        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
-        0,    0,  450,  450,  451,  451,    0,  451,  451,  451,
-      451,  451,    0,  451,  451,  451,  451,    0,  451,  451,
-        0,    0,    0,    0,    0,  451,  451,  451,  451,    0,
-        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
-        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
-      451,  451,  451,    0,    0,    0,    0,  451,    0,    0,
-        0,    0,    0,    0,    0,    0,    0,    0,    0,  451,
-      451,    0,    0,    0,  451,  451,  481,    0,    0,    0,
-
-        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
-      481,    0,    0,  481,    0,    0,    0,    0,    0,    0,
-        0,  481,    0,    0,  481,    0,    0,  481,  481,    0,
-        0,    0,    0,    0,    0,    0,    0,  481,    0,    0,
-        0,    0,    0,    0,    0,  481,    0,    0,  481,    0,
-        0,  481,  487,  487,    0,  487,  487,  487,  487,  487,
-      487,  487,  487,  487,  487,    0,  487,  487,    0,    0,
-        0,    0,    0,  487,  487,  487,  487,    0,    0,    0,
-        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
-        0,    0,    0,    0,    0,    0,    0,    0,  487,  487,
-
-      487,    0,    0,    0,    0,    0,    0,    0,    0,    0,
-        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
-        0,    0,  487,  487,  489,  489,    0,  489,  489,  489,
-      489,  489,  489,  489,  489,  489,  489,    0,  489,  489,
-        0,    0,    0,    0,    0,  489,  489,  489,  489,    0,
-        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
-        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
-      489,  489,  489,    0,    0,    0,    0,  489,    0,    0,
-        0,    0,    0,    0,    0,    0,    0,    0,    0,  489,
-      489,    0,    0,    0,  489,  489,  601,  601,    0,  601,
-
-      601,  601,  601,  601,    0,  601,  601,  601,  601,    0,
-      601,  601,    0,    0,    0,    0,    0,  601,  601,  601,
-      601,    0,    0,    0,    0,    0,    0,  601,    0,    0,
-        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
-        0,    0,  601,  601,  601,    0,    0,    0,    0,    0,
-        0,  601,    0,    0,    0,    0,    0,    0,    0,    0,
-        0,    0,    0,    0,    0,    0,  601,  601,  607,  607,
-        0,  607,  607,  607,  607,  607,  607,  607,  607,  607,
-      607,    0,  607,  607,    0,    0,    0,    0,    0,  607,
-      607,  607,  607,    0,    0,    0,    0,    0,    0,  607,
-
-        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
-        0,    0,    0,    0,  607,  607,  607,    0,    0,    0,
-        0,    0,    0,  607,    0,    0,    0,    0,    0,    0,
-        0,    0,    0,    0,    0,    0,    0,    0,  607,  607,
-      617,  617,    0,  617,  617,  617,  617,  617,    0,  617,
-      617,  617,  617,    0,  617,  617,    0,    0,    0,    0,
-        0,  617,  617,  617,  617,    0,    0,    0,    0,    0,
-        0,  617,    0,    0,    0,    0,    0,    0,    0,    0,
-        0,    0,    0,    0,    0,    0,  617,  617,  617,    0,
-        0,    0,    0,    0,    0,  617,    0,    0,    0,    0,
-
-        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
-      617,  617,  624,  624,    0,  624,  624,  624,  624,  624,
-      624,  624,  624,  624,  624,    0,  624,  624,    0,    0,
-        0,    0,    0,  624,  624,  624,  624,    0,    0,    0,
-        0,    0,    0,  624,    0,    0,    0,    0,    0,    0,
-        0,    0,    0,    0,    0,    0,    0,    0,  624,  624,
-      624,    0,    0,    0,    0,    0,    0,  624,    0,    0,
-        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
-        0,    0,  624,  624,  711,    0,    0,  711,  711,    0,
-        0,  711,  711,  711,  711,  711,  712,  712,  712,  712,
-
-      712,    0,  712,  712,  712,  712,  712,  712,  712,  712,
-      712,  713,  713,  713,  713,  713,  713,  713,  713,  713,
-      713,  713,  713,  713,  713,  713,  714,  714,  714,  714,
-      714,  714,  714,  714,  714,  714,  714,  714,  714,  714,
-      714,  715,  715,  715,  715,  715,  715,  715,  715,  715,
-      715,  715,  715,  715,  715,  715,  716,    0,    0,  716,
-      716,  716,    0,  716,  716,  716,  716,  716,  717,  717,
-      717,  717,  717,    0,  717,  717,  717,  717,  717,  717,
-      717,  717,  717,  718,  718,  718,  718,  718,  718,  718,
-      718,  718,  718,  718,  718,  718,  718,  718,  719,  719,
-
-        0,    0,    0,    0,    0,    0,    0,  719,  719,  719,
-      719,  719,  720,  720,  720,  720,  720,  720,  720,  720,
-      720,  720,  720,  720,  720,  720,  720,  721,  721,  721,
-      721,  721,  721,  721,  721,  721,  721,  721,  721,  721,
-      721,  721,  722,  722,  722,  722,  722,  722,  722,  722,
-      722,  722,  722,  722,  722,  722,  722,  723,  723,  723,
+       12,   12,   12,   12,   12,   12,   12,   12,   15,   88,
+       15,  696,   15,   15,   15,   15,   15,   15,  692,   28,
+       15,   21,   21,   21,   21,   20,   20,   20,   20,   23,
+       23,   23,   23,  357,   22,   35,   35,   22,   22,   22,
+       22,   15,   35,   35,   35,   15,   15,   15,   15,   15,
+       15,   15,   15,   15,   15,   15,   15,   20,   22,   24,
+
+       24,   24,   24,   25,  244,   23,   28,   29,   15,   29,
+       29,   56,   86,   86,   29,   28,   25,   25,   25,   25,
+       30,   30,   30,   30,   30,   31,   31,  691,   31,   31,
+       31,  357,   53,   42,   32,   32,   56,   30,   32,   32,
+       32,   34,   34,   36,   36,   42,  244,   34,   34,   34,
+       24,   36,   36,   36,  144,   25,   26,   26,   26,   26,
+       26,   26,   26,   26,   26,   26,   26,   26,   26,   26,
+       26,   26,   33,  156,   42,  698,   26,   26,   26,   26,
+       93,   93,   38,   38,   33,   33,  156,   43,   53,   33,
+       33,   33,   38,   38,  328,   37,   37,   33,   41,   43,
+
+       41,   26,   26,   26,   37,   37,   37,   44,   45,   47,
+       41,   58,   58,   58,   58,   44,   57,   57,   57,   57,
+      685,   47,   45,   45,   45,   45,  144,   44,  684,   26,
+       26,   27,   64,   27,   27,   27,   27,   27,   27,   65,
+       48,   65,   65,   43,   50,   48,   65,  698,   57,   41,
+       48,  268,   48,   48,   50,  682,   50,   48,  328,   44,
+      268,   50,   27,   97,   97,   97,   27,   27,   27,   27,
+       27,   27,   27,   27,   27,   27,   27,   27,  128,   64,
+       45,  100,  100,  100,   61,   61,   61,   61,   64,   27,
+       49,   49,   49,   83,   83,   83,   83,   49,   60,   60,
+
+       60,   60,   49,   49,   49,   49,   49,   49,   49,   49,
+      330,  128,  330,   49,   49,   49,   49,   49,   49,   49,
+       49,   49,   49,   49,   49,   49,   49,   49,   49,   49,
+       49,   49,   49,   49,   60,   61,  276,   49,   49,   49,
+       49,   49,   49,   49,   49,   49,   49,   49,   49,   49,
+       49,   49,   49,   49,   49,   49,   49,   49,   49,   49,
+       49,   49,   52,  158,  158,   52,  680,   52,  153,   52,
+       52,   52,   52,   52,   52,   59,   62,   52,   59,   59,
+       59,   59,  153,   66,   66,   66,   66,   66,  276,   62,
+       62,   62,   62,  119,  119,  119,  119,  276,   52,   59,
+
+       66,  530,   52,   52,   52,   52,   52,   52,   52,   52,
+       52,   52,   52,   52,   67,   67,  530,   67,   67,   67,
+      136,  136,  136,  136,  232,   52,  242,   69,   62,   63,
+      232,   63,   63,   63,   63,   63,   63,   68,   68,   69,
+       69,   68,   68,   68,   69,   69,   69,   70,   70,   71,
+       71,  149,   69,   70,   70,   70,   71,   71,   71,  242,
+       63,  190,  190,  149,   63,   63,   63,   63,   63,   63,
+       63,   63,   63,   63,   63,   63,   72,   72,  678,   73,
+       73,   74,   74,  672,   72,   72,   72,   63,   73,   73,
+       73,   74,   74,   75,   76,   77,   75,   76,   77,   78,
+
+       77,   79,   78,  157,   79,   75,   76,   77,   75,   76,
+       77,   78,   80,   79,   78,  157,   79,   80,  102,  152,
+       80,  191,  191,   81,  183,  192,  192,  152,  102,   80,
+      102,  152,   80,   75,   81,  102,  183,   81,   81,   81,
+       81,  193,  193,   78,   87,  137,  137,  137,  137,   77,
+      166,   87,   87,   87,   87,   87,   98,   98,   98,  393,
+       79,  393,  166,  671,   80,  259,  167,  670,   98,  666,
+       98,  138,  138,  138,  138,   98,  146,  137,  167,  168,
+      168,  168,  168,  183,  166,  194,  194,  274,  274,  556,
+      146,  146,  146,  146,  146,   81,   91,  151,   91,   91,
+
+       91,   91,   91,   91,  154,  151,  151,  138,  188,  151,
+      165,  173,  154,  186,  259,  341,  154,  171,  272,  188,
+      454,  236,  165,  173,  395,  186,  167,   91,  341,  171,
+      272,   91,   91,   91,   91,   91,   91,   91,   91,   91,
+       91,   91,   91,  556,  236,  454,  171,  266,  146,  358,
+      165,  173,  266,  266,   91,  108,  108,  108,  108,  108,
+      108,  108,  108,  108,  108,  108,  108,  110,  236,  270,
+      395,  186,  110,  358,  270,  110,  110,  110,  110,  110,
+      188,  270,  359,  110,  110,  110,  110,  110,  110,  110,
+      110,  110,  110,  110,  110,  110,  110,  110,  110,  110,
+
+      110,  110,  110,  110,  310,  310,  359,  110,  110,  110,
+      110,  110,  110,  110,  110,  110,  110,  110,  110,  110,
+      110,  110,  110,  110,  110,  110,  110,  110,  110,  110,
+      110,  110,  112,  180,  184,  112,  112,  112,  112,  112,
+      181,  180,  180,  180,  180,  180,  184,  185,  181,  181,
+      181,  181,  181,  500,  187,  311,  311,  663,  200,  185,
+      312,  312,  500,  112,  662,  200,  187,  112,  112,  112,
+      112,  112,  112,  112,  112,  112,  112,  112,  112,  657,
+      181,  216,  216,  216,  216,  313,  313,  332,  184,  200,
+      112,  113,  334,  113,  217,  217,  217,  217,  113,  113,
+
+      656,  185,  187,  113,  196,  196,  334,  113,  314,  314,
+      182,  196,  196,  196,  196,  113,  200,  113,  182,  182,
+      182,  182,  182,  113,  113,  218,  218,  218,  218,  113,
+      221,  221,  221,  221,  113,  127,  127,  127,  127,  127,
+      127,  127,  127,  127,  127,  127,  127,  127,  127,  127,
+      127,  332,  195,  195,  182,  127,  127,  127,  127,  195,
+      195,  195,  195,  195,  201,  303,  215,  201,  201,  201,
+      201,  201,  222,  222,  222,  222,  215,  303,  315,  315,
+      127,  127,  127,  215,  223,  223,  223,  223,  655,  233,
+      233,  233,  233,  654,  377,  201,  224,  224,  224,  224,
+
+      224,  224,  224,  224,  224,  224,  224,  303,  127,  127,
+      129,  129,  129,  129,  129,  592,  129,  129,  129,  129,
+      129,  129,  201,  233,  129,  129,  234,  234,  234,  234,
+      129,  129,  651,  129,  243,  243,  243,  243,  253,  367,
+      342,  226,  287,  377,  253,  253,  253,  253,  226,  241,
+      241,  241,  241,  342,  287,  129,  129,  271,  254,  273,
+      234,  292,  271,  650,  273,  254,  254,  254,  254,  648,
+      290,  254,  226,  292,  271,  290,  273,  365,  647,  243,
+      592,  367,  290,  129,  129,  131,  131,  131,  131,  131,
+      131,  131,  131,  131,  131,  131,  131,  132,  132,  226,
+
+      241,  254,  132,  366,  287,  132,  132,  132,  132,  132,
+      365,  132,  292,  132,  132,  132,  132,  132,  132,  132,
+      132,  132,  132,  132,  132,  132,  132,  132,  132,  132,
+      132,  132,  132,  132,  422,  422,  366,  132,  132,  132,
+      132,  132,  132,  132,  132,  132,  132,  132,  132,  132,
+      132,  132,  132,  132,  132,  132,  132,  132,  132,  132,
+      132,  132,  134,  134,  134,  134,  134,  134,  134,  134,
+      134,  134,  134,  134,  135,  135,  345,  424,  424,  135,
+      425,  425,  135,  135,  135,  135,  426,  426,  135,  345,
+      135,  135,  135,  135,  135,  135,  135,  135,  135,  135,
+
+      135,  135,  135,  135,  135,  135,  135,  135,  135,  135,
+      135,  643,  381,  699,  135,  135,  135,  135,  135,  135,
+      135,  135,  135,  135,  135,  135,  135,  135,  135,  135,
+      135,  135,  135,  135,  135,  135,  135,  135,  135,  155,
+      155,  155,  322,  322,  322,  322,  155,  297,  301,  297,
+      301,  155,  155,  396,  155,  155,  155,  155,  155,  297,
+      301,  381,  155,  155,  155,  155,  155,  155,  155,  155,
+      155,  155,  155,  155,  155,  155,  155,  155,  155,  155,
+      155,  155,  155,  427,  427,  699,  155,  155,  155,  155,
+      155,  155,  155,  155,  155,  155,  155,  155,  155,  155,
+
+      155,  155,  155,  155,  155,  155,  155,  155,  155,  155,
+      155,  159,  302,  396,  305,  428,  428,  463,  302,  305,
+      428,  255,  642,  159,  302,  641,  305,  277,  255,  255,
+      255,  255,  280,  289,  255,  277,  277,  277,  277,  277,
+      280,  280,  280,  280,  280,  289,  338,  338,  338,  338,
+      463,  159,  159,  159,  159,  159,  159,  159,  159,  159,
+      159,  159,  159,  160,  255,  307,  398,  302,  160,  501,
+      501,  160,  160,  160,  160,  160,  307,  289,  398,  160,
+      160,  160,  160,  160,  160,  160,  160,  160,  160,  160,
+      160,  160,  160,  160,  160,  160,  160,  160,  160,  160,
+
+      484,  484,  484,  160,  160,  160,  160,  160,  160,  160,
+      160,  160,  160,  160,  160,  160,  160,  160,  160,  160,
+      160,  160,  160,  160,  160,  160,  160,  160,  162,  265,
+      281,  162,  162,  162,  162,  162,  640,  307,  281,  281,
+      281,  281,  281,  265,  265,  265,  265,  282,  282,  282,
+      282,  282,  282,  282,  282,  282,  282,  282,  638,  162,
+      368,  368,  368,  162,  162,  162,  162,  162,  162,  162,
+      162,  162,  162,  162,  162,  317,  317,  348,  348,  348,
+      348,  637,  317,  317,  317,  317,  162,  175,  175,  175,
+      175,  175,  175,  175,  175,  175,  175,  175,  175,  176,
+
+      176,  265,  409,  629,  176,  368,  700,  176,  176,  176,
+      176,  176,  457,  176,  409,  176,  176,  176,  176,  176,
+      176,  176,  176,  176,  176,  176,  176,  176,  176,  176,
+      176,  176,  176,  176,  176,  176,  457,  503,  503,  176,
+      176,  176,  176,  176,  176,  176,  176,  176,  176,  176,
+      176,  176,  176,  176,  176,  176,  176,  176,  176,  176,
+      176,  176,  176,  176,  178,  178,  178,  178,  178,  178,
+      178,  178,  178,  178,  178,  178,  179,  179,  700,  418,
+      628,  179,  504,  504,  179,  179,  179,  179,  179,  622,
+      179,  418,  179,  179,  179,  179,  179,  179,  179,  179,
+
+      179,  179,  179,  179,  179,  179,  179,  179,  179,  179,
+      179,  179,  179,  464,  464,  464,  179,  179,  179,  179,
+      179,  179,  179,  179,  179,  179,  179,  179,  179,  179,
+      179,  179,  179,  179,  179,  179,  179,  179,  179,  179,
+      179,  219,  219,  219,  219,  219,  219,  219,  219,  219,
+      219,  219,  285,  371,  371,  371,  371,  645,  464,  485,
+      285,  285,  285,  285,  285,  219,  219,  219,  219,  219,
+      219,  219,  219,  219,  219,  219,  219,  220,  220,  220,
+      220,  220,  220,  220,  220,  220,  220,  220,  299,  620,
+      299,  554,  554,  554,  285,  619,  299,  299,  299,  299,
+
+      299,  220,  220,  220,  220,  220,  220,  220,  220,  220,
+      220,  220,  220,  225,  225,  429,  645,  485,  225,  486,
+      618,  225,  225,  225,  225,  225,  606,  225,  429,  225,
+      225,  225,  225,  225,  225,  225,  225,  225,  225,  225,
+      225,  225,  225,  225,  225,  225,  225,  225,  225,  225,
+      567,  567,  606,  225,  225,  225,  225,  225,  225,  225,
+      225,  225,  225,  225,  225,  225,  225,  225,  225,  225,
+      225,  225,  225,  225,  225,  225,  225,  225,  245,  245,
+      245,  245,  245,  486,  245,  245,  245,  245,  245,  245,
+      288,  601,  245,  245,  286,  288,  291,  440,  245,  245,
+
+      306,  245,  286,  286,  286,  286,  286,  288,  291,  440,
+      412,  541,  306,  288,  304,  372,  372,  372,  372,  375,
+      378,  379,  412,  245,  245,  541,  304,  591,  591,  612,
+      293,  611,  375,  378,  379,  394,  286,  288,  293,  293,
+      293,  293,  293,  394,  291,  442,  333,  394,  715,  411,
+      333,  245,  245,  246,  412,  601,  304,  333,  442,  306,
+      337,  411,  375,  378,  379,  614,  246,  337,  246,  246,
+      246,  246,  246,  246,  246,  246,  246,  246,  246,  246,
+      246,  246,  246,  246,  246,  246,  246,  246,  246,  293,
+      644,  337,  630,  659,  659,  411,  246,  248,  248,  248,
+
+      248,  248,  248,  248,  248,  248,  248,  248,  248,  256,
+      333,  402,  610,  402,  432,  432,  432,  432,  337,  614,
+      715,  608,  256,  402,  256,  256,  256,  256,  256,  256,
+      256,  256,  256,  256,  256,  256,  256,  256,  256,  256,
+      256,  256,  256,  256,  256,  408,  630,  644,  449,  344,
+      374,  374,  256,  278,  410,  374,  344,  408,  374,  374,
+      374,  374,  449,  449,  374,  278,  410,  604,  408,  278,
+      278,  278,  278,  278,  278,  278,  278,  278,  278,  278,
+      344,  604,  480,  410,  480,  607,  693,  623,  624,  480,
+      687,  613,  408,  278,  278,  278,  278,  278,  278,  278,
+
+      278,  278,  278,  278,  278,  283,  283,  344,  605,  420,
+      283,  623,  624,  283,  283,  283,  283,  283,  631,  283,
+      420,  283,  283,  283,  283,  283,  283,  283,  283,  283,
+      283,  283,  283,  283,  283,  283,  283,  283,  283,  283,
+      283,  283,  613,  693,  687,  283,  283,  283,  283,  283,
+      283,  283,  283,  283,  283,  283,  283,  283,  283,  283,
+      283,  283,  283,  283,  283,  283,  283,  283,  283,  283,
+      294,  294,  603,  416,  602,  416,  729,  729,  631,  473,
+      555,  420,  294,  626,  294,  416,  294,  294,  294,  294,
+      294,  294,  294,  294,  294,  294,  294,  294,  294,  294,
+
+      294,  294,  294,  294,  294,  294,  294,  626,  634,  653,
+      667,  600,  667,  668,  294,  295,  295,  295,  295,  295,
+      295,  295,  295,  295,  295,  295,  295,  300,  473,  419,
+      555,  599,  634,  653,  590,  668,  667,  668,  589,  653,
+      300,  419,  300,  300,  300,  300,  300,  300,  300,  300,
+      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,
+      300,  300,  300,  386,  388,  730,  730,  731,  731,  587,
+      300,  323,  585,  405,  388,  323,  388,  386,  386,  386,
+      386,  388,  323,  419,  323,  405,  323,  323,  323,  323,
+      323,  323,  323,  323,  323,  323,  323,  323,  323,  323,
+
+      323,  323,  323,  323,  323,  323,  323,  734,  734,  584,
+      323,  323,  323,  323,  323,  323,  323,  323,  323,  323,
+      323,  323,  407,  405,  658,  406,  389,  407,  413,  443,
+      673,  468,  469,  323,  336,  386,  389,  406,  389,  407,
+      413,  583,  443,  389,  468,  469,  582,  336,  581,  336,
+      336,  336,  336,  336,  336,  336,  336,  336,  336,  336,
+      336,  336,  336,  336,  336,  336,  336,  336,  336,  336,
+      340,  470,  413,  697,  658,  406,  467,  467,  467,  580,
+      407,  673,  579,  340,  470,  340,  340,  340,  340,  340,
+      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
+
+      340,  340,  340,  340,  340,  340,  343,  343,  343,  343,
+      343,  343,  343,  343,  343,  343,  343,  343,  397,  397,
+      578,  467,  499,  697,  751,  751,  577,  576,  574,  573,
+      397,  571,  397,  499,  397,  397,  397,  397,  397,  397,
+      397,  397,  397,  397,  397,  397,  397,  397,  397,  397,
+      397,  397,  397,  397,  397,  399,  570,  478,  569,  566,
+      565,  553,  455,  552,  551,  550,  548,  546,  399,  478,
+      399,  399,  399,  399,  399,  399,  399,  399,  399,  399,
+      399,  399,  399,  399,  399,  399,  399,  399,  399,  399,
+      399,  400,  455,  542,  499,  540,  404,  681,  539,  538,
+
+      537,  414,  455,  400,  404,  404,  404,  404,  404,  414,
+      414,  414,  414,  414,  415,  415,  536,  508,  455,  415,
+      535,  681,  415,  415,  415,  415,  415,  534,  415,  478,
+      508,  400,  400,  400,  400,  400,  400,  400,  400,  400,
+      400,  400,  400,  417,  487,  489,  487,  491,  490,  417,
+      489,  492,  491,  493,  494,  417,  487,  495,  533,  531,
+      490,  498,  489,  492,  491,  493,  494,  496,  497,  495,
+      497,  492,  496,  498,  528,  490,  524,  525,  506,  506,
+      497,  529,  527,  526,  496,  506,  506,  506,  506,  524,
+      525,  665,  544,  544,  544,  529,  529,  493,  417,  446,
+
+      490,  557,  522,  557,  521,  665,  520,  494,  519,  495,
+      518,  517,  446,  557,  446,  446,  446,  446,  446,  446,
+      446,  446,  446,  446,  446,  446,  446,  446,  446,  446,
+      446,  446,  446,  446,  446,  488,  488,  544,  558,  516,
+      515,  514,  513,  512,  511,  510,  509,  488,  507,  488,
+      558,  488,  488,  488,  488,  488,  488,  488,  488,  488,
+      488,  488,  488,  488,  488,  488,  488,  488,  488,  488,
+      488,  488,  549,  559,  633,  502,  483,  482,  558,  560,
+      561,  562,  481,  563,  598,  559,  549,  549,  549,  549,
+      593,  560,  561,  562,  563,  598,  588,  479,  477,  568,
+
+      568,  633,  593,  594,  595,  559,  568,  568,  568,  568,
+      588,  588,  588,  588,  596,  594,  595,  597,  616,  635,
+      646,  562,  593,  617,  561,  633,  596,  639,  475,  597,
+      616,  635,  636,  639,  617,  652,  472,  560,  561,  649,
+      652,  660,  664,  636,  549,  471,  466,  595,  646,  677,
+      649,  639,  462,  664,  461,  563,  598,  639,  460,  652,
+      677,  594,  616,  459,  458,  456,  453,  452,  588,  660,
+      451,  450,  646,  674,  661,  675,  597,  609,  609,  448,
+      609,  609,  609,  609,  609,  689,  609,  609,  609,  609,
+      688,  609,  609,  660,  447,  617,  661,  609,  609,  609,
+
+      609,  674,  661,  675,  636,  444,  674,  609,  690,  439,
+      438,  649,  437,  689,  664,  436,  688,  694,  688,  690,
+      661,  677,  609,  609,  609,  674,  661,  675,  695,  701,
+      702,  609,  703,  675,  435,  689,  704,  689,  705,  695,
+      701,  702,  688,  703,  434,  694,  433,  704,  431,  705,
+      609,  609,  615,  615,  430,  615,  615,  615,  615,  615,
+      615,  615,  615,  615,  615,  423,  615,  615,  706,  694,
+      421,  403,  615,  615,  615,  615,  401,  392,  391,  706,
+      690,  707,  615,  708,  709,  390,  387,  385,  383,  380,
+      376,  370,  707,  369,  708,  709,  710,  615,  615,  615,
+
+      695,  701,  702,  711,  703,  712,  615,  710,  704,  364,
+      705,  713,  714,  363,  711,  362,  712,  361,  356,  355,
+      354,  353,  713,  714,  352,  615,  615,  625,  625,  351,
+      625,  625,  625,  625,  625,  350,  625,  625,  625,  625,
+      706,  625,  625,  349,  347,  346,  331,  625,  625,  625,
+      625,  329,  327,  707,  326,  708,  709,  625,  325,  324,
+      321,  320,  319,  318,  308,  298,  296,  284,  710,  279,
+      275,  269,  625,  625,  625,  711,  267,  712,  263,  262,
+      261,  625,  260,  713,  714,  258,  257,  252,  251,  250,
+      240,  239,  238,  237,  235,  231,  230,  229,  228,  227,
+
+      625,  625,  632,  632,  214,  632,  632,  632,  632,  632,
+      632,  632,  632,  632,  632,  213,  632,  632,  212,  211,
+      210,  207,  632,  632,  632,  632,  206,  205,  204,  203,
+      202,  198,  632,  197,  189,  177,  174,  172,  170,  169,
+      164,  163,  161,  150,  148,  147,  145,  632,  632,  632,
+      143,  142,  141,  140,  139,  126,  632,  125,  124,  123,
+      122,  121,  120,  118,  117,  116,  115,  114,  105,  103,
+       99,   96,   95,   94,   90,  632,  632,  719,   85,   82,
+       55,  719,  719,   54,   46,  719,  719,  719,  719,  719,
+      719,  719,  719,  720,  720,  720,  720,  720,   18,  720,
+
+      720,  720,  720,  720,  720,  720,  720,  720,  720,  720,
+      720,  720,  721,  721,   17,   14,    9,  721,  721,  721,
+      722,  722,  722,  722,  722,  722,  722,  722,  722,  722,
+      722,  722,  722,  722,  722,  722,  722,  722,  722,  723,
       723,  723,  723,  723,  723,  723,  723,  723,  723,  723,
-      723,  723,  724,  724,  724,  724,  724,  724,  724,  724,
-      724,  724,  724,  724,  724,  724,  724,  725,  725,  725,
-      725,  725,  725,  725,  725,  725,  725,  725,  725,  725,
-
-      725,  725,  726,  726,  726,  726,  726,  726,  726,  726,
-      726,  726,  726,  726,  726,  726,  726,  727,  727,  727,
+      723,  723,  723,  723,  723,  723,  723,  723,  724,  724,
+      724,  724,  724,  724,  724,  724,  724,  724,  724,  724,
+      724,  724,  724,  724,  724,  724,  724,  725,    3,    0,
+        0,  725,  725,  725,    0,  725,  725,  725,  725,  725,
+      725,  725,  725,  726,  726,  726,  726,  726,    0,  726,
+
+      726,  726,  726,  726,  726,  726,  726,  726,  726,  726,
+      726,  726,  727,  727,  727,  727,  727,  727,  727,  727,
       727,  727,  727,  727,  727,  727,  727,  727,  727,  727,
-      727,  727,  728,  728,    0,  728,  728,  728,  728,  728,
-      728,  728,  728,  728,  728,  728,  728,  729,  729,    0,
-      729,  729,  729,  729,  729,  729,  729,  729,  729,  729,
-      729,  729,  730,  730,    0,  730,  730,  730,  730,  730,
-      730,  730,  730,  730,  730,  730,  730,  731,  731,  731,
-      731,  731,  731,  731,  731,  731,  731,  731,  731,  731,
-      731,  731,  732,  732,  732,  732,  732,  732,  732,  732,
-
+      727,  728,  728,    0,    0,    0,    0,    0,    0,    0,
+        0,  728,    0,    0,  728,  728,    0,  728,  732,  732,
+      732,  732,  732,  732,  732,  732,  732,  732,  732,  732,
       732,  732,  732,  732,  732,  732,  732,  733,  733,  733,
       733,  733,  733,  733,  733,  733,  733,  733,  733,  733,
-      733,  733,  734,  734,  734,  734,  734,  734,  734,  734,
-      734,  734,  734,  734,  734,  734,  734,  735,    0,    0,
-      735,    0,  735,  735,    0,    0,  735,  735,  736,  736,
+      733,  733,  733,  733,  733,  733,  735,  735,  735,  735,
+      735,  735,  735,  735,  735,  735,  735,  735,  735,  735,
+
+      735,  735,  735,  735,  735,  736,  736,  736,  736,  736,
       736,  736,  736,  736,  736,  736,  736,  736,  736,  736,
-      736,  736,  736,  737,  737,  737,  737,  737,  737,  737,
-      737,  737,  737,  737,  737,  737,  737,  737,  738,  738,
+      736,  736,  736,  736,  737,    0,    0,    0,  737,  737,
+      737,    0,  737,  737,  737,  737,  737,  737,  737,  737,
       738,  738,  738,  738,  738,  738,  738,  738,  738,  738,
-      738,  738,  738,  739,  739,  739,  739,  739,  739,  739,
-
+      738,  738,  738,  738,  738,  738,  738,  738,  738,  739,
+      739,  739,  739,  739,  739,  739,  739,  739,  739,  739,
       739,  739,  739,  739,  739,  739,  739,  739,  740,  740,
-        0,  740,  740,  740,  740,  740,  740,  740,  740,  740,
-      740,  740,  740,  741,  741,  741,  741,  741,  741,  741,
-      741,  741,  741,  741,  741,  741,  741,  741,  742,  742,
-      742,  742,    0,  742,  742,  742,  742,  742,  742,  742,
-      742,  742,  742,  743,  743,  743,  743,  743,  743,  743,
-      743,  743,  743,  743,  743,  743,  743,  743,  744,  744,
-        0,  744,  744,  744,  744,  744,  744,  744,  744,  744,
-      744,  744,  744,  745,  745,    0,  745,  745,  745,  745,
-      745,  745,  745,  745,  745,  745,  745,  745,  746,    0,
-
-      746,    0,    0,    0,  746,  746,  746,  747,  747,    0,
+      740,  740,  740,  740,  740,  740,  740,  740,  740,  740,
+      740,  740,  740,  740,  740,  740,  740,  741,  741,  741,
+
+      741,  741,  741,  741,  741,  741,  741,  741,  741,  741,
+      741,  741,  741,  741,  741,  741,  742,  742,  742,  742,
+      742,  742,  742,  742,  742,  742,  742,  742,  742,  742,
+      742,  742,  742,  742,  742,  743,  743,    0,  743,  743,
+      743,  743,  743,  743,  743,  743,  743,  743,  743,  743,
+      743,  743,  743,  743,  744,  744,    0,  744,  744,  744,
+      744,  744,  744,  744,  744,  744,  744,  744,  744,  744,
+      744,  744,  744,  745,    0,  745,    0,    0,    0,  745,
+      745,  745,    0,    0,  745,  746,  746,  746,  746,  746,
+      746,  746,  746,  746,  746,  746,  746,  746,  746,  746,
+
+      746,  746,  746,  746,  747,  747,  747,  747,  747,  747,
       747,  747,  747,  747,  747,  747,  747,  747,  747,  747,
-      747,  747,  748,  748,    0,  748,  748,  748,  748,  748,
-      748,  748,  748,  748,  748,  748,  748,  749,  749,    0,
+      747,  747,  747,  748,  748,  748,  748,  748,  748,  748,
+      748,  748,  748,  748,  748,  748,  748,  748,  748,  748,
+      748,  748,  749,  749,  749,  749,  749,  749,  749,  749,
       749,  749,  749,  749,  749,  749,  749,  749,  749,  749,
-      749,  749,  750,  750,  750,  750,  750,  750,  750,  750,
-      750,  750,  750,  750,  750,  750,  750,  751,  751,  751,
-      751,  751,  751,  751,  751,  751,  751,  751,  751,  751,
-      751,  751,  752,  752,  752,  752,  752,  752,  752,  752,
-      752,  752,  752,  752,  752,  752,  752,  753,  753,  753,
-
+      749,  750,  750,  750,  750,  750,  750,  750,  750,  752,
+        0,    0,    0,  752,    0,  752,  752,  752,  752,    0,
+      752,  753,  753,  753,  753,  753,  753,  753,  753,  753,
       753,  753,  753,  753,  753,  753,  753,  753,  753,  753,
-      753,  753,  754,    0,    0,    0,    0,  754,  754,    0,
-        0,  754,  754,  755,  755,  755,  755,  755,  755,  755,
-      755,  755,  755,  755,  755,  755,  755,  755,  756,  756,
-      756,  756,  756,  756,  756,  756,  756,  756,  756,  756,
-      756,  756,  756,  757,  757,    0,  757,  757,  757,  757,
-      757,  757,  757,  757,  757,  757,  757,  757,  758,  758,
-        0,  758,  758,  758,  758,  758,  758,  758,  758,  758,
-      758,  758,  758,  759,  759,  759,  759,    0,  759,  759,
-      759,  759,  759,  759,  759,  759,  759,  759,  760,  760,
 
+      754,  754,  754,  754,  754,  754,  754,  754,  754,  754,
+      754,  754,  754,  754,  754,  754,  754,  754,  754,  755,
+        0,    0,    0,  755,  755,  755,    0,  755,  755,  755,
+      755,  755,  755,  755,  755,  756,  756,  756,  756,  756,
+      756,  756,  756,  756,  756,  756,  756,  756,  756,  756,
+      756,  756,  756,  756,  757,  757,  757,  757,  757,  757,
+      757,  757,  757,  757,  757,  757,  757,  757,  757,  757,
+      757,  757,  757,  758,  758,  758,  758,  758,  758,  758,
+      758,  758,  758,  758,  758,  758,  758,  758,  758,  758,
+      758,  758,  759,  759,  759,  759,  759,  759,  759,  759,
+
+      759,  759,  759,  759,  759,  759,  759,  759,  759,  759,
+      759,  760,  760,  760,  760,  760,  760,  760,  760,  760,
       760,  760,  760,  760,  760,  760,  760,  760,  760,  760,
-      760,  760,  760,  761,  761,    0,  761,  761,  761,  761,
-      761,  761,  761,  761,  761,  761,  761,  761,  762,  762,
-        0,  762,  762,  762,  762,  762,  762,  762,  762,  762,
-      762,  762,  762,  763,  763,    0,  763,  763,  763,  763,
-      763,  763,  763,  763,  763,  763,  763,  763,  764,  764,
-        0,  764,  764,  764,  764,  764,  764,  764,  764,  764,
-      764,  764,  764,  765,  765,    0,  765,  765,  765,  765,
-      765,  765,  765,  765,  765,  765,  765,  765,  766,  766,
-        0,  766,  766,  766,  766,  766,  766,  766,  766,  766,
-
-      766,  766,  766,  767,  767,    0,  767,  767,  767,  767,
-      767,  767,  767,  767,  767,  767,  767,  767,  768,  768,
-        0,  768,  768,  768,  768,  768,  768,  768,  768,  768,
-      768,  768,  768,  769,  769,  769,  769,  769,  769,  769,
-      769,  769,  769,  769,  769,  769,  769,  769,  770,  770,
+      761,  761,  761,  761,  761,  761,  761,  761,  761,  761,
+      761,  761,  761,  761,  761,  761,  761,  761,  761,  762,
+      762,  762,  762,  762,  762,  762,  762,  762,  762,  762,
+      762,  762,  762,  762,  762,  762,  762,  762,  763,  763,
+      763,  763,  763,  763,  763,  763,  763,  763,  763,  763,
+      763,  763,  763,  763,  763,  763,  763,  764,  764,    0,
+      764,  764,  764,  764,  764,  764,  764,  764,  764,  764,
+
+      764,  764,  764,  764,  764,  764,  765,  765,    0,  765,
+      765,  765,  765,  765,  765,  765,  765,  765,  765,  765,
+      765,  765,  765,  765,  765,  766,    0,  766,    0,    0,
+        0,  766,  766,  766,    0,    0,  766,  767,    0,    0,
+        0,    0,    0,  767,  767,  767,  767,  768,  768,  768,
+      768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
+      768,  768,  768,  768,  768,  768,  769,  769,  769,  769,
+      769,  769,  769,  769,  769,  769,  769,  769,  769,  769,
+      769,  769,  769,  769,  769,  770,  770,  770,  770,  770,
       770,  770,  770,  770,  770,  770,  770,  770,  770,  770,
-      770,  770,  770,  771,  771,  771,  771,  771,  771,  771,
-      771,  771,  771,  771,  771,  771,  771,  771,  772,    0,
-        0,    0,    0,  772,  772,    0,    0,  772,  773,  773,
-      773,  773,  773,  773,  773,  773,  773,  773,  773,  773,
-
-      773,  773,  773,  774,  774,  774,  774,  774,  774,  774,
-      774,  774,  774,  774,  774,  774,  774,  774,  775,  775,
-        0,  775,  775,  775,  775,  775,  775,  775,  775,  775,
-      775,  775,  775,  776,  776,  776,  776,  776,  776,  776,
-      776,  776,  776,  776,  776,  776,  776,  776,  777,    0,
-        0,    0,    0,  777,  777,    0,    0,  777,  778,  778,
-        0,  778,  778,  778,  778,  778,  778,  778,  778,  778,
+
+      770,  770,  770,  770,  771,  771,  771,  771,  771,  771,
+      771,  771,  771,  771,  771,  771,  771,  771,  771,  771,
+      771,  771,  771,  772,  772,    0,    0,  772,  772,    0,
+      772,  772,  772,  772,  772,  772,  772,  772,  772,  773,
+        0,    0,    0,    0,    0,  773,  773,  773,  773,    0,
+      773,  774,  774,  774,  774,  774,  774,  774,  774,  774,
+      774,  774,  774,  774,  774,  774,  774,  774,  774,  774,
+      775,  775,  775,  775,  775,  775,  775,  775,  775,  775,
+      775,  775,  775,  775,  775,  775,  775,  775,  775,  776,
+      776,    0,    0,  776,  776,  776,  776,  776,  776,  776,
+
+      776,  776,  776,  776,  776,  777,  777,  777,  777,  777,
+      777,  777,  777,  777,  777,  777,  777,  777,  777,  777,
+      777,  777,  777,  777,  778,  778,  778,  778,  778,  778,
+      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
       778,  778,  778,  779,  779,  779,  779,  779,  779,  779,
-      779,  779,  779,  779,  779,  779,  779,  779,  780,  780,
-        0,  780,  780,  780,  780,  780,  780,  780,  780,  780,
-
-      780,  780,  780,  781,  781,    0,  781,  781,  781,  781,
-      781,  781,  781,  781,  781,  781,  781,  781,  782,  782,
-        0,  782,  782,  782,  782,  782,  782,  782,  782,  782,
-      782,  782,  782,  783,  783,  783,  783,  783,  783,  783,
-      783,  783,  783,  783,  783,  783,  783,  783,  784,  784,
-      784,  784,  784,  784,  784,  784,  784,  784,  784,  784,
-      784,  784,  784,  785,  785,  785,  785,  785,  785,  785,
-      785,  785,  785,  785,  785,  785,  785,  785,  786,  786,
+      779,  779,  779,  779,  779,  779,  779,  779,  779,  779,
+      779,  779,  780,  780,  780,  780,  780,  780,  780,  780,
+      780,  780,  780,  780,  780,  780,  780,  780,  780,  780,
+      780,  781,  781,  781,  781,  781,  781,  781,  781,  781,
+      781,  781,  781,  781,  781,  781,  781,  781,  781,  781,
+
+      782,  782,  782,  782,  782,  782,  782,  782,  782,  782,
+      782,  782,  782,  782,  782,  782,  782,  782,  782,  783,
+      783,  783,  783,  783,  783,  783,  783,  783,  783,  783,
+      783,  783,  783,  783,  783,  783,  783,  783,  784,    0,
+        0,    0,    0,    0,  784,  784,  784,  784,  785,  785,
+        0,  785,  785,  785,  785,  785,  785,  785,  785,  785,
+      785,  785,  785,  785,  785,  785,  785,  786,  786,    0,
       786,  786,  786,  786,  786,  786,  786,  786,  786,  786,
-      786,  786,  786,  710,  710,  710,  710,  710,  710,  710,
-
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710,  710,  710,  710,  710,
-      710,  710,  710,  710,  710,  710
+      786,  786,  786,  786,  786,  786,  787,  787,    0,  787,
+      787,  787,  787,  787,  787,  787,  787,  787,  787,  787,
+
+      787,  787,  787,  787,  787,  788,  788,    0,  788,  788,
+      788,  788,  788,  788,  788,  788,  788,  788,  788,  788,
+      788,  788,  788,  788,  789,  789,    0,  789,  789,  789,
+      789,  789,  789,  789,  789,  789,  789,  789,  789,  789,
+      789,  789,  789,  790,  790,    0,  790,  790,  790,  790,
+      790,  790,  790,  790,  790,  790,  790,  790,  790,  790,
+      790,  790,  791,  791,  791,  791,  791,  791,  791,  791,
+      791,  791,  791,  791,  791,  791,  791,  791,  791,  791,
+      791,  792,  792,  792,  792,  792,  792,  792,  792,  792,
+      792,  792,  792,  792,  792,  792,  792,  792,  792,  792,
+
+      793,  793,  793,  793,  793,  793,  793,  793,  793,  793,
+      793,  793,  793,  793,  793,  793,  793,  793,  793,  794,
+        0,    0,    0,    0,    0,  794,  794,  794,  794,  794,
+      794,  794,  794,  794,  795,  795,  795,  795,  795,  795,
+      795,  795,  795,  795,  795,  795,  795,  795,  795,  795,
+      795,  795,  795,  796,  796,  796,  796,  796,  796,  796,
+      796,  796,  796,  796,  796,  796,  796,  796,  796,  796,
+      796,  796,  797,  797,  797,  797,    0,  797,  797,  797,
+      797,  797,  797,  797,  797,  797,  797,  797,  797,  797,
+      797,  798,    0,    0,    0,    0,    0,  798,  798,  798,
+
+      798,  799,  799,    0,  799,  799,  799,  799,  799,  799,
+      799,  799,  799,  799,  799,  799,  799,  799,  799,  799,
+      800,  800,    0,  800,  800,  800,  800,  800,  800,  800,
+      800,  800,  800,  800,  800,  800,  800,  800,  800,  801,
+      801,    0,  801,  801,  801,  801,  801,  801,  801,  801,
+      801,  801,  801,  801,  801,  801,  801,  801,  802,  802,
+        0,  802,  802,  802,  802,  802,  802,  802,  802,  802,
+      802,  802,  802,  802,  802,  802,  802,  803,  803,  803,
+      803,  803,  803,  803,  803,  803,  803,  803,  803,  803,
+      803,  803,  803,  803,  803,  803,  804,  804,  804,  804,
+
+      804,  804,  804,  804,  804,  804,  804,  804,  804,  804,
+      804,  804,  804,  804,  804,  805,  805,  805,  805,  805,
+      805,  805,  805,  805,  805,  805,  805,  805,  805,  805,
+      805,  805,  805,  805,  806,  806,  806,  806,  806,  806,
+      806,  806,  806,  806,  806,  806,  806,  806,  806,  806,
+      806,  806,  806,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718,  718,
+      718,  718,  718,  718,  718,  718,  718,  718,  718
     } ;
 
-static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr;
+extern int yy_flex_debug;
+int yy_flex_debug = 0;
+
+static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
 static char *yy_full_match;
 static int yy_lp;
 static int yy_looking_for_trail_begin = 0;
@@ -1669,27 +1802,29 @@ static int *yy_full_state;
 #define YY_TRAILING_HEAD_MASK 0x4000
 #define REJECT \
 { \
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \
-yy_cp = yy_full_match; /* restore poss. backed-over text */ \
-yy_lp = yy_full_lp; /* restore orig. accepting pos. */ \
-yy_state_ptr = yy_full_state; /* restore orig. state */ \
-yy_current_state = *yy_state_ptr; /* restore curr. state */ \
-++yy_lp; \
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
+yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
+(yy_lp) = (yy_full_lp); /* restore orig. accepting pos. */ \
+(yy_state_ptr) = (yy_full_state); /* restore orig. state */ \
+yy_current_state = *(yy_state_ptr); /* restore curr. state */ \
+++(yy_lp); \
 goto find_rule; \
 }
+
 #define yymore() yymore_used_but_not_detected
 #define YY_MORE_ADJ 0
 #define YY_RESTORE_YY_MORE_OFFSET
 char *yytext;
-#line 1 "../parser.l"
-#define INITIAL 0
-#line 8 "../parser.l"
+#line 1 "parser.l"
+#line 8 "parser.l"
 /*
  * parser.l -- lex parser of algebraic chess moves for XBoard
- * $Id: parser.l,v 2.1 2003/10/27 19:21:00 mann Exp $
  *
- * Copyright 1991 by Digital Equipment Corporation, Maynard, Massachusetts.
- * Enhancements Copyright 1992-95 Free Software Foundation, Inc.
+ * Copyright 1991 by Digital Equipment Corporation, Maynard,
+ * Massachusetts.
+ *
+ * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005,
+ * 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  *
  * The following terms apply to Digital Equipment Corporation's copyright
  * interest in XBoard:
@@ -1713,28 +1848,39 @@ char *yytext;
  * SOFTWARE.
  * ------------------------------------------------------------------------
  *
- * The following terms apply to the enhanced version of XBoard distributed
- * by the Free Software Foundation:
+ * The following terms apply to the enhanced version of XBoard
+ * distributed by the Free Software Foundation:
  * ------------------------------------------------------------------------
- * This program is free software; you can redistribute it and/or modify
+ *
+ * GNU XBoard is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * the Free Software Foundation, either version 3 of the License, or (at
+ * your option) any later version.
  *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * GNU XBoard is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- * ------------------------------------------------------------------------
- */
+ * along with this program. If not, see http://www.gnu.org/licenses/.  
+ *
+ *------------------------------------------------------------------------
+ ** See the file ChangeLog for a revision history.  */
 
 /* This parser handles all forms of promotion.
  * The parser resolves ambiguous moves by searching and check-testing.
  * It also parses comments of the form [anything] or (anything).
+ *
+ * [HGM] Parser extensively modified for bigger boards, Shogi-like syntax,
+ * and unknow pieces. All pieces are now mandatory upper case, but can be
+ * any letter A-Z. Files must be lower case (as before), but can run upto 'l'.
+ * Ranks can be 0-9. The parser returns 0 for off-board files and ranks.
+ * For an unknown piece (as mover or promotion piece) it returns
+ * IllegalMove, like it does when the piece doesn't match.
+ * Promotions can now also be appended Shogi-style, a bare '=' or '+',
+ * and this is then returned as promotion character. The piece indicator
+ * can be prefixed by a '+' to indicate it is a promoted piece.
  */
 
 #include "config.h"
@@ -1756,6 +1902,16 @@ char *yy_text = (char *) yytext;
 
 #ifdef FLEX_SCANNER
 /* This is flex */
+/* [AP] use prototypes in function declarations */
+#define YY_USE_PROTOS
+
+#ifdef YY_USE_PROTOS
+#define YY_PROTO(proto) proto
+#else
+#define YY_PROTO(proto) ()
+#endif
+/* end of [AP] fix */
+
 #undef YY_INPUT
 #define YY_INPUT(buf, result, max_size) my_yy_input(buf, &result, max_size)
 #undef YY_DECL
@@ -1831,7 +1987,23 @@ int yyback P((int *, int));
 int yywrap P((void));
 extern void CopyBoard P((Board to, Board from));
 
-#line 1835 "lex.yy.c"
+#line 1991 "parser.c"
+
+#define INITIAL 0
+
+#ifndef YY_NO_UNISTD_H
+/* Special case for "unistd.h", since it is non-ANSI. We include it way
+ * down here because we want the user's section 1 to have been scanned first.
+ * The user has a chance to override it with an option.
+ */
+#include <unistd.h>
+#endif
+
+#ifndef YY_EXTRA_TYPE
+#define YY_EXTRA_TYPE void *
+#endif
+
+static int yy_init_globals (void );
 
 /* Macros after this point can all be overridden by user definitions in
  * section 1.
@@ -1839,65 +2011,30 @@ extern void CopyBoard P((Board to, Board from));
 
 #ifndef YY_SKIP_YYWRAP
 #ifdef __cplusplus
-extern "C" int yywrap YY_PROTO(( void ));
+extern "C" int yywrap (void );
 #else
-extern int yywrap YY_PROTO(( void ));
+extern int yywrap (void );
 #endif
 #endif
 
-#ifndef YY_NO_UNPUT
-static void yyunput YY_PROTO(( int c, char *buf_ptr ));
-#endif
-
+    static void yyunput (int c,char *buf_ptr  );
+    
 #ifndef yytext_ptr
-static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
+static void yy_flex_strncpy (char *,yyconst char *,int );
 #endif
 
 #ifdef YY_NEED_STRLEN
-static int yy_flex_strlen YY_PROTO(( yyconst char * ));
+static int yy_flex_strlen (yyconst char * );
 #endif
 
 #ifndef YY_NO_INPUT
-#ifdef __cplusplus
-static int yyinput YY_PROTO(( void ));
-#else
-static int input YY_PROTO(( void ));
-#endif
-#endif
-
-#if YY_STACK_USED
-static int yy_start_stack_ptr = 0;
-static int yy_start_stack_depth = 0;
-static int *yy_start_stack = 0;
-#ifndef YY_NO_PUSH_STATE
-static void yy_push_state YY_PROTO(( int new_state ));
-#endif
-#ifndef YY_NO_POP_STATE
-static void yy_pop_state YY_PROTO(( void ));
-#endif
-#ifndef YY_NO_TOP_STATE
-static int yy_top_state YY_PROTO(( void ));
-#endif
 
+#ifdef __cplusplus
+static int yyinput (void );
 #else
-#define YY_NO_PUSH_STATE 1
-#define YY_NO_POP_STATE 1
-#define YY_NO_TOP_STATE 1
+static int input (void );
 #endif
 
-#ifdef YY_MALLOC_DECL
-YY_MALLOC_DECL
-#else
-#if __STDC__
-#ifndef __cplusplus
-#include <stdlib.h>
-#endif
-#else
-/* Just try to get by without declaring the routines.  This will fail
- * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
- * or sizeof(void*) != sizeof(int).
- */
-#endif
 #endif
 
 /* Amount of stuff to slurp up with each read. */
@@ -1906,12 +2043,11 @@ YY_MALLOC_DECL
 #endif
 
 /* Copy whatever the last rule matched to the standard output. */
-
 #ifndef ECHO
 /* This used to be an fputs(), but since the string might contain NUL's,
  * we now use fwrite().
  */
-#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
+#define ECHO fwrite( yytext, yyleng, 1, yyout )
 #endif
 
 /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
@@ -1919,9 +2055,10 @@ YY_MALLOC_DECL
  */
 #ifndef YY_INPUT
 #define YY_INPUT(buf,result,max_size) \
-       if ( yy_current_buffer->yy_is_interactive ) \
+       if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
                { \
-               int c = '*', n; \
+               int c = '*'; \
+               int n; \
                for ( n = 0; n < max_size && \
                             (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
                        buf[n] = (char) c; \
@@ -1931,9 +2068,22 @@ YY_MALLOC_DECL
                        YY_FATAL_ERROR( "input in flex scanner failed" ); \
                result = n; \
                } \
-       else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
-                 && ferror( yyin ) ) \
-               YY_FATAL_ERROR( "input in flex scanner failed" );
+       else \
+               { \
+               errno=0; \
+               while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
+                       { \
+                       if( errno != EINTR) \
+                               { \
+                               YY_FATAL_ERROR( "input in flex scanner failed" ); \
+                               break; \
+                               } \
+                       errno=0; \
+                       clearerr(yyin); \
+                       } \
+               }\
+\
+
 #endif
 
 /* No semi-colon after return; correct usage is to write "yyterminate();" -
@@ -1954,12 +2104,18 @@ YY_MALLOC_DECL
 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
 #endif
 
+/* end tables serialization structures and prototypes */
+
 /* Default declaration of generated scanner - a define so the user can
  * easily add parameters.
  */
 #ifndef YY_DECL
-#define YY_DECL int yylex YY_PROTO(( void ))
-#endif
+#define YY_DECL_IS_OURS 1
+
+extern int yylex (void);
+
+#define YY_DECL int yylex (void)
+#endif /* !YY_DECL */
 
 /* Code executed at the beginning of each rule, after yytext and yyleng
  * have been set up.
@@ -1975,31 +2131,39 @@ YY_MALLOC_DECL
 
 #define YY_RULE_SETUP \
        if ( yyleng > 0 ) \
-               yy_current_buffer->yy_at_bol = \
+               YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
                                (yytext[yyleng - 1] == '\n'); \
        YY_USER_ACTION
 
+/** The main scanner function which does all the work.
+ */
 YY_DECL
-       {
+{
        register yy_state_type yy_current_state;
-       register char *yy_cp = NULL, *yy_bp = NULL;
+       register char *yy_cp, *yy_bp;
        register int yy_act;
-
-#line 156 "../parser.l"
+    
+#line 179 "parser.l"
 
 
-#line 1992 "lex.yy.c"
+#line 2150 "parser.c"
 
-       if ( yy_init )
+       if ( !(yy_init) )
                {
-               yy_init = 0;
+               (yy_init) = 1;
 
 #ifdef YY_USER_INIT
                YY_USER_INIT;
 #endif
 
-               if ( ! yy_start )
-                       yy_start = 1;   /* first start state */
+        /* Create the reject buffer large enough to save one state per allowed character. */
+        if ( ! (yy_state_buf) )
+            (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE  );
+            if ( ! (yy_state_buf) )
+                YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
+
+               if ( ! (yy_start) )
+                       (yy_start) = 1; /* first start state */
 
                if ( ! yyin )
                        yyin = stdin;
@@ -2007,29 +2171,33 @@ YY_DECL
                if ( ! yyout )
                        yyout = stdout;
 
-               if ( ! yy_current_buffer )
-                       yy_current_buffer =
-                               yy_create_buffer( yyin, YY_BUF_SIZE );
+               if ( ! YY_CURRENT_BUFFER ) {
+                       yyensure_buffer_stack ();
+                       YY_CURRENT_BUFFER_LVALUE =
+                               yy_create_buffer(yyin,YY_BUF_SIZE );
+               }
 
-               yy_load_buffer_state();
+               yy_load_buffer_state( );
                }
 
        while ( 1 )             /* loops until end-of-file is reached */
                {
-               yy_cp = yy_c_buf_p;
+               yy_cp = (yy_c_buf_p);
 
                /* Support of yytext. */
-               *yy_cp = yy_hold_char;
+               *yy_cp = (yy_hold_char);
 
                /* yy_bp points to the position in yy_ch_buf of the start of
                 * the current run.
                 */
                yy_bp = yy_cp;
 
-               yy_current_state = yy_start;
+               yy_current_state = (yy_start);
                yy_current_state += YY_AT_BOL();
-               yy_state_ptr = yy_state_buf;
-               *yy_state_ptr++ = yy_current_state;
+
+               (yy_state_ptr) = (yy_state_buf);
+               *(yy_state_ptr)++ = yy_current_state;
+
 yy_match:
                do
                        {
@@ -2037,113 +2205,146 @@ yy_match:
                        while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
                                {
                                yy_current_state = (int) yy_def[yy_current_state];
-                               if ( yy_current_state >= 711 )
+                               if ( yy_current_state >= 719 )
                                        yy_c = yy_meta[(unsigned int) yy_c];
                                }
                        yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
-                       *yy_state_ptr++ = yy_current_state;
+                       *(yy_state_ptr)++ = yy_current_state;
                        ++yy_cp;
                        }
-               while ( yy_base[yy_current_state] != 4394 );
+               while ( yy_base[yy_current_state] != 4554 );
 
 yy_find_action:
-               yy_current_state = *--yy_state_ptr;
-               yy_lp = yy_accept[yy_current_state];
+               yy_current_state = *--(yy_state_ptr);
+               (yy_lp) = yy_accept[yy_current_state];
 find_rule: /* we branch to this label when backing up */
                for ( ; ; ) /* until we find what rule we matched */
                        {
-                       if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] )
+                       if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
                                {
-                               yy_act = yy_acclist[yy_lp];
+                               yy_act = yy_acclist[(yy_lp)];
                                if ( yy_act & YY_TRAILING_HEAD_MASK ||
-                                    yy_looking_for_trail_begin )
+                                    (yy_looking_for_trail_begin) )
                                        {
-                                       if ( yy_act == yy_looking_for_trail_begin )
+                                       if ( yy_act == (yy_looking_for_trail_begin) )
                                                {
-                                               yy_looking_for_trail_begin = 0;
+                                               (yy_looking_for_trail_begin) = 0;
                                                yy_act &= ~YY_TRAILING_HEAD_MASK;
                                                break;
                                                }
                                        }
                                else if ( yy_act & YY_TRAILING_MASK )
                                        {
-                                       yy_looking_for_trail_begin = yy_act & ~YY_TRAILING_MASK;
-                                       yy_looking_for_trail_begin |= YY_TRAILING_HEAD_MASK;
+                                       (yy_looking_for_trail_begin) = yy_act & ~YY_TRAILING_MASK;
+                                       (yy_looking_for_trail_begin) |= YY_TRAILING_HEAD_MASK;
                                        }
                                else
                                        {
-                                       yy_full_match = yy_cp;
-                                       yy_full_state = yy_state_ptr;
-                                       yy_full_lp = yy_lp;
+                                       (yy_full_match) = yy_cp;
+                                       (yy_full_state) = (yy_state_ptr);
+                                       (yy_full_lp) = (yy_lp);
                                        break;
                                        }
-                               ++yy_lp;
+                               ++(yy_lp);
                                goto find_rule;
                                }
                        --yy_cp;
-                       yy_current_state = *--yy_state_ptr;
-                       yy_lp = yy_accept[yy_current_state];
+                       yy_current_state = *--(yy_state_ptr);
+                       (yy_lp) = yy_accept[yy_current_state];
                        }
 
                YY_DO_BEFORE_ACTION;
 
-
 do_action:     /* This label is used only to access EOF actions. */
 
-
                switch ( yy_act )
        { /* beginning of action switch */
 case 1:
 YY_RULE_SETUP
-#line 158 "../parser.l"
+#line 181 "parser.l"
 {
     /*
      * Fully-qualified algebraic move, possibly with promotion
      */
-    int skip1 = 0, skip2 = 0;
+    int skip1 = 0, skip2 = 0, skip3 = 0, promoted = 0;
     ChessSquare piece;
     ChessMove result;
-
+    char c;
+    
     if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */
 
-    /* remove the / */
-    if (yytext[1] == '/') skip1 = 1;
+    if (yytext[0] == '+') skip1 = skip3 = promoted = 1; /* [HGM] Shogi promoted */
 
+    /* remove the / */
+    if (yytext[1+skip1] == '/')  skip1++; 
+    
     /* remove the [xX:-] */
     if ((yytext[3+skip1] == 'x') || (yytext[3+skip1] == 'X') ||
-       (yytext[3+skip1] == '-') || (yytext[3+skip1] == ':')) skip2 = 1;
-
+        (yytext[3+skip1] == '-') || (yytext[3+skip1] == ':')) skip2 = 1;
+    
     currentMoveString[0] = yytext[1+skip1];
     currentMoveString[1] = yytext[2+skip1];
     currentMoveString[2] = yytext[3+skip1+skip2];
     currentMoveString[3] = yytext[4+skip1+skip2];
     currentMoveString[4] = NULLCHAR;
+    
+    if (appData.debugMode) {
+        fprintf(debugFP, "Parser Qa1b2: yyleng=%d\n",
+        yyleng);
+    }
 
-    if (yyleng-skip1-skip2 > 5) {
-       if (yytext[yyleng-1] == ')') {
-           currentMoveString[4] = ToLower(yytext[yyleng-2]);
+    if (yyleng-skip1-skip2 > 5) { char c;
+        if (yytext[yyleng-1] == ')') {
+            c = currentMoveString[4] = ToLower(yytext[yyleng-2]);
        } else {
-           currentMoveString[4] = ToLower(yytext[yyleng-1]);
+            c = currentMoveString[4] = ToLower(yytext[yyleng-1]);
        }
        currentMoveString[5] = NULLCHAR;
+        if(c != '=' && c != '+' && CharToPiece(c) == EmptySquare)
+            return IllegalMove; /* [HGM] promotion to invalid piece */
     }
 
+    if (appData.debugMode) {
+        fprintf(debugFP, "parser: %s\n", currentMoveString);
+    }
+    /* [HGM] do not allow values beyond board size */
+    if(currentMoveString[1] - ONE >= BOARD_HEIGHT ||
+       currentMoveString[1] - ONE <  0            ||
+       currentMoveString[0] - AAA >= BOARD_RGHT   ||
+       currentMoveString[3] - ONE >= BOARD_HEIGHT ||
+       currentMoveString[3] - ONE <  0            ||
+       currentMoveString[2] - AAA >= BOARD_RGHT   ||
+       currentMoveString[0] - AAA <  BOARD_LEFT   ||
+       currentMoveString[2] - AAA <  BOARD_LEFT     )
+      return ImpossibleMove;
+
     piece = boards[yyboardindex]
-      [currentMoveString[1] - '1'][currentMoveString[0] - 'a'];
-    if (ToLower(yytext[0]) != ToLower(PieceToChar(piece)))
+      [currentMoveString[1] - ONE][currentMoveString[0] - AAA];
+    if(PieceToChar(piece) == '+' && appData.icsActive) promoted = 1, yytext[skip3] = PieceToChar(DEMOTED piece); // trust ICS
+    if(promoted) piece = (ChessSquare) (DEMOTED piece);
+    c = PieceToChar(piece);
+    if(c == '~') c = PieceToChar((ChessSquare) (DEMOTED piece));
+    if (ToLower(yytext[skip3]) != ToLower(c))
       return (int) IllegalMove;
 
     result = LegalityTest(boards[yyboardindex],
-                         PosFlags(yyboardindex), EP_UNKNOWN,
-                         currentMoveString[1] - '1',
-                         currentMoveString[0] - 'a',
-                         currentMoveString[3] - '1',
-                         currentMoveString[2] - 'a',
+                         PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.!
+                          currentMoveString[1] - ONE,
+                          currentMoveString[0] - AAA,
+                          currentMoveString[3] - ONE,
+                          currentMoveString[2] - AAA,
                          currentMoveString[4]);
 
     if (currentMoveString[4] == NULLCHAR &&
-       (result == WhitePromotionQueen || result == BlackPromotionQueen)) {
-       currentMoveString[4] = 'q';
+        (result == WhitePromotion  || result == BlackPromotion)) {
+        if(gameInfo.variant == VariantCourier || gameInfo.variant == VariantShatranj)
+            currentMoveString[4] = PieceToChar(BlackFerz);
+        else if(gameInfo.variant == VariantGreat)
+            currentMoveString[4] = PieceToChar(BlackMan);
+        else if(gameInfo.variant == VariantShogi)
+            currentMoveString[4] = '+';
+        else
+            currentMoveString[4] = PieceToChar(BlackQueen);
        currentMoveString[5] = NULLCHAR;
     }
 
@@ -2152,10 +2353,11 @@ YY_RULE_SETUP
        YY_BREAK
 case 2:
 YY_RULE_SETUP
-#line 212 "../parser.l"
+#line 270 "parser.l"
 {
     /*
      * Simple algebraic move, possibly with promotion
+     * [HGM] Engine moves are received in this format, with lower-case promoChar!
      */
     int skip = 0;
     ChessMove result;
@@ -2172,76 +2374,166 @@ YY_RULE_SETUP
     currentMoveString[3] = yytext[3+skip];
     currentMoveString[4] = NULLCHAR;
 
-    if (yyleng-skip > 4) {
+    if (yyleng-skip > 4) { char c;
        if (yytext[yyleng-1] == ')') {
-           currentMoveString[4] = ToLower(yytext[yyleng-2]);
+            c = currentMoveString[4] = ToLower(yytext[yyleng-2]);
        } else {
-           currentMoveString[4] = ToLower(yytext[yyleng-1]);
+            c = currentMoveString[4] = ToLower(yytext[yyleng-1]);
        }
        currentMoveString[5] = NULLCHAR;
+        if(c != '=' && c != '+' && CharToPiece(c) == EmptySquare)
+            return IllegalMove;
     }
 
+    /* [HGM] do not allow values beyond board size */
+    if(currentMoveString[1] - ONE >= BOARD_HEIGHT ||
+       currentMoveString[1] - ONE <  0            ||
+       currentMoveString[0] - AAA >= BOARD_RGHT   ||
+       currentMoveString[3] - ONE >= BOARD_HEIGHT ||
+       currentMoveString[3] - ONE <  0            ||
+       currentMoveString[2] - AAA >= BOARD_RGHT   ||
+       currentMoveString[0] - AAA <  BOARD_LEFT   ||
+       currentMoveString[2] - AAA <  BOARD_LEFT     )
+      return ImpossibleMove;
+
     result = LegalityTest(boards[yyboardindex],
-                         PosFlags(yyboardindex), EP_UNKNOWN,
-                         currentMoveString[1] - '1',
-                         currentMoveString[0] - 'a',
-                         currentMoveString[3] - '1',
-                         currentMoveString[2] - 'a',
+                         PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.!
+                          currentMoveString[1] - ONE,
+                          currentMoveString[0] - AAA,
+                          currentMoveString[3] - ONE,
+                          currentMoveString[2] - AAA,
+                         currentMoveString[4]);
+
+    if (currentMoveString[4] == NULLCHAR) {
+      if(result == WhitePromotion  || result == BlackPromotion) {
+        if(gameInfo.variant == VariantShatranj || gameInfo.variant == VariantCourier || gameInfo.variant == VariantMakruk)
+            currentMoveString[4] = PieceToChar(BlackFerz);
+        else if(gameInfo.variant == VariantGreat)
+            currentMoveString[4] = PieceToChar(BlackMan);
+        else if(gameInfo.variant == VariantShogi)
+            currentMoveString[4] = '+'; // Queen might not be defined in mini variants!
+        else
+            currentMoveString[4] = PieceToChar(BlackQueen);
+       currentMoveString[5] = NULLCHAR;
+      }
+    } else if(appData.testLegality && // strip off unnecessary and false promo characters
+       !(result == WhitePromotion  || result == BlackPromotion ||
+         result == WhiteNonPromotion || result == BlackNonPromotion)) currentMoveString[4] = NULLCHAR;
+
+    return (int) result;
+}
+       YY_BREAK
+case 3:
+YY_RULE_SETUP
+#line 339 "parser.l"
+{
+    /*
+     * Simple algebraic move, in capitals
+     * [HGM] Engine moves are received in this format, with lower-case promoChar!
+     */
+    int skip = 0;
+    ChessMove result;
+
+    if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */
+
+    /* remove the [xX:-] */
+    if ((yytext[2] == 'x') || (yytext[2] == 'X') ||
+       (yytext[2] == '-') || (yytext[2] == ':')) skip = 1;
+
+    currentMoveString[0] = yytext[0]+32;
+    currentMoveString[1] = yytext[1];
+    currentMoveString[2] = yytext[2+skip]+32;
+    currentMoveString[3] = yytext[3+skip];
+    currentMoveString[4] = NULLCHAR;
+
+    /* [HGM] do not allow values beyond board size */
+    if(currentMoveString[1] - ONE >= BOARD_HEIGHT ||
+       currentMoveString[1] - ONE <  0            ||
+       currentMoveString[0] - AAA >= BOARD_RGHT   ||
+       currentMoveString[3] - ONE >= BOARD_HEIGHT ||
+       currentMoveString[3] - ONE <  0            ||
+       currentMoveString[2] - AAA >= BOARD_RGHT   ||
+       currentMoveString[0] - AAA <  BOARD_LEFT   ||
+       currentMoveString[2] - AAA <  BOARD_LEFT     )
+      return ImpossibleMove;
+
+    result = LegalityTest(boards[yyboardindex],
+                         PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.!
+                          currentMoveString[1] - ONE,
+                          currentMoveString[0] - AAA,
+                          currentMoveString[3] - ONE,
+                          currentMoveString[2] - AAA,
                          currentMoveString[4]);
 
     if (currentMoveString[4] == NULLCHAR &&
-       (result == WhitePromotionQueen || result == BlackPromotionQueen)) {
-       currentMoveString[4] = 'q';
+        (result == WhitePromotion  || result == BlackPromotion)) {
+        if(gameInfo.variant == VariantShatranj || gameInfo.variant == VariantCourier || gameInfo.variant == VariantMakruk)
+            currentMoveString[4] = PieceToChar(BlackFerz);
+        else if(gameInfo.variant == VariantGreat)
+            currentMoveString[4] = PieceToChar(BlackMan);
+        else
+            currentMoveString[4] = PieceToChar(BlackQueen);
        currentMoveString[5] = NULLCHAR;
     }
 
     return (int) result;
 }
        YY_BREAK
-case 3:
+case 4:
 YY_RULE_SETUP
-#line 257 "../parser.l"
+#line 392 "parser.l"
 {
     /*
      * Pawn move, possibly with promotion
      */
     DisambiguateClosure cl;
-    int skip = 0;
+    int skip = 0; char c;
 
     if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */
 
     /* remove the =() */
-    if (yytext[2] == '=') skip++;
+    if (yytext[2] == '=' && yytext[3] != NULLCHAR) skip++;
     if (yytext[2+skip] == '(') skip++;
 
     cl.pieceIn = WhiteOnMove(yyboardindex) ? WhitePawn : BlackPawn;
     cl.rfIn = -1;
-    cl.ffIn = yytext[0] - 'a';
-    cl.rtIn = yytext[1] - '1';
-    cl.ftIn = yytext[0] - 'a';
-    cl.promoCharIn = yytext[2+skip];
-    Disambiguate(boards[yyboardindex],
-                PosFlags(yyboardindex), EP_UNKNOWN, &cl);
-
-    currentMoveString[0] = cl.ff + 'a';
-    currentMoveString[1] = cl.rf + '1';
-    currentMoveString[2] = cl.ft + 'a';
-    currentMoveString[3] = cl.rt + '1';
+    cl.ffIn = yytext[0] - AAA;
+    cl.rtIn = yytext[1] - ONE;
+    cl.ftIn = yytext[0] - AAA;
+    c = cl.promoCharIn = ToLower(yytext[2+skip]);
+
+    /* [HGM] do not allow values beyond board size */
+    if(cl.rtIn >= BOARD_HEIGHT ||
+       cl.rtIn <  0            ||
+       cl.ffIn >= BOARD_RGHT   ||
+       cl.ftIn <  BOARD_LEFT     )
+      return ImpossibleMove;
+
+    if(c != '=' && c != '+' && c != NULLCHAR && CharToPiece(c) == EmptySquare)
+      return IllegalMove;
+
+
+    Disambiguate(boards[yyboardindex], PosFlags(yyboardindex), &cl);
+
+    currentMoveString[0] = cl.ff + AAA;
+    currentMoveString[1] = cl.rf + ONE;
+    currentMoveString[2] = cl.ft + AAA;
+    currentMoveString[3] = cl.rt + ONE;
     currentMoveString[4] = cl.promoChar;
     currentMoveString[5] = NULLCHAR;
 
     return (int) cl.kind;
 }
        YY_BREAK
-case 4:
+case 5:
 YY_RULE_SETUP
-#line 290 "../parser.l"
+#line 436 "parser.l"
 {
     /*
      * Pawn capture, possibly with promotion, possibly ambiguous
      */
     DisambiguateClosure cl;
-    int skip1 = 0, skip2 = 0;
+    int skip1 = 0, skip2 = 0; char c;
 
     if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */
 
@@ -2257,37 +2549,47 @@ YY_RULE_SETUP
     /* remove the [xX:-] and =() */
     if ((yytext[1] == 'x') || (yytext[1] == 'X')
        || (yytext[1] == ':') || (yytext[1] == '-')) skip1 = 1;
-    if (yytext[2+skip1] == '=') skip2++;
+    if (yytext[2+skip1] == '=' && yytext[3+skip1] != NULLCHAR) skip2++;
     if (yytext[2+skip1+skip2] == '(') skip2++;
 
     cl.pieceIn = WhiteOnMove(yyboardindex) ? WhitePawn : BlackPawn;
     cl.rfIn = -1;
-    cl.ffIn = yytext[0] - 'a';
+    cl.ffIn = yytext[0] - AAA;
     cl.rtIn = -1;
-    cl.ftIn = yytext[1+skip1] - 'a';
-    cl.promoCharIn = yytext[2+skip1+skip2];
-    Disambiguate(boards[yyboardindex],
-                PosFlags(yyboardindex), EP_UNKNOWN, &cl);
-
-    currentMoveString[0] = cl.ff + 'a';
-    currentMoveString[1] = cl.rf + '1';
-    currentMoveString[2] = cl.ft + 'a';
-    currentMoveString[3] = cl.rt + '1';
+    cl.ftIn = yytext[1+skip1] - AAA;
+    c = cl.promoCharIn = yytext[2+skip1+skip2];
+
+    /* [HGM] do not allow values beyond board size */
+    if(cl.ffIn >= BOARD_RGHT  ||
+       cl.ffIn <  BOARD_LEFT  ||
+       cl.ftIn >= BOARD_RGHT  ||
+       cl.ftIn <  BOARD_LEFT     )
+      return ImpossibleMove;
+
+    if(c != '=' && c != '+' && c != NULLCHAR && CharToPiece(c) == EmptySquare)
+      return IllegalMove;
+
+    Disambiguate(boards[yyboardindex], PosFlags(yyboardindex), &cl);
+
+    currentMoveString[0] = cl.ff + AAA;
+    currentMoveString[1] = cl.rf + ONE;
+    currentMoveString[2] = cl.ft + AAA;
+    currentMoveString[3] = cl.rt + ONE;
     currentMoveString[4] = cl.promoChar;
     currentMoveString[5] = NULLCHAR;
 
     return (int) cl.kind;
 }
        YY_BREAK
-case 5:
+case 6:
 YY_RULE_SETUP
-#line 333 "../parser.l"
+#line 489 "parser.l"
 {
     /*
      * unambiguously abbreviated Pawn capture, possibly with promotion
      */
     int skip = 0;
-    ChessMove result;
+    ChessMove result; char c;
 
     if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */
 
@@ -2307,34 +2609,59 @@ YY_RULE_SETUP
     currentMoveString[0] = yytext[0];
     currentMoveString[2] = yytext[1+skip];
     currentMoveString[3] = yytext[2+skip];
+
+    /* [HGM] do not allow values beyond board size */
+    if(currentMoveString[0] - AAA >= BOARD_RGHT   ||
+       currentMoveString[3] - ONE >= BOARD_HEIGHT ||
+       currentMoveString[3] - ONE <  0            ||
+       currentMoveString[2] - AAA >= BOARD_RGHT   ||
+       currentMoveString[0] - AAA <  BOARD_LEFT   ||
+       currentMoveString[2] - AAA <  BOARD_LEFT     )
+      return ImpossibleMove;
+
+    if (gameInfo.variant == VariantXiangqi && /* [HGM] In Xiangqi rank stays same */
+         currentMoveString[0] != currentMoveString[2] ) {
+        currentMoveString[1] = yytext[2+skip];
+    } else 
     if (WhiteOnMove(yyboardindex)) {
-       if (yytext[2+skip] == '1') return (int) ImpossibleMove;
+        if (yytext[2+skip] == ONE) return (int) ImpossibleMove;
        currentMoveString[1] = yytext[2+skip] - 1;
+       if(boards[yyboardindex][currentMoveString[1]-ONE][currentMoveString[0]-AAA] != WhitePawn) 
+               return ImpossibleMove;
     } else {
-       if (yytext[2+skip] == '8') return (int) ImpossibleMove;
-       currentMoveString[1] = yytext[2+skip] + 1;
+        currentMoveString[1] = currentMoveString[3] + 1;
+        if (currentMoveString[3] == ONE+BOARD_HEIGHT-1) return (int) ImpossibleMove;
+       if(boards[yyboardindex][currentMoveString[1]-ONE][currentMoveString[0]-AAA] != BlackPawn) 
+               return ImpossibleMove;
     }
     if (yyleng-skip > 3) {
        if (yytext[yyleng-1] == ')')
-         currentMoveString[4] = ToLower(yytext[yyleng-2]);
+          c = currentMoveString[4] = ToLower(yytext[yyleng-2]);
        else
-         currentMoveString[4] = ToLower(yytext[yyleng-1]);
+          c = currentMoveString[4] = ToLower(yytext[yyleng-1]);
        currentMoveString[5] = NULLCHAR;
+        if(c != '=' && c != '+' && CharToPiece(c) == EmptySquare)
+            return IllegalMove;
     } else {
        currentMoveString[4] = NULLCHAR;
     }
 
     result = LegalityTest(boards[yyboardindex],
-                         PosFlags(yyboardindex), EP_UNKNOWN,
-                         currentMoveString[1] - '1',
-                         currentMoveString[0] - 'a',
-                         currentMoveString[3] - '1',
-                         currentMoveString[2] - 'a',
+                         PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.!
+                          currentMoveString[1] - ONE,
+                          currentMoveString[0] - AAA,
+                          currentMoveString[3] - ONE,
+                          currentMoveString[2] - AAA,
                          currentMoveString[4]);
 
     if (currentMoveString[4] == NULLCHAR &&
-       (result == WhitePromotionQueen || result == BlackPromotionQueen)) {
-       currentMoveString[4] = 'q';
+        (result == WhitePromotion  || result == BlackPromotion)) {
+        currentMoveString[4] = PieceToChar(BlackQueen);
+       // [HGM] shatranj: take care of variants without Queen
+       if(gameInfo.variant == VariantShatranj || gameInfo.variant == VariantCourier || gameInfo.variant == VariantMakruk)
+            currentMoveString[4] = PieceToChar(BlackFerz);
+       if(gameInfo.variant == VariantGreat)
+            currentMoveString[4] = PieceToChar(BlackMan);
        currentMoveString[5] = NULLCHAR;
     }
 
@@ -2358,11 +2685,11 @@ YY_RULE_SETUP
     }
 
     result = LegalityTest(boards[yyboardindex],
-                         PosFlags(yyboardindex), EP_UNKNOWN,
-                         currentMoveString[1] - '1',
-                         currentMoveString[0] - 'a',
-                         currentMoveString[3] - '1',
-                         currentMoveString[2] - 'a',
+                         PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.!
+                          currentMoveString[1] - ONE,
+                          currentMoveString[0] - AAA,
+                          currentMoveString[3] - ONE,
+                          currentMoveString[2] - AAA,
                          currentMoveString[4]);
 
     if (result == WhiteCapturesEnPassant || result == BlackCapturesEnPassant)
@@ -2371,198 +2698,276 @@ YY_RULE_SETUP
       return (int) IllegalMove;
 }
        YY_BREAK
-case 6:
+case 7:
 YY_RULE_SETUP
-#line 422 "../parser.l"
+#line 603 "parser.l"
 {
     /*
      * piece move, possibly ambiguous
      */
     DisambiguateClosure cl;
-    int skip = 0;
+    int skip = 0, skip2 = 0, promoted = 0;
 
     if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */
 
+    if(yytext[0] == '+') promoted = skip = skip2 = 1;
+
     /* remove the [xX:-] */
-    if ((yytext[1] == 'x') || (yytext[1] == 'X')
-       || (yytext[1] == ':') || (yytext[1] == '-')) skip = 1;
+    if ((yytext[1+skip] == 'x') || (yytext[1+skip] == 'X')
+        || (yytext[1+skip] == ':') || (yytext[1+skip] == '-')) skip++;
 
     if (WhiteOnMove(yyboardindex)) {
-       cl.pieceIn = CharToPiece(ToUpper(yytext[0]));
+        cl.pieceIn = CharToPiece(ToUpper(yytext[skip2]));
     } else {
-       cl.pieceIn = CharToPiece(ToLower(yytext[0]));
+        cl.pieceIn = CharToPiece(ToLower(yytext[skip2]));
     }
+    if(promoted) cl.pieceIn = (ChessSquare) (PROMOTED cl.pieceIn);
+
     cl.rfIn = -1;
     cl.ffIn = -1;
-    cl.rtIn = yytext[2+skip] - '1';
-    cl.ftIn = yytext[1+skip] - 'a';
+    cl.rtIn = yytext[2+skip] - ONE;
+    cl.ftIn = yytext[1+skip] - AAA;
     cl.promoCharIn = NULLCHAR;
-    Disambiguate(boards[yyboardindex],
-                PosFlags(yyboardindex), EP_UNKNOWN, &cl);
 
-    currentMoveString[0] = cl.ff + 'a';
-    currentMoveString[1] = cl.rf + '1';
-    currentMoveString[2] = cl.ft + 'a';
-    currentMoveString[3] = cl.rt + '1';
+    if(yyleng-skip > 3) /* [HGM] can have Shogi-style promotion */
+        cl.promoCharIn = yytext[yyleng-1-(yytext[yyleng-1]==')')];
+
+    if (appData.debugMode) {
+        fprintf(debugFP, "Parser Qa1: yyleng=%d,  %d(%d,%d)-(%d,%d) = %d (%c)\n",
+        yyleng,
+        cl.pieceIn,cl.ffIn,cl.rfIn,cl.ftIn,cl.rtIn,cl.promoCharIn,cl.promoCharIn?cl.promoCharIn:' ');
+    }
+
+    /* [HGM] but do not allow values beyond board size */
+    if(cl.rtIn >= BOARD_HEIGHT ||
+       cl.rtIn <  0            ||
+       cl.ftIn >= BOARD_RGHT   ||
+       cl.ftIn <  BOARD_LEFT     )
+      return ImpossibleMove;
+
+    Disambiguate(boards[yyboardindex], PosFlags(yyboardindex), &cl);
+
+    currentMoveString[0] = cl.ff + AAA;
+    currentMoveString[1] = cl.rf + ONE;
+    currentMoveString[2] = cl.ft + AAA;
+    currentMoveString[3] = cl.rt + ONE;
     currentMoveString[4] = cl.promoChar;
     currentMoveString[5] = NULLCHAR;
 
     return (int) cl.kind;
 }
        YY_BREAK
-case 7:
+case 8:
 YY_RULE_SETUP
-#line 458 "../parser.l"
+#line 659 "parser.l"
 {
     /*
      * piece move with rank or file disambiguator
      */
     DisambiguateClosure cl;
-    int skip = 0;
+    int skip = 0, skip2 = 0; int promoted=0;
 
     if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */
 
+    if(yytext[0]=='+') promoted = skip = skip2 = 1;
+
     /* remove the [xX:-] */
-    if ((yytext[2] == 'x') || (yytext[2] == 'X')
-       || (yytext[2] == ':') || (yytext[2] == '-')) skip = 1;
+    if ((yytext[2+skip] == 'x') || (yytext[2+skip] == 'X')
+        || (yytext[2+skip] == ':') || (yytext[2+skip] == '-')) skip++;
 
     if (WhiteOnMove(yyboardindex)) {
-       cl.pieceIn = CharToPiece(ToUpper(yytext[0]));
+        cl.pieceIn = CharToPiece(ToUpper(yytext[skip2]));
     } else {
-       cl.pieceIn = CharToPiece(ToLower(yytext[0]));
+        cl.pieceIn = CharToPiece(ToLower(yytext[skip2]));
     }
-    if (isalpha(yytext[1])) {
+    if(promoted) cl.pieceIn = (ChessSquare) (PROMOTED cl.pieceIn);
+
+    if (isalpha(yytext[1+skip2])) {
        cl.rfIn = -1;
-       cl.ffIn = yytext[1] - 'a';
+        cl.ffIn = yytext[1+skip2] - AAA;
+       
+        if(cl.ffIn >= BOARD_RGHT ||
+           cl.ffIn <  BOARD_LEFT   ) return 0;
     } else {
-       cl.rfIn = yytext[1] - '1';
+        cl.rfIn = yytext[1+skip2] - ONE;
        cl.ffIn = -1;
+        if(cl.rfIn >= BOARD_HEIGHT ||
+           cl.rfIn <  0) return 0;
     }
-    cl.rtIn = yytext[3+skip] - '1';
-    cl.ftIn = yytext[2+skip] - 'a';
+    cl.rtIn = yytext[3+skip] - ONE;
+    cl.ftIn = yytext[2+skip] - AAA;
     cl.promoCharIn = NULLCHAR;
-    Disambiguate(boards[yyboardindex],
-                PosFlags(yyboardindex), EP_UNKNOWN, &cl);
 
-    currentMoveString[0] = cl.ff + 'a';
-    currentMoveString[1] = cl.rf + '1';
-    currentMoveString[2] = cl.ft + 'a';
-    currentMoveString[3] = cl.rt + '1';
+    if(yyleng-skip > 4) /* [HGM] can have Shogi-style promotion */
+        cl.promoCharIn = yytext[yyleng-1-(yytext[yyleng-1]==')')];
+
+    /* [HGM] do not allow values beyond board size */
+    if(cl.rtIn >= BOARD_HEIGHT ||
+       cl.rtIn <  0            ||
+       cl.ftIn >= BOARD_RGHT   ||
+       cl.ftIn <  BOARD_LEFT     )
+      return ImpossibleMove;
+
+    Disambiguate(boards[yyboardindex], PosFlags(yyboardindex), &cl);
+
+    currentMoveString[0] = cl.ff + AAA;
+    currentMoveString[1] = cl.rf + ONE;
+    currentMoveString[2] = cl.ft + AAA;
+    currentMoveString[3] = cl.rt + ONE;
     currentMoveString[4] = cl.promoChar;
     currentMoveString[5] = NULLCHAR;
 
     return (int) cl.kind;
 }
        YY_BREAK
-case 8:
+case 9:
 YY_RULE_SETUP
-#line 499 "../parser.l"
+#line 719 "parser.l"
 {
     int rf, ff, rt, ft;
 
     if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */
 
+    /* [HGM] all squares referenced to board edges in stead of absolute */
     if (WhiteOnMove(yyboardindex)) {
-       if (boards[yyboardindex][0][3] == WhiteKing) {
+        if (boards[yyboardindex][0][(BOARD_WIDTH-1)>>1] == WhiteKing) {
            /* ICS wild castling */
-           strcpy(currentMoveString, "d1f1");
            rf = 0;
-           ff = 3;
+            ff = (BOARD_WIDTH-1)>>1;
            rt = 0;
-           ft = 5;
+            ft = BOARD_RGHT-3;
        } else {
-           strcpy(currentMoveString, "e1c1");
            rf = 0;
-           ff = 4;
+            ff = BOARD_WIDTH>>1;
            rt = 0;
-           ft = 2;
+            ft = BOARD_LEFT+2;
        }
-    } else{
-       if (boards[yyboardindex][7][3] == BlackKing) {
+    } else{ 
+        if (boards[yyboardindex][BOARD_HEIGHT-1][(BOARD_WIDTH-1)>>1] == BlackKing) {
            /* ICS wild castling */
-           strcpy(currentMoveString, "d8f8");
-           rf = 7;
-           ff = 3;
-           rt = 7;
-           ft = 5;
+            rf = BOARD_HEIGHT-1;
+            ff = (BOARD_WIDTH-1)>>1;
+            rt = BOARD_HEIGHT-1;
+            ft = BOARD_RGHT-3;
        } else {
-           strcpy(currentMoveString, "e8c8");
-           rf = 7;
-           ff = 4;
-           rt = 7;
-           ft = 2;
+            rf = BOARD_HEIGHT-1;
+            ff = BOARD_WIDTH>>1;
+            rt = BOARD_HEIGHT-1;
+            ft = BOARD_LEFT+2;
        }
     }
+    if(PosFlags(0) & F_FRC_TYPE_CASTLING) {
+
+        if (WhiteOnMove(yyboardindex)) {
+            ff = initialRights[2];
+            ft = initialRights[1];
+        } else {
+            ff = initialRights[5];
+            ft = initialRights[4];
+        }
+        if (appData.debugMode) 
+        {
+          fprintf(debugFP, "Parser FRC long %d %d\n", ff, ft);
+        };
+        if(ff < 0 || ft < 0) return 0;
+    }
+    sprintf(currentMoveString, "%c%c%c%c",ff+AAA,rf+ONE,ft+AAA,rt+ONE);
+    if (appData.debugMode) {
+        fprintf(debugFP, "long castling %d %d\n", ff, ft);
+    }
     return (int) LegalityTest(boards[yyboardindex],
-                             PosFlags(yyboardindex), EP_UNKNOWN,
+                             PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: e.p.!
                              rf, ff, rt, ft, NULLCHAR);
 }
        YY_BREAK
-case 9:
+case 10:
 YY_RULE_SETUP
-#line 540 "../parser.l"
+#line 776 "parser.l"
 {
     int rf, ff, rt, ft;
 
     if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */
 
     if (WhiteOnMove(yyboardindex)) {
-       if (boards[yyboardindex][0][3] == WhiteKing) {
+        if (boards[yyboardindex][0][(BOARD_WIDTH-1)>>1] == WhiteKing) {
            /* ICS wild castling */
-           strcpy(currentMoveString, "d1b1");
            rf = 0;
-           ff = 3;
+            ff = (BOARD_WIDTH-1)>>1;
            rt = 0;
-           ft = 1;
+            ft = BOARD_LEFT+1;
        } else {
-           strcpy(currentMoveString, "e1g1");
            rf = 0;
-           ff = 4;
+            ff = BOARD_WIDTH>>1;
            rt = 0;
-           ft = 6;
+            ft = BOARD_RGHT-2;
        }
     } else {
-       if (boards[yyboardindex][7][3] == BlackKing) {
+        if (boards[yyboardindex][BOARD_HEIGHT-1][(BOARD_WIDTH-1)>>1] == BlackKing) {
            /* ICS wild castling */
-           strcpy(currentMoveString, "d8b8");
-           rf = 7;
-           ff = 3;
-           rt = 7;
-           ft = 1;
+            rf = BOARD_HEIGHT-1;
+            ff = (BOARD_WIDTH-1)>>1;
+            rt = BOARD_HEIGHT-1;
+            ft = BOARD_LEFT+1;
        } else {
-           strcpy(currentMoveString, "e8g8");
-           rf = 7;
-           ff = 4;
-           rt = 7;
-           ft = 6;
+            rf = BOARD_HEIGHT-1;
+            ff = BOARD_WIDTH>>1;
+            rt = BOARD_HEIGHT-1;
+            ft = BOARD_RGHT-2;
        }
     }
+    if(PosFlags(0) & F_FRC_TYPE_CASTLING) {
+        if (WhiteOnMove(yyboardindex)) {
+            ff = initialRights[2];
+            ft = initialRights[0];
+        } else {
+            ff = initialRights[5];
+            ft = initialRights[3];
+        }
+    if (appData.debugMode) {
+        fprintf(debugFP, "Parser FRC short %d %d\n", ff, ft);
+    }
+        if(ff < 0 || ft < 0) return 0;
+    }
+    sprintf(currentMoveString, "%c%c%c%c",ff+AAA,rf+ONE,ft+AAA,rt+ONE);
+    if (appData.debugMode) {
+        fprintf(debugFP, "short castling %d %d\n", ff, ft);
+    }
+
     return (int) LegalityTest(boards[yyboardindex],
-                             PosFlags(yyboardindex), EP_UNKNOWN,
+                             PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: e.p.!
                              rf, ff, rt, ft, NULLCHAR);
 }
        YY_BREAK
-case 10:
+case 11:
 YY_RULE_SETUP
-#line 581 "../parser.l"
+#line 831 "parser.l"
 {
-    /* Bughouse piece drop.  No legality checking for now. */
+    /* Bughouse piece drop. */
     currentMoveString[1] = '@';
     currentMoveString[2] = yytext[2];
     currentMoveString[3] = yytext[3];
     currentMoveString[4] = NULLCHAR;
+
+    if (appData.debugMode) {
+        fprintf(debugFP, "Drop: %s\n", currentMoveString);
+    }
+    /* [HGM] do not allow values beyond board size */
+    if(currentMoveString[3] - ONE >= BOARD_HEIGHT ||
+       currentMoveString[2] - AAA >= BOARD_WIDTH     )
+      return ImpossibleMove;
+
     if (WhiteOnMove(yyboardindex)) {
        currentMoveString[0] = ToUpper(yytext[0]);
-       return (int) WhiteDrop;
     } else {
        currentMoveString[0] = ToLower(yytext[0]);
-       return (int) BlackDrop;
     }
+    return LegalityTest(boards[yyboardindex], PosFlags(yyboardindex), DROP_RANK, // [HGM] does drops now too
+                        CharToPiece(currentMoveString[0]), currentMoveString[3] - ONE, currentMoveString[2] - AAA, NULLCHAR);
 }
        YY_BREAK
-case 11:
+case 12:
 YY_RULE_SETUP
-#line 596 "../parser.l"
+#line 855 "parser.l"
 {
     if (WhiteOnMove(yyboardindex))
       return (int) BlackWins;
@@ -2570,37 +2975,37 @@ YY_RULE_SETUP
       return (int) WhiteWins;
 }
        YY_BREAK
-case 12:
+case 13:
 YY_RULE_SETUP
-#line 603 "../parser.l"
+#line 862 "parser.l"
 {
     return (int) (ToUpper(yytext[0]) == 'W' ? BlackWins : WhiteWins);
 }
        YY_BREAK
-case 13:
+case 14:
 YY_RULE_SETUP
-#line 607 "../parser.l"
+#line 866 "parser.l"
 {
     return (int) GameUnfinished;
 }
        YY_BREAK
-case 14:
+case 15:
 YY_RULE_SETUP
-#line 611 "../parser.l"
+#line 870 "parser.l"
 {
     return (int) GameIsDrawn;
 }
        YY_BREAK
-case 15:
+case 16:
 YY_RULE_SETUP
-#line 615 "../parser.l"
+#line 874 "parser.l"
 {
     return (int) GameIsDrawn;
 }
        YY_BREAK
-case 16:
+case 17:
 YY_RULE_SETUP
-#line 619 "../parser.l"
+#line 878 "parser.l"
 {
     if (WhiteOnMove(yyboardindex))
       return (int) BlackWins;
@@ -2608,9 +3013,9 @@ YY_RULE_SETUP
       return (int) WhiteWins;
 }
        YY_BREAK
-case 17:
+case 18:
 YY_RULE_SETUP
-#line 626 "../parser.l"
+#line 885 "parser.l"
 {
     if (WhiteOnMove(yyboardindex))
       return (int) BlackWins;
@@ -2618,220 +3023,231 @@ YY_RULE_SETUP
       return (int) WhiteWins;
 }
        YY_BREAK
-case 18:
+case 19:
 YY_RULE_SETUP
-#line 633 "../parser.l"
+#line 892 "parser.l"
 {
     return (int) GameIsDrawn;
 }
        YY_BREAK
-case 19:
+case 20:
 YY_RULE_SETUP
-#line 637 "../parser.l"
+#line 896 "parser.l"
 {
     return (int) GameIsDrawn;
 }
        YY_BREAK
-case 20:
+case 21:
 YY_RULE_SETUP
-#line 641 "../parser.l"
-{
+#line 900 "parser.l"
+{ 
     return (int) (ToUpper(yytext[0]) == 'W' ? WhiteWins : BlackWins);
 }
        YY_BREAK
-case 21:
+case 22:
 YY_RULE_SETUP
-#line 645 "../parser.l"
-{
+#line 904 "parser.l"
+{ 
     return (int) (ToUpper(yytext[0]) == 'W' ? BlackWins : WhiteWins);
 }
        YY_BREAK
-case 22:
+case 23:
 YY_RULE_SETUP
-#line 649 "../parser.l"
-{
+#line 908 "parser.l"
+{ 
     return (int) WhiteWins;
 }
        YY_BREAK
-case 23:
+case 24:
 YY_RULE_SETUP
-#line 653 "../parser.l"
-{
+#line 912 "parser.l"
+{ 
     return (int) BlackWins;
 }
        YY_BREAK
-case 24:
+case 25:
 YY_RULE_SETUP
-#line 657 "../parser.l"
+#line 916 "parser.l"
 {
     return (int) GameIsDrawn;
 }
        YY_BREAK
-case 25:
+case 26:
 YY_RULE_SETUP
-#line 661 "../parser.l"
+#line 920 "parser.l"
 {
     return (int) GameUnfinished;
 }
        YY_BREAK
-case 26:
+case 27:
+/* rule 27 can match eol */
 YY_RULE_SETUP
-#line 665 "../parser.l"
+#line 924 "parser.l"
 {
     /* move numbers */
     if ((yyleng == 1) && (yytext[0] == '1'))
       return (int) MoveNumberOne;
 }
        YY_BREAK
-case 27:
+case 28:
 YY_RULE_SETUP
-#line 671 "../parser.l"
+#line 930 "parser.l"
 {
-    /* elapsed time indication, e.g. (0:12) or {10:21.071} */
+    /* elapsed time indication, e.g. (0:12) or {10:21.071} */ 
     return (int) ElapsedTime;
 }
        YY_BREAK
-case 28:
+case 29:
+/* rule 29 can match eol */
 YY_RULE_SETUP
-#line 676 "../parser.l"
+#line 935 "parser.l"
 {
     /* position diagram enclosed in [-- --] */
     return (int) PositionDiagram;
 }
        YY_BREAK
-case 29:
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
-yy_c_buf_p = yy_cp -= 1;
+case 30:
+/* rule 30 can match eol */
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
+(yy_c_buf_p) = yy_cp -= 1;
 YY_DO_BEFORE_ACTION; /* set up yytext again */
 YY_RULE_SETUP
-#line 681 "../parser.l"
+#line 940 "parser.l"
 {
     /* position diagram enclosed in {-- --} */
     return (int) PositionDiagram;
 }
        YY_BREAK
-case 30:
+case 31:
+/* rule 31 can match eol */
 YY_RULE_SETUP
-#line 686 "../parser.l"
+#line 945 "parser.l"
 {
     return (int) PGNTag;
-}
+}    
        YY_BREAK
-case 31:
+case 32:
 YY_RULE_SETUP
-#line 690 "../parser.l"
+#line 949 "parser.l"
 {
     return (int) GNUChessGame;
 }
        YY_BREAK
-case 32:
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
-yy_c_buf_p = yy_cp -= 1;
+case 33:
+/* rule 33 can match eol */
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
+(yy_c_buf_p) = yy_cp -= 1;
 YY_DO_BEFORE_ACTION; /* set up yytext again */
 YY_RULE_SETUP
-#line 694 "../parser.l"
+#line 953 "parser.l"
 {
     return (int) XBoardGame;
 }
        YY_BREAK
-case 33:
+case 34:
 YY_RULE_SETUP
-#line 698 "../parser.l"
+#line 957 "parser.l"
 {                              /* numeric annotation glyph */
     return (int) NAG;
 }
        YY_BREAK
-case 34:
+case 35:
+/* rule 35 can match eol */
 YY_RULE_SETUP
-#line 702 "../parser.l"
+#line 961 "parser.l"
 {                              /* anything in {} */
-    return (int) Comment;
+    return (int) Comment; 
 }
        YY_BREAK
-case 35:
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
-yy_c_buf_p = yy_cp -= 1;
+case 36:
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
+(yy_c_buf_p) = yy_cp -= 1;
 YY_DO_BEFORE_ACTION; /* set up yytext again */
 YY_RULE_SETUP
-#line 706 "../parser.l"
+#line 965 "parser.l"
 {                                          /* ; to end of line */
     return (int) Comment;
 }
        YY_BREAK
-case 36:
+case 37:
+/* rule 37 can match eol */
 YY_RULE_SETUP
-#line 710 "../parser.l"
+#line 969 "parser.l"
 {                              /* anything in [] */
-    return (int) Comment;
+    return (int) Comment; 
 }
        YY_BREAK
-case 37:
+case 38:
+/* rule 38 can match eol */
 YY_RULE_SETUP
-#line 714 "../parser.l"
-{              /* nested () */
-    return (int) Comment;
+#line 973 "parser.l"
+{ /* very nested () */
+    return (int) Comment; 
 }
        YY_BREAK
-case 38:
+case 39:
+/* rule 39 can match eol */
 YY_RULE_SETUP
-#line 718 "../parser.l"
+#line 977 "parser.l"
 {                              /* >=2 chars in () */
-    return (int) Comment;
-}
+    return (int) Comment; 
+}       
        YY_BREAK
-case 39:
+case 40:
+/* rule 40 can match eol */
 YY_RULE_SETUP
-#line 722 "../parser.l"
+#line 981 "parser.l"
 {
         /* Skip mail headers */
 }
        YY_BREAK
-case 40:
+case 41:
 YY_RULE_SETUP
-#line 726 "../parser.l"
+#line 985 "parser.l"
 {
         /* Skip random words */
 }
        YY_BREAK
-case 41:
+case 42:
+/* rule 42 can match eol */
 YY_RULE_SETUP
-#line 730 "../parser.l"
+#line 989 "parser.l"
 {
         /* Skip everything else */
 }
        YY_BREAK
-case 42:
+case 43:
 YY_RULE_SETUP
-#line 734 "../parser.l"
+#line 993 "parser.l"
 ECHO;
        YY_BREAK
-#line 2809 "lex.yy.c"
+#line 3225 "parser.c"
                        case YY_STATE_EOF(INITIAL):
                                yyterminate();
 
        case YY_END_OF_BUFFER:
                {
                /* Amount of text matched not including the EOB char. */
-               int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
+               int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
 
                /* Undo the effects of YY_DO_BEFORE_ACTION. */
-               *yy_cp = yy_hold_char;
+               *yy_cp = (yy_hold_char);
                YY_RESTORE_YY_MORE_OFFSET
 
-               if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
+               if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
                        {
                        /* We're scanning a new file or input source.  It's
                         * possible that this happened because the user
                         * just pointed yyin at a new source and called
                         * yylex().  If so, then we have to assure
-                        * consistency between yy_current_buffer and our
+                        * consistency between YY_CURRENT_BUFFER and our
                         * globals.  Here is the right place to do so, because
                         * this is the first action (other than possibly a
                         * back-up) that will match for the new input source.
                         */
-                       yy_n_chars = yy_current_buffer->yy_n_chars;
-                       yy_current_buffer->yy_input_file = yyin;
-                       yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
+                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
+                       YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
+                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
                        }
 
                /* Note that here we test for yy_c_buf_p "<=" to the position
@@ -2841,13 +3257,13 @@ ECHO;
                 * end-of-buffer state).  Contrast this with the test
                 * in input().
                 */
-               if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
+               if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
                        { /* This was really a NUL. */
                        yy_state_type yy_next_state;
 
-                       yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
+                       (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
 
-                       yy_current_state = yy_get_previous_state();
+                       yy_current_state = yy_get_previous_state(  );
 
                        /* Okay, we're now positioned to make the NUL
                         * transition.  We couldn't have
@@ -2860,30 +3276,30 @@ ECHO;
 
                        yy_next_state = yy_try_NUL_trans( yy_current_state );
 
-                       yy_bp = yytext_ptr + YY_MORE_ADJ;
+                       yy_bp = (yytext_ptr) + YY_MORE_ADJ;
 
                        if ( yy_next_state )
                                {
                                /* Consume the NUL. */
-                               yy_cp = ++yy_c_buf_p;
+                               yy_cp = ++(yy_c_buf_p);
                                yy_current_state = yy_next_state;
                                goto yy_match;
                                }
 
                        else
                                {
-                               yy_cp = yy_c_buf_p;
+                               yy_cp = (yy_c_buf_p);
                                goto yy_find_action;
                                }
                        }
 
-               else switch ( yy_get_next_buffer() )
+               else switch ( yy_get_next_buffer(  ) )
                        {
                        case EOB_ACT_END_OF_FILE:
                                {
-                               yy_did_buffer_switch_on_eof = 0;
+                               (yy_did_buffer_switch_on_eof) = 0;
 
-                               if ( yywrap() )
+                               if ( yywrap( ) )
                                        {
                                        /* Note: because we've taken care in
                                         * yy_get_next_buffer() to have set up
@@ -2894,7 +3310,7 @@ ECHO;
                                         * YY_NULL, it'll still work - another
                                         * YY_NULL will get returned.
                                         */
-                                       yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
+                                       (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
 
                                        yy_act = YY_STATE_EOF(YY_START);
                                        goto do_action;
@@ -2902,30 +3318,30 @@ ECHO;
 
                                else
                                        {
-                                       if ( ! yy_did_buffer_switch_on_eof )
+                                       if ( ! (yy_did_buffer_switch_on_eof) )
                                                YY_NEW_FILE;
                                        }
                                break;
                                }
 
                        case EOB_ACT_CONTINUE_SCAN:
-                               yy_c_buf_p =
-                                       yytext_ptr + yy_amount_of_matched_text;
+                               (yy_c_buf_p) =
+                                       (yytext_ptr) + yy_amount_of_matched_text;
 
-                               yy_current_state = yy_get_previous_state();
+                               yy_current_state = yy_get_previous_state(  );
 
-                               yy_cp = yy_c_buf_p;
-                               yy_bp = yytext_ptr + YY_MORE_ADJ;
+                               yy_cp = (yy_c_buf_p);
+                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
                                goto yy_match;
 
                        case EOB_ACT_LAST_MATCH:
-                               yy_c_buf_p =
-                               &yy_current_buffer->yy_ch_buf[yy_n_chars];
+                               (yy_c_buf_p) =
+                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
 
-                               yy_current_state = yy_get_previous_state();
+                               yy_current_state = yy_get_previous_state(  );
 
-                               yy_cp = yy_c_buf_p;
-                               yy_bp = yytext_ptr + YY_MORE_ADJ;
+                               yy_cp = (yy_c_buf_p);
+                               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
                                goto yy_find_action;
                        }
                break;
@@ -2936,8 +3352,7 @@ ECHO;
                        "fatal flex scanner internal error--no action found" );
        } /* end of action switch */
                } /* end of scanning one token */
-       } /* end of yylex */
-
+} /* end of yylex */
 
 /* yy_get_next_buffer - try to read in a new buffer
  *
@@ -2946,21 +3361,20 @@ ECHO;
  *     EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  *     EOB_ACT_END_OF_FILE - end of file
  */
-
-static int yy_get_next_buffer()
-       {
-       register char *dest = yy_current_buffer->yy_ch_buf;
-       register char *source = yytext_ptr;
+static int yy_get_next_buffer (void)
+{
+       register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
+       register char *source = (yytext_ptr);
        register int number_to_move, i;
        int ret_val;
 
-       if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
+       if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
                YY_FATAL_ERROR(
                "fatal flex scanner internal error--end of buffer missed" );
 
-       if ( yy_current_buffer->yy_fill_buffer == 0 )
+       if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
                { /* Don't try to fill the buffer, so this is an EOF. */
-               if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
+               if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
                        {
                        /* We matched a single character, the EOB, so
                         * treat this as a final EOF.
@@ -2980,86 +3394,52 @@ static int yy_get_next_buffer()
        /* Try to read more data. */
 
        /* First move last chars to start of buffer. */
-       number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
+       number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
 
        for ( i = 0; i < number_to_move; ++i )
                *(dest++) = *(source++);
 
-       if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
+       if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
                /* don't do the read, it's not guaranteed to return an EOF,
                 * just force an EOF
                 */
-               yy_current_buffer->yy_n_chars = yy_n_chars = 0;
+               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
 
        else
                {
-               int num_to_read =
-                       yy_current_buffer->yy_buf_size - number_to_move - 1;
+                       int num_to_read =
+                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
 
                while ( num_to_read <= 0 )
                        { /* Not enough room in the buffer - grow it. */
-#ifdef YY_USES_REJECT
+
                        YY_FATAL_ERROR(
 "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
-#else
-
-                       /* just a shorter name for the current buffer */
-                       YY_BUFFER_STATE b = yy_current_buffer;
-
-                       int yy_c_buf_p_offset =
-                               (int) (yy_c_buf_p - b->yy_ch_buf);
-
-                       if ( b->yy_is_our_buffer )
-                               {
-                               int new_size = b->yy_buf_size * 2;
-
-                               if ( new_size <= 0 )
-                                       b->yy_buf_size += b->yy_buf_size / 8;
-                               else
-                                       b->yy_buf_size *= 2;
-
-                               b->yy_ch_buf = (char *)
-                                       /* Include room in for 2 EOB chars. */
-                                       yy_flex_realloc( (void *) b->yy_ch_buf,
-                                                        b->yy_buf_size + 2 );
-                               }
-                       else
-                               /* Can't grow it, we don't own it. */
-                               b->yy_ch_buf = 0;
-
-                       if ( ! b->yy_ch_buf )
-                               YY_FATAL_ERROR(
-                               "fatal error - scanner input buffer overflow" );
 
-                       yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
-
-                       num_to_read = yy_current_buffer->yy_buf_size -
-                                               number_to_move - 1;
-#endif
                        }
 
                if ( num_to_read > YY_READ_BUF_SIZE )
                        num_to_read = YY_READ_BUF_SIZE;
 
                /* Read in more data. */
-               YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
-                       yy_n_chars, num_to_read );
+               YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
+                       (yy_n_chars), (size_t) num_to_read );
 
-               yy_current_buffer->yy_n_chars = yy_n_chars;
+               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
                }
 
-       if ( yy_n_chars == 0 )
+       if ( (yy_n_chars) == 0 )
                {
                if ( number_to_move == YY_MORE_ADJ )
                        {
                        ret_val = EOB_ACT_END_OF_FILE;
-                       yyrestart( yyin );
+                       yyrestart(yyin  );
                        }
 
                else
                        {
                        ret_val = EOB_ACT_LAST_MATCH;
-                       yy_current_buffer->yy_buffer_status =
+                       YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
                                YY_BUFFER_EOF_PENDING;
                        }
                }
@@ -3067,148 +3447,141 @@ static int yy_get_next_buffer()
        else
                ret_val = EOB_ACT_CONTINUE_SCAN;
 
-       yy_n_chars += number_to_move;
-       yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
-       yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
+       if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
+               /* Extend the array by 50%, plus the number we really need. */
+               yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
+               YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size  );
+               if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
+                       YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
+       }
 
-       yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
+       (yy_n_chars) += number_to_move;
+       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
+       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
 
-       return ret_val;
-       }
+       (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
 
+       return ret_val;
+}
 
 /* yy_get_previous_state - get the state just before the EOB char was reached */
 
-static yy_state_type yy_get_previous_state()
-       {
+    static yy_state_type yy_get_previous_state (void)
+{
        register yy_state_type yy_current_state;
        register char *yy_cp;
-
-       yy_current_state = yy_start;
+    
+       yy_current_state = (yy_start);
        yy_current_state += YY_AT_BOL();
-       yy_state_ptr = yy_state_buf;
-       *yy_state_ptr++ = yy_current_state;
 
-       for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
+       (yy_state_ptr) = (yy_state_buf);
+       *(yy_state_ptr)++ = yy_current_state;
+
+       for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
                {
                register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
                while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
                        {
                        yy_current_state = (int) yy_def[yy_current_state];
-                       if ( yy_current_state >= 711 )
+                       if ( yy_current_state >= 719 )
                                yy_c = yy_meta[(unsigned int) yy_c];
                        }
                yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
-               *yy_state_ptr++ = yy_current_state;
+               *(yy_state_ptr)++ = yy_current_state;
                }
 
        return yy_current_state;
-       }
-
+}
 
 /* yy_try_NUL_trans - try to make a transition on the NUL character
  *
  * synopsis
  *     next_state = yy_try_NUL_trans( current_state );
  */
-
-#ifdef YY_USE_PROTOS
-static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
-#else
-static yy_state_type yy_try_NUL_trans( yy_current_state )
-yy_state_type yy_current_state;
-#endif
-       {
+    static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
+{
        register int yy_is_jam;
-
+    
        register YY_CHAR yy_c = 1;
        while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
                {
                yy_current_state = (int) yy_def[yy_current_state];
-               if ( yy_current_state >= 711 )
+               if ( yy_current_state >= 719 )
                        yy_c = yy_meta[(unsigned int) yy_c];
                }
        yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
-       yy_is_jam = (yy_current_state == 710);
+       yy_is_jam = (yy_current_state == 718);
        if ( ! yy_is_jam )
-               *yy_state_ptr++ = yy_current_state;
+               *(yy_state_ptr)++ = yy_current_state;
 
        return yy_is_jam ? 0 : yy_current_state;
-       }
-
+}
 
-#ifndef YY_NO_UNPUT
-#ifdef YY_USE_PROTOS
-static void yyunput( int c, register char *yy_bp )
-#else
-static void yyunput( c, yy_bp )
-int c;
-register char *yy_bp;
-#endif
-       {
-       register char *yy_cp = yy_c_buf_p;
+    static void yyunput (int c, register char * yy_bp )
+{
+       register char *yy_cp;
+    
+    yy_cp = (yy_c_buf_p);
 
        /* undo effects of setting up yytext */
-       *yy_cp = yy_hold_char;
+       *yy_cp = (yy_hold_char);
 
-       if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
+       if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
                { /* need to shift things up to make room */
                /* +2 for EOB chars. */
-               register int number_to_move = yy_n_chars + 2;
-               register char *dest = &yy_current_buffer->yy_ch_buf[
-                                       yy_current_buffer->yy_buf_size + 2];
+               register int number_to_move = (yy_n_chars) + 2;
+               register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
+                                       YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
                register char *source =
-                               &yy_current_buffer->yy_ch_buf[number_to_move];
+                               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
 
-               while ( source > yy_current_buffer->yy_ch_buf )
+               while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
                        *--dest = *--source;
 
                yy_cp += (int) (dest - source);
                yy_bp += (int) (dest - source);
-               yy_current_buffer->yy_n_chars =
-                       yy_n_chars = yy_current_buffer->yy_buf_size;
+               YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
+                       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
 
-               if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
+               if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
                        YY_FATAL_ERROR( "flex scanner push-back overflow" );
                }
 
        *--yy_cp = (char) c;
 
-
-       yytext_ptr = yy_bp;
-       yy_hold_char = *yy_cp;
-       yy_c_buf_p = yy_cp;
-       }
-#endif /* ifndef YY_NO_UNPUT */
-
+       (yytext_ptr) = yy_bp;
+       (yy_hold_char) = *yy_cp;
+       (yy_c_buf_p) = yy_cp;
+}
 
 #ifndef YY_NO_INPUT
 #ifdef __cplusplus
-static int yyinput()
+    static int yyinput (void)
 #else
-static int input()
+    static int input  (void)
 #endif
-       {
-       int c;
 
-       *yy_c_buf_p = yy_hold_char;
+{
+       int c;
+    
+       *(yy_c_buf_p) = (yy_hold_char);
 
-       if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
+       if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
                {
                /* yy_c_buf_p now points to the character we want to return.
                 * If this occurs *before* the EOB characters, then it's a
                 * valid NUL; if not, then we've hit the end of the buffer.
                 */
-               if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
+               if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
                        /* This was really a NUL. */
-                       *yy_c_buf_p = '\0';
+                       *(yy_c_buf_p) = '\0';
 
                else
                        { /* need more input */
-                       int offset = yy_c_buf_p - yytext_ptr;
-                       ++yy_c_buf_p;
+                       int offset = (yy_c_buf_p) - (yytext_ptr);
+                       ++(yy_c_buf_p);
 
-                       switch ( yy_get_next_buffer() )
+                       switch ( yy_get_next_buffer(  ) )
                                {
                                case EOB_ACT_LAST_MATCH:
                                        /* This happens because yy_g_n_b()
@@ -3222,16 +3595,16 @@ static int input()
                                         */
 
                                        /* Reset buffer status. */
-                                       yyrestart( yyin );
+                                       yyrestart(yyin );
 
-                                       /* fall through */
+                                       /*FALLTHROUGH*/
 
                                case EOB_ACT_END_OF_FILE:
                                        {
-                                       if ( yywrap() )
+                                       if ( yywrap( ) )
                                                return EOF;
 
-                                       if ( ! yy_did_buffer_switch_on_eof )
+                                       if ( ! (yy_did_buffer_switch_on_eof) )
                                                YY_NEW_FILE;
 #ifdef __cplusplus
                                        return yyinput();
@@ -3241,91 +3614,94 @@ static int input()
                                        }
 
                                case EOB_ACT_CONTINUE_SCAN:
-                                       yy_c_buf_p = yytext_ptr + offset;
+                                       (yy_c_buf_p) = (yytext_ptr) + offset;
                                        break;
                                }
                        }
                }
 
-       c = *(unsigned char *) yy_c_buf_p;      /* cast for 8-bit char's */
-       *yy_c_buf_p = '\0';     /* preserve yytext */
-       yy_hold_char = *++yy_c_buf_p;
+       c = *(unsigned char *) (yy_c_buf_p);    /* cast for 8-bit char's */
+       *(yy_c_buf_p) = '\0';   /* preserve yytext */
+       (yy_hold_char) = *++(yy_c_buf_p);
 
-       yy_current_buffer->yy_at_bol = (c == '\n');
+       YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n');
 
        return c;
-       }
-#endif /* YY_NO_INPUT */
-
-#ifdef YY_USE_PROTOS
-void yyrestart( FILE *input_file )
-#else
-void yyrestart( input_file )
-FILE *input_file;
-#endif
-       {
-       if ( ! yy_current_buffer )
-               yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
+}
+#endif /* ifndef YY_NO_INPUT */
 
-       yy_init_buffer( yy_current_buffer, input_file );
-       yy_load_buffer_state();
+/** Immediately switch to a different input stream.
+ * @param input_file A readable stream.
+ * 
+ * @note This function does not reset the start condition to @c INITIAL .
+ */
+    void yyrestart  (FILE * input_file )
+{
+    
+       if ( ! YY_CURRENT_BUFFER ){
+        yyensure_buffer_stack ();
+               YY_CURRENT_BUFFER_LVALUE =
+            yy_create_buffer(yyin,YY_BUF_SIZE );
        }
 
+       yy_init_buffer(YY_CURRENT_BUFFER,input_file );
+       yy_load_buffer_state( );
+}
 
-#ifdef YY_USE_PROTOS
-void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
-#else
-void yy_switch_to_buffer( new_buffer )
-YY_BUFFER_STATE new_buffer;
-#endif
-       {
-       if ( yy_current_buffer == new_buffer )
+/** Switch to a different input buffer.
+ * @param new_buffer The new input buffer.
+ * 
+ */
+    void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
+{
+    
+       /* TODO. We should be able to replace this entire function body
+        * with
+        *              yypop_buffer_state();
+        *              yypush_buffer_state(new_buffer);
+     */
+       yyensure_buffer_stack ();
+       if ( YY_CURRENT_BUFFER == new_buffer )
                return;
 
-       if ( yy_current_buffer )
+       if ( YY_CURRENT_BUFFER )
                {
                /* Flush out information for old buffer. */
-               *yy_c_buf_p = yy_hold_char;
-               yy_current_buffer->yy_buf_pos = yy_c_buf_p;
-               yy_current_buffer->yy_n_chars = yy_n_chars;
+               *(yy_c_buf_p) = (yy_hold_char);
+               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
+               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
                }
 
-       yy_current_buffer = new_buffer;
-       yy_load_buffer_state();
+       YY_CURRENT_BUFFER_LVALUE = new_buffer;
+       yy_load_buffer_state( );
 
        /* We don't actually know whether we did this switch during
         * EOF (yywrap()) processing, but the only time this flag
         * is looked at is after yywrap() is called, so it's safe
         * to go ahead and always set it.
         */
-       yy_did_buffer_switch_on_eof = 1;
-       }
-
-
-#ifdef YY_USE_PROTOS
-void yy_load_buffer_state( void )
-#else
-void yy_load_buffer_state()
-#endif
-       {
-       yy_n_chars = yy_current_buffer->yy_n_chars;
-       yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
-       yyin = yy_current_buffer->yy_input_file;
-       yy_hold_char = *yy_c_buf_p;
-       }
+       (yy_did_buffer_switch_on_eof) = 1;
+}
 
+static void yy_load_buffer_state  (void)
+{
+       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
+       (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
+       yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
+       (yy_hold_char) = *(yy_c_buf_p);
+}
 
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
-#else
-YY_BUFFER_STATE yy_create_buffer( file, size )
-FILE *file;
-int size;
-#endif
-       {
+/** Allocate and initialize an input buffer state.
+ * @param file A readable stream.
+ * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
+ * 
+ * @return the allocated buffer state.
+ */
+    YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
+{
        YY_BUFFER_STATE b;
-
-       b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
+    
+       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
        if ( ! b )
                YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
 
@@ -3334,75 +3710,75 @@ int size;
        /* yy_ch_buf has to be 2 characters longer than the size given because
         * we need to put in 2 end-of-buffer characters.
         */
-       b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
+       b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2  );
        if ( ! b->yy_ch_buf )
                YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
 
        b->yy_is_our_buffer = 1;
 
-       yy_init_buffer( b, file );
+       yy_init_buffer(b,file );
 
        return b;
-       }
-
+}
 
-#ifdef YY_USE_PROTOS
-void yy_delete_buffer( YY_BUFFER_STATE b )
-#else
-void yy_delete_buffer( b )
-YY_BUFFER_STATE b;
-#endif
-       {
+/** Destroy the buffer.
+ * @param b a buffer created with yy_create_buffer()
+ * 
+ */
+    void yy_delete_buffer (YY_BUFFER_STATE  b )
+{
+    
        if ( ! b )
                return;
 
-       if ( b == yy_current_buffer )
-               yy_current_buffer = (YY_BUFFER_STATE) 0;
+       if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
+               YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
 
        if ( b->yy_is_our_buffer )
-               yy_flex_free( (void *) b->yy_ch_buf );
+               yyfree((void *) b->yy_ch_buf  );
 
-       yy_flex_free( (void *) b );
-       }
-
-
-
-#ifdef YY_USE_PROTOS
-void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
-#else
-void yy_init_buffer( b, file )
-YY_BUFFER_STATE b;
-FILE *file;
-#endif
+       yyfree((void *) b  );
+}
 
+#ifndef __cplusplus
+extern int isatty (int );
+#endif /* __cplusplus */
+    
+/* Initializes or reinitializes a buffer.
+ * This function is sometimes called more than once on the same buffer,
+ * such as during a yyrestart() or at EOF.
+ */
+    static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
 
-       {
-       yy_flush_buffer( b );
+{
+       int oerrno = errno;
+    
+       yy_flush_buffer(b );
 
        b->yy_input_file = file;
        b->yy_fill_buffer = 1;
 
-#if YY_ALWAYS_INTERACTIVE
-       b->yy_is_interactive = 1;
-#else
-#if YY_NEVER_INTERACTIVE
-       b->yy_is_interactive = 0;
-#else
-       b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
-#endif
-#endif
-       }
-
+    /* If b is the current buffer, then yy_init_buffer was _probably_
+     * called from yyrestart() or through yy_get_next_buffer.
+     * In that case, we don't want to reset the lineno or column.
+     */
+    if (b != YY_CURRENT_BUFFER){
+        b->yy_bs_lineno = 1;
+        b->yy_bs_column = 0;
+    }
 
-#ifdef YY_USE_PROTOS
-void yy_flush_buffer( YY_BUFFER_STATE b )
-#else
-void yy_flush_buffer( b )
-YY_BUFFER_STATE b;
-#endif
+        b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
+    
+       errno = oerrno;
+}
 
-       {
-       if ( ! b )
+/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
+ * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
+ * 
+ */
+    void yy_flush_buffer (YY_BUFFER_STATE  b )
+{
+       if ( ! b )
                return;
 
        b->yy_n_chars = 0;
@@ -3419,29 +3795,125 @@ YY_BUFFER_STATE b;
        b->yy_at_bol = 1;
        b->yy_buffer_status = YY_BUFFER_NEW;
 
-       if ( b == yy_current_buffer )
-               yy_load_buffer_state();
+       if ( b == YY_CURRENT_BUFFER )
+               yy_load_buffer_state( );
+}
+
+/** Pushes the new state onto the stack. The new state becomes
+ *  the current state. This function will allocate the stack
+ *  if necessary.
+ *  @param new_buffer The new state.
+ *  
+ */
+void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
+{
+       if (new_buffer == NULL)
+               return;
+
+       yyensure_buffer_stack();
+
+       /* This block is copied from yy_switch_to_buffer. */
+       if ( YY_CURRENT_BUFFER )
+               {
+               /* Flush out information for old buffer. */
+               *(yy_c_buf_p) = (yy_hold_char);
+               YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
+               YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
+               }
+
+       /* Only push if top exists. Otherwise, replace top. */
+       if (YY_CURRENT_BUFFER)
+               (yy_buffer_stack_top)++;
+       YY_CURRENT_BUFFER_LVALUE = new_buffer;
+
+       /* copied from yy_switch_to_buffer. */
+       yy_load_buffer_state( );
+       (yy_did_buffer_switch_on_eof) = 1;
+}
+
+/** Removes and deletes the top of the stack, if present.
+ *  The next element becomes the new top.
+ *  
+ */
+void yypop_buffer_state (void)
+{
+       if (!YY_CURRENT_BUFFER)
+               return;
+
+       yy_delete_buffer(YY_CURRENT_BUFFER );
+       YY_CURRENT_BUFFER_LVALUE = NULL;
+       if ((yy_buffer_stack_top) > 0)
+               --(yy_buffer_stack_top);
+
+       if (YY_CURRENT_BUFFER) {
+               yy_load_buffer_state( );
+               (yy_did_buffer_switch_on_eof) = 1;
        }
+}
 
+/* Allocates the stack if it does not exist.
+ *  Guarantees space for at least one push.
+ */
+static void yyensure_buffer_stack (void)
+{
+       int num_to_alloc;
+    
+       if (!(yy_buffer_stack)) {
+
+               /* First allocation is just for 2 elements, since we don't know if this
+                * scanner will even need a stack. We use 2 instead of 1 to avoid an
+                * immediate realloc on the next call.
+         */
+               num_to_alloc = 1;
+               (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
+                                                               (num_to_alloc * sizeof(struct yy_buffer_state*)
+                                                               );
+               if ( ! (yy_buffer_stack) )
+                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
+                                                                 
+               memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
+                               
+               (yy_buffer_stack_max) = num_to_alloc;
+               (yy_buffer_stack_top) = 0;
+               return;
+       }
 
-#ifndef YY_NO_SCAN_BUFFER
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
-#else
-YY_BUFFER_STATE yy_scan_buffer( base, size )
-char *base;
-yy_size_t size;
-#endif
-       {
-       YY_BUFFER_STATE b;
+       if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
+
+               /* Increase the buffer to prepare for a possible push. */
+               int grow_size = 8 /* arbitrary grow size */;
 
+               num_to_alloc = (yy_buffer_stack_max) + grow_size;
+               (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
+                                                               ((yy_buffer_stack),
+                                                               num_to_alloc * sizeof(struct yy_buffer_state*)
+                                                               );
+               if ( ! (yy_buffer_stack) )
+                       YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
+
+               /* zero only the new slots.*/
+               memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
+               (yy_buffer_stack_max) = num_to_alloc;
+       }
+}
+
+/** Setup the input buffer state to scan directly from a user-specified character buffer.
+ * @param base the character buffer
+ * @param size the size in bytes of the character buffer
+ * 
+ * @return the newly allocated buffer state object. 
+ */
+YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
+{
+       YY_BUFFER_STATE b;
+    
        if ( size < 2 ||
             base[size-2] != YY_END_OF_BUFFER_CHAR ||
             base[size-1] != YY_END_OF_BUFFER_CHAR )
                /* They forgot to leave room for the EOB's. */
                return 0;
 
-       b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
+       b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state )  );
        if ( ! b )
                YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
 
@@ -3455,56 +3927,51 @@ yy_size_t size;
        b->yy_fill_buffer = 0;
        b->yy_buffer_status = YY_BUFFER_NEW;
 
-       yy_switch_to_buffer( b );
+       yy_switch_to_buffer(b  );
 
        return b;
-       }
-#endif
-
-
-#ifndef YY_NO_SCAN_STRING
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
-#else
-YY_BUFFER_STATE yy_scan_string( yy_str )
-yyconst char *yy_str;
-#endif
-       {
-       int len;
-       for ( len = 0; yy_str[len]; ++len )
-               ;
-
-       return yy_scan_bytes( yy_str, len );
-       }
-#endif
+}
 
+/** Setup the input buffer state to scan a string. The next call to yylex() will
+ * scan from a @e copy of @a str.
+ * @param yystr a NUL-terminated string to scan
+ * 
+ * @return the newly allocated buffer state object.
+ * @note If you want to scan bytes that may contain NUL values, then use
+ *       yy_scan_bytes() instead.
+ */
+YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
+{
+    
+       return yy_scan_bytes(yystr,strlen(yystr) );
+}
 
-#ifndef YY_NO_SCAN_BYTES
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
-#else
-YY_BUFFER_STATE yy_scan_bytes( bytes, len )
-yyconst char *bytes;
-int len;
-#endif
-       {
+/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
+ * scan from a @e copy of @a bytes.
+ * @param bytes the byte buffer to scan
+ * @param len the number of bytes in the buffer pointed to by @a bytes.
+ * 
+ * @return the newly allocated buffer state object.
+ */
+YY_BUFFER_STATE yy_scan_bytes  (yyconst char * yybytes, int  _yybytes_len )
+{
        YY_BUFFER_STATE b;
        char *buf;
        yy_size_t n;
        int i;
-
+    
        /* Get memory for full buffer, including space for trailing EOB's. */
-       n = len + 2;
-       buf = (char *) yy_flex_alloc( n );
+       n = _yybytes_len + 2;
+       buf = (char *) yyalloc(n  );
        if ( ! buf )
                YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
 
-       for ( i = 0; i < len; ++i )
-               buf[i] = bytes[i];
+       for ( i = 0; i < _yybytes_len; ++i )
+               buf[i] = yybytes[i];
 
-       buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
+       buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
 
-       b = yy_scan_buffer( buf, n );
+       b = yy_scan_buffer(buf,n );
        if ( ! b )
                YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
 
@@ -3514,148 +3981,204 @@ int len;
        b->yy_is_our_buffer = 1;
 
        return b;
-       }
+}
+
+#ifndef YY_EXIT_FAILURE
+#define YY_EXIT_FAILURE 2
 #endif
 
+static void yy_fatal_error (yyconst char* msg )
+{
+       (void) fprintf( stderr, "%s\n", msg );
+       exit( YY_EXIT_FAILURE );
+}
 
-#ifndef YY_NO_PUSH_STATE
-#ifdef YY_USE_PROTOS
-static void yy_push_state( int new_state )
-#else
-static void yy_push_state( new_state )
-int new_state;
-#endif
-       {
-       if ( yy_start_stack_ptr >= yy_start_stack_depth )
-               {
-               yy_size_t new_size;
+/* Redefine yyless() so it works in section 3 code. */
 
-               yy_start_stack_depth += YY_START_STACK_INCR;
-               new_size = yy_start_stack_depth * sizeof( int );
+#undef yyless
+#define yyless(n) \
+       do \
+               { \
+               /* Undo effects of setting up yytext. */ \
+        int yyless_macro_arg = (n); \
+        YY_LESS_LINENO(yyless_macro_arg);\
+               yytext[yyleng] = (yy_hold_char); \
+               (yy_c_buf_p) = yytext + yyless_macro_arg; \
+               (yy_hold_char) = *(yy_c_buf_p); \
+               *(yy_c_buf_p) = '\0'; \
+               yyleng = yyless_macro_arg; \
+               } \
+       while ( 0 )
 
-               if ( ! yy_start_stack )
-                       yy_start_stack = (int *) yy_flex_alloc( new_size );
+/* Accessor  methods (get/set functions) to struct members. */
 
-               else
-                       yy_start_stack = (int *) yy_flex_realloc(
-                                       (void *) yy_start_stack, new_size );
+/** Get the current line number.
+ * 
+ */
+int yyget_lineno  (void)
+{
+        
+    return yylineno;
+}
 
-               if ( ! yy_start_stack )
-                       YY_FATAL_ERROR(
-                       "out of memory expanding start-condition stack" );
-               }
+/** Get the input stream.
+ * 
+ */
+FILE *yyget_in  (void)
+{
+        return yyin;
+}
 
-       yy_start_stack[yy_start_stack_ptr++] = YY_START;
+/** Get the output stream.
+ * 
+ */
+FILE *yyget_out  (void)
+{
+        return yyout;
+}
 
-       BEGIN(new_state);
-       }
-#endif
+/** Get the length of the current token.
+ * 
+ */
+int yyget_leng  (void)
+{
+        return yyleng;
+}
 
+/** Get the current token.
+ * 
+ */
 
-#ifndef YY_NO_POP_STATE
-static void yy_pop_state()
-       {
-       if ( --yy_start_stack_ptr < 0 )
-               YY_FATAL_ERROR( "start-condition stack underflow" );
+char *yyget_text  (void)
+{
+        return yytext;
+}
 
-       BEGIN(yy_start_stack[yy_start_stack_ptr]);
-       }
-#endif
+/** Set the current line number.
+ * @param line_number
+ * 
+ */
+void yyset_lineno (int  line_number )
+{
+    
+    yylineno = line_number;
+}
 
+/** Set the input stream. This does not discard the current
+ * input buffer.
+ * @param in_str A readable stream.
+ * 
+ * @see yy_switch_to_buffer
+ */
+void yyset_in (FILE *  in_str )
+{
+        yyin = in_str ;
+}
 
-#ifndef YY_NO_TOP_STATE
-static int yy_top_state()
-       {
-       return yy_start_stack[yy_start_stack_ptr - 1];
-       }
-#endif
+void yyset_out (FILE *  out_str )
+{
+        yyout = out_str ;
+}
 
-#ifndef YY_EXIT_FAILURE
-#define YY_EXIT_FAILURE 2
-#endif
+int yyget_debug  (void)
+{
+        return yy_flex_debug;
+}
 
-#ifdef YY_USE_PROTOS
-static void yy_fatal_error( yyconst char msg[] )
+void yyset_debug (int  bdebug )
+{
+        yy_flex_debug = bdebug ;
+}
+
+static int yy_init_globals (void)
+{
+        /* Initialization is the same as for the non-reentrant scanner.
+     * This function is called from yylex_destroy(), so don't allocate here.
+     */
+
+    (yy_buffer_stack) = 0;
+    (yy_buffer_stack_top) = 0;
+    (yy_buffer_stack_max) = 0;
+    (yy_c_buf_p) = (char *) 0;
+    (yy_init) = 0;
+    (yy_start) = 0;
+
+    (yy_state_buf) = 0;
+    (yy_state_ptr) = 0;
+    (yy_full_match) = 0;
+    (yy_lp) = 0;
+
+/* Defined in main.c */
+#ifdef YY_STDINIT
+    yyin = stdin;
+    yyout = stdout;
 #else
-static void yy_fatal_error( msg )
-char msg[];
+    yyin = (FILE *) 0;
+    yyout = (FILE *) 0;
 #endif
-       {
-       (void) fprintf( stderr, "%s\n", msg );
-       exit( YY_EXIT_FAILURE );
-       }
 
+    /* For future reference: Set errno on error, since we are called by
+     * yylex_init()
+     */
+    return 0;
+}
 
+/* yylex_destroy is for both reentrant and non-reentrant scanners. */
+int yylex_destroy  (void)
+{
+    
+    /* Pop the buffer stack, destroying each element. */
+       while(YY_CURRENT_BUFFER){
+               yy_delete_buffer(YY_CURRENT_BUFFER  );
+               YY_CURRENT_BUFFER_LVALUE = NULL;
+               yypop_buffer_state();
+       }
 
-/* Redefine yyless() so it works in section 3 code. */
+       /* Destroy the stack itself. */
+       yyfree((yy_buffer_stack) );
+       (yy_buffer_stack) = NULL;
 
-#undef yyless
-#define yyless(n) \
-       do \
-               { \
-               /* Undo effects of setting up yytext. */ \
-               yytext[yyleng] = yy_hold_char; \
-               yy_c_buf_p = yytext + n; \
-               yy_hold_char = *yy_c_buf_p; \
-               *yy_c_buf_p = '\0'; \
-               yyleng = n; \
-               } \
-       while ( 0 )
+    yyfree ( (yy_state_buf) );
+    (yy_state_buf)  = NULL;
 
+    /* Reset the globals. This is important in a non-reentrant scanner so the next time
+     * yylex() is called, initialization will occur. */
+    yy_init_globals( );
 
-/* Internal utility routines. */
+    return 0;
+}
+
+/*
+ * Internal utility routines.
+ */
 
 #ifndef yytext_ptr
-#ifdef YY_USE_PROTOS
-static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
-#else
-static void yy_flex_strncpy( s1, s2, n )
-char *s1;
-yyconst char *s2;
-int n;
-#endif
-       {
+static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
+{
        register int i;
        for ( i = 0; i < n; ++i )
                s1[i] = s2[i];
-       }
+}
 #endif
 
 #ifdef YY_NEED_STRLEN
-#ifdef YY_USE_PROTOS
-static int yy_flex_strlen( yyconst char *s )
-#else
-static int yy_flex_strlen( s )
-yyconst char *s;
-#endif
-       {
+static int yy_flex_strlen (yyconst char * s )
+{
        register int n;
        for ( n = 0; s[n]; ++n )
                ;
 
        return n;
-       }
+}
 #endif
 
-
-#ifdef YY_USE_PROTOS
-static void *yy_flex_alloc( yy_size_t size )
-#else
-static void *yy_flex_alloc( size )
-yy_size_t size;
-#endif
-       {
+void *yyalloc (yy_size_t  size )
+{
        return (void *) malloc( size );
-       }
+}
 
-#ifdef YY_USE_PROTOS
-static void *yy_flex_realloc( void *ptr, yy_size_t size )
-#else
-static void *yy_flex_realloc( ptr, size )
-void *ptr;
-yy_size_t size;
-#endif
-       {
+void *yyrealloc  (void * ptr, yy_size_t  size )
+{
        /* The cast to (char *) in the following accommodates both
         * implementations that use char* generic pointers, and those
         * that use void* generic pointers.  It works with the latter
@@ -3664,26 +4187,17 @@ yy_size_t size;
         * as though doing an assignment.
         */
        return (void *) realloc( (char *) ptr, size );
-       }
+}
 
-#ifdef YY_USE_PROTOS
-static void yy_flex_free( void *ptr )
-#else
-static void yy_flex_free( ptr )
-void *ptr;
-#endif
-       {
-       free( ptr );
-       }
+void yyfree (void * ptr )
+{
+       free( (char *) ptr );   /* see yyrealloc() for (char *) cast */
+}
+
+#define YYTABLES_NAME "yytables"
+
+#line 993 "parser.l"
 
-#if YY_MAIN
-int main()
-       {
-       yylex();
-       return 0;
-       }
-#endif
-#line 734 "../parser.l"
 
 
 
@@ -3695,7 +4209,7 @@ static FILE *lexFP;
 static int input()
 {
     int ret;
-
+    
     if (StringToLex != NULL) {
        ret = *StringToLex;
        if (ret == NULLCHAR)
@@ -3706,9 +4220,9 @@ static int input()
        ret = unputBuffer[--unputCount];
     } else {
        ret = fgetc(lexFP);
-    }
+    }    
 
-    if (ret == EOF)
+    if (ret == EOF) 
       return 0;
     else
       return ret;
@@ -3726,11 +4240,11 @@ int yyoffset()
     }
     return(offset);
 }
-
 static void output(ch)
      int ch;
 {
-    fprintf(stderr, "PARSER BUG: unmatched character '%c' (0%o)\n",
+    if(appData.debugMode) fprintf(debugFP, "PARSER BUG: unmatched character '%c' (0%o)\n",
            ch, ch);
 }
 
@@ -3742,7 +4256,7 @@ static void unput(ch)
        StringToLex--;
     } else {
        if (unputCount >= UNPUT_BUF_SIZE)
-         fprintf(stderr, "PARSER BUG: unput buffer overflow '%c' (0%o)\n",
+         if(appData.debugMode) fprintf(debugFP, "PARSER BUG: unput buffer overflow '%c' (0%o)\n",
                  ch, ch);
        unputBuffer[unputCount++] = ch;
     }
@@ -3798,7 +4312,7 @@ void my_yy_input(buf, result, max_size)
            *result = count;
        }
        return;
-    }
+    }    
 }
 
 static YY_BUFFER_STATE my_file_buffer = NULL;
@@ -3808,9 +4322,9 @@ static YY_BUFFER_STATE my_file_buffer = NULL;
 */
 int yyoffset()
 {
-    int pos = yy_c_buf_p - yy_current_buffer->yy_ch_buf;
+    int pos = yy_c_buf_p - YY_CURRENT_BUFFER->yy_ch_buf;
 
-    return(ftell(yy_current_buffer->yy_input_file) -
+    return(ftell(YY_CURRENT_BUFFER->yy_input_file) -
          yy_n_chars + pos);
 }
 
@@ -3821,7 +4335,7 @@ void yynewstr(s)
     if (my_file_buffer != NULL)
       yy_delete_buffer(my_file_buffer);
     StringToLex = s;
-    my_file_buffer = yy_create_buffer(stdin, YY_BUF_SIZE);
+    my_file_buffer = yy_create_buffer(stdin,YY_BUF_SIZE);
     yy_switch_to_buffer(my_file_buffer);
 }
 
@@ -3831,7 +4345,7 @@ void yynewfile(f)
     if (my_file_buffer != NULL)
       yy_delete_buffer(my_file_buffer);
     StringToLex = NULL;
-    my_file_buffer = yy_create_buffer(f, YY_BUF_SIZE);
+    my_file_buffer = yy_create_buffer(f,YY_BUF_SIZE);
     yy_switch_to_buffer(my_file_buffer);
 }
 #endif /*FLEX_SCANNER*/
@@ -3843,29 +4357,31 @@ int yywrap()
 
 /* Parse a move from the given string s */
 /* ^ at start of pattern WON'T work here unless using flex */
-ChessMove yylexstr(boardIndex, s)
-     int boardIndex;
-     char *s;
+ChessMove yylexstr(boardIndex, s, text, len)
+     int boardIndex, len;
+     char *s, *text;
 {
     ChessMove ret;
     char *oldStringToLex;
 #ifdef FLEX_SCANNER
     YY_BUFFER_STATE buffer, oldBuffer;
 #endif
-
+    
     yyboardindex = boardIndex;
     oldStringToLex = StringToLex;
     StringToLex = s;
 #ifdef FLEX_SCANNER
-    buffer = yy_create_buffer(stdin, YY_BUF_SIZE);
+    buffer = yy_create_buffer(stdin,YY_BUF_SIZE);
     oldBuffer = YY_CURRENT_BUFFER;
     yy_switch_to_buffer(buffer);
 #endif /*FLEX_SCANNER*/
 
     ret = (ChessMove) yylex();
+     strncpy(text, yy_text, len-1); // [HGM] vari: yy_text is not available to caller after buffer switch ?!?
+     text[len-1] = NULLCHAR;
 
 #ifdef FLEX_SCANNER
-    if (oldBuffer != NULL)
+    if (oldBuffer != NULL) 
       yy_switch_to_buffer(oldBuffer);
     yy_delete_buffer(buffer);
 #endif /*FLEX_SCANNER*/
@@ -3873,3 +4389,4 @@ ChessMove yylexstr(boardIndex, s)
 
     return ret;
 }
+