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