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