#include <bits/stdc++.h>
using namespace std;
int p[] = {2,  3,  5,  7,  11, 13, 17, 19, 23, 29,
           31, 37, 41, 43, 47, 4,  9,  25, 49};
string s;
int main() {
  int cnt = 0;
  for (int i = 0; i < 19; i++) {
    printf("%d\n", p[i]);
    fflush(stdout);
    cin >> s;
    if (s == "yes") {
      cnt++;
    }
  }
  if (cnt > 1)
    puts("composite");
  else
    puts("prime");
  fflush(stdout);
  getchar();
  getchar();
  return 0;
}
