Solve this math problem

Solve 31*z = 2303 - 2675 for z.
-12