Solve 2673*p = -2544*p + 5096*p - 5687 for p.
-47