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