TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a = input()
a = a.split(" ")
for num in range(3):
    a[num] = int(a[num])
sum = sum(a)
if sum >= 22:
    print("bust")]
else:
    print(win)

a = input()
a = a.split(" ")
for num in range(3):
    a[num] = int(a[num])
sum = sum(a)
if sum >= 22:
    print("bust")
else:
    print(win)

a = input()
a = a.split(" ")
sum = 0
for num in a:
    sum += int(num)
if sum >= 22:
    print("bust")
else:
    print(sum)

a = input()
a = a.split(" ")
sum = 0
for num in a:
    sum += int(num)
if sum >= 22:
    print("bust")
else:
    print("win")

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a,b,c = int(input()).split()
if a+b+c <= 21:
	print("win")
else:
	print("bust")

a,b,c =split(int(input()))
if a+b+c <= 21:
	print("win")
else:
	print("bust")

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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
def blackjack(data):
    [a,b,c] = data
    total = a+b+c

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

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

print(blackjack(input_data))

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))

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))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
print(sum([int(x) for x in input().split()]) > 21 ? "bust":"win")

a, b, c = [int(x) for x in input().split()]
print(a+b+c > 21 ? 'bust' : 'win')

print "bust" if sum([int(x) for x in input().split()]) > 21 else "win"

print('win' if sum(map(int,input().split())) > 21 else 'bust')

print('win' if sum(map(int,input())) == 21 else 'bust')

print('win' if sum(list(map(int,input())))) == 21 else 'bust')

print('win' if sum(map(int,input().split())) <= 21 else 'bust')

Verdicts: Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
# coding: utf-8
# Your code here!

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

# coding: utf-8
# Your code here!

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

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a, b, c = map(int, input().split())

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

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

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

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a ,b ,c= map(int,input().split())
if a+b+c<=21:
  	print(win)
else:
	print(bust)

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

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

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

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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
A1=input()
A2=input()
A3=input()

if A1+A2+A3 >21:
    print("lose")
else:
    print("win")

A1 =int(input())
A2 =int(input())
A3 =int(input())

if A1+A2+A3 > 21:
    print("lose")
else:
    print("win")

A0,A1,A2 = (int(x) for x in input().split())

if A0+A1+A2 > 21:
    print("bust")
else:
    print("win")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a1, a2, a3 = map(int, input().split())
if a1 + a2 + a3 < 21:
  print('win')
else:
  print('bust')

a1, a2, a3 = map(int, input().split())
if a1 + a2 + a3 <= 21:
  print('win')
else:
  print('bust')

Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a,b,c=map(int,input().split())
if a+b+c >= 22:
  print("'bust'")
else:
  print("'win'")

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

Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
A, B, C = map(int, input().split())

S = A + B + C 

if S <= 21:
  print("bust")
else:
  print("win")


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

S = A + B + C 

if S <= 21:
  print("win")
else:
  print("bust")


Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
A1 = int(input())
A2 = int(input())
A3 = int(input())

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

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

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

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a, b, c = map(int, input().split())
if a+b+c <= 22:
  print("bust")
else:
  print("win")

B1, A2, A3 = map(int, input().split())
C = B1 + A2 + A3
if C <= 21:
  print('win')
if C >= 22:
  print('bust')

Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a,b,c=input().split
if a+b+c>21:
    print("bust")
else print("win")


a,b,c=input().split
if a+b+c>21:
    print(“bust”)
else print(“win”)

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


if sum(map(int,input().split()))<22:
 print("win")
else print("bust")


