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