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