What is the solution?

Solve 0 = 393*q + 1871 - 17984 for q.
41