Complete Exercise 39.