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

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

if sum(a) >= 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):
f=lambda n:format(n, 'b')[::-1].find('1')
c=0
C=[0]*3
n=int(input())
L = list(map(int, input().split()))
for i in range(n):C[i]=f(L[i])
  print(min(C))

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

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

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

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

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

Runtime Error

Runtime Error

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

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


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

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



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

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

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

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

a, b, c = [ int(i) for i in input().split(" ")]
sum = a + b + c
if sum >= 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):
r=0
s=input()
for n in len(s):
  if s[n] != s[(-1)*(n+1)]:
    r+=1
print(r/2)

r = 0
s = input()
for n in range(len(s)):
  if s[n] != s[(-1)*(n+1)]:
    r += 1
print(r/2)

f = map(int, input().split())
s = sum(f)
def u(n):
  if n>=22:
    return "bust"
  else:
    return "win"
print(u(s))

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_1=int(input())
A_2=int(input())
A_3=int(input())
if A_1+A_2+A_3>=22:
    print("bust")
if A_1+A_2+A_3<=21:
    print("bust")

A_1=int(input())
A_2=int(input())
A_3=int(input())
if A_1+A_2+A_3>=22:
    print("bust")
if A_1+A_2+A_3<=21:
    print("win")

A_1,A_2,A_3=map(int,input().split())
if A_1+A_2+A_3>=22:
    print("bust")
if A_1+A_2+A_3<=21:
    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
num = int(len(S) / 2)


for i in range(0,num):
    if S[i] != S[len(S) - i -1]: count += 1

print(count)

A1, A2, A3 = map(int, input().split())
sums = A1 + A2 + A3
if sums >= 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=map(int,open(0))
if a+b>21:
    print('No')
else:
    print('Yes')

if sum(map(int,input().split()))>21:
    print('No')
else:
    print('Yes')

a,b=map(int,input().split())
if a+b>21:
    print('No')
else:
    print('Yes')

int(input())

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

*a,=map(int,open(0))

print('bwuisnt'[eval(input().replace(*' +'))<22::2])

Verdicts: Runtime Error

Wrong Answer

Runtime Error

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):
n = input().split()
res = list(map(int, num))
if sum(res) >= 22:
    print('bust')
else:
    print('win')

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

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

N = int(input())
Nloop = N + 1
A = np.zeros((Nloop, Nloop), dtype="int")
Acount = np.zeros(Nloop, dtype="int")

for i in range(1, Nloop):
    Acount[i] = int(input())
    for _ in range(Acount[i]):
        x, y = map(int, input().split())
        A[i, x] = 1 if y == 1 else -1

honest_loop = 2 ** N
honest_num = np.zeros(Nloop, dtype="int")

ans = 0

for i in range(1, honest_loop):
    for l in range(1, Nloop):
        honest_num[l] = 1 if i >> (l - 1) & 1 == 1 else -1

    check = np.dot(A, honest_num)

    honest_check = True
    for l in range(1, Nloop):
        
        if honest_num[l] == 1 and Acount[l] != check[l]:
            honest_check = False

    if honest_check:
        ans = max(sum(honest_num == 1), ans)

print(ans)

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

a = map(int, input().split())
if sum(list(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):
n = int(input())
Ans = []
for i in range(n):
    Ai = int(input())
    a = []
    for j in range(Ai):
        x,y = map(int,input().split())
        a.append((x,y))
    Ans.append(a)
Honest = 0
TT = [bin(i)[2:].zfill(n) for i in range(2**n)]
#print(TT)
for truth in TT:
    truth = str(truth)
    people = [-1]*n
    #print("====")
    #print(truth)
    flag = True
    for i in range(n):
        tt = truth[i]
        answers = Ans[i]
        #print(answers)
        if tt == "1":
            
            for x,v in answers:
                
                if v:
                    if people[x-1] == 0:
                        flag = False
                        #print("A")
                    else:
                        people[x-1] = 1
                else:
                    if people[x-1] == 1:
                        flag = False
                        #print("B")
                    else:
                        people[x-1] = 0
        else:
            
            for x,v in answers:
                if v == 0:
                    if people[x-1] == 0:
                        flag = False
                        #print("C")
                    else:
                        people[x-1] = 1
                else:
                    if people[x-1] == 1:
                        flag = False
                        #print("D")
                    else:
                        people[x-1] = 0
    if flag:
        Flag = True
        for i in range(len(people)):
            if people[i] == -1:
                people[i] = 0
            else:
                if truth[i] != str(people[i]):
                    Flag = False
                    break
        #print(*people)
        
        if Flag:
            Honest = max(Honest,sum(people))
print(Honest)


n,m,l = map(int,input().split())
if n+m+l <= 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 = input().split()
a2 = 0
for i in range(len(a)):
    a2 += int(a[i])
print(a2)
if a2 >= bust:
    print('win')
elif a2 <= 21:
    print('win')

a = input().split()
a2 = 0
for i in range(len(a)):
    a2 += int(a[i])
#print(a2)
if a2 >= 22:
    print('bust')
elif a2 <= 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):
all = input()
if sum(all) >=22:
  return 'bust'
