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