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