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:
# abc147_a.py
# https://atcoder.jp/contests/abc147/tasks/abc147_a

# A - Blackjack /
# 実行時間制限: 2 sec / メモリ制限: 1024 MB
# 配点 : 100点

# 問題文
# 3個の整数 A1, A2, A3が与えられます。
# A1+A2+A3が 22 以上なら bust、21以下なら win を出力してください。

# 制約
#     1≤Ai≤13  (i=1,2,3)
#     入力中のすべての値は整数である。

# 入力
# 入力は以下の形式で標準入力から与えられる。
# A1 A2 A3

# 出力
# A1+A2+A3が 22 以上なら bust、21以下なら win を出力せよ。

# 入力例 1
# 5 7 9

# 出力例 1
# win

# 5+7+9=21なので win を出力します。

# 入力例 2
# 13 7 2

# 出力例 2
# bust

# 13+7+2=22なので bust を出力します。


global FLAG_LOG
FLAG_LOG = False


def log(value):
    # FLAG_LOG = True
    # FLAG_LOG = False
    if FLAG_LOG:
        print(str(value))


def calculation(lines):
    # S = lines[0]
    # N = int(lines[0])
    # N, M = list(map(int, lines[0].split()))
    values = list(map(int, lines[0].split()))
    # values = list(map(int, lines[2].split()))
    # values = list()
    # for i in range(N):
    #     values.append(int(lines[i]))
    # valueses = list()
    # for i in range(N):
    #     valueses.append(list(map(int, lines[i+1].split())))

    if sum(values) > 21:
        result = 'bust'
    else:
        result = 'win'

    return [result]


# 引数を取得
def get_input_lines(lines_count):
    lines = list()
    for _ in range(lines_count):
        lines.append(input())
    return lines


# テストデータ
def get_testdata(pattern):
    if pattern == 1:
        lines_input = ['5 7 9']
        lines_export = ['win']
    if pattern == 2:
        lines_input = ['13 7 2']
        lines_export = ['bust']
    return lines_input, lines_export


# 動作モード判別
def get_mode():
    import sys
    args = sys.argv
    global FLAG_LOG
    if len(args) == 1:
        mode = 0
        FLAG_LOG = False
    else:
        mode = int(args[1])
        FLAG_LOG = True
    return mode


# 主処理
def main():
    import time
    started = time.time()
    mode = get_mode()
    if mode == 0:
        lines_input = get_input_lines(1)
    else:
        lines_input, lines_export = get_testdata(mode)

    lines_result = calculation(lines_input)

    for line_result in lines_result:
        print(line_result)

    # if mode > 0:
    #     print(f'lines_input=[{lines_input}]')
    #     print(f'lines_export=[{lines_export}]')
    #     print(f'lines_result=[{lines_result}]')
    #     if lines_result == lines_export:
    #         print('OK')
    #     else:
    #         print('NG')
    # finished = time.time()
    # duration = finished - started
    # print(f'duration=[{duration}]')


# 起動処理
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:
def resolve():
    A = sum(map(int, input().split()))
    print("bust" if A >= 22 else "win")

if '__main__' == __name__:
    resolve()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
import sys
sys.setrecursionlimit(10**8)
def ii(): return int(sys.stdin.readline())
def mi(): return map(int, sys.stdin.readline().split())
def li(): return list(map(int, sys.stdin.readline().split()))
def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]
def dp2(ini, i, j): return [[ini]*i for i2 in range(j)]
#import bisect #bisect.bisect_left(B, a)
#from collections import defaultdict #d = defaultdict(int) d[key] += value
#from collections import Counter # a = Counter(A).most_common()
#from itertools import accumulate #list(accumulate(A))

A, B, C = mi()

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

Submission status: Accepted

Solution code:
a1, a2, a3 = map(int, input().split())
total = a1+a2+a3
if total <= 21:
    print('win')
else:
    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:
import bisect, collections, copy, heapq, itertools, math, string, sys
input = lambda: sys.stdin.readline().rstrip() 
sys.setrecursionlimit(10**7)
INF = float('inf')
def I(): return int(input())
def F(): return float(input())
def SS(): return input()
def LI(): return [int(x) for x in input().split()]
def LI_(): return [int(x)-1 for x in input().split()]
def LF(): return [float(x) for x in input().split()]
def LSS(): return input().split()

def resolve():
    A = LI()

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

if __name__ == '__main__':
    resolve()

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

Submission status: Accepted

Solution code:
a=list(map(int,input().split()))
sum=a[0]+a[1]+a[2]
if(sum>=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:
#!/usr/bin/env python3
import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 7)

A,B,C = map(int,readline().rstrip().split())
if (A+B+C) <=21:
    print("win")
else:
    print("bust")

Submission status: Accepted

