#include <bits/stdc++.h>
using namespace std;
vector<int> p = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
int main() {
  vector<int> pd;
  string ans;
  for (int i = 0; i < p.size() && pd.size() <= 1; i++) {
    cout << p[i] << endl;
    cin >> ans;
    if (ans[0] == 'y') pd.push_back(p[i]);
  }
  if (pd.size() > 1) {
    cout << "composite" << endl;
    return 0;
  } else if (pd.size() == 1 && pd[0] * pd[0] <= 100) {
    cout << pd[0] * pd[0] << endl;
    cin >> ans;
    if (ans[0] == 'y') {
      cout << "composite" << endl;
      return 0;
    }
  }
  cout << "prime" << endl;
}
