%{
#include <stdio.h>
%}

%%
[0-9]*[02468]    { printf("Even Number: %s\n", yytext); }
[0-9]*[13579]    { printf("Odd Number: %s\n", yytext); }
[ \t\n]+         ;  // Ignore spaces, tabs, and newlines
.                ;  // Ignore other characters
%%

int main() {
    printf("Enter numbers:\n");
    yylex();
    return 0;
}
