#include <bits/stdc++.h>
using namespace std;
string str;
string yes = "yes";
int num[] = {2,  3,  4,  5,  7,  9,  25, 49, 81, 11,
             13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
int main() {
  int count = 0;
  for (int i = 0; i < 20; i++) {
    cout << num[i] << endl;
    cin >> str;
    if (str == yes) count++;
    if (count >= 2) break;
  }
  if (count >= 2)
    cout << "composite" << endl;
  else
    cout << "prime" << endl;
  return 0;
}
