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