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