#include <bits/stdc++.h>
using namespace std;
inline vector<string> __split(const string& s, char c) {
  vector<string> v;
  stringstream ss(s);
  string x;
  while (getline(ss, x, c)) v.emplace_back(x);
  return move(v);
}
inline void err(vector<string>::iterator it) {}
template <typename T, typename... Args>
inline void err(vector<string>::iterator it, T a, Args... args) {
  auto item = it->substr((*it)[0] == ' ', it->length());
  cerr << item << ": " << a << '\n';
  err(++it, args...);
}
static char buff[(int)1e6 + 17];
static constexpr long long inf = (long long)1e9 + 7ll;
inline void config_io(const bool& __fastio) {
  if (__fastio) {
    std::ios_base::sync_with_stdio(false);
    std::cin.tie(nullptr);
  }
  if (!std::string("").empty()) {
    assert(
        freopen(""
                ".in",
                "r", stdin));
    assert(
        freopen(""
                ".out",
                "w", stdout));
  }
}
const int maxn = (int)2e5 + 17;
int n = 25;
vector<int> pr = {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 main() {
  int cnt = 0, op = 0;
  for (int i = 0; i < 20; ++i)
    if (pr[i] < 50) {
      printf("%d\n", pr[i]);
      fflush(stdout);
      scanf("%s", buff);
      if (buff[0] == 'y') ++cnt;
      ++op;
      if (pr[i] * pr[i] < 100) {
        printf("%d\n", pr[i] * pr[i]);
        fflush(stdout);
        scanf("%s", buff);
        if (buff[0] == 'y') ++cnt;
        ++op;
      }
    }
  if (cnt <= 1)
    printf("prime\n");
  else
    printf("composite\n");
  fflush(stdout);
  return 0;
}
