#include <bits/stdc++.h>
using namespace std;
int cr[1000], dist[1000], ans = 0;
int two[] = {4, 22, 26, 34, 38, 46, 58, 62, 74, 82, 86, 94, -1};
int three[] = {9, 33, 39, 51, 57, 69, 87, 93, -1};
int five[] = {25, 55, 65, 85, 95, -1};
int seven[] = {49, 77, 91, -1};
int a[10], yes, no;
int main() {
  long long n;
  char res[3];
  printf("%d\n", 2);
  fflush(stdout);
  scanf("%s", res);
  if (strcmp(res, "yes") == 0) {
    yes++;
    a[2] = 1;
  } else
    no++;
  printf("%d\n", 3);
  fflush(stdout);
  scanf("%s", res);
  if (strcmp(res, "yes") == 0) {
    yes++;
    a[3] = 1;
  } else
    no++;
  printf("%d\n", 5);
  fflush(stdout);
  scanf("%s", res);
  if (strcmp(res, "yes") == 0) {
    yes++;
    a[5] = 1;
  } else
    no++;
  printf("%d\n", 7);
  fflush(stdout);
  scanf("%s", res);
  if (strcmp(res, "yes") == 0) {
    yes++;
    a[7] = 1;
  } else
    no++;
  if (no == 4) {
    printf("prime");
    fflush(stdout);
    return 0;
  }
  if (yes > 1) {
    printf("composite");
    fflush(stdout);
    return 0;
  }
  if (a[2] == 1) {
    for (int i = 0; two[i] != -1; i++) {
      printf("%d\n", two[i]);
      fflush(stdout);
      scanf("%s", res);
      if (strcmp(res, "yes") == 0) {
        printf("composite");
        fflush(stdout);
        return 0;
      }
    }
  }
  if (a[3] == 1) {
    for (int i = 0; three[i] != -1; i++) {
      printf("%d\n", three[i]);
      fflush(stdout);
      scanf("%s", res);
      if (strcmp(res, "yes") == 0) {
        printf("composite");
        fflush(stdout);
        return 0;
      }
    }
  }
  if (a[5] == 1) {
    for (int i = 0; five[i] != -1; i++) {
      printf("%d\n", five[i]);
      fflush(stdout);
      scanf("%s", res);
      if (strcmp(res, "yes") == 0) {
        printf("composite");
        fflush(stdout);
        return 0;
      }
    }
  }
  if (a[7] == 1) {
    for (int i = 0; seven[i] != -1; i++) {
      printf("%d\n", seven[i]);
      fflush(stdout);
      scanf("%s", res);
      if (strcmp(res, "yes") == 0) {
        printf("composite");
        fflush(stdout);
        return 0;
      }
    }
  }
  printf("prime");
  fflush(stdout);
  return 0;
}
