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