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

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10000)

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

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

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

Submission status: Accepted

Solution code:
from collections import defaultdict, deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys
import random
import itertools
import math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt


def LI(): return list(map(int, input().split()))


def LF(): return list(map(float, input().split()))


def LI_(): return list(map(lambda x: int(x)-1, input().split()))


def II(): return int(input())


def IF(): return float(input())


def LS(): return list(map(list, input().split()))


def S(): return list(input().rstrip())


def IR(n): return [II() for _ in range(n)]


def LIR(n): return [LI() for _ in range(n)]


def FR(n): return [IF() for _ in range(n)]


def LFR(n): return [LI() for _ in range(n)]


def LIR_(n): return [LI_() for _ in range(n)]


def SR(n): return [S() for _ in range(n)]


def LSR(n): return [LS() for _ in range(n)]


def gcd(x, y):
    if y == 0:
        return x
    return gcd(y, x % y)


def my_index_multi(l, x):
    return [i for i, _x in enumerate(l) if _x == x]


def sosu(x):
    for i in range(2, int(sqrt(x)+1)):
        if x % i == 0:
            return False
    return True


mod = 1000000007
inf = float('INF')


def A():
    v1, v2, v3 =LI()
    v=v1+v2+v3
    if(v>=22):
        print('bust')
    else:
        print('win')
    return

# B


def B():
    abc=['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']
    N = II()
    S = input()
    S=S[:-1]
    ans='a'
    for i in S:
        x=abc.index(i)+N
        if x>25:
            x=x-26
        ans+=abc[x]
    ans=ans[1:]
    print(ans)
    return

# C


def C():
    A, B, X = LI()
    tmp=X//A
    
    i= tmp
    for x in range(tmp):
        #print(len(str(i)))
       
        if B*len(str(i))+(10**(len(str(i))-1))>X:
            i=(10**(len(str(i))-1))


        if (A*i)+(B*len(str(i)))<=X:
            if i>1000000000:
                i=1000000000
            print(i)
            return
        i-=1
    print(0)
    return
            


# D


def D():

    a, b, x = LI()
    BIG = a*a*b/2
    if x > BIG:
        y = 2*b-(2*x/a/a)
        print(math.degrees(math.atan(y/a)))
    else:
        y = 2*x/a/b
        print(math.degrees(math.atan(b/y)))
    return

# E


def E():
    N, K = LI()
    A = LI()
    F = LI()
    A.sort(reverse=True)
    F.sort()
    cost = []
    for i in range(len(N)):
        cost.append(A[i]*F[i])

    a = F[cost.index(max(cost))]

    return

# F


def F():
    N, M = LI()

    value = [0] * M
    power = [0] * M
    for i in range(M):
        a, b = LI()
        value[i] = a
        c = LI()
        L = ['0'] * N
        for k in c:
            L[k - 1] = '1'
        bint = ''.join(L)
        power[i] = int(bint, 2)
    bint = ''.join(list(['1'] * N))
    dp = [inf] * (int(bint, 2)+1)
    t = 0
    cost = 0

    dp[0] = 0
    for s in range(int(bint, 2) + 1):
        for i in range(M):
            t = s | power[i]
            cost = dp[s] + value[i]
            dp[t] = min(dp[t], cost)
    print(-1) if(dp[-1] == inf) else print(dp[-1])

    return

    # you can write to stdout for debugging purposes, e.g.
# print("this is a debug message")


def solution(S):
    # write your code in Python 3.6
    N = len(S)

    pass


# Solve
if __name__ == '__main__':

    A()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

total=a1+a2+a3

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

Submission status: Accepted

Solution code:
import sys

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import queue
import math
import copy
"""
N = int(input())
#S = input()
# (N,M) = (int(i) for i in input().split(" "))
# A = [int(i) for i in input().split()]
A = []
for i in range(N):
	A.append(int(input()))

print(A)

"""

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

Submission status: Accepted

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

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

if(a1 + a2 + a3 > 21):
    print("bust")
    exit()
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:
# -*- coding: utf-8 -*-
def main():
    A,B,C = map(int,input().split())
    if (A+B+C) >=22:
        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:
