Finish exercise 31.