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