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, b, c = (int(x) for x in input().split())
sum = a + b + c

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

Submission status: Accepted

Solution code:
input_line = input()
v1,v2,v3 = input_line.split(' ')
total = int(v1)+int(v2)+int(v3)
if total >= 22:
  print('bust')
else:
  print('win')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(map(int, input().split())) # 複数の入力値を取得し、出力する

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
n = list(map(int, input().split()))
s = sum(n)

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

sum_a=a1+a2+a3

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

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
nums = [int(e) for e in input().split()]

s = sum(nums)
if s>21:
  print('bust')
else:
  print('win')

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#coding: utf-8

value = input()

list = value.split()

for i in range(len(list)):
  list[i] = int(list[i])
  
sum = list[0] + list[1] + list[2]

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

Submission status: Accepted

Solution code:
import sys

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

# Checking input is within constraints
try:
    CHECK_INT = [int(x) for x in A_LIST]
except ValueError:
    print('Input includes non-integer value(s).')
    sys.exit()

for i in A_LIST:
    if int(i) > 13 | int(i) < 1:
        print('Input includes value(s) not integers 1 through 13.')
        sys.exit()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Spyder Editor

This is a temporary script file.
"""

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=list(map(int,input().split()))
print('bust'if sum(a)>=22else '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:
# coding: utf-8

[a, b, c] = [int(i) for i in input().split()]
if a+b+c <= 21:
    print('win')
else:
    print('bust')

Submission status: Accepted

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

Submission status: Accepted

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

sum = 0
for i in number:
 sum += i
 
if(sum>21): 
 print("bust")
else:
 print("win")

Submission status: Accepted

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

if sum > 21:
  print("bust")
if sum <= 21:
  print("win")

Submission status: Accepted

Solution code:
sum = 0;
x = list(map(int,input().split()))
for i in x:
    sum += i
if sum > 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:
lst = list(map(int,input().split()))
if sum(lst)>=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:
# -*- coding: utf-8 -*-
a, b, c = map(int, input().split())
print("win") if a + b + c <= 21 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:
a,b,c = map(int, input().split())
print('bust') if a+b+c>=22 else print('win')

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
num = a+b+c
if num <= 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:
from sys import stdin
INF = float("inf")
IINF = 10 ** 18
MOD = 10 ** 9 + 7
#n = int(stdin.readline().rstrip())
#l = list(map(int, stdin.readline().rstrip().split()))
A1, A2, A3 = map(int, stdin.readline().rstrip().split())
#S = [list(stdin.buffer.readline().decode().rstrip()) for _ in range(h)]

allA = A1 + A2 + A3

if allA > 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) >=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())
n = A1+A2+A3

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

Submission status: Accepted

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

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:
f=input()
k=f.split(" ")
ans=int(k[0])+int(k[1])+int(k[2])
if(ans<22): print("win")
else: print("bust")

Submission status: Accepted

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

Submission status: Accepted

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

at  = a1 + a2 + a3

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

A1,A2,A3 = map(int, input().split())
if sum([A1,A2,A3])>=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:
# -*- coding: utf-8 -*-

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=list(map(int, input().split()))
if a[0]+a[1]+a[2]<=21:
  print('win')
elif a[0]+a[1]+a[2]>21:
  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:
def main():
    try:
        A ,B, C = map(int, input().split())
        if A+B+C <= 21:
            print('win')
            return
        print('bust')

    except SystemExit:
        pass
if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l_s = input().split(' ')
i_s = [int(i) for i in l_s]
a = sum(i_s)
 
if a <= 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:
x,y,z=map(int,input().split())
if x+y+z>21:
  print("bust")
else:
  print("win")

Submission status: Accepted

Solution code:
nums = input().split(" ")
if sum(list(map(int, nums))) >= 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 = str(input()).split(' ')
a1 = int(a[0])
a2 = int(a[1])
a3 = int(a[2])

string = 'bust'
if a1+a2+a3 < 22:
  string = 'win'

print(string)

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().rstrip().split())

a = A1 + A2 + A3 

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

Submission status: Accepted

Solution code:
s1,s2,s3 = map(int, input().split(" "))
 
s = s1+s2+s3
 
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:
nums = input().split(" ")
sum = int(nums[0]) + int(nums[1]) + int(nums[2])
if sum >= 22:
	print("bust")
else:
	print("win")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = 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")
elif a1+a2+a3 <= 21:
  print("win")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

sum = 0

for val in values:
    sum += val

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


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

Submission status: Accepted

Solution code:
from collections import Counter,defaultdict,deque
from heapq import heappop,heappush,heapify
import sys,bisect,math,itertools,fractions,pprint
sys.setrecursionlimit(10**8)
mod = 10**9+7
mod2 = 998244353
INF = float('inf')
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpln(n): return list(int(sys.stdin.readline()) for i in range(n))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

k = a+b+c

print('bust' if k>=22 else 'win')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import exit, stdin
A1, A2, A3 = [int(_) for _ in stdin.readline().rstrip().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 = list(map(int,input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
#https://atcoder.jp/contests/abc141/tasks/abc147_a
import sys
#import collections

#n= int(input())
#s= input()
tmp = input().split()
a,b,c = list(map(lambda a: int(a), tmp))

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

Submission status: Accepted

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

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

Submission status: Accepted

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

ans = a1 + a2 + a3

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

Submission status: Accepted

Solution code:


L = list(map(int,input().split()))
S = L[0]+L[1]+L[2]
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:
W,E,R = map(int,input().split())
if W + E + R >= 22:
    ans="bust"
else :
    ans="win"
print(ans)

Submission status: Accepted

Solution code:
from heapq import heappush,heappop,heapify
from collections import deque,defaultdict,Counter
import itertools
from itertools import permutations,combinations
import sys
import bisect
import string
import math
import time
import random
def I():
    return int(input())
def MI():
    return map(int,input().split())
def LI():
    return [int(i) for i in input().split()]
def LI_():
    return [int(i)-1 for i in input().split()]
def StoI():
    return [ord(i)-97 for i in input()]
def ItoS(nn):
    return chr(nn+97)
def GI(V,E,Directed=False,index=0):
    org_inp=[]
    g=[[] for i in range(n)]
    for i in range(E):
        inp=LI()
        org_inp.append(inp)
        if index==0:
            inp[0]-=1
            inp[1]-=1
        if len(inp)==2:
            a,b=inp
            g[a].append(b)
            if not Directed:
                g[b].append(a)
        elif len(inp)==3:
            a,b,c=inp
            aa=(inp[0],inp[2])
            bb=(inp[1],inp[2])
            g[a].append(bb)
            if not Directed:
                g[b].append(aa)
    return g,org_inp
def show(*inp,end='\n'):
    if show_flg:
        print(*inp,end=end)
YN=['Yes','No']
mo=10**9+7
inf=float('inf')
l_alp=string.ascii_lowercase
u_alp=string.ascii_uppercase
ts=time.time()
#sys.setrecursionlimit(10**5)
input=lambda: sys.stdin.readline().rstrip()

def ran_input():
    import random
    n=random.randint(4,16)
    a=sorted([random.randint(0,5) for _ in range(n)])[::-1]
    return n,a

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

Submission status: Accepted

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

if M + N + K >= 22:
    print('bust')
else:
    print('win')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B,C=map(int,input().split())
if (A+B+C)>21:
  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(lambda x: int(x),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")
else:
    print("win")

Submission status: Accepted

Solution code:
a=input().split(" ")
sumInput=0
for num in a:
  sumInput=sumInput+int(num)
if sumInput>21:
	print("bust")
else:
  	print("win")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

else:
    print("win")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A = list(map(int, input().split()))
A1,A2,A3 = A[0],A[1],A[2]

def f(A1,A2,A3):
    bj = A1 + A2 + A3
    if bj >= 22:
        return 'bust'
    else:
        return 'win'

print(f(A1,A2,A3))

Submission status: Accepted

Solution code:
def is_bust(value):
    bust_value = 22
    return_value = ''

    if value >= bust_value:
        return_value = 'bust'
    else:
        return_value = 'win'

    return return_value
        
str = input().split()
a1 = int(str[0])
a2 = int(str[1])
a3 = int(str[2])

print(is_bust(a1 + a2 + a3))

Submission status: Accepted

Solution code:
# coding: utf-8
A = list(map(int, input().split()))
A_sum = sum(A)
if(A_sum > 21):
    print('bust')
else:
    print('win')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def solve():
  a1,a2,a3 = (int(i) for i in input().split())
  if a1+a2+a3 >= 22:
    print("bust")
  else:
    print("win")
solve()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

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