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