#include <bits/stdc++.h>
#pragma comment(linker, "/stack:200000000")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  vector<long long> prime;
  for (long long i = 2; i <= 50; i++) {
    long long c = 1;
    for (long long j = 2; j < i; j++) {
      if (i % j == 0) c = 0;
    }
    if (c) prime.push_back(i);
  }
  long long cnt = 0;
  long long found = 1;
  for (long long i = 0; i < prime.size(); i++) {
    if (prime[i] * found > 100) break;
    cout << prime[i] * found << endl;
    string s;
    cin >> s;
    if (s == "yes") {
      cnt++;
      if (cnt > 1) break;
      found = prime[i];
      i = i - 1;
    }
  }
  if (cnt > 1) {
    cout << "composite" << endl;
  } else
    cout << "prime" << endl;
  return 0;
}
