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