Solve this math problem

Solve -1379 + 1048 - 1657 = -104*d + 1236 for d.
31