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