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