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