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