Solve this math problem

Solve -27115 = -978*f + 9071 for f.
37