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