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