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