object A {
  def main(args: Array[String]) {
    if (sys.env.getOrElse("TEST", "") == "1") {
      println(test());
    } else {
      val input = io.Source.stdin.getLines().mkString("\n");
      println(solve(input).trim());
    }
  }

  def solve(input: String): String = {
    val a :: s :: _ = input.split("\n").toSeq
    if (a.toInt >= 3200) {
      s
    } else {
      "red"
    }
  }

  val tests = List(
    """3200
      |pink""".stripMargin -> """pink""".stripMargin,
    """3199
      |pink""".stripMargin -> """red""",
    """4049
      |red""".stripMargin -> """red"""
  );

  def test(): String = {
    tests
      .map { case (i, o) => (i.trim(), o.trim()) }
      .zipWithIndex
      .map {
        case ((input, outputExpect), i) => {
          val output = solve(input).trim();
          s"test${i + 1}:" + (if (output == outputExpect) {
                                "Passed"
                              } else {
                                s"Failed\nexpect:\n${outputExpect}\noutput:\n${output}"
                              })
        }
      }
      .mkString("\n");
  }
}
