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