Source: https://ressources.unisciel.fr/algoprog/s81combin/emodules/cb04mexerc1/res/cb04exerc1-enonce-py-xxx.pdf