while 1:i=raw_input().split();print('YES'if i[0]in i[1]in i[2]else'NO')
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page