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