s=System.in.text s.size().times{x=s[-1-it..-1];println x+x.reverse()}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page