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