Solve -1186*z - 8*z + 1715 + 2016 = -4627 for z.
7