Problem9246--ABC293 —— A - Swap Odd and Even

9246: ABC293 —— A - Swap Odd and Even

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 512 MiB

Description

### Problem Statement

You are given a string $S$ of even length consisting of lowercase English letters. Let $|S|$ be the length of $S$, and $S_i$ be the $i$\-th character of $S$.

Perform the following operation for each $i = 1, 2, \ldots, \frac{|S|}{2}$ in this order, and print the final $S$.

-   Swap $S_{2i-1}$ and $S_{2i}$.

Input

### Input

The input is given from Standard Input in the following format:

```
$S$
```

Output

### Output

Print the answer.

Constraints

### Constraints

-   $S$ is a string of even length consisting of lowercase English letters.
-   The length of $S$ is at most $100$.

Sample 1 Input

abcdef

Sample 1 Output

badcfe
Initially, S= abcdef.
Performing the operation for i=1 swaps S1 and S2, making S= bacdef.
Performing the operation for i=2 swaps S3 and S4, making S= badcef.
Performing the operation for i=3 swaps S5 and S6, making S= badcfe.
Thus, badcfe should be printed.

Sample 2 Input

aaaa

Sample 2 Output

aaaa

Sample 3 Input

atcoderbeginnercontest

Sample 3 Output

taocedbrgeniencrnoetts

Source/Category