Problem: Math Problem
Solve 0 = 37*d + 8 + 29 for d.

A: -1

Problem: Math Problem
Solve 3025 = 24*w + 2377 for w.

A: 27

Problem: Math Problem
Solve 301 = q + 307 for q.

A:
-6