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