Complete problem 17