Little Graphy is fond of testaceology, which is a topic of collecting shells.
One day, Little Graphy found a magic shell which can solve A + B problem.
However, Little Graphy can’t even solve the A + B problem, she want to know whether the answer C is correct.
Now, she need your help. She give you B and C, and want you to calculating the original A, then she can check the answer C is correct or not.
The first line is an integer T indicating that there’re T test cases.
For each test case, there’s only one line cotains two integers C;B.
• T <=100
• C,B will always fit in a 32-bit signed integer.
For each test case, print one line cotains an integer A.