Write down the solution for this math problem: Solve -6835*p + 345*p - 3743*p + 166945 - 473935 = 0 for p.
-30