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