Solve this math problem

Solve -187*g + 68457 - 74254 = 0 for g.
-31