Problem 15: complete solution.