%{
#include <stdio.h>
%}
%%
abc printf("ABC"); // Convert 'abc' to 'ABC'
.|\n printf("%c", yytext[0]); // Print any other character as it is
%%
int main() {
yylex();
return 0;
}
int yywrap() {
return 1; // Indicate the end of input
}
JXsKI2luY2x1ZGUgPHN0ZGlvLmg+CiV9CgolJQoKYWJjICAgICBwcmludGYoIkFCQyIpOyAgLy8gQ29udmVydCAnYWJjJyB0byAnQUJDJwoufFxuICAgIHByaW50ZigiJWMiLCB5eXRleHRbMF0pOyAgLy8gUHJpbnQgYW55IG90aGVyIGNoYXJhY3RlciBhcyBpdCBpcwoKJSUKCmludCBtYWluKCkgewogICAgeXlsZXgoKTsKICAgIHJldHVybiAwOwp9CgppbnQgeXl3cmFwKCkgewogICAgcmV0dXJuIDE7ICAvLyBJbmRpY2F0ZSB0aGUgZW5kIG9mIGlucHV0Cn0K