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