/* Generated by re2c */
// re2c $INPUT -o $OUTPUT -i
#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': goto yy3;
		case '"': goto yy5;
		case '\'': goto yy6;
		case '+':
		case '-': goto yy7;
		case '0': goto yy8;
		case '1': goto yy10;
		case '2':
		case '3':
		case '4':
		case '5':
		case '6':
		case '7':
		case '8':
		case '9': 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': goto yy14;
		case 'F':
		case 'f': goto yy17;
		case 'M':
		case 'm': goto yy18;
		case 'S':
		case 's': goto yy19;
		case 'T':
		case 't': goto yy20;
		case 'W':
		case 'w': goto yy21;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel0;
				goto yy54;
			}
			goto yy1;
	}
yy1:
	++in.cur;
yy2:
	{ return false; }
yy3:
	++in.cur;
yyFillLabel1:
	yych = *in.cur;
	switch (yych) {
		case '\n': 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;
		}
		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;
		}
		goto yy26;
	}
	goto yy27;
yy7:
	++in.cur;
yyFillLabel4:
	yych = *in.cur;
	switch (yych) {
		case '0': goto yy8;
		case '1':
		case '2':
		case '3':
		case '4':
		case '5':
		case '6':
		case '7':
		case '8':
		case '9': goto yy12;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel4;
			}
			goto yy2;
	}
yy8:
	++in.cur;
yy9:
	{ ++count; continue; }
yy10:
	++in.cur;
yyFillLabel5:
	yych = *in.cur;
	switch (yych) {
		case '0':
		case '1':
		case '3':
		case '4':
		case '5':
		case '6':
		case '7':
		case '8':
		case '9': goto yy12;
		case '2': goto yy30;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel5;
			}
			goto yy11;
	}
yy11:
	{ ++count; continue; }
yy12:
	++in.cur;
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': goto yy12;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel6;
			}
			goto yy9;
	}
yy14:
	++in.cur;
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': goto yy14;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel7;
			}
			goto yy16;
	}
yy16:
	{ ++count; continue; }
yy17:
	++in.cur;
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': goto yy31;
		default: goto yy15;
	}
yy18:
	++in.cur;
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': goto yy32;
		default: goto yy15;
	}
yy19:
	++in.cur;
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': goto yy33;
		case 'U':
		case 'u': goto yy32;
		default: goto yy15;
	}
yy20:
	++in.cur;
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': goto yy34;
		case 'U':
		case 'u': goto yy35;
		default: goto yy15;
	}
yy21:
	++in.cur;
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': goto yy36;
		default: goto yy15;
	}
yy22:
	++in.cur;
yyFillLabel13:
	yych = *in.cur;
yy23:
	switch (yych) {
		case '"': goto yy24;
		case '\\': goto yy25;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel13;
				goto yy55;
			}
			goto yy22;
	}
yy24:
	++in.cur;
	{ ++count; continue; }
yy25:
	++in.cur;
yyFillLabel14:
	yych = *in.cur;
	if (yych <= 0x00) {
		if (in.lim <= in.cur) {
			if (in.fill() == 0) goto yyFillLabel14;
			goto yy55;
		}
		goto yy22;
	}
	goto yy22;
yy26:
	++in.cur;
yyFillLabel15:
	yych = *in.cur;
yy27:
	switch (yych) {
		case '\'': goto yy28;
		case '\\': goto yy29;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel15;
				goto yy55;
			}
			goto yy26;
	}
yy28:
	++in.cur;
	{ ++count; continue; }
yy29:
	++in.cur;
yyFillLabel16:
	yych = *in.cur;
	if (yych <= 0x00) {
		if (in.lim <= in.cur) {
			if (in.fill() == 0) goto yyFillLabel16;
			goto yy55;
		}
		goto yy26;
	}
	goto yy26;
yy30:
	++in.cur;
yyFillLabel17:
	yych = *in.cur;
	switch (yych) {
		case '0':
		case '1':
		case '2':
		case '4':
		case '5':
		case '6':
		case '7':
		case '8':
		case '9': goto yy12;
		case '3': goto yy37;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel17;
			}
			goto yy11;
	}
yy31:
	++in.cur;
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': goto yy38;
		default: goto yy15;
	}
yy32:
	++in.cur;
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': goto yy38;
		default: goto yy15;
	}
yy33:
	++in.cur;
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': goto yy39;
		default: goto yy15;
	}
yy34:
	++in.cur;
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': goto yy40;
		default: goto yy15;
	}
yy35:
	++in.cur;
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': goto yy41;
		default: goto yy15;
	}
yy36:
	++in.cur;
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': goto yy42;
		default: goto yy15;
	}
yy37:
	++in.cur;
yyFillLabel24:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel24;
			}
			goto yy9;
		case '4': goto yy43;
		default: goto yy13;
	}
yy38:
	++in.cur;
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': goto yy44;
		default: goto yy15;
	}
yy39:
	++in.cur;
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': goto yy45;
		default: goto yy15;
	}
yy40:
	++in.cur;
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': goto yy41;
		default: goto yy15;
	}
yy41:
	++in.cur;
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': goto yy38;
		default: goto yy15;
	}
yy42:
	++in.cur;
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': goto yy35;
		default: goto yy15;
	}
yy43:
	++in.cur;
yyFillLabel30:
	yych = *in.cur;
	switch (yych) {
		case 0x00:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel30;
			}
			goto yy9;
		case '5': goto yy46;
		default: goto yy13;
	}
yy44:
	++in.cur;
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': goto yy47;
		default: goto yy15;
	}
yy45:
	++in.cur;
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': goto yy38;
		default: goto yy15;
	}
yy46:
	++in.cur;
yyFillLabel33:
	yych = *in.cur;
	switch (yych) {
		case '0':
		case '1':
		case '2':
		case '3':
		case '4':
		case '5':
		case '7':
		case '8':
		case '9': goto yy12;
		case '6': goto yy48;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel33;
			}
			goto yy11;
	}
yy47:
	++in.cur;
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': goto yy49;
		default: goto yy15;
	}
yy48:
	++in.cur;
yyFillLabel35:
	yych = *in.cur;
	switch (yych) {
		case '0':
		case '1':
		case '2':
		case '3':
		case '4':
		case '5':
		case '6':
		case '8':
		case '9': goto yy12;
		case '7': goto yy51;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel35;
			}
			goto yy11;
	}
yy49:
	++in.cur;
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': goto yy14;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel36;
			}
			goto yy50;
	}
yy50:
	{ ++count; continue; }
yy51:
	++in.cur;
yyFillLabel37:
	yych = *in.cur;
	switch (yych) {
		case '0':
		case '1':
		case '2':
		case '3':
		case '4':
		case '5':
		case '6':
		case '7':
		case '9': goto yy12;
		case '8': goto yy52;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel37;
			}
			goto yy11;
	}
yy52:
	++in.cur;
yyFillLabel38:
	yych = *in.cur;
	switch (yych) {
		case '0':
		case '1':
		case '2':
		case '3':
		case '4':
		case '5':
		case '6':
		case '7':
		case '8': goto yy12;
		case '9': goto yy53;
		default:
			if (in.lim <= in.cur) {
				if (in.fill() == 0) goto yyFillLabel38;
			}
			goto yy11;
	}
yy53:
	++in.cur;
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': 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;
}
