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