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