#include <bits/stdc++.h>
using namespace std;
void Salman() {}
bool isprime(int n) {
  if (n < 2) return false;
  if (n == 2) return true;
  for (int i = 2; i * i <= n; i++) {
    if (n % i == 0) return false;
  }
  return true;
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  vector<int> ara;
  for (int i = 2; i <= 50; i++) {
    if (isprime(i))
      ara.push_back(i);
    else if (i == 4 || i == 9 || i == 25 || i == 49)
      ara.push_back(i);
  }
  int cnt = 0;
  for (int i = 0; i < ara.size(); i++) {
    cout << ara[i] << endl;
    string s;
    cin >> s;
    if (s == "yes") cnt++;
  }
  if (!cnt)
    cout << "prime" << endl;
  else if (cnt == 1)
    cout << "prime" << endl;
  else
    cout << "composite" << endl;
}
