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