a = eval(input().replace(" ","+"))

print(((a>21)*"bust" or "win"))
print(((eval(input().replace(" ","+"))>21)*"bust" or "win"))
a = eval(input().replace(" ", "+"))
print(((a > 21) * "bust" or "win"))

print(((eval(input().replace(" ", "+")) > 21) * "bust" or "win"))

-a = eval(input().replace(" ", "+")) -print(((a > 21) * "bust" or "win")) +print(((eval(input().replace(" ", "+")) > 21) * "bust" or "win"))