#include <bits/stdc++.h>
using namespace std;
bool g[1009];
string s;
int a[1000009], n, n1, b, c, l, r = 1000001;
vector<int> v;
void sev() {
  for (int i = 2; i <= 50; i++) {
    if (g[i] == 1) {
      continue;
    }
    for (int j = 2; j <= 50 / i; j++) {
      g[i * j] = 1;
    }
    v.push_back(i);
  }
}
int main() {
  sev();
  for (int i = 0; i < v.size(); i++) {
    cout << v[i] << endl;
    cin >> s;
    if (s == "no") {
      continue;
    } else {
      b++;
      if (b > 1) {
        cout << "composite";
        exit(0);
      }
      if (v[i] * v[i] < 100) {
        cout << v[i] * v[i] << endl;
        cin >> s;
        if (s == "yes") {
          cout << "composite";
          exit(0);
        }
      }
    }
  }
  cout << "prime" << endl;
}
