#include <bits/stdc++.h>
using namespace std;
int main() {
  string repo;
  int pt = 0;
  const int prime[] = {0,  2,  3,  5,  7,  11, 13, 17, 19, 23,
                       29, 31, 37, 41, 43, 47, 53, 59, 61};
  for (int i = 1; i <= 18; ++i) {
    cout << prime[i] << endl;
    fflush(stdout);
    cin >> repo;
    if (repo == "yes") {
      pt = i;
      break;
    }
  }
  if (pt) {
    for (int i = pt; prime[pt] * prime[i] <= 100; ++i) {
      cout << prime[pt] * prime[i] << endl;
      fflush(stdout);
      cin >> repo;
      if (repo == "yes") {
        cout << "composite" << endl;
        return 0;
      }
    }
    cout << "prime" << endl;
  } else {
    cout << "prime" << endl;
  }
  return 0;
}
