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