/* Generated by re2c */
// re2c $INPUT -o $OUTPUT -i --eager-skip
#include <stdio.h>
#include <string.h>

static const size_t SIZE = 4096;

struct input_t {
    char buf[SIZE + 1];
    char *lim;
    char *cur;
    char *tok;
    bool eof;

    input_t()
        : buf()
        , lim(buf + SIZE)
        , cur(lim)
        , tok(lim)
        , eof(false)
    {
        fill();
    }
    int fill()
    {
        if (eof) {
            return 1;
        }
        const size_t free = tok - buf;
        if (free < 1) {
            return 2;
        }
        memmove(buf, tok, lim - tok);
        lim -= free;
        cur -= free;
        tok -= free;
        lim += fread(lim, 1, free, stdin);
        lim[0] = 0;
        if (lim < buf + SIZE) {
            eof = true;
        }
        return 0;
    }
};

static bool lex(input_t & in, unsigned int &count)
{
    for (count = 0;;) {
        in.tok = in.cur;
        
{
	char yych;
yyFillLabel0:
	yych = *in.cur;
	switch (yych) {
		case '\n':
			++in.cur;
			goto yy3;
		case '"':
			++in.cur;
			goto yy5;
		case '\'':
			++in.cur;
			goto yy6;
		case '+':
		case '-':
			++in.cur;
			goto yy7;
		case '0':
			++in.cur;
			goto yy8;
		case '1':
			++in.cur;
			goto yy10;
		case '2':
		case '3':
		case '4':
		case '5':
		case '6':
		case '7':
		case '8':
		case '9':
			++in.cur;
			goto yy12;
		case 'A':
		case 'B':
		case 'C':
		case 'D':
		case 'E':
		case 'G':
		case 'H':
		case 'I':
		case 'J':
		case 'K':
		case 'L':
		case 'N':
		case 'O':
		case 'P':
		case 'Q':
		case 'R':
		case 'U':
		case 'V':
		case 'X':
		case 'Y':
		case 'Z':
		case '_':
		case 'a':
		case 'b':
		case 'c':
		case 'd':
		case 'e':
		case 'g':
		case 'h':
		case 'i':
		case 'j':
		case 'k':
		case 'l':
		case 'n':
		case 'o':
		case 'p':
		case 'q':
		case 'r':
		case 'u':
		case 'v':
		case 'x':
		case 'y':
		case 'z':
			++in.cur;
			goto yy14;
		case 'F':
		case 'f':
			++in.cur;
			goto yy17;
		case 'M':
		case 'm':
			++in.cur;
			goto yy18;
		case 'S':
		case 's':
			++in.cur;
			goto yy19;
		case 'T':
		case 't':
			++in.cur;
			goto yy20;
		case 'W':
		case 'w':
			++in.cur;
			goto yy21;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel0;
				goto yy54;
			}
			++in.cur;
			goto yy1;
	}
yy1:
yy2:
	{ return false; }
yy3:
yyFillLabel1:
	yych = *in.cur;
	switch (yych) {
		case '\n':
			++in.cur;
			goto yy3;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel1;
			}
			goto yy4;
	}
yy4:
	{ continue; }
yy5:
	YYMARKER = in.cur;
yyFillLabel2:
	yych = *in.cur;
	if (yych <= 0x00) {
		if (in.lim <= in.cur) {
			if (in.fill() == 0) goto yyFillLabel2;
			goto yy2;
		}
		++in.cur;
		goto yy22;
	}
	goto yy23;
yy6:
	YYMARKER = in.cur;
yyFillLabel3:
	yych = *in.cur;
	if (yych <= 0x00) {
		if (in.lim <= in.cur) {
			if (in.fill() == 0) goto yyFillLabel3;
			goto yy2;
		}
		++in.cur;
		goto yy26;
	}
	goto yy27;
yy7:
yyFillLabel4:
	yych = *in.cur;
	switch (yych) {
		case '0':
			++in.cur;
			goto yy8;
		case '1':
		case '2':
		case '3':
		case '4':
		case '5':
		case '6':
		case '7':
		case '8':
		case '9':
			++in.cur;
			goto yy12;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel4;
			}
			goto yy2;
	}
yy8:
yy9:
	{ ++count; continue; }
yy10:
yyFillLabel5:
	yych = *in.cur;
	switch (yych) {
		case '0':
		case '1':
		case '3':
		case '4':
		case '5':
		case '6':
		case '7':
		case '8':
		case '9':
			++in.cur;
			goto yy12;
		case '2':
			++in.cur;
			goto yy30;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel5;
			}
			goto yy11;
	}
yy11:
	{ ++count; continue; }
yy12:
yyFillLabel6:
	yych = *in.cur;
yy13:
	switch (yych) {
		case '0':
		case '1':
		case '2':
		case '3':
		case '4':
		case '5':
		case '6':
		case '7':
		case '8':
		case '9':
			++in.cur;
			goto yy12;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel6;
			}
			goto yy9;
	}
yy14:
yyFillLabel7:
	yych = *in.cur;
