question: Teacher asked me this: Solve 6972 = -655*g + 821*g for g.
++++++++++
answer: 42

question: Teacher asked me this: Solve 43*g + 192 - 450 = 0 for g.
++++++++++
answer: 6

question: Teacher asked me this: Solve 83 = -10*p + 103 for p.
++++++++++
answer: 2

question: Teacher asked me this: Solve 167516 = 38*z + 168010 for z.
++++++++++
answer:
-13