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