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.
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 X times, and now she wonders what she wrote at the start. Given X and the word Seonyeong sees after X blinks, write a program that recovers the original word.
The first line contains X (1≤X≤1,000,000,000). The second line contains the word seen after X blinks. The word consists of lowercase letters only, and its length is at least 3 and at most 1000.
Print the word as it was before the X blinks.