What is the solution to this math problem?
Solve 8976 = 248*g - 3*g + 2606 for g.
26