#include <bits/stdc++.h>
using namespace std;
vector<int> v;
int prime[50 + 10];
void seive() {
  for (int i = 2; i <= 50; i++) {
    if (prime[i]) {
      v.push_back(i);
      for (int j = i + i; j <= 50; j += i) {
        prime[j] = 0;
      }
    }
  }
}
int main() {
  int cnt = 0;
  for (int i = 2; i <= 50; i++) {
    prime[i] = 1;
  }
  seive();
  v.push_back(4);
  v.push_back(9);
  v.push_back(25);
  v.push_back(49);
  for (int i = 0; i < v.size(); i++) {
    printf("%d\n", v[i]);
    fflush(stdout);
    string response;
    cin >> response;
    if (response == "yes") {
      if (cnt == 1) {
        cnt++;
        break;
      } else {
        cnt++;
      }
    } else {
      continue;
    }
  }
  if (cnt == 1 || cnt == 0) {
    cout << "prime" << endl;
  } else {
    cout << "composite" << endl;
  }
  fflush(stdout);
  return 0;
}
