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,b,c=map(int,input().split(' '))
if sum(a.b.c) >=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):
A1, A2, A3 = map(int, input().split())
s = A1 + A2 + A3

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

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

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):
a,b,c=map(int, input(),split())
if a+b+c >= 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):
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: 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):
x,y,z= map(int,input().split())
if sum(x,y,z)>21:
    print("bust")
else:
    print("win")


x,y,z= map(int,input().split())
if x+y+z>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())
if a+b+c >= 21 :
  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 = list(map(int, input().split()))
    a1, a2, a3 = A
    if a1 + a2 + a3 >= 22:
        print('bust')
    else:
        print('win')

A = list(map(int, input().split()))
a1, a2, a3 = A
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=list(map(int,input()split()))
B=0
B=A[0]+A[1]+A[2]
if B>=22:
    print("bust")
else:
    print("win")

A=list(map(int,input().split()))
B=0
B=A[0]+A[1]+A[2]
if B>=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()
b=input()
c=input()
if(a+b+c) %2==0:
    print("bust")
else:
    print("win")

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

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

a = [int(i) for i in input().split(" ")]
print("bust") if sum(a) >= 22 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, b, c=(int(x) for x in input().split())
print('bust'if a+b+c >=21 else'win')

a, b, c=(int(x) for x in input().split())
print('bust'if a+b+c >=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):
# coding: utf-8
a = list(map(int, input().split()))
if sum(a) > 21:
    print("bust")
else:
    print(win)

# coding: utf-8
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 = int(input())
b = int(input())
c = int(input())
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):
A = [int(_) for _ in input().split()]

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

A = [int(_) for _ in 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):


import sys


def main():
    l = list(sys.stdin.readline().split())
    [int(e) for e in l]
    if sum(l) <= 21:
        print('win')
    else:
        print('bust')


main()




import sys


def main():
    l = list(sys.stdin.readline().split())
    if sum(l) <= 21:
        print('win')
    else:
        print('bust')


main()




import sys


def main():
    l = list(sys.stdin.readline().split())
    l = [int(e) for e in l]
    if sum(l) <= 21:
        print('win')
    else:
        print('bust')


main()


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 = int(input())

A2 = int(input())

A3 = int(input())


s = A1 + A2 + A3

if s >= 22:

    print('bust')

else:

    print('win')


s = str(input())
x = len(s)
tmp = 0

if x%2 != 0:
    for i in range((x-1)//2):
        if s[i] != s[x-i-1]:
            tmp += 1

else:
    for i in range(x//2):
        if s[i] != s[x-i-1]:
            tmp += 1

print(tmp)

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

s = a1 + a2 + a3

if s >= 22:

    print('bust')

else:

    print('win')


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


n = int(input())
*l, = map(int,input().split())

lone = [0]*60
for i in range(n):
  m = l[i]
  for j in range(60):
    lone[j] += m%2
    m=m>>1
    if m==0:
      continue
ans = 0
for i in range(len(lone)):
  ans += 2**i*lone[i]*(n-lone[i])
print(ans%(10**9+7))

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

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

a1=int(input())
a2=int(input())
a3=int(input())
if a1+a2+a3 >=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

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("win" if sum(list(map(int,input().split())))<21 else "bust")

print("win" if sum(list(map(int,input().split())))<=21 else "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, A2, A3 = input().split()

T = A1 + A2 + A3

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

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

t = A1 + A2 + A3

if t >= 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: 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())

ans = A+B+C
if ans>=22:
	print(bust)
elif ans <= 21:
	print(win)

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

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):
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):
A,B,C=map(int, input().split())
print('bust' if A+B+C => 22 else 'win')

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

