#include <bits/stdc++.h>
using namespace std;
class Prime {
 public:
  Prime(int n) {
    vector<char> c(n + 1);
    for (int i = 2; i <= n; i++) {
      if (c[i] == 0) {
        d.push_back(i);
        for (int j = i + i; j <= n; j += i) c[j] = 1;
      }
    }
  }
  int &operator[](unsigned n) { return d[n]; }
  unsigned size() const { return d.size(); }

 protected:
  vector<int> d;
} prime(100);
int main() {
  vector<int> pp;
  for (int i = 0; i < 4; i++) {
    cout << prime[i] << endl;
    fflush(stdout);
    string str;
    getline(cin, str);
    if (str.size() == 3) pp.push_back(prime[i]);
  }
  if (pp.size() == 0) {
    cout << "prime";
    return 0;
  }
  if (pp.size() >= 2) {
    cout << "composite";
    return 0;
  }
  cout << pp[0] * pp[0] << endl;
  fflush(stdout);
  string str1;
  getline(cin, str1);
  if (str1.size() == 3) {
    cout << "composite";
    return 0;
  }
  for (int i = 4; prime[i] * pp[0] <= 100; i++) {
    cout << prime[i] << endl;
    fflush(stdout);
    string str;
    getline(cin, str);
    if (str.size() == 3) {
      cout << "composite";
      return 0;
    }
  }
  cout << "prime";
}
