#include <bits/stdc++.h>
using namespace std;
string s;
int main() {
  for (int i = 0; i <= 9; ++i) {
    cout << i << "\n";
    getline(cin, s);
    cout.flush();
    if (s == "are you serious" || s == "worse" || s == "terrible" ||
        s == "go die in a hole" || s == "dont even" || s == "no way") {
      cout << "grumpy\n";
      break;
    } else if (s == "dont think so" || s == "dont touch me" || s == "not bad" ||
               s == "cool" || s == "great") {
      cout << "normal\n";
      break;
    }
  }
  return 0;
}
