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