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