Chef categorises an instagram account as *spam*, if, the *following* count of the account is more than 10 times the count of *followers*. 

Given the *following* and *follower* count of an account as X and Y respectively, find whether it is a *spam* account.

------ 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 *following* and *follower* count of an account, respectively.

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

For each test case, output on a new line, YES, if the account is *spam* and NO otherwise.

You may print each character of the string in uppercase or lowercase. For example, the strings YES, yes, Yes and yES are identical.

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

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

----- Sample Input 1 ------ 
4
1 10
10 1
11 1
97 7

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

----- explanation 1 ------ 
Test case $1$: The following count is $1$ while the follower count is $10$. Since the following count is not more than $10$ times the follower count, the account is not spam.

Test case $2$: The following count is $10$ while the follower count is $1$. Since the following count is not more than $10$ times the follower count, the account is not spam.

Test case $3$: The following count is $11$ while the follower count is $1$. Since the following count is more than $10$ times the follower count, the account is spam.

Test case $4$: The following count is $97$ while the follower count is $7$. Since the following count is more than $10$ times the follower count, the account is spam.

Source: codechef | Difficulty: EASY


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


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


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


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


t = int(input())
for i in range(t):
	acct = input().split()
	x = int(acct[0])
	y = int(acct[1])
	if x > 10 * y:
		print('YES')
	else:
		print('NO')


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


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


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


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


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


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


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


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


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


i = int(input(''))
j = 0
while j < i:
	(x, y) = map(int, input('').split())
	if x > 10 * y:
		op = 'YES'
	else:
		op = 'NO'
	j += 1
	print(op)


T = int(input())
for i in range(T):
	(x, y) = input().split()
	A = int(x)
	B = int(y)
	if A > 10 * B:
		print('YES')
	else:
		print('NO')


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


T = int(input())
for i in range(T):
	(N, M) = map(int, input().split())
	a = 10 * M
	if a < N:
		print('YES')
	else:
		print('NO')


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