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