#include <bits/stdc++.h>
using std::cin;
using std::cout;
int z[] = {2,  3,  4,  5,  7,  9,  11, 13, 17, 19,
           23, 25, 29, 31, 37, 41, 43, 47, 49};
int main() {
  int cnt = 0;
  char r[5];
  std::ios::sync_with_stdio(false);
  for (const int &t : z) {
    cout << t << std::endl;
    cin >> r;
    if (*r == 'y')
      if (++cnt >= 2) {
        cout << "composite";
        return 0;
      }
  }
  cout << "prime";
  return 0;
}
