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