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