#include <bits/stdc++.h>
using namespace std;
bool asalMi(int n) {
  for (int i = 2; i * i <= n; i++)
    if (n % i == 0) return false;
  return true;
}
bool ask(int n) {
  cout << n << endl;
  fflush(stdout);
  string str;
  cin >> str;
  if (str == "yes")
    return true;
  else
    return false;
}
int main() {
  int cnt = 0;
  for (int i = 2; i <= 50; i++) {
    if (asalMi(i)) {
      if (ask(i)) {
        cnt++;
        if (i * i <= 100 and ask(i * i)) cnt++;
      }
    }
    if (cnt >= 2) break;
  }
  if (cnt >= 2)
    cout << "composite\n";
  else
    cout << "prime\n";
  return 0;
}
