#include <bits/stdc++.h>
using namespace std;
void file() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
}
const long long INF64 = 1e18;
const int INF = 1e9 + 7;
const long double EPS = 1e-9;
int check[] = {2,  3,  4,  5,  49, 7,  25, 9,  10, 11,
               13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
int main() {
  file();
  int cnt = 0;
  for (int i = 0; i < int(20); i++) {
    cout << check[i] << endl;
    fflush(stdout);
    string v;
    cin >> v;
    if (v == "yes") cnt++;
  }
  if (cnt > 1)
    cout << "composite\n";
  else
    cout << "prime\n";
  fflush(stdout);
}
