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