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