#include <bits/stdc++.h>
using namespace std;
const long long h = 3e6 + 10;
int a;
string x;
int main() {
  cin >> a >> x;
  if (x == "pink") {
    if (a > 3200 || a == 3200) {
      cout << "pink" << endl;
      return 0;
    } else {
      cout << "red" << endl;
      return 0;
    }
  } else {
    if (a > 3200 || a == 3200) {
      cout << "red" << endl;
      return 0;
    } else {
      cout << "pink" << endl;
      return 0;
    }
  }
}
