#include <bits/stdc++.h>
using namespace std;
struct code {
  int x, y;
};
int n, cnt, ans, ok;
int a[1000001];
int prime[1000001];
int used[1000001];
void go(int num) {
  string s;
  cout << num << endl;
  cin >> s;
  if (s == "yes") {
    for (int i = 2; i * num <= 100; i++) {
      if (prime[i] == 1) {
        cout << num * i << endl;
        cin >> s;
        if (s == "yes") {
          cout << "composite";
          exit(0);
        }
      }
    }
    cout << "prime";
    exit(0);
  }
  for (int i = num + 1; i <= 10; i++) {
    if (prime[i] == 1) {
      go(i);
      break;
    }
  }
}
int main() {
  for (int i = 2; i <= 100; i++) {
    ok = 0;
    for (int j = 2; j * j <= i; j++) {
      if (i % j == 0) {
        ok = 1;
        break;
      }
    }
    if (ok == 0) {
      cnt++;
      prime[i] = 1;
    }
  }
  go(2);
  cout << "prime";
}
