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