{-# LANGUAGE MultiWayIf #-}
main = do
  [x,a,b] <- map read . words <$> getLine
  if | a >= b     -> putStrLn "delicious"
     | b - a <= x -> putStrLn "safe" 
     | otherwise  -> putStrLn "dangerous"