while 1: \x09r=raw_input()*2;i=0;o="" \x09while i-52:o+=r[i];i=r.find(r[i],i+1)%52+1 \x09print o
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page