Solve this math problem

Solve 838 = 330*g + 8428 for g.
-23