while 1:a,_,b,_,c,_,d=map(ord,input());print("YNeos"[18!=abs(a-c)+(b-d)**4::2])
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page