Chef has invested his money at an interest rate of X percent per annum while the current inflation rate is Y percent per annum. 

An investment is called *good* if and only if the interest rate of the investment is at least twice of the inflation rate.  
Determine whether the investment made by Chef is *good* 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 two integers X and Y, the interest rate and the current inflation rate respectively.

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

For each test case, output YES if the investment is good, NO otherwise.

You can output any letter in any case. For example YES, yes, yES are all considered same.

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

$1 ≤ T ≤ 400$
$1 ≤ X, Y ≤ 20$

----- Sample Input 1 ------ 
5
7 4
6 3
2 4
10 10
20 1

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

----- explanation 1 ------ 
Test case $1$: The interest rate is $7$ and the current inflation rate is $4$. Since the interest rate is less than twice of current inflation rate, the investment is not good.

Test case $2$: The interest rate is $6$ and the current inflation rate is $3$. Since the interest rate is equal to twice of current inflation rate, the investment is good.

Test case $3$: The interest rate is $2$ and the current inflation rate is $4$. Since the interest rate is less than twice of current inflation rate, the investment is not good.

Test case $4$: The interest rate is $10$ and the current inflation rate is $10$. Since the interest rate is less than twice of current inflation rate, the investment is not good.

Test case $5$: The interest rate is $20$ and the current inflation rate is $1$. Since the interest rate is greater than twice of current inflation rate, the investment is good.

Source: codechef | Difficulty: EASY


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


t = int(input())
for i in range(t):
	(X, Y) = map(int, input().split())
	D = Y * 2
	if X >= D:
		print('YES')
	elif X < D:
		print('NO')


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


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


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


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


for i in range(int(input())):
	(v, s) = map(int, input().split())
	if v >= 2 * s:
		print('YES')
	else:
		print('NO')


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


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


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


n = int(input())
for i in range(n):
	m = input().split()
	if int(m[0]) >= int(m[1]) * 2:
		print('YES')
	else:
		print('NO')


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


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


try:
	for _ in range(int(input())):
		(x, y) = map(int, input().split())
		if x >= 2 * y:
			print('YES')
		else:
			print('NO')
except:
	print(0)


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


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


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


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


T = int(input())
for tc in range(T):
	(x, y) = map(int, input().split(' '))
	if x / y >= 2:
		print('YES')
	else:
		print('NO')