#include <bits/stdc++.h>
using namespace std;
bool query(int n) {
  cout << n << endl;
  string s;
  cin >> s;
  if (s == "yes") {
    return true;
  }
  return false;
}
void solve() {
  int primes[15] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
  for (int i : {4, 9, 25, 49}) {
    if (query(i)) {
      cout << "composite";
      return;
    }
  }
  int count = 0;
  for (int i = 0; i < 15; i++) {
    if (query(primes[i])) {
      count++;
    }
  }
  if (count == 0 || count == 1)
    cout << "prime";
  else
    cout << "composite";
}
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  solve();
}
