
To make a new word from an existing word $$$s$$$, Eelco proposes to take every second letter of $$$s+s$$$, starting with the first letter. For example, applying this method to the word "etymology" would result in "eyooytmlg". Of course, to design even more words, this process can be repeated many times. Eelco would like to prepare a list of new words to present at the conference, so he writes a program that applies his method some predetermined number of times.
The input consists of:
Output the resulting word after applying the method to the original word $$$k$$$ times.
9 1 etymology
eyooytmlg
4 1 word
wrwr
5 1000000000000000000 delft
delft
5 5 eceol
eelco