Derive the logic used to produce the desired output. It's Reverse Coding
INPUT:
A single integer t representing test cases
Next t lines, A integer x, and string s where x is the length of the string
OUTPUT:
t lines, one string per line.
(Hint: Choose through parity, it makes all the difference. Also , my mom said the try to make a difference within yourself, rather than comparing with others. Also , the title is also an hint . )
CONSTRAINTS:
t < 1000
1 <= x <= 1000