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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
  main()

Submission status: Accepted

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

if a[0] + a[1] + a[2] >= 22:
    print("bust")
elif a[0] + a[1] + a[2] <= 21:
    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 = sum([ int(v) for v in input().split() ])

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

Submission status: Accepted

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

Submission status: Accepted

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

sum_ = sum(a)

if sum_ <= 21:
    print('win')
else:
    print('bust')

Submission status: Accepted

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

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

Submission status: Accepted

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: Accepted

Solution code:
n1,n2,n3=map(int,input().split())
if((n1+n2+n3)>=22):
	print("bust")
else:
	print("win")

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A, B, C = list(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 > 21:
    print('bust')
else:
    print('win')

Submission status: Accepted

Solution code:
import sys

vs = [int(s) for s in sys.stdin.read().strip().split()]
if sum(vs) >= 22:
  print('bust')
else:
  print('win')

Submission status: Accepted

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

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:
i = list(map(int, input().split()))
if i[0] + i[1] + i[2] >= 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:
N = input().split()
A1 = int(N[0])
A2 = int(N[1])
A3 = int(N[2])

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

Submission status: Accepted

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

if x+y+z>=22:
    print("bust")
elif x+y+z<=21:
    print("win")

Submission status: Accepted

Solution code:
A,B,C = map(lambda x: int(x),input().split())
if A+B+C >21:
  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,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()) 
check = A1 + A2 + A3
if check >=22:
    print("bust")
else:
    print("win")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding: utf-8
# n,k = int(input())
# list = list(map(int,input().split()))
# strings = list(map(str, [input() for i in range(amount)]))

n,k,m = map(int,input().split())
# n,k,m = int(input())
a = n + k + m

if a >= 22:
    l = 'bust'
else:
    l = 'win'

print(l)

Submission status: Accepted

Solution code:
from sys import stdin
lines = stdin.readlines()
 
A1, A2, A3 = map(int, lines[0].split())

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
def main():
  a, b, c=map(int, input().split())  #複数数値入力　「A B」みたいなスペース空いた入力のとき
  if a+b+c >= 22:
    print("bust")
  else:
    print("win")

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def wczytaj_liste(): 
    wczytana_lista = input()
    lista_znakow = wczytana_lista.split()
    ostateczna_lista = []
    for element in lista_znakow:
        ostateczna_lista.append(int(element))
    return ostateczna_lista

def A():
    trzy_liczby = wczytaj_liste()
    suma = 0 
    for liczna in trzy_liczby: 
        suma += liczna
    if suma >= 22: 
        print('bust')
    else: 
        print('win')
A()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
A1, A2, A3 = map(int, input().split())
SS = A1 + A2+ A3
if(SS >= 22):
  print('bust')
else:
  print('win')

Submission status: Accepted

Solution code:
# get 3 integers separated with half-width break
a, b, c = map(int, input().split())
# output
res = a + b + c
print("bust") if res >= 22 else print("win")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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("bust")
else:
    print("win")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]

def main():
    aa=LI()
    if sum(aa)>=22:
        print("bust")
    else:
        print("win")
main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c=(int(i)for i in input().split())

if a+b+c > 21:
    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:
import sys
readline = sys.stdin.readline
readlines = sys.stdin.readline

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:

t =input()
#t = [int(input()) for i in range(3)]
t = t.split()
ans = int(t[0]) + int(t[1]) + int(t[2])
if (ans >= 22):
    print('bust')
else:
    print('win')

Submission status: Accepted

Solution code:
import sys
from math import factorial
from fractions import Fraction
import heapq, bisect
import math
import itertools
sys.setrecursionlimit(10 ** 5 + 10)
INF = 10**15 +5
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
MOD = 10**9 + 7

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

Submission status: Accepted

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

sum= x+y+z

if(sum >= 22):
  print("bust")
  
elif(sum <= 21):
  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())

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

Submission status: Accepted

Solution code:
a = raw_input().split(" ")
r = int(a[0]) + int(a[1]) + int(a[2])
if r >= 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:
l = list(map(int, input().split()))

if l[0] + l[1] + l[2] <= 21:
  print('win')
elif  l[0] + l[1] + l[2] >= 22:
  print('bust')

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 = list(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] <= 21 :
  print("win")
else:
  print("bust")

Submission status: Accepted

Solution code:
N1,N2,N3=input().split()
N1=int(N1)
N2=int(N2)
N3=int(N3)
ans=N1+N2+N3
if ans<=21:
    print("win")
if ans>=22:
    print("bust")

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a, b, c = [int(i) for i in input().split()]
x = a+b+c
if x >= 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:
A, B, C = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

A = A1 + A2 + A3

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
l = list(map(int, input().split()))
ans = 0
for i in l:
    ans += i
print('win') if ans <= 21 else print('bust')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

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

SUM_A = sum(A)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
hoge = input().split(' ')
hoge = [int(i) for i in hoge]
if sum(hoge) < 22:
    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:
ans = [int(i) for i in input().split()]
if sum(ans) >= 22:
    print("bust")
else:
    print("win")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a,b,c = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

if ans <= 21:
    print('win')
else:
    print('bust')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
