In Chefland, precipitation is measured using a rain gauge in millimetre per hour. 

Chef categorises rainfall as:
LIGHT, if rainfall is less than 3 millimetre per hour.
MODERATE, if rainfall is greater than equal to 3 millimetre per hour and less than 7 millimetre per hour.
HEAVY if rainfall is greater than equal to 7 millimetre per hour.

Given that it rains at X millimetre per hour on a day, find whether the rain is LIGHT, MODERATE, or HEAVY.

------ 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 rate of rainfall in millimetre per hour. 

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

For each test case, output on a new line, whether the rain is LIGHT, MODERATE, or HEAVY.

You may print each character in lowercase or uppercase. For example, LIGHT, light, Light, and liGHT, are all identical.

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

$1 ≤ T ≤ 20$
$1 ≤ X ≤ 20$

----- Sample Input 1 ------ 
4
1
20
3
7

----- Sample Output 1 ------ 
LIGHT
HEAVY
MODERATE
HEAVY
----- explanation 1 ------ 
Test case $1$: The rate of precipitation is less than $3$. Thus, the rain is LIGHT.

Test case $2$: The rate of precipitation is greater than equal to $7$. Thus, the rain is HEAVY.

Test case $3$: The rate of precipitation is greater than equal to $3$ and less than $7$. Thus, the rain is MODERATE.

Test case $4$: The rate of precipitation is greater than equal to $7$. Thus, the rain is HEAVY.

Source: codechef | Difficulty: EASY


Solutions:
t = int(input())
for i in range(t):
	x = int(input())
	if x < 3:
		print('LIGHT')
	elif x >= 3 and x < 7:
		print('MODERATE')
	else:
		print('HEAVY')


T = int(input())
for i in range(T):
	x = int(input())
	if x < 3:
		print('LIGHT')
	elif 3 <= x < 7:
		print('MODERATE')
	else:
		print('HEAVY')


t = int(input())
for _ in range(t):
	rain = int(input())
	print('LIGHT' if rain < 3 else 'HEAVY' if rain >= 7 else 'MODERATE')


T = int(input())
for i in range(T):
	X = int(input())
	if X < 3:
		print('LIGHT')
	elif X >= 3 and X < 7:
		print('MODERATE')
	elif X >= 7:
		print('HEAVY')


n = int(input())
for i in range(n):
	a = int(input())
	if a < 3:
		print('LIGHT')
	elif a == 3 or a < 7:
		print('MODERATE')
	else:
		print('HEAVY')


n = int(input())
for i in range(n):
	l = int(input())
	if l >= 7:
		print('HEAVY')
	elif l < 7 and l >= 3:
		print('MODERATE')
	else:
		print('LIGHT')


r = int(input())
for i in range(r):
	m = int(input())
	if m < 3:
		print('LIGHT')
	if m >= 3 and m < 7:
		print('MODERATE')
	if m >= 7:
		print('HEAVY')


test = int(input())
ans = []
while test:
	test = test - 1
	X = int(input())
	if X < 3:
		ans.append('LIGHT')
	elif X >= 3 and X < 7:
		ans.append('MODERATE')
	else:
		ans.append('HEAVY')
for i in ans:
	print(i)


t = int(input())
for i in range(t):
	n = int(input())
	if n < 3:
		print('LIGHT')
	elif n >= 7:
		print('HEAVY')
	elif n >= 3 and n < 7:
		print('MODERATE')


T = int(input())
for CRICKETER in range(T):
	X = int(input())
	if X >= 7:
		print('HEAVY')
	elif X >= 3:
		print('MODERATE')
	else:
		print('LIGHT')


a = int(input())
for i in range(a):
	b = int(input())
	if b < 3:
		print('LIGHT')
	elif 3 <= b < 7:
		print('MODERATE')
	else:
		print('HEAVY')


test_cases = int(input())
for i in range(test_cases):
	rain = int(input())
	if rain < 3:
		print('LIGHT')
	elif rain >= 3 and rain < 7:
		print('MODERATE')
	else:
		print('HEAVY')


for i in range(int(input())):
	X = int(input())
	if X < 3:
		print('LIGHT')
	elif X >= 7:
		print('HEAVY')
	else:
		print('MODERATE')


import math
for t in range(int(input())):
	rain = int(input())
	if rain < 3:
		print('LIGHT')
	elif rain >= 3 and rain < 7:
		print('MODERATE')
	else:
		print('HEAVY')


t = int(input())
for _ in range(t):
	n = int(input())
	if n >= 3 and n < 7:
		print('MODERATE')
	elif n >= 7:
		print('HEAVY')
	else:
		print('LIGHT')


n = int(input())
while n > 0:
	a = int(input())
	if a < 3:
		print('LIGHT')
	elif a >= 3 and a < 7:
		print('MODERATE')
	else:
		print('HEAVY')
	n -= 1


n = int(input())
for i in range(n):
	m = int(input())
	if m < 3:
		print('LIGHT')
	elif m >= 7:
		print('HEAVY')
	else:
		print('MODERATE')


T = int(input())
for t in range(T):
	X = int(input())
	if X < 3:
		print('LIGHT')
	elif X >= 7:
		print('HEAVY')
	elif X >= 3 and X < 7:
		print('MODERATE')
	else:
		print('HEAVY')


t = int(input())
for ts in range(t):
	x = int(input())
	if x < 3:
		print('LIGHT')
	elif 3 <= x < 7:
		print('MODERATE')
	else:
		print('HEAVY')


cases = int(input())
for case in range(cases):
	x = int(input())
	if x < 3:
		print('LIGHT')
	elif x >= 7:
		print('HEAVY')
	else:
		print('MODERATE')


t = int(input())
while t:
	x = int(input())
	if x < 3:
		print('LIGHT')
	elif x >= 3 and x < 7:
		print('MODERATE')
	elif x >= 7:
		print('HEAVY')
	t -= 1