Solve -670*w = -12711 + 55905 + 11746 for w.
-82