What is the solution to this math problem?
Solve -2977 = -265*a - 4889 - 6751 - 1142 for a.
-37