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