Given a list of words, print the words reversed on separate lines. Each word consists of English letters
only.
Input
The input consists of T test cases. The number of test cases (T) is given in the ¯rst line of the input ¯le.
Each test case consists of a single line, each line contains a word.
Output
For each test case, print the word reversed on one line.
Sample Input
2
HelloWorld
Madam
Sample Output
dlroWolleH
madaM