a=input()for i in range(0, len(a)-1, 2): print(a[i+1], a[i], sep="", end="")if len(a) % 2 == 1: print(a[-1])
kamil wiktor wiktoria
akiml
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!