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

resp = A[0] + A[1] + A[2]

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#abc147a

a1,a2,a3=map(int,raw_input().split())
if a1+a2+a3>=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:
#input
A1, A2, A3 = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#/usr/bin/env python3

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

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

Submission status: Accepted

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

print('bust' if sum(a) > 21 else 'win')

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
sys.setrecursionlimit(10000000)
INF = 1<<32


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

    else:
        print('win')

        
    return




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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys, random, itertools, math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split()))
def LF(): return list(map(float, input().split()))
def LI_(): return list(map(lambda x: int(x)-1, input().split()))
def II(): return int(input())
def IF(): return float(input())
def LS(): return list(map(list, input().split()))
def S(): return list(input().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float('INF')

#solve
def solve():
    a = LI()
    a = sum(a)
    print("bust" if a >= 22 else "win")
    return


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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
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:
ss = map(int, raw_input().split())
print 'win' if sum(ss) <= 21 else 'bust'

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
import numpy as np

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

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

Submission status: Accepted

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

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

s = a1 + a2 + a3

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

Submission status: Accepted

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

x = sum(map(int,read().split()))

answer = 'win' if x <= 21 else 'bust'
print(answer)

Submission status: Accepted

Solution code:
def winOrBust(string_numbers_in):
  num_array = [int(x) for x in string_numbers_in.split()]
  print('bust') if sum(num_array) >= 22 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:
a = sum(map(int,input().split()))
if a >= 22:
    print('bust')
else:
    print('win')

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin
 
ri = lambda: int(rs())
rl = lambda: list(map(int, stdin.readline().split()))
rs = lambda: stdin.readline().rstrip()  # ignore trailing spaces

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

Submission status: Accepted

Solution code:
import sys, os
import collections

def solve(input_stream):
  a,b,c = map(int,input_stream.readline().strip().split())
  ans = ""
  if a+b+c < 22:
    ans = "win"
  else:
    ans = "bust"
  return [ans]

if __name__ == "__main__":
    outputs = solve(sys.stdin)
    for line in outputs:
      print(line)

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
input = sys.stdin.readline

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
def blackjack(data):
    [a,b,c] = data
    total = a+b+c

    if total > 21:
        return "bust"
    elif total <= 21:
        return "win"

input_data = [int(x) for x in input().split()]

print(blackjack(input_data))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
a = [int(x) for x 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:
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 >=22:
  print('bust')
else:
  print('win')

Submission status: Accepted

Solution code:
import sys


def main():
    a1, a2, a3 = [int(s) for s in sys.stdin.readline().strip().split(' ')]
    if a1 + a2 + a3 >= 22:
        print('bust')
    else:
        print('win')


main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if sum(a)>=22:
  print('bust')
elif sum(a)<=21:
  print('win')

Submission status: Accepted

Solution code:
a = [int(x) for x 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:
A1,A2,A3 = map(int, input().split(" "))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
print("bust" if sum(list(map(int,input().split()))) >= 22 else "win")

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
a=list(map(int,input().split()))
b=0
for i in a:
    b+=i
    
if b<=21:
    print("win")
else:
    print("bust")

Submission status: Accepted

Solution code:
A = list(map(int,input().split()))
sum = A[0]
sum += A[1]
sum += A[2]
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 'win')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    A_s = input().split()
    A_i = [int(s) for s in A_s]
    ret = sum(A_i)
    if ret > 21:
        print("bust")
    else:
        print("win")
    exit(0)

Submission status: Accepted

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

x = a+b+c

if int(x) <= 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:
import sys
input = sys.stdin.readline
# sys.setrecursionlimit(100000)


def main():
    a, b, c = [int(i) for i in input().split()]
    if a + b + c >= 22:
        print("bust")
    else:
        print("win")


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
def print_ans(ar):
    """Test Case
    >>> print_ans([5, 7, 9])
    win
    >>> print_ans([13, 7, 2])
    bust
    """
    if sum(ar) >= 22:
        print("bust")
    else:
        print("win")

if __name__ == '__main__':
    ar = list(map(int, input().rstrip().split()))
    print_ans(ar)

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())
sumabc = a+b+c
if(sumabc >= 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:


def main():
    A_1, A_2, A_3 = [int(x) for x in input().split()]
    
    if A_1 + A_2 + A_3 >= 22:
        print("bust")
    else:
        print("win") 
 
 
 
if __name__ == '__main__':
    main()

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

print("win" if sum((a, b, c)) < 22 else "bust")

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



if __name__=='__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#import pysnooper
#import numpy
#import os,re,sys,operator
#from collections import Counter,deque
#from operator import itemgetter,mul
#from itertools import accumulate#,combinations,groupby,combinations_with_replacement,permutations
from sys import stdin,setrecursionlimit
#from bisect import bisect_left,bisect_right
#from copy import deepcopy
#import heapq
#import math
#import string
#from time import time
#from functools import lru_cache,reduce
#from math import factorial
#import sys

setrecursionlimit(10**6)
input=stdin.readline

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

ans = sum(A)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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 = (int(i) for i in input().split())

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

print(result)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

l = i.split()
l = [int(e) for e in l]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,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('{}'.format('bust'))
else:
    print('{}'.format('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:
from sys import stdin


def fetch_one_line():
    return stdin.readline().rstrip()


def fetch_int_input():
    return [int(s) for s in fetch_one_line().split()]


def fetch_inputs(times):
    return [fetch_one_line() for _ in range(times)]


def fetch_int_inputs(times):
    return [[int(s) for s in fetch_one_line()] for _ in range(times)]


nums = fetch_int_input()
echo_result = ["win", "bust"]

print(echo_result[sum(nums) > 21])

Submission status: Accepted

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

A=0

for i in list:
    A+=i

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

Submission status: Accepted

Solution code:
#値の入力
A1, A2, A3 = map(int, input(). split()) 

#値が範囲内か
if 1 > A1 or A1 > 13:
    print("もう一度入力して下さい")
    A1 = int(input("A1:"))
if 1 >A2 or A2 > 13:
    print("もう一度入力して下さい")
    A2 = int(input("A2:"))
if 1 > A3 or A3 > 13:
    print("もう一度入力して下さい")
    A3 = int(input("A3:"))

#判定
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())
if a+b+c < 22:
    print('win')
else:
    print('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:
# -*- coding: utf-8 -*-

from fractions import gcd
from math import ceil,floor
import collections

# n=int(input())
# A,B,C,D=map(int, input().split())
# string = input()
# list = list(map(int, input().split()))


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

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

def sumValue(values):
	sum_value = 0
	for value in values:
		sum_value = sum_value + value
	return sum_value

if sumValue(value) >= 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 a[0] + a[1] + a[2] <= 21:
    print('win')
else:
    print('bust')

Submission status: Accepted

Solution code:
str = [int(i) for i in input().split(" ")]
input_sum = sum(str)
if input_sum >= 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:
a,b,c=(int(x) for x in input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
def judge(a):
    b = 0
    for num in a:
        b += int(num)
    if b >= 22:
        out = 'bust'
    else:
        out = 'win'
    return out


a = input()
a = a.split(' ')
print(judge(a))

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

Submission status: Accepted

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

Submission status: Accepted

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

cal = a1 + a2 + a3

if cal <= 21:
    ans = "win"
else:
    ans = "bust"

print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**6)
if sys.platform in (['ios','darwin','win32']):
	sys.stdin=open('Untitled.txt')
input = sys.stdin.readline
def INT(): return int(input())
def MAP(): return [int(s) for s in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

counter = 0
for i in cards:
  counter = counter + i

if counter > 21:
  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:

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

Submission status: Accepted

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

Submission status: Accepted

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

sum = input_line[0] + input_line[1] + input_line[2]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

A()

Submission status: Accepted

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

if sum(A) < 22:
  print('win')
  exit()

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:
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())
total = A1 + A2 + A3

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

Submission status: Accepted

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

s=a1+a2+a3

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys
from itertools import product
from collections import Counter, defaultdict
#input = sys.stdin.readline
def inpl(): return list(map(int, input().split()))

A = inpl()
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:
a1,a2,a3= input().split(" ")
a1 = int(a1)
a2 = int(a2)
a3 = int(a3)
if ((a1>=1 and a1<=13) and (a2>=1 and a2<=13) and (a3>=1 and a3<=13)):
    if a1+a2+a3>=22:
        print('bust')
    else:
        print('win')

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input()
a = a.split()
result = map(lambda x: int(x), a)
res = 0
for num in result:
    res = res + num
if res>=22 :
    print("bust")
else:
    print("win")

Submission status: Accepted

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

if ((num[0] + num [1] + num[2]) < 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:
a1,a2,a3 = map(int,input().split())

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

Submission status: Accepted

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

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