#include <bits/stdc++.h>
using namespace std;
string s;
bool pfound = false;
int main() {
  cout << "2\n" << flush;
  cin >> s;
  if (s == "yes") {
    pfound = true;
    cout << "4\n" << flush;
    cin >> s;
    if (s == "yes") {
      cout << "composite\n" << flush;
      return 0;
    }
  }
  cout << "3\n" << flush;
  cin >> s;
  if (s == "yes") {
    if (pfound) {
      cout << "composite\n" << flush;
      return 0;
    }
    pfound = true;
    cout << "9\n" << flush;
    cin >> s;
    if (s == "yes") {
      cout << "composite\n" << flush;
      return 0;
    }
  }
  cout << "5\n" << flush;
  cin >> s;
  if (s == "yes") {
    if (pfound) {
      cout << "composite\n" << flush;
      return 0;
    }
    pfound = true;
    cout << "25\n" << flush;
    cin >> s;
    if (s == "yes") {
      cout << "composite\n" << flush;
      return 0;
    }
  }
  cout << "7\n" << flush;
  cin >> s;
  if (s == "yes") {
    if (pfound) {
      cout << "composite\n" << flush;
      return 0;
    }
    pfound = true;
    cout << "49\n" << flush;
    cin >> s;
    if (s == "yes") {
      cout << "composite\n" << flush;
      return 0;
    }
  }
  int primes[] = {11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
  if (pfound) {
    for (int i = 0; i < 11; i++) {
      cout << primes[i] << '\n' << flush;
      cin >> s;
      if (s == "yes") {
        cout << "composite\n" << flush;
        return 0;
      }
    }
  }
  cout << "prime\n" << flush;
  return 0;
}
