Problem:


Score : 100 points

Problem Statement

Given are three integers A_1, A_2, and A_3.

If A_1+A_2+A_3 is greater than or equal to 22, print bust; otherwise, print win.

Constraints

1 \leq A_i \leq 13 \ \ (i=1,2,3)

All values in input are integers.

Input

Input is given from Standard Input in the following format:

A_1 A_2 A_3

Output

If A_1+A_2+A_3 is greater than or equal to 22, print bust; otherwise, print win.

Sample Input 1

5 7 9

Sample Output 1

win

5+7+9=21, so print win.

Sample Input 2

13 7 2

Sample Output 2

bust

13+7+2=22, so print bust.



Sample input:
5 7 9


Sample output:
win

Submission status: Wrong Answer

Solution code:
S =input()
#print(S)
#文字数をカウントする。
#print(len(S))
count = 0
#文頭と文末の文字を比べる。
#同じであれば次の文字へ移行。
for i in range(len(S)//2):
  if S[i] == S[len(S) - i - 1]:
    i = i+1
    #異なる場合、1回カウント。
  else:
    i =i+1
    count = count + 1
print(count)

Submission status: Wrong Answer

Solution code:
print("bust" if sum(map(int,input().split()))>21 else "win")
print("test")

Submission status: Wrong Answer

Solution code:
a = input()
print(sum([a>b for a,b in zip(a,a[::-1])]))

Submission status: Wrong Answer

Solution code:
target = list(map(int,input().split()))
if sum(target) >= 21:
    print("win")
else:
    print("bust")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(count)

Submission status: Wrong Answer

Solution code:
print("win" if sum(list(map(int,input().split())))<22 else "best")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
nums = [int(e) for e in input().split()]

s = sum(nums)
if s>21:
  print('burst')
else:
  print('win')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(ANS)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def judge(a1, a2, a3):
  ans = a1 + a2 + a3
  if ans <= 21:
    print("win")
  elif anx >= 22:
    print("bust")

Submission status: Wrong Answer

Solution code:
a, b, c = (int(i) for i in input().split())
sum = a + b + c
if sum < 21:
    print('win')
else:
    print('bust')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a=[int(x) for x in input().split()]

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

Submission status: Wrong Answer

Solution code:
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)

Submission status: Wrong Answer

Solution code:

S = str(input())
invert_S = S[::-1]

#print(S)
#print(invert_S)

ans = 0

for i in range(len(S)):
    #print(S[i],invert_S[i])
    if S[i] != invert_S[i]:
        ans += 1
        #print(invert_S[i],"→",S[i]," ",end="")
        invert_S = invert_S.replace(S[i],invert_S[i])
        #print(invert_S)
#print(invert_S)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l_s = input().split(' ')
i_s = [int(i) for i in l_s]
a = sum(i_s)

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

Submission status: Wrong Answer

Solution code:
s1,s2,s3 = map(int, input().split(" "))

s = s1+s2+3

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

Submission status: Wrong Answer

Solution code:
s=input()
count=0

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

Submission status: Wrong Answer

Solution code:
word = list(input())

count = 0  # 入れ替える個数を用意

if len(word) % 2 == 0:  # もしアルファベットの数が偶数の時
  for i in range(0,int(len(word)/2)):
    if word[i] != word[int(len(word))-1-i]:
      count += 1
  print(count)

else:
  for j in range(0,int((len(word)+1)/2-1)):
    if word[j] != word[int(len(word))-1-j]:
      count += 1            
  print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c=input().split()
print("win")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
result = a+b+c
if result >= 22:
    print("burst")
if result <= 21:
    print("win")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

ans = a1 + a2 + a3

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

Submission status: Wrong Answer

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

ans = a1 + a2 + a3

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C=map(int,input().split())
if (A+B+C)>21:
  print("Bust")
else:
  print("win")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
sum = a + b + c
if sum < 22:
    print('win')
else:
    print('burst')

Submission status: Wrong Answer

Solution code:
# coding: utf-8
A = list(map(int, input().split()))
A_sum = A[0] + A[1] + A[2]
if(A_sum > 22):
    print('bust')
else:
    print('win')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
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")

Submission status: Wrong Answer

Solution code:
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")

Submission status: Wrong Answer

