What is the solution?

Solve -33129 + 95576 - 31707 = -40*z + 33100 for z.
59