qyliang/CodeNanoFix huggingface dataset:
Buggy code:
x,a,b = map(int,input().split())
if  a+b <= x :
  print('delicious')
elif x < a+b <= x+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("safe")
else:
    print("dangerous")
Buggy code:
x,a,b=map(int,input().split())
if b-a<=0:ans="delicious"
elif b-a<=x:ans="safe"
else:ans="dengerous"
print(ans)

Fixed code:
x,a,b=map(int,input().split())
if b-a<=0:
    ans="delicious"
elif b-a<=x:
    ans="safe"
else:ans="dangerous"
print(ans)
Buggy code:
x,a,b=map(int,input().split())
if a > b:
  print('delicious')
elif x < a-b:
  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())
print("dangerous" if b-a>x else "safe" if b>a else "dalicious")

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())
t=a-b
if t>0:
    print('dielicious')
else:
    if abs(t)<=x:
        print('safe')
    else:
        print('dangerous')

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

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


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

if A >= B:
    print('delicious')
elif B >= X:
    print('safe')
else:
    print('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("dangerous") 


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

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

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

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

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 a<=b:
  print('delicious')
else:
  if b-a<x+1:
    print('safe')
  else:
    print('dangerous')

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

if a>b:
    print("delicious")
if abs(a-b) <= x:
    print("safe")
if abs(a-b) > x:
    print("dangerous")

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

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

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


if B>=A+X+1:
    print("dangerous")

elif B<=A:
    print("delicious")

else:
    print("safe")
Buggy code:
x,a,b = map(int, input().split())
y = b-a
if y <= 0:
    print('delicious')
elif y >= 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 B<=A:
    print("delicious")

elif B>=X-A:
    print("safe")

else:
    print("dangerous")

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

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

Fixed code:
x,a,b=(int(i) for i in input().split())
c = b-a
if c <= 0:
  print('delicious')
elif c <= 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 -a+b <= 0:
  print('delicious')
elif -a+b <= x:
  print('safe')
else:
  print('dangerous')
Buggy code:
x,a,b=map(int,input())
n=a-b
if n >= 0:
  print("delicious")
elif x+n >=0:
  print("safe")
else:
  print("dangerous")

Fixed code:
x,a,b=map(int,input().split())
n=a-b
if n >= 0:
  print("delicious")
elif x+n >=0:
  print("safe")
else:
  print("dangerous")
Buggy code:
x,a,b=map(int,input().split())
if b>=a:
    print('delicious')
elif 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<=a+x:
    print('safe')
else:
    print('dangerous')
Buggy code:
x,a,b=map(int,input()/split())
if b>=a:
    print('delicious')
elif a-b<=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>=0:
  print("delicious")
  
elif (a-b)<0 and 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 (a-b)<0 and abs(a-b)<=x:
  print("safe")
else:
  print("dangerous")
Buggy code:
x, buy, eat = int(input().split())

if buy > eat:
    print("delicious")
elif eat-buy < x:
    print("safe")
elif eat - buy > x:
    print("dangerous")

Fixed code:
x, buy, eat = map(int,input().split())

if buy >= eat:
    print("delicious")
elif eat-buy <= x:
    print("safe")
elif eat - buy > x:
    print("dangerous")
Buggy code:
x,a,b=[int(s) for s in input().split()]
if b-a<=0:
  print('delicious')
elif b-a<=x:
  print('safe')
else:
  print('dengerous')

Fixed code:
x,a,b=[int(s) for s in 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 > x:
  print('dangerous')
elif b - a > 0:
  print('delicious')
else:
  print('safe')


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 <= x:
  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:
a = list(map(int,input().split()))

if a[1] > a[2]:
  print("delicilus")
else:
  if a[2]-a[1] <= a[0]:
    print("safe")
  else:
    print("dangerous")

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

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

if b - a > x:
  print('dangerous')
elif b - a > 0:
  print('safe')
else:
  print('dangerous')

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

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

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

Fixed code:
X,A,B = (int(T) for T in input().split())
print(['delicious','safe','dangerous'][(B-A>0)*(1+((X-(B-A))<0))])
Buggy code:
x,a,b = map(int, input().split())
print('delicious' if b < a else 'safe' if a<x<a+x else 'dangerouns')

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

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

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

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

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

if x-(a-b) > 0:
  print("dangerous")
else:
  if a > b:
    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 = input().split()
x, a, b = int(x), int(a), int(b)
if (b-a) > x:
  print("dangerous")
else:
  print("safe")

Fixed code:
x, a, b = input().split()
x, a, b = int(x), int(a), int(b)
if a >= b:
  print("delicious")
elif (b-a) > x:
  print("dangerous")
else:
  print("safe")
Buggy code:
import sys, re
from math import ceil, floor, sqrt, pi, factorial, gcd
from copy import deepcopy
from collections import Counter, deque
from heapq import heapify, heappop, heappush
from itertools import accumulate, product, combinations, combinations_with_replacement
from bisect import bisect, bisect_left, bisect_right
from functools import reduce
from decimal import Decimal, getcontext
# input = sys.stdin.readline 
def i_input(): return int(input())
def i_map(): return map(int, input().split())
def i_list(): return list(i_map())
def i_row(N): return [i_input() for _ in range(N)]
def i_row_list(N): return [i_list() for _ in range(N)]
def s_input(): return input()
def s_map(): return input().split()
def s_list(): return list(s_map())
def s_row(N): return [s_input for _ in range(N)]
def s_row_str(N): return [s_list() for _ in range(N)]
def s_row_list(N): return [list(s_input()) for _ in range(N)]
def lcm(a, b): return a * b // gcd(a, b)
sys.setrecursionlimit(10 ** 6)
INF = float('inf')
MOD = 10 ** 9 + 7
num_list = []
str_list = []

def main():
    x, a, b = i_map()
   
    if x + a - b >= 0:
        print('safe')
    else:
        print('delicious')

if __name__ == '__main__':
    main()


Fixed code:
import sys, re
from math import ceil, floor, sqrt, pi, factorial, gcd
from copy import deepcopy
from collections import Counter, deque
from heapq import heapify, heappop, heappush
from itertools import accumulate, product, combinations, combinations_with_replacement
from bisect import bisect, bisect_left, bisect_right
from functools import reduce
from decimal import Decimal, getcontext
# input = sys.stdin.readline 
def i_input(): return int(input())
def i_map(): return map(int, input().split())
def i_list(): return list(i_map())
def i_row(N): return [i_input() for _ in range(N)]
def i_row_list(N): return [i_list() for _ in range(N)]
def s_input(): return input()
def s_map(): return input().split()
def s_list(): return list(s_map())
def s_row(N): return [s_input for _ in range(N)]
def s_row_str(N): return [s_list() for _ in range(N)]
def s_row_list(N): return [list(s_input()) for _ in range(N)]
def lcm(a, b): return a * b // gcd(a, b)
sys.setrecursionlimit(10 ** 6)
INF = float('inf')
MOD = 10 ** 9 + 7
num_list = []
str_list = []

def main():
    x, a, b = i_map()
   
    
    if a - b >= 0:
        print('delicious')
    elif x + a - b >= 0:
        print('safe')
    else:
        print('dangerous')

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


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

Fixed code:
#list(map(int, input().split()))
x,a,b=list(map(int, input().split()))
if a>=b:print('delicious')
elif b-a<=x:print('safe')
else:print('dangerous')
Buggy code:
xab = list(map(int, input().split()))
if xab[2] <= xab[1]:
    print('delicious')
elif xab[1] < xab[2] <= xab[0]:
    print('safe')
else:
    print('dangerous')

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

Fixed code:
X, A, B = map(int,input().split())
m = B - A
if(m <= 0):
  print("delicious")
elif(m <= X):
  print("safe")
else:
  print("dangerous")
Buggy code:
X, A, B = [int(_) for _ in input().split()]
print(['delicous', 'safe', 'dangerous'][(B-A > 0)+(B-A > X)])


Fixed code:
X, A, B = [int(_) for _ in input().split()]
print(['delicious', 'safe', 'dangerous'][(B-A > 0)+(B-A > X)])
Buggy code:
X,A,B = map(int,input().split())

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


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

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

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

if b > a:
  if b - a <= x:
    print('safe')
  else:
    print('dangerous')
else:
  print('delicious')
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())
print('delicious' if b <= a else 'safe' if b <= x else '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:
import sys, os

f = lambda:list(map(int,input().split()))
if 'local' in os.environ :
    sys.stdin = open('./input.txt', 'r')

def solve():
    x,a,b = f()

    after_by = b - a

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

solve()


Fixed code:
import sys, os

f = lambda:list(map(int,input().split()))
if 'local' in os.environ :
    sys.stdin = open('./input.txt', 'r')

def solve():
    x,a,b = f()

    after_by = a - b

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

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

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

now = b - a

if (now < 0):
   print('delicious')
elif (now >= 0 and now <= x):
   print('safe')
else:
   print('dengerous')


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

now = b - a
if (now <= 0):
   print('delicious')
elif (now > 0 and now <= x):
   print('safe')
else:
   print('dangerous')
Buggy code:
X, A, B = list(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 = list(map(int, input().split()))

if A - B >= 0:
  print("delicious")
elif abs(A-B) <= X:
  print("safe")
else:
  print("dangerous")
Buggy code:
# -*- coding: utf-8 -*-
X,A,B = map(int,input().split())
if B - A > X:
  print(dangerous)
elif B - A <= X and B - A > 0:
  print(safe)
else:
  print(delicious)

Fixed code:
# -*- coding: utf-8 -*-
X,A,B = map(int,input().split())
if B - A > X:
  print("dangerous")
elif B - A <= X and B - A > 0:
  print("safe")
else:
  print("delicious")
Buggy code:
x,a,b = map(int, input().split())
if a < b:
  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:
#coding: utf-8
X, A, B = map(int, input().split())
print(["delicious", "safe", "dangerous"][(A > B) + (A + X < B) ])


Fixed code:
#coding: utf-8
X, A, B = map(int, input().split())
print(["delicious", "safe", "dangerous"][(A < B) + (A + X < B)])
Buggy code:
#coding: utf-8
X,A,B = map(int, input().split())
if A+X < B:
    print('dangelous')
elif A < B:
    print('safe')
else:
    print('delicious')


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

    


Fixed code:
a,b,c = map(int,input().split())
if b-c >= 0:
    print("delicious")
elif c-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("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("delcious")
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")
elif x >= b:
    print("safe")
else:
    print("dangerous")

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:

def main():
    X,A,B = map(int,input().split())
    eat_day = B - A

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

if __name__ == '__main__':
    main()


Fixed code:

def main():
    X,A,B = map(int,input().split())
    eat_day = B - A

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

if __name__ == '__main__':
    main()
Buggy code:
x,a,b=map(int,input().split())
b -= a
if b <= 0:
    print('delicious')
    
else:
    if b > x:
        print('gangerous')
    else:
        print('safe')

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

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

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 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 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 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 B-A<=X:
    print("safe")
else:
    print("dangerous")
Buggy code:
x,a,b = map(str,input().split())
if a>b:
    print('delicious')
elif x>=b-a:
    print('safe')
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 = list(map(int, input().split()))
d = b - a

if d <= 0:
  ans = 'delicious'
elif d <= a:
  ans = 'safe'
else:
  ans = 'dangerous'


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

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


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

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

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

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

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