#include <bits/stdc++.h>
using namespace std;
long long nt[105];
string s;
vector<long long> V;
void ts() {
  nt[0] = 0;
  nt[1] = 0;
  for (long long i = 2; i <= 100; i++) {
    nt[i] = 1;
  }
  for (long long i = 2; i <= 100; i++) {
    if (nt[i] == 1) {
      for (long long j = i * i; j <= 100; j += i) {
        nt[j] = 0;
      }
      V.push_back(i);
    }
  }
}
signed main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  V.push_back(4);
  V.push_back(9);
  V.push_back(25);
  V.push_back(49);
  ts();
  long long i = 0;
  long long dem = 0;
  while (i < 20) {
    cout << V[i] << endl;
    cin >> s;
    if (s == "yes") dem++;
    if (dem == 2) {
      cout << "composite";
      return 0;
    }
    i++;
  }
  cout << "prime";
  return 0;
}
