#include <bits/stdc++.h>
using namespace std;
int main() {
  std::ios::sync_with_stdio(false);
  cin.tie(NULL);
  string s;
  int divide = 0;
  cout << "4" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    cout << "composite" << endl;
    fflush(stdout);
    return 0;
  }
  cout << "9" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    cout << "composite" << endl;
    fflush(stdout);
    return 0;
  }
  cout << "25" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    cout << "composite" << endl;
    fflush(stdout);
    return 0;
  }
  cout << "49" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    cout << "composite" << endl;
    fflush(stdout);
    return 0;
  }
  cout << "2" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    divide++;
    if (divide == 2) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "3" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    divide++;
    if (divide == 2) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "5" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    divide++;
    if (divide == 2) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "7" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    divide++;
    if (divide == 2) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "11" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    divide++;
    if (divide == 2) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "13" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    divide++;
    if (divide == 2) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "17" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    divide++;
    if (divide == 2) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "19" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    divide++;
    if (divide == 2) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "23" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    divide++;
    if (divide == 2) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "29" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    divide++;
    if (divide == 2) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "31" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    divide++;
    if (divide == 2) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "37" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    divide++;
    if (divide == 2) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "41" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    divide++;
    if (divide == 2) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "43" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    divide++;
    if (divide == 2) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "47" << endl;
  fflush(stdout);
  cin >> s;
  if (s == "yes") {
    divide++;
    if (divide == 2) {
      cout << "composite" << endl;
      fflush(stdout);
      return 0;
    }
  }
  cout << "prime" << endl;
  fflush(stdout);
  return 0;
}
