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