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