#include <bits/stdc++.h>
using namespace std;
void solve() {
  vector<int> primesq = {4, 9, 25, 49};
  vector<int> primes = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
  for (int i = 0; i < 4; ++i) {
    cout << primesq[i] << endl;
    string s;
    cin >> s;
    if (s == "yes") {
      cout << "composite" << endl;
    }
  }
  int a = 0;
  for (int i = 0; i < 15; ++i) {
    cout << primes[i] << endl;
    string s;
    cin >> s;
    if (s == "yes") {
      ++a;
    }
  }
  if (a >= 2)
    cout << "composite";
  else
    cout << "prime";
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long tc = 1;
  while (tc--) {
    solve();
    cout << '\n';
  }
  return 0;
}
