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