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