#include <bits/stdc++.h>
using namespace std;
int main() {
  map<int, int> hm;
  hm[2] = hm[3] = hm[5] = hm[7] = 0;
  hm[4] = hm[9] = hm[25] = hm[49] = 0;
  hm[11] = hm[13] = hm[17] = hm[19] = 0;
  hm[23] = hm[29] = hm[31] = hm[37] = 0;
  hm[41] = hm[43] = hm[47] = hm[53] = 0;
  string res;
  for (auto &p : hm) {
    cout << p.first << "\n" << flush;
    cin >> res;
    if (res == "yes") p.second = 1;
  }
  int c = 0;
  for (auto p : hm) {
    c += p.second;
  }
  if (c == 0 || c == 1)
    cout << "prime";
  else
    cout << "composite";
  cout << endl << flush;
  return 0;
}
