#include <bits/stdc++.h>
int prime[20] = {2,  3,  4,  5,  7,  9,  11, 13, 17, 19,
                 23, 25, 29, 31, 35, 37, 41, 43, 47, 49};
int main() {
  int i;
  int count = 0;
  char response[4];
  for (i = (0); i < (20); i++) {
    printf("%d\n", prime[i]);
    fflush(stdout);
    scanf("%s", response);
    if (!strcmp(response, "yes")) {
      count++;
    }
  }
  if (count < 2) {
    printf("prime");
  } else {
    printf("composite");
  }
  fflush(stdout);
  return 0;
}
