#!/bin/sh

while true;
do
        read line1

        if [ -z "$line1" ]; then
                break
        fi

        hand=`echo $line1 | awk '{print $1+$2+$3}'`
        if [ $hand -gt 21 ]; then
                echo "bust"
        else
                echo "win"
        fi

done