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