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