#include <bits/stdc++.h>
int pr[25] = {2,  3,  5,  7,  11, 13, 17, 19, 23, 29, 31, 37, 41,
              43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97};
int sq[10] = {4, 9, 25, 49};
char s[10];
int main() {
  int i, f = 0, g = 0;
  for (i = 0; i < 16; i++) {
    printf("%d\n", pr[i]);
    fflush(stdout);
    gets(s);
    if (strcmp(s, "yes") == 0) f++;
  }
  for (i = 0; i < 4; i++) {
    printf("%d\n", sq[i]);
    fflush(stdout);
    gets(s);
    if (strcmp(s, "yes") == 0) g++;
  }
  if (f >= 2 || (f == 1 && g >= 1))
    printf("composite\n");
  else
    printf("prime\n");
  return 0;
}
