#include <bits/stdc++.h>
using namespace std;
int main() {
  int cnt = 0;
  int a[20] = {2,  3,  4,  5,  7,  9,  11, 13, 17, 19,
               23, 25, 29, 31, 37, 41, 43, 47, 49};
  for (int i = 0; i <= 18; ++i) {
    cout << a[i] << endl;
    fflush(stdout);
    string s;
    cin >> s;
    if (s[0] == 'y') cnt++;
    if (cnt >= 2) {
      cout << "composite" << endl;
      return 0;
    }
  }
  cout << "prime" << endl;
  return 0;
}
