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