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