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