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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def main():
    num_list = list(map(int, input().split()))  # n個の数字がリストに格納される

    result = 0

    for i in range(len(num_list)):
        result += num_list[i]


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

Submission status: Accepted

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

import numpy as np

A = np.array(list(map(int, input().split())))

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

Submission status: Accepted

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

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

sumA = 0 
for i in A:
    sumA += i

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#%%
import sys
def input():
    return sys.stdin.readline().rstrip()

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

# %%
if __name__ == '__main__':
    main()

# %%
# from atcoder_test import doTest
# doTest("abc147","a",main)

Submission status: Accepted

Solution code:
class AC:
    @staticmethod
    def inputStr(char):
        return input().split(char)
    
    @staticmethod
    def inputInt(char):
        a = input().split(char)
        for i in range(len(a)):
            a[i] = int(a[i])
        return a

A = AC.inputInt(" ")

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
value = input().split(' ')
A1 = int(value[0])
A2 = int(value[1])
A3 = int(value[2])

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input1 = input()
A1 = int(input1.split()[0])
A2 = int(input1.split()[1])
A3 = int(input1.split()[2])

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

Submission status: Accepted

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

t = 0
for i in range(len(a)):
  t += a[i]

if t >= 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:
S,T,U=map(int,input().split())
if S+T+U>21:
    print("bust")
else:
    print("win")

Submission status: Accepted

Solution code:
'''input
10 2
7 6 18 6 16 18 1 17 17
6 9 3 10 9 1 10 1 5
'''
# A coding delight
from sys import stdin, stdout
import gc
gc.disable()
 
import sys, time, threading


	
# main starts
arr = list(map(int, stdin.readline().split()))
if sum(arr) >= 22:
	print('bust')
else:
	print('win')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    str = input()
    str = str.split(' ')
    num = int(str[0]) + int(str[1]) + int(str[2])
    if num > 21:
        print("bust")
    else:
        print("win")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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()))
S = sum(A)

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
if eval(input().replace(' ','+')) > 21:
  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("win")
else:
	print("bust")

Submission status: Accepted

Solution code:
"""
author : halo2halo
date : 8, Jan, 2020
"""

import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10 ** 7)

A = map(int,readline().split())
S = sum(A)
ans = 'bust' if S >= 22 else 'win'
print(ans)

Submission status: Accepted

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

import sys
sys.setrecursionlimit(300000)


def solve(A: "List[int]"):
    if sum(A) >= 22:
        ret = 'bust'
    else:
        ret = 'win'
    print(ret)
    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:
sums = sum([int(s) for s in input().split()])

if sums < 22:
  print('win')
else:
  print('bust')

Submission status: Accepted

Solution code:
#!python3

def resolve():
    A = list(map(int, input().rstrip().split()))
    a = sum(A)
    s = "win" if a<= 21 else "bust"
    print(s)

if __name__ == "__main__":
    resolve()

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 sys
def input():
  return sys.stdin.readline()#[:-1]

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

total = A + B + C

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

Submission status: Accepted

Solution code:
def resolve():
    A_list = list(map(int,input().split()))

    A_sum = 0

    for i in A_list:
        A_sum += i

    if 22 <= A_sum:
        answer = "bust"
    else:
        answer = "win"

    print(answer)

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10 ** 7)

a1, a2, a3 = map(int, input().split())
s = a1 + a2 + a3

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
input = input().split(" ")
for i, j in enumerate(input):
  input[i] = int(j)
    
if sum(input) > 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:
#!/usr/bin/env python3

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:
# AtCoder Beginner Contest 147 - A
# -*- encoding: UTF-8 -*-
a = map(int, input().split())

total = 0

for i in a :
  total = total + i

result = "bust"

if total < 22 :
  result = "win"

print(result)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    a=LIST()
    if sum(a)<=21:
        print('win')
    else:
        print('bust')
if __name__ == '__main__':
    do()

Submission status: Accepted

Solution code:
get_input = input().split()
A1 = int(get_input[0])
A2 = int(get_input[1])
A3 = int(get_input[2])

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

Submission status: Accepted

Solution code:
x, y,z = map(int,input().split())
if x+y+z >=22:
    print('bust')
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 = map(int,input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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())) #i_1 i_2を取得し、iに値を入れる
if a[0]+a[1]+a[2] >= 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:
import math
import heapq
import sys
from collections import Counter
import datetime
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN

#N,K=map(int, input().split())  #複数数値入力　「A B」みたいなスペース空いた入力のとき
#x=list(map(int, input().split()))  #リスト入力 「a1 a2 a3 ...」みたいな配列のような入力のとき
#s = [input() for i in range(3)]

x=list(map(int, input().split()))  #リスト入力 「a1 a2 a3 ...」みたいな配列のような入力のとき

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

Submission status: Accepted

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

A, B, C = map(int, input().split())
D = A+B+C
if D>=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:
As = [int(a) for a in input().split()]
if sum(As) >= 22:
  print('bust')
else:
  print('win')

Submission status: Accepted

Solution code:
number1, number2, number3 = input().split()

number1 = int(number1)

number2 = int(number2)

number3 = int(number3)

value = number1 + number2 + number3

if value <= 21:
    print("win")

else:
    print("bust")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a = list(map(int ,input().split()))
if (sum(a)) < 22:
    print("win")
else:
    print("bust")

Submission status: Accepted

Solution code:
# ABC147A - Blackjack
def main():
    flg = sum(map(int, input().split())) >= 22
    print("bust" if flg else "win")


if __name__ == "__main__":
    main()

