Answer to the exercise