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