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