Solve problem 27
Solve problem 28