#include <bits/stdc++.h>
inline unsigned int getuint() {
  char w = getchar();
  while (w < '0' || '9' < w) w = getchar();
  unsigned int ans = 0;
  for (; '0' <= w && w <= '9'; w = getchar()) ans = ans * 10 + w - '0';
  return ans;
}
inline bool is_prime(int n) {
  for (int i = 2; i * i <= n; i++)
    if (n % i == 0) return false;
  return n > 1;
}
char str[105];
bool test(int i) {
  printf("%d\n", i);
  fflush(stdout);
  scanf("%s", str);
  return str[0] == 'y';
}
int main() {
  for (int i = 1; i * i <= 100; i++)
    if (is_prime(i)) {
      if (test(i)) {
        int tag = 1;
        for (int j = 1; i * j <= 100; j++)
          if (is_prime(j) && test(i * j)) {
            tag = 0;
            break;
          }
        puts(tag ? "prime" : "composite");
        fflush(stdout);
        return 0;
      }
    }
  puts("prime");
  fflush(stdout);
  return 0;
}