A,B,C=map(int, input().split())
print('bust' if A+B+C >= 22 else '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(list(map,input().split()))>=22 else 'win')

print('bust' if sum(list(map(int,input().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):
def main():
  array = []
  array = raw_input().split(' ')
  
  if sum(array) >= 22:
    print('bust')
  else:
    print('win')

if __name__ == '__main__':
  main()
  

#/usr/bin/env python3
def main():
  array = []
  array = list(map(int, input().split(' ')))
  
  if sum(array) >= 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):
# -*- coding: utf-8 -*-

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

print("{}".format(x = "bust" if n >= 22 else "win"))

a, b, c = map(int, input().split())
print(f'string value: { "bust" if a+b+c >= 22 else "win"}')

a, b, c = map(int, input().split())
print(f'string value: { "bust" if a+b+c >= 22 else "win"}')

def main(input):
  array = map(int, input().split())
  if sum(array) >= 22:
    print("bust")
  else:
    print("win")

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

Verdicts: Runtime Error

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 = int(input())
A_array = map(int, input().split())
A_sum = A_array[0] + A_array[1] + A_array[2]
if(A_sum < 22):
    print('win')
else:
    print('bust')


# coding: utf-8
A = list(map(int, input().split()))
A_sum = sum(A)
if(A_sum > 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 function(a1,a2,a3):
  if a1+a2+a3 >= 22:
    print("bust")
  else:
    print("win")

def black_jack(a1,a2,a3):
    if 1<=a1<=13 and 1<=a2<=13 and 1<=a3<=13:
        if a1+a2+a3 >= 22:
            print("Bust")
        else:
            print("Win")


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


def black_jack(A1=int,A2=int,A3=int):
    if 1<=A1<=13 and 1<=A2<=13 and 1<=A3<=13:
        if A1+A2+A3 >= 22:
            print("Bust")
        else:
            print("Win")




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

def black_jack(a1,a2,a3):
  if 1<a1+a2+a3<=22:
    print("burst")
  else:
    print("win")
    

inp = input()
inpLi = inp.split("")
A1 = int(inpLi[0])
A2 = int(inpLi[1])
A3 = int(inpLi[2])
result = A1+A2+A3
if result >= 22:
  print("bust")
else:
  print("win")


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

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

Verdicts: Wrong Answer

Wrong Answer

Runtime Error

Wrong Answer

Runtime Error

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):
S = list(input())
ANS = 0
for i in range(len(S)//2):
    if S[i] != S[len(S)-i-1]:
        ANS += 1

print(ANS)

S = list(input())
ANS = 0
for i in range(len(S)//2):
    if S[i] != S[len(S)-i]:
        ANS += 1

print(ANS)

A, B, C = map(int, input().split())
if A + B + C >= 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):
s = input()
arr = [int(i) for i in s.split('')]
result = 0
for j in range(arr):
  result += arr[j]
if(result>=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):
n = int(input())
print("bust" if n>=22 else "win" )

import functools
n = functools.reduce(lambda x,y: int(x)+int(y), input().split())
print("bust" if n>=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 = 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
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):
list = input().split()

jack = list[0] + list[1] + list[2]

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


list = input().split()
 
jack = int(list[0]) + int(list[1]) + int(list[2])
 
if jack >= 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):
print("win" if sun(map(int,input().split()))<=21 else "bust")

print("win" if sum(map(int,input().split()))<=21 else "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 = [int(i) for i in a]
if sum(a) >= 22:
    print("bust")
else:
    print("win")

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

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

if sum(a) >= 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):
print('bust') if sum(input().split()) >= 22 else print('win')

s = str(input())
 
length = len(s)
 
n = length//2
 
m = 0
 
for i in range(n):
  x = (i+1)*(-1)
  if s[i]!=s[x]:
    m += 1
print(m)

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

Verdicts: 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 = map(int,input().split())
print ("win" if a+b+c < 21 else "bust")

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

if x >= 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):
N = input().split()
print(N)

sum = 0
for i in range(len(N)):
  sum += int(N[i])
  
if sum >= 22:
  print('bust')
else:
  print('win')

N = input().split()

sum = 0
for i in range(len(N)):
  sum += int(N[i])
  
if sum >= 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):
if __name__ == '__main__':
  a,b,c=(int(x) for x in input().split())
  if(sum(a,b,c)>=22):
    print("bust")
  else:
    print("win")

if __name__ == '__main__':
  line=[int(x) for x in input().split()]
  if(sum(line)>=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):
str = [int(input()) for i in range(3)]
input_sum = sum(str)
if input_sum >= 22:
    print("true")
else:
    print("win")


str = [int(i) for i in input().split(" ")]
input_sum = sum(str)
if input_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):
A = [map(int, input().split())]
print("win" if sum(A) >= 22 else "bust")

A = [map(int, input().split())]
print("win" if sum(A) < 22 else "bust")

