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