Math problem: Solve 261*w - 1001 = -82*w + 1743 for w.
What is the solution?
8