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