There are three people sitting in a room - Alice, Bob, and Charlie. They need to decide on the temperature to set on the air conditioner. Everyone has a demand each:

Alice wants the temperature to be at least A degrees.
Bob wants the temperature to be at most B degrees.
Charlie wants the temperature to be at least C degrees.

Can they all agree on some temperature, or not?

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

- The first line of input will contain a single integer T, denoting the number of test cases.
- Each test case consists of a single line which contains three integers - A, B, C.

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

For each test case, output on a new line, "Yes" or "No". "Yes", if they can decide on some temperature which fits all their demands. Or "No", if no temperature fits all their demands.

You may print each character of the string in either uppercase or lowercase (for example, the strings NO, nO, No, and no will all be treated as identical).

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

$1 ≤ T ≤ 100$
$1 ≤ A, B, C ≤ 100$

------ subtasks ------ 

Subtask 1 (10 points): $1 ≤ M ≤ 10$
Subtask 2 (20 points): The sum of $N$ across all test cases won't exceed $20$.
Subtask 3 (70 points): No further constraints.

----- Sample Input 1 ------ 
4
30 35 25
30 35 40
30 35 35
30 25 35

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

----- explanation 1 ------ 
Test Case 1: Alice wants the temperature to be $≥ 30$, Bob wants it to be $≤ 35$, and Charlie wants it to be $≥ 25$. The temperatures $30, 31, 32, 33, 34, 35$ all satisfy all their demands. So they can choose any of these 6 temperatures, and so the answer is "Yes".

Test Case 2: Alice wants the temperature to be $≥ 30$, Bob wants it to be $≤ 35$, and Charlie wants it to be $≥ 40$. A number can't be both $≥ 40$, and $≤ 35$. So there is no temperature that satisfies all their demands. So the answer is "No".

Test Case 3: Alice wants the temperature to be $≥ 30$, Bob wants it to be $≤ 35$, and Charlie wants it to be $≥ 35$. The temperature $35$ satisfies all their demands. So the answer is "Yes".

Test Case 4: Alice wants the temperature to be $≥ 30$, Bob wants it to be $≤ 25$, and Charlie wants it to be $≥ 35$. A number can't be both $≥ 30$, and $≤ 25$. So there is no temperature that satisfies all their demands. So the answer is "No".

Difficulty: EASY

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


for i in range(int(input())):
	(a, b, c) = map(int, input().split())
	k = []
	for i in range(101):
		if i >= a and i <= b and (i >= c):
			k.append(i)
	if len(k) == 0:
		print('No')
	else:
		print('Yes')


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


t = int(input())
while t > 0:
	(a, b, c) = map(int, input().split())
	temps = [i for i in range(1, 101)]
	temps = list(filter(lambda i: i >= a and i >= c, temps))
	temps = list(filter(lambda i: i <= b, temps))
	print('Yes' if len(temps) > 0 else 'No')
	t -= 1


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


for i in range(0, int(input())):
	n = input().split()
	n[0] = int(n[0])
	n[1] = int(n[1])
	n[2] = int(n[2])
	if n[0] > n[2]:
		if n[0] <= n[1]:
			print('Yes')
		else:
			print('No')
	elif n[2] <= n[1]:
		print('Yes')
	else:
		print('No')


T = int(input())
for i in range(T):
	(A, B, C) = list(map(int, input().split()))
	if A <= B and C <= B:
		print('Yes')
	else:
		print('No')


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


def can_agree_on_temperature(A, B, C):
	X = max(A, C)
	if X <= B:
		return 'Yes'
	else:
		return 'No'
T = int(input())
for i in range(T):
	(A, B, C) = map(int, input().split())
	print(can_agree_on_temperature(A, B, C))