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