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