#include <bits/stdc++.h>
using namespace std;
int query(int d) {
  cout << d << endl;
  string response;
  cin >> response;
  return response == "yes";
}
int main() {
  int primes[15] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
  int count = 0;
  int f;
  for (auto p : primes) {
    if (query(p)) {
      count++;
      f = p;
    }
  }
  if (count == 0) {
    cout << "prime" << endl;
  } else if (count == 1) {
    if (f <= 10 && query(f * f)) {
      cout << "composite" << endl;
    } else {
      cout << "prime" << endl;
    }
  } else {
    cout << "composite" << endl;
  }
  return 0;
}
