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