qyliang/CodeNanoFix huggingface dataset:
Buggy code:
X, A, B = map(int, input().split())

if B - A <= 0:
  print("delicious")
elif X - B + A <=0:
  print("safe")
else:
  print("dangerous")

Fixed code:
X, A, B = list(map(int, input().split()))

if B-A <= 0:
    print('delicious')
elif B-A <= X:
    print('safe')
else:
    print('dangerous')
Buggy code:
x,a,b = map(int,input().split())
kigen = b-a
if x>kigen:
  print('delicious')
elif x=kigen:
  print('safe')
else:
  print('dangerous')

Fixed code:
x,a,b = map(int,input().split())
kigen = b-a
if 0>=kigen:
    print('delicious')
elif 0<kigen<=x:
    print('safe')
else:
    print('dangerous')
Buggy code:
X, A, B = map(int, input().split())

if B - A > X:
    print('delicious')
elif B - A <= X:
    print('safe')
else:
    print('dangerous')
    

Fixed code:
X, A, B = map(int, input().split())

if B <= A:
    print("delicious")
elif B-A <= X:
    print("safe")
else:
    print("dangerous")
Buggy code:
X, A, B = map(int, input().split())

if X - A >= 0:
  print('delicious')
elif A - X < 0 and B - A <= X:
  print('safe')
else:
  print('dangerous')

Fixed code:
X, A, B = map(int, input().split())
if A >= B: print("delicious")
elif B - A <= X: print("safe")
else: print("dangerous")
Buggy code:
x,a,b = map(int,input().split())

if b > a+x:
  print("dangerou")
elif b > a:
  print("safe")
else:
  print("delicious")

Fixed code:
x,a,b = map(int,input().split())
 
if b > a+x:
  print("dangerous")
elif b > a:
  print("safe")
else:
  print("delicious")
Buggy code:
a,b,c = map(int,input().split(" "))
print(-b + c)
if -b + c < 0 :
    print("delicious")
elif -b + c <= a:
    print("safe")
else:
    print("dangerous")

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

if a>=b:
    print('delicious')
elif b-a =< x:
    print('safe')
else:
    print('dangerous')

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

if a>=b:
    print('delicious')
elif b-a <= x:
    print('safe')
else:
    print('dangerous')
Buggy code:
x,a,b=map(int,input().split())
if (b-a)<=x:
    print("safe")
else:
    print("dangerous")

Fixed code:
x, a, b = map(int, input().split(" "))

if b <= a:
    print("delicious")
else:
    print("safe" if b-a <= x else "dangerous")
Buggy code:
X A B = map(int,input().split())

if A-B>=0:
    print("delicious")
else:
    if X+A-B>=0:
        print("safe")
    else:
        print("dangerous")


Fixed code:
X,A,B = map(int,input().split())

if A-B>=0:
    print("delicious")
else:
    if X+A-B>=0:
        print("safe")
    else:
        print("dangerous")
Buggy code:
X, A, B = map(int, input().split())

if A <= B:
  print("delicious")
elif X + A <= B:
  print("safe")
else:
  print("dangerous")

Fixed code:
X, A, B = map(int, input().split())

if A >= B:
  print("delicious")
elif X + A >= B:
  print("safe")
else:
  print("dangerous")
Buggy code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
mod = 10**9 + 7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()



def main():
    x,a,b = LI()
    if a <= b:
        return 'delicious'
    if a+x <= b:
        return 'safe'
    return 'dangerous'


print(main())








Fixed code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
mod = 10**9 + 7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()



def main():
    x,a,b = LI()
    if a >= b:
        return 'delicious'
    if a+x >= b:
        return 'safe'
    return 'dangerous'


print(main())
Buggy code:
x,a,b = map(int, input().split())

if x >= b-a:
  print("delicious")
else:
  print("dangerous")

Fixed code:
x,a,b=map(int,input().split())
if a>=b:
    print('delicious')
elif x>=b-a:
    print('safe')
