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