Chef is playing Ludo. According to the rules of Ludo, a player can enter a new token into the play only when he rolls a 6 on the die.

In the current turn, Chef rolled the number X on the die. Determine if Chef can enter a new token into the play in the current turn or not.

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

- The first line contains a single integer T — the number of test cases. Then the test cases follow.
- The first and only line of each test case contains one integer X — the number rolled by the Chef on the die.

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

For each test case, output YES if the Chef can enter a new token in the game. Otherwise, output NO.

You may print each character of YES and NO in uppercase or lowercase (for example, yes, yEs, Yes will be considered identical).

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

$1 ≤T ≤6$
$1 ≤X ≤6$

----- Sample Input 1 ------ 
3
1
6
3

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

----- explanation 1 ------ 
Test Case 1: Since Chef did not roll a $6$, he can not enter a new token in the play.

Test Case 2: Since Chef rolled a $6$, he can enter a new token in the play.

Source: codechef | Difficulty: EASY


Solutions:
t = int(input())
for t in range(t):
	x = int(input())
	if x == 6:
		print('YES')
	else:
		print('NO')


TC = int(input())
for i in range(TC):
	x = int(input())
	if x >= 6:
		print('YES')
	else:
		print('NO')


for k in range(int(input())):
	n = int(input())
	if n == 6:
		print('YES')
	else:
		print('NO')


T = int(input())
for i in range(T):
	X = int(input())
	if X == 6:
		print('YES')
	else:
		print('NO')


a = int(input())
for i in range(a):
	b = int(input())
	if b == 6:
		print('YES')
	else:
		print('NO')


n = int(input())
for i in range(n):
	s = int(input())
	if s == 6:
		print('YES')
	else:
		print('NO')


n = int(input())
for n in range(0, n):
	x = int(input())
	if x == 6:
		print('YES')
	else:
		print('NO')


t = int(input())
res = []
for i in range(t):
	x = int(input())
	if x == 6:
		res.append('YES')
	else:
		res.append('NO')
for ele in res:
	print(ele)


t = int(input())

def ludo(t):
	x = []
	for i in range(1, t + 1):
		a = int(input())
		x.append(a)
	for num in x:
		if num == 6:
			print('YES')
		else:
			print('NO')
ludo(t)


for _ in range(int(input())):
	print('YES' if int(input()) == 6 else 'NO')


t = int(input())
while t > 0:
	k = int(input())
	if k == 6:
		print('YES')
	else:
		print('NO')
	t = t - 1


t = int(input())
while t >= 1:
	x = int(input())
	a = 'YES' if x == 6 else 'NO'
	print(a)
	t -= 1


test_cases = int(input())
for i in range(test_cases):
	num = int(input())
	if num == 6:
		print('YES')
	else:
		print('NO')


l = []
n = int(input())
for i in range(n):
	x = int(input())
	if x < 6:
		l.append('NO')
	else:
		l.append('YES')
print(*l, sep='\n')


test = int(input())
ans = []
while test:
	test = test - 1
	x = int(input())
	if x == 6:
		ans.append('YES')
	else:
		ans.append('NO')
for i in ans:
	print(i)