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