There is a group of N friends who wish to enroll in a course together. The course has a maximum capacity of M students that can register for it. If there are K other students who have already enrolled in the course, determine if it will still be possible for all the N friends to do so or not.

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

- The first line contains a single integer T - the number of test cases. Then the test cases follow.
- Each test case consists of a single line containing three integers N, M and K - the size of the friend group, the capacity of the course and the number of students already registered for the course.

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

For each test case, output Yes if it will be possible for all the N friends to register for the course. Otherwise output No.

You may print each character of Yes and No in uppercase or lowercase (for example, yes, yEs, YES will be considered identical).

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

$1 ≤ T ≤ 1000$
$1 ≤ N ≤ M ≤ 100$
$0 ≤ K ≤ M$

----- Sample Input 1 ------ 
3
2 50 27
5 40 38
100 100 0

----- Sample Output 1 ------ 
Yes
No
Yes

----- explanation 1 ------ 
Test Case 1: The $2$ friends can enroll in the course as it has enough seats to accommodate them and the $27$ other students at the same time.

Test Case 2: The course does not have enough seats to accommodate the $5$ friends and the $38$ other students at the same time.

Source: codechef | Difficulty: EASY
Tags: Mathematics


Solutions:
t = int(input())
for i in range(t):
	(a, b, c) = map(int, input().split())
	d = a + c
	if b >= d:
		print('Yes')
	else:
		print('No')


t = int(input())
for i in range(t):
	(n, m, k) = map(int, input().split())
	if n <= m - k:
		print('Yes')
	else:
		print('No')


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


T = int(input())
for i in range(T):
	p = list(map(int, input().split()))
	if p[1] >= p[0] + p[2]:
		print('Yes')
	else:
		print('No')


T = int(input())
for i in range(T):
	(N, M, K) = map(int, input().split())
	seats_left = M - N
	if seats_left < K:
		print('No')
	else:
		print('Yes')


T = int(input())
while T > 0:
	(N, M, K) = map(int, input().split())
	if N + K > M:
		print('No')
	else:
		print('Yes')
	T -= 1


n = int(input())
for i in range(n):
	(p, q, r) = map(int, input().split())
	print('Yes') if q - r >= p else print('No')


for i in range(int(input())):
	xyz = input().split()
	required = int(xyz[0])
	seats = int(xyz[1])
	occupied = int(xyz[2])
	avible = seats - occupied
	if avible >= required:
		print('Yes')
	else:
		print('No')


y = int(input())
for i in range(y):
	(a, b, c) = map(int, input().split())
	if a <= b - c:
		print('Yes')
	else:
		print('No')


t = int(input())
for i in range(t):
	(N, M, K) = map(int, input().split())
	total = N + K
	if total <= M:
		print('Yes')
	else:
		print('No')


for i in range(int(input())):
	(N, M, K) = map(int, input().split())
	if abs(M - K) >= N:
		print('Yes')
	else:
		print('No')


t = int(input())
for i in range(0, t):
	b = input()
	s = b.split()
	s = [int(s[0]), int(s[1]), int(s[2])]
	if s[0] <= s[1] - s[2]:
		print('Yes')
	else:
		print('No')


T = int(input())
for tc in range(T):
	(N, M, K) = map(int, input().split())
	a = M - K
	if a >= N:
		print('Yes')
	else:
		print('No')


t = int(input())
for i in range(t):
	l1 = []
	l1 = list(map(int, input().split()))
	if l1[0] + l1[-1] <= l1[1]:
		print('Yes')
	else:
		print('No')


for _ in range(int(input())):
	(n, m, k) = map(int, input().split(' '))
	if n + k <= m:
		print('Yes')
	else:
		print('No')


n = int(input())
for i in range(n):
	(x, y, z) = map(int, input().split())
	if y - z >= x:
		print('Yes')
	else:
		print('No')


t = int(input())
while t:
	(a, b, c) = input().split()
	a = int(a)
	b = int(b)
	c = int(c)
	k = b - c
	if k >= a:
		print('Yes')
	else:
		print('No')
	t -= 1


k = int(input())
for j in range(k):
	m = input().split()
	if int(m[0]) + int(m[2]) <= int(m[1]):
		print('Yes')
	else:
		print('No')


l = int(input())
for i in range(0, l):
	(n, m, k) = map(int, input().split())
	s = m - k
	if n <= s:
		print('Yes')
	else:
		print('No')


test = int(input())
for i in range(test):
	(n, m, k) = list(map(int, input().split()))
	if m - k >= n:
		print('Yes')
	else:
		print('No')


a = int(input())
for i in range(a):
	b = list(map(int, input().split()))
	if b[1] >= b[0] + b[2]:
		print('Yes')
	else:
		print('No')


t = int(input())
for _ in range(t):
	(a, b, c) = map(int, input().split())
	if c + a <= b:
		print('Yes')
	else:
		print('No')