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