#include <bits/stdc++.h>
using namespace std;
int main() {
  bool a[101];
  memset(a, true, 101);
  a[1] = false;
  a[0] = false;
  for (int i = 2; i <= 10; i++) {
    if (a[i]) {
      int j = 2 * i;
      while (j <= 100) {
        if (a[j]) a[j] = false;
        j += i;
      }
    }
  }
  std::vector<int> v;
  std::vector<int> v1;
  for (int i = 0; i < 50; i++) {
    if (a[i]) v.push_back(i);
  }
  v1.push_back(4);
  v1.push_back(9);
  v1.push_back(25);
  v1.push_back(49);
  string s;
  int i = 0;
  while (i < v1.size()) {
    cout << v1[i] << endl;
    fflush(stdout);
    cin >> s;
    if (s[0] == 'y' || s[0] == 'Y') {
      cout << "composite";
      return 0;
    }
    i++;
  }
  int count = 0;
  i = 0;
  while (i < v.size() && count < 2) {
    cout << v[i] << endl;
    fflush(stdout);
    cin >> s;
    if (s[0] == 'y' || s[0] == 'Y') count++;
    i++;
  }
  if (count == 2) {
    cout << "composite";
  } else
    cout << "prime";
  return 0;
}
