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