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