a[9],b[9],c[9];main(){for(;~scanf("%s%s%s",a,b,c);)puts(strstr(b,a)&&strstr(c,b)?"YES":"NO");}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page