#include <bits/stdc++.h>
#pragma GCC optimize("O2")
#pragma GCC target("avx,avx2,fma")
using namespace std;
string s;
string solve() {
  for (int i = 0; i < 6; ++i) {
    cout << i << endl << flush;
    getline(cin, s);
    if (s == "cool") return "normal";
    if (s == "great") return "normal";
    if (s == "not bad") return "normal";
    if (s == "don't think so") return "normal";
    if (s == "don't touch me") return "normal";
  }
  return "grumpy";
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  cout << solve();
}
