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