#include <bits/stdc++.h>
using namespace std;
int a[101];
vector<int> primes;
int main() {
  primes.push_back(4);
  primes.push_back(9);
  primes.push_back(25);
  primes.push_back(49);
  for (int i = 2; i < 101; i++) {
    if (a[i] == 0) {
      primes.push_back(i);
      for (int j = i + i; j < 101; j += i) a[j] = 1;
    }
  }
  int ans = 0;
  for (int i = 0; i < 20; i++) {
    cout << primes[i] << endl;
    string a;
    cin >> a;
    if (a == "yes") ans++;
  }
  cout << ((ans < 2) ? "prime" : "composite") << endl;
  return 0;
}
