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