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