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