What is the solution to this math problem?
Solve -5*z = -6*z + 22*z - 10046 + 8555 for z.
71