The input contains multiple test cases. The first line of input contains one integer .In the following lines, each line contains two integers () describing one question.
For each test case, output one integer indicating the answer.
2 3 3 10 5
3 25