#include <bits/stdc++.h>
using namespace std;
int main() {
  int T;
  bool ok = 1;
  int x = -1;
  string s;
  int a[] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
  for (int i = 0; i <= 14; ++i) {
    printf("%d\n", a[i]);
    fflush(stdout);
    cin >> s;
    if (s == "yes") {
      if (x != -1) {
        ok = 0;
        break;
      } else
        x = a[i];
    }
  }
  if (!ok) {
    printf("composite\n");
    fflush(stdout);
    return 0;
  }
  if (x != -1 && x * x < 100) {
    printf("%d\n", x * x);
    fflush(stdout);
    cin >> s;
    if (s == "yes") ok = 0;
  }
  printf("%s\n", ok ? "prime" : "composite");
  fflush(stdout);
  return 0;
}
