Complete 4th problem.