Solve problem 25
Solve problem 24