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