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