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