Write down the solution for this math problem: Solve 216*z - 8677 = 764*z + 3379 for z.
-22