#include <bits/stdc++.h>
using namespace std;
int a[16] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53};
int main() {
  int n, c = 0, prime;
  char v[30];
  for (int i = 0; i < 16; i++) {
    printf("%d\n", a[i]);
    fflush(stdout);
    scanf("%s", v);
    if (v[0] == 'y') {
      prime = a[i];
      c++;
    }
    if (c >= 2) break;
  }
  if (c >= 2) {
    printf("composite");
    fflush(stdout);
  } else {
    if (c == 1) {
      v[0] = 'n';
      if (prime * prime <= 100) {
        printf("%d\n", prime * prime);
        fflush(stdout);
        scanf("%s", v);
      }
      if (v[0] == 'y') {
        printf("composite");
        fflush(stdout);
      } else {
        printf("prime");
        fflush(stdout);
      }
    } else {
      printf("prime");
      fflush(stdout);
    }
  }
  return 0;
}
