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