Solve this math problem

Solve 16072 + 23142 = 492*p + 6250 for p.
67