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