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