|All-time Popular Problems|
|Even and odd elements at even and odd positions|
|11 Pattern Count|
|Is Binary Number Multiple of 3|
|Rotating an Array|
|Element with left side smaller and right side greater|
|Determine if Two Trees are Identical|
|Largest Number formed from an Array|
|Minimum number of jumps|
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.