Solve this math problem

Solve 1249*q - 40473 = 3242 for q.
35