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