#include <bits/stdc++.h>
using namespace std;
int arr[] = {2,  3,  4,  5,  7,  9,  11, 13, 16, 17,
             19, 23, 25, 29, 31, 37, 41, 43, 47, 49};
int main() {
  string str;
  map<string, int> m;
  m["yes"] = 0;
  m["no"] = 0;
  for (int(i) = (0); (i) < (20); (i)++) {
    printf("%d\n", arr[i]);
    fflush(stdout);
    cin >> str;
    m[str]++;
    if (m["yes"] > 1) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "prime" << endl;
  fflush(stdout);
  return 0;
}
