Given a mathematical equation using numbers/variables and +, -, *, /. Print the equation in reverse.
The first line consists of an integer T i.e number of test cases. The first line and only line of each test case consists of an string s.
Print the string in reverse.
1<=|Length of String|<=100
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.