#include <bits/stdc++.h>
using namespace std;
int main() {
  int ans = 0;
  for (int i = 2; i <= 50; i++) {
    int flag = 1;
    for (int j = 2; j <= sqrt(i); j++) {
      if (i % j == 0) {
        flag = 0;
      }
    }
    if (flag) {
      cout << i << endl;
      fflush(stdout);
      string s;
      cin >> s;
      if (s == "yes") {
        ans++;
      }
      if (i <= 7) {
        cout << i * i << endl;
        fflush(stdout);
        string s1;
        cin >> s1;
        if (s1 == "yes") {
          cout << "composite" << endl;
          return 0;
        }
      }
    }
  }
  if (ans >= 2) {
    cout << "composite" << endl;
    return 0;
  }
  cout << "prime" << endl;
  return 0;
}
