#include <bits/stdc++.h>
using namespace std;
const long long inf = (long long)1000000000000;
const double eps = (double)1e-8;
const int mod = (int)1000000007;
const int maxn = (int)1e5 + 5;
int p[1111], cnt = 0, y = 0;
string st;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  for (int i = (2); i <= (50); i++) {
    if (p[i]) continue;
    cout << i << "\n";
    cout.flush();
    cin >> st;
    if (st == "yes") {
      y++;
      if (y == 1 && i * i <= 100) {
        cout << i * i << "\n";
        cout.flush();
        cin >> st;
        if (st == "yes") y++;
      }
    }
    if (y > 1) break;
    for (int j = i * i; j <= 100; j += i) p[j] = 1;
  }
  if (y > 1)
    cout << "composite"
         << "\n";
  else
    cout << "prime"
         << "\n";
  cout.flush();
  return 0;
}