Submission status: Accepted

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

sum = A1 + A2 + A3

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

Submission status: Accepted

Solution code:
Ar =list(map(int,input().split()))
if sum(Ar)>=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:
input_line = input().split(' ')
numA = [int(i) for i in input_line]

result = ""

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(input().split())

a = int(s[0])
b = int(s[1])
c = int(s[2])

sum = int(a+b+c)

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

Submission status: Accepted

Solution code:
n1, n2, n3 = [int(i) for i in input().split()]

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

Submission status: Accepted

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

A1 = int(inpLi[0])
A2 = int(inpLi[1])
A3 = int(inpLi[2])

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

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

Submission status: Accepted

Solution code:
import sys
import math
import heapq
sys.setrecursionlimit(10**7)
INTMAX = 9223372036854775807
INTMIN = -9223372036854775808
DVSR = 1000000007
def POW(x, y): return pow(x, y, DVSR)
def INV(x, m=DVSR): return pow(x, m - 2, m)
def DIV(x, y, m=DVSR): return (x * INV(y, m)) % m
def LI(): return [int(x) for x in input().split()]
def LF(): return [float(x) for x in input().split()]
def LS(): return input().split()
def II(): return int(input())
def FLIST(n):
    res = [1]
    for i in range(1, n+1): res.append(res[i-1]*i%DVSR)
    return res
def gcd(x, y):
    if x < y: x, y = y, x
    div = x % y
    while div != 0:
        x, y = y, div
        div = x % y
    return y

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

Submission status: Accepted

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

sumin = 0
for i in range(len(a)):
  sumin += a[i]
  
if sumin > 21:
  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:
def main():
    A1, A2, A3 = map(int, input().split())

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


main()

Submission status: Accepted

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


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:
A1, A2, A3 = map(int, input().split())

R = 'win'
if A1 + A2 + A3 >= 22:
    R = 'bust'

print(R)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
number = input().split()
if int(number[0]) + int(number[1]) + int(number[2]) >= 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")


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin
import fractions

# N = int(stdin.readline().rstrip())
A = [int(x) for x in stdin.readline().rstrip().split()]
# print(N)
# print(A)
ans = 0

for i in A:
    ans += i

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
 
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))
 
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

# 最小公倍数
def gcd(a, b):
	if a < b:
		a, b = b, a
	while a % b != 0:
		a, b = b, a % b
	return b
 
# 最大公約数 
def lcm(a, b):
	y = a*b / gcd(a, b)
	return int(y)

def primes_for(n):
  is_prime = [True] * (n + 1)
  is_prime[0] = False
  is_prime[1] = False
  for i in range(2, n + 1):
      for j in range(i * 2, n + 1, i):
          is_prime[j] = False
  return [i for i in range(n + 1) if is_prime[i]]

# O(√A)
def isPrime(n):
  if n < 2:
    # 2未満は素数でない
    return False
  if n == 2:
    # 2は素数
    return True
  for p in range(2, n):
      if n % p == 0:
        # nまでの数で割り切れたら素数ではない
        return False
  # nまでの数で割り切れなかったら素数
  return True

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

Submission status: Accepted

Solution code:
import math
import fractions

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:
A1, A2, A3 = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

A=A1+A2+A3

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c=(int(i) for i in input().split())
print('bust') if a+b+c>=22 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())
kari=A+B+C
if kari>=22:
    print("bust")
else:
    print("win")

Submission status: Accepted

Solution code:
# Blackjack

# input, Ai are integer
A = list(map(int, input().split()))

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

Submission status: Accepted

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

is_bust = sum(A) >= 22

if is_bust:
    print('bust')
else:
    print('win')

Submission status: Accepted

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

if total>=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:
#!/usr/bin/env python3
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
print("bust" if sum(list(map(int,readline().split()))) >=22 else "win")

Submission status: Accepted

Solution code:
import sys


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


A = getintarr()

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

Submission status: Accepted

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

i = list(map(int, input().split()))
a=i[0]
b=i[1]
c=i[2]

if a+b+c < 22:
    print ("win")
    exit (0)
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()))
sum = 0
for i in a:
 sum += i
#print(sum)
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')
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:
def ints():
  return [int(x) for x in input().split()]
def readi():
  return int(input())

s = 0
for i in ints():
  s += i
if s>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:
n = input()
a1 = int(n.split(" ")[0])
a2 = int(n.split(" ")[1])
a3 = int(n.split(" ")[2])

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:
A=list(map(int,input().split()))
y=0
for x in A:
  y=y+x
if y<=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:
def main():
	A1,A2,A3 = map(int, input().split())
	if A1+A2+A3 >= 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:
a = sum(list(map(int, input().split())))
if a > 21:
    print('bust')
else: print('win')

Submission status: Accepted

Solution code:
# coding: utf-8
import sys


def main(argv=sys.argv):
  a, b, c = map(int, input().split())
  
  if a + b + c >= 22:
    print('bust')
    
  else:
    print('win')

  return 0


if __name__ == '__main__':
  sys.exit(main())

Submission status: Accepted

Solution code:
# coding: utf-8
import sys


def main(argv=sys.argv):
    
    cards = map(int, input().split(' '))

    if sum(cards) > 21:

        print('bust')

    else:

        print('win')

    return 0


if __name__ == '__main__':
    sys.exit(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:
# coding: utf-8
# Your code here!

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

Submission status: Accepted

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


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

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

Submission status: Accepted

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

S=0
for num in N:
  S += num

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

Submission status: Accepted

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

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

Submission status: Accepted

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