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