Solution code:
print('win')
#print('bust')

Submission status: Wrong Answer

Solution code:
print('win')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

print(blackjack(input_data))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
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")

Submission status: Wrong Answer

Solution code:
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")

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
import sys
line = sys.stdin.readline()
num = line.split()

if int(num[0]+num[1]+num[2])>=22:
    print("bust")
elif int(num[0]+num[1]+num[2])<22:
    print("win")

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
import sys
line = sys.stdin.readline()
num = line.split()

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

Submission status: Wrong Answer

Solution code:
def blackjack(A1, A2, A3):
    if (A1+A2+A3) >= 22:
        return "bust"
    else:
        return "win"

print(blackjack(1, 2, 3))

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
import sys
line = sys.stdin.readline()
num = line.split()

if int(num[0]+num[1]+num[2])<22:
    print("win")
else:
    print("bust")

Submission status: Wrong Answer

Solution code:
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")

Submission status: Wrong Answer

Solution code:
def blackjack(A1, A2, A3):
    if (A1+A2+A3) >= 22:
        return "bust"
    else:
        return "win"

Submission status: Wrong Answer

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

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

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

print(blackjack(input_data))

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
n,a,b = map(int,input().split())
query = (line.split() for line in readlines())
ans = 0
for s,d in query:
    d = int(d)
    if s == "East": ans += min(a,max(b,d))
    else: ans -= min(a,max(b,d))
if ans > 0:
 	print("East ",ans)
elif ans == 0:print(0)
else: print("West ",-ans)

Submission status: Wrong Answer

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

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

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

print(blackjack(input_data))

Submission status: Wrong Answer

Solution code:
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)

Submission status: Wrong Answer

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

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

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

print(blackjack(input_data))

Submission status: Wrong Answer

Solution code:

if __name__ == "__main__":
    A_s = input().split()
    A_i = [int(s) for s in A_s]
    print(A_i)
    ret = sum(A_i)
    if ret > 21:
        print("bust")
    else:
        print("win")
    exit(0)

Submission status: Wrong Answer

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

x = a+b+c

print(x)

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

else:
    print('bust')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A1, A2, A3 = map(int, input().split())
if ((A1 >=0 and A1<= 13) and (A2 >= 0 and A2 <= 13) and (A3 >= 0 and A3 <= 13) and A1 + A2 + A3 <= 22):
  print("burst")
else:
  print("win")

Submission status: Wrong Answer

Solution code:
a,b,c = input().split(" ")
a = int(a)
b= int(b)
c = int(c)
if (a+b+c>=22):
    print("burst")
elif(a+b+c<22):
    print("win")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import random

A1 = random.randint(1,13)
A2 = random.randint(1,13)
A3 = random.randint(1,13)

ans = A1+A2+A3

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

else:
     print ("win")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
str = [int(i) for i in input().split(" ")]
input_sum = sum(str)
if input_sum >= 22:
    print("true")
else:
    print("win")

Submission status: Wrong Answer

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

sum_value = A1 + A2 + A3

if sum_value == 22:
  print("bust")
else:
  print("win")

Submission status: Wrong Answer

Solution code:
value = map(int,input().strip().split())

def sumValue(values):
    sum_value = 0
    for value in values:
    	sum_value = sum_value + value
    return sum_value
  
  
if sumValue(value) == 22:
 	print("bust")
else:
	print("win")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print(a+b+c)

Submission status: Wrong Answer

Solution code:
A1, A2, A3 = map(int, input("Enter a multiple value: ").split())
if A1 + A2 + A3 >= 22:
    print('bust')
else:
    print('win')

Submission status: Wrong Answer

Solution code:
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)

Submission status: Wrong Answer

Solution code:
s = input()

n = len(s) // 2

sf = s[0:n]
ss = s[::-1]
sb = ss[0:n]
cnt = 0
for i in range(n):
    if sf[i] != sb[i]:
        cnt += 1
print(cnt)

Submission status: Wrong Answer

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

print(cnt)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = input().split(" ")
total = 0
for t in x:
    t = int(t)
    total = total + t
if total >= 22:
  print("burst")
else:
  print("win")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
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")

Submission status: Wrong Answer

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

a += b 
a += c

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

Submission status: Wrong Answer

