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