while 1: y=' ';s,a=raw_input().split(y,1) for x in a+y:s=s.replace(x,y);y=x print s
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page