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