#include <bits/stdc++.h>
using namespace std;
inline int read() {
  int x = 0, f = 1;
  char ch = getchar();
  for (; ch < '0' || ch > '9'; ch = getchar())
    if (ch == '-') f = -1;
  for (; ch >= '0' && ch <= '9'; ch = getchar()) x = x * 10 + ch - '0';
  return x * f;
}
int p[30] = {0,  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};
char ch[10];
int main() {
  int cnt = 0;
  int pos;
  for (int i = 1; i <= 17; i++) {
    printf("%d\n", p[i]);
    fflush(stdout);
    scanf("%s", ch);
    if (ch[0] == 'y') {
      cnt++;
      pos = p[i];
    }
  }
  if (pos * pos <= 100 && cnt == 1) {
    printf("%d\n", pos * pos);
    fflush(stdout);
    scanf("%s", ch);
    if (ch[0] == 'y') cnt++;
  }
  if (cnt >= 2) {
    printf("composite\n");
  } else {
    printf("prime\n");
  }
  fflush(stdout);
  return 0;
}
