What is the solution to this math problem?
Solve -365933 - 181012 + 8263 = -16928*z + 87654 for z.
37