Given a String S , print the reverse of the string as output.
INPUT: The first line consists of an integer T i.e. the number of test cases. Only line of each test case consists of an String S .
OUTPUT: Print the required output.
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.