Source: https://marchettibenjamin.files.wordpress.com/2020/03/exercices_prob.pdf