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