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