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