In a classic chase, Tom is running after Jerry as Jerry has eaten Tom's favourite food.

Jerry is running at a speed of X metres per second while Tom is chasing him at a speed of Y metres per second. Determine whether Tom will be able to catch Jerry.

Note that initially Jerry is not at the same position as Tom.

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

- The first line of input will contain a single integer T, denoting the number of test cases.
- Each test case consists of two space-separated integers X and Y — the speeds of Jerry and Tom respectively.

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

For each test case, output on a new line, YES, if Tom will be able to catch Jerry. Otherwise, output NO.

You can print each character in uppercase or lowercase. For example NO, no, No, and nO are all considered the same.

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

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

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

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

----- explanation 1 ------ 
Test case $1$: Jerry is running at the speed of $2$ metres per second while Tom is chasing him at the speed of $3$ metres per second. Since Jerry's speed is less than Tom's, Tom will eventually catch Jerry.

Test case $2$: Jerry is running at the speed of $4$ metres per second while Tom is chasing him at the speed of $1$ metres per second. Since Jerry's speed is higher than Tom's, Tom will never be able to catch Jerry.

Test case $3$: Jerry is running at the speed of $1$ metre per second while Tom is chasing him at the speed of $1$ metre per second. Since Jerry's speed is same as that of Tom's and both of them are not at the same position, Tom will never be able to catch Jerry.

Test case $4$: Jerry is running at the speed of $3$ metres per second while Tom is chasing him at the speed of $5$ metres per second. Since Jerry's speed is less than Tom's, Tom will eventually catch Jerry.

Difficulty: EASY

Solutions:
r = int(input())
for i in range(r):
	s = input()
	(x, y) = s.split()
	if int(x) < int(y):
		print('YES')
	else:
		print('NO')


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


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


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


for i in range(int(input())):
	(j, t) = map(int, input().split())
	if j >= t:
		print('NO')
	else:
		print('YES')


t = int(input())
for _ in range(t):
	(a, b) = input().split()
	print('YES' if int(a) < int(b) else 'NO')


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


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


t = int(input())
for i in range(0, t):
	a = input()
	b = a.split()
	x = b[0]
	y = b[1]
	if int(x) < int(y):
		print('YES')
	else:
		print('NO')


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


T = int(input())
for i in range(T):
	(Jerry, Tom) = map(int, input().split())
	if Jerry < Tom:
		print('YES')
	else:
		print('NO')


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


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


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


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


t = int(input())
for _ in range(t):
	(A, B) = map(int, input().split())
	if A >= B:
		print('NO')
	else:
		print('YES')


t = int(input())

def tj(t):
	for i in range(1, t + 1):
		(x, y) = list(map(int, input().split()))
		if x < y:
			print('YES')
		else:
			print('NO')
tj(t)


t = int(input())
for i in range(0, t):
	z = list(map(int, input().split()))
	if z[1] > z[0]:
		print('YES')
	else:
		print('NO')