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