#include <bits/stdc++.h>
using namespace std;
const long double PI = 3.141592653589793;
const int eps = 1e-10;
const int base = 1e9;
const int N = 100005;
bool pr(int n) {
  if (n == 2) return true;
  for (int i = 2; i * i <= n; i++)
    if (n % i == 0) return false;
  return true;
}
int main() {
  vector<int> v;
  for (int i = 2; i <= 100; i++)
    if (pr(i)) {
      v.push_back(i);
    }
  int c = 0;
  for (int i = 0; i < 16; i++) {
    cout << v[i] << endl;
    fflush(stdout);
    string s;
    cin >> s;
    if (s == "yes") c++;
    if (v[i] == 2 || v[i] == 3 || v[i] == 5 || v[i] == 7) {
      cout << v[i] * v[i] << endl;
      fflush(stdout);
      cin >> s;
      if (s == "yes") c++;
    }
  }
  if (c >= 2)
    cout << "composite" << endl;
  else
    cout << "prime" << endl;
  fflush(stdout);
  return 0;
}
