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