Correction exercice 1 + exercice 2