A = list(map(int, input().split()))
print("win" if sum(A) < 22 else "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 = input().split()
if int(a[0]+a[1]+a[2]) >= 22:
  print ("bust")
else:
  print("win")

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

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

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

Verdicts: 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):
x=list(map(int, input().split()))
if x[2]+x[1]+x[0]>21:
	print('bust')
else:
	print('Win')

x=list(map(int, input().split()))
if x[2]+x[1]+x[0]>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):
list1 = [int(e) for e in input().split()]
sum = 0
for num in list1:
    sum += num

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

list1 = [int(e) for e in input().split()]
sum = 0
for num in list1:
    sum += num

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

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

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

if((A[0]+ A[1] +A[2]) >= 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):
l=list(map(int,input().split()))
s=sum(l)
if(l<=21):
  print("win")
else:
  print("bust")

l=list(map(int,input().split()))
s=sum(l)
if(s<=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 = (int, input().split())

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

print('bust')

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

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

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

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

A = input().split()

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

A = list(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 = list(map(int, input().split()))
print("bust" if sum(a) else "win")

a = list(map(int, input().split()))
print("bust" if sum(a) >= 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):
a = int(input())
b = int(input())
c = int(input())

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

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

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

a = [int(x) for x in input().split(" ")]
print("bust") if sum(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):
A = list(map(int, input().split()))

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

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

print("bust" if sum(A) >= 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):
A,B,C=list(map(int,input().split())
if A+B+C<22:
    print("win")
else:
    print("bust")

A,B,C=list(map(int,input().split()))
if A+B+C<22:
    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())

a += b 
a += c

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

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

a += b 
a += c

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

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

sum=0
sum+=a
sum+=b
sum+=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):



input = input().split(" ")
for i, j in enumerate(input):
  input[i] = int(j)
    
if sum(input) > 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):
n = int(input())
lst = [[-1 for _ in range(n)] for _ in range(n)]
for _ in range(n):
    c = int(input())
    for c1 in range(c):
        x, y = map(int, input().split())
        x -= 1
        lst[_][x] = y
        
ans = 0
for bit in range(2**n):
    flg = True
    for a in range(n):
        if (bit >> a) & 1:
            for x in range(n):
                if lst[a][x] != -1 and ((bit >> x) & 1) != lst[a][x]:
                	flg = False
                    break
    if flg:
        ans = max(ans, bin(bit).count('1'))
print(ans)


n = int(input())
lst = [[-1 for _ in range(n)] for _ in range(n)]
for _ in range(n):
    c = int(input())
    for c1 in range(c):
        x, y = map(int, input().split())
        x -= 1
        lst[_][x] = y
        
ans = 0
for bit in range(2**n):
    flg = True
    for a in range(n):
        if (bit >> a) & 1:
            for x in range(n):
                if lst[a][x] != -1 and ((bit >> x) & 1) != lst[a][x]:
                  flg = False
                  break
    if flg:
        ans = max(ans, bin(bit).count('1'))
print(ans)


n = int(input())
lst = [[-1 for _ in range(n)] for _ in range(n)]
for _ in range(n):
    c = int(input())
    for c1 in range(c):
        x, y = map(int, input().split())
        x -= 1
        lst[_][x] = y

ans = 0
for bit in range(n**2 - 1):
    flg = True
    for a in range(n):
        if (bit >> a) & 1:
            for x in range(n):
                if lst[a][x] != -1 and ((bit >> x) & 1) != lst[a][x]:
                    flg = False
                    break
if flg:
  ans = max(ans, bin(bit).count('1'))
print(ans)
    

a, b, c = map(int, input().split())
if a+b+c >= 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):
 = input()
b = a.split()

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

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

a = input()
b = a.split()

if int(b[0]) + int(b[1]) + int(b[2]) >= 22:
    print("bust")
    
else:
    print("winn")

a = input()
b = a.split()

if int(b[0]) + int(b[1]) + int(b[2]) >= 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):
A1,A2,A3=map(int,input().split())
A=A1+A2+A3
if　A>=22:
  print("bust")
else
	print("win")


li = list(map(int,input().split()))
if li[0]+li[1]+li[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):
A = list(map(int, input().split()))

SUM_A = sum(A)

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

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

SUM_A = sum(A)

