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