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