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