import qualified Data.Text as T
import qualified Data.Text.IO as T
import qualified Data.Text.Read as T

main :: IO ()
main = do
  a <- unsafeTextToInt <$> T.getLine :: IO Int
  s <- T.getLine :: IO T.Text
  T.putStrLn $ if a < 3200 then T.pack "red" else s

unsafeTextToInt :: T.Text -> Int
unsafeTextToInt s = case T.signed T.decimal s of
  Right (n, _) -> n
{-# INLINE unsafeTextToInt #-}
