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