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