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:
a1,a2,a3 = (int(i) for i in input().split())
s = a1+a2+a3
if s>=22:
    print("bust")
else:
    print("win")

Submission status: Accepted

Solution code:
#t=int(input())
for i in range(1):
    arr=list(map(int,input().split()))
    if(sum(arr)>=22):
        print("bust")
    else:
        print("win")

Submission status: Accepted

Solution code:
n, l, m = (int(i) for i in input().split())

if n+l+m >= 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 A[0] + A[1] + A[2] > 21:
  print('bust')
else:
  print('win')

Submission status: Accepted

Solution code:
i = input().split(" ")
i = [int(j) for j in i]

if sum(i) >= 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:
# -*- coding: utf-8 -*-
"""
Created on Thu Jul 25 23:38:51 2019

@author: over-
"""



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

Submission status: Accepted

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

a1, a2, a3 = [int(i) for i in input().split()]
if a1 + a2 + a3 >= 22:
    print('bust')
    sys.exit(0)
if a1 + a2 + a3 <= 21:
    print('win')
    sys.exit(0)

Submission status: Accepted

Solution code:
import numpy as np

A=np.array(input().split(),dtype=np.int32)

s=np.sum(A)

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

Submission status: Accepted

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

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

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

else:
    print("bust")

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

a=a1+a2+a3

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a,b,c = map(int,input().split())

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# A - Blackjack
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.buffer.readline

#ライブラリインポート
from collections import defaultdict

#入力受け取り
def getlist():
	return list(map(int, input().split()))

#処理内容
def main():
	A = getlist()
	if sum(A) >= 22:
		print("bust")
	else:
		print("win")
	


if __name__ == '__main__':
	main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = list(map(int, input().split()))
b = a[0] + a[1] + a[2]
if b >= 22:
    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:
#ABC147 A
si = lambda: input()
ni = lambda: int(input())
nm = lambda: map(int, input().split())
nl = lambda: list(map(int, input().split()))
a,b,c = nm()
if a+b+c>=22:
    print('bust')
elif a+b+c<=21:
    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 <= 21:
    print("win")

Submission status: Accepted

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

ans=A1+A2+A3

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a_1,a_2,a_3=map(int,input().split())
s=a_1+a_2+a_3
if s>=22:
    print('bust')
else:
    print('win')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import math
import re
import io

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:

if __name__ == "__main__":
    A1, A2, A3 = map(int, input().split(" "))
    if A1 + A2 + A3 > 21:
        print("bust")
    else:
        print("win")

Submission status: Accepted

Solution code:
a = list(map(int, input().split()))
if sum(a) <= 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")
elif A1+A2+A3 <= 21:
    print("win")

Submission status: Accepted

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

print('bust' if res > 21 else 'win')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
ni = lambda: int(input())
nm = lambda: map(int, input().split())
nl = lambda: list(map(int, input().split()))


a = nl()

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:
import sys
bbn=1000000007
	
#+++++
		
def main():
	a, b , c = map(int, input().split())
	ss=a+b+c
	ret = 'win' if ss <= 21 else 'bust'
	print(ret)
	
	
#+++++
isTest=False

def pa(v):
	if isTest:
		print(v)

if __name__ == "__main__":
	if sys.platform =='ios':
		sys.stdin=open('inputFile.txt')
		isTest=True
	else:
		pass
		#input = sys.stdin.readline
			
	ret = main()
	if ret is not None:
		print(ret)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

a = map(int, sys.stdin.readline().split())

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

if __name__ == '__main__':
    ans = main()
    print(ans)

Submission status: Accepted

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

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

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 = map(int,input().split())
s = a + b + c
if s >= 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(' '))

print('bust') if A1 + A2 + A3 >= 22 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:
A = [int(i) for i  in input().split()]
print("bust") if sum(A) >= 22 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
read = sys.stdin.read

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math


def inputIntList():
    return [int(s) for s in input().split()]


def inputInt():
    return int(input())


def main():
    A = inputIntList()
    return "bust" if sum(A) >= 22 else "win"


