%{
#include<stdio.h>
#include<stdlib.h>
%}
%%
[0-9]+ { printf("%s\n", yytext); }
. { } // Ignore other characters
%%
int main()
{
printf("Enter a string: \n");
yylex();
return 0;
}
int yywrap()
{
return 1;
}
JXsKI2luY2x1ZGU8c3RkaW8uaD4KI2luY2x1ZGU8c3RkbGliLmg+CiV9CgolJQpbMC05XSsgIHsgcHJpbnRmKCIlc1xuIiwgeXl0ZXh0KTsgfQouICAgICAgIHsgfSAvLyBJZ25vcmUgb3RoZXIgY2hhcmFjdGVycwoKJSUKCmludCBtYWluKCkKewogICAgcHJpbnRmKCJFbnRlciBhIHN0cmluZzogXG4iKTsKICAgIHl5bGV4KCk7CiAgICByZXR1cm4gMDsKfQoKaW50IHl5d3JhcCgpCnsKICAgIHJldHVybiAxOwp9Cg==