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