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