#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0), ios ::sync_with_stdio(false);
  int ok = 0, pr = 0;
  for (int i = 2; i <= 50; i++) {
    int c = 0;
    for (int j = 1; j <= i; j++) {
      if (i % j == 0) c++;
    }
    if (c == 2) {
      cout << i << endl;
      fflush(stdout);
      string s;
      cin >> s;
      if (s == "yes") {
        ok = ok + 1;
        pr = i;
      }
    }
  }
  if (ok >= 2)
    cout << "composite\n";
  else if (ok == 0)
    cout << "prime\n";
  else if (pr * pr > 100)
    cout << "prime\n";
  else {
    cout << (pr * pr) << endl;
    fflush(stdout);
    string s;
    cin >> s;
    if (s == "yes")
      cout << "composite\n";
    else
      cout << "prime\n";
  }
  fflush(stdout);
}
