question: Teacher asked me this: Solve 399*d - 248*d - 1050 = 212*d + 1817 for d.
++++++++++
answer: -47

question: Teacher asked me this: Solve -41*n = -16*n for n.
++++++++++
answer: 0

question: Teacher asked me this: Solve -151*w = -439 - 1373 for w.
++++++++++
answer: 12

question: Teacher asked me this: Solve 0 = -6*q - 22 + 16 for q.
++++++++++
answer:
-1