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