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