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