Chef has his lunch only between 1 pm and 4 pm (both inclusive). 

Given that the current time is X pm, find out whether it is *lunchtime* for Chef.

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

- The first line of input will contain a single integer T, the number of test cases. Then the test cases follow.
- Each test case contains a single line of input, containing one integer X.

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

For each test case, print in a single line \texttt{YES} if it is lunchtime for Chef. Otherwise, print \texttt{NO}.

You may print each character of the string in either uppercase or lowercase (for example, the strings \texttt{YeS}, \texttt{yEs}, \texttt{yes} and \texttt{YES} will all be treated as identical).

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

$1 ≤ T ≤ 12$
$1 ≤ X ≤ 12$

----- Sample Input 1 ------ 
3
1
7
3
----- Sample Output 1 ------ 
YES
NO
YES
----- explanation 1 ------ 
Test case $1$: Lunchtime is between $1$ pm and $4$ pm (both inclusive). Since $1$ pm lies within lunchtime, the answer is $\texttt{YES}$.

Test case $2$: Lunchtime is between $1$ pm and $4$ pm (both inclusive). Since $7$ pm lies outside lunchtime, the answer is $\texttt{NO}$.

Test case $3$: Lunchtime is between $1$ pm and $4$ pm (both inclusive). Since $3$ pm lies within lunchtime, the answer is $\texttt{YES}$.

Difficulty: EASY
Tags: Mathematics

Starter code:

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


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


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


t = int(input())
for i in range(t):
	x = int(input())
	if x == 1 or x == 2 or x == 3 or (x == 4):
		print('YES')
	else:
		print('NO')


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


n = int(input())
for i in range(n):
	p = int(input())
	print('YES') if p >= 1 and p <= 4 else print('NO')


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


for i in range(int(input())):
	n = int(input())
	if n == 1 or n == 2 or n == 3 or (n == 4):
		print('YES')
	else:
		print('NO')


for i in range(int(input())):
	z = int(input())
	if 1 <= z <= 4:
		print('YES')
	else:
		print('NO')


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


T = int(input())
for t in range(T):
	X = int(input())
	if X >= 1 and X <= 4:
		print('YES')
	else:
		print('NO')


T = int(input())
for i in range(T):
	n = int(input())
	if n in range(1, 5):
		print('YES')
	else:
		print('NO')


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


n = int(input())
for i in range(0, n):
	a = int(input())
	if 1 <= a <= 4:
		print('YES')
	else:
		print('NO')


a = int(input())
for i in range(a):
	s = int(input())
	if s >= 1 and s <= 4:
		print('YES')
	else:
		print('NO')


cases = int(input())
for case in range(cases):
	x = int(input())
	if x >= 1 and x <= 4:
		print('YES')
	else:
		print('NO')


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


for i in range(int(input())):
	it = float(input())
	if 1 < it > 4:
		print('NO')
	else:
		print('YES')


try:
	for _ in range(int(input())):
		x = int(input())
		if x > 1 and x > 4:
			print('NO')
		else:
			print('YES')
except:
	print(0)


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