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