Completed problem 12.