Solution to Problem 7 (easy)