#include <bits/stdc++.h>
using namespace std;
bool prime(long long n) {
  if (n <= 1) return false;
  for (long long i = 2; i < n; i++) {
    if (n % i == 0) {
      return false;
    }
  }
  return true;
}
int main() {
  long long c = 0, i;
  string s;
  for (i = 2; i <= 50; i++) {
    if (prime(i)) {
      cout << i << "\n";
      cin >> s;
      if (s == "yes") c++;
      if (i * i <= 100) {
        cout << i * i << "\n";
        cin >> s;
        if (s == "yes") c++;
      }
    }
  }
  if (c > 1) {
    cout << "composite";
  } else {
    cout << "prime";
  }
}
