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