Solve this math problem

Solve -2051 = 236*q - 8423 for q.
27