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