There are 6 baskets on the table. Each basket has 17, 5, 20, 8, 12 and 9 apples. John chose fourth, Olivia chose first, Sean chose fifth, Matt chose second, Liam chose sixth, and Emma chose third. Who chose the basket with the least apples?