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