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