for(r=i=0;r=i++%7?r.replace(/(\S*)( \S*)$/,'$&$2$1'):readline(r&&print(r)););
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page