question: Teacher asked me this: Solve 38*d + 59*d - 51 = 46 for d.
++++++++++
answer: 1

question: Teacher asked me this: Solve 598*n - 84*n + 68*n = -15714 for n.
++++++++++
answer: -27

question: Teacher asked me this: Solve -16*w + 56*w = 400 for w.
++++++++++
answer: 10

question: Teacher asked me this: Solve -273 = -841*z + 834*z for z.
++++++++++
answer:
39