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