What is the solution to this math problem?
Solve 1610*z - 483*z - 524*z - 488*z - 5865 = 0 for z.
51