#include <bits/stdc++.h>
using namespace std;
int main() {
  int primes[15] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
  char answer[3];
  for (int i = 0; i < 4; ++i) {
    printf("%d\n", primes[i]);
    fflush(stdout);
    scanf("%s", answer);
    if (!strcmp(answer, "yes")) {
      for (int j = 0; primes[i] * primes[j] <= 100; ++j) {
        printf("%d\n", primes[i] * primes[j]);
        fflush(stdout);
        scanf("%s", answer);
        if (!strcmp(answer, "yes")) {
          printf("composite\n");
          return 0;
        }
      }
      printf("prime\n");
      return 0;
    }
  }
  printf("prime\n");
}
