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