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(x) for x in input().split(' '))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
#入力値渡す
a, b, c=map(int, input().split())
#計算
sum=a+b+c
#判定
if sum >= 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:
if __name__ == "__main__":
    input_data = input('')
    input_data = input_data.split()
    input_data = map(lambda x:int(x), input_data)
    sum_data = sum(input_data)
    if sum_data <= 21:
        print('win')
    else:
        print('bust')

Submission status: Accepted

Solution code:
# A - Blackjack
a1, a2, a3 = (input().split())

if ((int)(a1) + (int)(a2) + (int)(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:
#--import&define---------------------
import math

def yes():
    print("Yes")
def no():
    print("No")
#--my_library--------------------------------
#mapを利用した入力
# x,y = map(int,input().split())

#forを利用した入力
#l = []
#for i in range():
#    l.append(int(input()))
#--以下解答---------------------------------
x = input()
x = list(map(int,x.split()))
ans = 0
for i in range(3):
  ans += x[i]

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import functools
n = functools.reduce(lambda x,y: int(x)+int(y), input().split())
print("bust" if n>=22 else "win")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
one, two, three = map(int, input().split())

if one + two + three <= 21:
    print("win")
else:
    print("bust")

Submission status: Accepted

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

total = int(a1) + int(a2) + int(a3)

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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


if __name__ == '__main__':
    do_code()

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=0
for i in a:
  s=i+s
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:
def abc147_a():
    a1,a2,a3 = map(int,input().split())

    total = a1 + a2 + a3
    if total > 21:
        print('bust')
    else:
        print('win')
if __name__ == '__main__':
    abc147_a()

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

sum=0
sum+=a
sum+=b
sum+=c

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

Submission status: Accepted

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

if 21.5 >=(A1+A2+A3):
    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:
#!/usr/bin/env python3
import sys

a1, a2, a3 = map(int, sys.stdin.readline().split())
if a1+a2+a3>=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:
num_list = [int(item) for item in input().split()]

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

Submission status: Accepted

Solution code:
value=input()
value_list=value.split()
if sum(int(i) for i in value_list) >= 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("win")
  
else:
  print('bust')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

# coding: utf-8
# Your code here!
import sys
read = sys.stdin.read
readline = sys.stdin.readline 
readlines = sys.stdin.readlines

#n = int(input())
a = [int(i) for i in readline().split()]


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

Submission status: Accepted

Solution code:
a = list(map(int, input().strip().split()))
sum = 0
for i in a:
    sum += i
if sum >= 22:
    print('bust')
else:
    print('win')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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:
A1,A2,A3=map(int,input().split())
if(22<=(A1+A2+A3)):
    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 = []
a = input().split()

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

tot = A1 + A2 + A3

if tot >= 22 :
  print('bust')
if tot <= 21 :
  print('win')

#print(a)
#print(A1)
#print(A2)
#print(A3)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a1,a2,a3=[int(i) for i 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')
if a + b + c <= 21:
  print('win')

Submission status: Accepted

Solution code:
from copy import deepcopy
from sys import exit,setrecursionlimit
import math
from collections import defaultdict,Counter,deque
from itertools import permutations, combinations,combinations_with_replacement,product
from fractions import Fraction as frac
import bisect
import heapq

import logging
logging.basicConfig(level=logging.DEBUG)

import sys
#input = sys.stdin.readline().rstrip

setrecursionlimit(1000000)

MOD = 10**9+7
INF = float('inf')

def main():
	A=[int(x) for x in input().split()]
	

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

main()

def zip(a):
	mae = a[0]
	ziparray = [mae]
	for i in range(1,len(a)):
		if(mae != a[i]):
			ziparray.append(a[i])
			mae = a[i]
	return ziparray

def is_prime(n):
	if n < 2: return False

	for k in range(2, int(math.sqrt(n)) + 1):
		if n % k == 0:
			return False

	return True

def list_replace(n,f,t):
	return [t if i==f else i for i in n]

def base_10_to_n(X, n):
	X_dumy = X
	out = ''
	while X_dumy>0:
		out = str(X_dumy%n)+out
		X_dumy = int(X_dumy/n)
	if(out == ''): return '0'
	return out

def gcd(l):
	x = l.pop()
	y = l.pop()
	while(x%y!=0):
		z = x%y
		x = y
		y = z
	l.append(min(x,y))
	return gcd(l) if len(l) > 1 else l[0]

class Queue():
	def __init__(self):
		self.q = deque([])
	def push(self,i):
		self.q.append(i)
	def pop(self):
		return self.q.popleft()
	def size(self):
		return len(self.q)
	def debug(self):
		return self.q

class Stack():
	def __init__(self):
		self.q = []
	def push(self,i):
		self.q.append(i)
	def pop(self):
		return self.q.pop()
	def size(self):
		return len(self.q)
	def debug(self):
		return self.q

class graph():
	def __init__(self):
		self.graph = defaultdict(list)
	def addnode(self,l):
		f,t = l[0],l[1]
		self.graph[f].append(t)
		self.graph[t].append(f)
	def rmnode(self,l):
		f,t = l[0],l[1]
		self.graph[f].remove(t)
		self.graph[t].remove(f)
	def linked(self,f):
		return self.graph[f]

class dgraph():
	def __init__(self):
		self.graph = defaultdict(set)
	def addnode(self,l):
		f,t = l[0],l[1]
		self.graph[f].append(t)
	def rmnode(self,l):
		f,t = l[0],l[1]
		self.graph[f].remove(t)
	def linked(self,f):
		return self.graph[f]

Submission status: Accepted

Solution code:
#n = int(input())
a,b,c = map(int,input().split())
#da = list(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())) 
c=A[0]+A[1]+A[2]

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

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:
x=input()
a=x.split()
cnt=0
for i in a:
  cnt+=int(i)
if cnt<=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 > 21:
    print("bust")
else:
    print("win")

Submission status: Accepted

Solution code:
def MAP(): return list(map(int,input().split()))
def INT(): return int(input())
def FLOAT(): return float(input())
MOD = 10**9+7

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

Submission status: Accepted

Solution code:
a1, a2, a3= [int(i) for i in input().split()]
sum = a1+ a2+ a3
if sum >21:
    print('bust')
else:
    print('win')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = list(map(int, input().split()))
sum = a[0]+a[1]+a[2]

if sum<=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(x) for x in input().split()]
if sum(A) <= 21:
    print("win")
else:
    print("bust")

Submission status: Accepted

Solution code:
a=list(map(int, input().split()))
if a[0]+a[1]+a[2]>=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 = 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) >= 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')
elif (a+b+c)<=21:
    print('win')

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
s = input()
res = sum([int(ele) for ele in s.split(" ")])
print("bust" if res >= 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:
a1, a2, a3 = map(int, input().split())
print("win" if a1+a2+a3 <= 21 else "bust")

Submission status: Accepted

Solution code:
def winOrBust(string_numbers_in):
  num_array = string_numbers_in.split()
  result = 0
  for num in num_array:
    result += int(num)
  if result >= 22:
    print('bust')
  else:
    print('win')

if __name__ == "__main__":
    string_numbers_in = input()
    winOrBust(string_numbers_in)

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:
inp = input()
A = inp.split()
A1 = int(A[0])
A2 = int(A[1])
A3 = int(A[2])
if A1+A2+A3 > 21:
    print("bust ")
else:
    print("win ")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input()
lst = [int(e) for e in a.split(' ')]

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

Submission status: Accepted

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

if int(A[0]) + int(A[1]) + int(A[2]) >= 22:
    print('bust')
elif int(A[0]) + int(A[1]) + int(A[2]) <= 21:
    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())
