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