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