total = A1 + A2 + A3
if total >= 22:
  print("bust")
elif total <= 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 = [int(x) for x in input().split()]
if sum(A) > 21:
    print('bust')
else:
    print('win')

Submission status: Accepted

Solution code:

line = input().split(" ")
total = 0
result = ""

for i in range(3):
     line[i] = int(line[i])

total = line[0] + line[1] +line[2]

if total >= 22:
    result = "bust"
else:
    result = "win"

print(result)

Submission status: Accepted

Solution code:
s = raw_input().split()
[A1, A2, A3] = s
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) >= 22:
  print('bust')
else:
  print('win')

Submission status: Accepted

Solution code:
# cook your dish here
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:
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
a, b, c = map(int, (stdin.readline().rstrip()).split())
if a + b + c >= 22:
    print('bust')
else:
    print('win')

Submission status: Accepted

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

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

Submission status: Accepted

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


if __name__ == "__main__":
    Blackjack()

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
i = input().split(" ")
sum = 0

for l in range(len(i)):
  sum += int(i[l])
  
if sum <= 21:
  print("win")
else:
  print("bust")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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 >= 1) and (a <= 13))and((b >= 1) and (b <= 13))and((c >= 1) and (c <= 13)):
  d = a + b + c
  if (d >= 22):print('bust')
  else: print('win')

