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