else:
  return 'win'

all = input()
all = [int(num) for num in all]
if sum(all) >= 22:
    print('bust')
else:
    print('win')

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

all = input()
all = all.split(' ')
all = [int(num) for num in all]
if sum(all) >= 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,b,c = map(int,input().split())
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: 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 main():
    num = input()
    num_list = list(map(int, input().split(" ")))
    result = sum([sum([num_list[i]^num_list[j] for j in range(i)]) for i in range(int(num))])
    print(result%(10**9+7))    

if __name__ == "__main__":
    main()

def main():
    num = input()
    num_list = list(map(int, input().split(" ")))
    # result = sum([sum([num_list[i]^num_list[j] for j in range(i)]) for i in range(int(num))])
    result = 0
    for i in range(int(num)):
        for j in range(i):
            result += num_list[i]^num_list[j]
    print(result%(10**9+7))    

if __name__ == "__main__":
    main()

import sys

def main():
    input_list = input().split(" ")
    a1, a2, a3 = int(input_list[0]), int(input_list[1]), int(input_list[2])
    if a1 + a2 + a3 >= 22:
        print('bust')
    else:
        print('win')

if __name__ == "__main__":
    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):
sum = 0;
for i in range(3):
    x = input()
    num_x = int(x)
    sum += num_x
if sum >= 21:
    print("bust")
else:
    print("win")


sum = 0;
x = list(map(int,input().split()))
for i in x:
    sum += 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):
x = int(input())
y = int(input())
z = int(input())

if x + y + z <= 21:
	print('win')
else:
	print('bust')


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(i) for i in input().split(" ")]
print(sum(a))

a = [int(i) for i in 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 <= 21:
  print("win)
else:
        print("bust")

a = int(input())
b = int(input())
c = int(input())
d = a + b
if c + d <= 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

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 numpy as np
n = int(input())
arr = np.full((n,n),9)
for i in range(n):
  nn = int(input())
  for j in range(nn):
    a,b = map(int,input().split())
    arr[i][a-1] = b

arr2 = arr.T
cnt = 0
for i in range(n):
  for j in range(n):
    if arr[i][j]==0 and arr2[i][j]==0:
      cnt += 1
    elif arr[i][j]==1 and arr2[i][j]==1:
      cnt+=1

print(cnt)

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):
#coding: utf-8

value = input()

list = value.split()

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

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

#coding: utf-8

value = input()

list = value.split()

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

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

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

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


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

print("win" if sum((a, b, c)) < 22 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):
S = input()
rev = S[::-1]

l = int(len(S)/2)
front = S[0:l]
back = rev[0:l]

cnt = 0
moji = 0

for s in front:
    if front[cnt] == back[cnt]:
        moji += 1
    cnt += 1

ans = l - moji
print(ans)

A1,A2,A3 = map(int,input().split())
sum = A1 + A2 + A3
if sum > 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 counter(x):
        if x == 0:
                return 0
        return counter(x >> 1) + int(bin(x & 1), 2)

N = int(input())
A = []
x = [0] * N 
for i in range(N):
        A.append(int(input()))
        x[i] = [list(map(int, input().split())) for j in range(A[i])]

ans = 0 
for bits in range(1, 1 << N): 
        flag = 1 
        for i in range(N):
                if not int(bin(bits & (1 << i)), 2): 
                        continue
                for j in range(A[i]):
                        if int(bin((bits >> (x[i][j][0] - 1) & 1) ^ x[i][j][1]), 2): 
                                flag = 0 
        if flag:
                ans = max(ans, counter(bits))
print(ans)

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 = input()
l_s = s.split(' ')

a = sum(l_s)

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

l_s = input().split(' ')
i_s = [int(i) for i in l_s]
a = sum(i_s)
 
if a <= 21:
  print('win')
else:
  print('bust')

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

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

result = 0
for i in range(1, 2**N):
    consistent = True
    for j in range(N):
        if (i >> j) & 1 == 0:
            continue
        for x, y in evidences[j]:
            if (i >> x) & 1 != y:
                consistent = False
                break
        if not consistent:
            break
    if consistent:
        result = max(result, bin(i)[2:].count('1'))
print (result)


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())
sum=A1+A2+A3
if(sum >= 22):
   print("Bust")
