Chef's computer has N GB of free space. He wants to save X files, each of size 1 GB and Y files, each of size 2 GB on his computer. Will he be able to do so? 

Chef can save all the files on his computer only if the total size of the files is less than or equal to the space available on his computer. 

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

- The first line contains an integer T, denoting the number of test cases. The T test cases then follow:
- The first and only line of each test case contains three integers N, X, Y, denoting the free-space in computer, the number of 1 and 2 GB files respectively. 

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

For each test case, print YES if Chef is able to save the files and NO otherwise. 

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

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

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

----- Sample Input 1 ------ 
4
6 3 1
2 2 2
4 3 2
5 1 2

----- Sample Output 1 ------ 
YES
NO
NO
YES

----- explanation 1 ------ 
Test case $1$: The total size of files is $3 + 1 \cdot 2 =5$, which is smaller than the remaining space on the computer. Thus Chef will be able to save all the files.

Test case $2$: The total size of files is $2 + 2 \cdot 2 =6$, which is greater than the remaining space on the computer. Thus Chef will not be able to save all the files.

Test case $3$: The total size of files is $3 + 2 \cdot 2 =7$, which is greater than the remaining space on the computer. Thus Chef will not be able to save all the files.

Test case $4$: The total size of files is $1 + 2 \cdot 2 =5$, which is equal to the remaining space on the computer. Thus Chef will be able to save all the files.

Difficulty: EASY

Starter code:

Solutions:
t = int(input())
for i in range(t):
	(n, x, y) = map(int, input().split())
	a = x * 1
	b = y * 2
	if n < a + b:
		print('NO')
	else:
		print('YES')


T = int(input())
for X in range(T):
	(N, X, Y) = map(int, input().split())
	Total = N - (1 * X + 2 * Y)
	if Total >= 0:
		print('YES')
	else:
		print('NO')


t = int(input())
for i in range(0, t):
	(n, x, y) = map(int, input().split())
	if n >= x + 2 * y:
		print('YES')
	else:
		print('NO')


t = int(input())
for _ in range(t):
	(a, b, c) = input().split()
	print('YES' if int(a) >= int(b) + 2 * int(c) else 'NO')


t = int(input())
for u in range(t):
	(N, X, Y) = list(map(int, input().split()))
	if N < X + 2 * Y:
		print('NO')
	else:
		print('YES')


n = int(input())
for i in range(n):
	(p, q, r) = map(int, input().split())
	print('YES') if q + r * 2 <= p else print('NO')


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


test = int(input())
ans = []
while test:
	test = test - 1
	(N, X, Y) = [int(x) for x in input().split()]
	if N - X - 2 * Y >= 0:
		ans.append('YES')
	else:
		ans.append('NO')
for i in ans:
	print(i)


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


test_cases = int(input())
for i in range(test_cases):
	space = list(map(int, input().split()))
	if space[1] + space[-1] * 2 <= space[0]:
		print('YES')
	else:
		print('NO')


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


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


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


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


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


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


n = int(input())
while n > 0:
	(a, b, c) = map(int, input().split())
	k = b + c * 2
	if k <= a:
		print('YES')
	else:
		print('NO')
	n -= 1


T = int(input())
for i in range(T):
	(N, X, Y) = map(int, input().split())
	S = X * 1 + Y * 2
	if S > N:
		print('NO')
	elif S <= N:
		print('YES')


T = int(input())
for t in range(T):
	(N, X, Y) = map(int, input().split())
	q = X * 1 + Y * 2
	if N < q:
		print('NO')
	else:
		print('YES')


t = int(input())
for i in range(t):
	(n, x, y) = map(int, input().split())
	val = x * 1
	val1 = y * 2
	ans = val + val1
	if n >= ans:
		print('YES')
	else:
		print('NO')


t = int(input())
for one in range(t):
	(fs, oneg, twog) = map(int, input('').split(' '))
	if fs >= oneg + twog * 2:
		print('YES')
	else:
		print('NO')


T = int(input())
for i in range(0, T):
	(N, X, Y) = input().split()
	n = int(N)
	x = int(X)
	y = int(Y)
	if x * 1 + y * 2 <= n:
		print('YES')
	else:
		print('NO')


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


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


cases = int(input())
for case in range(cases):
	(n, x, y) = map(int, input().split())
	if n >= x * 1 + y * 2:
		print('YES')
	else:
		print('NO')


T = int(input())
for t in range(T):
	(n, x, y) = map(int, input().split())
	if x * 1 + y * 2 <= n:
		print('YES')
	else:
		print('NO')


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