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