What is the solution to this math problem?
Solve 124*w + 78 = -166 - 1244 for w.
-12