#include <bits/stdc++.h>
using namespace std;
int a[] = {2,  3,  5,  7,  11, 13, 17, 19, 21, 23,
           29, 31, 37, 41, 43, 47, 51, 59, 61, 67};
int isPrime(int i) {
  int t = a[i++];
  string str;
  if (t * t < 101) {
    cout << t * t << endl;
    fflush(stdout);
    cin >> str;
    if (str == "yes") return 0;
  }
  while (i < 18) {
    cout << a[i] << endl;
    fflush(stdout);
    cin >> str;
    if (str == "yes") return 0;
    ++i;
  }
  return 1;
}
int main() {
  ios::sync_with_stdio(false);
  string str;
  int i = 0;
  cout << a[i] << endl;
  fflush(stdout);
  while (i < 18) {
    cin >> str;
    if (str == "yes") {
      if (isPrime(i)) break;
      cout << "composite\n";
      fflush(stdout);
      return 0;
    } else {
      i++;
      if (i == 18) break;
      cout << a[i] << endl;
      fflush(stdout);
    }
  }
  cout << "prime\n";
  fflush(stdout);
}
