#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  for (int i = 0; i < 10; i++) {
    cout << i << endl;
    getline(cin, s);
    if (s != "no")
      return cout << ((s == "great" || s == "cool" || s == "not bad" ||
                       s == "don't think so" || s == "don't touch me")
                          ? "normal"
                          : "grumpy")
                  << endl,
             0;
  }
  return 0;
}
