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