else:
   print("Win")

A1,A2,A3 = map(int,input().split())
sum=A1+A2+A3
print("Sum:",sum)
if(sum < 22):
   print("Win")
else:
   print("Bust")

num1 = int(input("Value1:"))
num2 = int(input("Value3:"))
num3 = int(input("Value3:"))
sum=num1+num2+num3
print("Sum:",sum)
if(sum < 22):
   print("Win")
else:
   print("Bust")

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

Verdicts: Wrong Answer

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):
a1, a2, a3 = map(int, input().split(' '))
    if (a1 + a2 + a3) >=22:
        print("bust")
    else:
        print("win")

s = input()
k = int(len(s) / 2)
k1 = len(s) - 1
count = 0
for i in range(k):
    if s[i] != s[k1-i]:
        count+=1
print(count)

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())
a = np.array(input().split(),dtype=int)
ba = np.array([[int(j) for j in list(format(i,'b').zfill(60))] for i in a]).T
mod = 10**9+7




ans = 0
for i in range(60):
    ans += (((c0[59-i]*(n-c0[59-i]))%mod)*twos[i])%mod

ans %= mod
print(int(ans))


import numpy as np
a = np.array(input().split(),dtype=int)
sum  = a[0] + a[1] + a[2]
if sum > 21:
    print(bust)
else:
    print(win)


import numpy as np
a = np.array(input().split(),dtype=int)
sum  = a[0] + a[1] + a[2]
if sum > 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):
n = int(input())
a = [[] for _ in range(n)]
for i in range(n):
  num = int(input())
  for j in range(num):
    person, state = map(int, input().split())
    a[i].append([person-1, state])
honest = 0
for i in range(1, 2**n):
  flag = True
  for j in range(n):
    if (i>>j)&1 == 1:
      for x, y in a[j]:
        if (i>>x)&1 != y:
          flag = False
          break
  if flag:
    honest = max(honest, bin(i)[2:].count('1'))
print(honest)


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


inp = list(map(int , input().split(" ")))
ans = inp[0]+inp[1]+inp[2]
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= 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")

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):
ans = 0
for i in input().split():
  ans += int(i)
print(ans)

ans = 0
for i in input().split():
  ans += int(i)
print("win" if ans <= 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):
import numpy as np
mod = 10 ** 9 + 7

if __name__ == "__main__":
	N = int(input())
	L = list(map(int, input().split()))
	L = np.array(L)
	ans = 0
	for i in range(60 + 2):
		A = L % 2
		L = L // 2
		ans += np.sum(A) * (N - np.sum(A)) * (2 ** i) % mod
	print(ans % mod)

if __name__ == "__main__":
	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):
#include <bits/stdc++.h>
using namespace std;

const int INF = 100100100;
const int MOD = (int)1e9 + 7;
typedef long long ll;



int main() {
  int a,b,c;
	cin >> a >> b >> c;
	string ans = "win";
	if (a+b+c>21) ans = "bust";
  cout << ans << endl;
}



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

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

ans2 = 0
###
for y in range(N):
  for x in range(y+1,N):
    ans2 += (A[y] ^ A[x]) % 1000000007  
print(ans2%1000000007)
###


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

if (A1+A2+A3) <= 21:
  print('win') 
elif(A1+A2+A3) > 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, b, c = 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):
def blackjack(s):
    a, b, c = [_ for int(_) in in_str.split()]
    if a + b + c >= 22:
        print("bust")
    else:
        print("win")

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


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

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


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()
if(a1+a2+a3<22):
 print("win")
else:
 print("bust")


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


a1 = raw_input()
a2 = raw_input()
a3 = raw_input()
if(a1+a2+a3<22):
 print("win")
