Write a program, which takes an integer N and if the number is less than 10 then display "Thanks for helping Chef!" otherwise print "-1".

-----Input-----

The first line contains an integer T, total number of testcases. Then follow T lines, each line contains an integer N. 

-----Output-----
For each test case, output the given string or -1 depending on conditions, in a new line.

-----Constraints-----
- 1 ≤ T ≤ 1000
- -20 ≤ N ≤ 20

-----Example-----
Input
3 
1
12
-5
Output
Thanks for helping Chef!
-1
Thanks for helping Chef!

Source: codechef | Difficulty: EASY


Solutions:
t = int(input())
for _ in range(t):
	n = int(input())
	if n < 10:
		print('Thanks for helping Chef!')
	else:
		print('-1')


n = int(input())
while n > 0:
	if int(input()) < 10:
		print('Thanks for helping Chef!')
	else:
		print('-1')
	n = n - 1


t = int(input())
for i in range(t):
	str = int(input())
	if str < 10:
		print('Thanks for helping Chef!')
	else:
		print('-1')


n = int(input())
for i in range(0, n):
	a = int(input())
	if a < 10:
		print('Thanks for helping Chef!')
	else:
		print(-1)


n = int(input())
for i in range(n):
	p = int(input())
	print('Thanks for helping Chef!') if p < 10 else print('-1')


for i in range(int(input())):
	x = int(input())
	if x < 10:
		print('Thanks for helping Chef!')
	else:
		print('-1')


k = int(input())
for i in range(k):
	n = abs(int(input()))
	if n < 10:
		print('Thanks for helping Chef!')
	else:
		print('-1')


T = int(input())
for i in range(T):
	N = int(input())
	if N >= 10:
		print('-1')
	else:
		print('Thanks for helping Chef!')


a = int(input())
for i in range(a):
	b = int(input())
	if b < 10:
		print('Thanks for helping Chef!')
	else:
		print(-1)


help_1 = int(input())
for i in range(help_1):
	A = int(input())
	if A < 10:
		print('Thanks for helping Chef!')
	else:
		print('-1')


for _ in range(int(input())):
	n1 = int(input())
	if n1 < 10:
		print('Thanks for helping Chef!')
	else:
		print('-1')


try:
	t = int(input())
	for t in range(0, t):
		n = int(input())
		if n < 10:
			print('Thanks for helping Chef!')
		else:
			print(-1)
except:
	pass


for j in range(int(input())):
	n = int(input())
	if n < 10:
		print('Thanks for helping Chef!')
	else:
		print(-1)


def thanks(n):
	if n < 10:
		print('Thanks for helping Chef!')
	else:
		print('-1')
t = int(input())
while t:
	t = t - 1
	n = int(input())
	thanks(n)


num = int(input())
for i in range(num):
	n1 = int(input())
	if n1 < 10:
		print('Thanks for helping Chef!')
	else:
		print('-1')


T = int(input())
for tc in range(T):
	n = int(input())
	if n < 10:
		print('Thanks for helping Chef!')
	else:
		print('-1')


t = int(input())
while t != 0:
	a = int(input())
	if a < 10:
		print('Thanks for helping Chef!')
	else:
		print('-1')
	t = t - 1


List = []
n = int(input())
for i in range(0, n):
	a = int(input())
	List.append(a)
for element in List:
	if element <= 9:
		print('Thanks for helping Chef!')
	else:
		print('-1')