#include <bits/stdc++.h>
using namespace std;
int main() {
  string ans;
  int i, j, k, l, ct = 0;
  cout << "2\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "3\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "4\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "5\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "7\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "11\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "13\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "17\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "19\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "23\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "29\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "31\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "37\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "41\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "43\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "47\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "9\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "25\n";
  cin >> ans;
  if (ans == "yes") ct++;
  cout << "49\n";
  cin >> ans;
  if (ans == "yes") ct++;
  if (ct >= 2)
    cout << "composite\n";
  else
    cout << "prime\n";
  fflush(stdout);
  return 0;
}