Submission status: Accepted

Solution code:
a1,a2,a3 = map(int,input().split())
print("win") if a1+a2+a3 < 22 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:
#!/usr/bin/python

import sys

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

if __name__ == '__main__':
    a = list(map(int, sys.stdin.readline().strip().split(" ")))
    solve(a)

Submission status: Accepted

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

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

print('bust') if sum([a1,a2,a3]) >= 22 else print('win')

Submission status: Accepted

Solution code:
import sys


def main():
    # input = sys.stdin.readline
    a, b, c = map(int, input().split())

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

    print(answer)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
s = input().split()
sum_a = 0
for a in s:
    sum_a += int(a)
if sum_a > 21:
    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())
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('win')
else :
    print('bust')

Submission status: Accepted

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

a = [int(x) for x in a]

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

Submission status: Accepted

Solution code:
a1,a2,a3 = list(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 >= 22:
  print('bust')
else:
  print('win')

Submission status: Accepted

Solution code:
n = [int(i) for i in input().split()]
if sum(n) >= 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, X = map(int, input().split())
ans = 'bust' if A+B+X >= 22 else 'win'
print(ans)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import math
import datetime

# 入力
#N = int(input())
#S = str(input())
#N, A, B = map(int, input().split())
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:
A = input().split()
A1 = int(A[0])
A2 = int(A[1])
A3 = int(A[2])

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

Submission status: Accepted

Solution code:
number = input().split(" ")
ans = 0
for i in number:
    ans += int(i)

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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:
def fastio():
    import sys
    from io import StringIO 
    from atexit import register
    global input
    sys.stdin = StringIO(sys.stdin.read())
    input = lambda : sys.stdin.readline().rstrip('\r\n')
    sys.stdout = StringIO()
    register(lambda : sys.__stdout__.write(sys.stdout.getvalue()))
fastio()

INF = 10**20
MOD = 10**9 + 7
I = lambda:list(map(int,input().split()))
from collections import defaultdict as dd

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

def main():
    A = list(map(int, input().split()))

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

Submission status: Accepted

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

if sum(A) >=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,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 <= 21:
  print('win')

elif a + b + c >= 22:
  print('bust')

Submission status: Accepted

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

ans="bust"
if a+b+x<=21:
    ans="win"

print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

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

sum = 0
for i in range(len(N)):
  sum += int(N[i])
  
if sum >= 22:
  print('bust')
else:
  print('win')

Submission status: Accepted

Solution code:
import math
import sys

m=10**9 + 7 
sys.setrecursionlimit(1000010)
A = list(map(int,input().split()))

if A[0] + A[1] + A[2] > 21:
    print('bust')
else:
    print('win')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def blackjack(A1: int, A2: int, A3: int)->bool:
    return A1+A2+A3 < 22


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

Submission status: Accepted

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

Submission status: Accepted

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


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

Submission status: Accepted

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

if (a1+a2+a3) <= 21 :
  ans = "win"
else:
  ans = "bust"

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

ans = int(0)

ans = a+b+c

if ans > 21:
    print("bust")

else:
    print("win")

Submission status: Accepted

Solution code:
import sys

def main():
    input_list = input().split(" ")
    a1, a2, a3 = int(input_list[0]), int(input_list[1]), int(input_list[2])
    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())

sum = a1+a2+a3

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

Submission status: Accepted

Solution code:
A1,A2,A3 = [int(x) for x in input().split()]

sum = A1+A2+A3

if sum >21:
    ans = 'bust'
else:
    ans = 'win'

print(ans)

Submission status: Accepted

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