Solve this math problem

Solve 241 - 1007 = 20*p + 29*p + 3056 for p.
-78