AAPS17 Exercise 7