Solve this math problem

Solve -628*z - 74144 = 290*z - 14826 + 17794 for z.
-84