A1Exercise 3 by Ribeau