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:
#include <bits/stdc++.h>
using namespace std;
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define REP(i,n)  FOR(i,0,n)
#define ALL(a)  (a).begin(),(a).end()
#define SUM(a)  accumulate((a).begin(),(a).end(),0)
#define SORT(a) sort(ALL(a))
#define REV(a) reverse(ALL(a))
#define dump(x)  cerr << #x << " = " << (x) << endl;
typedef long long ll;
const int INTINF = 1<<29;
const ll LLINF = 1LL<<61;
const int MOD = (int)1e9 + 7;
const double EPS = 1e-9;
const int DX[8]={ 0, 1, 0,-1, 1, 1,-1,-1};
const int DY[8]={ 1, 0,-1, 0, 1,-1, 1,-1};

int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int a,b,c;
  cin >> a >> b >> c;
  if (a+b+c<=21){
    cout << "win" << endl;
  }else{
    cout << "bust" << endl;
  }
}

Submission status: Runtime Error

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

total = 0
total = A1 + A2 + A3

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

print("win" if sum((a, b, c)) < 22 else "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:
str = [int(input()) for i in range(3)]
input_sum = sum(str)
if input_sum >= 22:
    print("true")
else:
    print("win")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
arr = []
n = 3
for i in range(0,n):
    arr.append(int(input('Enter the three number:' )))
length = len(arr)
ans = sum(arr,length)
if ans >= 22:
    print('bust')
else:
    print('win')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

print('bust')

Submission status: Runtime Error

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

#値が範囲内か
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: Runtime Error

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

Submission status: Runtime Error

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

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())
d = int(a+b+c)


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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(input())
print('win' if n <= 21 else 'bust')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = int(input())
d = int(a+b+c)
print(d)
if d>=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 > 21:
  print('bust')
else:
  print('win')

Submission status: Runtime Error

Solution code:
#GET Input
a1, a2, a3 = input(), input(), input()

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

Submission status: Runtime Error

Solution code:
#値の入力
A1 = int(input("A1:"))
A2 = int(input("A2:"))
A3 = int(input("A3:"))

#値が範囲内か
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: Runtime Error

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

Submission status: Runtime Error

Solution code:
#値の入力
A1 = int(input("A1:"))
A2 = int(input("A2:"))
A3 = int(input("A3:"))

#入力値の判定
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: Runtime Error

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

a1, a2, a3 = map(int, sys.stdin.readline().split())
if a1+a2+a3>=22:
  print('bust')
  return
print('win')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
a1, a2, a3 = map(int, input().sprit())
print("win" if a1 + a2 + a3 <=21 else "bust")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(input())
print("bust" if n>=22 else "win" )

Submission status: Runtime Error

Solution code:
a=input()
b=input()
c=input()
if(a+b+c) %2==0:
    print("bust")
else:
    print("win")

Submission status: Runtime Error

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

a += b 
a += c

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

Submission status: Runtime Error

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

a += b 
a += c

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

Submission status: Runtime Error

Solution code:
A = input()

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

Submission status: Runtime Error

Solution code:
all = input()
all = [int(num) for num in all]
if sum(all) >= 22:
    print('bust')
else:
    print('win')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A = input()

if (int(A[0])+int(A[2])+int(A[4]))>=22:
    print('burst')
else:
    print('win')

Submission status: Runtime Error

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

if sum(A, B, C)<=22:
	print("bust")
else:
	print("win")

Submission status: Runtime Error

Solution code:
arr = []
n = int(input('Enter the three number:' ))
for i in range(0,n):
  i += i
  if i >= 22:
    print('bust')
  else:
    print('win')

Submission status: Runtime Error

Solution code:
s = input()
arr = [int(i) for i in s.split('')]
result = 0
for j in range(arr):
  result += arr[j]
