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