#include <bits/stdc++.h>
using namespace std;
const int maxn = 100005;
const long long mod = 1e9 + 7;
const long long INF = 1e18;
const double eps = 1e-6;
int main() {
  for (int i = 0; i < 10; i++) {
    printf("%d\n", i);
    fflush(stdout);
    string str;
    getline(cin, str);
    if (str == "no") continue;
    if (str == "great" || str == "cool" || str == "not bad" ||
        str == "don't think so" || str == "don't touch me")
      puts("normal");
    else
      puts("grumpy");
  }
}
