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