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