if SUM_A <= 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):
value=input()
value_list=[v for v in value]
value_list_rev=list(reversed(value_list))
cnt=0
for i in range(round(len(value_list)/2)):
  if value_list[i] != value_list_rev[i]:
    cnt=cnt+1
print(cnt)

value=input()
value_list=value.split()
if sum(int(i) for i in value_list) >= 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 = list(map(int,input().split()))
sum = a[0] + a[1] + a[2]
if sum >= 22
	print("bust")
else:
	print("win")

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

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

a = list(map(int,input().split()))
sum = a[0] + a[1] + a[2]
if sum >= 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):
N = int(input())
A = list(map(int,input().split()))

num = 0

for i in range(N-1):
    for j in range(i+1,N):
        b3 = A[i]^A[j]
        num += b3

print(num%(10**9+7))

a,b,c = map(int,input().split())
print('bust' if a+b+c>=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 = list(map(int,input().split()))
ans = sum(a)
if a >= 22:
  ans = "burst"
else:
  ans = "win"
print(ans)

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

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(A) > 21:
    print('bust')
else:
    print('win')


A = [int(x) for x in 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):
L,M,N = map(int,input().split())
print("win" if L+M+N >= 22 else "bust")

L,M,N = map(int,input().split())
print("bust" if L+M+N >= 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):
# -*- coding: utf-8 -*-
import sys

N=int(input())

ans_l=[1]*N

if N == 1:
    print("1")
else:
    for i in range(N):
        A=int(input())
        for j in range(A):
            a,b=map(int,input().split())
            ans_l[a-1]=ans_l[a-1]*b
    print(sum(ans_l))


# -*- coding: utf-8 -*-
import sys
a = [int(x) for x in sys.stdin.readline().rstrip().split()]
if sum(a) < 22:
    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):
A1=int(input())
A2=int(input())
A3=int(input())
point=A1+A2+A3
if point >= 22:
  print("bust")
else:
  print("win")

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

s=list(map(int,input().split()))
point=sum(s)
if point >= 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):
flag=0
while flag==0:
    a,b,c = input('Enter 3 number:').split()
    a = int(a)
    b = int(b)
    c  = int(c)

    if 1<=a<=13 and 1<=b<=13 and 1<=c<=13:
        flag=1

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

flag=0
while flag==0:
    a,b,c = input('').split()
    a = int(a)
    b = int(b)
    c  = int(c)

    if 1<=a<=13 and 1<=b<=13 and 1<=c<=13:
        flag=1

score = a+b+c
if score>=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):
S = input().split(" ")
sum = 0
for i in S:
  sum = sum + i
if(sum >21):
  print("bust")
else:
  print("win")

S = input().split(" ")
sum = 0
for i in S:
  sum = sum + int(i)
if(sum >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())

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

if sum(map(int,input().split())) < 22:
  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):
if sum(list(map(int,input().split())))>=22:
  print("win")
else:
  print("burst")

if sum(list(map(int,input().split())))>=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())

x = a+b+c

print(x)

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

else:
    print('bust')

a = input()
b = input()
c = input()

x = int(a)+int(b)+int(c)

print(x)

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

else:
    print('bust')

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

x = a+b+c

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

else:
    print('bust')

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):
print(sum([int(list(input().split())[i]) for i in range(3)]))

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

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

Verdicts: 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):
import numpy as np
N = int(input())

lst = np.array([int(i) for i in input().split()])

sum = 0
for i in range(N):
    for j in range(i+1, N):
        sum += (lst[i] ^ lst[j]) 

print(int(sum % (1e9+7)))

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

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 -*-
a1, a2, a3 = map(int, input().sprit())
print("win" if a1 + a2 + a3 <=21 else "bust")

# -*- coding: utf-8 -*-
a1, a2, a3 = map(int, input().split())
print("win" if a1 + a2 + a3 <= 21 else "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=map(int(input.split()))
if A+A+A>=22:
  print("bust")
else:
  print("win")

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

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

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

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

Verdicts: 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):
num = list(map(int, input().split()))
if sum(num) >= 21:
  print("bust")
else:
  print("win")

num = list(map(int, input().split()))
if sum(num) >= 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=input().split()
a=int(a)
b=int(b)
c=int(c)
if a+b+c<=21:
  print(win)
else:
  print(bust)

