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