#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[20];
  vector<bool> isPrime;
  isPrime.resize(1001, true);
  bool flag = true;
  for (int i = 2; i < 100; i++) {
    if (isPrime[i]) {
      for (int j = i * 2; j <= 100; j += i) {
        isPrime[j] = false;
      }
    }
  }
  int counter = 0;
  int prime = 1;
  for (int i = 2; i <= 50; i++) {
    if (isPrime[i]) {
      cout << i << '\n';
      string x;
      fflush(stdout);
      cin >> x;
      if (x == "yes") {
        counter++;
        prime = i;
      }
    }
  }
  if (prime * prime <= 100 && prime != 1) {
    cout << (prime * prime) << '\n';
    string x;
    fflush(stdout);
    cin >> x;
    if (x == "yes") {
      counter++;
    }
  }
  if (counter < 2) {
    cout << "prime";
  } else {
    cout << "composite";
  }
  return 0;
}
