What is the solution?

Solve 407 = 666*w + 651*w - 1284*w - 715 for w.
34