#include <bits/stdc++.h>
using namespace std;
bool query(long long l) {
  cout << l << endl;
  string s;
  cin >> s;
  if (s == "yes") return true;
  return false;
}
int32_t main() {
  vector<long long> v = {4, 9, 16, 25, 49};
  vector<long long> p = {2,  3,  5,  7,  11, 13, 17, 19,
                         23, 29, 31, 37, 41, 43, 47};
  long long idx = 0;
  long long pos = 0;
  long long cnt = 0;
  bool got = false;
  for (long long i = 0; i < 20; i++) {
    bool isdiv;
    if (idx >= 5) {
      isdiv = query(p[pos]);
      if (isdiv) cnt++;
      if (cnt == 2) {
        cout << "composite" << endl;
        got = true;
        break;
      }
      pos++;
    } else {
      isdiv = query(v[idx]);
      if (isdiv) {
        cout << "composite" << endl;
        got = true;
        break;
      }
      idx++;
    }
  }
  if (!got) {
    cout << "prime" << endl;
  }
  return 0;
}
