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