Mario transforms each time he eats a mushroom as follows:
- If he is currently
small, he turnsnormal. - If he is currently
normal, he turnshuge. - If he is currently
huge, he turnssmall.
Given that Mario was initially normal, find his size after eating mushrooms.
Input Format
- The first line of input will contain one integer , the number of test cases. Then the test cases follow.
- Each test case contains a single line of input, containing one integer .
Output Format
For each test case, output in a single line Mario's size after eating mushrooms.
Print:
- , if his final size is
normal. - , if his final size is
huge. - , if his final size is
small.
You may print each character of the answer in either uppercase or lowercase (for example, the strings , , and will all be treated as identical).
Constraints
Sample Input 1
3
2
4
12
Sample Output 1
SMALL
HUGE
NORMAL
Explanation
Test case : Mario's initial size is normal. On eating the first mushroom, he turns huge. On eating the second mushroom, he turns small.
Test case : 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.
No comments:
Post a Comment