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