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