A. Welcome Coders!

0

0 votes
Strings, Easy
Problem

A beautiful platform awaits,

Solve this problem to open the gates,

Look carefully as it is your first,

And you'll find it's just written in reverse.

 

INPUT

The first line of input contains T, number of test cases. Each line of the test case contains a string S.

OUTPUT

For each test case print the string in reverse order in separate line.

CONSTRAINTS 

1T10

1Length of S100

Note

All the strings are given in capital letters.

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

?