Given two strings as input. Your task is to concanate two strings and then reverse the string. Finally print the reversed string.
First line of the input file contains an integer T which denotes the number of test cases. Then T test cases follow. First line of each test case contains a string A and second line contains another string B.
For each test case, print the reversed string.
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.