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.

Solution in Java8 (OpenJDK 1.8.0) (judge verdict: Runtime Error)

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        long[] a = new long[n];
        for (int i = 0 ; i < n ; i++) {
            a[i] = sc.nextLong();
        }
        int[] b = new int[60];

        for (int i = 0 ; i < 60 ; i++) {
            int c = 0;
            for (int j = 0 ; j < n ; j++) {
                if (a[j] % 2 == 1) {
                    c++;
                }
                a[j] /= 2;
            }
            b[i] = c;
        }
        long ans = 0;
        long mod = (long) (1e9 + 7);
        for (int i = 0 ; i < 60 ; i++) {
            ans += (1L << i) % mod * b[i] % mod * (n - b[i]) % mod;
            ans %= mod;
        }
        System.out.println(ans % mod);
    }

}