question: Teacher asked me this: Solve 0 = 31*d + 365 - 117 for d.
++++++++++
answer: -8

question: Teacher asked me this: Solve 398*t + 4024*t = 89062 + 154148 for t.
++++++++++
answer: 55

question: Teacher asked me this: Solve 23897 + 14620 = 2372*t - 8923 for t.
++++++++++
answer: 20

question: Teacher asked me this: Solve 312*r + 41662 = 177*r - 95*r - 333*r for r.
++++++++++
answer:
-74