Solve this math problem

Solve 21220 = 24*z + 20380 for z.
35