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