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