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