#include <bits/stdc++.h>
using namespace std;
int main() {
  vector<int> v = {4,  9,  25, 49, 2,  3,  5,  7,  11, 13,
                   17, 19, 23, 29, 31, 37, 41, 43, 47, 53};
  int ctr = 0;
  for (auto x : v) {
    string s;
    cout << x << endl;
    cin >> s;
    if (s == "yes") ctr++;
  }
  if (ctr <= 1)
    cout << "prime" << endl;
  else
    cout << "composite" << endl;
  return 0;
}
