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