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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

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

Submission status: Accepted

Solution code:
from collections import defaultdict, deque, Counter
from heapq import heappush, heappop
from itertools import permutations, accumulate
from math import sqrt, ceil, floor, factorial
from bisect import bisect_left, bisect_right
from copy import deepcopy
from operator import itemgetter
from functools import reduce
#from fractions import gcd
#from math import gcd
import sys
def I(): return int(input())  # '123' -> 123
def Is(): return map(int, input().split())  # '123 456' -> 123, 456
def LI(): return list(map(int, input().split()))  # '123 456' -> [123, 456]
def TI(): return tuple(map(int, input().split()))  # '123 456' -> (123, 456)
def IR(n): return [I() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def TIR(n): return [TI() for _ in range(n)]
def S(): return input()
def Ss(): return input().split()  # 'aa bb' -> 'aa','bb' or ['aa','bb']
def LS(): return list(input())  # 'abc123' -> ['a','b','c','1','2','3']
def SR(n): return [S() for _ in range(n)]
def SsR(n): return [Ss() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
sys.setrecursionlimit(1000000)
MOD = 1000000007
INF = float('inf')

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

if sum(a) >= 22:
    print("bust")
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:
print("bwuisnt"[sum(map(int,input().split()))<22::2])

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

if A+B+C > 21:
    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())
t=a1+a2+a3

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat May  2 20:55:33 2020

@author: Kanaru Sato
"""

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import os
import sys

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

if __name__ == "__main__":
	main()

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env pypy3
import collections
import itertools as it
import math
#import numpy as np
 
#  = input()
#  = int(input())
a1, a2, a3 = map(int, input().split())
#  = list(map(int, input().split()))
#  = [int(input()) for i in range(N)]
#
# c = collections.Counter()

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

A_sum = sum(A)

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
if A+B+C >= 22:
    print('bust')
elif A+B+C <=21:
    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:
#ABC147-A #Blackjack                                                                                             
a,b,c = map(int, input().split())
if a+b+c >= 22:
    print("bust")
else:
    print("win")

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    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(list(map(int, input().split()))) >= 22 else print("win")

Submission status: Accepted

Solution code:
import sys
import os
import math
import string
import collections

ii = lambda: int(sys.stdin.buffer.readline().rstrip())
il = lambda: list(map(int, sys.stdin.buffer.readline().split()))
fl = lambda: list(map(float, sys.stdin.buffer.readline().split()))
iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)]

iss = lambda: sys.stdin.buffer.readline().decode().rstrip()
sl = lambda: list(map(str, sys.stdin.buffer.readline().decode().split()))
isn = lambda n: [sys.stdin.buffer.readline().decode().rstrip() for _ in range(n)]

lcm = lambda x, y: x * y / math.gcd(x, y)

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


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

if a + b + c <= 21:
  print("win")
  
elif a + b + c >= 21:
  print("bust")

Submission status: Accepted

Solution code:
import sys, math
from pprint import pprint
input = sys.stdin.readline
rs = lambda: input().strip()
ri = lambda: int(input())
rl = lambda: list(map(int, input().split()))
mod = 10**9 + 7

A = rl()

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

Submission status: Accepted

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

Submission status: Accepted

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

def main():
    N = map(int, open(0).read().split())
    if(sum(N) >= 22):
        print('bust')
    else:
        print('win')


main()

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

sum_A = A1 + A2 + A3
print('win') if sum_A <= 21 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:
#!/usr/bin/env python3

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    A, B, C = map(int, input().split())
    if A + B + C >= 22:
        print("bust")
    else:
        print("win")
if __name__ == "__main__":
    main()

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
y = list(int(x) for x in input().split())
if sum(y) >= 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=[int(i) for i in input().split()]
d=a+b+c
if d>=22:
  print('bust')
else:
  print('win')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input().split()
sum = 0

for i in a:
  sum += int(i)

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

Submission status: Accepted

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

if A_1+A_2+A_3>=22:
    print("bust")
else:
    print("win")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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=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 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 main():
    import sys
    input = sys.stdin.readline
    sys.setrecursionlimit(10**7)
    from collections import Counter, deque
    #from collections import defaultdict
    from itertools import combinations, permutations, accumulate, groupby, product
    from bisect import bisect_left,bisect_right
    from heapq import heapify, heappop, heappush
    from math import floor, ceil
    #from operator import itemgetter

    #inf = 10**17
    #mod = 10**9 + 7

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#入力値の格納
a1,a2,a3 = map(int, input().split())

#判別
if a1 + a2 + a3 <= 21:
    text = "win"
else:
    text = "bust"

#表示
print(text)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

m=a+b+c

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

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

Submission status: Accepted

Solution code:
import sys
from bisect import bisect_right as bsr
from collections import Counter as cnt
from collections import defaultdict as dd
from collections import deque
from fractions import gcd
from itertools import permutations as perm
from math import ceil, factorial, floor
from operator import itemgetter as ig

sys.setrecursionlimit(1000000)

# お約束
args = None
INF = float("inf")
MOD = int(1e9 + 7)


def input(*ps):
    if type(ps[0]) is list:
        return [input(*ps[0][:-1]) for _ in range(ps[0][-1])]
    elif len(ps) == 1:
        return ps[0](next(args))
    else:
        return [p(next(args)) for p in ps]


def yesno(v, yes="Yes", no="No", upper=False):
    if upper:
        print([yes.upper(), no.upper()][not v])
    else:
        print([yes, no][not v])


def main():
    """エントリーポイント"""
    A = input([int, 3])
    yesno(22 <= sum(A), "bust", "win")


if __name__ == '__main__':
    args = iter(sys.stdin.read().split())
    main()

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

if int(a1) + int(a2) + int(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:
#!/usr/bin/env python3
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:
def q1():
    a = sum([int(i) for i in input().split()])
    if a > 21:
        print('bust')
    else:
        print('win')


if __name__ == '__main__':
    q1()

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:
# coding: utf-8

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B, C = (int(x) for x in input().split())
ans = A + B + C

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x = input()
a1 = int(x.split()[0])
a2 = int(x.split()[1])
a3 = int(x.split()[2])

sum = a1 + a2 + a3

if sum >= 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:
import math
import fractions
import sys
#入力:N(int:整数)
def input1():
	return str(input())

#入力:N,M(int:整数)
def input2():
	return map(int,input().split())

#入力:[n1,n2,...nk](int:整数配列)
def input_array():
	return list(map(str,input().split()))


a,b,c=input2()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
icase=0
if icase==0:
    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())

if 22 <= a+b+c:
    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 = (int(x) for x in input().split())
if a1 + a2 + a3 >= 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,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:
def main():
    a1, a2, a3 = map(int, input().split())
    if a1 + a2 + a3 >= 22:
        print("bust")
    else:print("win")
    
if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
import numpy as np


def solve(A: "List[int]"):
    if A[0]+A[1]+A[2]>21:
        print('bust')
    else:
        print('win')
    return


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = [int(next(tokens)) for _ in range(3)]  # type: "List[int]"
    solve(A)

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

total = sum(A)

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#--Blackjack

card = [int(i) for i in input().split()]

total = sum(card)

if (total >= 22):
  print("bust")
elif (total <= 21):
  print("win")
else:
  pass