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