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