The following languages are only available languages for the problems from the contest

VK Cup 2015 - Wild Card Round 1:

- Picat 0.9

Virtual contest is a way to take part in past contest, as close as possible to participation on time. It is supported only ACM-ICPC mode for virtual contests.
If you've seen these problems, a virtual contest is not for you - solve these problems in the archive.
If you just want to solve some problem from a contest, a virtual contest is not for you - solve this problem in the archive.
Never use someone else's code, read the tutorials or communicate with other person during a virtual contest.

No tag edit access

B. String inside out

time limit per test

2 secondsmemory limit per test

256 megabytesinput

standard inputoutput

standard outputYou are given a string *S* of even length *s*_{1}..*s*_{2n} . Perform the following manipulations:

- divide it into two halves
*s*_{1}..*s*_{n}and*s*_{n + 1}..*s*_{2n} - reverse each of them
*s*_{n}..*s*_{1}and*s*_{2n}..*s*_{n + 1} - concatenate the resulting strings into
*s*_{n}..*s*_{1}*s*_{2n}..*s*_{n + 1}

Output the result of these manipulations.

Input

The only line of the input contains a string of lowercase Latin letters. The length of the string is between 2 and 20, inclusive, and it is even.

Output

Output the string which is the result of the described manipulations.

Examples

Input

codeforces

Output

fedocsecro

Input

qwertyasdfgh

Output

ytrewqhgfdsa

Codeforces (c) Copyright 2010-2019 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Mar/23/2019 12:50:11 (f2).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|