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