#include <bits/stdc++.h>
using namespace std;
int p[105] = {0}, ans[105], hx = 0;
int main() {
  for (int i = 2; i < 105; i++) {
    if (p[i] == 0) {
      for (int j = i + i; j <= 105; j += i) {
        p[j] = 1;
      }
      ans[hx++] = i;
    }
  }
  hx = 0;
  char s[5];
  ans[19] = 4;
  ans[18] = 9;
  ans[17] = 25;
  ans[16] = 49;
  for (int i = 0; i < 20; i++) {
    printf("%d\n", ans[i]);
    fflush(stdout);
    scanf("%s", s);
    if (strlen(s) == 3) hx++;
    if (hx >= 2) break;
  }
  if (hx >= 2) {
    puts("composite");
  } else {
    puts("prime");
  }
  fflush(stdout);
}
