The Simple Cipher

4

1 votes
Easy-Medium
Problem

Somnath and Manna exchange their information using a simple cipher “the reverse” so that the Code Goddess does not get aware of their secret plans and information. The secret to decipher is only known to them. The Code Goddess came across such secret message. She wants to decipher that message and summons you. Now you have to decipher the cipher or face the Wrath of The Code Goddess. Good luck!

Input Format:

The first line contains the value of T, number of test cases. Each test case contains 2 lines. The first line contains L, which is the length of the string. The second line contains L alphabets or white spaces.

Output Format

Each T lines contains the deciphered text.

Constraints

1T106
1L104

Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?