while 1: x=raw_input() r=x[0] n=len(x) for i in range(1,n-1-n%2,2):r+=x[i+1]+x[i] print r+x[-1-n%2:]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page