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