#include <bits/stdc++.h>
using namespace std;
int a[19] = {2,  3,  5,  7,  11, 13, 17, 19, 23, 29,
             31, 37, 41, 43, 47, 4,  9,  25, 49},
    k, i;
int main() {
  string w;
  while (i < 19) {
    cout << a[i++] << '\n';
    cin >> w;
    if (w == "yes") k++;
  }
  cout << (k < 2 ? "prime" : "composite");
}
