After a very long time, the Chef has a vacation. Chef has planned for two trips during this vacation - one with his family and the other with his friends. The family trip will take X days and the trip with friends will take Y days. Currently, the dates are not decided but the vacation will last only for Z days. 

Chef can be in at most one trip at any time and once a trip is started, Chef must complete it before the vacation ends. Will Chef be able to go on both these trips if he chooses the dates optimally? 

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

- The first line will contain a single integer T denoting the number of test cases. The description of the test cases follows.
- Each test case consists of a single line of input, which contains three space-separated integers X, Y and Z.

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

For each test case, output in a single line the answer: "YES" if Chef can go on both the trips and "NO" if not.

You may print each character of each string in uppercase or lowercase (for example, the strings "yEs", "yes", "Yes" and "YES" will all be treated as identical).

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

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

----- Sample Input 1 ------ 
2
1 2 4
2 2 3
----- Sample Output 1 ------ 
YES
NO
----- explanation 1 ------ 
Test case $1$: Chef can go to the family trip on day $1$ and the friends trip on days $2$ and $3$.

Alternatively, Chef can also plan the trip with friends on days $1$ and $2$ and the family trip on day $4$.

Test case $2$: Chef cannot plan both trips within $3$ days.

Source: codechef | Difficulty: EASY
Tags: Mathematics


Solutions:
for i in range(int(input())):
	(X, Y, Z) = map(int, input().split())
	if X + Y <= Z:
		print('YES')
	else:
		print('NO')


for i in range(int(input())):
	(x, y, z) = map(int, input().split())
	if x + y <= z:
		print('YES')
	else:
		print('NO')


t = int(input())
for i in range(t):
	(m, n, o) = map(int, input().split())
	if m + n <= o:
		print('YES')
	else:
		print('NO')


t = int(input())
for i in range(t):
	(a, b, c) = map(int, input().split())
	if a + b <= c:
		print('YES')
	else:
		print('NO')


n = int(input())
for i in range(n):
	(a, b, c) = list(map(int, input().split()))
	if a + b <= c:
		print('YES')
	else:
		print('NO')


T = int(input())
for _ in range(T):
	(X, Y, Z) = map(int, input().split())
	if X + Y <= Z:
		print('YES')
	else:
		print('NO')


def code():
	cases = int(input())
	for _ in range(cases):
		(X, Y, Z) = map(int, input().split(' '))
		if X + Y <= Z:
			print('YES')
		else:
			print('NO')
code()


for _ in range(int(input())):
	(a, b, c) = [int(i) for i in input().split()]
	if a + b <= c:
		print('YES')
	else:
		print('NO')


t = int(input())
for bunny in range(t):
	(x, y, z) = map(int, input().split())
	if x + y <= z:
		print('YES')
	else:
		print('NO')


t = int(input())
for _ in range(t):
	(x, y, z) = list(map(int, input().split()))
	if x + y <= z:
		print('YES')
	else:
		print('NO')


class kishore:

	def first(self, t):
		for i in range(t):
			(x, y, z) = map(int, input().split())
			if x + y <= z:
				print('YES')
			else:
				print('NO')
t = int(input())
o = kishore()
o.first(t)