%{
#include<stdio.h>;
%}
%%
if|else|while|for|switch|int|char {printf("keyword");}
[a-z]([a-z][0-9])*{printf("id");}
[0-9]* {printf("number");}
.* {printf("invalid");}
%%
main(){
yylex();
return 0;
}
int yywrap()
{
}
JXsKICAjaW5jbHVkZTxzdGRpby5oPjsKJX0KJSUKaWZ8ZWxzZXx3aGlsZXxmb3J8c3dpdGNofGludHxjaGFyIHtwcmludGYoImtleXdvcmQiKTt9ClthLXpdKFthLXpdWzAtOV0pKntwcmludGYoImlkIik7fQpbMC05XSoge3ByaW50ZigibnVtYmVyIik7fQouKiB7cHJpbnRmKCJpbnZhbGlkIik7fQolJQptYWluKCl7CiAgeXlsZXgoKTsKICByZXR1cm4gMDsKfQppbnQgeXl3cmFwKCkKewp9