else:
    print('dangerous')
Buggy code:
x,a,b = map(int,input().split())

if -a + b < x:
  	print("safe")
elif -a + b < 0:
  	print("delicious")
elif -a + b > x:
  	print("dangerous")

Fixed code:
x,a,b = map(int,input().split())

if -a + b <= 0:
  	print("delicious")
elif -a + b > 0 and -a + b <= x:
  	print("safe")
elif -a + b > x:
  	print("dangerous")
Buggy code:
#coding:utf-8

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

if a <= b:
  print('delicious')
elif (a+x) <= b:
  print('safe')
else:
  print('dangerous')

Fixed code:
#coding:utf-8

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

if a >= b:
  print('delicious')
elif (a+x) >= b:
  print('safe')
else:
  print('dangerous')
Buggy code:
X,A,B = (int(i) for i in input().split())
Y = A - B
if Y >= 0:
    print('delicious')

elif (-1) * Y =< X :
    print('safe')
    
else:
    print('dangerous')

Fixed code:
X,A,B = (int(i) for i in input().split())
Y = A - B
if Y >= 0:
    print('delicious')

elif (-1) * Y <= X :
    print('safe')
    
else:
    print('dangerous')
Buggy code:
x,a,b = map(int, input().split())
if b-a < 1:
    print("delicious")
elif b-a = 1:
    print("safe")
else:
    print("dangerous")

Fixed code:
x, a, b = map(int, input().split())
if b <= a:
    print('delicious')
elif b - a > x:
    print('dangerous')
else:
    print('safe')
Buggy code:
a,b,c=map(int,input().split())
if a-b>0:
  print("delicious")
else:
  if abs(a-b) > x+1:
    print("dangerous")
  else:
    print("safe")

Fixed code:
x,a,b=map(int,input().split())
if a-b>=0:
  print("delicious")
else:
  if abs(a-b) >= x+1:
    print("dangerous")
  else:
    print("safe")
Buggy code:
x,a,b = map(int,input().split())

if -a + b < x:
  	print("safe")
elif -a + b < 0:
  	print("delicious")
else:
  	print("dangerous")

Fixed code:
x, a, b = map(int, input().split())

if b <= a:
    print("delicious")
elif b <= a + x:
    print("safe")
else:
    print("dangerous")
Buggy code:
x,a,b = = map(int,input().split())
if b <= a: print("delicious")
elif b <= a + x: print("safe")
else: print("dangerous")

Fixed code:
x,a,b =map(int,input().split())
if b <= a: print("delicious")
elif b <= a+x: print("safe")
else: print("dangerous")
Buggy code:
x, a, b = map(int, input().split())
if a <= b:
    print('delicious')
else:
    if b - a <= x:
    print('safe')
    else:
        print('dangerous')

Fixed code:
x,a,b = map(int,input().split())
print("delicious" if b-a <= 0 else "safe" if b-a <= x else "dangerous")
Buggy code:
x, a, b = map(int, input().split())
if(a - b < 0):
	print("delicious")
elif(abs(a - b) <= x):
	print("safe")
else:
	print("dangerous")


Fixed code:
x, a, b = map(int, input().split())
if(a - b >= 0):
        print("delicious")
elif(abs(a - b) <= x):
        print("safe")
else:
        print("dangerous")
Buggy code:
x,a,b = map(int,input().split())
if b-a <= 0:
  print("delicous")
elif b-a <= x:
  print("safe")
else:
  print("dangerous")

Fixed code:
x,a,b = map(int,input().split())
if b-a <= 0:
  print("delicious")
elif b-a <= x:
  print("safe")
else:
  print("dangerous")
Buggy code:
x,y,z= list(map(int, input().split()))
if y>=z:
    print("delicious")
else:
    print("safe" if x+a>=b else "dangerous")


Fixed code:
x,y,z= list(map(int, input().split()))
if y>=z:
    print("delicious")
