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