else:
 print("bust")


a1,a2,a3 = map(int,input().split())
if(a1+a2+a3<22):
 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, a2, a3 = map(int, input().split())
if a2+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):
s = int(input()).split(" ")
print("bust") if sum(s) >= 22 else print("win")

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


a1, a2, a3 = map(int, input().split())
print('win') if (a1 + a2 + a3) < 22 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):
s = input()
l1 = len(s)
res = 0
if l1%2 ==0:
    for i in range(l1//2):
        if s[i]!=s[-i-1]:
            res +=1
else :
    for i in range(l1//2):
        if s[i]!=s[-i-1]:
            res +=1
print(res)

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

inputNums = input().split()
A1 = int(inputNums[0])
A2 = int(inputNums[1])
A3 = int(inputNums[2])
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 sum(A1,A2,A3)>21:
    print("bust")
else:
    print("win")

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

A1,A2,A3 = map(int,input().split())
if A1+A2+A3>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):


import math
n=int(input())
al=list(map(int,input().split()))
a=['{:060b}'.format(x) for x in al]
a=''.join(a)
 
m=math.ceil(math.log(max(1,max(al)),2))
 
ans=0
for i in range(m):
  sum1=a[59-i::60].count('1')
  sum0=n-sum1
  ans+=2**i*sum1*sum0
 
print(ans%(10**9+7))


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

if total >=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):
number = input().split()

for i in number:
 sum = sum + i
 
if(sum>21): 
 print("bust")
else:
 print("win")


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

sum = 0
for i in number:
 sum += 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 = list(map(int, input().split()))

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


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

dDic = {'SUN':7,'MON':6,'TUE':5,'WED':4,'THU':3,'FRI':2,'SAT':1 }

print(int(dDic[s]))


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

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


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

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

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

sum = 0
for x in sys.argv:
    sum += int(x)

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

numbers = input().split(' ')

x = 0
for i in numbers:
    x += int(i)

if x > 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):
import sys

args = sys.argv

sum = int(args[0])+int(args[1])+int(args[2])

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

import sys
 
args = sys.argv
 
sum = int(args[1])+int(args[2])+int(args[3])

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


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

import sys
A1, A2, A3 = input().split(" ")
A1 = int(A1)
A2 = int(A2)
A3 = int(A3)
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):
if sum(map(int,input().split()) > 21:
       print('bust')
else:
       print('win')

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

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

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, b, c = map(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):
import numpy as np
N = int(input())
data_xy = []
for i in range(N):
    A = int(input())
    xy = []
    for i in range(A):
        [x,y] = list(map(int,input().split()))
        xy.append([x-1, y])
    data_xy.append(xy)
ans = 0
for i in range(2**N):
    p_list = [0]*N
    for j in range(N):
        if (i>>j) & 1 == 1:
            p_list[j] = 1
    flag = True
    for j in range(N):
        if p_list[j] == 1:
            for k in range(len(data_xy[j])):
                x = data_xy[j][k][0]
                y = data_xy[j][k][1]
                if p_list[x] != y:
                    flag = False
    if flag == True:
        ans = max(sum(p_list),ans)
print(ans)

import numpy as np
N = int(input())
data_xy = []
for i in range(N):
    A = int(input())
    xy = []
    for i in range(A):
        [x,y] = list(map(int,input().split()))
        xy.append([x-1, y])
    data_xy.append(xy)
data_xy = np.array(data_xy,dtype=np.int64)
ans = 0
for i in range(2**N):
    p_list = [0]*N
    for j in range(N):
        if (i>>j) & 1 == 1:
            p_list[j] = 1
    flag = True
    for j in range(N):
        if p_list[j] == 1:
            for k in range(len(data_xy[j])):
                x = data_xy[j][k][0]
                y = data_xy[j][k][1]
                if p_list[x] != y:
                    flag = False
    if flag == True:
        ans = max(sum(p_list),ans)
print(ans)

A = list(map(int,input().split()))
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):
input_line = input()
v1,v2,v3 = input_line.split(' ')
if v1+v2+v3 >= 22:
  print('bust')
else:
  print('win')

input_line = input()
v1,v2,v3 = input_line.split(' ')
total = int(v1)+int(v2)+int(v3)
if total >= 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().split(" "))
if a + b + c == 22:
  print("bust")

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

