Read problems statements in [Russian] and [Bengali].

Chef opened a company which manufactures cars and bikes. Each car requires 4 tyres while each bike requires 2 tyres. Chef has a total of N tyres (N is even). He wants to manufacture maximum number of cars from these tyres and then manufacture bikes from the remaining tyres.

Chef's friend went to Chef to purchase a bike. If Chef's company has manufactured even a single bike then Chef's friend will be able to purchase it.

Determine whether he will be able to purchase the bike or not.

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

- The first line contains an integer T denoting the number of test cases. The T test cases then follow.
- The first line of each test case contains an integer N denoting the number of tyres.

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

For each test case, output YES or NO depending on whether Chef's friend will be able to purchase the bike or not. Output is case insensitive.

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

$1 ≤ T ≤ 100$
$2 ≤ N ≤ 1000$
$N$ is even

----- Sample Input 1 ------ 
3
8
2
6

----- Sample Output 1 ------ 
NO
YES
YES
----- explanation 1 ------ 
- For the first test case Chef, will manufacture $2$ cars and will thus use all the $8$ tyres and thus could not manufacture any bike.

- For the second test case, Chef cannot manufacture any car since there are not enough tyres and will thus manufacture only a single bike which will be purchased by Chef's friend.

- For the third test case, Chef will manufacture $1$ car and thus use $4$ tyres. From the remaining $2$ tyres, Chef can manufacture a single bike which will be purchased by Chef's friend.

Source: codechef | Difficulty: EASY
Tags: Mathematics


Solutions:
for i in range(int(input())):
	x = int(input())
	c = x % 4
	if c >= 2:
		print('YES')
	else:
		print('NO')


for i in range(int(input())):
	n = int(input())
	c = int(n / 4)
	b = int(int(n % 4) / 2)
	if b > 0:
		print('YES')
	else:
		print('NO')


for i in range(int(input())):
	n = int(input())
	if n % 4 == 0:
		print('NO')
	else:
		print('YES')


t = int(input())
for i in range(t):
	N = int(input())
	if N % 2 == 0:
		if N % 4 == 0:
			print('NO')
		else:
			print('YES')


t = int(input())
for _ in range(t):
	n = int(input())
	if n % 4 == 0:
		print('NO')
	else:
		print('YES')


n = int(input())
for i in range(0, n):
	x = int(input())
	r = x % 4
	if r % 2 == 0 and r != 0:
		print('YES')
	else:
		print('NO')


for _ in range(int(input())):
	n = int(input())
	m = n // 2
	if m % 2 == 0:
		print('NO')
	else:
		print('YES')


t = int(input())
for i in range(t):
	n = int(input())
	max_cars = n // 4
	remaining_tyres = n - max_cars * 4
	bikes = remaining_tyres // 2
	if bikes >= 1:
		print('YES')
	else:
		print('NO')


n = int(input())
for i in range(n):
	t = int(input())
	if t % 4 == 0:
		print('NO')
	elif t % 4 == 2:
		print('YES')


t = int(input())
for _ in range(t):
	n = int(input())
	if n / 2 % 2 == 1:
		print('YES')
	else:
		print('NO')


for _ in range(int(input())):
	n = int(input())
	temp = n % 4
	if temp >= 2:
		print('YES')
	else:
		print('NO')


t = int(input())
for i in range(t):
	n = int(input())
	if n % 4 == 2:
		print('YES')
	else:
		print('NO')


t = int(input())
for i in range(t):
	x = int(input())
	if x % 4 == 0:
		print('NO')
	else:
		print('YES')


testCase = int(input())
for i in range(testCase):
	a = int(input())
	if a % 4 == 0:
		print('NO')
	else:
		print('YES')


testcases = int(input())
for case in range(testcases):
	n = int(input())
	tires = n % 4
	if tires >= 2:
		print('YES')
	else:
		print('NO')


def tyre(n):
	if n % 4 == 0:
		return 'NO'
	else:
		return 'YES'
t = int(input())
for i in range(t):
	n = int(input())
	v = tyre(n)
	print(v)


t = int(input())
for i in range(t):
	n = int(input())
	k = 0
	while n > 1:
		if 4 <= n:
			n = n - 4
		elif 2 <= n:
			k = 1
			break
	if k:
		print('YES')
	else:
		print('NO')


T = int(input())
for i in range(T):
	num = int(input())
	while num >= 2:
		if num == 2:
			print('YES')
			break
		else:
			num = num - 4
			if num == 0:
				print('NO')
				break


T = int(input())
for i in range(T):
	N = int(input())
	a = N % 4
	if a != 0 and a % 2 == 0:
		print('YES')
	else:
		print('NO')


T = int(input())
for i in range(T):
	a = int(input())
	b = a % 4 // 2
	if b > 0:
		print('YES')
	else:
		print('NO')


t = eval(input())
for i in range(t):
	n = eval(input())
	r = n % 4
	if r >= 2:
		print('YES')
	else:
		print('NO')


T = int(input())
for i in range(T):
	N = int(input())
	if N % 4 == 0:
		print('NO')
	else:
		print('YES')


T = int(input())
for i in range(T):
	N = int(input())
	if N < 4:
		print('YES')
	elif N % 4 >= 2:
		print('YES')
	else:
		print('NO')