School Accuracy: 40.23% Submissions: 8100 Points: 0
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.