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