What is the solution?

Solve -6034 = -472*p - 1073*p - 47749 for p.
-27