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