#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9 + 23;
const int MOD = (int)1e9 + 7;
bool vis[101];
vector<int> p;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  for (int i = 2; i <= 100; i++) {
    if (vis[i] == 0) {
      for (int j = i * 2; j <= 100; j += i) {
        vis[j] = true;
      }
      p.push_back(i);
    }
  }
  bool found = 0;
  int o;
  string s;
  for (int i : p) {
    if (i > 10) break;
    cout << i << endl;
    cin >> s;
    if (s[0] == 'y') {
      found = true;
      o = i;
      break;
    }
  }
  if (!found) {
    cout << "prime" << endl;
    return 0;
  }
  for (int i : p) {
    if (i * o > 100) break;
    cout << i * o << endl;
    cin >> s;
    if (s[0] == 'y') {
      cout << "composite" << endl;
      return 0;
    }
  }
  cout << "prime" << endl;
  return 0;
}
