#include <bits/stdc++.h>
using namespace std;
inline void read(int &x) {
  x = 0;
  char ch;
  bool flag = false;
  while (ch = getchar(), ch < '!')
    ;
  if (ch == '-') ch = getchar(), flag = true;
  while (x = 10 * x + ch - '0', ch = getchar(), ch > '!')
    ;
  if (flag) x = -x;
}
inline int cat_max(const int &a, const int &b) { return a > b ? a : b; }
inline int cat_min(const int &a, const int &b) { return a < b ? a : b; }
int p[] = {2,  3,  5,  7,  11, 13, 17, 19, 23, 29,
           31, 37, 41, 43, 47, 4,  9,  25, 49};
char s[10];
int main() {
  int cnt = 0;
  for (int i = 0; i < 19; ++i) {
    printf("%d\n", p[i]);
    fflush(stdout);
    scanf("%s", s);
    if (!strcmp(s, "yes")) ++cnt;
  }
  if (cnt >= 2)
    puts("composite");
  else
    puts("prime");
  fflush(stdout);
  getchar();
  getchar();
  return 0;
}
