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