diff options
Diffstat (limited to 'plugins/sudoers/toke.c')
-rw-r--r-- | plugins/sudoers/toke.c | 5491 |
1 files changed, 5491 insertions, 0 deletions
diff --git a/plugins/sudoers/toke.c b/plugins/sudoers/toke.c new file mode 100644 index 0000000..366f805 --- /dev/null +++ b/plugins/sudoers/toke.c @@ -0,0 +1,5491 @@ +/* + * 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 + +/* $OpenBSD: flex.skl,v 1.17 2020/08/06 17:23:29 deraadt Exp $ */ + +/* A lexical scanner generated by flex */ + +#define yy_create_buffer sudoers_create_buffer +#define yy_delete_buffer sudoers_delete_buffer +#define yy_flex_debug sudoers_flex_debug +#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 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 5 +#define YY_FLEX_SUBMINOR_VERSION 39 +#if YY_FLEX_SUBMINOR_VERSION > 0 +#define FLEX_BETA +#endif + +/* First, we deal with platform-specific or compiler-specific issues. */ + +/* begin standard C headers. */ +#include <stdio.h> +#include <string.h> +#include <errno.h> +#include <stdlib.h> + +/* end standard C headers. */ + +/* $OpenBSD: flexint.h,v 1.1 2015/11/19 19:43:40 tedu Exp $ */ + +/* 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 + +#endif /* ! C99 */ + +#endif /* ! FLEXINT_H */ + +#ifdef __cplusplus + +/* The "const" storage-class-modifier is valid. */ +#define YY_USE_CONST + +#else /* ! __cplusplus */ + +/* C99 requires __STDC__ to be defined as 1. */ +#if defined (__STDC__) + +#define YY_USE_CONST + +#endif /* defined (__STDC__) */ +#endif /* ! __cplusplus */ + +#ifdef YY_USE_CONST +#define yyconst const +#else +#define yyconst +#endif + +/* Returned upon end-of-file. */ +#define YY_NULL 0 + +/* Promotes a possibly negative, possibly signed char to an unsigned + * integer for use as an array index. If the signed char is negative, + * we want to instead treat it as an 8-bit unsigned char, hence the + * double cast. + */ +#define YY_SC_TO_UI(c) ((unsigned int) (unsigned 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 sudoersrestart(sudoersin ) + +#define YY_END_OF_BUFFER_CHAR 0 + +/* Size of default input buffer. */ +#ifndef YY_BUF_SIZE +#define YY_BUF_SIZE 16384 +#endif + +/* The state buf must be large enough to hold one state per character in the main buffer. + */ +#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) + +#ifndef YY_TYPEDEF_YY_BUFFER_STATE +#define YY_TYPEDEF_YY_BUFFER_STATE +typedef struct yy_buffer_state *YY_BUFFER_STATE; +#endif + +#ifndef YY_TYPEDEF_YY_SIZE_T +#define YY_TYPEDEF_YY_SIZE_T +typedef size_t yy_size_t; +#endif + +extern yy_size_t sudoersleng; + +extern FILE *sudoersin, *sudoersout; + +#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 sudoerstext. */ \ + 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 sudoerstext 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. + */ + yy_size_t yy_buf_size; + + /* Number of characters read into yy_ch_buf, not including EOB + * characters. + */ + yy_size_t 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 sudoersrestart()), so that the user can continue scanning by + * just pointing sudoersin 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 = 0; /**< Stack as an array. */ + +/* We provide macros for accessing buffer states in case in the + * future we want to put the buffer states in a more general + * "scanner state". + * + * Returns the top of the stack, or NULL. + */ +#define YY_CURRENT_BUFFER ( (yy_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 sudoerstext is formed. */ +static char yy_hold_char; +static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ +yy_size_t sudoersleng; + +/* Points to current character in buffer. */ +static char *yy_c_buf_p = (char *) 0; +static int yy_init = 0; /* whether we need to initialize */ +static int yy_start = 0; /* start state number */ + +/* Flag which is used to allow sudoerswrap()'s to do buffer switches + * instead of setting up a fresh sudoersin. A bit of a hack ... + */ +static int yy_did_buffer_switch_on_eof; + +void sudoersrestart (FILE *input_file ); +void sudoers_switch_to_buffer (YY_BUFFER_STATE new_buffer ); +YY_BUFFER_STATE sudoers_create_buffer (FILE *file,int size ); +void sudoers_delete_buffer (YY_BUFFER_STATE b ); +void sudoers_flush_buffer (YY_BUFFER_STATE b ); +void sudoerspush_buffer_state (YY_BUFFER_STATE new_buffer ); +void sudoerspop_buffer_state (void ); + +static void sudoersensure_buffer_stack (void ); +static void sudoers_load_buffer_state (void ); +static void sudoers_init_buffer (YY_BUFFER_STATE b,FILE *file ); + +#define YY_FLUSH_BUFFER sudoers_flush_buffer(YY_CURRENT_BUFFER ) + +YY_BUFFER_STATE sudoers_scan_buffer (char *base,yy_size_t size ); +YY_BUFFER_STATE sudoers_scan_string (yyconst char *yy_str ); +YY_BUFFER_STATE sudoers_scan_bytes (yyconst char *bytes,yy_size_t len ); + +void *sudoersalloc (yy_size_t ); +void *sudoersrealloc (void *,yy_size_t ); +void sudoersfree (void * ); + +#define yy_new_buffer sudoers_create_buffer + +#define yy_set_interactive(is_interactive) \ + { \ + if ( ! YY_CURRENT_BUFFER ){ \ + sudoersensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + sudoers_create_buffer(sudoersin,YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ + } + +#define yy_set_bol(at_bol) \ + { \ + if ( ! YY_CURRENT_BUFFER ){\ + sudoersensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + sudoers_create_buffer(sudoersin,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() 1 +#define YY_SKIP_YYWRAP + +typedef unsigned char YY_CHAR; + +FILE *sudoersin = (FILE *) 0, *sudoersout = (FILE *) 0; + +typedef int yy_state_type; + +extern int sudoerslineno; + +int sudoerslineno = 1; + +extern char *sudoerstext; +#define yytext_ptr sudoerstext + +static yy_state_type yy_get_previous_state (void ); +static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); +static int yy_get_next_buffer (void ); +static void yy_fatal_error (yyconst char msg[] ); + +/* Done after the current pattern has been matched and before the + * corresponding action - sets up sudoerstext. + */ +#define YY_DO_BEFORE_ACTION \ + (yytext_ptr) = yy_bp; \ + sudoersleng = (size_t) (yy_cp - yy_bp); \ + (yy_hold_char) = *yy_cp; \ + *yy_cp = '\0'; \ + (yy_c_buf_p) = yy_cp; + +#define YY_NUM_RULES 81 +#define YY_END_OF_BUFFER 82 +/* This struct is not used in this scanner, + but its presence is necessary. */ +struct yy_trans_info + { + flex_int32_t yy_verify; + flex_int32_t yy_nxt; + }; +static yyconst flex_int16_t yy_accept[1126] = + { 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 82, 67, + 77, 76, 80, 75, 66, 79, 40, 70, 71, 40, + 72, 67, 67, 67, 67, 74, 73, 80, 67, 57, + 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, + 57, 57, 80, 67, 67, 77, 79, 57, 57, 57, + 57, 57, 2, 80, 1, 67, 57, 57, 57, 67, + 17, 16, 16, 17, 16, 16, 80, 79, 80, 3, + 9, 8, 9, 4, 9, 5, 80, 13, 13, 13, + 11, 12, 80, 19, 19, 18, 18, 18, 19, 18, + + 18, 18, 18, 19, 19, 19, 19, 19, 19, 18, + 19, 19, 68, 68, 69, 68, 64, 64, 64, 64, + 64, 64, 64, 57, 57, 57, 57, 57, 57, 57, + 57, 57, 57, 80, 64, 64, 67, 0, 77, 76, + 75, 79, 79, 0, 0, 67, 42, 0, 40, 0, + 41, 0, 65, 65, 0, 67, 67, 0, 67, 67, + 67, 67, 0, 45, 67, 57, 57, 57, 57, 57, + 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, + 57, 57, 0, 78, 67, 67, 67, 67, 77, 0, + 0, 0, 0, 0, 79, 67, 67, 67, 67, 67, + + 2, 1, 0, 1, 58, 58, 0, 57, 67, 17, + 17, 15, 0, 14, 15, 0, 3, 9, 0, 6, + 7, 9, 9, 13, 0, 13, 13, 0, 10, 0, + 42, 0, 0, 41, 19, 19, 0, 19, 0, 0, + 18, 18, 18, 18, 18, 18, 19, 19, 57, 19, + 19, 19, 19, 19, 19, 19, 19, 19, 68, 68, + 68, 64, 0, 42, 0, 41, 0, 64, 64, 0, + 64, 64, 64, 64, 64, 64, 57, 57, 57, 57, + 57, 57, 57, 57, 57, 57, 64, 64, 64, 64, + 79, 79, 79, 0, 42, 67, 67, 67, 67, 67, + + 0, 0, 45, 45, 67, 57, 47, 57, 51, 57, + 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, + 57, 57, 57, 57, 57, 57, 57, 67, 67, 0, + 0, 0, 0, 0, 79, 67, 67, 67, 67, 67, + 67, 0, 67, 10, 0, 0, 0, 18, 18, 18, + 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 0, 64, 64, 64, 64, + 64, 57, 47, 57, 57, 57, 57, 57, 57, 57, + 57, 57, 57, 57, 57, 64, 64, 79, 79, 79, + 67, 67, 67, 67, 67, 67, 0, 46, 46, 46, + + 0, 0, 45, 45, 45, 45, 45, 45, 45, 67, + 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, + 57, 57, 57, 57, 57, 57, 57, 53, 57, 57, + 54, 67, 67, 67, 67, 0, 0, 0, 0, 0, + 0, 79, 67, 67, 67, 67, 0, 0, 0, 0, + 0, 18, 18, 19, 19, 57, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19, 19, 19, 64, + 64, 64, 64, 64, 64, 57, 57, 57, 57, 57, + 57, 57, 57, 57, 57, 57, 57, 57, 64, 64, + 64, 64, 67, 67, 67, 0, 0, 46, 46, 46, + + 0, 45, 45, 0, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 67, 57, 0, 29, 57, + 57, 57, 57, 0, 36, 57, 57, 57, 57, 57, + 57, 57, 57, 57, 55, 57, 57, 67, 67, 67, + 67, 67, 0, 0, 0, 79, 67, 67, 67, 0, + 0, 0, 18, 18, 19, 57, 57, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, + 64, 64, 64, 57, 57, 57, 57, 57, 57, 57, + 57, 57, 57, 57, 64, 64, 64, 64, 64, 67, + 67, 67, 67, 67, 0, 46, 0, 45, 45, 45, + + 0, 0, 0, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 67, 52, 57, 57, + 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, + 57, 57, 57, 59, 60, 61, 62, 67, 0, 0, + 79, 67, 67, 67, 0, 0, 0, 0, 0, 19, + 57, 57, 19, 19, 57, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 64, 64, 64, 64, 64, + 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, + 57, 59, 60, 61, 62, 64, 43, 43, 43, 0, + 0, 45, 45, 45, 45, 45, 45, 45, 0, 0, + + 0, 0, 0, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 67, 0, 38, + 57, 57, 57, 0, 28, 57, 57, 57, 0, 37, + 57, 57, 57, 57, 0, 27, 0, 30, 48, 67, + 0, 0, 79, 67, 67, 67, 43, 43, 43, 57, + 57, 19, 57, 57, 19, 19, 19, 43, 43, 43, + 57, 57, 57, 57, 57, 57, 57, 64, 67, 43, + 43, 43, 43, 0, 45, 0, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 0, 0, 0, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 20, 57, 57, 57, 57, 57, 57, + 57, 57, 50, 57, 63, 0, 0, 79, 67, 24, + 58, 0, 43, 43, 43, 43, 57, 57, 19, 57, + 57, 19, 19, 19, 64, 43, 43, 43, 43, 57, + 57, 57, 57, 57, 57, 57, 63, 44, 44, 44, + 44, 45, 0, 0, 0, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 0, 0, + 0, 0, 0, 45, 45, 45, 45, 45, 45, 45, + 45, 67, 57, 57, 57, 0, 39, 57, 57, 0, + 26, 0, 31, 49, 0, 24, 22, 79, 25, 0, + + 67, 44, 44, 44, 44, 57, 57, 57, 57, 44, + 44, 44, 44, 57, 57, 57, 57, 67, 67, 44, + 44, 44, 44, 0, 0, 0, 0, 0, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 67, 56, + 0, 34, 57, 57, 57, 25, 22, 22, 22, 22, + 79, 24, 0, 0, 0, 0, 0, 24, 0, 0, + 0, 44, 44, 44, 44, 57, 57, 57, 64, 64, + 44, 44, 44, 44, 57, 57, 57, 67, 67, 67, + 0, 0, 0, 45, 45, 45, 45, 45, 45, 45, + + 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, + 45, 21, 0, 32, 57, 57, 22, 79, 0, 24, + 0, 0, 0, 57, 57, 64, 64, 64, 57, 57, + 67, 67, 67, 67, 67, 0, 0, 0, 0, 0, + 45, 45, 45, 45, 45, 45, 45, 45, 0, 35, + 57, 23, 0, 0, 0, 0, 0, 57, 64, 64, + 64, 64, 64, 57, 67, 67, 67, 45, 45, 45, + 45, 45, 45, 0, 33, 23, 23, 23, 23, 0, + 0, 0, 64, 64, 64, 67, 67, 67, 67, 67, + 45, 45, 45, 45, 45, 23, 0, 0, 0, 0, + + 0, 64, 64, 64, 64, 64, 43, 43, 43, 43, + 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, + 43, 43, 43, 43, 0 + } ; + +static yyconst flex_int32_t 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, 1, 10, 1, 1, 11, + 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, + 22, 23, 24, 25, 26, 27, 28, 29, 1, 1, + 30, 31, 13, 32, 33, 34, 35, 36, 37, 38, + 39, 40, 41, 42, 42, 43, 44, 45, 46, 47, + 42, 48, 49, 50, 51, 52, 53, 54, 55, 42, + 13, 56, 13, 1, 57, 1, 58, 59, 60, 61, + + 62, 63, 64, 65, 66, 64, 64, 67, 68, 69, + 70, 64, 64, 71, 72, 73, 74, 64, 64, 64, + 64, 64, 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 yyconst flex_int32_t yy_meta[75] = + { 0, + 1, 2, 3, 4, 3, 2, 5, 6, 7, 1, + 8, 8, 1, 9, 10, 1, 11, 12, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 14, 15, + 8, 1, 13, 13, 13, 13, 13, 13, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 17, 18, 19, 19, 19, + 19, 19, 19, 20, 20, 20, 20, 20, 20, 20, + 20, 20, 20, 20 + } ; + +static yyconst flex_int16_t yy_base[1228] = + { 0, + 0, 73, 123, 194, 81, 97, 265, 338, 411, 466, + 128, 137, 522, 0, 157, 172, 596, 0, 6501, 6444, + 74, 8253, 6486, 6460, 8253, 668, 72, 8253, 8253, 6408, + 8253, 174, 680, 195, 95, 6434, 8253, 8253, 29, 743, + 6419, 54, 35, 77, 799, 52, 6428, 6381, 44, 6378, + 6386, 50, 861, 226, 127, 225, 890, 216, 105, 6344, + 76, 6341, 192, 266, 145, 359, 6365, 6364, 6376, 132, + 0, 8253, 6405, 6400, 8253, 0, 427, 954, 230, 0, + 6344, 8253, 116, 8253, 169, 8253, 275, 6342, 202, 182, + 8253, 293, 246, 434, 982, 1026, 284, 294, 1084, 1134, + + 6332, 148, 106, 1190, 6328, 6329, 6293, 6303, 6298, 329, + 0, 294, 6278, 227, 8253, 372, 6269, 333, 6268, 447, + 1237, 360, 465, 1300, 6268, 315, 111, 1356, 6250, 6261, + 6237, 6238, 6208, 1418, 485, 387, 6188, 719, 358, 8253, + 6235, 259, 8253, 6238, 655, 824, 6183, 858, 436, 892, + 6179, 919, 929, 6177, 1448, 981, 1463, 6202, 6213, 996, + 1006, 495, 6187, 343, 100, 1526, 1582, 6172, 6160, 6159, + 6157, 6150, 6147, 6151, 6126, 895, 6106, 6100, 6087, 6072, + 6077, 6073, 492, 8253, 184, 717, 307, 392, 1241, 6051, + 6046, 6025, 6017, 6016, 836, 676, 194, 207, 368, 414, + + 949, 727, 1104, 749, 1224, 5999, 1644, 1241, 833, 0, + 6045, 960, 6048, 8253, 8253, 1381, 0, 5994, 1300, 8253, + 8253, 5985, 1134, 5984, 6029, 941, 366, 966, 752, 6009, + 846, 879, 1431, 5954, 1653, 0, 1502, 1710, 1662, 1445, + 1751, 5992, 1602, 1674, 1218, 1801, 1857, 5944, 0, 5935, + 5928, 5918, 5915, 1687, 5905, 5897, 5873, 5846, 5839, 985, + 665, 5831, 1787, 5814, 1892, 5806, 1919, 1750, 5805, 1949, + 1726, 1964, 5843, 1916, 1946, 1612, 2027, 2083, 5816, 5805, + 5782, 5778, 5775, 1966, 5738, 5736, 390, 1500, 365, 897, + 457, 474, 496, 2103, 2128, 2140, 2180, 2220, 2258, 5760, + + 5736, 2303, 717, 2349, 928, 2412, 2468, 5718, 0, 5728, + 5719, 5720, 5690, 5703, 5683, 5660, 5659, 5667, 5662, 5656, + 286, 5633, 5618, 5630, 5628, 5620, 5617, 1389, 154, 370, + 5580, 5570, 5558, 5560, 1392, 335, 1077, 5556, 798, 654, + 782, 2180, 393, 1228, 2152, 2194, 2206, 2513, 5596, 2558, + 0, 5576, 5567, 5545, 5547, 5533, 5526, 5517, 5496, 5493, + 5467, 5454, 5448, 1410, 5409, 2259, 2605, 2645, 2685, 2725, + 5443, 2770, 0, 5424, 5415, 5389, 5387, 5375, 5359, 5344, + 5356, 5342, 5337, 5324, 5335, 1657, 940, 8253, 826, 949, + 2278, 1085, 2817, 2857, 1889, 464, 5336, 5321, 2230, 1095, + + 5320, 5297, 1265, 2323, 2897, 2369, 1684, 2943, 2490, 1331, + 3006, 900, 1659, 1105, 471, 1643, 1710, 1192, 1106, 801, + 657, 1238, 1007, 827, 1274, 867, 1445, 5284, 1013, 1240, + 5281, 1420, 1395, 1226, 905, 5252, 5237, 5228, 5212, 5226, + 5202, 1490, 1189, 1709, 1094, 1419, 2533, 5211, 2580, 2617, + 2115, 3062, 3107, 1726, 5166, 1266, 1727, 5144, 5137, 5140, + 5130, 5108, 5106, 5102, 5099, 3152, 1491, 1514, 1739, 2627, + 1379, 3199, 3239, 2658, 1583, 5103, 2005, 5055, 1621, 2006, + 5040, 5033, 5023, 5020, 5011, 5008, 4996, 5003, 1776, 1620, + 1749, 1624, 3279, 3319, 3359, 4952, 4950, 2665, 4921, 4912, + + 4911, 4910, 1619, 2696, 1977, 2706, 2000, 3399, 0, 2747, + 3446, 2790, 2288, 3492, 2829, 1384, 1487, 2261, 8253, 982, + 1690, 1383, 723, 2350, 8253, 1867, 1262, 1658, 1761, 1609, + 1491, 1714, 1706, 1917, 4909, 1900, 1631, 1891, 1832, 1940, + 2137, 1747, 4861, 4819, 4820, 2110, 1949, 1963, 1921, 2841, + 2869, 2881, 4826, 4797, 4772, 4772, 4751, 4766, 4757, 4731, + 4732, 4723, 4722, 4711, 4679, 2015, 2166, 2248, 276, 2214, + 3539, 3579, 3619, 4598, 4591, 4582, 4591, 4580, 4523, 4499, + 4492, 4480, 4450, 4410, 2358, 2156, 2542, 2359, 2127, 2917, + 1958, 3659, 3699, 2803, 4432, 4417, 4416, 4371, 3737, 2003, + + 2965, 3084, 3129, 2244, 2388, 2594, 3172, 2979, 3784, 0, + 3211, 3831, 3222, 2379, 3877, 3251, 2297, 4355, 2560, 2085, + 1858, 2304, 2561, 1930, 2479, 2771, 1191, 1762, 2390, 2375, + 2772, 2773, 2469, 4289, 4282, 4281, 4261, 2204, 4249, 4225, + 2693, 2716, 2514, 2943, 3261, 4274, 3291, 3303, 2929, 2992, + 4223, 4219, 3331, 4222, 2314, 3348, 4170, 4174, 3359, 3360, + 2399, 2500, 2589, 2635, 2714, 3373, 2168, 3924, 3964, 3350, + 3362, 4130, 4103, 3401, 4080, 2523, 3402, 4069, 4052, 3447, + 3448, 4026, 4025, 3977, 3878, 3036, 4003, 4042, 4081, 3904, + 3900, 3896, 3419, 4121, 3466, 3094, 4166, 3514, 3549, 3871, + + 3561, 3591, 3184, 2645, 2881, 3334, 3528, 3601, 3631, 4213, + 0, 3633, 4260, 3644, 3139, 4306, 3671, 2136, 3449, 8253, + 4369, 3096, 2377, 3493, 8253, 1488, 2654, 3307, 3494, 8253, + 2573, 2959, 2695, 2906, 3495, 8253, 3671, 8253, 3842, 2683, + 3758, 3743, 2867, 1330, 1986, 2684, 3683, 3710, 3721, 3743, + 3705, 4430, 3672, 3638, 2875, 1030, 3564, 4487, 4526, 4565, + 4621, 2824, 2213, 2652, 3579, 2876, 1562, 2939, 3758, 2763, + 4678, 4717, 3769, 3568, 3565, 3807, 2818, 3851, 3222, 4757, + 0, 3899, 4770, 3934, 3390, 4815, 3946, 3976, 3988, 4015, + 3303, 3514, 3913, 4027, 4027, 4054, 4862, 0, 4056, 4909, + + 4067, 3817, 4093, 2957, 4972, 2263, 1881, 3880, 3205, 2307, + 4122, 4123, 3497, 3165, 3488, 3444, 3384, 3288, 2604, 3602, + 3396, 4141, 3430, 4187, 4234, 4112, 3355, 3305, 5045, 3287, + 3219, 3878, 3879, 0, 4280, 3236, 5102, 5141, 4291, 5197, + 2392, 4214, 2967, 3159, 4215, 4216, 3127, 5255, 5295, 5335, + 5375, 3135, 4329, 4499, 4511, 3109, 3280, 3373, 4536, 3562, + 5415, 0, 4548, 5428, 4575, 4339, 5473, 4587, 4688, 3102, + 4700, 4729, 4741, 3946, 3988, 4599, 2482, 2505, 5520, 0, + 4792, 3861, 3042, 4816, 2493, 4261, 8253, 2606, 3451, 4369, + 8253, 4370, 8253, 3041, 2943, 4598, 3748, 3858, 2927, 4852, + + 4863, 4890, 4931, 5114, 5126, 4817, 2837, 2770, 2752, 5532, + 5572, 5612, 5652, 5176, 2705, 2924, 3089, 5268, 3576, 5692, + 5732, 5153, 3657, 5164, 2720, 5280, 5308, 5033, 2671, 2606, + 3965, 4067, 5318, 4094, 5772, 0, 5347, 5785, 5358, 4747, + 5830, 5387, 5398, 5449, 5494, 4511, 2597, 3019, 3182, 2536, + 4818, 8253, 5476, 3132, 3185, 8253, 3350, 4375, 8253, 3354, + 4647, 5559, 5567, 5599, 5610, 5625, 4972, 5654, 5692, 5558, + 2551, 5664, 5707, 5719, 2527, 5198, 2285, 2143, 5747, 3759, + 5877, 5917, 5759, 3806, 5521, 2120, 3497, 5957, 5997, 6037, + 5807, 5852, 5889, 2111, 2028, 4110, 4430, 5899, 4549, 6077, + + 0, 5929, 6090, 5940, 4882, 5969, 2015, 5980, 6008, 4942, + 1944, 1833, 5696, 8253, 6037, 3540, 8253, 4727, 6048, 6058, + 6112, 6137, 6149, 5926, 1783, 6161, 6201, 6241, 6190, 1709, + 6178, 3870, 6281, 6321, 6190, 6228, 1673, 6253, 6265, 6025, + 1475, 1302, 4603, 1251, 1148, 6293, 0, 3951, 6009, 8253, + 6321, 4861, 6332, 902, 6344, 6359, 6309, 6230, 6369, 4001, + 6409, 6449, 6382, 6410, 6489, 6529, 6569, 6421, 6431, 6459, + 858, 0, 694, 6293, 8253, 3656, 5478, 8253, 3709, 6471, + 6501, 6513, 6609, 6649, 6689, 6542, 4002, 6729, 6769, 6554, + 8253, 6580, 6592, 5817, 8253, 8253, 6619, 668, 6631, 6661, + + 6398, 6671, 4318, 6809, 6849, 6702, 6709, 6747, 6785, 6795, + 6823, 6833, 6859, 6869, 6907, 320, 6917, 6123, 8253, 6927, + 5862, 134, 6955, 6720, 8253, 7011, 7031, 7051, 7071, 7091, + 7111, 7131, 7151, 7171, 7191, 4157, 7211, 7231, 3749, 7251, + 7271, 7291, 7311, 7331, 7351, 7371, 7391, 7411, 7431, 7451, + 7471, 7491, 7511, 7531, 7551, 7571, 4159, 4560, 7580, 7599, + 7619, 7639, 4178, 7659, 7679, 7699, 7719, 7731, 7751, 4962, + 7771, 7791, 7811, 7831, 7851, 7871, 7891, 7911, 4562, 7920, + 4605, 4843, 5180, 7928, 7947, 5190, 5334, 5374, 5414, 7956, + 7965, 5511, 5590, 5607, 7973, 7982, 5611, 5645, 7990, 7999, + + 8018, 5683, 8030, 5731, 8040, 8048, 8057, 8076, 6074, 8088, + 8108, 5771, 8118, 8126, 8135, 8154, 8174, 8194, 5916, 8204, + 5183, 5956, 8213, 6224, 5551, 8232, 4808 + } ; + +static yyconst flex_int16_t yy_def[1228] = + { 0, + 1125, 1, 1, 1, 1126, 1126, 1127, 1127, 1128, 1128, + 1129, 1129, 1125, 13, 1130, 1130, 1125, 17, 1125, 1131, + 1125, 1125, 1125, 1125, 1125, 1132, 1133, 1125, 1125, 1134, + 1125, 1135, 1131, 33, 33, 1136, 1125, 1125, 1131, 1125, + 40, 40, 40, 40, 40, 45, 45, 45, 45, 45, + 45, 45, 1131, 33, 1131, 1125, 1132, 40, 40, 45, + 45, 45, 1125, 1125, 1125, 1137, 45, 45, 45, 1131, + 1138, 1125, 1125, 1138, 1125, 1138, 1125, 1132, 1125, 1139, + 1140, 1125, 1140, 1125, 1140, 1125, 1141, 1142, 1142, 1142, + 1125, 1125, 1143, 1144, 1145, 1125, 96, 96, 96, 1125, + + 100, 100, 100, 100, 104, 104, 104, 104, 104, 96, + 99, 99, 1146, 1146, 1125, 1146, 1147, 1148, 1149, 1150, + 1147, 121, 121, 1125, 124, 124, 124, 124, 128, 128, + 128, 128, 128, 1147, 121, 1147, 1131, 1131, 1125, 1125, + 1125, 1151, 1125, 1125, 1152, 1125, 1153, 1125, 1143, 1153, + 1154, 1154, 1155, 1156, 1131, 1131, 1131, 1157, 157, 157, + 157, 157, 1158, 1159, 1131, 1125, 166, 167, 167, 167, + 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, + 167, 167, 1125, 1125, 1131, 1131, 1131, 1131, 1125, 1125, + 1125, 1125, 1125, 1125, 1151, 1131, 157, 1131, 1131, 1131, + + 1125, 1125, 1125, 1125, 1160, 1161, 1131, 167, 1131, 1162, + 1162, 1125, 1125, 1125, 1125, 1152, 1163, 1164, 1164, 1125, + 1125, 1164, 1164, 1165, 1125, 1165, 1165, 1125, 1125, 1125, + 1143, 1143, 1143, 1166, 1167, 1168, 1166, 1169, 1125, 1125, + 1168, 241, 241, 241, 241, 1125, 246, 247, 1170, 247, + 247, 247, 247, 247, 247, 247, 1168, 1168, 1171, 1171, + 1171, 1172, 1172, 1173, 1173, 1174, 1174, 1175, 1176, 1172, + 1172, 1172, 272, 272, 272, 272, 1125, 277, 278, 278, + 278, 278, 278, 278, 278, 278, 1172, 1172, 1172, 1172, + 1177, 1177, 1178, 1125, 1125, 1131, 1131, 1131, 1131, 299, + + 1179, 1125, 1180, 1125, 1131, 1125, 306, 307, 307, 307, + 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + 307, 307, 307, 307, 307, 307, 307, 1131, 1131, 1125, + 1125, 1125, 1125, 1125, 1177, 1131, 1131, 299, 1131, 1131, + 1131, 1125, 1131, 1125, 1125, 1125, 1125, 1168, 348, 246, + 247, 247, 247, 247, 247, 247, 247, 247, 247, 247, + 247, 247, 247, 1168, 1168, 1125, 1172, 1172, 1172, 272, + 370, 277, 278, 278, 278, 278, 278, 278, 278, 278, + 278, 278, 278, 278, 278, 1172, 1172, 1125, 1178, 1178, + 1131, 1131, 1131, 1131, 1131, 1131, 1181, 1182, 1182, 399, + + 1183, 1182, 1184, 304, 1125, 405, 405, 1125, 405, 1131, + 1125, 411, 411, 411, 411, 411, 411, 411, 411, 411, + 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, + 411, 1131, 1131, 1131, 1131, 1125, 1125, 1125, 1125, 1125, + 1125, 1185, 1131, 1131, 1131, 1131, 1125, 1125, 1125, 1125, + 1125, 348, 246, 247, 247, 1186, 247, 247, 247, 247, + 247, 247, 247, 247, 247, 452, 466, 466, 466, 1172, + 1172, 1172, 1172, 1172, 1172, 278, 278, 278, 278, 278, + 278, 278, 278, 278, 278, 278, 278, 278, 1172, 1172, + 1172, 1172, 1131, 1131, 1131, 1125, 1187, 1187, 498, 1187, + + 1188, 1189, 1190, 1125, 1191, 408, 1191, 1125, 508, 1191, + 1125, 511, 511, 1125, 511, 1131, 411, 1125, 1125, 411, + 411, 411, 411, 1125, 1125, 411, 411, 411, 411, 411, + 411, 411, 411, 411, 411, 411, 411, 1131, 1131, 1131, + 1131, 1131, 1125, 1125, 1125, 1185, 1131, 1131, 1131, 1125, + 1125, 1125, 452, 453, 247, 1186, 1186, 247, 247, 247, + 247, 247, 247, 247, 247, 466, 466, 466, 466, 466, + 1172, 1172, 1172, 278, 278, 278, 278, 278, 278, 278, + 278, 278, 278, 278, 1172, 1172, 1172, 1172, 1172, 1131, + 1131, 1131, 1131, 1131, 1192, 1192, 1193, 1194, 1125, 1125, + + 1125, 1125, 1125, 1195, 1195, 1196, 514, 1196, 1125, 609, + 1196, 1125, 612, 612, 1125, 612, 1131, 411, 411, 411, + 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, + 411, 411, 411, 1131, 1131, 1131, 1131, 1131, 1125, 1125, + 1185, 1131, 1131, 1131, 1125, 1125, 1125, 1125, 1125, 247, + 1186, 1186, 247, 247, 1186, 247, 247, 247, 247, 247, + 466, 466, 466, 466, 466, 1172, 1172, 1172, 1172, 1172, + 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, + 278, 1172, 1172, 1172, 1172, 1172, 1131, 1131, 1131, 1125, + 1197, 1198, 599, 1125, 694, 694, 1125, 694, 1125, 1125, + + 1125, 1125, 1125, 1125, 1199, 1199, 1200, 615, 1200, 1125, + 710, 1200, 1125, 713, 713, 1125, 713, 1131, 1125, 1125, + 1125, 721, 721, 1125, 1125, 721, 721, 721, 1125, 1125, + 721, 721, 721, 721, 1125, 1125, 1125, 1125, 721, 1131, + 1125, 1125, 1201, 1131, 1131, 1131, 1125, 1125, 1125, 1202, + 1202, 1125, 1202, 1202, 752, 752, 1203, 1172, 1172, 1172, + 1125, 761, 761, 761, 761, 761, 761, 1172, 1131, 1131, + 1131, 1131, 1131, 1125, 1204, 1125, 1205, 697, 1205, 1205, + 780, 1205, 1125, 783, 783, 1125, 783, 1125, 1125, 1125, + 1125, 1206, 1206, 1207, 716, 1207, 1125, 797, 1207, 1125, + + 800, 800, 800, 1131, 1125, 805, 805, 805, 805, 805, + 805, 805, 805, 805, 1131, 1125, 1125, 1208, 1131, 1131, + 1131, 1125, 1125, 1125, 1125, 1125, 1209, 1209, 1125, 1209, + 1209, 829, 829, 1210, 1211, 1211, 1211, 1211, 1211, 1125, + 840, 840, 840, 840, 840, 840, 1211, 1131, 1131, 1131, + 1131, 1125, 1125, 1125, 1125, 1212, 1212, 1213, 786, 1213, + 1213, 861, 1213, 1125, 864, 864, 1125, 864, 1125, 1125, + 1125, 1125, 1125, 1125, 1214, 1214, 1215, 1215, 1215, 879, + 1215, 1131, 805, 805, 805, 1125, 1125, 805, 805, 1125, + 1125, 1125, 1125, 805, 1125, 1125, 1216, 1208, 1131, 1217, + + 1218, 1125, 1125, 1125, 1125, 1209, 1209, 1209, 1209, 1211, + 1211, 1211, 1211, 840, 840, 840, 840, 1131, 1131, 1131, + 1131, 1131, 1131, 1125, 1125, 1125, 1125, 1125, 1125, 1219, + 1219, 1220, 867, 1220, 1220, 935, 1220, 1125, 938, 938, + 1125, 938, 1125, 1125, 1125, 1125, 1221, 1221, 1131, 805, + 1125, 1125, 805, 805, 805, 1125, 1216, 1216, 1125, 1216, + 1208, 1217, 1217, 1217, 1217, 1125, 1217, 1218, 1218, 1125, + 1125, 1125, 1125, 1125, 1125, 1209, 1209, 1209, 1211, 1211, + 1211, 1211, 1211, 1211, 840, 840, 840, 1131, 1131, 1131, + 1125, 1125, 1125, 1125, 1222, 1222, 1223, 941, 1223, 1223, + + 1000, 1223, 1125, 1003, 1003, 1003, 1125, 1125, 1125, 1125, + 1125, 1131, 1125, 1125, 805, 805, 1125, 1208, 1125, 1125, + 1125, 1125, 1125, 1209, 1209, 1211, 1211, 1211, 840, 840, + 1131, 1131, 1131, 1131, 1131, 1125, 1125, 1125, 1125, 1125, + 1125, 1224, 1224, 1225, 1225, 1225, 1046, 1046, 1125, 1125, + 805, 1226, 1125, 1125, 1125, 1125, 1125, 1209, 1211, 1211, + 1211, 1211, 1211, 840, 1131, 1131, 1131, 1125, 1125, 1125, + 1125, 1227, 1227, 1125, 1125, 1226, 1226, 1125, 1226, 1125, + 1125, 1125, 1211, 1211, 1211, 1131, 1131, 1131, 1131, 1131, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + + 1125, 1211, 1211, 1211, 1211, 1211, 1131, 1131, 1131, 1125, + 1125, 1125, 1211, 1211, 1211, 1131, 1131, 1131, 1125, 1125, + 1125, 1211, 1211, 1211, 0, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125 + } ; + +static yyconst flex_int16_t yy_nxt[8328] = + { 0, + 20, 21, 22, 20, 23, 21, 24, 25, 26, 27, + 28, 29, 20, 30, 31, 20, 20, 32, 33, 34, + 35, 33, 33, 33, 33, 33, 33, 33, 36, 37, + 38, 39, 40, 41, 42, 41, 43, 44, 45, 45, + 45, 45, 46, 47, 48, 45, 49, 50, 51, 52, + 45, 45, 45, 45, 45, 53, 20, 54, 54, 54, + 54, 54, 54, 20, 20, 20, 20, 20, 20, 20, + 20, 55, 20, 20, 56, 139, 177, 167, 56, 139, + 148, 57, 21, 72, 138, 73, 21, 74, 171, 75, + 181, 178, 173, 169, 165, 75, 167, 174, 21, 72, + + 149, 73, 21, 74, 182, 75, 170, 58, 59, 75, + 76, 75, 60, 161, 161, 161, 161, 161, 162, 167, + 61, 179, 172, 62, 63, 75, 76, 150, 63, 89, + 22, 64, 23, 89, 90, 91, 77, 65, 89, 22, + 66, 23, 89, 90, 91, 220, 204, 167, 247, 199, + 204, 251, 77, 278, 20, 138, 281, 41, 21, 22, + 38, 23, 21, 114, 115, 67, 197, 68, 305, 69, + 45, 219, 45, 21, 22, 38, 23, 21, 114, 115, + 154, 154, 138, 92, 154, 154, 184, 138, 227, 263, + 247, 187, 92, 201, 70, 63, 187, 201, 221, 63, + + 188, 250, 64, 226, 154, 209, 202, 226, 65, 138, + 137, 66, 116, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 435, 219, 20, 189, 116, 41, 155, + 189, 183, 184, 261, 213, 183, 67, 225, 68, 138, + 69, 45, 137, 45, 159, 159, 159, 159, 159, 159, + 159, 159, 159, 159, 148, 169, 338, 225, 167, 190, + 191, 143, 138, 292, 192, 70, 21, 22, 170, 23, + 21, 24, 193, 78, 232, 194, 223, 184, 339, 213, + 223, 203, 260, 196, 146, 146, 146, 146, 146, 146, + 146, 146, 146, 146, 228, 229, 664, 230, 228, 236, + + 224, 233, 243, 243, 243, 243, 243, 243, 243, 243, + 243, 243, 244, 244, 244, 244, 244, 245, 424, 425, + 79, 80, 80, 80, 80, 80, 80, 80, 80, 80, + 80, 80, 80, 80, 80, 80, 80, 80, 80, 21, + 22, 148, 23, 21, 24, 1125, 78, 242, 242, 242, + 242, 242, 242, 242, 242, 242, 242, 278, 257, 139, + 302, 232, 138, 139, 328, 206, 206, 258, 280, 206, + 206, 304, 227, 183, 184, 138, 213, 183, 274, 274, + 274, 274, 274, 274, 274, 274, 274, 274, 265, 206, + 138, 443, 184, 79, 80, 80, 80, 80, 80, 80, + + 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, + 80, 80, 21, 22, 207, 23, 21, 24, 82, 78, + 263, 225, 386, 138, 83, 84, 85, 260, 212, 184, + 436, 213, 212, 214, 234, 215, 340, 234, 437, 214, + 86, 215, 263, 234, 148, 263, 234, 138, 138, 234, + 234, 289, 329, 269, 269, 215, 215, 269, 269, 143, + 290, 292, 446, 236, 1125, 234, 87, 21, 22, 138, + 23, 21, 24, 82, 78, 341, 388, 269, 292, 83, + 84, 85, 215, 275, 275, 275, 275, 275, 276, 237, + 234, 233, 158, 183, 184, 86, 213, 183, 143, 1125, + + 390, 262, 270, 273, 273, 273, 273, 273, 273, 273, + 273, 273, 273, 300, 300, 300, 300, 300, 300, 138, + 521, 87, 38, 21, 22, 38, 23, 21, 24, 38, + 38, 93, 28, 29, 38, 94, 31, 38, 38, 95, + 96, 97, 98, 96, 96, 96, 96, 96, 96, 96, + 36, 99, 38, 38, 100, 101, 101, 101, 102, 103, + 104, 104, 104, 104, 105, 106, 107, 104, 108, 104, + 109, 104, 104, 104, 104, 104, 104, 79, 38, 110, + 110, 110, 110, 110, 110, 111, 111, 111, 111, 111, + 111, 111, 111, 112, 111, 111, 117, 21, 22, 117, + + 23, 21, 24, 38, 38, 118, 28, 29, 117, 119, + 31, 117, 117, 120, 121, 122, 123, 121, 121, 121, + 121, 121, 121, 121, 36, 37, 38, 117, 124, 125, + 125, 125, 126, 127, 128, 128, 128, 128, 129, 130, + 131, 128, 132, 128, 133, 128, 128, 128, 128, 128, + 128, 134, 117, 135, 135, 135, 135, 135, 135, 117, + 117, 117, 117, 117, 117, 117, 117, 136, 117, 117, + 143, 261, 144, 146, 146, 146, 146, 146, 146, 146, + 146, 146, 146, 145, 1097, 1125, 146, 146, 146, 146, + 146, 146, 146, 146, 146, 146, 156, 529, 157, 157, + + 157, 157, 157, 157, 157, 157, 157, 157, 158, 138, + 776, 445, 159, 159, 159, 159, 159, 159, 183, 184, + 260, 213, 183, 137, 137, 137, 137, 137, 204, 137, + 137, 138, 204, 137, 302, 138, 336, 159, 159, 159, + 159, 159, 159, 137, 337, 404, 137, 137, 137, 137, + 204, 1125, 137, 344, 204, 137, 137, 344, 137, 137, + 137, 166, 166, 166, 166, 166, 166, 166, 166, 166, + 166, 158, 138, 622, 137, 166, 166, 166, 166, 166, + 166, 167, 167, 167, 167, 168, 167, 167, 167, 167, + 167, 167, 167, 167, 167, 167, 167, 167, 138, 167, + + 159, 159, 159, 159, 159, 159, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 167, 167, 167, + 167, 167, 167, 167, 167, 167, 167, 1125, 143, 1125, + 390, 167, 167, 167, 167, 167, 167, 138, 143, 528, + 292, 167, 146, 146, 146, 146, 146, 146, 146, 146, + 146, 146, 336, 138, 1125, 1125, 137, 137, 137, 137, + 137, 137, 183, 184, 532, 185, 186, 137, 137, 137, + 336, 137, 137, 294, 1125, 137, 295, 295, 295, 295, + 295, 295, 295, 295, 295, 295, 998, 148, 138, 137, + 137, 137, 143, 343, 144, 1125, 147, 147, 147, 147, + + 147, 233, 147, 147, 335, 145, 147, 1125, 146, 146, + 146, 146, 146, 146, 146, 146, 146, 146, 1053, 534, + 147, 147, 147, 151, 151, 151, 151, 151, 1125, 151, + 151, 315, 316, 151, 233, 154, 154, 317, 318, 154, + 154, 319, 226, 320, 321, 517, 226, 151, 151, 151, + 201, 388, 263, 390, 201, 195, 143, 387, 144, 154, + 138, 183, 184, 202, 213, 183, 542, 228, 229, 216, + 230, 228, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 154, 138, 155, 154, 259, 410, 154, 154, + 259, 154, 154, 154, 154, 263, 225, 154, 154, 296, + + 297, 298, 296, 296, 296, 296, 296, 296, 296, 492, + 1125, 236, 154, 154, 300, 300, 300, 300, 300, 300, + 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, + 300, 300, 300, 300, 619, 1125, 138, 239, 154, 236, + 260, 1125, 240, 236, 241, 241, 241, 241, 241, 241, + 241, 241, 241, 241, 158, 236, 531, 536, 242, 242, + 242, 242, 242, 242, 236, 236, 236, 236, 236, 236, + 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, + 236, 833, 247, 242, 242, 242, 242, 242, 242, 236, + 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, + + 1125, 391, 236, 236, 236, 236, 236, 236, 236, 236, + 236, 236, 1125, 500, 500, 500, 236, 236, 236, 236, + 236, 236, 146, 146, 146, 146, 146, 146, 146, 146, + 146, 146, 138, 1125, 1125, 183, 184, 336, 213, 183, + 138, 236, 236, 236, 236, 236, 236, 236, 527, 138, + 520, 236, 246, 246, 246, 246, 246, 246, 246, 246, + 246, 246, 158, 236, 1125, 336, 246, 246, 246, 246, + 246, 246, 247, 247, 247, 247, 248, 247, 247, 247, + 247, 247, 247, 247, 247, 247, 247, 247, 247, 219, + 249, 242, 242, 242, 242, 242, 242, 236, 236, 236, + + 236, 236, 236, 236, 236, 236, 236, 236, 247, 247, + 247, 247, 247, 247, 247, 247, 247, 247, 1125, 1125, + 1125, 547, 247, 247, 247, 247, 247, 247, 526, 344, + 206, 206, 247, 344, 206, 206, 349, 349, 349, 349, + 349, 349, 189, 731, 138, 541, 189, 236, 236, 236, + 236, 236, 236, 271, 206, 272, 272, 272, 272, 272, + 272, 272, 272, 272, 272, 158, 1125, 776, 1125, 273, + 273, 273, 273, 273, 273, 190, 191, 315, 316, 207, + 192, 138, 302, 317, 318, 537, 530, 319, 193, 320, + 1125, 194, 263, 404, 273, 273, 273, 273, 273, 273, + + 262, 218, 1125, 262, 624, 218, 556, 218, 218, 262, + 533, 557, 262, 262, 218, 262, 262, 262, 277, 277, + 277, 277, 277, 277, 277, 277, 277, 277, 158, 218, + 998, 262, 277, 277, 277, 277, 277, 277, 278, 278, + 278, 278, 279, 278, 278, 278, 278, 278, 278, 278, + 278, 278, 278, 278, 278, 263, 278, 273, 273, 273, + 273, 273, 273, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 278, 278, 278, 278, 278, 278, + 278, 278, 278, 278, 1125, 138, 138, 819, 278, 278, + 278, 278, 278, 278, 143, 470, 292, 516, 278, 1125, + + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 432, + 433, 1125, 434, 262, 262, 262, 262, 262, 262, 183, + 184, 540, 287, 288, 262, 262, 262, 621, 262, 262, + 466, 467, 262, 468, 263, 231, 231, 231, 231, 138, + 538, 231, 231, 539, 138, 231, 262, 262, 262, 154, + 138, 442, 137, 153, 137, 137, 153, 617, 137, 137, + 231, 231, 153, 345, 346, 347, 345, 345, 345, 345, + 345, 345, 345, 1125, 138, 138, 153, 153, 137, 156, + 549, 299, 299, 299, 299, 299, 299, 299, 299, 299, + 299, 158, 143, 535, 292, 299, 299, 299, 299, 299, + + 299, 183, 184, 933, 213, 183, 234, 234, 234, 234, + 234, 236, 234, 234, 236, 1125, 234, 568, 138, 1125, + 299, 299, 299, 299, 299, 299, 137, 628, 167, 137, + 234, 234, 234, 569, 236, 137, 618, 236, 137, 137, + 808, 137, 137, 137, 306, 306, 306, 306, 306, 306, + 306, 306, 306, 306, 158, 263, 546, 137, 306, 306, + 306, 306, 306, 306, 167, 167, 167, 167, 167, 167, + 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, + 167, 138, 167, 299, 299, 299, 299, 299, 299, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + + 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, + 1125, 158, 278, 846, 167, 167, 167, 167, 167, 167, + 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, + 371, 371, 371, 371, 371, 371, 302, 1125, 263, 137, + 137, 137, 137, 137, 137, 206, 587, 404, 137, 205, + 137, 137, 205, 234, 137, 137, 234, 627, 205, 1125, + 518, 575, 234, 154, 518, 234, 576, 154, 234, 234, + 154, 1125, 205, 205, 137, 263, 154, 489, 490, 263, + 491, 633, 236, 522, 234, 589, 1125, 519, 523, 1036, + 154, 154, 349, 349, 349, 349, 349, 349, 349, 349, + + 349, 349, 509, 509, 509, 509, 509, 510, 237, 234, + 154, 524, 263, 154, 625, 524, 154, 154, 1125, 154, + 154, 154, 154, 356, 357, 154, 154, 518, 524, 358, + 359, 518, 524, 360, 1125, 361, 620, 158, 525, 236, + 154, 154, 1125, 630, 367, 368, 369, 367, 367, 367, + 367, 367, 367, 367, 519, 525, 269, 269, 1064, 236, + 269, 269, 236, 629, 138, 239, 154, 240, 588, 348, + 348, 348, 348, 348, 348, 348, 348, 348, 348, 158, + 269, 263, 548, 348, 348, 348, 348, 348, 348, 1125, + 1125, 262, 262, 262, 262, 262, 585, 262, 262, 586, + + 570, 262, 138, 626, 263, 270, 732, 638, 348, 348, + 348, 348, 348, 348, 236, 262, 262, 262, 236, 350, + 350, 350, 350, 350, 350, 350, 350, 350, 350, 158, + 236, 263, 1058, 350, 350, 350, 350, 350, 350, 247, + 247, 247, 247, 247, 247, 247, 247, 247, 247, 247, + 247, 247, 247, 247, 247, 247, 635, 249, 348, 348, + 348, 348, 348, 348, 236, 236, 236, 236, 236, 236, + 236, 236, 236, 236, 236, 247, 247, 247, 247, 247, + 247, 247, 247, 247, 247, 1125, 1125, 138, 138, 247, + 247, 247, 247, 247, 247, 1125, 264, 264, 264, 264, + + 264, 623, 264, 264, 722, 391, 264, 392, 392, 392, + 392, 392, 392, 634, 236, 236, 236, 236, 236, 236, + 264, 264, 264, 266, 266, 266, 266, 266, 1125, 266, + 266, 885, 167, 266, 371, 371, 371, 371, 371, 371, + 371, 371, 371, 371, 138, 1125, 138, 266, 266, 266, + 269, 632, 631, 262, 268, 262, 262, 268, 1125, 262, + 262, 302, 636, 268, 371, 371, 371, 371, 371, 371, + 371, 371, 371, 371, 590, 726, 138, 268, 268, 262, + 271, 644, 370, 370, 370, 370, 370, 370, 370, 370, + 370, 370, 158, 504, 302, 138, 370, 370, 370, 370, + + 370, 370, 378, 379, 138, 506, 518, 524, 380, 381, + 518, 524, 382, 138, 383, 642, 1125, 302, 138, 263, + 302, 370, 370, 370, 370, 370, 370, 262, 506, 643, + 262, 404, 302, 519, 525, 236, 262, 661, 236, 262, + 262, 138, 262, 262, 262, 372, 372, 372, 372, 372, + 372, 372, 372, 372, 372, 158, 933, 820, 262, 372, + 372, 372, 372, 372, 372, 278, 278, 278, 278, 278, + 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, + 278, 278, 263, 278, 370, 370, 370, 370, 370, 370, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + + 262, 278, 278, 278, 278, 278, 278, 278, 278, 278, + 278, 1125, 143, 1125, 292, 278, 278, 278, 278, 278, + 278, 295, 295, 295, 295, 295, 295, 295, 295, 295, + 295, 447, 721, 448, 448, 448, 448, 448, 448, 859, + 262, 262, 262, 262, 262, 262, 295, 295, 295, 295, + 295, 295, 295, 295, 295, 295, 391, 637, 392, 392, + 392, 392, 392, 392, 392, 392, 392, 392, 447, 1029, + 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, + 683, 206, 263, 641, 666, 206, 236, 686, 206, 236, + 662, 138, 138, 1025, 206, 138, 391, 804, 393, 393, + + 393, 393, 393, 393, 393, 393, 393, 393, 206, 206, + 447, 263, 449, 449, 449, 449, 449, 449, 449, 449, + 449, 449, 447, 263, 450, 450, 450, 450, 450, 451, + 448, 448, 448, 448, 236, 138, 391, 236, 394, 394, + 394, 394, 394, 395, 392, 392, 392, 392, 498, 498, + 499, 500, 500, 500, 500, 500, 500, 500, 401, 138, + 269, 302, 518, 278, 269, 842, 518, 269, 236, 740, + 663, 236, 506, 269, 665, 138, 396, 396, 396, 396, + 396, 396, 396, 396, 396, 396, 158, 269, 269, 519, + 396, 396, 396, 396, 396, 396, 493, 494, 495, 493, + + 493, 493, 493, 493, 493, 493, 610, 610, 610, 610, + 610, 611, 884, 138, 167, 396, 396, 396, 396, 396, + 396, 398, 399, 400, 400, 400, 400, 400, 400, 400, + 400, 401, 1125, 138, 1024, 402, 402, 402, 402, 402, + 402, 409, 409, 409, 409, 409, 409, 409, 409, 409, + 409, 524, 138, 723, 753, 524, 889, 718, 167, 754, + 402, 402, 402, 402, 402, 402, 302, 405, 406, 407, + 405, 405, 405, 405, 405, 405, 405, 408, 525, 685, + 682, 409, 409, 409, 409, 409, 409, 508, 508, 508, + 508, 508, 508, 508, 508, 508, 508, 711, 711, 711, + + 711, 711, 712, 1125, 504, 302, 409, 409, 409, 409, + 409, 409, 137, 263, 263, 137, 506, 167, 1125, 236, + 734, 137, 236, 807, 137, 137, 733, 137, 137, 137, + 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, + 158, 278, 915, 137, 411, 411, 411, 411, 411, 411, + 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, + 167, 167, 167, 167, 167, 167, 167, 138, 167, 396, + 396, 396, 396, 396, 396, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 167, 167, 167, 167, + 167, 167, 167, 167, 167, 167, 1125, 1125, 504, 302, + + 167, 167, 167, 167, 167, 167, 1125, 1125, 507, 507, + 507, 507, 507, 507, 507, 507, 507, 507, 739, 727, + 236, 1125, 302, 236, 728, 137, 137, 137, 137, 137, + 137, 452, 452, 452, 452, 452, 452, 452, 452, 452, + 452, 158, 953, 970, 167, 452, 452, 452, 452, 452, + 452, 550, 551, 552, 550, 550, 550, 550, 550, 550, + 550, 719, 724, 764, 684, 719, 724, 970, 765, 138, + 452, 452, 452, 452, 452, 452, 453, 453, 453, 453, + 453, 453, 453, 453, 453, 453, 745, 167, 720, 725, + 453, 453, 453, 453, 453, 453, 447, 263, 448, 448, + + 448, 448, 448, 448, 448, 448, 448, 448, 811, 236, + 504, 302, 236, 167, 302, 452, 452, 452, 452, 452, + 452, 470, 607, 471, 471, 471, 471, 471, 471, 471, + 471, 471, 471, 447, 859, 448, 448, 448, 448, 448, + 448, 448, 448, 448, 448, 571, 572, 573, 571, 571, + 571, 571, 571, 571, 571, 236, 954, 167, 236, 138, + 263, 470, 302, 472, 472, 472, 472, 472, 472, 472, + 472, 472, 472, 506, 470, 899, 471, 471, 471, 471, + 471, 471, 263, 596, 596, 596, 596, 596, 596, 596, + 596, 596, 596, 401, 167, 143, 843, 292, 809, 778, + + 263, 470, 278, 473, 473, 473, 473, 473, 474, 471, + 471, 471, 471, 263, 601, 602, 603, 601, 601, 601, + 601, 601, 601, 601, 515, 515, 515, 515, 515, 515, + 515, 515, 515, 515, 236, 167, 924, 236, 138, 138, + 263, 262, 813, 475, 475, 475, 475, 475, 475, 475, + 475, 475, 475, 743, 985, 815, 821, 475, 475, 475, + 475, 475, 475, 504, 302, 605, 605, 605, 605, 605, + 605, 138, 729, 735, 737, 506, 729, 735, 737, 757, + 769, 744, 475, 475, 475, 475, 475, 475, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 978, 730, + + 736, 738, 476, 476, 476, 476, 476, 476, 609, 609, + 609, 609, 609, 609, 609, 609, 609, 609, 138, 590, + 977, 591, 591, 591, 591, 591, 591, 475, 475, 475, + 475, 475, 475, 391, 776, 392, 392, 392, 392, 392, + 392, 392, 392, 392, 392, 1125, 778, 608, 608, 608, + 608, 608, 608, 608, 608, 608, 608, 645, 138, 646, + 646, 646, 646, 646, 646, 646, 646, 646, 646, 143, + 841, 292, 138, 391, 278, 392, 392, 392, 392, 392, + 392, 392, 392, 392, 392, 645, 976, 647, 647, 647, + 647, 647, 647, 647, 647, 647, 647, 645, 302, 648, + + 648, 648, 648, 648, 649, 646, 646, 646, 646, 607, + 832, 845, 138, 504, 302, 505, 505, 505, 505, 505, + 505, 505, 505, 505, 505, 506, 278, 247, 818, 507, + 507, 507, 507, 507, 507, 687, 688, 689, 687, 687, + 687, 687, 687, 687, 687, 645, 167, 646, 646, 646, + 646, 646, 646, 814, 507, 507, 507, 507, 507, 507, + 302, 511, 512, 513, 511, 511, 511, 511, 511, 511, + 511, 514, 138, 278, 986, 515, 515, 515, 515, 515, + 515, 699, 138, 700, 700, 700, 700, 700, 700, 700, + 700, 700, 700, 719, 263, 1125, 302, 719, 138, 167, + + 515, 515, 515, 515, 515, 515, 137, 607, 746, 137, + 812, 847, 138, 916, 956, 137, 278, 882, 137, 137, + 720, 137, 137, 137, 167, 167, 167, 167, 167, 167, + 167, 167, 167, 167, 158, 504, 302, 137, 167, 167, + 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, + 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, + 167, 138, 167, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 553, 553, 553, 553, 553, 553, 553, 553, 553, 553, + 950, 263, 167, 167, 553, 553, 553, 553, 553, 553, + + 699, 768, 701, 701, 701, 701, 701, 701, 701, 701, + 701, 701, 781, 781, 781, 781, 781, 782, 869, 553, + 553, 553, 553, 553, 553, 554, 554, 554, 554, 554, + 554, 554, 554, 554, 554, 987, 167, 778, 278, 554, + 554, 554, 554, 554, 554, 699, 806, 702, 702, 702, + 702, 702, 703, 700, 700, 700, 700, 798, 798, 798, + 798, 798, 799, 693, 553, 553, 553, 553, 553, 553, + 236, 236, 566, 236, 236, 567, 236, 236, 236, 236, + 1125, 1015, 263, 167, 236, 236, 236, 236, 236, 236, + 616, 616, 616, 616, 616, 616, 616, 616, 616, 616, + + 699, 894, 700, 700, 700, 700, 700, 700, 917, 236, + 236, 236, 236, 236, 236, 470, 167, 471, 471, 471, + 471, 471, 471, 471, 471, 471, 471, 504, 302, 706, + 706, 706, 706, 706, 706, 1016, 167, 138, 1125, 607, + 710, 710, 710, 710, 710, 710, 710, 710, 710, 710, + 778, 888, 1012, 835, 263, 470, 167, 471, 471, 471, + 471, 471, 471, 471, 471, 471, 471, 1125, 909, 709, + 709, 709, 709, 709, 709, 709, 709, 709, 709, 747, + 748, 749, 747, 747, 747, 747, 747, 747, 747, 897, + 143, 263, 292, 897, 263, 590, 776, 591, 591, 591, + + 591, 591, 591, 591, 591, 591, 591, 645, 778, 646, + 646, 646, 646, 646, 646, 646, 646, 646, 646, 645, + 302, 646, 646, 646, 646, 646, 646, 646, 646, 646, + 646, 607, 724, 908, 138, 590, 724, 592, 592, 592, + 592, 592, 592, 592, 592, 592, 592, 167, 898, 729, + 504, 302, 959, 729, 960, 907, 1017, 810, 960, 725, + 735, 737, 607, 719, 735, 737, 666, 719, 667, 667, + 667, 667, 667, 667, 138, 590, 730, 593, 593, 593, + 593, 593, 594, 591, 591, 591, 591, 736, 738, 776, + 720, 758, 759, 760, 758, 758, 758, 758, 758, 758, + + 758, 859, 724, 729, 906, 263, 724, 729, 862, 862, + 862, 862, 862, 863, 138, 504, 302, 605, 605, 605, + 605, 605, 605, 605, 605, 605, 605, 506, 263, 725, + 730, 604, 604, 604, 604, 604, 604, 698, 698, 698, + 698, 698, 698, 698, 698, 698, 698, 822, 735, 737, + 719, 138, 735, 737, 719, 896, 604, 604, 604, 604, + 604, 604, 504, 302, 606, 606, 606, 606, 606, 606, + 606, 606, 606, 606, 607, 736, 738, 720, 608, 608, + 608, 608, 608, 608, 780, 780, 780, 780, 780, 780, + 780, 780, 780, 780, 724, 729, 735, 955, 724, 729, + + 735, 895, 167, 608, 608, 608, 608, 608, 608, 302, + 612, 613, 614, 612, 612, 612, 612, 612, 612, 612, + 615, 725, 730, 736, 616, 616, 616, 616, 616, 616, + 1125, 302, 779, 779, 779, 779, 779, 779, 779, 779, + 779, 779, 708, 138, 504, 302, 278, 1030, 167, 616, + 616, 616, 616, 616, 616, 666, 708, 667, 667, 667, + 667, 667, 667, 667, 667, 667, 667, 788, 789, 790, + 788, 788, 788, 788, 788, 788, 788, 699, 1125, 700, + 700, 700, 700, 700, 700, 700, 700, 700, 700, 1051, + 859, 167, 918, 693, 263, 666, 502, 668, 668, 668, + + 668, 668, 668, 668, 668, 668, 668, 699, 900, 700, + 700, 700, 700, 700, 700, 700, 700, 700, 700, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 844, + 900, 138, 900, 901, 263, 666, 834, 669, 669, 669, + 669, 669, 670, 667, 667, 667, 667, 1125, 302, 504, + 302, 793, 793, 793, 793, 793, 793, 138, 1078, 708, + 1079, 708, 797, 797, 797, 797, 797, 797, 797, 797, + 797, 797, 737, 918, 263, 590, 737, 591, 591, 591, + 591, 591, 591, 591, 591, 591, 591, 1125, 831, 796, + 796, 796, 796, 796, 796, 796, 796, 796, 796, 738, + + 822, 823, 823, 823, 823, 823, 823, 823, 823, 823, + 823, 1096, 138, 1079, 138, 590, 830, 591, 591, 591, + 591, 591, 591, 591, 591, 591, 591, 822, 824, 824, + 824, 824, 824, 824, 824, 824, 824, 824, 822, 825, + 825, 825, 825, 825, 826, 823, 823, 823, 823, 958, + 959, 828, 960, 958, 138, 694, 695, 696, 694, 694, + 694, 694, 694, 694, 694, 697, 217, 217, 217, 698, + 698, 698, 698, 698, 698, 979, 848, 849, 850, 851, + 848, 848, 848, 848, 848, 848, 769, 770, 770, 770, + 770, 770, 770, 827, 698, 698, 698, 698, 698, 698, + + 504, 302, 706, 706, 706, 706, 706, 706, 706, 706, + 706, 706, 607, 138, 263, 817, 705, 705, 705, 705, + 705, 705, 979, 816, 138, 853, 854, 855, 853, 853, + 853, 853, 853, 853, 853, 880, 880, 880, 880, 880, + 881, 705, 705, 705, 705, 705, 705, 504, 302, 707, + 707, 707, 707, 707, 707, 707, 707, 707, 707, 708, + 143, 263, 292, 709, 709, 709, 709, 709, 709, 787, + 787, 787, 787, 787, 787, 787, 787, 787, 787, 890, + 892, 886, 167, 890, 892, 886, 1031, 699, 709, 709, + 709, 709, 709, 709, 302, 713, 714, 715, 713, 713, + + 713, 713, 713, 713, 713, 716, 891, 893, 887, 717, + 717, 717, 717, 717, 717, 776, 138, 857, 857, 857, + 857, 857, 857, 961, 693, 138, 949, 778, 502, 504, + 302, 167, 401, 263, 717, 717, 717, 717, 717, 717, + 666, 708, 667, 667, 667, 667, 667, 667, 667, 667, + 667, 667, 861, 861, 861, 861, 861, 861, 861, 861, + 861, 861, 1125, 302, 860, 860, 860, 860, 860, 860, + 860, 860, 860, 860, 708, 1072, 1072, 1072, 1072, 263, + 666, 776, 667, 667, 667, 667, 667, 667, 667, 667, + 667, 667, 869, 859, 870, 870, 870, 870, 870, 870, + + 870, 870, 870, 870, 869, 302, 871, 871, 871, 871, + 871, 871, 871, 871, 871, 871, 795, 1059, 1086, 263, + 769, 770, 770, 770, 770, 770, 770, 770, 770, 770, + 770, 869, 263, 872, 872, 872, 872, 872, 873, 870, + 870, 870, 870, 504, 302, 803, 803, 803, 803, 803, + 803, 803, 803, 803, 803, 795, 263, 138, 138, 769, + 771, 771, 771, 771, 771, 771, 771, 771, 771, 771, + 1125, 302, 504, 302, 876, 876, 876, 876, 876, 876, + 263, 263, 795, 776, 795, 879, 879, 879, 879, 879, + 879, 879, 879, 879, 879, 933, 767, 138, 769, 772, + + 772, 772, 772, 772, 773, 770, 770, 770, 770, 1125, + 1125, 878, 878, 878, 878, 878, 878, 878, 878, 878, + 878, 766, 933, 890, 892, 763, 776, 890, 892, 822, + 823, 823, 823, 823, 823, 823, 138, 776, 933, 777, + 777, 777, 777, 777, 777, 777, 777, 777, 777, 778, + 891, 893, 762, 779, 779, 779, 779, 779, 779, 902, + 903, 904, 905, 902, 902, 902, 902, 902, 902, 163, + 163, 163, 163, 167, 167, 163, 761, 163, 779, 779, + 779, 779, 779, 779, 783, 784, 785, 783, 783, 783, + 783, 783, 783, 783, 786, 217, 217, 217, 787, 787, + + 787, 787, 787, 787, 822, 823, 823, 823, 823, 823, + 823, 823, 823, 823, 823, 886, 890, 892, 756, 886, + 890, 892, 755, 787, 787, 787, 787, 787, 787, 504, + 302, 793, 793, 793, 793, 793, 793, 793, 793, 793, + 793, 708, 887, 891, 893, 792, 792, 792, 792, 792, + 792, 822, 823, 823, 823, 823, 823, 823, 823, 823, + 823, 823, 886, 278, 278, 278, 886, 752, 751, 750, + 792, 792, 792, 792, 792, 792, 504, 302, 794, 794, + 794, 794, 794, 794, 794, 794, 794, 794, 795, 887, + 645, 742, 796, 796, 796, 796, 796, 796, 910, 911, + + 912, 913, 910, 910, 910, 910, 910, 910, 835, 836, + 836, 836, 836, 836, 836, 741, 138, 796, 796, 796, + 796, 796, 796, 302, 800, 801, 802, 800, 800, 800, + 800, 800, 800, 800, 1102, 263, 138, 138, 803, 803, + 803, 803, 803, 803, 138, 924, 263, 925, 925, 925, + 925, 925, 925, 925, 925, 925, 925, 936, 936, 936, + 936, 936, 937, 803, 803, 803, 803, 803, 803, 137, + 890, 892, 137, 263, 890, 892, 958, 959, 137, 960, + 958, 137, 137, 1125, 137, 137, 137, 167, 167, 167, + 167, 167, 167, 167, 167, 167, 167, 891, 893, 693, + + 137, 167, 167, 167, 167, 167, 167, 167, 167, 805, + 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, + 167, 167, 167, 167, 138, 167, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 236, 502, 401, 776, 236, 247, 247, + 247, 247, 247, 247, 247, 247, 247, 247, 998, 236, + 401, 681, 247, 247, 247, 247, 247, 247, 247, 247, + 247, 247, 247, 247, 247, 247, 247, 247, 247, 247, + 247, 247, 829, 247, 247, 680, 249, 236, 236, 236, + 236, 236, 236, 236, 236, 236, 236, 236, 236, 236, + + 236, 236, 236, 236, 835, 836, 836, 836, 836, 836, + 836, 836, 836, 836, 836, 924, 679, 926, 926, 926, + 926, 926, 926, 926, 926, 926, 926, 924, 302, 927, + 927, 927, 927, 927, 928, 925, 925, 925, 925, 795, + 678, 677, 263, 835, 837, 837, 837, 837, 837, 837, + 837, 837, 837, 837, 868, 868, 868, 868, 868, 868, + 868, 868, 868, 868, 776, 1125, 931, 931, 931, 931, + 931, 931, 301, 301, 397, 397, 859, 998, 301, 676, + 397, 263, 835, 838, 838, 838, 838, 838, 839, 836, + 836, 836, 836, 935, 935, 935, 935, 935, 935, 935, + + 935, 935, 935, 1125, 900, 934, 934, 934, 934, 934, + 934, 934, 934, 934, 934, 504, 302, 496, 496, 776, + 263, 262, 675, 496, 262, 674, 900, 795, 900, 900, + 262, 998, 673, 262, 262, 672, 262, 262, 262, 278, + 278, 278, 278, 278, 278, 278, 278, 278, 278, 143, + 671, 292, 262, 278, 278, 278, 278, 278, 278, 278, + 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, + 278, 840, 278, 278, 278, 278, 263, 278, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 769, 770, 770, 770, 770, + + 770, 770, 770, 770, 770, 770, 943, 944, 945, 943, + 943, 943, 943, 943, 943, 943, 869, 1018, 870, 870, + 870, 870, 870, 870, 870, 870, 870, 870, 1052, 143, + 660, 292, 1052, 138, 769, 770, 770, 770, 770, 770, + 770, 770, 770, 770, 770, 869, 659, 870, 870, 870, + 870, 870, 870, 870, 870, 870, 870, 869, 658, 870, + 870, 870, 870, 870, 870, 1001, 1001, 1001, 1001, 1001, + 1002, 657, 138, 776, 656, 857, 857, 857, 857, 857, + 857, 857, 857, 857, 857, 778, 776, 655, 858, 858, + 858, 858, 858, 858, 858, 858, 858, 858, 859, 654, + + 653, 652, 860, 860, 860, 860, 860, 860, 504, 302, + 948, 948, 948, 948, 948, 948, 651, 951, 951, 951, + 1095, 951, 951, 951, 650, 1125, 1095, 860, 860, 860, + 860, 860, 860, 864, 865, 866, 864, 864, 864, 864, + 864, 864, 864, 867, 952, 952, 952, 868, 868, 868, + 868, 868, 868, 963, 1125, 497, 497, 963, 964, 965, + 966, 497, 1077, 1078, 963, 1079, 1077, 167, 963, 964, + 965, 966, 868, 868, 868, 868, 868, 868, 504, 302, + 876, 876, 876, 876, 876, 876, 876, 876, 876, 876, + 795, 436, 640, 639, 875, 875, 875, 875, 875, 875, + + 1047, 1047, 1047, 1047, 1047, 1048, 970, 967, 971, 971, + 971, 971, 971, 971, 971, 971, 971, 971, 969, 875, + 875, 875, 875, 875, 875, 504, 302, 877, 877, 877, + 877, 877, 877, 877, 877, 877, 877, 1125, 599, 502, + 401, 878, 878, 878, 878, 878, 878, 970, 595, 972, + 972, 972, 972, 972, 972, 972, 972, 972, 972, 302, + 1007, 1007, 1007, 1007, 1007, 1007, 878, 878, 878, 878, + 878, 878, 137, 1125, 249, 137, 962, 249, 401, 249, + 164, 137, 962, 962, 137, 137, 962, 137, 137, 137, + 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, + + 962, 962, 962, 137, 167, 167, 167, 167, 167, 167, + 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, + 167, 167, 167, 883, 167, 167, 167, 138, 167, 137, + 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, + 137, 137, 137, 137, 137, 137, 886, 584, 583, 924, + 886, 925, 925, 925, 925, 925, 925, 582, 236, 581, + 580, 579, 236, 247, 247, 247, 247, 247, 247, 247, + 247, 247, 247, 887, 236, 578, 577, 247, 247, 247, + 247, 247, 247, 247, 247, 247, 247, 247, 247, 247, + 247, 247, 247, 247, 247, 247, 247, 247, 247, 247, + + 574, 249, 236, 236, 236, 236, 236, 236, 236, 236, + 236, 236, 236, 236, 236, 236, 236, 236, 236, 835, + 836, 836, 836, 836, 836, 836, 836, 836, 836, 836, + 970, 158, 973, 973, 973, 973, 973, 974, 975, 975, + 975, 975, 970, 565, 975, 975, 975, 971, 971, 971, + 971, 971, 971, 971, 564, 563, 562, 263, 835, 836, + 836, 836, 836, 836, 836, 836, 836, 836, 836, 918, + 561, 919, 919, 919, 919, 919, 919, 951, 560, 559, + 558, 951, 991, 992, 993, 991, 991, 991, 991, 991, + 991, 991, 501, 501, 1011, 1011, 263, 262, 501, 1013, + + 262, 1011, 249, 1013, 952, 249, 262, 249, 138, 262, + 262, 555, 262, 262, 262, 278, 278, 278, 278, 278, + 278, 278, 278, 278, 278, 278, 1014, 447, 262, 278, + 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, + 278, 278, 278, 278, 278, 278, 914, 278, 278, 278, + 278, 278, 263, 278, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 918, 436, 919, 919, 919, 919, 919, 919, 919, + 919, 919, 919, 545, 436, 544, 988, 989, 990, 988, + 988, 988, 988, 988, 988, 988, 924, 436, 925, 925, + + 925, 925, 925, 925, 925, 925, 925, 925, 543, 1125, + 138, 918, 1125, 920, 920, 920, 920, 920, 920, 920, + 920, 920, 920, 138, 924, 401, 925, 925, 925, 925, + 925, 925, 925, 925, 925, 925, 942, 942, 942, 942, + 942, 942, 942, 942, 942, 942, 595, 595, 502, 401, + 138, 918, 595, 921, 921, 921, 921, 921, 922, 923, + 923, 923, 923, 776, 164, 996, 996, 996, 996, 996, + 996, 488, 487, 486, 485, 933, 1000, 1000, 1000, 1000, + 1000, 1000, 1000, 1000, 1000, 1000, 597, 597, 484, 483, + 138, 918, 597, 923, 923, 923, 919, 919, 919, 919, + + 919, 919, 919, 1125, 482, 999, 999, 999, 999, 999, + 999, 999, 999, 999, 999, 302, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 1007, 1007, 598, 598, 481, 480, + 138, 776, 598, 931, 931, 931, 931, 931, 931, 931, + 931, 931, 931, 859, 776, 479, 932, 932, 932, 932, + 932, 932, 932, 932, 932, 932, 933, 478, 477, 271, + 934, 934, 934, 934, 934, 934, 302, 1008, 1008, 1008, + 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 469, 1077, + 1078, 1013, 1079, 1077, 465, 934, 934, 934, 934, 934, + 934, 938, 939, 940, 938, 938, 938, 938, 938, 938, + + 938, 941, 464, 463, 1014, 942, 942, 942, 942, 942, + 942, 302, 1009, 1009, 1009, 1009, 1009, 1010, 1007, 1007, + 1007, 1007, 1013, 690, 690, 462, 1013, 167, 461, 690, + 942, 942, 942, 942, 942, 942, 504, 302, 948, 948, + 948, 948, 948, 948, 948, 948, 948, 948, 979, 1014, + 980, 980, 980, 980, 980, 980, 980, 980, 980, 980, + 1125, 1072, 460, 1072, 1125, 1125, 1125, 1125, 963, 1072, + 278, 459, 963, 964, 965, 966, 1021, 1022, 1023, 1021, + 1021, 1021, 1021, 1021, 1021, 1021, 458, 263, 979, 457, + 981, 981, 981, 981, 981, 981, 981, 981, 981, 981, + + 1125, 456, 691, 691, 1125, 964, 965, 966, 691, 455, + 454, 1125, 240, 444, 967, 1125, 1125, 1125, 966, 692, + 692, 441, 967, 774, 774, 692, 440, 263, 979, 774, + 982, 982, 982, 982, 982, 983, 984, 984, 984, 984, + 1019, 439, 438, 1020, 1020, 1020, 1020, 1020, 1020, 1020, + 1020, 1020, 1020, 431, 967, 1125, 430, 775, 775, 1125, + 1125, 1125, 1125, 775, 429, 967, 428, 263, 979, 427, + 984, 984, 984, 980, 980, 980, 980, 980, 980, 980, + 970, 426, 971, 971, 971, 971, 971, 971, 971, 971, + 971, 971, 423, 1125, 422, 249, 968, 1013, 249, 421, + + 249, 1013, 968, 968, 420, 419, 968, 263, 918, 969, + 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, + 968, 968, 968, 970, 1014, 971, 971, 971, 971, 971, + 971, 971, 971, 971, 971, 970, 418, 971, 971, 971, + 971, 971, 971, 852, 852, 417, 416, 138, 918, 852, + 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, + 415, 414, 413, 412, 164, 1026, 1027, 1028, 1026, 1026, + 1026, 1026, 1026, 1026, 1026, 979, 156, 980, 980, 980, + 980, 980, 980, 929, 929, 385, 384, 138, 776, 929, + 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, + + 933, 776, 263, 997, 997, 997, 997, 997, 997, 997, + 997, 997, 997, 998, 263, 377, 376, 999, 999, 999, + 999, 999, 999, 1036, 375, 1037, 1037, 1037, 1037, 1037, + 1037, 1037, 1037, 1037, 1037, 1091, 1091, 1091, 1091, 1091, + 1091, 374, 999, 999, 999, 999, 999, 999, 1003, 1004, + 1005, 1003, 1003, 1003, 1003, 1003, 1003, 1003, 373, 262, + 366, 267, 1006, 1006, 1006, 1006, 1006, 1006, 1036, 265, + 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, + 1119, 1119, 1119, 1119, 1119, 1119, 263, 1006, 1006, 1006, + 1006, 1006, 1006, 979, 260, 980, 980, 980, 980, 980, + + 980, 980, 980, 980, 980, 1036, 365, 1039, 1039, 1039, + 1039, 1039, 1040, 1037, 1037, 1037, 1037, 1006, 1006, 1006, + 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1049, 994, 994, + 364, 1049, 263, 979, 994, 980, 980, 980, 980, 980, + 980, 980, 980, 980, 980, 776, 363, 1043, 1043, 1043, + 1043, 1043, 1043, 362, 1050, 355, 354, 998, 1046, 1046, + 1046, 1046, 1046, 1046, 1046, 1046, 1046, 1046, 1041, 1041, + 353, 352, 263, 1031, 1041, 1032, 1032, 1032, 1032, 1032, + 1032, 1032, 1032, 1032, 1032, 1125, 351, 1045, 1045, 1045, + 1045, 1045, 1045, 1045, 1045, 1045, 1045, 302, 1007, 1007, + + 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1125, 237, + 1049, 229, 138, 1031, 1049, 1033, 1033, 1033, 1033, 1033, + 1033, 1033, 1033, 1033, 1033, 302, 1007, 1007, 1007, 1007, + 1007, 1007, 1007, 1007, 1007, 1007, 224, 1050, 1049, 225, + 219, 1036, 1049, 1037, 1037, 1037, 1037, 1037, 1037, 219, + 184, 211, 138, 1031, 342, 1034, 1034, 1034, 1034, 1034, + 1035, 1032, 1032, 1032, 1032, 1050, 1020, 1020, 1020, 1020, + 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, + 1020, 1020, 1020, 1020, 1020, 1020, 249, 334, 167, 249, + 333, 249, 138, 776, 332, 1043, 1043, 1043, 1043, 1043, + + 1043, 1043, 1043, 1043, 1043, 998, 776, 331, 1044, 1044, + 1044, 1044, 1044, 1044, 1044, 1044, 1044, 1044, 330, 327, + 326, 325, 1045, 1045, 1045, 1045, 1045, 1045, 1053, 324, + 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, + 323, 1116, 1116, 1116, 1116, 1116, 1116, 1045, 1045, 1045, + 1045, 1045, 1045, 1053, 322, 1055, 1055, 1055, 1055, 1055, + 1055, 1055, 1055, 1055, 1055, 1053, 314, 1056, 1056, 1056, + 1056, 1056, 1057, 1054, 1054, 1054, 1054, 1059, 138, 1060, + 1060, 1060, 1060, 1060, 1060, 1060, 1060, 1060, 1060, 313, + 312, 1049, 311, 310, 309, 1049, 1065, 1066, 1067, 1065, + + 1065, 1065, 1065, 1065, 1065, 1065, 1031, 308, 1032, 1032, + 1032, 1032, 1032, 1032, 307, 164, 263, 1059, 1050, 1061, + 1061, 1061, 1061, 1061, 1061, 1061, 1061, 1061, 1061, 137, + 164, 1074, 239, 138, 152, 1074, 1071, 1071, 150, 278, + 143, 141, 1071, 138, 286, 138, 1068, 1069, 1070, 1068, + 1068, 1068, 1068, 1068, 1068, 1068, 263, 1059, 1075, 1062, + 1062, 1062, 1062, 1062, 1063, 1060, 1060, 1060, 1060, 1036, + 285, 1037, 1037, 1037, 1037, 1037, 1037, 1037, 1037, 1037, + 1037, 1036, 284, 1037, 1037, 1037, 1037, 1037, 1037, 1037, + 1037, 1037, 1037, 283, 1074, 282, 263, 1031, 1074, 1032, + + 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 776, + 278, 1073, 1073, 1073, 1073, 1073, 1073, 1073, 1073, 1073, + 1073, 1075, 1074, 267, 263, 1053, 1074, 1054, 1054, 1054, + 1054, 1054, 1054, 260, 256, 255, 138, 1031, 254, 1032, + 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1032, 1075, + 1080, 1081, 1082, 1080, 1080, 1080, 1080, 1080, 1080, 1080, + 1053, 253, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, + 1054, 1054, 167, 252, 247, 1053, 138, 1054, 1054, 1054, + 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1083, 1084, 1085, + 1083, 1083, 1083, 1083, 1083, 1083, 1083, 225, 1059, 219, + + 1060, 1060, 1060, 1060, 1060, 1060, 211, 140, 177, 208, + 174, 1074, 200, 198, 1097, 1074, 1098, 1098, 1098, 1098, + 1098, 1098, 180, 179, 263, 1059, 176, 1060, 1060, 1060, + 1060, 1060, 1060, 1060, 1060, 1060, 1060, 263, 1075, 1091, + 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1092, + 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 278, + 175, 167, 164, 152, 263, 1059, 141, 1060, 1060, 1060, + 1060, 1060, 1060, 1060, 1060, 1060, 1060, 1093, 1093, 1093, + 1093, 1093, 1094, 1091, 1091, 1091, 1091, 1097, 140, 1098, + 1098, 1098, 1098, 1098, 1098, 1098, 1098, 1098, 1098, 138, + + 1125, 1125, 1125, 1125, 263, 1086, 1125, 1087, 1087, 1087, + 1087, 1087, 1087, 1087, 1087, 1087, 1087, 1097, 1125, 1099, + 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1097, + 1125, 1100, 1100, 1100, 1100, 1100, 1101, 1098, 1098, 1098, + 1098, 1125, 1125, 1125, 138, 1086, 1125, 1088, 1088, 1088, + 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1125, 1125, 1125, + 1107, 1108, 1109, 1107, 1107, 1107, 1107, 1107, 1107, 1107, + 1086, 1125, 1087, 1087, 1087, 1087, 1087, 1087, 1125, 1125, + 1125, 1125, 1125, 1125, 138, 1086, 1125, 1089, 1089, 1089, + 1089, 1089, 1090, 1087, 1087, 1087, 1087, 138, 1091, 1091, + + 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1125, 138, + 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, 1091, + 1125, 1125, 1125, 1125, 138, 1102, 1125, 1103, 1103, 1103, + 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1110, 1111, 1112, + 1110, 1110, 1110, 1110, 1110, 1110, 1110, 1097, 1125, 1098, + 1098, 1098, 1098, 1098, 1098, 1098, 1098, 1098, 1098, 1125, + 1125, 1125, 1125, 1125, 263, 1102, 1125, 1104, 1104, 1104, + 1104, 1104, 1104, 1104, 1104, 1104, 1104, 1097, 1125, 1098, + 1098, 1098, 1098, 1098, 1098, 1098, 1098, 1098, 1098, 1113, + 1114, 1115, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1125, + + 1125, 1125, 1125, 1125, 263, 1102, 1125, 1105, 1105, 1105, + 1105, 1105, 1106, 1103, 1103, 1103, 1103, 1125, 1102, 1125, + 1103, 1103, 1103, 1103, 1103, 1103, 263, 1116, 1116, 1116, + 1116, 1116, 1116, 1116, 1116, 1116, 1116, 1125, 1122, 1122, + 1122, 1122, 1122, 1122, 263, 1086, 1125, 1087, 1087, 1087, + 1087, 1087, 1087, 1087, 1087, 1087, 1087, 263, 1125, 1125, + 1125, 1125, 1125, 1125, 138, 1107, 1107, 1107, 1107, 1107, + 1107, 1107, 1107, 1107, 1107, 263, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 138, 1086, 1125, 1087, 1087, 1087, + 1087, 1087, 1087, 1087, 1087, 1087, 1087, 1125, 1125, 1125, + + 1125, 1125, 138, 1117, 1117, 1117, 1117, 1117, 1118, 1116, + 1116, 1116, 1116, 1119, 1119, 1119, 1119, 1119, 1119, 1119, + 1119, 1119, 1119, 1125, 138, 1102, 1125, 1103, 1103, 1103, + 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1125, 1125, 1125, + 138, 1110, 1110, 1110, 1110, 1110, 1110, 1110, 1110, 1110, + 1110, 1120, 1120, 1120, 1120, 1120, 1121, 1119, 1119, 1119, + 1119, 1125, 1125, 1125, 263, 1102, 1125, 1103, 1103, 1103, + 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1122, 1122, 1122, + 1122, 1122, 1122, 1122, 1122, 1122, 1122, 1113, 1113, 1113, + 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1125, 1125, 1125, + + 1125, 1125, 1125, 1125, 263, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 263, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 263, 1123, 1123, 1123, 1123, 1123, + 1124, 1122, 1122, 1122, 1122, 1116, 1116, 1116, 1116, 1116, + 1116, 1116, 1116, 1116, 1116, 1119, 1119, 1119, 1119, 1119, + 1119, 1119, 1119, 1119, 1119, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 263, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 138, 1122, 1122, 1122, 1122, 1122, 1122, 1122, + 1122, 1122, 1122, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 263, 71, 71, 71, 71, 71, 71, 71, 71, 71, + 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, + 71, 38, 38, 38, 38, 38, 38, 38, 38, 38, + 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, + 38, 81, 81, 81, 81, 81, 81, 81, 81, 81, + 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, + 81, 88, 88, 88, 88, 88, 88, 88, 88, 88, + 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, + 88, 113, 113, 113, 113, 113, 113, 113, 113, 113, + + 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, + 113, 137, 1125, 1125, 137, 1125, 1125, 1125, 1125, 137, + 1125, 137, 137, 137, 1125, 1125, 137, 137, 137, 137, + 137, 142, 142, 142, 142, 142, 142, 142, 142, 142, + 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, + 142, 147, 1125, 1125, 147, 1125, 1125, 147, 1125, 147, + 1125, 147, 147, 147, 147, 1125, 147, 147, 147, 147, + 147, 151, 1125, 1125, 151, 1125, 1125, 1125, 1125, 151, + 1125, 151, 151, 151, 1125, 1125, 151, 151, 151, 151, + 151, 153, 1125, 1125, 153, 153, 153, 1125, 153, 153, + + 1125, 153, 153, 153, 1125, 1125, 153, 153, 153, 153, + 153, 205, 1125, 1125, 205, 205, 205, 1125, 205, 205, + 1125, 205, 205, 205, 1125, 1125, 205, 205, 205, 205, + 205, 210, 1125, 1125, 210, 210, 210, 1125, 210, 210, + 1125, 210, 210, 210, 1125, 210, 210, 1125, 210, 210, + 210, 218, 1125, 1125, 218, 218, 1125, 1125, 218, 218, + 1125, 218, 218, 218, 218, 1125, 218, 218, 218, 218, + 218, 222, 222, 222, 222, 222, 222, 222, 222, 222, + 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, + 222, 224, 224, 1125, 224, 224, 1125, 224, 224, 224, + + 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, + 224, 231, 1125, 1125, 231, 1125, 1125, 231, 1125, 231, + 1125, 231, 231, 231, 231, 1125, 231, 231, 231, 231, + 231, 235, 1125, 1125, 235, 1125, 1125, 1125, 1125, 235, + 1125, 235, 235, 235, 1125, 235, 235, 235, 235, 235, + 235, 238, 1125, 1125, 238, 238, 238, 1125, 238, 238, + 1125, 238, 238, 238, 1125, 238, 238, 238, 238, 238, + 238, 259, 1125, 1125, 1125, 259, 259, 259, 259, 259, + 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, + 259, 262, 1125, 1125, 262, 1125, 1125, 1125, 1125, 262, + + 1125, 262, 262, 262, 1125, 1125, 262, 262, 262, 262, + 262, 264, 1125, 1125, 264, 1125, 1125, 264, 1125, 264, + 1125, 264, 264, 264, 264, 1125, 264, 264, 264, 264, + 264, 266, 1125, 1125, 266, 1125, 1125, 1125, 1125, 266, + 1125, 266, 266, 266, 1125, 1125, 266, 266, 266, 266, + 266, 268, 1125, 1125, 268, 268, 268, 1125, 268, 268, + 1125, 268, 268, 268, 1125, 1125, 268, 268, 268, 268, + 268, 291, 291, 291, 291, 291, 291, 291, 291, 291, + 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, + 291, 293, 293, 1125, 293, 293, 293, 293, 293, 293, + + 293, 293, 293, 293, 293, 293, 293, 293, 293, 293, + 293, 147, 1125, 1125, 147, 1125, 1125, 1125, 1125, 147, + 1125, 147, 147, 147, 1125, 1125, 147, 147, 147, 147, + 147, 151, 1125, 1125, 151, 1125, 1125, 1125, 1125, 151, + 1125, 151, 151, 151, 1125, 1125, 151, 151, 151, 151, + 151, 153, 1125, 1125, 153, 153, 153, 1125, 153, 153, + 1125, 153, 153, 153, 1125, 1125, 153, 153, 153, 153, + 153, 154, 1125, 1125, 154, 154, 154, 1125, 154, 154, + 1125, 154, 154, 154, 1125, 1125, 154, 154, 154, 154, + 154, 303, 303, 303, 1125, 1125, 1125, 1125, 303, 205, + + 1125, 1125, 205, 205, 205, 1125, 205, 205, 1125, 205, + 205, 205, 1125, 1125, 205, 205, 205, 205, 205, 206, + 1125, 1125, 206, 206, 206, 1125, 206, 206, 1125, 206, + 206, 206, 1125, 1125, 206, 206, 206, 206, 206, 210, + 1125, 1125, 210, 210, 210, 1125, 210, 210, 1125, 210, + 210, 210, 1125, 210, 210, 1125, 210, 210, 210, 218, + 1125, 1125, 218, 218, 1125, 1125, 218, 218, 1125, 218, + 218, 218, 218, 1125, 218, 218, 218, 218, 218, 224, + 224, 1125, 224, 224, 1125, 224, 224, 224, 224, 224, + 224, 224, 224, 224, 224, 224, 224, 224, 224, 234, + + 1125, 1125, 234, 1125, 1125, 1125, 1125, 234, 1125, 234, + 234, 234, 1125, 1125, 234, 234, 234, 234, 234, 235, + 1125, 1125, 235, 1125, 1125, 1125, 1125, 235, 1125, 235, + 235, 235, 1125, 235, 235, 235, 235, 235, 235, 236, + 1125, 1125, 236, 236, 1125, 236, 236, 1125, 1125, 236, + 236, 238, 1125, 1125, 238, 238, 238, 1125, 238, 238, + 1125, 238, 238, 238, 1125, 238, 238, 238, 238, 238, + 238, 259, 1125, 1125, 1125, 259, 259, 259, 259, 259, + 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, + 259, 262, 1125, 1125, 262, 1125, 1125, 1125, 1125, 262, + + 1125, 262, 262, 262, 1125, 1125, 262, 262, 262, 262, + 262, 264, 1125, 1125, 264, 1125, 1125, 1125, 1125, 264, + 1125, 264, 264, 264, 1125, 1125, 264, 264, 264, 264, + 264, 266, 1125, 1125, 266, 1125, 1125, 1125, 1125, 266, + 1125, 266, 266, 266, 1125, 1125, 266, 266, 266, 266, + 266, 268, 1125, 1125, 268, 268, 268, 1125, 268, 268, + 1125, 268, 268, 268, 1125, 1125, 268, 268, 268, 268, + 268, 269, 1125, 1125, 269, 269, 269, 1125, 269, 269, + 1125, 269, 269, 269, 1125, 1125, 269, 269, 269, 269, + 269, 291, 291, 291, 291, 291, 291, 291, 291, 291, + + 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, + 291, 389, 389, 389, 389, 389, 389, 389, 389, 389, + 389, 389, 389, 389, 389, 389, 389, 389, 389, 389, + 389, 403, 403, 403, 1125, 1125, 1125, 1125, 403, 503, + 503, 503, 1125, 1125, 1125, 1125, 503, 291, 291, 291, + 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, + 291, 291, 291, 291, 291, 291, 291, 600, 600, 600, + 1125, 1125, 1125, 1125, 600, 604, 604, 604, 604, 1125, + 1125, 1125, 1125, 604, 704, 704, 704, 1125, 1125, 1125, + 1125, 704, 705, 705, 705, 705, 1125, 1125, 1125, 1125, + + 705, 791, 791, 791, 1125, 1125, 1125, 1125, 791, 792, + 792, 792, 792, 1125, 1125, 1125, 1125, 792, 291, 291, + 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, + 291, 291, 291, 291, 291, 291, 291, 291, 236, 1125, + 1125, 236, 236, 1125, 236, 236, 1125, 1125, 236, 236, + 856, 1125, 856, 856, 1125, 1125, 1125, 1125, 856, 874, + 874, 874, 1125, 1125, 1125, 1125, 874, 875, 875, 875, + 875, 1125, 1125, 1125, 1125, 875, 291, 291, 291, 291, + 291, 291, 291, 291, 291, 291, 291, 291, 291, 291, + 291, 291, 291, 291, 291, 291, 236, 1125, 1125, 236, + + 236, 1125, 236, 236, 1125, 1125, 236, 236, 262, 1125, + 1125, 262, 1125, 1125, 1125, 1125, 262, 1125, 262, 262, + 262, 1125, 1125, 262, 262, 262, 262, 262, 930, 1125, + 930, 930, 1125, 1125, 1125, 1125, 930, 946, 946, 946, + 1125, 1125, 1125, 1125, 946, 947, 947, 947, 1125, 1125, + 1125, 1125, 1125, 947, 957, 957, 957, 957, 957, 957, + 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, + 957, 957, 957, 957, 962, 962, 1125, 962, 962, 962, + 962, 1125, 962, 1125, 962, 962, 962, 1125, 1125, 962, + 962, 962, 962, 962, 968, 968, 1125, 968, 968, 968, + + 968, 1125, 968, 1125, 968, 968, 968, 1125, 1125, 968, + 968, 968, 968, 968, 995, 1125, 995, 995, 1125, 1125, + 1125, 1125, 995, 1042, 1125, 1042, 1042, 1125, 1125, 1125, + 1125, 1042, 1076, 1076, 1076, 1076, 1076, 1076, 1076, 1076, + 1076, 1076, 1076, 1076, 1076, 1076, 1076, 1076, 1076, 1076, + 1076, 1076, 19, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125 + } ; + +static yyconst flex_int16_t yy_chk[8328] = + { 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, 2, 21, 49, 43, 2, 21, + 27, 2, 5, 5, 39, 5, 5, 5, 43, 5, + 52, 49, 46, 42, 39, 5, 42, 46, 6, 6, + + 27, 6, 6, 6, 52, 6, 42, 2, 2, 5, + 5, 6, 2, 35, 35, 35, 35, 35, 35, 44, + 2, 61, 44, 2, 3, 6, 6, 27, 3, 11, + 11, 3, 11, 11, 11, 11, 5, 3, 12, 12, + 3, 12, 12, 12, 12, 83, 65, 59, 103, 61, + 65, 103, 6, 127, 3, 165, 127, 3, 15, 15, + 15, 15, 15, 15, 15, 3, 59, 3, 165, 3, + 3, 83, 3, 16, 16, 16, 16, 16, 16, 16, + 32, 32, 55, 11, 32, 32, 185, 70, 90, 1122, + 102, 55, 12, 63, 3, 4, 70, 63, 85, 4, + + 55, 102, 4, 89, 32, 70, 63, 89, 4, 329, + 197, 4, 15, 34, 34, 34, 34, 34, 34, 34, + 34, 34, 34, 329, 85, 4, 56, 16, 4, 32, + 56, 79, 79, 114, 79, 79, 4, 90, 4, 185, + 4, 4, 54, 4, 54, 54, 54, 54, 54, 54, + 54, 54, 54, 54, 93, 58, 197, 89, 58, 56, + 56, 142, 198, 142, 56, 4, 7, 7, 58, 7, + 7, 7, 56, 7, 93, 56, 87, 87, 198, 87, + 87, 64, 114, 58, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 92, 92, 569, 92, 92, 569, + + 92, 93, 97, 97, 97, 97, 97, 97, 97, 97, + 97, 97, 98, 98, 98, 98, 98, 98, 321, 321, + 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, + 8, 118, 8, 8, 8, 110, 8, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 126, 112, 139, + 164, 118, 187, 139, 187, 66, 66, 112, 126, 66, + 66, 164, 227, 116, 116, 1116, 116, 116, 122, 122, + 122, 122, 122, 122, 122, 122, 122, 122, 118, 66, + 336, 336, 287, 8, 8, 8, 8, 8, 8, 8, + + 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, + 8, 8, 9, 9, 66, 9, 9, 9, 9, 9, + 289, 227, 289, 199, 9, 9, 9, 116, 77, 77, + 330, 77, 77, 77, 94, 77, 199, 94, 330, 77, + 9, 77, 136, 94, 149, 287, 94, 188, 343, 94, + 94, 136, 188, 120, 120, 77, 77, 120, 120, 291, + 136, 291, 343, 94, 149, 94, 9, 10, 10, 200, + 10, 10, 10, 10, 10, 200, 292, 120, 292, 10, + 10, 10, 77, 123, 123, 123, 123, 123, 123, 94, + 94, 149, 396, 183, 183, 10, 183, 183, 293, 415, + + 293, 135, 120, 135, 135, 135, 135, 135, 135, 135, + 135, 135, 135, 162, 162, 162, 162, 162, 162, 396, + 415, 10, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 17, 17, 17, 17, + + 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, + 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, + 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, + 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, + 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, + 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, + 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, + 26, 261, 26, 145, 145, 145, 145, 145, 145, 145, + 145, 145, 145, 26, 1098, 421, 26, 26, 26, 26, + 26, 26, 26, 26, 26, 26, 33, 421, 33, 33, + + 33, 33, 33, 33, 33, 33, 33, 33, 33, 340, + 1073, 340, 33, 33, 33, 33, 33, 33, 186, 186, + 261, 186, 186, 138, 138, 138, 138, 138, 202, 138, + 138, 196, 202, 138, 303, 33, 196, 33, 33, 33, + 33, 33, 33, 40, 196, 303, 40, 138, 138, 138, + 204, 523, 40, 229, 204, 40, 40, 229, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 186, 523, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + + 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, + 40, 40, 40, 40, 40, 40, 40, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45, 45, 389, 420, + 389, 45, 45, 45, 45, 45, 45, 341, 195, 420, + 195, 45, 146, 146, 146, 146, 146, 146, 146, 146, + 146, 146, 341, 339, 231, 424, 45, 45, 45, 45, + 45, 45, 53, 53, 424, 53, 53, 53, 53, 53, + 339, 53, 53, 148, 231, 53, 148, 148, 148, 148, + 148, 148, 148, 148, 148, 148, 1071, 232, 209, 53, + 53, 53, 57, 209, 57, 426, 150, 150, 150, 150, + + 150, 231, 150, 150, 195, 57, 150, 232, 57, 57, + 57, 57, 57, 57, 57, 57, 57, 57, 1054, 426, + 150, 150, 150, 152, 152, 152, 152, 152, 412, 152, + 152, 176, 176, 152, 232, 153, 153, 176, 176, 153, + 153, 176, 226, 176, 176, 412, 226, 152, 152, 152, + 201, 390, 290, 390, 201, 57, 78, 290, 78, 153, + 435, 212, 212, 201, 212, 212, 435, 228, 228, 78, + 228, 228, 78, 78, 78, 78, 78, 78, 78, 78, + 78, 78, 95, 305, 153, 95, 260, 305, 95, 95, + 260, 95, 95, 95, 95, 387, 226, 95, 95, 156, + + 156, 156, 156, 156, 156, 156, 156, 156, 156, 387, + 520, 95, 95, 95, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 161, 161, 161, 161, 161, 161, + 161, 161, 161, 161, 520, 423, 156, 95, 95, 96, + 260, 429, 96, 96, 96, 96, 96, 96, 96, 96, + 96, 96, 96, 96, 96, 96, 423, 429, 96, 96, + 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, + 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, + 96, 756, 756, 96, 96, 96, 96, 96, 96, 96, + 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, + + 99, 392, 99, 99, 99, 99, 99, 99, 99, 99, + 99, 99, 99, 400, 400, 400, 99, 99, 99, 99, + 99, 99, 203, 203, 203, 203, 203, 203, 203, 203, + 203, 203, 337, 414, 419, 223, 223, 337, 223, 223, + 392, 99, 99, 99, 99, 99, 99, 100, 419, 445, + 414, 100, 100, 100, 100, 100, 100, 100, 100, 100, + 100, 100, 100, 100, 1045, 445, 100, 100, 100, 100, + 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, + 100, 100, 100, 100, 100, 100, 100, 100, 100, 223, + 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, + + 100, 100, 100, 100, 100, 100, 100, 100, 104, 104, + 104, 104, 104, 104, 104, 104, 104, 104, 104, 627, + 418, 443, 104, 104, 104, 104, 104, 104, 418, 344, + 205, 205, 104, 344, 205, 205, 245, 245, 245, 245, + 245, 245, 189, 627, 443, 434, 189, 104, 104, 104, + 104, 104, 104, 121, 205, 121, 121, 121, 121, 121, + 121, 121, 121, 121, 121, 121, 422, 1044, 430, 121, + 121, 121, 121, 121, 121, 189, 189, 208, 208, 205, + 189, 434, 403, 208, 208, 430, 422, 208, 189, 208, + 527, 189, 121, 403, 121, 121, 121, 121, 121, 121, + + 124, 219, 425, 124, 527, 219, 456, 219, 219, 124, + 425, 456, 124, 124, 219, 124, 124, 124, 124, 124, + 124, 124, 124, 124, 124, 124, 124, 124, 124, 219, + 1042, 124, 124, 124, 124, 124, 124, 124, 124, 124, + 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, + 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, + 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, + 124, 124, 124, 124, 128, 128, 128, 128, 128, 128, + 128, 128, 128, 128, 128, 744, 410, 744, 128, 128, + 128, 128, 128, 128, 335, 471, 335, 410, 128, 216, + + 216, 216, 216, 216, 216, 216, 216, 216, 216, 328, + 328, 522, 328, 128, 128, 128, 128, 128, 128, 134, + 134, 433, 134, 134, 134, 134, 134, 522, 134, 134, + 364, 364, 134, 364, 471, 233, 233, 233, 233, 516, + 432, 233, 233, 432, 328, 233, 134, 134, 134, 155, + 433, 335, 155, 155, 155, 155, 155, 516, 155, 155, + 233, 233, 155, 240, 240, 240, 240, 240, 240, 240, + 240, 240, 240, 427, 446, 432, 155, 155, 155, 157, + 446, 157, 157, 157, 157, 157, 157, 157, 157, 157, + 157, 157, 442, 427, 442, 157, 157, 157, 157, 157, + + 157, 288, 288, 1041, 288, 288, 237, 237, 237, 237, + 237, 467, 237, 237, 467, 517, 237, 467, 157, 531, + 157, 157, 157, 157, 157, 157, 166, 531, 726, 166, + 237, 237, 237, 468, 468, 166, 517, 468, 166, 166, + 726, 166, 166, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 288, 442, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, + 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, + + 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, + 167, 475, 767, 767, 167, 167, 167, 167, 167, 167, + 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, + 276, 276, 276, 276, 276, 276, 503, 530, 475, 167, + 167, 167, 167, 167, 167, 207, 490, 503, 207, 207, + 207, 207, 207, 235, 207, 207, 235, 530, 207, 537, + 413, 479, 235, 239, 413, 235, 479, 239, 235, 235, + 239, 416, 207, 207, 207, 490, 239, 386, 386, 492, + 386, 537, 235, 416, 235, 492, 528, 413, 416, 1037, + 239, 239, 244, 244, 244, 244, 244, 244, 244, 244, + + 244, 244, 407, 407, 407, 407, 407, 407, 235, 235, + 238, 417, 386, 238, 528, 417, 238, 238, 521, 238, + 238, 238, 238, 254, 254, 238, 238, 454, 457, 254, + 254, 454, 457, 254, 533, 254, 521, 444, 417, 238, + 238, 238, 532, 533, 271, 271, 271, 271, 271, 271, + 271, 271, 271, 271, 454, 457, 268, 268, 1030, 469, + 268, 268, 469, 532, 444, 238, 238, 241, 491, 241, + 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, + 268, 271, 444, 241, 241, 241, 241, 241, 241, 529, + 628, 263, 263, 263, 263, 263, 489, 263, 263, 489, + + 469, 263, 542, 529, 491, 268, 628, 542, 241, 241, + 241, 241, 241, 241, 246, 263, 263, 263, 246, 246, + 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, + 246, 489, 1025, 246, 246, 246, 246, 246, 246, 246, + 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, + 246, 246, 246, 246, 246, 246, 539, 246, 246, 246, + 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, + 246, 246, 246, 246, 246, 247, 247, 247, 247, 247, + 247, 247, 247, 247, 247, 247, 621, 539, 1012, 247, + 247, 247, 247, 247, 247, 526, 265, 265, 265, 265, + + 265, 526, 265, 265, 621, 395, 265, 395, 395, 395, + 395, 395, 395, 538, 247, 247, 247, 247, 247, 247, + 265, 265, 265, 267, 267, 267, 267, 267, 536, 267, + 267, 807, 807, 267, 274, 274, 274, 274, 274, 274, + 274, 274, 274, 274, 395, 534, 538, 267, 267, 267, + 270, 536, 534, 270, 270, 270, 270, 270, 624, 270, + 270, 1011, 540, 270, 275, 275, 275, 275, 275, 275, + 275, 275, 275, 275, 591, 624, 549, 270, 270, 270, + 272, 549, 272, 272, 272, 272, 272, 272, 272, 272, + 272, 272, 272, 505, 505, 540, 272, 272, 272, 272, + + 272, 272, 284, 284, 547, 505, 477, 480, 284, 284, + 477, 480, 284, 591, 284, 547, 507, 507, 548, 272, + 600, 272, 272, 272, 272, 272, 272, 277, 507, 548, + 277, 600, 1007, 477, 480, 566, 277, 566, 566, 277, + 277, 745, 277, 277, 277, 277, 277, 277, 277, 277, + 277, 277, 277, 277, 277, 277, 995, 745, 277, 277, + 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, + 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, + 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, + 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, + + 277, 278, 278, 278, 278, 278, 278, 278, 278, 278, + 278, 278, 546, 620, 546, 278, 278, 278, 278, 278, + 278, 294, 294, 294, 294, 294, 294, 294, 294, 294, + 294, 451, 620, 451, 451, 451, 451, 451, 451, 994, + 278, 278, 278, 278, 278, 278, 295, 295, 295, 295, + 295, 295, 295, 295, 295, 295, 296, 541, 296, 296, + 296, 296, 296, 296, 296, 296, 296, 296, 345, 986, + 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, + 586, 342, 589, 546, 667, 342, 567, 589, 342, 567, + 567, 718, 541, 978, 342, 296, 297, 718, 297, 297, + + 297, 297, 297, 297, 297, 297, 297, 297, 342, 342, + 346, 586, 346, 346, 346, 346, 346, 346, 346, 346, + 346, 346, 347, 667, 347, 347, 347, 347, 347, 347, + 347, 347, 347, 347, 570, 297, 298, 570, 298, 298, + 298, 298, 298, 298, 298, 298, 298, 298, 399, 399, + 399, 399, 399, 399, 399, 399, 399, 399, 399, 638, + 366, 604, 518, 763, 366, 763, 518, 366, 568, 638, + 568, 568, 604, 366, 570, 298, 299, 299, 299, 299, + 299, 299, 299, 299, 299, 299, 299, 366, 366, 518, + 299, 299, 299, 299, 299, 299, 391, 391, 391, 391, + + 391, 391, 391, 391, 391, 391, 513, 513, 513, 513, + 513, 513, 806, 299, 806, 299, 299, 299, 299, 299, + 299, 302, 302, 302, 302, 302, 302, 302, 302, 302, + 302, 302, 622, 391, 977, 302, 302, 302, 302, 302, + 302, 404, 404, 404, 404, 404, 404, 404, 404, 404, + 404, 524, 617, 622, 655, 524, 810, 617, 810, 655, + 302, 302, 302, 302, 302, 302, 304, 304, 304, 304, + 304, 304, 304, 304, 304, 304, 304, 304, 524, 588, + 585, 304, 304, 304, 304, 304, 304, 406, 406, 406, + 406, 406, 406, 406, 406, 406, 406, 614, 614, 614, + + 614, 614, 614, 630, 605, 605, 304, 304, 304, 304, + 304, 304, 306, 585, 588, 306, 605, 723, 629, 661, + 630, 306, 661, 723, 306, 306, 629, 306, 306, 306, + 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, + 306, 841, 841, 306, 306, 306, 306, 306, 306, 306, + 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, + 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, + 306, 306, 306, 306, 306, 306, 306, 306, 306, 306, + 306, 306, 306, 306, 306, 306, 307, 307, 307, 307, + 307, 307, 307, 307, 307, 307, 307, 633, 877, 877, + + 307, 307, 307, 307, 307, 307, 409, 625, 409, 409, + 409, 409, 409, 409, 409, 409, 409, 409, 633, 625, + 662, 878, 878, 662, 625, 307, 307, 307, 307, 307, + 307, 348, 348, 348, 348, 348, 348, 348, 348, 348, + 348, 348, 885, 975, 885, 348, 348, 348, 348, 348, + 348, 447, 447, 447, 447, 447, 447, 447, 447, 447, + 447, 619, 623, 676, 587, 619, 623, 971, 676, 643, + 348, 348, 348, 348, 348, 348, 350, 350, 350, 350, + 350, 350, 350, 350, 350, 350, 643, 950, 619, 623, + 350, 350, 350, 350, 350, 350, 449, 587, 449, 449, + + 449, 449, 449, 449, 449, 449, 449, 449, 731, 663, + 606, 606, 663, 731, 947, 350, 350, 350, 350, 350, + 350, 367, 606, 367, 367, 367, 367, 367, 367, 367, + 367, 367, 367, 450, 930, 450, 450, 450, 450, 450, + 450, 450, 450, 450, 450, 470, 470, 470, 470, 470, + 470, 470, 470, 470, 470, 664, 888, 888, 664, 819, + 367, 368, 704, 368, 368, 368, 368, 368, 368, 368, + 368, 368, 368, 704, 474, 819, 474, 474, 474, 474, + 474, 474, 470, 498, 498, 498, 498, 498, 498, 498, + 498, 498, 498, 498, 727, 641, 764, 641, 727, 929, + + 368, 369, 764, 369, 369, 369, 369, 369, 369, 369, + 369, 369, 369, 474, 504, 504, 504, 504, 504, 504, + 504, 504, 504, 504, 506, 506, 506, 506, 506, 506, + 506, 506, 506, 506, 665, 733, 925, 665, 740, 746, + 369, 370, 733, 370, 370, 370, 370, 370, 370, 370, + 370, 370, 370, 641, 915, 740, 746, 370, 370, 370, + 370, 370, 370, 510, 510, 510, 510, 510, 510, 510, + 510, 642, 626, 631, 632, 510, 626, 631, 632, 665, + 770, 642, 370, 370, 370, 370, 370, 370, 372, 372, + 372, 372, 372, 372, 372, 372, 372, 372, 909, 626, + + 631, 632, 372, 372, 372, 372, 372, 372, 512, 512, + 512, 512, 512, 512, 512, 512, 512, 512, 770, 594, + 908, 594, 594, 594, 594, 594, 594, 372, 372, 372, + 372, 372, 372, 393, 777, 393, 393, 393, 393, 393, + 393, 393, 393, 393, 393, 515, 777, 515, 515, 515, + 515, 515, 515, 515, 515, 515, 515, 550, 594, 550, + 550, 550, 550, 550, 550, 550, 550, 550, 550, 743, + 762, 743, 393, 394, 762, 394, 394, 394, 394, 394, + 394, 394, 394, 394, 394, 551, 907, 551, 551, 551, + 551, 551, 551, 551, 551, 551, 551, 552, 705, 552, + + 552, 552, 552, 552, 552, 552, 552, 552, 552, 705, + 755, 766, 394, 405, 405, 405, 405, 405, 405, 405, + 405, 405, 405, 405, 405, 405, 766, 755, 743, 405, + 405, 405, 405, 405, 405, 590, 590, 590, 590, 590, + 590, 590, 590, 590, 590, 649, 734, 649, 649, 649, + 649, 649, 649, 734, 405, 405, 405, 405, 405, 405, + 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, + 408, 408, 590, 916, 916, 408, 408, 408, 408, 408, + 408, 601, 899, 601, 601, 601, 601, 601, 601, 601, + 601, 601, 601, 650, 768, 608, 608, 650, 644, 732, + + 408, 408, 408, 408, 408, 408, 411, 608, 644, 411, + 732, 768, 804, 843, 895, 411, 843, 804, 411, 411, + 650, 411, 411, 411, 411, 411, 411, 411, 411, 411, + 411, 411, 411, 411, 411, 948, 948, 411, 411, 411, + 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, + 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, + 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, + 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, + 452, 452, 452, 452, 452, 452, 452, 452, 452, 452, + 883, 686, 894, 883, 452, 452, 452, 452, 452, 452, + + 602, 686, 602, 602, 602, 602, 602, 602, 602, 602, + 602, 602, 696, 696, 696, 696, 696, 696, 870, 452, + 452, 452, 452, 452, 452, 453, 453, 453, 453, 453, + 453, 453, 453, 453, 453, 917, 722, 856, 917, 453, + 453, 453, 453, 453, 453, 603, 722, 603, 603, 603, + 603, 603, 603, 603, 603, 603, 603, 715, 715, 715, + 715, 715, 715, 852, 453, 453, 453, 453, 453, 453, + 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, + 466, 954, 847, 954, 466, 466, 466, 466, 466, 466, + 607, 607, 607, 607, 607, 607, 607, 607, 607, 607, + + 703, 814, 703, 703, 703, 703, 703, 703, 844, 466, + 466, 466, 466, 466, 466, 472, 814, 472, 472, 472, + 472, 472, 472, 472, 472, 472, 472, 611, 611, 611, + 611, 611, 611, 611, 611, 955, 955, 949, 779, 611, + 613, 613, 613, 613, 613, 613, 613, 613, 613, 613, + 779, 809, 949, 836, 472, 473, 809, 473, 473, 473, + 473, 473, 473, 473, 473, 473, 473, 616, 831, 616, + 616, 616, 616, 616, 616, 616, 616, 616, 616, 645, + 645, 645, 645, 645, 645, 645, 645, 645, 645, 818, + 818, 836, 818, 818, 473, 493, 857, 493, 493, 493, + + 493, 493, 493, 493, 493, 493, 493, 647, 857, 647, + 647, 647, 647, 647, 647, 647, 647, 647, 647, 648, + 791, 648, 648, 648, 648, 648, 648, 648, 648, 648, + 648, 791, 653, 830, 493, 494, 653, 494, 494, 494, + 494, 494, 494, 494, 494, 494, 494, 728, 818, 656, + 706, 706, 957, 656, 957, 828, 960, 728, 960, 653, + 659, 660, 706, 671, 659, 660, 670, 671, 670, 670, + 670, 670, 670, 670, 494, 495, 656, 495, 495, 495, + 495, 495, 495, 495, 495, 495, 495, 659, 660, 858, + 671, 666, 666, 666, 666, 666, 666, 666, 666, 666, + + 666, 858, 674, 677, 827, 670, 674, 677, 785, 785, + 785, 785, 785, 785, 495, 508, 508, 508, 508, 508, + 508, 508, 508, 508, 508, 508, 508, 508, 666, 674, + 677, 508, 508, 508, 508, 508, 508, 693, 693, 693, + 693, 693, 693, 693, 693, 693, 693, 823, 680, 681, + 719, 821, 680, 681, 719, 817, 508, 508, 508, 508, + 508, 508, 511, 511, 511, 511, 511, 511, 511, 511, + 511, 511, 511, 511, 511, 680, 681, 719, 511, 511, + 511, 511, 511, 511, 695, 695, 695, 695, 695, 695, + 695, 695, 695, 695, 724, 729, 735, 889, 724, 729, + + 735, 816, 889, 511, 511, 511, 511, 511, 511, 514, + 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, + 514, 724, 729, 735, 514, 514, 514, 514, 514, 514, + 698, 792, 698, 698, 698, 698, 698, 698, 698, 698, + 698, 698, 792, 815, 707, 707, 987, 987, 813, 514, + 514, 514, 514, 514, 514, 571, 707, 571, 571, 571, + 571, 571, 571, 571, 571, 571, 571, 699, 699, 699, + 699, 699, 699, 699, 699, 699, 699, 701, 860, 701, + 701, 701, 701, 701, 701, 701, 701, 701, 701, 1016, + 860, 1016, 919, 775, 571, 572, 774, 572, 572, 572, + + 572, 572, 572, 572, 572, 572, 572, 702, 820, 702, + 702, 702, 702, 702, 702, 702, 702, 702, 702, 708, + 708, 708, 708, 708, 708, 708, 708, 708, 708, 765, + 820, 919, 820, 820, 572, 573, 757, 573, 573, 573, + 573, 573, 573, 573, 573, 573, 573, 709, 709, 712, + 712, 712, 712, 712, 712, 712, 712, 820, 1076, 709, + 1076, 712, 714, 714, 714, 714, 714, 714, 714, 714, + 714, 714, 737, 923, 573, 592, 737, 592, 592, 592, + 592, 592, 592, 592, 592, 592, 592, 717, 754, 717, + 717, 717, 717, 717, 717, 717, 717, 717, 717, 737, + + 747, 747, 747, 747, 747, 747, 747, 747, 747, 747, + 747, 1079, 923, 1079, 592, 593, 753, 593, 593, 593, + 593, 593, 593, 593, 593, 593, 593, 748, 748, 748, + 748, 748, 748, 748, 748, 748, 748, 748, 749, 749, + 749, 749, 749, 749, 749, 749, 749, 749, 749, 897, + 897, 751, 897, 897, 593, 599, 599, 599, 599, 599, + 599, 599, 599, 599, 599, 599, 1139, 1139, 1139, 599, + 599, 599, 599, 599, 599, 980, 769, 769, 769, 769, + 769, 769, 769, 769, 769, 769, 773, 773, 773, 773, + 773, 773, 773, 750, 599, 599, 599, 599, 599, 599, + + 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, + 609, 609, 609, 769, 980, 742, 609, 609, 609, 609, + 609, 609, 984, 741, 773, 776, 776, 776, 776, 776, + 776, 776, 776, 776, 776, 802, 802, 802, 802, 802, + 802, 609, 609, 609, 609, 609, 609, 612, 612, 612, + 612, 612, 612, 612, 612, 612, 612, 612, 612, 612, + 898, 984, 898, 612, 612, 612, 612, 612, 612, 778, + 778, 778, 778, 778, 778, 778, 778, 778, 778, 832, + 833, 808, 739, 832, 833, 808, 1032, 700, 612, 612, + 612, 612, 612, 612, 615, 615, 615, 615, 615, 615, + + 615, 615, 615, 615, 615, 615, 832, 833, 808, 615, + 615, 615, 615, 615, 615, 782, 882, 782, 782, 782, + 782, 782, 782, 898, 692, 1032, 882, 782, 691, 793, + 793, 808, 690, 685, 615, 615, 615, 615, 615, 615, + 668, 793, 668, 668, 668, 668, 668, 668, 668, 668, + 668, 668, 784, 784, 784, 784, 784, 784, 784, 784, + 784, 784, 787, 874, 787, 787, 787, 787, 787, 787, + 787, 787, 787, 787, 874, 1048, 1048, 1048, 1048, 668, + 669, 931, 669, 669, 669, 669, 669, 669, 669, 669, + 669, 669, 788, 931, 788, 788, 788, 788, 788, 788, + + 788, 788, 788, 788, 789, 875, 789, 789, 789, 789, + 789, 789, 789, 789, 789, 789, 875, 1060, 1087, 669, + 687, 687, 687, 687, 687, 687, 687, 687, 687, 687, + 687, 790, 684, 790, 790, 790, 790, 790, 790, 790, + 790, 790, 790, 794, 794, 795, 795, 795, 795, 795, + 795, 795, 795, 795, 795, 794, 1060, 1087, 687, 688, + 688, 688, 688, 688, 688, 688, 688, 688, 688, 688, + 796, 796, 799, 799, 799, 799, 799, 799, 799, 799, + 683, 682, 796, 932, 799, 801, 801, 801, 801, 801, + 801, 801, 801, 801, 801, 932, 679, 688, 689, 689, + + 689, 689, 689, 689, 689, 689, 689, 689, 689, 803, + 934, 803, 803, 803, 803, 803, 803, 803, 803, 803, + 803, 678, 934, 811, 812, 675, 996, 811, 812, 826, + 826, 826, 826, 826, 826, 826, 689, 694, 996, 694, + 694, 694, 694, 694, 694, 694, 694, 694, 694, 694, + 811, 812, 673, 694, 694, 694, 694, 694, 694, 822, + 822, 822, 822, 822, 822, 822, 822, 822, 822, 1136, + 1136, 1157, 1157, 811, 812, 1136, 672, 1157, 694, 694, + 694, 694, 694, 694, 697, 697, 697, 697, 697, 697, + 697, 697, 697, 697, 697, 1163, 1163, 1163, 697, 697, + + 697, 697, 697, 697, 824, 824, 824, 824, 824, 824, + 824, 824, 824, 824, 824, 842, 845, 846, 658, 842, + 845, 846, 657, 697, 697, 697, 697, 697, 697, 710, + 710, 710, 710, 710, 710, 710, 710, 710, 710, 710, + 710, 710, 842, 845, 846, 710, 710, 710, 710, 710, + 710, 825, 825, 825, 825, 825, 825, 825, 825, 825, + 825, 825, 886, 842, 845, 846, 886, 654, 652, 651, + 710, 710, 710, 710, 710, 710, 713, 713, 713, 713, + 713, 713, 713, 713, 713, 713, 713, 713, 713, 886, + 646, 640, 713, 713, 713, 713, 713, 713, 835, 835, + + 835, 835, 835, 835, 835, 835, 835, 835, 839, 839, + 839, 839, 839, 839, 839, 639, 637, 713, 713, 713, + 713, 713, 713, 716, 716, 716, 716, 716, 716, 716, + 716, 716, 716, 716, 1103, 835, 636, 635, 716, 716, + 716, 716, 716, 716, 634, 853, 839, 853, 853, 853, + 853, 853, 853, 853, 853, 853, 853, 866, 866, 866, + 866, 866, 866, 716, 716, 716, 716, 716, 716, 721, + 890, 892, 721, 1103, 890, 892, 958, 958, 721, 958, + 958, 721, 721, 618, 721, 721, 721, 721, 721, 721, + 721, 721, 721, 721, 721, 721, 721, 890, 892, 598, + + 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, + 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, + 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, + 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, + 721, 721, 721, 752, 597, 596, 997, 752, 752, 752, + 752, 752, 752, 752, 752, 752, 752, 752, 997, 752, + 595, 584, 752, 752, 752, 752, 752, 752, 752, 752, + 752, 752, 752, 752, 752, 752, 752, 752, 752, 752, + 752, 752, 752, 752, 752, 583, 752, 752, 752, 752, + 752, 752, 752, 752, 752, 752, 752, 752, 752, 752, + + 752, 752, 752, 752, 758, 758, 758, 758, 758, 758, + 758, 758, 758, 758, 758, 854, 582, 854, 854, 854, + 854, 854, 854, 854, 854, 854, 854, 855, 946, 855, + 855, 855, 855, 855, 855, 855, 855, 855, 855, 946, + 581, 580, 758, 759, 759, 759, 759, 759, 759, 759, + 759, 759, 759, 759, 859, 859, 859, 859, 859, 859, + 859, 859, 859, 859, 863, 999, 863, 863, 863, 863, + 863, 863, 1158, 1158, 1179, 1179, 863, 999, 1158, 579, + 1179, 759, 760, 760, 760, 760, 760, 760, 760, 760, + 760, 760, 760, 865, 865, 865, 865, 865, 865, 865, + + 865, 865, 865, 868, 896, 868, 868, 868, 868, 868, + 868, 868, 868, 868, 868, 876, 876, 1181, 1181, 1043, + 760, 761, 578, 1181, 761, 577, 896, 876, 896, 896, + 761, 1043, 576, 761, 761, 575, 761, 761, 761, 761, + 761, 761, 761, 761, 761, 761, 761, 761, 761, 961, + 574, 961, 761, 761, 761, 761, 761, 761, 761, 761, + 761, 761, 761, 761, 761, 761, 761, 761, 761, 761, + 761, 761, 761, 761, 761, 761, 761, 761, 761, 761, + 761, 761, 761, 761, 761, 761, 761, 761, 761, 761, + 761, 761, 761, 761, 761, 771, 771, 771, 771, 771, + + 771, 771, 771, 771, 771, 771, 869, 869, 869, 869, + 869, 869, 869, 869, 869, 869, 871, 961, 871, 871, + 871, 871, 871, 871, 871, 871, 871, 871, 1018, 1018, + 565, 1018, 1018, 771, 772, 772, 772, 772, 772, 772, + 772, 772, 772, 772, 772, 872, 564, 872, 872, 872, + 872, 872, 872, 872, 872, 872, 872, 873, 563, 873, + 873, 873, 873, 873, 873, 940, 940, 940, 940, 940, + 940, 562, 772, 780, 561, 780, 780, 780, 780, 780, + 780, 780, 780, 780, 780, 780, 783, 560, 783, 783, + 783, 783, 783, 783, 783, 783, 783, 783, 783, 559, + + 558, 557, 783, 783, 783, 783, 783, 783, 881, 881, + 881, 881, 881, 881, 881, 881, 556, 884, 906, 951, + 1227, 884, 906, 951, 555, 554, 1227, 783, 783, 783, + 783, 783, 783, 786, 786, 786, 786, 786, 786, 786, + 786, 786, 786, 786, 884, 906, 951, 786, 786, 786, + 786, 786, 786, 900, 553, 1182, 1182, 900, 900, 900, + 900, 1182, 1052, 1052, 901, 1052, 1052, 884, 901, 901, + 901, 901, 786, 786, 786, 786, 786, 786, 797, 797, + 797, 797, 797, 797, 797, 797, 797, 797, 797, 797, + 797, 545, 544, 543, 797, 797, 797, 797, 797, 797, + + 1005, 1005, 1005, 1005, 1005, 1005, 902, 900, 902, 902, + 902, 902, 902, 902, 902, 902, 902, 902, 901, 797, + 797, 797, 797, 797, 797, 800, 800, 800, 800, 800, + 800, 800, 800, 800, 800, 800, 800, 535, 502, 501, + 500, 800, 800, 800, 800, 800, 800, 903, 499, 903, + 903, 903, 903, 903, 903, 903, 903, 903, 903, 1010, + 1010, 1010, 1010, 1010, 1010, 1010, 800, 800, 800, 800, + 800, 800, 805, 967, 1170, 805, 967, 1170, 497, 1170, + 496, 805, 967, 967, 805, 805, 967, 805, 805, 805, + 805, 805, 805, 805, 805, 805, 805, 805, 805, 805, + + 967, 967, 967, 805, 805, 805, 805, 805, 805, 805, + 805, 805, 805, 805, 805, 805, 805, 805, 805, 805, + 805, 805, 805, 805, 805, 805, 805, 805, 805, 805, + 805, 805, 805, 805, 805, 805, 805, 805, 805, 805, + 805, 805, 805, 805, 805, 805, 829, 488, 487, 928, + 829, 928, 928, 928, 928, 928, 928, 486, 829, 485, + 484, 483, 829, 829, 829, 829, 829, 829, 829, 829, + 829, 829, 829, 829, 829, 482, 481, 829, 829, 829, + 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, + 829, 829, 829, 829, 829, 829, 829, 829, 829, 829, + + 478, 829, 829, 829, 829, 829, 829, 829, 829, 829, + 829, 829, 829, 829, 829, 829, 829, 829, 829, 837, + 837, 837, 837, 837, 837, 837, 837, 837, 837, 837, + 904, 476, 904, 904, 904, 904, 904, 904, 904, 904, + 904, 904, 905, 465, 905, 905, 905, 905, 905, 905, + 905, 905, 905, 905, 464, 463, 462, 837, 838, 838, + 838, 838, 838, 838, 838, 838, 838, 838, 838, 922, + 461, 922, 922, 922, 922, 922, 922, 914, 460, 459, + 458, 914, 924, 924, 924, 924, 924, 924, 924, 924, + 924, 924, 1183, 1183, 1221, 1221, 838, 840, 1183, 976, + + 840, 1221, 1186, 976, 914, 1186, 840, 1186, 922, 840, + 840, 455, 840, 840, 840, 840, 840, 840, 840, 840, + 840, 840, 840, 840, 840, 914, 976, 448, 840, 840, + 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, + 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, + 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, + 840, 840, 840, 840, 840, 840, 840, 840, 840, 840, + 840, 848, 441, 848, 848, 848, 848, 848, 848, 848, + 848, 848, 848, 440, 439, 438, 918, 918, 918, 918, + 918, 918, 918, 918, 918, 918, 926, 437, 926, 926, + + 926, 926, 926, 926, 926, 926, 926, 926, 436, 431, + 848, 849, 428, 849, 849, 849, 849, 849, 849, 849, + 849, 849, 849, 918, 927, 402, 927, 927, 927, 927, + 927, 927, 927, 927, 927, 927, 933, 933, 933, 933, + 933, 933, 933, 933, 933, 933, 1187, 1187, 401, 398, + 849, 850, 1187, 850, 850, 850, 850, 850, 850, 850, + 850, 850, 850, 937, 397, 937, 937, 937, 937, 937, + 937, 385, 384, 383, 382, 937, 939, 939, 939, 939, + 939, 939, 939, 939, 939, 939, 1188, 1188, 381, 380, + 850, 851, 1188, 851, 851, 851, 851, 851, 851, 851, + + 851, 851, 851, 942, 379, 942, 942, 942, 942, 942, + 942, 942, 942, 942, 942, 943, 943, 943, 943, 943, + 943, 943, 943, 943, 943, 943, 1189, 1189, 378, 377, + 851, 861, 1189, 861, 861, 861, 861, 861, 861, 861, + 861, 861, 861, 861, 864, 376, 864, 864, 864, 864, + 864, 864, 864, 864, 864, 864, 864, 375, 374, 371, + 864, 864, 864, 864, 864, 864, 944, 944, 944, 944, + 944, 944, 944, 944, 944, 944, 944, 953, 365, 1077, + 1077, 953, 1077, 1077, 363, 864, 864, 864, 864, 864, + 864, 867, 867, 867, 867, 867, 867, 867, 867, 867, + + 867, 867, 362, 361, 953, 867, 867, 867, 867, 867, + 867, 945, 945, 945, 945, 945, 945, 945, 945, 945, + 945, 945, 985, 1192, 1192, 360, 985, 953, 359, 1192, + 867, 867, 867, 867, 867, 867, 879, 879, 879, 879, + 879, 879, 879, 879, 879, 879, 879, 879, 910, 985, + 910, 910, 910, 910, 910, 910, 910, 910, 910, 910, + 962, 1225, 358, 1225, 962, 962, 962, 962, 963, 1225, + 985, 357, 963, 963, 963, 963, 970, 970, 970, 970, + 970, 970, 970, 970, 970, 970, 356, 910, 911, 355, + 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, + + 964, 354, 1193, 1193, 964, 964, 964, 964, 1193, 353, + 352, 965, 349, 338, 962, 965, 965, 965, 965, 1194, + 1194, 334, 963, 1197, 1197, 1194, 333, 911, 912, 1197, + 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, + 966, 332, 331, 966, 966, 966, 966, 966, 966, 966, + 966, 966, 966, 327, 964, 968, 326, 1198, 1198, 968, + 968, 968, 968, 1198, 325, 965, 324, 912, 913, 323, + 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, + 972, 322, 972, 972, 972, 972, 972, 972, 972, 972, + 972, 972, 320, 969, 319, 1202, 969, 1013, 1202, 318, + + 1202, 1013, 969, 969, 317, 316, 969, 913, 920, 968, + 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, + 969, 969, 969, 973, 1013, 973, 973, 973, 973, 973, + 973, 973, 973, 973, 973, 974, 315, 974, 974, 974, + 974, 974, 974, 1204, 1204, 314, 313, 920, 921, 1204, + 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, + 312, 311, 310, 308, 301, 979, 979, 979, 979, 979, + 979, 979, 979, 979, 979, 983, 300, 983, 983, 983, + 983, 983, 983, 1212, 1212, 286, 285, 921, 935, 1212, + 935, 935, 935, 935, 935, 935, 935, 935, 935, 935, + + 935, 938, 979, 938, 938, 938, 938, 938, 938, 938, + 938, 938, 938, 938, 983, 283, 282, 938, 938, 938, + 938, 938, 938, 991, 281, 991, 991, 991, 991, 991, + 991, 991, 991, 991, 991, 1094, 1094, 1094, 1094, 1094, + 1094, 280, 938, 938, 938, 938, 938, 938, 941, 941, + 941, 941, 941, 941, 941, 941, 941, 941, 279, 273, + 269, 266, 941, 941, 941, 941, 941, 941, 992, 264, + 992, 992, 992, 992, 992, 992, 992, 992, 992, 992, + 1121, 1121, 1121, 1121, 1121, 1121, 262, 941, 941, 941, + 941, 941, 941, 981, 259, 981, 981, 981, 981, 981, + + 981, 981, 981, 981, 981, 993, 258, 993, 993, 993, + 993, 993, 993, 993, 993, 993, 993, 998, 998, 998, + 998, 998, 998, 998, 998, 998, 998, 1024, 1219, 1219, + 257, 1024, 981, 982, 1219, 982, 982, 982, 982, 982, + 982, 982, 982, 982, 982, 1002, 256, 1002, 1002, 1002, + 1002, 1002, 1002, 255, 1024, 253, 252, 1002, 1004, 1004, + 1004, 1004, 1004, 1004, 1004, 1004, 1004, 1004, 1222, 1222, + 251, 250, 982, 988, 1222, 988, 988, 988, 988, 988, + 988, 988, 988, 988, 988, 1006, 248, 1006, 1006, 1006, + 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1008, 1008, 1008, + + 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 242, 234, + 1049, 230, 988, 989, 1049, 989, 989, 989, 989, 989, + 989, 989, 989, 989, 989, 1009, 1009, 1009, 1009, 1009, + 1009, 1009, 1009, 1009, 1009, 1009, 225, 1049, 1015, 224, + 222, 1040, 1015, 1040, 1040, 1040, 1040, 1040, 1040, 218, + 213, 211, 989, 990, 206, 990, 990, 990, 990, 990, + 990, 990, 990, 990, 990, 1015, 1019, 1019, 1019, 1019, + 1019, 1019, 1019, 1019, 1019, 1019, 1020, 1020, 1020, 1020, + 1020, 1020, 1020, 1020, 1020, 1020, 1209, 194, 1015, 1209, + 193, 1209, 990, 1000, 192, 1000, 1000, 1000, 1000, 1000, + + 1000, 1000, 1000, 1000, 1000, 1000, 1003, 191, 1003, 1003, + 1003, 1003, 1003, 1003, 1003, 1003, 1003, 1003, 190, 182, + 181, 180, 1003, 1003, 1003, 1003, 1003, 1003, 1021, 179, + 1021, 1021, 1021, 1021, 1021, 1021, 1021, 1021, 1021, 1021, + 178, 1118, 1118, 1118, 1118, 1118, 1118, 1003, 1003, 1003, + 1003, 1003, 1003, 1022, 177, 1022, 1022, 1022, 1022, 1022, + 1022, 1022, 1022, 1022, 1022, 1023, 175, 1023, 1023, 1023, + 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1026, 1118, 1026, + 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 1026, 174, + 173, 1029, 172, 171, 170, 1029, 1031, 1031, 1031, 1031, + + 1031, 1031, 1031, 1031, 1031, 1031, 1035, 169, 1035, 1035, + 1035, 1035, 1035, 1035, 168, 163, 1026, 1027, 1029, 1027, + 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 159, + 158, 1058, 154, 1031, 151, 1058, 1224, 1224, 147, 1029, + 144, 141, 1224, 137, 133, 1035, 1036, 1036, 1036, 1036, + 1036, 1036, 1036, 1036, 1036, 1036, 1027, 1028, 1058, 1028, + 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1028, 1038, + 132, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, + 1038, 1039, 131, 1039, 1039, 1039, 1039, 1039, 1039, 1039, + 1039, 1039, 1039, 130, 1074, 129, 1028, 1033, 1074, 1033, + + 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1046, + 125, 1046, 1046, 1046, 1046, 1046, 1046, 1046, 1046, 1046, + 1046, 1074, 1051, 119, 117, 1057, 1051, 1057, 1057, 1057, + 1057, 1057, 1057, 113, 109, 108, 1033, 1034, 107, 1034, + 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1051, + 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1053, + 1055, 106, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, + 1055, 1055, 1051, 105, 101, 1056, 1034, 1056, 1056, 1056, + 1056, 1056, 1056, 1056, 1056, 1056, 1056, 1059, 1059, 1059, + 1059, 1059, 1059, 1059, 1059, 1059, 1059, 88, 1063, 81, + + 1063, 1063, 1063, 1063, 1063, 1063, 74, 73, 69, 68, + 67, 1064, 62, 60, 1101, 1064, 1101, 1101, 1101, 1101, + 1101, 1101, 51, 50, 1059, 1061, 48, 1061, 1061, 1061, + 1061, 1061, 1061, 1061, 1061, 1061, 1061, 1063, 1064, 1068, + 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1069, + 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1064, + 47, 41, 36, 30, 1061, 1062, 24, 1062, 1062, 1062, + 1062, 1062, 1062, 1062, 1062, 1062, 1062, 1070, 1070, 1070, + 1070, 1070, 1070, 1070, 1070, 1070, 1070, 1080, 23, 1080, + 1080, 1080, 1080, 1080, 1080, 1080, 1080, 1080, 1080, 20, + + 19, 0, 0, 0, 1062, 1065, 0, 1065, 1065, 1065, + 1065, 1065, 1065, 1065, 1065, 1065, 1065, 1081, 0, 1081, + 1081, 1081, 1081, 1081, 1081, 1081, 1081, 1081, 1081, 1082, + 0, 1082, 1082, 1082, 1082, 1082, 1082, 1082, 1082, 1082, + 1082, 0, 0, 0, 1065, 1066, 0, 1066, 1066, 1066, + 1066, 1066, 1066, 1066, 1066, 1066, 1066, 0, 0, 0, + 1086, 1086, 1086, 1086, 1086, 1086, 1086, 1086, 1086, 1086, + 1090, 0, 1090, 1090, 1090, 1090, 1090, 1090, 0, 0, + 0, 0, 0, 0, 1066, 1067, 0, 1067, 1067, 1067, + 1067, 1067, 1067, 1067, 1067, 1067, 1067, 1086, 1092, 1092, + + 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 0, 1090, + 1093, 1093, 1093, 1093, 1093, 1093, 1093, 1093, 1093, 1093, + 0, 0, 0, 0, 1067, 1083, 0, 1083, 1083, 1083, + 1083, 1083, 1083, 1083, 1083, 1083, 1083, 1097, 1097, 1097, + 1097, 1097, 1097, 1097, 1097, 1097, 1097, 1099, 0, 1099, + 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 0, + 0, 0, 0, 0, 1083, 1084, 0, 1084, 1084, 1084, + 1084, 1084, 1084, 1084, 1084, 1084, 1084, 1100, 0, 1100, + 1100, 1100, 1100, 1100, 1100, 1100, 1100, 1100, 1100, 1102, + 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 0, + + 0, 0, 0, 0, 1084, 1085, 0, 1085, 1085, 1085, + 1085, 1085, 1085, 1085, 1085, 1085, 1085, 0, 1106, 0, + 1106, 1106, 1106, 1106, 1106, 1106, 1102, 1107, 1107, 1107, + 1107, 1107, 1107, 1107, 1107, 1107, 1107, 0, 1124, 1124, + 1124, 1124, 1124, 1124, 1085, 1088, 0, 1088, 1088, 1088, + 1088, 1088, 1088, 1088, 1088, 1088, 1088, 1106, 0, 0, + 0, 0, 0, 0, 1107, 1108, 1108, 1108, 1108, 1108, + 1108, 1108, 1108, 1108, 1108, 1124, 0, 0, 0, 0, + 0, 0, 0, 0, 1088, 1089, 0, 1089, 1089, 1089, + 1089, 1089, 1089, 1089, 1089, 1089, 1089, 0, 0, 0, + + 0, 0, 1108, 1109, 1109, 1109, 1109, 1109, 1109, 1109, + 1109, 1109, 1109, 1110, 1110, 1110, 1110, 1110, 1110, 1110, + 1110, 1110, 1110, 0, 1089, 1104, 0, 1104, 1104, 1104, + 1104, 1104, 1104, 1104, 1104, 1104, 1104, 0, 0, 0, + 1109, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, 1111, + 1111, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, 1112, + 1112, 0, 0, 0, 1104, 1105, 0, 1105, 1105, 1105, + 1105, 1105, 1105, 1105, 1105, 1105, 1105, 1113, 1113, 1113, + 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1114, 1114, 1114, + 1114, 1114, 1114, 1114, 1114, 1114, 1114, 0, 0, 0, + + 0, 0, 0, 0, 1105, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1113, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1114, 1115, 1115, 1115, 1115, 1115, + 1115, 1115, 1115, 1115, 1115, 1117, 1117, 1117, 1117, 1117, + 1117, 1117, 1117, 1117, 1117, 1120, 1120, 1120, 1120, 1120, + 1120, 1120, 1120, 1120, 1120, 0, 0, 0, 0, 0, + 0, 0, 1115, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1117, 1123, 1123, 1123, 1123, 1123, 1123, 1123, + 1123, 1123, 1123, 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, + 1123, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, + 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, 1126, + 1126, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, + 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, 1127, + 1127, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, + 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, 1128, + 1128, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, + 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, 1129, + 1129, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, + + 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, 1130, + 1130, 1131, 0, 0, 1131, 0, 0, 0, 0, 1131, + 0, 1131, 1131, 1131, 0, 0, 1131, 1131, 1131, 1131, + 1131, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, + 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, 1132, + 1132, 1133, 0, 0, 1133, 0, 0, 1133, 0, 1133, + 0, 1133, 1133, 1133, 1133, 0, 1133, 1133, 1133, 1133, + 1133, 1134, 0, 0, 1134, 0, 0, 0, 0, 1134, + 0, 1134, 1134, 1134, 0, 0, 1134, 1134, 1134, 1134, + 1134, 1135, 0, 0, 1135, 1135, 1135, 0, 1135, 1135, + + 0, 1135, 1135, 1135, 0, 0, 1135, 1135, 1135, 1135, + 1135, 1137, 0, 0, 1137, 1137, 1137, 0, 1137, 1137, + 0, 1137, 1137, 1137, 0, 0, 1137, 1137, 1137, 1137, + 1137, 1138, 0, 0, 1138, 1138, 1138, 0, 1138, 1138, + 0, 1138, 1138, 1138, 0, 1138, 1138, 0, 1138, 1138, + 1138, 1140, 0, 0, 1140, 1140, 0, 0, 1140, 1140, + 0, 1140, 1140, 1140, 1140, 0, 1140, 1140, 1140, 1140, + 1140, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, + 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, 1141, + 1141, 1142, 1142, 0, 1142, 1142, 0, 1142, 1142, 1142, + + 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, 1142, + 1142, 1143, 0, 0, 1143, 0, 0, 1143, 0, 1143, + 0, 1143, 1143, 1143, 1143, 0, 1143, 1143, 1143, 1143, + 1143, 1144, 0, 0, 1144, 0, 0, 0, 0, 1144, + 0, 1144, 1144, 1144, 0, 1144, 1144, 1144, 1144, 1144, + 1144, 1145, 0, 0, 1145, 1145, 1145, 0, 1145, 1145, + 0, 1145, 1145, 1145, 0, 1145, 1145, 1145, 1145, 1145, + 1145, 1146, 0, 0, 0, 1146, 1146, 1146, 1146, 1146, + 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, 1146, + 1146, 1147, 0, 0, 1147, 0, 0, 0, 0, 1147, + + 0, 1147, 1147, 1147, 0, 0, 1147, 1147, 1147, 1147, + 1147, 1148, 0, 0, 1148, 0, 0, 1148, 0, 1148, + 0, 1148, 1148, 1148, 1148, 0, 1148, 1148, 1148, 1148, + 1148, 1149, 0, 0, 1149, 0, 0, 0, 0, 1149, + 0, 1149, 1149, 1149, 0, 0, 1149, 1149, 1149, 1149, + 1149, 1150, 0, 0, 1150, 1150, 1150, 0, 1150, 1150, + 0, 1150, 1150, 1150, 0, 0, 1150, 1150, 1150, 1150, + 1150, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, + 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, + 1151, 1152, 1152, 0, 1152, 1152, 1152, 1152, 1152, 1152, + + 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, + 1152, 1153, 0, 0, 1153, 0, 0, 0, 0, 1153, + 0, 1153, 1153, 1153, 0, 0, 1153, 1153, 1153, 1153, + 1153, 1154, 0, 0, 1154, 0, 0, 0, 0, 1154, + 0, 1154, 1154, 1154, 0, 0, 1154, 1154, 1154, 1154, + 1154, 1155, 0, 0, 1155, 1155, 1155, 0, 1155, 1155, + 0, 1155, 1155, 1155, 0, 0, 1155, 1155, 1155, 1155, + 1155, 1156, 0, 0, 1156, 1156, 1156, 0, 1156, 1156, + 0, 1156, 1156, 1156, 0, 0, 1156, 1156, 1156, 1156, + 1156, 1159, 1159, 1159, 0, 0, 0, 0, 1159, 1160, + + 0, 0, 1160, 1160, 1160, 0, 1160, 1160, 0, 1160, + 1160, 1160, 0, 0, 1160, 1160, 1160, 1160, 1160, 1161, + 0, 0, 1161, 1161, 1161, 0, 1161, 1161, 0, 1161, + 1161, 1161, 0, 0, 1161, 1161, 1161, 1161, 1161, 1162, + 0, 0, 1162, 1162, 1162, 0, 1162, 1162, 0, 1162, + 1162, 1162, 0, 1162, 1162, 0, 1162, 1162, 1162, 1164, + 0, 0, 1164, 1164, 0, 0, 1164, 1164, 0, 1164, + 1164, 1164, 1164, 0, 1164, 1164, 1164, 1164, 1164, 1165, + 1165, 0, 1165, 1165, 0, 1165, 1165, 1165, 1165, 1165, + 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1166, + + 0, 0, 1166, 0, 0, 0, 0, 1166, 0, 1166, + 1166, 1166, 0, 0, 1166, 1166, 1166, 1166, 1166, 1167, + 0, 0, 1167, 0, 0, 0, 0, 1167, 0, 1167, + 1167, 1167, 0, 1167, 1167, 1167, 1167, 1167, 1167, 1168, + 0, 0, 1168, 1168, 0, 1168, 1168, 0, 0, 1168, + 1168, 1169, 0, 0, 1169, 1169, 1169, 0, 1169, 1169, + 0, 1169, 1169, 1169, 0, 1169, 1169, 1169, 1169, 1169, + 1169, 1171, 0, 0, 0, 1171, 1171, 1171, 1171, 1171, + 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + 1171, 1172, 0, 0, 1172, 0, 0, 0, 0, 1172, + + 0, 1172, 1172, 1172, 0, 0, 1172, 1172, 1172, 1172, + 1172, 1173, 0, 0, 1173, 0, 0, 0, 0, 1173, + 0, 1173, 1173, 1173, 0, 0, 1173, 1173, 1173, 1173, + 1173, 1174, 0, 0, 1174, 0, 0, 0, 0, 1174, + 0, 1174, 1174, 1174, 0, 0, 1174, 1174, 1174, 1174, + 1174, 1175, 0, 0, 1175, 1175, 1175, 0, 1175, 1175, + 0, 1175, 1175, 1175, 0, 0, 1175, 1175, 1175, 1175, + 1175, 1176, 0, 0, 1176, 1176, 1176, 0, 1176, 1176, + 0, 1176, 1176, 1176, 0, 0, 1176, 1176, 1176, 1176, + 1176, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, + + 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, 1177, + 1177, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, + 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, 1178, + 1178, 1180, 1180, 1180, 0, 0, 0, 0, 1180, 1184, + 1184, 1184, 0, 0, 0, 0, 1184, 1185, 1185, 1185, + 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1185, + 1185, 1185, 1185, 1185, 1185, 1185, 1185, 1190, 1190, 1190, + 0, 0, 0, 0, 1190, 1191, 1191, 1191, 1191, 0, + 0, 0, 0, 1191, 1195, 1195, 1195, 0, 0, 0, + 0, 1195, 1196, 1196, 1196, 1196, 0, 0, 0, 0, + + 1196, 1199, 1199, 1199, 0, 0, 0, 0, 1199, 1200, + 1200, 1200, 1200, 0, 0, 0, 0, 1200, 1201, 1201, + 1201, 1201, 1201, 1201, 1201, 1201, 1201, 1201, 1201, 1201, + 1201, 1201, 1201, 1201, 1201, 1201, 1201, 1201, 1203, 0, + 0, 1203, 1203, 0, 1203, 1203, 0, 0, 1203, 1203, + 1205, 0, 1205, 1205, 0, 0, 0, 0, 1205, 1206, + 1206, 1206, 0, 0, 0, 0, 1206, 1207, 1207, 1207, + 1207, 0, 0, 0, 0, 1207, 1208, 1208, 1208, 1208, + 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, 1208, + 1208, 1208, 1208, 1208, 1208, 1208, 1210, 0, 0, 1210, + + 1210, 0, 1210, 1210, 0, 0, 1210, 1210, 1211, 0, + 0, 1211, 0, 0, 0, 0, 1211, 0, 1211, 1211, + 1211, 0, 0, 1211, 1211, 1211, 1211, 1211, 1213, 0, + 1213, 1213, 0, 0, 0, 0, 1213, 1214, 1214, 1214, + 0, 0, 0, 0, 1214, 1215, 1215, 1215, 0, 0, + 0, 0, 0, 1215, 1216, 1216, 1216, 1216, 1216, 1216, + 1216, 1216, 1216, 1216, 1216, 1216, 1216, 1216, 1216, 1216, + 1216, 1216, 1216, 1216, 1217, 1217, 0, 1217, 1217, 1217, + 1217, 0, 1217, 0, 1217, 1217, 1217, 0, 0, 1217, + 1217, 1217, 1217, 1217, 1218, 1218, 0, 1218, 1218, 1218, + + 1218, 0, 1218, 0, 1218, 1218, 1218, 0, 0, 1218, + 1218, 1218, 1218, 1218, 1220, 0, 1220, 1220, 0, 0, + 0, 0, 1220, 1223, 0, 1223, 1223, 0, 0, 0, + 0, 1223, 1226, 1226, 1226, 1226, 1226, 1226, 1226, 1226, + 1226, 1226, 1226, 1226, 1226, 1226, 1226, 1226, 1226, 1226, + 1226, 1226, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, 1125, + 1125, 1125, 1125, 1125, 1125, 1125, 1125 + } ; + +static yy_state_type yy_last_accepting_state; +static char *yy_last_accepting_cpos; + +extern int sudoers_flex_debug; +int sudoers_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 *sudoerstext; +#line 1 "toke.l" +#line 2 "toke.l" +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 1996, 1998-2005, 2007-2020 + * 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, 1004, 1037 + +int sudolineno; /* current sudoers line number. */ +char *sudoers; /* sudoers file being parsed. */ +struct sudolinebuf sudolinebuf; /* sudoers line being parsed. */ + +/* Default sudoers path, mode and owner (may be set via sudo.conf) */ +const char *sudoers_file = _PATH_SUDOERS; +mode_t sudoers_mode = SUDOERS_MODE; +uid_t sudoers_uid = SUDOERS_UID; +gid_t sudoers_gid = SUDOERS_GID; + +static bool continued, sawspace; +static int prev_state; +static int digest_type = -1; + +static bool pop_include(void); +static yy_size_t sudoers_input(char *buf, yy_size_t max_size); + +int (*trace_print)(const char *msg) = sudoers_trace_print; + +#define ECHO ignore_result(fwrite(sudoerstext, sudoersleng, 1, sudoersout)) + +#define YY_INPUT(buf, result, max_size) (result) = sudoers_input(buf, max_size) + +#define YY_USER_ACTION do { \ + sudolinebuf.toke_start = sudolinebuf.toke_end; \ + sudolinebuf.toke_end += sudoersleng; \ +} while (0); + +#define sudoersless(n) do { \ + sudolinebuf.toke_end = sudolinebuf.toke_start + (n); \ + yyless(n); \ +} while (0); + +#define YY_NO_INPUT 1 + + + + + + + + +#line 2802 "toke.c" + +#define INITIAL 0 +#define GOTDEFS 1 +#define GOTCMND 2 +#define STARTDEFS 3 +#define INDEFS 4 +#define INSTR 5 +#define WANTDIGEST 6 +#define GOTINC 7 +#define EXPECTPATH 8 + +#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 sudoerslex_destroy (void ); + +int sudoersget_debug (void ); + +void sudoersset_debug (int debug_flag ); + +YY_EXTRA_TYPE sudoersget_extra (void ); + +void sudoersset_extra (YY_EXTRA_TYPE user_defined ); + +FILE *sudoersget_in (void ); + +void sudoersset_in (FILE * in_str ); + +FILE *sudoersget_out (void ); + +void sudoersset_out (FILE * out_str ); + +yy_size_t sudoersget_leng (void ); + +char *sudoersget_text (void ); + +int sudoersget_lineno (void ); + +void sudoersset_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 sudoerswrap (void ); +#else +extern int sudoerswrap (void ); +#endif +#endif + +#ifndef yytext_ptr +static void yy_flex_strncpy (char *,yyconst char *,int ); +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen (yyconst 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 +#define YY_READ_BUF_SIZE 8192 +#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( sudoerstext, sudoersleng, 1, sudoersout )) {} } 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 = '*'; \ + size_t n; \ + for ( n = 0; n < max_size && \ + (c = getc( sudoersin )) != EOF && c != '\n'; ++n ) \ + buf[n] = (char) c; \ + if ( c == '\n' ) \ + buf[n++] = (char) c; \ + if ( c == EOF && ferror( sudoersin ) ) \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + result = n; \ + } \ + else \ + { \ + errno=0; \ + while ( (result = fread(buf, 1, max_size, sudoersin))==0 && ferror(sudoersin)) \ + { \ + if( errno != EINTR) \ + { \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + break; \ + } \ + errno=0; \ + clearerr(sudoersin); \ + } \ + }\ +\ + +#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 sudoerslex (void); + +#define YY_DECL int sudoerslex (void) +#endif /* !YY_DECL */ + +/* Code executed at the beginning of each rule, after sudoerstext and sudoersleng + * 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 break; +#endif + +#define YY_RULE_SETUP \ + if ( sudoersleng > 0 ) \ + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \ + (sudoerstext[sudoersleng - 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 ( ! sudoersin ) { + sudoersin = stdin; + } + + if ( ! sudoersout ) { + sudoersout = stdout; + } + + if ( ! YY_CURRENT_BUFFER ) { + sudoersensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + sudoers_create_buffer(sudoersin,YY_BUF_SIZE ); + } + + sudoers_load_buffer_state( ); + } + + { +#line 117 "toke.l" + +#line 3024 "toke.c" + + while ( 1 ) /* loops until end-of-file is reached */ + { + yy_cp = (yy_c_buf_p); + + /* Support of sudoerstext. */ + *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 >= 1126 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + ++yy_cp; + } + while ( yy_base[yy_current_state] != 8253 ); + +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 118 "toke.l" +{ + LEXTRACE(", "); + return ','; + } /* return ',' */ + YY_BREAK +case 2: +YY_RULE_SETUP +#line 123 "toke.l" +BEGIN STARTDEFS; + YY_BREAK +case 3: +YY_RULE_SETUP +#line 125 "toke.l" +{ + BEGIN INDEFS; + LEXTRACE("DEFVAR "); + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + return DEFVAR; + } + YY_BREAK + +case 4: +YY_RULE_SETUP +#line 134 "toke.l" +{ + BEGIN STARTDEFS; + LEXTRACE(", "); + return ','; + } /* return ',' */ + YY_BREAK +case 5: +YY_RULE_SETUP +#line 140 "toke.l" +{ + LEXTRACE("= "); + return '='; + } /* return '=' */ + YY_BREAK +case 6: +YY_RULE_SETUP +#line 145 "toke.l" +{ + LEXTRACE("+= "); + return '+'; + } /* return '+' */ + YY_BREAK +case 7: +YY_RULE_SETUP +#line 150 "toke.l" +{ + LEXTRACE("-= "); + return '-'; + } /* return '-' */ + YY_BREAK +case 8: +YY_RULE_SETUP +#line 155 "toke.l" +{ + LEXTRACE("BEGINSTR "); + sudoerslval.string = NULL; + prev_state = YY_START; + BEGIN INSTR; + } + YY_BREAK +case 9: +YY_RULE_SETUP +#line 162 "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 171 "toke.l" +{ + /* Line continuation char followed by newline. */ + sudolineno++; + continued = true; + } + YY_BREAK +case 11: +YY_RULE_SETUP +#line 177 "toke.l" +{ + LEXTRACE("ENDSTR "); + BEGIN prev_state; + + if (sudoerslval.string == NULL) { + sudoerserror(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')) { + sudoerserror(N_("empty group")); + LEXTRACE("ERROR "); + return ERROR; + } + LEXTRACE("USERGROUP "); + return USERGROUP; + case '+': + if (sudoerslval.string[1] == '\0') { + sudoerserror(N_("empty netgroup")); + LEXTRACE("ERROR "); + return ERROR; + } + LEXTRACE("NETGROUP "); + return NETGROUP; + } + } + LEXTRACE("WORD(4) "); + return WORD; + } + YY_BREAK +case 12: +YY_RULE_SETUP +#line 212 "toke.l" +{ + LEXTRACE("BACKSLASH "); + if (!append(sudoerstext, sudoersleng)) + yyterminate(); + } + YY_BREAK +case 13: +YY_RULE_SETUP +#line 218 "toke.l" +{ + LEXTRACE("STRBODY "); + if (!append(sudoerstext, sudoersleng)) + yyterminate(); + } + YY_BREAK + + +case 14: +YY_RULE_SETUP +#line 226 "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 234 "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 242 "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 249 "toke.l" +{ + LEXTRACE("ARG "); + if (!fill_args(sudoerstext, sudoersleng, sawspace)) + yyterminate(); + sawspace = false; + } /* a command line arg */ + YY_BREAK + +case 18: +YY_RULE_SETUP +#line 257 "toke.l" +{ + /* Only return DIGEST if the length is correct. */ + yy_size_t digest_len = + sudo_digest_getlen(digest_type); + if ((yy_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 19: +YY_RULE_SETUP +#line 272 "toke.l" +{ + /* Only return DIGEST if the length is correct. */ + yy_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 ((yy_size_t)sudoersleng == len) { + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + BEGIN INITIAL; + LEXTRACE("DIGEST "); + return DIGEST; + } + BEGIN INITIAL; + sudoersless(sudoersleng); + } /* base64 digest */ + YY_BREAK +case 20: +YY_RULE_SETUP +#line 294 "toke.l" +{ + if (continued) { + sudoerserror(N_("invalid line continuation")); + LEXTRACE("ERROR "); + return ERROR; + } + + BEGIN GOTINC; + LEXTRACE("INCLUDE "); + return INCLUDE; + } + YY_BREAK +case 21: +YY_RULE_SETUP +#line 306 "toke.l" +{ + if (continued) { + sudoerserror(N_("invalid line continuation")); + LEXTRACE("ERROR "); + return ERROR; + } + + BEGIN GOTINC; + LEXTRACE("INCLUDEDIR "); + return INCLUDEDIR; + } + YY_BREAK +case 22: +/* rule 22 can match eol */ +YY_RULE_SETUP +#line 318 "toke.l" +{ + if (continued) { + sudoerserror(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 23: +/* rule 23 can match eol */ +YY_RULE_SETUP +#line 334 "toke.l" +{ + if (continued) { + sudoerserror(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 24: +YY_RULE_SETUP +#line 350 "toke.l" +{ + char deftype; + int n; + + if (continued) { + sudoerserror(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 25: +YY_RULE_SETUP +#line 391 "toke.l" +{ + int n; + + if (continued) { + sudoerserror(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 26: +YY_RULE_SETUP +#line 418 "toke.l" +{ + /* cmnd does not require passwd for this user */ + LEXTRACE("NOPASSWD "); + return NOPASSWD; + } + YY_BREAK +case 27: +YY_RULE_SETUP +#line 424 "toke.l" +{ + /* cmnd requires passwd for this user */ + LEXTRACE("PASSWD "); + return PASSWD; + } + YY_BREAK +case 28: +YY_RULE_SETUP +#line 430 "toke.l" +{ + LEXTRACE("NOEXEC "); + return NOEXEC; + } + YY_BREAK +case 29: +YY_RULE_SETUP +#line 435 "toke.l" +{ + LEXTRACE("EXEC "); + return EXEC; + } + YY_BREAK +case 30: +YY_RULE_SETUP +#line 440 "toke.l" +{ + LEXTRACE("SETENV "); + return SETENV; + } + YY_BREAK +case 31: +YY_RULE_SETUP +#line 445 "toke.l" +{ + LEXTRACE("NOSETENV "); + return NOSETENV; + } + YY_BREAK +case 32: +YY_RULE_SETUP +#line 450 "toke.l" +{ + LEXTRACE("LOG_OUTPUT "); + return LOG_OUTPUT; + } + YY_BREAK +case 33: +YY_RULE_SETUP +#line 455 "toke.l" +{ + LEXTRACE("NOLOG_OUTPUT "); + return NOLOG_OUTPUT; + } + YY_BREAK +case 34: +YY_RULE_SETUP +#line 460 "toke.l" +{ + LEXTRACE("LOG_INPUT "); + return LOG_INPUT; + } + YY_BREAK +case 35: +YY_RULE_SETUP +#line 465 "toke.l" +{ + LEXTRACE("NOLOG_INPUT "); + return NOLOG_INPUT; + } + YY_BREAK +case 36: +YY_RULE_SETUP +#line 470 "toke.l" +{ + LEXTRACE("MAIL "); + return MAIL; + } + YY_BREAK +case 37: +YY_RULE_SETUP +#line 475 "toke.l" +{ + LEXTRACE("NOMAIL "); + return NOMAIL; + } + YY_BREAK +case 38: +YY_RULE_SETUP +#line 480 "toke.l" +{ + LEXTRACE("FOLLOW "); + return FOLLOWLNK; + } + YY_BREAK +case 39: +YY_RULE_SETUP +#line 485 "toke.l" +{ + LEXTRACE("NOFOLLOW "); + return NOFOLLOWLNK; + } + YY_BREAK +case 40: +YY_RULE_SETUP +#line 490 "toke.l" +{ + if (sudoerstext[0] == '+') + sudoerserror(N_("empty netgroup")); + else + sudoerserror(N_("empty group")); + LEXTRACE("ERROR "); + return ERROR; + } + YY_BREAK +case 41: +YY_RULE_SETUP +#line 499 "toke.l" +{ + /* netgroup */ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NETGROUP "); + return NETGROUP; + } + YY_BREAK +case 42: +YY_RULE_SETUP +#line 507 "toke.l" +{ + /* group */ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("USERGROUP "); + return USERGROUP; + } + YY_BREAK +case 43: +YY_RULE_SETUP +#line 515 "toke.l" +{ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NTWKADDR "); + return NTWKADDR; + } + YY_BREAK +case 44: +YY_RULE_SETUP +#line 522 "toke.l" +{ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NTWKADDR "); + return NTWKADDR; + } + YY_BREAK +case 45: +YY_RULE_SETUP +#line 529 "toke.l" +{ + if (!ipv6_valid(sudoerstext)) { + sudoerserror(N_("invalid IPv6 address")); + LEXTRACE("ERROR "); + return ERROR; + } + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NTWKADDR "); + return NTWKADDR; + } + YY_BREAK +case 46: +YY_RULE_SETUP +#line 541 "toke.l" +{ + if (!ipv6_valid(sudoerstext)) { + sudoerserror(N_("invalid IPv6 address")); + LEXTRACE("ERROR "); + return ERROR; + } + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("NTWKADDR "); + return NTWKADDR; + } + YY_BREAK +case 47: +YY_RULE_SETUP +#line 553 "toke.l" +{ + LEXTRACE("ALL "); + return ALL; + + } + YY_BREAK +case 48: +YY_RULE_SETUP +#line 559 "toke.l" +{ + LEXTRACE("CMND_TIMEOUT "); + return CMND_TIMEOUT; + } + YY_BREAK +case 49: +YY_RULE_SETUP +#line 564 "toke.l" +{ + LEXTRACE("NOTBEFORE "); + return NOTBEFORE; + } + YY_BREAK +case 50: +YY_RULE_SETUP +#line 569 "toke.l" +{ + LEXTRACE("NOTAFTER "); + return NOTAFTER; + } + YY_BREAK +case 51: +YY_RULE_SETUP +#line 574 "toke.l" +{ + LEXTRACE("CWD "); + prev_state = YY_START; + BEGIN EXPECTPATH; + return CWD; + } + YY_BREAK +case 52: +YY_RULE_SETUP +#line 581 "toke.l" +{ + LEXTRACE("CHROOT "); + prev_state = YY_START; + BEGIN EXPECTPATH; + return CHROOT; + } + YY_BREAK +case 53: +YY_RULE_SETUP +#line 588 "toke.l" +{ +#ifdef HAVE_SELINUX + LEXTRACE("ROLE "); + return ROLE; +#else + goto got_alias; +#endif + } + YY_BREAK +case 54: +YY_RULE_SETUP +#line 597 "toke.l" +{ +#ifdef HAVE_SELINUX + LEXTRACE("TYPE "); + return TYPE; +#else + goto got_alias; +#endif + } + YY_BREAK +case 55: +YY_RULE_SETUP +#line 605 "toke.l" +{ +#ifdef HAVE_PRIV_SET + LEXTRACE("PRIVS "); + return PRIVS; +#else + goto got_alias; +#endif + } + YY_BREAK +case 56: +YY_RULE_SETUP +#line 614 "toke.l" +{ +#ifdef HAVE_PRIV_SET + LEXTRACE("LIMITPRIVS "); + return LIMITPRIVS; +#else + goto got_alias; +#endif + } + YY_BREAK +case 57: +YY_RULE_SETUP +#line 623 "toke.l" +{ + got_alias: + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("ALIAS "); + return ALIAS; + } + YY_BREAK +case 58: +YY_RULE_SETUP +#line 631 "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 59: +YY_RULE_SETUP +#line 640 "toke.l" +{ + digest_type = SUDO_DIGEST_SHA224; + BEGIN WANTDIGEST; + LEXTRACE("SHA224_TOK "); + return SHA224_TOK; + } + YY_BREAK +case 60: +YY_RULE_SETUP +#line 647 "toke.l" +{ + digest_type = SUDO_DIGEST_SHA256; + BEGIN WANTDIGEST; + LEXTRACE("SHA256_TOK "); + return SHA256_TOK; + } + YY_BREAK +case 61: +YY_RULE_SETUP +#line 654 "toke.l" +{ + digest_type = SUDO_DIGEST_SHA384; + BEGIN WANTDIGEST; + LEXTRACE("SHA384_TOK "); + return SHA384_TOK; + } + YY_BREAK +case 62: +YY_RULE_SETUP +#line 661 "toke.l" +{ + digest_type = SUDO_DIGEST_SHA512; + BEGIN WANTDIGEST; + LEXTRACE("SHA512_TOK "); + return SHA512_TOK; + } + YY_BREAK +case 63: +YY_RULE_SETUP +#line 668 "toke.l" +{ + BEGIN GOTCMND; + LEXTRACE("COMMAND "); + if (!fill_cmnd(sudoerstext, sudoersleng)) + yyterminate(); + } /* sudo -e */ + YY_BREAK +case 64: +YY_RULE_SETUP +#line 675 "toke.l" +{ + BEGIN prev_state; + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("WORD(5) "); + return WORD; + } + YY_BREAK +case 65: +YY_RULE_SETUP +#line 683 "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 66: +YY_RULE_SETUP +#line 697 "toke.l" +{ + LEXTRACE("BEGINSTR "); + sudoerslval.string = NULL; + prev_state = YY_START; + BEGIN INSTR; + } + YY_BREAK +case 67: +YY_RULE_SETUP +#line 704 "toke.l" +{ + /* a word */ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + LEXTRACE("WORD(6) "); + return WORD; + } + YY_BREAK + +case 68: +YY_RULE_SETUP +#line 713 "toke.l" +{ + /* include file/directory */ + if (!fill(sudoerstext, sudoersleng)) + yyterminate(); + BEGIN INITIAL; + LEXTRACE("WORD(7) "); + return WORD; + } + YY_BREAK +case 69: +YY_RULE_SETUP +#line 722 "toke.l" +{ + LEXTRACE("BEGINSTR "); + sudoerslval.string = NULL; + prev_state = INITIAL; + BEGIN INSTR; + } + YY_BREAK + +case 70: +YY_RULE_SETUP +#line 730 "toke.l" +{ + LEXTRACE("( "); + return '('; + } + YY_BREAK +case 71: +YY_RULE_SETUP +#line 735 "toke.l" +{ + LEXTRACE(") "); + return ')'; + } + YY_BREAK +case 72: +YY_RULE_SETUP +#line 740 "toke.l" +{ + LEXTRACE(", "); + return ','; + } /* return ',' */ + YY_BREAK +case 73: +YY_RULE_SETUP +#line 745 "toke.l" +{ + LEXTRACE("= "); + return '='; + } /* return '=' */ + YY_BREAK +case 74: +YY_RULE_SETUP +#line 750 "toke.l" +{ + LEXTRACE(": "); + return ':'; + } /* return ':' */ + YY_BREAK +case 75: +YY_RULE_SETUP +#line 755 "toke.l" +{ + if (sudoersleng & 1) { + LEXTRACE("!"); + return '!'; /* return '!' */ + } + } + YY_BREAK +case 76: +/* rule 76 can match eol */ +YY_RULE_SETUP +#line 762 "toke.l" +{ + if (YY_START == INSTR) { + /* re-scan after changing state */ + BEGIN INITIAL; + sudoersless(0); + sudoerserror(N_("unexpected line break in string")); + LEXTRACE("ERROR "); + return ERROR; + } + BEGIN INITIAL; + sudolineno++; + continued = false; + LEXTRACE("\n"); + return '\n'; + } /* return newline */ + YY_BREAK +case 77: +YY_RULE_SETUP +#line 778 "toke.l" +{ /* throw away space/tabs */ + sawspace = true; /* but remember for fill_args */ + } + YY_BREAK +case 78: +/* rule 78 can match eol */ +YY_RULE_SETUP +#line 782 "toke.l" +{ + sawspace = true; /* remember for fill_args */ + sudolineno++; + continued = true; + } /* throw away EOL after \ */ + YY_BREAK +case 79: +/* rule 79 can match eol */ +YY_RULE_SETUP +#line 788 "toke.l" +{ + if (sudoerstext[sudoersleng - 1] == '\n') { + /* comment ending in a newline */ + BEGIN INITIAL; + sudolineno++; + continued = false; + } else if (!feof(sudoersin)) { + sudoerserror(strerror(errno)); + LEXTRACE("ERROR "); + return ERROR; + } + LEXTRACE("#\n"); + return '\n'; + } /* comment, not uid/gid */ + YY_BREAK +case 80: +YY_RULE_SETUP +#line 803 "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(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 808 "toke.l" +{ + if (!pop_include()) + yyterminate(); + } + YY_BREAK +case 81: +YY_RULE_SETUP +#line 813 "toke.l" +ECHO; + YY_BREAK +#line 4040 "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 sudoersin at a new source and called + * sudoerslex(). 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 = sudoersin; + 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 ( sudoerswrap( ) ) + { + /* Note: because we've taken care in + * yy_get_next_buffer() to have set up + * sudoerstext, 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 sudoerslex */ + +/* 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 + { + yy_size_t 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 ) + { + yy_size_t 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. */ + sudoersrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); + } + else + /* Can't grow it, we don't own it. */ + b->yy_ch_buf = 0; + + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( + "fatal error - scanner input buffer overflow" ); + + (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; + + num_to_read = YY_CURRENT_BUFFER_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; + sudoersrestart(sudoersin ); + } + + 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_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { + /* Extend the array by 50%, plus the number we really need. */ + yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) sudoersrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); + if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); + /* "- 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 >= 1126 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) 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 >= 1126 ) + yy_c = yy_meta[(unsigned int) yy_c]; + } + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + yy_is_jam = (yy_current_state == 1125); + + return yy_is_jam ? 0 : yy_current_state; +} + +#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 */ + yy_size_t offset = (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. */ + sudoersrestart(sudoersin ); + + FALLTHROUGH; + + case EOB_ACT_END_OF_FILE: + { + if ( sudoerswrap( ) ) + return EOF; + + 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 sudoerstext */ + (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 sudoersrestart (FILE * input_file ) +{ + + if ( ! YY_CURRENT_BUFFER ){ + sudoersensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + sudoers_create_buffer(sudoersin,YY_BUF_SIZE ); + } + + sudoers_init_buffer(YY_CURRENT_BUFFER,input_file ); + sudoers_load_buffer_state( ); +} + +/** Switch to a different input buffer. + * @param new_buffer The new input buffer. + * + */ + void sudoers_switch_to_buffer (YY_BUFFER_STATE new_buffer ) +{ + + /* TODO. We should be able to replace this entire function body + * with + * sudoerspop_buffer_state(); + * sudoerspush_buffer_state(new_buffer); + */ + sudoersensure_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; + sudoers_load_buffer_state( ); + + /* We don't actually know whether we did this switch during + * EOF (sudoerswrap()) processing, but the only time this flag + * is looked at is after sudoerswrap() is called, so it's safe + * to go ahead and always set it. + */ + (yy_did_buffer_switch_on_eof) = 1; +} + +static void sudoers_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; + sudoersin = 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 sudoers_create_buffer (FILE * file, int size ) +{ + YY_BUFFER_STATE b; + + b = (YY_BUFFER_STATE) sudoersalloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in sudoers_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 *) sudoersalloc(b->yy_buf_size + 2 ); + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in sudoers_create_buffer()" ); + + b->yy_is_our_buffer = 1; + + sudoers_init_buffer(b,file ); + + return b; +} + +/** Destroy the buffer. + * @param b a buffer created with sudoers_create_buffer() + * + */ + void sudoers_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 ) + sudoersfree((void *) b->yy_ch_buf ); + + sudoersfree((void *) b ); +} + +/* Initializes or reinitializes a buffer. + * This function is sometimes called more than once on the same buffer, + * such as during a sudoersrestart() or at EOF. + */ + static void sudoers_init_buffer (YY_BUFFER_STATE b, FILE * file ) + +{ + int oerrno = errno; + + sudoers_flush_buffer(b ); + + b->yy_input_file = file; + b->yy_fill_buffer = 1; + + /* If b is the current buffer, then sudoers_init_buffer was _probably_ + * called from sudoersrestart() 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 sudoers_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 ) + sudoers_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 sudoerspush_buffer_state (YY_BUFFER_STATE new_buffer ) +{ + if (new_buffer == NULL) + return; + + sudoersensure_buffer_stack(); + + /* This block is copied from sudoers_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 sudoers_switch_to_buffer. */ + sudoers_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 sudoerspop_buffer_state (void) +{ + if (!YY_CURRENT_BUFFER) + return; + + sudoers_delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + if ((yy_buffer_stack_top) > 0) + --(yy_buffer_stack_top); + + if (YY_CURRENT_BUFFER) { + sudoers_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 sudoersensure_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; + (yy_buffer_stack) = (struct yy_buffer_state**)sudoersalloc + (num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in sudoersensure_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. */ + int grow_size = 8 /* arbitrary grow size */; + + num_to_alloc = (yy_buffer_stack_max) + grow_size; + (yy_buffer_stack) = (struct yy_buffer_state**)sudoersrealloc + ((yy_buffer_stack), + num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in sudoersensure_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 sudoers_scan_buffer (char * base, yy_size_t size ) +{ + YY_BUFFER_STATE b; + + if ( size < 2 || + base[size-2] != YY_END_OF_BUFFER_CHAR || + base[size-1] != YY_END_OF_BUFFER_CHAR ) + /* They forgot to leave room for the EOB's. */ + return 0; + + b = (YY_BUFFER_STATE) sudoersalloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in sudoers_scan_buffer()" ); + + b->yy_buf_size = 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 = 0; + 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; + + sudoers_switch_to_buffer(b ); + + return b; +} + +/** Setup the input buffer state to scan a string. The next call to sudoerslex() 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 + * sudoers_scan_bytes() instead. + */ +YY_BUFFER_STATE sudoers_scan_string (yyconst char * yystr ) +{ + + return sudoers_scan_bytes(yystr,strlen(yystr) ); +} + +/** Setup the input buffer state to scan the given bytes. The next call to sudoerslex() 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 sudoers_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) +{ + YY_BUFFER_STATE b; + char *buf; + yy_size_t n; + yy_size_t i; + + /* Get memory for full buffer, including space for trailing EOB's. */ + n = _yybytes_len + 2; + buf = (char *) sudoersalloc(n ); + if ( ! buf ) + YY_FATAL_ERROR( "out of dynamic memory in sudoers_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 = sudoers_scan_buffer(buf,n ); + if ( ! b ) + YY_FATAL_ERROR( "bad buffer in sudoers_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 yy_fatal_error (yyconst char* msg ) +{ + (void) 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 sudoerstext. */ \ + int yyless_macro_arg = (n); \ + YY_LESS_LINENO(yyless_macro_arg);\ + sudoerstext[sudoersleng] = (yy_hold_char); \ + (yy_c_buf_p) = sudoerstext + yyless_macro_arg; \ + (yy_hold_char) = *(yy_c_buf_p); \ + *(yy_c_buf_p) = '\0'; \ + sudoersleng = yyless_macro_arg; \ + } \ + while ( 0 ) + +/* Accessor methods (get/set functions) to struct members. */ + +/** Get the current line number. + * + */ +int sudoersget_lineno (void) +{ + + return sudoerslineno; +} + +/** Get the input stream. + * + */ +FILE *sudoersget_in (void) +{ + return sudoersin; +} + +/** Get the output stream. + * + */ +FILE *sudoersget_out (void) +{ + return sudoersout; +} + +/** Get the length of the current token. + * + */ +yy_size_t sudoersget_leng (void) +{ + return sudoersleng; +} + +/** Get the current token. + * + */ + +char *sudoersget_text (void) +{ + return sudoerstext; +} + +/** Set the current line number. + * @param line_number + * + */ +void sudoersset_lineno (int line_number ) +{ + + sudoerslineno = line_number; +} + +/** Set the input stream. This does not discard the current + * input buffer. + * @param in_str A readable stream. + * + * @see sudoers_switch_to_buffer + */ +void sudoersset_in (FILE * in_str ) +{ + sudoersin = in_str ; +} + +void sudoersset_out (FILE * out_str ) +{ + sudoersout = out_str ; +} + +int sudoersget_debug (void) +{ + return sudoers_flex_debug; +} + +void sudoersset_debug (int bdebug ) +{ + sudoers_flex_debug = bdebug ; +} + +static int yy_init_globals (void) +{ + /* Initialization is the same as for the non-reentrant scanner. + * This function is called from sudoerslex_destroy(), so don't allocate here. + */ + + (yy_buffer_stack) = 0; + (yy_buffer_stack_top) = 0; + (yy_buffer_stack_max) = 0; + (yy_c_buf_p) = (char *) 0; + (yy_init) = 0; + (yy_start) = 0; + +/* Defined in main.c */ +#ifdef YY_STDINIT + sudoersin = stdin; + sudoersout = stdout; +#else + sudoersin = (FILE *) 0; + sudoersout = (FILE *) 0; +#endif + + /* For future reference: Set errno on error, since we are called by + * sudoerslex_init() + */ + return 0; +} + +/* sudoerslex_destroy is for both reentrant and non-reentrant scanners. */ +int sudoerslex_destroy (void) +{ + + /* Pop the buffer stack, destroying each element. */ + while(YY_CURRENT_BUFFER){ + sudoers_delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + sudoerspop_buffer_state(); + } + + /* Destroy the stack itself. */ + sudoersfree((yy_buffer_stack) ); + (yy_buffer_stack) = NULL; + + /* Reset the globals. This is important in a non-reentrant scanner so the next time + * sudoerslex() is called, initialization will occur. */ + yy_init_globals( ); + + return 0; +} + +/* + * Internal utility routines. + */ + +#ifndef yytext_ptr +static void yy_flex_strncpy (char* s1, yyconst 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 (yyconst char * s ) +{ + int n; + for ( n = 0; s[n]; ++n ) + ; + + return n; +} +#endif + +void *sudoersalloc (yy_size_t size ) +{ + return (void *) malloc( size ); +} + +void *sudoersrealloc (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 (void *) realloc( (char *) ptr, size ); +} + +void sudoersfree (void * ptr ) +{ + free( (char *) ptr ); /* see sudoersrealloc() for (char *) cast */ +} + +#define YYTABLES_NAME "yytables" + +#line 813 "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; + 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 -1 on error. + * If zero files are found, NULL is stored in pathsp. + */ +static int +read_dir_files(const char *dirpath, struct path_list ***pathsp) +{ + DIR *dir; + int i, count = 0; + int max_paths = 32; + struct dirent *dent; + struct path_list **paths = NULL; + debug_decl(read_dir_files, SUDOERS_DEBUG_PARSER); + + 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) { + struct path_list *pl; + struct stat sb; + size_t len; + char *path; + + /* Ignore files that end in '~' or have a '.' in them. */ + if (dent->d_name[0] == '\0' || dent->d_name[NAMLEN(dent) - 1] == '~' + || strchr(dent->d_name, '.') != NULL) { + continue; + } + len = strlen(dirpath) + 1 + NAMLEN(dent); + if ((path = rcstr_alloc(len)) == NULL) + goto oom; + (void)snprintf(path, len + 1, "%s/%s", dirpath, dent->d_name); + if (stat(path, &sb) != 0 || !S_ISREG(sb.st_mode)) { + rcstr_delref(path); + continue; + } + pl = malloc(sizeof(*pl)); + if (pl == NULL) { + 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) { + 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_int(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++) { + rcstr_delref(paths[i]->path); + free(paths[i]); + } + free(paths); + debug_return_int(-1); +} + +/* + * Push a list of all files in dirpath onto stack. + * Returns the number of files or -1 on error. + */ +static int +switch_dir(struct include_stack *stack, char *dirpath) +{ + struct path_list **paths = NULL; + int count, i; + debug_decl(switch_dir, SUDOERS_DEBUG_PARSER); + + count = read_dir_files(dirpath, &paths); + 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_int(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); + + while (idepth) { + idepth--; + while ((pl = SLIST_FIRST(&istack[idepth].more)) != NULL) { + SLIST_REMOVE_HEAD(&istack[idepth].more, entries); + rcstr_delref(pl->path); + free(pl); + } + 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 = -1; + prev_state = INITIAL; + + debug_return; +} + +/* + * 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. + */ +static char * +expand_include(const char *opath, size_t olen) +{ + const char *cp, *ep; + char *path, *pp; + int dirlen = 0, len; + size_t shost_len = 0; + bool subst = false; + debug_decl(expand_include, SUDOERS_DEBUG_PARSER); + + /* Strip double quotes if present. */ + if (*opath == '"') { + opath++; + olen -= 2; + } + + /* Relative paths are located in the same dir as the sudoers file. */ + if (*opath != '/') { + char *dirend = strrchr(sudoers, '/'); + if (dirend != NULL) + dirlen = (int)(dirend - sudoers) + 1; + } + + len = olen; + for (cp = opath, ep = opath + olen; cp < ep; cp++) { + if (cp[0] == '%' && cp[1] == 'h') { + shost_len = strlen(user_shost); + len += shost_len - 2; + subst = true; + } + } + + /* Make a copy of the fully-qualified path and return it. */ + path = pp = rcstr_alloc(len + dirlen); + if (path == NULL) { + sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory")); + sudoerserror(NULL); + debug_return_str(NULL); + } + if (dirlen) { + memcpy(path, sudoers, dirlen); + pp += dirlen; + } + if (subst) { + /* substitute for %h */ + cp = opath; + while (cp < ep) { + if (cp[0] == '%' && cp[1] == 'h') { + memcpy(pp, user_shost, shost_len); + pp += shost_len; + cp += 2; + continue; + } + *pp++ = *cp++; + } + *pp = '\0'; + } else { + memcpy(pp, opath, len); + pp[len] = '\0'; + } + + debug_return_str(path); +} + +/* + * 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. + */ +bool +push_include(const char *opath, bool isdir) +{ + struct path_list *pl; + char *path; + FILE *fp; + debug_decl(push_include, SUDOERS_DEBUG_PARSER); + + if ((path = expand_include(opath, strlen(opath))) == NULL) + debug_return_bool(false); + + /* push current state onto stack */ + if (idepth >= istacksize) { + struct include_stack *new_istack; + + if (idepth > MAX_SUDOERS_DEPTH) { + sudoerserror(N_("too many levels of includes")); + 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); + rcstr_delref(path); + debug_return_bool(false); + } + istack = new_istack; + } + SLIST_INIT(&istack[idepth].more); + if (isdir) { + struct stat sb; + int count, status; + + status = sudo_secure_dir(path, sudoers_uid, sudoers_gid, &sb); + if (status != SUDO_PATH_SECURE) { + if (sudoers_warnings) { + 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_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_gid); + break; + default: + break; + } + } + /* A missing or insecure include dir is not a fatal error. */ + rcstr_delref(path); + debug_return_bool(true); + } + count = switch_dir(&istack[idepth], path); + if (count <= 0) { + /* switch_dir() called sudoerserror() for us */ + rcstr_delref(path); + debug_return_bool(count ? false : true); + } + + /* Parse the first dir entry we can open, leave the rest for later. */ + do { + 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); + } while ((fp = open_sudoers(path, false, &keepopen)) == NULL); + } else { + if ((fp = open_sudoers(path, true, &keepopen)) == NULL) { + /* The error was already printed by open_sudoers() */ + sudoerserror(NULL); + rcstr_delref(path); + debug_return_bool(false); + } + } + /* Push the old (current) file and open the new one. */ + istack[idepth].path = sudoers; /* push old path (and its ref) */ + istack[idepth].line = sudolinebuf; + istack[idepth].bs = YY_CURRENT_BUFFER; + istack[idepth].lineno = sudolineno; + istack[idepth].keepopen = keepopen; + idepth++; + sudolineno = 1; + sudoers = path; + sudoers_switch_to_buffer(sudoers_create_buffer(fp, YY_BUF_SIZE)); + memset(&sudolinebuf, 0, sizeof(sudolinebuf)); + + debug_return_bool(true); +} + +/* + * 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, false, &keepopen); + if (fp != NULL) { + sudolinebuf.len = sudolinebuf.off = 0; + sudolinebuf.toke_start = sudolinebuf.toke_end = 0; + rcstr_delref(sudoers); + sudoers = pl->path; + 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. */ + 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; + rcstr_delref(sudoers); + sudoers = 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) +{ + static bool initialized; + static struct sudo_lbuf lbuf; + + if (!initialized) { + initialized = true; + sudo_lbuf_init(&lbuf, NULL, 0, NULL, 0); + } + + sudo_lbuf_append(&lbuf, "%s", msg); + /* XXX - assumes a final newline */ + if (strchr(msg, '\n') != NULL) + { + sudo_debug_printf2(NULL, NULL, 0, SUDOERS_DEBUG_PARSER|SUDO_DEBUG_DEBUG, + "%s:%d: %s", sudoers, sudolineno, lbuf.buf); + lbuf.len = 0; + } + return 0; +} +#endif /* TRACELEXER */ + +static yy_size_t +sudoers_input(char *buf, yy_size_t max_size) +{ + size_t avail = sudolinebuf.len - sudolinebuf.off; + + /* Refill line buffer if needed. */ + if (avail == 0) { + avail = getdelim(&sudolinebuf.buf, &sudolinebuf.size, '\n', sudoersin); + if (avail == (size_t)-1) { + /* EOF or error. */ + if (ferror(sudoersin) && errno != EINTR) + YY_FATAL_ERROR("input in flex scanner failed"); + return 0; + } + + /* Add trailing newline if it is missing. */ + if (sudolinebuf.buf[avail - 1] != '\n') { + if (avail == sudolinebuf.size) { + char *cp = realloc(sudolinebuf.buf, avail + 1); + if (cp == NULL) { + YY_FATAL_ERROR("unable to allocate memory"); + return 0; + } + sudolinebuf.buf = cp; + sudolinebuf.size++; + } + sudolinebuf.buf[avail++] = '\n'; + } + + 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; + + return avail; +} + |