Completed problem 16.