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