var s,t:string;i:comp;begin read(s);i:=length(s);repeat t:=s[i]+t+s[i];writeln(t);dec(i)until 1=0end.
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page