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