#include <bits/stdc++.h>
using namespace std;
int a[] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
int b[] = {4, 9, 25, 49};
char s[5];
int main() {
  int cnt = 0;
  for (int i = 0; i < 15; i++) {
    printf("%d\n", a[i]);
    fflush(stdout);
    scanf("%s", s);
    if (s[0] == 'y') {
      cnt++;
    }
    if (cnt == 2) {
      printf("composite\n");
      fflush(stdout);
      return 0;
    }
  }
  if (cnt == 0) {
    printf("prime\n");
    fflush(stdout);
    return 0;
  }
  for (int i = 0; i < 4; i++) {
    printf("%d\n", b[i]);
    fflush(stdout);
    scanf("%s", s);
    if (s[0] == 'y') {
      printf("composite\n");
      fflush(stdout);
      return 0;
    }
  }
  printf("prime\n");
  fflush(stdout);
  return 0;
}
