while 1:print("YNeos"[int(input()[::2])%9555%101%61|4!=22::2])
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page