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