If you have ever interacted with a cat, you have probably noticed that they are quite particular about how to pet them. Here is an approximate map of a normal cat.

However, some cats won't tolerate this nonsense from the humans. Here is a map of a grumpy cat.

You have met a cat. Can you figure out whether it's normal or grumpy?
none
Please make sure to use the stream flushing operation after each query in order not to leave part of your output in some buffer.
5 0 1 2 5 3 5 4 5 5
Correct answer 'normal'
5 5 5 6 6 7 8 9 10 11
Correct answer 'grumpy'
10 6 5 7 5 6 11 5 8 9
Correct answer 'grumpy'
7 10 8 9 6 5 5 11 5 6
Correct answer 'grumpy'
5 5 4 5 2 5 5 0 1 3
Correct answer 'normal'
0 4 3 5 5 5 2 1 5 5
Correct answer 'normal'
3 5 5 0 5 5 2 5 4 1
Correct answer 'normal'
5 4 5 1 5 5 0 5 2 3
Correct answer 'normal'
5 5 1 2 5 5 4 3 0 5
Correct answer 'normal'
7 10 5 5 11 6 5 9 6 8
Correct answer 'grumpy'
6 5 10 5 5 7 8 11 9 6
Correct answer 'grumpy'
5 5 5 5 5 0 4 2 3 1
Correct answer 'normal'
11 5 6 5 9 5 10 8 7 6
Correct answer 'grumpy'
5 9 8 10 7 11 5 6 5 6
Correct answer 'grumpy'
5 8 10 11 5 6 5 6 7 9
Correct answer 'grumpy'
5 5 6 11 6 10 9 5 8 7
Correct answer 'grumpy'
1 5 5 2 5 0 3 5 5 4
Correct answer 'normal'
5 5 2 5 4 5 3 1 0 5
Correct answer 'normal'
from sys import stdin, stdout
def read():
	return stdin.readline().rstrip()

def read_int():
	return int(read())

def read_ints():
	return list(map(int, read().split()))

def solve():
	normal_dict = ["great", "not bad", "touch", "think", "cool"]
	grumpy_dict = ["even", "serious", "worse", "terrible", "die", "way"]
	for i in range(6):
		print(i)
		stdout.flush()
		r = read()
		for x in normal_dict:
			if x in r:
				print("normal")
				stdout.flush()
				return
		for x in grumpy_dict:
			if x in r:
				print("grumpy")
				stdout.flush()
				return

solve()
