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