Source: https://www.kartable.fr/ressources/mathematiques/probleme/comparer-deux-forfaits/3219/126742.pdf