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