Math problem: Solve 39814 - 166465 = -3423*m for m.
What is the solution?
37