#include <bits/stdc++.h>
using namespace std;
int main() {
  int a;
  string s;
  cin >> a;
  if (a > 3200)
    cout << "red";
  else if (a < 3200)
    2800 <= a < 5000;
  cout << "pink";
  return 0;
}
