#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  int pr[] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
  int n = 15, cnt = 0;
  for (int i = 0; i <= 14; i++) {
    int yy = pr[i];
    cout << yy;
    cout << "\n";
    string x;
    cin >> x;
    if (x == "yes") cnt++;
    if (cnt >= 2) break;
    while (x == "yes") {
      yy = yy * pr[i];
      if (yy > 100) break;
      cout << yy;
      cout << "\n";
      cin >> x;
      if (x == "yes") cnt++;
      if (cnt >= 2) break;
    }
    if (cnt >= 2) break;
  }
  if (cnt < 2)
    cout << "prime";
  else
    cout << "composite";
  return 0;
}
