Completed the 10th problem.