import Control.Applicative
import Control.Monad
import Data.List
import Data.Array
import Data.Char

main = do
  [x, a, b] <- map (read::String -> Int) . words <$> getLine
  let diff = b - a
  putStrLn $ if diff <= 0 then "delicious" else if diff <= x then "safe" else "dangerous"