else:
    print("safe" if x+y>=z else "dangerous")
Buggy code:
x, a, b = map(int, input().split())
if a >= b:
    print('delicious')
elif b  >= x+1: 
    print('dangerous')
else:
    print('safe')

Fixed code:
x,a,b=map(int,input().split())
if a>=b:print("delicious")
elif a+x>=b:print("safe")
else:print("dangerous")
Buggy code:
x, a, b = map(int, input().split())
if b - a < 0:
    print("delicious")
elif 0 <= b - a =< x:
    print("safe")
else:
    print("dangerous")


Fixed code:
x, a, b = map(int, input().split())
if a >= b:
    print("delicious")
elif (b - a) <= x:
    print("safe")
else:
    print("dangerous")
Buggy code:
x,a,b=map(int,input().split())
if a<b:
  print("delicious")
elif (b-a)<=x:
  print("safe")
else:
  print("dangerous")

Fixed code:
x,a,b = map(int,input().split())

if b <= a:
    print("delicious")
elif b <= a+x:
    print("safe")
else:
    print("dangerous")
Buggy code:
x,a,b = map(int, input().split())
if x<b:
    print("dangerous")
elif b-a > 0:
    print("delicious")
else:
    print("safe")

Fixed code:
x,a,b=(map(int,input().split()))
if a>=b:
  print("delicious")
else:
  if a-b<-x:
    print("dangerous")
  else:
    print("safe")
Buggy code:
x,a,b = map(int, input().split())
if x < b:
    print("dangerous")
elif a > b:
    print("delicious")
else:
    print("safe")

Fixed code:
x,a,b = map(int,input().split())
if a >= b:
  print("delicious")
elif x+a >= b:
  print("safe")
else:
  print("dangerous")
Buggy code:
x,a,b = map(int, input().split())
if x < b:
    print("dangerous")
elif a < b:
    print("delicious")
else:
    print("safe")

Fixed code:
x, a, b = map(int, input().split())
if b <= a:
  print('delicious')
elif b <= a+x:
  print('safe')
else:
  print('dangerous')
Buggy code:
x,a,b=map(int,input().split())
print(x,a,b)
if((b-a)<=0):
  print('delicious')
elif((b-a-x)<=0):
  print('safe')
else:print('dangerous')

Fixed code:
x, a, b = map(int, input().split())
if b - a <= 0:
  print("delicious")
elif b - a <= x:
  print("safe")
else:
  print("dangerous")
Buggy code:
X,A,B=map(int,input().split())
if B<=A:
  print("delicious")
elif B<=X:
  print("safe")
else:
  print("dangerous")

Fixed code:
X,A,B=map(int,input().split())
if B<=A:
  print("delicious")
elif B<=X+A:
  print("safe")
else:
  print("dangerous")
Buggy code:
x,a,b = list(map(int,input().split()))
if b >= c:
  print("delicious")
elif a+b < c:
  print("dangerous")
else:
  print("safe")

Fixed code:
a,b,c = list(map(int,input().split()))
if b >= c:
  print("delicious")
elif a+b < c:
  print("dangerous")
else:
  print("safe")
Buggy code:
X,A,B = map(int,input().split())
print("dangerous" if B-A > X else "safe" if B<A else "delicious")

Fixed code:
X,A,B = map(int,input().split())
print("dangerous" if B-A > X else "safe" if B>A else "delicious")
Buggy code:
X, A, B = map(int, input().split())
if B <= A:
    print("delicious")
elif B <= A+X:
    print("safe")
else:
    print("deangerous")

Fixed code:
X, A, B = map(int, input().split())
if B <= A:
    print("delicious")
elif B <= A+X:
    print("safe")
else:
    print("dangerous")
Buggy code:
x, a, b = map(int, input().split())

if a-b > 0:
    print("delicious")

elif b > x+a:
    print("dangerous")

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


Fixed code:
x, a, b = map(int, input().split())

if a-b >= 0:
    print("delicious")

