Source: https://as2maths.nc/images/sampledata/as2maths/rallye-maths/2012/2012 Epreuve 1.pdf