#include <bits/stdc++.h>
using namespace std;
void init() {}
int ars[] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
int main() {
  int counts = 0;
  char strs[5];
  int detectag = 0;
  for (int i = 0; i < 15; i++) {
    cout << ars[i] << endl;
    fflush(stdout);
    cin >> strs;
    if (strcmp(strs, "yes") == 0) counts++;
    if (ars[i] < 10) {
      printf("%d\n", ars[i] * ars[i]);
      fflush(stdout);
      cin >> strs;
      if (strcmp(strs, "yes") == 0) counts++;
    }
    if (counts >= 2) {
      detectag = 1;
      break;
    }
  }
  if (detectag) {
    cout << "composite";
    cout << endl;
    fflush(stdout);
  } else {
    cout << "prime";
    cout << endl;
    fflush(stdout);
  }
  return 0;
}
