print("Thank you for choosing Python Pizza") # Small $15 # Medium $20 # Large $25 size = input() # Small +$2 # Medium or Large +$3 add_pepperoni = input() # Any size +$1 extra_cheese = input() price = 0 if size == "S": price += 15 if add_pepperoni == "Y": price += 2 elif size == "M": price += 20 if add_pepperoni == "Y": price += 3 else: price += 25 if extra_cheese == "Y": price += 1 print(f"Your final bill is: {price}")