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