Solve this math problem

Solve 12 = -i + 7 for i.
-5