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