Solve this math problem

Solve 3058 = 982*w - 14879 - 4649 for w.
23