#include <bits/stdc++.h>
using namespace std;
int a[25] = {2,  3,  5,  7,  11, 13, 17, 19, 23, 29,
             31, 37, 41, 43, 47, 4,  9,  25, 49};
int main() {
  string s;
  int num = 0;
  for (int i = 0; i < 19; i++) {
    printf("%d\n", a[i]);
    fflush(stdout);
    cin >> s;
    if (s == "yes") num++;
  }
  if (num <= 1)
    printf("prime\n");
  else
    printf("composite\n");
  fflush(stdout);
}
