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:
#!/usr/bin/env python3
import sys
args = sys.argv
if len(args) == 2:
  from IPython import embed
  em = True
else:
  em = False
input = sys.stdin.readline
a, b, c = map(int, input().split())
if a+b+c >= 22:
  print("bust")
else:
  print("win")
if em: sys.stdin = open('/dev/tty')

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

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

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

ans = 'win' if A1 + A2 + A3 <= 21 else 'bust'

print(ans)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
result = "win"

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

if sum(A) >= 22:
    result = "bust"

print(result)

Submission status: Accepted

Solution code:
import sys
def input():
    return sys.stdin.readline()[:-1]
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())
if A1+A2+A3 >= 22:
  print("bust")
if A1+A2+A3 <= 21:
  print("win")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

[A1, A2, A3] = [int(i) for i in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
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

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

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

Submission status: Accepted

Solution code:
def read():
    A1, A2, A3 = list(map(int, input().strip().split()))
    return A1, A2, A3

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

if __name__ == '__main__':
    inputs = read()
    print("%s" % solve(*inputs))

Submission status: Accepted

Solution code:
n1, n2, n3 = map(int, input().split())
if n1 + n2 + n3 <= 21:
  print('win')
else:
  print('bust')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import itertools
from collections import deque,defaultdict,Counter
from itertools import accumulate
import bisect
from heapq import heappop,heappush
from fractions import gcd
from copy import deepcopy
import math
import queue
#import numpy as np
#import sympy as syp(素因数分解とか)
Mod = 1000000007
import sys

sys.setrecursionlimit(100000) 
  
def sieve_of_eratosthenes(n):
    if not isinstance(n,int):
        raise TypeError("n is not int")
    if n<2:
        raise ValueError("n is not effective")
    prime = [1]*(n+1)
    for i in range(2,int(math.sqrt(n))+1):
        if prime[i] == 1:
            for j in range(2*i,n+1):
                if j%i == 0:
                    prime[j] = 0
    res = []
    for i in range(2,n+1):
        if prime[i] == 1:
            res.append(i)
    return res

def factorial(i):
    if i == 1:
        return 1
    else:
        return i*factorial(i-1)
 
class UnionFind:
    def __init__(self,n):
        self.parent = [i for i in range(n+1)]
        self.rank = [0 for i in range(n+1)]
    
    def findroot(self,x):
        if x == self.parent[x]:
            return x
        else:
            y = self.parent[x]
            y = self.findroot(self.parent[x])
            return y
    
    def union(self,x,y):
        px = self.findroot(x)
        py = self.findroot(y)
        if px < py:
            self.parent[py] = px
        else:
            self.parent[px] = py
 
    def same_group_or_no(self,x,y):
        return self.findroot(x) == self.findroot(y)




def main(): #startline--------------------------------------------        
    a,b,c = map(int,input().split())
    print("bust" if a+b+c >= 22 else "win")
if __name__ == "__main__":
    main() #endline===============================================

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys,collections,math,random;sys.setrecursionlimit(10**7)
def Is(): return [int(x) for x in sys.stdin.readline().split()]
def Ss(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def S(): return input()

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

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

Submission status: Accepted

Solution code:
def examA():
    A = LI()
    if sum(A)>=22:
        ans = "bust"
    else:
        ans = "win"
    print(ans)
    return

def examB():
    return

def examC():
    return

def examD():
    return

def examE():
    return

def examF():
    return

import sys,copy,bisect,itertools,heapq,math
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict,deque
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LSI(): return list(map(str,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def SI(): return sys.stdin.readline().strip()
mod = 10**9 + 7
inf = float('inf')

if __name__ == '__main__':
    examA()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin 
s = [int(x) for x in stdin.readline().rstrip().split()]
sum = sum(s)
if sum >= 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())
print("bust" if a+b+c>=22 else "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>21:
    print('bust')
elif a1+a2+a3<=21:
    print('win')

Submission status: Accepted

Solution code:
N, M ,L=map(int, input().split())
t = N+M+L
if t>=22:
  print('bust')
else:
  print('win')

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
def main():
    a = [int(x) for x in input().split()]
    a = sum(a)
    if a>=22:
        print("bust")
    else:
        print("win")
if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math
import queue
import bisect
import heapq
import time
import itertools

mod = 1e9+7

def swap(a,b):
    return (b,a)

def gcd(a,b): #最大公約数
    if (a<b):
        a,b = swap(a,b)
    if (b==0):
        return a
    else:
        return gcd(b,a%b)

def divisors(a): # 約数列挙
    divisors = []
    for i in range(1,int(a**0.5)+1):
        if a%i==0:
            divisors.append(i)
            if i!=a//i:
                divisors.append(a//i)
    return divisors

def is_prime(a): #素数判定
    if a<2:
        return False
    elif a==2:
        return True
    elif a%2==0:
        return False
    sqrt_num = int(a**0.5)
    for i in range(3,sqrt_num+1,2):
        if a%i==0:
            return False
    return True

def prime_num(a): #素数列挙
    pn = [2]
    for i in range(3,int(a**0.5),2):
        prime = True
        for j in pn:
            if i%j==0:
                prime = False
                break
        if prime:
            pn.append(i)
    return pn

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

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:
# coding: utf-8
# Your code here!

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math
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()))

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

Submission status: Accepted

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

Submission status: Accepted

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


def solve(A: "List[int]"):
    print("win" if A[0]+A[1]+A[2]<22 else "bust")
    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,b,c = map(int, input().split())
if (a+b+c) >= 22:
  print("bust")
else:
  print("win")

Submission status: Accepted

Solution code:
#import heapq
#import itertools
#import math
#import numpy as np
#import sys

A,B,C = list(map(int, input().split()))
# S = [input() for _ in range(H)]
# T = [list(map(int,input().split())) for _ in range(N)]
# sys.exit()
if A + B + C >= 22 :
    print('bust')
else :
    print('win')

Submission status: Accepted

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

Submission status: Accepted

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

print('win' if sum(map(int, readline().split())) <= 21 else 'bust')

Submission status: Accepted

Solution code:
#coding:utf-8

data = list(map(int, input().split(" ")))

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

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

s=0
for i in a:
    s += i

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
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:
a, b, c = (int(i) for i 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())

x = a+b+c

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

Submission status: Accepted

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

if ipt[0]+ipt[1]+ipt[2]<=21:
  print("win")
else:
  print("bust")

Submission status: Accepted

Solution code:
from sys import stdin

A, B, C = [int(x) for x in stdin.readline().rstrip().split()]

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

Submission status: Accepted

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

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


if __name__ == '__main__':
    main()

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

Submission status: Accepted

Solution code:
import sys

read = sys.stdin.buffer.read
input = sys.stdin.buffer.readline
inputs = sys.stdin.buffer.readlines

# rstrip().decode('utf-8')
# map(int,input().split())


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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import numpy as np


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


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

print('win' if x < 22 else 'bust')

Submission status: Accepted

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

Submission status: Accepted

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

ans = sum(arr)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
if (sum(list(map(int,input().split()))))>21:
    print("bust")
else:
    print("win")

Submission status: Accepted

Solution code:
A, B, C = [int(n) for n in input().split()]
print('win' if A+B+C <= 21 else 'bust')

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
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()))

x = a + b + c

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
sys.setrecursionlimit(10**6)
input = sys.stdin.readline

a1, a2, a3 = [int(item) for item in input().split()]
sumation = a1 + a2 + a3
if sumation >= 22:
    print("bust")
else:
    print("win")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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:
#!/usr/bin/env python3
import sys


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


# Generated by 1.1.5 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 22<=sum(A):
    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 = list(map(int, input().split()))
if sum(A)>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 = list(map(int, input().split(' ')))

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

Submission status: Accepted

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

Submission status: Accepted

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

if L+N+M < 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()))

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")
else:
    print("bust")

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

