#include <bits/stdc++.h>
using namespace std;
void Solve() {
  vector<bool> trc(20);
  bool ok = true;
  vector<int> questions = {2,  4,  3,  9,  5,  25, 7,  49, 11, 13,
                           17, 19, 23, 29, 31, 37, 41, 43, 47};
  for (int i = 0; i < 19; i++) {
    cout << questions[i] << '\n';
    cout << flush;
    string s;
    cin >> s;
    trc[i] = (s == "yes");
  }
  int sum = 0, x;
  for (int i = 0; i < 20; i++) {
    if (trc[i]) sum++, x = questions[i];
    if (sum > 1) {
      cout << "composite";
      cout << flush;
      return;
    }
  }
  if (x != 4 && x != 9 && x != 25 && x != 49 && sum <= 1) {
    cout << "prime";
    cout << flush;
  } else
    cout << "composite";
  { cout << flush; }
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  Solve();
  return 0;
}
