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