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