Source: https://perso.univ-rennes1.fr/michel.coste/B05Exam_07bis.cor.pdf