Solution code:
def black_jack():
    # 入力
    A1, A2, A3 = map(int, input().split())
    # 初期処理
    sum = A1 + A2 + A3
    # 判別処理
    if sum >= 22:
        return 'bust'
    elif sum <= 21:
        return 'win'

result = black_jack()
print(result)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
A1,A2,A3 = map(int,input().split())
if not ( 1 <= A1 <= 13 and 1 <= A2 <= 13 and 1 <= A3 <= 13 ): sys.exit()
if not ( isinstance(A1,int) and isinstance(A2,int) and isinstance(A3,int) ): sys.exit()
print('bust') if A1 + A2 + A3 >= 22 else print('win')

Submission status: Accepted

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

if a1+a2+a3>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:
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())
if sum(A) <= 21:
    print('win')
else:
    print('bust')

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a = 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:
print('bust' if sum(map(int, input().split())) > 21 else '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:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
a1,a2,a3 = map(int, input().split())
sum=a1+a2+a3
if sum >= 22:
  print('bust')
else:
  print('win')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
input = lambda : sys.stdin.readline().rstrip()
sys.setrecursionlimit(max(1000, 10**9))
write = lambda x: sys.stdout.write(x+"\n")


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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import os, sys, re, math

A = [int(n) for n in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!usr/bin/env python3
from collections import defaultdict, deque, Counter, OrderedDict
import collections, heapq, itertools, bisect
import math, fractions
import sys, copy

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI1(): return [int(x) - 1 for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline().rstrip())
def LS(): return [list(x) for x in sys.stdin.readline().split()]
def S(): return list(sys.stdin.readline().rstrip())
def IR(n): return [I() for i in range(n)]
def LIR(n): return [LI() for i in range(n)]
def SR(n): return [S() for i in range(n)]
def LSR(n): return [LS() for i in range(n)]

sys.setrecursionlimit(1000000)
dire = [[1, 0], [0, 1], [-1, 0], [0, -1]]
dire8 = [[1, 0], [1, 1], [0, 1], [-1, 1], [-1, 0], [-1, -1], [0, -1], [1, -1]]
MOD = 1000000007

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

num = A1+A2+A3

if 22<=num:
    print('bust')

elif num<=21:
    print('win')

Submission status: Accepted

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

Submission status: Accepted

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

for i in a:
    s += i

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

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:
from collections import Counter, defaultdict
# n = int(input())
# li = list(map(int, input().split()))
# n = int(input())
a, b, c = map(int, input().split())
# d = defaultdict(lambda: 0)

# s = input()
print("win" if a+b+c<22 else "bust")

Submission status: Accepted

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

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:
from sys import stdin
 
s = sum([int(x) for x in stdin.readline().rstrip().split()])
 
ans = "win"
if s > 21: ans = "bust"
print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

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

#22以上なら bust、21以下なら win
  
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:
l = list(map(int, input().split()))
print('bust' if sum(l) >= 22 else '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 > 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:
a1, a2, a3=map(int, input().split())
print("{}".format("bust" if a1+a2+a3>=22 else "win"))

Submission status: Accepted

Solution code:
import sys

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60
MOD = 1000000007


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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a,b,c = [int(a) for a 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")
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_list = list(map(int, input().split()))

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
print("bwuisnt"[eval(input().replace(" ", "+")) < 22::2])

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
print("{}".format('bust' if A+B+C >= 22 else '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 = sum(map(int, input().split()))
print("bust" if A >= 22 else "win")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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



if x+y+z>=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:
# -*- 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_s = list(map(int, input().split()))
if sum(A_s) > 21:
    print('bust')
else:
    print('win')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import heapq
import math
import fractions
import bisect
import itertools
from collections import Counter
from collections import deque
from operator import itemgetter
def input(): return sys.stdin.readline().strip()
def mp(): return map(int,input().split())
def lmp(): return list(map(int,input().split()))

a,b,c=mp()
if a+b+c>=22:
    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 print("bust")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

ret = "bust"
if a + b + c <= 21:
   ret = "win" 

print("{}".format(ret))

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

if n[0]+n[1]+n[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_1, a_2, a_3 = map(int, input().split())
print('bust' if a_1+a_2+a_3 >= 22 else 'win')

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(4100000)
import math
INF = 10**9

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
A=list(map(int,input().split()))
if A[0]+A[1]+A[2]<=21:
    print("win")
else:
    print("bust")

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

point = x + y + z

if point <= 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 = 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())
print('bust' if A+B+C>=22 else 'win')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def solve():
    a1, a2, a3 = map(int, input().split())
    print('bwuisnt'[a1+a2+a3<=21::2])

if __name__ == '__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:
a = list(map(int, input().split()))
suma = a[0] + a[1] + a[2]
if suma >= 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:
import sys
input = lambda: sys.stdin.readline().rstrip()

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

ans = "bust"


if sum(A[:3]) <= 21:
    ans = "win"


print(ans)