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