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