%{
#include <stdio.h>
int yywrap(void) { return 1; } /* Prevents the undefined reference error */
%}
%%
abe { printf("ABC"); }
. { ECHO; }
\n { ECHO; }
%%
int main()
{
printf("Enter the input string:\n");
yylex();
return 0;
}
JXsKI2luY2x1ZGUgPHN0ZGlvLmg+CmludCB5eXdyYXAodm9pZCkgeyByZXR1cm4gMTsgfSAgIC8qIFByZXZlbnRzIHRoZSB1bmRlZmluZWQgcmVmZXJlbmNlIGVycm9yICovCiV9CgolJQphYmUgICAgIHsgcHJpbnRmKCJBQkMiKTsgfQouICAgICAgIHsgRUNITzsgfQpcbiAgICAgIHsgRUNITzsgfQolJQoKaW50IG1haW4oKQp7CiAgICBwcmludGYoIkVudGVyIHRoZSBpbnB1dCBzdHJpbmc6XG4iKTsKICAgIHl5bGV4KCk7CiAgICByZXR1cm4gMDsKfQoK