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