Read problems statements in [Russian], [Vietnamese], [Hindi], [Mandarin chinese] and [Bengali] as well.

Chef is interested in the history of SnackDown contests. He needs a program to verify if SnackDown was hosted in a given year.

SnackDown was hosted by CodeChef in the following years: 2010, 2015, 2016, 2017 and 2019.

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

The first line contain the number of test-cases T.

The first line of each test-case contains a single integer N.

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

For each test case print a single line containing the string "HOSTED" if SnackDown was hosted in year N or "NOT HOSTED" otherwise (without quotes).

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

$1 ≤T ≤10$
$2010 ≤N ≤2019$

----- Sample Input 1 ------ 
2
2019
2018
----- Sample Output 1 ------ 
HOSTED
NOT HOSTED

Source: codechef | Difficulty: EASY


Solutions:
for i in range(int(input())):
	a = [2010, 2015, 2016, 2017, 2019]
	n = int(input())
	if n in a:
		print('HOSTED')
	else:
		print('NOT HOSTED')


for i in range(int(input())):
	Y = int(input())
	l = [2010, 2015, 2016, 2017, 2019]
	if Y in l:
		print('HOSTED')
	else:
		print('NOT HOSTED')


for _ in range(int(input())):
	n = int(input())
	arr = [2010, 2015, 2016, 2017, 2019]
	if n in arr:
		print('HOSTED')
	else:
		print('NOT HOSTED')


l = [2010, 2015, 2016, 2017, 2019]
for _ in range(int(input())):
	N = int(input())
	if N in l:
		print('HOSTED')
	else:
		print('NOT HOSTED')


for i in range(int(input())):
	x = int(input())
	if x == 2010 or x == 2015 or x == 2016 or (x == 2017) or (x == 2019):
		print('HOSTED')
	else:
		print('NOT HOSTED')


def code():
	cases = int(input())
	for _ in range(cases):
		given = int(input())
		years = [2010, 2015, 2016, 2017, 2019]
		if given in years:
			print('HOSTED')
		else:
			print('NOT HOSTED')
code()


for _ in range(int(input())):
	a = int(input())
	if a == 2010 or a == 2015 or a == 2016 or (a == 2017) or (a == 2019):
		print('HOSTED')
	else:
		print('NOT HOSTED')


T = int(input())
for i in range(T):
	N = int(input())
	years = [2010, 2015, 2016, 2017, 2019]
	if N in years:
		print('HOSTED')
	else:
		print('NOT HOSTED')


t = int(input())
while t:
	t -= 1
	n = int(input())
	if n == 2010 or n == 2015 or n == 2016 or (n == 2017) or (n == 2019):
		print('HOSTED')
	else:
		print('NOT HOSTED')


testcase = int(input())
for i in range(testcase):
	N = int(input())
	list1 = [2010, 2015, 2016, 2017, 2019]
	if N in list1:
		print('HOSTED')
	else:
		print('NOT HOSTED')


t = int(input())
for _ in range(t):
	x = int(input())
	s = [2010, 2015, 2016, 2017, 2019]
	if x in s:
		print('HOSTED')
	else:
		print('NOT HOSTED')


for t in range(int(input())):
	n = int(input())
	a = [2010, 2015, 2016, 2017, 2019]
	c = 0
	for i in a:
		if n == i:
			print('HOSTED')
			break
	else:
		print('NOT HOSTED')


years = [2010, 2015, 2016, 2017, 2019]
for _ in range(int(input())):
	year = int(input())
	if year in years:
		print('HOSTED')
	else:
		print('NOT HOSTED')


t = int(input())
for i in range(t):
	a = [int(i) for i in input().split()]
	b = [2010, 2015, 2016, 2017, 2019]
	if a[0] in b:
		print('HOSTED')
	else:
		print('NOT HOSTED')


hosted = [2010, 2015, 2016, 2017, 2019]
for i in range(int(input())):
	y = int(input())
	if y in hosted:
		print('HOSTED')
	else:
		print('NOT HOSTED')


for t in range(int(input())):
	years = [2010, 2015, 2016, 2017, 2019]
	if int(input()) in years:
		print('HOSTED')
	else:
		print('NOT HOSTED')


def is_snackdown_year(year):
	snackdown_years = [2010, 2015, 2016, 2017, 2019]
	if year in snackdown_years:
		return 'HOSTED'
	else:
		return 'NOT HOSTED'
for i in range(int(input())):
	n = int(input())
	print(is_snackdown_year(n))


T = int(input())
for tc in range(T):
	N = int(input())
	l = ['2010', '2015', '2016', '2017', '2019']
	l = list(map(int, l))
	if N in l:
		print('HOSTED')
	else:
		print('NOT HOSTED')


try:
	t = int(input())
	for r in range(t):
		n = int(input())
		if n == 2010 or n == 2015 or n == 2016 or (n == 2017) or (n == 2019):
			print('HOSTED')
		else:
			print('NOT HOSTED')
except:
	pass


for i in range(int(input())):
	lis = [2010, 2015, 2016, 2017, 2019]
	year = int(input())
	print('HOSTED' if year in lis else 'NOT HOSTED')