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