There are $$$n$$$ consecutive bus seats arranged in a line, numbered from $$$1$$$ to $$$n$$$. Due to long-term disrepair, $$$m$$$ of these seats are broken.
Alice and Bob take turns seating passengers, with Alice moving first. In each move, the current player must choose an unbroken and currently empty seat $$$i$$$ for a passenger, subject to the following condition:
All seats $$$j$$$ satisfying $$$|j - i| \le k$$$ and $$$j \ne i$$$ must be empty (that is, all other seats within distance at most $$$k$$$ from $$$i$$$ must be unoccupied. Note that broken seats do not affect this distance check; the distance is still computed across broken seats).
After the passenger sits down, seat $$$i$$$ becomes occupied. If the current player can no longer find any legal empty seat for seating a passenger, the game ends immediately. Alice wants the total number of seated passengers to be as large as possible, while Bob wants it to be as small as possible. Both players play optimally.
Please output the final possible seat configuration of the bus as a string.
The first line contains three integers $$$n$$$, $$$k$$$, and $$$m$$$ ($$$1 \le n \le 20$$$, $$$1 \le k \le 20$$$, $$$0 \le m \le n$$$), representing the total number of seats, the distance constraint, and the number of broken seats, respectively.
The second line contains $$$m$$$ distinct integers, indicating the indices of the broken seats.
For each test case, output a string of length $$$n$$$ on a single line, representing the final seat configuration of the bus:
If there are multiple possible results, output any one of them.
1 1 0
a
5 2 13
a.xb.
In the first sample, Alice seats a passenger at seat $$$1$$$. After that, there is no legal empty seat left, so Bob cannot make a move and the game ends immediately. The final state is a.
In the second sample, seat $$$3$$$ is broken, so the initial state is ..x...