Chef wants to appear in a competitive exam. To take the exam, there are following requirements:

Minimum age limit is X (i.e. Age should be greater than or equal to X).
Age should be strictly less than Y.

Chef's current Age is A. Find whether he is currently eligible to take the exam or not.

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

- First line will contain T, number of test cases. Then the test cases follow.
- Each test case consists of a single line of input, containing three integers X, Y, and A as mentioned in the statement.

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

For each test case, output YES if Chef is eligible to give the exam, 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 ≤ 1000$
$20 ≤ X < Y ≤ 40$
$10 ≤ A ≤ 50$

----- Sample Input 1 ------ 
5
21 34 30
25 31 31
22 29 25
20 40 15
28 29 28

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

----- explanation 1 ------ 
Test case $1$: The age of Chef is $30$. His age satisfies the minimum age limit as $30 ≥ 21$. Also, it is less than the upper limit as $30 < 34$. Thus, Chef is eligible to take the exam.

Test case $2$: The age of Chef is $31$. His age satisfies the minimum age limit as $31 ≥ 25$. But, it is not less than the upper limit as $31 \nless 31$. Thus, Chef is not eligible to take the exam.

Test case $3$: The age of Chef is $25$. His age satisfies the minimum age limit as $25 ≥ 22$. Also, it is less than the upper limit as $25 < 29$. Thus, Chef is eligible to take the exam.

Test case $4$: The age of Chef is $15$. His age does not satisfy the minimum age limit as $15 < 20$. Thus, Chef is not eligible to take the exam.

Difficulty: EASY

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


t = int(input())
for i in range(t):
	(X, Y, A) = map(int, input().split())
	if A < Y and A >= X:
		print('YES')
	else:
		print('NO')


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


T = int(input())
for i in range(T):
	test = input()
	list = test.split(' ')
	X = list[0]
	Y = list[1]
	A = list[2]
	if A >= X and A < Y:
		print('YES')
	else:
		print('NO')


for i in [*open(0)][1:]:
	(a, b, c) = map(int, i.split())
	print('YES') if c >= a and c < b else print('NO')


T = int(input())
for TC in range(T):
	(x, y, a) = map(int, input().split())
	if a >= x and a < y:
		print('YES')
	else:
		print('NO')


for t in range(int(input())):
	(x, y, a) = map(int, input().split())
	print(['NO', 'YES'][x <= a < y])


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


def test_function(x, a, y):
	if 20 <= x <= 40 and 20 <= y <= 40 and (10 <= a <= 50):
		if y >= x and y < a:
			return 'YES'
		else:
			return 'NO'
	else:
		return 'NO'
t = int(input())
for i in range(t):
	(x, a, y) = map(int, input().split(' '))
	print(test_function(x, a, y))


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


for _ in range(int(input())):
	(X, Y, A) = map(int, input().split())
	if A >= X and A < Y:
		print('YES')
	else:
		print('NO')


T = int(input())
for i in range(T):
	(X, Y, A) = map(int, input().split())
	if Y > A >= X:
		print('YES')
	else:
		print('NO')


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


T = int(input())
for i in range(0, T):
	(X, Y, A) = input().split()
	x = int(X)
	y = int(Y)
	a = int(A)
	if a >= x and a < y:
		print('YES')
	else:
		print('NO')


test = int(input())
for i in range(test):
	data = input()
	(low, high, current) = map(int, data.split())
	if low <= current < high:
		print('YES')
	else:
		print('NO')


t = int(input())

def age(t):
	x = []
	for i in range(1, t + 1):
		a = list(map(int, input().split()))
		x.append(a)
	for num in x:
		(p, q, r) = num
		if r >= p and r < q:
			print('YES')
		else:
			print('NO')
age(t)


T = int(input())
for i in range(T):
	string = input().split()
	min_age = int(string[0])
	chef_age = int(string[2])
	max_age = int(string[1])
	if chef_age >= min_age and chef_age < max_age:
		print('YES')
	else:
		print('NO')