#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  int temp, yes_count = 0;
  int a[] = {2,  3,  5,  7,  11, 13, 17, 19, 23, 29,
             31, 37, 41, 43, 47, 49, 25, 9,  4,  53};
  string ans;
  float sq;
  cout << a[0] << endl;
  fflush(stdout);
  cin >> ans;
  for (int i = 1; i < 20; i++) {
    if (ans == "yes") {
      yes_count++;
    }
    if (yes_count > 1) {
      break;
    }
    cout << a[i] << endl;
    fflush(stdout);
    cin >> ans;
  }
  if (ans == "yes") yes_count++;
  if (yes_count > 1) {
    cout << "composite" << endl;
  } else {
    cout << "prime" << endl;
  }
  fflush(stdout);
  return 0;
}
