BLACKJACK: Given three integers between 1 and 11, if their sum is less than or equal to 21, return their sum. If their sum exceeds 21 and there's an eleven, reduce the total sum by 10. Finally, if the sum (even after adjustment) exceeds 21, return 'BUST
def black_jack(a,b,c):
if a+b+c <=21:
return a+b+c
elif a+b+c >21:
if (a or b or c) == 11:
return (a+b+c-10)
elif (a and b and c)!= 11:
return 'bust'
result = black_jack(9,9,11)
print(result)