Mario transforms each time he eats a mushroom as follows:
If he is currently small, he turns normal.
If he is currently normal, he turns huge.
If he is currently huge, he turns small.

Given that Mario was initially normal, find his size after eating X mushrooms.

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

- The first line of input will contain one 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, output in a single line Mario's size after eating X mushrooms.

Print:
- \texttt{NORMAL}, if his final size is normal.
- \texttt{HUGE}, if his final size is huge.
- \texttt{SMALL}, if his final size is small.

You may print each character of the answer in either uppercase or lowercase (for example, the strings \texttt{Huge}, \texttt{hUgE}, \texttt{huge} and \texttt{HUGE} will all be treated as identical).

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

$1 ≤ T ≤ 100$
$1 ≤ X ≤ 100$

----- Sample Input 1 ------ 
3
2
4
12
----- Sample Output 1 ------ 
SMALL
HUGE
NORMAL
----- explanation 1 ------ 
Test case $1$: Mario's initial size is normal. On eating the first mushroom, he turns huge. On eating the second mushroom, he turns small.

Test case $2$: Mario's initial size is normal. On eating the first mushroom, he turns huge. On eating the second mushroom, he turns small. On eating the third mushroom, he turns normal. On eating the fourth mushroom, he turns huge.

Difficulty: EASY

Solutions:
t = int(input())
for i in range(t):
	x = int(input())
	if x % 3 == 1:
		print('HUGE')
	elif x % 3 == 2:
		print('SMALL')
	else:
		print('NORMAL')


t = int(input())
for u in range(t):
	X = int(input())
	if X == 1 or X % 3 == 1:
		print('HUGE')
	elif X == 2 or X % 3 == 2:
		print('SMALL')
	else:
		print('NORMAL')


import math
T = int(input())
a = ['NORMAL', 'HUGE', 'SMALL']
for i in range(T):
	X = int(input())
	N = X % 3
	print(a[N])


for _ in range(int(input())):
	x = int(input())
	if x % 3 == 1:
		print('HUGE')
	elif x % 3 == 2:
		print('SMALL')
	else:
		print('NORMAL')


for i in range(int(input())):
	a = int(input())
	if a % 3 == 0:
		print('NORMAL')
	elif a % 3 == 1:
		print('HUGE')
	elif a % 3 == 2:
		print('SMALL')


t = int(input())
for i in range(t):
	x = int(input())
	(s, n, h) = (1, 2, 3)
	ini = n
	while x:
		(s, n, h) = (n, h, s)
		ini = n
		x = x - 1
	if ini == 1:
		print('SMALL')
	elif ini == 2:
		print('NORMAL')
	elif ini == 3:
		print('HUGE')


t = int(input())
I = ['HUGE', 'SMALL', 'NORMAL']
for i in range(t):
	n = int(input())
	d = n % 3
	print(I[d - 1])


def Mario(n):
	if n % 3 == 0:
		print('NORMAL')
	elif n % 3 == 1:
		print('HUGE')
	else:
		print('SMALL')
for _ in range(int(input())):
	n = int(input())
	Mario(n)


for i in range(int(input())):
	x = int(input())
	xq = dict()
	xq['NORMAL'] = 'HUGE'
	xq['HUGE'] = 'SMALL'
	xq['SMALL'] = 'NORMAL'
	s = 'NORMAL'
	for i in range(x):
		s = xq[s]
	print(s)


t = int(input())
for i in range(t):
	n = int(input())
	if n % 3 == 1:
		print('HUGE')
	elif n % 3 == 0:
		print('NORMAL')
	else:
		print('SMALL')


sizes = ['SMALL', 'NORMAL', 'HUGE']
T = int(input())
for i in range(T):
	X = int(input())
	size = 1
	for j in range(X):
		size = (size + 1) % 3
	print(sizes[size])


t = int(input())
for _ in range(t):
	n = int(input())
	li = ['SMALL', 'NORMAL', 'HUGE']
	intex = 1
	for i in range(n):
		if intex < len(li) - 1:
			intex += 1
		else:
			intex = 0
	print(li[intex])


def main():
	t = int(input())
	Arr = ['NORMAL', 'HUGE', 'SMALL']
	for i in range(t):
		mush = int(input())
		mario = 0
		for j in range(mush):
			if mario > 2:
				mario = 0
			mario += 1
			if mario > 2:
				mario = 0
		print(Arr[mario])
main()


import math
x = int(input())
for i in range(x):
	r = int(input())
	if r % 3 == 2:
		print('SMALL')
	elif r % 3 == 1:
		print('HUGE')
	elif r % 3 == 0:
		print('NORMAL')


t = int(input())
for i in range(0, t):
	lst = ['HUGE', 'SMALL', 'NORMAL']
	n = int(input())
	a = n % 3
	print(lst[a - 1])


for _ in range(int(input())):
	n = int(input())
	if n % 3 == 0:
		print('NORMAL')
	elif n % 3 == 2:
		print('SMALL')
	else:
		print('HUGE')


n = int(input())
for i in range(n):
	a = int(input())
	if a % 3 == 0:
		print('NORMAL')
	elif a % 3 == 2:
		print('SMALL')
	else:
		print('HUGE')


for i in range(int(input())):
	x = int(input())
	if x % 3 == 0:
		print('NORMAL')
	elif x % 3 == 1:
		print('HUGE')
	else:
		print('SMALL')


t = int(input())
while t > 0:
	n = int(input())
	if n % 3 == 1:
		print('HUGE')
	elif n % 3 == 2:
		print('SMALL')
	else:
		print('NORMAL')
	t -= 1


t = int(input())
for i in range(t):
	x = int(input())
	size = 'NORMAL'
	for j in range(x):
		if size == 'SMALL':
			size = 'NORMAL'
		elif size == 'NORMAL':
			size = 'HUGE'
		else:
			size = 'SMALL'
	print(size)


t = int(input())
for _ in range(t):
	mushrooms = int(input())
	if mushrooms % 3 == 0:
		print('NORMAL')
	elif mushrooms % 3 == 1:
		print('HUGE')
	else:
		print('SMALL')