Solve this math problem

Solve -286240 + 285670 = -19*g for g.
30