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

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

Submission status: Runtime Error

Solution code:
# atCoder Beginner Contest 147 a

import sys


def main():
    l = list(sys.stdin.readline().split())
    [int(e) for e in l]
    if sum(l) <= 21:
        print('win')
    else:
        print('bust')


main()

Submission status: Runtime Error

Solution code:
# atCoder Beginner Contest 147 a

import sys


def main():
    l = list(sys.stdin.readline().split())
    if sum(l) <= 21:
        print('win')
    else:
        print('bust')


main()

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;

int main(int argc, char const *argv[]) {
    int A, B, C;
    cin >> A >> B >> C;

    if (A + B + C >= 22) {
        cout << "bust" << endl;
    } else {
        cout << "win" << endl;
    }
    return 0;
}

Submission status: Runtime Error

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

res='bust'
if a+b+c<=21:
  res='win'

print(res)

Submission status: Runtime Error

Solution code:
A1 = input()
A2 = input()
A3 = input()

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A1 = input()
A2 = input()
A3 = input()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
sum = int(input()) + int(input()) + int(input())

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

Submission status: Runtime Error

Solution code:
import numpy as np

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

p = len(format(max(A), 'b'))
digit = ['0' + str(p) + 'b'] * N
S = list(map(format, A, digit))
X = np.array([[int(c) for c in s] for s in S])
#print(X)
r = np.sum(X, 0)
#print(r)
r = r * (N - r)
#print(r)

res = 0
for j in range(p):
  res += r[j] * (2 ** (p-1-j))

print(res % (10**9 + 7))

Submission status: Runtime Error

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

input().split() == "" == ["", "",""]

A = int(inp[0])
B = int(inp[1])
C = int(inp[2])

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

Submission status: Runtime Error

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

input().split() == "2 5 7" == ["2", "5","7"]

A = int(inp[0])
B = int(inp[1])
C = int(inp[2])

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

Submission status: Runtime Error

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

input().split() == "2 5 7" == ["2", "5","7"]

A = int(inp[0])
B = int(inp[1])
C = int(inp[3])

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

Submission status: Runtime Error

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

input().split() == "2 5" == ["2", "5",]

A = int(inp[0])
B = int(inp[1])
C = int(inp[3])

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

Submission status: Runtime Error

Solution code:
a,b,c=(int(x) for x in input().split())

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

Submission status: Runtime Error

Solution code:
a,b,c=(int(x) for x in input().split())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a1 = int(input())
a2 = int(input())
a3 = int(input())

A = a1 + a2 + a3

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = int(input());
b = int(input());
c = int(input());

A = a + b+ c;

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = int(input())
A = list(map(int, input().split()))
B = [0]*60
for a in A:
    for i in range(len(B)):
        if a & (2**i):
            B[i] += 1
ans = 0
for i, b in enumerate(B):
    ans += 2**i * b * (N-b)
ans %= 10**9+7
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
 
args = sys.argv
 
sum = int(args[1])+int(args[2])+int(args[3])

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

Submission status: Runtime Error

Solution code:
import sys

args = sys.argv

sum = int(args[0])+int(args[1])+int(args[2])

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

Submission status: Runtime Error

Solution code:
import sys

a = sys.argv[1]
b = sys.argv[2]
c = sys.argv[3]

d = a + b +c

if d < 22;
	print("win")
else;
	print("bust")

Submission status: Runtime Error

Solution code:
a = input().split()
a2 = 0
for i in range(len(a)):
    a2 += int(a[i])
print(a2)
if a2 >= bust:
    print('win')
elif a2 <= 21:
    print('win')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A1 = input()
A2 = input()
A3 = input()

sum = int(A1) + int(A2) + int(A3)

if sum < 22:
	print('win')

elif sum > 21:
	print('bust')

Submission status: Runtime Error

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

N=int(input())

ans_l=[1]*N

if N == 1:
    print("1")
else:
    for i in range(N):
        A=int(input())
        for j in range(A):
            a,b=map(int,input().split())
            ans_l[a-1]=ans_l[a-1]*b
    print(sum(ans_l))

Submission status: Runtime Error

Solution code:
num1 = int(input("Value1:"))
num2 = int(input("Value3:"))
num3 = int(input("Value3:"))
sum=num1+num2+num3
print("Sum:",sum)
if(sum < 22):
   print("Win")
else:
   print("Bust")

Submission status: Runtime Error

Solution code:
import numpy as np
N = int(input())
data_xy = []
for i in range(N):
    A = int(input())
    xy = []
    for i in range(A):
        [x,y] = list(map(int,input().split()))
        xy.append([x-1, y])
    data_xy.append(xy)
