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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

a = input().split()
# print(a)

result = int(a[0]) + int(a[1]) + int(a[2])
if result >= 22:
    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())
d = a+b+c
if d>=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 = list(map(int, input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

sum_val = sum(a)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print("bust") if sum(list(map(int, input().split())))>21 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:
#!/usr/bin/env python3
import sys


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


# 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:
# -*- coding:utf-8 -*-
a1,a2,a3 = map(int, input().split())

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

Submission status: Accepted

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

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:
import sys
sys.setrecursionlimit(12345678)
import itertools
from collections import Counter
from collections import defaultdict
from collections import deque
import bisect
from heapq import heappush, heappop


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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

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:
print(['win', 'bust'][sum(list(map(int, input().split()))) > 21])

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
li=list(map(int,input().split()))
if li[0]+li[1]+li[2]>=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 = [int(i) for i in input().split()]
if sum(a) <= 21:
  print('win')
else:
  print('bust')

Submission status: Accepted

Solution code:
A = list(map(int,input().rstrip().split()))
if A[0] + A[1] + A[2] <= 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:
A1, A2, A3 = map(int, input().split())
if A1+A2+A3 >= 22:
    print ("bust")
else:
    print ("win")

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x,y,z = [int(i) for i in input().split()]
r = x+y+z
if r<=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:
As = [int(s) for s in input().split()]

acc = sum(As)

print("win" if acc <= 21 else "bust")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

result = a + b + c

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

Submission status: Accepted

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


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

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


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
a,b,c,= [int(x) for x 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())
print('bust' if A1+A2+A3>=22 else 'win')

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

suma = a1 + a2 + a3

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

Submission status: Accepted

Solution code:
A_1, A_2, A_3 = input().split()

Score = int(A_1)+int(A_2)+int(A_3)
if Score <= 21:
    print("win")
else:
    print("bust")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

A = LIST()

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def blackjack(A1, A2, A3):
    sum = A1 + A2 + A3
    if sum >= 22:
        return 'bust'
    elif sum <= 21:
        return 'win'


if __name__ == "__main__":
    A1, A2, A3 = map(int, input().split())
    print(blackjack(A1, A2, A3))

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

sumNum = A1 + A2 + A3

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = input().split()
A = [int(i) for i in x]
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_n = list(map(int, input().split()))

if sum(a_n) >= 22:
    print("bust")
else:
    print("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:
import sys
row = sys.stdin.readline
def read_ints(row):
    return list(map(int, row().split()))

A,B,C=read_ints(row)

print("win" if A+B+C < 22 else "bust")

Submission status: Accepted

Solution code:
#147 a
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,a2,a3 = map(int, input().split())

sum_a = a1+a2+a3

if sum_a >= 22:
  ans = 'bust'
else:
  ans = 'win'

print(ans)

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

Submission status: Accepted

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

sumA = A1 + A2 + A3

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

Submission status: Accepted

Solution code:
print(["win", "bust"][sum(map(int, input().split())) > 21])

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 問題文
# 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 を出力せよ。

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

Submission status: Accepted

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

ans = 'win'
if d > 21:
    ans = 'bust'

print(ans)

Submission status: Accepted

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

if __name__ == "__main__":
    resolve()

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

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

Submission status: Accepted

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

if(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:
#!/usr/bin/env python3
import sys
sys.setrecursionlimit(10000000)
INF = 1<<32


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



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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin

ns = lambda : stdin.readline().rstrip()
ni = lambda : int(ns())
na = lambda : list(map(int, stdin.readline().split()))
sys.setrecursionlimit(10 ** 7)

def main():
    a = na()

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    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())

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

Submission status: Accepted

Solution code:
# coding:utf-8

import sys
import math
import time
import numpy as np
import collections
from collections import deque
import queue
import copy

# 最大公約数
def gcd(m,n):
  x = max(m,n)
  y = min(m,n)
  if x%y == 0:
    return y
  else:
    while x%y != 0:
      z = x%y
      x = y
      y = z
    else:
      return z

# 幅優先探索(BFS)でスタート座標(x, y)からの最大距離返す
def bfs(SS, x, y, H, W):#入力(座標系(迷路), x, y, xの端, yの端)
  x_next = [0, 0, -1, 1]
  y_next = [1, -1, 0, 0]
  tempx = x
  tempy = y
  mlength = 0
  q = deque()
  xytuple = (x, y, 0)
  q.append(xytuple)


  while q:
    xytuple = q.popleft()
    SS[xytuple[0]][xytuple[1]] = "x" #探索した場所は探索できないようにする
    for i in range(4): #このforで上下左右を調べてる
      tempx = xytuple[0] + x_next[i]
      tempy = xytuple[1] + y_next[i]
      #print(tempx, tempy, xytuple[2])
      #print(S)
      if(0 <= tempx and tempx < H and 0 <= tempy and tempy < W and SS[tempx][tempy] == "."):
        temptuple = (tempx, tempy, xytuple[2]+1)
        SS[temptuple[0]][temptuple[1]] = "x" #探索した場所は探索できないようにする
        mlength = max(mlength, xytuple[2] +1)
        q.append(temptuple)
      #print(q)
  return mlength


#X = str(input()).split()
A = str(input()).split()
a = int(A[0])
b = int(A[1])
c = int(A[2])
# S = [[0 for i in range(W)] for j in range(H)]
#unko=0

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

#print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
from collections import defaultdict
from collections import deque
import numpy as np
import heapq
from heapq import heappush, heappop


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

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

r = a + b
r += c
if r >= 22:
    ans = 'bust'
else:
    ans = 'win'

print(ans)

Submission status: Accepted

Solution code:
# ABC 147 A

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

Submission status: Accepted

Solution code:
#Coding:Utf-8

A=list(map(int,input().split()))
ans=0
for i in range(3):
    ans+=A[i]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a1, a2, a3 = map(int, input().split())
if 1 <= a1 <= 13 and 1 <= a2 <= 13 and 1 <= a3 <= 13:
    if a1 + a2 + a3 >= 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:
print("bust") if sum(map(int,input().split()))>21 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 = sys.stdin.readline
A = [int(x) for x in input().split()]
ans = "win" if sum(A) <= 21 else "bust"
print(ans)

Submission status: Accepted

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

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

D = A + B + C

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A = [int(x) for x in input().split()]
total = sum(A)
if total <= 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:
a, b, c = map(int, input().split())
print("win" if a+b+c <= 21 else "bust")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

x = 0
for i in numbers:
    x += int(i)

if x > 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:
nums = input().split()
int_nums = [int(a) for a in nums]
nums_sum = sum(int_nums)

if nums_sum <= 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:
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
#n = int(stdin.readline().rstrip())
#l = list(map(int, stdin.readline().rstrip().split()))
#A, B, C = map(int, stdin.readline().rstrip().split())
#S = [list(map(int, stdin.readline().rstrip().split())) for _ in range(h)]#hの定義を忘れずに

a, b, c = tuple(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 <= 21:
  print("win")
else:
  print("bust")