#include <bits/stdc++.h>
using namespace std;
int ask[19] = {2,  3,  5,  7,  11, 13, 17, 19, 23, 29,
               31, 37, 41, 43, 47, 4,  9,  25, 49};
bool res[19];
int main() {
  char s[5];
  int i, j, cnt = 0;
  for (i = 0; i < 19; i++) {
    printf("%d\n", ask[i]);
    fflush(stdout);
    scanf("%s", s);
    if (s[0] == 'y') {
      res[i] = 1;
    } else {
      res[i] = 0;
    }
  }
  for (i = 0; i < 4; i++) {
    if (res[i] && res[i + 15]) {
      puts("composite\n");
      exit(0);
    }
  }
  for (i = 0; i < 15; i++) {
    if (res[i]) {
      cnt++;
    }
  }
  if (cnt >= 2) {
    puts("composite");
  } else {
    puts("prime");
  }
  return 0;
}
