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