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