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