Submission status: Accepted

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

import sys

def input(): return sys.stdin.readline().strip()
def list2d(a, b, c): return [[c] * b for i in range(a)]
def list3d(a, b, c, d): return [[[d] * c for j in range(b)] for i in range(a)]
def list4d(a, b, c, d, e): return [[[[e] * d for j in range(c)] for j in range(b)] for i in range(a)]
def ceil(x, y=1): return int(-(-x // y))
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(N=None): return list(MAP()) if N is None else [INT() for i in range(N)]
def Yes(): print('Yes')
def No(): print('No')
def YES(): print('YES')
def NO(): print('NO')
sys.setrecursionlimit(10 ** 9)
INF = 10 ** 18
MOD = 10 ** 9 + 7

a, b, c = MAP()

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

Submission status: Accepted

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

if A1+A2+A3 > 21:
    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("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:
li = list(map(int, input().split()))
if sum(li)>=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:
from sys import stdout
printn = lambda x: stdout.write(x)
inn = lambda : int(input())
inl   = lambda: list(map(int, input().split()))
inm   = lambda:      map(int, input().split())
DBG = True # and False
BIG = 999999999
R = 10**9 + 7

def ddprint(x):
  if DBG:
    print(x)

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

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

Submission status: Accepted

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

Submission status: Accepted

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

sum_a = A1 + A2 + A3

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

Submission status: Accepted

Solution code:
A =list(map(int,input().split()))
# [list(map(int,input().split())) for i in range(N)]

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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


def main():
    A, B, C = [int(x) for x in input().split()]
    if A + B + C >= 22:
        print("bust")
    else:
        print("win")




if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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