Source: http://site2014.lfm.edu.mx/media/1895/exercices-m%C3%A9thodo-sur-le-bonheur-correction.pdf