What is the solution?

Solve 365*q - 518 - 16405 + 432 = 2489 for q.
52