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