#include <bits/stdc++.h>
using namespace std;
constexpr int MAX = 1e5 + 5;
using ll = long long;
const double PI = acos(-1.0);
ll p[] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53};
int main() {
  ll n, res = 0, i, j = 0;
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  for (i = 2; i <= 10; i++) {
    string ans;
    cout << i << "\n" << flush;
    cin >> ans;
    if (ans == "yes") {
      if (i == 2) {
        j = 1;
      } else if (i == 3) {
        j = 2;
      } else if (i == 5) {
        j = 3;
      } else if (i == 7) {
        j = 4;
      }
      if (j == 0) {
        cout << "composite"
             << "\n";
        return 0;
      } else {
        for (;; j++) {
          n = i * p[j];
          if (n > 100) {
            break;
          }
          cout << p[j] << "\n" << flush;
          cin >> ans;
          if (ans == "yes") {
            cout << "composite"
                 << "\n";
            return 0;
          }
        }
        n = i;
        for (;;) {
          n *= i;
          if (n > 100) {
            cout << "prime"
                 << "\n";
            return 0;
          }
          cout << n << "\n" << flush;
          cin >> ans;
          if (ans == "yes") {
            cout << "composite"
                 << "\n";
            return 0;
          }
        }
      }
      return 0;
    }
  }
  cout << "prime"
       << "\n";
  return 0;
}
