Bob likes to play games, circus, Super Mary and Snowman Brothers. These are all simple games Bob plays through customs. Now Bob wants to challenge some new game "assistant", which requires that the game can only be completed by pla
The first line of input contains an integer T(T≤100) indicating the number of test cases.
For each test case: The first line contains two integer N,M (1 <= N,M <= 10000)
For each test case output the ans.