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