CahartcreS awppnig with more tests by rolf

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).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page