Solve this math problem

Solve -165 = 17*p + 26 + 13 for p.
-12