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