What is the solution?

Solve 8541 - 915 + 3797 = -5302*g + 819 for g.
-2