Write down the solution for this math problem: Solve 194*g - 3877 = 1748 + 4481 - 212 for g.
51