#UnknownID43. XHXMMMl3P0dEWg#$&!^
XHXMMMl3P0dEWg#$&!^
Statement
Polycarp loves ciphers. He has invented his own cipher called Right-Left.
Right-Left cipher is used for strings. To encrypt the string Polycarp uses the following algorithm:
- he writes down ,
- he appends the current word with (i.e. writes down to the right of the current result),
- he prepends the current word with (i.e. writes down to the left of the current result),
- he appends the current word with (i.e. writes down to the right of the current result),
- he prepends the current word with (i.e. writes down to the left of the current result),
- and so on for each position until the end of .
For example, if ="techno" the process is: "t" "te" "cte" "cteh" "ncteh" "ncteho". So the encrypted ="techno" is "ncteho".
Given string — the result of encryption of some string . Your task is to decrypt it, i.e. find the string .
Format
Input
The only line of the input contains — the result of encryption of some string . It contains only lowercase Latin letters. The length of is between and , inclusive.
Output
Print such string that after encryption it equals .
Sample
ncteho
techno
erfdcoeocs
codeforces
z
z
相关
在下列比赛中: