Time limit: 1s
Memory limit: 64MB
Input:
Output:
Task
You are given an even length string containing only lowercase English letters. Print the string obtained after swapping the characters on positions and for all odd .
In other words, we will swap the characters on positions and , and , and etc.
Input data
The first line of the input contains .
Output data
The first line of the output contains , after the swaps have been made.
Constraints and clarifications
- length of ;
Example 1
stdin
abcdef
stdout
badcfe
Explanation
We first swap a and b, then c and d and then, e and f.
Example 2
stdin
kilonova
stdout
ikolonav