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