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