%{
#include <stdio.h>
%}

%%
[0-9]+      { printf("NUMBER\n"); }
[a-zA-Z]+   { printf("WORD"); }
%%

int main() {
    yylex();
    return 0;
}
