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