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