#include <bits/stdc++.h>
using namespace std;
int qaq[20] = {2,  3,  4,  5,  7,  9,  11, 13, 17, 19,
               21, 23, 25, 29, 31, 37, 41, 43, 47, 49};
int main() {
  int cnt = 0;
  string a;
  for (int i = 0; i <= 19; i++) {
    cout << qaq[i] << endl;
    fflush(stdout);
    cin >> a;
    if (a[0] == 'y') cnt++;
    if (cnt == 2) {
      puts("composite");
      fflush(stdout);
      return 0;
    }
  }
  puts("prime");
  fflush(stdout);
  return 0;
}
