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