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