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