Chef's dog *binary* hears frequencies starting from 67 Hertz to 45000 Hertz (both inclusive). 

If Chef's commands have a frequency of X Hertz, find whether *binary* can hear them or not.

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

- The first line of input will contain a single integer T, denoting the number of test cases.
- Each test case consists of a single integer X - the frequency of Chef's commands in Hertz.

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

For each test case, output on a new line YES, if *binary* can hear Chef's commands. Otherwise, print NO.

The output is case-insensitive. Thus, the strings YES, yes, yeS, and Yes are all considered the same.

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

$1 ≤ T ≤ 10^{4}$
$1 ≤ X ≤ 10^{6}$

----- Sample Input 1 ------ 
5
42
67
402
45000
45005

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

----- explanation 1 ------ 
Test case $1$: Chef's command has a frequency of $42$ Hertz which is less than $67$. Thus, it would not be audible to *binary*.

Test case $2$: Chef's command has a frequency of $67$ Hertz which lies in the range $[67, 45000]$. Thus, it would be audible to *binary*.

Test case $3$: Chef's command has a frequency of $402$ Hertz which lies in the range $[67, 45000]$. Thus, it would be audible to *binary*.

Test case $4$: Chef's command has a frequency of $45000$ Hertz which lies in the range $[67, 45000]$. Thus, it would be audible to *binary*.

Test case $5$: Chef's command has a frequency of $45005$ Hertz which is greater than $45000$. Thus, it would not be audible to *binary*.

Difficulty: EASY
Tags: Mathematics

Starter code:

Solutions:
T = int(input())
for _ in range(T):
	x = int(input())
	if x >= 67 and x <= 45000:
		print('YES')
	else:
		print('NO')


for i in range(int(input())):
	X = int(input())
	if 67 <= X <= 45000:
		print('YES')
	else:
		print('NO')


t = int(input())
for i in range(t):
	x = int(input())
	if x >= 67 and x <= 45000:
		print('YES')
	else:
		print('NO')


for i in range(int(input())):
	f = int(input())
	if f >= 67 and f <= 45000:
		print('YES')
	else:
		print('NO')


t = int(input())
for _ in range(t):
	x = int(input())
	if 67 <= x <= 45000:
		print('YES')
	else:
		print('NO')


for i in range(int(input())):
	if int(input()) not in range(67, 45001):
		print('NO')
	else:
		print('YES')


n = int(input())
for i in range(n):
	s = 0
	k = int(input())
	if k >= 67 and k <= 45000:
		s = 1
	if s == 1:
		print('YES')
	else:
		print('NO')


c = int(input())
for i in range(c):
	a = int(input())
	if a >= 67 and a <= 45000:
		print('YES')
	else:
		print('NO')


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


T = int(input())
for i in range(T):
	x = int(input())
	if 67 <= x <= 45000:
		print('YES')
	else:
		print('NO')


t = int(input())
while t >= 1:
	x = int(input())
	print('YES') if x >= 67 and x <= 45000 else print('NO')
	t -= 1


T = int(input())
for i in range(T):
	freq = int(input())
	if freq < 67 or freq > 45000:
		print('NO')
	else:
		print('YES')


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


s = int(input())
for i in range(s):
	p = int(input())
	if p >= 67 and p <= 45000:
		print('YES')
	else:
		print('NO')


res = []
t = int(input())
for i in range(t):
	f = int(input())
	if f >= 67 and f <= 45000:
		res.append('YES')
	else:
		res.append('NO')
for ele in res:
	print(ele)


t = int(input())
for _ in range(t):
	X = int(input())
	if X >= 67 and X <= 45000:
		print('YES')
	else:
		print('NO')


for _ in range(int(input())):
	n = int(input())
	print('YES' if n > 66 and n < 45001 else 'NO')


t = int(input())

def func(t):
	for i in range(1, t + 1):
		x = int(input())
		if x >= 67 and x <= 45000:
			print('YES')
		else:
			print('NO')
func(t)


def can_hear(X):
	if X >= 67 and X <= 45000:
		return 'YES'
	else:
		return 'NO'
t = int(input())
for i in range(t):
	X = int(input())
	result = can_hear(X)
	print(result)


t = int(input())
for _ in range(t):
	n = int(input())
	if n in range(67, 45001):
		print('YES')
	else:
		print('NO')


test_cases = int(input())
for i in range(test_cases):
	decible = int(input())
	if 67 <= decible and decible <= 45000:
		print('YES')
	else:
		print('NO')


l = []
n = int(input())
for i in range(n):
	x = int(input())
	if x < 67 or x > 45000:
		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 >= 67 and X <= 45000:
		ans.append('YES')
	else:
		ans.append('NO')
for i in ans:
	print(i)


n = int(input())
for i in range(n):
	frequency = int(input())
	if (frequency >= 67) & (frequency <= 45000):
		print('YES')
	else:
		print('NO')


t = int(input())
for i in range(t):
	n = int(input())
	if n < 67 or n > 45000:
		print('NO')
	else:
		print('YES')


T = int(input())
if 1 <= T and T <= 10000:
	for i in range(T):
		X = int(input())
		if 1 <= X and X <= 1000000:
			if 67 <= X and X <= 45000:
				print('YES')
			else:
				print('NO')