-- Try AtCoder
-- author: Leonardone @ NEETSDKASU

main = putStrLn . solve . map read . words =<< getLine

solve [x,a,b]
    | b <= a     = "delicious"
    | b <= a + x = "safe"
    | otherwise  = "dangerous"
    