if __name__ == "__main__":
    print(main())

Submission status: Accepted

Solution code:
a, b, c = [int(n) for n in 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 = [int(val) for val in input().split(' ')]
if a1+a2+a3 >= 22:
    print('bust')
else:
    print('win')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# coding: utf-8
a, b, c = map(int, input().split())

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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 permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy,copy
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 LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

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

if __name__=='__main__':
	main()

Submission status: Accepted

Solution code:
a, b, c = input().split()
d = int(a) + int(b) + int(c)
if d >= 22:
  print('bust')
elif d<= 21:
  print('win')

Submission status: Accepted

Solution code:
i = sum(map(int, input().split()))
if i > 21:
    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:
A_1,A_2,A_3=map(int,input().split())
if A_1+A_2+A_3<=21:
    print('win')
else:
    print('bust')

Submission status: Accepted

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


def main():
    a1, a2, a3 = (int(z) for z in input().split())
    r = a1 + a2 + a3
    print("bust" if r >= 22 else "win")


if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

if 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 22 <= A1+A2+A3:
	print("bust")
else:
	print("win")

Submission status: Accepted

Solution code:
from collections import defaultdict
import sys
import math
from datetime import datetime

def sol(a, b, c):
    if a + b + c <= 21: return 'win'
    else: return 'bust'



do_submit = True
#do_submit = False

def input_parse(input_str):
    lines = [x.strip() for x in input_str.split("\n") if x.strip()]
    parsed_lines = [list(map(str, line.split())) for line in lines]
    print(parsed_lines)
    n = int(parsed_lines[0][0])
    k = int(parsed_lines[0][1])
    S = parsed_lines[1][0]
    return n, k, S


if not do_submit:
    a, b, c = input_parse("""
    3 1
    ABC
    """)
    print(sol(a, b, c))

    a, b, c = input_parse("""
    4 3
    CABA
    """)
    print(sol(a, b, c))

else:
    a, b, c = list(map(int, input().split()))
    # S = input().split()
    # S = input()
    # T = input()
    print(sol(a, b, c))
    # S = input().strip()
    # print(sol(S))

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys
import math
from bisect import bisect_left
from bisect import bisect_right
import collections
import copy
import heapq
from collections import defaultdict
from heapq import heappop, heappush
import itertools
input = sys.stdin.readline

##### リストの 二分木検索 #####
# bisect_left(lists, 3)
# bisect_right(lists, 3)

##### プライオリティキュー #####
# heapq.heapify(a) #リストaのheap化
# heapq.heappush(a,x) #heap化されたリストaに要素xを追加
# heapq.heappop(a) #heap化されたリストaから最小値を削除＆その最小値を出力

# heapq.heappush(a, -x) #最大値を取り出す時は、pushする時にマイナスにして入れよう
# heapq.heappop(a) * (-1) #取り出す時は、-1を掛けて取り出すこと

##### タプルリストのソート #####
# sorted(ans) #(a, b) -> 1st : aの昇順, 2nd : bの昇順
# sorted(SP, key=lambda x:(x[0],-x[1])) #(a, b) -> 1st : aの昇順, 2nd : bの降順
# sorted(SP, key=lambda x:(-x[0],x[1])) #(a, b) -> 1st : aの降順, 2nd : bの昇順
# sorted(SP, key=lambda x:(-x[0],-x[1])) #(a, b) -> 1st : aの降順, 2nd : bの降順

# sorted(SP, key=lambda x:(x[1])) #(a, b) -> 1st : bの昇順
# sorted(SP, key=lambda x:(-x[1])) #(a, b) -> 1st : bの降順

def inputInt(): return int(input())
def inputMap(): return map(int, input().split())
def inputList(): return list(map(int, input().split()))

def main():
	A1,A2,A3 = inputMap()

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


if __name__ == "__main__":
	main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
import math
import bisect
from collections import defaultdict, deque, Counter
from heapq import heappush, heappop


def LI(): return [int(x) for x in sys.stdin.readline().split()]


def I(): return int(sys.stdin.readline())


def S():
    res = list(sys.stdin.readline())
    if res[-1] == "\n":
        return res[:-1]
    return res


def IR(n):
    return [I() for i in range(n)]


# A
def A():
    a, b, c = LI()
    if a + b + c >= 22:
        print("bust")
    else:
        print("win")
    return


# B
def B():
    return


# C
def C():
    return


# D
def D():
    return


# E
def E():
    return


# F
def F():
    return


# Unittest
def resolve():
    A()
    return


# Solve
if __name__ == "__main__":
    A()

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

s = a + b + c

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print("bwuisnt"[sum(list(map(int, input().split())))<22::2])

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:
def main():
    a1, a2, a3 = [int(x) for x in 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())
print('bust' if a1+a2+a3>=22 else 'win')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B,C = input().split()
a,b,c = int(A),int(B),int(C)

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

Submission status: Accepted

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

if A+B+C > 21:
  print('bust')
else:
  print('win')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a1, a2, a3 = map(int, input().split())
print(["win", "bust"][a1+a2+a3 >= 22])

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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


    # calc


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

Solution code:
#import sys
MOD = 10 ** 9 + 7
#input = sys.stdin.readline
import math

#import bisect

def sosuhante(n):
    for k in range(2, int(math.sqrt(n))+1):
        if n% k ==0:
            return False
    return True
def cmb(n, r):
    if n - r < r: r = n - r
    if r == 0: return 1
    if r == 1: return n

    numerator = [n - r + k + 1 for k in range(r)]
    denominator = [k + 1 for k in range(r)]

    for p in range(2,r+1):
        pivot = denominator[p - 1]
        if pivot > 1:
            offset = (n - r) % p
            for k in range(p-1,r,p):
                numerator[k - offset] /= pivot
                denominator[k] /= pivot

    result = 1
    for k in range(r):
        if numerator[k] > 1:
            result *= int(numerator[k])

    return result

def kingaku(a,b,n):
    keta=len(str(n))
    return a*n+b*keta

def my_index(l, x, default=False):
    if x in l:
        return l.index(x)
    else:
        return default


def main():
#    h,w,a,b = map(int, input().split())
#    c = [[0 for j in range(n)] for i in range(n)]
    a,b,c=map(int,input().split())
    print("bust") if a+b+c>=22 else print("win")




#  print(c)




            #    print(n,kingaku(a,b,x))

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
N,K,Q= map(int,input().split())
if N+K+Q>=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:
# -*- 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:
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>21:
    print('bust')
else:
    print('win')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(['bust', 'win'][sum(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:

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:
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()))
total = A[0] + A[1] + A[2]
if(total>=22):
  print("bust")
else:
  print("win")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding:utf-8
import bisect
from collections import deque
import sys
sys.setrecursionlimit(10**6)
write = sys.stdout.write
dbg = lambda *something : print(*something) if DEBUG else 0
DEBUG = True

def index(a,b):
    return str(min(a,b)) + "," +  str(max(a, b))

def main(given = sys.stdin.readline):
    input = lambda : given().rstrip()
    LMIIS = lambda : list(map(int,input().split()))
    II = lambda : int(input())
    XLMIIS = lambda x : [LMIIS() for _ in range(x)]

    a = LMIIS()

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





if __name__ == '__main__':
    main()

Submission status: Accepted

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

if A1 + A2 + A3 >= 22:
	print("bust")
elif A1 + A2 + A3 <= 21:
	print("win")

Submission status: Accepted

Solution code:
import sys

inf = float("inf")

# import random
# from collections import deque, Counter, OrderedDict,defaultdict
# from heapq import nsmallest, nlargest, heapify,heappop ,heappush, heapreplace
# from math import ceil,floor,log,sqrt,factorial,pi,gcd
# from bisect import bisect,bisect_left,bisect_right,insort,insort_left,insort_right

def get_array(): return list(map(int, sys.stdin.readline().strip().split()))
def get_ints(): return map(int, sys.stdin.readline().strip().split())
def input(): return sys.stdin.readline().strip()

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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