Exercise 1: Solution