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