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