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