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