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