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