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