while~0:s=input();T=J=Q=K=10;A="A"in s;t=sum(map(eval,s));print((t>21)*"Bust"or(t<12)*A*T+t)