#include <bits/stdc++.h>
using namespace std;
int main() {
  int primes[] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
  string s;
  int i;
  int c = 0;
  for (i = 0; i < 15; i++) {
    cout << primes[i] << endl;
    cout << flush;
    getline(cin, s);
    if (s[0] == 'y') {
      c++;
      if (primes[i] < 10) {
        cout << primes[i] * primes[i] << endl;
        cout << flush;
        getline(cin, s);
        if (s[0] == 'y') c++;
      }
    }
  }
  if (c <= 1)
    cout << "prime" << endl;
  else
    cout << "composite" << endl;
  return 0;
}
