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