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 = [int(w) for w 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>=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) > 21 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 = 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())
G = A+B+C
if(G>21):
  print("bust")
else:
  print("win")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = sum([int(_) for _ in input().split()])
print('bust' if a >= 22 else '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 = input().split()
if int(A[0])+int(A[1])+int(A[2]) >= 22:
  print("bust")
else:
  print("win")

Submission status: Accepted

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

total = a + b + c

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

Submission status: Accepted

Solution code:
line = list(map(int, input().split()))
A = line[0] + line[1] + line[2]

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

Submission status: Accepted

Solution code:
import sys


def solve():
    input = sys.stdin.readline
    mod = 10 ** 9 + 7
    print("bust" if sum(list(map(int, input().rstrip('\n').split()))) > 21 else "win")


if __name__ == '__main__':
    solve()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

def main():
  solve()

if __name__ == "__main__":
  main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
INF = float("inf")


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


def main():

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = [int(next(tokens)) for _ in range(3)]  # type: "List[int]"
    solve(A)


if __name__ == '__main__':
    main()

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:
l = list(map(int,input().split()))
ans = 'bust'
a = 0
 
for i in l:
  a = a + i
 
if a < 22:
  ans = '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 <= 21:
  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:
# -*- coding: utf-8 -*-

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=list(map(int,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('win')
else:
  print('bust')

Submission status: Accepted

Solution code:
# import numpy as np
# import scipy as sp


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

Submission status: Accepted

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

k = a+b+c

if k < 22:
    print("win")
else:
    print("bust")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

if __name__ == "__main__":
    solve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n,m,k = map(int, input().split())

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

Submission status: Accepted

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

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

if sum(card) >= 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")
else:
 print("win")

Submission status: Accepted

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

print(['bust', 'win'][sum(map(int, input().split()))<22])

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/Library/Frameworks/Python.framework/Versions/3.5/bin/python3

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
a,b,c=map(int,input().split())
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, b ,c= (int(i) for i in input().split())

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

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

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

Submission status: Accepted

Solution code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,copy,functools
import time,random

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**10
mod = 10**9+7
dd = [(-1,0),(0,1),(1,0),(0,-1)]
ddn = [(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(): return [list(map(int, l.split())) for l in sys.stdin.readlines()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)
def pe(s): return print(str(s), file=sys.stderr)
def JA(a, sep): return sep.join(map(str, a))
def JAA(a, s, t): return s.join(t.join(map(str, b)) for b in a)


def main():
    a = LI()
    if sum(a) >= 22:
        return 'bust'

    return 'win'


print(main())

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

Submission status: Accepted

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(500000)

a1, a2, a3 = map(int, readline().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a1, a2, a3 = map(int, raw_input().split())
if a1+a2+a3 >= 22: 
    print "bust"
else:
    print "win"

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**9)
def input():
    return sys.stdin.readline().rstrip()

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

if __name__ == '__main__':
    main()

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, open(0).read().split())
print("win" if sum(A) <= 21 else "bust")

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

if x + y + z >= 22:
  print("bust")
else:
  print("win")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
li = list(map(int,input().split()))
if(sum(li) >= 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:
in_ = [int(i) for i in input().split(" ")]
def one(in_):
    ans =0
    for i in in_:
        ans+=i
    ans =  "win" if ans <=21  else "bust"
    return ans
print(one(in_))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

a, b, c = (int(i) for i in input().split())  
#a = [int(i) for i in input().split()] 
#e = [[int(i) for i in input().split()] for i in range(n)] 

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

Submission status: Accepted

Solution code:
s = 0
for i in input().split():
    s += int(i)
if s>=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 < 22 else "bust")

Submission status: Accepted

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


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


if __name__ == "__main__":
    main()

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:
# atCoder Beginner Contest 147 a

import sys


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


main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a,b,c = list(map(int,input().split()))
if a+b+c>21:
    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:
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:
### A ###
def blackjack_three(a, b, c):
    res = a1 + a2 + a3
    if res >= 22:
        return 'bust'
    else:
        return 'win'
    
a1,a2,a3 = map(int, input().split())
res = blackjack_three(a1, a2, a3)
print(res)

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

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>=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 = [int(i) for i in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input().split()
sum=0
for val in a:
    sum+=int(val)
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:
a,b,c=map(int,input().split())
if a+b+c >=22 :
  print("bust")
if a+b+c <=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:
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:
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:
nums = [int(i) for i in input().split()]
total = nums[0]+nums[1]+nums[2]


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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import numpy as np

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

Submission status: Accepted

Solution code:
a = [int(i) for i in 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>=22:
    print('bust') 
else:
    print('win')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
inp = input().split()


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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
point = input().split(' ')

for i in range(3):
    point[i] = int(point[i])

sum = 0
for per in point:
    sum += per

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

else:
    print('win')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A - Blackjack

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
f = input().replace(' ','+')
sum = eval(f)
if sum >= 22:
    print("bust")
if sum <= 21:
    print("win")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

ans = 0

for ai in line:
    ans += int(ai)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input().split(' ')
x=0
for i in a:
    x+=int(i)
if x > 21:
    print('bust')
else:
    print('win')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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:
isWin = sum([int(x) for x in input().split(" ")]) < 22
if isWin:
  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:
A1,A2,A3=map(int,input().split())
if A1 + A2 + A3 > 21:
	print("bust")
else:
	print("win")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**6)
# input = sys.stdin.readline
ii = lambda: int(input())
mis = lambda: map(int,input().split())
lmis = lambda: list(mis())
INF = float('inf')

def main():
    a=lmis()
    print('bust' if sum(a)>21 else 'win')


if __name__ == "__main__":
    main()

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(2147483647)
INF=float("inf")
MOD=10**9+7
input=lambda:sys.stdin.readline().rstrip()
def resolve():
    A=list(map(int,input().split()))
    print("win" if(sum(A)<=21) else "bust")
resolve()

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

Submission status: Accepted

Solution code:
nums = [int(s) for s in input().split(" ")]
if sum(nums) <= 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')