What is the solution?

Solve 59 = 7*i + 31 for i.
4