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