#include <bits/stdc++.h>
using namespace std;
void solve() {
  vector<int> v = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
  int pos = -1, cnt = 0;
  for (int i = 0; i < v.size(); i++) {
    cout << v[i] << endl;
    string s;
    cin >> s;
    if (s == "yes") pos = i, cnt++;
  }
  int f = 0;
  if (cnt > 1)
    f = 1;
  else if (pos != -1 && v[pos] * v[pos] <= 100) {
    cout << v[pos] * v[pos] << endl;
    string s;
    cin >> s;
    if (s == "yes") f = 1;
  }
  if (f)
    cout << "composite" << endl;
  else
    cout << "prime" << endl;
}
int main() {
  solve();
  return 0;
}
