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