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