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