#include <bits/stdc++.h>
using namespace std;
vector<int> a;
int main() {
  int cnt, i, flag, j;
  string s;
  for (i = 2; i <= 50; i++) {
    flag = 1;
    for (j = 2; j < i; j++)
      if (i % j == 0) flag = 0;
    if (flag) a.push_back(i);
  }
  for (i = 0; a[i] * a[i] <= 100; i++) {
    a.push_back(a[i] * a[i]);
  }
  cnt = 0;
  for (i = 0; i < a.size(); i++) {
    cout << a[i] << endl;
    cin >> s;
    if (s == "yes") cnt++;
    if (cnt >= 2) {
      cout << "composite";
      break;
    }
  }
  if (cnt < 2) cout << "prime";
  cout << endl;
}
