#include <bits/stdc++.h>
using namespace std;
void Shrimad_Bhagavad_Gita() {
  string s;
  long long int v[25] = {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};
  for (long long int i = 0; i < (long long int)15; i++) {
    cout << v[i] << "\n";
    cout.flush();
    cin >> s;
    if (s.compare("yes") == 0) {
      for (long long int j = i; j < 25 && v[i] * v[j] <= 100; j++) {
        cout << v[i] * v[j] << "\n";
        cout.flush();
        cin >> s;
        if (s.compare("yes") == 0) {
          cout << "composite\n";
          cout.flush();
          return;
        }
      }
      break;
    }
  }
  cout << "prime\n";
  cout.flush();
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int problem = 1;
  while (problem--) {
    Shrimad_Bhagavad_Gita();
  }
  return 0;
}
