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