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