#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[25] = {2,  3,  5,  7,  11, 13, 17, 19, 23, 29, 31, 37, 41,
               43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97};
  int i = 0, j = 15, x;
  bool flag = false, flag2 = false;
  while (i < j) {
    cout << a[i] << endl;
    string s;
    cin >> s;
    if (s == "yes" && flag == false) {
      x = a[i];
      flag = true;
    } else if (s == "yes" && flag == true) {
      flag2 = true;
      break;
    }
    i++;
  }
  if (flag2 == true)
    cout << "composite" << endl;
  else {
    if (flag == true) {
      if (x * x > 100)
        cout << "prime" << endl;
      else {
        cout << x * x << endl;
        string s;
        cin >> s;
        if (s == "yes")
          cout << "composite" << endl;
        else
          cout << "prime" << endl;
      }
    } else
      cout << "prime" << endl;
  }
  return 0;
}
