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