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