#include <bits/stdc++.h>
using namespace std;
const int nmax = (int)3e2 + 10;
vector<int> pr;
void build() {
  bool used[110] = {0};
  for (int i = (int)2; i <= (int)100; i++) {
    if (!used[i]) {
      pr.push_back(i);
      for (int j = i + i; j <= 100; j += i) {
        used[j] = true;
      }
    }
  }
}
int main() {
  build();
  int num = 0, last = -1;
  string ans;
  for (int i = (int)0; i <= (int)15; i++) {
    cout << pr[i] << "\n";
    fflush(stdout);
    cin >> ans;
    if (ans == "yes") last = i, num++;
  }
  if (num > 1)
    cout << "composite"
         << "\n";
  else {
    if (last != -1 && pr[last] * pr[last] <= 100) {
      cout << pr[last] * pr[last] << "\n";
      fflush(stdout);
      cin >> ans;
      if (ans == "yes")
        cout << "composite"
             << "\n";
      else
        cout << "prime"
             << "\n";
    } else
      cout << "prime"
           << "\n";
  }
  fflush(stdout);
  return 0;
}
