Solve problem 19