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