#include <bits/stdc++.h>
using namespace std;
int main() {
  int primes[15] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
  int count = 0;
  int i = 0;
  while (i < 15 && count < 2) {
    cout << primes[i] << endl;
    fflush(stdout);
    string s;
    cin >> s;
    if (s == "yes") {
      count++;
      if (primes[i] * primes[i] < 100) {
        cout << primes[i] * primes[i] << endl;
        fflush(stdout);
        string x;
        cin >> x;
        if (x == "yes") {
          count++;
        }
      }
    }
    i++;
  }
  if (count < 2) {
    cout << "prime" << endl;
    fflush(stdout);
  } else {
    cout << "composite" << endl;
    fflush(stdout);
  }
}