if a-b < 0:
    if b-a <= x:
        print('safe')
if b > x+a:
    print("dangerous")
Buggy code:
x,a,b=int(input().split())
if a-b>=0:print('delicious')
elif a-b < 0 and a+x>=b:print('safe')
else:print('dangerous')

Fixed code:
x,a,b=map(int,input().split())
if a-b>=0:print('delicious')
elif a-b < 0 and a+x>=b:print('safe')
else:print('dangerous')
Buggy code:
#Expired?
X, A, B = map(int, input().split())
Count = -A+B
if Count <= 0:
    print("delicious")
elif Cunt <= X:
    print("safe")
else:
    print("dangerous")

Fixed code:
#Expired?
X, A, B = map(int, input().split())
Count = -A+B
if Count <= 0:
    print("delicious")
elif Count <= X:
    print("safe")
else:
    print("dangerous")
Buggy code:
X, A, B = list(map(int,input().split()))
if A - B <= 0:
  print("delicious")
elif A - B <= X:
  print("safe")
else:
  print("dangerous)
  

Fixed code:
X, A, B = list(map(int,input().split()))
if B - A <= 0:
  print("delicious")
elif B - A <= X:
  print("safe")
else:
  print("dangerous")
Buggy code:
x, a, b = map(int, input().split())

if a-b > 0:
    print("delicious")

if a-b < 0:
    if b < x:
        print('safe')
if b > x+a:
    print("dangerous")


Fixed code:
x, a, b = map(int, input().split())

if a - b >= 0:
  print("delicious")
  exit()

if a-b+x < 0:
  print("dangerous")
else:
  print("safe")
Buggy code:
X, A, B = map(int, input().split())
if A - B <= X:
    print('delicious')
elif B - A >= X:
    print('dangerous')
else:
    print('safe')

Fixed code:
X, A, B = map(int, input().split())
if A >= B:
    print('delicious')
elif B - A <= X:
    print('safe')
else:
    print('dangerous')
Buggy code:
X,A,B=map(int,input().split())

if (A-B)>0:
    print('delicious')
elif (A-B)<0:
    if abs(A-B)<=X:
        print('safe')
    else :
        print('dengerous')

Fixed code:
X,A,B=map(int,input().split())

if (A-B)>=0:
    print('delicious')
elif (A-B)<0:
    if abs(A-B)<=X:
        print('safe')
    else :
        print('dangerous')
Buggy code:
#65

X, A, B = map(int, input().rstrip().split())

if A-B >= 0:
    print("delicious")
elif X+A-B >= 0:
    print("Safe")
elif X+1+A-B <= 0:
    print("dangerous")

Fixed code:
#65

X, A, B = map(int, input().rstrip().split())

if A-B >= 0:
    print("delicious")
elif X+A-B >= 0:
    print("safe")
elif X+1+A-B <= 0:
    print("dangerous")
Buggy code:
x, a, b =map(int, input().split())

if a < b <= x + a:
  print('safe')
  
if b <= a:
  print('delicious')

else:
  print('dangerous')


Fixed code:
x, a, b =map(int, input().split())

if a < b <= x + a:
  print('safe')
  
elif b <= a:
  print('delicious')

else:
  print('dangerous')
Buggy code:
x, a, b =map(int, input().split())
if b - a > x
  print('dangerous')
elif b - a == x:
  print('safe')
else:
  print('delicious')
  

Fixed code:
x,a,b=map(int,input().split())
if a>=b:print("delicious")
elif b>a and b-a <=x:print("safe")
else:print("dangerous")
Buggy code:
x,a,b = map(int, input().split())
if b > a+x:
  print('dangerous')
else:
  print('delicious')


Fixed code:
x,a,b = map(int, input().split())
if b > a+x:
  print('dangerous')
elif b > a:
  print('safe')
else:
  print('delicious')
Buggy code:
x,a,b = map(int, input().split())
if b < a+x:
  print('dangerous')
else:
  print('delicious')

Fixed code:
x,a,b = map(int, input().split())

if b <= a:
    print('delicious')
elif a < b:
    if b <= a + x:
        print('safe')
    else:
        print('dangerous')
Buggy code:
X,A,B=map(int,input().split())
if B<=A:
    print("delicious")
elif A<B and B-A<=X:
    print("safe")
else:
    print("danger")

Fixed code:
X,A,B=map(int,input().split())
if B<=A:
    print("delicious")
elif A<B and B-A<=X:
    print("safe")
else:
    print("dangerous")
Buggy code:
x, a, b = list(map(int, input().split()))
if b - a <= x:
    print('safe')
elif b - a < 0:
    print('delicious')
else:
    print('dangerous')

Fixed code:
x, a, b = list(map(int, input().split()))
if b - a <= 0:
    print('delicious')
elif b - a <= x:
    print('safe')
else:
    print('dangerous')
Buggy code:
X,A,B = map(int.input().split())

C = B - A

if C <= 0:
  print("delicious")
elif C > X:
  print("dangerous")
else:
  print("safe")

Fixed code:
X,A,B = map(int,input().split())
if B-A <= 0:
  print('delicious')
elif 0 < B-A <= X:
  print('safe')
else:
  print('dangerous')
Buggy code:
x,a,b=map(int,input().split())

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

Fixed code:
x,a,b=map(int, input().split())

if a>=b:
    print('delicious')
elif b-a<=x:
    print('safe')
else:
    print('dangerous')
Buggy code:
X,A,B=map(int,input().split())
if A-B<0:
    print("delicious")
elif X+1>B-A:
    print("safe")
elif X+1<=B-A:
    print("dangerous")

Fixed code:
X,A,B=map(int,input().split())
if A-B>=0:
    print("delicious")
elif B-A<=X:
    print("safe")
elif X+1<=B-A:
    print("dangerous")
Buggy code:
X,A,B=map(int,input().split())
if A-B>X:
    print("delicious")
elif X+1>B-A:
    print("safe")
elif X+1<=B-A:
    print("dangerous")

Fixed code:
X, A, B = map(int, input().split())
if B <= A :
    print('delicious')
elif B - A < X+1:
    print('safe')
else:
    print('dangerous')
Buggy code:
a, b, c = map(int,input().split())
if c-b <=0:
 print("delicious")
elif a+b=>c:
 print("safe")
else:
 print("dangerous")

Fixed code:
a, b, c = map(int,input().split())
if c-b <= 0:
 print("delicious")
elif a+b >= c:
 print("safe")
else:
 print("dangerous")
Buggy code:


import numpy as np
import fractions as fra

x,a,b=map(int,input().split())
if(a>=b):
    print("delicious")
elif(x>=b):
    print("safe")
else:
    print("dangerous")

Fixed code:


import numpy as np
import fractions as fra

x,a,b=map(int,input().split())
if(a>=b):
    print("delicious")
elif(a+x>=b):
    print("safe")
else:
    print("dangerous")
Buggy code:
X,A,B = map(int, input().split())

if A-B>=0:
  print('delicious')
elif A-B<0 and X>B-A:
  print('safe')
else:
  print('dengrous')

Fixed code:
X,A,B = map(int, input().split())

if A-B>=0:
  print('delicious')
elif A-B<0 and X>=B-A:
  print('safe')
else:
  print('dangerous')
Buggy code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

x,a,b = [int(i) for i in input().split()]

'''
print('x', x)
print('a', a)
print('b', b)
'''

if( -a+b < x ):
  print('delicious')
elif( -a+b == x ):
  print('safe')
else:
  print('dangerous')


Fixed code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

x,a,b = [int(i) for i in input().split()]

'''
print('x', x)
print('a', a)
print('b', b)
'''

if( -a+b <= 0 ):
  print('delicious')
elif( -a+b > 0 and -a+b <= x ):
  print('safe')
else:
  print('dangerous')
Buggy code:
x,a,b=map(int,input().split())
 
if b-a<=o:
    print("delicious")
elif b-a<=x:
    print("safe")
else:
    print("dangerous")

Fixed code:
x,a,b=map(int,input().split())
 
if b-a<=0:
    print("delicious")
elif b-a<=x:
    print("safe")
else:
    print("dangerous")
Buggy code:
X,A,B=map(int,input().split())
if C-B>A:
    print('dangerous')
elif C-B==A:
    print('safe')
else:
    print('delicious')

Fixed code:
X,A,B=map(int,input().split())
if B<=A:
    print('delicious')
elif (B-A)>X:
    print('dangerous')
else:
    print('safe')
Buggy code:
X,A,B=map(int,input().split())
if B-A>X:
    print('dangerous')
elif (B-A)==X:
    print('safe')
else:
    print('delicious')

Fixed code:
X,A,B=map(int,input().split())
if B<=A:
    print('delicious')
elif (B-A)<=X:
    print('safe')
else:
    print('dangerous')
Buggy code:
x, a, b = map(int, input().split())
if (b-a) > x:
    print('dangerous')
elif 0 < (b-a) <= x:
    print('delicious')
else:
    print('safe')


Fixed code:
x, a, b = map(int, input().split())

if a - b >= 0:
    print('delicious')
elif a + x - b >= 0:
    print('safe')
else:
    print('dangerous')
Buggy code:
X,A,B=map(int,input().split())

if A>B:
  print('delicious')
else:
  if X>=B-A:
    print('safe')
  else:
    pint('dangerous')

Fixed code:
X,A,B=map(int,input().split())
 
if A>=B:
  print('delicious')
else:
  if X>=B-A:
    print('safe')
  else:
    print('dangerous')
Buggy code:
x, a, b = map(int,input().split())

if a > b:
    print('delicious')
elif b - a < x:
    print('safe')
else:
    print('dengerous')

Fixed code:
x, a, b = map(int,input().split())
if a >= b:
    print('delicious')
elif b-a <= x:
    print('safe')
else:
    print('dangerous')
Buggy code:
X, A, B = map(int, input().split())

if A >= B:
    print("delicious")
elif (A - B) > X:
    print("dagerous")
else:
    print("safe")


Fixed code:
X, A, B = map(int, input().split())
 
if A >= B:
  print('delicious')
elif X >= B - A:
  print('safe')
else:
  print('dangerous')
Buggy code:
X, A, B = map(int, input().split())

if A <= B:
    print("delicious")
elif (A - B) > X:
    print("dagerous")
else:
    print("safe")


Fixed code:
X, A, B = map(int, input().split())

if A >= B:
    print("delicious")
elif (B - A) <= X:
    print("safe")
else:
    print("dangerous")
Buggy code:
x,a,b=map(int,input().split())
print(['delicious','safe','dangerous'][(a>b)+((x+a)<b)])

Fixed code:
x,a,b=map(int,input().split())
print(['delicious','safe','dangerous'][(a<b)+(x+a<b)])
Buggy code:
x,a,b=map(int,input().split())
if((a-b)>=0):
    print('dellicious')

elif((b-a)<(x+1)):
    print('safe')

else:
    print('dangerous')

Fixed code:
x,a,b=map(int,input().split())
if((a-b)>=0):
    print('delicious')

elif((b-a)<(x+1)):
    print('safe')

else:
    print('dangerous')
Buggy code:
X,A,B=(int(i) for i in input().split())
c=int(B-A)
if c<0:
  print('delicious')
elif c<X+1:
  print('safe')
elif: c>X+1:
  print('dangerous')

Fixed code:
X,A,B=(int(i) for i in input().split())
c=int(B-A)
if c<=0:
  print('delicious')
elif 0<c<=X:
  print('safe')
elif c>X:
  print('dangerous')
Buggy code:
X, A, B = map(int, input().split())

if A >= B:
  print('delicious')
elif X > A - B:
  print('safe')
else:
  print('dangerous')

Fixed code:
X,A,B = map(int,input().split())
if B <= A:
   print("delicious")
elif B - A <= X:
   print("safe")
else:
   print("dangerous")
Buggy code:
tmp = input().split(" ")
X = int(tmp[0])
A = int(tmp[1])
B = int(tmp[2])

print("delicious") if B <= A else print("safe") if B <= X else print("dangerous")

Fixed code:
tmp = input().split(" ")
X = int(tmp[0])
A = int(tmp[1])
B = int(tmp[2])
 
print("delicious") if B <= A else print("safe") if B <= A + X else print("dangerous")
Buggy code:
X,A,B=map(int,input().split())
if A>=B:
	print("deloicious")
elif A<X and A+B>X :
	print("safe")
else:
	print("dangerous")

Fixed code:
X,A,B=map(int,input().split())
if A>=B:
	print("delicious")
elif A<B and B<=A+X:
	print("safe")
else:
	print("dangerous")
Buggy code:
X,A,B=map(int,input().split())
if A>=B:
	print("delicious")
elif B>A and X>=B :
	print("safe")
else:
	print("dangerous")

Fixed code:
X,A,B=map(int,input().split())
if A>=B:
	print("delicious")
elif B>A and X+A>=B :
	print("safe")
else:
	print("dangerous")
Buggy code:
X,A,B = map(int, input().split())
if A>=B:
    print("delicious")
elif B>A and X>=B-A:
    print("safe")
else:
    print("delicious")

Fixed code:
X,A,B = map(int, input().split())
if A>=B:
    print("delicious")
elif X>=B-A:
    print("safe")
else:
    print("dangerous")
Buggy code:
X,A,B = map(int, input().split())
if A>=B:
    print("delicious")
elif X>=B-A:
    print("safe")
else:
    print("delicious")

Fixed code:
X ,A , B = map(int, input().split())

if A >= B:
    print("delicious")
elif (B - A) <= X:
    print("safe")
else:
    print("dangerous")
Buggy code:
import sys
x,a,b = map(int,input().split())

if b <= a:
  print("delicious")
elif a + x <= b:
  print("safe")
else:
  print("dangerous")

Fixed code:
x,a,b = map(int,input().split())
if b <= a:
  print('delicious')
elif a < b <= a+x:
  print('safe')
else:
  print('dangerous')
Buggy code:
import sys
import os

MOD = 10 ** 9 + 7


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    X, A, B = list(map(int, sys.stdin.buffer.readline().decode().split()))
    print('dangerous' if B - A > X else 'delicious' if B - A < X else 'safe')


if __name__ == '__main__':
    main()


Fixed code:
import sys
import os

MOD = 10 ** 9 + 7


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    X, A, B = list(map(int, sys.stdin.buffer.readline().decode().split()))
    if B - A > X:
        print('dangerous')
    elif A >= B:
        print('delicious')
    else:
        print('safe')


if __name__ == '__main__':
    main()
Buggy code:
input_list = input().split(" ")
syoumi = int(input_list[0])
mae = int(input_list[1])
eat = int(input_list[2])
if eat < mae:
  print("delicious")
else if (eat - mae) < syoumi:
  print("safe")
else:
  print("dangerous")

Fixed code:
input_list = input().split(" ")
syoumi = int(input_list[0])
mae = int(input_list[1])
eat = int(input_list[2])
if eat <= mae:
  print("delicious")
elif (eat - mae) <= syoumi:
  print("safe")
else:
  print("dangerous")
Buggy code:
x,a,b = map(int, input().split())
if b - a <= x:
    print("safe")
elif b - a <= 0 :
    print("delicious")
else:
    print("dangerous")

Fixed code:
x,a,b=map(int,input().split())
if -a+b <= 0:
    print('delicious')
elif 0 < -a+b and -a+b <= x:
    print('safe')
else:
    print('dangerous')