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