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