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