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