for(e=o='',i=8;i--;)o+=readline()+'\n';print(o.split(e).reverse().join(e).replace(/^\n{2,}/,e))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page