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