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