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