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