What is the solution to this math problem?
Solve 0 = -24*x + 303 - 240 - 457 - 518 for x.
-38