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