P584 [CF530B] String inside out
普及+
题目描述

You are given a string S of even length s1..s2n . Perform the following manipulations:

  • divide it into two halves s1..sn and sn + 1..s2n
  • reverse each of them sn..s1 and s2n..sn + 1
  • concatenate the resulting strings into sn..s1s2n..sn + 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.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
codeforces
样例输出
fedocsecro