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