program blackjack
    implicit none
    integer(4):: a1, a2, a3
    
    read*, a1, a2, a3
    
    if (a1+a2+a3 >= 22)then
        print*, 'bust'
    else
        print*, 'win'
    end if
end program blackjack