Source: https://prevert-maths.spip.ac-rouen.fr/IMG/pdf/probleme_college_lycee.pdf