#include <bits/stdc++.h>
using namespace std;
int prime[] = {2,  3,  5,  7,  11, 13, 17, 19, 23, 29, 31, 37, 41,
               43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97};
int main(void) {
  int i = 0;
  int cnt = 0;
  int now = 1;
  while (i <= 24) {
    printf("%d\n", prime[i]);
    fflush(stdout);
    char response[5];
    scanf("%s", response);
    if (response[0] == 'y') {
      cnt++;
      int now = prime[i];
      if (now * now <= 100) {
        printf("%d\n", now * now);
        fflush(stdout);
        scanf("%s", response);
        if (response[0] == 'y') {
          cnt++;
        }
      }
    }
    i++;
    if (cnt >= 2) break;
    if (i >= 17) break;
  }
  if (cnt <= 1)
    printf("prime\n");
  else
    printf("composite\n");
  fflush(stdout);
  return 0;
}
