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