Chef and his friend is standing on the X-axis at the points X_{1} and X_{2} respectively. 

Chef moves one step forward each second (that is he moves to X_{1} + 1 after the 1^{st} second, X_{1} + 2 after the 2^{nd} second, and so on), whereas his friend moves 2 steps forward each second (that is he moves to X_{2} + 2 after the 1^{st} second, X_{2} + 4 after the 2^{nd} second, and so on).

You need to determine if Chef will be able to meet his friend or not. You can assume that Chef and his friend both keep on moving for a long indefinite amount of time and also that they move simultaneously.

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

- The first line contains T - the number of test cases. Then the test cases follow.
- The first line of each test case contain two space-separated integers X_{1} and X_{2} - the position of Chef and his friend at the start respectively.

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

For each test case, output on a single line YES (without quotes) if Chef can meet his friend, and 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 ≤ 10^{5}$
$1 ≤ X_{1}, X_{2} ≤ 10^{9}$

----- Sample Input 1 ------ 
3
1 1
1 7
7 1

----- Sample Output 1 ------ 
YES
NO
YES
----- explanation 1 ------ 
- Test case $1$: Chef and his friend are on the same coordinate initially. Hence, they have already met.
- Test case $2$: No matter for how long they move Chef and his friend will never meet. 
- Test case $3$: After $6$ seconds, Chef and his friend both will be at $X = 13$.

Difficulty: EASY
Tags: Mathematics

Starter code:

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


for i in range(int(input())):
	(m, p) = map(int, input().split())
	if m >= p:
		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


for _ in range(int(input())):
	(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')
	elif a < b:
		print('NO')
	else:
		print('YES')


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


s = int(input())
for i in range(s):
	(a, b) = map(int, input().split(' '))
	n = abs(a - b)
	ans = 0
	if a == b:
		ans = 'YES'
	else:
		x = a + n
		y = b + n * 2
		if x == y:
			ans = 'YES'
		else:
			ans = 'NO'
	print(ans)


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


try:
	for i in range(int(input())):
		(x, y) = map(int, input().split())
		index = 'NO'
		if x - y >= 0:
			index = 'YES'
		print(index)
except:
	pass


for i in range(int(input())):
	(x, y) = input().split()
	a = int(x)
	b = int(y)
	if a == b:
		print('YES')
	elif a - b == 1:
		print('YES')
	elif a > b:
		print('YES')
	else:
		print('NO')


import math
for i in range(int(input())):
	(x1, x2) = map(int, input().split())
	if x1 == x2:
		print('YES')
	elif x1 > x2:
		print('YES')
	else:
		print('NO')


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


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


for i in range(int(input())):
	x = input().split()
	l = []
	for i in x:
		i = int(i)
		l.append(i)
	if l[0] == l[1]:
		print('YES')
	elif l[0] < l[1]:
		print('NO')
	else:
		print('YES')


for i in range(int(input())):
	(X1, X2) = map(int, input().strip().split())
	i = 1
	if X1 == X2:
		print('YES')
	elif X1 > X2:
		print('YES')
	else:
		print('NO')


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


for i in range(int(input())):
	(n, k) = map(int, input().split())
	b = abs(n - k)
	c = 1 * b + n
	d = 2 * b + k
	if c == d:
		print('YES')
	else:
		print('NO')


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


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


t = int(input())
for u in range(t):
	(a, b) = map(int, input().split())
	if a >= b:
		print('YES')
	elif a < b:
		print('NO')


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


t = int(input())
while t:
	(x1, x2) = [int(i) for i in input().split()]
	if x1 >= x2:
		print('YES')
	else:
		print('NO')
	t -= 1


t = int(input())
for tc 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):
	(a, b) = map(int, input().split())
	if b > a:
		print('NO')
	else:
		for i in range(100):
			if a + 1 == b + 2:
				break
			else:
				a = a + 1
				b = b + 2
		print('YES')


def func(x, y):
	if x == y:
		print('YES')
	elif x < y:
		print('NO')
	else:
		print('YES')
for t in range(int(input())):
	(x1, x2) = map(int, input().split())
	func(x1, x2)


for i in range(int(input())):
	(x1, x2) = map(int, input().split())
	if x1 == x2 or x1 > x2:
		print('YES')
	elif x1 < x2:
		print('NO')