A gym rents out its basketball courts for 50 dollars for a night while charging an additional entrance fee of 3 dollars for every player using the court. If the gym made 83 dollars in a night, write an equation that correctly models the situation for the unknown number of players, p.

A. 3p - 50 = 83

B. 3p + 83 = 50

C. 50 + 83 = 3p

D. 50 + 3p = 83