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'
#pragma GCC optimize("Ofast")

#ifdef DEBUG
#include "bits/stdc++.h"
#else
#include <bits/stdc++.h>
#endif

using namespace std;

typedef long long ll;
typedef long double ld;
typedef __int128_t fbl;

#define SIZE  5000000
#define MOD ll(998244353)
#define INF ll(1e18)

#define pb push_back
#define ppb pop_back
#define f first
#define s second

#define vout(x) for(auto u : x)cout << u << ' ';
#define all(x) x.begin(), x.end()
#define rndm drist(rng)

#define loop(i, n) for(ll i = 0; i < n;i++)
#define loopone(i, n) for(ll i = 1; i <= n;i++)
#define loopb(i, n) for(ll i = n-1; i >= 0;i--)
#define loopbone(i, n) for(ll i = n; i > 0;i--)

mt19937_64 rng(time(0));
uniform_int_distribution<ll> drist;

ll n,m,i,j,k,x,y,z,q;
string str, trash;
char chr;

ll sussy_baka;

struct edge{ll x, y, w;};
vector<edge> edges;

// -------- //

unordered_map<ll, vector<vector<ll>>> mp;



int main(){
    
    ios::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
   
    //
    #ifdef DEBUG
    freopen("test.txt", "r", stdin);
    #endif
    //
    
    
    ll good = 1;

    loopone(i, 9){
        cout << i << endl;
        cin >> str;
        if(str == "terrible")
            good = 0;
    }
    
    
    cout << ((good)?"normal":"grumpy");
    
    
    
    
    
    
    
    
        
        
    return 0;
}

