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