bill = float(input("What was the bill? "))
tip = int(input("what percentage tip would you like to give? 10, 12, 15? "))
people_to_split = int(input("How many people are there to split? "))
total_bill = bill * (1 + tip / 100)
bill_per_person = round(total_bill / people_to_split, 2)
print(f"each person needs to pay {bill_per_person}")