if sum(map(int,input().split())<22:
 print("win")
else print("bust")


print('bust'if sum(map(int,input().split()))>=22else 'win')


Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a = input()
b = a[::-1]
cnt=0
num=int(len(a)/2)
for i in range(num):
  if a[i] is not b[i]:
    cnt=cnt+1

print(cnt)

a = input()
b = a[::-1]
cnt=0
num=int(len(a)/2)
for i in range(num):
  if a[i] is not b[i]:
    cnt=cnt+1

print(cnt)

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

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

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
n = int(input())

testimony_dict = {}
for i in range(n):
    a = int(input())
    testimony_dict[i + 1] = []
    for j in range(a):
        xy = input().split(' ')
        testimony_dict[i + 1].append(xy)

max_valid_bin = ''
for i in range(2 ** n - 1, 0, -1):
    is_valid = True
    bin_i = format(i, '0{}b'.format(n))
    for j in range(1, len(bin_i) + 1):
        if bin_i[j - 1] == '1':
            for xy_list in testimony_dict[j]:
                if bin_i[int(xy_list[0]) - 1] != xy_list[1]:
                    is_valid = False
    if is_valid:
        max_valid_bin = bin_i
        break

print(len([i for i in max_valid_bin if i == '1']))


n = int(input())

testimony_dict = {}
for i in range(n):
    a = int(input())
    testimony_dict[i + 1] = []
    for j in range(a):
        xy = input().split(' ')
        testimony_dict[i + 1].append(xy)

max_valid_bin = ''
for i in range(2 ** n - 1, 0, -1):
    is_valid = True
    bin_i = format(i, '0{}b'.format(n)
    for j in range(1, len(bin_i) + 1):
        if bin_i[j - 1] == '1':
            for xy_list in testimony_dict[j]:
                if bin_i[int(xy_list[0]) - 1] != xy_list[1]:
                    is_valid = False
    if is_valid:
        max_valid_bin = bin_i
        break

print(len([i for i in max_valid_bin if i == '1']))


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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
s = input()
l = len(s)
s3 = ""
if l%2 == 0:
    s1=s[:l//2]
    s2=s[l//2:]
else:
    s1=s[:l//2]
    s2=s[l//2+1:]
hug = 0
for i in range(l//2):
    if s1[-i-1] != s2[i]:
        hug += 1
print(hug)

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

Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a = input()
print(sum([a>b for a,b in zip(a,a[::-1])]))

print('bust' if sum(map(int,input().split()))>=22 else 'win')

Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a1 = int(input())
a2 = int(input())
a3 = int(input())

if a1 + a2 + a3 > 21:
  print('bust')
else:
  print('win')

a1, a2, a3 = (int(x) for x in input().split(' '))

if a1 + a2 + a3 > 21:
  print('bust')
else:
  print('win')

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
A = list(map(int,input().split())
a = sum(A)
if a >= 22:
    print("bust")
else:
    print("win")

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

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a = input().split(" ")

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

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

a = int(input().split(" "))

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

a = input().split(" ")

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

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

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
fastio():
    import sys
    from io import StringIO 
    from atexit import register
    global input
    sys.stdin = StringIO(sys.stdin.read())
    input = lambda : sys.stdin.readline().rstrip('\r\n')
    sys.stdout = StringIO()
    register(lambda : sys.__stdout__.write(sys.stdout.getvalue()))
fastio()

INF = 10**20
MOD = 10**9 + 7
I = lambda:list(map(int,input().split()))
from collections import defaultdict as dd
from math import gcd

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


def fastio():
    import sys
    from io import StringIO 
    from atexit import register
    global input
    sys.stdin = StringIO(sys.stdin.read())
    input = lambda : sys.stdin.readline().rstrip('\r\n')
    sys.stdout = StringIO()
    register(lambda : sys.__stdout__.write(sys.stdout.getvalue()))
fastio()

INF = 10**20
MOD = 10**9 + 7
I = lambda:list(map(int,input().split()))
from collections import defaultdict as dd

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


Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
input_data = list(map(int,(input().split()))
if sum(input_data) > 22:
    print('win')
else:
    print('bust')

s = list(map(int, input().split()))
if sum(s)>=22:
  print('bust')
else:
  print('win')

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a = int(input())
b = int(input())
c = int(input())

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

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

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
A=sum(list(map(int,input().stlip()))
      
      if A <=21:
      	print('win')
      else:
      	print('bust')

a,b,c=map(int,input().stlip())
if a+b+c<=21:
	print('win')
  else:
  	print('bust')

A = sum(list(map(int, input().split())))
 
print("bust") if A >= 22 else print("win")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
print("bust" if sum(map(int, input().strip().split()) >= 22 else "win")

print("bust" if sum(map(int, input().strip().split())) >= 22 else "win")

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
A,B,C=map(int,input.split)
if A+B+C>=22:
    print("bust")
elif A+B+C<=21:
    print("win")

A,B,C=map(int,input().split())
if A+B+C>=22:
    print("bust")
elif A+B+C<=21:
    print("win")

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
s=list(map(int,input()))
if (s[0]+s[1]+s[2]>=22):
  print(bust)
else:
  print(win)


s=list(map(int,input().split()))
if (s[0]+s[1]+s[2]>=22):
  print("bust")
else:
  print("win")

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
A1, A2, A3 = map(int, input().split())

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


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

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


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

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


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
#--import&define---------------------
import math

def yes():
    print("Yes")
def no():
    print("No")
#--my_library--------------------------------

# x,y = map(int,input().split())


#l = []

#    l.append(int(input()))

l = []
ans = 0
for i in range(3):
   ans += int(input())
if ans >= 22:
    print("bust")
else:
    print("win")


#--import&define---------------------
import math

def yes():
    print("Yes")
def no():
    print("No")
#--my_library--------------------------------

# x,y = map(int,input().split())


#l = []

#    l.append(int(input()))

x = input()
x = list(map(int,x.split()))
ans = 0
for i in range(3):
  ans += x[i]

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



Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a,b,c=(int(x) for x in input().split())

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



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

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



Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a1, a2, a3 = map(int, input(), split())

if a1 + a2 + a3 >= 22:
  print('bust')
else:
  print('win')

a1 = int(input())
a2 = int(input())
a3 = int(input())
 
A = a1 + a2 + a3
 
if A >= 22:
  print('bust')
 else:
    print('win')

a1 = input()
a2 = input()
a3 = input()
a = a1 + a2 + a3

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

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

a = int(input());
b = int(input());
c = int(input());

A = a + b+ c;

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

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

a1 = int(input())
a2 = int(input())
a3 = int(input())
 
A = a1 + a2 + a3
 
if A >= 22:
  print('bust')
else:
   print('win')

a1 = int(input())
a2 = int(input())
a3 = int(input())

A = a1 + a2 + a3

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

a1, a2, a3 = map(int, input().split())
 
if a1 + a2 + a3 >= 22:
  print('bust')
else:
  print('win')

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
A = map(int,input().split())

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

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

if A+B+C <= 21:
  print('win')
else:
  print('bust')


Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
A, B, C =map(int,input().shape())
if A+B+C >=22:
  print('bust')
else:
  print('win')

A, B, C =map(int,input().split())
if A+B+C >=22:
  print('bust')
else:
  print('win')

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a,c,c,cafjdsiaof

#coding:utf-8
import bisect
from collections import deque
import sys
sys.setrecursionlimit(10**6)
write = sys.stdout.write
dbg = lambda *something : print(*something) if DEBUG else 0
DEBUG = True

def index(a,b):
    return str(min(a,b)) + "," +  str(max(a, b))

def main(given = sys.stdin.readline):
    input = lambda : given().rstrip()
    LMIIS = lambda : list(map(int,input().split()))
    II = lambda : int(input())
    XLMIIS = lambda x : [LMIIS() for _ in range(x)]

    a = LMIIS()

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





if __name__ == '__main__':
    main()


Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
s = sum(list(map(int,input().split())))
print("bust" if s s>21 else "win")

s = sum(list(map(int,input().split())))
print("bust" if s>21 else "win")

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
v = list(map(int, input().split()))
if sum(v) >= 22:
  print("bust")
else
  print("win")

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


Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a = map(int,input().split())

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

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


Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a = int(input())
b = int(input())
c = int(input())
d = int(a+b+c)
print(d)
if d>=22 :
    print("bust")
else:
    print("win")

a = input()
a = a.split()
result = map(lambda x: int(x), a)
res = 0
for num in result:
    res = res + num
if res>=22 :
    print("bust")
else:
    print("win")

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
N  = int(input())
testimony = [[]for i in range(N)]
for i in range(N):
    num = int(input())
    for j in range(num):
        person, state = map(int, input().split())
        testimony[i].append([person-1,state])
honest = 0
for i in range(1, 2**N):
    flag = 0
    for j in range(N):
        if(i>>j)&1 == 1:
            for x,y in testimony[j]:
                if (i>>x)&1 != y: 
                    flag =1
                    break
    if flag == 0:
        honest = max(honest, bin(i)[2:].count('1'))
print(honest)


a = list(map(int, input().split()))
if sum(a) > 21:
    print('bust')
else:
    print('win')

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a, b, c = ma@(int, input().split())
if a + b + c > 21:
  print("bust")
else:
  print("win")

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

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
if sum(list(map(int,input().split()))) >= 21:
    print('bust')
else:
    print('win')

if sum(list(map(int,input().split()))) > 21:
    print('bust')
else:
    print('win')

Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
#y,m,d=map(int,input().split())
#a,b=map(int,input().split())
#n=int(input())
#a=int(input())
#b=int(input())
#s=list(input())
#recipe=[list(input().split())for _ in range(n)]
#m=int(input())
#have=[list(input().split())for _ in range(m)]
#s=[list(input())for _ in range(n)]
#b=list(map(int,input().split()))
#b=list(map(int,input().split()))
#a=list(map(int,input().split()))
#c=list(map(float,input().split()))
#n=int(input())
#a=[list(input().split())for _ in range(n)]
#a=[int(input())for _ in range(n)]
a=list(map(int,input().split(())))
total=sum(a)
if 22<=total:
    print('bust')
else:
    print('win')

#y,m,d=map(int,input().split())
#a,b=map(int,input().split())
#n=int(input())
#a=int(input())
#b=int(input())
#s=list(input())
#recipe=[list(input().split())for _ in range(n)]
#m=int(input())
#have=[list(input().split())for _ in range(m)]
#s=[list(input())for _ in range(n)]
#b=list(map(int,input().split()))
#b=list(map(int,input().split()))
#a=list(map(int,input().split()))
#c=list(map(float,input().split()))
#n=int(input())
#a=[list(input().split())for _ in range(n)]
#a=[int(input())for _ in range(n)]
a=list(map(int,input().split()))
total=sum(a)
if 22<=total:
    print('bust')
else:
    print('win')

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
A1,A2,A3=map(int,input().split())
if A1+A2+A3<=22:
  print("bust")
else:
  print("win")

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

Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a=input().split()
if a[0]+a[1]+a[2]<=21:
  print('win')
elif a[0]+a[1]+a[2]>21:
  print('bust')

a=list(map(int, input().split()))
if a[0]+a[1]+a[2]<=21:
  print('win')
elif a[0]+a[1]+a[2]>21:
  print('bust')

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a = list(map(int,input()))
s = sum(a)
if s >=22:
  print('bust')
else:
  print('win')

a = list(map(int,input().split()))
s = sum(a)
if s >=22:
  print('bust')
else:
  print('win')

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
n = [int(i) for i in input().split()]
if sum(n) >= 22:
  print("win")
else:
  print("bust")

n = [int(i) for i in input().split()]
if sum(n) >= 22:
  print("win")
else:
  print("bust")

n = [int(i) for i in input().split()]
if sum(n) >= 22:
  print("bust")
else:
  print("win")

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
l_in = list(map(int, input().split()))
if sum(l_in) < 21:
  print('win')
else:
  print('bust')

l_in = list(map(int, input().split()))
if sum(l_in) <= 21:
  print('win')
else:
  print('bust')

Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
W,E,R = map(int,input().split())
if W + E + R >= 22:
    ans("bust")
else :
    ans("win")
print(ans)


W,E,R = map(int,input().split())
if W + E + R >= 22:
    ans("bust")
else :
    ans("win")
print(ans)

W,E,R = map(int,input().split())
if W + E + R >= 22:
    ans="bust"
else :
    ans="win"
print(ans)


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
p = list(map(int, input().split()))
if sum(p) >= 22:
    print('bust')
else:
    print('Win')


p = list(map(int, input().split()))
if sum(p) >= 22:
    print('bust')
else:
    print('win')


Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
#!/usr/bin/env python3
import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 7)

N = int(readline())
tes = [[-1]*N for i in range(N)]
for i in range(N):
    A = int(readline())
    for j in range(A):
        x,y = map(int,readline().rstrip().split())
        tes[i][x-1] = y

cnt = 0
for i in range(2**N):
    hon = [0]*N
    for j in range(N):
        if (i>>j)&1:
            hon[j] = 1
    flag = True
    for j in range(N):
        if hon[j]:
            for k in range(N):
                if tes[j][k] != hon[k]:
                    flag = False
                    break
        if not flag:
            break
    if flag:
        cnt = max(cnt,hon.count(1))
print(cnt)

#!/usr/bin/env python3
import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 7)

A,B,C = map(int,readline().rstrip().split())
if (A+B+C) <=21:
    print("win")
else:
    print("bust")

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a,b,c=map(int,input())
t=a+b+c
if t<=21:
  print('win')
else:
  print('bust')

arr=list(map(int,input().split()))
if sum(arr)>=22:
  print('bust')
else:
  print('win')

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a1, a2, a3 = map(int,input().split())
if a1 + a2 + a3 <= 22:
    print("bust")
else:
    print("win")



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


Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
i = input()
t = i.split()
if 22 >= int(t[0])+int(t[1])+int(t[2]):
    print("bust")
else:
    print("win")

i = input()
t = i.split()
if int(t[0])+int(t[1])+int(t[2])  <= 22:
    print("bust")
else:
    print("win")

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

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):

A = list(map(int, input.split()))

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



A = list(map(int, input().split()))

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


Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
A1 = input()
A2 = input()
A3 = input()

sum = int(A1) + int(A2) + int(A3)

if sum < 22:
	print('win')

elif sum > 21:
	print('bust')

A1, A2, A3 = input().split()

sum = int(A1) + int(A2) + int(A3)

if sum < 22:
	print('win')

elif sum > 21:
	print('bust')

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
N = int(input())
A = []
XY = []
honest_count = []

for i in range(N):
    a = int(input())
    A.append(a)
    inter = []
    for x in range(a):
        xy = list(map(int,input().split()))
        inter.append(xy)
    XY.append(inter)

for i in range(2**N):
    pt = [0]*N
    ck = 1
    for j in range(N):
        if (i>>j)&1:
            pt[N-j-1]=1
    for k in range(N):
        if pt[k] ==1:
            for l in range(A[k]):
                if XY[k][l][1] != pt[XY[k][l][0] -1]:
    if ck == 1:
        honest_count.append(sum(pt))
print(max(honest_count))


N = int(input())
A = []
XY = []
honest_count = []

for i in range(N):
    a = int(input())
    A.append(a)
    inter = []
    for x in range(a):
        xy = list(map(int,input().split()))
        inter.append(xy)
    XY.append(inter)

for i in range(2**N):
    pt = [0]*N
    ck = 1
    for j in range(N):
        if (i>>j)&1:
            pt[N-j-1]=1
    for k in range(N):
        if pt[k] ==1:
            for l in range(A[k]):
                if XY[k][l][1] != pt[XY[k][l][0] -1]:
                    ck = 0
    if ck == 1:
        honest_count.append(sum(pt))
print(max(honest_count))


A, B, C = map(int, input().split())
if A+B+C > 21:
    print('bust')
else:
    print('win')

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a=map(int,input().split())
sum=a[0]+a[1]+a[2]
print(sum)

a=list(map(int, input().split() ) )
#print(a)
s=a[0]+a[1]+a[2]
if s>21:
  print("bust")
else:
  print("win")

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a,b,c = map(int(),input().split())
sum = a+b+c

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


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

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


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

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


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a, b, c = map(int, input().split())
print(a+b+c)

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

Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
def checker(bbit,listN,N):
    i = 0
    j = 0
    ng = False
    #print(N)
    #print(listN)
    
    while N > i :
        j=0
        checkFig = 3
        ibit = 1 << i
        while N > j :
            cbit = 1 << j
            if bbit & cbit == 0 :
                #print("A:{} {}".format(j,i))
                pass
            elif listN[j][i] == 3 :
                #print("B:{} {}".format(j,i))
                pass
            elif (listN[j][i] == 0) and (bbit & ibit != 0):
                ng = True
                break
            elif checkFig == 3 :
                #print("C:{} {}".format(j,i))
                checkFig = listN[j][i]
            elif checkFig != listN[j][i] :
                ng = True
                #print("D:{} {}".format(j,i))
                break
            j += 1
        if ng :
            #print(ng)
            break
        else :
            i +=1
    return (not ng)


def main():
    N = int(input())
    listA = [[3 for j in range(N)] for k in range(N)]
    n = 0
    while N > n :
        a = int(input())
        i = 0
        while a > i:
           x,y  = map(int,input().split())
           listA[n][x-1] = y
           i += 1
        n += 1
        
    honestBit = pow(2, N)-1
    honest = 0
    
    while honestBit > 0:
        ok = checker(honestBit,listA,N)
        if ok :
            okbit = honestBit
            oknum = 0
            while okbit > 0 :
                oknum += (okbit % 2) 
                okbit /= 2
            
            if oknum > honest :
                honest = oknum 
        honestBit -= 1
    

main()

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


Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a = list(map(int, input().split()))
if(sum(a) > 21)
  print('bust')
else
  print('win')

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

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a1, a2, a3 = map(int, input().split())
if a1+a2+a3 >= 22:
  print("bust")
elif a1+a2+a3 < 21:
  print("win")

a1, a2, a3 = map(int, input().split())
if a1+a2+a3 >= 22:
  print("bust")
elif a1+a2+a3 <= 21:
  print("win")

Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
# -*- coding:utf-8 -*-
s = input()
count = 0
for i in range(len(s)):
  a = s[i]
  b = s[::-1][i]
  if a != b:
    count += 1
print(int(count/2))

# -*- coding:utf-8 -*-
a1,a2,a3 = map(int, input().split())

if (a1+a2+a3) < 22:
  print('win')
else:
  print('bust')

Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a,b,c = list(map(int,input().split()))

if a + b + c <= 21:
    print("win")

else:
    print("bust")12 

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

if a + b + c <= 21:
    print("win")

else:
    print("bust")

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
from sys import stdin

a1, a2, a3 = map(int, stdin.readline().split())
if a1+a2+a3>=22:
  print('bust')
  return
print('win')

#!/usr/bin/env python3
import sys

a1, a2, a3 = map(int, sys.stdin.readline().split())
if a1+a2+a3>=22:
  print('bust')
  return
print('win')

a1, a2, a3 = map(int, stdin.readline().split())
if a1+a2+a3>=22:
  print('bust')
  return
print('win')

#!/usr/bin/env python3
import sys

a1, a2, a3 = map(int, sys.stdin.readline().split())
if a1+a2+a3>=22:
  print('bust')
else:
  print('win')

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a = list(map(int,input().split()))
if sum(list) >= 22:
  print('bust')
else:
  print('win')

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

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
A=list(map(int,input().split()))

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

A=list(map(int,input().split()))
if A[0]+A[1]+A[2]<=21:
    print("win")
else:
    print("bust")

Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
input1 = input()
A1 = int(input1.split([0]))
A2 = int(input1.split([1]))
A3 = int(input1.split([2]))

if A1+A2+A3 > 21:
    print("bust")
else:
    print("win")

input1 = input()
A1 = int(input1.split()[0])
A2 = int(input1.split()[1])
A3 = int(input1.split()[2])

if A1+A2+A3 > 21:
    print("bust")
else:
    print("win")

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
def main():
    h,w=map(int,input().split())
    L=80*(h+w)+1
    a=[list(map(int,input().split())) for i in range(h)]
    b=[list(map(int,input().split())) for i in range(h)]


    x=[[abs(a[i][j]-b[i][j]) for j in range(w)] for i in range(h)]
    

    L=12800
    
    state=[[0 for j in range(w)] for i in range(h)]
    delta=x[0][0]
    state[0][0]=(2**L>>delta)|(2**L<<delta)

    for j in range(1,w):
        delta=x[0][j-1]
        state[0][j]=(state[0][j-1]>>delta)|(state[0][j-1]<<delta)

    for i in range(1,h):
        delta=x[i-1][0]
        state[i][0]=(state[i-1][0]>>delta)|(state[i-1][0]<<delta)

    for i in range(1,h):
        for j in range(1,w):
            delta=x[i][j]
            state[i][j]=(state[i][j-1]>>delta)|(state[i][j-1]<<delta)
            state[i][j]=(state[i-1][j]>>delta)|(state[i-1][j]<<delta)

    
    ans = 10**9
    for i in range(L*2):
        if state[h-1][w-1] & 1:
            ans = min(ans,abs(i-L))
        state[h-1][w-1]>>=1
    print(ans-1)



if __name__ == '__main__':
    main()


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

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
as = map(int, input().split())
 
if sum(as) <= 21:
  print("win")
else:
  print("bust")

as = map(int, input().split())

if as.sum() <= 21:
  print("win")
else:
  print("bust")

as_ = map(int, input().split())
 
if sum(as_) <= 21:
  print("win")
else:
  print("bust")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):

using namespace std;

int main(void){
  int A1, A2, A3;
  cin >> A1 >> A2 >> A3;
  cout << ((A1 + A2 + A3 >= 22) ? "bust" : "win") << endl;
  return 0;
}

A1, A2, A3 = map(int, input().split(" "))
print('bust' if A1 + A2 + A3 > 21 else 'win')

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
number = input().split()
if number[0] + number[1] + number[2] >= 22:
  print('bust')
else:
  print('win')  


number = input().split()
if number[0] + number[1] + number[2] >= 22:
  print(bust)
else:
  print(win)  

number = input().split()
if int(number[0]) + int(number[1]) + int(number[2]) >= 22:
  print('bust')
else:
  print('win')  


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a = map(int, input().split())
n = sum(a)
if a < 22:
  print('win')
else:
  print('burst')

a = map(int, input().split())
n = sum(a)
if a <= 21:
  print('win')
else:
  print('burst')

a = map(int, input().split())
if sum(a) <= 21:
  print('win')
else:
  print('bust')

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a, b, c = map(int,input().split())
if a+b+c <= 21:
  print("win")
  else a+b+c >= 21:
    print("bust")
    

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


Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
def sum():
    S = [int(n) for n in input().split()]
    total = sum(S)
    if total >= 22:
        print("bust")
    else:
        print("win")

sum()

    S = [int(n) for n in input().split()]
    total = sum(S)
    if total >= 22:
      print("bust")
    else:
      print("win")

S = [int(n) for n in input().split()]
total = sum(S)
if total >= 22:
    print("bust")
else:
    print("win")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
A₁,A₂,A₃=map(int,input().split())

if A₁+A₂+A₃>=22:
  print('bust')
else:
  print('win')

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

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

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a, b, c= map(int,input())
sum = a + b + c
if sum >= 22:
  preint("best")
else:
  print("win")

num = list(map(int,input().split()))
sum = 0
for i in num:
  sum += i
if sum >= 22:
  print("bust")
else:
  print("win")

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "a,b,c = map(int,input().split())\n",
    "if a+b+c >= 22:\n",
    "    print('bust')\n",
    "else:\n",
    "    print('win')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}


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


Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a = int(input())
b = int(input())
c = int(input())
d = a + b + c
if (d >= 22):
    print('bust')
else:
    print('win')

a = int(input())
b = int(input())
c = int(input())
d = a + b + c

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

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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
s = input()
count = 0
for i in range(len(s)//2):
    if s[i] != s[len(s)-i-1]:
        count += 1

print(count)


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

Verdicts: Wrong Answer

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
A1,A2,A3=map(int,input().split)

if A1+A2+A3>=22:
    print("bust")
else:
    print("win")

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

if A1+A2+A3>=22:
    print("bust")
else:
    print("win")

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
i = input()

l = i.split()

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


i = input()

l = i.split()
l = [int(e) for e in l]

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


Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
lst = list(map(lst = list(map(int,input().split()))
if sum(lst)>=22:
    print("bust")
else:
    print("win")int,input().split()))


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

Verdicts: Runtime Error

Accepted
Problem: Given are three integers A_1, A_2, and A_3.  If A_1+A_2+A_3 is greater than or equal to 22, print `bust`; otherwise, print `win`.

Submission attempts (in order):
a,b.c=map(int,input().split())
if a+b+c>=22:
  print('bust')
else:
  print('win')

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


Verdicts: Runtime Error

Accepted