Solution code:
def Blackjack(a,b,c):
  if(a+b+c >= 22):
    print("bust")
  if(21 >= a+b+c):
    print("win")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def Blackjack(a,b,c):
  if(a+b+c >= 22):
    return("bust")
  if(21 >= a+b+c):
    return("win")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
one,two,three = map(int,input().split())
if one + two + three <=22:
  print("win")
else:
  print("bust")

Submission status: Wrong Answer

Solution code:
x = input().split(" ")
total = 0
for t in x:
    if t.isdigit() == True:
        t = int(t)
        if t <= 13 and t >= 1:
          total = total + int(t)
        else:
            total = total
    else:
        print("Wrong Format")
if total >= 22:
  print("burst")
else:
  print("win")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
def winOrBust(string_numbers_in):
  num_array = string_numbers_in.split()
  result = 0
  for num in num_array:
    result += int(num)
  if result >= 22:
    print('bust')
  else:
    print('win')

if __name__ == "__main__":
    string_numbers_in = input('Input your 3 numbers:')
    winOrBust(string_numbers_in)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
num = list(map(int, input().split()))
if sum(num) >= 21:
  print("bust")
else:
  print("win")

Submission status: Wrong Answer

Solution code:
s = list(map(int, input().split()))
S=s[0]+s[1]+s[2]
if S <= 21:
  print('win')
else:
  print('burst')

Submission status: Wrong Answer

Solution code:
s = input()
res = sum([int(ele) for ele in s.split(" ")])

if res == 22:
    print("bust")
else:
    print("win")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(a1+a2+a3)

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

Submission status: Wrong Answer

Solution code:
x = input().split(" ")
total = 0
for t in x:
    t = int(t)
    if t <= 13 and t >= 1:
      total = total + int(t)
    else:
        total = t
if total >= 22:
  print("burst")
else:
  print("win")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
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')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s=sum([int(x) for x in input().split()])
if s>22:
    print('bust')
else:
    print('win')

Submission status: Wrong Answer

Solution code:
a1, a2, a3 = input().split()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
def function(a1,a2,a3):
  if a1+a2+a3 >= 22:
    print("bust")
  else:
    print("win")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,s,d=map(int,input().split())
print("bust" if sum([a,s,d])<=22 else "win")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

S = A + B + C 

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import random
from operator import itemgetter
import re
import sys
from itertools import accumulate
from collections import defaultdict
from collections import deque
from bisect import bisect_left,bisect
from heapq import heappop,heappush
from fractions import gcd
from copy import deepcopy
input = sys.stdin.readline
N ,M,L= map(int,input().split())
if N+M+L > 21:
    print("burst")
else:
    print("win")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n, l, m = (int(i) for i in input().split())

if n+l+m >22:
  print('bust')
else:
  print('win')

Submission status: Wrong Answer

Solution code:
num_list = [int(item) for item in input().split()]

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a1,a2,a3 = map(int, input().split())

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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


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

Submission status: Accepted

Solution code:
a1, a2, a3 = [int(n) for n in input().split()]

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

Submission status: Accepted

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

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

else:
    print("win")

Submission status: Accepted

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

Z = A + B + C

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
stdin=sys.stdin

ip=lambda: int(sp())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print("bust" if eval(input().replace(" ","+"))>=22 else "win")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin, stdout

def print(x):
    stdout.write(str(x))

def solve():
    A = [int(x) for x in stdin.readline().split()]
    sum = 0
    for a in A:
        sum += a
    if sum < 22 :
        print("win")
    else:
        print("bust")

def main():
    solve()


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

s = sum(A)

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

Submission status: Accepted

Solution code:
def resolve():
    a = tuple(map(int,input().split()))
    print('bust' if sum(a)>21 else 'win')
resolve()

Submission status: Accepted

Solution code:
a,s,d=map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a1,a2,a3=(int(x) for x in input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#147-A

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

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

else:
    print("win")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a, a1, a2 = map(int,input().split())

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3


def solve(A: "List[int]"):
    return ["win", "bust"][sum(A) >= 22]


def main():
    A = list(map(int, input().split()))
    answer = solve(A)
    print(answer)


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
ans = 'bust' if sum([int(i) for i in input().split()]) >= 22 else 'win'
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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