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