Write down the solution for this math problem: Solve 9652 + 5735 + 3227 = 318*w + 488 for w.
57