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