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