#include <bits/stdc++.h>
using namespace std;
int ndiv = 0;
void check() {
  string s;
  cin >> s;
  if (s == "yes") ndiv++;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  vector<int> v = {2,  4,  3,  9,  5,  25, 7,  49, 11, 13,
                   17, 19, 23, 29, 31, 37, 41, 43, 47};
  for (int& i : v) {
    cout << i << endl;
    check();
  }
  if (ndiv < 2)
    cout << "prime" << endl;
  else
    cout << "composite" << endl;
  return 0;
}
