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