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