if sum([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):
x,y,z = map(int,input())
if(x+y+z>=22):
    print("bust")
else:
  print("win")

x,y,z=map(int,input().split())
if(x+y+z<=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().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):
A1, A2, A3 = map(int, split(input()))
total = A1 + A2 + A3
if total >= 22:
    print("bust")
else:
    print("win")

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

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

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


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

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


a,b,c=(int(x) for x in 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()))
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):
def resolve():
    li = input().split()

    if li[0]+li[1] < 8:
        print("win")
    else:
        if li[0]+li[1]+li[2] <= 22:
            print("win")
        else:
            print("bust")

li = input().split()

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


def resolve():
    li = input().split()

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


li = input().split()

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


def resolve():
    li = input().split()

    if li[0]+li[1] < 8:
        print("win")
    else if [0]+li[1];li[2] <= 22:
        print("win")
    else:
        print("bust")

def resolve():
    a1,a2,a3 = map(int, input().split())

    if a1+a2 < 8:
        print("win")
    else:
        if a1+a2+a3 <= 21:
            print("win")
        else:
            print("bust")

def resolve():
    li = input().split()

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


def resolve():
    a1,a2,a3 = map(int, input().split())

    if a1 + a2 + a3 <= 21:
        print("win")
    else:
        print("bust")

def resolve():
    a1,a2,a3 = map(int, input().split())

    if a1+a2+a3 <= 21:
         print("win")
    else:
        print("bust")


def resolve():
    a1,a2,a3 = map(int, input().split())

    if a1+a2 < 8:
        print("win")
    else:
        if a1+a2+a3 <= 22:
            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

Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Wrong Answer

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,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 > 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):
inp = input().split()

input().split() == "2 5 7" == ["2", "5","7"]

A = int(inp[0])
B = int(inp[1])
C = int(inp[2])

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

inp = input().split()

input().split() == "2 5" == ["2", "5",]

A = int(inp[0])
B = int(inp[1])
C = int(inp[3])

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

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

if n[0]+n[1]+n[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):
n = int(input())

a = []
xys = [[] for i in range(n)]

for j in range(n):
    a.append(int(input()))
    for i in range(a[j]):
        xys[j].append(list(map(int,input().split())))

ps = []
p = [0 for i in range(n)]
for i in range(n+1):
    for combi in itertools.combinations(range(n),i):
        p = [0 for i in range(n)]
        combi = list(combi)
        for i in combi:
            p[i] = 1
        ps.append(p)

for l in range(2**n):
    for i in range(n):
        if  (ps[l])[i] == 1:
            for j in range(a[i]):
                if ps[l][xys[i][j][0] - 1] != xys[i][j][1]:
                    ps[l] = [0,0,0]

print(max(sum(ps[l]) for l in range(2**n)))

n = int(input())

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

ans = 0
for i in range(60):
    k = 1 << i
    i_1 = sum([k & a for a in ass]) >> i
    ans += i_1 * (n - i_1) << i
    ans = ans % ((10**9) + 7)

print(ans)


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

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

s = input()

s_ = list(reversed(s))

a = ''

x = 0

for i in s:
    for i_ in s_:
        if i != i_:
            a += i
            x += 1
        break
        

print(x)

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

input = input()

a = int(input[0])
b = int(input[1])
c = int(input[2])

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

input = input().split(" ")

a = int(input[0])
b = int(input[1])
c = int(input[2])

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

input = input().split()

a = int(input[0])
b = int(input[1])
c = int(input[2])

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

input = input().split()

a = int(input[0])
b = int(input[1])
c = int(input[2])

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

Verdicts: Runtime Error

Runtime Error

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):
a1, a2, a3 = int(input().split(" "))

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

s = input()

count = 0

for i in range(len(s)//2):
  if(s[i] != s[len(s)-i-1]):
    count += 1
    
print(count)

a1, a2, a3 = [int(i) for i in 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):
A,B,C = map(int, input().split())

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

A,B,C = map(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:
      prit("win")

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):
a1, a2, a3 = (int(x) for x in input().split())

if a1 + a2 + a3 >= 22:
    print('Bust')

elif a1 + a2 + a3 <= 21:
    print('Win')

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

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

print(a1+a2+a3)

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


print((eval(input().replace(" ","+"))>21)*"bust" or "win")

Verdicts: Runtime Error

Accepted