Chef has decided to join a Gym in ChefLand and if possible, also hire a personal trainer at the gym. The monthly cost of the gym is X and personal training will cost him an additional Y per month. Chef's total budget per month is only Z. Print 1 if Chef can only join the gym, 2 if he can also have a personal trainer, and 0 if he can't even join the gym.

Note that if Chef wants to hire a personal trainer, he *must* join the gym — he cannot hire the trainer without joining the gym.

------ Input Format ------ 

- The first line of input will contain a single integer T, denoting the number of test cases. Then the test cases follow.
- Each test case consists of a single line of input containing three space-separated integers X, Y, Z.

------ Output Format ------ 

For each test case, output in a single line 2 if Chef can go to the gym and have a trainer, 1 if Chef can only go to the gym, 0 if he can't even go to the gym.

------ Constraints ------ 

$1 ≤ T ≤ 100$
$1 ≤ X,Y,Z ≤ 100$

----- Sample Input 1 ------ 
4
1 2 3
10 12 13
23 1 22
23 1 63
----- Sample Output 1 ------ 
2
1
0
2
----- explanation 1 ------ 
Test case $1$: Since the total cost of Chef getting a gym membership and a trainer is $1+2 = 3$ which is equal to his budget of $3$, Chef can get both a gym membership and a trainer.

Test case $2$: Since the total cost of Chef getting a gym membership and a trainer is $10+12 = 22$ which is greater than his budget of $13$, he can't get both a gym membership and a trainer. However, the cost of the gym membership is $10$ which is less than his budget of $13$, so Chef can get only a gym membership.

Test case $3$: Since the cost of Chef getting a gym membership is $23$ which is greater than his budget of $22$, Chef can't even get the gym membership.

Test case $4$: The same costs as the previous test, but this time Chef has enough money to afford both the membership and a personal trainer.

Source: codechef | Difficulty: EASY


Solutions:
n = int(input())
for i in range(n):
	(a, b, c) = map(int, input().split())
	if a + b <= c:
		print('2')
	elif a <= c:
		print('1')
	else:
		print('0')


t = int(input())
for i in range(t):
	(x, y, z) = map(int, input().split())
	if x + y <= z:
		print('2')
	elif x > z:
		print('0')
	else:
		print('1')


s = int(input())
for a in range(s):
	(x, y, z) = map(int, input().split())
	if z >= x + y:
		print(2)
	elif z >= x:
		print(1)
	else:
		print(0)


for _ in range(int(input())):
	(x, y, z) = list(map(int, input().split()))
	if z >= x + y:
		print(2)
	elif z >= x:
		print(1)
	else:
		print(0)


T = int(input())
for i in range(T):
	(X, Y, Z) = map(int, input().split())
	if X + Y <= Z:
		print(2)
	elif X <= Z:
		print(1)
	else:
		print(0)


t = int(input())
while t > 0:
	(x, y, z) = map(int, input().split())
	if x + y <= z:
		print('2')
	elif x <= z:
		print('1')
	else:
		print('0')
	t -= 1


def gym(x, y, z):
	if z >= x + y:
		return '2'
	elif z >= x and z < x + y:
		return '1'
	else:
		return '0'
t = int(input())
for i in range(1, t + 1):
	(x, y, z) = map(int, input().split())
	res = gym(x, y, z)
	print(res)


for _ in range(int(input())):
	l = list(map(int, input().split()))
	if l[0] + l[1] <= l[2]:
		print('2')
	elif l[0] <= l[2]:
		print('1')
	else:
		print('0')


T = int(input())
for t in range(T):
	(x, y, z) = map(int, input().split())
	if z >= x + y:
		print(2)
	if z >= x and z < x + y:
		print(1)
	if z < x:
		print(0)


for _ in range(int(input())):
	(x, y, z) = map(int, input().split())
	if z >= x + y:
		print(2)
	if z >= x and z < x + y:
		print(1)
	if z < x:
		print(0)


d = int(input())
for l in range(d):
	(x, y, z) = map(int, input().split())
	if x + y <= z:
		print('2')
	elif x <= z:
		print('1')
	else:
		print('0')


t = int(input())
for i in range(t):
	(X, Y, Z) = list(map(int, input().split()))
	a = 2
	b = 1
	c = 0
	if X + Y <= Z:
		print(a)
	elif X > Z:
		print(c)
	else:
		print(b)


t = int(input())
for i in range(t):
	(a, b, c) = map(int, input().split())
	count = 0
	if a <= c:
		count += 1
	sum = a + b
	if sum <= c:
		count += 1
	print(count)


x = int(input())
for i in range(0, x):
	(p, q, r) = map(int, input().split())
	a = p + q
	if a <= r:
		print('2')
	elif p <= r:
		print('1')
	else:
		print('0')


T = int(input())
for tc in range(T):
	(x, y, z) = map(int, input().split())
	if x + y <= z:
		print(2)
	elif x <= z:
		print(1)
	else:
		print(0)


for _ in range(int(input())):
	(a, b, c) = map(int, input().split())
	if c >= b + a:
		print('2')
	elif c >= a:
		print('1')
	elif c < a:
		print('0')