#abc293a. [abc293_a]Swap Odd and Even
[abc293_a]Swap Odd and Even
Problem Statement
You are given a string of even length consisting of lowercase English letters. Let be the length of , and be the -th character of .
Perform the following operation for each in this order, and print the final .
- Swap and .
Constraints
- is a string of even length consisting of lowercase English letters.
- The length of is at most .
Input
The input is given from Standard Input in the following format:
Output
Print the answer.
Sample Input 1
abcdef
Sample Output 1
badcfe
Initially, abcdef
.
Performing the operation for swaps and , making bacdef
.
Performing the operation for swaps and , making badcef
.
Performing the operation for swaps and , making badcfe
.
Thus, badcfe
should be printed.
Sample Input 2
aaaa
Sample Output 2
aaaa
Sample Input 3
atcoderbeginnercontest
Sample Output 3
taocedbrgeniencrnoetts