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