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