#include <bits/stdc++.h>
using namespace std;
int main() {
  int primes[] = {2,  3,  5,  7,  11, 13, 17, 19, 23, 29, 31, 37, 41,
                  43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97};
  int factors = 0;
  int curr = 0;
  string resp;
  int fac = 0;
  int cind = 0;
  while (curr < 15) {
    cout << primes[curr] << endl;
    cout << flush;
    cin >> resp;
    if (resp == "yes") {
      fac = primes[curr];
      cind = curr;
      factors++;
    }
    curr++;
  }
  if (factors == 1) {
    if (fac * fac <= 100) {
      cout << fac * fac << endl;
      cout << flush;
      cin >> resp;
      if (resp == "yes") {
        cout << "composite" << endl;
      } else {
        cout << "prime" << endl;
      }
    } else {
      cout << "prime" << endl;
    }
  } else if (factors > 1) {
    cout << "composite" << endl;
  } else {
    cout << "prime" << endl;
  }
  cout << flush;
}
