Math problem: Solve 0 = 34*p + 865 - 1001 for p.
What is the solution?
4