qyliang/CodeNanoFix huggingface dataset:
Buggy code:
a1, a2, a3 = map(int, input().split())
if a1+a2+a3 >= 21:
  print('win')
else:
  print('bust')

Fixed code:
a1, a2, a3 = map(int, input().split())
if a1+a2+a3 <= 21:
  print('win')
else:
  print('bust')
Buggy code:
a,b,c=map(int,input())

if a+b+c>=22:
  print('bust')
else:
  print('win')

Fixed code:
a, b, c = map(int, input().split())
if a+b+c >= 22:
    print("bust")
else:
    print("win")
Buggy code:
a, b, c = map(int, input().split())
if a+b+c > 22:
    print("bust")
elif a+b+c < 21:
    print("win")

Fixed code:
a, b, c = map(int, input().split())
if a+b+c >= 22:
    print("bust")
elif a+b+c <= 21:
    print("win")
Buggy code:
A = [int(_) for _ in input().split()]

if sum(A) >= 22:
    print('bust')
else:
    print('win'

Fixed code:
A = [int(_) for _ in input().split()]

if sum(A) >= 22:
    print('bust')
else:
    print('win')
Buggy code:
A1, A2, A3 = map(input().split(), int)

print('win' if A1+A2+A3 <= 21 else 'bust')

Fixed code:
A1, A2, A3 = map(int, input().split())
 
print('win' if A1+A2+A3 <= 21 else 'bust')
Buggy code:
A, B, C = map(int, input().split())

if A + B + C<=22:
	print("bust")
else:
	print("win")

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

if A + B + C>=22:
	print("bust")
else:
	print("win")
Buggy code:
a, b, c = map(int, input.split())

if a + b + c <= 21:
  print('win')
else:
  print('bust')
  
        
        

Fixed code:
a,b,c=map(int,input().split())
print("win" if a+b+c <= 21 else "bust")
Buggy code:
a1, a2, a3 = map(int, input().split())
print('win') if (a1 + a2 + a3) < 21 else print('bust')


Fixed code:
a1, a2, a3 = map(int, input().split())
print('win') if (a1 + a2 + a3) < 22 else print('bust')
Buggy code:
a,b,c = map(int,input().split())
s = a+b+c

if s > 21:
    print("burst")
else:
    print("win")

Fixed code:
a,b,c = map(int,input().split())
s = a+b+c

if s > 21:
    print("bust")
else:
    print("win")
Buggy code:
a,b,c = map(int,input().split())

if(a+b+c >= 22):
    print("burst")
else:
    print("win")

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

if(a+b+c >= 22):
    print("bust")
else:
    print("win")
Buggy code:


def main():
    a, b, c = map(int, input().split())
    sum = a+b+c
    print(sum)

    if (sum <=  21):
        print("win")
    elif(sum >= 22):
        print("bust")

if __name__ == "__main__":
    main()

Fixed code:

def main():
    a, b, c = map(int, input().split())
    sum = a+b+c

    if (sum <=  21):
        print("win")
    elif(sum >= 22):
        print("bust")

if __name__ == "__main__":
    main()
Buggy code:
A = list(map(int, input().split()))

if((A[0]+ A[1] +A[2]) >= 22):
    print("win")
else:
    print("bust")

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

if((A[0]+ A[1] +A[2]) >= 22):
    print("bust")
else:
    print("win")
Buggy code:
a,b,c = map(int,input().split())
if a+b+c <= 22:
  print("bust")
else:
  print("win")

Fixed code:
a, b, c = map(int, input().split())
if a+b+c < 22:
  print('win')
else :
  print('bust')
Buggy code:
A = map(int, input().split())

if sum(A) > 22:
    print("bust")
else:
    print("win")


Fixed code:
A = list(map(int,input().split()))
if sum(A) >= 22:
    print('bust')
else:
    print('win')
Buggy code:
def blackjack(data):
    [a,b,c] = data
    total = a+b+c

    if total > 22:
        return "bust"
    elif 0 < total < 21 :
        return "win"

input_data = [int(x) for x in input().split()]

print(blackjack(input_data))

Fixed code:
def blackjack(data):
    [a,b,c] = data
    total = a+b+c

    if total > 21:
        return "bust"
    elif total <= 21:
        return "win"

input_data = [int(x) for x in input().split()]

print(blackjack(input_data))
Buggy code:
all = input()
all = all.split(' ')
all = [int(num) for num in all]
if sum(all) >= 22:
  return'bust'
else:
  return 'win'

Fixed code:
all = input()
all = all.split(' ')
all = [int(num) for num in all]
if sum(all) >= 22:
    print('bust')
else:
    print('win')
Buggy code:
a = list(map(int, input().split()))
if a[0] + a[1] + a[2] << 22:
  print("win")
else: print("bust")

Fixed code:
a = list(map(int, input().split()))
if int(a[0] + a[1] + a[2]) <= 21:
  print("win")
else: print("bust")
Buggy code:
a,b,c=map(int,input().split())
print("bust" if (a+b+c>21) else "Win")

Fixed code:
a,b,c=map(int,input().split())
print("bust" if (a+b+c>21) else "win")
Buggy code:
    S = [int(n) for n in input().split()]
    total = sum(S)
    if total >= 22:
      print("bust")
    else:
      print("win")

Fixed code:
S = [int(n) for n in input().split()]
total = sum(S)
if total >= 22:
    print("bust")
else:
      print("win")
Buggy code:
a1, a2, a3 = map(int, input(), split())
if a1+a2+a3 <= 21:
    print("win")
else:
    print("bust")

Fixed code:
a1, a2, a3 = map(int, input().split())
if a1+a2+a3 <= 21:
    print("win")
else:
    print("bust")
Buggy code:
A1,A2,A3 = map(int,input().split())
if sum(A1,A2,A3)>21:
    print("bust")
else:
    ("win")

Fixed code:
A1,A2,A3 = map(int,input().split())
if A1+A2+A3>21:
    print("bust")
else:
    print("win")
Buggy code:
a,b,c = map(int(input().split()))
if a+b+c >= 22:
  print("bust")
else:
  print("win")

Fixed code:
a,b,c = map(int, input().split())
print('bust' if (a+b+c)>=22 else 'win')
Buggy code:
a, b, c = int(input().split())
if a + b + c >= 22:
  print('bust')
if a + b + c <= 21:
  print('win')

Fixed code:
a, b, c = map(int, input().split())
if a + b + c >= 22:
  print('bust')
if a + b + c <= 21:
  print('win')
Buggy code:
a, b, c = map(int, input().split())
if a + b + c >= 22:
    print("bust")
else:
    print(win)

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

s = a + b + c

if s >= 22:
  print('bust')
else:
  print('win')
Buggy code:
a, b, c = map(int,input().split())
if a+b+c <= 21:
  print("win")
  else a+b+c >= 21:
    print("bust")
    

Fixed code:
a, b, c = map(int,input().split())
if a+b+c <= 21:
  print("win")
else:
    print("bust")
Buggy code:
def blackjack(s):
    a, b, c = [_ for int(_) in in_str.split()]
    if a + b + c >= 22:
        print("bust")
    else:
        print("win")

if __name__ == "__main__":
    import sys
    in_str = ''
    for line in sys.stdin:
        in_str += line
    blackjack(in_str)


Fixed code:
def blackjack(s):
    a, b, c = [int(_) for _ in s.split()]
    if a + b + c >= 22:
        print("bust")
    else:
        print("win")

if __name__ == "__main__":
    import sys
    in_str = ''
    for line in sys.stdin:
        in_str += line
    blackjack(in_str)
Buggy code:
A1, A2, A3 = map(int, input().split())

if sum(A1, A2, A3) >= 22:
	print('bust')
else:
	print('win')


Fixed code:
A1, A2, A3 = map(int, input().split())


if (A1+A2+A3) >= 22:
    print('bust')
else:
    print('win')
Buggy code:
A1, A2, A3 = input().split(" ")
A1, A2, A3 = int(A1), int(A2), int(A3)

if (A1+A2+A3 >= 23):
  print('bust')
else:
  print('win')

Fixed code:
A1, A2, A3 = input().split(" ")
A1, A2, A3 = int(A1), int(A2), int(A3)

if (A1+A2+A3 >= 22):
  print('bust')
else:
  print('win')
Buggy code:
lst = list(map(lst = list(map(int,input().split()))
if sum(lst)>=22:
    print("bust")
else:
    print("win")int,input().split()))


Fixed code:
lst = list(map(int,input().split()))
if sum(lst)>=22:
    print("bust")
else:
    print("win")
Buggy code:
a,b,c = map(int, input().split())
if a+b+c >= 22:
  print('burst')
else:
  print('win')

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

if (a + b + c >= 22):
    print("bust")
else:
    print("win")
Buggy code:
l_in = list(map(int, input().split()))
if sum(l_in) < 21:
  print('win')
else:
  print('bust')

Fixed code:
l_in = list(map(int, input().split()))
if sum(l_in) <= 21:
  print('win')
else:
  print('bust')
Buggy code:
a, b, c = map(int, input().split())
s = a+b+c
if (s>22):
  print('bust')
else: 
  print('win')

Fixed code:
a, b, c = map(int, input().split())
s = a+b+c
if (s>21):
  print('bust')
else: 
  print('win')
Buggy code:
n = map(int, input().split())
if sum(n) > 22:
    print('bust')
else:
    print('win')


Fixed code:
n = map(int, input().split())
if sum(n) > 21:
    print('bust')
else:
    print('win')
Buggy code:
a, b, c = input().split()

if a + b + c >= 22:
  print('bust')
else:
  print('win')

Fixed code:
a, b, c = input().split()

if int(a) + int(b) + int(c) >= 22:
  print('bust')
else:
  print('win')
Buggy code:
a, b, c = map(int, input().split())

if a + b + c >= 22:
	print ('win')
else:
	print('bust')

Fixed code:
a, b, c = map(int, input().split())
if a+b+c<22:
  print("win")
else:
  print("bust")
Buggy code:
import sys
stdin=sys.stdin

ip=lambda: int(sp())

lp=lambda:list(map(int,stdin.readline().split()))
sp=lambda:stdin.readline().rstrip()

a,b,c=lp()
if a+b+c>=22:
  print('burst')
  
else:
  print('win')

Fixed code:
import sys
stdin=sys.stdin

ip=lambda: int(sp())

lp=lambda:list(map(int,stdin.readline().split()))
sp=lambda:stdin.readline().rstrip()

a,b,c=lp()
if a+b+c>=22:
  print('bust')
  
else:
  print('win')
Buggy code:
a1, a2, a3 = map(int, input())
if a1+a2+a3 >= 22:
    print('bust')
else:
    print('win')

Fixed code:
a1, a2, a3 = map(int, input().split())
if a1+a2+a3 >= 22:
    print('bust')
else:
    print('win')
Buggy code:
a,b,c=map(int,input().split())
if a+b+c=>22:
  print("bust")
else:
  print("win")

Fixed code:
a,b,c=map(int,input().split())
if a+b+c >=22:
  print("bust")
else:
  print("win")
Buggy code:
A = list(map(int, input().split()))
    a1, a2, a3 = A
    if a1 + a2 + a3 >= 22:
        print('bust')
    else:
        print('win')

Fixed code:
A = list(map(int, input().split()))
a1, a2, a3 = A
if a1 + a2 + a3 >= 22:
  print('bust')
else:
  print('win')
Buggy code:
#coding: utf-8

value = input()

list = value.split()

for i in range(len(lise)):
  list[i] = int(list[i])
  
sum = list[0] + list[1] + list[2]

if sum >= 22:
  print("bust")
else:
  print("win")

Fixed code:
#coding: utf-8

value = input()

list = value.split()

for i in range(len(list)):
  list[i] = int(list[i])
  
sum = list[0] + list[1] + list[2]

if sum >= 22:
  print("bust")
else:
  print("win")
Buggy code:
a1,a2,a3 = map(int,input().split())
if a1+a2+a3>=22:
  print("burst")
else:
  print("win")

Fixed code:
a1, a2, a3 = map(int, input().split())
if a1 + a2 + a3 >= 22:
    print("bust")
else:
    print("win")
Buggy code:
a,b,c=map(int,input().split())
res=a+b+c
if res>22:
    print("bust")
else:
    print("win")


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

if a+b+c >= 22:
    print("bust")
else:
    print("win")
Buggy code:
l_s = input().split(' ')
i_s = [int(i) for i in l_s]
a = sum(i_s)

if a >= 21:
  print('win')
else:
  print('bust')

Fixed code:
l_s = input().split(' ')
i_s = [int(i) for i in l_s]
a = sum(i_s)
 
if a <= 21:
  print('win')
else:
  print('bust')
Buggy code:
a = list(map(int, input().split())
if sum(a)>=22:
    print(bust)
else:
    print(win)

Fixed code:
a = list(map(int, input().split()))
if sum(a)>=22:
    print("bust")
else:
    print("win")
Buggy code:
a = list(map(int, input().split())
if sum(a)>=22:
    print("bust")
else:
    print("win")

Fixed code:
A = list(map(int, input().split()))
if sum(A) >= 22:
  print('bust')
else:
  print('win')
Buggy code:
num = list(map(int, input().split()))
if sum(num) >= 21:
  print("bust")
else:
  print("win")

Fixed code:
num = list(map(int, input().split()))
if sum(num) >= 22:
  print("bust")
else:
  print("win")
Buggy code:
A = [int(x) for x in input().split()]

if sum(A) >=22:
    ans = 'burst'
else:
    ans = 'win'

print(ans)

Fixed code:
A = [int(x) for x in input().split()]

if sum(A) >=22:
    ans = 'bust'
else:
    ans = 'win'

print(ans)
Buggy code:
a,b,c=map(int,input.split())

res='bust'
if a+b+c<=21:
  res='win'

print(res)

Fixed code:
a,b,c=map(int,input().split())
 
res='bust'
if a+b+c<=21:
  res='win'
 
print(res)
Buggy code:
A = list(map(int,input.split()))
if sum(A) <= 21:
    print("win")
else:
    print("bust")
    

Fixed code:

A = list(map(int,input().split()))
if sum(A) <= 21:
    print("win")
else:
    print("bust")
Buggy code:
# -*- coding: utf-8 -*-

a, b, c = map(int, input().split())
d = a+b+c

if d >= 22:
  print('bust')
else:
  print('win)

Fixed code:
# -*- coding: utf-8 -*-

a, b, c = map(int, input().split())
d = a+b+c

if d >= 22:
  print('bust')
else:
  print('win')
Buggy code:
A = map(int, input().split())

if sum(A) > 22:
  print('bust')
else:
  print('win')

Fixed code:
if sum(map(int, input().split())) >= 22:
    print('bust')
else:
    print('win')
Buggy code:
a = input().split(" ")

a = [int(x) for x in a]

if sum(a) >= 22:
    print("win")
else:
    print("bust")

Fixed code:
a = input().split(" ")

a = [int(x) for x in a]

if sum(a) >= 22:
    print('bust')
else:
    print('win')
Buggy code:
a,b,c = map(int, input().split())
if (a+b+c)>22:
    print('bust')
else:
    print('win')

Fixed code:
a,b,c = map(int,input().split())
if a+b+c >= 22:
  	print("bust")
else:
  print("win")
Buggy code:
a,b,c = map(int,input().split())
if a+b+c<=21:
  print("win")
else:
  prnt("bust")
  

Fixed code:
a,b,c = map(int,input().split())
if a+b+c<=21:
  print("win")
else:
  print("bust")
Buggy code:
A_int_list = list(map(int, input().split()))

if sum(A_int_list) <= 22:
    print('bust')
else:
    print('win')


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

if 22 <= sum(A_int_list):
    print('bust')
else:
    print('win')
Buggy code:
A_1, A_2, A_3 = int(input()).split()

Score = A_1+A_2+A_3
if Score <= 21:
    print(win)
else:
    print(bust)

Fixed code:
A_1, A_2, A_3 = input().split()

Score = int(A_1)+int(A_2)+int(A_3)
if Score <= 21:
    print("win")
else:
    print("bust")
Buggy code:
A1, A2, A3 = map(int, input().split())
s = A1 + A2 + A3

if s >= 22:
    print(bust)
else:
    print(win)

Fixed code:
A1, A2, A3 = map(int, input().split())
s = A1 + A2 + A3

if s >= 22:
    print('bust')
else:
    print('win')
Buggy code:
N, X, D = map(int, input().split())
if N+X+D>=21:
  print("win")
else:
  print("bust")

Fixed code:
N, X, D = map(int, input().split())
if N+X+D<=21:
  print("win")
else:
  print("bust")
Buggy code:
a,b,c = map(int, input().split())
if a+b+c > 22:
  print('bust')
else:
  print('win')

Fixed code:
a,b,c=map(int,input().split())
if a+b+c>=22: print("bust")
else: print("win")
Buggy code:
a,b,c=[int(i) for i in input().split()]
d=a+b+c
if d>22:
  print('bust')
else:
  print('win')

Fixed code:
a,b,c=[int(i) for i in input().split()]
d=a+b+c
if d>=22:
  print('bust')
else:
  print('win')
Buggy code:
a = list(map(int, input().split()))
if(sum(a) > 21)
  print('bust')
else
  print('win')

Fixed code:
d=list(map(int, input().split()))
print('bust' if sum(d)>21 else 'win')
Buggy code:
arr = [int(x) for x in input().split()]
if (arr[0] + arr[1] + arr[2] > 21):
    print("brust")
else:
    print("win")

Fixed code:
arr = [int(x) for x in input().split()]
if (arr[0] + arr[1] + arr[2] > 21):
    print("bust")
else:
    print("win")
Buggy code:
l=list(map(int,input().split()))
s=sum(l)
if(l<=21):
  print("win")
else:
  print("bust")

Fixed code:
l=list(map(int,input().split()))
s=sum(l)
if(s<=21):
  print("win")
else:
  print("bust")
Buggy code:
a,b,c=(int(x) for x in input().split())

if (a+b+c>=22:
    print('bust')
else:
    print('win')



Fixed code:
a,b,c=(int(x) for x in input().split())

if (a+b+c)>=22:
    print('bust')
else:
    print('win')
Buggy code:
a, b, c = map(int, input().split())

print("win" if sum((a, b, c)) < 21 else "bust")
a, b, c = map(int, input().split())

print("win" if sum((a, b, c)) < 22 else "bust")


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

print("win" if sum((a, b, c)) < 22 else "bust")
Buggy code:
if sum(list(map(int,input().split()))) >= 21:
    print('bust')
else:
    print('win')

Fixed code:
if sum(list(map(int,input().split()))) > 21:
    print('bust')
else:
    print('win')
Buggy code:
a,b,c=map(int,input()split())
sum=a+b+c

if sum >=22:
  print("bust")
else:
  print("win")

Fixed code:
a,b,c=map(int,input().split())
sum=a+b+c
 
if sum >=22:
  print("bust")
else:
  print("win")
Buggy code:
S = list(map(int,input().split()))

if sum(S) >= 22:
    print('burst')
else:
    print('win')

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

if sum(S) >= 22:
    print('bust')
else:
    print('win')
Buggy code:
a,b,c=map(int,input().split())
sum=a+b+c

if sum>21:
  print("bust")
  
  else:
    print("win")

Fixed code:
a,b,c=map(int,input().split())
val=a+b+c
if val > 21:
    print("bust")
else:
    print("win")
Buggy code:
a,b,c=map(int,input().split())
if a+b+c==22;
    print("bust")
if a+b+c > 22;
    print("bust")
if a+b+c ==21;
    print("win")
  else:
    print("win")

Fixed code:
a,b,c=map(int,input().split())
if a+b+c>=22:
	print('bust')
else:
	print('win')
Buggy code:
A1,A2,A3=map(int,input().split())
if(22>=(A1+A2+A3)):
    print("bust")
else:
    print("win")

Fixed code:
A1,A2,A3=map(int,input().split())
if(22<=(A1+A2+A3)):
    print("bust")
else:
    print("win")
Buggy code:
a,b,c = map(int,input().split())

x = a+b+c

print(x)

if int(x) <= 21:
    print('win')

else:
    print('bust')

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

x = a+b+c

if int(x) <= 21:
    print('win')

else:
    print('bust')
Buggy code:
a,b,c = input().split(" ")
a = int(a)
b= int(b)
c = int(c)
if (a+b+c>=22):
    print("burst")
else:
    print("win")

Fixed code:
a,b,c = input().split(" ")
a = int(a)
b= int(b)
c = int(c)
if (a+b+c>=22):
    print("bust")
else:
    print("win")
Buggy code:
a,b,c = map(int,input().split())
if a+b+c>=21:
	print('bust')
else:
	print('win')

Fixed code:
a, b, c = map(int,input().split())
if a + b + c <= 21:
    print('win')
else:
    print('bust')
Buggy code:
a,b,c = map(int,input().split())
if a+b+c >=22:
  print('bust')
  else:
    print('win')


Fixed code:
a,b,c = map(int,input().split())
if a+b+c < 22:
  print("win")
else:
  print("bust")
Buggy code:
A1,A2,A3 = map(int,input().split())
if A1+A2+A3>=22:
  print("dust")
else:
  print("win")

Fixed code:
A1,A2,A3 = map(int,input().split())
if A1+A2+A3>=22:
  print("bust")
else:
  print("win")
Buggy code:
a,b,c = map(int,input().split())
if a+b+c>=22:
  print("dust")
else:
  print("win")

Fixed code:
a,b,c=map(int,input().split())
if a+b+c >=22:print("bust")
else:print("win")
Buggy code:
a1, a2, a3 = map(int, input().split())
if a1 + a2 + a3 <= 21:
  print("win)
else:
        print("bust")

Fixed code:
a1, a2, a3 = map(int, input().split())
if a1 + a2 + a3 <= 21:
  print("win")
else:
  print("bust")
Buggy code:
a, b, c = [ int(i) for i in input().split(" ")]
sum = a + b + c
print(sum)
if sum >= 22:
  print("bust")
else:
  print("win")

Fixed code:
a, b, c = [ int(i) for i in input().split(" ")]
sum = a + b + c
if sum >= 22:
  print("bust")
else:
  print("win")
Buggy code:
s = sum(list(map(int,input().split())))
print("bust" if s s>21 else "win")

Fixed code:
s = sum(list(map(int,input().split())))
print("bust" if s>21 else "win")
Buggy code:
A,B,C=map(int,input.split)
if A+B+C>=22:
    print("bust")
elif A+B+C<=21:
    print("win")

Fixed code:
A,B,C=map(int,input().split())
if A+B+C>=22:
    print("bust")
elif A+B+C<=21:
    print("win")
Buggy code:
a,b,c = map(int,input())
ans = a+b+c
if ans>=22:
    print("bust")
else:
    print("win")

Fixed code:
a,b,c = map(int,input().split())
ans = a+b+c
if ans>=22:
    print("bust")
else:
    print("win")
Buggy code:
A, B, C = map(int, input().split())

if A + B + C >= 22
    print("bust")
else:
    print(win)

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

if A + B + C >= 22:
    print("bust")
else:
    print("win")
Buggy code:
a, b, c = map(int,input().split())
if a + b + c > 22:
  print('bust')
else:
  print('win')

Fixed code:
a, b, c = map(int, input().split())
if(a+b+c >= 22): print('bust')
else: print('win')
Buggy code:
a, b, c = map(int, input().split())

result = a + b + c

if result => 22:
    print('bust')
else:
    print('win')

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

result = a + b + c

if result >= 22:
    print('bust')
else:
    print('win')
Buggy code:
a,b,c=(int(i) for i in input().split())
print('bust') if a+b+c<=22 else print('win')

Fixed code:
a,b,c=(int(i) for i in input().split())
print('bust') if a+b+c>=22 else print('win')
Buggy code:
a,b,c=map(int,input().split())
s=sum(a,b,c)
if s>=22:
  print("bust")
else:
  print("win")

Fixed code:
a,b,c=map(int,input().split())
s=a+b+c
if s>=22:
  print("bust")
else:
  print("win")
Buggy code:
print('win') if 21 <= sum([int(i) for i in input().split()]) else print('bust')

Fixed code:
print('win') if 21 >= sum([int(i) for i in input().split()]) else print('bust')
Buggy code:
A = list(map(int, input().split()))

total = sum(A)

if A > 22:
  print("bust")
else:
  print("win)

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

total = sum(A)

if total > 21:
  print("bust")
else:
  print("win")
Buggy code:
A = list(map(int,input().split()))
if sum(A)>22:
  print('bust')
else:
  print('win')

Fixed code:
an = list(map(int, input().split()))
if sum(an) >= 22:
  print('bust')
else:
  print('win')
Buggy code:
def main(input):
  array = map(int, input().split())
  if sum(array) >= 22:
    print("bust")
  else:
    print("win")

Fixed code:
array = map(int, input().split())
if sum(array) >= 22:
  print("bust")
else:
  print("win")
Buggy code:
print(['bust','win'][sum(map(int,input.split()))<22])

Fixed code:
print(['bust','win'][sum(map(int,input().split()))<22])
Buggy code:
A=list(map(int,input().split()))

print(A[0])
if A[0]+A[1]+A[2]<=21 :
    print("win")
else:
    print("bust")

Fixed code:
A=list(map(int,input().split()))
if A[0]+A[1]+A[2]<=21:
    print("win")
else:
    print("bust")
Buggy code:
a,b,c= map(int, input().split())
val = a+b+c
if val > 22:
    print("bust")
else:
    print("win")


Fixed code:
a,b,c= map(int, input().split())
val = a+b+c
if val > 21:
    print("bust")
else:
    print("win")
Buggy code:
a,b,c=map(int, input(),split())
if a+b+c >= 22:
  print(bust)
else:
  print(win)

Fixed code:
a,b,c=map(int,input().split())
if a+b+c >=22:
  print("bust")
else:
  print("win")
Buggy code:
def main():
  A = list(map(int, input().split()))
  
  if sum(A) <= 22:
    print('win')
  else:
    print('bust')
  
  
main()

Fixed code:
def main():
  A = list(map(int, input().split()))
  
  if sum(A) <= 21:
    print('win')
  else:
    print('bust')
  
  
main()
Buggy code:
A1, A2, A3 = map(int, input().split())
if A1 + A2 + A3 >= 22:
  print('bust')
else;
  print('win')


Fixed code:
A1, A2, A3 = map(int, input().split())
if A1 + A2 + A3 >= 22:
  print('bust')
else:
  print('win')
Buggy code:
a, b, c = map(int, input().split())

if a+b+c > 21:
    print('bust')
elif a+b+c <= 21:
    pring('win')

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

if a+b+c > 21:
    print('bust')
elif a+b+c <= 21:
    print('win')
Buggy code:
a, b, c = map(int, input())
if a + b + c >= 22:
  print('bust')
else:
  print('win')

Fixed code:
a, b, c = map(int, input().split())
if(a + b + c >= 22):
    print("bust")
else:
    print("win")
Buggy code:
a,b,c=map(int,input(),split())
if a+b+c>21:
    print("bust")
else:
    print("win")


Fixed code:
a,b,c=map(int,input().split())
if a+b+c>21:
    print("bust")
else:
    print("win")
Buggy code:
i = input()
t = i.split()
if int(t[0])+int(t[1])+int(t[2])  <= 22:
    print("bust")
else:
    print("win")

Fixed code:
i = input()
t = i.split()
if int(t[0])+int(t[1])+int(t[2]) >= 22:
    print("bust")
else:
    print("win")
Buggy code:
A = (int, input().split())

if sum(A) < 22:
  print('win')
  exit()

print('bust')

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

if sum(A) < 22:
  print('win')
  exit()

print('bust')
Buggy code:
in=input()
A=in.split()
A1=int(A[0])
A2=int(A[1])
A3=int(A[2])
if A1+A2+A3 > 21:
  print("bust ")
else:
  print("win ")















Fixed code:
inp = input()
A = inp.split()
A1 = int(A[0])
A2 = int(A[1])
A3 = int(A[2])
if A1+A2+A3 > 21:
    print("bust ")
else:
    print("win ")
Buggy code:
a = list(map(int,input()))
s = sum(a)
if s >=22:
  print('bust')
else:
  print('win')

Fixed code:
a = list(map(int,input().split()))
s = sum(a)
if s >=22:
  print('bust')
else:
  print('win')
Buggy code:
a,b,c =input().split()
total = int(a) + int(b) + int(c)
if total >= 22:
    print('bust')
else:
    print('won')



Fixed code:
a,b,c =input().split()
total = int(a) + int(b) + int(c)
if total >= 22:
    print('bust')
else:
    print('win')