Exercise 17, with comments and notes