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