#include <bits/stdc++.h>
using namespace std;
int main() {
  vector<int> arr{2,  3,  5,  7,  11, 13, 17, 19, 23, 29,
                  31, 37, 41, 43, 47, 4,  9,  25, 49};
  int i = 0, k = 0;
  int l = arr.size();
  while (i < l) {
    string s;
    cout << arr[i] << endl;
    cin >> s;
    if (s == "yes") k++;
    if (k == 2) {
      cout << "composite" << endl;
      break;
    }
    i++;
  }
  if (k < 2) {
    cout << "prime" << endl;
  }
  return 0;
}
