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