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