Q: Solve:
Solve 0 = p - 4991 + 5003 for p.

A: -12

Q: Solve:
Solve 330*d = -625 - 365 for d.

A: -3

Q: Solve:
Solve -1119*i - 160 = -1151*i for i.

A:
5