x=85416340 while~1:r=raw_input();print r[x%4:]+(r[:x%4]or"y")+"ay";x/=4
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page