x,a,b = list(map(int,input().split()))

print(("delicious" if b-a <= 0 else "safe" if b-a <= x else "dangerous"))

#!/usr/bin/env python3

x,a,b = list(map(int,input().split()))

if b <= a: print("delicious")

elif b <= a + x: print("safe")

else: print("dangerous")
x, a, b = list(map(int, input().split()))
print(("delicious" if b - a <= 0 else "safe" if b - a <= x else "dangerous"))

#!/usr/bin/env python3
x, a, b = list(map(int, input().split()))
if b <= a:
    print("delicious")
elif b <= a + x:
    print("safe")
else:
    print("dangerous")

+#!/usr/bin/env python3 -print(("delicious" if b - a <= 0 else "safe" if b - a <= x else "dangerous")) +if b <= a: +    print("delicious") +elif b <= a + x: +    print("safe") +else: +    print("dangerous")