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