Write down the solution for this math problem: Solve 636*m - 355*m = 324*m - 516 for m.
12