while 1:l=input();s=l.strip();print(l[:10].replace(s[0],str(eval(s[0]+'+'+s[-1]))))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page