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