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