#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, t;
  int cnt = 0, k = 0;
  int a[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 i = 0;
  while (k < 20) {
    printf("%d\n", a[i]);
    fflush(stdout);
    char response[4];
    scanf("%s", response);
    if (strcmp(response, "yes") == 0) {
      cnt++;
      if (a[i] <= 10) {
        k++;
        printf("%d\n", a[i] * a[i]);
        fflush(stdout);
        char response[4];
        scanf("%s", response);
        if (strcmp(response, "yes") == 0) cnt++;
      }
    }
    i++;
    if (cnt >= 2) {
      printf("composite\n");
      fflush(stdout);
      return 0;
    }
    k++;
  }
  printf("prime\n");
  fflush(stdout);
  return 0;
}
