#include <bits/stdc++.h>
using namespace std;
int n, m, k, l, i, j, t, a, b, c, res, d[10005];
string s;
int main() {
  for (i = 2; i < 100; i++) {
    if (d[i] == 0)
      for (j = 2 * i; j < 1000; j += i) {
        d[j] = 1;
      }
  }
  for (i = 2; i <= 50; i++) {
    if (k > 1) {
      cout << "composite" << endl;
      return 0;
    }
    if (d[i] == 0)
      cout << i << endl;
    else
      continue;
    cin >> s;
    if (s == "yes") {
      d[i * i] = 0;
      k++;
    }
  }
  cout << "prime" << endl;
}
