Write down the solution for this math problem: Solve 0 = 719*z + 74*z - 87*z + 16944 for z.
-24