Chef is setting up a perfect bath for himself. He has X litres of hot water and Y litres of cold water.  
The initial temperature of water in his bathtub is A degrees. On mixing water, the temperature of the bathtub changes as following:

The temperature rises by 1 degree on mixing 1 litre of hot water.
The temperature drops by 1 degree on mixing 1 litre of cold water.

Determine whether he can set the temperature to B degrees for a perfect bath.

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

- The first line of input will contain a single integer T, denoting the number of test cases.
- Each test case consists of four space-separated integers A, B, X, and Y — the initial temperature of bathtub, the desired temperature of bathtub, the amount of hot water in litres, and the amount of cold water in litres respectively.

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

For each test case, output on a new line, YES if Chef can get the desired temperature for his bath, 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 ≤ 2000$
$20 ≤ A, B ≤ 40$
$0 ≤ X, Y ≤ 20$

----- Sample Input 1 ------ 
4
24 25 2 0
37 37 2 9
30 20 10 9
30 31 0 20

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

----- explanation 1 ------ 
Test case $1$: The initial temperature of water is $24$ and the desired temperature is $25$. Chef has $2$ litres of hot water. He can add $1$ litre hot water in the tub and change the temperature to $24+1=25$ degrees.

Test case $2$: The initial temperature of water is $37$ and the desired temperature is also $37$. Thus, Chef does not need to add any more water in the bathtub.

Test case $3$: The initial temperature of water is $30$ and the desired temperature is $20$. Chef needs to add $10$ litres of cold water to reach the desired temperature. Since he only has $9$ litres of cold water, he cannot reach the desired temperature.

Test case $4$: The initial temperature of water is $30$ and the desired temperature is $31$. Chef needs to add $1$ litre of hot water to reach the desired temperature. Since he has no hot water, he cannot reach the desired temperature.

Difficulty: EASY

Solutions:
t = int(input())
for i in range(t):
	(a, b, x, y) = map(int, input().split())
	if a > b:
		if y >= a - b:
			print('YES')
		else:
			print('NO')
	elif a < b:
		if x >= b - a:
			print('YES')
		else:
			print('NO')
	else:
		print('YES')


import math
for _ in range(int(input())):
	(a, b, x, y) = map(int, input().split())
	if a < b:
		if b - a <= x:
			print('YES')
		else:
			print('NO')
	elif a > b:
		if a - b <= y:
			print('YES')
		else:
			print('NO')
	else:
		print('YES')


for testcases in range(int(input())):
	(a, b, x, y) = map(int, input().split())
	if a > b:
		need = a - b
		if y >= need:
			print('YES')
		else:
			print('NO')
	elif b > a:
		need = b - a
		if x >= need:
			print('YES')
		else:
			print('NO')
	else:
		print('YES')


t = int(input())
while t > 0:
	(a, b, x, y) = map(int, input().split())
	if a > b:
		need = a - b
		if y >= need:
			print('YES')
		else:
			print('NO')
	elif b > a:
		need = b - a
		if x >= need:
			print('YES')
		else:
			print('NO')
	else:
		print('YES')
	t -= 1


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


t = int(input())
for i in range(t):
	(A, B, X, Y) = map(int, input().split())
	DiffTemp = abs(A - B)
	if A >= B:
		if DiffTemp <= Y:
			print('YES')
		else:
			print('NO')
	elif A < B:
		if DiffTemp <= X:
			print('YES')
		else:
			print('NO')
	else:
		pass


for _ in range(int(input())):
	(a, b, x, y) = map(int, input().split())
	if a > b:
		n = a - b
		if y >= n:
			print('YES')
		else:
			print('NO')
	elif b > a:
		m = b - a
		if x >= m:
			print('YES')
		else:
			print('NO')
	else:
		print('YES')


t = int(input())
for i in range(t):
	(a, b, x, y) = map(int, input().split())
	c = a - b
	if c < 0:
		d = abs(c)
		if d <= x:
			print('YES')
		else:
			print('NO')
	elif a == b:
		print('YES')
	elif c > 0:
		if c <= y:
			print('YES')
		else:
			print('NO')


for t in range(int(input())):
	(a, b, x, y) = map(int, input().split())
	d = a - b
	if d < 0 and -d <= x:
		print('YES')
	elif d >= 0 and d <= y:
		print('YES')
	else:
		print('NO')


t = int(input())
for _ in range(t):
	(initial_temp, desired_temp, hot, cold) = map(int, input().split())
	diff = initial_temp - desired_temp
	if diff <= 0:
		if hot >= -diff:
			print('YES')
		else:
			print('NO')
	elif cold >= diff:
		print('YES')
	else:
		print('NO')


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