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