s=list(map(int,input().split()))
if (s[0]+s[1]+s[2]>=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")
elif a1+a2+a3 <= 21:
    print("win")

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

sum = int(a1) + int(a2) + int(a3);

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
N,M,K = map(int,input().split())
ans = 'win'
if N+M+K >= 22:
  ans = 'bust'
print(ans)

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

Submission status: Accepted

Solution code:

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

res = A+B+C

if res >= 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:
A = list(map(int, input().split()))
print('bust' if(sum(A) >= 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:
[A1, A2, A3] = list(map(int,input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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

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

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

Submission status: Accepted

Solution code:
A_1, A_2, A_3 = map(int, input().split())
if A_1+A_2+A_3 >= 22:
    print("bust")
else:
    print("win")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
a1, a2, a3 = [int(x) for x in input().split(" ")]
print("win" if a1 + a2 + a3 < 22 else "bust")

Submission status: Accepted

Solution code:
x = list(map(int, input().split()))
s = sum(x)
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')
if (a1+a2+a3) <= 21:
  print('win')

Submission status: Accepted

Solution code:
s = input().split()
S = int(s[0]) + int(s[1]) + int(s[2])

if(S > 21):
    print("bust")

else:
    print("win")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
AA,AB,AC = map(int,input().split())

if AA + AB + AC >21:
	print('bust')
else:
	print('win')

Submission status: Accepted

Solution code:
a, b, c = input().strip().split(' ')
a, b, c = [int(a), int(b), int(c)]

s = a + b + c

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

Submission status: Accepted

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

from collections import deque, defaultdict
import itertools as ite
import sys
import math
import decimal

sys.setrecursionlimit(1000000)

INF = 10 ** 18
MOD = 10 ** 9 + 7

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

Submission status: Accepted

Solution code:
#!/bin/bash
''':'
docker run --rm -it -v $(cd $(dirname $0) && pwd):/vo:ro pypy:3-2.4.0 /bin/bash -c "pypy3 /vo/$(basename $0) < /vo/g.inp"; exit $?
exit 0
'''
import sys

def _i(): return int(sys.stdin.readline().strip())
def _ia(): return [ int(x) for x in sys.stdin.readline().strip().split() ]

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

Submission status: Accepted

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

sum = A1 + A2 + A3

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

Submission status: Accepted

Solution code:
N,K,Q=map(int,input().split())

if(N + K + Q >= 22):
    print("bust")
else:
    print("win")

Submission status: Accepted

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

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

print(result)

Submission status: Accepted

Solution code:
A_1,A_2,A_3=map(int,input().split())
if A_1+A_2+A_3>=22:
    print("bust")
else:
    print("win")

Submission status: Accepted

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

n=a[0]+a[1]+a[2]

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

Submission status: Accepted

Solution code:
x,y,z = map(int,input().split())
if x + y + z >= 22:
    print('bust')
elif x + y + z <= 21:
    print('win')

Submission status: Accepted

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

sum_ = sum(A)

if sum_ >= 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:
from sys import stdin
from itertools import accumulate, dropwhile, takewhile, groupby
import bisect
import copy
import math
a = stdin.readline().rstrip().split()
b = [int(s) for s in a]
res = 0
for el in b:
    res += el
if res >= 22:
    print('bust')
else:
    print('win')

Submission status: Accepted

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

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

Submission status: Accepted

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

def solve():
    if sum(map(int, input().split())) <= 21:
        return 'win'
    else:
        return 'bust'

if __name__ == '__main__':
    print(solve())

Submission status: Accepted

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

#print(A1,A2,A3)

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

Submission status: Accepted

Solution code:
import sys

A = map(int, sys.stdin.readline().split())
sumA = sum(A)
if sumA >=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())
if a + b + c >=22:
    print("bust")
else:
    print("win")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    ans = sum([int(x) for x in input().split()])
    if ans > 21:
        print("bust")
    else:
        print("win")
    return

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys
sys.setrecursionlimit(200000)
input = sys.stdin.readline
def ii(): return int(input())
def mi(): return map(int, input().rstrip().split())
def lmi(): return list(map(int, input().rstrip().split()))
def fi(): return float(input())
def mfi(): return map(float, input().rstrip().split())
def lmfi(): return list(map(float, input().rstrip().split()))
def li(): return list(input().rstrip())
def debug(*args, sep=" ", end="\n"): print("debug:", *args, file=sys.stderr, sep=sep, end=end) if not __debug__ else None
def exit(*arg): print(*arg); sys.exit()
# template


def main():
    a, b, c = mi()
    if a + b + c >= 22:
        print("bust")
    else:
        print("win")
    return


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
A=input().split()
#print(A)

num=0
for i in range(len(A)):
  num=num+int(A[i])
  
if num>=22:
  print('bust')
elif num<=21:
  print('win')

Submission status: Accepted

Solution code:
inputList = list(map(str, input().split()))
A1 = int(inputList[0])
A2 = int(inputList[1])
A3 = int(inputList[2])
if A1 + A2 + A3 >= 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,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(x) for x in input().split(" ")]

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

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:
inputList = str(input()).split()
Aone = int(inputList[0])
Atwo = int(inputList[1])
Athree = int(inputList[2])

if(Aone + Atwo + Athree > 21):
    print("bust")
else:
    print("win")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:


S1,S2,S3 = map(int, input().split())

if(S1+S2+S3) >= 22:
    print("bust")
else:
    print("win")

Submission status: Accepted

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

total = A1 + A2 + A3
if total <= 21:
	print("win")
else:
	print("bust")

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

Submission status: Accepted

Solution code:

input_nums = input().split(" ")
a_1 = int(input_nums[0])
a_2 = int(input_nums[1])
a_3 = int(input_nums[2])

if a_1 + a_2 + a_3 >= 22:
    print("bust")
else:
    print("win")

Submission status: Accepted

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

Submission status: Accepted

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