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