Write down the solution for this math problem: Solve 198*o + 197*o = 54*o + 5797 for o.
answer: 17

Write down the solution for this math problem: Solve 315*p - 1240 = 377*p for p.
answer: -20

Write down the solution for this math problem: Solve -49*n + 31*n = -180 for n.
answer: 10

Write down the solution for this math problem: Solve -7188 = 520*g - 1988 for g.
answer:
-10