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