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