data_xy = np.array(data_xy,dtype=np.int64)
ans = 0
for i in range(2**N):
    p_list = [0]*N
    for j in range(N):
        if (i>>j) & 1 == 1:
            p_list[j] = 1
    flag = True
    for j in range(N):
        if p_list[j] == 1:
            for k in range(len(data_xy[j])):
                x = data_xy[j][k][0]
                y = data_xy[j][k][1]
                if p_list[x] != y:
                    flag = False
    if flag == True:
        ans = max(sum(p_list),ans)
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import numpy as np
N = int(input())
data_xy = []
for i in range(N):
    A = int(input())
    xy = []
    for i in range(A):
        [x,y] = list(map(int,input().split()))
        xy.append([x-1, y])
    data_xy.append(xy)
ans = 0
for i in range(2**N):
    p_list = [0]*N
    for j in range(N):
        if (i>>j) & 1 == 1:
            p_list[j] = 1
    flag = True
    for j in range(N):
        if p_list[j] == 1:
            for k in range(len(data_xy[j])):
                x = data_xy[j][k][0]
                y = data_xy[j][k][1]
                if p_list[x] != y:
                    flag = False
    if flag == True:
        ans = max(sum(p_list),ans)
print(ans)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
1
2
3
4
5
6
7
8
9
10
11
12
13
a=[int(input()) for i in range(13)]
b=[int(input()) for i in range(13)]
c=[int(input()) for i in range(13)]

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

Submission status: Runtime Error

Solution code:
if a+b+C>=22:
    print(bust)
else:
    print(win)

Submission status: Runtime Error

Solution code:
if "Lucida Grande"+"Lucida Grande"+"Lucida Grande">=22:
  print(win)
else:
  print(bust)

Submission status: Runtime Error

Solution code:
A1=int(input())
A2=int(input())
A3=int(input())
point=A1+A2+A3
if point >= 22:
  print("bust")
else:
  print("win")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include<iostream>
#include<sstream>
#include<ios>
#include<iomanip>
#include<algorithm>
#include<vector>
#include<list>
#include<queue>
#include<cstdlib>
#include<cmath>
#include<queue>
#include<deque>
#include<map>
#include<string>
#include<numeric>
#include<set>
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define rep2(i, m, n) for(int i = (int)(m); i < (int)(n); i++)
#define rep_inv(i, n, m) for(int i = (int)(n); i > (int)(m); i--)
using namespace std;
using vi = vector<int>;
using vl = vector<long>;
using vc = vector<char>;
using vvi = vector<vector<int>>;
using vvl = vector<vector<long>>;
using vvc = vector<vector<char>>;
using pii = pair<int, int>;
using pll = pair<long, long>;
using vpii = vector<pii>;
using vpll = vector<pll>;

int main(){
  long ans = 0;
  long tmp;
  rep(i, 3){
    cin >> tmp;
    ans += tmp;
  }

  if(ans <= 21) cout << "win" << endl;
  else cout << "bust" << endl;
  
  return 0;
}

Submission status: Runtime Error

Solution code:
#include<iostream>
#include<sstream>
#include<ios>
#include<iomanip>
#include<algorithm>
#include<vector>
#include<list>
#include<queue>
#include<cstdlib>
#include<cmath>
#include<queue>
#include<deque>
#include<map>
#include<string>
#include<numeric>
#include<set>
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define rep2(i, m, n) for(int i = (int)(m); i < (int)(n); i++)
#define rep_inv(i, n, m) for(int i = (int)(n); i > (int)(m); i--)
using namespace std;
using vi = vector<int>;
using vl = vector<long>;
using vc = vector<char>;
using vvi = vector<vector<int>>;
using vvl = vector<vector<long>>;
using vvc = vector<vector<char>>;
using pii = pair<int, int>;
using pll = pair<long, long>;
using vpii = vector<pii>;
using vpll = vector<pll>;

