#include <bits/stdc++.h>
using namespace std;
int main() {
  string a;
  long long n, k, x, y, q, t = 0, b, c, c1, m1, n1;
  const int m[15] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
  for (int i = 0; i <= 3; i++) {
    cout << m[i] << endl;
    cin >> a;
    if (a == "yes") {
      t++;
      if (t > 1) {
        cout << "composite";
        return 0;
      };
      cout << pow(m[i], 2) << endl;
      cin >> a;
      if (a == "yes") {
        cout << "composite";
        return 0;
      }
    }
  }
  for (int i = 4; i <= 14; i++) {
    cout << m[i] << endl;
    cin >> a;
    if (a == "yes") t++;
    if (t > 1) {
      cout << "composite";
      return 0;
    };
  }
  cout << "prime";
}
