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