#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  long long f = 0;
  long long ar[20] = {2,  3,  5,  7,  11, 13, 17, 19, 23, 29,
                      31, 37, 41, 43, 47, 4,  9,  16, 25, 49};
  long long num = 2;
  for (long long i = 0; i < 20; i++) {
    cout << ar[i] << endl;
    fflush(stdout);
    cin >> s;
    if (s == "yes") {
      num = i;
      f++;
    }
  }
  if (f > 1) {
    cout << "composite" << endl;
  } else {
    cout << "prime" << endl;
  }
  fflush(stdout);
}
