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