What is the solution to this math problem?
Solve 73*w - 731 = -251 + 834 for w.
18