int main(){
  long ans = 0;
  long tmp;
  rep(i, n){
    cin >> tmp;
    ans += tmp;
  }

  if(ans <= 21) cout << "win" << endl;
  else cout << "bust" << endl;
  
  return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = [int(input()) for i in range(13)]
b = [int(input()) for i in range(13)]
c= [int(input()) for i in range(13)]
if a+b+c>=22:
  print(bust)
else:
  print(win)

Submission status: Runtime Error

Solution code:
a = [int(input()) for in range(13)]
b = [int(input()) for in range(13)]
c = [int(input()) for in range(13)]

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

Submission status: Runtime Error

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

a, b, c = map(int, input().split())
d = a+b+c

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
print(a)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
# 整数の入力
a = int(input().split())
# 出力
print("{}".format(x = "bust" if n >= 22 else "win"))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

else:
    print("bust")12

Submission status: Runtime Error

Solution code:
n = int(input())
Ans = []
for i in range(n):
    Ai = int(input())
    a = []
    for j in range(Ai):
        x,y = map(int,input().split())
        a.append((x,y))
    Ans.append(a)
Honest = 0
TT = [bin(i)[2:].zfill(n) for i in range(2**n)]
#print(TT)
for truth in TT:
    truth = str(truth)
    people = [-1]*n
    #print("====")
    #print(truth)
    flag = True
    for i in range(n):
        tt = truth[i]
        answers = Ans[i]
        #print(answers)
        if tt == "1":
            #証言は信頼できると仮定
            for x,v in answers:
                #xに対してv
                if v:#x人が正直者という証言
                    if people[x-1] == 0:#xは嘘つきと証言されているとき
                        flag = False
                        #print("A")
                    else:
                        people[x-1] = 1
                else:#xは嘘つきという証言
                    if people[x-1] == 1:
                        flag = False
                        #print("B")
                    else:
                        people[x-1] = 0
        else:
            #証言は嘘と仮定
            for x,v in answers:
                if v == 0:
                    if people[x-1] == 0:#xは嘘つきと証言されているとき
                        flag = False
                        #print("C")
                    else:
                        people[x-1] = 1
                else:#xは嘘つきという証言
                    if people[x-1] == 1:
                        flag = False
                        #print("D")
                    else:
                        people[x-1] = 0
    if flag:
        Flag = True
        for i in range(len(people)):
            if people[i] == -1:
                people[i] = 0
            else:
                if truth[i] != str(people[i]):
                    Flag = False
                    break
        #print(*people)
        
        if Flag:
            Honest = max(Honest,sum(people))
print(Honest)

Submission status: Runtime Error

Solution code:
input_a=input("a:")
input_aa=input("aa:")
input_aaa=input("aaa:")

a=int(input_a)
aa=int(input_aa)
aaa=int(input_aaa)

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

Submission status: Runtime Error

Solution code:
input_a=input()
input_aa=input()
input_aaa=input()

a=int(input_a)
aa=int(input_aa)
aaa=int(input_aaa)

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

Submission status: Runtime Error

Solution code:
sum = 0
for num range(3):
  num = input()
  sum += int(num)
 if sum >= 22:
  print("bust")
 else:
  print("win")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A1 = int(input())
A2 = int(input())
A3 = int(input())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
r=0
s=input()
for n in len(s):
  if s[n] != s[(-1)*(n+1)]:
    r+=1
print(r/2)

Submission status: Runtime Error

Solution code:
def main():
  array = []
  array = raw_input().split(' ')
  
  if sum(array) >= 22:
    print('bust')
  else:
    print('win')

if __name__ == '__main__':
  main()

Submission status: Runtime Error

Solution code:
x = int(input())
y = int(input())
z = int(input())

if x + y + z <= 21:
	print('win')
else:
	print('bust')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A = [int(x) for x in input().split()]
sum=0
for i in A:
  sum=+i
  
if sum<22:
  print('win')
elif:
  print('bust')

Submission status: Runtime Error

Solution code:
A = [int(x) for x in input().split()]
sum=0
for i in A:
  sum+=i
  
if sum<22:
  print('win')
elif:
  print('bust')

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
A = map(int, input())
if sum(A)<=21:
  print('win')
else:
  print('bust')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
list1 = [int(e) for e in input().split()]
sum = 0
for num in list1:
    sum += num

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a1 = int(input())
a2 = int(input())
a3 = int(input())

x = a1 + a2 + a3

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

Submission status: Runtime Error

Solution code:
a1 = int(input())
a2 - int(input())
a3 = int(input())

x = a1 + a2 + a3

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
#y,m,d=map(int,input().split())
#a,b=map(int,input().split())
#n=int(input())
#a=int(input())
#b=int(input())
#s=list(input())
#recipe=[list(input().split())for _ in range(n)]
#m=int(input())
#have=[list(input().split())for _ in range(m)]
#s=[list(input())for _ in range(n)]
#b=list(map(int,input().split()))
#b=list(map(int,input().split()))
#a=list(map(int,input().split()))
#c=list(map(float,input().split()))
#n=int(input())
#a=[list(input().split())for _ in range(n)]
#a=[int(input())for _ in range(n)]
a=list(map(int,input().split(())))
total=sum(a)
if 22<=total:
    print('bust')
else:
    print('win')

Submission status: Runtime Error

Solution code:
A1 = int(input())
A2 = int(input())
A3 = int(input())
if A1 + A2 + A3 >= 22:
    print("burst")
else:
    print("win")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S = input().split(" ")
sum = 0
for i in S:
  sum = sum + i
if(sum >21):
  print("bust")
else:
  print("win")

Submission status: Runtime Error

Solution code:
A = input()
B = input()
C = input()
D = A + B + C
if(D < 22) :
  print("win")
else:
  print("bust")

Submission status: Runtime Error

Solution code:
#include<stdio.h>
int main(){
  int a,b,c;
  scanf("%d%d%d",&a,&b,&c);
  if(a+b+c>21){
    printf("bust\n");
  }
  else{
    printf("win\n");
  }
  return 0;
}

Submission status: Runtime Error

Solution code:
n = int(input())

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

ans = 0
for i in range(60):
    k = 1 << i
    i_1 = sum([k & a for a in ass]) >> i
    ans += i_1 * (n - i_1) << i
    ans = ans % ((10**9) + 7)

print(ans)

Submission status: Runtime Error

Solution code:
a,b,c=(int(x) for x in input().split())

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