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