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