Chef wants to conduct a lecture for which he needs to set up an online meeting of exactly X minutes. 
 
The meeting platform supports a meeting of maximum 30 minutes without subscription and a meeting of unlimited duration with subscription.

Determine whether Chef needs to take a subscription or not for setting up the meet.

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

- First line will contain T, the number of test cases. Then the test cases follow.
- Each test case contains a single integer X - denoting the duration of the lecture.

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

For each test case, print in a single line, YES if Chef needs to take the subscription, otherwise print NO.

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 ≤ 100$
$1 ≤ X ≤ 100$

----- Sample Input 1 ------ 
4
50
3
30
80

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

----- explanation 1 ------ 
Test Case $1$: Without subscription, the platform allows only $30$ minutes of duration. Since Chef needs to conduct a lecture of $50$ minutes, he needs to buy the subscription.

Test Case $2$: Without subscription, the platform allows $30$ minutes of duration. Since Chef needs to conduct a lecture of $3$ minutes only, he does not need to buy the subscription.

Test Case $3$: Without subscription, the platform allows $30$ minutes of duration. Since Chef needs to conduct a lecture of $30$ minutes only, he does not need to buy the subscription.

Test Case $4$: Without subscription, the platform allows only $30$ minutes of duration. Since Chef needs to conduct a lecture of $80$ minutes, he needs to buy the subscription.

Difficulty: EASY

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


t = int(input())
for i in range(0, t):
	x = int(input())
	if x == 30:
		print('NO')
	elif x < 30:
		print('NO')
	else:
		print('YES')


t = int(input())
for _ in range(t):
	a = int(input())
	print('YES' if a > 30 else 'NO')


t = int(input())
for u in range(t):
	X = int(input())
	if X > 30:
		print('YES')
	else:
		print('NO')


n = int(input())
for i in range(n):
	p = int(input())
	print('YES') if p > 30 else print('NO')


u = int(input())
for i in range(0, u):
	v = int(input())
	if v <= 30:
		print('NO')
	else:
		print('YES')


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


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


test_cases = int(input())
for i in range(test_cases):
	duration = int(input())
	if duration <= 30:
		print('NO')
	else:
		print('YES')


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


n = int(input())
for i in range(n):
	m = int(input())
	if m > 30:
		print('YES')
	elif m <= 30:
		print('NO')


n = int(input())
for _ in range(n):
	x = int(input())
	if x <= 30:
		print('NO')
	else:
		print('YES')


n = int(input())
while n > 0:
	k = int(input())
	if k <= 30:
		print('NO')
	else:
		print('YES')
	n -= 1


t = int(input())
for i in range(t):
	m = int(input())
	if m > 30:
		print('YES')
	else:
		print('NO')


t = int(input())
for i in range(t):
	X = int(input())
	if X <= 30:
		print('NO')
	elif X > 30:
		print('YES')


t = int(input())
for ts in range(t):
	x = int(input())
	if x > 30:
		print('YES')
	else:
		print('NO')


cases = int(input())
for case in range(cases):
	x = int(input())
	if x > 30:
		print('YES')
	else:
		print('NO')