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