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