%{
#include<stdio.h>
#include<ctype.h>
int i;
%}
%%
[a-zA-Z]*
{ printf("ffffff");
for(i=0;i<yyleng-2;i++)
{
if(yytext[i]=='a'&&yytext[i+1]=='b'&&yytext[i+2]=='c')
{
yytext[i]='A';
yytext[i+1]='B';
yytext[i+2]='C';
}
}
printf("%s",yytext);
}
[\t]* return 1;
.* {ECHO;}
\n {printf("%s",yytext);}
%%
int main()
{
yylex();
return 0;}
int yywrap(){return 1;}
JXsKI2luY2x1ZGU8c3RkaW8uaD4KI2luY2x1ZGU8Y3R5cGUuaD4KaW50IGk7CiV9CgolJQoKW2EtekEtWl0qCnsgICBwcmludGYoImZmZmZmZiIpOwogICAgZm9yKGk9MDtpPHl5bGVuZy0yO2krKykKICAgIHsKICAgICAgICBpZih5eXRleHRbaV09PSdhJyYmeXl0ZXh0W2krMV09PSdiJyYmeXl0ZXh0W2krMl09PSdjJykKICAgICAgICB7CiAgICAgICAgICAgIHl5dGV4dFtpXT0nQSc7CiAgICAgICAgICAgIHl5dGV4dFtpKzFdPSdCJzsKICAgICAgICAgICAgeXl0ZXh0W2krMl09J0MnOwogICAgICAgIH0KICAgIH0KICAgIHByaW50ZigiJXMiLHl5dGV4dCk7Cn0KCltcdF0qIHJldHVybiAxOwouKiB7RUNITzt9ClxuIHtwcmludGYoIiVzIix5eXRleHQpO30KJSUKaW50IG1haW4oKQp7Cnl5bGV4KCk7CnJldHVybiAwO30KaW50IHl5d3JhcCgpe3JldHVybiAxO30=