#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  vector<int> primes;
  vector<bool> erat(51ULL, true);
  erat[0] = erat[1] = false;
  for (int i = 0; i < (int)erat.size(); ++i) {
    if (erat[i]) {
      primes.push_back(i);
      for (int j = 2 * i; j < (int)erat.size(); j += i) {
        erat[j] = false;
      }
    }
  }
  vector<int> arr(primes.size());
  int c = 0;
  for (int i = 0; i < primes.size(); ++i) {
    int w = primes[i];
    while (c < 2) {
      cout << w << endl;
      string s;
      cin >> s;
      if (s == "no") break;
      c++;
      w *= primes[i];
      if (w > 100) break;
    }
  }
  cout << (c < 2 ? "prime" : "composite") << endl;
  return 0;
}
