for(i in strsplit(readLines("stdin")," "))cat(if(grepl(i[1],i[2],fixed=T)&&grepl(i[2],i[3],fixed=T))"YES\n"else"NO\n")
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page