Given two positive integers num1 and num2, subtract num2 from num1 on a 12 hour clock rather than a number line.
First line of the input contains an integer T denoting the number of test cases. For each test case there will be single line containing two space integers num1 and num2.
Corresponding to each test case, print the difference in a new line.
1 <= T <= 100
0 <= num1 <= 1000
0 <= num2 <= 1000