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