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