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