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