You will be given two numbers A and B. Your task is to print 1 if A < B, print 2 if A > B and print 3 if A = B.
The first line of input contains a single integer T denoting the number of test cases. Then T test cases follow. Each test case consists of two lines. The first line of each test case contains an integer A and the second line of each test case contains an integer B. There might be leading zeros.
Corresponding to each test case, in a new line, print 1, 2 or 3 accordingly if A < B, A > B or A = B.
1 ≤ T ≤ 100
0 ≤ A, B ≤ 10155
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.