#include <bits/stdc++.h>
using namespace std;
int main() {
  auto ask = [](int a) { cout << a << endl; };
  vector<int> primes = {2, 3, 5, 7};
  int divisible_by = -1;
  for (auto i : primes) {
    ask(i);
    string s;
    cin >> s;
    if (s == "yes") {
      divisible_by = i;
      break;
    }
  }
  if (divisible_by == -1) {
    cout << "prime" << endl;
    exit(0);
  }
  vector<int> greater_primes = {3,  5,  7,  11, 13, 17, 19,
                                23, 29, 31, 37, 41, 43, 47};
  int other_divisor = -1;
  for (auto i : greater_primes) {
    if (i <= divisible_by) continue;
    ask(i);
    string s;
    cin >> s;
    if (s == "yes") {
      other_divisor = i;
      break;
    }
  }
  if (other_divisor != -1) {
    cout << "composite" << endl;
    exit(0);
  }
  int curr = divisible_by * divisible_by;
  while (curr < 100) {
    ask(curr);
    string s;
    cin >> s;
    if (s == "yes") {
      other_divisor = curr;
      break;
    }
    curr *= divisible_by;
  }
  if (other_divisor == -1) {
    cout << "prime" << endl;
  } else {
    cout << "composite" << endl;
  }
  return 0;
}
