Sleepy

No attempts yetTime limit1sMemory limit256 MB

Problem

Seonyeong stayed awake for three days straight building data for the upcoming COCI. She has reached the point where she cannot write one more test, and her nerves are so worn out that nothing she looks at comes through correctly.

When Seonyeong blinks once while reading something, the back half of a word slips into the gaps of the front half. If the length is odd, the back part is one letter shorter. The letters move like this.

  • The last letter moves between the first letter and the second letter.
  • The second letter from the back moves between the second letter and the third letter.
  • The kk-th letter from the back moves between the kk-th and the k+1k+1-th letter counted from the front.

For example, if Seonyeong is looking at the word "abcdef" and blinks once, the word becomes "afbecd". One more blink turns it into "adfcbe".

Seonyeong wrote one word, then blinked XX times, and now she wonders what she wrote at the start. Given XX and the word Seonyeong sees after XX blinks, write a program that recovers the original word.

Input

The first line contains XX (1X1,000,000,0001 \le X \le 1{,}000{,}000{,}000). The second line contains the word seen after XX blinks. The word consists of lowercase letters only, and its length is at least 33 and at most 10001000.

Output

Print the word as it was before the XX blinks.