What is the solution?

Solve 2647*q - 1083*q + 1231*q + 19523 + 131407 = 0 for q.
-54