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