Write down the solution for this math problem: Solve 1688*z - 22521 = 14763 - 20827 + 39247 for z.
33