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