a[99],b[99],c[99];main(x){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