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