x, a, b = map(int, input().split())
ans = ['delicious', 'safe', 'dangerous']
if b - a <= 0:
    print(ans[0])
elif b - a <= x:
    print(ans[1])
elif b - a > x:
    print(ans[2])

d56e8f7080acf0ee38948885e90202e1f24be370
<mask token>

<mask token>
if b - a <= 0:
    print(ans[0])
elif b - a <= x:
    print(ans[1])
elif b - a > x:
    print(ans[2])

x, a, b = map(int, input().split())
ans = ['delicious', 'safe', 'dangerous']
if b - a <= 0:
    print(ans[0])
elif b - a <= x:
    print(ans[1])
elif b - a > x:
    print(ans[2])
