What is the solution to this math problem?
Solve 30*p - 376 - 248 = -131 + 77 for p.
19