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