What is the solution to this math problem?
Solve -21447 = 622*i + 573 - 3982 for i.
-29