Monocarp has a string $$$s$$$ of length $$$n$$$. The string consists of characters a and/or b.
Monocarp will apply the following operation to this string $$$k$$$ times ($$$2k \lt n$$$):
You have to print the resulting string after these $$$k$$$ operations. Note that the constraints on $$$k$$$ guarantee that at least one character will remain in the string.
The first line contains two integers $$$n$$$ and $$$k$$$ ($$$3 \le n \le 200\,000$$$, $$$1 \le k$$$, $$$2k \lt n$$$) — the length of the string and the number of operations Monocarp performes, respectively.
The second line contains the string $$$s$$$ consisting of $$$n$$$ characters a and/or b.
Print the resulting string after $$$k$$$ operations are performed.
6 2 ababbb
ba
13 4 bababbaaababb
aaabb
8 2 abaaabab
aaab
7 1 ababbab
abbab
3 1 bba
b
6 1 aababa
abab
In the first example, during the first operation, the string is reversed, so it becomes bbbaba. Then the first character and the last character are removed, so it becomes bbab. The string won't be reversed during the second operation, and after removing the first and the last character, it becomes ba.