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