#include <bits/stdc++.h>
using namespace std;
const int nm = 1e5 + 10;
int prime[15] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
int main() {
  ios::sync_with_stdio(0), cin.tie(0);
  bool res = 0;
  bool rec = 0;
  int ind = 0;
  for (int i = 0; i < 15 && !res; i++) {
    cout << prime[i] << endl;
    fflush(stdout);
    char a[4];
    cin >> a;
    if (a[0] == 'y') {
      ind = prime[i];
      res = 1;
    }
  }
  if (res == 1) {
    for (int i = 0; i < 15 && prime[i] * ind <= 100 && !rec; i++) {
      if (ind == prime[i])
        cout << ind * ind << endl;
      else
        cout << prime[i] << endl;
      fflush(stdout);
      char a[4];
      cin >> a;
      if (a[0] == 'y') rec = 1;
    }
  }
  if (rec == 1 && res == 1)
    cout << "composite\n";
  else
    cout << "prime\n";
  return 0;
}
