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