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