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