The price of a visit to the dentist is $50. If the dentist fills any cavities, an additional charge of $100 per cavity
gets added to the bill.