Finish exercise 40.