There are multiple test cases. The first line of the input contains an integerindicating the number of test cases. For each test case:
The first line contains two integersand
(
) indicating the coordinate of the mine.
The second line contains a stringof length
(
,
) indicating the string programmed into the robot.
It's guaranteed that the sum ofof all test cases will not exceed
.
For each test case output one line. If a valid answer exists print the rearranged string, otherwise print "Impossible" (without quotes) instead. If there are multiple valid answers you can print any of them.