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