The price of a visit to the dentist is \$50$50. If the dentist fills any cavities, an additional charge of $100 per cavity gets added to the bill. If the dentist finds n cavities, what will the cost of the visit be?