#include <bits/stdc++.h>
using namespace std;
int a[20];
int main() {
  a[0] = 2;
  a[1] = 3;
  a[2] = 4;
  a[3] = 5;
  a[4] = 7;
  a[5] = 9;
  a[6] = 11;
  a[7] = 13;
  a[8] = 8;
  a[9] = 17;
  a[10] = 19;
  a[11] = 23;
  a[12] = 25;
  a[13] = 29;
  a[14] = 31;
  a[15] = 37;
  a[16] = 41;
  a[17] = 43;
  a[18] = 47;
  a[19] = 49;
  int ans = 0;
  sort(a, a + 20);
  for (int i = 0; i < 20; i++) {
    cout << a[i] << endl;
    fflush(stdout);
    string s;
    cin >> s;
    fflush(stdout);
    if (s == "yes") ans++;
    if (ans == 2) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "prime" << endl;
  fflush(stdout);
  return 0;
}
