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