Source: https://ley.perso.math.cnrs.fr/exam-ratt-JEUX-0809.pdf