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