Solve this math problem

Solve -930*m - 799*m + 50278 = 331*m - 13582 for m.
31