#include <bits/stdc++.h>
using namespace std;
long long n, t, v, x, y;
string s;
bool f;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  x = 0;
  long long a[15] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
  for (long long i = 0; i < 15; ++i) {
    cout << a[i] << endl;
    cin >> s;
    if (s == "yes") {
      ++x;
      if (a[i] * a[i] <= 100) {
        cout << a[i] * a[i] << endl;
        cin >> s;
        if (s == "yes") ++x;
      }
    }
    if (x > 1) break;
  }
  if (x > 1)
    cout << "composite" << endl;
  else
    cout << "prime" << endl;
}