yy15:
	switch (yych) {
		case '0':
		case '1':
		case '2':
		case '3':
		case '4':
		case '5':
		case '6':
		case '7':
		case '8':
		case '9':
		case 'A':
		case 'B':
		case 'C':
		case 'D':
		case 'E':
		case 'F':
		case 'G':
		case 'H':
		case 'I':
		case 'J':
		case 'K':
		case 'L':
		case 'M':
		case 'N':
		case 'O':
		case 'P':
		case 'Q':
		case 'R':
		case 'S':
		case 'T':
		case 'U':
		case 'V':
		case 'W':
		case 'X':
		case 'Y':
		case 'Z':
		case '_':
		case 'a':
		case 'b':
		case 'c':
		case 'd':
		case 'e':
		case 'f':
		case 'g':
		case 'h':
		case 'i':
		case 'j':
		case 'k':
		case 'l':
		case 'm':
		case 'n':
		case 'o':
		case 'p':
		case 'q':
		case 'r':
		case 's':
		case 't':
		case 'u':
		case 'v':
		case 'w':
		case 'x':
		case 'y':
		case 'z':
			++in.cur;
			goto yy14;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel7;
			}
			goto yy16;
	}
yy16:
	{ ++count; continue; }
yy17:
yyFillLabel8:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel8;
			}
			goto yy16;
		case 'R':
		case 'r':
			++in.cur;
			goto yy31;
		default: goto yy15;
	}
yy18:
yyFillLabel9:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel9;
			}
			goto yy16;
		case 'O':
		case 'o':
			++in.cur;
			goto yy32;
		default: goto yy15;
	}
yy19:
yyFillLabel10:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel10;
			}
			goto yy16;
		case 'A':
		case 'a':
			++in.cur;
			goto yy33;
		case 'U':
		case 'u':
			++in.cur;
			goto yy32;
		default: goto yy15;
	}
yy20:
yyFillLabel11:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel11;
			}
			goto yy16;
		case 'H':
		case 'h':
			++in.cur;
			goto yy34;
		case 'U':
		case 'u':
			++in.cur;
			goto yy35;
		default: goto yy15;
	}
yy21:
yyFillLabel12:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel12;
			}
			goto yy16;
		case 'E':
		case 'e':
			++in.cur;
			goto yy36;
		default: goto yy15;
	}
yy22:
yyFillLabel13:
	yych = *in.cur;
yy23:
	switch (yych) {
		case '"':
			++in.cur;
			goto yy24;
		case '\\':
			++in.cur;
			goto yy25;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel13;
				goto yy55;
			}
			++in.cur;
			goto yy22;
	}
yy24:
	{ ++count; continue; }
yy25:
yyFillLabel14:
	yych = *in.cur;
	if (yych <= 0x00) {
		if (in.lim <= in.cur) {
			if (in.fill() == 0) goto yyFillLabel14;
			goto yy55;
		}
		++in.cur;
		goto yy22;
	}
	++in.cur;
	goto yy22;
yy26:
yyFillLabel15:
	yych = *in.cur;
yy27:
	switch (yych) {
		case '\'':
			++in.cur;
			goto yy28;
		case '\\':
			++in.cur;
			goto yy29;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel15;
				goto yy55;
			}
			++in.cur;
			goto yy26;
	}
yy28:
	{ ++count; continue; }
yy29:
yyFillLabel16:
	yych = *in.cur;
	if (yych <= 0x00) {
		if (in.lim <= in.cur) {
			if (in.fill() == 0) goto yyFillLabel16;
			goto yy55;
		}
		++in.cur;
		goto yy26;
	}
	++in.cur;
	goto yy26;
yy30:
yyFillLabel17:
	yych = *in.cur;
	switch (yych) {
		case '0':
		case '1':
		case '2':
		case '4':
		case '5':
		case '6':
		case '7':
		case '8':
		case '9':
			++in.cur;
			goto yy12;
		case '3':
			++in.cur;
			goto yy37;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel17;
			}
			goto yy11;
	}
yy31:
yyFillLabel18:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel18;
			}
			goto yy16;
		case 'I':
		case 'i':
			++in.cur;
			goto yy38;
		default: goto yy15;
	}
yy32:
yyFillLabel19:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel19;
			}
			goto yy16;
		case 'N':
		case 'n':
			++in.cur;
			goto yy38;
		default: goto yy15;
	}
yy33:
yyFillLabel20:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel20;
			}
			goto yy16;
		case 'T':
		case 't':
			++in.cur;
			goto yy39;
		default: goto yy15;
	}
yy34:
yyFillLabel21:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel21;
			}
			goto yy16;
		case 'U':
		case 'u':
			++in.cur;
			goto yy40;
		default: goto yy15;
	}
yy35:
yyFillLabel22:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel22;
			}
			goto yy16;
		case 'E':
		case 'e':
			++in.cur;
			goto yy41;
		default: goto yy15;
	}
yy36:
yyFillLabel23:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel23;
			}
			goto yy16;
		case 'D':
		case 'd':
			++in.cur;
			goto yy42;
		default: goto yy15;
	}
yy37:
yyFillLabel24:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel24;
			}
			goto yy9;
		case '4':
			++in.cur;
			goto yy43;
		default: goto yy13;
	}
