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