Solve this math problem

Solve 0 = 31*g - 194 - 759 + 387 - 1728 for g.
74