#include <bits/stdc++.h>
using namespace std;
const int inf = 0x3f3f3f3f;
const int Mod = 1000000007;
const int maxn = 100005;
int ans, cnt, m, n, num, tmp;
int p[15] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47};
int a[15];
int main() {
  while (1) {
    int h;
    char s[120];
    for (int i = 0; i < 15; i++) {
      cout << p[i] << endl;
      fflush(stdout);
      cin >> s;
      if (s[0] == 'y')
        a[i] = 1;
      else
        a[i] = 0;
    }
    int b[4] = {4, 9, 25, 49};
    for (int j = 0; j < 4; j++) {
      cout << b[j] << endl;
      fflush(stdout);
      cin >> s;
      if (s[0] == 'y') {
        puts("composite");
        break;
      }
    }
    int sum = 0;
    for (int i = 0; i < 15; i++) sum += a[i];
    if (sum < 2) {
      puts("prime");
      break;
    } else {
      puts("composite");
      break;
    }
  }
  return 0;
}
