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