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