l = input().rstrip().split(" ")
ans_l = [int(i) for i in l]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


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

Submission status: Accepted

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

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a_b_c = input()
a = int(str(a_b_c).split(" ")[0])
b = int(str(a_b_c).split(" ")[1])
c = int(str(a_b_c).split(" ")[2])

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

Submission status: Accepted

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

if A+B+C > 21:
    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:
from sys import stdin


def main():
    input = lambda: stdin.readline()[:-1]
    A1, A2, A3 = map(int, input().split())
    a = A1 + A2 + A3
    if a >= 22:
        print('bust')
    else:
        print('win')


main()

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

s = a + b + c
if s >= 22:
  print('bust')
elif s <= 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:
from sys import stdin
a, b, c = map(int, stdin.readline().rstrip().split())
if a + b + c >= 22:
    print('bust')
else:
    print('win')

Submission status: Accepted

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

s = a+b+c

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

Submission status: Accepted

Solution code:
aa = list(map(int,input().split()))
if (aa[0] + aa[1] + aa[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")
else:
    print("win")

Submission status: Accepted

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

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

n=a+b+c

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

Submission status: Accepted

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

sum = A + B +  C

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
test = ""
#test = \
"""
13 7 2
"""
test = list(reversed(test.strip().splitlines()))
if test:
    def input2():
        return test.pop()
else:
    def input2():
        return input()
    
    
a,b,c = map(int, input2().split())
if a+b+c<22:
    print("win")
else:
    print("bust")

Submission status: Accepted

Solution code:
# スペース区切りの整数の入力
a,b,x = map(int, input().split())

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

Submission status: Accepted

Solution code:
# coding: utf-8


def solve(*args: str) -> str:
    a1, a2, a3 = map(int, args[0].split())
    return 'win' if a1 + a2 + a3 < 22 else 'bust'


if __name__ == "__main__":
    print(solve(*(open(0).read().splitlines())))

Submission status: Accepted

Solution code:
A=input().split()
sum=0

for i in range(3):
    sum+=int(A[i])

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

else:
    print("win")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A_1, A_2, A_3 = map(int, input().split())
ans = A_1 + A_2 + A_3

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

Submission status: Accepted

Solution code:
def read_valus():
    return map(int, input().split())


def read_list():
    return list(read_valus())


def read_lists(N):
    return [read_list() for n in range(N)]


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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

import sys
import math


debug = False

def log(text):
    if debug:
        print(text)

def parse_input(lines_as_string = None):

    global debug
    lines = []
    if lines_as_string is None:
        debug = False
        # for line in sys.stdin:
        #     lines.append(line)
        lines.append(input())
    else:
        debug = True
        lines = [e for e in lines_as_string.split("\n")][1:-1]

    a = [int(e) for e in lines[0].split(" ")]

    return (a, )


def solve(a):


    result = 'bust'
    if sum(a) <= 21:
        result = 'win'

    return result 


def main():
    # 出力
    result = solve(*parse_input())
    if isinstance(result, list):
        for r in result:
            print("%s" % r, sep='')
    else:
        print("%s" % result, sep='')

if __name__ == '__main__':

    main()

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:
A1,A2,A3 = map(int,input().split())
sum_ = A1+A2+A3
if sum_ > 21:
  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:
a1, a2, a3 = map(int, input().split())
if sum([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(x) for x in input().split()]

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

Solution code:
a1, a2, a3 = map(int, input().split())
value = a1 + a2 + a3
if value >= 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:
n = input()    
m = n.split()
p = [int(i) for i in m]
S = p[0]+p[1]+p[2]
if S >= 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:
x,y,z = map(int,input().split())

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

Submission status: Accepted

Solution code:
#!/usr/bin/python3
# -*- coding: utf-8 -*-
x, y, z = map(int, input().split())
if x + y + z > 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:
A1,A2,A3 = map(int,input().split())
ans = 'win'
if (A1 + A2 + A3 >= 22):
  ans = 'bust'
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from __future__ import print_function
# import numpy as np
# import numpypy as np
import sys
input = sys.stdin.readline

def eprint(*args, **kwargs):
    print(*args, file=sys.stderr, **kwargs)
    return

import math
import string
import fractions
from fractions import Fraction
from fractions import gcd

def lcm(n,m):
    return int(n*m/gcd(n,m))

import re
import array
import copy
import functools
import operator

import collections
import itertools
import bisect
import heapq


from heapq import heappush
from heapq import heappop
from heapq import heappushpop
from heapq import heapify
from heapq import heapreplace

from queue import PriorityQueue as pq

def reduce(p, q):
    common = fractions.gcd(p, q)
    return (p//common , q//common )
# from itertools import accumulate
# from collections import deque

from operator import mul
from functools import reduce

def combinations_count(n, r):
    r = min(r, n - r)
    numer = reduce(mul, range(n, n - r, -1), 1)
    denom = reduce(mul, range(1, r + 1), 1)
    return numer // denom

import random


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

if __name__ == '__main__':
    main()

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()))
wa=0
for i in a:
  wa+=i
if wa>21:
  ans= "bust"
else:
  ans="win"
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


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



# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
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:
abc = list(map(int, input().split()))

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

Submission status: Accepted

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

sum1 = A1 + A2
sum = sum1 + 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:
# coding: utf-8
from sys import stdin


def main():
    A, B, C = stdin.readline().rstrip().split()

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


if __name__ == '__main__':
    main()

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:
import logging

logging.basicConfig(level=logging.INFO, format="%(message)s")
#logging.disable(logging.CRITICAL)

def main():
    A_1, A_2, A_3 = map(int, input().split())
    logging.info("Hello!")

    if (A_1 + A_2 + A_3) > 21:
        print("bust")
    else:
        print("win")
        
if __name__ == "__main__":
    main()

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

ans = "win"

if A[0] + A[1] + A[2]  >= 22:
       ans = "bust"


print(ans)

Submission status: Accepted

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

S = A + B + C 

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys

INPUT = lambda: sys.stdin.readline().rstrip()
MAP = lambda: map(int, INPUT().split())

sys.setrecursionlimit(10 ** 9)


def main():
    a, b, c = MAP()

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import unittest


class TestA(unittest.TestCase):
    def test_1(self):
        self.assertEqual(think([5, 7, 9]), 'win')

    def test_2(self):
        self.assertEqual(think([13, 7, 2]), 'bust')


def solve():
    a = read()
    result = think(a)
    write(result)


def read():
    return read_int(3)


def read_int(n):
    return read_type(int, n)


def read_float(n):
    return read_type(float, n)


def read_type(t, n):
    return list(map(lambda x: t(x), read_line().split(' ')))[:n]


def read_line(n=0):
    if n == 0:
        return input().rstrip()
    else:
        return input().rstrip()[:n]


def think(data):
    a1, a2, a3 = data
    if a1 + a2 + a3 < 22:
        return 'win'
    return 'bust'


def write(result):
    print(result)


if __name__ == '__main__':
    # unittest.main()
    solve()

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

Submission status: Accepted

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

if num >= 22:
    print("bust")
elif num <= 21:
    print("win")

Submission status: Accepted

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

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:
# -*- coding: utf-8 -*-
a = list(map(int, input().split()))
sum = 0
for ai in a:
    sum += ai

if sum <= 21:
    print("win")
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:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

def main():
    *a, = map(int, readline().split())
    print("win" if sum(a)<=21 else "bust")

if __name__ == "__main__":
    main()

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a1, a2, a3 = list(map(lambda x: int(x), 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())
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:
A1, A2, A3 = [int(s) for s in input().split()]
if A1+A2+A3 >= 22:
  print('bust')
else:
  print('win')

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

if sum_input >= 22:
    print("bust")
else:
    print("win")
exit(0)

Submission status: Accepted

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

s=A1+A2+A3

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

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

Submission status: Accepted

Solution code:
a=[]#入力画面の二文字を別々の文字に格納
a=input().split(" ")
A=int(a[0])
B=int(a[1])
C=int(a[2])
if A+B+C >=22:
    print("bust")
else:
    print("win")

Submission status: Accepted

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


if __name__ == "__main__":
    main()

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


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

ans = a + b + c
if ans >= 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:
# -*- 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:
import copy

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

Submission status: Accepted

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