a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
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):
a1,a2,a3 = list(map(int,input().split()))

ans = a1 + a2 + a3

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


a1,a2,a3 = list(map(int,input().split()))

ans = a1 + a2 + a3

if ans >= 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 = list(map(int, input().split()))
sum_A = sum(A)
if sum_A < 21:
  print("win")
else:
  print("bust")

A = list(map(int, input().split()))
sum_A = sum(A)
if sum_A <= 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):
n = int(input())
x = []
y = []

for i in range(n):
    a = int(input())
    x.append([])
    y.append([])
    for j in range(a):
        u, v = map(int, input().split())
        x[i].append(u)
        y[i].append(v)
ans = 0
for i in range(2 ** n):
    jdg = [False] * n
    used = [False] * n
    end = False
    for j in range(n):
        if ((i >> j) & 1):
            jdg[j] = True
    for j in range(n):
        for k in range(n):
            if ((not jdg[k]) or used[k]):
                continue
            used[k] = True
            for l in range(len(x[k])):
                if (y[k][l] == 1):
                    jdg[x[k][l] - 1] = True
                elif (jdg[x[k][l] - 1]):
                    end = True
                    break
            if (end):
                break
        if (end):
            break
    if (end):
        continue
    ans = max(sum(jdg), ans)

print(ans)


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

print('bust' if sum(a) > 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):
s = input()
arr = [int(i) for i in s.split('')]
result = 0
for j in range(arr):
  result += arr[j]
if(result >= 22):
  print("bust")
else:
  print("win")

s = input()
arr = [int(i) for i in s.split('')]
result = 0
for i in range(arr):
  result = result+arr[i]
if(result>=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

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())
k = a+b+c

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

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

if k >= 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())

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)
    

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

if A + B + C >= 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())
print("bust" if sum(a)>=22 else "win")

*A, = 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):
sum=0
i = 1
while i < 4:
  val = int(input(""))
  sum+=val
  i += 1

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

sum=0
i = 1
while i < 4:
  val = int(input(""))
  sum+=val
  i += 1

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):
n=int(input())
xy=[]
for i in range(n):
  a=int(input())
  xy.append([list(map(int,input().split())) for j in range(a)])

ans=0
for i in range(2**n):
  honest=[]
  for j in range(n):
    if (i>>j)&1:
      honest.append(1)
    else:
      honest.append(0)
  p=0
  for j,k in enumerate(honest):
    if k==1:
      r=0
      for l in xy[j]:
        if honest[l[0]-1]!=l[1]:
          r=1
          break    
      if r==0:
        p=p+1
  if p==sum(honest):
    ans=p
print(max(ans))

a,b,c=map(int,input().split())
print('win' if a+b+c<=21 else '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 itertools import product

N = int(input())
A = [[] for i in range(N)]

for i in range(N):
    ai = int(input())
    for j in range(ai): 
        x, y = map(int, input().split())
        x = x - 1
        A[i].append([x, y])
        

ans = 0
for pattern in product([0, 1], repeat=N):
    num = pattern.count(1)
    contradictions = False
    for i, testimony in enumerate(A):
        if pattern[i] == 0:
            continue
        for t in testimony:
            x, y = t
            if pattern[x] != Y ^ (1- pattern[i]):
                contradictions  = True
                break
        if contradictions:
            break
    if contradictions:
        continue
    ans = max(ans, num)
print(ans)
    

cards = [int(i) for i in input().split()]

if sum(cards) >= 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()) )
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")


a =list( map(int, input().split()) )
a = sum(a)
if(a>=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())
if a+b+c >= 22:
print("bust")
else:
    ("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):
s = sum(input().split())
print('bust' if s >= 22 else 'win') 

s = sum(int(x) for x in input().split())
print('bust' if s >= 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, 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) >= 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):
int a,b,c
if a+b+c >= 22:
  print bust
else:
  print win

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

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

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


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

if sum(a_n) >= 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())
print('bust' if a+b+c>21 else 'win')

a, b, c = map(int, input().split())
print('bust' if a+b+c > 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):
inputs = []
for x in range 3:
    inputs.append(input("Input: "))
indices = [0,2]
if(a[indices].sum() >= 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 = list(map(int, input().split()))

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

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

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

Verdicts: Wrong Answer

Accepted