Write down the solution for this math problem: Solve -305*m + 1697*m = 24335 + 50833 for m.
54