Solve problem 13
Solve problem 14