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