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