if(result >= 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=input()
b=input()
c=input()

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a1, a2, a3 = map(int, stdin.readline().split())
if a1+a2+a3>=22:
  print('bust')
  return
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:
a1,a2,a3=input().split()

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

Submission status: Runtime Error

Solution code:
all = input()
all = all.split(' ')
all = [int(num) for num in all]
if sum(all) >= 22:
  return'bust'
else:
  return 'win'

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from https://github.com/kmyk/online-judge-tools

## Login
oj login URL

## DownLoad
oj dl URL

## test
oj test [-c COMMAND]
* Write the following in the first line of the python script
```python
#!/usr/bin/env python3
```

Submission status: Runtime Error

Solution code:
# coding: utf-8
# Your code here!

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

Submission status: Runtime Error

Solution code:
s = input()
arr = [int(i) for i in s.split('')]
result = 0
for i in range(arr):
  result = result+arr[i]
if(result>=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:
s = int(input()).split(" ")
print("bust") if sum(s) >= 22 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:
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,b,c = map(int(),input().split())
sum = a+b+c

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

Submission status: Runtime Error

Solution code:
a = int(input().split(" "))

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

Submission status: Runtime Error

Solution code:
#include "bits/stdc++.h"5 7 5
using namespace std;
typedef long long int ll;
typedef vector<ll> vl;
typedef pair<ll, ll> PP;
#define rep(i,n) for(ll i = 0; i < ll(n); i++)
#define all(v) v.begin() , v.end()
#define inputv(v,n) rep(i,n){\
    ll x;\
    cin>>x;\
    v.push_back(x);\
    }
const ll INF = 999999999999999;
const ll MOD = 1000000007;
ll a, b, c, d, e, f, p, t, x, y, z, q, m, n, r, h, k, w, l, ans = 0;
int main() {
	cin >> a >> b >> c;
	if (a + b + c > 21) {
		cout << "bust" << endl;
	}
	else {
		cout << "win" << endl;
	}
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

if __name__ == "__main__":
    main()

Submission status: Runtime Error

Solution code:
from sys import stdin

a1, a2, a3 = map(int, stdin.readline().split())
if a1+a2+a3>=22:
  print('bust')
  return
print('win')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
num1 = int(input())
num2 = int(input())
num3 = int(input())
if num1+num2+num3 >= 22:
    print('bust')
else:
    print('win')

Submission status: Runtime Error

Solution code:
As=list(input().split())
if As.sum() >= 22:
  print("bust")
else:
  print("win")

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

SUM_A = sum(A)

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

Submission status: Runtime Error

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

sum_ = sum(a)

if sum_ <= 21:
    print(win)
else:
    print(bust)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
N,M,K = int(input())
ans = 'win'
if N+M+K >= 22:
  ans = 'bust'
print(ans)

Submission status: Runtime Error

Solution code:
#--import&define---------------------
import math

def yes():
    print("Yes")
def no():
    print("No")
#--my_library--------------------------------
#mapを利用した入力
# x,y = map(int,input().split())

#forを利用した入力
#l = []
#for i in range():
#    l.append(int(input()))
#--以下解答---------------------------------
l = []
ans = 0
for i in range(3):
   ans += int(input())
if ans >= 22:
    print("bust")
else:
    print("win")

Submission status: Runtime Error

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

if a+b+c<=21:
  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:
def fastio():
    import sys
    from io import StringIO 
    from atexit import register
    global input
    sys.stdin = StringIO(sys.stdin.read())
    input = lambda : sys.stdin.readline().rstrip('\r\n')
    sys.stdout = StringIO()
    register(lambda : sys.__stdout__.write(sys.stdout.getvalue()))
fastio()

INF = 10**20
MOD = 10**9 + 7
I = lambda:list(map(int,input().split()))
from collections import defaultdict as dd
from math import gcd

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
inp = map(int,input().split())
ans = inp[0]+inp[1]+inp[2]
if ans >= 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('win')
else:
    ptint('bust')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

// Define
using ll = long long;
using ull = unsigned long long;
using ld = long double;
template <class T> using pvector = vector<pair<T, T>>;
template <class T>
using rpriority_queue = priority_queue<T, vector<T>, greater<T>>;
constexpr const ll dx[4] = {1, 0, -1, 0};
constexpr const ll dy[4] = {0, 1, 0, -1};
constexpr const ll MOD = 1e9 + 7;
constexpr const ll mod = 998244353;
constexpr const ll INF = 1LL << 60;
constexpr const ll inf = 1 << 30;
constexpr const char rt = '\n';
constexpr const char sp = ' ';
#define mp make_pair
#define mt make_tuple
#define pb push_back
#define eb emplace_back
#define elif else if
#define all(a, v, ...)                                                         \
    ([&](decltype((v)) w) { return (a)(begin(w), end(w), ##__VA_ARGS__); })(v)
#define fi first
#define se second

template <class T> bool chmax(T &a, const T &b) {
    if (a < b) {
        a = b;
        return 1;
    }
    return 0;
}
template <class T> bool chmin(T &a, const T &b) {
    if (a > b) {
        a = b;
        return 1;
    }
    return 0;
}

// Debug
#define debug(...)                                                             \
    {                                                                          \
        cerr << __LINE__ << ": " << #__VA_ARGS__ << " = ";                     \
        for (auto &&X : {__VA_ARGS__}) cerr << "[" << X << "] ";               \
        cerr << rt;                                                            \
    }

#define dump(a, h, w)                                                          \
    {                                                                          \
        cerr << __LINE__ << ": " << #a << " = [" << rt;                        \
        rep(i, h) {                                                            \
            rep(j, w) cerr << a[i][j] << sp;                                   \
            cerr << rt;                                                        \
        }                                                                      \
        cerr << "]" << rt;                                                     \
    }

#define vdump(a, n)                                                            \
    {                                                                          \
        cerr << __LINE__ << ": " << #a << " = [";                              \
        rep(i, n) if (i) cerr << sp << a[i];                                   \
        else cerr << a[i];                                                     \
        cerr << "]" << rt;                                                     \
    }

// Loop
#define inc(i, a, n) for (ll i = (a), _##i = (n); i <= _##i; ++i)
#define dec(i, a, n) for (ll i = (a), _##i = (n); i >= _##i; --i)
#define rep(i, n) for (ll i = 0, _##i = (n); i < _##i; ++i)
#define each(i, a) for (auto &&i : a)

// Stream
#define fout(n) cout << fixed << setprecision(n)
struct io {
    io() { cin.tie(nullptr), ios::sync_with_stdio(false); }
} io;

// Speed
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")

// Math
inline constexpr ll gcd(const ll a, const ll b) {
    return b ? gcd(b, a % b) : a;
}
inline constexpr ll lcm(const ll a, const ll b) { return a / gcd(a, b) * b; }

inline constexpr ll modulo(const ll n, const ll m = MOD) {
    ll k = n % m;
    return k + m * (k < 0);
}
inline constexpr ll chmod(ll &n, const ll m = MOD) {
    n %= m;
    return n += m * (n < 0);
}
inline constexpr ll mpow(ll a, ll n, const ll m = MOD) {
    ll r = 1;
    rep(i, 64) {
        if (n & (1LL << i)) r *= a;
        chmod(r, m);
        a *= a;
        chmod(a, m);
    }
    return r;
}
inline ll inv(const ll n, const ll m = MOD) {
    ll a = n, b = m, x = 1, y = 0;
    while (b) {
        ll t = a / b;
        a -= t * b;
        swap(a, b);
        x -= t * y;
        swap(x, y);
    }
    return modulo(x, m);
}

signed main() {
    ll a, b, c;
    cin >> a >> b >> c;
    cout << (a + b + c >= 22 ? "bust" : "win") << rt;
}

// -g -D_GLIBCXX_DEBUG -fsanitize=undefined

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def blackjack(s):
    a, b, c = [_ for int(_) in in_str.split()]
    if a + b + c >= 22:
        print("bust")
    else:
        print("win")

if __name__ == "__main__":
    import sys
    in_str = ''
    for line in sys.stdin:
        in_str += line
    blackjack(in_str)

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:
#include <iostream>
#define REP(i, a, b) for (auto i = (a); i < (b); ++i)
using namespace std;

using ll = long long;

signed main() {
	ios_base::sync_with_stdio(false);
	cin.tie(nullptr);

	int x, y, z; cin >> x >> y >> z;
	cout << (x + y + z < 22 ? "win" : "bust");
}

Submission status: Runtime Error

Solution code:
all = input()
if sum(all) >=22:
  return 'bust'
else:
  return 'win'

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#JMD
#Nagendra Jha-4096

 
import sys
import math

#import fractions
#import numpy
 
###File Operations###
fileoperation=0
if(fileoperation):
    orig_stdout = sys.stdout
    orig_stdin = sys.stdin
    inputfile = open('W:/Competitive Programming/input.txt', 'r')
    outputfile = open('W:/Competitive Programming/output.txt', 'w')
    sys.stdin = inputfile
    sys.stdout = outputfile

###Defines...###
mod=1000000007
 
###FUF's...###
def nospace(l):
    ans=''.join(str(i) for i in l)
    return ans
 
 
 
##### Main ####
t=int(input())
for tt in range(t):
    #n=int(input())
    a1,a2,a3= map(int, sys.stdin.readline().split(' '))
    if (a1+a2+a3)>=22:
      print("bust")
    else:
      print("win")
    #a=list(map(int,sys.stdin.readline().split(' ')))
    
    
#####File Operations#####
if(fileoperation):
    sys.stdout = orig_stdout
    sys.stdin = orig_stdin
    inputfile.close()
    outputfile.close()

Submission status: Runtime Error

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

Submission status: Runtime Error

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