yy38:
yyFillLabel25:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel25;
			}
			goto yy16;
		case 'D':
		case 'd':
			++in.cur;
			goto yy44;
		default: goto yy15;
	}
yy39:
yyFillLabel26:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel26;
			}
			goto yy16;
		case 'U':
		case 'u':
			++in.cur;
			goto yy45;
		default: goto yy15;
	}
yy40:
yyFillLabel27:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel27;
			}
			goto yy16;
		case 'R':
		case 'r':
			++in.cur;
			goto yy41;
		default: goto yy15;
	}
yy41:
yyFillLabel28:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel28;
			}
			goto yy16;
		case 'S':
		case 's':
			++in.cur;
			goto yy38;
		default: goto yy15;
	}
yy42:
yyFillLabel29:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel29;
			}
			goto yy16;
		case 'N':
		case 'n':
			++in.cur;
			goto yy35;
		default: goto yy15;
	}
yy43:
yyFillLabel30:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel30;
			}
			goto yy9;
		case '5':
			++in.cur;
			goto yy46;
		default: goto yy13;
	}
yy44:
yyFillLabel31:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel31;
			}
			goto yy16;
		case 'A':
		case 'a':
			++in.cur;
			goto yy47;
		default: goto yy15;
	}
yy45:
yyFillLabel32:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel32;
			}
			goto yy16;
		case 'R':
		case 'r':
			++in.cur;
			goto yy38;
		default: goto yy15;
	}
yy46:
yyFillLabel33:
	yych = *in.cur;
	switch (yych) {
		case '0':
		case '1':
		case '2':
		case '3':
		case '4':
		case '5':
		case '7':
		case '8':
		case '9':
			++in.cur;
			goto yy12;
		case '6':
			++in.cur;
			goto yy48;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel33;
			}
			goto yy11;
	}
yy47:
yyFillLabel34:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel34;
			}
			goto yy16;
		case 'Y':
		case 'y':
			++in.cur;
			goto yy49;
		default: goto yy15;
	}
yy48:
yyFillLabel35:
	yych = *in.cur;
	switch (yych) {
		case '0':
		case '1':
		case '2':
		case '3':
		case '4':
		case '5':
		case '6':
		case '8':
		case '9':
			++in.cur;
			goto yy12;
		case '7':
			++in.cur;
			goto yy51;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel35;
			}
			goto yy11;
	}
yy49:
yyFillLabel36:
	yych = *in.cur;
	switch (yych) {
		case '0':
		case '1':
		case '2':
		case '3':
		case '4':
		case '5':
		case '6':
		case '7':
		case '8':
		case '9':
		case 'A':
		case 'B':
		case 'C':
		case 'D':
		case 'E':
		case 'F':
		case 'G':
		case 'H':
		case 'I':
		case 'J':
		case 'K':
		case 'L':
		case 'M':
		case 'N':
		case 'O':
		case 'P':
		case 'Q':
		case 'R':
		case 'S':
		case 'T':
		case 'U':
		case 'V':
		case 'W':
		case 'X':
		case 'Y':
		case 'Z':
		case '_':
		case 'a':
		case 'b':
		case 'c':
		case 'd':
		case 'e':
		case 'f':
		case 'g':
		case 'h':
		case 'i':
		case 'j':
		case 'k':
		case 'l':
		case 'm':
		case 'n':
		case 'o':
		case 'p':
		case 'q':
		case 'r':
		case 's':
		case 't':
		case 'u':
		case 'v':
		case 'w':
		case 'x':
		case 'y':
		case 'z':
			++in.cur;
			goto yy14;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel36;
			}
			goto yy50;
	}
yy50:
	{ ++count; continue; }
yy51:
yyFillLabel37:
	yych = *in.cur;
	switch (yych) {
		case '0':
		case '1':
		case '2':
		case '3':
		case '4':
		case '5':
		case '6':
		case '7':
		case '9':
			++in.cur;
			goto yy12;
		case '8':
			++in.cur;
			goto yy52;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel37;
			}
			goto yy11;
	}
yy52:
yyFillLabel38:
	yych = *in.cur;
	switch (yych) {
		case '0':
		case '1':
		case '2':
		case '3':
		case '4':
		case '5':
		case '6':
		case '7':
		case '8':
			++in.cur;
			goto yy12;
		case '9':
			++in.cur;
			goto yy53;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel38;
			}
			goto yy11;
	}
yy53:
yyFillLabel39:
	yych = *in.cur;
	switch (yych) {
		case '0':
		case '1':
		case '2':
		case '3':
		case '4':
		case '5':
		case '6':
		case '7':
		case '8':
		case '9':
			++in.cur;
			goto yy12;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel39;
			}
			goto yy11;
	}
yy54:
	{ return true; }
yy55:
	in.cur = YYMARKER;
	goto yy2;
}

    }
}

int main()
{
    input_t in;
    unsigned int count;
    if (lex(in, count)) {
        printf("glorious %u numbers!\n", count);
    } else {
        printf("error\n");
    }

    return 0;
}
