#include <bits/stdc++.h>
using namespace std;
void setIO(string name = "") {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  if ((int)(name).size()) {
    freopen((name + ".in").c_str(), "r", stdin);
    freopen((name + ".out").c_str(), "w", stdout);
  }
}
int query() {
  string s;
  cin >> s;
  if (s == "yes") {
    return 1;
  } else
    return 0;
}
void solve() {
  int n = 100;
  vector<bool> is_p(n + 1, 1);
  is_p[0] = is_p[1] = 1;
  vector<int> p;
  for (int i = 2; i <= n; i++) {
    if (is_p[i]) {
      p.push_back(i);
      for (int j = i * i; j <= n; j += i) is_p[j] = 0;
    }
  }
  int count = 0;
  int i = 0, pt = 0;
  while (count < 20) {
    cout << p[i] << endl;
    int temp = query();
    count++;
    if (temp) {
      pt++;
      if (count < 20 && p[i] * p[i] <= 100) {
        count++;
        cout << p[i] * p[i] << endl;
        temp = query();
        if (temp) {
          cout << "composite" << endl;
          return;
        }
      }
    }
    if (pt > 1) {
      cout << "composite" << endl;
      return;
    }
    i++;
  }
  cout << "prime" << endl;
}
int main() {
  setIO("");
  int t = 1;
  while (t--) solve();
  return 0;
}
