diff options
Diffstat (limited to '')
-rw-r--r-- | plugins/sudoers/toke.c | 6373 |
1 files changed, 6373 insertions, 0 deletions
diff --git a/plugins/sudoers/toke.c b/plugins/sudoers/toke.c new file mode 100644 index 0000000..a60f632 --- /dev/null +++ b/plugins/sudoers/toke.c @@ -0,0 +1,6373 @@ +/* + * This is an open source non-commercial project. Dear PVS-Studio, please check it. + * PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + */ + +#include <config.h> + +#line 3 "toke.c" + +#define YY_INT_ALIGNED short int + +/* A lexical scanner generated by flex */ + +#define yy_create_buffer sudoers_create_buffer +#define yy_delete_buffer sudoers_delete_buffer +#define yy_scan_buffer sudoers_scan_buffer +#define yy_scan_string sudoers_scan_string +#define yy_scan_bytes sudoers_scan_bytes +#define yy_init_buffer sudoers_init_buffer +#define yy_flush_buffer sudoers_flush_buffer +#define yy_load_buffer_state sudoers_load_buffer_state +#define yy_switch_to_buffer sudoers_switch_to_buffer +#define yypush_buffer_state sudoerspush_buffer_state +#define yypop_buffer_state sudoerspop_buffer_state +#define yyensure_buffer_stack sudoersensure_buffer_stack +#define yy_flex_debug sudoers_flex_debug +#define yyin sudoersin +#define yyleng sudoersleng +#define yylex sudoerslex +#define yylineno sudoerslineno +#define yyout sudoersout +#define yyrestart sudoersrestart +#define yytext sudoerstext +#define yywrap sudoerswrap +#define yyalloc sudoersalloc +#define yyrealloc sudoersrealloc +#define yyfree sudoersfree + +#define FLEX_SCANNER +#define YY_FLEX_MAJOR_VERSION 2 +#define YY_FLEX_MINOR_VERSION 6 +#define YY_FLEX_SUBMINOR_VERSION 4 +#if YY_FLEX_SUBMINOR_VERSION > 0 +#define FLEX_BETA +#endif + +#ifdef yy_create_buffer +#define sudoers_create_buffer_ALREADY_DEFINED +#else +#define yy_create_buffer sudoers_create_buffer +#endif + +#ifdef yy_delete_buffer +#define sudoers_delete_buffer_ALREADY_DEFINED +#else +#define yy_delete_buffer sudoers_delete_buffer +#endif + +#ifdef yy_scan_buffer +#define sudoers_scan_buffer_ALREADY_DEFINED +#else +#define yy_scan_buffer sudoers_scan_buffer +#endif + +#ifdef yy_scan_string +#define sudoers_scan_string_ALREADY_DEFINED +#else +#define yy_scan_string sudoers_scan_string +#endif + +#ifdef yy_scan_bytes +#define sudoers_scan_bytes_ALREADY_DEFINED +#else +#define yy_scan_bytes sudoers_scan_bytes +#endif + +#ifdef yy_init_buffer +#define sudoers_init_buffer_ALREADY_DEFINED +#else +#define yy_init_buffer sudoers_init_buffer +#endif + +#ifdef yy_flush_buffer +#define sudoers_flush_buffer_ALREADY_DEFINED +#else +#define yy_flush_buffer sudoers_flush_buffer +#endif + +#ifdef yy_load_buffer_state +#define sudoers_load_buffer_state_ALREADY_DEFINED +#else +#define yy_load_buffer_state sudoers_load_buffer_state +#endif + +#ifdef yy_switch_to_buffer +#define sudoers_switch_to_buffer_ALREADY_DEFINED +#else +#define yy_switch_to_buffer sudoers_switch_to_buffer +#endif + +#ifdef yypush_buffer_state +#define sudoerspush_buffer_state_ALREADY_DEFINED +#else +#define yypush_buffer_state sudoerspush_buffer_state +#endif + +#ifdef yypop_buffer_state +#define sudoerspop_buffer_state_ALREADY_DEFINED +#else +#define yypop_buffer_state sudoerspop_buffer_state +#endif + +#ifdef yyensure_buffer_stack +#define sudoersensure_buffer_stack_ALREADY_DEFINED +#else +#define yyensure_buffer_stack sudoersensure_buffer_stack +#endif + +#ifdef yylex +#define sudoerslex_ALREADY_DEFINED +#else +#define yylex sudoerslex +#endif + +#ifdef yyrestart +#define sudoersrestart_ALREADY_DEFINED +#else +#define yyrestart sudoersrestart +#endif + +#ifdef yylex_init +#define sudoerslex_init_ALREADY_DEFINED +#else +#define yylex_init sudoerslex_init +#endif + +#ifdef yylex_init_extra +#define sudoerslex_init_extra_ALREADY_DEFINED +#else +#define yylex_init_extra sudoerslex_init_extra +#endif + +#ifdef yylex_destroy +#define sudoerslex_destroy_ALREADY_DEFINED +#else +#define yylex_destroy sudoerslex_destroy +#endif + +#ifdef yyget_debug +#define sudoersget_debug_ALREADY_DEFINED +#else +#define yyget_debug sudoersget_debug +#endif + +#ifdef yyset_debug +#define sudoersset_debug_ALREADY_DEFINED +#else +#define yyset_debug sudoersset_debug +#endif + +#ifdef yyget_extra +#define sudoersget_extra_ALREADY_DEFINED +#else +#define yyget_extra sudoersget_extra +#endif + +#ifdef yyset_extra +#define sudoersset_extra_ALREADY_DEFINED +#else +#define yyset_extra sudoersset_extra +#endif + +#ifdef yyget_in +#define sudoersget_in_ALREADY_DEFINED +#else +#define yyget_in sudoersget_in +#endif + +#ifdef yyset_in +#define sudoersset_in_ALREADY_DEFINED +#else +#define yyset_in sudoersset_in +#endif + +#ifdef yyget_out +#define sudoersget_out_ALREADY_DEFINED +#else +#define yyget_out sudoersget_out +#endif + +#ifdef yyset_out +#define sudoersset_out_ALREADY_DEFINED +#else +#define yyset_out sudoersset_out +#endif + +#ifdef yyget_leng +#define sudoersget_leng_ALREADY_DEFINED +#else +#define yyget_leng sudoersget_leng +#endif + +#ifdef yyget_text +#define sudoersget_text_ALREADY_DEFINED +#else +#define yyget_text sudoersget_text +#endif + +#ifdef yyget_lineno +#define sudoersget_lineno_ALREADY_DEFINED +#else +#define yyget_lineno sudoersget_lineno +#endif + +#ifdef yyset_lineno +#define sudoersset_lineno_ALREADY_DEFINED +#else +#define yyset_lineno sudoersset_lineno +#endif + +#ifdef yywrap +#define sudoerswrap_ALREADY_DEFINED +#else +#define yywrap sudoerswrap +#endif + +#ifdef yyalloc +#define sudoersalloc_ALREADY_DEFINED +#else +#define yyalloc sudoersalloc +#endif + +#ifdef yyrealloc +#define sudoersrealloc_ALREADY_DEFINED +#else +#define yyrealloc sudoersrealloc +#endif + +#ifdef yyfree +#define sudoersfree_ALREADY_DEFINED +#else +#define yyfree sudoersfree +#endif + +#ifdef yytext +#define sudoerstext_ALREADY_DEFINED +#else +#define yytext sudoerstext +#endif + +#ifdef yyleng +#define sudoersleng_ALREADY_DEFINED +#else +#define yyleng sudoersleng +#endif + +#ifdef yyin +#define sudoersin_ALREADY_DEFINED +#else +#define yyin sudoersin +#endif + +#ifdef yyout +#define sudoersout_ALREADY_DEFINED +#else +#define yyout sudoersout +#endif + +#ifdef yy_flex_debug +#define sudoers_flex_debug_ALREADY_DEFINED +#else +#define yy_flex_debug sudoers_flex_debug +#endif + +#ifdef yylineno +#define sudoerslineno_ALREADY_DEFINED +#else +#define yylineno sudoerslineno +#endif + +/* First, we deal with platform-specific or compiler-specific issues. */ + +/* begin standard C headers. */ +#include <stdio.h> +#include <string.h> +#include <errno.h> +#include <stdlib.h> + +/* end standard C headers. */ + +/* 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; + +/* 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 + +#ifndef SIZE_MAX +#define SIZE_MAX (~(size_t)0) +#endif + +#endif /* ! C99 */ + +#endif /* ! FLEXINT_H */ + +/* begin standard C++ headers. */ + +/* TODO: this is always defined, so inline it */ +#define yyconst const + +#if defined(__GNUC__) && __GNUC__ >= 3 +#define yynoreturn __attribute__((__noreturn__)) +#else +#define yynoreturn +#endif + +/* Returned upon end-of-file. */ +#define YY_NULL 0 + +/* Promotes a possibly negative, possibly signed char to an + * integer in range [0..255] for use as an array index. + */ +#define YY_SC_TO_UI(c) ((YY_CHAR) (c)) + +/* Enter a start condition. This macro really ought to take a parameter, + * but we do it the disgusting crufty way forced on us by the ()-less + * definition of BEGIN. + */ +#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 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_END_OF_BUFFER_CHAR 0 + +/* Size of default input buffer. */ +#ifndef YY_BUF_SIZE +#ifdef __ia64__ +/* On IA-64, the buffer size is 16k, not 8k. + * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. + * Ditto for the __ia64__ case accordingly. + */ +#define YY_BUF_SIZE 32768 +#else +#define YY_BUF_SIZE 16384 +#endif /* __ia64__ */ +#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 + +#ifndef YY_TYPEDEF_YY_SIZE_T +#define YY_TYPEDEF_YY_SIZE_T +typedef size_t yy_size_t; +#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 + + #define YY_LESS_LINENO(n) + #define YY_LINENO_REWIND_TO(ptr) + +/* Return all but the first "n" matched characters back to the input stream. */ +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up yytext. */ \ + 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 + yyless_macro_arg - YY_MORE_ADJ; \ + YY_DO_BEFORE_ACTION; /* set up yytext again */ \ + } \ + while ( 0 ) +#define unput(c) yyunput( c, (yytext_ptr) ) + +#ifndef YY_STRUCT_YY_BUFFER_STATE +#define YY_STRUCT_YY_BUFFER_STATE +struct yy_buffer_state + { + FILE *yy_input_file; + + char *yy_ch_buf; /* input buffer */ + char *yy_buf_pos; /* current position in input buffer */ + + /* Size of input buffer in bytes, not including room for EOB + * characters. + */ + int yy_buf_size; + + /* Number of characters read into yy_ch_buf, not including EOB + * characters. + */ + int yy_n_chars; + + /* Whether we "own" the buffer - i.e., we know we created it, + * and can realloc() it to grow it, and should free() it to + * delete it. + */ + int yy_is_our_buffer; + + /* Whether this is an "interactive" input source; if so, and + * if we're using stdio for input, then we want to use getc() + * instead of fread(), to make sure we stop fetching input after + * each newline. + */ + int yy_is_interactive; + + /* Whether we're considered to be at the beginning of a line. + * If so, '^' rules will be active on the next match, otherwise + * not. + */ + 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 + * then we mark the buffer as YY_EOF_PENDING, to indicate that we + * shouldn't try reading from the input source any more. We might + * still have a bunch of tokens to match, though, because of + * possible backing-up. + * + * When we actually see the EOF, we change the status to "new" + * (via yyrestart()), so that the user can continue scanning by + * just pointing yyin at a new input file. + */ +#define YY_BUFFER_EOF_PENDING 2 + + }; +#endif /* !YY_STRUCT_YY_BUFFER_STATE */ + +/* 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 = NULL; /**< 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_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 = NULL; +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 + * instead of setting up a fresh yyin. A bit of a hack ... + */ +static int yy_did_buffer_switch_on_eof; + +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 ); + +static void yyensure_buffer_stack ( void ); +static void yy_load_buffer_state ( void ); +static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file ); +#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) + +YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size ); +YY_BUFFER_STATE yy_scan_string ( const char *yy_str ); +YY_BUFFER_STATE yy_scan_bytes ( const 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 ){ \ + 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 ){\ + 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_LVALUE->yy_at_bol) + +/* Begin user sect3 */ + +#define sudoerswrap() (/*CONSTCOND*/1) +#define YY_SKIP_YYWRAP +typedef flex_uint8_t YY_CHAR; + +FILE *yyin = NULL, *yyout = NULL; + +typedef int yy_state_type; + +extern int yylineno; +int yylineno = 1; + +extern char *yytext; +#ifdef yytext_ptr +#undef yytext_ptr +#endif +#define yytext_ptr yytext + +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 yynoreturn yy_fatal_error ( const 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; \ + *yy_cp = '\0'; \ + (yy_c_buf_p) = yy_cp; +#define YY_NUM_RULES 89 +#define YY_END_OF_BUFFER 90 +/* 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 const flex_int16_t yy_accept[1242] = + { 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 90, 75, 85, 84, 88, 83, 74, 87, 46, 78, + 79, 46, 80, 75, 75, 75, 75, 82, 81, 88, + 75, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 88, 75, 75, 75, 85, + 87, 64, 64, 64, 64, 64, 2, 88, 1, 75, + 64, 64, 64, 64, 75, 75, 17, 16, 16, 17, + 16, 16, 88, 21, 21, 19, 19, 21, 19, 20, + 88, 87, 88, 3, 9, 8, 9, 4, 9, 5, + + 88, 13, 13, 13, 11, 12, 88, 23, 23, 22, + 22, 22, 23, 22, 22, 22, 22, 23, 23, 23, + 23, 23, 23, 23, 88, 22, 23, 23, 76, 76, + 77, 76, 71, 71, 71, 71, 71, 71, 71, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 88, 71, 71, 71, 75, 0, 85, 84, 83, 87, + 87, 0, 0, 75, 48, 0, 46, 0, 47, 0, + 72, 72, 0, 75, 75, 0, 75, 75, 75, 75, + 0, 51, 75, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + + 64, 64, 0, 86, 75, 75, 75, 0, 73, 0, + 75, 75, 85, 0, 0, 0, 0, 0, 87, 75, + 75, 75, 75, 75, 2, 1, 0, 1, 65, 65, + 0, 64, 75, 0, 65, 0, 75, 17, 17, 15, + 0, 14, 15, 21, 21, 21, 18, 18, 0, 3, + 9, 0, 6, 7, 9, 9, 13, 0, 13, 13, + 0, 10, 0, 48, 0, 0, 47, 23, 23, 0, + 23, 0, 0, 22, 22, 22, 22, 22, 22, 23, + 23, 64, 23, 23, 23, 23, 23, 23, 23, 23, + 73, 0, 23, 23, 76, 76, 76, 71, 0, 48, + + 0, 47, 0, 71, 71, 0, 71, 71, 71, 71, + 71, 71, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 71, 71, 71, 71, 0, 71, 71, + 87, 87, 87, 0, 48, 75, 75, 75, 75, 75, + 0, 0, 51, 51, 75, 64, 53, 64, 64, 57, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 73, 75, 75, 75, 0, 0, 0, 0, 0, 87, + 75, 75, 75, 75, 75, 75, 0, 65, 0, 65, + 75, 75, 10, 0, 0, 0, 22, 22, 22, 23, + + 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, + 23, 23, 23, 23, 73, 23, 23, 0, 71, 71, + 71, 71, 71, 64, 53, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 71, + 71, 71, 71, 87, 87, 87, 75, 75, 75, 75, + 75, 75, 0, 52, 52, 52, 0, 0, 51, 51, + 51, 51, 51, 51, 51, 75, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 59, 64, 64, 60, + 75, 75, 75, 75, 0, 0, 0, 0, 0, 0, + + 87, 75, 75, 75, 65, 75, 0, 0, 0, 0, + 0, 22, 22, 23, 23, 23, 64, 23, 23, 23, + 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, + 23, 71, 71, 71, 71, 71, 71, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 71, 71, 71, 71, 75, 75, 75, 0, + 0, 52, 52, 52, 0, 51, 51, 0, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 51, 75, + 64, 64, 0, 33, 64, 64, 64, 64, 64, 0, + 42, 64, 64, 64, 64, 64, 64, 64, 64, 64, + + 64, 62, 64, 64, 75, 75, 75, 75, 75, 0, + 0, 0, 87, 75, 75, 75, 0, 0, 0, 22, + 22, 23, 23, 64, 64, 23, 23, 23, 23, 23, + 23, 23, 23, 23, 23, 23, 23, 23, 23, 71, + 71, 71, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 71, 71, 71, 71, 71, + 75, 75, 75, 75, 75, 0, 52, 0, 51, 51, + 51, 0, 0, 0, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 75, 64, 58, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + + 64, 64, 64, 64, 64, 64, 64, 66, 67, 68, + 69, 75, 0, 0, 87, 75, 75, 75, 0, 0, + 0, 0, 0, 23, 23, 64, 64, 23, 23, 23, + 64, 23, 23, 23, 23, 23, 23, 23, 23, 23, + 23, 71, 71, 71, 71, 71, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 66, + 67, 68, 69, 71, 49, 49, 49, 0, 0, 51, + 51, 51, 51, 51, 51, 51, 0, 0, 0, 0, + 0, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 75, 64, 0, 44, 64, + + 64, 64, 64, 0, 32, 64, 64, 64, 64, 0, + 43, 64, 64, 64, 64, 0, 31, 0, 36, 54, + 75, 0, 0, 87, 75, 75, 75, 49, 49, 49, + 23, 64, 64, 23, 23, 64, 64, 23, 23, 23, + 49, 49, 49, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 71, 75, 49, 49, 49, 49, 0, 51, + 0, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 51, 51, 0, 0, 0, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 24, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + + 56, 64, 70, 0, 0, 87, 75, 28, 65, 0, + 49, 49, 49, 49, 23, 64, 64, 23, 23, 64, + 64, 23, 23, 23, 71, 49, 49, 49, 49, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 70, 50, + 50, 50, 50, 51, 0, 0, 0, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 0, 0, 0, 0, 0, 51, 51, 51, 51, 51, + 51, 51, 51, 75, 64, 64, 64, 64, 64, 0, + 45, 64, 64, 64, 0, 30, 0, 37, 55, 0, + 28, 26, 87, 29, 0, 75, 50, 50, 50, 50, + + 23, 64, 64, 23, 64, 64, 50, 50, 50, 50, + 64, 64, 64, 64, 64, 64, 75, 75, 50, 50, + 50, 50, 0, 0, 0, 0, 0, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51, 75, 64, 0, + 34, 63, 0, 40, 64, 64, 64, 64, 29, 26, + 26, 26, 26, 87, 28, 0, 0, 0, 0, 0, + 28, 0, 0, 0, 50, 50, 50, 50, 64, 23, + 64, 64, 71, 71, 50, 50, 50, 50, 64, 64, + 64, 64, 75, 75, 75, 0, 0, 0, 51, 51, + + 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 25, 64, 0, 38, + 64, 64, 64, 26, 87, 0, 28, 0, 0, 0, + 23, 64, 64, 71, 71, 71, 64, 64, 64, 75, + 75, 75, 75, 75, 0, 0, 0, 0, 0, 51, + 51, 51, 51, 51, 51, 51, 51, 64, 0, 35, + 0, 41, 64, 27, 0, 0, 0, 0, 0, 64, + 71, 71, 71, 71, 71, 64, 75, 75, 75, 51, + 51, 51, 51, 51, 51, 64, 0, 39, 27, 27, + 27, 27, 0, 0, 0, 71, 71, 71, 75, 75, + + 75, 75, 75, 51, 51, 51, 51, 51, 64, 27, + 0, 0, 0, 0, 0, 71, 71, 71, 71, 71, + 49, 49, 49, 64, 49, 49, 49, 49, 49, 49, + 49, 49, 49, 61, 49, 49, 49, 49, 49, 49, + 0 + } ; + +static const YY_CHAR yy_ec[256] = + { 0, + 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, + 4, 4, 5, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 6, 7, 8, 9, 10, 11, 1, 1, 12, + 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, + 23, 24, 25, 26, 27, 28, 29, 30, 1, 1, + 31, 32, 14, 33, 34, 35, 36, 37, 38, 39, + 40, 41, 42, 43, 43, 44, 45, 46, 47, 48, + 43, 49, 50, 51, 52, 53, 54, 55, 56, 43, + 14, 57, 14, 58, 59, 1, 60, 61, 62, 63, + + 64, 65, 66, 67, 68, 66, 66, 69, 70, 71, + 72, 66, 66, 73, 74, 75, 76, 66, 66, 66, + 66, 66, 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, 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, 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, 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 + } ; + +static const YY_CHAR yy_meta[77] = + { 0, + 1, 2, 3, 4, 3, 2, 5, 6, 7, 8, + 1, 9, 9, 1, 10, 11, 1, 12, 13, 14, + 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, + 16, 9, 1, 14, 14, 14, 14, 14, 14, 17, + 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, + 17, 17, 17, 17, 17, 17, 18, 1, 19, 20, + 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, + 21, 21, 21, 21, 21, 21 + } ; + +static const flex_int16_t yy_base[1366] = + { 0, + 0, 75, 126, 199, 83, 91, 99, 180, 272, 347, + 422, 478, 131, 147, 535, 0, 189, 219, 611, 0, + 6517, 6458, 76, 9534, 6501, 6471, 9534, 685, 101, 9534, + 9534, 6409, 9534, 199, 697, 238, 143, 6428, 9534, 9534, + 23, 762, 35, 103, 71, 132, 819, 6411, 76, 6422, + 6385, 112, 6373, 6374, 61, 883, 914, 262, 152, 266, + 969, 251, 166, 6339, 122, 6336, 197, 338, 123, 369, + 6350, 6335, 6334, 6344, 1036, 177, 0, 9534, 6364, 6335, + 9534, 0, 1092, 0, 214, 9534, 6338, 6331, 9534, 9534, + 236, 1148, 249, 0, 6280, 9534, 239, 9534, 240, 9534, + + 306, 6245, 311, 262, 9534, 320, 172, 1177, 1236, 1281, + 363, 349, 1340, 1391, 6257, 86, 254, 1448, 6231, 6215, + 6227, 6200, 6212, 6207, 294, 422, 0, 173, 6187, 323, + 9534, 397, 6180, 348, 6168, 450, 1496, 444, 373, 1561, + 6135, 272, 388, 1618, 6117, 6113, 6125, 6109, 6121, 6114, + 1682, 1713, 490, 421, 6089, 737, 304, 9534, 6138, 168, + 9534, 6141, 500, 671, 6086, 848, 446, 926, 6085, 971, + 893, 6064, 1769, 984, 1784, 6077, 6088, 939, 994, 887, + 6075, 422, 243, 1849, 1906, 6050, 6034, 6002, 6013, 5988, + 5981, 5972, 5966, 5970, 5967, 1012, 5912, 5905, 5900, 5892, + + 5894, 5885, 496, 9534, 376, 1022, 1970, 449, 5868, 1024, + 417, 433, 1033, 5854, 5859, 5849, 5841, 5839, 847, 684, + 683, 418, 434, 673, 935, 318, 1089, 454, 1064, 5850, + 2026, 1086, 2057, 694, 5842, 1078, 707, 0, 5891, 528, + 5894, 9534, 9534, 0, 498, 5862, 9534, 1135, 1134, 0, + 5801, 1184, 9534, 9534, 5792, 1140, 5772, 5820, 860, 682, + 1177, 750, 5822, 943, 1075, 1250, 5767, 2114, 0, 1377, + 2173, 1196, 1196, 2215, 5793, 1250, 1263, 1208, 2266, 2323, + 5759, 0, 5764, 5757, 5732, 5726, 5715, 1451, 5705, 5692, + 9534, 1021, 5670, 5664, 5669, 891, 721, 5667, 1536, 5655, + + 1725, 5654, 1756, 1660, 5646, 2387, 1679, 2402, 5670, 1769, + 1804, 1374, 2467, 2524, 5629, 5634, 5619, 5555, 5550, 5541, + 1621, 5532, 5528, 737, 1746, 2588, 5516, 1194, 714, 841, + 431, 856, 944, 1926, 1936, 2628, 2668, 2708, 2746, 5552, + 5529, 2792, 910, 2839, 866, 2904, 2961, 5517, 5503, 0, + 5511, 5489, 5494, 5489, 5436, 5450, 5438, 5445, 5424, 5392, + 5404, 5380, 5375, 259, 5361, 5346, 5360, 5359, 5290, 5288, + 3025, 3081, 1184, 830, 24, 5240, 5230, 5232, 5238, 1042, + 896, 912, 5235, 718, 925, 821, 1979, 9534, 1043, 3137, + 3193, 983, 858, 1993, 2023, 2054, 3231, 5269, 3282, 3339, + + 5250, 5241, 5246, 5181, 5195, 5183, 5165, 5154, 5145, 5157, + 5156, 5126, 5102, 5106, 1063, 1036, 5071, 2089, 3387, 3427, + 3467, 3507, 5079, 3553, 0, 5048, 5027, 5031, 5008, 4998, + 4976, 4970, 4935, 4932, 4930, 4929, 4911, 4897, 4883, 3617, + 3673, 1480, 1018, 9534, 1086, 1124, 2113, 160, 3713, 3753, + 1969, 708, 4889, 4884, 2128, 1239, 4880, 4869, 924, 951, + 3793, 2139, 1814, 3840, 2174, 1050, 3905, 1103, 889, 1183, + 1056, 1117, 1308, 1508, 1498, 1342, 1208, 1341, 1062, 1449, + 1114, 1464, 1109, 1343, 1394, 1215, 4857, 1234, 1137, 4849, + 1366, 1008, 1506, 1424, 4818, 4813, 4815, 4786, 4792, 4778, + + 1671, 86, 1516, 1240, 1330, 1472, 2187, 4814, 2199, 2237, + 2079, 3962, 4013, 4088, 2006, 2060, 1522, 1716, 2367, 2368, + 1973, 2361, 2374, 2404, 2405, 2444, 2562, 1189, 4798, 4793, + 4742, 2549, 1536, 4136, 4176, 2603, 1450, 4775, 1850, 4757, + 4708, 1628, 2268, 4698, 4691, 4682, 4687, 4676, 4660, 4658, + 4654, 4647, 1636, 1682, 1629, 1483, 4216, 4256, 4296, 4625, + 4624, 2609, 4605, 4584, 4583, 4575, 969, 2641, 1824, 2651, + 2066, 4336, 0, 2592, 4384, 2678, 2688, 4431, 2720, 1494, + 1268, 1728, 2442, 9534, 1681, 1717, 1679, 1720, 1810, 2443, + 9534, 1724, 1698, 1468, 1966, 1729, 1647, 1686, 1954, 1967, + + 1821, 4534, 1977, 2041, 1759, 1758, 1980, 1517, 1798, 4489, + 4446, 4424, 2103, 2053, 2054, 1966, 2732, 2768, 2814, 4460, + 4459, 2445, 2877, 4442, 4430, 2880, 2999, 2842, 3000, 3006, + 3012, 2879, 3009, 2882, 4448, 4445, 4440, 4441, 4399, 4479, + 4519, 4559, 4389, 4389, 4371, 4364, 4333, 4324, 4329, 4287, + 4300, 4265, 4274, 4274, 4257, 2037, 2029, 2089, 1916, 1997, + 2694, 2050, 4599, 4639, 3043, 4257, 4242, 4240, 4217, 4677, + 2097, 2869, 3051, 3081, 2159, 2253, 2336, 3094, 2360, 4725, + 0, 3106, 4773, 3134, 3150, 4820, 3158, 2112, 2082, 4202, + 2577, 1827, 2199, 2096, 2216, 3014, 2146, 2326, 2226, 3135, + + 1944, 2188, 2334, 2252, 3186, 3187, 2351, 4173, 4135, 4111, + 4098, 2314, 4078, 4077, 2577, 2385, 2358, 2401, 3206, 4111, + 3218, 3253, 3190, 3284, 3387, 4073, 4055, 3388, 3389, 3390, + 2366, 3427, 3428, 3429, 3435, 3436, 0, 0, 0, 0, + 4003, 3480, 2125, 4868, 4908, 3456, 3467, 4008, 3997, 3979, + 3508, 3973, 3869, 2367, 3509, 3863, 3868, 3510, 3517, 3856, + 3854, 3838, 3835, 2498, 4947, 4986, 5025, 3861, 3843, 3821, + 3359, 5065, 3528, 3538, 5111, 3575, 3614, 3808, 3632, 3644, + 3587, 2537, 2572, 2974, 3030, 3670, 3066, 5159, 0, 3688, + 5207, 3699, 3723, 5254, 3731, 2419, 5319, 3759, 9534, 2275, + + 2756, 1190, 2412, 3760, 9534, 2403, 667, 2319, 2592, 3761, + 9534, 2406, 2068, 3776, 3758, 3762, 9534, 3794, 9534, 3745, + 2524, 3725, 3675, 2759, 2624, 2585, 2776, 3814, 3861, 3983, + 5381, 3680, 3668, 2549, 2557, 3669, 3649, 2610, 2634, 3625, + 5439, 5478, 5517, 5574, 2752, 3598, 2955, 2691, 1603, 2797, + 2980, 2858, 2977, 4075, 2073, 5632, 5671, 4114, 3614, 3601, + 4152, 2769, 4162, 2989, 5711, 0, 4188, 5724, 4199, 3763, + 5770, 4228, 4240, 4268, 4280, 3021, 3028, 3116, 3269, 4306, + 3442, 5818, 0, 4318, 5866, 4356, 3781, 4406, 3029, 5931, + 2506, 3089, 2994, 3081, 4479, 2787, 3022, 3139, 4519, 4559, + + 3563, 2812, 3529, 3525, 3492, 3844, 3147, 3864, 3508, 4366, + 3502, 4491, 4531, 3994, 5993, 3466, 3416, 3842, 1729, 3415, + 3395, 4560, 4561, 0, 4572, 2744, 6051, 6090, 4417, 6147, + 3371, 2428, 4600, 3113, 2962, 3347, 4601, 4602, 3314, 6206, + 6246, 6286, 6326, 3218, 4506, 4615, 4651, 3192, 3189, 3219, + 4661, 3254, 6366, 0, 4699, 6379, 4745, 4120, 6425, 4795, + 4755, 3114, 4842, 4880, 4455, 3147, 3270, 3602, 2759, 3178, + 6473, 0, 4550, 3364, 3535, 4918, 3347, 4921, 3411, 3906, + 9534, 3628, 3412, 3629, 4229, 9534, 4269, 9534, 2995, 2920, + 3765, 3421, 3215, 2813, 4936, 4976, 4932, 4974, 4998, 5037, + + 4823, 4726, 2796, 3047, 2772, 2754, 6485, 6525, 6565, 6605, + 4911, 5026, 2728, 3392, 3211, 3435, 5085, 3134, 6645, 6685, + 5016, 3410, 5095, 2706, 5133, 5181, 5145, 2653, 2613, 3633, + 3684, 5227, 3699, 6725, 0, 5276, 6738, 5237, 4625, 6784, + 5451, 5462, 5489, 5500, 3880, 2590, 3321, 2863, 3750, 4728, + 9534, 2411, 4909, 9534, 5528, 3467, 3970, 3793, 9534, 1934, + 4164, 9534, 3367, 4342, 5547, 5660, 5668, 5699, 5540, 5319, + 5707, 5906, 5658, 2403, 5747, 5792, 5193, 2359, 4910, 2196, + 2137, 1988, 5839, 3588, 6832, 6872, 5852, 3751, 5820, 1948, + 1830, 3447, 6912, 6952, 6992, 6063, 6075, 6102, 1787, 1666, + + 4075, 4089, 6112, 4177, 7032, 0, 6218, 7045, 6229, 4966, + 6258, 1645, 6269, 6297, 5288, 1558, 1440, 4170, 4916, 9534, + 5546, 5904, 4069, 9534, 4481, 6307, 6336, 6348, 6401, 6447, + 5910, 5066, 1398, 7093, 7133, 7173, 6514, 6525, 1288, 6512, + 3880, 7213, 7253, 6501, 6575, 1183, 6587, 6617, 6413, 1096, + 1034, 4640, 1014, 885, 6629, 0, 4323, 3525, 5068, 9534, + 5821, 9534, 6618, 4689, 6658, 833, 6670, 6697, 6459, 6147, + 6712, 4013, 7293, 7333, 6760, 6784, 7373, 7413, 7453, 6804, + 6842, 6852, 699, 0, 514, 3256, 6148, 9534, 3517, 4825, + 9534, 3623, 6884, 6896, 6924, 7493, 7533, 7573, 6934, 4073, + + 7613, 7653, 6965, 9534, 6972, 7003, 5698, 9534, 2225, 9534, + 7013, 471, 7067, 7105, 6539, 7115, 4074, 7693, 7733, 7146, + 7153, 7191, 7229, 3226, 7239, 7267, 7277, 7306, 7316, 7354, + 404, 7392, 7164, 316, 9534, 7430, 5757, 179, 7440, 7346, + 9534, 7790, 7811, 7832, 7853, 7874, 7895, 7916, 7937, 7958, + 7979, 8000, 4595, 8021, 8042, 8063, 8084, 8105, 8126, 3974, + 8147, 8168, 8189, 8210, 8231, 8252, 8273, 8294, 8315, 8336, + 8357, 8378, 8399, 8420, 8441, 8462, 8483, 8504, 8525, 8546, + 4711, 4858, 8555, 8575, 8596, 8617, 8638, 8659, 8680, 8701, + 8722, 4195, 8743, 8764, 8785, 8806, 8818, 8839, 5061, 8860, + + 8881, 8902, 8923, 8944, 8965, 8986, 9007, 9028, 9049, 5015, + 9058, 9078, 9099, 9120, 9141, 5557, 5566, 5900, 9150, 9158, + 9178, 9199, 5062, 6245, 6285, 6325, 9208, 9217, 6365, 6552, + 6559, 9225, 9234, 6773, 6777, 9242, 9251, 9271, 5308, 9283, + 9304, 6822, 9314, 9322, 9331, 9351, 6561, 9363, 9384, 6868, + 9394, 9402, 9411, 9431, 9452, 9473, 6871, 9483, 5651, 6951, + 9492, 6988, 5690, 9512, 3664 + } ; + +static const flex_int16_t yy_def[1366] = + { 0, + 1241, 1, 1, 1, 1242, 1242, 1243, 1243, 1244, 1244, + 1245, 1245, 1246, 1246, 1241, 15, 1247, 1247, 1241, 19, + 1241, 1248, 1241, 1241, 1241, 1241, 1241, 1249, 1250, 1241, + 1241, 1251, 1241, 1252, 1248, 35, 35, 1253, 1241, 1241, + 1248, 1241, 42, 42, 42, 42, 42, 47, 47, 47, + 47, 47, 47, 47, 47, 1248, 1254, 35, 1248, 1241, + 1249, 42, 42, 47, 47, 47, 1241, 1241, 1241, 1255, + 42, 47, 47, 47, 1256, 1248, 1257, 1241, 1241, 1257, + 1241, 1257, 1241, 1258, 1258, 1241, 1241, 1258, 1241, 1241, + 1259, 1249, 1241, 1260, 1261, 1241, 1261, 1241, 1261, 1241, + + 1262, 1263, 1263, 1263, 1241, 1241, 1264, 1265, 1266, 1241, + 110, 110, 110, 1241, 114, 114, 114, 114, 118, 118, + 118, 118, 118, 118, 1267, 110, 113, 113, 1268, 1268, + 1241, 1268, 1269, 1270, 1271, 1272, 1269, 137, 137, 1241, + 140, 140, 140, 140, 144, 144, 144, 144, 144, 144, + 1269, 1273, 137, 1269, 1274, 1274, 1241, 1241, 1241, 1275, + 1241, 1241, 1276, 1241, 1277, 1241, 1264, 1277, 1278, 1278, + 1279, 1280, 1274, 1274, 1274, 1281, 175, 175, 175, 175, + 1282, 1283, 1274, 1241, 184, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, + + 185, 185, 1241, 1241, 1274, 1274, 1284, 1285, 1274, 1284, + 1274, 1274, 1241, 1241, 1241, 1241, 1241, 1241, 1275, 1274, + 175, 1274, 1274, 1274, 1241, 1241, 1241, 1241, 1286, 1287, + 1274, 185, 1288, 1289, 1274, 1288, 1274, 1290, 1290, 1241, + 1241, 1241, 1241, 1291, 1291, 1291, 1241, 1241, 1276, 1292, + 1293, 1293, 1241, 1241, 1293, 1293, 1294, 1241, 1294, 1294, + 1241, 1241, 1241, 1264, 1264, 1264, 1295, 1296, 1297, 1295, + 1298, 1241, 1241, 1297, 274, 274, 274, 274, 1241, 279, + 280, 1299, 280, 280, 280, 280, 280, 280, 280, 280, + 1241, 1285, 1297, 1297, 1300, 1300, 1300, 1301, 1301, 1302, + + 1302, 1303, 1303, 1304, 1305, 1301, 1301, 1301, 308, 308, + 308, 308, 1241, 313, 314, 314, 314, 314, 314, 314, + 314, 314, 314, 1301, 1301, 1306, 1301, 1306, 1301, 1301, + 1307, 1307, 1308, 1241, 1241, 1309, 1309, 1309, 1309, 339, + 1310, 1241, 1311, 1241, 1309, 1241, 346, 347, 347, 347, + 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, + 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, + 1312, 1312, 1309, 1309, 1241, 1241, 1241, 1241, 1241, 1307, + 1309, 1309, 339, 1309, 1309, 1309, 1241, 1241, 1313, 1314, + 1314, 1309, 1241, 1241, 1241, 1241, 1297, 397, 1241, 399, + + 400, 400, 400, 400, 400, 400, 400, 400, 400, 400, + 400, 400, 400, 400, 1315, 1297, 1297, 1241, 1301, 1301, + 1301, 308, 422, 313, 314, 314, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 314, 314, 1306, + 1306, 1301, 1301, 1241, 1308, 1308, 1309, 1309, 1309, 1309, + 1309, 1309, 1316, 1317, 1317, 455, 1318, 1317, 1319, 1320, + 1241, 461, 461, 1241, 461, 1309, 1241, 467, 467, 467, + 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, + 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, + 1309, 1309, 1309, 1309, 1241, 1241, 1241, 1241, 1241, 1241, + + 1321, 1309, 1309, 1309, 1322, 1309, 1241, 1241, 1241, 1241, + 1241, 1297, 1241, 513, 514, 514, 1323, 514, 514, 514, + 514, 514, 514, 514, 514, 514, 514, 1297, 1297, 1297, + 1297, 1301, 1301, 1301, 1301, 1301, 1301, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, + 314, 314, 1301, 1301, 1301, 1301, 1309, 1309, 1309, 1241, + 1324, 1324, 562, 1324, 1325, 1326, 1327, 1241, 1328, 464, + 1328, 1241, 572, 1328, 1241, 575, 575, 1241, 575, 1309, + 467, 467, 1241, 1241, 467, 467, 467, 467, 467, 1241, + 1241, 467, 467, 467, 467, 467, 467, 467, 467, 467, + + 467, 467, 467, 467, 1309, 1309, 1309, 1309, 1309, 1241, + 1241, 1241, 1321, 1309, 1309, 1309, 1241, 1241, 1241, 512, + 513, 514, 514, 1323, 1323, 514, 514, 514, 514, 514, + 514, 514, 514, 514, 1297, 1297, 1297, 1297, 1297, 1301, + 1301, 1301, 314, 314, 314, 314, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 1301, 1301, 1301, 1301, 1301, + 1309, 1309, 1309, 1309, 1309, 1329, 1329, 1330, 1331, 1241, + 1241, 1241, 1241, 1241, 1332, 1332, 1333, 578, 1333, 1241, + 680, 1333, 1241, 683, 683, 1241, 683, 1309, 467, 467, + 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, + + 467, 467, 467, 467, 467, 467, 467, 1309, 1309, 1309, + 1309, 1309, 1241, 1241, 1321, 1309, 1309, 1309, 1241, 1241, + 1241, 1241, 1241, 514, 514, 1323, 1323, 514, 514, 514, + 1323, 514, 514, 514, 514, 514, 1297, 1297, 1297, 1297, + 1297, 1301, 1301, 1301, 1301, 1301, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 314, 314, 1301, + 1301, 1301, 1301, 1301, 1309, 1309, 1309, 1241, 1334, 1335, + 670, 1241, 772, 772, 1241, 772, 1241, 1241, 1241, 1241, + 1241, 1241, 1336, 1336, 1337, 686, 1337, 1241, 788, 1337, + 1241, 791, 791, 1241, 791, 1309, 1241, 1241, 1241, 797, + + 797, 797, 797, 1241, 1241, 797, 797, 797, 797, 1241, + 1241, 797, 797, 797, 797, 1241, 1241, 1241, 1241, 797, + 1309, 1241, 1241, 1338, 1309, 1309, 1309, 1241, 1241, 1241, + 1241, 1339, 1339, 831, 831, 1339, 1339, 831, 831, 1340, + 1341, 1341, 1341, 1241, 844, 844, 844, 844, 844, 844, + 844, 844, 1341, 1309, 1309, 1309, 1309, 1309, 1241, 1342, + 1241, 1343, 775, 1343, 1343, 865, 1343, 1241, 868, 868, + 1241, 868, 1241, 1241, 1241, 1241, 1344, 1344, 1345, 794, + 1345, 1241, 882, 1345, 1241, 885, 885, 885, 1309, 1241, + 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, + + 890, 890, 1309, 1241, 1241, 1346, 1309, 1309, 1309, 1241, + 1241, 1241, 1241, 1241, 1241, 1347, 1347, 915, 915, 1347, + 1347, 915, 915, 1348, 1349, 1349, 1349, 1349, 1349, 1241, + 930, 930, 930, 930, 930, 930, 930, 930, 1349, 1309, + 1309, 1309, 1309, 1241, 1241, 1241, 1241, 1350, 1350, 1351, + 871, 1351, 1351, 953, 1351, 1241, 956, 956, 1241, 956, + 1241, 1241, 1241, 1241, 1241, 1241, 1352, 1352, 1353, 1353, + 1353, 971, 1353, 1309, 890, 890, 890, 890, 890, 1241, + 1241, 890, 890, 890, 1241, 1241, 1241, 1241, 890, 1241, + 1241, 1354, 1346, 1309, 1355, 1356, 1241, 1241, 1241, 1241, + + 915, 1347, 1347, 915, 1347, 1347, 1349, 1349, 1349, 1349, + 930, 930, 930, 930, 930, 930, 1309, 1309, 1309, 1309, + 1309, 1309, 1241, 1241, 1241, 1241, 1241, 1241, 1357, 1357, + 1358, 959, 1358, 1358, 1034, 1358, 1241, 1037, 1037, 1241, + 1037, 1241, 1241, 1241, 1241, 1359, 1359, 1309, 890, 1241, + 1241, 890, 1241, 1241, 890, 890, 890, 890, 1241, 1354, + 1354, 1241, 1354, 1346, 1355, 1355, 1355, 1355, 1241, 1355, + 1356, 1356, 1241, 1241, 1241, 1241, 1241, 1241, 1347, 915, + 1347, 1347, 1349, 1349, 1349, 1349, 1349, 1349, 930, 930, + 930, 930, 1309, 1309, 1309, 1241, 1241, 1241, 1241, 1360, + + 1360, 1361, 1040, 1361, 1361, 1105, 1361, 1241, 1108, 1108, + 1108, 1241, 1241, 1241, 1241, 1241, 1309, 890, 1241, 1241, + 890, 890, 890, 1241, 1346, 1241, 1241, 1241, 1241, 1241, + 915, 1347, 1347, 1349, 1349, 1349, 930, 930, 930, 1309, + 1309, 1309, 1309, 1309, 1241, 1241, 1241, 1241, 1241, 1241, + 1362, 1362, 1363, 1363, 1363, 1155, 1155, 890, 1241, 1241, + 1241, 1241, 890, 1364, 1241, 1241, 1241, 1241, 1241, 1347, + 1349, 1349, 1349, 1349, 1349, 930, 1309, 1309, 1309, 1241, + 1241, 1241, 1241, 1365, 1365, 890, 1241, 1241, 1364, 1364, + 1241, 1364, 1241, 1241, 1241, 1349, 1349, 1349, 1309, 1309, + + 1309, 1309, 1309, 1241, 1241, 1241, 1241, 1241, 890, 1241, + 1241, 1241, 1241, 1241, 1241, 1349, 1349, 1349, 1349, 1349, + 1309, 1309, 1309, 890, 1241, 1241, 1241, 1349, 1349, 1349, + 1309, 1309, 1309, 890, 1241, 1241, 1241, 1349, 1349, 1349, + 0, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241 + } ; + +static const flex_int16_t yy_nxt[9611] = + { 0, + 22, 23, 24, 22, 25, 23, 26, 27, 28, 22, + 29, 30, 31, 22, 32, 33, 22, 22, 34, 35, + 36, 37, 35, 35, 35, 35, 35, 35, 35, 38, + 39, 40, 41, 42, 43, 44, 43, 45, 46, 47, + 47, 48, 47, 49, 50, 51, 47, 52, 53, 54, + 55, 47, 47, 47, 47, 47, 56, 57, 22, 58, + 58, 58, 58, 58, 58, 22, 22, 22, 22, 22, + 22, 22, 22, 59, 22, 22, 60, 157, 185, 156, + 60, 157, 185, 61, 23, 78, 495, 79, 23, 80, + 183, 81, 23, 78, 496, 79, 23, 80, 81, 81, + + 85, 86, 201, 87, 85, 88, 81, 89, 90, 166, + 62, 63, 81, 82, 185, 64, 202, 193, 185, 614, + 81, 82, 194, 65, 228, 190, 66, 67, 228, 280, + 167, 67, 103, 24, 68, 25, 103, 104, 105, 83, + 283, 69, 156, 188, 70, 197, 185, 83, 103, 24, + 185, 25, 103, 104, 105, 91, 189, 168, 22, 71, + 198, 43, 179, 179, 179, 179, 179, 180, 199, 72, + 161, 73, 332, 74, 47, 185, 47, 447, 191, 185, + 166, 85, 86, 75, 87, 85, 88, 106, 89, 90, + 23, 24, 40, 25, 23, 130, 131, 223, 225, 76, + + 67, 265, 225, 106, 67, 172, 172, 68, 156, 185, + 172, 172, 226, 185, 69, 245, 156, 70, 211, 245, + 23, 24, 40, 25, 23, 130, 131, 212, 266, 221, + 172, 22, 71, 156, 43, 299, 91, 248, 204, 293, + 241, 248, 72, 211, 73, 132, 74, 47, 294, 47, + 203, 204, 237, 241, 203, 173, 75, 178, 178, 178, + 178, 178, 178, 178, 178, 178, 178, 213, 260, 253, + 254, 213, 76, 23, 24, 132, 25, 23, 26, 155, + 92, 177, 177, 177, 177, 177, 177, 177, 177, 177, + 177, 188, 483, 484, 185, 252, 252, 280, 185, 156, + + 284, 214, 215, 291, 189, 157, 216, 256, 204, 157, + 241, 256, 259, 345, 217, 314, 259, 218, 258, 228, + 220, 261, 262, 228, 263, 261, 316, 257, 93, 297, + 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, + 94, 94, 94, 94, 94, 94, 94, 94, 23, 24, + 292, 25, 23, 26, 227, 92, 166, 164, 164, 164, + 164, 164, 164, 164, 164, 164, 164, 258, 277, 277, + 277, 277, 277, 278, 185, 230, 230, 265, 204, 296, + 230, 230, 276, 276, 276, 276, 276, 276, 276, 276, + 276, 276, 311, 311, 311, 311, 311, 312, 203, 204, + + 230, 241, 203, 93, 301, 94, 94, 94, 94, 94, + 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, + 94, 94, 94, 23, 24, 231, 25, 23, 26, 96, + 92, 314, 156, 161, 317, 332, 97, 98, 99, 1241, + 342, 275, 275, 275, 275, 275, 275, 275, 275, 275, + 275, 344, 100, 296, 166, 228, 305, 305, 291, 228, + 156, 305, 305, 310, 310, 310, 310, 310, 310, 310, + 310, 310, 310, 156, 156, 1241, 373, 299, 101, 23, + 24, 305, 25, 23, 26, 96, 92, 329, 1211, 156, + 156, 384, 97, 98, 99, 374, 330, 203, 204, 245, + + 241, 203, 266, 245, 385, 292, 306, 298, 100, 309, + 309, 309, 309, 309, 309, 309, 309, 309, 309, 164, + 164, 164, 164, 164, 164, 164, 164, 164, 164, 203, + 204, 861, 241, 203, 101, 40, 23, 24, 40, 25, + 23, 26, 40, 40, 40, 107, 30, 31, 40, 108, + 33, 40, 40, 109, 110, 111, 112, 110, 110, 110, + 110, 110, 110, 110, 38, 113, 40, 40, 114, 115, + 115, 115, 116, 117, 118, 118, 119, 118, 120, 121, + 122, 118, 123, 118, 124, 118, 118, 118, 118, 118, + 118, 93, 125, 40, 126, 126, 126, 126, 126, 126, + + 127, 127, 127, 127, 127, 127, 127, 127, 128, 127, + 127, 133, 23, 24, 133, 25, 23, 26, 40, 40, + 133, 134, 30, 31, 133, 135, 33, 133, 133, 136, + 137, 138, 139, 137, 137, 137, 137, 137, 137, 137, + 38, 39, 40, 133, 140, 141, 141, 141, 142, 143, + 144, 144, 145, 144, 146, 147, 148, 144, 149, 144, + 150, 144, 144, 144, 144, 144, 144, 151, 152, 133, + 153, 153, 153, 153, 153, 153, 133, 133, 133, 133, + 133, 133, 133, 133, 154, 133, 133, 161, 260, 162, + 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, + + 155, 163, 896, 388, 164, 164, 164, 164, 164, 164, + 164, 164, 164, 164, 174, 185, 175, 175, 175, 175, + 175, 175, 175, 175, 175, 175, 176, 297, 1103, 156, + 177, 177, 177, 177, 177, 177, 386, 176, 258, 204, + 156, 155, 155, 155, 155, 155, 381, 383, 155, 155, + 389, 393, 155, 156, 382, 393, 177, 177, 177, 177, + 177, 177, 155, 156, 156, 155, 155, 155, 155, 392, + 299, 155, 155, 442, 156, 155, 155, 296, 155, 155, + 155, 184, 184, 184, 184, 184, 184, 184, 184, 184, + 184, 176, 381, 299, 155, 184, 184, 184, 184, 184, + + 184, 185, 185, 185, 185, 186, 185, 185, 185, 187, + 185, 185, 185, 185, 185, 185, 185, 185, 156, 155, + 185, 177, 177, 177, 177, 177, 177, 155, 155, 155, + 155, 155, 155, 155, 155, 155, 155, 155, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 185, 1241, 161, + 1165, 332, 185, 185, 185, 185, 185, 185, 444, 393, + 332, 259, 185, 393, 334, 259, 185, 335, 335, 335, + 335, 335, 335, 335, 335, 335, 335, 156, 155, 155, + 155, 155, 155, 155, 203, 204, 156, 205, 206, 155, + 155, 155, 295, 381, 155, 155, 295, 299, 155, 172, + + 172, 494, 1241, 443, 172, 172, 340, 340, 340, 340, + 340, 340, 155, 155, 155, 208, 258, 380, 1241, 208, + 208, 208, 156, 209, 172, 208, 208, 466, 342, 208, + 165, 165, 165, 165, 165, 582, 225, 165, 165, 460, + 225, 165, 342, 208, 208, 208, 161, 296, 446, 173, + 226, 1241, 156, 460, 502, 165, 165, 165, 340, 340, + 340, 340, 340, 340, 340, 340, 340, 340, 156, 342, + 210, 161, 1241, 162, 381, 169, 169, 169, 169, 169, + 464, 156, 169, 169, 504, 163, 169, 342, 164, 164, + 164, 164, 164, 164, 164, 164, 164, 164, 460, 266, + + 169, 169, 169, 336, 337, 338, 336, 336, 336, 336, + 336, 336, 336, 340, 340, 340, 340, 340, 340, 340, + 340, 340, 340, 203, 204, 208, 241, 203, 155, 208, + 415, 861, 207, 371, 213, 607, 219, 234, 213, 156, + 156, 234, 234, 234, 161, 235, 332, 234, 234, 357, + 358, 234, 505, 359, 506, 360, 361, 528, 529, 362, + 530, 363, 364, 1103, 156, 234, 234, 234, 214, 215, + 230, 230, 291, 216, 299, 230, 230, 292, 156, 234, + 372, 217, 155, 166, 218, 1241, 233, 390, 161, 556, + 446, 1241, 236, 240, 204, 230, 241, 240, 242, 389, + + 243, 595, 585, 501, 1241, 242, 156, 243, 164, 164, + 164, 164, 164, 164, 164, 164, 164, 164, 580, 292, + 231, 243, 243, 357, 358, 1032, 444, 359, 446, 360, + 361, 266, 1241, 362, 391, 363, 203, 204, 1241, 241, + 203, 203, 204, 1241, 241, 203, 1241, 599, 243, 242, + 161, 581, 162, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 597, 249, 586, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 267, 261, 262, + 267, 263, 261, 604, 583, 251, 267, 267, 583, 251, + 267, 251, 251, 267, 267, 208, 252, 172, 298, 251, + + 1145, 172, 326, 440, 172, 491, 492, 269, 493, 267, + 635, 172, 584, 636, 251, 394, 395, 396, 394, 394, + 394, 394, 394, 394, 394, 172, 172, 398, 398, 398, + 398, 398, 398, 270, 267, 267, 172, 1241, 185, 172, + 156, 893, 172, 172, 1241, 172, 172, 172, 172, 172, + 441, 593, 172, 172, 264, 264, 264, 264, 564, 564, + 564, 264, 264, 1241, 602, 264, 269, 172, 172, 398, + 398, 398, 398, 398, 398, 398, 398, 398, 398, 603, + 264, 264, 398, 398, 398, 398, 398, 398, 398, 398, + 398, 398, 272, 172, 172, 269, 156, 1241, 273, 269, + + 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, + 176, 269, 689, 381, 275, 275, 275, 275, 275, 275, + 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, + 269, 269, 269, 269, 269, 269, 269, 1241, 1176, 388, + 275, 275, 275, 275, 275, 275, 269, 269, 269, 269, + 269, 269, 269, 269, 269, 269, 269, 1241, 587, 269, + 269, 269, 269, 269, 269, 269, 269, 269, 269, 1241, + 1241, 1241, 1241, 269, 269, 269, 269, 269, 269, 592, + 600, 267, 267, 267, 267, 267, 389, 605, 267, 267, + 606, 594, 267, 423, 423, 423, 423, 423, 423, 269, + + 269, 269, 269, 269, 269, 269, 267, 267, 267, 269, + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, + 176, 269, 156, 1241, 279, 279, 279, 279, 279, 279, + 280, 280, 280, 280, 281, 280, 280, 280, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 601, 1170, 282, + 275, 275, 275, 275, 275, 275, 269, 269, 269, 269, + 269, 269, 269, 269, 269, 269, 269, 280, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 1241, 1241, 176, + 156, 280, 280, 280, 280, 280, 280, 609, 406, 407, + 596, 280, 408, 1241, 409, 410, 156, 1241, 411, 590, + + 412, 553, 554, 590, 555, 698, 299, 269, 269, 269, + 269, 269, 269, 307, 598, 308, 308, 308, 308, 308, + 308, 308, 308, 308, 308, 176, 608, 591, 156, 309, + 309, 309, 309, 309, 309, 616, 299, 1241, 711, 299, + 298, 298, 298, 298, 298, 176, 660, 298, 298, 588, + 156, 298, 299, 532, 589, 309, 309, 309, 309, 309, + 309, 298, 156, 624, 298, 298, 298, 298, 625, 688, + 298, 298, 156, 156, 298, 298, 342, 298, 298, 298, + 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, + 176, 615, 299, 298, 313, 313, 313, 313, 313, 313, + + 314, 314, 314, 314, 315, 314, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 299, 298, 314, + 309, 309, 309, 309, 309, 309, 298, 298, 298, 298, + 298, 298, 298, 298, 298, 298, 298, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 1241, 935, 659, + 314, 314, 314, 314, 314, 314, 314, 656, 431, 432, + 657, 314, 433, 342, 434, 435, 305, 305, 436, 645, + 437, 305, 305, 161, 646, 332, 1241, 298, 298, 298, + 298, 298, 298, 203, 204, 299, 324, 325, 298, 298, + 298, 305, 299, 298, 298, 1032, 701, 298, 419, 420, + + 421, 419, 419, 419, 419, 419, 419, 419, 1241, 658, + 1241, 298, 298, 298, 208, 1241, 306, 590, 208, 208, + 208, 590, 327, 702, 208, 208, 693, 1241, 208, 300, + 300, 300, 300, 300, 691, 299, 300, 300, 299, 613, + 300, 697, 208, 208, 208, 591, 1241, 203, 204, 1241, + 241, 203, 692, 1241, 300, 300, 300, 1241, 1241, 696, + 302, 302, 302, 302, 302, 694, 1004, 302, 302, 328, + 172, 302, 700, 155, 171, 155, 155, 171, 690, 280, + 155, 155, 708, 709, 171, 302, 302, 302, 423, 423, + 423, 423, 423, 423, 423, 423, 423, 423, 171, 171, + + 155, 174, 299, 339, 339, 339, 339, 339, 339, 339, + 339, 339, 339, 176, 156, 156, 951, 339, 339, 339, + 339, 339, 339, 423, 423, 423, 423, 423, 423, 423, + 423, 423, 423, 573, 573, 573, 573, 573, 574, 1241, + 156, 568, 342, 339, 339, 339, 339, 339, 339, 155, + 1241, 583, 155, 570, 156, 583, 1241, 705, 155, 155, + 712, 695, 155, 155, 800, 155, 155, 155, 346, 346, + 346, 346, 346, 346, 346, 346, 346, 346, 176, 584, + 1138, 155, 346, 346, 346, 346, 346, 346, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, + + 185, 185, 185, 185, 185, 156, 155, 185, 339, 339, + 339, 339, 339, 339, 155, 155, 155, 155, 155, 155, + 155, 155, 155, 155, 155, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 185, 1241, 1062, 763, 1063, 185, + 185, 185, 185, 185, 185, 335, 335, 335, 335, 335, + 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, + 335, 335, 335, 335, 335, 155, 155, 155, 155, 155, + 155, 208, 299, 1241, 1241, 208, 208, 208, 1241, 209, + 230, 208, 208, 1241, 230, 208, 447, 230, 448, 448, + 448, 448, 448, 448, 230, 1241, 1241, 812, 1137, 208, + + 208, 208, 1241, 710, 703, 704, 1241, 1241, 230, 230, + 507, 1241, 508, 508, 508, 508, 508, 508, 508, 508, + 508, 508, 156, 628, 699, 156, 210, 230, 718, 706, + 155, 229, 155, 155, 229, 1241, 156, 155, 155, 1133, + 507, 229, 509, 509, 509, 509, 509, 509, 509, 509, + 509, 509, 622, 299, 761, 229, 229, 155, 234, 764, + 760, 1241, 234, 234, 234, 1241, 235, 661, 234, 234, + 1241, 507, 234, 510, 510, 510, 510, 510, 511, 508, + 508, 508, 508, 1241, 342, 299, 234, 234, 234, 1241, + 305, 854, 707, 299, 305, 570, 507, 305, 508, 508, + + 508, 508, 508, 508, 305, 161, 156, 332, 623, 156, + 156, 1241, 762, 236, 267, 342, 185, 267, 305, 305, + 900, 716, 717, 267, 267, 1241, 460, 267, 797, 156, + 267, 267, 557, 558, 559, 557, 557, 557, 557, 557, + 557, 557, 742, 802, 269, 299, 267, 562, 562, 563, + 564, 564, 564, 564, 564, 564, 564, 457, 572, 572, + 572, 572, 572, 572, 572, 572, 572, 572, 156, 156, + 270, 267, 267, 172, 796, 1241, 172, 342, 715, 172, + 172, 299, 172, 172, 172, 172, 172, 1132, 570, 172, + 172, 1241, 806, 571, 571, 571, 571, 571, 571, 571, + + 571, 571, 571, 269, 172, 172, 617, 618, 619, 617, + 617, 617, 617, 617, 617, 617, 507, 1241, 508, 508, + 508, 508, 508, 508, 508, 508, 508, 508, 1241, 272, + 172, 172, 273, 813, 397, 397, 397, 397, 397, 397, + 397, 397, 397, 397, 176, 1241, 1131, 801, 397, 397, + 397, 397, 397, 397, 507, 1241, 508, 508, 508, 508, + 508, 508, 508, 508, 508, 508, 803, 808, 1224, 590, + 568, 342, 809, 590, 397, 397, 397, 397, 397, 397, + 269, 1241, 570, 185, 269, 399, 399, 399, 399, 399, + 399, 399, 399, 399, 399, 176, 269, 591, 815, 399, + + 399, 399, 399, 399, 399, 280, 280, 280, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, + 280, 280, 891, 185, 282, 397, 397, 397, 397, 397, + 397, 269, 269, 269, 269, 269, 269, 269, 269, 269, + 269, 269, 280, 280, 280, 280, 280, 280, 280, 280, + 280, 280, 1241, 568, 342, 1241, 280, 280, 280, 280, + 280, 280, 1241, 1241, 897, 678, 1241, 185, 1241, 1241, + 156, 814, 1241, 1241, 807, 1241, 1073, 1241, 342, 1241, + 1241, 821, 269, 269, 269, 269, 269, 269, 305, 678, + 1241, 298, 304, 298, 298, 304, 1241, 1241, 298, 298, + + 629, 820, 304, 1241, 626, 1241, 1241, 836, 849, 1241, + 1241, 627, 837, 850, 156, 630, 304, 304, 298, 307, + 1073, 422, 422, 422, 422, 422, 422, 422, 422, 422, + 422, 176, 826, 1241, 1241, 422, 422, 422, 422, 422, + 422, 156, 899, 583, 590, 1241, 1241, 583, 590, 1241, + 1241, 185, 825, 631, 185, 632, 895, 156, 299, 894, + 185, 422, 422, 422, 422, 422, 422, 298, 827, 185, + 298, 584, 591, 1241, 1241, 156, 298, 298, 314, 1013, + 298, 298, 889, 298, 298, 298, 424, 424, 424, 424, + 424, 424, 424, 424, 424, 424, 176, 633, 724, 298, + + 424, 424, 424, 424, 424, 424, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, + 314, 314, 314, 299, 298, 314, 422, 422, 422, 422, + 422, 422, 298, 298, 298, 298, 298, 298, 298, 298, + 298, 298, 298, 314, 314, 314, 314, 314, 314, 314, + 314, 314, 314, 1241, 299, 342, 976, 314, 314, 314, + 314, 314, 314, 1241, 185, 853, 570, 1241, 640, 641, + 642, 640, 640, 640, 640, 640, 640, 640, 798, 161, + 156, 332, 798, 298, 298, 298, 298, 298, 298, 208, + 342, 1241, 919, 208, 208, 208, 280, 327, 903, 208, + + 208, 678, 918, 208, 280, 299, 799, 634, 342, 568, + 342, 676, 676, 676, 676, 676, 676, 208, 208, 208, + 532, 570, 533, 533, 533, 533, 533, 533, 667, 667, + 667, 667, 667, 667, 667, 667, 667, 667, 457, 824, + 185, 156, 951, 898, 328, 447, 922, 448, 448, 448, + 448, 448, 448, 448, 448, 448, 448, 280, 908, 299, + 672, 673, 674, 672, 672, 672, 672, 672, 672, 672, + 579, 579, 579, 579, 579, 579, 579, 579, 579, 579, + 156, 280, 863, 907, 156, 447, 923, 449, 449, 449, + 449, 449, 449, 449, 449, 449, 449, 680, 680, 680, + + 680, 680, 680, 680, 680, 680, 680, 681, 681, 681, + 681, 681, 682, 765, 766, 767, 765, 765, 765, 765, + 765, 765, 765, 1023, 156, 447, 934, 450, 450, 450, + 450, 450, 451, 448, 448, 448, 448, 1241, 314, 679, + 679, 679, 679, 679, 679, 679, 679, 679, 679, 719, + 156, 720, 720, 720, 720, 720, 720, 720, 720, 720, + 720, 161, 925, 332, 156, 452, 452, 452, 452, 452, + 452, 452, 452, 452, 452, 176, 568, 342, 1089, 452, + 452, 452, 452, 452, 452, 719, 861, 721, 721, 721, + 721, 721, 721, 721, 721, 721, 721, 892, 863, 314, + + 299, 1082, 156, 931, 185, 452, 452, 452, 452, 452, + 452, 454, 455, 456, 456, 456, 456, 456, 456, 456, + 456, 457, 906, 1081, 982, 458, 458, 458, 458, 458, + 458, 719, 156, 722, 722, 722, 722, 722, 723, 720, + 720, 720, 720, 1241, 314, 185, 1079, 1241, 936, 989, + 909, 458, 458, 458, 458, 458, 458, 342, 461, 462, + 463, 461, 461, 461, 461, 461, 461, 461, 464, 156, + 185, 1241, 465, 465, 465, 465, 465, 465, 1241, 730, + 1241, 1241, 1241, 1241, 1241, 1241, 777, 1241, 778, 778, + 778, 778, 778, 778, 778, 778, 778, 778, 465, 465, + + 465, 465, 465, 465, 155, 314, 1241, 155, 1241, 1241, + 938, 1241, 725, 155, 155, 728, 734, 155, 155, 156, + 155, 155, 155, 467, 467, 467, 467, 467, 467, 467, + 467, 467, 467, 176, 736, 1117, 155, 467, 467, 467, + 467, 467, 467, 185, 185, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, + 156, 155, 185, 452, 452, 452, 452, 452, 452, 155, + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, + 1241, 568, 342, 1059, 185, 185, 185, 185, 185, 185, + + 1241, 1241, 314, 678, 1241, 1241, 1241, 1241, 933, 1015, + 1241, 1241, 314, 1241, 1241, 804, 937, 1241, 863, 804, + 155, 155, 155, 155, 155, 155, 208, 314, 1241, 1241, + 208, 208, 208, 299, 209, 1241, 208, 208, 1241, 342, + 208, 1241, 729, 805, 978, 735, 342, 568, 342, 732, + 678, 939, 185, 185, 208, 208, 208, 786, 731, 786, + 661, 733, 662, 662, 662, 662, 662, 662, 777, 983, + 779, 779, 779, 779, 779, 779, 779, 779, 779, 779, + 185, 210, 208, 1241, 342, 156, 208, 208, 208, 208, + 371, 974, 208, 208, 1080, 786, 208, 280, 777, 156, + + 780, 780, 780, 780, 780, 781, 778, 778, 778, 778, + 208, 208, 208, 687, 687, 687, 687, 687, 687, 687, + 687, 687, 687, 568, 342, 784, 784, 784, 784, 784, + 784, 961, 979, 568, 342, 678, 810, 210, 234, 185, + 810, 977, 234, 234, 234, 786, 235, 185, 234, 234, + 1014, 1017, 234, 788, 788, 788, 788, 788, 788, 788, + 788, 788, 788, 314, 811, 342, 234, 234, 234, 789, + 789, 789, 789, 789, 790, 1241, 786, 787, 787, 787, + 787, 787, 787, 787, 787, 787, 787, 816, 818, 984, + 156, 816, 818, 236, 234, 1241, 342, 185, 234, 234, + + 234, 234, 390, 156, 234, 234, 861, 719, 234, 720, + 720, 720, 720, 720, 720, 817, 819, 161, 863, 332, + 994, 863, 234, 234, 234, 828, 829, 830, 828, 828, + 828, 828, 828, 828, 828, 719, 861, 720, 720, 720, + 720, 720, 720, 720, 720, 720, 720, 771, 951, 236, + 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, + 176, 314, 1091, 1234, 512, 512, 512, 512, 512, 512, + 719, 1241, 720, 720, 720, 720, 720, 720, 720, 720, + 720, 720, 1064, 951, 185, 798, 568, 342, 342, 798, + 512, 512, 512, 512, 512, 512, 269, 1209, 880, 880, + + 269, 513, 513, 513, 513, 513, 513, 513, 513, 513, + 513, 176, 269, 799, 185, 513, 513, 513, 513, 513, + 513, 280, 280, 280, 280, 280, 280, 280, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 280, 568, 342, + 282, 512, 512, 512, 512, 512, 512, 269, 269, 269, + 269, 269, 269, 269, 269, 269, 269, 269, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 280, 1241, 1124, + 299, 1063, 280, 280, 280, 280, 280, 280, 776, 776, + 776, 776, 776, 776, 776, 776, 776, 776, 1241, 804, + 1241, 1241, 1241, 804, 1241, 1241, 1052, 1016, 269, 269, + + 269, 269, 269, 269, 532, 185, 533, 533, 533, 533, + 533, 533, 533, 533, 533, 533, 1241, 805, 1241, 1241, + 156, 1012, 1061, 1062, 831, 1063, 1061, 1017, 810, 1241, + 1241, 1048, 810, 1241, 1241, 834, 816, 818, 835, 1090, + 816, 818, 314, 299, 532, 1006, 534, 534, 534, 534, + 534, 534, 534, 534, 534, 534, 811, 1241, 1241, 1241, + 342, 1055, 1005, 1057, 817, 819, 156, 1003, 798, 185, + 185, 880, 798, 742, 839, 743, 743, 743, 743, 743, + 743, 838, 1092, 299, 532, 314, 535, 535, 535, 535, + 535, 536, 533, 533, 533, 533, 799, 314, 1139, 841, + + 842, 843, 841, 841, 841, 841, 841, 841, 841, 804, + 810, 816, 299, 804, 810, 816, 1002, 1121, 818, 1191, + 910, 1192, 818, 299, 298, 185, 537, 537, 537, 537, + 537, 537, 537, 537, 537, 537, 299, 805, 811, 817, + 537, 537, 537, 537, 537, 537, 819, 865, 865, 865, + 865, 865, 865, 865, 865, 865, 865, 866, 866, 866, + 866, 866, 867, 1186, 156, 991, 537, 537, 537, 537, + 537, 537, 538, 538, 538, 538, 538, 538, 538, 538, + 538, 538, 1049, 185, 990, 156, 538, 538, 538, 538, + 538, 538, 1241, 185, 864, 864, 864, 864, 864, 864, + + 864, 864, 864, 864, 777, 1083, 778, 778, 778, 778, + 778, 778, 537, 537, 537, 537, 537, 537, 208, 568, + 342, 185, 208, 208, 208, 1210, 327, 1192, 208, 208, + 771, 880, 208, 873, 874, 875, 873, 873, 873, 873, + 873, 873, 873, 566, 299, 932, 208, 208, 208, 777, + 861, 778, 778, 778, 778, 778, 778, 778, 778, 778, + 778, 777, 951, 778, 778, 778, 778, 778, 778, 778, + 778, 778, 778, 328, 208, 1056, 1058, 1208, 208, 208, + 208, 208, 440, 1208, 208, 208, 185, 185, 208, 795, + 795, 795, 795, 795, 795, 795, 795, 795, 795, 924, + + 921, 861, 208, 208, 208, 568, 342, 878, 878, 878, + 878, 878, 878, 1032, 920, 917, 1241, 786, 882, 882, + 882, 882, 882, 882, 882, 882, 882, 882, 1032, 328, + 447, 916, 448, 448, 448, 448, 448, 448, 448, 448, + 448, 448, 883, 883, 883, 883, 883, 884, 1241, 905, + 881, 881, 881, 881, 881, 881, 881, 881, 881, 881, + 798, 804, 810, 816, 798, 804, 810, 816, 1083, 156, + 447, 995, 448, 448, 448, 448, 448, 448, 448, 448, + 448, 448, 954, 954, 954, 954, 954, 955, 799, 805, + 811, 817, 904, 185, 995, 818, 995, 995, 1118, 818, + + 972, 972, 972, 972, 972, 973, 902, 299, 185, 156, + 568, 342, 569, 569, 569, 569, 569, 569, 569, 569, + 569, 569, 570, 819, 901, 777, 571, 571, 571, 571, + 571, 571, 910, 911, 911, 911, 911, 911, 911, 911, + 911, 911, 911, 980, 1123, 992, 161, 980, 332, 992, + 771, 185, 571, 571, 571, 571, 571, 571, 342, 575, + 576, 577, 575, 575, 575, 575, 575, 575, 575, 578, + 995, 981, 566, 579, 579, 579, 579, 579, 579, 910, + 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, + 457, 299, 280, 995, 299, 995, 996, 1140, 342, 579, + + 579, 579, 579, 579, 579, 155, 993, 980, 155, 880, + 299, 980, 299, 852, 155, 155, 851, 848, 155, 155, + 156, 155, 155, 155, 185, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 176, 981, 156, 155, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, + 185, 156, 155, 185, 155, 155, 155, 155, 155, 155, + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + 155, 620, 620, 620, 620, 620, 620, 620, 620, 620, + 620, 176, 250, 250, 250, 620, 620, 620, 620, 620, + + 620, 910, 913, 913, 913, 913, 913, 914, 911, 911, + 911, 911, 910, 911, 911, 911, 911, 911, 911, 847, + 1122, 620, 620, 620, 620, 620, 620, 269, 185, 846, + 1171, 269, 621, 621, 621, 621, 621, 621, 621, 621, + 621, 621, 176, 269, 845, 844, 621, 621, 621, 621, + 621, 621, 280, 280, 280, 280, 280, 280, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 280, 280, 299, + 840, 282, 620, 620, 620, 620, 620, 620, 269, 269, + 269, 269, 269, 269, 269, 269, 269, 269, 269, 583, + 1199, 1216, 861, 583, 940, 941, 942, 943, 940, 940, + + 940, 940, 940, 940, 1032, 833, 861, 280, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 584, 1103, 1163, + 832, 280, 280, 280, 280, 280, 280, 185, 719, 156, + 299, 156, 854, 855, 855, 855, 855, 855, 855, 1035, + 1035, 1035, 1035, 1035, 1036, 823, 822, 269, 269, 269, + 269, 269, 269, 532, 156, 533, 533, 533, 533, 533, + 533, 533, 533, 533, 533, 1061, 1062, 156, 1063, 1061, + 156, 945, 946, 947, 945, 945, 945, 945, 945, 945, + 945, 872, 872, 872, 872, 872, 872, 872, 872, 872, + 872, 156, 299, 532, 1241, 533, 533, 533, 533, 533, + + 533, 533, 533, 533, 533, 861, 1103, 949, 949, 949, + 949, 949, 949, 250, 250, 250, 1158, 863, 953, 953, + 953, 953, 953, 953, 953, 953, 953, 953, 185, 156, + 985, 1241, 299, 661, 985, 662, 662, 662, 662, 662, + 662, 662, 662, 662, 662, 1241, 771, 952, 952, 952, + 952, 952, 952, 952, 952, 952, 952, 961, 986, 962, + 962, 962, 962, 962, 962, 962, 962, 962, 962, 566, + 987, 457, 156, 661, 987, 663, 663, 663, 663, 663, + 663, 663, 663, 663, 663, 961, 457, 963, 963, 963, + 963, 963, 963, 963, 963, 963, 963, 961, 988, 964, + + 964, 964, 964, 964, 965, 962, 962, 962, 962, 759, + 758, 757, 156, 661, 756, 664, 664, 664, 664, 664, + 665, 662, 662, 662, 662, 888, 888, 888, 888, 888, + 888, 888, 888, 888, 888, 568, 342, 968, 968, 968, + 968, 968, 968, 755, 161, 754, 332, 880, 1184, 1184, + 1184, 1184, 156, 568, 342, 676, 676, 676, 676, 676, + 676, 676, 676, 676, 676, 570, 753, 752, 751, 675, + 675, 675, 675, 675, 675, 971, 971, 971, 971, 971, + 971, 971, 971, 971, 971, 997, 998, 999, 1000, 997, + 997, 997, 997, 997, 997, 675, 675, 675, 675, 675, + + 675, 568, 342, 677, 677, 677, 677, 677, 677, 677, + 677, 677, 677, 678, 1125, 750, 749, 679, 679, 679, + 679, 679, 679, 1241, 748, 970, 970, 970, 970, 970, + 970, 970, 970, 970, 970, 925, 926, 926, 926, 926, + 926, 926, 747, 679, 679, 679, 679, 679, 679, 342, + 683, 684, 685, 683, 683, 683, 683, 683, 683, 683, + 686, 741, 740, 739, 687, 687, 687, 687, 687, 687, + 738, 737, 961, 299, 962, 962, 962, 962, 962, 962, + 980, 727, 1164, 161, 980, 332, 1164, 726, 1241, 1241, + 687, 687, 687, 687, 687, 687, 742, 495, 743, 743, + + 743, 743, 743, 743, 743, 743, 743, 743, 981, 910, + 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, + 985, 714, 713, 1023, 985, 1024, 1024, 1024, 1024, 1024, + 1024, 1024, 1024, 1024, 1024, 299, 742, 185, 744, 744, + 744, 744, 744, 744, 744, 744, 744, 744, 986, 910, + 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, + 987, 985, 987, 1241, 987, 985, 987, 568, 342, 1047, + 1047, 1047, 1047, 1047, 1047, 299, 742, 185, 745, 745, + 745, 745, 745, 746, 743, 743, 743, 743, 988, 986, + 988, 1007, 1008, 1009, 1010, 1007, 1007, 1007, 1007, 1007, + + 1007, 980, 985, 987, 670, 980, 985, 987, 181, 181, + 280, 280, 566, 457, 181, 299, 661, 185, 662, 662, + 662, 662, 662, 662, 662, 662, 662, 662, 299, 981, + 986, 988, 1023, 666, 1025, 1025, 1025, 1025, 1025, 1025, + 1025, 1025, 1025, 1025, 1106, 1106, 1106, 1106, 1106, 1107, + 314, 314, 314, 457, 182, 156, 661, 861, 662, 662, + 662, 662, 662, 662, 662, 662, 662, 662, 1023, 1103, + 1026, 1026, 1026, 1026, 1026, 1027, 1024, 1024, 1024, 1024, + 960, 960, 960, 960, 960, 960, 960, 960, 960, 960, + 1190, 1191, 655, 1192, 1190, 156, 772, 773, 774, 772, + + 772, 772, 772, 772, 772, 772, 775, 654, 653, 652, + 776, 776, 776, 776, 776, 776, 861, 651, 1030, 1030, + 1030, 1030, 1030, 1030, 181, 181, 650, 1053, 951, 1050, + 181, 1053, 649, 1050, 648, 647, 776, 776, 776, 776, + 776, 776, 568, 342, 784, 784, 784, 784, 784, 784, + 784, 784, 784, 784, 678, 1054, 644, 1051, 783, 783, + 783, 783, 783, 783, 1034, 1034, 1034, 1034, 1034, 1034, + 1034, 1034, 1034, 1034, 1042, 1043, 1044, 1042, 1042, 1042, + 1042, 1042, 1042, 1042, 783, 783, 783, 783, 783, 783, + 568, 342, 785, 785, 785, 785, 785, 785, 785, 785, + + 785, 785, 786, 643, 176, 639, 787, 787, 787, 787, + 787, 787, 1241, 638, 1033, 1033, 1033, 1033, 1033, 1033, + 1033, 1033, 1033, 1033, 1050, 637, 1190, 1191, 1050, 1192, + 1190, 507, 787, 787, 787, 787, 787, 787, 342, 791, + 792, 793, 791, 791, 791, 791, 791, 791, 791, 794, + 495, 612, 1051, 795, 795, 795, 795, 795, 795, 961, + 495, 962, 962, 962, 962, 962, 962, 962, 962, 962, + 962, 341, 341, 280, 611, 495, 610, 341, 1241, 795, + 795, 795, 795, 795, 795, 742, 1241, 743, 743, 743, + 743, 743, 743, 743, 743, 743, 743, 961, 457, 962, + + 962, 962, 962, 962, 962, 962, 962, 962, 962, 566, + 1053, 1119, 1050, 457, 1053, 1119, 1050, 1119, 182, 1050, + 552, 1119, 1053, 1050, 299, 742, 1053, 743, 743, 743, + 743, 743, 743, 743, 743, 743, 743, 1066, 1054, 1120, + 1051, 1066, 1067, 1068, 1069, 1120, 551, 1051, 550, 1073, + 1054, 1074, 1074, 1074, 1074, 1074, 1074, 1074, 1074, 1074, + 1074, 314, 549, 548, 299, 854, 855, 855, 855, 855, + 855, 855, 855, 855, 855, 855, 185, 1066, 547, 185, + 546, 1066, 1067, 1068, 1069, 1156, 1156, 1156, 1156, 1156, + 1157, 1073, 1070, 1075, 1075, 1075, 1075, 1075, 1075, 1075, + + 1075, 1075, 1075, 156, 854, 856, 856, 856, 856, 856, + 856, 856, 856, 856, 856, 1073, 545, 1076, 1076, 1076, + 1076, 1076, 1077, 1078, 1078, 1078, 1078, 1053, 453, 453, + 544, 1053, 1072, 1017, 453, 1018, 1018, 1018, 1018, 1018, + 1018, 543, 156, 854, 857, 857, 857, 857, 857, 858, + 855, 855, 855, 855, 1073, 1054, 1078, 1078, 1078, 1074, + 1074, 1074, 1074, 1074, 1074, 1074, 542, 1161, 541, 1159, + 540, 1161, 156, 1159, 282, 282, 314, 282, 282, 282, + 282, 156, 861, 539, 862, 862, 862, 862, 862, 862, + 862, 862, 862, 862, 863, 1162, 307, 1160, 864, 864, + + 864, 864, 864, 864, 1093, 1094, 1095, 1093, 1093, 1093, + 1093, 1093, 1093, 1093, 1096, 1097, 1098, 1096, 1096, 1096, + 1096, 1096, 1096, 1096, 864, 864, 864, 864, 864, 864, + 868, 869, 870, 868, 868, 868, 868, 868, 868, 868, + 871, 156, 531, 527, 872, 872, 872, 872, 872, 872, + 1023, 526, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, + 1024, 1024, 1023, 525, 1024, 1024, 1024, 1024, 1024, 1024, + 872, 872, 872, 872, 872, 872, 568, 342, 878, 878, + 878, 878, 878, 878, 878, 878, 878, 878, 786, 524, + 523, 522, 877, 877, 877, 877, 877, 877, 1023, 521, + + 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, + 1073, 520, 1074, 1074, 1074, 1074, 1074, 1074, 877, 877, + 877, 877, 877, 877, 568, 342, 879, 879, 879, 879, + 879, 879, 879, 879, 879, 879, 880, 519, 518, 517, + 881, 881, 881, 881, 881, 881, 1041, 1041, 1041, 1041, + 1041, 1041, 1041, 1041, 1041, 1041, 1105, 1105, 1105, 1105, + 1105, 1105, 1105, 1105, 1105, 1105, 881, 881, 881, 881, + 881, 881, 342, 885, 886, 887, 885, 885, 885, 885, + 885, 885, 885, 516, 515, 514, 273, 888, 888, 888, + 888, 888, 888, 861, 503, 1101, 1101, 1101, 1101, 1101, + + 1101, 500, 499, 498, 497, 1032, 342, 1112, 1112, 1112, + 1112, 1112, 1112, 888, 888, 888, 888, 888, 888, 155, + 1241, 282, 155, 1065, 282, 490, 282, 489, 155, 155, + 1065, 1065, 155, 155, 1065, 155, 155, 155, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 185, 1065, 1065, + 1065, 155, 185, 185, 185, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 890, 185, 185, + 185, 185, 185, 185, 185, 156, 155, 185, 155, 155, + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + 155, 155, 155, 155, 155, 269, 488, 487, 486, 269, + + 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, + 485, 269, 482, 481, 280, 280, 280, 280, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 280, 915, 280, + 280, 280, 280, 280, 280, 280, 280, 480, 479, 282, + 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, + 269, 269, 269, 269, 269, 269, 269, 925, 926, 926, + 926, 926, 926, 926, 926, 926, 926, 926, 1241, 478, + 1104, 1104, 1104, 1104, 1104, 1104, 1104, 1104, 1104, 1104, + 342, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, + 1112, 477, 476, 475, 474, 299, 925, 927, 927, 927, + + 927, 927, 927, 927, 927, 927, 927, 342, 1113, 1113, + 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 342, 1114, + 1114, 1114, 1114, 1114, 1115, 1112, 1112, 1112, 1112, 1119, + 473, 472, 471, 1119, 299, 925, 928, 928, 928, 928, + 928, 929, 926, 926, 926, 926, 470, 1159, 1241, 469, + 468, 1159, 1241, 1241, 1241, 1241, 1126, 1120, 182, 1127, + 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 174, + 560, 560, 299, 299, 298, 1160, 560, 298, 439, 561, + 561, 438, 430, 298, 298, 561, 185, 298, 298, 429, + 298, 298, 298, 314, 314, 314, 314, 314, 314, 314, + + 314, 314, 314, 1070, 185, 428, 298, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, + 314, 930, 314, 314, 314, 314, 314, 314, 314, 314, + 299, 298, 314, 298, 298, 298, 298, 298, 298, 298, + 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, + 854, 855, 855, 855, 855, 855, 855, 855, 855, 855, + 855, 1066, 427, 1116, 1116, 1066, 1067, 1068, 1069, 1241, + 1116, 426, 425, 1241, 1067, 1068, 1069, 1128, 1129, 1130, + 1128, 1128, 1128, 1128, 1128, 1128, 1128, 298, 156, 854, + 855, 855, 855, 855, 855, 855, 855, 855, 855, 855, + + 1241, 1184, 418, 1184, 1241, 1241, 1241, 1069, 1241, 1184, + 303, 301, 1241, 1241, 1241, 1241, 1070, 1204, 1204, 1204, + 1204, 1204, 1204, 299, 1070, 296, 417, 156, 861, 416, + 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, + 863, 861, 414, 950, 950, 950, 950, 950, 950, 950, + 950, 950, 950, 951, 413, 1070, 405, 952, 952, 952, + 952, 952, 952, 1072, 1073, 404, 1074, 1074, 1074, 1074, + 1074, 1074, 1074, 1074, 1074, 1074, 1235, 1235, 1235, 1235, + 1235, 1235, 403, 952, 952, 952, 952, 952, 952, 956, + 957, 958, 956, 956, 956, 956, 956, 956, 956, 959, + + 402, 401, 400, 960, 960, 960, 960, 960, 960, 1073, + 1241, 1074, 1074, 1074, 1074, 1074, 1074, 1074, 1074, 1074, + 1074, 1119, 1161, 270, 262, 1119, 1161, 257, 258, 960, + 960, 960, 960, 960, 960, 568, 342, 968, 968, 968, + 968, 968, 968, 968, 968, 968, 968, 880, 252, 1120, + 1162, 967, 967, 967, 967, 967, 967, 252, 1134, 1135, + 1136, 1134, 1134, 1134, 1134, 1134, 1134, 1134, 246, 1083, + 314, 1084, 1084, 1084, 1084, 1084, 1084, 967, 967, 967, + 967, 967, 967, 568, 342, 969, 969, 969, 969, 969, + 969, 969, 969, 969, 969, 299, 204, 239, 156, 970, + + 970, 970, 970, 970, 970, 1161, 387, 1241, 299, 1161, + 1071, 1159, 379, 565, 565, 1159, 378, 1071, 1071, 565, + 377, 1071, 376, 375, 156, 970, 970, 970, 970, 970, + 970, 155, 370, 1162, 155, 1071, 1071, 1071, 369, 1160, + 155, 155, 368, 367, 155, 155, 366, 155, 155, 155, + 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, + 280, 365, 185, 155, 185, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 185, 185, 185, 156, 155, 975, + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + + 155, 155, 155, 155, 155, 155, 155, 269, 356, 355, + 354, 269, 280, 280, 280, 280, 280, 280, 280, 280, + 280, 280, 353, 269, 352, 351, 280, 280, 280, 280, + 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, + 280, 280, 280, 1001, 280, 280, 280, 280, 280, 350, + 349, 282, 269, 269, 269, 269, 269, 269, 269, 269, + 269, 269, 269, 269, 269, 269, 269, 269, 269, 925, + 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, + 1145, 348, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, + 1146, 1146, 1145, 347, 1147, 1147, 1147, 1147, 1147, 1147, + + 1147, 1147, 1147, 1147, 182, 155, 182, 299, 925, 926, + 926, 926, 926, 926, 926, 926, 926, 926, 926, 1145, + 272, 1148, 1148, 1148, 1148, 1148, 1149, 1146, 1146, 1146, + 1146, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, + 1111, 170, 168, 161, 159, 156, 299, 298, 1187, 1187, + 298, 323, 1187, 1187, 322, 321, 298, 298, 320, 319, + 298, 298, 318, 298, 298, 298, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 1188, 1188, 314, 298, + 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 1011, 314, 314, + + 314, 314, 314, 299, 298, 314, 298, 298, 298, 298, + 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, + 298, 298, 298, 1017, 303, 1018, 1018, 1018, 1018, 1018, + 1018, 1018, 1018, 1018, 1018, 861, 299, 1152, 1152, 1152, + 1152, 1152, 1152, 296, 290, 289, 288, 1103, 1155, 1155, + 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 666, 666, + 287, 286, 156, 1017, 666, 1019, 1019, 1019, 1019, 1019, + 1019, 1019, 1019, 1019, 1019, 1241, 285, 1154, 1154, 1154, + 1154, 1154, 1154, 1154, 1154, 1154, 1154, 342, 1112, 1112, + 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 668, 668, + + 280, 258, 156, 1017, 668, 1020, 1020, 1020, 1020, 1020, + 1021, 1022, 1022, 1022, 1022, 342, 1112, 1112, 1112, 1112, + 1112, 1112, 1112, 1112, 1112, 1112, 1127, 1127, 1127, 1127, + 1127, 1127, 1127, 1127, 1127, 1127, 252, 246, 669, 669, + 158, 239, 156, 1017, 669, 1022, 1022, 1022, 1018, 1018, + 1018, 1018, 1018, 1018, 1018, 1127, 1127, 1127, 1127, 1127, + 1127, 1127, 1127, 1127, 1127, 1165, 158, 1166, 1166, 1166, + 1166, 1166, 1166, 1166, 1166, 1166, 1166, 197, 768, 768, + 232, 194, 156, 861, 768, 1030, 1030, 1030, 1030, 1030, + 1030, 1030, 1030, 1030, 1030, 951, 861, 185, 1031, 1031, + + 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1031, 1032, 224, + 222, 200, 1033, 1033, 1033, 1033, 1033, 1033, 1165, 199, + 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, + 1145, 196, 1146, 1146, 1146, 1146, 1146, 1146, 1033, 1033, + 1033, 1033, 1033, 1033, 1037, 1038, 1039, 1037, 1037, 1037, + 1037, 1037, 1037, 1037, 1040, 195, 192, 182, 1041, 1041, + 1041, 1041, 1041, 1041, 1165, 170, 1168, 1168, 1168, 1168, + 1168, 1169, 1166, 1166, 1166, 1166, 1165, 159, 1166, 1166, + 1166, 1166, 1166, 1166, 1041, 1041, 1041, 1041, 1041, 1041, + 568, 342, 1047, 1047, 1047, 1047, 1047, 1047, 1047, 1047, + + 1047, 1047, 1083, 158, 1084, 1084, 1084, 1084, 1084, 1084, + 1084, 1084, 1084, 1084, 156, 1159, 1241, 1241, 1140, 1159, + 1141, 1141, 1141, 1141, 1141, 1141, 1161, 1241, 1241, 1241, + 1161, 1177, 1178, 1179, 1177, 1177, 1177, 1177, 1177, 1177, + 1177, 299, 1083, 1160, 1085, 1085, 1085, 1085, 1085, 1085, + 1085, 1085, 1085, 1085, 1162, 1241, 1211, 156, 1212, 1212, + 1212, 1212, 1212, 1212, 314, 769, 769, 1241, 156, 1241, + 1241, 769, 770, 770, 282, 314, 1241, 282, 770, 282, + 1241, 299, 1083, 1241, 1086, 1086, 1086, 1086, 1086, 1087, + 1088, 1088, 1088, 1088, 1180, 1181, 1182, 1180, 1180, 1180, + + 1180, 1180, 1180, 1180, 1145, 1241, 1146, 1146, 1146, 1146, + 1146, 1146, 1146, 1146, 1146, 1146, 1241, 1241, 1241, 1187, + 1241, 299, 1083, 1187, 1088, 1088, 1088, 1084, 1084, 1084, + 1084, 1084, 1084, 1084, 1145, 1241, 1146, 1146, 1146, 1146, + 1146, 1146, 1146, 1146, 1146, 1146, 861, 1188, 1185, 1185, + 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1241, 1241, + 1241, 299, 1017, 1241, 1018, 1018, 1018, 1018, 1018, 1018, + 1018, 1018, 1018, 1018, 1241, 1241, 185, 1193, 1194, 1195, + 1193, 1193, 1193, 1193, 1193, 1193, 1193, 1165, 1241, 1166, + 1166, 1166, 1166, 1166, 1166, 1166, 1166, 1166, 1166, 1241, + + 1241, 156, 1017, 1241, 1018, 1018, 1018, 1018, 1018, 1018, + 1018, 1018, 1018, 1018, 1165, 1241, 1166, 1166, 1166, 1166, + 1166, 1166, 1166, 1166, 1166, 1166, 1241, 1241, 1241, 1241, + 1241, 1196, 1197, 1198, 1196, 1196, 1196, 1196, 1196, 1196, + 1196, 156, 861, 1241, 1101, 1101, 1101, 1101, 1101, 1101, + 1101, 1101, 1101, 1101, 1032, 861, 1241, 1102, 1102, 1102, + 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1103, 299, 1241, + 1241, 1104, 1104, 1104, 1104, 1104, 1104, 1171, 1241, 1172, + 1172, 1172, 1172, 1172, 1172, 1187, 859, 859, 1241, 1187, + 860, 860, 859, 1241, 1241, 1241, 860, 1104, 1104, 1104, + + 1104, 1104, 1104, 1108, 1109, 1110, 1108, 1108, 1108, 1108, + 1108, 1108, 1108, 1188, 1241, 1241, 299, 1111, 1111, 1111, + 1111, 1111, 1111, 1204, 1204, 1204, 1204, 1204, 1204, 1204, + 1204, 1204, 1204, 1241, 314, 944, 944, 1241, 1241, 1241, + 1241, 944, 1241, 1111, 1111, 1111, 1111, 1111, 1111, 1083, + 1241, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, + 1084, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 1205, + 1205, 1206, 1206, 1206, 1206, 1206, 1207, 1204, 1204, 1204, + 1204, 1028, 1028, 1241, 1099, 1099, 1241, 1028, 299, 1083, + 1099, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1084, + + 1084, 1211, 1241, 1212, 1212, 1212, 1212, 1212, 1212, 1212, + 1212, 1212, 1212, 1211, 1241, 1213, 1213, 1213, 1213, 1213, + 1213, 1213, 1213, 1213, 1213, 1241, 1241, 1241, 299, 1140, + 1241, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, + 1141, 1211, 1241, 1214, 1214, 1214, 1214, 1214, 1215, 1212, + 1212, 1212, 1212, 1221, 1222, 1223, 1221, 1221, 1221, 1221, + 1221, 1221, 1221, 1241, 1150, 1150, 1241, 1241, 156, 1140, + 1150, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, + 1142, 1241, 1199, 1241, 1200, 1200, 1200, 1200, 1200, 1200, + 156, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, + + 1204, 1183, 1183, 1241, 1241, 1241, 1241, 1183, 156, 1140, + 1241, 1143, 1143, 1143, 1143, 1143, 1144, 1141, 1141, 1141, + 1141, 156, 1204, 1204, 1204, 1204, 1204, 1204, 1204, 1204, + 1204, 1204, 1225, 1226, 1227, 1225, 1225, 1225, 1225, 1225, + 1225, 1225, 1241, 1241, 1241, 1241, 1241, 1241, 156, 861, + 1241, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, + 1152, 1103, 861, 1241, 1153, 1153, 1153, 1153, 1153, 1153, + 1153, 1153, 1153, 1153, 1241, 1241, 1241, 1241, 1154, 1154, + 1154, 1154, 1154, 1154, 1211, 1241, 1212, 1212, 1212, 1212, + 1212, 1212, 1212, 1212, 1212, 1212, 1241, 1241, 1241, 1241, + + 1241, 1241, 1241, 1241, 1154, 1154, 1154, 1154, 1154, 1154, + 1171, 1241, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, + 1172, 1172, 1211, 1241, 1212, 1212, 1212, 1212, 1212, 1212, + 1212, 1212, 1212, 1212, 1228, 1229, 1230, 1228, 1228, 1228, + 1228, 1228, 1228, 1228, 1241, 1241, 1241, 1241, 1241, 299, + 1171, 1241, 1173, 1173, 1173, 1173, 1173, 1173, 1173, 1173, + 1173, 1173, 1241, 1216, 1241, 1217, 1217, 1217, 1217, 1217, + 1217, 299, 1231, 1231, 1231, 1231, 1231, 1231, 1231, 1231, + 1231, 1231, 1241, 1231, 1231, 1231, 1231, 1231, 1231, 299, + 1171, 1241, 1174, 1174, 1174, 1174, 1174, 1175, 1172, 1172, + + 1172, 1172, 299, 1241, 1241, 1241, 1241, 1241, 1241, 156, + 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, + 156, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 299, + 1140, 1241, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, + 1141, 1141, 1241, 1241, 1241, 1241, 1241, 156, 1232, 1232, + 1232, 1232, 1232, 1233, 1231, 1231, 1231, 1231, 1235, 1235, + 1235, 1235, 1235, 1235, 1235, 1235, 1235, 1235, 1241, 156, + 1140, 1241, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, + 1141, 1141, 1241, 1241, 1241, 156, 1225, 1225, 1225, 1225, + 1225, 1225, 1225, 1225, 1225, 1225, 1236, 1236, 1236, 1236, + + 1236, 1237, 1235, 1235, 1235, 1235, 1241, 1241, 1241, 156, + 1171, 1241, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, + 1172, 1172, 1241, 1241, 1241, 1238, 1238, 1238, 1238, 1238, + 1238, 1238, 1238, 1238, 1238, 1228, 1228, 1228, 1228, 1228, + 1228, 1228, 1228, 1228, 1228, 1241, 1241, 1241, 1241, 299, + 1171, 1241, 1172, 1172, 1172, 1172, 1172, 1172, 1172, 1172, + 1172, 1172, 299, 1241, 1241, 1238, 1238, 1238, 1238, 1238, + 1238, 1241, 299, 1239, 1239, 1239, 1239, 1239, 1240, 1238, + 1238, 1238, 1238, 1241, 1241, 1241, 1241, 1241, 1241, 299, + 1199, 1241, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, + + 1200, 1200, 299, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 299, 1231, 1231, 1231, 1231, 1231, 1231, 1231, 1231, 1231, + 1231, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 156, + 1199, 1241, 1201, 1201, 1201, 1201, 1201, 1201, 1201, 1201, + 1201, 1201, 1241, 1241, 1241, 1241, 1241, 1241, 156, 1235, + 1235, 1235, 1235, 1235, 1235, 1235, 1235, 1235, 1235, 1238, + 1238, 1238, 1238, 1238, 1238, 1238, 1238, 1238, 1238, 156, + 1199, 1241, 1202, 1202, 1202, 1202, 1202, 1203, 1200, 1200, + 1200, 1200, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 299, 1241, 1241, 1241, + + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 156, + 1216, 1241, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, + 1217, 1217, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 299, + 1216, 1241, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1218, + 1218, 1218, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 299, + 1216, 1241, 1219, 1219, 1219, 1219, 1219, 1220, 1217, 1217, + + 1217, 1217, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 299, + 1199, 1241, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, + 1200, 1200, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 156, + 1199, 1241, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, + 1200, 1200, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 156, + 1216, 1241, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, + 1217, 1217, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 299, + 1216, 1241, 1217, 1217, 1217, 1217, 1217, 1217, 1217, 1217, + 1217, 1217, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 299, + 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, + + 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, + 77, 84, 84, 84, 84, 84, 84, 84, 84, 84, + 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, + 84, 84, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 95, 95, 95, 95, 95, 95, 95, + 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, + 95, 95, 95, 95, 102, 102, 102, 102, 102, 102, + 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, + 102, 102, 102, 102, 102, 129, 129, 129, 129, 129, + + 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, + 129, 129, 129, 129, 129, 129, 155, 1241, 1241, 155, + 1241, 1241, 1241, 155, 1241, 155, 1241, 155, 155, 155, + 1241, 1241, 155, 155, 155, 155, 155, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 165, 1241, + 1241, 165, 1241, 1241, 165, 165, 1241, 165, 1241, 165, + 165, 165, 165, 1241, 165, 165, 165, 165, 165, 169, + 1241, 1241, 169, 1241, 1241, 1241, 169, 1241, 169, 1241, + 169, 169, 169, 1241, 1241, 169, 169, 169, 169, 169, + + 171, 1241, 1241, 171, 171, 171, 1241, 171, 171, 171, + 1241, 171, 171, 171, 1241, 1241, 171, 171, 171, 171, + 171, 207, 207, 1241, 207, 207, 207, 1241, 207, 207, + 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, + 207, 207, 229, 1241, 1241, 229, 229, 229, 1241, 229, + 229, 229, 1241, 229, 229, 229, 1241, 1241, 229, 229, + 229, 229, 229, 233, 233, 1241, 233, 233, 233, 1241, + 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, + 233, 233, 233, 233, 238, 1241, 1241, 238, 238, 238, + 1241, 238, 238, 238, 1241, 238, 238, 238, 1241, 238, + + 238, 1241, 238, 238, 238, 244, 244, 1241, 244, 244, + 244, 1241, 1241, 244, 244, 244, 244, 244, 244, 244, + 244, 244, 1241, 244, 244, 244, 247, 247, 247, 247, + 247, 247, 247, 247, 247, 247, 247, 247, 247, 247, + 247, 247, 247, 247, 247, 247, 247, 251, 1241, 1241, + 251, 251, 1241, 1241, 251, 251, 251, 1241, 251, 251, + 251, 251, 1241, 251, 251, 251, 251, 251, 255, 255, + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 255, 255, 255, 255, 255, 255, 255, 255, 255, 257, + 257, 1241, 257, 257, 1241, 257, 257, 257, 257, 257, + + 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, + 264, 1241, 1241, 264, 1241, 1241, 264, 264, 1241, 264, + 1241, 264, 264, 264, 264, 1241, 264, 264, 264, 264, + 264, 268, 1241, 1241, 268, 1241, 1241, 1241, 268, 1241, + 268, 1241, 268, 268, 268, 1241, 268, 268, 268, 268, + 268, 268, 271, 1241, 1241, 271, 271, 271, 1241, 271, + 271, 271, 1241, 271, 271, 271, 1241, 271, 271, 271, + 271, 271, 271, 208, 208, 1241, 208, 208, 208, 1241, + 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, + 208, 208, 208, 208, 295, 1241, 1241, 1241, 295, 295, + + 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, + 295, 295, 295, 295, 295, 298, 1241, 1241, 298, 1241, + 1241, 1241, 298, 1241, 298, 1241, 298, 298, 298, 1241, + 1241, 298, 298, 298, 298, 298, 300, 1241, 1241, 300, + 1241, 1241, 300, 300, 1241, 300, 1241, 300, 300, 300, + 300, 1241, 300, 300, 300, 300, 300, 302, 1241, 1241, + 302, 1241, 1241, 1241, 302, 1241, 302, 1241, 302, 302, + 302, 1241, 1241, 302, 302, 302, 302, 302, 304, 1241, + 1241, 304, 304, 304, 1241, 304, 304, 304, 1241, 304, + 304, 304, 1241, 1241, 304, 304, 304, 304, 304, 326, + + 326, 1241, 326, 326, 326, 1241, 326, 326, 326, 326, + 326, 326, 326, 326, 326, 326, 326, 326, 326, 326, + 155, 1241, 1241, 155, 1241, 1241, 1241, 155, 1241, 155, + 1241, 155, 155, 155, 1241, 1241, 155, 155, 155, 155, + 155, 331, 331, 331, 331, 331, 331, 331, 331, 331, + 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, + 331, 331, 333, 333, 1241, 333, 333, 333, 333, 333, + 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, + 333, 333, 333, 165, 1241, 1241, 165, 1241, 1241, 1241, + 165, 1241, 165, 1241, 165, 165, 165, 1241, 1241, 165, + + 165, 165, 165, 165, 169, 1241, 1241, 169, 1241, 1241, + 1241, 169, 1241, 169, 1241, 169, 169, 169, 1241, 1241, + 169, 169, 169, 169, 169, 171, 1241, 1241, 171, 171, + 171, 1241, 171, 171, 171, 1241, 171, 171, 171, 1241, + 1241, 171, 171, 171, 171, 171, 172, 1241, 1241, 172, + 172, 172, 1241, 172, 172, 172, 1241, 172, 172, 172, + 1241, 1241, 172, 172, 172, 172, 172, 343, 343, 343, + 1241, 1241, 1241, 1241, 343, 207, 207, 1241, 207, 207, + 207, 1241, 207, 207, 207, 207, 207, 207, 207, 207, + 207, 207, 207, 207, 207, 207, 208, 208, 1241, 208, + + 208, 208, 1241, 208, 208, 208, 208, 208, 208, 208, + 208, 208, 208, 208, 208, 208, 208, 229, 1241, 1241, + 229, 229, 229, 1241, 229, 229, 229, 1241, 229, 229, + 229, 1241, 1241, 229, 229, 229, 229, 229, 230, 1241, + 1241, 230, 230, 230, 1241, 230, 230, 230, 1241, 230, + 230, 230, 1241, 1241, 230, 230, 230, 230, 230, 233, + 233, 1241, 233, 233, 233, 1241, 233, 233, 233, 233, + 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, + 234, 234, 1241, 234, 234, 234, 1241, 234, 234, 234, + 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, + + 234, 238, 1241, 1241, 238, 238, 238, 1241, 238, 238, + 238, 1241, 238, 238, 238, 1241, 238, 238, 1241, 238, + 238, 238, 244, 244, 1241, 244, 244, 244, 1241, 1241, + 244, 244, 244, 244, 244, 244, 244, 244, 244, 1241, + 244, 244, 244, 251, 1241, 1241, 251, 251, 1241, 1241, + 251, 251, 251, 1241, 251, 251, 251, 251, 1241, 251, + 251, 251, 251, 251, 257, 257, 1241, 257, 257, 1241, + 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, + 257, 257, 257, 257, 257, 267, 1241, 1241, 267, 1241, + 1241, 1241, 267, 1241, 267, 1241, 267, 267, 267, 1241, + + 1241, 267, 267, 267, 267, 267, 268, 1241, 1241, 268, + 1241, 1241, 1241, 268, 1241, 268, 1241, 268, 268, 268, + 1241, 268, 268, 268, 268, 268, 268, 269, 1241, 1241, + 269, 269, 1241, 269, 269, 1241, 1241, 269, 269, 271, + 1241, 1241, 271, 271, 271, 1241, 271, 271, 271, 1241, + 271, 271, 271, 1241, 271, 271, 271, 271, 271, 271, + 295, 1241, 1241, 1241, 295, 295, 295, 295, 295, 295, + 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, + 295, 298, 1241, 1241, 298, 1241, 1241, 1241, 298, 1241, + 298, 1241, 298, 298, 298, 1241, 1241, 298, 298, 298, + + 298, 298, 300, 1241, 1241, 300, 1241, 1241, 1241, 300, + 1241, 300, 1241, 300, 300, 300, 1241, 1241, 300, 300, + 300, 300, 300, 302, 1241, 1241, 302, 1241, 1241, 1241, + 302, 1241, 302, 1241, 302, 302, 302, 1241, 1241, 302, + 302, 302, 302, 302, 304, 1241, 1241, 304, 304, 304, + 1241, 304, 304, 304, 1241, 304, 304, 304, 1241, 1241, + 304, 304, 304, 304, 304, 305, 1241, 1241, 305, 305, + 305, 1241, 305, 305, 305, 1241, 305, 305, 305, 1241, + 1241, 305, 305, 305, 305, 305, 326, 326, 1241, 326, + 326, 326, 1241, 326, 326, 326, 326, 326, 326, 326, + + 326, 326, 326, 326, 326, 326, 326, 331, 331, 331, + 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, + 331, 331, 331, 331, 331, 331, 331, 331, 445, 445, + 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, + 445, 445, 445, 445, 445, 445, 445, 445, 445, 155, + 1241, 1241, 155, 1241, 1241, 1241, 155, 1241, 155, 1241, + 155, 155, 155, 1241, 1241, 155, 155, 155, 155, 155, + 459, 459, 459, 1241, 1241, 1241, 1241, 459, 207, 207, + 1241, 207, 207, 207, 1241, 207, 207, 207, 207, 207, + 207, 207, 207, 207, 207, 207, 207, 207, 207, 234, + + 234, 1241, 234, 234, 234, 234, 234, 234, 234, 234, + 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, + 233, 233, 1241, 233, 233, 233, 1241, 233, 233, 233, + 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, + 233, 208, 208, 1241, 208, 208, 208, 1241, 208, 208, + 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, + 208, 208, 567, 567, 567, 1241, 1241, 1241, 1241, 567, + 465, 465, 465, 1241, 1241, 1241, 1241, 465, 331, 331, + 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, + 331, 331, 331, 331, 331, 331, 331, 331, 331, 234, + + 234, 1241, 234, 234, 234, 1241, 234, 234, 234, 234, + 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, + 671, 671, 671, 1241, 1241, 1241, 1241, 671, 675, 675, + 675, 675, 1241, 1241, 1241, 1241, 675, 782, 782, 782, + 1241, 1241, 1241, 1241, 782, 783, 783, 783, 783, 1241, + 1241, 1241, 1241, 783, 876, 876, 876, 1241, 1241, 1241, + 1241, 876, 877, 877, 877, 877, 1241, 1241, 1241, 1241, + 877, 331, 331, 331, 331, 331, 331, 331, 331, 331, + 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, + 331, 331, 269, 1241, 1241, 269, 269, 1241, 269, 269, + + 1241, 1241, 269, 269, 298, 1241, 1241, 298, 1241, 1241, + 1241, 298, 1241, 298, 1241, 298, 298, 298, 1241, 1241, + 298, 298, 298, 298, 298, 948, 1241, 948, 948, 1241, + 1241, 1241, 1241, 948, 966, 966, 966, 1241, 1241, 1241, + 1241, 966, 967, 967, 967, 967, 1241, 1241, 1241, 1241, + 967, 331, 331, 331, 331, 331, 331, 331, 331, 331, + 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, + 331, 331, 269, 1241, 1241, 269, 269, 1241, 269, 269, + 1241, 1241, 269, 269, 298, 1241, 1241, 298, 1241, 1241, + 1241, 298, 1241, 298, 1241, 298, 298, 298, 1241, 1241, + + 298, 298, 298, 298, 298, 1029, 1241, 1029, 1029, 1241, + 1241, 1241, 1241, 1029, 1045, 1045, 1045, 1241, 1241, 1241, + 1241, 1045, 1046, 1046, 1046, 1241, 1241, 1241, 1241, 1241, + 1046, 1060, 1060, 1060, 1060, 1060, 1060, 1060, 1060, 1060, + 1060, 1060, 1060, 1060, 1060, 1060, 1060, 1060, 1060, 1060, + 1060, 1060, 1065, 1065, 1241, 1065, 1065, 1065, 1065, 1065, + 1241, 1065, 1241, 1065, 1065, 1065, 1241, 1241, 1065, 1065, + 1065, 1065, 1065, 1071, 1071, 1241, 1071, 1071, 1071, 1071, + 1071, 1241, 1071, 1241, 1071, 1071, 1071, 1241, 1241, 1071, + 1071, 1071, 1071, 1071, 1100, 1241, 1100, 1100, 1241, 1241, + + 1241, 1241, 1100, 1151, 1241, 1151, 1151, 1241, 1241, 1241, + 1241, 1151, 1189, 1189, 1189, 1189, 1189, 1189, 1189, 1189, + 1189, 1189, 1189, 1189, 1189, 1189, 1189, 1189, 1189, 1189, + 1189, 1189, 1189, 21, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241 + } ; + +static const flex_int16_t yy_chk[9611] = + { 0, + 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, 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, + 1, 1, 1, 1, 1, 1, 2, 23, 43, 41, + 2, 23, 43, 2, 5, 5, 375, 5, 5, 5, + 41, 5, 6, 6, 375, 6, 6, 6, 5, 6, + + 7, 7, 55, 7, 7, 7, 6, 7, 7, 29, + 2, 2, 5, 5, 45, 2, 55, 49, 45, 502, + 6, 6, 49, 2, 69, 45, 2, 3, 69, 116, + 29, 3, 13, 13, 3, 13, 13, 13, 13, 5, + 116, 3, 502, 44, 3, 52, 44, 6, 14, 14, + 44, 14, 14, 14, 14, 7, 44, 29, 3, 3, + 52, 3, 37, 37, 37, 37, 37, 37, 65, 3, + 160, 3, 160, 3, 3, 46, 3, 448, 46, 46, + 107, 8, 8, 3, 8, 8, 8, 13, 8, 8, + 17, 17, 17, 17, 17, 17, 17, 65, 67, 3, + + 4, 107, 67, 14, 4, 34, 34, 4, 59, 63, + 34, 34, 67, 63, 4, 85, 448, 4, 59, 85, + 18, 18, 18, 18, 18, 18, 18, 59, 107, 63, + 34, 4, 4, 76, 4, 1238, 8, 91, 91, 128, + 91, 91, 4, 76, 4, 17, 4, 4, 128, 4, + 93, 93, 76, 93, 93, 34, 4, 36, 36, 36, + 36, 36, 36, 36, 36, 36, 36, 60, 104, 97, + 99, 60, 4, 9, 9, 18, 9, 9, 9, 58, + 9, 58, 58, 58, 58, 58, 58, 58, 58, 58, + 58, 62, 364, 364, 62, 97, 99, 117, 62, 183, + + 117, 60, 60, 125, 62, 157, 60, 101, 101, 157, + 101, 101, 103, 183, 60, 142, 103, 60, 104, 226, + 62, 106, 106, 226, 106, 106, 142, 106, 9, 130, + 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, + 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, + 125, 10, 10, 10, 68, 10, 134, 68, 68, 68, + 68, 68, 68, 68, 68, 68, 68, 103, 112, 112, + 112, 112, 112, 112, 1234, 70, 70, 134, 205, 130, + 70, 70, 111, 111, 111, 111, 111, 111, 111, 111, + 111, 111, 139, 139, 139, 139, 139, 139, 132, 132, + + 70, 132, 132, 10, 134, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 11, 11, 70, 11, 11, 11, 11, + 11, 143, 205, 331, 143, 331, 11, 11, 11, 126, + 182, 126, 126, 126, 126, 126, 126, 126, 126, 126, + 126, 182, 11, 132, 167, 228, 136, 136, 208, 228, + 1231, 136, 136, 138, 138, 138, 138, 138, 138, 138, + 138, 138, 138, 211, 222, 167, 211, 154, 11, 12, + 12, 136, 12, 12, 12, 12, 12, 154, 1212, 212, + 223, 222, 12, 12, 12, 212, 154, 203, 203, 245, + + 203, 203, 167, 245, 223, 208, 136, 153, 12, 153, + 153, 153, 153, 153, 153, 153, 153, 153, 153, 163, + 163, 163, 163, 163, 163, 163, 163, 163, 163, 240, + 240, 1185, 240, 240, 12, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 19, 19, 19, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19, 28, 260, 28, + 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, + + 221, 28, 807, 234, 28, 28, 28, 28, 28, 28, + 28, 28, 28, 28, 35, 807, 35, 35, 35, 35, + 35, 35, 35, 35, 35, 35, 35, 297, 1183, 224, + 35, 35, 35, 35, 35, 35, 224, 452, 260, 324, + 220, 156, 156, 156, 156, 156, 220, 221, 156, 156, + 234, 262, 156, 35, 220, 262, 35, 35, 35, 35, + 35, 35, 42, 237, 452, 42, 156, 156, 156, 237, + 329, 42, 42, 329, 384, 42, 42, 297, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 384, 324, 42, 42, 42, 42, 42, 42, + + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42, 42, 47, 47, + 47, 47, 47, 47, 47, 47, 47, 47, 47, 219, + 1166, 219, 47, 47, 47, 47, 47, 47, 332, 393, + 332, 259, 47, 393, 166, 259, 47, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 386, 47, 47, + 47, 47, 47, 47, 56, 56, 374, 56, 56, 56, + 56, 56, 296, 386, 56, 56, 296, 330, 56, 171, + + 171, 374, 1154, 330, 171, 171, 180, 180, 180, 180, + 180, 180, 56, 56, 56, 57, 259, 219, 469, 57, + 57, 57, 345, 57, 171, 57, 57, 345, 343, 57, + 168, 168, 168, 168, 168, 469, 225, 168, 168, 343, + 225, 168, 459, 57, 57, 57, 333, 296, 333, 171, + 225, 264, 381, 459, 381, 168, 168, 168, 178, 178, + 178, 178, 178, 178, 178, 178, 178, 178, 382, 460, + 57, 61, 264, 61, 382, 170, 170, 170, 170, 170, + 460, 385, 170, 170, 385, 61, 170, 567, 61, 61, + 61, 61, 61, 61, 61, 61, 61, 61, 567, 264, + + 170, 170, 170, 174, 174, 174, 174, 174, 174, 174, + 174, 174, 174, 179, 179, 179, 179, 179, 179, 179, + 179, 179, 179, 206, 206, 210, 206, 206, 210, 292, + 292, 1153, 210, 210, 213, 492, 61, 75, 213, 392, + 174, 75, 75, 75, 380, 75, 380, 75, 75, 196, + 196, 75, 389, 196, 392, 196, 196, 416, 416, 196, + 416, 196, 196, 1151, 492, 75, 75, 75, 213, 213, + 229, 229, 415, 213, 443, 229, 229, 292, 206, 236, + 210, 213, 236, 265, 213, 471, 236, 236, 445, 443, + 445, 479, 75, 83, 83, 229, 83, 83, 83, 389, + + 83, 479, 471, 380, 265, 83, 466, 83, 227, 227, + 227, 227, 227, 227, 227, 227, 227, 227, 466, 415, + 229, 83, 83, 232, 232, 1150, 446, 232, 446, 232, + 232, 265, 468, 232, 236, 232, 248, 248, 483, 248, + 248, 256, 256, 481, 256, 256, 472, 483, 83, 83, + 92, 468, 92, 249, 249, 249, 249, 249, 249, 249, + 249, 249, 249, 481, 92, 472, 489, 92, 92, 92, + 92, 92, 92, 92, 92, 92, 92, 108, 261, 261, + 108, 261, 261, 489, 470, 252, 108, 108, 470, 252, + 108, 252, 252, 108, 108, 328, 256, 272, 328, 252, + + 1146, 272, 328, 328, 272, 373, 373, 108, 373, 108, + 528, 272, 470, 528, 252, 273, 273, 273, 273, 273, + 273, 273, 273, 273, 273, 272, 272, 278, 278, 278, + 278, 278, 278, 108, 108, 108, 109, 477, 802, 109, + 373, 802, 109, 109, 486, 109, 109, 109, 109, 109, + 328, 477, 109, 109, 266, 266, 266, 266, 456, 456, + 456, 266, 266, 488, 486, 266, 109, 109, 109, 276, + 276, 276, 276, 276, 276, 276, 276, 276, 276, 488, + 266, 266, 277, 277, 277, 277, 277, 277, 277, 277, + 277, 277, 109, 109, 109, 110, 504, 581, 110, 110, + + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 581, 504, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 473, 1139, 505, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 113, 473, 113, + 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, + 478, 476, 484, 113, 113, 113, 113, 113, 113, 476, + 484, 270, 270, 270, 270, 270, 505, 491, 270, 270, + 491, 478, 270, 312, 312, 312, 312, 312, 312, 113, + + 113, 113, 113, 113, 113, 114, 270, 270, 270, 114, + 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, + 114, 114, 491, 485, 114, 114, 114, 114, 114, 114, + 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, + 114, 114, 114, 114, 114, 114, 114, 485, 1133, 114, + 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, + 114, 114, 114, 114, 114, 114, 114, 118, 118, 118, + 118, 118, 118, 118, 118, 118, 118, 118, 480, 537, + 494, 118, 118, 118, 118, 118, 118, 494, 288, 288, + 480, 118, 288, 482, 288, 288, 1117, 594, 288, 475, + + 288, 442, 442, 475, 442, 594, 537, 118, 118, 118, + 118, 118, 118, 137, 482, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 493, 475, 506, 137, + 137, 137, 137, 137, 137, 506, 442, 474, 608, 556, + 299, 299, 299, 299, 299, 503, 556, 299, 299, 474, + 580, 299, 137, 533, 474, 137, 137, 137, 137, 137, + 137, 140, 493, 517, 140, 299, 299, 299, 517, 580, + 140, 140, 503, 608, 140, 140, 1116, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 503, 533, 140, 140, 140, 140, 140, 140, 140, + + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, + 140, 140, 140, 140, 140, 140, 140, 144, 144, 144, + 144, 144, 144, 144, 144, 144, 144, 144, 849, 555, + 849, 144, 144, 144, 144, 144, 144, 553, 321, 321, + 553, 144, 321, 1112, 321, 321, 304, 304, 321, 542, + 321, 304, 304, 501, 542, 501, 597, 144, 144, 144, + 144, 144, 144, 151, 151, 555, 151, 151, 151, 151, + 151, 304, 553, 151, 151, 1100, 597, 151, 307, 307, + + 307, 307, 307, 307, 307, 307, 307, 307, 587, 554, + 585, 151, 151, 151, 152, 598, 304, 518, 152, 152, + 152, 518, 152, 598, 152, 152, 587, 593, 152, 301, + 301, 301, 301, 301, 585, 307, 301, 301, 554, 501, + 301, 593, 152, 152, 152, 518, 586, 325, 325, 588, + 325, 325, 586, 592, 301, 301, 301, 582, 596, 592, + 303, 303, 303, 303, 303, 588, 919, 303, 303, 152, + 173, 303, 596, 173, 173, 173, 173, 173, 582, 919, + 173, 173, 605, 606, 173, 303, 303, 303, 310, 310, + 310, 310, 310, 310, 310, 310, 310, 310, 173, 173, + + 173, 175, 325, 175, 175, 175, 175, 175, 175, 175, + 175, 175, 175, 175, 606, 605, 1099, 175, 175, 175, + 175, 175, 175, 311, 311, 311, 311, 311, 311, 311, + 311, 311, 311, 463, 463, 463, 463, 463, 463, 589, + 175, 569, 569, 175, 175, 175, 175, 175, 175, 184, + 601, 539, 184, 569, 609, 539, 692, 601, 184, 184, + 609, 589, 184, 184, 692, 184, 184, 184, 184, 184, + 184, 184, 184, 184, 184, 184, 184, 184, 184, 539, + 1091, 184, 184, 184, 184, 184, 184, 184, 184, 184, + 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, + + 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, + 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, + 184, 184, 184, 184, 184, 185, 185, 185, 185, 185, + 185, 185, 185, 185, 185, 185, 1060, 659, 1060, 185, + 185, 185, 185, 185, 185, 334, 334, 334, 334, 334, + 334, 334, 334, 334, 334, 335, 335, 335, 335, 335, + 335, 335, 335, 335, 335, 185, 185, 185, 185, 185, + 185, 207, 659, 701, 521, 207, 207, 207, 521, 207, + 387, 207, 207, 599, 387, 207, 451, 387, 451, 451, + 451, 451, 451, 451, 387, 595, 600, 701, 1090, 207, + + 207, 207, 521, 607, 599, 600, 603, 515, 387, 387, + 394, 515, 394, 394, 394, 394, 394, 394, 394, 394, + 394, 394, 616, 521, 595, 451, 207, 231, 616, 603, + 231, 231, 231, 231, 231, 515, 607, 231, 231, 1082, + 395, 231, 395, 395, 395, 395, 395, 395, 395, 395, + 395, 395, 515, 660, 657, 231, 231, 231, 233, 660, + 656, 516, 233, 233, 233, 516, 233, 662, 233, 233, + 604, 396, 233, 396, 396, 396, 396, 396, 396, 396, + 396, 396, 396, 571, 571, 657, 233, 233, 233, 516, + 418, 855, 604, 656, 418, 571, 511, 418, 511, 511, + + 511, 511, 511, 511, 418, 613, 662, 613, 516, 614, + 615, 689, 658, 233, 268, 671, 813, 268, 418, 418, + 813, 614, 615, 268, 268, 694, 671, 268, 689, 855, + 268, 268, 447, 447, 447, 447, 447, 447, 447, 447, + 447, 447, 743, 694, 268, 658, 268, 455, 455, 455, + 455, 455, 455, 455, 455, 455, 455, 455, 462, 462, + 462, 462, 462, 462, 462, 462, 462, 462, 688, 447, + 268, 268, 268, 271, 688, 697, 271, 675, 613, 271, + 271, 743, 271, 271, 271, 271, 271, 1081, 675, 271, + 271, 465, 697, 465, 465, 465, 465, 465, 465, 465, + + 465, 465, 465, 271, 271, 271, 507, 507, 507, 507, + 507, 507, 507, 507, 507, 507, 509, 702, 509, 509, + 509, 509, 509, 509, 509, 509, 509, 509, 693, 271, + 271, 271, 274, 702, 274, 274, 274, 274, 274, 274, + 274, 274, 274, 274, 274, 695, 1080, 693, 274, 274, + 274, 274, 274, 274, 510, 699, 510, 510, 510, 510, + 510, 510, 510, 510, 510, 510, 695, 699, 1209, 543, + 676, 676, 699, 543, 274, 274, 274, 274, 274, 274, + 279, 704, 676, 1209, 279, 279, 279, 279, 279, 279, + 279, 279, 279, 279, 279, 279, 279, 543, 704, 279, + + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, + 279, 279, 800, 800, 279, 279, 279, 279, 279, 279, + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, + 279, 279, 280, 280, 280, 280, 280, 280, 280, 280, + 280, 280, 280, 677, 677, 698, 280, 280, 280, 280, + 280, 280, 522, 703, 808, 677, 522, 808, 519, 520, + 712, 703, 519, 520, 698, 523, 1078, 679, 679, 523, + 707, 712, 280, 280, 280, 280, 280, 280, 306, 679, + 522, 306, 306, 306, 306, 306, 519, 520, 306, 306, + + 522, 707, 306, 523, 519, 524, 525, 731, 754, 524, + 525, 520, 731, 754, 717, 523, 306, 306, 306, 308, + 1074, 308, 308, 308, 308, 308, 308, 308, 308, 308, + 308, 308, 717, 524, 525, 308, 308, 308, 308, 308, + 308, 716, 812, 583, 590, 526, 622, 583, 590, 526, + 622, 806, 716, 524, 812, 525, 806, 718, 308, 803, + 803, 308, 308, 308, 308, 308, 308, 313, 718, 1052, + 313, 583, 590, 526, 622, 796, 313, 313, 932, 932, + 313, 313, 796, 313, 313, 313, 313, 313, 313, 313, + 313, 313, 313, 313, 313, 313, 313, 526, 622, 313, + + 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, + 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, + 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, + 313, 313, 313, 313, 313, 313, 313, 313, 313, 313, + 313, 313, 313, 314, 314, 314, 314, 314, 314, 314, + 314, 314, 314, 314, 764, 782, 891, 314, 314, 314, + 314, 314, 314, 527, 891, 764, 782, 527, 532, 532, + 532, 532, 532, 532, 532, 532, 532, 532, 691, 715, + 821, 715, 691, 314, 314, 314, 314, 314, 314, 326, + 783, 527, 835, 326, 326, 326, 834, 326, 821, 326, + + 326, 783, 834, 326, 835, 532, 691, 527, 1046, 574, + 574, 574, 574, 574, 574, 574, 574, 326, 326, 326, + 536, 574, 536, 536, 536, 536, 536, 536, 562, 562, + 562, 562, 562, 562, 562, 562, 562, 562, 562, 715, + 809, 826, 1029, 809, 326, 336, 838, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 838, 826, 536, + 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, + 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, + 825, 839, 1028, 825, 336, 337, 839, 337, 337, 337, + 337, 337, 337, 337, 337, 337, 337, 576, 576, 576, + + 576, 576, 576, 576, 576, 576, 576, 577, 577, 577, + 577, 577, 577, 661, 661, 661, 661, 661, 661, 661, + 661, 661, 661, 1024, 337, 338, 848, 338, 338, 338, + 338, 338, 338, 338, 338, 338, 338, 579, 848, 579, + 579, 579, 579, 579, 579, 579, 579, 579, 579, 617, + 661, 617, 617, 617, 617, 617, 617, 617, 617, 617, + 617, 824, 926, 824, 338, 339, 339, 339, 339, 339, + 339, 339, 339, 339, 339, 339, 969, 969, 1013, 339, + 339, 339, 339, 339, 339, 618, 862, 618, 618, 618, + 618, 618, 618, 618, 618, 618, 618, 801, 862, 845, + + 926, 1006, 339, 845, 801, 339, 339, 339, 339, 339, + 339, 342, 342, 342, 342, 342, 342, 342, 342, 342, + 342, 342, 824, 1005, 896, 342, 342, 342, 342, 342, + 342, 619, 827, 619, 619, 619, 619, 619, 619, 619, + 619, 619, 619, 628, 850, 896, 1003, 628, 850, 902, + 827, 342, 342, 342, 342, 342, 342, 344, 344, 344, + 344, 344, 344, 344, 344, 344, 344, 344, 344, 994, + 902, 628, 344, 344, 344, 344, 344, 344, 623, 628, + 632, 626, 623, 634, 632, 626, 672, 634, 672, 672, + 672, 672, 672, 672, 672, 672, 672, 672, 344, 344, + + 344, 344, 344, 344, 346, 852, 623, 346, 632, 626, + 852, 634, 623, 346, 346, 626, 632, 346, 346, 1048, + 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, + 346, 346, 346, 346, 634, 1048, 346, 346, 346, 346, + 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, + 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, + 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, + 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, + 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, + 347, 784, 784, 990, 347, 347, 347, 347, 347, 347, + + 627, 629, 847, 784, 627, 629, 864, 630, 847, 935, + 633, 630, 935, 631, 633, 696, 851, 631, 864, 696, + 347, 347, 347, 347, 347, 347, 371, 851, 627, 629, + 371, 371, 371, 853, 371, 630, 371, 371, 633, 876, + 371, 631, 627, 696, 893, 633, 877, 785, 785, 630, + 876, 853, 893, 989, 371, 371, 371, 877, 629, 785, + 665, 631, 665, 665, 665, 665, 665, 665, 673, 897, + 673, 673, 673, 673, 673, 673, 673, 673, 673, 673, + 897, 371, 372, 787, 787, 889, 372, 372, 372, 372, + 372, 889, 372, 372, 1004, 787, 372, 1004, 674, 665, + + 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, + 372, 372, 372, 678, 678, 678, 678, 678, 678, 678, + 678, 678, 678, 682, 682, 682, 682, 682, 682, 682, + 682, 962, 894, 878, 878, 682, 700, 372, 390, 894, + 700, 892, 390, 390, 390, 878, 390, 892, 390, 390, + 934, 1018, 390, 684, 684, 684, 684, 684, 684, 684, + 684, 684, 684, 934, 700, 966, 390, 390, 390, 685, + 685, 685, 685, 685, 685, 687, 966, 687, 687, 687, + 687, 687, 687, 687, 687, 687, 687, 705, 706, 898, + 1018, 705, 706, 390, 391, 970, 970, 898, 391, 391, + + 391, 391, 391, 907, 391, 391, 949, 723, 391, 723, + 723, 723, 723, 723, 723, 705, 706, 993, 949, 993, + 907, 948, 391, 391, 391, 719, 719, 719, 719, 719, + 719, 719, 719, 719, 719, 721, 950, 721, 721, 721, + 721, 721, 721, 721, 721, 721, 721, 944, 950, 391, + 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, + 397, 1015, 1015, 1224, 397, 397, 397, 397, 397, 397, + 722, 952, 722, 722, 722, 722, 722, 722, 722, 722, + 722, 722, 993, 952, 1224, 724, 879, 879, 967, 724, + 397, 397, 397, 397, 397, 397, 399, 1186, 879, 967, + + 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, + 399, 399, 399, 724, 1186, 399, 399, 399, 399, 399, + 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, + 399, 399, 399, 399, 399, 399, 399, 399, 1047, 1047, + 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, + 399, 399, 399, 399, 399, 399, 399, 399, 400, 400, + 400, 400, 400, 400, 400, 400, 400, 400, 400, 1063, + 939, 1063, 400, 400, 400, 400, 400, 400, 771, 771, + 771, 771, 771, 771, 771, 771, 771, 771, 725, 728, + 729, 730, 725, 728, 729, 730, 977, 936, 400, 400, + + 400, 400, 400, 400, 419, 977, 419, 419, 419, 419, + 419, 419, 419, 419, 419, 419, 725, 728, 729, 730, + 974, 931, 992, 992, 725, 992, 992, 1022, 732, 733, + 734, 974, 732, 733, 734, 729, 735, 736, 730, 1014, + 735, 736, 1014, 419, 420, 921, 420, 420, 420, 420, + 420, 420, 420, 420, 420, 420, 732, 733, 734, 881, + 881, 979, 920, 983, 735, 736, 1022, 917, 747, 979, + 983, 881, 747, 746, 734, 746, 746, 746, 746, 746, + 746, 733, 1016, 420, 421, 1016, 421, 421, 421, 421, + 421, 421, 421, 421, 421, 421, 747, 1092, 1092, 742, + + 742, 742, 742, 742, 742, 742, 742, 742, 742, 751, + 755, 758, 746, 751, 755, 758, 916, 1056, 759, 1189, + 911, 1189, 759, 421, 422, 1056, 422, 422, 422, 422, + 422, 422, 422, 422, 422, 422, 742, 751, 755, 758, + 422, 422, 422, 422, 422, 422, 759, 773, 773, 773, + 773, 773, 773, 773, 773, 773, 773, 774, 774, 774, + 774, 774, 774, 1158, 909, 905, 422, 422, 422, 422, + 422, 422, 424, 424, 424, 424, 424, 424, 424, 424, + 424, 424, 975, 1158, 904, 903, 424, 424, 424, 424, + 424, 424, 776, 975, 776, 776, 776, 776, 776, 776, + + 776, 776, 776, 776, 781, 1084, 781, 781, 781, 781, + 781, 781, 424, 424, 424, 424, 424, 424, 440, 968, + 968, 901, 440, 440, 440, 1192, 440, 1192, 440, 440, + 860, 968, 440, 777, 777, 777, 777, 777, 777, 777, + 777, 777, 777, 859, 1084, 846, 440, 440, 440, 779, + 1030, 779, 779, 779, 779, 779, 779, 779, 779, 779, + 779, 780, 1030, 780, 780, 780, 780, 780, 780, 780, + 780, 780, 780, 440, 441, 982, 984, 1365, 441, 441, + 441, 441, 441, 1365, 441, 441, 982, 984, 441, 786, + 786, 786, 786, 786, 786, 786, 786, 786, 786, 840, + + 837, 1031, 441, 441, 441, 790, 790, 790, 790, 790, + 790, 790, 790, 1031, 836, 833, 1033, 790, 792, 792, + 792, 792, 792, 792, 792, 792, 792, 792, 1033, 441, + 449, 832, 449, 449, 449, 449, 449, 449, 449, 449, + 449, 449, 793, 793, 793, 793, 793, 793, 795, 823, + 795, 795, 795, 795, 795, 795, 795, 795, 795, 795, + 798, 804, 810, 816, 798, 804, 810, 816, 1088, 449, + 450, 991, 450, 450, 450, 450, 450, 450, 450, 450, + 450, 450, 870, 870, 870, 870, 870, 870, 798, 804, + 810, 816, 822, 820, 991, 818, 991, 991, 1049, 818, + + 887, 887, 887, 887, 887, 887, 815, 1088, 1049, 450, + 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, + 461, 461, 461, 818, 814, 778, 461, 461, 461, 461, + 461, 461, 828, 828, 828, 828, 828, 828, 828, 828, + 828, 828, 828, 918, 1058, 906, 906, 918, 906, 906, + 770, 1058, 461, 461, 461, 461, 461, 461, 464, 464, + 464, 464, 464, 464, 464, 464, 464, 464, 464, 464, + 908, 918, 769, 464, 464, 464, 464, 464, 464, 829, + 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, + 768, 763, 918, 908, 762, 908, 908, 1141, 1045, 464, + + 464, 464, 464, 464, 464, 467, 906, 980, 467, 1045, + 761, 980, 760, 757, 467, 467, 756, 753, 467, 467, + 908, 467, 467, 467, 467, 467, 467, 467, 467, 467, + 467, 467, 467, 467, 467, 980, 1141, 467, 467, 467, + 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, + 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, + 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, + 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, + 467, 512, 512, 512, 512, 512, 512, 512, 512, 512, + 512, 512, 1260, 1260, 1260, 512, 512, 512, 512, 512, + + 512, 830, 830, 830, 830, 830, 830, 830, 830, 830, + 830, 830, 914, 914, 914, 914, 914, 914, 914, 752, + 1057, 512, 512, 512, 512, 512, 512, 513, 1057, 750, + 1172, 513, 513, 513, 513, 513, 513, 513, 513, 513, + 513, 513, 513, 513, 749, 748, 513, 513, 513, 513, + 513, 513, 513, 513, 513, 513, 513, 513, 513, 513, + 513, 513, 513, 513, 513, 513, 513, 513, 513, 1172, + 741, 513, 513, 513, 513, 513, 513, 513, 513, 513, + 513, 513, 513, 513, 513, 513, 513, 513, 513, 514, + 1200, 1217, 1101, 514, 854, 854, 854, 854, 854, 854, + + 854, 854, 854, 854, 1101, 727, 1102, 514, 514, 514, + 514, 514, 514, 514, 514, 514, 514, 514, 1102, 1123, + 726, 514, 514, 514, 514, 514, 514, 1123, 720, 1200, + 1217, 854, 858, 858, 858, 858, 858, 858, 858, 958, + 958, 958, 958, 958, 958, 714, 713, 514, 514, 514, + 514, 514, 514, 534, 711, 534, 534, 534, 534, 534, + 534, 534, 534, 534, 534, 1061, 1061, 710, 1061, 1061, + 858, 861, 861, 861, 861, 861, 861, 861, 861, 861, + 861, 863, 863, 863, 863, 863, 863, 863, 863, 863, + 863, 709, 534, 535, 1104, 535, 535, 535, 535, 535, + + 535, 535, 535, 535, 535, 867, 1104, 867, 867, 867, + 867, 867, 867, 1292, 1292, 1292, 1118, 867, 869, 869, + 869, 869, 869, 869, 869, 869, 869, 869, 1118, 708, + 985, 690, 535, 557, 985, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 872, 669, 872, 872, 872, + 872, 872, 872, 872, 872, 872, 872, 873, 985, 873, + 873, 873, 873, 873, 873, 873, 873, 873, 873, 668, + 987, 667, 557, 558, 987, 558, 558, 558, 558, 558, + 558, 558, 558, 558, 558, 874, 666, 874, 874, 874, + 874, 874, 874, 874, 874, 874, 874, 875, 987, 875, + + 875, 875, 875, 875, 875, 875, 875, 875, 875, 655, + 654, 653, 558, 559, 652, 559, 559, 559, 559, 559, + 559, 559, 559, 559, 559, 880, 880, 880, 880, 880, + 880, 880, 880, 880, 880, 884, 884, 884, 884, 884, + 884, 884, 884, 651, 1064, 650, 1064, 884, 1157, 1157, + 1157, 1157, 559, 572, 572, 572, 572, 572, 572, 572, + 572, 572, 572, 572, 572, 572, 649, 648, 647, 572, + 572, 572, 572, 572, 572, 886, 886, 886, 886, 886, + 886, 886, 886, 886, 886, 910, 910, 910, 910, 910, + 910, 910, 910, 910, 910, 572, 572, 572, 572, 572, + + 572, 575, 575, 575, 575, 575, 575, 575, 575, 575, + 575, 575, 575, 575, 1064, 646, 645, 575, 575, 575, + 575, 575, 575, 888, 644, 888, 888, 888, 888, 888, + 888, 888, 888, 888, 888, 929, 929, 929, 929, 929, + 929, 929, 643, 575, 575, 575, 575, 575, 575, 578, + 578, 578, 578, 578, 578, 578, 578, 578, 578, 578, + 578, 639, 638, 637, 578, 578, 578, 578, 578, 578, + 636, 635, 965, 929, 965, 965, 965, 965, 965, 965, + 895, 625, 1125, 1125, 895, 1125, 1125, 624, 621, 620, + 578, 578, 578, 578, 578, 578, 640, 612, 640, 640, + + 640, 640, 640, 640, 640, 640, 640, 640, 895, 912, + 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, + 899, 611, 610, 945, 899, 945, 945, 945, 945, 945, + 945, 945, 945, 945, 945, 640, 641, 895, 641, 641, + 641, 641, 641, 641, 641, 641, 641, 641, 899, 913, + 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, + 900, 922, 923, 602, 900, 922, 923, 973, 973, 973, + 973, 973, 973, 973, 973, 641, 642, 899, 642, 642, + 642, 642, 642, 642, 642, 642, 642, 642, 900, 922, + 923, 925, 925, 925, 925, 925, 925, 925, 925, 925, + + 925, 933, 937, 938, 566, 933, 937, 938, 1253, 1253, + 922, 923, 565, 564, 1253, 642, 663, 900, 663, 663, + 663, 663, 663, 663, 663, 663, 663, 663, 925, 933, + 937, 938, 946, 563, 946, 946, 946, 946, 946, 946, + 946, 946, 946, 946, 1039, 1039, 1039, 1039, 1039, 1039, + 933, 937, 938, 561, 560, 663, 664, 1152, 664, 664, + 664, 664, 664, 664, 664, 664, 664, 664, 947, 1152, + 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, + 951, 951, 951, 951, 951, 951, 951, 951, 951, 951, + 1164, 1164, 552, 1164, 1164, 664, 670, 670, 670, 670, + + 670, 670, 670, 670, 670, 670, 670, 551, 550, 549, + 670, 670, 670, 670, 670, 670, 955, 548, 955, 955, + 955, 955, 955, 955, 1281, 1281, 547, 1002, 955, 1050, + 1281, 1002, 546, 1050, 545, 544, 670, 670, 670, 670, + 670, 670, 680, 680, 680, 680, 680, 680, 680, 680, + 680, 680, 680, 680, 680, 1002, 541, 1050, 680, 680, + 680, 680, 680, 680, 957, 957, 957, 957, 957, 957, + 957, 957, 957, 957, 961, 961, 961, 961, 961, 961, + 961, 961, 961, 961, 680, 680, 680, 680, 680, 680, + 683, 683, 683, 683, 683, 683, 683, 683, 683, 683, + + 683, 683, 683, 540, 538, 531, 683, 683, 683, 683, + 683, 683, 960, 530, 960, 960, 960, 960, 960, 960, + 960, 960, 960, 960, 1001, 529, 1190, 1190, 1001, 1190, + 1190, 508, 683, 683, 683, 683, 683, 683, 686, 686, + 686, 686, 686, 686, 686, 686, 686, 686, 686, 686, + 500, 499, 1001, 686, 686, 686, 686, 686, 686, 963, + 498, 963, 963, 963, 963, 963, 963, 963, 963, 963, + 963, 1282, 1282, 1001, 497, 496, 495, 1282, 490, 686, + 686, 686, 686, 686, 686, 744, 487, 744, 744, 744, + 744, 744, 744, 744, 744, 744, 744, 964, 458, 964, + + 964, 964, 964, 964, 964, 964, 964, 964, 964, 457, + 1053, 1079, 1011, 454, 1053, 1079, 1011, 1119, 453, 976, + 439, 1119, 978, 976, 744, 745, 978, 745, 745, 745, + 745, 745, 745, 745, 745, 745, 745, 995, 1053, 1079, + 1011, 995, 995, 995, 995, 1119, 438, 976, 437, 997, + 978, 997, 997, 997, 997, 997, 997, 997, 997, 997, + 997, 1011, 436, 435, 745, 765, 765, 765, 765, 765, + 765, 765, 765, 765, 765, 765, 976, 996, 434, 978, + 433, 996, 996, 996, 996, 1110, 1110, 1110, 1110, 1110, + 1110, 998, 995, 998, 998, 998, 998, 998, 998, 998, + + 998, 998, 998, 765, 766, 766, 766, 766, 766, 766, + 766, 766, 766, 766, 766, 999, 432, 999, 999, 999, + 999, 999, 999, 999, 999, 999, 999, 1012, 1310, 1310, + 431, 1012, 996, 1021, 1310, 1021, 1021, 1021, 1021, 1021, + 1021, 430, 766, 767, 767, 767, 767, 767, 767, 767, + 767, 767, 767, 767, 1000, 1012, 1000, 1000, 1000, 1000, + 1000, 1000, 1000, 1000, 1000, 1000, 429, 1132, 428, 1159, + 427, 1132, 1021, 1159, 1299, 1323, 1012, 1299, 1323, 1299, + 1323, 767, 772, 426, 772, 772, 772, 772, 772, 772, + 772, 772, 772, 772, 772, 1132, 423, 1159, 772, 772, + + 772, 772, 772, 772, 1017, 1017, 1017, 1017, 1017, 1017, + 1017, 1017, 1017, 1017, 1023, 1023, 1023, 1023, 1023, 1023, + 1023, 1023, 1023, 1023, 772, 772, 772, 772, 772, 772, + 775, 775, 775, 775, 775, 775, 775, 775, 775, 775, + 775, 1017, 417, 414, 775, 775, 775, 775, 775, 775, + 1025, 413, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, + 1025, 1025, 1027, 412, 1027, 1027, 1027, 1027, 1027, 1027, + 775, 775, 775, 775, 775, 775, 788, 788, 788, 788, + 788, 788, 788, 788, 788, 788, 788, 788, 788, 411, + 410, 409, 788, 788, 788, 788, 788, 788, 1026, 408, + + 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, + 1077, 407, 1077, 1077, 1077, 1077, 1077, 1077, 788, 788, + 788, 788, 788, 788, 791, 791, 791, 791, 791, 791, + 791, 791, 791, 791, 791, 791, 791, 406, 405, 404, + 791, 791, 791, 791, 791, 791, 1032, 1032, 1032, 1032, + 1032, 1032, 1032, 1032, 1032, 1032, 1038, 1038, 1038, 1038, + 1038, 1038, 1038, 1038, 1038, 1038, 791, 791, 791, 791, + 791, 791, 794, 794, 794, 794, 794, 794, 794, 794, + 794, 794, 794, 403, 402, 401, 398, 794, 794, 794, + 794, 794, 794, 1036, 383, 1036, 1036, 1036, 1036, 1036, + + 1036, 379, 378, 377, 376, 1036, 1115, 1115, 1115, 1115, + 1115, 1115, 1115, 794, 794, 794, 794, 794, 794, 797, + 1070, 1339, 797, 1070, 1339, 370, 1339, 369, 797, 797, + 1070, 1070, 797, 797, 1070, 797, 797, 797, 797, 797, + 797, 797, 797, 797, 797, 797, 797, 797, 1070, 1070, + 1070, 797, 797, 797, 797, 797, 797, 797, 797, 797, + 797, 797, 797, 797, 797, 797, 797, 797, 797, 797, + 797, 797, 797, 797, 797, 797, 797, 797, 797, 797, + 797, 797, 797, 797, 797, 797, 797, 797, 797, 797, + 797, 797, 797, 797, 797, 831, 368, 367, 366, 831, + + 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, + 365, 831, 363, 362, 831, 831, 831, 831, 831, 831, + 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, + 831, 831, 831, 831, 831, 831, 831, 361, 360, 831, + 831, 831, 831, 831, 831, 831, 831, 831, 831, 831, + 831, 831, 831, 831, 831, 831, 831, 841, 841, 841, + 841, 841, 841, 841, 841, 841, 841, 841, 1041, 359, + 1041, 1041, 1041, 1041, 1041, 1041, 1041, 1041, 1041, 1041, + 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, + 1042, 358, 357, 356, 355, 841, 842, 842, 842, 842, + + 842, 842, 842, 842, 842, 842, 842, 1043, 1043, 1043, + 1043, 1043, 1043, 1043, 1043, 1043, 1043, 1043, 1044, 1044, + 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1055, + 354, 353, 352, 1055, 842, 843, 843, 843, 843, 843, + 843, 843, 843, 843, 843, 843, 351, 1121, 1065, 349, + 348, 1121, 1065, 1065, 1065, 1065, 1069, 1055, 341, 1069, + 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 340, + 1316, 1316, 327, 843, 844, 1121, 1316, 844, 323, 1317, + 1317, 322, 320, 844, 844, 1317, 1055, 844, 844, 319, + 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, + + 844, 844, 844, 1065, 1121, 318, 844, 844, 844, 844, + 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, + 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, + 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, + 844, 844, 844, 844, 844, 844, 844, 844, 844, 844, + 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, + 856, 1066, 317, 1359, 1359, 1066, 1066, 1066, 1066, 1067, + 1359, 316, 315, 1067, 1067, 1067, 1067, 1073, 1073, 1073, + 1073, 1073, 1073, 1073, 1073, 1073, 1073, 309, 856, 857, + 857, 857, 857, 857, 857, 857, 857, 857, 857, 857, + + 1068, 1363, 305, 1363, 1068, 1068, 1068, 1068, 1071, 1363, + 302, 300, 1071, 1071, 1071, 1071, 1066, 1207, 1207, 1207, + 1207, 1207, 1207, 298, 1067, 295, 294, 857, 865, 293, + 865, 865, 865, 865, 865, 865, 865, 865, 865, 865, + 865, 868, 290, 868, 868, 868, 868, 868, 868, 868, + 868, 868, 868, 868, 289, 1068, 287, 868, 868, 868, + 868, 868, 868, 1071, 1075, 286, 1075, 1075, 1075, 1075, + 1075, 1075, 1075, 1075, 1075, 1075, 1237, 1237, 1237, 1237, + 1237, 1237, 285, 868, 868, 868, 868, 868, 868, 871, + 871, 871, 871, 871, 871, 871, 871, 871, 871, 871, + + 284, 283, 281, 871, 871, 871, 871, 871, 871, 1076, + 275, 1076, 1076, 1076, 1076, 1076, 1076, 1076, 1076, 1076, + 1076, 1089, 1161, 267, 263, 1089, 1161, 258, 257, 871, + 871, 871, 871, 871, 871, 882, 882, 882, 882, 882, + 882, 882, 882, 882, 882, 882, 882, 882, 255, 1089, + 1161, 882, 882, 882, 882, 882, 882, 251, 1083, 1083, + 1083, 1083, 1083, 1083, 1083, 1083, 1083, 1083, 246, 1087, + 1089, 1087, 1087, 1087, 1087, 1087, 1087, 882, 882, 882, + 882, 882, 882, 885, 885, 885, 885, 885, 885, 885, + 885, 885, 885, 885, 885, 1083, 241, 239, 235, 885, + + 885, 885, 885, 885, 885, 1122, 230, 1072, 1087, 1122, + 1072, 1131, 218, 1318, 1318, 1131, 217, 1072, 1072, 1318, + 216, 1072, 215, 214, 209, 885, 885, 885, 885, 885, + 885, 890, 202, 1122, 890, 1072, 1072, 1072, 201, 1131, + 890, 890, 200, 199, 890, 890, 198, 890, 890, 890, + 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, + 1131, 197, 1122, 890, 890, 890, 890, 890, 890, 890, + 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, + 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, + 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, + + 890, 890, 890, 890, 890, 890, 890, 915, 195, 194, + 193, 915, 915, 915, 915, 915, 915, 915, 915, 915, + 915, 915, 192, 915, 191, 190, 915, 915, 915, 915, + 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, + 915, 915, 915, 915, 915, 915, 915, 915, 915, 189, + 188, 915, 915, 915, 915, 915, 915, 915, 915, 915, + 915, 915, 915, 915, 915, 915, 915, 915, 915, 927, + 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, + 1096, 187, 1096, 1096, 1096, 1096, 1096, 1096, 1096, 1096, + 1096, 1096, 1097, 186, 1097, 1097, 1097, 1097, 1097, 1097, + + 1097, 1097, 1097, 1097, 181, 177, 176, 927, 928, 928, + 928, 928, 928, 928, 928, 928, 928, 928, 928, 1098, + 172, 1098, 1098, 1098, 1098, 1098, 1098, 1098, 1098, 1098, + 1098, 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1103, + 1103, 169, 165, 162, 159, 155, 928, 930, 1170, 1187, + 930, 150, 1170, 1187, 149, 148, 930, 930, 147, 146, + 930, 930, 145, 930, 930, 930, 930, 930, 930, 930, + 930, 930, 930, 930, 930, 930, 1170, 1187, 141, 930, + 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, + 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, + + 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, + 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, + 930, 930, 930, 940, 135, 940, 940, 940, 940, 940, + 940, 940, 940, 940, 940, 1107, 133, 1107, 1107, 1107, + 1107, 1107, 1107, 129, 124, 123, 122, 1107, 1109, 1109, + 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1324, 1324, + 121, 120, 940, 941, 1324, 941, 941, 941, 941, 941, + 941, 941, 941, 941, 941, 1111, 119, 1111, 1111, 1111, + 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1113, 1113, 1113, + 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1325, 1325, + + 115, 102, 941, 942, 1325, 942, 942, 942, 942, 942, + 942, 942, 942, 942, 942, 1114, 1114, 1114, 1114, 1114, + 1114, 1114, 1114, 1114, 1114, 1114, 1126, 1126, 1126, 1126, + 1126, 1126, 1126, 1126, 1126, 1126, 95, 88, 1326, 1326, + 87, 80, 942, 943, 1326, 943, 943, 943, 943, 943, + 943, 943, 943, 943, 943, 1127, 1127, 1127, 1127, 1127, + 1127, 1127, 1127, 1127, 1127, 1128, 79, 1128, 1128, 1128, + 1128, 1128, 1128, 1128, 1128, 1128, 1128, 74, 1329, 1329, + 73, 72, 943, 953, 1329, 953, 953, 953, 953, 953, + 953, 953, 953, 953, 953, 953, 956, 71, 956, 956, + + 956, 956, 956, 956, 956, 956, 956, 956, 956, 66, + 64, 54, 956, 956, 956, 956, 956, 956, 1129, 53, + 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, + 1149, 51, 1149, 1149, 1149, 1149, 1149, 1149, 956, 956, + 956, 956, 956, 956, 959, 959, 959, 959, 959, 959, + 959, 959, 959, 959, 959, 50, 48, 38, 959, 959, + 959, 959, 959, 959, 1130, 32, 1130, 1130, 1130, 1130, + 1130, 1130, 1130, 1130, 1130, 1130, 1169, 26, 1169, 1169, + 1169, 1169, 1169, 1169, 959, 959, 959, 959, 959, 959, + 971, 971, 971, 971, 971, 971, 971, 971, 971, 971, + + 971, 971, 1007, 25, 1007, 1007, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 22, 1137, 21, 0, 1144, 1137, + 1144, 1144, 1144, 1144, 1144, 1144, 1138, 0, 0, 0, + 1138, 1140, 1140, 1140, 1140, 1140, 1140, 1140, 1140, 1140, + 1140, 1007, 1008, 1137, 1008, 1008, 1008, 1008, 1008, 1008, + 1008, 1008, 1008, 1008, 1138, 0, 1215, 1144, 1215, 1215, + 1215, 1215, 1215, 1215, 1137, 1330, 1330, 0, 1140, 0, + 0, 1330, 1331, 1331, 1347, 1138, 0, 1347, 1331, 1347, + 0, 1008, 1009, 0, 1009, 1009, 1009, 1009, 1009, 1009, + 1009, 1009, 1009, 1009, 1145, 1145, 1145, 1145, 1145, 1145, + + 1145, 1145, 1145, 1145, 1147, 0, 1147, 1147, 1147, 1147, + 1147, 1147, 1147, 1147, 1147, 1147, 0, 0, 0, 1163, + 0, 1009, 1010, 1163, 1010, 1010, 1010, 1010, 1010, 1010, + 1010, 1010, 1010, 1010, 1148, 0, 1148, 1148, 1148, 1148, + 1148, 1148, 1148, 1148, 1148, 1148, 1155, 1163, 1155, 1155, + 1155, 1155, 1155, 1155, 1155, 1155, 1155, 1155, 0, 0, + 0, 1010, 1019, 0, 1019, 1019, 1019, 1019, 1019, 1019, + 1019, 1019, 1019, 1019, 0, 0, 1163, 1165, 1165, 1165, + 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1167, 0, 1167, + 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 0, + + 0, 1019, 1020, 0, 1020, 1020, 1020, 1020, 1020, 1020, + 1020, 1020, 1020, 1020, 1168, 0, 1168, 1168, 1168, 1168, + 1168, 1168, 1168, 1168, 1168, 1168, 0, 0, 0, 0, + 0, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + 1171, 1020, 1034, 0, 1034, 1034, 1034, 1034, 1034, 1034, + 1034, 1034, 1034, 1034, 1034, 1037, 0, 1037, 1037, 1037, + 1037, 1037, 1037, 1037, 1037, 1037, 1037, 1037, 1171, 0, + 0, 1037, 1037, 1037, 1037, 1037, 1037, 1175, 0, 1175, + 1175, 1175, 1175, 1175, 1175, 1176, 1334, 1334, 0, 1176, + 1335, 1335, 1334, 0, 0, 0, 1335, 1037, 1037, 1037, + + 1037, 1037, 1037, 1040, 1040, 1040, 1040, 1040, 1040, 1040, + 1040, 1040, 1040, 1176, 0, 0, 1175, 1040, 1040, 1040, + 1040, 1040, 1040, 1180, 1180, 1180, 1180, 1180, 1180, 1180, + 1180, 1180, 1180, 0, 1176, 1342, 1342, 0, 0, 0, + 0, 1342, 0, 1040, 1040, 1040, 1040, 1040, 1040, 1085, + 0, 1085, 1085, 1085, 1085, 1085, 1085, 1085, 1085, 1085, + 1085, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, 1181, + 1181, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, 1182, + 1182, 1350, 1350, 0, 1357, 1357, 0, 1350, 1085, 1086, + 1357, 1086, 1086, 1086, 1086, 1086, 1086, 1086, 1086, 1086, + + 1086, 1193, 0, 1193, 1193, 1193, 1193, 1193, 1193, 1193, + 1193, 1193, 1193, 1194, 0, 1194, 1194, 1194, 1194, 1194, + 1194, 1194, 1194, 1194, 1194, 0, 0, 0, 1086, 1093, + 0, 1093, 1093, 1093, 1093, 1093, 1093, 1093, 1093, 1093, + 1093, 1195, 0, 1195, 1195, 1195, 1195, 1195, 1195, 1195, + 1195, 1195, 1195, 1199, 1199, 1199, 1199, 1199, 1199, 1199, + 1199, 1199, 1199, 0, 1360, 1360, 0, 0, 1093, 1094, + 1360, 1094, 1094, 1094, 1094, 1094, 1094, 1094, 1094, 1094, + 1094, 0, 1203, 0, 1203, 1203, 1203, 1203, 1203, 1203, + 1199, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 1205, 1205, + + 1205, 1362, 1362, 0, 0, 0, 0, 1362, 1094, 1095, + 0, 1095, 1095, 1095, 1095, 1095, 1095, 1095, 1095, 1095, + 1095, 1203, 1206, 1206, 1206, 1206, 1206, 1206, 1206, 1206, + 1206, 1206, 1211, 1211, 1211, 1211, 1211, 1211, 1211, 1211, + 1211, 1211, 0, 0, 0, 0, 0, 0, 1095, 1105, + 0, 1105, 1105, 1105, 1105, 1105, 1105, 1105, 1105, 1105, + 1105, 1105, 1108, 0, 1108, 1108, 1108, 1108, 1108, 1108, + 1108, 1108, 1108, 1108, 0, 0, 0, 0, 1108, 1108, + 1108, 1108, 1108, 1108, 1213, 0, 1213, 1213, 1213, 1213, + 1213, 1213, 1213, 1213, 1213, 1213, 0, 0, 0, 0, + + 0, 0, 0, 0, 1108, 1108, 1108, 1108, 1108, 1108, + 1134, 0, 1134, 1134, 1134, 1134, 1134, 1134, 1134, 1134, + 1134, 1134, 1214, 0, 1214, 1214, 1214, 1214, 1214, 1214, + 1214, 1214, 1214, 1214, 1216, 1216, 1216, 1216, 1216, 1216, + 1216, 1216, 1216, 1216, 0, 0, 0, 0, 0, 1134, + 1135, 0, 1135, 1135, 1135, 1135, 1135, 1135, 1135, 1135, + 1135, 1135, 0, 1220, 0, 1220, 1220, 1220, 1220, 1220, + 1220, 1216, 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, + 1221, 1221, 0, 1233, 1233, 1233, 1233, 1233, 1233, 1135, + 1136, 0, 1136, 1136, 1136, 1136, 1136, 1136, 1136, 1136, + + 1136, 1136, 1220, 0, 0, 0, 0, 0, 0, 1221, + 1222, 1222, 1222, 1222, 1222, 1222, 1222, 1222, 1222, 1222, + 1233, 0, 0, 0, 0, 0, 0, 0, 0, 1136, + 1142, 0, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, + 1142, 1142, 0, 0, 0, 0, 0, 1222, 1223, 1223, + 1223, 1223, 1223, 1223, 1223, 1223, 1223, 1223, 1225, 1225, + 1225, 1225, 1225, 1225, 1225, 1225, 1225, 1225, 0, 1142, + 1143, 0, 1143, 1143, 1143, 1143, 1143, 1143, 1143, 1143, + 1143, 1143, 0, 0, 0, 1223, 1226, 1226, 1226, 1226, + 1226, 1226, 1226, 1226, 1226, 1226, 1227, 1227, 1227, 1227, + + 1227, 1227, 1227, 1227, 1227, 1227, 0, 0, 0, 1143, + 1173, 0, 1173, 1173, 1173, 1173, 1173, 1173, 1173, 1173, + 1173, 1173, 0, 0, 0, 1228, 1228, 1228, 1228, 1228, + 1228, 1228, 1228, 1228, 1228, 1229, 1229, 1229, 1229, 1229, + 1229, 1229, 1229, 1229, 1229, 0, 0, 0, 0, 1173, + 1174, 0, 1174, 1174, 1174, 1174, 1174, 1174, 1174, 1174, + 1174, 1174, 1228, 0, 0, 1240, 1240, 1240, 1240, 1240, + 1240, 0, 1229, 1230, 1230, 1230, 1230, 1230, 1230, 1230, + 1230, 1230, 1230, 0, 0, 0, 0, 0, 0, 1174, + 1177, 0, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, + + 1177, 1177, 1240, 0, 0, 0, 0, 0, 0, 0, + 1230, 1232, 1232, 1232, 1232, 1232, 1232, 1232, 1232, 1232, + 1232, 0, 0, 0, 0, 0, 0, 0, 0, 1177, + 1178, 0, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, + 1178, 1178, 0, 0, 0, 0, 0, 0, 1232, 1236, + 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1239, + 1239, 1239, 1239, 1239, 1239, 1239, 1239, 1239, 1239, 1178, + 1179, 0, 1179, 1179, 1179, 1179, 1179, 1179, 1179, 1179, + 1179, 1179, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 1239, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1179, + 1196, 0, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, + 1196, 1196, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1196, + 1197, 0, 1197, 1197, 1197, 1197, 1197, 1197, 1197, 1197, + 1197, 1197, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1197, + 1198, 0, 1198, 1198, 1198, 1198, 1198, 1198, 1198, 1198, + + 1198, 1198, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1198, + 1201, 0, 1201, 1201, 1201, 1201, 1201, 1201, 1201, 1201, + 1201, 1201, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1201, + 1202, 0, 1202, 1202, 1202, 1202, 1202, 1202, 1202, 1202, + 1202, 1202, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1202, + 1218, 0, 1218, 1218, 1218, 1218, 1218, 1218, 1218, 1218, + 1218, 1218, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1218, + 1219, 0, 1219, 1219, 1219, 1219, 1219, 1219, 1219, 1219, + 1219, 1219, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1219, + 1242, 1242, 1242, 1242, 1242, 1242, 1242, 1242, 1242, 1242, + + 1242, 1242, 1242, 1242, 1242, 1242, 1242, 1242, 1242, 1242, + 1242, 1243, 1243, 1243, 1243, 1243, 1243, 1243, 1243, 1243, + 1243, 1243, 1243, 1243, 1243, 1243, 1243, 1243, 1243, 1243, + 1243, 1243, 1244, 1244, 1244, 1244, 1244, 1244, 1244, 1244, + 1244, 1244, 1244, 1244, 1244, 1244, 1244, 1244, 1244, 1244, + 1244, 1244, 1244, 1245, 1245, 1245, 1245, 1245, 1245, 1245, + 1245, 1245, 1245, 1245, 1245, 1245, 1245, 1245, 1245, 1245, + 1245, 1245, 1245, 1245, 1246, 1246, 1246, 1246, 1246, 1246, + 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, 1246, + 1246, 1246, 1246, 1246, 1246, 1247, 1247, 1247, 1247, 1247, + + 1247, 1247, 1247, 1247, 1247, 1247, 1247, 1247, 1247, 1247, + 1247, 1247, 1247, 1247, 1247, 1247, 1248, 0, 0, 1248, + 0, 0, 0, 1248, 0, 1248, 0, 1248, 1248, 1248, + 0, 0, 1248, 1248, 1248, 1248, 1248, 1249, 1249, 1249, + 1249, 1249, 1249, 1249, 1249, 1249, 1249, 1249, 1249, 1249, + 1249, 1249, 1249, 1249, 1249, 1249, 1249, 1249, 1250, 0, + 0, 1250, 0, 0, 1250, 1250, 0, 1250, 0, 1250, + 1250, 1250, 1250, 0, 1250, 1250, 1250, 1250, 1250, 1251, + 0, 0, 1251, 0, 0, 0, 1251, 0, 1251, 0, + 1251, 1251, 1251, 0, 0, 1251, 1251, 1251, 1251, 1251, + + 1252, 0, 0, 1252, 1252, 1252, 0, 1252, 1252, 1252, + 0, 1252, 1252, 1252, 0, 0, 1252, 1252, 1252, 1252, + 1252, 1254, 1254, 0, 1254, 1254, 1254, 0, 1254, 1254, + 1254, 1254, 1254, 1254, 1254, 1254, 1254, 1254, 1254, 1254, + 1254, 1254, 1255, 0, 0, 1255, 1255, 1255, 0, 1255, + 1255, 1255, 0, 1255, 1255, 1255, 0, 0, 1255, 1255, + 1255, 1255, 1255, 1256, 1256, 0, 1256, 1256, 1256, 0, + 1256, 1256, 1256, 1256, 1256, 1256, 1256, 1256, 1256, 1256, + 1256, 1256, 1256, 1256, 1257, 0, 0, 1257, 1257, 1257, + 0, 1257, 1257, 1257, 0, 1257, 1257, 1257, 0, 1257, + + 1257, 0, 1257, 1257, 1257, 1258, 1258, 0, 1258, 1258, + 1258, 0, 0, 1258, 1258, 1258, 1258, 1258, 1258, 1258, + 1258, 1258, 0, 1258, 1258, 1258, 1259, 1259, 1259, 1259, + 1259, 1259, 1259, 1259, 1259, 1259, 1259, 1259, 1259, 1259, + 1259, 1259, 1259, 1259, 1259, 1259, 1259, 1261, 0, 0, + 1261, 1261, 0, 0, 1261, 1261, 1261, 0, 1261, 1261, + 1261, 1261, 0, 1261, 1261, 1261, 1261, 1261, 1262, 1262, + 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1262, + 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1262, 1263, + 1263, 0, 1263, 1263, 0, 1263, 1263, 1263, 1263, 1263, + + 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, 1263, + 1264, 0, 0, 1264, 0, 0, 1264, 1264, 0, 1264, + 0, 1264, 1264, 1264, 1264, 0, 1264, 1264, 1264, 1264, + 1264, 1265, 0, 0, 1265, 0, 0, 0, 1265, 0, + 1265, 0, 1265, 1265, 1265, 0, 1265, 1265, 1265, 1265, + 1265, 1265, 1266, 0, 0, 1266, 1266, 1266, 0, 1266, + 1266, 1266, 0, 1266, 1266, 1266, 0, 1266, 1266, 1266, + 1266, 1266, 1266, 1267, 1267, 0, 1267, 1267, 1267, 0, + 1267, 1267, 1267, 1267, 1267, 1267, 1267, 1267, 1267, 1267, + 1267, 1267, 1267, 1267, 1268, 0, 0, 0, 1268, 1268, + + 1268, 1268, 1268, 1268, 1268, 1268, 1268, 1268, 1268, 1268, + 1268, 1268, 1268, 1268, 1268, 1269, 0, 0, 1269, 0, + 0, 0, 1269, 0, 1269, 0, 1269, 1269, 1269, 0, + 0, 1269, 1269, 1269, 1269, 1269, 1270, 0, 0, 1270, + 0, 0, 1270, 1270, 0, 1270, 0, 1270, 1270, 1270, + 1270, 0, 1270, 1270, 1270, 1270, 1270, 1271, 0, 0, + 1271, 0, 0, 0, 1271, 0, 1271, 0, 1271, 1271, + 1271, 0, 0, 1271, 1271, 1271, 1271, 1271, 1272, 0, + 0, 1272, 1272, 1272, 0, 1272, 1272, 1272, 0, 1272, + 1272, 1272, 0, 0, 1272, 1272, 1272, 1272, 1272, 1273, + + 1273, 0, 1273, 1273, 1273, 0, 1273, 1273, 1273, 1273, + 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, + 1274, 0, 0, 1274, 0, 0, 0, 1274, 0, 1274, + 0, 1274, 1274, 1274, 0, 0, 1274, 1274, 1274, 1274, + 1274, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, + 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, + 1275, 1275, 1276, 1276, 0, 1276, 1276, 1276, 1276, 1276, + 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, + 1276, 1276, 1276, 1277, 0, 0, 1277, 0, 0, 0, + 1277, 0, 1277, 0, 1277, 1277, 1277, 0, 0, 1277, + + 1277, 1277, 1277, 1277, 1278, 0, 0, 1278, 0, 0, + 0, 1278, 0, 1278, 0, 1278, 1278, 1278, 0, 0, + 1278, 1278, 1278, 1278, 1278, 1279, 0, 0, 1279, 1279, + 1279, 0, 1279, 1279, 1279, 0, 1279, 1279, 1279, 0, + 0, 1279, 1279, 1279, 1279, 1279, 1280, 0, 0, 1280, + 1280, 1280, 0, 1280, 1280, 1280, 0, 1280, 1280, 1280, + 0, 0, 1280, 1280, 1280, 1280, 1280, 1283, 1283, 1283, + 0, 0, 0, 0, 1283, 1284, 1284, 0, 1284, 1284, + 1284, 0, 1284, 1284, 1284, 1284, 1284, 1284, 1284, 1284, + 1284, 1284, 1284, 1284, 1284, 1284, 1285, 1285, 0, 1285, + + 1285, 1285, 0, 1285, 1285, 1285, 1285, 1285, 1285, 1285, + 1285, 1285, 1285, 1285, 1285, 1285, 1285, 1286, 0, 0, + 1286, 1286, 1286, 0, 1286, 1286, 1286, 0, 1286, 1286, + 1286, 0, 0, 1286, 1286, 1286, 1286, 1286, 1287, 0, + 0, 1287, 1287, 1287, 0, 1287, 1287, 1287, 0, 1287, + 1287, 1287, 0, 0, 1287, 1287, 1287, 1287, 1287, 1288, + 1288, 0, 1288, 1288, 1288, 0, 1288, 1288, 1288, 1288, + 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, 1288, + 1289, 1289, 0, 1289, 1289, 1289, 0, 1289, 1289, 1289, + 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, + + 1289, 1290, 0, 0, 1290, 1290, 1290, 0, 1290, 1290, + 1290, 0, 1290, 1290, 1290, 0, 1290, 1290, 0, 1290, + 1290, 1290, 1291, 1291, 0, 1291, 1291, 1291, 0, 0, + 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 1291, 0, + 1291, 1291, 1291, 1293, 0, 0, 1293, 1293, 0, 0, + 1293, 1293, 1293, 0, 1293, 1293, 1293, 1293, 0, 1293, + 1293, 1293, 1293, 1293, 1294, 1294, 0, 1294, 1294, 0, + 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, 1294, + 1294, 1294, 1294, 1294, 1294, 1295, 0, 0, 1295, 0, + 0, 0, 1295, 0, 1295, 0, 1295, 1295, 1295, 0, + + 0, 1295, 1295, 1295, 1295, 1295, 1296, 0, 0, 1296, + 0, 0, 0, 1296, 0, 1296, 0, 1296, 1296, 1296, + 0, 1296, 1296, 1296, 1296, 1296, 1296, 1297, 0, 0, + 1297, 1297, 0, 1297, 1297, 0, 0, 1297, 1297, 1298, + 0, 0, 1298, 1298, 1298, 0, 1298, 1298, 1298, 0, + 1298, 1298, 1298, 0, 1298, 1298, 1298, 1298, 1298, 1298, + 1300, 0, 0, 0, 1300, 1300, 1300, 1300, 1300, 1300, + 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, 1300, + 1300, 1301, 0, 0, 1301, 0, 0, 0, 1301, 0, + 1301, 0, 1301, 1301, 1301, 0, 0, 1301, 1301, 1301, + + 1301, 1301, 1302, 0, 0, 1302, 0, 0, 0, 1302, + 0, 1302, 0, 1302, 1302, 1302, 0, 0, 1302, 1302, + 1302, 1302, 1302, 1303, 0, 0, 1303, 0, 0, 0, + 1303, 0, 1303, 0, 1303, 1303, 1303, 0, 0, 1303, + 1303, 1303, 1303, 1303, 1304, 0, 0, 1304, 1304, 1304, + 0, 1304, 1304, 1304, 0, 1304, 1304, 1304, 0, 0, + 1304, 1304, 1304, 1304, 1304, 1305, 0, 0, 1305, 1305, + 1305, 0, 1305, 1305, 1305, 0, 1305, 1305, 1305, 0, + 0, 1305, 1305, 1305, 1305, 1305, 1306, 1306, 0, 1306, + 1306, 1306, 0, 1306, 1306, 1306, 1306, 1306, 1306, 1306, + + 1306, 1306, 1306, 1306, 1306, 1306, 1306, 1307, 1307, 1307, + 1307, 1307, 1307, 1307, 1307, 1307, 1307, 1307, 1307, 1307, + 1307, 1307, 1307, 1307, 1307, 1307, 1307, 1307, 1308, 1308, + 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, + 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1309, + 0, 0, 1309, 0, 0, 0, 1309, 0, 1309, 0, + 1309, 1309, 1309, 0, 0, 1309, 1309, 1309, 1309, 1309, + 1311, 1311, 1311, 0, 0, 0, 0, 1311, 1312, 1312, + 0, 1312, 1312, 1312, 0, 1312, 1312, 1312, 1312, 1312, + 1312, 1312, 1312, 1312, 1312, 1312, 1312, 1312, 1312, 1313, + + 1313, 0, 1313, 1313, 1313, 1313, 1313, 1313, 1313, 1313, + 1313, 1313, 1313, 1313, 1313, 1313, 1313, 1313, 1313, 1313, + 1314, 1314, 0, 1314, 1314, 1314, 0, 1314, 1314, 1314, + 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, 1314, + 1314, 1315, 1315, 0, 1315, 1315, 1315, 0, 1315, 1315, + 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1315, 1315, + 1315, 1315, 1319, 1319, 1319, 0, 0, 0, 0, 1319, + 1320, 1320, 1320, 0, 0, 0, 0, 1320, 1321, 1321, + 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, + 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1321, 1322, + + 1322, 0, 1322, 1322, 1322, 0, 1322, 1322, 1322, 1322, + 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, + 1327, 1327, 1327, 0, 0, 0, 0, 1327, 1328, 1328, + 1328, 1328, 0, 0, 0, 0, 1328, 1332, 1332, 1332, + 0, 0, 0, 0, 1332, 1333, 1333, 1333, 1333, 0, + 0, 0, 0, 1333, 1336, 1336, 1336, 0, 0, 0, + 0, 1336, 1337, 1337, 1337, 1337, 0, 0, 0, 0, + 1337, 1338, 1338, 1338, 1338, 1338, 1338, 1338, 1338, 1338, + 1338, 1338, 1338, 1338, 1338, 1338, 1338, 1338, 1338, 1338, + 1338, 1338, 1340, 0, 0, 1340, 1340, 0, 1340, 1340, + + 0, 0, 1340, 1340, 1341, 0, 0, 1341, 0, 0, + 0, 1341, 0, 1341, 0, 1341, 1341, 1341, 0, 0, + 1341, 1341, 1341, 1341, 1341, 1343, 0, 1343, 1343, 0, + 0, 0, 0, 1343, 1344, 1344, 1344, 0, 0, 0, + 0, 1344, 1345, 1345, 1345, 1345, 0, 0, 0, 0, + 1345, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, 1346, + 1346, 1346, 1348, 0, 0, 1348, 1348, 0, 1348, 1348, + 0, 0, 1348, 1348, 1349, 0, 0, 1349, 0, 0, + 0, 1349, 0, 1349, 0, 1349, 1349, 1349, 0, 0, + + 1349, 1349, 1349, 1349, 1349, 1351, 0, 1351, 1351, 0, + 0, 0, 0, 1351, 1352, 1352, 1352, 0, 0, 0, + 0, 1352, 1353, 1353, 1353, 0, 0, 0, 0, 0, + 1353, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, + 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, 1354, + 1354, 1354, 1355, 1355, 0, 1355, 1355, 1355, 1355, 1355, + 0, 1355, 0, 1355, 1355, 1355, 0, 0, 1355, 1355, + 1355, 1355, 1355, 1356, 1356, 0, 1356, 1356, 1356, 1356, + 1356, 0, 1356, 0, 1356, 1356, 1356, 0, 0, 1356, + 1356, 1356, 1356, 1356, 1358, 0, 1358, 1358, 0, 0, + + 0, 0, 1358, 1361, 0, 1361, 1361, 0, 0, 0, + 0, 1361, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, + 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, 1364, + 1364, 1364, 1364, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, + + 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241, 1241 + } ; + +static yy_state_type yy_last_accepting_state; +static char *yy_last_accepting_cpos; + +extern int yy_flex_debug; +int yy_flex_debug = 0; + +/* The intent behind this definition is that it'll catch + * any uses of REJECT which flex missed. + */ +#define REJECT reject_used_but_not_detected +#define yymore() yymore_used_but_not_detected +#define YY_MORE_ADJ 0 +#define YY_RESTORE_YY_MORE_OFFSET +char *yytext; +#line 1 "toke.l" +#line 2 "toke.l" +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007-2023 + * Todd C. Miller <Todd.Miller@sudo.ws> + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ + +#include <config.h> + +#include <sys/types.h> +#include <sys/stat.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#if defined(HAVE_STDINT_H) +# include <stdint.h> +#elif defined(HAVE_INTTYPES_H) +# include <inttypes.h> +#endif +#include <unistd.h> +#include <dirent.h> +#include <errno.h> +#include <ctype.h> +#include <sudoers.h> +#include <toke.h> +#include <gram.h> +#include <sudo_digest.h> +#include <sudo_lbuf.h> + +#if defined(HAVE_STRUCT_DIRENT_D_NAMLEN) && HAVE_STRUCT_DIRENT_D_NAMLEN +# define NAMLEN(dirent) (dirent)->d_namlen +#else +# define NAMLEN(dirent) strlen((dirent)->d_name) +#endif + +// PVS Studio suppression +// -V::519, 547, 1004, 1037, 1048 + +int sudolineno; /* current sudoers line number. */ +char *sudoers; /* sudoers file being parsed. */ +char *sudoers_search_path; /* colon-separated path of sudoers files. */ +const char *sudoers_errstr; /* description of last error from lexer. */ +struct sudolinebuf sudolinebuf; /* sudoers line being parsed. */ + +static bool continued, sawspace; +static int prev_state; +static unsigned int digest_type = SUDO_DIGEST_INVALID; + +static bool pop_include(void); +static int sudoers_input(char *buf, yy_size_t max_size); + +#ifndef TRACELEXER +static struct sudo_lbuf trace_lbuf; +#endif + +int (*trace_print)(const char *msg) = sudoers_trace_print; + +#define ECHO ignore_result(fwrite(sudoerstext, (size_t)sudoersleng, 1, sudoersout)) + +#define YY_INPUT(buf, result, max_size) (result) = sudoers_input(buf, (yy_size_t)(max_size)) + +#define YY_USER_ACTION do { \ + sudolinebuf.toke_start = sudolinebuf.toke_end; \ + sudolinebuf.toke_end += (size_t)sudoersleng; \ +} while (0); + +#define sudoersless(n) do { \ + sudolinebuf.toke_end = sudolinebuf.toke_start + (size_t)(n); \ + yyless((int)n); \ +} while (0); + +#line 3344 "toke.c" +#define YY_NO_INPUT 1 + +#line 3347 "toke.c" + +#define INITIAL 0 +#define GOTDEFS 1 +#define GOTCMND 2 +#define GOTREGEX 3 +#define STARTDEFS 4 +#define INDEFS 5 +#define INSTR 6 +#define WANTDIGEST 7 +#define GOTINC 8 +#define EXPECTPATH 9 + +#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 ); + +/* Accessor methods to globals. + These are made visible to non-reentrant scanners for convenience. */ + +int yylex_destroy ( void ); + +int yyget_debug ( void ); + +void yyset_debug ( int debug_flag ); + +YY_EXTRA_TYPE yyget_extra ( void ); + +void yyset_extra ( YY_EXTRA_TYPE user_defined ); + +FILE *yyget_in ( void ); + +void yyset_in ( FILE * _in_str ); + +FILE *yyget_out ( void ); + +void yyset_out ( FILE * _out_str ); + + int yyget_leng ( void ); + +char *yyget_text ( void ); + +int yyget_lineno ( void ); + +void yyset_lineno ( int _line_number ); + +/* Macros after this point can all be overridden by user definitions in + * section 1. + */ + +#ifndef YY_SKIP_YYWRAP +#ifdef __cplusplus +extern "C" int yywrap ( void ); +#else +extern int yywrap ( void ); +#endif +#endif + +#ifndef YY_NO_UNPUT + +#endif + +#ifndef yytext_ptr +static void yy_flex_strncpy ( char *, const char *, int ); +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen ( const char * ); +#endif + +#ifndef YY_NO_INPUT +#ifdef __cplusplus +static int yyinput ( void ); +#else +static int input ( void ); +#endif + +#endif + +/* Amount of stuff to slurp up with each read. */ +#ifndef YY_READ_BUF_SIZE +#ifdef __ia64__ +/* On IA-64, the buffer size is 16k, not 8k */ +#define YY_READ_BUF_SIZE 16384 +#else +#define YY_READ_BUF_SIZE 8192 +#endif /* __ia64__ */ +#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 do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) +#endif + +/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, + * is returned in "result". + */ +#ifndef YY_INPUT +#define YY_INPUT(buf,result,max_size) \ + if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ + { \ + int c = '*'; \ + int n; \ + for ( n = 0; n < max_size && \ + (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ + buf[n] = (char) c; \ + if ( c == '\n' ) \ + buf[n++] = (char) c; \ + if ( c == EOF && ferror( yyin ) ) \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + result = n; \ + } \ + else \ + { \ + errno=0; \ + while ( (result = (int) fread(buf, 1, (yy_size_t) 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();" - + * we don't want an extra ';' after the "return" because that will cause + * some compilers to complain about unreachable statements. + */ +#ifndef yyterminate +#define yyterminate() return YY_NULL +#endif + +/* Number of entries by which start-condition stack grows. */ +#ifndef YY_START_STACK_INCR +#define YY_START_STACK_INCR 25 +#endif + +/* Report a fatal error. */ +#ifndef YY_FATAL_ERROR +#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_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. + */ +#ifndef YY_USER_ACTION +#define YY_USER_ACTION +#endif + +/* Code executed at the end of each rule. */ +#ifndef YY_BREAK +#define YY_BREAK /*LINTED*/break; +#endif + +#define YY_RULE_SETUP \ + if ( yyleng > 0 ) \ + 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 +{ + yy_state_type yy_current_state; + char *yy_cp, *yy_bp; + int yy_act; + + if ( !(yy_init) ) + { + (yy_init) = 1; + +#ifdef YY_USER_INIT + YY_USER_INIT; +#endif + + if ( ! (yy_start) ) + (yy_start) = 1; /* first start state */ + + if ( ! yyin ) + yyin = stdin; + + if ( ! yyout ) + yyout = stdout; + + if ( ! YY_CURRENT_BUFFER ) { + yyensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + yy_create_buffer( yyin, YY_BUF_SIZE ); + } + + yy_load_buffer_state( ); + } + + { +#line 119 "toke.l" + +#line 3576 "toke.c" + + while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ + { + yy_cp = (yy_c_buf_p); + + /* Support of yytext. */ + *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_AT_BOL(); +yy_match: + do + { + YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + 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 >= 1242 ) + yy_c = yy_meta[yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; + ++yy_cp; + } + while ( yy_base[yy_current_state] != 9534 ); + +yy_find_action: + yy_act = yy_accept[yy_current_state]; + if ( yy_act == 0 ) + { /* have to back up */ + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + yy_act = 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 0: /* must back up */ + /* undo the effects of YY_DO_BEFORE_ACTION */ + *yy_cp = (yy_hold_char); + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); + goto yy_find_action; + +case 1: +YY_RULE_SETUP +#line 120 "toke.l" +{ + LEXTRACE(", "); + return ','; + } /* return ',' */ + YY_BREAK +case 2: +YY_RULE_SETUP +#line 125 "toke.l" +BEGIN STARTDEFS; + YY_BREAK +case 3: +YY_RULE_SETUP +#line 127 "toke.l" +{ + BEGIN INDEFS; + LEXTRACE("DEFVAR "); + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + return DEFVAR; + } + YY_BREAK + +case 4: +YY_RULE_SETUP +#line 136 "toke.l" +{ + BEGIN STARTDEFS; + LEXTRACE(", "); + return ','; + } /* return ',' */ + YY_BREAK +case 5: +YY_RULE_SETUP +#line 142 "toke.l" +{ + LEXTRACE("= "); + return '='; + } /* return '=' */ + YY_BREAK +case 6: +YY_RULE_SETUP +#line 147 "toke.l" +{ + LEXTRACE("+= "); + return '+'; + } /* return '+' */ + YY_BREAK +case 7: +YY_RULE_SETUP +#line 152 "toke.l" +{ + LEXTRACE("-= "); + return '-'; + } /* return '-' */ + YY_BREAK +case 8: +YY_RULE_SETUP +#line 157 "toke.l" +{ + LEXTRACE("BEGINSTR "); + sudoerslval.string = NULL; + prev_state = YY_START; + BEGIN INSTR; + } + YY_BREAK +case 9: +YY_RULE_SETUP +#line 164 "toke.l" +{ + LEXTRACE("WORD(2) "); + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + return WORD; + } + YY_BREAK + + +case 10: +/* rule 10 can match eol */ +YY_RULE_SETUP +#line 173 "toke.l" +{ + /* Line continuation char followed by newline. */ + sudolineno++; + continued = true; + } + YY_BREAK +case 11: +YY_RULE_SETUP +#line 179 "toke.l" +{ + LEXTRACE("ENDSTR "); + BEGIN prev_state; + + if (sudoerslval.string == NULL) { + sudoers_errstr = N_("empty string"); + LEXTRACE("ERROR "); + return ERROR; + } + if (prev_state == INITIAL || prev_state == GOTDEFS) { + switch (sudoerslval.string[0]) { + case '%': + if (sudoerslval.string[1] == '\0' || + (sudoerslval.string[1] == ':' && + sudoerslval.string[2] == '\0')) { + parser_leak_remove(LEAK_PTR, sudoerslval.string); + free(sudoerslval.string); + sudoers_errstr = N_("empty group"); + LEXTRACE("ERROR "); + return ERROR; + } + LEXTRACE("USERGROUP "); + return USERGROUP; + case '+': + if (sudoerslval.string[1] == '\0') { + parser_leak_remove(LEAK_PTR, sudoerslval.string); + free(sudoerslval.string); + sudoers_errstr = N_("empty netgroup"); + LEXTRACE("ERROR "); + return ERROR; + } + LEXTRACE("NETGROUP "); + return NETGROUP; + } + } + LEXTRACE("WORD(4) "); + return WORD; + } + YY_BREAK +case 12: +YY_RULE_SETUP +#line 218 "toke.l" +{ + LEXTRACE("BACKSLASH "); + if (!append(sudoerstext, sudoersleng)) + yyterminate(); + } + YY_BREAK +case 13: +YY_RULE_SETUP +#line 224 "toke.l" +{ + LEXTRACE("STRBODY "); + if (!append(sudoerstext, sudoersleng)) + yyterminate(); + } + YY_BREAK + + +case 14: +YY_RULE_SETUP +#line 232 "toke.l" +{ + /* quoted fnmatch glob char, pass verbatim */ + LEXTRACE("QUOTEDCHAR "); + if (!fill_args(sudoerstext, 2, sawspace)) + yyterminate(); + sawspace = false; + } + YY_BREAK +case 15: +YY_RULE_SETUP +#line 240 "toke.l" +{ + /* quoted sudoers special char, strip backslash */ + LEXTRACE("QUOTEDCHAR "); + if (!fill_args(sudoerstext + 1, 1, sawspace)) + yyterminate(); + sawspace = false; + } + YY_BREAK +case 16: +/* rule 16 can match eol */ +YY_RULE_SETUP +#line 248 "toke.l" +{ + BEGIN INITIAL; + sudoersless(0); + yy_set_bol(0); + return COMMAND; + } /* end of command line args */ + YY_BREAK +case 17: +YY_RULE_SETUP +#line 255 "toke.l" +{ + if (sudoerslval.command.args == NULL && sudoerstext[0] == '^') { + LEXTRACE("ARG REGEX "); + BEGIN GOTREGEX; + sudoersless(0); + yy_set_bol(0); + } else { + LEXTRACE("ARG "); + if (!fill_args(sudoerstext, sudoersleng, sawspace)) + yyterminate(); + sawspace = false; + } + } /* a command line arg */ + YY_BREAK + + +case 18: +YY_RULE_SETUP +#line 271 "toke.l" +{ + /* quoted character, pass verbatim */ + LEXTRACE("QUOTEDCHAR "); + if (!fill_args(sudoerstext, 2, false)) + yyterminate(); + } + YY_BREAK +case 19: +/* rule 19 can match eol */ +YY_RULE_SETUP +#line 278 "toke.l" +{ + /* Let the parser attempt to recover. */ + sudoersless(0); + yy_set_bol(0); + BEGIN INITIAL; + + sudoers_errstr = N_("unterminated regular expression"); + LEXTRACE("ERROR "); + return ERROR; + } /* illegal inside regex */ + YY_BREAK +case 20: +YY_RULE_SETUP +#line 289 "toke.l" +{ + if (!fill_args("$", 1, false)) + yyterminate(); + BEGIN INITIAL; + continued = false; + if (sudoers_strict()) { + if (!sudo_regex_compile(NULL, sudoerstext, &sudoers_errstr)) { + LEXTRACE("ERROR "); + return ERROR; + } + } + return COMMAND; + } + YY_BREAK +case 21: +YY_RULE_SETUP +#line 303 "toke.l" +{ + if (continued) { + /* remove whitespace after line continuation */ + while (isblank((unsigned char)*sudoerstext)) { + sudoerstext++; + sudoersleng--; + } + continued = false; + } + if (sudoersleng != 0) { + if (!fill_args(sudoerstext, sudoersleng, false)) + yyterminate(); + } + } + YY_BREAK + +case 22: +YY_RULE_SETUP +#line 319 "toke.l" +{ + /* Only return DIGEST if the length is correct. */ + size_t digest_len = + sudo_digest_getlen(digest_type); + if ((size_t)sudoersleng == digest_len * 2) { + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + BEGIN INITIAL; + LEXTRACE("DIGEST "); + return DIGEST; + } + BEGIN INITIAL; + sudoersless(sudoersleng); + } /* hex digest */ + YY_BREAK +case 23: +YY_RULE_SETUP +#line 334 "toke.l" +{ + /* Only return DIGEST if the length is correct. */ + size_t len, digest_len = + sudo_digest_getlen(digest_type); + if (sudoerstext[sudoersleng - 1] == '=') { + /* use padding */ + len = 4 * ((digest_len + 2) / 3); + } else { + /* no padding */ + len = (4 * digest_len + 2) / 3; + } + if ((size_t)sudoersleng == len) { + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + BEGIN INITIAL; + LEXTRACE("DIGEST "); + return DIGEST; + } + BEGIN INITIAL; + sudoersless(sudoersleng); + } /* base64 digest */ + YY_BREAK +case 24: +YY_RULE_SETUP +#line 356 "toke.l" +{ + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + BEGIN GOTINC; + LEXTRACE("INCLUDE "); + return INCLUDE; + } + YY_BREAK +case 25: +YY_RULE_SETUP +#line 368 "toke.l" +{ + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + BEGIN GOTINC; + LEXTRACE("INCLUDEDIR "); + return INCLUDEDIR; + } + YY_BREAK +case 26: +/* rule 26 can match eol */ +YY_RULE_SETUP +#line 380 "toke.l" +{ + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + /* only consume #include */ + sudoersless(sizeof("#include") - 1); + yy_set_bol(0); + + BEGIN GOTINC; + LEXTRACE("INCLUDE "); + return INCLUDE; + } + YY_BREAK +case 27: +/* rule 27 can match eol */ +YY_RULE_SETUP +#line 396 "toke.l" +{ + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + /* only consume #includedir */ + sudoersless(sizeof("#includedir") - 1); + yy_set_bol(0); + + BEGIN GOTINC; + LEXTRACE("INCLUDEDIR "); + return INCLUDEDIR; + } + YY_BREAK +case 28: +YY_RULE_SETUP +#line 412 "toke.l" +{ + char deftype; + size_t n; + + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + for (n = 0; isblank((unsigned char)sudoerstext[n]); n++) + continue; + n += sizeof("Defaults") - 1; + if ((deftype = sudoerstext[n++]) != '\0') { + while (isblank((unsigned char)sudoerstext[n])) + n++; + } + BEGIN GOTDEFS; + switch (deftype) { + case ':': + sudoersless(n); + LEXTRACE("DEFAULTS_USER "); + return DEFAULTS_USER; + case '>': + sudoersless(n); + LEXTRACE("DEFAULTS_RUNAS "); + return DEFAULTS_RUNAS; + case '@': + sudoersless(n); + LEXTRACE("DEFAULTS_HOST "); + return DEFAULTS_HOST; + case '!': + sudoersless(n); + LEXTRACE("DEFAULTS_CMND "); + return DEFAULTS_CMND; + default: + LEXTRACE("DEFAULTS "); + return DEFAULTS; + } + } + YY_BREAK +case 29: +YY_RULE_SETUP +#line 453 "toke.l" +{ + size_t n; + + if (continued) { + sudoers_errstr = N_("invalid line continuation"); + LEXTRACE("ERROR "); + return ERROR; + } + + for (n = 0; isblank((unsigned char)sudoerstext[n]); n++) + continue; + switch (sudoerstext[n]) { + case 'H': + LEXTRACE("HOSTALIAS "); + return HOSTALIAS; + case 'C': + LEXTRACE("CMNDALIAS "); + return CMNDALIAS; + case 'U': + LEXTRACE("USERALIAS "); + return USERALIAS; + case 'R': + LEXTRACE("RUNASALIAS "); + return RUNASALIAS; + } + } + YY_BREAK +case 30: +YY_RULE_SETUP +#line 480 "toke.l" +{ + /* cmnd does not require passwd for this user */ + LEXTRACE("NOPASSWD "); + return NOPASSWD; + } + YY_BREAK +case 31: +YY_RULE_SETUP +#line 486 "toke.l" +{ + /* cmnd requires passwd for this user */ + LEXTRACE("PASSWD "); + return PASSWD; + } + YY_BREAK +case 32: +YY_RULE_SETUP +#line 492 "toke.l" +{ + LEXTRACE("NOEXEC "); + return NOEXEC; + } + YY_BREAK +case 33: +YY_RULE_SETUP +#line 497 "toke.l" +{ + LEXTRACE("EXEC "); + return EXEC; + } + YY_BREAK +case 34: +YY_RULE_SETUP +#line 502 "toke.l" +{ + LEXTRACE("INTERCEPT "); + return INTERCEPT; + } + YY_BREAK +case 35: +YY_RULE_SETUP +#line 507 "toke.l" +{ + LEXTRACE("NOINTERCEPT "); + return NOINTERCEPT; + } + YY_BREAK +case 36: +YY_RULE_SETUP +#line 512 "toke.l" +{ + LEXTRACE("SETENV "); + return SETENV; + } + YY_BREAK +case 37: +YY_RULE_SETUP +#line 517 "toke.l" +{ + LEXTRACE("NOSETENV "); + return NOSETENV; + } + YY_BREAK +case 38: +YY_RULE_SETUP +#line 522 "toke.l" +{ + LEXTRACE("LOG_OUTPUT "); + return LOG_OUTPUT; + } + YY_BREAK +case 39: +YY_RULE_SETUP +#line 527 "toke.l" +{ + LEXTRACE("NOLOG_OUTPUT "); + return NOLOG_OUTPUT; + } + YY_BREAK +case 40: +YY_RULE_SETUP +#line 532 "toke.l" +{ + LEXTRACE("LOG_INPUT "); + return LOG_INPUT; + } + YY_BREAK +case 41: +YY_RULE_SETUP +#line 537 "toke.l" +{ + LEXTRACE("NOLOG_INPUT "); + return NOLOG_INPUT; + } + YY_BREAK +case 42: +YY_RULE_SETUP +#line 542 "toke.l" +{ + LEXTRACE("MAIL "); + return MAIL; + } + YY_BREAK +case 43: +YY_RULE_SETUP +#line 547 "toke.l" +{ + LEXTRACE("NOMAIL "); + return NOMAIL; + } + YY_BREAK +case 44: +YY_RULE_SETUP +#line 552 "toke.l" +{ + LEXTRACE("FOLLOW "); + return FOLLOWLNK; + } + YY_BREAK +case 45: +YY_RULE_SETUP +#line 557 "toke.l" +{ + LEXTRACE("NOFOLLOW "); + return NOFOLLOWLNK; + } + YY_BREAK +case 46: +YY_RULE_SETUP +#line 562 "toke.l" +{ + if (sudoerstext[0] == '+') + sudoers_errstr = N_("empty netgroup"); + else + sudoers_errstr = N_("empty group"); + LEXTRACE("ERROR "); + return ERROR; + } + YY_BREAK +case 47: +YY_RULE_SETUP +#line 571 "toke.l" +{ + /* netgroup */ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NETGROUP "); + return NETGROUP; + } + YY_BREAK +case 48: +YY_RULE_SETUP +#line 579 "toke.l" +{ + /* group */ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("USERGROUP "); + return USERGROUP; + } + YY_BREAK +case 49: +YY_RULE_SETUP +#line 587 "toke.l" +{ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NTWKADDR "); + return NTWKADDR; + } + YY_BREAK +case 50: +YY_RULE_SETUP +#line 594 "toke.l" +{ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NTWKADDR "); + return NTWKADDR; + } + YY_BREAK +case 51: +YY_RULE_SETUP +#line 601 "toke.l" +{ + if (!ipv6_valid(sudoerstext)) { + sudoers_errstr = N_("invalid IPv6 address"); + LEXTRACE("ERROR "); + return ERROR; + } + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NTWKADDR "); + return NTWKADDR; + } + YY_BREAK +case 52: +YY_RULE_SETUP +#line 613 "toke.l" +{ + if (!ipv6_valid(sudoerstext)) { + sudoers_errstr = N_("invalid IPv6 address"); + LEXTRACE("ERROR "); + return ERROR; + } + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NTWKADDR "); + return NTWKADDR; + } + YY_BREAK +case 53: +YY_RULE_SETUP +#line 625 "toke.l" +{ + LEXTRACE("ALL "); + return ALL; + + } + YY_BREAK +case 54: +YY_RULE_SETUP +#line 631 "toke.l" +{ + LEXTRACE("CMND_TIMEOUT "); + return CMND_TIMEOUT; + } + YY_BREAK +case 55: +YY_RULE_SETUP +#line 636 "toke.l" +{ + LEXTRACE("NOTBEFORE "); + return NOTBEFORE; + } + YY_BREAK +case 56: +YY_RULE_SETUP +#line 641 "toke.l" +{ + LEXTRACE("NOTAFTER "); + return NOTAFTER; + } + YY_BREAK +case 57: +YY_RULE_SETUP +#line 646 "toke.l" +{ + LEXTRACE("CWD "); + prev_state = YY_START; + BEGIN EXPECTPATH; + return CWD; + } + YY_BREAK +case 58: +YY_RULE_SETUP +#line 653 "toke.l" +{ + LEXTRACE("CHROOT "); + prev_state = YY_START; + BEGIN EXPECTPATH; + return CHROOT; + } + YY_BREAK +case 59: +YY_RULE_SETUP +#line 660 "toke.l" +{ +#ifdef HAVE_SELINUX + LEXTRACE("ROLE "); + return ROLE; +#else + goto got_alias; +#endif + } + YY_BREAK +case 60: +YY_RULE_SETUP +#line 669 "toke.l" +{ +#ifdef HAVE_SELINUX + LEXTRACE("TYPE "); + return TYPE; +#else + goto got_alias; +#endif + } + YY_BREAK +case 61: +YY_RULE_SETUP +#line 677 "toke.l" +{ +#ifdef HAVE_APPARMOR + LEXTRACE("APPARMOR_PROFILE "); + return APPARMOR_PROFILE; +#else + goto got_alias; +#endif + } + YY_BREAK +case 62: +YY_RULE_SETUP +#line 685 "toke.l" +{ +#ifdef HAVE_PRIV_SET + LEXTRACE("PRIVS "); + return PRIVS; +#else + goto got_alias; +#endif + } + YY_BREAK +case 63: +YY_RULE_SETUP +#line 694 "toke.l" +{ +#ifdef HAVE_PRIV_SET + LEXTRACE("LIMITPRIVS "); + return LIMITPRIVS; +#else + goto got_alias; +#endif + } + YY_BREAK +case 64: +YY_RULE_SETUP +#line 703 "toke.l" +{ + got_alias: + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("ALIAS "); + return ALIAS; + } + YY_BREAK +case 65: +YY_RULE_SETUP +#line 711 "toke.l" +{ + /* XXX - no way to specify digest for command */ + /* no command args allowed for Defaults!/path */ + if (!fill_cmnd(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("COMMAND "); + return COMMAND; + } + YY_BREAK +case 66: +YY_RULE_SETUP +#line 720 "toke.l" +{ + digest_type = SUDO_DIGEST_SHA224; + BEGIN WANTDIGEST; + LEXTRACE("SHA224_TOK "); + return SHA224_TOK; + } + YY_BREAK +case 67: +YY_RULE_SETUP +#line 727 "toke.l" +{ + digest_type = SUDO_DIGEST_SHA256; + BEGIN WANTDIGEST; + LEXTRACE("SHA256_TOK "); + return SHA256_TOK; + } + YY_BREAK +case 68: +YY_RULE_SETUP +#line 734 "toke.l" +{ + digest_type = SUDO_DIGEST_SHA384; + BEGIN WANTDIGEST; + LEXTRACE("SHA384_TOK "); + return SHA384_TOK; + } + YY_BREAK +case 69: +YY_RULE_SETUP +#line 741 "toke.l" +{ + digest_type = SUDO_DIGEST_SHA512; + BEGIN WANTDIGEST; + LEXTRACE("SHA512_TOK "); + return SHA512_TOK; + } + YY_BREAK +case 70: +YY_RULE_SETUP +#line 748 "toke.l" +{ + BEGIN GOTCMND; + LEXTRACE("COMMAND "); + if (!fill_cmnd(sudoerstext, sudoersleng)) + yyterminate(); + } /* sudo -e */ + YY_BREAK +case 71: +YY_RULE_SETUP +#line 755 "toke.l" +{ + BEGIN prev_state; + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("WORD(5) "); + return WORD; + } + YY_BREAK +case 72: +YY_RULE_SETUP +#line 763 "toke.l" +{ + /* directories can't have args... */ + if (sudoerstext[sudoersleng - 1] == '/') { + LEXTRACE("COMMAND "); + if (!fill_cmnd(sudoerstext, sudoersleng)) + yyterminate(); + return COMMAND; + } + BEGIN GOTCMND; + LEXTRACE("COMMAND "); + if (!fill_cmnd(sudoerstext, sudoersleng)) + yyterminate(); + } /* a pathname */ + YY_BREAK +case 73: +YY_RULE_SETUP +#line 777 "toke.l" +{ + if (sudoers_strict()) { + if (!sudo_regex_compile(NULL, sudoerstext, &sudoers_errstr)) { + LEXTRACE("ERROR "); + return ERROR; + } + } + BEGIN GOTCMND; + LEXTRACE("COMMAND "); + if (!fill_cmnd(sudoerstext, sudoersleng)) + yyterminate(); + } /* a regex */ + YY_BREAK +case 74: +YY_RULE_SETUP +#line 790 "toke.l" +{ + LEXTRACE("BEGINSTR "); + sudoerslval.string = NULL; + prev_state = YY_START; + BEGIN INSTR; + } + YY_BREAK +case 75: +YY_RULE_SETUP +#line 797 "toke.l" +{ + /* a word */ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("WORD(6) "); + return WORD; + } + YY_BREAK + +case 76: +YY_RULE_SETUP +#line 806 "toke.l" +{ + /* include file/directory */ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + BEGIN INITIAL; + LEXTRACE("WORD(7) "); + return WORD; + } + YY_BREAK +case 77: +YY_RULE_SETUP +#line 815 "toke.l" +{ + LEXTRACE("BEGINSTR "); + sudoerslval.string = NULL; + prev_state = INITIAL; + BEGIN INSTR; + } + YY_BREAK + +case 78: +YY_RULE_SETUP +#line 823 "toke.l" +{ + LEXTRACE("( "); + return '('; + } + YY_BREAK +case 79: +YY_RULE_SETUP +#line 828 "toke.l" +{ + LEXTRACE(") "); + return ')'; + } + YY_BREAK +case 80: +YY_RULE_SETUP +#line 833 "toke.l" +{ + LEXTRACE(", "); + return ','; + } /* return ',' */ + YY_BREAK +case 81: +YY_RULE_SETUP +#line 838 "toke.l" +{ + LEXTRACE("= "); + return '='; + } /* return '=' */ + YY_BREAK +case 82: +YY_RULE_SETUP +#line 843 "toke.l" +{ + LEXTRACE(": "); + return ':'; + } /* return ':' */ + YY_BREAK +case 83: +YY_RULE_SETUP +#line 848 "toke.l" +{ + if (sudoersleng & 1) { + LEXTRACE("!"); + return '!'; /* return '!' */ + } + } + YY_BREAK +case 84: +/* rule 84 can match eol */ +YY_RULE_SETUP +#line 855 "toke.l" +{ + if (YY_START == INSTR) { + /* throw away old string */ + parser_leak_remove(LEAK_PTR, sudoerslval.string); + free(sudoerslval.string); + /* re-scan after changing state */ + BEGIN INITIAL; + sudoersless(0); + sudoers_errstr = N_("unexpected line break in string"); + LEXTRACE("ERROR "); + return ERROR; + } + BEGIN INITIAL; + sudolineno++; + continued = false; + LEXTRACE("\n"); + return '\n'; + } /* return newline */ + YY_BREAK +case 85: +YY_RULE_SETUP +#line 874 "toke.l" +{ /* throw away space/tabs */ + sawspace = true; /* but remember for fill_args */ + } + YY_BREAK +case 86: +/* rule 86 can match eol */ +YY_RULE_SETUP +#line 878 "toke.l" +{ + sawspace = true; /* remember for fill_args */ + sudolineno++; + continued = true; + } /* throw away EOL after \ */ + YY_BREAK +case 87: +/* rule 87 can match eol */ +YY_RULE_SETUP +#line 884 "toke.l" +{ + if (sudoerstext[sudoersleng - 1] == '\n') { + /* comment ending in a newline */ + BEGIN INITIAL; + sudolineno++; + continued = false; + } else if (!feof(sudoersin)) { + sudoers_errstr = strerror(errno); + LEXTRACE("ERROR "); + return ERROR; + } + LEXTRACE("#\n"); + return '\n'; + } /* comment, not uid/gid */ + YY_BREAK +case 88: +YY_RULE_SETUP +#line 899 "toke.l" +{ + LEXTRACE("NOMATCH "); + return NOMATCH; + } /* parse error, no matching token */ + YY_BREAK +case YY_STATE_EOF(INITIAL): +case YY_STATE_EOF(GOTDEFS): +case YY_STATE_EOF(GOTCMND): +case YY_STATE_EOF(GOTREGEX): +case YY_STATE_EOF(STARTDEFS): +case YY_STATE_EOF(INDEFS): +case YY_STATE_EOF(INSTR): +case YY_STATE_EOF(WANTDIGEST): +case YY_STATE_EOF(GOTINC): +case YY_STATE_EOF(EXPECTPATH): +#line 904 "toke.l" +{ + if (!pop_include()) + yyterminate(); + } + YY_BREAK +case 89: +YY_RULE_SETUP +#line 909 "toke.l" +ECHO; + YY_BREAK +#line 4713 "toke.c" + + 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; + + /* Undo the effects of YY_DO_BEFORE_ACTION. */ + *yy_cp = (yy_hold_char); + YY_RESTORE_YY_MORE_OFFSET + + 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 + * 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_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 + * of the first EOB in the buffer, since yy_c_buf_p will + * already have been incremented past the NUL character + * (since all states make transitions on EOB to the + * end-of-buffer state). Contrast this with the test + * in input(). + */ + 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_current_state = yy_get_previous_state( ); + + /* Okay, we're now positioned to make the NUL + * transition. We couldn't have + * yy_get_previous_state() go ahead and do it + * for us because it doesn't know how to deal + * with the possibility of jamming (and we don't + * want to build jamming into it because then it + * will run more slowly). + */ + + yy_next_state = yy_try_NUL_trans( yy_current_state ); + + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + + if ( yy_next_state ) + { + /* Consume the NUL. */ + yy_cp = ++(yy_c_buf_p); + yy_current_state = yy_next_state; + goto yy_match; + } + + else + { + yy_cp = (yy_c_buf_p); + goto yy_find_action; + } + } + + else switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_END_OF_FILE: + { + (yy_did_buffer_switch_on_eof) = 0; + + if ( yywrap( ) ) + { + /* Note: because we've taken care in + * yy_get_next_buffer() to have set up + * yytext, we can now set up + * yy_c_buf_p so that if some total + * hoser (like flex itself) wants to + * call the scanner after we return the + * YY_NULL, it'll still work - another + * YY_NULL will get returned. + */ + (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; + + yy_act = YY_STATE_EOF(YY_START); + goto do_action; + } + + else + { + 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_current_state = yy_get_previous_state( ); + + 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_LVALUE->yy_ch_buf[(yy_n_chars)]; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_find_action; + } + break; + } + + default: + YY_FATAL_ERROR( + "fatal flex scanner internal error--no action found" ); + } /* end of action switch */ + } /* end of scanning one token */ + } /* end of user's declarations */ +} /* end of yylex */ + +/* yy_get_next_buffer - try to read in a new buffer + * + * Returns a code representing an action: + * EOB_ACT_LAST_MATCH - + * EOB_ACT_CONTINUE_SCAN - continue scanning from current position + * EOB_ACT_END_OF_FILE - end of file + */ +static int yy_get_next_buffer (void) +{ + char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + char *source = (yytext_ptr); + int number_to_move, i; + int ret_val; + + 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_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 ) + { + /* We matched a single character, the EOB, so + * treat this as a final EOF. + */ + return EOB_ACT_END_OF_FILE; + } + + else + { + /* We matched some text prior to the EOB, first + * process it. + */ + return EOB_ACT_LAST_MATCH; + } + } + + /* Try to read more data. */ + + /* First move last chars to start of buffer. */ + 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_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_LVALUE->yy_n_chars = (yy_n_chars) = 0; + + else + { + 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. */ + + /* just a shorter name for the current buffer */ + YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE; + + 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. */ + yyrealloc( (void *) b->yy_ch_buf, + (yy_size_t) (b->yy_buf_size + 2) ); + } + else + /* Can't grow it, we don't own it. */ + b->yy_ch_buf = NULL; + + 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_LVALUE->yy_buf_size - + number_to_move - 1; + + } + + if ( num_to_read > YY_READ_BUF_SIZE ) + num_to_read = YY_READ_BUF_SIZE; + + /* Read in more data. */ + YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), + (yy_n_chars), num_to_read ); + + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + if ( (yy_n_chars) == 0 ) + { + if ( number_to_move == YY_MORE_ADJ ) + { + ret_val = EOB_ACT_END_OF_FILE; + yyrestart( yyin ); + } + + else + { + ret_val = EOB_ACT_LAST_MATCH; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = + YY_BUFFER_EOF_PENDING; + } + } + + else + ret_val = EOB_ACT_CONTINUE_SCAN; + + if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { + /* Extend the array by 50%, plus the number we really need. */ + int 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, (yy_size_t) new_size ); + if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); + /* "- 2" to take care of EOB's */ + YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); + } + + (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; + + (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 (void) +{ + yy_state_type yy_current_state; + char *yy_cp; + + yy_current_state = (yy_start); + yy_current_state += YY_AT_BOL(); + + for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) + { + YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + 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 >= 1242 ) + yy_c = yy_meta[yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; + } + + 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 ); + */ + static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) +{ + int yy_is_jam; + char *yy_cp = (yy_c_buf_p); + + YY_CHAR yy_c = 1; + if ( yy_accept[yy_current_state] ) + { + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; + } + 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 >= 1242 ) + yy_c = yy_meta[yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; + yy_is_jam = (yy_current_state == 1241); + + return yy_is_jam ? 0 : yy_current_state; +} + +#ifndef YY_NO_UNPUT + +#endif + +#ifndef YY_NO_INPUT +#ifdef __cplusplus + static int yyinput (void) +#else + static int input (void) +#endif + +{ + int c; + + *(yy_c_buf_p) = (yy_hold_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_LVALUE->yy_ch_buf[(yy_n_chars)] ) + /* This was really a NUL. */ + *(yy_c_buf_p) = '\0'; + + else + { /* need more input */ + int offset = (int) ((yy_c_buf_p) - (yytext_ptr)); + ++(yy_c_buf_p); + + switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_LAST_MATCH: + /* This happens because yy_g_n_b() + * sees that we've accumulated a + * token and flags that we need to + * try matching the token before + * proceeding. But for input(), + * there's no matching to consider. + * So convert the EOB_ACT_LAST_MATCH + * to EOB_ACT_END_OF_FILE. + */ + + /* Reset buffer status. */ + yyrestart( yyin ); + + FALLTHROUGH; + + case EOB_ACT_END_OF_FILE: + { + if ( yywrap( ) ) + return 0; + + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; +#ifdef __cplusplus + return yyinput(); +#else + return input(); +#endif + } + + case EOB_ACT_CONTINUE_SCAN: + (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); + + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); + + return c; +} +#endif /* ifndef YY_NO_INPUT */ + +/** 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( ); +} + +/** 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 ) + { + /* 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); + } + + 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; +} + +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); +} + +/** 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) yyalloc( sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); + + b->yy_buf_size = 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 *) yyalloc( (yy_size_t) (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 ); + + return b; +} + +/** 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 ) /* Not sure if we should pop here. */ + YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; + + if ( b->yy_is_our_buffer ) + yyfree( (void *) b->yy_ch_buf ); + + yyfree( (void *) b ); +} + +/* 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 ) + +{ + int oerrno = errno; + + yy_flush_buffer( b ); + + b->yy_input_file = file; + b->yy_fill_buffer = 1; + + /* 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; + } + + b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; + + errno = oerrno; +} + +/** 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; + + /* We always need two end-of-buffer characters. The first causes + * a transition to the end-of-buffer state. The second causes + * a jam in that state. + */ + b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; + b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; + + b->yy_buf_pos = &b->yy_ch_buf[0]; + + b->yy_at_bol = 1; + b->yy_buffer_status = YY_BUFFER_NEW; + + 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) +{ + yy_size_t 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; /* After all that talk, this was set to 1 anyways... */ + (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; + } + + if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ + + /* Increase the buffer to prepare for a possible push. */ + yy_size_t 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 NULL; + + b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); + + b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ + b->yy_buf_pos = b->yy_ch_buf = base; + b->yy_is_our_buffer = 0; + b->yy_input_file = NULL; + b->yy_n_chars = b->yy_buf_size; + b->yy_is_interactive = 0; + b->yy_at_bol = 1; + b->yy_fill_buffer = 0; + b->yy_buffer_status = YY_BUFFER_NEW; + + yy_switch_to_buffer( b ); + + return b; +} + +/** 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 (const char * yystr ) +{ + + return yy_scan_bytes( yystr, (int) strlen(yystr) ); +} + +/** 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 yybytes the byte buffer to scan + * @param _yybytes_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 (const 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 = (yy_size_t) (_yybytes_len + 2); + buf = (char *) yyalloc( n ); + if ( ! buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); + + for ( i = 0; i < _yybytes_len; ++i ) + buf[i] = yybytes[i]; + + buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; + + b = yy_scan_buffer( buf, n ); + if ( ! b ) + YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); + + /* It's okay to grow etc. this buffer, and we should throw it + * away when we're done. + */ + b->yy_is_our_buffer = 1; + + return b; +} + +#ifndef YY_EXIT_FAILURE +#define YY_EXIT_FAILURE 2 +#endif + +static void yynoreturn yy_fatal_error (const char* msg ) +{ + fprintf( stderr, "%s\n", msg ); + exit( YY_EXIT_FAILURE ); +} + +/* Redefine yyless() so it works in section 3 code. */ + +#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 ) + +/* Accessor methods (get/set functions) to struct members. */ + +/** Get the current line number. + * + */ +int yyget_lineno (void) +{ + + return yylineno; +} + +/** Get the input stream. + * + */ +FILE *yyget_in (void) +{ + return yyin; +} + +/** Get the output stream. + * + */ +FILE *yyget_out (void) +{ + return yyout; +} + +/** Get the length of the current token. + * + */ +int yyget_leng (void) +{ + return yyleng; +} + +/** Get the current token. + * + */ + +char *yyget_text (void) +{ + return yytext; +} + +/** Set the current line number. + * @param _line_number 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 ; +} + +void yyset_out (FILE * _out_str ) +{ + yyout = _out_str ; +} + +int yyget_debug (void) +{ + return yy_flex_debug; +} + +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) = NULL; + (yy_buffer_stack_top) = 0; + (yy_buffer_stack_max) = 0; + (yy_c_buf_p) = NULL; + (yy_init) = 0; + (yy_start) = 0; + +/* Defined in main.c */ +#ifdef YY_STDINIT + yyin = stdin; + yyout = stdout; +#else + yyin = NULL; + yyout = NULL; +#endif + + /* 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(); + } + + /* Destroy the stack itself. */ + yyfree((yy_buffer_stack) ); + (yy_buffer_stack) = 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( ); + + return 0; +} + +/* + * Internal utility routines. + */ + +#ifndef yytext_ptr +static void yy_flex_strncpy (char* s1, const char * s2, int n ) +{ + + int i; + for ( i = 0; i < n; ++i ) + s1[i] = s2[i]; +} +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen (const char * s ) +{ + int n; + for ( n = 0; s[n]; ++n ) + ; + + return n; +} +#endif + +void *yyalloc (yy_size_t size ) +{ + return malloc(size); +} + +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 + * because both ANSI C and C++ allow castless assignment from + * any pointer type to void*, and deal with argument conversions + * as though doing an assignment. + */ + return realloc(ptr, size); +} + +void yyfree (void * ptr ) +{ + free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ +} + +#define YYTABLES_NAME "yytables" + +#line 909 "toke.l" + +struct path_list { + SLIST_ENTRY(path_list) entries; + char *path; +}; + +SLIST_HEAD(path_list_head, path_list); + +struct include_stack { + struct sudolinebuf line; + YY_BUFFER_STATE bs; + char *path; /* search path */ + char *file; + struct path_list_head more; /* more files in case of includedir */ + int lineno; + bool keepopen; +}; + +/* + * Compare two struct path_list structs in reverse order. + */ +static int +pl_compare(const void *v1, const void *v2) +{ + const struct path_list * const *p1 = v1; + const struct path_list * const *p2 = v2; + + return strcmp((*p2)->path, (*p1)->path); +} + +/* + * Open dirpath and fill in pathsp with an array of regular files + * that do not end in '~' or contain a '.'. + * Returns the number of files or SIZE_MAX (-1) on error. + * If zero files are found, NULL is stored in pathsp. + */ +static size_t +read_dir_files(const char *dirpath, struct path_list ***pathsp, int verbose) +{ + DIR *dir; + size_t i, count = 0; + size_t max_paths = 32; + struct dirent *dent; + struct path_list **paths = NULL; + const size_t dirlen = strlen(dirpath); + debug_decl(read_dir_files, SUDOERS_DEBUG_PARSER); + + /* XXX - fdopendir */ + dir = opendir(dirpath); + if (dir == NULL) { + if (errno == ENOENT) + goto done; + sudo_warn("%s", dirpath); + goto bad; + } + paths = reallocarray(NULL, max_paths, sizeof(*paths)); + if (paths == NULL) + goto oom; + while ((dent = readdir(dir)) != NULL) { + const size_t namelen = NAMLEN(dent); + const char *name = dent->d_name; + struct path_list *pl; + struct stat sb; + size_t len; + char *path; + + /* Ignore files that end in '~' or have a '.' in them. */ + if (namelen == 0 || name[namelen - 1] == '~' || strchr(name, '.') != NULL) { + /* Warn about ignored files not starting with '.' if verbose. */ + if (namelen > 0 && name[0] != '.' && verbose > 1) { + if (name[namelen - 1] == '~' || + (namelen > 4 && strcmp(&name[namelen - 4], ".bak") == 0)) { + fprintf(stderr, U_("%s/%s: %s"), dirpath, name, + U_("ignoring editor backup file")); + } else { + fprintf(stderr, U_("%s/%s: %s"), dirpath, name, + U_("ignoring file name containing '.'")); + } + fputc('\n', stderr); + } + continue; + } + len = dirlen + 1 + namelen; + if ((path = sudo_rcstr_alloc(len)) == NULL) + goto oom; + if ((size_t)snprintf(path, len + 1, "%s/%s", dirpath, name) != len) { + sudo_warnx(U_("internal error, %s overflow"), __func__); + sudo_rcstr_delref(path); + goto bad; + } + if (stat(path, &sb) != 0 || !S_ISREG(sb.st_mode)) { + sudo_rcstr_delref(path); + continue; + } + pl = malloc(sizeof(*pl)); + if (pl == NULL) { + sudo_rcstr_delref(path); + goto oom; + } + pl->path = path; + if (count >= max_paths) { + struct path_list **tmp; + max_paths <<= 1; + tmp = reallocarray(paths, max_paths, sizeof(*paths)); + if (tmp == NULL) { + sudo_rcstr_delref(path); + free(pl); + goto oom; + } + paths = tmp; + } + paths[count++] = pl; + } + closedir(dir); + if (count == 0) { + free(paths); + paths = NULL; + } +done: + *pathsp = paths; + debug_return_size_t(count); +oom: + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); +bad: + sudoerserror(NULL); + if (dir != NULL) + closedir(dir); + for (i = 0; i < count; i++) { + sudo_rcstr_delref(paths[i]->path); + free(paths[i]); + } + free(paths); + debug_return_size_t(SIZE_MAX); +} + +/* + * Push a list of all files in dirpath onto stack. + * Returns the number of files or -1 on error. + */ +static size_t +switch_dir(struct include_stack *stack, char *dirpath, int verbose) +{ + struct path_list **paths = NULL; + size_t count, i; + debug_decl(switch_dir, SUDOERS_DEBUG_PARSER); + + count = read_dir_files(dirpath, &paths, verbose); + if (count > 0) { + /* Sort the list as an array in reverse order. */ + qsort(paths, count, sizeof(*paths), pl_compare); + + /* Build up the list in sorted order. */ + for (i = 0; i < count; i++) { + SLIST_INSERT_HEAD(&stack->more, paths[i], entries); + } + free(paths); + } + + debug_return_size_t(count); +} + +#define MAX_SUDOERS_DEPTH 128 +#define SUDOERS_STACK_INCREMENT 16 + +static size_t istacksize, idepth; +static struct include_stack *istack; +static bool keepopen; + +void +init_lexer(void) +{ + struct path_list *pl; + debug_decl(init_lexer, SUDOERS_DEBUG_PARSER); + +#ifndef TRACELEXER + free(trace_lbuf.buf); + sudo_lbuf_init(&trace_lbuf, NULL, 0, NULL, 0); +#endif + + while (idepth) { + idepth--; + while ((pl = SLIST_FIRST(&istack[idepth].more)) != NULL) { + SLIST_REMOVE_HEAD(&istack[idepth].more, entries); + sudo_rcstr_delref(pl->path); + free(pl); + } + sudo_rcstr_delref(istack[idepth].path); + if (idepth && !istack[idepth].keepopen) + fclose(istack[idepth].bs->yy_input_file); + sudoers_delete_buffer(istack[idepth].bs); + free(istack[idepth].line.buf); + } + free(istack); + istack = NULL; + istacksize = idepth = 0; + free(sudolinebuf.buf); + memset(&sudolinebuf, 0, sizeof(sudolinebuf)); + sudolineno = 1; + keepopen = false; + sawspace = false; + continued = false; + digest_type = SUDO_DIGEST_INVALID; + prev_state = INITIAL; + BEGIN INITIAL; + + debug_return; +} + +/* + * Like strlcpy() but expand %h escapes. + */ +static size_t +strlcpy_expand_host(char * restrict dst, const char * restrict src, + const char * restrict host, size_t size) +{ + size_t len = 0; + char ch; + debug_decl(strlcpy_expand_host, SUDOERS_DEBUG_PARSER); + + while ((ch = *src++) != '\0') { + if (ch == '%' && *src == 'h') { + size_t n = strlcpy(dst, host, size); + len += n; + if (n >= size) { + /* truncated */ + n = size ? size - 1 : 0; + } + dst += n; + size -= n; + src++; + continue; + } + if (size > 1) { + *dst++ = ch; + size--; + len++; + } + } + if (size > 0) + *dst = '\0'; + + debug_return_size_t(len); +} + +/* + * Expand any embedded %h (host) escapes in the given path and makes + * a relative path fully-qualified based on the current sudoers file. + * Returns a reference-counted string on success or NULL on failure. + */ +static char * +expand_include(const char *src, const char *host) +{ + const char *path = sudoers_search_path ? sudoers_search_path : sudoers; + const char *path_end = path + strlen(path); + char *dst, *dst0 = NULL, *dynamic_host = NULL; + const char *cp, *ep; + size_t dst_size, src_len; + size_t nhost = 0; + debug_decl(expand_include, SUDOERS_DEBUG_PARSER); + + /* Strip double quotes if present. */ + src_len = strlen(src); + if (src_len > 1 && src[0] == '"' && src[src_len - 1] == '"') { + src++; + src_len -= 2; + } + if (src_len == 0) + debug_return_ptr(NULL); + + /* Check for %h escapes in src. */ + cp = src; + ep = src + src_len; + while (cp < ep) { + if (cp[0] == '%' && cp[1] == 'h') { + nhost++; + cp += 2; + continue; + } + cp++; + } + + /* Check for a path separator in the host name, replace with '_'. */ + if (nhost != 0 && strchr(host, '/') != NULL) { + dynamic_host = malloc(strlen(host) + 1); + if (dynamic_host == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto bad; + } + for (dst = dynamic_host; *host != '\0'; host++) { + if (*host == '/') { + *dst++ = '_'; + continue; + } + *dst++ = *host; + } + *dst = '\0'; + host = dynamic_host; + } + + if (*src == '/') { + /* Fully-qualified path, make a copy and expand %h escapes. */ + dst_size = src_len + (nhost * strlen(host)) - (nhost * 2) + 1; + dst0 = sudo_rcstr_alloc(dst_size - 1); + if (dst0 == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto bad; + } + if (strlcpy_expand_host(dst0, src, host, dst_size) >= dst_size) + goto oflow; + goto done; + } + + /* + * Relative paths are located in the same dir as the sudoers file. + * If the current sudoers file was opened via a colon-separated path, + * use the same path when opening src. + */ + dst_size = 0; + for (cp = sudo_strsplit(path, path_end, ":", &ep); cp != NULL; + cp = sudo_strsplit(NULL, path_end, ":", &ep)) { + char *dirend = memrchr(cp, '/', (size_t)(ep - cp)); + if (dirend != NULL) { + dst_size += (size_t)(dirend - cp) + 1; + } + /* Includes space for ':' separator and NUL terminator. */ + dst_size += src_len + (nhost * strlen(host)) - (nhost * 2) + 1; + } + + /* Make a copy of the fully-qualified path and return it. */ + dst = dst0 = sudo_rcstr_alloc(dst_size - 1); + if (dst0 == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + goto bad; + } + for (cp = sudo_strsplit(path, path_end, ":", &ep); cp != NULL; + cp = sudo_strsplit(NULL, path_end, ":", &ep)) { + size_t len; + char *dirend; + + if (cp != path) { + if (dst_size < 2) + goto oflow; + *dst++ = ':'; + dst_size--; + } + + dirend = memrchr(cp, '/', (size_t)(ep - cp)); + if (dirend != NULL) { + len = (size_t)(dirend - cp) + 1; + if (len >= dst_size) + goto oflow; + memcpy(dst, cp, len); + dst += len; + dst_size -= len; + } + + len = strlcpy_expand_host(dst, src, host, dst_size); + if (len >= dst_size) + goto oflow; + dst += len; + dst_size -= len; + } + *dst = '\0'; + +done: + free(dynamic_host); + debug_return_str(dst0); +oflow: + sudo_warnx(U_("internal error, %s overflow"), __func__); +bad: + sudoerserror(NULL); + free(dynamic_host); + free(dst0); + debug_return_str(NULL); +} + +/* + * Open an include file (or file from a directory), push the old + * sudoers file buffer and switch to the new one. + * A missing or insecure include dir is simply ignored. + * Returns false on error, else true. + */ +static bool +push_include_int(const char *opath, const char *host, bool isdir, + struct sudoers_parser_config *conf) +{ + struct path_list *pl; + char *file = NULL, *path; + FILE *fp; + debug_decl(push_include, SUDOERS_DEBUG_PARSER); + + if ((path = expand_include(opath, host)) == NULL) + debug_return_bool(false); + + /* push current state onto stack */ + if (idepth >= istacksize) { + struct include_stack *new_istack; + + if (idepth > MAX_SUDOERS_DEPTH) { + if (conf->verbose > 0) { + fprintf(stderr, U_("%s: %s"), path, + U_("too many levels of includes")); + fputc('\n', stderr); + } + sudoerserror(NULL); + sudo_rcstr_delref(path); + debug_return_bool(false); + } + istacksize += SUDOERS_STACK_INCREMENT; + new_istack = reallocarray(istack, istacksize, sizeof(*istack)); + if (new_istack == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + sudoerserror(NULL); + sudo_rcstr_delref(path); + debug_return_bool(false); + } + istack = new_istack; + } + SLIST_INIT(&istack[idepth].more); + if (isdir) { + struct stat sb; + char dname[PATH_MAX]; + int fd, status; + size_t count; + + fd = sudo_open_conf_path(path, dname, sizeof(dname), NULL); + if (conf->ignore_perms) { + /* Skip sudoers security checks when ignore_perms is set. */ + if (fd == -1 || fstat(fd, &sb) == -1) + status = SUDO_PATH_MISSING; + else + status = SUDO_PATH_SECURE; + } else { + status = sudo_secure_fd(fd, S_IFDIR, sudoers_file_uid(), + sudoers_file_gid(), &sb); + } + if (fd != -1) + close(fd); /* XXX use in read_dir_files? */ + if (status != SUDO_PATH_SECURE) { + if (conf->verbose > 0) { + switch (status) { + case SUDO_PATH_BAD_TYPE: + errno = ENOTDIR; + sudo_warn("%s", path); + break; + case SUDO_PATH_WRONG_OWNER: + sudo_warnx(U_("%s is owned by uid %u, should be %u"), + path, (unsigned int) sb.st_uid, + (unsigned int) sudoers_file_uid()); + break; + case SUDO_PATH_WORLD_WRITABLE: + sudo_warnx(U_("%s is world writable"), path); + break; + case SUDO_PATH_GROUP_WRITABLE: + sudo_warnx(U_("%s is owned by gid %u, should be %u"), + path, (unsigned int) sb.st_gid, + (unsigned int) sudoers_file_gid()); + break; + default: + break; + } + } + /* A missing or insecure include dir is not a fatal error. */ + sudo_rcstr_delref(path); + debug_return_bool(true); + } + count = switch_dir(&istack[idepth], dname, conf->verbose); + switch (count) { + case SIZE_MAX: + case 0: + /* switch_dir() called sudoerserror() for us */ + sudo_rcstr_delref(path); + debug_return_bool(count ? false : true); + } + + /* Parse the first dir entry we can open, leave the rest for later. */ + do { + sudo_rcstr_delref(file); + sudo_rcstr_delref(path); + if ((pl = SLIST_FIRST(&istack[idepth].more)) == NULL) { + /* Unable to open any files in include dir, not an error. */ + debug_return_bool(true); + } + SLIST_REMOVE_HEAD(&istack[idepth].more, entries); + path = pl->path; + free(pl); + /* The file and path and the same for sudoers.d files. */ + file = path; + sudo_rcstr_addref(file); + } while ((fp = open_sudoers(file, NULL, false, &keepopen)) == NULL); + } else { + if ((fp = open_sudoers(path, &file, true, &keepopen)) == NULL) { + /* The error was already printed by open_sudoers() */ + sudoerserror(NULL); + sudo_rcstr_delref(path); + debug_return_bool(false); + } + } + /* + * Push the old (current) file and open the new one. + * We use the existing refs of sudoers and sudoers_search_path. + */ + istack[idepth].file = sudoers; + istack[idepth].path = sudoers_search_path; + istack[idepth].line = sudolinebuf; + istack[idepth].bs = YY_CURRENT_BUFFER; + istack[idepth].lineno = sudolineno; + istack[idepth].keepopen = keepopen; + idepth++; + sudolineno = 1; + sudoers = file; + sudoers_search_path = path; + sudoers_switch_to_buffer(sudoers_create_buffer(fp, YY_BUF_SIZE)); + memset(&sudolinebuf, 0, sizeof(sudolinebuf)); + + debug_return_bool(true); +} + +bool +push_include(const char *opath, const char *host, + struct sudoers_parser_config *conf) +{ + return push_include_int(opath, host, false, conf); +} + +bool +push_includedir(const char *opath, const char *host, + struct sudoers_parser_config *conf) +{ + return push_include_int(opath, host, true, conf); +} + +/* + * Restore the previous sudoers file and buffer, or, in the case + * of an includedir, switch to the next file in the dir. + * Returns false if there is nothing to pop, else true. + */ +static bool +pop_include(void) +{ + struct path_list *pl; + FILE *fp; + debug_decl(pop_include, SUDOERS_DEBUG_PARSER); + + if (idepth == 0 || YY_CURRENT_BUFFER == NULL) + debug_return_bool(false); + + if (!keepopen) + fclose(YY_CURRENT_BUFFER->yy_input_file); + sudoers_delete_buffer(YY_CURRENT_BUFFER); + /* If we are in an include dir, move to the next file. */ + while ((pl = SLIST_FIRST(&istack[idepth - 1].more)) != NULL) { + SLIST_REMOVE_HEAD(&istack[idepth - 1].more, entries); + fp = open_sudoers(pl->path, NULL, false, &keepopen); + if (fp != NULL) { + sudolinebuf.len = sudolinebuf.off = 0; + sudolinebuf.toke_start = sudolinebuf.toke_end = 0; + sudo_rcstr_delref(sudoers); + sudo_rcstr_delref(sudoers_search_path); + sudoers_search_path = pl->path; + sudoers = sudoers_search_path; + sudo_rcstr_addref(sudoers); + sudolineno = 1; + sudoers_switch_to_buffer(sudoers_create_buffer(fp, YY_BUF_SIZE)); + free(pl); + break; + } + /* Unable to open path in include dir, go to next one. */ + sudo_rcstr_delref(pl->path); + free(pl); + } + /* If no path list, just pop the last dir on the stack. */ + if (pl == NULL) { + idepth--; + sudoers_switch_to_buffer(istack[idepth].bs); + free(sudolinebuf.buf); + sudolinebuf = istack[idepth].line; + sudo_rcstr_delref(sudoers); + sudoers = istack[idepth].file; + sudo_rcstr_delref(sudoers_search_path); + sudoers_search_path = istack[idepth].path; + sudolineno = istack[idepth].lineno; + keepopen = istack[idepth].keepopen; + } + debug_return_bool(true); +} + +#ifdef TRACELEXER +int +sudoers_trace_print(const char *msg) +{ + return fputs(msg, stderr); +} +#else +int +sudoers_trace_print(const char *msg) +{ + debug_decl_vars(sudoers_trace_print, SUDOERS_DEBUG_PARSER); + + if (sudo_debug_needed(SUDO_DEBUG_DEBUG)) { + sudo_lbuf_append(&trace_lbuf, "%s", msg); + if (strchr(msg, '\n') != NULL) + { + /* We already parsed the newline so sudolineno is off by one. */ + sudo_debug_printf2(NULL, NULL, 0, + sudo_debug_subsys|SUDO_DEBUG_DEBUG, "sudoerslex: %s:%d: %s", + sudoers, sudolineno - 1, trace_lbuf.buf); + trace_lbuf.len = 0; + } + } + return 0; +} +#endif /* TRACELEXER */ + +/* + * Custom input function that uses getdelim(3) and stores the buffer + * where the error functions can access it for better reporting. + * On success, buf is guaranteed to end in a newline and not contain + * embedded NULs. Calls YY_FATAL_ERROR on error. + */ +static int +sudoers_input(char *buf, yy_size_t max_size) +{ + char *cp; + size_t avail = sudolinebuf.len - sudolinebuf.off; + debug_decl(sudoers_input, SUDOERS_DEBUG_PARSER); + + /* Refill line buffer if needed. */ + if (avail == 0) { + /* + * Some getdelim(3) implementations write NUL to buf on EOF. + * We peek ahead one char to detect EOF and skip the getdelim() call. + * This will preserve the original value of the last line read. + */ + int ch = getc(sudoersin); + if (ch == EOF) + goto sudoers_eof; + ungetc(ch, sudoersin); + avail = (size_t)getdelim(&sudolinebuf.buf, &sudolinebuf.size, '\n', sudoersin); + if (avail == (size_t)-1) { +sudoers_eof: + /* EOF or error. */ + if (feof(sudoersin)) + debug_return_int(0); + YY_FATAL_ERROR("input in flex scanner failed"); + } + + /* getdelim() can return embedded NULs, truncate if we find one. */ + cp = memchr(sudolinebuf.buf, '\0', avail); + if (cp != NULL) { + *cp++ = '\n'; + *cp = '\0'; + avail = (size_t)(cp - sudolinebuf.buf); + } + + /* Add trailing newline if it is missing. */ + if (sudolinebuf.buf[avail - 1] != '\n') { + if (avail + 2 >= sudolinebuf.size) { + cp = realloc(sudolinebuf.buf, avail + 2); + if (cp == NULL) { + YY_FATAL_ERROR("unable to allocate memory"); + debug_return_int(0); + } + sudolinebuf.buf = cp; + sudolinebuf.size = avail + 2; + } + sudolinebuf.buf[avail++] = '\n'; + sudolinebuf.buf[avail] = '\0'; + } + + sudo_debug_printf(SUDO_DEBUG_DEBUG, "%s:%d: %.*s", sudoers, sudolineno, + (int)(avail -1), sudolinebuf.buf); + + sudolinebuf.len = avail; + sudolinebuf.off = 0; + sudolinebuf.toke_start = sudolinebuf.toke_end = 0; + } + + if (avail > max_size) + avail = max_size; + memcpy(buf, sudolinebuf.buf + sudolinebuf.off, avail); + sudolinebuf.off += avail; + + debug_return_int((int)avail); +} + |