#include <bits/stdc++.h>
using namespace std;
int MIN(int a, int b) { return a < b ? a : b; };
int MAX(int a, int b) { return a > b ? a : b; };
int gcd(int a, int b) {
  if (b == 0)
    return a;
  else
    return gcd(b, a % b);
}
int n, m, q;
int h;
int a[20] = {2,  4,  3,  9,  5,  25, 7,  49, 11, 13,
             17, 19, 23, 29, 31, 37, 41, 43, 47, 53};
int main() {
  int i, j, x, y, T, num, t;
  string str;
  t = num = 0;
  for (i = 0; i < 20; i++) {
    cout << a[i] << endl;
    cin >> str;
    num++;
    x = a[i];
    if (str == "yes") {
      t++;
    }
    if (t > 1) break;
  }
  if (i == 20)
    cout << "prime\n";
  else
    cout << "composite\n";
  return 0;
}
